az provider

Manage resource providers.

Commands

az provider list

Gets all resource providers for a subscription.

az provider operation

Get provider operations metadatas.

az provider operation list

Get operations from all providers.

az provider operation show

Get an individual provider's operations.

az provider register

Register a provider.

az provider show

Gets the specified resource provider.

az provider unregister

Unregister a provider.

az provider list

Gets all resource providers for a subscription.

az provider list [--expand]
                 [--query-examples]
                 [--subscription]

Examples

Display all resource types for the network resource provider.

az provider list --query [?namespace=='Microsoft.Network'].resourceTypes[].resourceType

Optional Parameters

--expand

The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases.

--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 provider register

Register a provider.

az provider register --namespace
                     [--subscription]
                     [--wait]

Examples

Register a provider. (autogenerated)

az provider register --namespace 'Microsoft.PolicyInsights'

Required Parameters

--namespace -n

The resource namespace, aka 'provider'.

Optional Parameters

--subscription

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

--wait

Wait for the registration to finish.

az provider show

Gets the specified resource provider.

az provider show --namespace
                 [--expand]
                 [--query-examples]
                 [--subscription]

Required Parameters

--namespace -n

The resource namespace, aka 'provider'.

Optional Parameters

--expand

The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases.

--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 provider unregister

Unregister a provider.

az provider unregister --namespace
                       [--subscription]
                       [--wait]

Examples

Unregister a provider. (autogenerated)

az provider unregister --namespace Microsoft.Automation

Required Parameters

--namespace -n

The resource namespace, aka 'provider'.

Optional Parameters

--subscription

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

--wait

Wait for unregistration to finish.