Skip to content
Merged
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
24 changes: 24 additions & 0 deletions src/azure-cli/azure/cli/command_modules/vm/_breaking_change.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,27 @@
current_default='Standard_DS1_v2',
new_default='Standard_D2s_v5',
target_version=None)

register_default_value_breaking_change(command_name='sig image-version create',
arg='--end-of-life-date',
current_default=None,
new_default='6 months from publish date',
target_version=None)

register_default_value_breaking_change(command_name='sig image-version create',
arg='--block-deletion-before-end-of-life',
current_default=None,
new_default=True,
target_version=None)
Comment on lines +19 to +29
Copy link

Copilot AI Dec 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR title mentions adding warnings for both az sig image-version create and az sig image-version update, but only the create command has breaking change registrations. Add similar register_default_value_breaking_change registrations for the update command to match the PR's stated purpose, or update the PR title/description to clarify that only create is being addressed.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i have code for update as well


register_default_value_breaking_change(command_name='sig image-version update',
arg='--end-of-life-date',
current_default=None,
new_default='6 months from publish date',
target_version=None)

register_default_value_breaking_change(command_name='sig image-version update',
arg='--block-deletion-before-end-of-life',
current_default=None,
new_default=True,
target_version=None)