Skip to content

Customer feedback | az image | --cleanup needs a better warning #29918

Description

@dbradish-microsoft

This GitHub issue is being moved from MicrosoftDocs/azure-docs-cli 4619 so that the engineering team can respond.

Reference command

az image copy

Request

Please add a warning / confirmation prompt to az image copy --cleanup and --temporary-resource-group-name

Customer feedback

"
if you use az image copy with the "--cleanup" and "--temporary-resource-group-name" parameters and reference an existing resource group, that resource group and all of its content will be deleted.

I guess a note of warning would be nice.
"

Page URL

https://learn.microsoft.com/en-us/cli/azure/image?view=azure-cli-latest

Content source URL

https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/image.yml

Metadata

Metadata

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotact-observability-squadpotential-pruningquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions