OlvmHighAvailability¶
-
class
oci.cloud_migrations.models.OlvmHighAvailability(**kwargs)¶ Bases:
objectType representing high availability of a virtual machine.
Methods
__init__(**kwargs)Initializes a new OlvmHighAvailability object with values from keyword arguments. Attributes
is_enabledGets the is_enabled of this OlvmHighAvailability. priorityGets the priority of this OlvmHighAvailability. -
__init__(**kwargs)¶ Initializes a new OlvmHighAvailability object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - is_enabled (bool) – The value to assign to the is_enabled property of this OlvmHighAvailability.
- priority (int) – The value to assign to the priority property of this OlvmHighAvailability.
-
is_enabled¶ Gets the is_enabled of this OlvmHighAvailability. Define if the virtual machine is considered highly available.
Returns: The is_enabled of this OlvmHighAvailability. Return type: bool
-
priority¶ Gets the priority of this OlvmHighAvailability. Indicates the priority of the virtual machine inside the run and migration queues. The higher the value, the higher the priority.
Returns: The priority of this OlvmHighAvailability. Return type: int
-