OracleAssessment¶
-
class
oci.database_migration.models.OracleAssessment(**kwargs)¶ Bases:
oci.database_migration.models.assessment.AssessmentOracle Assessment resource
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 ASSESSMENT_MIGRATION_TYPE_OFFLINEstr(object=’’) -> str ASSESSMENT_MIGRATION_TYPE_ONLINEstr(object=’’) -> str ASSESSMENT_MIGRATION_TYPE_ONLINE_STANDBYstr(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 LIFECYCLE_STATE_ACTIVEstr(object=’’) -> str LIFECYCLE_STATE_CREATINGstr(object=’’) -> str LIFECYCLE_STATE_DELETEDstr(object=’’) -> str LIFECYCLE_STATE_DELETINGstr(object=’’) -> str LIFECYCLE_STATE_FAILEDstr(object=’’) -> str LIFECYCLE_STATE_IN_PROGRESSstr(object=’’) -> str LIFECYCLE_STATE_NEEDS_ATTENTIONstr(object=’’) -> str LIFECYCLE_STATE_SUCCEEDEDstr(object=’’) -> str LIFECYCLE_STATE_UPDATINGstr(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 Assessment. assessment_migration_typeGets 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_tagsGets the defined_tags of this Assessment. descriptionGets the description of this Assessment. display_name[Required] Gets the display_name of this Assessment. freeform_tagsGets the freeform_tags of this Assessment. id[Required] Gets the id of this Assessment. is_cdb_supportedGets the is_cdb_supported of this OracleAssessment. lifecycle_state[Required] Gets the lifecycle_state of this Assessment. migration_idGets 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_tagsGets 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_updatedGets the time_updated of this Assessment. Methods
__init__(**kwargs)Initializes a new OracleAssessment 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 OracleAssessment object with values from keyword arguments. The default value of the
database_combinationattribute of this class isORACLEand 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 OracleAssessment.
- description (str) – The value to assign to the description property of this OracleAssessment.
- database_combination (str) – The value to assign to the database_combination property of this OracleAssessment. Allowed values for this property are: “MYSQL”, “ORACLE”
- display_name (str) – The value to assign to the display_name property of this OracleAssessment.
- compartment_id (str) – The value to assign to the compartment_id property of this OracleAssessment.
- network_speed_megabit_per_second (str) – The value to assign to the network_speed_megabit_per_second property of this OracleAssessment. 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 OracleAssessment. 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 OracleAssessment. 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 OracleAssessment. 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 OracleAssessment. 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 OracleAssessment.
- source_database_connection (oci.database_migration.models.SourceAssessmentConnection) – The value to assign to the source_database_connection property of this OracleAssessment.
- target_database_connection (oci.database_migration.models.TargetAssessmentConnection) – The value to assign to the target_database_connection property of this OracleAssessment.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this OracleAssessment. 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 OracleAssessment. Allowed values for this property are: “ONLINE”, “ONLINE_STANDBY”, “OFFLINE”
- time_created (datetime) – The value to assign to the time_created property of this OracleAssessment.
- time_updated (datetime) – The value to assign to the time_updated property of this OracleAssessment.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this OracleAssessment.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this OracleAssessment.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this OracleAssessment.
- is_cdb_supported (bool) – The value to assign to the is_cdb_supported property of this OracleAssessment.
-
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
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
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
-
is_cdb_supported¶ Gets the is_cdb_supported of this OracleAssessment. True if CDB should be defined, false otherwise.
Returns: The is_cdb_supported of this OracleAssessment. Return type: bool
-
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
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
-