OlvmVmStatus¶
-
class
oci.cloud_migrations.models.OlvmVmStatus(**kwargs)¶ Bases:
objectThe current status of the virtual machine.
Attributes
STATUS_DOWNA constant which can be used with the status property of a OlvmVmStatus. STATUS_IMAGE_LOCKEDA constant which can be used with the status property of a OlvmVmStatus. STATUS_MIGRATINGA constant which can be used with the status property of a OlvmVmStatus. STATUS_NOT_RESPONDINGA constant which can be used with the status property of a OlvmVmStatus. STATUS_PAUSEDA constant which can be used with the status property of a OlvmVmStatus. STATUS_POWERING_DOWNA constant which can be used with the status property of a OlvmVmStatus. STATUS_POWERING_UPA constant which can be used with the status property of a OlvmVmStatus. STATUS_REBOOT_IN_PROGRESSA constant which can be used with the status property of a OlvmVmStatus. STATUS_RESTORING_STATEA constant which can be used with the status property of a OlvmVmStatus. STATUS_SAVING_STATEA constant which can be used with the status property of a OlvmVmStatus. STATUS_SUSPENDEDA constant which can be used with the status property of a OlvmVmStatus. STATUS_UNASSIGNEDA constant which can be used with the status property of a OlvmVmStatus. STATUS_UNKNOWNA constant which can be used with the status property of a OlvmVmStatus. STATUS_UPA constant which can be used with the status property of a OlvmVmStatus. STATUS_WAIT_FOR_LAUNCHA constant which can be used with the status property of a OlvmVmStatus. statusGets the status of this OlvmVmStatus. Methods
__init__(**kwargs)Initializes a new OlvmVmStatus object with values from keyword arguments. -
STATUS_DOWN= 'DOWN'¶ A constant which can be used with the status property of a OlvmVmStatus. This constant has a value of “DOWN”
-
STATUS_IMAGE_LOCKED= 'IMAGE_LOCKED'¶ A constant which can be used with the status property of a OlvmVmStatus. This constant has a value of “IMAGE_LOCKED”
-
STATUS_MIGRATING= 'MIGRATING'¶ A constant which can be used with the status property of a OlvmVmStatus. This constant has a value of “MIGRATING”
-
STATUS_NOT_RESPONDING= 'NOT_RESPONDING'¶ A constant which can be used with the status property of a OlvmVmStatus. This constant has a value of “NOT_RESPONDING”
-
STATUS_PAUSED= 'PAUSED'¶ A constant which can be used with the status property of a OlvmVmStatus. This constant has a value of “PAUSED”
-
STATUS_POWERING_DOWN= 'POWERING_DOWN'¶ A constant which can be used with the status property of a OlvmVmStatus. This constant has a value of “POWERING_DOWN”
-
STATUS_POWERING_UP= 'POWERING_UP'¶ A constant which can be used with the status property of a OlvmVmStatus. This constant has a value of “POWERING_UP”
-
STATUS_REBOOT_IN_PROGRESS= 'REBOOT_IN_PROGRESS'¶ A constant which can be used with the status property of a OlvmVmStatus. This constant has a value of “REBOOT_IN_PROGRESS”
-
STATUS_RESTORING_STATE= 'RESTORING_STATE'¶ A constant which can be used with the status property of a OlvmVmStatus. This constant has a value of “RESTORING_STATE”
-
STATUS_SAVING_STATE= 'SAVING_STATE'¶ A constant which can be used with the status property of a OlvmVmStatus. This constant has a value of “SAVING_STATE”
-
STATUS_SUSPENDED= 'SUSPENDED'¶ A constant which can be used with the status property of a OlvmVmStatus. This constant has a value of “SUSPENDED”
-
STATUS_UNASSIGNED= 'UNASSIGNED'¶ A constant which can be used with the status property of a OlvmVmStatus. This constant has a value of “UNASSIGNED”
-
STATUS_UNKNOWN= 'UNKNOWN'¶ A constant which can be used with the status property of a OlvmVmStatus. This constant has a value of “UNKNOWN”
-
STATUS_UP= 'UP'¶ A constant which can be used with the status property of a OlvmVmStatus. This constant has a value of “UP”
-
STATUS_WAIT_FOR_LAUNCH= 'WAIT_FOR_LAUNCH'¶ A constant which can be used with the status property of a OlvmVmStatus. This constant has a value of “WAIT_FOR_LAUNCH”
-
__init__(**kwargs)¶ Initializes a new OlvmVmStatus object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: status (str) – The value to assign to the status property of this OlvmVmStatus. Allowed values for this property are: “DOWN”, “IMAGE_LOCKED”, “MIGRATING”, “NOT_RESPONDING”, “PAUSED”, “POWERING_DOWN”, “POWERING_UP”, “REBOOT_IN_PROGRESS”, “RESTORING_STATE”, “SAVING_STATE”, “SUSPENDED”, “UNASSIGNED”, “UNKNOWN”, “UP”, “WAIT_FOR_LAUNCH”
-
status¶ Gets the status of this OlvmVmStatus. Type representing a status of a virtual machine.
Allowed values for this property are: “DOWN”, “IMAGE_LOCKED”, “MIGRATING”, “NOT_RESPONDING”, “PAUSED”, “POWERING_DOWN”, “POWERING_UP”, “REBOOT_IN_PROGRESS”, “RESTORING_STATE”, “SAVING_STATE”, “SUSPENDED”, “UNASSIGNED”, “UNKNOWN”, “UP”, “WAIT_FOR_LAUNCH”
Returns: The status of this OlvmVmStatus. Return type: str
-