Share via


az security auto-provisioning-setting

View your auto provisioning settings.

Commands

Name Description Type Status
az security auto-provisioning-setting list

List the auto provisioning settings.

Core GA
az security auto-provisioning-setting show

Shows an auto provisioning setting.

Core GA
az security auto-provisioning-setting update

Updates your automatic provisioning settings on the subscription.

Core GA

az security auto-provisioning-setting list

List the auto provisioning settings.

az security auto-provisioning-setting list

Examples

Get auto provisioning settings.

az security auto-provisioning-setting 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 auto-provisioning-setting show

Shows an auto provisioning setting.

az security auto-provisioning-setting show --name

Examples

Get an auto provisioning setting.

az security auto-provisioning-setting show -n "default"

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.

az security auto-provisioning-setting update

Updates your automatic provisioning settings on the subscription.

az security auto-provisioning-setting update --auto-provision
                                             --name

Examples

Turns on automatic provisioning on the subscription.

az security auto-provisioning-setting update -n "default" --auto-provision "On"

Turns off automatic provisioning on the subscription.

az security auto-provisioning-setting update -n "default" --auto-provision "Off"

Updates your automatic provisioning settings on the subscription. (autogenerated)

az security auto-provisioning-setting update --auto-provision "Off" --name "default" --subscription MySubscription

Required Parameters

--auto-provision

Automatic provisioning toggle. possible values are "On" or "Off".

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