az security auto-provisioning-setting

View your auto provisioning settings.

Commands

az security auto-provisioning-setting list

List the auto provisioning settings.

az security auto-provisioning-setting show

Shows an auto provisioning setting.

az security auto-provisioning-setting update

Updates your automatic provisioning settings on the subscription.

az security auto-provisioning-setting list

List the auto provisioning settings.

az security auto-provisioning-setting list [--query-examples]
                                           [--subscription]

Examples

Get auto provisioning settings.

az security auto-provisioning-setting list

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

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

az security auto-provisioning-setting show

Shows an auto provisioning setting.

az security auto-provisioning-setting show --name
                                           [--query-examples]
                                           [--subscription]

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.

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

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

az security auto-provisioning-setting update

Updates your automatic provisioning settings on the subscription.

az security auto-provisioning-setting update --auto-provision
                                             --name
                                             [--subscription]

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.

Optional Parameters

--subscription

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