Class HealthStateType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<HealthStateType>
com.azure.resourcemanager.storagecache.models.HealthStateType
public final class HealthStateType
extends com.azure.core.util.ExpandableStringEnum<HealthStateType>
List of cache health states. Down is when the cluster is not responding. Degraded is when its functioning but has
some alerts. Transitioning when it is creating or deleting. Unknown will be returned in old api versions when a new
value is added in future versions. WaitingForKey is when the create is waiting for the system assigned identity to be
given access to the encryption key in the encryption settings.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HealthStateType
Static value Degraded for HealthStateType.static final HealthStateType
Static value Down for HealthStateType.static final HealthStateType
Static value Flushing for HealthStateType.static final HealthStateType
Static value Healthy for HealthStateType.static final HealthStateType
Static value StartFailed for HealthStateType.static final HealthStateType
Static value Stopped for HealthStateType.static final HealthStateType
Static value Stopping for HealthStateType.static final HealthStateType
Static value Transitioning for HealthStateType.static final HealthStateType
Static value Unknown for HealthStateType.static final HealthStateType
Static value UpgradeFailed for HealthStateType.static final HealthStateType
Static value Upgrading for HealthStateType.static final HealthStateType
Static value WaitingForKey for HealthStateType. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HealthStateType
fromString
(String name) Creates or finds a HealthStateType from its string representation.static Collection<HealthStateType>
values()
Gets known HealthStateType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
UNKNOWN
Static value Unknown for HealthStateType. -
HEALTHY
Static value Healthy for HealthStateType. -
DEGRADED
Static value Degraded for HealthStateType. -
DOWN
Static value Down for HealthStateType. -
TRANSITIONING
Static value Transitioning for HealthStateType. -
STOPPING
Static value Stopping for HealthStateType. -
STOPPED
Static value Stopped for HealthStateType. -
UPGRADING
Static value Upgrading for HealthStateType. -
FLUSHING
Static value Flushing for HealthStateType. -
WAITING_FOR_KEY
Static value WaitingForKey for HealthStateType. -
START_FAILED
Static value StartFailed for HealthStateType. -
UPGRADE_FAILED
Static value UpgradeFailed for HealthStateType.
-
-
Constructor Details
-
HealthStateType
Deprecated.Use thefromString(String)
factory method.Creates a new instance of HealthStateType value.
-
-
Method Details
-
fromString
Creates or finds a HealthStateType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding HealthStateType.
-
values
Gets known HealthStateType values.- Returns:
- known HealthStateType values.
-
fromString(String)
factory method.