Skip to content

Commit 0ade229

Browse files
committed
new changes
1 parent 222dbe5 commit 0ade229

File tree

1 file changed

+27
-16
lines changed

1 file changed

+27
-16
lines changed

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

Lines changed: 27 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,31 @@
1616
new_default='Standard_D2s_v5',
1717
target_version=None)
1818

19-
register_other_breaking_change(
20-
"sig image-version create",
21-
"Starting api-version 2026-03-03, gallery image versions will default to:\n"
22-
" - endOfLifeDate = 6 months from publish date (unless explicitly set)\n"
23-
" - blockDeletionBeforeEndOfLife = true (unless explicitly set)\n"
24-
"By default, image deletion is blocked for 6 months. "
25-
"To override, set a custom endOfLifeDate or set blockDeletionBeforeEndOfLife = false",
26-
)
19+
register_default_value_breaking_change(command_name='sig image-version create',
20+
arg='--end-of-life-date',
21+
current_default=None,
22+
new_default='6 months from publish date',
23+
target_version=None)
24+
25+
register_default_value_breaking_change(command_name='sig image-version create',
26+
arg='--block-deletion-before-end-of-life',
27+
current_default=None,
28+
new_default=True,
29+
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+
# )
2738

28-
register_other_breaking_change(
29-
"sig image-version update",
30-
"Starting api-version 2026-03-03, gallery image versions will default to:\n"
31-
" - endOfLifeDate = 6 months from publish date (unless explicitly set)\n"
32-
" - blockDeletionBeforeEndOfLife = true (unless explicitly set)\n"
33-
"By default, image deletion is blocked for 6 months. "
34-
"To override, set a custom endOfLifeDate or set blockDeletionBeforeEndOfLife = false",
35-
)
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+
# )

0 commit comments

Comments
 (0)