az security pricing
Enables managing the Azure Defender plan for the subscription.
Commands
Name | Description | Type | Status |
---|---|---|---|
az security pricing create |
Updates the Azure defender plan for the subscription. |
Core | GA |
az security pricing list |
Shows the Azure Defender plans for the subscription. |
Core | GA |
az security pricing show |
Shows the Azure Defender plan for the subscription. |
Core | GA |
az security pricing create
Updates the Azure defender plan for the subscription.
az security pricing create --name
--tier
[--extensions]
[--subplan]
Examples
Updates the Azure defender plan for the subscription.
az security pricing create -n VirtualMachines --tier standard
Updates the Azure defender plan for the subscription with suplan and extensions
az security pricing create -n VirtualMachines --tier standard --subplan P2 --extensions name=MdeDesignatedSubscription isEnabled=False --extensions name=AgentlessVmScanning isEnabled=True additionalExtensionProperties='{"ExclusionTags":"[{\"key\":\"A\",\"value\":\"B\"}]"}'
Required Parameters
Name of the resource to be fetched.
Pricing tier type.
Optional Parameters
Pricing extensions.
Bundle suplan.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az security pricing list
Shows the Azure Defender plans for the subscription.
az security pricing list
Examples
Shows the Azure Defender plans for the subscription.
az security pricing list
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az security pricing show
Shows the Azure Defender plan for the subscription.
az security pricing show --name
Examples
Shows the Azure Defender plan for the subscription
az security pricing show -n VirtualMachines
Required Parameters
Name of the resource to be fetched.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.