Dijeli putem


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

--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.

az provider register --namespace
                     [--accept-terms]
                     [--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

--namespace -n

The resource namespace, aka 'provider'.

Optional Parameters

--accept-terms
Preview Deprecated

Argument 'accept_terms' has been deprecated and will be removed in a future release.

Accept market place terms and RP terms for RPaaS. Required when registering RPs from RPaaS, such as 'Microsoft.Confluent' and 'Microsoft.Datadog'.

--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.

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.

az provider unregister --namespace
                       [--wait]

Examples

Unregister a provider. (autogenerated)

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.