public static enum VM.Status extends Enum<VM.Status>
Enum Constant and Description |
---|
OFF
When the VM is deployed in vmware and powered off.
|
ON
When the VM is deployed in vmware and powered on.
|
RESOLVED
When the Savvis VPDC is in Provisioning, PartiallyDeployed, Failed and the VM failed in
provisioning or pending infrastructure notification
|
SUSPENDED
We do not support suspended state.
|
UNKNOWN
The VM is deployed in vmware but the state of VM may be Uninitialized, Start, Stop, Resume,
Reset, RebootGuest, Error, Failed, Unknown, PoweringOn, PoweringOff, Suspending, Stopping,
Starting, Resetting, RebootingGuest.
|
UNRECOGNIZED |
UNRESOLVED
When the VM is in Designing,Saved,Inqueue, has issue in pre provisioning or any exception
cases.
|
Modifier and Type | Method and Description |
---|---|
static VM.Status |
fromValue(int v) |
static VM.Status |
fromValue(String status) |
String |
value() |
static VM.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VM.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VM.Status UNRESOLVED
public static final VM.Status RESOLVED
public static final VM.Status OFF
public static final VM.Status SUSPENDED
public static final VM.Status ON
public static final VM.Status UNKNOWN
public static final VM.Status UNRECOGNIZED
public static VM.Status[] values()
for (VM.Status c : VM.Status.values()) System.out.println(c);
public static VM.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 String value()
public static VM.Status fromValue(int v)
Copyright © 2009-2012 jclouds. All Rights Reserved.