Azure 资源的命名规则和限制Naming rules and restrictions for Azure resources

本文汇总了 Azure 资源的命名规则和限制。This article summarizes naming rules and restrictions for Azure resources.

本文按资源提供程序命名空间列出了资源。This article lists resources by resource provider namespace. 有关资源提供程序如何匹配 Azure 服务的列表,请参阅适用于 Azure 服务的资源提供程序For a list of how resource providers match Azure services, see Resource providers for Azure services.

除非“有效字符”列中另有专门的说明,否则资源名称不区分大小写。Resource names are case-insensitive unless specifically noted in the valid characters column.

在下表中,术语“字母数字”是指:In the following tables, the term alphanumeric refers to:

  • az(小写字母)a through z (lowercase letters)
  • AZ(大写字母)A through Z (uppercase letters)
  • 09(数字)0 through 9 (numbers)

Microsoft.AnalysisServicesMicrosoft.AnalysisServices

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
serversservers 资源组resource group 3-633-63 小写字母和数字。Lowercase letters and numbers.

以小写字母开头。Start with lowercase letter.

Microsoft.ApiManagementMicrosoft.ApiManagement

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
服务service 全局global 1-501-50 字母数字和连字符。Alphanumerics, and hyphens.

以字母开头,以字母数字结尾。Start with letter, and end with alphanumeric.
service / apisservice / apis 服务service 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / apis / issuesservice / apis / issues apiapi 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / apis / issues / attachmentsservice / apis / issues / attachments 问题issue 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / apis / issues / commentsservice / apis / issues / comments 问题issue 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / apis / operationsservice / apis / operations apiapi 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / apis / operations / tagsservice / apis / operations / tags operationoperation 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / apis / releasesservice / apis / releases apiapi 1-801-80 字母数字、下划线和连字符。Alphanumerics, underscores, and hyphens.

以字母数字或下划线开头和结尾。Start and end with alphanumeric or underscore.
service / apis / schemasservice / apis / schemas apiapi 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / apis / tagDescriptionsservice / apis / tagDescriptions apiapi 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / apis / tagsservice / apis / tags apiapi 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / api-version-setsservice / api-version-sets 服务service 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / authorizationServersservice / authorizationServers 服务service 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / backendsservice / backends 服务service 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / certificatesservice / certificates 服务service 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / diagnosticsservice / diagnostics 服务service 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / groupsservice / groups 服务service 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / groups / usersservice / groups / users groupgroup 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / identityProvidersservice / identityProviders 服务service 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / loggersservice / loggers 服务service 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / notificationsservice / notifications 服务service 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / notifications / recipientEmailsservice / notifications / recipientEmails 通知notification 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / openidConnectProvidersservice / openidConnectProviders 服务service 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / policiesservice / policies 服务service 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / productsservice / products 服务service 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / products / apisservice / products / apis productproduct 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / products / groupsservice / products / groups productproduct 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / products / tagsservice / products / tags productproduct 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / propertiesservice / properties 服务service 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / subscriptionsservice / subscriptions 服务service 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / tagsservice / tags 服务service 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / templatesservice / templates 服务service 1-2561-256 不能使用:Can't use:
*#&+:<>?
service / usersservice / users 服务service 1-2561-256 不能使用:Can't use:
*#&+:<>?

Microsoft.AuthorizationMicrosoft.Authorization

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
锁定locks 分配范围scope of assignment 1-901-90 字母数字、句点、下划线、连字符和括号。Alphanumerics, periods, underscores, hyphens, and parenthesis.

不能以句点结尾。Can't end in period.
policyAssignmentspolicyAssignments 分配范围scope of assignment 1-128 显示名称1-128 display name

1-64 资源名称1-64 resource name
显示名称可以包含任何字符。Display name can contain any characters.

资源名称不能包含 %,且不能以句点或空格结尾。Resource name can't include % and can't end with period or space.
policyDefinitionspolicyDefinitions 定义范围scope of definition 1-128 显示名称1-128 display name

1-64 资源名称1-64 resource name
显示名称可以包含任何字符。Display name can contain any characters.

资源名称不能包含 %,且不能以句点或空格结尾。Resource name can't include % and can't end with period or space.
policySetDefinitionspolicySetDefinitions 定义范围scope of definition 1-128 显示名称1-128 display name

1-64 资源名称1-64 resource name

1-24 管理组范围内的资源名称1-24 resource name at management group scope
显示名称可以包含任何字符。Display name can contain any characters.

资源名称不能包含 %,且不能以句点或空格结尾。Resource name can't include % and can't end with period or space.

Microsoft.AutomationMicrosoft.Automation

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
automationAccountsautomationAccounts 资源组resource group 6-506-50 字母数字和连字符。Alphanumerics and hyphens.

以字母开头,以字母数字结尾。Start with letter, and end with alphanumeric.
automationAccounts / certificatesautomationAccounts / certificates 自动化帐户automation account 1-1281-128 不能使用:Can't use:
<>*%&:\?.+/

不能以空格结尾。Can't end with space.
automationAccounts / connectionsautomationAccounts / connections 自动化帐户automation account 1-1281-128 不能使用:Can't use:
<>*%&:\?.+/

不能以空格结尾。Can't end with space.
automationAccounts / credentialsautomationAccounts / credentials 自动化帐户automation account 1-1281-128 不能使用:Can't use:
<>*%&:\?.+/

不能以空格结尾。Can't end with space.
automationAccounts/runbooksautomationAccounts / runbooks 自动化帐户automation account 1-631-63 字母数字、下划线和连字符。Alphanumerics, underscores, and hyphens.

以字母开头。Start with letter.
automationAccounts / schedulesautomationAccounts / schedules 自动化帐户automation account 1-1281-128 不能使用:Can't use:
<>*%&:\?.+/

不能以空格结尾。Can't end with space.
automationAccounts / variablesautomationAccounts / variables 自动化帐户automation account 1-1281-128 不能使用:Can't use:
<>*%&:\?.+/

不能以空格结尾。Can't end with space.
automationAccounts / watchersautomationAccounts / watchers 自动化帐户automation account 1-631-63 字母数字、下划线和连字符。Alphanumerics, underscores, and hyphens.

以字母开头。Start with letter.
automationAccounts/webhooksautomationAccounts / webhooks 自动化帐户automation account 1-1281-128 不能使用:Can't use:
<>*%&:\?.+/

不能以空格结尾。Can't end with space.

Microsoft.BatchMicrosoft.Batch

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
batchAccountsbatchAccounts 区域Region 3-243-24 小写字母和数字。Lowercase letters and numbers.
batchAccounts / applicationsbatchAccounts / applications Batch 帐户batch account 1-641-64 字母数字、下划线和连字符。Alphanumerics, underscores, and hyphens.
batchAccounts / certificatesbatchAccounts / certificates Batch 帐户batch account 5-455-45 字母数字、下划线和连字符。Alphanumerics, underscores, and hyphens.
batchAccounts / poolsbatchAccounts / pools Batch 帐户batch account 1-641-64 字母数字、下划线和连字符。Alphanumerics, underscores, and hyphens.

Microsoft.CacheMicrosoft.Cache

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
RedisRedis 全局global 1-631-63 字母数字和连字符。Alphanumerics and hyphens.

以字母数字开头和结尾。Start and end with alphanumeric. 不允许连续的连字符。Consecutive hyphens not allowed.
Redis / firewallRulesRedis / firewallRules RedisRedis 1-2561-256 字母数字Alphanumerics

Microsoft.CdnMicrosoft.Cdn

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
配置文件profiles 资源组resource group 1-2601-260 字母数字和连字符。Alphanumerics and hyphens.

以字母数字开头和结尾。Start and end with alphanumeric.
profiles/endpointsprofiles / endpoints 全局global 1-501-50 字母数字和连字符。Alphanumerics and hyphens.

以字母数字开头和结尾。Start and end with alphanumeric.

Microsoft.CognitiveServicesMicrosoft.CognitiveServices

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
accountsaccounts 资源组resource group 2-642-64 字母数字和连字符。Alphanumerics and hyphens.

以字母数字开头和结尾。Start and end with alphanumeric.

Microsoft.ComputeMicrosoft.Compute

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
availabilitySetsavailabilitySets 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End with alphanumeric or underscore.
diskEncryptionSetsdiskEncryptionSets 资源组resource group 1-801-80 字母数字和下划线。Alphanumerics and underscores.
disksdisks 资源组resource group 1-801-80 字母数字和下划线。Alphanumerics and underscores.
galleriesgalleries 资源组resource group 1-801-80 字母数字和句点。Alphanumerics and periods.

以字母数字开头和结尾。Start and end with alphanumeric.
galleries/applicationsgalleries / applications gallery 1-801-80 字母数字、连字符和句点。Alphanumerics, hyphens, and periods.

以字母数字开头和结尾。Start and end with alphanumeric.
galleries / applications/versionsgalleries / applications/versions applicationapplication 32-bit integer32-bit integer 数字和句点。Numbers and periods.
galleries/imagesgalleries / images gallery 1-801-80 字母数字、连字符和句点。Alphanumerics, hyphens, and periods.

以字母数字开头和结尾。Start and end with alphanumeric.
galleries/images/versionsgalleries / images / versions 图像image 32-bit integer32-bit integer 数字和句点。Numbers and periods.
imagesimages 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End with alphanumeric or underscore.
snapshotssnapshots 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End with alphanumeric or underscore.
virtualMachinesvirtualMachines 资源组resource group 1-15 (Windows)1-15 (Windows)
1-64 (Linux)1-64 (Linux)

参阅下面的说明。See note below.
不能使用:Can't use:
\/"'[]:|<>+=;,?*@&

不能以下划线开头。Can't start with underscore. 不能以句点或连字符结尾。Can't end with period or hyphen.
virtualMachineScaleSetsvirtualMachineScaleSets 资源组resource group 1-15 (Windows)1-15 (Windows)
1-64 (Linux)1-64 (Linux)

参阅下面的说明。See note below.
不能使用:Can't use:
\/"'[]:|<>+=;,?*@&

不能以下划线开头。Can't start with underscore. 不能以句点或连字符结尾。Can't end with period or hyphen.

备注

Azure 虚拟机有两个不同的名称:资源名称和主机名。Azure virtual machines have two distinct names: resource name and host name. 在门户中创建虚拟机时,将对这两个名称使用同一个值。When you create a virtual machine in the portal, the same value is used for both names. 上表中的限制适用于主机名。The restrictions in the preceding table are for the host name. 实际资源名称最多可包含 64 个字符。The actual resource name can have up to 64 characters.

Microsoft.ContainerInstanceMicrosoft.ContainerInstance

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
containerGroupscontainerGroups 资源组resource group 1-631-63 小写字母、数字和连字符。Lowercase letters, numbers, and hyphens.

不能以连字符开头或结尾。Can't start or end with hyphen. 不允许连续的连字符。Consecutive hyphens aren't allowed.

Microsoft.ContainerRegistryMicrosoft.ContainerRegistry

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
registriesregistries 全局global 5-505-50 字母数字。Alphanumerics.
registries/buildTasksregistries / buildTasks 注册表registry 5-505-50 字母数字。Alphanumerics.
registries / buildTasks/stepsregistries / buildTasks/steps 生成任务build task 5-505-50 字母数字。Alphanumerics.
registries/replicationsregistries / replications 注册表registry 5-505-50 字母数字。Alphanumerics.
registries/scopeMapsregistries / scopeMaps 注册表registry 5-505-50 字母数字、连字符和下划线。Alphanumerics, hyphens, and underscores.
registries/tasksregistries / tasks 注册表registry 5-505-50 字母数字、连字符和下划线。Alphanumerics, hyphens, and underscores.
registries/tokensregistries / tokens 注册表registry 5-505-50 字母数字、连字符和下划线。Alphanumerics, hyphens, and underscores.
registries/webhooksregistries / webhooks 注册表registry 5-505-50 字母数字。Alphanumerics.

Microsoft.ContainerServiceMicrosoft.ContainerService

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
managedClustersmanagedClusters 资源组resource group 1-631-63 字母数字、下划线和连字符。Alphanumerics, underscores, and hyphens.

以字母数字开头和结尾。Start and end with alphanumeric.
openShiftManagedClustersopenShiftManagedClusters 资源组resource group 1-301-30 字母数字。Alphanumerics.

Microsoft.DataFactoryMicrosoft.DataFactory

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
factoriesfactories 全局global 3-633-63 字母数字和连字符。Alphanumerics and hyphens.

以字母数字开头和结尾。Start and end with alphanumeric.
factories / dataflowsfactories / dataflows 工厂factory 1-2601-260 不能使用:Can't use:
<>*#.%&:\\+?/

以字母数字开头。Start with alphanumeric.
factories / datasetsfactories / datasets 工厂factory 1-2601-260 不能使用:Can't use:
<>*#.%&:\\+?/

以字母数字开头。Start with alphanumeric.
factories/integrationRuntimesfactories / integrationRuntimes 工厂factory 3-633-63 字母数字和连字符。Alphanumerics and hyphens.

以字母数字开头和结尾。Start and end with alphanumeric.
factories / linkedservicesfactories / linkedservices 工厂factory 1-2601-260 不能使用:Can't use:
<>*#.%&:\\+?/

以字母数字开头。Start with alphanumeric.
factories / pipelinesfactories / pipelines 工厂factory 1-2601-260 不能使用:Can't use:
<>*#.%&:\\+?/

以字母数字开头。Start with alphanumeric.
factories / triggersfactories / triggers 工厂factory 1-2601-260 不能使用:Can't use:
<>*#.%&:\\+?/

以字母数字开头。Start with alphanumeric.
factories / triggers / rerunTriggersfactories / triggers / rerunTriggers 触发器trigger 1-2601-260 不能使用:Can't use:
<>*#.%&:\\+?/

以字母数字开头。Start with alphanumeric.

Microsoft.DataMigrationMicrosoft.DataMigration

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
servicesservices 资源组resource group 2-622-62 字母数字、连字符、句点和下划线。Alphanumerics, hyphens, periods, and underscores.

以字母数字开头。Start with alphanumeric.
services/projectsservices / projects 服务service 2-572-57 字母数字、连字符、句点和下划线。Alphanumerics, hyphens, periods, and underscores.

以字母数字开头。Start with alphanumeric.

Microsoft.DBforMariaDBMicrosoft.DBforMariaDB

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
serversservers 全局global 3-633-63 小写字母、连字符和数字。Lowercase letters, hyphens and numbers.

不能以连字符开头或结尾。Can't start or end with hyphen.
servers/databasesservers / databases serversservers 1-631-63 字母数字和连字符。Alphanumerics and hyphens.
servers/firewallRulesservers / firewallRules serversservers 1-1281-128 字母数字、连字符和下划线。Alphanumerics, hyphens, and underscores.
servers/virtualNetworkRulesservers / virtualNetworkRules serversservers 1-1281-128 字母数字和连字符。Alphanumerics and hyphens.

Microsoft.DBforMySQLMicrosoft.DBforMySQL

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
serversservers 全局global 3-633-63 小写字母、连字符和数字。Lowercase letters, hyphens and numbers.

不能以连字符开头或结尾。Can't start or end with hyphen.
servers/databasesservers / databases serversservers 1-631-63 字母数字和连字符。Alphanumerics and hyphens.
servers/firewallRulesservers / firewallRules serversservers 1-1281-128 字母数字、连字符和下划线。Alphanumerics, hyphens, and underscores.
servers/virtualNetworkRulesservers / virtualNetworkRules serversservers 1-1281-128 字母数字和连字符。Alphanumerics and hyphens.

Microsoft.DBforPostgreSQLMicrosoft.DBforPostgreSQL

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
serversservers 全局global 3-633-63 小写字母、连字符和数字。Lowercase letters, hyphens and numbers.

不能以连字符开头或结尾。Can't start or end with hyphen.
servers/databasesservers / databases serversservers 1-631-63 字母数字和连字符。Alphanumerics and hyphens.
servers/firewallRulesservers / firewallRules serversservers 1-1281-128 字母数字、连字符和下划线。Alphanumerics, hyphens, and underscores.
servers/virtualNetworkRulesservers / virtualNetworkRules serversservers 1-1281-128 字母数字和连字符。Alphanumerics and hyphens.

