com.vmware.vcloud.sdk.constants
Enum UndeployPowerActionType

java.lang.Object
  extended by java.lang.Enum<UndeployPowerActionType>
      extended by com.vmware.vcloud.sdk.constants.UndeployPowerActionType
All Implemented Interfaces:
Serializable, Comparable<UndeployPowerActionType>

public enum UndeployPowerActionType
extends Enum<UndeployPowerActionType>

UndeployPowerAction constants

Since:
API 1.5, SDK 1.5
Author:
Ecosystem Engineering

Enum Constant Summary
DEFAULT
          Use default VM stop actions specified in the startup section.
FORCE
          Attempt to power off the VMs.
POWEROFF
          Power off all VMs in the vApp.
SHUTDOWN
          Shutdown all VMs in the vApp.
SUSPEND
          Suspend all VMs in the vApp.
 
Method Summary
static UndeployPowerActionType fromValue(String value)
           
 String value()
           
static UndeployPowerActionType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UndeployPowerActionType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SUSPEND

public static final UndeployPowerActionType SUSPEND
Suspend all VMs in the vApp. Overrides default stop actions. Stop order and delay specified in the startup section are not honored.


POWEROFF

public static final UndeployPowerActionType POWEROFF
Power off all VMs in the vApp. Overrides default stop actions. Stop order and delay specified in the startup section are not honored.


DEFAULT

public static final UndeployPowerActionType DEFAULT
Use default VM stop actions specified in the startup section.


SHUTDOWN

public static final UndeployPowerActionType SHUTDOWN
Shutdown all VMs in the vApp. Overrides default stop actions. Stop order and delay specified in the startup section are not honored.


FORCE

public static final UndeployPowerActionType FORCE
Attempt to power off the VMs. Any failures in undeploying the VM or associated networks will be ignored. All references to the vApp and its constituents will be removed. This option overrides default stop actions. Stop order and delay specified in the startup section are not honored.

Method Detail

values

public static UndeployPowerActionType[] 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 (UndeployPowerActionType c : UndeployPowerActionType.values())
    System.out.println(c);

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

valueOf

public static UndeployPowerActionType 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 UndeployPowerActionType fromValue(String value)


Copyright © 2016. All Rights Reserved.