CreateMigrationDetails

class oci.database_migration.models.CreateMigrationDetails(**kwargs)

Bases: object

Create Migration resource parameters.

Attributes

TYPE_OFFLINE A constant which can be used with the type property of a CreateMigrationDetails.
TYPE_ONLINE A constant which can be used with the type property of a CreateMigrationDetails.
agent_id Gets the agent_id of this CreateMigrationDetails.
compartment_id [Required] Gets the compartment_id of this CreateMigrationDetails.
data_transfer_medium_details Gets the data_transfer_medium_details of this CreateMigrationDetails.
datapump_settings Gets the datapump_settings of this CreateMigrationDetails.
defined_tags Gets the defined_tags of this CreateMigrationDetails.
display_name Gets the display_name of this CreateMigrationDetails.
exclude_objects Gets the exclude_objects of this CreateMigrationDetails.
freeform_tags Gets the freeform_tags of this CreateMigrationDetails.
golden_gate_details Gets the golden_gate_details of this CreateMigrationDetails.
source_container_database_connection_id Gets the source_container_database_connection_id of this CreateMigrationDetails.
source_database_connection_id [Required] Gets the source_database_connection_id of this CreateMigrationDetails.
target_database_connection_id [Required] Gets the target_database_connection_id of this CreateMigrationDetails.
type [Required] Gets the type of this CreateMigrationDetails.
vault_details Gets the vault_details of this CreateMigrationDetails.

Methods

__init__(**kwargs) Initializes a new CreateMigrationDetails object with values from keyword arguments.
TYPE_OFFLINE = 'OFFLINE'

A constant which can be used with the type property of a CreateMigrationDetails. This constant has a value of “OFFLINE”

TYPE_ONLINE = 'ONLINE'

A constant which can be used with the type property of a CreateMigrationDetails. This constant has a value of “ONLINE”

__init__(**kwargs)

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

Parameters:
  • type (str) – The value to assign to the type property of this CreateMigrationDetails. Allowed values for this property are: “ONLINE”, “OFFLINE”
  • display_name (str) – The value to assign to the display_name property of this CreateMigrationDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateMigrationDetails.
  • agent_id (str) – The value to assign to the agent_id property of this CreateMigrationDetails.
  • source_database_connection_id (str) – The value to assign to the source_database_connection_id property of this CreateMigrationDetails.
  • source_container_database_connection_id (str) – The value to assign to the source_container_database_connection_id property of this CreateMigrationDetails.
  • target_database_connection_id (str) – The value to assign to the target_database_connection_id property of this CreateMigrationDetails.
  • data_transfer_medium_details (oci.database_migration.models.CreateDataTransferMediumDetails) – The value to assign to the data_transfer_medium_details property of this CreateMigrationDetails.
  • datapump_settings (oci.database_migration.models.CreateDataPumpSettings) – The value to assign to the datapump_settings property of this CreateMigrationDetails.
  • exclude_objects (list[oci.database_migration.models.DatabaseObject]) – The value to assign to the exclude_objects property of this CreateMigrationDetails.
  • golden_gate_details (oci.database_migration.models.CreateGoldenGateDetails) – The value to assign to the golden_gate_details property of this CreateMigrationDetails.
  • vault_details (oci.database_migration.models.CreateVaultDetails) – The value to assign to the vault_details property of this CreateMigrationDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateMigrationDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateMigrationDetails.
agent_id

Gets the agent_id of this CreateMigrationDetails. The OCID of the registered ODMS Agent. Only valid for Offline Logical Migrations.

Returns:The agent_id of this CreateMigrationDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this CreateMigrationDetails. OCID of the compartment

Returns:The compartment_id of this CreateMigrationDetails.
Return type:str
data_transfer_medium_details

Gets the data_transfer_medium_details of this CreateMigrationDetails.

Returns:The data_transfer_medium_details of this CreateMigrationDetails.
Return type:oci.database_migration.models.CreateDataTransferMediumDetails
datapump_settings

Gets the datapump_settings of this CreateMigrationDetails.

Returns:The datapump_settings of this CreateMigrationDetails.
Return type:oci.database_migration.models.CreateDataPumpSettings
defined_tags

Gets the defined_tags of this CreateMigrationDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this CreateMigrationDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this CreateMigrationDetails. Migration Display Name

Returns:The display_name of this CreateMigrationDetails.
Return type:str
exclude_objects

Gets the exclude_objects of this CreateMigrationDetails. Database objects to exclude from migration.

Returns:The exclude_objects of this CreateMigrationDetails.
Return type:list[oci.database_migration.models.DatabaseObject]
freeform_tags

Gets the freeform_tags of this CreateMigrationDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this CreateMigrationDetails.
Return type:dict(str, str)
golden_gate_details

Gets the golden_gate_details of this CreateMigrationDetails.

Returns:The golden_gate_details of this CreateMigrationDetails.
Return type:oci.database_migration.models.CreateGoldenGateDetails
source_container_database_connection_id

Gets the source_container_database_connection_id of this CreateMigrationDetails. The OCID of the Source Container Database Connection. Only used for Online migrations. Only Connections of type Non-Autonomous can be used as source container databases.

Returns:The source_container_database_connection_id of this CreateMigrationDetails.
Return type:str
source_database_connection_id

[Required] Gets the source_database_connection_id of this CreateMigrationDetails. The OCID of the Source Database Connection.

Returns:The source_database_connection_id of this CreateMigrationDetails.
Return type:str
target_database_connection_id

[Required] Gets the target_database_connection_id of this CreateMigrationDetails. The OCID of the Target Database Connection.

Returns:The target_database_connection_id of this CreateMigrationDetails.
Return type:str
type

[Required] Gets the type of this CreateMigrationDetails. Migration type.

Allowed values for this property are: “ONLINE”, “OFFLINE”

Returns:The type of this CreateMigrationDetails.
Return type:str
vault_details

Gets the vault_details of this CreateMigrationDetails.

Returns:The vault_details of this CreateMigrationDetails.
Return type:oci.database_migration.models.CreateVaultDetails