Azure / Azure/azure-cli

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

Open
#29,918 1 comment 0 reactions 2 assignees Claimed by @zhoxing-ms View on GitHub
act-observability-squad Auto-Assign Azure CLI Team Compute potential-pruning question
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

This GitHub issue is being moved from MicrosoftDocs/azure-docs-cli [4619](https://github.com/MicrosoftDocs/azure-docs-cli/issues/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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.