Skip to content

Commit 7075734

Browse files
committed
update
1 parent f27aa95 commit 7075734

File tree

1 file changed

+46
-92
lines changed

1 file changed

+46
-92
lines changed

articles/azure-resource-manager/management/resource-name-rules.md

Lines changed: 46 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ ms.date: 01/13/2020
99

1010
This article summarizes naming rules and restrictions for Azure resources. For recommendations about how to name resources, see [Ready: Recommended naming and tagging conventions](/azure/cloud-adoption-framework/ready/azure-best-practices/naming-and-tagging).
1111

12-
In general, avoid using a special character, such as a hyphen (-) or underscore (_), as the first or last character in any name. These characters cause most validation rules to fail. Resource names are case-insensitive unless specifically noted in the valid characters column.
12+
Resource names are case-insensitive unless specifically noted in the valid characters column.
1313

14-
In the following tables, the term alphanumerics refers to:
14+
In the following tables, the term alphanumeric refers to:
1515

16-
* letters **a** through **z** (lowercase)
17-
* **A** through **Z** (uppercase)
18-
* numbers **0** through **9**.
16+
* **a** through **z** (lowercase letters)
17+
* **A** through **Z** (uppercase letters)
18+
* **0** through **9** (numbers)
1919

2020
## Microsoft.AnalysisServices
2121

@@ -324,81 +324,54 @@ In the following tables, the term alphanumerics refers to:
324324
> | /servers / securityAlertPolicies | servers | Not specified | |
325325
> | /servers / virtualNetworkRules | servers | 1-128 | Alphanumerics and hyphens. |
326326
327-
## Microsoft.DeploymentManager
328-
329-
> [!div class="mx-tableFixed"]
330-
> | Entity | Scope | Length | Valid Characters |
331-
> | --- | --- | --- | --- |
332-
> | /artifactSources | resource group | Not specified | |
333-
> | /rollouts | resource group | Not specified | |
334-
> | /serviceTopologies | resource group | Not specified | |
335-
> | /serviceTopologies / services | serviceTopologies | Not specified | |
336-
> | /serviceTopologies / services / serviceUnits | services | Not specified | |
337-
> | /steps | resource group | Not specified | |
338-
339327
## Microsoft.Devices
340328

341329
> [!div class="mx-tableFixed"]
342330
> | Entity | Scope | Length | Valid Characters |
343331
> | --- | --- | --- | --- |
344-
> | /IotHubs | resource group | Not specified | |
345-
> | /IotHubs / certificates | IotHubs | 1-64 | `^[A-Za-z0-9-._]{1,64}$` |
346-
> | /IotHubs / eventHubEndpoints / ConsumerGroups | eventHubEndpoints | Not specified | |
347-
> | /provisioningServices | resource group | Not specified | |
348-
> | /provisioningServices / certificates | provisioningServices | Not specified | |
332+
> | IotHubs | global | 3-50 | Alphanumerics and hyphens.<br><br>Can't end with hyphen. |
333+
> | IotHubs / certificates | IoT hub | 1-64 | Alphanumerics, hyphens, periods, and underscores. |
334+
> | IotHubs / eventHubEndpoints / ConsumerGroups | eventHubEndpoints | 1-50 | Alphanumerics, hyphens, periods, and underscores. |
335+
> | provisioningServices | resource group | 3-64 | Alphanumerics and hyphens.<br><br>End with alphanumeric. |
336+
> | provisioningServices / certificates | provisioningServices | 1-64 | Alphanumerics, hyphens, periods, and underscores. |
349337
350338
## Microsoft.DevTestLab
351339

