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

public final class ConnectionState extends com.azure.core.util.ExpandableStringEnum<ConnectionState>
The current connection state of the connected registry.
  • Field Details

    • ONLINE

      public static final ConnectionState ONLINE
      Static value Online for ConnectionState.
    • OFFLINE

      public static final ConnectionState OFFLINE
      Static value Offline for ConnectionState.
    • SYNCING

      public static final ConnectionState SYNCING
      Static value Syncing for ConnectionState.
    • UNHEALTHY

      public static final ConnectionState UNHEALTHY
      Static value Unhealthy for ConnectionState.
  • Constructor Details

    • ConnectionState

      @Deprecated public ConnectionState()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of ConnectionState value.
  • Method Details

    • fromString

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

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