org.jclouds.savvis.vpdc.domain
Enum VM.Status

java.lang.Object
  extended by java.lang.Enum<VM.Status>
      extended by org.jclouds.savvis.vpdc.domain.VM.Status
All Implemented Interfaces:
Serializable, Comparable<VM.Status>
Enclosing class:
VM

public static enum VM.Status
extends Enum<VM.Status>

Objects such as vAppTemplate, vApp, and Vm have a status attribute whose value indicates the state of the object. Status for an object, such as a vAppTemplate or vApp, whose Children (Vm objects) each have a status of their own, is computed from the status of the Children.

NOTE

The deployment status of an object is indicated by the value of its deployed attribute.

Since:
vcloud api 0.8
Author:
Adrian Cole

Enum Constant Summary
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.
 
Method Summary
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.
 
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

UNRESOLVED

public static final VM.Status UNRESOLVED
When the VM is in Designing,Saved,Inqueue, has issue in pre provisioning or any exception cases. VM is not in Savvis VPDC (may the VM has been removed) or cannot get VM state due to unknown exception


RESOLVED

public static final VM.Status RESOLVED
When the Savvis VPDC is in Provisioning, PartiallyDeployed, Failed and the VM failed in provisioning or pending infrastructure notification


OFF

public static final VM.Status OFF
When the VM is deployed in vmware and powered off.


SUSPENDED

public static final VM.Status SUSPENDED
We do not support suspended state.


ON

public static final VM.Status ON
When the VM is deployed in vmware and powered on.


UNKNOWN

public static final VM.Status 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. Please call back the Get VApp Power State API after few minute.


UNRECOGNIZED

public static final VM.Status UNRECOGNIZED
Method Detail

values

public static VM.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (VM.Status c : VM.Status.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static VM.Status valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

value

public String value()

fromValue

public static VM.Status fromValue(String status)

fromValue

public static VM.Status fromValue(int v)


Copyright © 2009-2011 jclouds. All Rights Reserved.