|
16 | 16 | new_default='Standard_D2s_v5', |
17 | 17 | target_version=None) |
18 | 18 |
|
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 | +# ) |
27 | 38 |
|
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