352340
> [!div class="mx-tableFixed"]
353341
> | Entity | Scope | Length | Valid Characters |
354342
> | --- | --- | --- | --- |
355-
> | /labs | resource group | Not specified | |
356-
> | /labs / artifactsources | labs | Not specified | |
357-
> | /labs / costs | labs | Not specified | |
358-
> | /labs / customimages | labs | Not specified | |
359-
> | /labs / formulas | labs | Not specified | |
360-
> | /labs / notificationchannels | labs | Not specified | |
361-
> | /labs / policysets / policies | policysets | Not specified | |
362-
> | /labs / schedules | labs | Not specified | |
363-
> | /labs / servicerunners | labs | Not specified | |
364-
> | /labs / users | labs | Not specified | |
365-
> | /labs / users / disks | users | Not specified | |
366-
> | /labs / users / environments | users | Not specified | |
367-
> | /labs / users / secrets | users | Not specified | |
368-
> | /labs / users / servicefabrics | users | Not specified | |
369-
> | /labs / users / servicefabrics / schedules | servicefabrics | Not specified | |
370-
> | /labs / virtualmachines | labs | Not specified | |
371-
> | /labs / virtualmachines/schedules | virtualmachines | Not specified | |
372-
> | /labs / virtualnetworks | labs | Not specified | |
373-
> | /schedules | resource group | Not specified | |
343+
> | labs | resource group | 1-50 | Alphanumerics, underscores, and hyphens. |
344+
> | labs / customimages | lab | 1-80 | Alphanumerics, underscores, hyphens, and parentheses. |
345+
> | labs / formulas | lab | 1-80 | Alphanumerics, underscores, hyphens, and parentheses. |
346+
> | labs / virtualmachines | lab | 1-15 (Windows), 1-64 (Linux) | Alphanumerics and hyphens.<br><br>Start and end with alphanumeric. Can't be all numbers. |
374347
375348
## Microsoft.DocumentDB
376349

377350
> [!div class="mx-tableFixed"]
378351
> | Entity | Scope | Length | Valid Characters |
379352
> | --- | --- | --- | --- |
380353
> | databaseAccounts | global | 3-31 | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
381-
> | databaseAccounts / cassandraKeyspaces | Database account | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
354+
> | databaseAccounts / cassandraKeyspaces | database account | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
382355
> | databaseAccounts / cassandraKeyspaces / tables | Cassandra keyspace | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
383-
> | databaseAccounts / gremlinDatabases | Database account | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
356+
> | databaseAccounts / gremlinDatabases | database account | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
384357
> | databaseAccounts / gremlinDatabases / graphs | Gremlin database | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
385-
> | databaseAccounts / mongodbDatabases | Database account | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
358+
> | databaseAccounts / mongodbDatabases | database account | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
386359
> | databaseAccounts / mongodbDatabases / collections | Mongodb database | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
387-
> | databaseAccounts / privateEndpointConnections | Database account | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
388-
> | databaseAccounts / sqlDatabases | Database account | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
360+
> | databaseAccounts / privateEndpointConnections | database account | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
361+
> | databaseAccounts / sqlDatabases | database account | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
389362
> | databaseAccounts / sqlDatabases / containers | SQL database | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
390-
> | databaseAccounts / sqlDatabases / containers / storedProcedures | Container | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
391-
> | databaseAccounts / sqlDatabases / containers / triggers | Container | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
392-
> | databaseAccounts / sqlDatabases / containers / userDefinedFunctions | Container | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
393-
> | databaseAccounts / tables | Database account | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
363+
> | databaseAccounts / sqlDatabases / containers / storedProcedures | container | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
364+
> | databaseAccounts / sqlDatabases / containers / triggers | container | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
365+
> | databaseAccounts / sqlDatabases / containers / userDefinedFunctions | container | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
366+
> | databaseAccounts / tables | database account | | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. |
394367
395368
## Microsoft.EventGrid
396369

397370
> [!div class="mx-tableFixed"]
398371
> | Entity | Scope | Length | Valid Characters |
399372
> | --- | --- | --- | --- |
400373
> | domains | resource group | 3-50 | Alphanumerics and hyphens. |
401-
> | domains / topics | Domain | 3-50 | Alphanumerics and hyphens. |
374+
> | domains / topics | domain | 3-50 | Alphanumerics and hyphens. |
402375
> | eventSubscriptions | resource group | 3-64 | Alphanumerics and hyphens. |
403376
> | topics | resource group | 3-50 | Alphanumerics and hyphens. |
404377
@@ -409,20 +382,18 @@ In the following tables, the term alphanumerics refers to:
409382
> | --- | --- | --- | --- |
410383
> | clusters | resource group | 6-50 | Alphanumerics and hyphens.<br><br>Start with letter. End with letter or number. |
411384
> | namespaces | global | 6-50 | Alphanumerics and hyphens.<br><br>Start with letter. End with letter or number. |
412-
> | namespaces / AuthorizationRules | Namespace | 1-50 | Alphanumerics, periods, hyphens and underscores.<br><br>Start and end with letter or number. |
413-
> | namespaces / disasterRecoveryConfigs | Namespace | 1-50 | Alphanumerics, periods, hyphens and underscores.<br><br>Start and end with letter or number. |
414-
> | namespaces / eventhubs | Namespace | 1-50 | Alphanumerics, periods, hyphens and underscores.<br><br>Start and end with letter or number. |
415-
> | namespaces / eventhubs / authorizationRules | Event Hub | 1-50 | Alphanumerics, periods, hyphens and underscores.<br><br>Start and end with letter or number. |
416-
> | namespaces / eventhubs / consumergroups | Event Hub | 1-50 | Alphanumerics, periods, hyphens and underscores.<br><br>Start and end with letter or number. |
385+
> | namespaces / AuthorizationRules | namespace | 1-50 | Alphanumerics, periods, hyphens and underscores.<br><br>Start and end with letter or number. |
386+
> | namespaces / disasterRecoveryConfigs | namespace | 1-50 | Alphanumerics, periods, hyphens and underscores.<br><br>Start and end with letter or number. |
387+
> | namespaces / eventhubs | namespace | 1-50 | Alphanumerics, periods, hyphens and underscores.<br><br>Start and end with letter or number. |
388+
> | namespaces / eventhubs / authorizationRules | event hub | 1-50 | Alphanumerics, periods, hyphens and underscores.<br><br>Start and end with letter or number. |
389+
> | namespaces / eventhubs / consumergroups | event hub | 1-50 | Alphanumerics, periods, hyphens and underscores.<br><br>Start and end with letter or number. |
417390
418391
## Microsoft.HDInsight
419392

