snippetbashTip
az provider — Manage resource providers. Part of `azure-cli` (also known as `az`). More information: <https://lear
Viewed 0 times
resourcecommandazureclimanagepartprovidersaz provider
Problem
How to use the
az provider command: Manage resource providers. Part of azure-cli (also known as az). More information: <https://learn.microsoft.com/cli/azure/provider>.Solution
az provider — Manage resource providers. Part of azure-cli (also known as az). More information: <https://learn.microsoft.com/cli/azure/provider>.Register a provider:
az provider register {{[-n|--namespace]}} {{Microsoft.PolicyInsights}}Unregister a provider:
az provider unregister {{[-n|--namespace]}} {{Microsoft.Automation}}List all providers for a subscription:
az provider listShow information about a specific provider:
az provider show {{[-n|--namespace]}} {{Microsoft.Storage}}List all resource types for a specific provider:
az provider list --query "[?namespace=='{{Microsoft.Network}}'].resourceTypes[].resourceType"Code Snippets
Register a provider
az provider register {{[-n|--namespace]}} {{Microsoft.PolicyInsights}}Unregister a provider
az provider unregister {{[-n|--namespace]}} {{Microsoft.Automation}}List all providers for a subscription
az provider listShow information about a specific provider
az provider show {{[-n|--namespace]}} {{Microsoft.Storage}}List all resource types for a specific provider
az provider list --query "[?namespace=='{{Microsoft.Network}}'].resourceTypes[].resourceType"Context
tldr-pages: common/az provider
Revisions (0)
No revisions yet.