MySqlAssessment

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

Bases: oci.database_migration.models.assessment.Assessment

MySql Assessment resource

Attributes

ACCEPTABLE_DOWNTIME_LESS_THAN_10_MINUTES str(object=’’) -> str
ACCEPTABLE_DOWNTIME_LESS_THAN_12_HOURS str(object=’’) -> str
ACCEPTABLE_DOWNTIME_LESS_THAN_1_DAY str(object=’’) -> str
ACCEPTABLE_DOWNTIME_LESS_THAN_1_HOUR str(object=’’) -> str
ACCEPTABLE_DOWNTIME_LESS_THAN_2_DAYS str(object=’’) -> str
ACCEPTABLE_DOWNTIME_LESS_THAN_4_HOURS str(object=’’) -> str
ACCEPTABLE_DOWNTIME_LESS_THAN_8_HOURS str(object=’’) -> str
ACCEPTABLE_DOWNTIME_MORE_THAN_2_DAYS str(object=’’) -> str
ASSESSMENT_MIGRATION_TYPE_OFFLINE str(object=’’) -> str
ASSESSMENT_MIGRATION_TYPE_ONLINE str(object=’’) -> str
ASSESSMENT_MIGRATION_TYPE_ONLINE_STANDBY str(object=’’) -> str
CREATION_TYPE_CREATE_AND_RUN_ASSESSORS str(object=’’) -> str
CREATION_TYPE_CREATE_ONLY str(object=’’) -> str
DATABASE_COMBINATION_MYSQL str(object=’’) -> str
DATABASE_COMBINATION_ORACLE str(object=’’) -> str
DATABASE_DATA_SIZE_GB_100_500 str(object=’’) -> str
DATABASE_DATA_SIZE_GB_10_50 str(object=’’) -> str
DATABASE_DATA_SIZE_GB_1_10 str(object=’’) -> str
DATABASE_DATA_SIZE_GB_500_TB_1 str(object=’’) -> str
DATABASE_DATA_SIZE_GB_50_100 str(object=’’) -> str
DATABASE_DATA_SIZE_GREATER_THAN_50_TB str(object=’’) -> str
DATABASE_DATA_SIZE_LESS_THAN_1_GB str(object=’’) -> str
DATABASE_DATA_SIZE_TB_10_50 str(object=’’) -> str
DATABASE_DATA_SIZE_TB_1_3 str(object=’’) -> str
DATABASE_DATA_SIZE_TB_3_10 str(object=’’) -> str
DDL_EXPECTATION_DDL_EXPECTED str(object=’’) -> str
DDL_EXPECTATION_DDL_NOT_EXPECTED str(object=’’) -> str
LIFECYCLE_STATE_ACTIVE str(object=’’) -> str
LIFECYCLE_STATE_CREATING str(object=’’) -> str
LIFECYCLE_STATE_DELETED str(object=’’) -> str
LIFECYCLE_STATE_DELETING str(object=’’) -> str
LIFECYCLE_STATE_FAILED str(object=’’) -> str
LIFECYCLE_STATE_IN_PROGRESS str(object=’’) -> str
LIFECYCLE_STATE_NEEDS_ATTENTION str(object=’’) -> str
LIFECYCLE_STATE_SUCCEEDED str(object=’’) -> str
LIFECYCLE_STATE_UPDATING str(object=’’) -> str
NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_10 str(object=’’) -> str
NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_100 str(object=’’) -> str
NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_1000 str(object=’’) -> str
NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_10000 str(object=’’) -> str
NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_2500 str(object=’’) -> str
NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_5000 str(object=’’) -> str
acceptable_downtime [Required] Gets the acceptable_downtime of this Assessment.
assessment_migration_type Gets the assessment_migration_type of this Assessment.
compartment_id [Required] Gets the compartment_id of this Assessment.
creation_type [Required] Gets the creation_type of this Assessment.
database_combination [Required] Gets the database_combination of this Assessment.
database_data_size [Required] Gets the database_data_size of this Assessment.
ddl_expectation [Required] Gets the ddl_expectation of this Assessment.
defined_tags Gets the defined_tags of this Assessment.
description Gets the description of this Assessment.
display_name [Required] Gets the display_name of this Assessment.
freeform_tags Gets the freeform_tags of this Assessment.
id [Required] Gets the id of this Assessment.
lifecycle_state [Required] Gets the lifecycle_state of this Assessment.
migration_id Gets the migration_id of this Assessment.
network_speed_megabit_per_second [Required] Gets the network_speed_megabit_per_second of this Assessment.
source_database_connection [Required] Gets the source_database_connection of this Assessment.
system_tags Gets the system_tags of this Assessment.
target_database_connection [Required] Gets the target_database_connection of this Assessment.
time_created [Required] Gets the time_created of this Assessment.
time_updated Gets the time_updated of this Assessment.

Methods

