-
Notifications
You must be signed in to change notification settings - Fork 3k
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
{Compute} az vm image
: Migrate commands using Code Gen V2
#30559
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
if edge_zone is not None: | ||
offers = edge_zone_client.list_offers(location=location, edge_zone=edge_zone, publisher_name=publisher) | ||
else: | ||
offers = client.virtual_machine_images.list_offers(location=location, publisher_name=publisher) | ||
offers = VMImageListOffers(cli_ctx=cli_ctx)(command_args={ | ||
'location': location, | ||
'publisher': publisher, | ||
}) |
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.
The Azure Stack doesn't need to support edge_zone
, right?
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.
yes, you are right
Related command
az vm image list/list-skus/list-offers/list-publishers/show
Description
Migrate
vm image
command group to Code Gen V2Note: The subcommand groups have not yet been migrated
Testing Guide
History Notes
[Component Name 1] BREAKING CHANGE:
az command a
: Make some customer-facing breaking change[Component Name 2]
az command b
: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.