Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
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.
az provider register
Register a provider.
az provider register --namespace
[--acquire-policy-token]
[--change-reference]
[--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.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
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 |
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.
az provider unregister
Unregister a provider.
az provider unregister --namespace
[--acquire-policy-token]
[--change-reference]
[--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.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Wait for unregistration to finish.
| Property | Value |
|---|---|
| Default value: | False |
Feedback
Was this page helpful?
