Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
az security atp storage
View and manage Advanced Threat Protection settings for storage accounts.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az security atp storage show |
Display Advanced Threat Protection settings for a storage account. |
Core | GA |
| az security atp storage update |
Toggle status of Advanced Threat Protection for a storage account. |
Core | GA |
az security atp storage show
Display Advanced Threat Protection settings for a storage account.
az security atp storage show --resource-group
--storage-account
Examples
Retrieve Advanced Threat Protection settings for a storage account on a subscription scope.
az security atp storage show --resource-group MyResourceGroup --storage-account MyStorageAccount
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Name of an existing Storage account.
az security atp storage update
Toggle status of Advanced Threat Protection for a storage account.
az security atp storage update --is-enabled {false, true}
--resource-group
--storage-account
[--acquire-policy-token]
[--change-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 true
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 false
Required Parameters
Enable or disable Advanced Threat Protection for a received storage or Cosmos DB account.
| Property | Value |
|---|---|
| Accepted values: | false, true |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Name of an existing Storage account.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Feedback
Was this page helpful?
