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]

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.

az provider register

Register a provider.

az provider register --namespace
[--wait]

Required Parameters

--namespace -n
The resource namespace, aka 'provider'.

Optional Parameters

--wait
Wait for the registration to finish.

az provider show

Gets the specified resource provider.

az provider show --namespace
[--expand]

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.

az provider unregister

Unregister a provider.

az provider unregister --namespace
[--wait]

Required Parameters

--namespace -n
The resource namespace, aka 'provider'.

Optional Parameters

--wait
Wait for unregistration to finish.