SubscriptionState Enum

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

public enum SubscriptionState
extends Enum<SubscriptionState>

Subscription state. Possible states are * active \u2013 the subscription is active, * suspended \u2013 the subscription is blocked, and the subscriber cannot call any APIs of the product, * submitted \u2013 the subscription request has been made by the developer, but has not yet been approved or rejected, * rejected \u2013 the subscription request has been denied by an administrator, * cancelled \u2013 the subscription has been cancelled by the developer or administrator, * expired \u2013 the subscription reached its expiration date and was deactivated.

Fields

ACTIVE

Enum value active.

CANCELLED

Enum value cancelled.

EXPIRED

Enum value expired.

REJECTED

Enum value rejected.

SUBMITTED

Enum value submitted.

SUSPENDED

Enum value suspended.

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