Assessment¶
- class oci.database_migration.models.Assessment(**kwargs)¶
Bases:
objectAssessment resource
Attributes:
A constant which can be used with the acceptable_downtime property of a Assessment.
A constant which can be used with the acceptable_downtime property of a Assessment.
A constant which can be used with the acceptable_downtime property of a Assessment.
A constant which can be used with the acceptable_downtime property of a Assessment.
A constant which can be used with the acceptable_downtime property of a Assessment.
A constant which can be used with the acceptable_downtime property of a Assessment.
A constant which can be used with the acceptable_downtime property of a Assessment.
A constant which can be used with the acceptable_downtime property of a Assessment.
A constant which can be used with the assessment_migration_type property of a Assessment.
A constant which can be used with the assessment_migration_type property of a Assessment.
A constant which can be used with the assessment_migration_type property of a Assessment.
A constant which can be used with the creation_type property of a Assessment.
A constant which can be used with the creation_type property of a Assessment.
A constant which can be used with the database_combination property of a Assessment.
A constant which can be used with the database_combination property of a Assessment.
A constant which can be used with the database_data_size property of a Assessment.
A constant which can be used with the database_data_size property of a Assessment.
A constant which can be used with the database_data_size property of a Assessment.
A constant which can be used with the database_data_size property of a Assessment.
A constant which can be used with the database_data_size property of a Assessment.
A constant which can be used with the database_data_size property of a Assessment.
A constant which can be used with the database_data_size property of a Assessment.
A constant which can be used with the database_data_size property of a Assessment.
A constant which can be used with the database_data_size property of a Assessment.
A constant which can be used with the database_data_size property of a Assessment.
A constant which can be used with the ddl_expectation property of a Assessment.
A constant which can be used with the ddl_expectation property of a Assessment.
A constant which can be used with the lifecycle_state property of a Assessment.
A constant which can be used with the lifecycle_state property of a Assessment.
A constant which can be used with the lifecycle_state property of a Assessment.
A constant which can be used with the lifecycle_state property of a Assessment.
A constant which can be used with the lifecycle_state property of a Assessment.
A constant which can be used with the lifecycle_state property of a Assessment.
A constant which can be used with the lifecycle_state property of a Assessment.
A constant which can be used with the lifecycle_state property of a Assessment.
A constant which can be used with the lifecycle_state property of a Assessment.
A constant which can be used with the network_speed_megabit_per_second property of a Assessment.
A constant which can be used with the network_speed_megabit_per_second property of a Assessment.
A constant which can be used with the network_speed_megabit_per_second property of a Assessment.
A constant which can be used with the network_speed_megabit_per_second property of a Assessment.
A constant which can be used with the network_speed_megabit_per_second property of a Assessment.
A constant which can be used with the network_speed_megabit_per_second property of a Assessment.
[Required] Gets the acceptable_downtime of this Assessment.
Gets the assessment_migration_type of this Assessment.
[Required] Gets the compartment_id of this Assessment.
[Required] Gets the creation_type of this Assessment.
[Required] Gets the database_combination of this Assessment.
[Required] Gets the database_data_size of this Assessment.
[Required] Gets the ddl_expectation of this Assessment.
Gets the defined_tags of this Assessment.
Gets the description of this Assessment.
[Required] Gets the display_name of this Assessment.
Gets the freeform_tags of this Assessment.
[Required] Gets the id of this Assessment.
[Required] Gets the lifecycle_state of this Assessment.
Gets the migration_id of this Assessment.
[Required] Gets the network_speed_megabit_per_second of this Assessment.
[Required] Gets the source_database_connection of this Assessment.
Gets the system_tags of this Assessment.
[Required] Gets the target_database_connection of this Assessment.
[Required] Gets the time_created of this Assessment.
Gets the time_updated of this Assessment.
Methods:
__init__(**kwargs)Initializes a new Assessment 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'¶
A constant which can be used with the acceptable_downtime property of a Assessment. This constant has a value of “LESS_THAN_10_MINUTES”
- ACCEPTABLE_DOWNTIME_LESS_THAN_12_HOURS = 'LESS_THAN_12_HOURS'¶
A constant which can be used with the acceptable_downtime property of a Assessment. This constant has a value of “LESS_THAN_12_HOURS”
- ACCEPTABLE_DOWNTIME_LESS_THAN_1_DAY = 'LESS_THAN_1_DAY'¶
A constant which can be used with the acceptable_downtime property of a Assessment. This constant has a value of “LESS_THAN_1_DAY”
- ACCEPTABLE_DOWNTIME_LESS_THAN_1_HOUR = 'LESS_THAN_1_HOUR'¶
A constant which can be used with the acceptable_downtime property of a Assessment. This constant has a value of “LESS_THAN_1_HOUR”
- ACCEPTABLE_DOWNTIME_LESS_THAN_2_DAYS = 'LESS_THAN_2_DAYS'¶
A constant which can be used with the acceptable_downtime property of a Assessment. This constant has a value of “LESS_THAN_2_DAYS”
- ACCEPTABLE_DOWNTIME_LESS_THAN_4_HOURS = 'LESS_THAN_4_HOURS'¶
A constant which can be used with the acceptable_downtime property of a Assessment. This constant has a value of “LESS_THAN_4_HOURS”
- ACCEPTABLE_DOWNTIME_LESS_THAN_8_HOURS = 'LESS_THAN_8_HOURS'¶
A constant which can be used with the acceptable_downtime property of a Assessment. This constant has a value of “LESS_THAN_8_HOURS”
- ACCEPTABLE_DOWNTIME_MORE_THAN_2_DAYS = 'MORE_THAN_2_DAYS'¶
A constant which can be used with the acceptable_downtime property of a Assessment. This constant has a value of “MORE_THAN_2_DAYS”
- ASSESSMENT_MIGRATION_TYPE_OFFLINE = 'OFFLINE'¶
A constant which can be used with the assessment_migration_type property of a Assessment. This constant has a value of “OFFLINE”
- ASSESSMENT_MIGRATION_TYPE_ONLINE = 'ONLINE'¶
A constant which can be used with the assessment_migration_type property of a Assessment. This constant has a value of “ONLINE”
- ASSESSMENT_MIGRATION_TYPE_ONLINE_STANDBY = 'ONLINE_STANDBY'¶
A constant which can be used with the assessment_migration_type property of a Assessment. This constant has a value of “ONLINE_STANDBY”
- CREATION_TYPE_CREATE_AND_RUN_ASSESSORS = 'CREATE_AND_RUN_ASSESSORS'¶
A constant which can be used with the creation_type property of a Assessment. This constant has a value of “CREATE_AND_RUN_ASSESSORS”
- CREATION_TYPE_CREATE_ONLY = 'CREATE_ONLY'¶
A constant which can be used with the creation_type property of a Assessment. This constant has a value of “CREATE_ONLY”
- DATABASE_COMBINATION_MYSQL = 'MYSQL'¶
A constant which can be used with the database_combination property of a Assessment. This constant has a value of “MYSQL”
- DATABASE_COMBINATION_ORACLE = 'ORACLE'¶
A constant which can be used with the database_combination property of a Assessment. This constant has a value of “ORACLE”
- DATABASE_DATA_SIZE_GB_100_500 = 'GB_100_500'¶
A constant which can be used with the database_data_size property of a Assessment. This constant has a value of “GB_100_500”
- DATABASE_DATA_SIZE_GB_10_50 = 'GB_10_50'¶
A constant which can be used with the database_data_size property of a Assessment. This constant has a value of “GB_10_50”
- DATABASE_DATA_SIZE_GB_1_10 = 'GB_1_10'¶
A constant which can be used with the database_data_size property of a Assessment. This constant has a value of “GB_1_10”
- DATABASE_DATA_SIZE_GB_500_TB_1 = 'GB_500_TB_1'¶
A constant which can be used with the database_data_size property of a Assessment. This constant has a value of “GB_500_TB_1”
- DATABASE_DATA_SIZE_GB_50_100 = 'GB_50_100'¶
A constant which can be used with the database_data_size property of a Assessment. This constant has a value of “GB_50_100”
- DATABASE_DATA_SIZE_GREATER_THAN_50_TB = 'GREATER_THAN_50TB'¶
A constant which can be used with the database_data_size property of a Assessment. This constant has a value of “GREATER_THAN_50TB”
- DATABASE_DATA_SIZE_LESS_THAN_1_GB = 'LESS_THAN_1GB'¶
A constant which can be used with the database_data_size property of a Assessment. This constant has a value of “LESS_THAN_1GB”
- DATABASE_DATA_SIZE_TB_10_50 = 'TB_10_50'¶
A constant which can be used with the database_data_size property of a Assessment. This constant has a value of “TB_10_50”
- DATABASE_DATA_SIZE_TB_1_3 = 'TB_1_3'¶
A constant which can be used with the database_data_size property of a Assessment. This constant has a value of “TB_1_3”
- DATABASE_DATA_SIZE_TB_3_10 = 'TB_3_10'¶
A constant which can be used with the database_data_size property of a Assessment. This constant has a value of “TB_3_10”
- DDL_EXPECTATION_DDL_EXPECTED = 'DDL_EXPECTED'¶
A constant which can be used with the ddl_expectation property of a Assessment. This constant has a value of “DDL_EXPECTED”
- DDL_EXPECTATION_DDL_NOT_EXPECTED = 'DDL_NOT_EXPECTED'¶
A constant which can be used with the ddl_expectation property of a Assessment. This constant has a value of “DDL_NOT_EXPECTED”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a Assessment. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a Assessment. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a Assessment. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a Assessment. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a Assessment. This constant has a value of “FAILED”
- LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'¶
A constant which can be used with the lifecycle_state property of a Assessment. This constant has a value of “IN_PROGRESS”
- LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'¶
A constant which can be used with the lifecycle_state property of a Assessment. This constant has a value of “NEEDS_ATTENTION”
- LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'¶
A constant which can be used with the lifecycle_state property of a Assessment. This constant has a value of “SUCCEEDED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a Assessment. This constant has a value of “UPDATING”
- NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_10 = 'MBPS_10'¶
A constant which can be used with the network_speed_megabit_per_second property of a Assessment. This constant has a value of “MBPS_10”
- NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_100 = 'MBPS_100'¶
A constant which can be used with the network_speed_megabit_per_second property of a Assessment. This constant has a value of “MBPS_100”
- NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_1000 = 'MBPS_1000'¶
A constant which can be used with the network_speed_megabit_per_second property of a Assessment. This constant has a value of “MBPS_1000”
- NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_10000 = 'MBPS_10000'¶
A constant which can be used with the network_speed_megabit_per_second property of a Assessment. This constant has a value of “MBPS_10000”
- NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_2500 = 'MBPS_2500'¶
A constant which can be used with the network_speed_megabit_per_second property of a Assessment. This constant has a value of “MBPS_2500”
- NETWORK_SPEED_MEGABIT_PER_SECOND_MBPS_5000 = 'MBPS_5000'¶
A constant which can be used with the network_speed_megabit_per_second property of a Assessment. This constant has a value of “MBPS_5000”
- __init__(**kwargs)¶
Initializes a new Assessment 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
id (str) – The value to assign to the id property of this Assessment.
description (str) – The value to assign to the description property of this Assessment.
database_combination (str) – The value to assign to the database_combination property of this Assessment. 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’.
display_name (str) – The value to assign to the display_name property of this Assessment.
compartment_id (str) – The value to assign to the compartment_id property of this Assessment.
network_speed_megabit_per_second (str) – The value to assign to the network_speed_megabit_per_second property of this Assessment. 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’.
acceptable_downtime (str) – The value to assign to the acceptable_downtime property of this Assessment. 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’.
database_data_size (str) – The value to assign to the database_data_size property of this Assessment. 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’.
ddl_expectation (str) – The value to assign to the ddl_expectation property of this Assessment. 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’.
creation_type (str) – The value to assign to the creation_type property of this Assessment. 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’.
migration_id (str) – The value to assign to the migration_id property of this Assessment.
source_database_connection (oci.database_migration.models.SourceAssessmentConnection) – The value to assign to the source_database_connection property of this Assessment.
target_database_connection (oci.database_migration.models.TargetAssessmentConnection) – The value to assign to the target_database_connection property of this Assessment.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this Assessment. 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’.
assessment_migration_type (str) – The value to assign to the assessment_migration_type property of this Assessment. 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’.
time_created (datetime) – The value to assign to the time_created property of this Assessment.
time_updated (datetime) – The value to assign to the time_updated property of this Assessment.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this Assessment.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Assessment.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this Assessment.
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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))
- property 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
- property 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
- property 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.
- property id¶
[Required] Gets the id of this Assessment. The OCID of the resource being referenced.
- Returns
The id of this Assessment.
- Return type
str
- property 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
- property 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
- property 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
- property source_database_connection¶
[Required] Gets the source_database_connection of this Assessment.
- Returns
The source_database_connection of this Assessment.
- Return type
- property 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))
- property target_database_connection¶
[Required] Gets the target_database_connection of this Assessment.
- Returns
The target_database_connection of this Assessment.
- Return type
- property 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
- property 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