420393
> [!div class="mx-tableFixed"]
421394
> | Entity | Scope | Length | Valid Characters |
422395
> | --- | --- | --- | --- |
423396
> | clusters | global | 3-59 | Alphanumerics and hyphens<br><br>Start and end with letter or number. |
424-
> | clusters / applications | Cluster | | |
425-
> | clusters / extensions | Cluster | | |
426397
427398
## Microsoft.ImportExport
428399

@@ -488,27 +459,26 @@ In the following tables, the term alphanumerics refers to:
488459
> | Entity | Scope | Length | Valid Characters |
489460
> | --- | --- | --- | --- |
490461
> | integrationAccounts | resource group | 1-80 | Alphanumerics, hyphens, underscores, periods, and parenthesis. |
491-
> | integrationAccounts / agreements | Integration account | Not specified | |
492-
> | integrationAccounts / assemblies | Integration account | 1-80 | Alphanumerics, hyphens, underscores, periods, and parenthesis. |
493-
> | integrationAccounts / batchConfigurations | Integration account | 1-20 | Alphanumerics. |
494-
> | integrationAccounts / certificates | Integration account | 1-80 | Alphanumerics, hyphens, underscores, periods, and parenthesis. |
495-
> | integrationAccounts / maps | Integration account | 1-80 | Alphanumerics, hyphens, underscores, periods, and parenthesis. |
496-
> | integrationAccounts / partners | Integration account | 1-80 | Alphanumerics, hyphens, underscores, periods, and parenthesis. |
497-
> | integrationAccounts / rosettanetprocessconfigurations | Integration account | 1-80 | Alphanumerics, hyphens, underscores, periods, and parenthesis. |
498-
> | integrationAccounts / schemas | Integration account | 1-80 | Alphanumerics, hyphens, underscores, periods, and parenthesis. |
499-
> | integrationAccounts / sessions | Integration account | 1-80 | Alphanumerics, hyphens, underscores, periods, and parenthesis. |
462+
> | integrationAccounts / assemblies | integration account | 1-80 | Alphanumerics, hyphens, underscores, periods, and parenthesis. |
463+
> | integrationAccounts / batchConfigurations | integration account | 1-20 | Alphanumerics. |
464+
> | integrationAccounts / certificates | integration account | 1-80 | Alphanumerics, hyphens, underscores, periods, and parenthesis. |
465+
> | integrationAccounts / maps | integration account | 1-80 | Alphanumerics, hyphens, underscores, periods, and parenthesis. |
466+
> | integrationAccounts / partners | integration account | 1-80 | Alphanumerics, hyphens, underscores, periods, and parenthesis. |
467+
> | integrationAccounts / rosettanetprocessconfigurations | integration account | 1-80 | Alphanumerics, hyphens, underscores, periods, and parenthesis. |
468+
> | integrationAccounts / schemas | integration account | 1-80 | Alphanumerics, hyphens, underscores, periods, and parenthesis. |
469+
> | integrationAccounts / sessions | integration account | 1-80 | Alphanumerics, hyphens, underscores, periods, and parenthesis. |
500470
> | integrationServiceEnvironments | resource group | 1-80 | Alphanumerics, hyphens, periods, and underscores. |
501-
> | integrationServiceEnvironments / managedApis | Integration service environment | 1-80 | Alphanumerics, hyphens, periods, and underscores. |
471+
> | integrationServiceEnvironments / managedApis | integration service environment | 1-80 | Alphanumerics, hyphens, periods, and underscores. |
502472
> | workflows | resource group | 1-80 | Alphanumerics, hyphens, underscores, periods, and parenthesis. |
503473
504474
## Microsoft.MachineLearning
505475

