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.
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
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az provider register
Register a provider.
az provider register --namespace
[--consent-to-permissions]
[--management-group-id]
[--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
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
A value indicating whether authorization is consented or not.
Property | Value |
---|---|
Default value: | False |
The management group id to register.
Wait for the registration to finish.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az provider show
Gets the specified resource provider.
az provider show --namespace
[--expand]
Required Parameters
The resource namespace, aka 'provider'.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases. Default value is None.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az provider unregister
Unregister a provider.
az provider unregister --namespace
[--wait]
Examples
Unregister a provider. (autogenerated)
az provider unregister --namespace Microsoft.Automation
Required Parameters
The resource namespace, aka 'provider'.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Wait for unregistration to finish.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |