Class CheckNameAvailabilityReason
java.lang.Object
com.azure.core.util.ExpandableStringEnum<CheckNameAvailabilityReason>
com.azure.resourcemanager.costmanagement.models.CheckNameAvailabilityReason
public final class CheckNameAvailabilityReason
extends com.azure.core.util.ExpandableStringEnum<CheckNameAvailabilityReason>
The reason why the given name is not available.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CheckNameAvailabilityReason
Static value AlreadyExists for CheckNameAvailabilityReason.static final CheckNameAvailabilityReason
Static value Invalid for CheckNameAvailabilityReason. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CheckNameAvailabilityReason
fromString
(String name) Creates or finds a CheckNameAvailabilityReason from its string representation.values()
Gets known CheckNameAvailabilityReason values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
INVALID
Static value Invalid for CheckNameAvailabilityReason. -
ALREADY_EXISTS
Static value AlreadyExists for CheckNameAvailabilityReason.
-
-
Constructor Details
-
CheckNameAvailabilityReason
Deprecated.Use thefromString(String)
factory method.Creates a new instance of CheckNameAvailabilityReason value.
-
-
Method Details
-
fromString
Creates or finds a CheckNameAvailabilityReason from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding CheckNameAvailabilityReason.
-
values
Gets known CheckNameAvailabilityReason values.- Returns:
- known CheckNameAvailabilityReason values.
-
fromString(String)
factory method.