ResourceStatus Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. security. models. ResourceStatus
- com.
- com.
public final class ResourceStatus
extends ExpandableStringEnum<ResourceStatus>
The status of the resource regarding a single assessment.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Resource |
HEALTHY
This assessment on the resource is healthy. |
|
static final
Resource |
NOT_APPLICABLE
This assessment is not applicable to this resource. |
|
static final
Resource |
NOT_HEALTHY
This assessment on the resource is not healthy. |
|
static final
Resource |
OFF_BY_POLICY
This assessment is turned off by policy on this subscription. |
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
This assessment on the resource is healthy.
NOT_APPLICABLE
public static final ResourceStatus NOT_APPLICABLE
This assessment is not applicable to this resource.
NOT_HEALTHY
public static final ResourceStatus NOT_HEALTHY
This assessment on the resource is not healthy.
OFF_BY_POLICY
public static final ResourceStatus OFF_BY_POLICY
This assessment is turned off by policy on this subscription.
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: