CmdID

CmdID / az / az security / az security atp / az security atp storage

az security atp storage update

Toggle status of Advanced Threat Protection for a storage account. Azure CLI reference

2 examples 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

Enable Advanced Threat Protection for a storage account on a subscription scope.

az security atp storage update --resource-group MyResourceGroup --storage-account MyStorageAccount --is-enabled trueIdentify
--resource-groupName of resource group.
--storage-accountName of an existing Storage account.
--is-enabledEnable or disable Advanced Threat Protection for a received storage or Cosmos DB account.

Disable Advanced Threat Protection for a storage account on a subscription scope.

az security atp storage update --resource-group MyResourceGroup --storage-account MyStorageAccount --is-enabled falseIdentify
--resource-groupName of resource group.
--storage-accountName of an existing Storage account.
--is-enabledEnable or disable Advanced Threat Protection for a received storage or Cosmos DB account.

Options

1 in the Azure CLI reference
--is-enabledEnable or disable Advanced Threat Protection for a received storage or Cosmos DB account.