__init__(**kwargs) Initializes a new MySqlAssessment 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.
ACCEPTABLE_DOWNTIME_LESS_THAN_10_MINUTES = 'LESS_THAN_10_MINUTES'
ACCEPTABLE_DOWNTIME_LESS_THAN_12_HOURS = 'LESS_THAN_12_HOURS'
ACCEPTABLE_DOWNTIME_LESS_THAN_1_DAY = 'LESS_THAN_1_DAY'
ACCEPTABLE_DOWNTIME_LESS_THAN_1_HOUR = 'LESS_THAN_1_HOUR'
ACCEPTABLE_DOWNTIME_LESS_THAN_2_DAYS = 'LESS_THAN_2_DAYS'
ACCEPTABLE_DOWNTIME_LESS_THAN_4_HOURS = 'LESS_THAN_4_HOURS'
ACCEPTABLE_DOWNTIME_LESS_THAN_8_HOURS = 'LESS_THAN_8_HOURS'
ACCEPTABLE_DOWNTIME_MORE_THAN_2_DAYS = 'MORE_THAN_2_DAYS'
ASSESSMENT_MIGRATION_TYPE_OFFLINE = 'OFFLINE'
ASSESSMENT_MIGRATION_TYPE_ONLINE = 'ONLINE'
ASSESSMENT_MIGRATION_TYPE_ONLINE_STANDBY = 'ONLINE_STANDBY'
CREATION_TYPE_CREATE_AND_RUN_ASSESSORS = 'CREATE_AND_RUN_ASSESSORS'
CREATION_TYPE_CREATE_ONLY = 'CREATE_ONLY'
DATABASE_COMBINATION_MYSQL = 'MYSQL'
DATABASE_COMBINATION_ORACLE = 'ORACLE'
DATABASE_DATA_SIZE_GB_100_500 = 'GB_100_500'
DATABASE_DATA_SIZE_GB_10_50 = 'GB_10_50'
DATABASE_DATA_SIZE_GB_1_10 = 'GB_1_10'
DATABASE_DATA_SIZE_GB_500_TB_1 = 'GB_500_TB_1'
DATABASE_DATA_SIZE_GB_50_100 = 'GB_50_100'
DATABASE_DATA_SIZE_GREATER_THAN_50_TB = 'GREATER_THAN_50TB'
DATABASE_DATA_SIZE_LESS_THAN_1_GB = 'LESS_THAN_1GB'
DATABASE_DATA_SIZE_TB_10_50 = 'TB_10_50'
DATABASE_DATA_SIZE_TB_1_3 = 'TB_1_3'
DATABASE_DATA_SIZE_TB_3_10 = 'TB_3_10'
DDL_EXPECTATION_DDL_EXPECTED = 'DDL_EXPECTED'
DDL_EXPECTATION_DDL_NOT_EXPECTED = 'DDL_NOT_EXPECTED'
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'
LIFECYCLE_STATE_CREATING = 'CREATING'
LIFECYCLE_STATE_DELETED = 'DELETED'
LIFECYCLE_STATE_DELETING = 'DELETING'
LIFECYCLE_STATE_FAILED = 'FAILED'
LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'
LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'
LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'
LIFECYCLE_STATE_UPDATING = 'UPDATING'
NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_10 = 'MBPS_10'
NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_100 = 'MBPS_100'
NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_1000 = 'MBPS_1000'
NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_10000 = 'MBPS_10000'
NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_2500 = 'MBPS_2500'
NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_5000 = 'MBPS_5000'
__init__(**kwargs)

Initializes a new MySqlAssessment 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:
  • id (str) – The value to assign to the id property of this MySqlAssessment.
  • description (str) – The value to assign to the description property of this MySqlAssessment.
  • database_combination (str) – The value to assign to the database_combination property of this MySqlAssessment. Allowed values for this property are: “MYSQL”, “ORACLE”
  • display_name (str) – The value to assign to the display_name property of this MySqlAssessment.
  • compartment_id (str) – The value to assign to the compartment_id property of this MySqlAssessment.
  • network_speed_megabit_per_second (str) – The value to assign to the network_speed_megabit_per_second property of this MySqlAssessment. Allowed values for this property are: “MBPS_10”, “MBPS_100”, “MBPS_1000”, “MBPS_2500”, “MBPS_5000”, “MBPS_10000”
  • acceptable_downtime (str) – The value to assign to the acceptable_downtime property of this MySqlAssessment. Allowed values for this property are: “LESS_THAN_10_MINUTES”, “LESS_THAN_1_HOUR”, “LESS_THAN_4_HOURS”, “LESS_THAN_8_HOURS”, “LESS_THAN_12_HOURS”, “LESS_THAN_1_DAY”, “LESS_THAN_2_DAYS”, “MORE_THAN_2_DAYS”
  • database_data_size (str) – The value to assign to the database_data_size property of this MySqlAssessment. Allowed values for this property are: “LESS_THAN_1GB”, “GB_1_10”, “GB_10_50”, “GB_50_100”, “GB_100_500”, “GB_500_TB_1”, “TB_1_3”, “TB_3_10”, “TB_10_50”, “GREATER_THAN_50TB”
  • ddl_expectation (str) – The value to assign to the ddl_expectation property of this MySqlAssessment. Allowed values for this property are: “DDL_EXPECTED”, “DDL_NOT_EXPECTED”
  • creation_type (str) – The value to assign to the creation_type property of this MySqlAssessment. Allowed values for this property are: “CREATE_ONLY”, “CREATE_AND_RUN_ASSESSORS”
  • migration_id (str) – The value to assign to the migration_id property of this MySqlAssessment.
  • source_database_connection (oci.database_migration.models.SourceAssessmentConnection) – The value to assign to the source_database_connection property of this MySqlAssessment.
  • target_database_connection (oci.database_migration.models.TargetAssessmentConnection) – The value to assign to the target_database_connection property of this MySqlAssessment.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this MySqlAssessment. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “SUCCEEDED”, “IN_PROGRESS”, “NEEDS_ATTENTION”, “DELETING”, “DELETED”, “FAILED”
  • assessment_migration_type (str) – The value to assign to the assessment_migration_type property of this MySqlAssessment. Allowed values for this property are: “ONLINE”, “ONLINE_STANDBY”, “OFFLINE”
  • time_created (datetime) – The value to assign to the time_created property of this MySqlAssessment.
  • time_updated (datetime) – The value to assign to the time_updated property of this MySqlAssessment.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this MySqlAssessment.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this MySqlAssessment.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MySqlAssessment.
