CreateMySqlMigrationDetails

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

Bases: oci.database_migration.models.create_migration_details.CreateMigrationDetails

Create Migration resource parameters.

Attributes

DATABASE_COMBINATION_MYSQL str(object=’’) -> str
DATABASE_COMBINATION_ORACLE str(object=’’) -> str
TYPE_OFFLINE str(object=’’) -> str
TYPE_ONLINE str(object=’’) -> str
advisor_settings Gets the advisor_settings of this CreateMySqlMigrationDetails.
bulk_include_exclude_data Gets the bulk_include_exclude_data of this CreateMySqlMigrationDetails.
compartment_id [Required] Gets the compartment_id of this CreateMigrationDetails.
data_transfer_medium_details Gets the data_transfer_medium_details of this CreateMySqlMigrationDetails.
database_combination [Required] Gets the database_combination of this CreateMigrationDetails.
defined_tags Gets the defined_tags of this CreateMigrationDetails.
description Gets the description of this CreateMigrationDetails.
display_name Gets the display_name of this CreateMigrationDetails.
exclude_objects Gets the exclude_objects of this CreateMySqlMigrationDetails.
freeform_tags Gets the freeform_tags of this CreateMigrationDetails.
ggs_details Gets the ggs_details of this CreateMySqlMigrationDetails.
hub_details Gets the hub_details of this CreateMySqlMigrationDetails.
include_objects Gets the include_objects of this CreateMySqlMigrationDetails.
initial_load_settings Gets the initial_load_settings of this CreateMySqlMigrationDetails.
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.

Methods

__init__(**kwargs) Initializes a new CreateMySqlMigrationDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
DATABASE_COMBINATION_MYSQL = 'MYSQL'
DATABASE_COMBINATION_ORACLE = 'ORACLE'
TYPE_OFFLINE = 'OFFLINE'
TYPE_ONLINE = 'ONLINE'
__init__(**kwargs)

Initializes a new CreateMySqlMigrationDetails object with values from keyword arguments. The default value of the database_combination attribute of this class is MYSQL and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • description (str) – The value to assign to the description property of this CreateMySqlMigrationDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateMySqlMigrationDetails.
  • database_combination (str) – The value to assign to the database_combination property of this CreateMySqlMigrationDetails. Allowed values for this property are: “MYSQL”, “ORACLE”
  • type (str) – The value to assign to the type property of this CreateMySqlMigrationDetails. Allowed values for this property are: “ONLINE”, “OFFLINE”
  • display_name (str) – The value to assign to the display_name property of this CreateMySqlMigrationDetails.
  • source_database_connection_id (str) – The value to assign to the source_database_connection_id property of this CreateMySqlMigrationDetails.
  • target_database_connection_id (str) – The value to assign to the target_database_connection_id property of this CreateMySqlMigrationDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateMySqlMigrationDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateMySqlMigrationDetails.
  • data_transfer_medium_details (oci.database_migration.models.CreateMySqlDataTransferMediumDetails) – The value to assign to the data_transfer_medium_details property of this CreateMySqlMigrationDetails.
  • initial_load_settings (oci.database_migration.models.CreateMySqlInitialLoadSettings) – The value to assign to the initial_load_settings property of this CreateMySqlMigrationDetails.
  • advisor_settings (oci.database_migration.models.CreateMySqlAdvisorSettings) – The value to assign to the advisor_settings property of this CreateMySqlMigrationDetails.
  • exclude_objects (list[oci.database_migration.models.MySqlDatabaseObject]) – The value to assign to the exclude_objects property of this CreateMySqlMigrationDetails.
  • include_objects (list[oci.database_migration.models.MySqlDatabaseObject]) – The value to assign to the include_objects property of this CreateMySqlMigrationDetails.
  • bulk_include_exclude_data (str) – The value to assign to the bulk_include_exclude_data property of this CreateMySqlMigrationDetails.
  • hub_details (oci.database_migration.models.CreateGoldenGateHubDetails) – The value to assign to the hub_details property of this CreateMySqlMigrationDetails.
  • ggs_details (oci.database_migration.models.CreateMySqlGgsDeploymentDetails) – The value to assign to the ggs_details property of this CreateMySqlMigrationDetails.
advisor_settings

Gets the advisor_settings of this CreateMySqlMigrationDetails.

Returns:The advisor_settings of this CreateMySqlMigrationDetails.
Return type:oci.database_migration.models.CreateMySqlAdvisorSettings
bulk_include_exclude_data

Gets the bulk_include_exclude_data of this CreateMySqlMigrationDetails. Specifies the database objects to be excluded from the migration in bulk. The definition accepts input in a CSV format, newline separated for each entry. More details can be found in the documentation.

Returns:The bulk_include_exclude_data of this CreateMySqlMigrationDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this CreateMigrationDetails. The OCID of the resource being referenced.

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

Gets the data_transfer_medium_details of this CreateMySqlMigrationDetails.

Returns:The data_transfer_medium_details of this CreateMySqlMigrationDetails.
Return type:oci.database_migration.models.CreateMySqlDataTransferMediumDetails
database_combination

[Required] Gets the database_combination of this CreateMigrationDetails. The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.

Allowed values for this property are: “MYSQL”, “ORACLE”

Returns:The database_combination of this CreateMigrationDetails.
Return type:str
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))
description

Gets the description of this CreateMigrationDetails. A user-friendly description. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

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

Gets the display_name of this CreateMigrationDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

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

Gets the exclude_objects of this CreateMySqlMigrationDetails. Database objects to exclude from migration, cannot be specified alongside ‘includeObjects’

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

Gets the freeform_tags of this CreateMigrationDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this CreateMigrationDetails.
Return type:dict(str, str)
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

ggs_details

Gets the ggs_details of this CreateMySqlMigrationDetails.

Returns:The ggs_details of this CreateMySqlMigrationDetails.
Return type:oci.database_migration.models.CreateMySqlGgsDeploymentDetails
hub_details

Gets the hub_details of this CreateMySqlMigrationDetails.

Returns:The hub_details of this CreateMySqlMigrationDetails.
Return type:oci.database_migration.models.CreateGoldenGateHubDetails
include_objects

Gets the include_objects of this CreateMySqlMigrationDetails. Database objects to include from migration, cannot be specified alongside ‘excludeObjects’

Returns:The include_objects of this CreateMySqlMigrationDetails.
Return type:list[oci.database_migration.models.MySqlDatabaseObject]
initial_load_settings

Gets the initial_load_settings of this CreateMySqlMigrationDetails.

Returns:The initial_load_settings of this CreateMySqlMigrationDetails.
Return type:oci.database_migration.models.CreateMySqlInitialLoadSettings
source_database_connection_id

[Required] Gets the source_database_connection_id of this CreateMigrationDetails. The OCID of the resource being referenced.

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 resource being referenced.

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

[Required] Gets the type of this CreateMigrationDetails. The type of the migration to be performed. Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.

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

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