你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ResourceNameCharacters Enum

Definition

Classes of characters that are valid for naming a given resource.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum ResourceNameCharacters
[<System.Flags>]
type ResourceNameCharacters = 
Public Enum ResourceNameCharacters
Inheritance
ResourceNameCharacters
Attributes

Fields

Name Value Description
LowercaseLetters 1

Lowercase letters (a-z).

UppercaseLetters 2

Uppercase letters (A-Z).

Letters 3

Lower or uppercase letters (a-z, A-Z).

Numbers 4

Numbers (0-9).

Alphanumeric 7

Alphanumeric characters (a-z, A-Z, 0-9).

Hyphen 8

Hyphens (-).

Underscore 16

Underscores (_).

Period 32

Periods (.).

Parentheses 64

Parentheses ( (, ) ).

Applies to