WorkRequest¶
-
class
oci.golden_gate.models.WorkRequest(**kwargs)¶ Bases:
objectThe API operations that create and configure GoldenGate resources do not take effect immediately. In these cases, the operation spawns an asynchronous workflow to fulfill the request. Work requests provide visibility into the status of these in-progress, long-running asynchronous workflows.
Attributes
OPERATION_TYPE_GOLDENGATE_CONNECTION_ASSIGMNENT_DELETEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_CONNECTION_ASSIGNMENT_CREATEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_CONNECTION_ASSIGNMENT_DELETEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_CONNECTION_CREATEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_CONNECTION_DELETEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_CONNECTION_MOVEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_CONNECTION_REFRESHA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_CONNECTION_UPDATEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DATABASE_REGISTRATION_CREATEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DATABASE_REGISTRATION_DELETEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DATABASE_REGISTRATION_MOVEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DATABASE_REGISTRATION_UPDATEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_BACKUP_CANCELA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_BACKUP_COPYA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_BACKUP_CREATEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_BACKUP_DELETEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_CERTIFICATE_CREATEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_CERTIFICATE_DELETEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_CREATEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_DELETEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_DIAGNOSTIC_COLLECTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_MOVEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_RESTOREA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_STARTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_STOPA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_UPDATEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_UPGRADEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_UPGRADE_ROLLBACKA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_UPGRADE_SNOOZEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_UPGRADE_UPGRADEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_WALLET_EXPORTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_WALLET_IMPORTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_PIPELINE_CREATEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_PIPELINE_DELETEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_PIPELINE_DIAGNOSTICS_COLLECTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_PIPELINE_MOVEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_PIPELINE_STARTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_PIPELINE_STOPA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_PIPELINE_UPDATEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_GOLDENGATE_SWITCHOVER_DEPLOYMENT_PEERA constant which can be used with the operation_type property of a WorkRequest. STATUS_ACCEPTEDA constant which can be used with the status property of a WorkRequest. STATUS_CANCELEDA constant which can be used with the status property of a WorkRequest. STATUS_FAILEDA constant which can be used with the status property of a WorkRequest. STATUS_IN_PROGRESSA constant which can be used with the status property of a WorkRequest. STATUS_SUCCEEDEDA constant which can be used with the status property of a WorkRequest. compartment_id[Required] Gets the compartment_id of this WorkRequest. id[Required] Gets the id of this WorkRequest. operation_type[Required] Gets the operation_type of this WorkRequest. percent_complete[Required] Gets the percent_complete of this WorkRequest. resources[Required] Gets the resources of this WorkRequest. status[Required] Gets the status of this WorkRequest. time_accepted[Required] Gets the time_accepted of this WorkRequest. time_finishedGets the time_finished of this WorkRequest. time_startedGets the time_started of this WorkRequest. Methods
__init__(**kwargs)Initializes a new WorkRequest object with values from keyword arguments. -
OPERATION_TYPE_GOLDENGATE_CONNECTION_ASSIGMNENT_DELETE= 'GOLDENGATE_CONNECTION_ASSIGMNENT_DELETE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_CONNECTION_ASSIGMNENT_DELETE”
-
OPERATION_TYPE_GOLDENGATE_CONNECTION_ASSIGNMENT_CREATE= 'GOLDENGATE_CONNECTION_ASSIGNMENT_CREATE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_CONNECTION_ASSIGNMENT_CREATE”
-
OPERATION_TYPE_GOLDENGATE_CONNECTION_ASSIGNMENT_DELETE= 'GOLDENGATE_CONNECTION_ASSIGNMENT_DELETE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_CONNECTION_ASSIGNMENT_DELETE”
-
OPERATION_TYPE_GOLDENGATE_CONNECTION_CREATE= 'GOLDENGATE_CONNECTION_CREATE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_CONNECTION_CREATE”
-
OPERATION_TYPE_GOLDENGATE_CONNECTION_DELETE= 'GOLDENGATE_CONNECTION_DELETE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_CONNECTION_DELETE”
-
OPERATION_TYPE_GOLDENGATE_CONNECTION_MOVE= 'GOLDENGATE_CONNECTION_MOVE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_CONNECTION_MOVE”
-
OPERATION_TYPE_GOLDENGATE_CONNECTION_REFRESH= 'GOLDENGATE_CONNECTION_REFRESH'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_CONNECTION_REFRESH”
-
OPERATION_TYPE_GOLDENGATE_CONNECTION_UPDATE= 'GOLDENGATE_CONNECTION_UPDATE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_CONNECTION_UPDATE”
-
OPERATION_TYPE_GOLDENGATE_DATABASE_REGISTRATION_CREATE= 'GOLDENGATE_DATABASE_REGISTRATION_CREATE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DATABASE_REGISTRATION_CREATE”
-
OPERATION_TYPE_GOLDENGATE_DATABASE_REGISTRATION_DELETE= 'GOLDENGATE_DATABASE_REGISTRATION_DELETE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DATABASE_REGISTRATION_DELETE”
-
OPERATION_TYPE_GOLDENGATE_DATABASE_REGISTRATION_MOVE= 'GOLDENGATE_DATABASE_REGISTRATION_MOVE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DATABASE_REGISTRATION_MOVE”
-
OPERATION_TYPE_GOLDENGATE_DATABASE_REGISTRATION_UPDATE= 'GOLDENGATE_DATABASE_REGISTRATION_UPDATE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DATABASE_REGISTRATION_UPDATE”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_BACKUP_CANCEL= 'GOLDENGATE_DEPLOYMENT_BACKUP_CANCEL'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_BACKUP_CANCEL”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_BACKUP_COPY= 'GOLDENGATE_DEPLOYMENT_BACKUP_COPY'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_BACKUP_COPY”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_BACKUP_CREATE= 'GOLDENGATE_DEPLOYMENT_BACKUP_CREATE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_BACKUP_CREATE”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_BACKUP_DELETE= 'GOLDENGATE_DEPLOYMENT_BACKUP_DELETE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_BACKUP_DELETE”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_CERTIFICATE_CREATE= 'GOLDENGATE_DEPLOYMENT_CERTIFICATE_CREATE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_CERTIFICATE_CREATE”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_CERTIFICATE_DELETE= 'GOLDENGATE_DEPLOYMENT_CERTIFICATE_DELETE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_CERTIFICATE_DELETE”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_CREATE= 'GOLDENGATE_DEPLOYMENT_CREATE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_CREATE”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_DELETE= 'GOLDENGATE_DEPLOYMENT_DELETE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_DELETE”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_DIAGNOSTIC_COLLECT= 'GOLDENGATE_DEPLOYMENT_DIAGNOSTIC_COLLECT'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_DIAGNOSTIC_COLLECT”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_MOVE= 'GOLDENGATE_DEPLOYMENT_MOVE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_MOVE”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_RESTORE= 'GOLDENGATE_DEPLOYMENT_RESTORE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_RESTORE”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_START= 'GOLDENGATE_DEPLOYMENT_START'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_START”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_STOP= 'GOLDENGATE_DEPLOYMENT_STOP'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_STOP”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_UPDATE= 'GOLDENGATE_DEPLOYMENT_UPDATE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_UPDATE”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_UPGRADE= 'GOLDENGATE_DEPLOYMENT_UPGRADE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_UPGRADE”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_UPGRADE_ROLLBACK= 'GOLDENGATE_DEPLOYMENT_UPGRADE_ROLLBACK'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_UPGRADE_ROLLBACK”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_UPGRADE_SNOOZE= 'GOLDENGATE_DEPLOYMENT_UPGRADE_SNOOZE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_UPGRADE_SNOOZE”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_UPGRADE_UPGRADE= 'GOLDENGATE_DEPLOYMENT_UPGRADE_UPGRADE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_UPGRADE_UPGRADE”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_WALLET_EXPORT= 'GOLDENGATE_DEPLOYMENT_WALLET_EXPORT'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_WALLET_EXPORT”
-
OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_WALLET_IMPORT= 'GOLDENGATE_DEPLOYMENT_WALLET_IMPORT'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_DEPLOYMENT_WALLET_IMPORT”
-
OPERATION_TYPE_GOLDENGATE_PIPELINE_CREATE= 'GOLDENGATE_PIPELINE_CREATE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_PIPELINE_CREATE”
-
OPERATION_TYPE_GOLDENGATE_PIPELINE_DELETE= 'GOLDENGATE_PIPELINE_DELETE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_PIPELINE_DELETE”
-
OPERATION_TYPE_GOLDENGATE_PIPELINE_DIAGNOSTICS_COLLECT= 'GOLDENGATE_PIPELINE_DIAGNOSTICS_COLLECT'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_PIPELINE_DIAGNOSTICS_COLLECT”
-
OPERATION_TYPE_GOLDENGATE_PIPELINE_MOVE= 'GOLDENGATE_PIPELINE_MOVE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_PIPELINE_MOVE”
-
OPERATION_TYPE_GOLDENGATE_PIPELINE_START= 'GOLDENGATE_PIPELINE_START'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_PIPELINE_START”
-
OPERATION_TYPE_GOLDENGATE_PIPELINE_STOP= 'GOLDENGATE_PIPELINE_STOP'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_PIPELINE_STOP”
-
OPERATION_TYPE_GOLDENGATE_PIPELINE_UPDATE= 'GOLDENGATE_PIPELINE_UPDATE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_PIPELINE_UPDATE”
-
OPERATION_TYPE_GOLDENGATE_SWITCHOVER_DEPLOYMENT_PEER= 'GOLDENGATE_SWITCHOVER_DEPLOYMENT_PEER'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “GOLDENGATE_SWITCHOVER_DEPLOYMENT_PEER”
-
STATUS_ACCEPTED= 'ACCEPTED'¶ A constant which can be used with the status property of a WorkRequest. This constant has a value of “ACCEPTED”
-
STATUS_CANCELED= 'CANCELED'¶ A constant which can be used with the status property of a WorkRequest. This constant has a value of “CANCELED”
-
STATUS_FAILED= 'FAILED'¶ A constant which can be used with the status property of a WorkRequest. This constant has a value of “FAILED”
-
STATUS_IN_PROGRESS= 'IN_PROGRESS'¶ A constant which can be used with the status property of a WorkRequest. This constant has a value of “IN_PROGRESS”
-
STATUS_SUCCEEDED= 'SUCCEEDED'¶ A constant which can be used with the status property of a WorkRequest. This constant has a value of “SUCCEEDED”
-
__init__(**kwargs)¶ Initializes a new WorkRequest object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - operation_type (str) – The value to assign to the operation_type property of this WorkRequest. Allowed values for this property are: “GOLDENGATE_DATABASE_REGISTRATION_CREATE”, “GOLDENGATE_DATABASE_REGISTRATION_UPDATE”, “GOLDENGATE_DATABASE_REGISTRATION_DELETE”, “GOLDENGATE_DATABASE_REGISTRATION_MOVE”, “GOLDENGATE_DEPLOYMENT_CREATE”, “GOLDENGATE_DEPLOYMENT_UPDATE”, “GOLDENGATE_DEPLOYMENT_DELETE”, “GOLDENGATE_DEPLOYMENT_MOVE”, “GOLDENGATE_DEPLOYMENT_RESTORE”, “GOLDENGATE_DEPLOYMENT_START”, “GOLDENGATE_DEPLOYMENT_STOP”, “GOLDENGATE_DEPLOYMENT_UPGRADE”, “GOLDENGATE_DEPLOYMENT_BACKUP_CREATE”, “GOLDENGATE_DEPLOYMENT_BACKUP_DELETE”, “GOLDENGATE_DEPLOYMENT_BACKUP_CANCEL”, “GOLDENGATE_DEPLOYMENT_BACKUP_COPY”, “GOLDENGATE_CONNECTION_CREATE”, “GOLDENGATE_CONNECTION_UPDATE”, “GOLDENGATE_CONNECTION_DELETE”, “GOLDENGATE_CONNECTION_MOVE”, “GOLDENGATE_CONNECTION_REFRESH”, “GOLDENGATE_CONNECTION_ASSIGNMENT_CREATE”, “GOLDENGATE_CONNECTION_ASSIGNMENT_DELETE”, “GOLDENGATE_CONNECTION_ASSIGMNENT_DELETE”, “GOLDENGATE_DEPLOYMENT_DIAGNOSTIC_COLLECT”, “GOLDENGATE_DEPLOYMENT_WALLET_EXPORT”, “GOLDENGATE_DEPLOYMENT_WALLET_IMPORT”, “GOLDENGATE_DEPLOYMENT_UPGRADE_UPGRADE”, “GOLDENGATE_DEPLOYMENT_UPGRADE_ROLLBACK”, “GOLDENGATE_DEPLOYMENT_UPGRADE_SNOOZE”, “GOLDENGATE_DEPLOYMENT_CERTIFICATE_CREATE”, “GOLDENGATE_DEPLOYMENT_CERTIFICATE_DELETE”, “GOLDENGATE_PIPELINE_CREATE”, “GOLDENGATE_PIPELINE_START”, “GOLDENGATE_PIPELINE_STOP”, “GOLDENGATE_PIPELINE_UPDATE”, “GOLDENGATE_PIPELINE_DELETE”, “GOLDENGATE_PIPELINE_MOVE”, “GOLDENGATE_PIPELINE_DIAGNOSTICS_COLLECT”, “GOLDENGATE_SWITCHOVER_DEPLOYMENT_PEER”, ‘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 WorkRequest. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- id (str) – The value to assign to the id property of this WorkRequest.
- compartment_id (str) – The value to assign to the compartment_id property of this WorkRequest.
- resources (list[oci.golden_gate.models.WorkRequestResource]) – The value to assign to the resources property of this WorkRequest.
- percent_complete (float) – The value to assign to the percent_complete property of this WorkRequest.
- time_accepted (datetime) – The value to assign to the time_accepted property of this WorkRequest.
- time_started (datetime) – The value to assign to the time_started property of this WorkRequest.
- time_finished (datetime) – The value to assign to the time_finished property of this WorkRequest.
-
compartment_id¶ [Required] Gets the compartment_id of this WorkRequest. The ocid of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request affects multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
Returns: The compartment_id of this WorkRequest. Return type: str
-
id¶ [Required] Gets the id of this WorkRequest. The id of the work request.
Returns: The id of this WorkRequest. Return type: str
-
operation_type¶ [Required] Gets the operation_type of this WorkRequest. The work request’s operation type.
Allowed values for this property are: “GOLDENGATE_DATABASE_REGISTRATION_CREATE”, “GOLDENGATE_DATABASE_REGISTRATION_UPDATE”, “GOLDENGATE_DATABASE_REGISTRATION_DELETE”, “GOLDENGATE_DATABASE_REGISTRATION_MOVE”, “GOLDENGATE_DEPLOYMENT_CREATE”, “GOLDENGATE_DEPLOYMENT_UPDATE”, “GOLDENGATE_DEPLOYMENT_DELETE”, “GOLDENGATE_DEPLOYMENT_MOVE”, “GOLDENGATE_DEPLOYMENT_RESTORE”, “GOLDENGATE_DEPLOYMENT_START”, “GOLDENGATE_DEPLOYMENT_STOP”, “GOLDENGATE_DEPLOYMENT_UPGRADE”, “GOLDENGATE_DEPLOYMENT_BACKUP_CREATE”, “GOLDENGATE_DEPLOYMENT_BACKUP_DELETE”, “GOLDENGATE_DEPLOYMENT_BACKUP_CANCEL”, “GOLDENGATE_DEPLOYMENT_BACKUP_COPY”, “GOLDENGATE_CONNECTION_CREATE”, “GOLDENGATE_CONNECTION_UPDATE”, “GOLDENGATE_CONNECTION_DELETE”, “GOLDENGATE_CONNECTION_MOVE”, “GOLDENGATE_CONNECTION_REFRESH”, “GOLDENGATE_CONNECTION_ASSIGNMENT_CREATE”, “GOLDENGATE_CONNECTION_ASSIGNMENT_DELETE”, “GOLDENGATE_CONNECTION_ASSIGMNENT_DELETE”, “GOLDENGATE_DEPLOYMENT_DIAGNOSTIC_COLLECT”, “GOLDENGATE_DEPLOYMENT_WALLET_EXPORT”, “GOLDENGATE_DEPLOYMENT_WALLET_IMPORT”, “GOLDENGATE_DEPLOYMENT_UPGRADE_UPGRADE”, “GOLDENGATE_DEPLOYMENT_UPGRADE_ROLLBACK”, “GOLDENGATE_DEPLOYMENT_UPGRADE_SNOOZE”, “GOLDENGATE_DEPLOYMENT_CERTIFICATE_CREATE”, “GOLDENGATE_DEPLOYMENT_CERTIFICATE_DELETE”, “GOLDENGATE_PIPELINE_CREATE”, “GOLDENGATE_PIPELINE_START”, “GOLDENGATE_PIPELINE_STOP”, “GOLDENGATE_PIPELINE_UPDATE”, “GOLDENGATE_PIPELINE_DELETE”, “GOLDENGATE_PIPELINE_MOVE”, “GOLDENGATE_PIPELINE_DIAGNOSTICS_COLLECT”, “GOLDENGATE_SWITCHOVER_DEPLOYMENT_PEER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The operation_type of this WorkRequest. Return type: str
-
percent_complete¶ [Required] Gets the percent_complete of this WorkRequest. Percentage of the request completed.
Returns: The percent_complete of this WorkRequest. Return type: float
-
resources¶ [Required] Gets the resources of this WorkRequest. The resources affected by this work request.
Returns: The resources of this WorkRequest. Return type: list[oci.golden_gate.models.WorkRequestResource]
-
status¶ [Required] Gets the status of this WorkRequest. Status of current work request.
Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this WorkRequest. Return type: str
-
time_accepted¶ [Required] Gets the time_accepted of this WorkRequest. The date and time the request was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
Returns: The time_accepted of this WorkRequest. Return type: datetime
-