506476
> [!div class="mx-tableFixed"]
507477
> | Entity | Scope | Length | Valid Characters |
508478
> | --- | --- | --- | --- |
509-
> | commitmentPlans | resource group | 1-260 | Can't use these characters: `<>*%&:?+/\\`<br><br>Can't end with a space. |
510-
> | webServices | resource group | 1-260 | Can't use these characters: `<>*%&:?+/\\`<br><br>Can't end with a space. |
511-
> | workspaces | resource group | 1-260 | Can't use these characters: `<>*%&:?+/\\`<br><br>Can't end with a space. |
479+
> | commitmentPlans | resource group | 1-260 | Can't use:<br>`<>*%&:?+/\\`<br><br>Can't end with a space. |
480+
> | webServices | resource group | 1-260 | Can't use:<br>`<>*%&:?+/\\`<br><br>Can't end with a space. |
481+
> | workspaces | resource group | 1-260 | Can't use:<br>`<>*%&:?+/\\`<br><br>Can't end with a space. |
512482
513483
## Microsoft.MachineLearningServices
514484

@@ -876,15 +846,6 @@ In the following tables, the term alphanumerics refers to:
876846
> | /servers / virtualNetworkRules | servers | Not specified | |
877847
> | /servers / vulnerabilityAssessments | servers | Not specified | |
878848
879-
## Microsoft.SqlVirtualMachine
880-
881-
> [!div class="mx-tableFixed"]
882-
> | Entity | Scope | Length | Valid Characters |
883-
> | --- | --- | --- | --- |
884-
> | /sqlVirtualMachineGroups | resource group | Not specified | |
885-
> | /sqlVirtualMachineGroups / availabilityGroupListeners | sqlVirtualMachineGroups | Not specified | |
886-
> | /sqlVirtualMachines | resource group | Not specified | |
887-
888849
## Microsoft.Storage
889850

890851
> [!div class="mx-tableFixed"]
@@ -912,14 +873,7 @@ In the following tables, the term alphanumerics refers to:
912873
> [!div class="mx-tableFixed"]
913874
> | Entity | Scope | Length | Valid Characters |
914875
> | --- | --- | --- | --- |
915-
> | /managers | resource group | 2-50 | |
916-
> | /managers / accessControlRecords | managers | Not specified | |
917-
> | /managers / bandwidthSettings | managers | Not specified | |
918-
> | /managers / devices / backupPolicies | devices | Not specified | |
919-
> | /managers / devices / backupPolicies / schedules | backupPolicies | Not specified | |
920-
> | /managers / devices / volumeContainers | devices | Not specified | |
921-
> | /managers / devices / volumeContainers / volumes | volumeContainers | Not specified | |
922-
> | /managers / storageAccountCredentials | managers | Not specified | |
876+
> | managers | resource group | 2-50 | Alphanumerics and hyphens.<br><br>Start with letter. End with alphanumeric. |
923877
924878
## Microsoft.StreamAnalytics
925879

@@ -937,10 +891,10 @@ In the following tables, the term alphanumerics refers to:
937891
> [!div class="mx-tableFixed"]
938892
> | Entity | Scope | Length | Valid Characters |
939893
> | --- | --- | --- | --- |
940-
> | environments | resource group | 1-90 | Can't use `'<>%&:\?/#` |
941-
> | environments / accessPolicies | Environment | 1-90 | Can't use `'<>%&:\?/#` |
942-
> | environments / eventSources | Environment | 1-90 | Can't use `'<>%&:\?/#` |
943-
> | environments / referenceDataSets | Environment | 3-63 | Alphanumerics |
894+
> | environments | resource group | 1-90 | Can't use:<br>`'<>%&:\?/#` |
895+
> | environments / accessPolicies | Environment | 1-90 | Can't use:<br> `'<>%&:\?/#` |
896+
> | environments / eventSources | Environment | 1-90 | Can't use:<br>`'<>%&:\?/#` |
897+
> | environments / referenceDataSets | Environment | 3-63 | Alphanumerics |
944898
945899
## Microsoft.Web
946900

0 commit comments

Comments
 (0)