Azure 服务的资源提供程序Resource providers for Azure services

本文介绍资源提供程序命名空间如何映射到 Azure 服务。This article shows how resource provider namespaces map to Azure services. 如果你不知道资源提供程序,请参阅查找资源提供程序If you don't know the resource provider, see Find resource provider.

将资源提供程序匹配到服务Match resource provider to service

默认情况下,标记为“- 已注册”的资源提供程序已针对你的订阅注册。The resources providers that are marked with - registered are registered by default for your subscription. 有关详细信息,请参阅注册For more information, see Registration.

资源提供程序命名空间Resource provider namespace Azure 服务Azure service
Microsoft.AADMicrosoft.AAD Azure Active Directory 域服务Azure Active Directory Domain Services
Microsoft.AdvisorMicrosoft.Advisor Azure 顾问Azure Advisor
Microsoft.AlertsManagementMicrosoft.AlertsManagement Azure MonitorAzure Monitor
Microsoft.AnalysisServicesMicrosoft.AnalysisServices Azure Analysis ServicesAzure Analysis Services
Microsoft.ApiManagementMicrosoft.ApiManagement API 管理API Management
Microsoft.AppConfigurationMicrosoft.AppConfiguration Azure 应用配置Azure App Configuration
Microsoft.AppPlatformMicrosoft.AppPlatform Azure Spring CloudAzure Spring Cloud
Microsoft.Authorization - 已注册Microsoft.Authorization - registered Azure 资源管理器Azure Resource Manager
Microsoft.AutomationMicrosoft.Automation 自动化Automation
Microsoft.AutonomousSystemsMicrosoft.AutonomousSystems 自治系统Autonomous Systems
Microsoft.AzureActiveDirectoryMicrosoft.AzureActiveDirectory Azure Active Directory B2CAzure Active Directory B2C
Microsoft.AzureStackMicrosoft.AzureStack corecore
Microsoft.AzureStackHCIMicrosoft.AzureStackHCI Azure Stack HCIAzure Stack HCI
Microsoft.BatchMicrosoft.Batch 批处理Batch
Microsoft.BlueprintMicrosoft.Blueprint Azure 蓝图Azure Blueprints
Microsoft.CacheMicrosoft.Cache 用于 Redis 的 Azure 缓存Azure Cache for Redis
Microsoft.CdnMicrosoft.Cdn 内容分发网络Content Delivery Network
Microsoft.CertificateRegistrationMicrosoft.CertificateRegistration 应用服务证书App Service Certificates
Microsoft.ClassicComputeMicrosoft.ClassicCompute 经典部署模型虚拟机Classic deployment model virtual machine
Microsoft.ClassicInfrastructureMigrateMicrosoft.ClassicInfrastructureMigrate 经典部署模型迁移Classic deployment model migration
Microsoft.ClassicNetworkMicrosoft.ClassicNetwork 经典部署模型虚拟网络Classic deployment model virtual network
Microsoft.ClassicStorageMicrosoft.ClassicStorage 经典部署模型存储Classic deployment model storage
Microsoft.ClassicSubscription - 已注册Microsoft.ClassicSubscription - registered 经典部署模型Classic deployment model
Microsoft.CognitiveServicesMicrosoft.CognitiveServices 认知服务Cognitive Services
Microsoft.ComputeMicrosoft.Compute 虚拟机Virtual Machines
虚拟机规模集Virtual Machine Scale Sets
Microsoft.ContainerInstanceMicrosoft.ContainerInstance 容器实例Container Instances
Microsoft.ContainerRegistryMicrosoft.ContainerRegistry 容器注册表Container Registry
Microsoft.ContainerServiceMicrosoft.ContainerService Azure Kubernetes 服务 (AKS)Azure Kubernetes Service (AKS)
Microsoft.DataBoxMicrosoft.DataBox Azure Data BoxAzure Data Box
Microsoft.DatabricksMicrosoft.Databricks Azure DatabricksAzure Databricks
Microsoft.DataFactoryMicrosoft.DataFactory 数据工厂Data Factory
Microsoft.DataMigrationMicrosoft.DataMigration Azure 数据库迁移服务Azure Database Migration Service
Microsoft.DBforMariaDBMicrosoft.DBforMariaDB Azure Database for MariaDBAzure Database for MariaDB
Microsoft.DBforMySQLMicrosoft.DBforMySQL Azure Database for MySQLAzure Database for MySQL
Microsoft.DBforPostgreSQLMicrosoft.DBforPostgreSQL Azure Database for PostgreSQLAzure Database for PostgreSQL
Microsoft.DesktopVirtualizationMicrosoft.DesktopVirtualization Windows 虚拟桌面Windows Virtual Desktop
Microsoft.DevicesMicrosoft.Devices Azure IoT 中心Azure IoT Hub
Azure IoT 中心设备预配服务Azure IoT Hub Device Provisioning Service
Microsoft.DocumentDBMicrosoft.DocumentDB Azure Cosmos DBAzure Cosmos DB
Microsoft.EventGridMicrosoft.EventGrid 事件网格Event Grid
Microsoft.EventHubMicrosoft.EventHub 事件中心Event Hubs
Microsoft.Features - 已注册Microsoft.Features - registered Azure 资源管理器Azure Resource Manager
Microsoft.GuestConfigurationMicrosoft.GuestConfiguration Azure PolicyAzure Policy
Microsoft.HDInsightMicrosoft.HDInsight HDInsightHDInsight
Microsoft.ImportExportMicrosoft.ImportExport Azure 导入/导出Azure Import/Export
Microsoft.InsightsMicrosoft.Insights Azure MonitorAzure Monitor
Microsoft.IoTCentralMicrosoft.IoTCentral Azure IoT CentralAzure IoT Central
Microsoft.KeyVaultMicrosoft.KeyVault 密钥保管库Key Vault
Microsoft.KustoMicrosoft.Kusto Azure 数据资源管理器Azure Data Explorer
Microsoft.LogicMicrosoft.Logic 逻辑应用Logic Apps
Microsoft.MachineLearningServicesMicrosoft.MachineLearningServices Azure 机器学习Azure Machine Learning
Microsoft.MaintenanceMicrosoft.Maintenance Azure 维护Azure Maintenance
Microsoft.ManagedIdentityMicrosoft.ManagedIdentity Azure 资源的托管标识Managed identities for Azure resources
Microsoft.ManagedServicesMicrosoft.ManagedServices Azure LighthouseAzure Lighthouse
Microsoft.ManagementMicrosoft.Management 管理组Management Groups
Microsoft.MediaMicrosoft.Media 媒体服务Media Services
Microsoft.MigrateMicrosoft.Migrate Azure MigrateAzure Migrate
Microsoft.NetworkMicrosoft.Network 应用程序网关Application Gateway
Azure BastionAzure Bastion
Azure DNSAzure DNS
Azure ExpressRouteAzure ExpressRoute
Azure 防火墙Azure Firewall
负载均衡器Load Balancer
网络观察程序Network Watcher
流量管理器Traffic Manager
虚拟网络Virtual Network
虚拟 WANVirtual WAN
VPN 网关VPN Gateway
Microsoft.NotebooksMicrosoft.Notebooks Azure NotebookAzure Notebooks
Microsoft.NotificationHubsMicrosoft.NotificationHubs 通知中心Notification Hubs
Microsoft.OperationalInsightsMicrosoft.OperationalInsights Azure MonitorAzure Monitor
Microsoft.OperationsManagementMicrosoft.OperationsManagement Azure MonitorAzure Monitor
Microsoft.PolicyInsightsMicrosoft.PolicyInsights Azure PolicyAzure Policy
Microsoft.Portal - 已注册Microsoft.Portal - registered Azure 门户Azure portal
Microsoft.PowerBIMicrosoft.PowerBI Power BIPower BI
Microsoft.PowerBIDedicatedMicrosoft.PowerBIDedicated Power BI EmbeddedPower BI Embedded
Microsoft.RecoveryServicesMicrosoft.RecoveryServices Azure Site RecoveryAzure Site Recovery
Microsoft.RelayMicrosoft.Relay Azure 中继Azure Relay
Microsoft.ResourceGraph - 已注册Microsoft.ResourceGraph - registered Azure Resource GraphAzure Resource Graph
Microsoft.ResourceHealthMicrosoft.ResourceHealth Azure 服务运行状况Azure Service Health
Microsoft.Resources - 已注册Microsoft.Resources - registered Azure Resource ManagerAzure Resource Manager
Microsoft.SchedulerMicrosoft.Scheduler 计划程序Scheduler
Microsoft.SearchMicrosoft.Search Azure 认知搜索Azure Cognitive Search
Microsoft.SecurityMicrosoft.Security 安全中心Security Center
Microsoft.ServiceBusMicrosoft.ServiceBus 服务总线Service Bus
Microsoft.ServiceFabricMicrosoft.ServiceFabric Service FabricService Fabric
Microsoft.ServicesMicrosoft.Services corecore
Microsoft.SignalRServiceMicrosoft.SignalRService Azure SignalR 服务Azure SignalR Service
Microsoft.SolutionsMicrosoft.Solutions Azure 托管应用程序Azure Managed Applications
Microsoft.SqlMicrosoft.Sql Azure SQL 数据库Azure SQL Database
Azure SQL 托管实例Azure SQL Managed Instance
Azure Synapse AnalyticsAzure Synapse Analytics
Microsoft.SqlVirtualMachineMicrosoft.SqlVirtualMachine Azure 虚拟机中的 SQL ServerSQL Server on Azure Virtual Machines
Microsoft.StorageMicrosoft.Storage 存储Storage
Microsoft.StorageSyncMicrosoft.StorageSync 存储Storage
Microsoft.StreamAnalyticsMicrosoft.StreamAnalytics Azure 流分析Azure Stream Analytics
Microsoft.SynapseMicrosoft.Synapse Azure Synapse AnalyticsAzure Synapse Analytics
Microsoft.TimeSeriesInsightsMicrosoft.TimeSeriesInsights Azure 时序见解Azure Time Series Insights
Microsoft.WebMicrosoft.Web 应用服务App Service
Azure FunctionsAzure Functions

