UpdateMigrationDetails

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

Bases: object

Common Update Migration details.

Attributes

DATABASE_COMBINATION_MYSQL A constant which can be used with the database_combination property of a UpdateMigrationDetails.
DATABASE_COMBINATION_ORACLE A constant which can be used with the database_combination property of a UpdateMigrationDetails.
TYPE_OFFLINE A constant which can be used with the type property of a UpdateMigrationDetails.
TYPE_ONLINE A constant which can be used with the type property of a UpdateMigrationDetails.
database_combination [Required] Gets the database_combination of this UpdateMigrationDetails.
defined_tags Gets the defined_tags of this UpdateMigrationDetails.
description Gets the description of this UpdateMigrationDetails.
display_name Gets the display_name of this UpdateMigrationDetails.
freeform_tags Gets the freeform_tags of this UpdateMigrationDetails.
source_database_connection_id Gets the source_database_connection_id of this UpdateMigrationDetails.
target_database_connection_id Gets the target_database_connection_id of this UpdateMigrationDetails.
type Gets the type of this UpdateMigrationDetails.

Methods

__init__(**kwargs) Initializes a new UpdateMigrationDetails 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 UpdateMigrationDetails. This constant has a value of “MYSQL”

DATABASE_COMBINATION_ORACLE = 'ORACLE'

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

TYPE_OFFLINE = 'OFFLINE'

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

TYPE_ONLINE = 'ONLINE'

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

__init__(**kwargs)

Initializes a new UpdateMigrationDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 UpdateMigrationDetails.
  • database_combination (str) – The value to assign to the database_combination property of this UpdateMigrationDetails. Allowed values for this property are: “MYSQL”, “ORACLE”
  • type (str) – The value to assign to the type property of this UpdateMigrationDetails. Allowed values for this property are: “ONLINE”, “OFFLINE”
  • display_name (str) – The value to assign to the display_name property of this UpdateMigrationDetails.
  • source_database_connection_id (str) – The value to assign to the source_database_connection_id property of this UpdateMigrationDetails.
  • target_database_connection_id (str) – The value to assign to the target_database_connection_id property of this UpdateMigrationDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateMigrationDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateMigrationDetails.
database_combination

[Required] Gets the database_combination of this UpdateMigrationDetails. 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 UpdateMigrationDetails.
Return type:str
defined_tags

Gets the defined_tags of this UpdateMigrationDetails. 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 UpdateMigrationDetails.
Return type:dict(str, dict(str, object))
description

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

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

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

Returns:The display_name of this UpdateMigrationDetails.
Return type:str
freeform_tags

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

source_database_connection_id

Gets the source_database_connection_id of this UpdateMigrationDetails. The OCID of the resource being referenced.

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

Gets the target_database_connection_id of this UpdateMigrationDetails. The OCID of the resource being referenced.

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

Gets the type of this UpdateMigrationDetails. 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 UpdateMigrationDetails.
Return type:str