|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<LoadBalancer.Status> org.jclouds.cloudloadbalancers.domain.LoadBalancer.Status
public static enum LoadBalancer.Status
All load balancers also have a status attribute to signify the current configuration status of the device. This status is immutable by the caller and is updated automatically based on state changes within the service. When a load balancer is first created, it will be placed into a BUILD status while the configuration is being generated and applied based on the request. Once the configuration is applied and finalized, it will be in an ACTIVE status. In the event of a configuration change or update, the status of the load balancer will change to PENDING_UPDATE to signify configuration changes are in progress but have not yet been finalized. Load balancers in a SUSPENDED status are configured to reject traffic and will not forward requests to back-end nodess.
Enum Constant Summary | |
---|---|
ACTIVE
Load balancer is configured properly and ready to serve traffic to incoming requests via the configured virtual IPs. |
|
BUILD
Load balancer is being provisioned for the first time and configuration is being applied to bring the service online. |
|
DELETED
Load balancers in DELETED status can be displayed for at least 90 days after deletion. |
|
ERROR
The system encountered an error when attempting to configure the load balancer; contact Support. |
|
PENDING_DELETE
Load balancer is online but configuration changes are being applied to begin deletion of the service based on a previous request. |
|
PENDING_UPDATE
Load balancer is online but configuration changes are being applied to update the service based on a previous request. |
|
SUSPENDED
Load balancer has been taken offline and disabled; contact Support. |
|
UNRECOGNIZED
|
Method Summary | |
---|---|
static LoadBalancer.Status |
fromValue(String status)
|
static LoadBalancer.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LoadBalancer.Status[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final LoadBalancer.Status BUILD
public static final LoadBalancer.Status ACTIVE
public static final LoadBalancer.Status PENDING_UPDATE
public static final LoadBalancer.Status SUSPENDED
public static final LoadBalancer.Status PENDING_DELETE
public static final LoadBalancer.Status DELETED
public static final LoadBalancer.Status ERROR
public static final LoadBalancer.Status UNRECOGNIZED
Method Detail |
---|
public static LoadBalancer.Status[] values()
for (LoadBalancer.Status c : LoadBalancer.Status.values()) System.out.println(c);
public static LoadBalancer.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 name
NullPointerException
- if the argument is nullpublic static LoadBalancer.Status fromValue(String status)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |