tldr/pages/common/az-provider.md

26 lines
626 B
Markdown
Raw Normal View History

2022-10-09 04:41:10 +01:00
# az provider
> Manage resource providers.
> Part of `azure-cli`.
> More information: <https://docs.microsoft.com/cli/azure/provider>.
- Register a provider:
`az provider register --namespace {{Microsoft.PolicyInsights}}`
- Unregister a provider:
`az provider unregister --namespace {{Microsoft.Automation}}`
- List all providers for a subscription:
`az provider list`
- Show information about a specific provider:
`az provider show --namespace {{Microsoft.Storage}}`
- List all resource types for a specific provider:
`az provider list --query "[?namespace=='{{Microsoft.Network}}'].resourceTypes[].resourceType"`