Skip to content

Commit acd6c6f

Browse files
committed
update
1 parent c7c271e commit acd6c6f

File tree

1 file changed

+52
-89
lines changed

1 file changed

+52
-89
lines changed

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

Lines changed: 52 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Resource naming restrictions
33
description: Shows the rules and restrictions for naming Azure resources.
44
ms.topic: conceptual
5-
ms.date: 01/14/2020
5+
ms.date: 01/15/2020
66
---
77

88
# Naming rules and restrictions for Azure resources
@@ -334,7 +334,7 @@ In the following tables, the term alphanumeric refers to:
334334
> | labs | resource group | 1-50 | Alphanumerics, underscores, and hyphens. |
335335
> | labs / customimages | lab | 1-80 | Alphanumerics, underscores, hyphens, and parentheses. |
336336
> | labs / formulas | lab | 1-80 | Alphanumerics, underscores, hyphens, and parentheses. |
337-
> | labs / virtualmachines | lab | 1-15 (Windows), 1-64 (Linux) | Alphanumerics and hyphens.<br><br>Start and end with alphanumeric. Can't be all numbers. |
337+
> | labs / virtualmachines | lab | 1-15 (Windows)<br>1-64 (Linux) | Alphanumerics and hyphens.<br><br>Start and end with alphanumeric. Can't be all numbers. |
338338
339339
## Microsoft.DocumentDB
340340