Microsoft.DevicesMicrosoft.Devices

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
IotHubsIotHubs 全局global 3-503-50 字母数字和连字符。Alphanumerics and hyphens.

不能以连字符结尾。Can't end with hyphen.
IotHubs / certificatesIotHubs / certificates IoT 中心IoT hub 1-641-64 字母数字、连字符、句点和下划线。Alphanumerics, hyphens, periods, and underscores.
IotHubs / eventHubEndpoints / ConsumerGroupsIotHubs / eventHubEndpoints / ConsumerGroups eventHubEndpointseventHubEndpoints 1-501-50 字母数字、连字符、句点和下划线。Alphanumerics, hyphens, periods, and underscores.
provisioningServicesprovisioningServices 资源组resource group 3-643-64 字母数字和连字符。Alphanumerics and hyphens.

以字母数字结尾。End with alphanumeric.
provisioningServices / certificatesprovisioningServices / certificates provisioningServicesprovisioningServices 1-641-64 字母数字、连字符、句点和下划线。Alphanumerics, hyphens, periods, and underscores.

Microsoft.DocumentDBMicrosoft.DocumentDB

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
databaseAccountsdatabaseAccounts 全局global 3-443-44 小写字母、数字和连字符。Lowercase letters, numbers, and hyphens.

以小写字母或数字开头。Start with lowercase letter or number.

Microsoft.EventGridMicrosoft.EventGrid

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
domainsdomains 资源组resource group 3-503-50 字母数字和连字符。Alphanumerics and hyphens.
domains/topicsdomains / topics domain 3-503-50 字母数字和连字符。Alphanumerics and hyphens.
eventSubscriptionseventSubscriptions 资源组resource group 3-643-64 字母数字和连字符。Alphanumerics and hyphens.
topicstopics 资源组resource group 3-503-50 字母数字和连字符。Alphanumerics and hyphens.

Microsoft.EventHubMicrosoft.EventHub

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
clustersclusters 资源组resource group 6-506-50 字母数字和连字符。Alphanumerics and hyphens.

以字母开头。Start with letter. 以字母或数字结尾。End with letter or number.
namespacesnamespaces 全局global 6-506-50 字母数字和连字符。Alphanumerics and hyphens.

以字母开头。Start with letter. 以字母或数字结尾。End with letter or number.
namespaces / AuthorizationRulesnamespaces / AuthorizationRules 命名空间namespace 1-501-50 字母数字、句点、连字符和下划线。Alphanumerics, periods, hyphens and underscores.

以字母或数字开头和结尾。Start and end with letter or number.
namespaces / disasterRecoveryConfigsnamespaces / disasterRecoveryConfigs 命名空间namespace 1-501-50 字母数字、句点、连字符和下划线。Alphanumerics, periods, hyphens and underscores.

以字母或数字开头和结尾。Start and end with letter or number.
namespaces/eventhubsnamespaces / eventhubs 命名空间namespace 1-501-50 字母数字、句点、连字符和下划线。Alphanumerics, periods, hyphens and underscores.

以字母或数字开头和结尾。Start and end with letter or number.
namespaces / eventhubs / authorizationRulesnamespaces / eventhubs / authorizationRules 事件中心event hub 1-501-50 字母数字、句点、连字符和下划线。Alphanumerics, periods, hyphens and underscores.

以字母或数字开头和结尾。Start and end with letter or number.
namespaces/eventhubs/consumergroupsnamespaces / eventhubs / consumergroups 事件中心event hub 1-501-50 字母数字、句点、连字符和下划线。Alphanumerics, periods, hyphens and underscores.

以字母或数字开头和结尾。Start and end with letter or number.

Microsoft.HDInsightMicrosoft.HDInsight

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
clustersclusters 全局global 3-593-59 字母数字和连字符Alphanumerics and hyphens

以字母或数字开头和结尾。Start and end with letter or number.

Microsoft.ImportExportMicrosoft.ImportExport

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
jobsjobs 资源组resource group 2-642-64 字母数字和连字符。Alphanumerics and hyphens.

以字母开头。Start with letter.

Microsoft.InsightsMicrosoft.Insights

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
componentscomponents 资源组resource group 1-2601-260 不得使用:Can't use:
%&\?/

不得以空格或句点结尾。Can't end with space or period.

Microsoft.IoTCentralMicrosoft.IoTCentral

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
IoTAppsIoTApps 全局global 2-632-63 小写字母、数字和连字符。Lowercase letters, numbers and hyphens.

以小写字母或数字开头。Start with lowercase letter or number.

Microsoft.KeyVaultMicrosoft.KeyVault

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
vaultsvaults 全局global 3-243-24 字母数字和连字符。Alphanumerics and hyphens.

以字母开头。Start with letter. 以字母或数字结尾。End with letter or digit. 不能包含连续的连字符。Can't contain consecutive hyphens.
vaults/secretsvaults / secrets 保管库Vault 1-1271-127 字母数字和连字符。Alphanumerics and hyphens.

Microsoft.KustoMicrosoft.Kusto

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
clustersclusters 全局global 4-224-22 小写字母和数字。Lowercase letters and numbers.

以字母开头。Start with letter.
/clusters / databases/clusters / databases clustercluster 1-2601-260 字母数字、连字符、空格和句点。Alphanumerics, hyphens, spaces, and periods.
/clusters / databases / dataConnections/clusters / databases / dataConnections databasedatabase 1-401-40 字母数字、连字符、空格和句点。Alphanumerics, hyphens, spaces, and periods.
/clusters / databases / eventhubconnections/clusters / databases / eventhubconnections databasedatabase 1-401-40 字母数字、连字符、空格和句点。Alphanumerics, hyphens, spaces, and periods.

