Partager via


Reason Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.resourcemanager.keyvault.models.Reason

public enum Reason
extends Enum<Reason>

The reason that a vault name could not be used. The Reason element is only returned if NameAvailable is false.

Fields

ACCOUNT_NAME_INVALID

Enum value AccountNameInvalid.

ALREADY_EXISTS

Enum value AlreadyExists.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static Reason fromString(String value)

Parses a serialized value to a Reason instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed Reason object, or null if unable to parse.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static Reason valueOf(String name)

Parameters

name
String

Returns

values()

public static Reason[] values()

Returns

Reason[]

Applies to