public static enum LoadBalancerHealthSummary.Status extends Enum<LoadBalancerHealthSummary.Status> implements BmcEnum
The overall health status of the load balancer.
**OK:** All backend sets associated with the load balancer return a status of OK
.
**WARNING:** At least one of the backend sets associated with the load balancer returns a
status of WARNING
, no backend sets return a status of CRITICAL
, and the load
balancer life cycle state is ACTIVE
.
**CRITICAL:** One or more of the backend sets associated with the load balancer return a
status of CRITICAL
.
**UNKNOWN:** If any one of the following conditions is true:
The load balancer life cycle state is not ACTIVE
.
No backend sets are defined for the load balancer.
More than half of the backend sets associated with the load balancer return a status of
UNKNOWN
, none of the backend sets return a status of WARNING
or CRITICAL
, and the load balancer life cycle state is ACTIVE
.
The system could not retrieve metrics for any reason.
Enum Constant and Description |
---|
Critical |
Ok |
Unknown |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Warning |
Modifier and Type | Method and Description |
---|---|
static LoadBalancerHealthSummary.Status |
create(String key) |
String |
getValue() |
static LoadBalancerHealthSummary.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadBalancerHealthSummary.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadBalancerHealthSummary.Status Ok
public static final LoadBalancerHealthSummary.Status Warning
public static final LoadBalancerHealthSummary.Status Critical
public static final LoadBalancerHealthSummary.Status Unknown
public static final LoadBalancerHealthSummary.Status UnknownEnumValue
public static LoadBalancerHealthSummary.Status[] values()
for (LoadBalancerHealthSummary.Status c : LoadBalancerHealthSummary.Status.values()) System.out.println(c);
public static LoadBalancerHealthSummary.Status valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static LoadBalancerHealthSummary.Status create(String key)
Copyright © 2016–2024. All rights reserved.