ConvertInstanceDetails

class oci.integration.models.ConvertInstanceDetails(**kwargs)

Bases: object

Details for converting integration instance to Disaster Recovery Enabled instance type

Attributes:

CONVERSION_PHASE_BEGIN_MIGRATION

A constant which can be used with the conversion_phase property of a ConvertInstanceDetails.

CONVERSION_PHASE_COMPLETE_MIGRATION

A constant which can be used with the conversion_phase property of a ConvertInstanceDetails.

CONVERSION_PHASE_ROLLBACK_MIGRATION

A constant which can be used with the conversion_phase property of a ConvertInstanceDetails.

CONVERSION_TYPE_DEVELOPMENT_SHAPE

A constant which can be used with the conversion_type property of a ConvertInstanceDetails.

CONVERSION_TYPE_DISASTER_RECOVERY

A constant which can be used with the conversion_type property of a ConvertInstanceDetails.

CONVERSION_TYPE_PRODUCTION_SHAPE

A constant which can be used with the conversion_type property of a ConvertInstanceDetails.

conversion_phase

Gets the conversion_phase of this ConvertInstanceDetails.

conversion_type

[Required] Gets the conversion_type of this ConvertInstanceDetails.

Methods:

__init__(**kwargs)

Initializes a new ConvertInstanceDetails object with values from keyword arguments.

CONVERSION_PHASE_BEGIN_MIGRATION = 'BEGIN_MIGRATION'

A constant which can be used with the conversion_phase property of a ConvertInstanceDetails. This constant has a value of “BEGIN_MIGRATION”

CONVERSION_PHASE_COMPLETE_MIGRATION = 'COMPLETE_MIGRATION'

A constant which can be used with the conversion_phase property of a ConvertInstanceDetails. This constant has a value of “COMPLETE_MIGRATION”

CONVERSION_PHASE_ROLLBACK_MIGRATION = 'ROLLBACK_MIGRATION'

A constant which can be used with the conversion_phase property of a ConvertInstanceDetails. This constant has a value of “ROLLBACK_MIGRATION”

CONVERSION_TYPE_DEVELOPMENT_SHAPE = 'DEVELOPMENT_SHAPE'

A constant which can be used with the conversion_type property of a ConvertInstanceDetails. This constant has a value of “DEVELOPMENT_SHAPE”

CONVERSION_TYPE_DISASTER_RECOVERY = 'DISASTER_RECOVERY'

A constant which can be used with the conversion_type property of a ConvertInstanceDetails. This constant has a value of “DISASTER_RECOVERY”

CONVERSION_TYPE_PRODUCTION_SHAPE = 'PRODUCTION_SHAPE'

A constant which can be used with the conversion_type property of a ConvertInstanceDetails. This constant has a value of “PRODUCTION_SHAPE”

__init__(**kwargs)

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

Parameters
  • conversion_type (str) – The value to assign to the conversion_type property of this ConvertInstanceDetails. Allowed values for this property are: “DISASTER_RECOVERY”, “DEVELOPMENT_SHAPE”, “PRODUCTION_SHAPE”

  • conversion_phase (str) – The value to assign to the conversion_phase property of this ConvertInstanceDetails. Allowed values for this property are: “BEGIN_MIGRATION”, “COMPLETE_MIGRATION”, “ROLLBACK_MIGRATION”

property conversion_phase

Gets the conversion_phase of this ConvertInstanceDetails. Conversion phase for convert instance operation.

Allowed values for this property are: “BEGIN_MIGRATION”, “COMPLETE_MIGRATION”, “ROLLBACK_MIGRATION”

Returns

The conversion_phase of this ConvertInstanceDetails.

Return type

str

property conversion_type

[Required] Gets the conversion_type of this ConvertInstanceDetails. Convert given instance to specified DR instance

Allowed values for this property are: “DISASTER_RECOVERY”, “DEVELOPMENT_SHAPE”, “PRODUCTION_SHAPE”

Returns

The conversion_type of this ConvertInstanceDetails.

Return type

str