az provider

Manage resource providers.

Commands

Name Description Type Status
az provider list

Gets all resource providers for a subscription.

Core GA
az provider operation

Get provider operations metadatas.

Core GA
az provider operation list

Get operations from all providers.

Core GA
az provider operation show

Get an individual provider's operations.

Core GA
az provider permission

Manage permissions for a provider.

Core GA
az provider permission list

List permissions from a provider.

Core GA
az provider register

Register a provider.

Core GA
az provider show

Gets the specified resource provider.

Core GA
az provider unregister

Unregister a provider.

Core GA

az provider list

Gets all resource providers for a subscription.

Azure CLI
az provider list [--expand]

Examples

Display all resource types for the network resource provider.

Azure CLI
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. Default value is None.

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

Register a provider.

Azure CLI
az provider register --namespace
                     [--consent-to-permissions]
                     [--management-group-id]
                     [--wait]

Examples

Register a provider. (autogenerated)

Azure CLI
az provider register --namespace 'Microsoft.PolicyInsights'

Register a provider from RPaaS.

Azure CLI
az provider register -n 'Microsoft.Confluent' --accept-terms

Register a management group.

Azure CLI
az provider register --namespace Microsoft.Automation -m mgID

Required Parameters

--namespace -n

The resource namespace, aka 'provider'.

Optional Parameters

--consent-to-permissions -c

A value indicating whether authorization is consented or not.

Default value: False
--management-group-id -m

The management group id to register.

--wait

Wait for the registration to finish.

Default value: False
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 provider show

Gets the specified resource provider.

Azure CLI
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. Default value is None.

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

Unregister a provider.

Azure CLI
az provider unregister --namespace
                       [--wait]

Examples

Unregister a provider. (autogenerated)

Azure CLI
az provider unregister --namespace Microsoft.Automation

Required Parameters

--namespace -n

The resource namespace, aka 'provider'.

Optional Parameters

--wait

Wait for unregistration to finish.

Default value: False
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.