Use valid VNG names#
Operational Excellence · Virtual Network Gateway · Rule · 2020_06 · Awareness
Virtual Network Gateway (VNG) names should meet naming requirements.
Description#
When naming Azure resources, resource names must meet service requirements. The requirements for VNG names are:
- Between 1 and 80 characters long.
- Alphanumerics, underscores, periods, and hyphens.
- Start with alphanumeric.
- End alphanumeric or underscore.
- VNG names must be unique within a resource group.
Recommendation#
Consider using names that meet Virtual Network Gateway (VNG) naming requirements. Additionally consider naming resources with a standard naming convention.
Notes#
This rule does not check if VNG names are unique.
Links#
- OE:04 Continuous integration
- Naming rules and restrictions for Azure resources
- Recommended abbreviations for Azure resource types
- Parameters in Bicep
- Bicep functions
- Azure deployment reference