public static enum Server.Status extends Enum<Server.Status>
Enum Constant and Description |
---|
ACTIVE
The server is active
|
BUILD
The server has not finished the original build process
|
DELETED
The server is permanently deleted.
|
ERROR
The server is in error.
|
HARD_REBOOT
The server is hard rebooting.
|
MIGRATING
The server is currently being migrated
|
PASSWORD
The password is being reset on the server.
|
PAUSED
In a paused state, the state of the server is stored in RAM.
|
REBOOT
The server is in a soft reboot state.
|
REBUILD
The server is currently being rebuilt
|
RESIZE
Server is performing the differential copy of data that changed during its initial copy.
|
REVERT_RESIZE
The resize or migration of a server failed for some reason.
|
SHELVED
The server is shelved
|
SHELVED_OFFLOADED
The server is shelved_offloaded, server removed from the hypervisor to minimize resource usage.
|
SHUTOFF
The virtual machine (VM) was powered down by the user, but not through the OpenStack Compute API.
|
STOPPED
The server is powered off and the disk image still persists.
|
SUSPENDED
The server is suspended, either by request or necessity.
|
UNKNOWN
The state of the server is unknown.
|
UNRECOGNIZED
OpenStack4j could not find a Status mapping for the current reported Status.
|
VERIFY_RESIZE
System is awaiting confirmation that the server is operational after a move or resize.
|
Modifier and Type | Method and Description |
---|---|
static Server.Status |
forValue(String value) |
String |
value() |
static Server.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Server.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Server.Status ACTIVE
public static final Server.Status BUILD
public static final Server.Status REBUILD
public static final Server.Status SUSPENDED
public static final Server.Status PAUSED
public static final Server.Status RESIZE
public static final Server.Status VERIFY_RESIZE
public static final Server.Status REVERT_RESIZE
public static final Server.Status PASSWORD
public static final Server.Status REBOOT
public static final Server.Status HARD_REBOOT
public static final Server.Status DELETED
public static final Server.Status UNKNOWN
public static final Server.Status ERROR
public static final Server.Status STOPPED
public static final Server.Status SHUTOFF
public static final Server.Status MIGRATING
public static final Server.Status SHELVED
public static final Server.Status SHELVED_OFFLOADED
public static final Server.Status UNRECOGNIZED
public static Server.Status[] values()
for (Server.Status c : Server.Status.values()) System.out.println(c);
public static Server.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 static Server.Status forValue(String value)
public String value()
Copyright © 2017. All rights reserved.