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
Examples
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
--is-enabledEnable or disable Advanced Threat Protection for a received storage or Cosmos DB account.