Skip to content

A repo with best practice advice on Azure naming, packaged in with terraform-compliance naming policy files 👊

License

Notifications You must be signed in to change notification settings

libre-devops/azure-naming-convention

Repository files navigation

Azure Naming Convention

Hello 👋 and welcome to an example of an Azure naming convention which follows the Recommended Microsoft abbreviations, fully implemented in terraform-compliance in the az-terraform-compliance-policy folder 😄.

This repo hosts the files needed to run a standard name and tagging policy check on your terraform code.

In the future, the project would like to host Azure policy for the same thing, as soon as they support regex 😅

If you are browsing this on the Libre DevOps website, remember to check out the master copy of the naming convention in Git

Why?

You probably found this repo looking to implement something similar for your own company, so please feel free to use this version!

Microsoft says: Accurately representing and naming your resources is essential for security purposes. If you come upon a security incident, it's critical to quickly identify affected systems, what functions those systems support, and the potential business impact. Security services such as Microsoft Defender for Cloud and Microsoft Sentinel reference resources and their associated logging and alert information by resource name.

Azure defines naming rules and restrictions for Azure resources. This guidance provides you with detailed recommendations to support enterprise cloud adoption efforts.

Changing resource names can be difficult. Establish a comprehensive naming convention before you begin any large cloud deployment.

but why terraform-compliance?

Terraform-Compliance follows a pattern of Behavior-driven Development, where tests should be written to follow a pattern at the beginning of development. In enterprise cloud, naming your resources in a consistent manner is very important for readability and auditing. This type of policy can be brought in house and tweaked for each organisation, and can be enabled in your CI/CD piepline for continuous compliance 😉.

This repo:

Things you will need

You should consult the terraform-compliance docs on how you want to deploy these files, but they can be used with remote fetching and ran locally too.

Contributing

This list is non-exhaustive, there is 100s of resources in Azure and not all will be covered, and we will be adding these as I go along. Some you may disagree with or need changing for your own org, so you are free to use this copy, clone it and change it or even fork it if you need greater customisation! If you want to add something then please see contribution guide below!

Another note, this naming convention tries to cover parts of the API which you cannot make with Terraform, so in those occurrences, terraform-compliance won't have a test for these. To save confusion and for all the ARM/Bicep/Pulumi users, we have added the resource entity API names to the naming convention so it can be clear even things which can't be controlled with terraform can have a name assigned.

To contribute to the main copy:

  • Create a branch against main or raise an issue on GitHub ❗
  • Raise a pull-request with your resources.
  • If it fits the current pattern, it will be merged 💣

Resource Name Construction

As a general rule, all names should try to exclude special characters wherever possible and only use alphanumeric.

Naming Element Description Example
Prefix The leftmost part of the name, the prefix should be the the resource identifier where assigned as a prefix, read below for more info. Should be in lower case. In some occurences, it is appropriate to use the prefix to describe the purpose of a generic resource, for example, a virtual machine, which can be either "vm" for generic, "dc" for domain controller, "web" for web server etc rg-, sa, kv-, vm-
Infix Next part of a name to the right of the prefix, the infix should be a 3 or 4 letter description of the product or service the resource belongs to. Should be in lower case. This could be a organisation tag, a project name, or anything really libredevops = ldo, hello-world = hw, foobar = foo
Outfix To the right of the infix and left of the suffix or, left of the secondary outfix if used, the outfix should be a 3 letter description of the location of the resources. Should be in lower case. When resources are "Global" the resource groups location should be used UK South = uks, UK West = ukw, West Europe = euw, West US = usw
Optional Outfix Optional - To the right of the other outfix and left of the suffix, the outfix should be a 3 letter description of an arbitary purpose of the resources, for example "mgt" for management. This should only be used where appropriate and at discretion of naming policy owner. Should be in lower case. UK South = uks, UK West = ukw, West Europe = euw, West US = usw
Suffix The rightmost part of the name, the suffix should be a 3 letter description description on the stage in which the environment is in. Should be in lower case. Proof of Concept = poc, Minimal Viable Product = mvp, Development = dev, Test = tst, User Acceptance Testing = uat, Pre-Production = ppd, Production = prd
Numbering When making a number of items, it is appropriate to apply a number pattern at the end of the suffix. This number should be padded, e.g. format("%02d", count.index + 1) 01, 10, 67, 88
Random Characters Sometimes, random characters should be used to make unique names of numberous items. These should be a random assortment of base64 characters, no more than 4 characters in length. All should be lower case. a1jd, zl0k, moe0
Full Construct Example construct of the above descriptions, using psuedocode is - ${prefix}-${infix}-${outfix}-${suffix}, when numbering is applied, it is ${prefix}-${infix}-${outfix}-${suffix}-${numbering}. In some cases, the names will not container dashes to seperate the construct, for example, storage accounts, this will be reflected in the naming convention and policy files, but as pseducode, will appear as ${prefix}${infix}${outfix}${suffix}${numbering} rg-ldo-uks-prd, kv-foo-eus-dev-01, sabarwuspoc01

Approved Optional Naming

The table below contains information about additional naming considerations

Other Names Description Example
VM purposes - Used for when VMs are named via purpose app,dbs,web,vm webldouksprd01
VM OS Type - Used for when VMs are named via OS lnx,win rh8,deb,ubu,sus webldouksprd01
Environment Stages - Used for deciding what stages an environment can be in poc,mvp,dev,tst,stg,uat,ppd,prd appprduksprd01
Management Outfix - Used to describe a resource which belongs to the admins of the tenant mgt rg-crg-ukw-ppd-mgt

Azurerm Resource list

Below here is a table which sets out naming for all resources listed by Microsoft’s guidance to date. Pseudocode is used in this table where names are represented with ${} describing a value which is not an explict string, so watch out for those. These can sometimes be things descriptors such as the optional outfix or to give flexibility in naming things more appropriately than strict numbering. Another note is regarding resource limit, we have attempted to migrate all data from Microsoft's guide into a single table, but its worth checking out the Microsoft version too, there is a copy of it here.

