PhaseStatus¶
-
class
oci.database_migration.models.
PhaseStatus
(**kwargs)¶ Bases:
object
Job phase status details.
Attributes
NAME_ODMS_CLEANUP
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_DATA_UPLOAD
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_INITIALIZE_GGS
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_INITIAL_LOAD_EXPORT
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_INITIAL_LOAD_IMPORT
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_MONITOR_REPLICATION_LAG
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_POST_INITIAL_LOAD
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_PREPARE
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_PREPARE_REPLICATION_TARGET
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_SWITCHOVER
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_DATAPUMP_ESTIMATE_SRC
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_DATAPUMP_SETTINGS
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_DATAPUMP_SETTINGS_SRC
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_DATAPUMP_SETTINGS_TGT
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_DATAPUMP_SRC
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_GG_HUB
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_GG_SERVICE
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_PREMIGRATION_ADVISOR
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_SRC
A constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_TGT
A constant which can be used with the name property of a PhaseStatus. STATUS_COMPLETED
A constant which can be used with the status property of a PhaseStatus. STATUS_FAILED
A constant which can be used with the status property of a PhaseStatus. STATUS_PENDING
A constant which can be used with the status property of a PhaseStatus. STATUS_STARTED
A constant which can be used with the status property of a PhaseStatus. action
Gets the action of this PhaseStatus. duration_in_ms
[Required] Gets the duration_in_ms of this PhaseStatus. extract
Gets the extract of this PhaseStatus. is_advisor_report_available
Gets the is_advisor_report_available of this PhaseStatus. issue
Gets the issue of this PhaseStatus. log_location
Gets the log_location of this PhaseStatus. name
[Required] Gets the name of this PhaseStatus. progress
Gets the progress of this PhaseStatus. status
[Required] Gets the status of this PhaseStatus. Methods
__init__
(**kwargs)Initializes a new PhaseStatus object with values from keyword arguments. -
NAME_ODMS_CLEANUP
= 'ODMS_CLEANUP'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_CLEANUP”
-
NAME_ODMS_DATA_UPLOAD
= 'ODMS_DATA_UPLOAD'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_DATA_UPLOAD”
-
NAME_ODMS_INITIALIZE_GGS
= 'ODMS_INITIALIZE_GGS'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_INITIALIZE_GGS”
-
NAME_ODMS_INITIAL_LOAD_EXPORT
= 'ODMS_INITIAL_LOAD_EXPORT'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_INITIAL_LOAD_EXPORT”
-
NAME_ODMS_INITIAL_LOAD_IMPORT
= 'ODMS_INITIAL_LOAD_IMPORT'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_INITIAL_LOAD_IMPORT”
-
NAME_ODMS_MONITOR_REPLICATION_LAG
= 'ODMS_MONITOR_REPLICATION_LAG'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_MONITOR_REPLICATION_LAG”
-
NAME_ODMS_POST_INITIAL_LOAD
= 'ODMS_POST_INITIAL_LOAD'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_POST_INITIAL_LOAD”
-
NAME_ODMS_PREPARE
= 'ODMS_PREPARE'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_PREPARE”
-
NAME_ODMS_PREPARE_REPLICATION_TARGET
= 'ODMS_PREPARE_REPLICATION_TARGET'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_PREPARE_REPLICATION_TARGET”
-
NAME_ODMS_SWITCHOVER
= 'ODMS_SWITCHOVER'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_SWITCHOVER”
-
NAME_ODMS_VALIDATE
= 'ODMS_VALIDATE'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_VALIDATE”
-
NAME_ODMS_VALIDATE_DATAPUMP_ESTIMATE_SRC
= 'ODMS_VALIDATE_DATAPUMP_ESTIMATE_SRC'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_VALIDATE_DATAPUMP_ESTIMATE_SRC”
-
NAME_ODMS_VALIDATE_DATAPUMP_SETTINGS
= 'ODMS_VALIDATE_DATAPUMP_SETTINGS'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_VALIDATE_DATAPUMP_SETTINGS”
-
NAME_ODMS_VALIDATE_DATAPUMP_SETTINGS_SRC
= 'ODMS_VALIDATE_DATAPUMP_SETTINGS_SRC'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_VALIDATE_DATAPUMP_SETTINGS_SRC”
-
NAME_ODMS_VALIDATE_DATAPUMP_SETTINGS_TGT
= 'ODMS_VALIDATE_DATAPUMP_SETTINGS_TGT'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_VALIDATE_DATAPUMP_SETTINGS_TGT”
-
NAME_ODMS_VALIDATE_DATAPUMP_SRC
= 'ODMS_VALIDATE_DATAPUMP_SRC'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_VALIDATE_DATAPUMP_SRC”
-
NAME_ODMS_VALIDATE_GG_HUB
= 'ODMS_VALIDATE_GG_HUB'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_VALIDATE_GG_HUB”
-
NAME_ODMS_VALIDATE_GG_SERVICE
= 'ODMS_VALIDATE_GG_SERVICE'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_VALIDATE_GG_SERVICE”
-
NAME_ODMS_VALIDATE_PREMIGRATION_ADVISOR
= 'ODMS_VALIDATE_PREMIGRATION_ADVISOR'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_VALIDATE_PREMIGRATION_ADVISOR”
-
NAME_ODMS_VALIDATE_SRC
= 'ODMS_VALIDATE_SRC'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_VALIDATE_SRC”
-
NAME_ODMS_VALIDATE_TGT
= 'ODMS_VALIDATE_TGT'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_VALIDATE_TGT”
-
STATUS_COMPLETED
= 'COMPLETED'¶ A constant which can be used with the status property of a PhaseStatus. This constant has a value of “COMPLETED”
-
STATUS_FAILED
= 'FAILED'¶ A constant which can be used with the status property of a PhaseStatus. This constant has a value of “FAILED”
-
STATUS_PENDING
= 'PENDING'¶ A constant which can be used with the status property of a PhaseStatus. This constant has a value of “PENDING”
-
STATUS_STARTED
= 'STARTED'¶ A constant which can be used with the status property of a PhaseStatus. This constant has a value of “STARTED”
-
__init__
(**kwargs)¶ Initializes a new PhaseStatus object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this PhaseStatus. Allowed values for this property are: “ODMS_VALIDATE_TGT”, “ODMS_VALIDATE_SRC”, “ODMS_VALIDATE_PREMIGRATION_ADVISOR”, “ODMS_VALIDATE_GG_HUB”, “ODMS_VALIDATE_GG_SERVICE”, “ODMS_VALIDATE_DATAPUMP_SETTINGS”, “ODMS_VALIDATE_DATAPUMP_SETTINGS_SRC”, “ODMS_VALIDATE_DATAPUMP_SETTINGS_TGT”, “ODMS_VALIDATE_DATAPUMP_SRC”, “ODMS_VALIDATE_DATAPUMP_ESTIMATE_SRC”, “ODMS_INITIALIZE_GGS”, “ODMS_VALIDATE”, “ODMS_PREPARE”, “ODMS_INITIAL_LOAD_EXPORT”, “ODMS_DATA_UPLOAD”, “ODMS_INITIAL_LOAD_IMPORT”, “ODMS_POST_INITIAL_LOAD”, “ODMS_PREPARE_REPLICATION_TARGET”, “ODMS_MONITOR_REPLICATION_LAG”, “ODMS_SWITCHOVER”, “ODMS_CLEANUP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- status (str) – The value to assign to the status property of this PhaseStatus. Allowed values for this property are: “PENDING”, “STARTED”, “COMPLETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- duration_in_ms (int) – The value to assign to the duration_in_ms property of this PhaseStatus.
- is_advisor_report_available (bool) – The value to assign to the is_advisor_report_available property of this PhaseStatus.
- issue (str) – The value to assign to the issue property of this PhaseStatus.
- action (str) – The value to assign to the action property of this PhaseStatus.
- extract (list[oci.database_migration.models.PhaseExtractEntry]) – The value to assign to the extract property of this PhaseStatus.
- log_location (oci.database_migration.models.LogLocationBucketDetails) – The value to assign to the log_location property of this PhaseStatus.
- progress (int) – The value to assign to the progress property of this PhaseStatus.
-
action
¶ Gets the action of this PhaseStatus. The text describing the action required to fix the issue
Returns: The action of this PhaseStatus. Return type: str
-
duration_in_ms
¶ [Required] Gets the duration_in_ms of this PhaseStatus. Duration of the phase in milliseconds
Returns: The duration_in_ms of this PhaseStatus. Return type: int
-
extract
¶ Gets the extract of this PhaseStatus. Summary of phase status results.
Returns: The extract of this PhaseStatus. Return type: list[oci.database_migration.models.PhaseExtractEntry]
-
is_advisor_report_available
¶ Gets the is_advisor_report_available of this PhaseStatus. True if a Pre-Migration Advisor report is available for this phase. False or null if no report is available.
Returns: The is_advisor_report_available of this PhaseStatus. Return type: bool
-
issue
¶ Gets the issue of this PhaseStatus. The text describing the root cause of the reported issue
Returns: The issue of this PhaseStatus. Return type: str
-
log_location
¶ Gets the log_location of this PhaseStatus.
Returns: The log_location of this PhaseStatus. Return type: oci.database_migration.models.LogLocationBucketDetails
-
name
¶ [Required] Gets the name of this PhaseStatus. Phase name
Allowed values for this property are: “ODMS_VALIDATE_TGT”, “ODMS_VALIDATE_SRC”, “ODMS_VALIDATE_PREMIGRATION_ADVISOR”, “ODMS_VALIDATE_GG_HUB”, “ODMS_VALIDATE_GG_SERVICE”, “ODMS_VALIDATE_DATAPUMP_SETTINGS”, “ODMS_VALIDATE_DATAPUMP_SETTINGS_SRC”, “ODMS_VALIDATE_DATAPUMP_SETTINGS_TGT”, “ODMS_VALIDATE_DATAPUMP_SRC”, “ODMS_VALIDATE_DATAPUMP_ESTIMATE_SRC”, “ODMS_INITIALIZE_GGS”, “ODMS_VALIDATE”, “ODMS_PREPARE”, “ODMS_INITIAL_LOAD_EXPORT”, “ODMS_DATA_UPLOAD”, “ODMS_INITIAL_LOAD_IMPORT”, “ODMS_POST_INITIAL_LOAD”, “ODMS_PREPARE_REPLICATION_TARGET”, “ODMS_MONITOR_REPLICATION_LAG”, “ODMS_SWITCHOVER”, “ODMS_CLEANUP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The name of this PhaseStatus. Return type: str
-
progress
¶ Gets the progress of this PhaseStatus. Percent progress of job phase.
Returns: The progress of this PhaseStatus. Return type: int
-
status
¶ [Required] Gets the status of this PhaseStatus. Phase status
Allowed values for this property are: “PENDING”, “STARTED”, “COMPLETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this PhaseStatus. Return type: str
-