az-provider: add page (#8697)

pull/1/head
Simon Dahlbacka 2022-10-09 06:41:10 +03:00 committed by GitHub
parent 21740542b6
commit ac6b8037dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# 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"`