Skip to content

Commit

Permalink
az-provider: add page (#8697)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdahlbac authored Oct 9, 2022
1 parent 2174054 commit ac6b803
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pages/common/az-provider.md
Original file line number Diff line number Diff line change
@@ -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"`

0 comments on commit ac6b803

Please sign in to comment.