LinuxCommandLibrary

az-provider

Manage Azure resource providers

TLDR

List all resource providers

$ az provider list
copy
List registered providers only
$ az provider list --query "[?registrationState=='Registered']"
copy
Show details of a specific provider
$ az provider show --namespace [Microsoft.Compute]
copy
Register a resource provider
$ az provider register --namespace [Microsoft.ContainerService]
copy
Unregister a resource provider
$ az provider unregister --namespace [Microsoft.ContainerService]
copy
List operations available for a provider
$ az provider operation list --namespace [Microsoft.Compute]
copy

SYNOPSIS

az provider subcommand [options]

DESCRIPTION

az provider manages Azure resource providers. Resource providers are services that supply Azure resources (VMs, storage accounts, databases, etc.). Before using a resource type, the provider must be registered in your subscription.
Common providers include Microsoft.Compute (VMs), Microsoft.Storage (storage accounts), Microsoft.Network (networking), and Microsoft.ContainerService (AKS).

PARAMETERS

--namespace -n

The resource provider namespace (e.g., Microsoft.Compute).
--wait
Wait for registration to complete.

SUBCOMMANDS

list

List resource providers for a subscription.
show
Get details about a resource provider.
register
Register a resource provider.
unregister
Unregister a resource provider.
operation list
List operations for a provider.
permission list
List permissions for a provider.

CAVEATS

Requires Azure CLI to be installed and authenticated. Some providers auto-register when creating resources. Unregistering a provider does not delete existing resources but prevents creating new ones.

SEE ALSO

az(1), az-lock(1), az-tag(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community