Skip to content
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 image-definition: Migrate commands using Code Gen V2 #30576

Merged
merged 2 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions src/azure-cli/azure/cli/command_modules/vm/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,24 +843,6 @@
--location myLocation --shared-to tenant
"""

helps['sig image-definition update'] = """
type: command
short-summary: Update a VM Image definition.
examples:
- name: Change the shared image definition's recommended configuration
text: |-
az sig image-definition update --resource-group MyResourceGroup \\
--gallery-name MyGallery --gallery-image-definition MyImage \\
--resource-group MyResourceGroup --set recommended.vCpUs.min=myNewvCpUsMin \\
recommended.vCpUs.max=myNewvCpUsMax recommended.memory.min=myNewMemoryMin \\
recommended.memory.max=myNewMemoryMax description="newDescription"
- name: Remove a shared image definition's configuration property
text: |-
az sig image-definition update --resource-group MyResourceGroup \\
--gallery-name MyGallery --gallery-image-definition MyImage \\
--resource-group MyResourceGroup --remove recommended.vCpUs.min
"""

helps['sig image-definition list-community'] = """
type: command
short-summary: List VM Image definitions in a gallery community
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
# flake8: noqa

from .__cmd_group import *
from ._create import *
from ._delete import *
from ._list import *
from ._show import *
from ._show_community import *
from ._show_shared import *
from ._update import *
from ._wait import *
Loading