public enum InstanceStatus extends Enum<InstanceStatus>
Enum Constant and Description |
---|
BUSY_ROLE
The role instance is unavailable for requests.
|
CREATING_ROLE
Windows Azure is creating resources for the role.
|
CREATING_V_M
The host agent is currently creating resources for the Virtual Machine
(VM).
|
CYCLING_ROLE
The role has continually crashed after being started by Windows Azure.
|
DELETING_V_M
The Virtual Machine is being deleted by the host agent.
|
FAILED_STARTING_ROLE
The role has continually failed to start.
|
FAILED_STARTING_V_M
A Windows Azure or container error is preventing the Virtual Machine from
starting.
|
PROVISIONING
UNDOCUMENTED BY AZURE
|
READY_ROLE
The role instance has started and is ready to be used.
|
RESTARTING_ROLE
The role has unexpectedly stopped or has failed to start.
|
ROLE_STATE_UNKNOWN
The role state is currently unknown.
|
STARTING_ROLE
Windows Azure is starting the role.
|
STARTING_V_M
The host agent is starting the Virtual Machine.
|
STOPPED_V_M
The Virtual Machine is not running.
|
STOPPING_ROLE
Windows Azure is stopping the role.
|
STOPPING_V_M
The host agent is stopping the Virtual Machine.
|
UNRESPONSIVE_ROLE
The role has timed out before receiving a status message and is not
responding to requests.
|
Modifier and Type | Method and Description |
---|---|
static InstanceStatus |
fromValue(String type) |
String |
toString() |
String |
value() |
static InstanceStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceStatus ROLE_STATE_UNKNOWN
public static final InstanceStatus CREATING_V_M
public static final InstanceStatus STARTING_V_M
public static final InstanceStatus CREATING_ROLE
public static final InstanceStatus STARTING_ROLE
public static final InstanceStatus READY_ROLE
public static final InstanceStatus BUSY_ROLE
public static final InstanceStatus STOPPING_ROLE
public static final InstanceStatus STOPPING_V_M
public static final InstanceStatus DELETING_V_M
public static final InstanceStatus STOPPED_V_M
public static final InstanceStatus RESTARTING_ROLE
public static final InstanceStatus CYCLING_ROLE
public static final InstanceStatus FAILED_STARTING_ROLE
public static final InstanceStatus FAILED_STARTING_V_M
public static final InstanceStatus UNRESPONSIVE_ROLE
public static final InstanceStatus PROVISIONING
public static InstanceStatus[] values()
for (InstanceStatus c : InstanceStatus.values()) System.out.println(c);
public static InstanceStatus 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 String value()
public String toString()
toString
in class Enum<InstanceStatus>
public static InstanceStatus fromValue(String type)
Copyright © 2009-2013 jclouds. All Rights Reserved.