Class ConnectionState
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final ConnectionStateStatic value Offline for ConnectionState.static final ConnectionStateStatic value Online for ConnectionState.static final ConnectionStateStatic value Syncing for ConnectionState.static final ConnectionStateStatic value Unhealthy for ConnectionState. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectionStatefromString(String name) Creates or finds a ConnectionState from its string representation.static Collection<ConnectionState> values()Gets known ConnectionState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ONLINE
Static value Online for ConnectionState. -
OFFLINE
Static value Offline for ConnectionState. -
SYNCING
Static value Syncing for ConnectionState. -
UNHEALTHY
Static value Unhealthy for ConnectionState.
-
-
Constructor Details
-
ConnectionState
Deprecated.Use thefromString(String)factory method.Creates a new instance of ConnectionState value.
-
-
Method Details
-
fromString
Creates or finds a ConnectionState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ConnectionState.
-
values
Gets known ConnectionState values.- Returns:
- known ConnectionState values.
-
fromString(String)factory method.