Use valid VMSS names#
Operational Excellence · Virtual Machine Scale Sets · Rule · 2020_06 · Awareness
Virtual Machine Scale Set (VMSS) names should meet naming requirements.
Description#
When naming Azure resources, resource names must meet service requirements. The requirements for VMSS names are:
- Between 1 and 64 characters long.
- Alphanumerics, underscores, periods, and hyphens.
- Start with alphanumeric.
- End alphanumeric or underscore.
- VM names must be unique within a resource group.
Recommendation#
Consider using names that meet VMSS resource name requirements. Additionally, consider using a resource name that meeting OS naming requirements.
Notes#
This rule does not check if VMSS names are unique.
Additionally, VMSS computer names have additional restrictions.
See Azure.VMSS.ComputerName
for details.