acceptable_downtime

[Required] Gets the acceptable_downtime of this Assessment. Time allowed for the application downtime.

Allowed values for this property are: “LESS_THAN_10_MINUTES”, “LESS_THAN_1_HOUR”, “LESS_THAN_4_HOURS”, “LESS_THAN_8_HOURS”, “LESS_THAN_12_HOURS”, “LESS_THAN_1_DAY”, “LESS_THAN_2_DAYS”, “MORE_THAN_2_DAYS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The acceptable_downtime of this Assessment.
Return type:str
assessment_migration_type

Gets the assessment_migration_type of this Assessment. The migration type of the migration to be performed.

Allowed values for this property are: “ONLINE”, “ONLINE_STANDBY”, “OFFLINE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The assessment_migration_type of this Assessment.
Return type:str
compartment_id

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

Returns:The compartment_id of this Assessment.
Return type:str
creation_type

[Required] Gets the creation_type of this Assessment. The type of assessment creation.

Allowed values for this property are: “CREATE_ONLY”, “CREATE_AND_RUN_ASSESSORS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The creation_type of this Assessment.
Return type:str
database_combination

[Required] Gets the database_combination of this Assessment. 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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The database_combination of this Assessment.
Return type:str
database_data_size

[Required] Gets the database_data_size of this Assessment. The size of a source database.

Allowed values for this property are: “LESS_THAN_1GB”, “GB_1_10”, “GB_10_50”, “GB_50_100”, “GB_100_500”, “GB_500_TB_1”, “TB_1_3”, “TB_3_10”, “TB_10_50”, “GREATER_THAN_50TB”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The database_data_size of this Assessment.
Return type:str
ddl_expectation

[Required] Gets the ddl_expectation of this Assessment. DDL expectation values.

Allowed values for this property are: “DDL_EXPECTED”, “DDL_NOT_EXPECTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The ddl_expectation of this Assessment.
Return type:str
defined_tags

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

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

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

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

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

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

id

[Required] Gets the id of this Assessment. The OCID of the resource being referenced.

Returns:The id of this Assessment.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this Assessment. The current state of the Assessment resource.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “SUCCEEDED”, “IN_PROGRESS”, “NEEDS_ATTENTION”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this Assessment.
Return type:str
migration_id

Gets the migration_id of this Assessment. The OCID of the resource being referenced.

Returns:The migration_id of this Assessment.
Return type:str
network_speed_megabit_per_second

[Required] Gets the network_speed_megabit_per_second of this Assessment. A network speed in Megabits per second.

Allowed values for this property are: “MBPS_10”, “MBPS_100”, “MBPS_1000”, “MBPS_2500”, “MBPS_5000”, “MBPS_10000”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The network_speed_megabit_per_second of this Assessment.
Return type:str
source_database_connection

[Required] Gets the source_database_connection of this Assessment.

Returns:The source_database_connection of this Assessment.
Return type:oci.database_migration.models.SourceAssessmentConnection
system_tags

Gets the system_tags of this Assessment. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this Assessment.
Return type:dict(str, dict(str, object))
target_database_connection

[Required] Gets the target_database_connection of this Assessment.

Returns:The target_database_connection of this Assessment.
Return type:oci.database_migration.models.TargetAssessmentConnection
time_created

[Required] Gets the time_created of this Assessment. An RFC3339 formatted datetime string such as 2016-08-25T21:10:29.600Z.

Returns:The time_created of this Assessment.
Return type:datetime
time_updated

Gets the time_updated of this Assessment. An RFC3339 formatted datetime string such as 2016-08-25T21:10:29.600Z.

Returns:The time_updated of this Assessment.
Return type:datetime