CreateMySqlAssessmentDetails¶
-
class
oci.database_migration.models.CreateMySqlAssessmentDetails(**kwargs)¶ Bases:
oci.database_migration.models.create_assessment_details.CreateAssessmentDetailsCreate MySql Assessment resource parameters.
Attributes
ACCEPTABLE_DOWNTIME_LESS_THAN_10_MINUTESstr(object=’’) -> str ACCEPTABLE_DOWNTIME_LESS_THAN_12_HOURSstr(object=’’) -> str ACCEPTABLE_DOWNTIME_LESS_THAN_1_DAYstr(object=’’) -> str ACCEPTABLE_DOWNTIME_LESS_THAN_1_HOURstr(object=’’) -> str ACCEPTABLE_DOWNTIME_LESS_THAN_2_DAYSstr(object=’’) -> str ACCEPTABLE_DOWNTIME_LESS_THAN_4_HOURSstr(object=’’) -> str ACCEPTABLE_DOWNTIME_LESS_THAN_8_HOURSstr(object=’’) -> str ACCEPTABLE_DOWNTIME_MORE_THAN_2_DAYSstr(object=’’) -> str CREATION_TYPE_CREATE_AND_RUN_ASSESSORSstr(object=’’) -> str CREATION_TYPE_CREATE_ONLYstr(object=’’) -> str DATABASE_COMBINATION_MYSQLstr(object=’’) -> str DATABASE_COMBINATION_ORACLEstr(object=’’) -> str DATABASE_DATA_SIZE_GB_100_500str(object=’’) -> str DATABASE_DATA_SIZE_GB_10_50str(object=’’) -> str DATABASE_DATA_SIZE_GB_1_10str(object=’’) -> str DATABASE_DATA_SIZE_GB_500_TB_1str(object=’’) -> str DATABASE_DATA_SIZE_GB_50_100str(object=’’) -> str DATABASE_DATA_SIZE_GREATER_THAN_50_TBstr(object=’’) -> str DATABASE_DATA_SIZE_LESS_THAN_1_GBstr(object=’’) -> str DATABASE_DATA_SIZE_TB_10_50str(object=’’) -> str DATABASE_DATA_SIZE_TB_1_3str(object=’’) -> str DATABASE_DATA_SIZE_TB_3_10str(object=’’) -> str DDL_EXPECTATION_DDL_EXPECTEDstr(object=’’) -> str DDL_EXPECTATION_DDL_NOT_EXPECTEDstr(object=’’) -> str NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_10str(object=’’) -> str NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_100str(object=’’) -> str NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_1000str(object=’’) -> str NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_10000str(object=’’) -> str NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_2500str(object=’’) -> str NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_5000str(object=’’) -> str acceptable_downtime[Required] Gets the acceptable_downtime of this CreateAssessmentDetails. bulk_include_exclude_dataGets the bulk_include_exclude_data of this CreateMySqlAssessmentDetails. compartment_id[Required] Gets the compartment_id of this CreateAssessmentDetails. creation_typeGets the creation_type of this CreateAssessmentDetails. database_combination[Required] Gets the database_combination of this CreateAssessmentDetails. database_data_size[Required] Gets the database_data_size of this CreateAssessmentDetails. ddl_expectation[Required] Gets the ddl_expectation of this CreateAssessmentDetails. defined_tagsGets the defined_tags of this CreateAssessmentDetails. descriptionGets the description of this CreateAssessmentDetails. display_nameGets the display_name of this CreateAssessmentDetails. exclude_objectsGets the exclude_objects of this CreateMySqlAssessmentDetails. freeform_tagsGets the freeform_tags of this CreateAssessmentDetails. include_objectsGets the include_objects of this CreateMySqlAssessmentDetails. network_speed_megabit_per_second[Required] Gets the network_speed_megabit_per_second of this CreateAssessmentDetails. source_database_connection[Required] Gets the source_database_connection of this CreateAssessmentDetails. target_database_connection[Required] Gets the target_database_connection of this CreateAssessmentDetails. Methods
__init__(**kwargs)Initializes a new CreateMySqlAssessmentDetails 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'¶
-
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'¶
-
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 CreateMySqlAssessmentDetails object with values from keyword arguments. The default value of the
database_combinationattribute of this class isMYSQLand 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 CreateMySqlAssessmentDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateMySqlAssessmentDetails.
- database_combination (str) – The value to assign to the database_combination property of this CreateMySqlAssessmentDetails. Allowed values for this property are: “MYSQL”, “ORACLE”
- display_name (str) – The value to assign to the display_name property of this CreateMySqlAssessmentDetails.
- network_speed_megabit_per_second (str) – The value to assign to the network_speed_megabit_per_second property of this CreateMySqlAssessmentDetails. 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 CreateMySqlAssessmentDetails. 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 CreateMySqlAssessmentDetails. 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 CreateMySqlAssessmentDetails. 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 CreateMySqlAssessmentDetails. Allowed values for this property are: “CREATE_ONLY”, “CREATE_AND_RUN_ASSESSORS”
- source_database_connection (oci.database_migration.models.SourceAssessmentConnection) – The value to assign to the source_database_connection property of this CreateMySqlAssessmentDetails.
- target_database_connection (oci.database_migration.models.TargetAssessmentConnection) – The value to assign to the target_database_connection property of this CreateMySqlAssessmentDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateMySqlAssessmentDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateMySqlAssessmentDetails.
- exclude_objects (list[oci.database_migration.models.MySqlDatabaseObject]) – The value to assign to the exclude_objects property of this CreateMySqlAssessmentDetails.
- include_objects (list[oci.database_migration.models.MySqlDatabaseObject]) – The value to assign to the include_objects property of this CreateMySqlAssessmentDetails.
- bulk_include_exclude_data (str) – The value to assign to the bulk_include_exclude_data property of this CreateMySqlAssessmentDetails.
-
acceptable_downtime¶ [Required] Gets the acceptable_downtime of this CreateAssessmentDetails. 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”
Returns: The acceptable_downtime of this CreateAssessmentDetails. Return type: str
-
bulk_include_exclude_data¶ Gets the bulk_include_exclude_data of this CreateMySqlAssessmentDetails. 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 CreateMySqlAssessmentDetails. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this CreateAssessmentDetails. The OCID of the resource being referenced.
Returns: The compartment_id of this CreateAssessmentDetails. Return type: str
-
creation_type¶ Gets the creation_type of this CreateAssessmentDetails. The type of assessment creation.
Allowed values for this property are: “CREATE_ONLY”, “CREATE_AND_RUN_ASSESSORS”
Returns: The creation_type of this CreateAssessmentDetails. Return type: str
-
database_combination¶ [Required] Gets the database_combination of this CreateAssessmentDetails. 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 CreateAssessmentDetails. Return type: str
-
database_data_size¶ [Required] Gets the database_data_size of this CreateAssessmentDetails. 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”
Returns: The database_data_size of this CreateAssessmentDetails. Return type: str
-
ddl_expectation¶ [Required] Gets the ddl_expectation of this CreateAssessmentDetails. DDL expectation values.
Allowed values for this property are: “DDL_EXPECTED”, “DDL_NOT_EXPECTED”
Returns: The ddl_expectation of this CreateAssessmentDetails. Return type: str
Gets the defined_tags of this CreateAssessmentDetails. 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 CreateAssessmentDetails. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this CreateAssessmentDetails. A user-friendly description. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The description of this CreateAssessmentDetails. Return type: str
-
display_name¶ Gets the display_name of this CreateAssessmentDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this CreateAssessmentDetails. Return type: str
-
exclude_objects¶ Gets the exclude_objects of this CreateMySqlAssessmentDetails. Database objects to exclude from migration, cannot be specified alongside ‘includeObjects’
Returns: The exclude_objects of this CreateMySqlAssessmentDetails. Return type: list[oci.database_migration.models.MySqlDatabaseObject]
Gets the freeform_tags of this CreateAssessmentDetails. 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 CreateAssessmentDetails. 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.
-
include_objects¶ Gets the include_objects of this CreateMySqlAssessmentDetails. Database objects to include from migration, cannot be specified alongside ‘excludeObjects’
Returns: The include_objects of this CreateMySqlAssessmentDetails. Return type: list[oci.database_migration.models.MySqlDatabaseObject]
-
network_speed_megabit_per_second¶ [Required] Gets the network_speed_megabit_per_second of this CreateAssessmentDetails. 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”
Returns: The network_speed_megabit_per_second of this CreateAssessmentDetails. Return type: str
-
source_database_connection¶ [Required] Gets the source_database_connection of this CreateAssessmentDetails.
Returns: The source_database_connection of this CreateAssessmentDetails. Return type: oci.database_migration.models.SourceAssessmentConnection
-
target_database_connection¶ [Required] Gets the target_database_connection of this CreateAssessmentDetails.
Returns: The target_database_connection of this CreateAssessmentDetails. Return type: oci.database_migration.models.TargetAssessmentConnection
-