PhaseStatus¶
-
class
oci.database_migration.models.PhaseStatus(**kwargs)¶ Bases:
objectJob phase status details.
Attributes
EDITABLE_PARAMETER_FILES_EXTRACTA constant which can be used with the editable_parameter_files property of a PhaseStatus. EDITABLE_PARAMETER_FILES_REPLICATA constant which can be used with the editable_parameter_files property of a PhaseStatus. NAME_ODMS_CLEANUPA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_DATA_UPLOADA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_FETCH_METADATA_SRCA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_FETCH_METADATA_TGTA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_INITIALIZE_REPLICATION_INFRASTRUCTUREA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_INITIAL_LOAD_EXPORTA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_INITIAL_LOAD_EXPORT_DATA_UPLOADA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_INITIAL_LOAD_IMPORTA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_METADATA_TRANSFERA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_MONITOR_REPLICATION_LAGA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_POST_INITIAL_LOADA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_PREPAREA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_PREPARE_REPLICATION_TARGETA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_SWITCHOVERA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATEA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_DATAPUMP_ESTIMATE_SRCA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_DATAPUMP_SETTINGSA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_DATAPUMP_SETTINGS_SRCA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_DATAPUMP_SETTINGS_TGTA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_DATAPUMP_SRCA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_GG_HUBA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_PREMIGRATION_ADVISORA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_SRCA constant which can be used with the name property of a PhaseStatus. NAME_ODMS_VALIDATE_TGTA constant which can be used with the name property of a PhaseStatus. STATUS_COMPLETEDA constant which can be used with the status property of a PhaseStatus. STATUS_FAILEDA constant which can be used with the status property of a PhaseStatus. STATUS_PENDINGA constant which can be used with the status property of a PhaseStatus. STATUS_STARTEDA constant which can be used with the status property of a PhaseStatus. actionGets the action of this PhaseStatus. duration_in_ms[Required] Gets the duration_in_ms of this PhaseStatus. editable_parameter_filesGets the editable_parameter_files of this PhaseStatus. extractGets the extract of this PhaseStatus. is_advisor_report_availableGets the is_advisor_report_available of this PhaseStatus. is_suspend_availableGets the is_suspend_available of this PhaseStatus. issueGets the issue of this PhaseStatus. log_locationGets the log_location of this PhaseStatus. name[Required] Gets the name of this PhaseStatus. progressGets 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. -
EDITABLE_PARAMETER_FILES_EXTRACT= 'EXTRACT'¶ A constant which can be used with the editable_parameter_files property of a PhaseStatus. This constant has a value of “EXTRACT”
-
EDITABLE_PARAMETER_FILES_REPLICAT= 'REPLICAT'¶ A constant which can be used with the editable_parameter_files property of a PhaseStatus. This constant has a value of “REPLICAT”
-
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_FETCH_METADATA_SRC= 'ODMS_FETCH_METADATA_SRC'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_FETCH_METADATA_SRC”
-
NAME_ODMS_FETCH_METADATA_TGT= 'ODMS_FETCH_METADATA_TGT'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_FETCH_METADATA_TGT”
-
NAME_ODMS_INITIALIZE_REPLICATION_INFRASTRUCTURE= 'ODMS_INITIALIZE_REPLICATION_INFRASTRUCTURE'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_INITIALIZE_REPLICATION_INFRASTRUCTURE”
-
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_EXPORT_DATA_UPLOAD= 'ODMS_INITIAL_LOAD_EXPORT_DATA_UPLOAD'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_INITIAL_LOAD_EXPORT_DATA_UPLOAD”
-
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_METADATA_TRANSFER= 'ODMS_METADATA_TRANSFER'¶ A constant which can be used with the name property of a PhaseStatus. This constant has a value of “ODMS_METADATA_TRANSFER”
-
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_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_DATAPUMP_SETTINGS”, “ODMS_VALIDATE_DATAPUMP_SETTINGS_SRC”, “ODMS_VALIDATE_DATAPUMP_SETTINGS_TGT”, “ODMS_VALIDATE_DATAPUMP_SRC”, “ODMS_VALIDATE_DATAPUMP_ESTIMATE_SRC”, “ODMS_FETCH_METADATA_SRC”, “ODMS_FETCH_METADATA_TGT”, “ODMS_VALIDATE”, “ODMS_PREPARE”, “ODMS_INITIALIZE_REPLICATION_INFRASTRUCTURE”, “ODMS_INITIAL_LOAD_EXPORT”, “ODMS_DATA_UPLOAD”, “ODMS_METADATA_TRANSFER”, “ODMS_INITIAL_LOAD_EXPORT_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.
- is_suspend_available (bool) – The value to assign to the is_suspend_available property of this PhaseStatus.
- editable_parameter_files (list[str]) – The value to assign to the editable_parameter_files property of this PhaseStatus. Allowed values for items in this list are: “EXTRACT”, “REPLICAT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
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
-
editable_parameter_files¶ Gets the editable_parameter_files of this PhaseStatus. Attribute that returns an array of names and types of GoldenGate configuration files that are available for read or update.
Allowed values for items in this list are: “EXTRACT”, “REPLICAT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The editable_parameter_files of this PhaseStatus. Return type: list[str]
-
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
-
is_suspend_available¶ Gets the is_suspend_available of this PhaseStatus. This is returned as true if the current phase can be suspended.
Returns: The is_suspend_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_DATAPUMP_SETTINGS”, “ODMS_VALIDATE_DATAPUMP_SETTINGS_SRC”, “ODMS_VALIDATE_DATAPUMP_SETTINGS_TGT”, “ODMS_VALIDATE_DATAPUMP_SRC”, “ODMS_VALIDATE_DATAPUMP_ESTIMATE_SRC”, “ODMS_FETCH_METADATA_SRC”, “ODMS_FETCH_METADATA_TGT”, “ODMS_VALIDATE”, “ODMS_PREPARE”, “ODMS_INITIALIZE_REPLICATION_INFRASTRUCTURE”, “ODMS_INITIAL_LOAD_EXPORT”, “ODMS_DATA_UPLOAD”, “ODMS_METADATA_TRANSFER”, “ODMS_INITIAL_LOAD_EXPORT_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
-