Class ProtectedItemHealthStatus
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ProtectedItemHealthStatus>
com.azure.resourcemanager.recoveryservicesbackup.models.ProtectedItemHealthStatus
public final class ProtectedItemHealthStatus
extends com.azure.core.util.ExpandableStringEnum<ProtectedItemHealthStatus>
Health status of the backup item, evaluated based on last heartbeat received.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ProtectedItemHealthStatus
Static value Healthy for ProtectedItemHealthStatus.static final ProtectedItemHealthStatus
Static value Invalid for ProtectedItemHealthStatus.static final ProtectedItemHealthStatus
Static value IRPending for ProtectedItemHealthStatus.static final ProtectedItemHealthStatus
Static value NotReachable for ProtectedItemHealthStatus.static final ProtectedItemHealthStatus
Static value Unhealthy for ProtectedItemHealthStatus. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProtectedItemHealthStatus
fromString
(String name) Creates or finds a ProtectedItemHealthStatus from its string representation.static Collection<ProtectedItemHealthStatus>
values()
Gets known ProtectedItemHealthStatus values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
INVALID
Static value Invalid for ProtectedItemHealthStatus. -
HEALTHY
Static value Healthy for ProtectedItemHealthStatus. -
UNHEALTHY
Static value Unhealthy for ProtectedItemHealthStatus. -
NOT_REACHABLE
Static value NotReachable for ProtectedItemHealthStatus. -
IRPENDING
Static value IRPending for ProtectedItemHealthStatus.
-
-
Constructor Details
-
ProtectedItemHealthStatus
Deprecated.Use thefromString(String)
factory method.Creates a new instance of ProtectedItemHealthStatus value.
-
-
Method Details
-
fromString
Creates or finds a ProtectedItemHealthStatus from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ProtectedItemHealthStatus.
-
values
Gets known ProtectedItemHealthStatus values.- Returns:
- known ProtectedItemHealthStatus values.
-
fromString(String)
factory method.