UnavailableReason Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.resourcemanager.servicebus.models.UnavailableReason

public enum UnavailableReason
extends Enum<UnavailableReason>

Specifies the reason for the unavailability of the service.

Fields

INVALID_NAME

Enum value InvalidName.

NAME_IN_LOCKDOWN

Enum value NameInLockdown.

NAME_IN_USE

Enum value NameInUse.

NONE

Enum value None.

SUBSCRIPTION_IS_DISABLED

Enum value SubscriptionIsDisabled.

TOO_MANY_NAMESPACE_IN_CURRENT_SUBSCRIPTION

Enum value TooManyNamespaceInCurrentSubscription.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static UnavailableReason fromString(String value)

Parses a serialized value to a UnavailableReason instance.

Parameters

value
String
the serialized value to parse.

Returns

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

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static UnavailableReason valueOf(String name)

Parameters

name
String

Returns

values()

public static UnavailableReason[] values()

Returns

Applies to