Microsoft.LogicMicrosoft.Logic

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
integrationAccountsintegrationAccounts 资源组resource group 1-801-80 字母数字、连字符、下划线、句点和括号。Alphanumerics, hyphens, underscores, periods, and parenthesis.
integrationAccounts / assembliesintegrationAccounts / assemblies 集成帐户integration account 1-801-80 字母数字、连字符、下划线、句点和括号。Alphanumerics, hyphens, underscores, periods, and parenthesis.
integrationAccounts / batchConfigurationsintegrationAccounts / batchConfigurations 集成帐户integration account 1-201-20 字母数字。Alphanumerics.
integrationAccounts / certificatesintegrationAccounts / certificates 集成帐户integration account 1-801-80 字母数字、连字符、下划线、句点和括号。Alphanumerics, hyphens, underscores, periods, and parenthesis.
integrationAccounts / mapsintegrationAccounts / maps 集成帐户integration account 1-801-80 字母数字、连字符、下划线、句点和括号。Alphanumerics, hyphens, underscores, periods, and parenthesis.
integrationAccounts / partnersintegrationAccounts / partners 集成帐户integration account 1-801-80 字母数字、连字符、下划线、句点和括号。Alphanumerics, hyphens, underscores, periods, and parenthesis.
integrationAccounts / rosettanetprocessconfigurationsintegrationAccounts / rosettanetprocessconfigurations 集成帐户integration account 1-801-80 字母数字、连字符、下划线、句点和括号。Alphanumerics, hyphens, underscores, periods, and parenthesis.
integrationAccounts / schemasintegrationAccounts / schemas 集成帐户integration account 1-801-80 字母数字、连字符、下划线、句点和括号。Alphanumerics, hyphens, underscores, periods, and parenthesis.
integrationAccounts / sessionsintegrationAccounts / sessions 集成帐户integration account 1-801-80 字母数字、连字符、下划线、句点和括号。Alphanumerics, hyphens, underscores, periods, and parenthesis.
integrationServiceEnvironmentsintegrationServiceEnvironments 资源组resource group 1-801-80 字母数字、连字符、句点和下划线。Alphanumerics, hyphens, periods, and underscores.
integrationServiceEnvironments/managedApisintegrationServiceEnvironments / managedApis 集成服务环境integration service environment 1-801-80 字母数字、连字符、句点和下划线。Alphanumerics, hyphens, periods, and underscores.
workflowsworkflows 资源组resource group 1-801-80 字母数字、连字符、下划线、句点和括号。Alphanumerics, hyphens, underscores, periods, and parenthesis.

Microsoft.MachineLearningServicesMicrosoft.MachineLearningServices

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
workspacesworkspaces 资源组resource group 3-333-33 字母数字和连字符。Alphanumerics and hyphens.
workspaces / computesworkspaces / computes 工作区workspace 2-162-16 字母数字和连字符。Alphanumerics and hyphens.

Microsoft.ManagedIdentityMicrosoft.ManagedIdentity

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
userAssignedIdentitiesuserAssignedIdentities 资源组resource group 3-1283-128 字母数字、连字符和下划线Alphanumerics, hyphens, and underscores

以字母或数字开头。Start with letter or number.

Microsoft.MediaMicrosoft.Media

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
mediaservicesmediaservices 资源组resource group 3-243-24 小写字母和数字。Lowercase letters and numbers.
mediaservices/liveEventsmediaservices / liveEvents 媒体服务Media service 1-321-32 字母数字和连字符。Alphanumerics and hyphens.

以字母数字开头。Start with alphanumeric.
mediaservices/liveEvents/liveOutputsmediaservices / liveEvents / liveOutputs 实时事件Live event 1-2561-256 字母数字和连字符。Alphanumerics and hyphens.

以字母数字开头。Start with alphanumeric.
mediaservices/streamingEndpointsmediaservices / streamingEndpoints 媒体服务Media service 1-241-24 字母数字和连字符。Alphanumerics and hyphens.

以字母数字开头。Start with alphanumeric.

Microsoft.NetworkMicrosoft.Network

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
applicationGatewaysapplicationGateways 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
applicationSecurityGroupsapplicationSecurityGroups 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
azureFirewallsazureFirewalls 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End with alphanumeric or underscore.
bastionHostsbastionHosts 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
connectionsconnections 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
dnsZonesdnsZones 资源组resource group 1-63 个字符1-63 characters

2 到 34 个标签2 to 34 labels

每个标签是以句点分隔的一组字符。Each label is a set of characters separated by a period. 例如,contoso.com 有 2 个标签。For example, contoso.com has 2 labels.
每个标签可以包含字母数字、下划线和连字符。Each label can contain alphanumerics, underscores, and hyphens.

每个标签以句点分隔。Each label is separated by a period.
expressRouteCircuitsexpressRouteCircuits 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
firewallPoliciesfirewallPolicies 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
firewallPolicies / ruleGroupsfirewallPolicies / ruleGroups 防火墙策略firewall policy 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
frontDoorsfrontDoors 全局global 5-645-64 字母数字和连字符。Alphanumerics and hyphens.

