@@ -30,6 +30,182 @@ The **Get-AzResourceProvider** cmdlet gets an Azure resource provider.
30
30
31
31
## EXAMPLES
32
32
33
+ ### Example 1: Get all resource providers registered with the current subscription
34
+
35
+ ``` powershell
36
+ PS C:\>Get-AzResourceProvider
37
+
38
+ ProviderNamespace : Microsoft.AppConfiguration
39
+ RegistrationState : Registered
40
+ ResourceTypes : {configurationStores, configurationStores/eventGridFilters, checkNameAvailability, locations…}
41
+ Locations : {West Central US, Central US, West US, East US…}
42
+
43
+ ProviderNamespace : Microsoft.KeyVault
44
+ RegistrationState : Registered
45
+ ResourceTypes : {vaults, vaults/secrets, vaults/accessPolicies, operations…}
46
+ Locations : {North Central US, East US, North Europe, West Europe…}
47
+
48
+ ProviderNamespace : Microsoft.Network
49
+ RegistrationState : Registered
50
+ ResourceTypes : {virtualNetworks, publicIPAddresses, networkInterfaces, privateEndpoints…}
51
+ Locations : {West US, East US, North Europe, West Europe…}
52
+
53
+ ProviderNamespace : Microsoft.Compute
54
+ RegistrationState : Registered
55
+ ResourceTypes : {availabilitySets, virtualMachines, virtualMachines/extensions, virtualMachineScaleSets…}
56
+ Locations : {East US, East US 2, West US, Central US…}
57
+
58
+ ProviderNamespace : Microsoft.Security
59
+ RegistrationState : Registered
60
+ ResourceTypes : {operations, securityStatuses, tasks, regulatoryComplianceStandards…}
61
+ Locations : {Central US, East US, West Europe, West Central US…}
62
+
63
+ ProviderNamespace : Microsoft.ResourceHealth
64
+ RegistrationState : Registered
65
+ ResourceTypes : {availabilityStatuses, childAvailabilityStatuses, childResources, events…}
66
+ Locations : {Australia Southeast}
67
+
68
+ ProviderNamespace : Microsoft.PolicyInsights
69
+ RegistrationState : Registered
70
+ ResourceTypes : {policyEvents, policyStates, operations, asyncOperationResults…}
71
+ Locations : {}
72
+
73
+ ProviderNamespace : Microsoft.Storage
74
+ RegistrationState : Registered
75
+ ResourceTypes : {storageAccounts, operations, locations/asyncoperations, storageAccounts/listAccountSas…}
76
+ Locations : {East US, East US 2, West US, West Europe…}
77
+
78
+ ProviderNamespace : Microsoft.Web
79
+ RegistrationState : Registered
80
+ ResourceTypes : {publishingUsers, ishostnameavailable, validate, isusernameavailable…}
81
+ Locations : {Central US, North Europe, West Europe, Southeast Asia…}
82
+
83
+ ProviderNamespace : Sendgrid.Email
84
+ RegistrationState : Registered
85
+ ResourceTypes : {accounts, operations}
86
+ Locations : {Australia East, Australia Southeast, Brazil South, Canada Central…}
87
+
88
+ ProviderNamespace : Microsoft.Authorization
89
+ RegistrationState : Registered
90
+ ResourceTypes : {roleAssignments, roleDefinitions, classicAdministrators, permissions…}
91
+ Locations : {}
92
+ ...
93
+ ```
94
+
95
+ This command gets all the resource providers from the subscription.
96
+
97
+ ### Example 2: Get all resource provider details from the given ProviderNamespace
98
+
99
+ ``` powershell
100
+ PS C:\>Get-AzResourceProvider -ProviderNamespace Microsoft.Compute
101
+ ProviderNamespace : Microsoft.Compute
102
+ RegistrationState : Registered
103
+ ResourceTypes : {availabilitySets}
104
+ Locations : {East US, East US 2, West US, Central US…}
105
+
106
+ ProviderNamespace : Microsoft.Compute
107
+ RegistrationState : Registered
108
+ ResourceTypes : {virtualMachines}
109
+ Locations : {East US, East US 2, West US, Central US…}
110
+
111
+ ProviderNamespace : Microsoft.Compute
112
+ RegistrationState : Registered
113
+ ResourceTypes : {virtualMachines/extensions}
114
+ Locations : {East US, East US 2, West US, Central US…}
115
+
116
+ ProviderNamespace : Microsoft.Compute
117
+ RegistrationState : Registered
118
+ ResourceTypes : {virtualMachineScaleSets}
119
+ Locations : {East US, East US 2, West US, Central US…}
120
+
121
+ ProviderNamespace : Microsoft.Compute
122
+ RegistrationState : Registered
123
+ ResourceTypes : {virtualMachineScaleSets/extensions}
124
+ Locations : {East US, East US 2, West US, Central US…}
125
+
126
+ ProviderNamespace : Microsoft.Compute
127
+ RegistrationState : Registered
128
+ ResourceTypes : {virtualMachineScaleSets/virtualMachines}
129
+ Locations : {East US, East US 2, West US, Central US…}
130
+
131
+ ProviderNamespace : Microsoft.Compute
132
+ RegistrationState : Registered
133
+ ResourceTypes : {virtualMachineScaleSets/networkInterfaces}
134
+ Locations : {East US, East US 2, West US, Central US…}
135
+ ...
136
+ ```
137
+
138
+ This command Gets all the resource providers under "Microsoft.Compute".
139
+
140
+ ### Example 3: Get all resource provider details from the given ProviderNamespace array
141
+
142
+ ``` powershell
143
+ PS C:\>Get-AzResourceProvider -ProviderNamespace Microsoft.Compute,Microsoft.Network
144
+ ProviderNamespace : Microsoft.Compute
145
+ RegistrationState : Registered
146
+ ResourceTypes : {availabilitySets}
147
+ Locations : {East US, East US 2, West US, Central US…}
148
+
149
+ ProviderNamespace : Microsoft.Compute
150
+ RegistrationState : Registered
151
+ ResourceTypes : {virtualMachines}
152
+ Locations : {East US, East US 2, West US, Central US…}
153
+
154
+ ProviderNamespace : Microsoft.Compute
155
+ RegistrationState : Registered
156
+ ResourceTypes : {virtualMachines/extensions}
157
+ Locations : {East US, East US 2, West US, Central US…}
158
+
159
+ ProviderNamespace : Microsoft.Compute
160
+ RegistrationState : Registered
161
+ ResourceTypes : {virtualMachineScaleSets}
162
+ Locations : {East US, East US 2, West US, Central US…}
163
+
164
+ ProviderNamespace : Microsoft.Compute
165
+ RegistrationState : Registered
166
+ ResourceTypes : {virtualMachineScaleSets/extensions}
167
+ Locations : {East US, East US 2, West US, Central US…}
168
+ ...
169
+
170
+ ProviderNamespace : Microsoft.Network
171
+ RegistrationState : Registered
172
+ ResourceTypes : {virtualNetworks}
173
+ Locations : {West US, East US, North Europe, West Europe…}
174
+
175
+ ProviderNamespace : Microsoft.Network
176
+ RegistrationState : Registered
177
+ ResourceTypes : {publicIPAddresses}
178
+ Locations : {West US, East US, North Europe, West Europe…}
179
+
180
+ ProviderNamespace : Microsoft.Network
181
+ RegistrationState : Registered
182
+ ResourceTypes : {networkInterfaces}
183
+ Locations : {West US, East US, North Europe, West Europe…}
184
+
185
+ ProviderNamespace : Microsoft.Network
186
+ RegistrationState : Registered
187
+ ResourceTypes : {privateEndpoints}
188
+ Locations : {West US, East US, North Europe, West Europe…}
189
+
190
+ ProviderNamespace : Microsoft.Network
191
+ RegistrationState : Registered
192
+ ResourceTypes : {privateEndpointRedirectMaps}
193
+ Locations : {West US, East US, North Europe, West Europe…}
194
+
195
+ ProviderNamespace : Microsoft.Network
196
+ RegistrationState : Registered
197
+ ResourceTypes : {loadBalancers}
198
+ Locations : {West US, East US, North Europe, West Europe…}
199
+
200
+ ProviderNamespace : Microsoft.Network
201
+ RegistrationState : Registered
202
+ ResourceTypes : {networkSecurityGroups}
203
+ Locations : {West US, East US, North Europe, West Europe…}
204
+ ...
205
+ ```
206
+
207
+ This command Gets all the resource providers under "Microsoft.Compute" and "Microsoft.Network".
208
+
33
209
## PARAMETERS
34
210
35
211
### -ApiVersion
0 commit comments