Asset type Resource provider namespace/Entity Abbreviation Prefix, Infix, Outfix or Suffix Entropy, Numbering or None Length Limit (Min-Max) Construct Example
Analysis Services Server Microsoft.AnalysisServices/servers as- prefix numbering 3-63 as-${infix}-${outfix}-${suffix}-${numbering} as-ldo-uks-prd-01
API Management Microsoft.ApiManagement/service apim- prefix numbering 1-50 apim-${infix}-${outfix}-${suffix}-${numbering} apim-ldo-ukw-dev-04
API Management API Microsoft.ApiManagement/service/apis api- prefix none 1-80 api-${api_name} api-GetNewToken
API Management API Issue Microsoft.ApiManagement/service/apis/issues apii- prefix none 1-80 apii-${api_name} apii-DeleteEntry
API Management API Issue Attachment Microsoft.ApiManagement/service/apis/issues/attachments apiia- prefix none 1-80 appia-${attachment} apiia-Attachment
API Management API Issue Comment Microsoft.ApiManagement/service/apis/issues/comments apiic- prefix none 1-80 apiic-${api_name} apiic-NewComment
API Management API Operation Microsoft.ApiManagement/service/apis/operations apio- prefix none 1-80 apio-${operation_id} apio-user-elete
API Management API Operation Tag Microsoft.ApiManagement/service/apis/operations/tags apiot- prefix none 1-80 apiot-${tag_name} apiot-example-tag
API Management API Release Microsoft.ApiManagement/service/apis/releases apir- prefix none 1-80 apir-${api_release_name} apir-prod-api-release
API Management API Schema Microsoft.ApiManagement/service/apis/schemas apis- prefix none 1-80 apis-${schema_id} apis-prod-schema
API Management API Tag Microsoft.ApiManagement/service/apis/tags apitg- prefix none 1-80 apitg-${tag_name} apitg-example-tag
API Management API Version Set Microsoft.ApiManagement/service/api-version-sets apivs- prefix none 1-80 apivs-${api_name}-${version} apivs-myapi-1.0.0
API Management Authorization Server Microsoft.ApiManagement/service/authorizationServers apias- prefix none 1-80 apias-${api_name} apias-myapi
API Management Backend Microsoft.ApiManagement/service/backends apib- prefix numbering 1-80 apib-${backend_app_name} apib-app-ldo-uks-prd-01
API Management Certificate Microsoft.ApiManagement/service/certificates apic- prefix none 1-80 apic-${cert_name} apic-prod-libredevops-dot-org
API Management Diagnostic Microsoft.ApiManagement/service/diagnostics apid- prefix none 1-80 apid-${logger_name}-${diagnostic_name} apid-apimlogger-trace
API Management Group Microsoft.ApiManagement/service/groups apig- prefix none 1-80 apig-${group_name} apig-admins
API Management User Microsoft.ApiManagement/service/groups/users apigu- prefix none 1-80 apigu-${user_name} apigu-admin
API Management Identity Provider Microsoft.ApiManagement/service/identityProviders apiip- prefix none 1-80 apiip-${id_provider} apiip-twitter
API Management Logger Microsoft.ApiManagement/service/loggers apil- prefix none 1-80 apil-${app_insights_name} apil-appi-ldo-euw-tst-01
API Management Notification Microsoft.ApiManagement/service/notifications apin- prefix none 1-80 apin-${notifcation_type} apin-account-closed-publisher
API Management Recipient Email Microsoft.ApiManagement/service/notifications/recipientEmails apirem- prefix none 1-80 apirem-${email_group_name} apirem-admin-group
API Management OpenID Connect Provider Microsoft.ApiManagement/service/openidConnectProviders apioi- prefix none 1-80 apioi-${oidc_provider_name} apioi-example-provider
API Management Policy Microsoft.ApiManagement/service/policies apipo- prefix none 1-80 apioo-${policy_name} apioo-find-replace
API Management Product Microsoft.ApiManagement/service/products apipr- prefix none 1-80 apipr-${product_name} apipr-example-product
API Management Product API Microsoft.ApiManagement/service/products/apis api- prefix none 1-80 api-${ap_name} api-example-api-product
API Management Product Group Microsoft.ApiManagement/service/products/groups apigrp- prefix none 1-80 apigrp-${group_name} apigrp-admin
API Management Product Tag Microsoft.ApiManagement/service/products/tags apitag- prefix none 1-80 apitag-${tag_name} apitag-example-tag
API Management Property Microsoft.ApiManagement/service/properties apiprop- prefix none 1-80 apiprop-${property_name} apiprop-example-property
API Management Subscription Microsoft.ApiManagement/service/subscriptions apisub- prefix none 1-80 apisub-${subscription_name} apisub-my-api
API Management Tag Microsoft.ApiManagement/service/tags apitag- prefix none 1-80 apitag-${tag_name} apitag-example-tag
API Management Template Microsoft.ApiManagement/service/templates apitmpl- prefix none 1-80 apitmpl-${template_name} apitmpl-confirm-user-sign-up
API Management User Microsoft.ApiManagement/service/users apiuser- prefix none 1-80 apiuser-${user_name} apiuser-admin
App Configuration - Configuration Store Microsoft.AppConfiguration/configurationStores appcs- prefix numbering 5-50 appcs-${infix}-${outfix}-${suffix}-${numbering} appcs-ldo-uks-prd-01
Lock Microsoft.Authorization/locks lock- prefix none 1-90 lock-${lock_name} lock-can-not-delete
Policy Assignment Microsoft.Authorization/policyAssignments pa- prefix none 1-24 pa-${policy_assignment_name} pa-deploy-to-uk-south-only
Policy Definition Microsoft.Authorization/policyDefinitions pd- prefix none 1-64 policy-${policy_definition_name} policy-prd-user-policy
Policy Set Definition Microsoft.Authorization/policySetDefinitions psd- prefix none 1-24 ${policy_set_definition_name} psd-libredevops-dot-org
Automation Account Microsoft.Automation/automationAccounts aa- prefix numbering 6-50 aa-${infix}-${outfix}-${suffix}-${numbering} aa-ldo-uks-prd-01
Automation Account Certificate Microsoft.Automation/automationAccounts/certificates cert- prefix none 1-128 cert-${aa_name} cert-aa-ldo-uks-prd-01
Automation Account Connection Microsoft.Automation/automationAccounts/connections conn- prefix none 1-128 conn-${aa_name} conn-aa-ldo-uks-prd-01
Automation Account Credential Microsoft.Automation/automationAccounts/credentials cred- prefix none 1-128 cred-${aa_name} cred-aa-ldo-uks-prd-01
Automation Account Runbook Microsoft.Automation/automationAccounts/runbooks runbk- prefix none 1-63 runbk-${aa_name}- create-aa-ldo-uks-prd-01--new-vm-runbk
Automation Account Schedule Microsoft.Automation/automationAccounts/schedules sched- prefix none 1-128 sched-${aa_name} sched-mon-fri-vm-turnoff
Automation Account Variable Microsoft.Automation/automationAccounts/variables var- prefix none 1-128 var-${aa_name} var-aa-ldo-uks-prd-01-admin-password
Automation Account Watcher Microsoft.Automation/automationAccounts/watchers watch- prefix none 1-63 watch-${aa_name} watch-aa-ldo-uks-prd-01-vmcrguksmvp04
Automation Account Webhook Microsoft.Automation/automationAccounts/webhooks wbhk- prefix none 1-128 wbhk-${aa_name} wbhk-aa-ldo-uks-prd-01
Batch Account Microsoft.Batch/batchAccounts ba- prefix numbering 3-24 ba-${infix}-${outfix}-${suffix}-${numbering} ba-ldo-uks-prd-01
Batch Account Application Microsoft.Batch/batchAccounts/applications baapp- prefix none 1-64 baapp-${infix}-${outfix}-${suffix} baapp-ldo-uks-prd
Batch Account Certificate Microsoft.Batch/batchAccounts/certificates bacert- prefix none 5-45 bacert-${infix}-${outfix}-${suffix} bacert-ldo-uks-prd
Batch Account Pool Microsoft.Batch/batchAccounts/pools bapool- prefix none 1-64 bapool-${infix}-${outfix}-${suffix} bapool-ldo-uks-prd
Blockchain Member Microsoft.Blockchain/blockchainMembers blchm- prefix none 2-20 blchm-${infix}-${outfix}-${suffix} blchm-ldo-uks-prd
Blueprint Assignment Microsoft.Blueprint/blueprintAssignments bpa- prefix none 90 bpa-${infix}-${outfix}-${suffix} bpa-ldo-ukw-prd
Blueprint Microsoft.Blueprint/blueprints bp- prefix none 90 bp-${infix}-${outfix}-${suffix} bp-crg-uks-dev
Blueprint Artifact Microsoft.Blueprint/blueprints/artifacts bpaa- prefix none 90 bpaa-${infix}-${outfix}-${suffix}-${numbering} bpa-ldo-uks-prd-01
Blueprint Version Microsoft.Blueprint/blueprints/versions bpv- prefix numbering 90 ${bp_name}-bpv-${numbering} bp-ldo-uks-prd-bpv-v1.0
Bot Service Microsoft.BotService/botServices botsvc- prefix none 2-64 botsvc-${infix}-${outfix}-${suffix}-${numbering} botsvc-ldo-uks-prd-01
Bot Service Channel Microsoft.BotService/botServices/channels chan- prefix none 2-64 chan-${bot_service_name} chan-botsvc-ldo-uks-prd-01
Bot Service Connection Microsoft.BotService/botServices/Connections conn- prefix none 2-64 conn-${bot_service_name} conn-botsvc-ldo-uks-prd-01
Bot Service Enterprise Channel Microsoft.BotService/enterpriseChannels echan- prefix none 2-64 echan-${bot_service_name} echan-botsvc-ldo-uks-prd-01
Redis Cache Microsoft.Cache/Redis redis- prefix none 1-63 redis-${infix}-${outfix}-${suffix}-${numbering} redis-ldo-uks-prd-01
Redis Cache Firewall Rule Microsoft.Cache/Redis/firewallRules rule- prefix none 1-256 rule-${redis_name}-${rule-description} rule-redis-ldo-uks-prd-01-allow-443-inbound
CDN Profile Microsoft.Cdn/profiles cdnp- prefix none 1-260 cdnp-${infix}-${outfix}-${suffix}-${numbering} cdnp-pproj-ukw-dev-01
CDN Profile Endpoint Microsoft.Cdn/profiles/endpoints cdne- prefix none 1-50 cdne-${infix}-${outfix}-${suffix}-${numbering} cdne-ldo-uks-prd-01
Certificate Registration Order Microsoft.CertificateRegistration/certificateOrders cerco- prefix none 3-30 cerco-${infix}-${outfix}-${suffix}-${numbering} cerco-ldo-uks-prd-01
Cognitive Services Account Microsoft.CognitiveServices/accounts cog- prefix none 2-64 cog-${infix}-${outfix}-${suffix}-${numbering} cog-ldo-uks-prd-01
Availability Set Microsoft.Compute/availabilitySets avail- prefix none 1-80 avail-${infix}-${outfix}-${suffix}-${numbering} avail-web-ldo-uks-prd-01
Cloud Service Microsoft.Compute/cloudServices cld- prefix none 1-15 cld${infix}${outfix}${suffix}${numbering} cldldouksprd01
Disk Encryption Set Microsoft.Compute/diskEncryptionSets des- prefix numbering 1-80 des-${infix}-${outfix}-${suffix}-${numbering} des-ldo-uks-prd-01
Disk Microsoft.Compute/disks datadisk- prefix numbering 1-80 datadisk${numbering}-${vm_name} datadisk01-dcldoeus2ppd01
Disk Microsoft.Compute/disks osdisk- prefix none 1-80 osdisk${numbering}-${vm_name} osdisk01-webldoeus2ppd01
Snapshot Microsoft.Compute/snapshots snap- prefix none 1-80 snap${numbering}-${vm_name} snap-webldoeus2ppd01
Compute Gallery Microsoft.Compute/galleries gal- prefix numbering 1-80 gal-${infix}-${outfix}-${suffix}-${numbering} gal-ldo-uks-prd-01
Compute Gallery Application Microsoft.Compute/galleries/applications galapp- prefix numbering 1-80 galapp-${infix}-${outfix}-${suffix}-${numbering} galapp-ldo-uks-prd-01
Compute Gallery Image Microsoft.Compute/galleries/images galimg- prefix numbering 1-80 galimg-${infix}-${outfix}-${suffix}-${numbering} galimg-ldo-uks-prd-01
Image Microsoft.Compute/images img- prefix numbering 1-80 img-${infix}-${outfix}-${suffix}-${numbering} img-ldo-uks-prd-01
Virtual Machine (Windows) Microsoft.Compute/virtualMachines vm prefix numbering 1-15 ${vm_purpose}${infix}${outfix}${suffix}${numbering} appldouksprd01
Virtual Machine Scale Set (Windows) Microsoft.Compute/virtualMachineScaleSets vmss prefix numbering 1-15 vmss${infix}${outfix}${suffix}${numbering} vmssldouksprd01
Virtual Machine (Linux) Microsoft.Compute/virtualMachines vm prefix numbering 1-64 ${vm_purpose}${infix}${outfix}${suffix}${numbering} dbsldouksprd01
Virtual Machine Scale Set (Linux) Microsoft.Compute/virtualMachineScaleSets vmss prefix numbering 1-64 vmss${infix}${outfix}${suffix}${numbering} vmssldouksprd01
Communication Service Microsoft.Communication coms- prefix numbering 1-63 coms-${infix}-${outfix}-${suffix}-${numbering} coms-ldo-uks-prd-01
Consumption Budget Microsoft.Consumption conbudg- prefix numbering 1-63 conbudg-${infix}-${outfix}-${suffix}-${numbering} conbudg-ldo-uks-prd-01
Container Instance Group Microsoft.ContainerInstance/containerGroups ci- prefix numbering 1-63 ci-${infix}-${outfix}-${suffix}-${numbering} ci-crg-ukw-uat-01
Container Registry Microsoft.ContainerRegistry/registries cr- prefix numbering 5-50 cr-${infix}-${outfix}-${suffix}-${numbering} cr-ldo-uks-prd-01
Container Registry Build Task Microsoft.ContainerRegistry/registries/buildTasks btsks- prefix numbering 5-50 btsks-${infix}-${outfix}-${suffix}-${numbering} btsks-ldo-uks-prd-01
Container Registry Build Task Step Microsoft.ContainerRegistry/registries/buildTasks/steps steps- prefix numbering 5-50 steps-${infix}-${outfix}-${suffix}-${numbering} steps-ldo-uks-prd-01
Container Registry Replication Microsoft.ContainerRegistry/registries/replications rep- prefix numbering 5-50 rep-${infix}-${outfix}-${suffix}-${numbering} rep-ldo-uks-prd-01
Container Registry Scope Map Microsoft.ContainerRegistry/registries/scopeMaps scmap- prefix numbering 5-50 scmap-${infix}-${outfix}-${suffix}-${numbering} scmap-ldo-uks-prd-01
Container Registry Task Microsoft.ContainerRegistry/registries/tasks tasks- prefix numbering 5-50 tasks-${infix}-${outfix}-${suffix}-${numbering} tasks-ldo-uks-prd-01
Container Registry Token Microsoft.ContainerRegistry/registries/tokens tokn- prefix numbering 5-50 tokn-${infix}-${outfix}-${suffix}-${numbering} tokn-ldo-uks-prd-01
Container Registry Webhook Microsoft.ContainerRegistry/registries/webhooks webhk- prefix numbering 5-50 webhk-${infix}-${outfix}-${suffix}-${numbering} webhk-ldo-uks-prd-01
Container Service Managed Cluster Microsoft.ContainerService/managedClusters aks- prefix numbering 1-63 aks${infix}-${outfix}-${suffix}-${numbering} aks-ldo-uks-prd-01
Container Service Open Shift Managed Cluster Microsoft.ContainerServiceopenShiftManagedClusters oc- prefix numbering 1-30 oc-${infix}-${outfix}-${suffix}-${numbering} oc-ldo-uks-prd-01
Customer Insight Microsoft.CustomerInsights/hubs cihub- prefix numbering 1-64 cihub-${infix}-${outfix}-${suffix}-${numbering} cihub-ldo-uks-prd-01
Customer Insight Authorization Policy Microsoft.CustomerInsights/hubs/authorizationPolicies authp- prefix numbering 1-50 authp-${infix}-${outfix}-${suffix}-${numbering} authp-ldo-uks-prd-01
Customer Insight Connector Microsoft.CustomerInsights/hubs/connectors conn- prefix numbering 1-128 conn-${infix}-${outfix}-${suffix}-${numbering} conn-ldo-uks-prd-01
Customer Insight Connector Mapping Microsoft.CustomerInsights/hubs/connectors/mappings map- prefix numbering 1-128 map-${infix}-${outfix}-${suffix}-${numbering} map-ldo-uks-prd-01
Customer Insight Interaction Microsoft.CustomerInsights/hubs/interactions int- prefix numbering 1-128 int-${infix}-${outfix}-${suffix}-${numbering} int-ldo-uks-prd-01
Customer Insight KPI Microsoft.CustomerInsights/hubs/kpi kpi- prefix numbering 1-512 kpi-${infix}-${outfix}-${suffix}-${numbering} kpi-ldo-uks-prd-01
Customer Insight Link Microsoft.CustomerInsights/hubs/links link- prefix numbering 1-512 link-${infix}-${outfix}-${suffix}-${numbering} link-ldo-uks-prd-01
Customer Insight Prediction Microsoft.CustomerInsights/hubs/predictions pred- prefix numbering 1-512 pred-${infix}-${outfix}-${suffix}-${numbering} pred-ldo-uks-prd-01
Customer Insight Profile Microsoft.CustomerInsights/hubs/profiles prof- prefix numbering 1-128 prof-${infix}-${outfix}-${suffix}-${numbering} prof-ldo-uks-prd-01
Customer Insight Relationship Link Microsoft.CustomerInsights/hubs/relationshipLinks rlink- prefix numbering 1-512 rlink-${infix}-${outfix}-${suffix}-${numbering} rlink-ldo-uks-prd-01
Customer Insight Relationship Microsoft.CustomerInsights/hubs/relationships rel- prefix numbering 1-512 rel-${infix}-${outfix}-${suffix}-${numbering} rel-ldo-uks-prd-01
Customer Insight Role Assignment Microsoft.CustomerInsights/hubs/roleAssignments role- prefix numbering 1-128 role-${infix}-${outfix}-${suffix}-${numbering} role-ldo-uks-prd-01
Customer Insight View Microsoft.CustomerInsights/hubs/views views- prefix numbering 1-512 views-${infix}-${outfix}-${suffix}-${numbering} views-ldo-uks-prd-01
Custom Provider Association Microsoft.CustomProviders/associations cpass- prefix numbering 1-180 cpass-${infix}-${outfix}-${suffix}-${numbering} cpass-ldo-uks-prd-01
Custom Provider Resource Provider Microsoft.CustomProviders/resourceProviders cprep- prefix numbering 3-64 cprep-${infix}-${outfix}-${suffix}-${numbering} cprep-ldo-uks-prd-01
Data Box Job Microsoft.DataBox/jobs dbjob- prefix numbering 3-24 dbjob-${infix}-${outfix}-${suffix}-${numbering} dbjob-ldo-uks-prd-01
Databricks Workspae Microsoft.Databricks/workspaces dbw- prefix numbering 3-64 dbw-${infix}-${outfix}-${suffix}-${numbering} dbw-ldo-uks-prd-01
Data Factory Microsoft.DataFactory/factories adf- prefix numbering 3-63 adf-${infix}-${outfix}-${suffix}-${numbering} adf-ldo-uks-prd-01
Data Factory Data Flow Microsoft.DataFactory/factories/dataflows flows- prefix numbering 1-260 flows-${infix}-${outfix}-${suffix}-${numbering} flows-ldo-uks-prd-01
Data Factory Data Set Microsoft.DataFactory/factories/datasets dsets- prefix numbering 1-260 dsets-${infix}-${outfix}-${suffix}-${numbering} dsets-ldo-uks-prd-01
Data Factory Integration Runtime Microsoft.DataFactory/factories/integrationRuntimes run- prefix numbering 3-63 run-${infix}-${outfix}-${suffix}-${numbering} run-ldo-uks-prd-01
Data Factory Linked Service Microsoft.DataFactory/factories/linkedservices lksvc- prefix numbering 1-260 lsvc-${infix}-${outfix}-${suffix}-${numbering} lksvc-ldo-uks-prd-01
Data Factory Pipeline Microsoft.DataFactory/factories/pipelines pipe- prefix numbering 1-260 pipe-${infix}-${outfix}-${suffix}-${numbering} pipe-ldo-uks-prd-01
Data Factory Trigger Microsoft.DataFactory/factories/triggers trig- prefix numbering 1-260 trig-${infix}-${outfix}-${suffix}-${numbering} trig-ldo-uks-prd-01
Data Factory Rerun Trigger Microsoft.DataFactory/factories/triggers/rerunTriggers rerun- prefix numbering 1-260 rerun-${infix}-${outfix}-${suffix}-${numbering} rerun-ldo-uks-prd-01
Data Lake Analytics Account Microsoft.DataLakeAnalytics/accounts dla- prefix numbering 3-24 dla-${infix}-${outfix}-${suffix}-${numbering} dla-ldo-uks-prd-01
Data Lake Analytics Compute Policy Microsoft.DataLakeAnalytics/accounts/computePolicies cmpol- prefix numbering 3-60 cmpol-${infix}-${outfix}-${suffix}-${numbering} cmpol-ldo-uks-prd-01
Data Lake Analytics Store Account Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts dls- prefix numbering 3-24 dls-${infix}-${outfix}-${suffix}-${numbering} dls-ldo-uks-prd-01
Data Lake Analytics Firewall Rule Microsoft.DataLakeAnalytics/accounts/firewallRules fwrule- prefix numbering 3-50 fwrul-${infix}-${outfix}-${suffix}-${numbering} fwrule-ldo-uks-prd-01
Data Lake Analytics Storage Account Microsoft.DataLakeAnalytics/accounts/storageAccounts dlsa- prefix numbering 3-60 dlsa-${infix}-${outfix}-${suffix}-${numbering} dlsa-ldo-uks-prd-01
Data Lake Store Account Microsoft.DataLakeStore/accounts dls- prefix numbering 3-24 dls-${infix}-${outfix}-${suffix}-${numbering} dlsa-ldo-uks-prd-01
Data Lake Store Firewall Rule Microsoft.DataLakeStore/accounts/firewallRules fwrule- prefix numbering 3-50 fwrule-${infix}-${outfix}-${suffix}-${numbering} fwrule-ldo-uks-prd-01
Data Lake Store Virtual Network Rule Microsoft.DataLakeStore/accounts/virtualNetworkRules vnetrule- prefix numbering 3-50 vnetrule-${infix}-${outfix}-${suffix}-${numbering} vnetrule-ldo-uks-prd-01
Data Migration Microsoft.DataMigration/services dms- prefix numbering 2-62 dms-${infix}-${outfix}-${suffix}-${numbering} dms-ldo-uks-prd-01
Data Migration Project Microsoft.DataMigration/services/projects migr- prefix numbering 2-57 migr-${infix}-${outfix}-${suffix}-${numbering} migr-ldo-uks-prd-01
DB for Maria DB Server Microsoft.DBforMariaDB/servers mdb- prefix numbering 3-63 mdb-${infix}-${outfix}-${suffix}-${numbering} mdb-ldo-uks-prd-01
DB for Maria DB Database Microsoft.DBforMariaDB/servers/databases mdbdb- prefix numbering 1-63 mbdb-${infix}-${outfix}-${suffix}-${numbering} mbdb-ldo-uks-prd-01
DB for Maria DB Firewall Rule Microsoft.DBforMariaDB/servers/firewallRules fwrule- prefix numbering 1-128 fwrul-${infix}-${outfix}-${suffix}-${numbering} fwrul-ldo-uks-prd-01
DB for Maria DB Virtual Network Rule Microsoft.DBforMariaDB/servers/virtualNetworkRules vnetrule- prefix numbering 1-128 vnetrule-${infix}-${outfix}-${suffix}-${numbering} vnetrule-ldo-uks-prd-01
DB for MySQL Server Microsoft.DBforMySQL/servers mysql- prefix numbering 3-63 mysql-${infix}-${outfix}-${suffix}-${numbering} mysql-ldo-uks-prd-01
DB for MySQL Database Microsoft.DBforMySQL/servers/databases mysqldb- prefix numbering 1-63 mysqldb-${infix}-${outfix}-${suffix}-${numbering} db-ldo-uks-prd-01
DB for MySQL Firewall Rule Microsoft.DBforMySQL/servers/firewallRules fwrule- prefix numbering 1-128 fwrule-${infix}-${outfix}-${suffix}-${numbering} fwrule-ldo-uks-prd-01
DB for MySQL Virtual Network Rule Microsoft.DBforMySQL/servers/virtualNetworkRules vnetrule- prefix numbering 1-128 vnetrule-${infix}-${outfix}-${suffix}-${numbering} vrul-ldo-uks-prd-01
DB for Postgre SQL Server Microsoft.DBforPostgreSQL/servers psql- prefix numbering 3-63 psql-${infix}-${outfix}-${suffix}-${numbering} psql-ldo-uks-prd-01
DB for Postgre SQL Database Microsoft.DBforPostgreSQL/servers/databases psqldb- prefix numbering 1-63 pssql-${infix}-${outfix}-${suffix}-${numbering} db-ldo-uks-prd-01
DB for Postgre SQL Firewall Rule Microsoft.DBforPostgreSQL/servers/firewallRules fwrule- prefix numbering 1-128 fwrule-${infix}-${outfix}-${suffix}-${numbering} fwrule-ldo-uks-prd-01
DB for Postgre SQL Virtual Network Rule Microsoft.DBforPostgreSQL/servers/virtualNetworkRules vnetrule- prefix numbering 1-128 vnetrule-${infix}-${outfix}-${suffix}-${numbering} vnetrule-ldo-uks-prd-01
IoT Hub Microsoft.Devices/IotHubs iot- prefix numbering 3-50 iot-${infix}-${outfix}-${suffix}-${numbering} iot-ldo-uks-prd-01
IoT Central Application Microsoft.IoTCentral/IoTApps iotapp- prefix numbering 2-63 iotapp-${infix}-${outfix}-${suffix}-${numbering} iotapp-ldo-uks-prd-01
IoT Hub Certificate Microsoft.Devices/IotHubs/certificates cert- prefix numbering 1-64 cert-${infix}-${outfix}-${suffix}-${numbering} cert-ldo-uks-prd-01
IoT Hub Consumer Group Microsoft.Devices/IotHubs/eventHubEndpoints/ConsumerGroups congp- prefix numbering 1-50 congp-${infix}-${outfix}-${suffix}-${numbering} congp-ldo-uks-prd-01
Device Provisioning Service Microsoft.Devices/provisioningServices provs- prefix numbering 3-64 provs-${infix}-${outfix}-${suffix}-${numbering} provs-ldo-uks-prd-01
Device Provisioning Service Certificate Microsoft.Devices/provisioningServices/certificates pcert- prefix numbering 1-64 pcert-${infix}-${outfix}-${suffix}-${numbering} pcert-ldo-uks-prd-01
Dev Test Lab Microsoft.DevTestLab/labs dtlab- prefix numbering 1-50 dtlab-${infix}-${outfix}-${suffix}-${numbering} dtlab-ldo-uks-prd-01
Dev Test Lab Custom Image Microsoft.DevTestLab/labs/customimages dtimg- prefix numbering 1-80 dtimg-${infix}-${outfix}-${suffix}-${numbering} img-ldo-uks-prd-01
Dev Test Lab Formula Microsoft.DevTestLab/labs/formulas dtform- prefix numbering 1-80 dtform-${infix}-${outfix}-${suffix}-${numbering} form-ldo-uks-prd-01
Dev Test Lab Virtual Machine (Windows) Microsoft.DevTestLab/labs/virtualmachines vm prefix numbering 1-15 vm${infix}${outfix}${suffix}${numbering} vmldouksprd01
Dev Test Lab Virtual Machine (Linux) Microsoft.DevTestLab/labs/virtualmachines vm prefix numbering 1-64 vm${infix}${outfix}${suffix}${numbering} vmldouksprd01
Document DB Account Microsoft.DocumentDB/databaseAccounts dbact- prefix numbering 3-44 dbact-${infix}-${outfix}-${suffix}-${numbering} dbact-ldo-uks-prd-01
Document DB SQL Database Microsoft.DocumentDB/databaseAccounts/sqlDatabases cosmos- prefix numbering 3-44 cosmos-${infix}-${outfix}-${suffix}-${numbering} cosmos-ldo-uks-prd-01
Event Grid Domain Microsoft.EventGrid/domains evgd- prefix numbering 3-50 evgd-${infix}-${outfix}-${suffix}-${numbering} evgd-ldo-uks-prd-01
Event Grid Domain Topic Microsoft.EventGrid/domains/topics evgt- prefix numbering 3-50 evgdt-${infix}-${outfix}-${suffix}-${numbering} evgdt-ldo-uks-prd-01
Event Grid Event Subscription Microsoft.EventGrid/eventSubscriptions evgs- prefix numbering 3-64 evgs-${infix}-${outfix}-${suffix}-${numbering} evgs-ldo-uks-prd-01
Event Grid Topic Microsoft.EventGrid/topics evgt- prefix numbering 3-50 evgt-${infix}-${outfix}-${suffix}-${numbering} evgt-ldo-uks-prd-01
Event Hub Cluster Microsoft.EventHub/clusters evhcl- prefix numbering 6-50 evhcl-${infix}-${outfix}-${suffix}-${numbering} evhcl-ldo-uks-prd-01
Event Hub Namespace Microsoft.EventHub/namespaces evhns- prefix numbering 6-50 evhns-${infix}-${outfix}-${suffix}-${numbering} evhns-ldo-uks-prd-01
Event Hub Namespace Authorization Rule Microsoft.EventHub/namespaces/AuthorizationRules rule- prefix numbering 1-50 rule-${infix}-${outfix}-${suffix}-${numbering} rule-ldo-uks-prd-01
Event Hub Namespace Disaster Recovery Config Microsoft.EventHub/namespaces/disasterRecoveryConfigs drcfg- prefix numbering 6-50 drcfg-${infix}-${outfix}-${suffix}-${numbering} drcfg-ldo-uks-prd-01
Event Hub Namespace Event Hub Microsoft.EventHub/namespaces/eventhubs evh- prefix numbering 1-256 evh-${infix}-${outfix}-${suffix}-${numbering} evhns-ldo-uks-prd-01
Event Hub Namespace Event Hub Authorization Rule Microsoft.EventHub/namespaces/eventhubs/authorizationRules rule- prefix numbering 1-50 rule-${infix}-${outfix}-${suffix}-${numbering} rule-ldo-uks-prd-01
Event Hub Namespace Event Hub Consumer Group Microsoft.EventHub/namespaces/eventhubs/consumergroups cgrp- prefix numbering 1-50 cgrp-${infix}-${outfix}-${suffix}-${numbering} cgrp-ldo-uks-prd-01
HD Insight Cluster (Hadoop) Microsoft.HDInsight/clusters hadoop- prefix numbering 3-59 hadoop-${infix}-${outfix}-${suffix}-${numbering} hadoop-ldo-uks-prd-01
HD Insight Cluster (HBase) Microsoft.HDInsight/clusters hbase- prefix numbering 3-59 hbase-${infix}-${outfix}-${suffix}-${numbering} hbase-ldo-uks-prd-01
HD Insight Cluster (Kafka) Microsoft.HDInsight/clusters kafka- prefix numbering 3-59 kafka-${infix}-${outfix}-${suffix}-${numbering} kafka-ldo-uks-prd-01
HD Insight Cluster (Spark) Microsoft.HDInsight/clusters spark- prefix numbering 3-59 spark-${infix}-${outfix}-${suffix}-${numbering} spark-ldo-uks-prd-01
HD Insight Cluster (Storm) Microsoft.HDInsight/clusters storm- prefix numbering 3-59 storm-${infix}-${outfix}-${suffix}-${numbering} storm-ldo-uks-prd-01
HD Insight Cluster (ML Services) Microsoft.HDInsight/clusters mls- prefix numbering 3-59 mls-${infix}-${outfix}-${suffix}-${numbering} mls-ldo-uks-prd-01
Hybrid Compute Machine Microsoft.HybridCompute/machines arcs- prefix numbering 3-24 arcs-${infix}-${outfix}-${suffix}-${numbering} arcs-ldo-uks-prd-01
Import Export Job Microsoft.ImportExport/jobs iejob- prefix numbering 2-64 iejob-${infix}-${outfix}-${suffix}-${numbering} iejob-ldo-uks-prd-01
Insights Action Group Microsoft.Insights/actionGroups ag- prefix numbering 1-260 ag-${infix}-${outfix}-${suffix}-${numbering} ag-ldo-uks-prd-01
Insignts Activity Log Alert Microsoft.Insights/activityLogAlerts ala- prefix numbering 1-260 ala-${infix}-${outfix}-${suffix}-${numbering} ala-ldo-uks-prd-01
Insights Component Microsoft.Insights/components appi- prefix numbering 1-260 appi-${infix}-${outfix}-${suffix}-${numbering} appi-ldo-uks-prd-01
Diagostic Setting Microsoft.Insights/diagnosticSettings diag- prefix none 1-260 diag-${resource_name} diag-vmcrgusepoc01
Insights Metric Alert Microsoft.Insights/metricAlerts ma- prefix numbering 1-260 ma-${infix}-${outfix}-${suffix}-${numbering} ma-ldo-uks-prd-01
Insights Scheduled Query Rules Microsoft.Insights/scheduledQueryRules sqr- prefix numbering 1-260 sqr-${infix}-${outfix}-${suffix}-${numbering} sqr-ldo-uks-prd-01
Key Vault Microsoft.KeyVault/vaults kv- prefix numbering 3-24 kv-${infix}-${outfix}-${suffix}-${numbering} kv-ldo-uks-prd-01
Kubernetes Connected Cluster Microsoft.Kubernetes/connectedClusters arck- prefix numbering 3-24 arck-${infix}-${outfix}-${suffix}-${numbering} arck-ldo-uks-prd-01
Kusto Cluster/Azure Data Explorer Cluster Microsoft.Kusto/clusters dec- prefix numbering 4-22 dec-${infix}-${outfix}-${suffix}-${numbering} dec-ldo-uks-prd-01
Kusto Database/Azure Data Explorer Cluster Database Microsoft.Kusto/clusters/databases dedb- prefix numbering 1-260 dedb-${infix}-${outfix}-${suffix}-${numbering} dedb-ldo-uks-prd-01
Kusto Data Connection Microsoft.Kusto/clusters/databases/dataConnections dedbc- prefix numbering 1-40 dedbc-${infix}-${outfix}-${suffix}-${numbering} dedbc-ldo-uks-prd-01
Kusto Event Hub Connection Microsoft.Kusto/clusters/databases/eventhubconnections evhcon- prefix numbering 1-40 evhcon-${infix}-${outfix}-${suffix}-${numbering} evhcon-ldo-uks-prd-01
Logic Integration Account Microsoft.Logic/integrationAccounts ia- prefix numbering 1-80 ia-${infix}-${outfix}-${suffix}-${numbering} ia-ldo-uks-prd-01
Logic Assembly Microsoft.Logic/integrationAccounts/assemblies iaasem- prefix numbering 1-80 iaasem-${infix}-${outfix}-${suffix}-${numbering} iaasem-ldo-uks-prd-01
Logic Batch Configuration Microsoft.Logic/integrationAccounts/batchConfigurations iabconf- prefix numbering 1-80 iabconf-${infix}-${outfix}-${suffix}-${numbering} iabconf-ldo-uks-prd-01
Logic Certificate Microsoft.Logic/integrationAccounts/certificates cert- prefix numbering 1-80 cert-${infix}-${outfix}-${suffix}-${numbering} cert-ldo-uks-prd-01
Logic Map Microsoft.Logic/integrationAccounts/maps iamap- prefix numbering 1-80 iamap-${infix}-${outfix}-${suffix}-${numbering} iamap-ldo-uks-prd-01
Logic Partner Microsoft.Logic/integrationAccounts/partners iapart- prefix numbering 1-80 iapart-${infix}-${outfix}-${suffix}-${numbering} iapart-ldo-uks-prd-01
Logic Rosetta Net Process Configuration Microsoft.Logic/integrationAccounts/rosettanetprocessconfigurations iarpconf- prefix numbering 1-80 iarpconf-${infix}-${outfix}-${suffix}-${numbering} iarpconf-ldo-uks-prd-01
Logic Schema Microsoft.Logic/integrationAccounts/schemas iaschem- prefix numbering 1-80 iaschem-${infix}-${outfix}-${suffix}-${numbering} iaschem-ldo-uks-prd-01
Logic Session Microsoft.Logic/integrationAccounts/sessions iasess- prefix numbering 1-80 iasess-${infix}-${outfix}-${suffix}-${numbering} iasess-ldo-uks-prd-01
Logic Integration Service Environment Microsoft.Logic/integrationServiceEnvironments ialise- prefix numbering 1-80 ialise-${infix}-${outfix}-${suffix}-${numbering} ialise-ldo-uks-prd-01
Logic Integration Service Environment Managed API Microsoft.Logic/integrationServiceEnvironments/managedApis iamapis- prefix numbering 1-80 iamapis-${infix}-${outfix}-${suffix}-${numbering} iamapis-ldo-uks-prd-01
Logic Workflow Microsoft.Logic/workflows logic- prefix numbering 1-43 logic-${infix}-${outfix}-${suffix}-${numbering} logic-ldo-uks-prd-01
Machine Learning Commiment Plan Microsoft.MachineLearning/commitmentPlans mlcp- prefix numbering 1-260 mlcp-${infix}-${outfix}-${suffix}-${numbering} mlcp-ldo-uks-prd-01
Machine Learning Web Service Microsoft.MachineLearning/webServices mlweb- prefix numbering 1-260 mlweb-${infix}-${outfix}-${suffix}-${numbering} mlweb-ldo-uks-prd-01
Machine Learning Workspace Microsoft.MachineLearning/workspaces mlw- prefix numbering 1-260 mlw-${infix}-${outfix}-${suffix}-${numbering} mlw-ldo-uks-prd-01
Machine Learning Service Workspace Microsoft.MachineLearningServices/workspaces mlsw- prefix numbering 3-33 mlsw-${infix}-${outfix}-${suffix}-${numbering} mlsw-ldo-uks-prd-01
Machine Learning Service Workspace Compute Microsoft.MachineLearningServices/workspaces/computes mlswc- prefix numbering 2-16 mlswc-${infix}-${outfix}-${suffix}-${numbering} mlswc-ldo-uks-prd-01
User Assigned Managed Identity Microsoft.ManagedIdentity/userAssignedIdentities id- prefix numbering 3-128 id-${infix}-${outfix}-${suffix}-${numbering} id-ldo-uks-prd-01
Management Group Microsoft.Management/managementGroups mg- prefix numbering 3-24 mg-${infix}-${outfix}-${suffix}-${numbering} mg-ldo-uks-prd-01
Map Account Microsoft.Maps/accounts macc- prefix numbering 1-98 macc-${infix}-${outfix}-${suffix}-${numbering} macc-ldo-uks-prd-01
Media Service Microsoft.Media/mediaservices mms- prefix numbering 3-24 mms-${infix}-${outfix}-${suffix}-${numbering} mms-ldo-uks-prd-01
Media Service Live Event Microsoft.Media/mediaservices/liveEvents lievt- prefix numbering 1-32 livet-${infix}-${outfix}-${suffix}-${numbering} lievt-ldo-uks-prd-01
Media Service Live Event Live Output Microsoft.Media/mediaservices/liveEvents/liveOutputs liout- prefix numbering 1-256 liout-${infix}-${outfix}-${suffix}-${numbering} liout-ldo-uks-prd-01
Media Service Streaming Endpoint Microsoft.Media/mediaservices/streamingEndpoints strep- prefix numbering 1-24 strep-${infix}-${outfix}-${suffix}-${numbering} strep-ldo-uks-prd-01
Migrate Assesment Project Microsoft.Migrate/assessmentProjects migap- prefix numbering 3-24 migap-${infix}-${outfix}-${suffix}-${numbering} migap-ldo-uks-prd-01
Application Gateway Microsoft.Network/applicationGateways agw- prefix numbering 1-80 agw-${infix}-${outfix}-${suffix}-${numbering} agw-ldo-uks-prd-01
Application Security Group Microsoft.Network/applicationSecurityGroups asg- prefix numbering 1-80 asg-${infix}-${outfix}-${suffix}-${numbering} asg-ldo-uks-prd-web-01
Azure Firewall Microsoft.Network/azureFirewalls afw- prefix numbering 1-80 afw-${infix}-${outfix}-${suffix}-${numbering} afw-ldo-uks-prd-01
Bastion Microsoft.Network/bastionHosts bas- prefix numbering 1-80 bas-${infix}-${outfix}-${suffix}-${numbering} bas-ldo-uks-prd-01
Connection Microsoft.Network/connections conn- prefix numbering 1-80 con-${infix}-${outfix}-${suffix}-${numbering} con-ldo-uks-prd-01
Express Route Circuit Microsoft.Network/expressRouteCircuits erc- prefix numbering 1-80 erc-${infix}-${outfix}-${suffix}-${numbering} erc-ldo-uks-prd-01
Firewall Policy Microsoft.Network/firewallPolicies waf- prefix numbering 1-80 afwp-${infix}-${outfix}-${suffix}-${numbering} afwp-ldo-uks-prd-01
Firewall Policy Rule Group Microsoft.Network/firewallPolicies/ruleGroups wafrg- prefix numbering 1-80 wafrg-${infix}-${outfix}-${suffix}-${numbering} wafrg-ldo-uks-prd-01
Front Door Microsoft.Network/frontDoors fd- prefix numbering 5-64 fd-${infix}-${outfix}-${suffix}-${numbering} fd-ldo-uks-prd-01
Front Door Web Application Firewall Policy Microsoft.Network/frontdoorWebApplicationFirewallPolicies fdfp- prefix numbering 1-128 fdfp-${infix}-${outfix}-${suffix}-${numbering} fdfp-ldo-uks-prd-01
Load Balancer (External) Microsoft.Network/loadBalancers lb- prefix numbering 1-80 lbi-${infix}-${outfix}-${suffix}-${numbering} lbi-ldo-uks-prd-01
Load Balancer (Internal) Microsoft.Network/loadBalancers lb- prefix numbering 1-80 lbe-${infix}-${outfix}-${suffix}-${numbering} lbe-ldo-uks-prd-01
Load Balancer Inbound NAT Rule Microsoft.Network/loadBalancers/inboundNatRules rule- prefix numbering 1-80 rule-${infix}-${outfix}-${suffix}-${numbering} rule-ldo-uks-prd-01
Local Network Gateway Microsoft.Network/localNetworkGateways lgw- prefix numbering 1-80 lgw-${infix}-${outfix}-${suffix}-${numbering} lgw-ldo-uks-prd-01
Network Interface Microsoft.Network/networkInterfaces nic- prefix none 1-80 nic-${vm_name} nic-appldoukspoc04
Network Security Group Microsoft.Network/networkSecurityGroups nsg- prefix numbering 1-80 nsg-${infix}-${outfix}-${suffix}-${numbering} nsg-ldo-uks-prd-01
Network Watcher Microsoft.Network/networkWatchers nw- prefix numbering 1-80 nw-${infix}-${outfix}-${suffix}-${numbering} nw-ldo-uks-prd-01
Private DNS Zone Virtual Network Link Microsoft.Network/privateDnsZones/virtualNetworkLinks pdnsz- prefix numbering 1-80 pdnsz-${infix}-${outfix}-${suffix}-${numbering} pdnsz-ldo-uks-prd-01
Private Link Service Microsoft.Network/privateLinkServices pl- prefix numbering 1-80 pl-${infix}-${outfix}-${suffix}-${numbering} pl-ldo-uks-prd-01
Public IP Address Microsoft.Network/publicIPAddresses pip- prefix numbering 1-80 pip-${infix}-${outfix}-${suffix}-${numbering} pip-ldo-uks-prd-01
Public IP Prefix Microsoft.Network/publicIPPrefixes ippre- prefix numbering 1-80 ippre-${infix}-${outfix}-${suffix}-${numbering} ippre-ldo-uks-prd-01
Route Filter Microsoft.Network/routeFilters rf- prefix numbering 1-80 rf-${infix}-${outfix}-${suffix}-${numbering} rf-ldo-uks-prd-01
Route Filter Rule Microsoft.Network/routeFilters/routeFilterRules rfrule- prefix numbering 1-80 rfrule-${infix}-${outfix}-${suffix}-${numbering} rfrule-ldo-uks-prd-01
Route Table Microsoft.Network/routeTables rt- prefix numbering 1-80 rt-${infix}-${outfix}-${suffix}-${numbering} rt-ldo-uks-prd-01
Route Table Route Microsoft.Network/routeTables/routes route- prefix numbering 1-80 route-${infix}-${outfix}-${suffix}-${numbering} route-ldo-uks-prd-01
Service Endpoint Policy Microsoft.Network/serviceEndpointPolicies se- prefix numbering 1-80 se-${infix}-${outfix}-${suffix}-${numbering} se-ldo-uks-prd-01
Traffice Manager Profile Microsoft.Network/trafficManagerProfiles traf- prefix numbering 1-63 traf-${infix}-${outfix}-${suffix}-${numbering} traf-ldo-uks-prd-01
Virtual Network Gateway Microsoft.Network/virtualNetworkGateways vgw- prefix numbering 1-80 vgw-${infix}-${outfix}-${suffix}-${numbering} vgw-ldo-uks-prd-01
Virtual Network Microsoft.Network/virtualNetworks vnet- prefix numbering 2-64 vnet-${infix}-${outfix}-${suffix}-${numbering} vnet-ldo-uks-prd-01
Subnet Microsoft.Network/virtualnetworks/subnets vnets- prefix none 1-80 snet-${subnet_purpose}-${vnet_name} snet-app-vnet-ldo-uks-prd-01
Virtual Network Peering Microsoft.Network/virtualNetworks/virtualNetworkPeerings peer- prefix none 1-80 peer-to-${vnet_name} peer-vnet-ldo-uks-prd-01
Virtual WAN Microsoft.Network/virtualWans vwan- prefix numbering 1-80 vwan-${infix}-${outfix}-${suffix}-${numbering} vwan-ldo-uks-prd-01
VPN Gateway Microsoft.Network/vpnGateways vpng- prefix numbering 1-80 vpng-${infix}-${outfix}-${suffix}-${numbering} vnpng-ldo-uks-prd-01
VPN Gateway Connection Microsoft.Network/vpnGateways/vpnConnections vcn- prefix numbering 1-80 vcn-${infix}-${outfix}-${suffix}-${numbering} vcn-ldo-uks-prd-01
VPN Site Microsoft.Network/vpnSites vst- prefix numbering 1-80 vst-${infix}-${outfix}-${suffix}-${numbering} vst-ldo-uks-prd-01
Notification Hubs Namespace Microsoft.NotificationHubs/namespaces ntfns- prefix numbering 6-50 ntfns-${infix}-${outfix}-${suffix}-${numbering} ntfns-ldo-uks-prd-01
Notification Hubs Namespace Authorization Rule Microsoft.NotificationHubs/namespaces/AuthorizationRules ntfnsrule- prefix numbering 1-256 ntfnsrule-${infix}-${outfix}-${suffix}-${numbering} ntfnsrule-ldo-uks-prd-01
Notification Hubs Namespace Hub Microsoft.NotificationHubs/namespaces/notificationHubs ntf- prefix numbering 1-260 ntf-${infix}-${outfix}-${suffix}-${numbering} ntf-ldo-uks-prd-01
Notification Hub Namespace Authorization Rule Microsoft.NotificationHubs/namespaces/notificationHubs/AuthorizationRules ntfrule- prefix numbering 1-256 ntfrule-${infix}-${outfix}-${suffix}-${numbering} ntfrule-ldo-uks-prd-01
Operational Insights Cluster Microsoft.OperationalInsights/clusters opic- prefix numbering 4-63 opic-${infix}-${outfix}-${suffix}-${numbering} opic-ldo-uks-prd-01
Operational Insights Workspace Microsoft.OperationalInsights/workspaces log- prefix numbering 4-63 log-${infix}-${outfix}-${suffix}-${numbering} log-ldo-uks-prd-01
Dashboard Microsoft.Portal/dashboards dshbrd- prefix numbering 3-160 dshbrd-${infix}-${outfix}-${suffix}-${numbering} dshbrd-ldo-uks-prd-01
PowerBI Workspace Collection Microsoft.PowerBI/workspaceCollections pbicol- prefix numbering 3-63 pbicol-${infix}-${outfix}-${suffix}-${numbering} pbicol-ldo-uks-prd-01
PowerBi Dedicated Capacity Microsoft.PowerBIDedicated/capacities pbi- prefix numbering 3-63 pbi-${infix}-${outfix}-${suffix}-${numbering} pbi-ldo-uks-prd-01
Purview Account Microsoft.Purview/accounts pview- prefix numbering 2-24 pview-${infix}-${outfix}-${suffix}-${numbering} pview-ldo-uks-prd-01
Recovery Services Vault Microsoft.RecoveryServices/vaults rsv- prefix numbering 2-50 rsv-${infix}-${outfix}-${suffix}-${numbering} rsv-ldo-uks-prd-01
Recovery Services Backup Policy Microsoft.RecoveryServices/vaults/backupPolicies rsvbp- prefix numbering 3-150 rsvbp-${infix}-${outfix}-${suffix}-${numbering} rsvbp-ldo-uks-prd-01
Relay Namespace Microsoft.Relay/namespaces sb- prefix numbering 6-50 sb-${infix}-${outfix}-${suffix}-${numbering} sb-ldo-uks-prd-01
Relay Authorization Rule Microsoft.Relay/namespaces/AuthorizationRules rule- prefix numbering 1-50 rule-${infix}-${outfix}-${suffix}-${numbering} rule-ldo-uks-prd-01
Relay Hybrid Connection Microsoft.Relay/namespaces/HybridConnections hycon- prefix numbering 1-260 hycon-${infix}-${outfix}-${suffix}-${numbering} hycon-ldo-uks-prd-01
Relay Hybrid Connection Authorization Rule Microsoft.Relay/namespaces/HybridConnections/authorizationRules rule- prefix numbering 1-50 rule-${infix}-${outfix}-${suffix}-${numbering} rule-ldo-uks-prd-01
Relay WCF Relay Microsoft.Relay/namespaces/WcfRelays wcfr- prefix numbering 1-260 wcfr-${infix}-${outfix}-${suffix}-${numbering} wcfr-ldo-uks-prd-01
Relay WCF Relay Authorization Rule Microsoft.Relay/namespaces/WcfRelays/authorizationRules wcfrrule- prefix numbering 1-50 wcfrrule-${infix}-${outfix}-${suffix}-${numbering} wcfrrule-ldo-uks-prd-01
Resource Group Microsoft.Resources/resourcegroups rg- prefix numbering 1-90 rg-${infix}-${outfix}-${suffix} rg-ldo-uks-prd-app
Template Spec Microsoft.Resources/templateSpecs tspec- prefix numbering 1-90 tspec-${infix}-${outfix}-${suffix}-${numbering} tspec-ldo-uks-prd-01
Search Service Microsoft.Search/searchServices srch- prefix numbering 3-24 srch-${infix}-${outfix}-${suffix}-${numbering} srch-ldo-uks-prd-01
Service Bus Microsoft.ServiceBus/namespaces sb- prefix numbering 6-50 sb-${infix}-${outfix}-${suffix}-${numbering} sb-ldo-uks-prd-01
Service Bus Authorization Rule Microsoft.ServiceBus/namespaces/AuthorizationRules rule- prefix numbering 1-50 rule-${infix}-${outfix}-${suffix}-${numbering} rule-ldo-uks-prd-01
Service Bus Disaster Recovery Config Microsoft.ServiceBus/namespaces/disasterRecoveryConfigs sbdrconf- prefix numbering 6-50 sbdrconf-${infix}-${outfix}-${suffix}-${numbering} sbdrconf-ldo-uks-prd-01
Service Bus Queue Microsoft.ServiceBus/namespaces/queues sbq- prefix numbering 1-260 sbq-${infix}-${outfix}-${suffix}-${numbering} sbq-ldo-uks-prd-01
Service Bus Queue Authorization Rule Microsoft.ServiceBus/namespaces/queues/authorizationRules rule- prefix numbering 1-50 rule-${infix}-${outfix}-${suffix}-${numbering} rule-ldo-uks-prd-01
Service Bus Topic Microsoft.ServiceBus/namespaces/topics sbt- prefix numbering 1-260 sbt-${infix}-${outfix}-${suffix}-${numbering} sbt-ldo-uks-prd-01
Service Bus Topic Authorization Rule Microsoft.ServiceBus/namespaces/topics/authorizationRules rule- prefix numbering 1-50 rule-${infix}-${outfix}-${suffix}-${numbering} rule-ldo-uks-prd-01
Service Bus Topic Subscription Microsoft.ServiceBus/namespaces/topics/subscriptions sbtsub- prefix numbering 1-50 sbtsub-${infix}-${outfix}-${suffix}-${numbering} sbtsub-ldo-uks-prd-01
Service Bus Topic Subscription Rule Microsoft.ServiceBus/namespaces/topics/subscriptions/rules rule- prefix numbering 1-50 rule-${infix}-${outfix}-${suffix}-${numbering} rule-ldo-uks-prd-01
Service Fabric Cluster Microsoft.ServiceFabric/clusters sf- prefix numbering 4-23 sf-${infix}-${outfix}-${suffix}-${numbering} sf-ldo-uks-prd-01
Signal IR Service Microsoft.SignalRService/signalR sigr- prefix numbering 3-63 sigr-${infix}-${outfix}-${suffix}-${numbering} sigr-ldo-uks-prd-01
SQL Managed Instance Microsoft.Sql/managedInstances sqlmi- prefix numbering 1-63 sqlmi-${infix}-${outfix}-${suffix}-${numbering} sqlmi-ldo-uks-prd-01
SQL Database Server Microsoft.Sql/servers sql- prefix numbering 1-63 sql-${infix}-${outfix}-${suffix}-${numbering} sql-ldo-uks-prd-01
SQL Data Warehouse Microsoft.Sql/servers sqldw- prefix numbering 1-63 sqldw-${infix}-${outfix}-${suffix}-${numbering} sqldw-ldo-uks-prd-01
SQL Database Microsoft.Sql/servers/databases sqldb- prefix numbering 1-63 sqldb-${infix}-${outfix}-${suffix}-${numbering} sqldb-ldo-uks-prd-01
SQL Database Sync Group Microsoft.Sql/servers/databases/syncGroups sqlsg- prefix numbering 1-63 sqlsg-${infix}-${outfix}-${suffix}-${numbering} sqlsg-ldo-uks-prd-01
SQL Elastic Pool Microsoft.Sql/servers/elasticPools sqlelp- prefix numbering 1-63 sqlelp-${infix}-${outfix}-${suffix}-${numbering} sqlelp-ldo-uks-prd-01
SQL Failover Group Microsoft.Sql/servers/failoverGroups sqlfg- prefix numbering 1-63 sqlfg-${infix}-${outfix}-${suffix}-${numbering} sqlfg-ldo-uks-prd-01
SQL Firewall Rule Microsoft.Sql/servers/firewallRules sqlfwrule- prefix numbering 1-128 sqlfwrule-${infix}-${outfix}-${suffix}-${numbering} sqlfwrule-ldo-uks-prd-01
Storage Account Microsoft.Storage/storageAccounts sa prefix numbering 3-24 sa${infix}${outfix}${suffix}${numbering} saldouksprd01
Storage Sync Service Microsoft.StorageSync/storageSyncServices sasyncsvc- prefix numbering 1-260 sasyncsvc-${infix}-${outfix}-${suffix}-${numbering} sasyncsvc-ldo-uks-prd-01
Storage Sync Group Microsoft.StorageSync/storageSyncServices/syncGroups sasyncgrp- prefix numbering 1-260 sasyncgrp-${infix}-${outfix}-${suffix}-${numbering} sasyncgrp-ldo-uks-prd-01
Stor Simple Manager Microsoft.StorSimple/managers ssimp- prefix numbering 2-50 ssimp-${infix}-${outfix}-${suffix}-${numbering} ssiimp-ldo-uks-prd-01
Stream Analytics Cluster Microsoft.StreamAnalytics/cluster asa- prefix numbering 3-63 asa-${infix}-${outfix}-${suffix}-${numbering} asa-ldo-uks-prd-01
Stream Analytics Job Microsoft.StreamAnalytics/streamingjobs sasj- prefix numbering 3-63 sasj-${infix}-${outfix}-${suffix}-${numbering} sasj-ldo-uks-prd-01
Stream Analytics Job Function Microsoft.StreamAnalytics/streamingjobs/functions sjf- prefix numbering 3-63 sjf-${infix}-${outfix}-${suffix}-${numbering} sjf-ldo-uks-prd-01
Stream Analytics Job Input Microsoft.StreamAnalytics/streamingjobs/inputs sjin- prefix numbering 3-63 sjin-${infix}-${outfix}-${suffix}-${numbering} sjin-ldo-uks-prd-01
Stream Analytics Job Output Microsoft.StreamAnalytics/streamingjobs/outputs sjout- prefix numbering 3-63 sjout-${infix}-${outfix}-${suffix}-${numbering} sjout-ldo-uks-prd-01
Stream Analytics Job Transformation Microsoft.StreamAnalytics/streamingjobs/transformations sjtrf- prefix numbering 3-63 sjtrf-${infix}-${outfix}-${suffix}-${numbering} sjtrf-ldo-uks-prd-01
Subscription Microsoft.Subscription/subscriptions sub- prefix numbering 3-63 sub-${infix}-${outfix}-${suffix}-${numbering} sub-ldo-uks-prd-01
Synapse Workspace Microsoft.Synapse/workspaces synw- prefix numbering 1-50 synw-${infix}-${outfix}-${suffix}-${numbering} synw-ldo-uks-prd-01
Synapse SQL Dedicated Pool Microsoft.Synapse/workspaces/sqlPools syndp- prefix numbering 1-15 syndp-${infix}-${outfix}-${suffix}-${numbering} syndp-ldo-uks-prd-01
Synapse SQL Spark Pool Microsoft.Synapse/workspaces/sqlPools synsp- prefix numbering 1-15 synsp-${infix}-${outfix}-${suffix}-${numbering} synsp-ldo-uks-prd-01
Time Series Insights Environment Microsoft.TimeSeriesInsights/environments tsi- prefix numbering 1-90 tsi-${infix}-${outfix}-${suffix}-${numbering} tsi-ldo-uks-prd-01
Time Series Inights Access Policy Microsoft.TimeSeriesInsights/environments/accessPolicies tsia- prefix numbering 1-90 tsia-${infix}-${outfix}-${suffix}-${numbering} tsia-ldo-uks-prd-01
Time Series Insights Event Sources Microsoft.TimeSeriesInsights/environments/eventSources tsie- prefix numbering 1-90 tsie-${infix}-${outfix}-${suffix}-${numbering} tsie-ldo-uks-prd-01
Time Series Insights Reference Data Set Microsoft.TimeSeriesInsights/environments/referenceDataSets tsir- prefix numbering 3-64 tsir-${infix}-${outfix}-${suffix}-${numbering} tsir-ldo-uks-prd-01
Azure Virtual Desktop Host Pool Microsoft.DesktopVirtualization/hostpools vdpool- prefix numbering 3-64 vdpool-${infix}-${outfix}-${suffix}-${numbering} vdpool-ldo-uks-prd-01
Azure Virtual Desktop Application Group Microsoft.DesktopVirtualization/applicationGroups vdpool- prefix numbering 3-64 vdag-${infix}-${outfix}-${suffix}-${numbering} vdag-ldo-uks-prd-01
Azure Virtual Desktop Workspace Microsoft.DesktopVirtualization/workspaces vdpool- prefix numbering 3-64 vdws-${infix}-${outfix}-${suffix}-${numbering} vdws-ldo-uks-prd-01
Web Certificate Microsoft.Web/certificates cert- prefix numbering 1-260 cert-${infix}-${outfix}-${suffix}-${numbering} cert-ldo-uks-prd-01
App Service Plan Microsoft.Web/serverfarms plan- prefix numbering 1-40 plan-${infix}-${outfix}-${suffix}-${numbering} plan-ldo-uks-prd-01
Web Site (App Service Environment) Microsoft.Web/sites ase- prefix numbering 2-59 ase-${infix}-${outfix}-${suffix}-${numbering} ase-ldo-uks-prd-01
Web Site (Azure Static Web App) Microsoft.Web/sites stapp- prefix numbering 2-59 stapp-${infix}-${outfix}-${suffix}-${numbering} stapp-ldo-uks-prd-01
Web Site (Function App) Microsoft.Web/sites func- prefix numbering 2-59 func-${infix}-${outfix}-${suffix}-${numbering} func-ldo-uks-prd-01
Web Site (Static Web App) Microsoft.Web/sites wts- prefix numbering 2-59 stapp-${infix}-${outfix}-${suffix}-${numbering} stapp-ldo-uks-prd-01
Web Site (Web App) Microsoft.Web/sites app- prefix numbering 2-59 app-${infix}-${outfix}-${suffix}-${numbering} app-ldo-uks-prd-01

