-
Notifications
You must be signed in to change notification settings - Fork 1.5k
CLI SDK Update to 2022-05-01 API #5397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
vmware |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
cataggar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With Azure/azure-rest-api-specs#20873 finally merged, please use the published spec.
Regenerated client using latest published in azure-rest-api-specs |
|
@jonathanhe-msft, linter is failing with: Looks like you need to remove that help for the removed commands. |
|
@zhoxing-ms can I get a review on this please? thank you! |
Co-authored-by: Xing Zhou <[email protected]>
|
@zhoxing-ms this is ready for final review and to be merged. Thanks! |
| - Add `az vmware cluster list-zones` | ||
| - Add `--affinity-strength` and `--azure-hybrid-benefit-type` parameters to `az vmware placement-policy vm-host create` | ||
| - Add `--affinity-strength` and `--azure-hybrid-benefit-type` parameters to `az vmware placement-policy vm-host update` | ||
| - Add `--express-route-id` parameter to `az vmware authorization create` | ||
| - Add `vmware addon arc` command group | ||
| - Add `az vmware location check-trial-availability` | ||
| - Add `az vmware location check-quota-availability` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add some description for these new commands and new parameters?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a separate help.py file that contains help for each of these commands and parameters. I'd also like to keep the HISTORY.md file minimal for readability.
|
[Release] Update index.json for extension [ vmware ] : https://dev.azure.com/azclitools/internal/_build/results?buildId=19884&view=results |
| # coding=utf-8 | ||
| # -------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for | ||
| # license information. | ||
| # | ||
| # Code generated by Microsoft (R) AutoRest Code Generator. | ||
| # Changes may cause incorrect behavior and will be lost if the code is | ||
| # regenerated. | ||
| # -------------------------------------------------------------------------- | ||
|
|
||
| __path__ = __import__('pkgutil').extend_path(__path__, __name__) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not remove this file, it will cause a CI problem in main CLI pipeline pipeline link
File "/opt/az/azcliextensions/vmware/azext_vmware/custom.py", line 8, in
from azext_vmware.vendored_sdks.avs_client import AVSClient
ModuleNotFoundError: No module named 'azext_vmware.vendored_sdks'
@jonathanhe-msft Could you please add this file back as soon as possible to unblock our CI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was restored in #5619 and published as 5.0.1.
az vmware cluster list-zones--affinity-strengthand--azure-hybrid-benefit-typeparameter toaz vmware placement-policy vm-host create--affinity-strengthand--azure-hybrid-benefit-typeparameter toaz vmware placement-policy vm-host update--express-route-idparameter toaz vmware authorization createvmware addon arccommand groupaz vmware location check-trial-availabilityaz vmware location check-quota-availabilityaz vmware location checktrialavailabilityaz vmware location checkquotaavailabilityaz vmware private-cloud add-availability-zonehas been removed. Availability zone cannot be modified after private cloud creationaz vmware private-cloud delete-availability-zonehas been removed. Availability zone cannot be modified after private cloud creation.This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally?For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.jsonautomatically.The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify
src/index.json.