question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

az sig image-version --do-not-delete

See original GitHub issue

Related 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:closed
  • Created a year ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kunalwaghrayismyaliascommented, Oct 13, 2022

Hi @zhoxing-ms, I agree. --allow-replicated-location-deletion is more clear. That works

0reactions
kunalwaghrayismyaliascommented, Oct 18, 2022
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found