CmdID

CmdID / az / az storage / az storage container / az storage container legal-hold

az storage container legal-hold set

Set legal hold tags. Azure CLI reference

1 example 1 option Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Set legal hold tags.

az storage container legal-hold set --tags tag1 tag2 --container-name mycontainer --account-name mystorageccount -g MyResourceGroupIdentify
--tagsSpace-separated tags.
--container-nameThe container name.
--account-nameStorage account name.
-gName of resource group.

Options

1 in the Azure CLI reference
--allow-protected-append-writes-all, --w-allWhen enabled, new blocks can be written to both Append and Block Blobs while maintaining legal hold protection and compliance.