@@ -469,85 +469,49 @@ In the following tables, the term alphanumeric refers to:
469469
> [!div class="mx-tableFixed"]
470470
> | Entity | Scope | Length | Valid Characters |
471471
> | --- | --- | --- | --- |
472-
> | /applicationGateways | resource group | Not specified | |
473-
> | /ApplicationGatewayWebApplicationFirewallPolicies | resource group | Not specified | |
474-
> | /applicationSecurityGroups | resource group | Not specified | |
475-
> | /azureFirewalls | resource group | Not specified | |
476-
> | /bastionHosts | resource group | Not specified | |
477-
> | /connections | resource group | Not specified | |
478-
> | /ddosCustomPolicies | resource group | Not specified | |
479-
> | /ddosProtectionPlans | resource group | Not specified | |
480-
> | /dnsZones | resource group | Not specified | |
481-
> | /dnsZones/ | dnsZones | Not specified | |
482-
> | /expressRouteCircuits | resource group | Not specified | |
483-
> | /expressRouteCircuits / authorizations | expressRouteCircuits | Not specified | |
484-
> | /expressRouteCircuits / peerings | expressRouteCircuits | Not specified | |
485-
> | /expressRouteCircuits / peerings / connections | peerings | Not specified | |
486-
> | /expressRouteCrossConnections | resource group | Not specified | |
487-
> | /expressRouteCrossConnections / peerings | expressRouteCrossConnections | Not specified | |
488-
> | /expressRouteGateways | resource group | Not specified | |
489-
> | /expressRouteGateways / expressRouteConnections | expressRouteGateways | Not specified | |
490-
> | /ExpressRoutePorts | resource group | Not specified | |
491-
> | /firewallPolicies | resource group | Not specified | |
492-
> | /firewallPolicies / ruleGroups | firewallPolicies | Not specified | |
493-
> | /frontDoors | resource group | 5-64 | Must start with alphanumeric character<br>`^[a-zA-Z0-9]+([-a-zA-Z0-9]?[a-zA-Z0-9])*$` |
494-
> | /FrontDoorWebApplicationFirewallPolicies | resource group | Not specified | Must contain only alphanumeric characters<br>`^[a-zA-Z0-9]*$` |
495-
> | /interfaceEndpoints | resource group | Not specified | |
496-
> | /ipGroups | resource group | Not specified | |
497-
> | /loadBalancers | resource group | Not specified | |
498-
> | /loadBalancers / inboundNatRules | loadBalancers | Not specified | |
499-
> | /localNetworkGateways | resource group | Not specified | |
500-
> | /natGateways | resource group | Not specified | |
501-
> | /NetworkExperimentProfiles | resource group | Not specified | `^[a-zA-Z0-9_\-\(\)\.]*[^\.]$` |
502-
> | /NetworkExperimentProfiles / Experiments | NetworkExperimentProfiles | Not specified | `^[a-zA-Z0-9_\-\(\)\.]*[^\.]$` |
503-
> | /networkInterfaces | resource group | Not specified | |
504-
> | /networkInterfaces / tapConfigurations | networkInterfaces | Not specified | |
505-
> | /networkProfiles | resource group | Not specified | |
506-
> | /networkSecurityGroups | resource group | Not specified | |
507-
> | /networkSecurityGroups / securityRules | networkSecurityGroups | Not specified | |
508-
> | /networkWatchers | resource group | Not specified | |
509-
> | /networkWatchers / connectionMonitors | networkWatchers | Not specified | |
510-
> | /networkWatchers / packetCaptures | networkWatchers | Not specified | |
511-
> | /p2svpnGateways | resource group | Not specified | |
512-
> | /privateDnsZones | resource group | Not specified | |
513-
> | /privateDnsZones/ | privateDnsZones | Not specified | |
514-
> | /privateDnsZones / virtualNetworkLinks | privateDnsZones | Not specified | |
515-
> | /privateEndpoints | resource group | Not specified | |
516-
> | /privateLinkServices | resource group | Not specified | |
517-
> | /privateLinkServices / privateEndpointConnections | privateLinkServices | Not specified | |
518-
> | /publicIPAddresses | resource group | Not specified | |
519-
> | /publicIPPrefixes | resource group | Not specified | |
520-
> | /routeFilters | resource group | Not specified | |
521-
> | /routeFilters / routeFilterRules | routeFilters | Not specified | |
522-
> | /routeTables | resource group | Not specified | |
523-
> | /routeTables / routes | routeTables | Not specified | |
524-
> | /serviceEndpointPolicies | resource group | Not specified | |
525-
> | /serviceEndpointPolicies / serviceEndpointPolicyDefinitions | serviceEndpointPolicies | Not specified | |
526-
> | /trafficmanagerprofiles | resource group | Not specified | |
527-
> | /trafficmanagerprofiles/ | trafficmanagerprofiles | Not specified | |
528-
> | /virtualHubs | resource group | Not specified | |
529-
> | /virtualHubs / routeTables | virtualHubs | Not specified | |
530-
> | /virtualNetworkGateways | resource group | Not specified | |
531-
> | /virtualNetworks | resource group | Not specified | |
532-
> | /virtualnetworks / subnets | virtualnetworks | Not specified | |
533-
> | /virtualNetworks / virtualNetworkPeerings | virtualNetworks | Not specified | |
534-
> | /virtualNetworkTaps | resource group | Not specified | |
535-
> | /virtualRouters | resource group | Not specified | |
536-
> | /virtualRouters / peerings | virtualRouters | Not specified | |
537-
> | /virtualWans | resource group | Not specified | |
538-
> | /virtualWans / p2sVpnServerConfigurations | virtualWans | Not specified | |
539-
> | /vpnGateways | resource group | Not specified | |
540-
> | /vpnGateways / vpnConnections | vpnGateways | Not specified | |
541-
> | /vpnServerConfigurations | resource group | Not specified | |
542-
> | /vpnSites | resource group | Not specified | |
472+
> | applicationGateways | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
473+
> | applicationSecurityGroups | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
474+
> | azureFirewalls | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End with alphanumeric or underscore. |
475+
> | bastionHosts | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
476+
> | connections | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
477+
> | dnsZones | resource group | 1-63 characters<br>Must contain from 2 to 34 labels. Each label is a set of characters separated by a period. For example, "contoso.com" has 2 labels. | Alphanumerics, underscores, and hyphens. Each label must be separated by a period. |
478+
> | expressRouteCircuits | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
479+
> | firewallPolicies | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
480+
> | firewallPolicies / ruleGroups | firewall policy | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
481+
> | frontDoors | global | 5-64 | Alphanumerics and hyphens.<br><br>Start and end with alphanumeric. |
482+
> | loadBalancers | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
483+
> | loadBalancers / inboundNatRules | load balancer | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
484+
> | localNetworkGateways | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
485+
> | networkInterfaces | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
486+
> | networkSecurityGroups | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
487+
> | networkSecurityGroups / securityRules | network security group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
488+
> | networkWatchers | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
489+
> | privateDnsZones | resource group | 1-63 characters<br>Must contain from 2 to 34 labels. Each label is a set of characters separated by a period. For example, "contoso.com" has 2 labels. | Alphanumerics, underscores, and hyphens. Each label must be separated by a period. |
490+
> | privateDnsZones / virtualNetworkLinks | private DNS zone | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
491+
> | publicIPAddresses | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
492+
> | publicIPPrefixes | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
493+
> | routeFilters | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
494+
> | routeFilters / routeFilterRules | route filter | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
495+
> | routeTables | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
496+
> | routeTables / routes | route table | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
497+
> | serviceEndpointPolicies | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
498+
> | trafficmanagerprofiles | global | 1-63 | Alphanumerics, hyphens, and periods.<br><br>Start and end with alphanumeric. |
499+
> | virtualNetworkGateways | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
500+
> | virtualNetworks | resource group | 2-64 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
501+
> | virtualnetworks / subnets | virtual network | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
502+
> | virtualNetworks / virtualNetworkPeerings | virtual network | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
503+
> | virtualWans | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
504+
> | vpnGateways | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
505+
> | vpnGateways / vpnConnections | VPN gateway | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
506+
> | vpnSites | resource group | 1-80 | Alphanumerics, underscores, periods, and hyphens.<br><br>Start with alphanumeric. End alphanumeric or underscore. |
543507
544508
## Microsoft.NotificationHubs
545509

