MySqlCloneAssessmentDetails

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

Bases: CloneAssessmentDetails

MySQL Clone Assessment Summary

Attributes:

DATABASE_COMBINATION_MYSQL

A constant which can be used with the database_combination property of a CloneAssessmentDetails.

DATABASE_COMBINATION_ORACLE

A constant which can be used with the database_combination property of a CloneAssessmentDetails.

compartment_id

Gets the compartment_id of this CloneAssessmentDetails.

database_combination

[Required] Gets the database_combination of this CloneAssessmentDetails.

defined_tags

Gets the defined_tags of this CloneAssessmentDetails.

display_name

Gets the display_name of this CloneAssessmentDetails.

freeform_tags

Gets the freeform_tags of this CloneAssessmentDetails.

source_database_connection

[Required] Gets the source_database_connection of this CloneAssessmentDetails.

target_database_connection

[Required] Gets the target_database_connection of this CloneAssessmentDetails.

Methods:

__init__(**kwargs)

Initializes a new MySqlCloneAssessmentDetails 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'

A constant which can be used with the database_combination property of a CloneAssessmentDetails. This constant has a value of “MYSQL”

DATABASE_COMBINATION_ORACLE = 'ORACLE'

A constant which can be used with the database_combination property of a CloneAssessmentDetails. This constant has a value of “ORACLE”

__init__(**kwargs)

Initializes a new MySqlCloneAssessmentDetails 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
  • database_combination (str) – The value to assign to the database_combination property of this MySqlCloneAssessmentDetails. Allowed values for this property are: “MYSQL”, “ORACLE”

  • display_name (str) – The value to assign to the display_name property of this MySqlCloneAssessmentDetails.

  • compartment_id (str) – The value to assign to the compartment_id property of this MySqlCloneAssessmentDetails.

  • source_database_connection (oci.database_migration.models.SourceAssessmentConnection) – The value to assign to the source_database_connection property of this MySqlCloneAssessmentDetails.

  • target_database_connection (oci.database_migration.models.TargetAssessmentConnection) – The value to assign to the target_database_connection property of this MySqlCloneAssessmentDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this MySqlCloneAssessmentDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this MySqlCloneAssessmentDetails.

property compartment_id

Gets the compartment_id of this CloneAssessmentDetails. The OCID of the resource being referenced.

Returns

The compartment_id of this CloneAssessmentDetails.

Return type

str

property database_combination

[Required] Gets the database_combination of this CloneAssessmentDetails. 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 CloneAssessmentDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CloneAssessmentDetails. 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 CloneAssessmentDetails.

Return type

dict(str, dict(str, object))

property display_name

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

Returns

The display_name of this CloneAssessmentDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CloneAssessmentDetails. 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 CloneAssessmentDetails.

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.

property source_database_connection

[Required] Gets the source_database_connection of this CloneAssessmentDetails.

Returns

The source_database_connection of this CloneAssessmentDetails.

Return type

oci.database_migration.models.SourceAssessmentConnection

property target_database_connection

[Required] Gets the target_database_connection of this CloneAssessmentDetails.

Returns

The target_database_connection of this CloneAssessmentDetails.

Return type

oci.database_migration.models.TargetAssessmentConnection