Partager via


SubscriptionState Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.resourcemanager.resources.models.SubscriptionState

public enum SubscriptionState
extends Enum<SubscriptionState>

The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.

Fields

DELETED

Enum value Deleted.

DISABLED

Enum value Disabled.

ENABLED

Enum value Enabled.

PAST_DUE

Enum value PastDue.

WARNED

Enum value Warned.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static SubscriptionState fromString(String value)

Parses a serialized value to a SubscriptionState instance.

Parameters

value
String
the serialized value to parse.

Returns

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

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static SubscriptionState valueOf(String name)

Parameters

name
String

Returns

values()

public static SubscriptionState[] values()

Returns

Applies to