546510
> [!div class="mx-tableFixed"]
547511
> | Entity | Scope | Length | Valid Characters |
548512
> | --- | --- | --- | --- |
549513
> | namespaces | global | 6-50 | Alphanumerics and hyphens<br><br>Start and end with alphanumeric. |
550-
> | namespaces / AuthorizationRules | namespace | 1-256 | |
514+
> | namespaces / AuthorizationRules | namespace | 1-256 | Alphanumerics, periods, hyphens, and underscores.<br><br>Start alphanumeric. |
551515
> | namespaces / notificationHubs | namespace | 1-260 | Alphanumerics, periods, hyphens, and underscores.<br><br>Start alphanumeric. |
552516
> | namespaces / notificationHubs / AuthorizationRules | notification hub | 1-256 | Alphanumerics, periods, hyphens, and underscores.<br><br>Start alphanumeric. |
553517
@@ -564,7 +528,7 @@ In the following tables, the term alphanumeric refers to:
564528
> [!div class="mx-tableFixed"]
565529
> | Entity | Scope | Length | Valid Characters |
566530
> | --- | --- | --- | --- |
567-
> | workspaceCollections | region | 3-63 | name must consist only of numbers, letters, and hypens. Hypens may not appear consecutively or at the beginning of the name" |
531+
> | workspaceCollections | region | 3-63 | Alphanumerics and hyphens.<br><br>Can't start with hyphen. Can't use consecutive hyphens. |
568532
569533
## Microsoft.PowerBIDedicated
570534

@@ -598,11 +562,10 @@ In the following tables, the term alphanumeric refers to:
598562
> [!div class="mx-tableFixed"]
599563
> | Entity | Scope | Length | Valid Characters |
600564
> | --- | --- | --- | --- |
601-
> | /deployments | resource group | Not specified | |
602-
> | /deploymentScripts | resource group | 1-90 | |
603-
> | /resourcegroups | subscriptions | 1-90 | `^[-\w\._\(\)]+$` |
604-
> | /tagNames | subscriptions | Not specified | |
605-
> | /tagNames/tagValues | tagNames | Not specified | |
565+
> | deployments | resource group | 1-64 | Alphanumerics, underscores, parentheses, hyphens, and periods. |
566+
> | resourcegroups | subscription | 1-90 | Alphanumerics, underscores, parentheses, hyphens, and periods. Unicode characters that match the [regex documentation](/rest/api/resources/resourcegroups/createorupdate).<br><br>Can't end with period. |
567+
> | tagNames | resource | 1-512 | Can't use:<br>`<>%&\?/` |
568+
> | tagNames / tagValues | tag name | 1-256 | All characters. |
606569
607570
## Microsoft.ServiceBus
608571

