OlvmErrorHandling

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

Bases: object

Error Handling in OLVM

Attributes

ON_ERROR_DO_NOT_MIGRATE A constant which can be used with the on_error property of a OlvmErrorHandling.
ON_ERROR_MIGRATE A constant which can be used with the on_error property of a OlvmErrorHandling.
ON_ERROR_MIGRATE_HIGHLY_AVAILABLE A constant which can be used with the on_error property of a OlvmErrorHandling.
on_error Gets the on_error of this OlvmErrorHandling.

Methods

__init__(**kwargs) Initializes a new OlvmErrorHandling object with values from keyword arguments.
ON_ERROR_DO_NOT_MIGRATE = 'DO_NOT_MIGRATE'

A constant which can be used with the on_error property of a OlvmErrorHandling. This constant has a value of “DO_NOT_MIGRATE”

ON_ERROR_MIGRATE = 'MIGRATE'

A constant which can be used with the on_error property of a OlvmErrorHandling. This constant has a value of “MIGRATE”

ON_ERROR_MIGRATE_HIGHLY_AVAILABLE = 'MIGRATE_HIGHLY_AVAILABLE'

A constant which can be used with the on_error property of a OlvmErrorHandling. This constant has a value of “MIGRATE_HIGHLY_AVAILABLE”

__init__(**kwargs)

Initializes a new OlvmErrorHandling object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:on_error (str) – The value to assign to the on_error property of this OlvmErrorHandling. Allowed values for this property are: “DO_NOT_MIGRATE”, “MIGRATE”, “MIGRATE_HIGHLY_AVAILABLE”
on_error

Gets the on_error of this OlvmErrorHandling. Migrate on error

Allowed values for this property are: “DO_NOT_MIGRATE”, “MIGRATE”, “MIGRATE_HIGHLY_AVAILABLE”

Returns:The on_error of this OlvmErrorHandling.
Return type:str