Use valid VNG names

March 21, 2025 ยท View on GitHub

SYNOPSIS

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.