ResourceStatus Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. appcomplianceautomation. models. ResourceStatus
- com.
- com.
public final class ResourceStatus
extends ExpandableStringEnum<ResourceStatus>
Indicates the resource status.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Resource |
HEALTHY
The resource is healthy. |
|
static final
Resource |
UNHEALTHY
The resource is unhealthy. |
Constructor Summary
| Constructor | Description |
|---|---|
| ResourceStatus() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Resource |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Resource |
fromString(String name)
Creates or finds a Resource |
|
static
Collection<Resource |
values()
Gets known Resource |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
HEALTHY
public static final ResourceStatus HEALTHY
The resource is healthy.
UNHEALTHY
public static final ResourceStatus UNHEALTHY
The resource is unhealthy.
Constructor Details
ResourceStatus
@Deprecated
public ResourceStatus()
Deprecated
Creates a new instance of ResourceStatus value.
Method Details
fromString
public static ResourceStatus fromString(String name)
Creates or finds a ResourceStatus from its string representation.
Parameters:
Returns:
values
public static Collection<ResourceStatus> values()
Gets known ResourceStatus values.
Returns: