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
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.
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az provider register
Register a provider.
az provider register --namespace
[--accept-terms]
[--management-group-id]
[--subscription]
[--wait]
Examples
Register a provider. (autogenerated)
az provider register --namespace 'Microsoft.PolicyInsights'
Register a provider from RPaaS.
az provider register -n 'Microsoft.Confluent' --accept-terms
Register a management group.
az provider register --namespace Microsoft.Automation -m mgID
Required Parameters
The resource namespace, aka 'provider'.
Optional Parameters
Accept market place terms and RP terms for RPaaS. Required when registering RPs from RPaaS, such as 'Microsoft.Confluent' and 'Microsoft.Datadog'.
The management group id to register.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Wait for the registration to finish.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az provider show
Gets the specified resource provider.
az provider show --namespace
[--expand]
[--query-examples]
[--subscription]
Required Parameters
The resource namespace, aka 'provider'.
Optional Parameters
The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases.
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
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
The resource namespace, aka 'provider'.
Optional Parameters
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Wait for unregistration to finish.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.