This issue is for adding a warning message in CLI for customers who are using Azure Compute Gallery (ACG) APIs and resources.
ACG team has introduced a new api-version: 2026-03-03. Currently, there are no customers on this api-version, and we expect the customers to onboard to this api-version gradually.
This api-version has a new default behavior in case the customers have not set the "endOfLifeDate" and "blockDeletionBeforeEndOFLife" values for their ACG Image Version resources while creating them.
- The "endOfLifeDate" will be set to 6 months in future from the publishing date by default.
- The "blockDeletionBeforeEndOfLife" boolean will be set to true by default.
This means that from the new api-version (2026-03-03), ACG APIs will block the deletion of image versions by default till 6 months from the publishing date. If customers use the new api-version, and have a scenario where they need to delete their images before 6 months:
- They can set the "endOfLifeDate" accordingly.
- Or they can set the "blockDeletionBeforeEndOfLife" boolean to false.
Ask on CLI team: Please add a warning message in CLI so that all the customers know about this breaking change while executing CLI commands. This message should be added:
Warning:
Starting api-version 2026-03-03, gallery image versions will default to:
- endOfLifeDate = 6 months from publish date (unless explicitly set)
- blockDeletionBeforeEndOfLife = true (unless explicitly set)
By default, image deletion is blocked for 6 months. To override, set a custom endOfLifeDate or set blockDeletionBeforeEndOfLife = false
This issue is for adding a warning message in CLI for customers who are using Azure Compute Gallery (ACG) APIs and resources.
ACG team has introduced a new api-version: 2026-03-03. Currently, there are no customers on this api-version, and we expect the customers to onboard to this api-version gradually.
This api-version has a new default behavior in case the customers have not set the "endOfLifeDate" and "blockDeletionBeforeEndOFLife" values for their ACG Image Version resources while creating them.
This means that from the new api-version (2026-03-03), ACG APIs will block the deletion of image versions by default till 6 months from the publishing date. If customers use the new api-version, and have a scenario where they need to delete their images before 6 months:
Ask on CLI team: Please add a warning message in CLI so that all the customers know about this breaking change while executing CLI commands. This message should be added:
Warning:
Starting api-version 2026-03-03, gallery image versions will default to:
By default, image deletion is blocked for 6 months. To override, set a custom endOfLifeDate or set blockDeletionBeforeEndOfLife = false