Other Resource List

Below is a list of resources with a naming convention set when not covered by the Azure Resource Manager API (e.g. service principal, Azure DevOps items etc)

AzureAD Resource List

Asset type Abbreviation Prefix, Infix, Outfix or Suffix Entropy, Numbering or None Length Limit (Min-Max) Construct Example
Standard Group az-user-grp- prefix none 3-512 az-user-${group_purpose} az-user-grp-vm-operators
Admin Group az-admin-grp- prefix none 3-512 az-admin-${group_purpose} az-admin-grp-global-admins
Keyvault Group az-kv-grp- prefix none 3-512 az-kv-${keyvault_name} az-kv-grp-kv-ldo-ukw-dev-04
Service Principal svp- prefix numbering 3-256 svp-${infix}-${outfix}-${suffix}-${numbering} svp-ldo-ukw-dev-01

Azure DevOps Resource List

Asset type Abbreviation Prefix, Infix, Outfix or Suffix Entropy, Numbering or None Length Limit (Min-Max) Construct Example
Pipeline Purpose (YAML) -Pipeline- outfix none 3-63 ${application}-${ci_or_cicd}-${environment}-${stage}-pipeline Terraform-CiCd-Ldo-Prd-Pipeline
Pipeline Purpose (Classic) -Pipeline- outfix none 3-63 ${application}-${ci_or_cicd}-${environment}-${stage}-Pipeline Terraform-CiCd-Ldo-Prd-Pipeline
YAML Pipeline Name (File) .yaml suffix none 3-63 ${pipeline_use_case}.yaml terraform-cicd.yaml
YAML Pipeline Name (Portal) -Yaml suffix none 1-50 apim-${infix}-${outfix}-${suffix}-${numbering} Terraform-CiCd-Ldo-Prd-Pipeline-Yaml
Classic Pipeline Name (Portal) -Classic suffix none 1-50 apim-${infix}-${outfix}-${suffix}-${numbering} Terraform-CiCd-Ldo-Prd-Pipeline-Classic

About

A repo with best practice advice on Azure naming, packaged in with terraform-compliance naming policy files 👊

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published