שתף באמצעות


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 -n

Name of the resource to be fetched.

--tier

Pricing tier type.

Optional Parameters

--extensions

Pricing extensions.

--subplan

Bundle suplan.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

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
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

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 -n

Name of the resource to be fetched.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.