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

CheckNameAvailabilityReason Class

public final class CheckNameAvailabilityReason
extends ExpandableStringEnum<CheckNameAvailabilityReason>

The reason why the given name is not available.

Field Summary

Modifier and Type Field and Description
static final CheckNameAvailabilityReason ALREADY_EXISTS

Static value AlreadyExists for CheckNameAvailabilityReason.

static final CheckNameAvailabilityReason INVALID

Static value Invalid for CheckNameAvailabilityReason.

Constructor Summary

Constructor Description
CheckNameAvailabilityReason()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CheckNameAvailabilityReason value.

Method Summary

Modifier and Type Method and Description
static CheckNameAvailabilityReason fromString(String name)

Creates or finds a CheckNameAvailabilityReason from its string representation.

static Collection<CheckNameAvailabilityReason> values()

Gets known CheckNameAvailabilityReason values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALREADY_EXISTS

public static final CheckNameAvailabilityReason ALREADY_EXISTS

Static value AlreadyExists for CheckNameAvailabilityReason.

INVALID

public static final CheckNameAvailabilityReason INVALID

Static value Invalid for CheckNameAvailabilityReason.

Constructor Details

CheckNameAvailabilityReason

@Deprecated
public CheckNameAvailabilityReason()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CheckNameAvailabilityReason value.

Method Details

fromString

public static CheckNameAvailabilityReason fromString(String name)

Creates or finds a CheckNameAvailabilityReason from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CheckNameAvailabilityReason.

values

public static Collection values()

Gets known CheckNameAvailabilityReason values.

Returns:

known CheckNameAvailabilityReason values.

Applies to