Skip to content

Commit 6a5c811

Browse files
author
Naga Nandyala
committed
adding breaking change warning to az sig image-version create/update
1 parent 154152f commit 6a5c811

1 file changed

Lines changed: 12 additions & 16 deletions

File tree

src/azure-cli/azure/cli/command_modules/vm/_breaking_change.py

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,16 @@
2727
current_default=None,
2828
new_default=True,
2929
target_version=None)
30-
# register_other_breaking_change(
31-
# "sig image-version create",
32-
# "Starting api-version 2026-03-03, gallery image versions will default to:\n"
33-
# " - endOfLifeDate = 6 months from publish date (unless explicitly set)\n"
34-
# " - blockDeletionBeforeEndOfLife = true (unless explicitly set)\n"
35-
# "By default, image deletion is blocked for 6 months. "
36-
# "To override, set a custom endOfLifeDate or set blockDeletionBeforeEndOfLife = false",
37-
# )
3830

39-
# register_other_breaking_change(
40-
# "sig image-version update",
41-
# "Starting api-version 2026-03-03, gallery image versions will default to:\n"
42-
# " - endOfLifeDate = 6 months from publish date (unless explicitly set)\n"
43-
# " - blockDeletionBeforeEndOfLife = true (unless explicitly set)\n"
44-
# "By default, image deletion is blocked for 6 months. "
45-
# "To override, set a custom endOfLifeDate or set blockDeletionBeforeEndOfLife = false",
46-
# )
31+
register_default_value_breaking_change(command_name='sig image-version update',
32+
arg='--end-of-life-date',
33+
current_default=None,
34+
new_default='6 months from publish date',
35+
target_version=None)
36+
37+
register_default_value_breaking_change(command_name='sig image-version update',
38+
arg='--block-deletion-before-end-of-life',
39+
current_default=None,
40+
new_default=True,
41+
target_version=None)
42+

0 commit comments

Comments
 (0)