az sig image-version --do-not-delete
See original GitHub issueRelated command
- No command exists
- Example syntax could be
az sig image-version --do-not-delete {true, false}
similar to soft-delete
Is your feature request related to a problem? Please describe. We tried replicating sig image to new region. This request did not include all regions already replicated to, which caused an outage for our service. Setting this flag would prevent this.
Describe the solution you’d like Please allow setting the allowDeletionOfReplicatedLocations to false via azure cli.
$body = @{
"location"= "West US 2"
"properties" = @{
"safetyProfile" = @{
"allowDeletionOfReplicatedLocations" = $false
}
}
}
Describe alternatives you’ve considered
- Currently setting via powershell directly, this uses different authentication mechanism, so it not preferred
Issue Analytics
- State:
- Created a year ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
az sig image-version | Microsoft Learn
Create a new image version. This operation might take a long time depending on the replicate region number. Use "--no-wait" is advised. Azure...
Read more >How to clean-up obsolete Image Versions in Azure Shared ...
After running the script, you can go back to the Azure Portal and you'll see the image versions being deleted.
Read more >How to create a golden image of Ubuntu Pro 20.04 FIPS with ...
How to create an image version in Azure Image Builder service. ... We will delete the resource group at the end of the...
Read more >Azure arm - Builders | Packer - HashiCorp Developer
The image name must not exist ahead of time, and will not be overwritten. If this value is set, ... This resource group...
Read more >AZURE MANAGED IMAGE / TEMPLATE / SHARED IMAGE ...
Image. A managed image is a copy of either a full VM (including any attached data disks) or ... az sig image-version create...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @zhoxing-ms, I agree.
--allow-replicated-location-deletion
is more clear. That worksHi @PARADISSEEKR,
Please see the swagger PR: https://github.com/Azure/azure-rest-api-specs/pull/20396