@@ -655,9 +618,9 @@ In the following tables, the term alphanumeric refers to:
655618
> | storageAccounts | global | 3-24 | Lowercase letters and numbers. |
656619
> | storageAccounts / blobServices | storage account | | Must be `default`. |
657620
> | storageAccounts / blobServices / containers | storage account | 3-63 | Lowercase letters, numbers, and hyphens.<br><br>Start with lowercase letter or number. Can't use consecutive hyphens. |
658-
> | storageAccounts / fileServices | storageAccounts | | Must be `default`. |
621+
> | storageAccounts / fileServices | storage account | | Must be `default`. |
659622
> | storageAccounts / fileServices / shares | storage account | 3-63 | Lowercase letters, numbers, and hyphens.<br><br>Can't start or end with hyphen. Can't use consecutive hyphens. |
660-
> | storageAccounts / managementPolicies | storageAccounts | | Must be `default`. |
623+
> | storageAccounts / managementPolicies | storage account | | Must be `default`. |
661624
> | blob | container | 1-1024 | Any URL characters, case sensitive |
662625
> | queue | storage account | 3-63 | Lowercase letters, numbers, and hyphens.<br><br>Can't start or end with hyphen. Can't use consecutive hyphens. |
663626
> | table | storage account | 3-63 | Alphanumerics.<br><br>Start with letter. |
@@ -683,20 +646,20 @@ In the following tables, the term alphanumeric refers to:
683646
> | Entity | Scope | Length | Valid Characters |
684647
> | --- | --- | --- | --- |
685648
> | streamingjobs | resource group | 3-63 | Alphanumerics, hyphens, and underscores. |
686-
> | streamingjobs / functions | Streaming job | 3-63 | Alphanumerics, hyphens, and underscores. |
687-
> | streamingjobs / inputs | Streaming job | 3-63 | Alphanumerics, hyphens, and underscores. |
688-
> | streamingjobs / outputs | Streaming job | 3-63 | Alphanumerics, hyphens, and underscores. |
689-
> | streamingjobs / transformations | Streaming job | 3-63 | Alphanumerics, hyphens, and underscores. |
649+
> | streamingjobs / functions | streaming job | 3-63 | Alphanumerics, hyphens, and underscores. |
650+
> | streamingjobs / inputs | streaming job | 3-63 | Alphanumerics, hyphens, and underscores. |
651+
> | streamingjobs / outputs | streaming job | 3-63 | Alphanumerics, hyphens, and underscores. |
652+
> | streamingjobs / transformations | streaming job | 3-63 | Alphanumerics, hyphens, and underscores. |
690653
691654
## Microsoft.TimeSeriesInsights
692655

693656
> [!div class="mx-tableFixed"]
694657
> | Entity | Scope | Length | Valid Characters |
695658
> | --- | --- | --- | --- |
696659
> | environments | resource group | 1-90 | Can't use:<br>`'<>%&:\?/#` |
697-
> | environments / accessPolicies | Environment | 1-90 | Can't use:<br> `'<>%&:\?/#` |
698-
> | environments / eventSources | Environment | 1-90 | Can't use:<br>`'<>%&:\?/#` |
699-
> | environments / referenceDataSets | Environment | 3-63 | Alphanumerics |
660+
> | environments / accessPolicies | environment | 1-90 | Can't use:<br> `'<>%&:\?/#` |
661+
> | environments / eventSources | environment | 1-90 | Can't use:<br>`'<>%&:\?/#` |
662+
> | environments / referenceDataSets | environment | 3-63 | Alphanumerics |
700663
701664
## Microsoft.Web
702665

0 commit comments

Comments
 (0)