以字母数字开头和结尾。Start and end with alphanumeric.
loadBalancersloadBalancers 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
loadBalancers / inboundNatRulesloadBalancers / inboundNatRules 负载均衡器load balancer 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
localNetworkGatewayslocalNetworkGateways 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
networkInterfacesnetworkInterfaces 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
networkSecurityGroupsnetworkSecurityGroups 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
networkSecurityGroups / securityRulesnetworkSecurityGroups / securityRules 网络安全组network security group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
networkWatchersnetworkWatchers 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
privateDnsZonesprivateDnsZones 资源组resource group 1-63 个字符1-63 characters

2 到 34 个标签2 to 34 labels

每个标签是以句点分隔的一组字符。Each label is a set of characters separated by a period. 例如,contoso.com 有 2 个标签。For example, contoso.com has 2 labels.
每个标签可以包含字母数字、下划线和连字符。Each label can contain alphanumerics, underscores, and hyphens.

每个标签以句点分隔。Each label is separated by a period.
privateDnsZones/virtualNetworkLinksprivateDnsZones / virtualNetworkLinks 专用 DNS 区域private DNS zone 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
publicIPAddressespublicIPAddresses 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
publicIPPrefixespublicIPPrefixes 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
routeFiltersrouteFilters 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
routeFilters / routeFilterRulesrouteFilters / routeFilterRules 路由筛选器route filter 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
routeTablesrouteTables 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
routeTables / routesrouteTables / routes 路由表route table 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
serviceEndpointPoliciesserviceEndpointPolicies 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
trafficmanagerprofilestrafficmanagerprofiles 全局global 1-631-63 字母数字、连字符和句点。Alphanumerics, hyphens, and periods.

以字母数字开头和结尾。Start and end with alphanumeric.
virtualNetworkGatewaysvirtualNetworkGateways 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
virtualNetworksvirtualNetworks 资源组resource group 2-642-64 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
virtualnetworks / subnetsvirtualnetworks / subnets 虚拟网络virtual network 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
virtualNetworks/virtualNetworkPeeringsvirtualNetworks / virtualNetworkPeerings 虚拟网络virtual network 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
virtualWansvirtualWans 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
vpnGatewaysvpnGateways 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
vpnGateways / vpnConnectionsvpnGateways / vpnConnections VPN 网关VPN gateway 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.
vpnSitesvpnSites 资源组resource group 1-801-80 字母数字、下划线、句点和连字符。Alphanumerics, underscores, periods, and hyphens.

以字母数字开头。Start with alphanumeric. 以字母数字或下划线结尾。End alphanumeric or underscore.

Microsoft.NotificationHubsMicrosoft.NotificationHubs

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
namespacesnamespaces 全局global 6-506-50 字母数字和连字符Alphanumerics and hyphens

以字母开头。Start with letter. 以字母数字结尾。End with alphanumeric.
namespaces / AuthorizationRulesnamespaces / AuthorizationRules 命名空间namespace 1-2561-256 字母数字、句点、连字符和下划线。Alphanumerics, periods, hyphens, and underscores.

以字母数字开头。Start alphanumeric.
namespaces/notificationHubsnamespaces / notificationHubs 命名空间namespace 1-2601-260 字母数字、句点、连字符和下划线。Alphanumerics, periods, hyphens, and underscores.

以字母数字开头。Start alphanumeric.
namespaces / notificationHubs / AuthorizationRulesnamespaces / notificationHubs / AuthorizationRules 通知中心notification hub 1-2561-256 字母数字、句点、连字符和下划线。Alphanumerics, periods, hyphens, and underscores.

以字母数字开头。Start alphanumeric.

Microsoft.OperationalInsightsMicrosoft.OperationalInsights

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
clustersclusters 资源组resource group 4-634-63 字母数字和连字符。Alphanumerics and hyphens.

以字母数字开头和结尾。Start and end with alphanumeric.
workspacesworkspaces 资源组resource group 4-634-63 字母数字和连字符。Alphanumerics and hyphens.

以字母数字开头和结尾。Start and end with alphanumeric.

Microsoft.OperationsManagementMicrosoft.OperationsManagement

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
solutionssolutions 工作区workspace 空值N/A 对于 Microsoft 创作的解决方案,名称必须采用以下格式:For solutions authored by Microsoft, the name must be in the pattern:
SolutionType(WorkspaceName)

对于第三方创作的解决方案,名称必须采用以下格式:For solutions authored by third parties, the name must be in the pattern:
SolutionType[WorkspaceName]

例如,有效名称为:For example, a valid name is:
AntiMalware(contoso-IT)

解决方案类型区分大小写。The solution type is case-sensitive.

Microsoft.PortalMicrosoft.Portal

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
dashboardsdashboards 资源组resource group 3-1603-160 字母数字和连字符。Alphanumerics and hyphens.

若要使用受限字符,请添加名为 hidden-title 的标记以及要使用的仪表板名称。To use restricted characters, add a tag named hidden-title with the dashboard name you want to use. 显示仪表板时,门户会显示该名称。The portal displays that name when showing the dashboard.

Microsoft.PowerBIMicrosoft.PowerBI

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
workspaceCollectionsworkspaceCollections regionregion 3-633-63 字母数字和连字符。Alphanumerics and hyphens.

不能以连字符开头。Can't start with hyphen. 不能使用连续的连字符。Can't use consecutive hyphens.

Microsoft.PowerBIDedicatedMicrosoft.PowerBIDedicated

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
capacitiescapacities regionregion 3-633-63 小写字母或数字Lowercase letters or numbers

以小写字母开头。Start with lowercase letter.

Microsoft.RecoveryServicesMicrosoft.RecoveryServices

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
vaultsvaults 资源组resource group 2-502-50 字母数字和连字符。Alphanumerics and hyphens.

