az provider

Manage resource providers.

Commands

az provider list Gets a list of resource providers.
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 a resource provider.
az provider unregister Unregister a provider.

az provider list

Gets a list of resource providers.

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

Examples

Display all resource types for the network resource provider.

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

Optional Parameters

--expand

The $expand query parameter. e.g. To include property aliases in response, use $expand=resourceTypes/aliases.

--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 a resource provider.

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

Required Parameters

--namespace -n

The resource namespace, aka 'provider'.

Optional Parameters

--expand

The $expand query parameter. e.g. To include property aliases in response, use $expand=resourceTypes/aliases.

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