java.lang.Object
com.azure.core.util.ExpandableStringEnum<UserState>
com.azure.resourcemanager.apimanagement.models.UserState
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class UserState extends com.azure.core.util.ExpandableStringEnum<UserState>
Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active.
  • Field Details

    • ACTIVE

      public static final UserState ACTIVE
      Static value active for UserState.
    • BLOCKED

      public static final UserState BLOCKED
      Static value blocked for UserState.
    • PENDING

      public static final UserState PENDING
      Static value pending for UserState.
    • DELETED

      public static final UserState DELETED
      Static value deleted for UserState.
  • Constructor Details

  • Method Details

    • fromString

      public static UserState fromString(String name)
      Creates or finds a UserState from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding UserState.
    • values

      public static Collection<UserState> values()
      Gets known UserState values.
      Returns:
      known UserState values.