以字母开头。Start with letter.
vaults / backupPoliciesvaults / backupPolicies 保管库vault 3-1503-150 字母数字和连字符。Alphanumerics and hyphens.

以字母开头。Start with letter. 不能以连字符结尾。Can't end with hyphen.

Microsoft.RelayMicrosoft.Relay

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
namespacesnamespaces 全局global 6-506-50 字母数字和连字符。Alphanumerics and hyphens.

以字母开头。Start with a letter. 以字母或数字结尾。End with a letter or number.
namespaces / AuthorizationRulesnamespaces / AuthorizationRules 命名空间namespace 1-501-50 字母数字、句点、连字符和下划线。Alphanumerics, periods, hyphens and underscores.

以字母数字开头和结尾。Start and end with alphanumeric.
namespaces / HybridConnectionsnamespaces / HybridConnections 命名空间namespace 1-2601-260 字母数字、句点、连字符、下划线和斜杠。Alphanumerics, periods, hyphens, underscores, and slashes.

以字母数字开头和结尾。Start and end with alphanumeric.
namespaces / HybridConnections/authorizationRulesnamespaces / HybridConnections/authorizationRules 混合连接hybrid connection 1-501-50 字母数字、句点、连字符和下划线。Alphanumerics, periods, hyphens and underscores.

以字母数字开头和结尾。Start and end with alphanumeric.
namespaces / WcfRelaysnamespaces / WcfRelays 命名空间namespace 1-2601-260 字母数字、句点、连字符、下划线和斜杠。Alphanumerics, periods, hyphens, underscores, and slashes.

以字母数字开头和结尾。Start and end with alphanumeric.
namespaces / WcfRelays / authorizationRulesnamespaces / WcfRelays / authorizationRules WCF 中继Wcf relay 1-501-50 字母数字、句点、连字符和下划线。Alphanumerics, periods, hyphens and underscores.

以字母数字开头和结尾。Start and end with alphanumeric.

Microsoft.ResourcesMicrosoft.Resources

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
deploymentsdeployments 资源组resource group 1-641-64 字母数字、下划线、括号、连字符和句点。Alphanumerics, underscores, parentheses, hyphens, and periods.
resourcegroupsresourcegroups 订阅subscription 1-901-90 字母数字、下划线、括号、连字符、句点,以及与正则表达式文档匹配的 Unicode 字符。Alphanumerics, underscores, parentheses, hyphens, periods, and unicode characters that match the regex documentation.

不能以句点结尾。Can't end with period.
tagNamestagNames resourceresource 1-5121-512 不能使用:Can't use:
<>%&\?/
tagNames / tagValuestagNames / tagValues 标记名称tag name 1-2561-256 所有字符。All characters.

Microsoft.ServiceBusMicrosoft.ServiceBus

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
namespacesnamespaces 全局global 6-506-50 字母数字和连字符。Alphanumerics and hyphens.

以字母开头。Start with a letter. 以字母或数字结尾。End with a letter or number.

有关详细信息,请参阅创建命名空间For more information, see Create namespace.
namespaces / AuthorizationRulesnamespaces / AuthorizationRules 命名空间namespace 1-501-50 字母数字、句点、连字符和下划线。Alphanumerics, periods, hyphens, and underscores.

以字母数字开头和结尾。Start and end with alphnumeric.
namespaces / disasterRecoveryConfigsnamespaces / disasterRecoveryConfigs 全局global 6-506-50 字母数字和连字符。Alphanumerics and hyphens.

以字母开头。Start with letter. 以字母数字结尾。End with alphanumeric.
namespaces / migrationConfigurationsnamespaces / migrationConfigurations 命名空间namespace 应始终为 $defaultShould always be $default.
namespaces/queuesnamespaces / queues 命名空间namespace 1-2601-260 字母数字、句点、连字符、下划线和斜杠。Alphanumerics, periods, hyphens, underscores, and slashes.

以字母数字开头和结尾。Start and end with alphanumeric.
namespaces / queues / authorizationRulesnamespaces / queues / authorizationRules 队列queue 1-501-50 字母数字、句点、连字符和下划线。Alphanumerics, periods, hyphens, and underscores.

以字母数字开头和结尾。Start and end with alphnumeric.
namespaces/topicsnamespaces / topics 命名空间namespace 1-2601-260 字母数字、句点、连字符、下划线和斜杠。Alphanumerics, periods, hyphens, underscores, and slashes.

以字母数字开头和结尾。Start and end with alphanumeric.
namespaces / topics / authorizationRulesnamespaces / topics / authorizationRules 主题topic 1-501-50 字母数字、句点、连字符和下划线。Alphanumerics, periods, hyphens, and underscores.

以字母数字开头和结尾。Start and end with alphnumeric.
namespaces/topics/subscriptionsnamespaces / topics / subscriptions 主题topic 1-501-50 字母数字、句点、连字符和下划线。Alphanumerics, periods, hyphens, and underscores.

以字母数字开头和结尾。Start and end with alphnumeric.
namespaces/topics/subscriptions/rulesnamespaces / topics / subscriptions / rules 订阅subscription 1-501-50 字母数字、句点、连字符和下划线。Alphanumerics, periods, hyphens, and underscores.

以字母数字开头和结尾。Start and end with alphnumeric.

Microsoft.ServiceFabricMicrosoft.ServiceFabric

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
clustersclusters regionregion 4-234-23 小写字母、数字和连字符。Lowercase letters, numbers, and hyphens.

以小写字母开头。Start with lowercase letter. 以小写字母或数字结尾。End with lowercase letter or number.