注册Registration

默认情况下,上面标记为“- 已注册”的资源提供程序已针对你的订阅注册。The resources providers above that are marked with - registered are registered by default for your subscription. 若要使用其他资源提供程序,必须进行注册To use the other resource providers, you must register them. 但是,当你执行某些操作时,系统会为你注册许多资源提供程序。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. 通过 Azure 资源管理器模板部署资源时,也会注册任何所需的资源提供程序。When deploy resources through an Azure Resource Manager template, any required resource providers are also registered.

重要

仅在准备好使用资源提供程序时注册该程序。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.

查找资源提供程序Find resource provider

如果你在 Azure 中已有基础结构,但不确定使用的是哪个资源提供程序,则可使用 Azure CLI 或 PowerShell 来查找资源提供程序。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.

以下示例使用 Azure CLI:The following example uses Azure CLI:

az resource list -g examplegroup

结果包含资源类型。The results include the resource type. 资源提供程序命名空间是资源类型的第一部分。The resource provider namespace is the first part of the resource type. 以下示例演示了 Microsoft.KeyVault 资源提供程序。The following example shows the Microsoft.KeyVault resource provider.

[
  {
    ...
    "type": "Microsoft.KeyVault/vaults"
  }
]

以下示例使用 PowerShell:The following example uses PowerShell:

Get-AzResource -ResourceGroupName examplegroup

结果包含资源类型。The results include the resource type. 资源提供程序命名空间是资源类型的第一部分。The resource provider namespace is the first part of the resource type. 以下示例演示了 Microsoft.KeyVault 资源提供程序。The following example shows the Microsoft.KeyVault resource provider.

Name              : examplekey
ResourceGroupName : examplegroup
ResourceType      : Microsoft.KeyVault/vaults
...

后续步骤Next steps

有关资源提供程序的详细信息(包括如何注册资源提供程序),请参阅 Azure 资源提供程序和类型For more information about resource providers, including how to register a resource provider, see Azure resource providers and types.