Class ResourceHealthStatus
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<ResourceHealthStatus>
-
- com.azure.resourcemanager.recoveryservicesbackup.models.ResourceHealthStatus
-
public final class ResourceHealthStatus extends com.azure.core.util.ExpandableStringEnum<ResourceHealthStatus>
Defines values for ResourceHealthStatus.
-
-
Field Summary
Fields Modifier and Type Field Description static ResourceHealthStatus
HEALTHY
Static value Healthy for ResourceHealthStatus.static ResourceHealthStatus
INVALID
Static value Invalid for ResourceHealthStatus.static ResourceHealthStatus
PERSISTENT_DEGRADED
Static value PersistentDegraded for ResourceHealthStatus.static ResourceHealthStatus
PERSISTENT_UNHEALTHY
Static value PersistentUnhealthy for ResourceHealthStatus.static ResourceHealthStatus
TRANSIENT_DEGRADED
Static value TransientDegraded for ResourceHealthStatus.static ResourceHealthStatus
TRANSIENT_UNHEALTHY
Static value TransientUnhealthy for ResourceHealthStatus.
-
Constructor Summary
Constructors Constructor Description ResourceHealthStatus()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceHealthStatus
fromString(String name)
Creates or finds a ResourceHealthStatus from its string representation.static Collection<ResourceHealthStatus>
values()
Gets known ResourceHealthStatus values.
-
-
-
Field Detail
-
HEALTHY
public static final ResourceHealthStatus HEALTHY
Static value Healthy for ResourceHealthStatus.
-
TRANSIENT_DEGRADED
public static final ResourceHealthStatus TRANSIENT_DEGRADED
Static value TransientDegraded for ResourceHealthStatus.
-
PERSISTENT_DEGRADED
public static final ResourceHealthStatus PERSISTENT_DEGRADED
Static value PersistentDegraded for ResourceHealthStatus.
-
TRANSIENT_UNHEALTHY
public static final ResourceHealthStatus TRANSIENT_UNHEALTHY
Static value TransientUnhealthy for ResourceHealthStatus.
-
PERSISTENT_UNHEALTHY
public static final ResourceHealthStatus PERSISTENT_UNHEALTHY
Static value PersistentUnhealthy for ResourceHealthStatus.
-
INVALID
public static final ResourceHealthStatus INVALID
Static value Invalid for ResourceHealthStatus.
-
-
Method Detail
-
fromString
public static ResourceHealthStatus fromString(String name)
Creates or finds a ResourceHealthStatus from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ResourceHealthStatus.
-
values
public static Collection<ResourceHealthStatus> values()
Gets known ResourceHealthStatus values.- Returns:
- known ResourceHealthStatus values.
-
-