Microsoft.SignalRServiceMicrosoft.SignalRService

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
signalRsignalR 全局global 3-633-63 字母数字和连字符。Alphanumerics and hyphens.

以字母开头。Start with letter. 以字母或数字结尾。End with letter or number.

Microsoft.SqlMicrosoft.Sql

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
managedInstancesmanagedInstances 全局global 1-631-63 小写字母、数字和连字符。Lowercase letters, numbers, and hyphens.

不能以连字符开头或结尾。Can't start or end with hyphen.
serversservers 全局global 1-631-63 小写字母、数字和连字符。Lowercase letters, numbers, and hyphens.

不得以连字符开头或结尾。Can't start or end with hyphen.
servers/administratorsservers / administrators serverserver 必须是 ActiveDirectoryMust be ActiveDirectory.
servers/databasesservers / databases serverserver 1-1281-128 不能使用:Can't use:
<>*%&:\/?

不能以句点或空格结尾。Can't end with period or space.
servers / databases / syncGroupsservers / databases / syncGroups databasedatabase 1-1501-150 字母数字、连字符和下划线。Alphanumerics, hyphens, and underscores.
servers / elasticPoolsservers / elasticPools serverserver 1-1281-128 不能使用:Can't use:
<>*%&:\/?

不能以句点或空格结尾。Can't end with period or space.
servers / failoverGroupsservers / failoverGroups 全局global 1-631-63 小写字母、数字和连字符。Lowercase letters, numbers, and hyphens.

不能以连字符开头或结尾。Can't start or end with hyphen.
servers/firewallRulesservers / firewallRules serverserver 1-1281-128 不能使用:Can't use:
<>*%&:;\/?

不能以句点结尾。Can't end with period.

Microsoft.StorageMicrosoft.Storage

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
storageAccountsstorageAccounts 全局global 3-243-24 小写字母和数字。Lowercase letters and numbers.
storageAccounts/blobServicesstorageAccounts / blobServices 存储帐户storage account 必须是 defaultMust be default.
storageAccounts / blobServices / containersstorageAccounts / blobServices / containers 存储帐户storage account 3-633-63 小写字母、数字和连字符。Lowercase letters, numbers, and hyphens.

以小写字母或数字开头。Start with lowercase letter or number. 不能使用连续的连字符。Can't use consecutive hyphens.
storageAccounts/fileServicesstorageAccounts / fileServices 存储帐户storage account 必须是 defaultMust be default.
storageAccounts / fileServices / sharesstorageAccounts / fileServices / shares 存储帐户storage account 3-633-63 小写字母、数字和连字符。Lowercase letters, numbers, and hyphens.

不能以连字符开头或结尾。Can't start or end with hyphen. 不能使用连续的连字符。Can't use consecutive hyphens.
storageAccounts / managementPoliciesstorageAccounts / managementPolicies 存储帐户storage account 必须是 defaultMust be default.
blobblob containercontainer 1-10241-1024 任何 URL 字符,区分大小写Any URL characters, case sensitive
队列queue 存储帐户storage account 3-633-63 小写字母、数字和连字符。Lowercase letters, numbers, and hyphens.

不能以连字符开头或结尾。Can't start or end with hyphen. 不能使用连续的连字符。Can't use consecutive hyphens.
table 存储帐户storage account 3-633-63 字母数字。Alphanumerics.

以字母开头。Start with letter.

Microsoft.StreamAnalyticsMicrosoft.StreamAnalytics

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
streamingjobsstreamingjobs 资源组resource group 3-633-63 字母数字、连字符和下划线。Alphanumerics, hyphens, and underscores.
streamingjobs / functionsstreamingjobs / functions 流式处理作业streaming job 3-633-63 字母数字、连字符和下划线。Alphanumerics, hyphens, and underscores.
streamingjobs / inputsstreamingjobs / inputs 流式处理作业streaming job 3-633-63 字母数字、连字符和下划线。Alphanumerics, hyphens, and underscores.
streamingjobs / outputsstreamingjobs / outputs 流式处理作业streaming job 3-633-63 字母数字、连字符和下划线。Alphanumerics, hyphens, and underscores.
streamingjobs / transformationsstreamingjobs / transformations 流式处理作业streaming job 3-633-63 字母数字、连字符和下划线。Alphanumerics, hyphens, and underscores.

Microsoft.TimeSeriesInsightsMicrosoft.TimeSeriesInsights

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
environmentsenvironments 资源组resource group 1-901-90 不能使用:Can't use:
'<>%&:\?/#
environments/accessPoliciesenvironments / accessPolicies 环境environment 1-901-90 不能使用:Can't use:
'<>%&:\?/#
environments / eventSourcesenvironments / eventSources 环境environment 1-901-90 不能使用:Can't use:
'<>%&:\?/#
environments/referenceDataSetsenvironments / referenceDataSets 环境environment 3-633-63 字母数字Alphanumerics

Microsoft.WebMicrosoft.Web

实体Entity 作用域Scope LengthLength 有效的字符Valid Characters
serverfarmsserverfarms 资源组resource group 1-401-40 字母数字和连字符。Alphanumerics and hyphens.
sitessites 全局global 2-602-60 包含字母数字和连字符。Contains alphanumerics and hyphens.

不能以连字符开头或结尾。Can't start or end with hyphen.
sites/slotssites / slots sitesite 2-592-59 字母数字和连字符。Alphanumerics and hyphens.

备注

Azure Functions 具有与 Microsoft.Web/sites 相同的命名规则和限制。Azure Functions has the same naming rules and restrictions as Microsoft.Web/sites.