-
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 sig
: Migrate commands using Code Gen V2
#30524
Conversation
️✔️AzureCLI-FullTest
|
❌AzureCLI-BreakingChangeTest
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
"version": "2021-10-01", | ||
"version": "2019-12-01", |
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.
Why do we need to downgrade the api-version here?
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 should be 2019-12-01
instead of 2021-10-01
, and this PR just fix it.
I'll fix the API version for az sig list
command in 2020-09-01-hybrid
as well.
# This command is commented out because the backend service currently prevents updating 'Private' to 'Community'. | ||
# self.cmd('sig update -g {rg} --gallery-name {gallery1} --permissions Community ' | ||
# '--publisher-uri pubUri --publisher-email test@123.com --eula eula --public-name-prefix pubName', | ||
# checks=[ | ||
# self.check('sharingProfile.permissions', 'Community') | ||
# ]) |
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.
Why do we need to remove this test?
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.
I have added a comment for it:
It is the same as
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py
Lines 6625 to 6627 in 3b9a7c2
# Test shared gallery | |
# service team has temporarily disable the feature of updating permissions and will enable it in a few months | |
# self.cmd('sig update --gallery-name {gallery} --resource-group {rg} --permissions groups') |
Related command
az sig create/update/show/list-shared
Description
Migrate
sig
command group to Code Gen V2Note: The subcommand groups have not yet been migrated
AAZ PR: Azure/aaz#647
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.