OlvmHighAvailability

class oci.cloud_migrations.models.OlvmHighAvailability(**kwargs)

Bases: object

Type representing high availability of a virtual machine.

Methods:

__init__(**kwargs)

Initializes a new OlvmHighAvailability object with values from keyword arguments.

Attributes:

is_enabled

Gets the is_enabled of this OlvmHighAvailability.

priority

Gets 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.

property 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

property 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