You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/management/azure-services-resource-providers.md
+34-8Lines changed: 34 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,10 @@
2
2
title: Resource providers by Azure services
3
3
description: Lists all resource provider namespaces for Azure Resource Manager and shows the Azure service for that namespace.
4
4
ms.topic: conceptual
5
-
ms.date: 02/28/2023
5
+
ms.date: 07/14/2023
6
6
ms.custom: ignite-2022, devx-track-arm-template
7
+
content_well_notification:
8
+
- AI-contribution
7
9
---
8
10
9
11
# Resource providers for Azure services
@@ -186,26 +188,26 @@ The resources providers that are marked with **- registered** are registered by
186
188
187
189
## Registration
188
190
189
-
The resources providers in the preceding section that are marked with **- registered**are registered by default for your subscription. To use the other resource providers, you must [register them](resource-providers-and-types.md). However, many resource providers are registered for you when you take certain actions. For example, if you create a resource through the portal, the portal automatically registers any unregistered resource providers that are needed. When deploy resources through an [Azure Resource Manager template](../templates/overview.md), any required resource providers are also registered.
191
+
Resource providers marked with **- registered**in the previous section are automatically registered for your subscription. For other resource providers, you need to [register them](resource-providers-and-types.md). However, many resource providers are registered automatically when you perform specific actions. For example, when you create resources through the portal or by deploying an [Azure Resource Manager template](../templates/overview.md), Azure Resource Manager automatically registers any required unregistered resource providers.
190
192
191
193
> [!IMPORTANT]
192
-
> Only register a resource provider when you're ready to use it. The registration step enables you to maintain least privileges within your subscription. A malicious user can't use resource providers that aren't registered.
194
+
> Register a resource provider only when you're ready to use it. This registration step helps maintain least privileges within your subscription. A malicious user can't use unregistered resource providers.
193
195
>
194
-
> When you register resource providers that aren't needed, you may see apps in your Azure Active Directory tenant that you don't recognize. Microsoft adds the app for a resource provider when you register it. These applications are typically added by Windows Azure Service Management API. To avoid having unnecessary apps in your tenant, only register resource providers that are needed.
196
+
> Registering unnecessary resource providers may result in unrecognized apps appearing in your Azure Active Directory tenant. Microsoft adds the app for a resource provider when you register it. These apps are typically added by the Windows Azure Service Management API. To prevent unnecessary apps in your tenant, only register needed resource providers.
195
197
196
198
## Find resource provider
197
199
198
-
If you have existing infrastructure in Azure, but aren't sure which resource provider is used, you can use either Azure CLI or PowerShell to find the resource provider. Specify the name of the resource group that contains the resources to find.
200
+
To identify resource providers used for your existing Azure infrastructure, list the deployed resources. Specify the resource group containing the resources.
199
201
200
202
The following example uses Azure CLI:
201
203
202
204
```azurecli-interactive
203
-
az resource list -g examplegroup
205
+
az resource list --resource-group examplegroup
204
206
```
205
207
206
208
The results include the resource type. The resource provider namespace is the first part of the resource type. The following example shows the **Microsoft.KeyVault** resource provider.
The results include the resource type. The resource provider namespace is the first part of the resource type. The following example shows the **Microsoft.KeyVault** resource provider.
224
226
225
-
```azurepowershell
227
+
```output
226
228
Name : examplekey
227
229
ResourceGroupName : examplegroup
228
230
ResourceType : Microsoft.KeyVault/vaults
229
231
...
230
232
```
231
233
234
+
The following example uses Python:
235
+
236
+
```python
237
+
import os
238
+
from azure.identity import DefaultAzureCredential
239
+
from azure.mgmt.resource import ResourceManagementClient
The results list the resource type. The resource provider namespace is the first part of the resource type. The following example shows the **Microsoft.KeyVault** resource provider.
253
+
254
+
```output
255
+
Microsoft.KeyVault/vaults
256
+
```
257
+
232
258
## Next steps
233
259
234
260
For more information about resource providers, including how to register a resource provider, see [Azure resource providers and types](resource-providers-and-types.md).
0 commit comments