WorkRequest¶
-
class
oci.devops.models.WorkRequest(**kwargs)¶ Bases:
objectDetails of the work request status.
Attributes
OPERATION_TYPE_CANCEL_SCHEDULED_CASCADING_PROJECT_DELETIONA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_BUILD_PIPELINEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_BUILD_PIPELINE_STAGEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_CONNECTIONA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_DEPLOYMENTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_DEPLOY_ARTIFACTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_DEPLOY_ENVIRONMENTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_DEPLOY_PIPELINEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_DEPLOY_STAGEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_PROJECTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_PULL_REQUESTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_REPOSITORYA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_TRIGGERA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_BUILD_PIPELINEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_BUILD_PIPELINE_STAGEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_CONNECTIONA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_DEPLOYMENTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_DEPLOY_ARTIFACTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_DEPLOY_ENVIRONMENTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_DEPLOY_PIPELINEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_DEPLOY_STAGEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_PROJECTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_PULL_REQUESTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_REPOSITORYA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_TRIGGERA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_EXECUTE_TRIGGERA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_FORK_REPOSITORYA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_MERGE_PULL_REQUESTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_MIRROR_REPOSITORYA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_MOVE_PROJECTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_MOVE_PULL_REQUESTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_SCHEDULE_CASCADING_PROJECT_DELETIONA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_SYNC_FORK_REPOSITORYA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_BUILD_PIPELINEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_BUILD_PIPELINE_STAGEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_CONNECTIONA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_DEPLOYMENTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_DEPLOY_ARTIFACTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_DEPLOY_ENVIRONMENTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_DEPLOY_PIPELINEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_DEPLOY_STAGEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_PROJECTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_PULL_REQUESTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_REPOSITORYA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_TRIGGERA 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_CANCELINGA 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_NEEDS_ATTENTIONA 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. STATUS_WAITINGA 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_CANCEL_SCHEDULED_CASCADING_PROJECT_DELETION= 'CANCEL_SCHEDULED_CASCADING_PROJECT_DELETION'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CANCEL_SCHEDULED_CASCADING_PROJECT_DELETION”
-
OPERATION_TYPE_CREATE_BUILD_PIPELINE= 'CREATE_BUILD_PIPELINE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_BUILD_PIPELINE”
-
OPERATION_TYPE_CREATE_BUILD_PIPELINE_STAGE= 'CREATE_BUILD_PIPELINE_STAGE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_BUILD_PIPELINE_STAGE”
-
OPERATION_TYPE_CREATE_CONNECTION= 'CREATE_CONNECTION'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_CONNECTION”
-
OPERATION_TYPE_CREATE_DEPLOYMENT= 'CREATE_DEPLOYMENT'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_DEPLOYMENT”
-
OPERATION_TYPE_CREATE_DEPLOY_ARTIFACT= 'CREATE_DEPLOY_ARTIFACT'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_DEPLOY_ARTIFACT”
-
OPERATION_TYPE_CREATE_DEPLOY_ENVIRONMENT= 'CREATE_DEPLOY_ENVIRONMENT'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_DEPLOY_ENVIRONMENT”
-
OPERATION_TYPE_CREATE_DEPLOY_PIPELINE= 'CREATE_DEPLOY_PIPELINE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_DEPLOY_PIPELINE”
-
OPERATION_TYPE_CREATE_DEPLOY_STAGE= 'CREATE_DEPLOY_STAGE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_DEPLOY_STAGE”
-
OPERATION_TYPE_CREATE_PROJECT= 'CREATE_PROJECT'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_PROJECT”
-
OPERATION_TYPE_CREATE_PULL_REQUEST= 'CREATE_PULL_REQUEST'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_PULL_REQUEST”
-
OPERATION_TYPE_CREATE_REPOSITORY= 'CREATE_REPOSITORY'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_REPOSITORY”
-
OPERATION_TYPE_CREATE_TRIGGER= 'CREATE_TRIGGER'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_TRIGGER”
-
OPERATION_TYPE_DELETE_BUILD_PIPELINE= 'DELETE_BUILD_PIPELINE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_BUILD_PIPELINE”
-
OPERATION_TYPE_DELETE_BUILD_PIPELINE_STAGE= 'DELETE_BUILD_PIPELINE_STAGE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_BUILD_PIPELINE_STAGE”
-
OPERATION_TYPE_DELETE_CONNECTION= 'DELETE_CONNECTION'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_CONNECTION”
-
OPERATION_TYPE_DELETE_DEPLOYMENT= 'DELETE_DEPLOYMENT'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_DEPLOYMENT”
-
OPERATION_TYPE_DELETE_DEPLOY_ARTIFACT= 'DELETE_DEPLOY_ARTIFACT'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_DEPLOY_ARTIFACT”
-
OPERATION_TYPE_DELETE_DEPLOY_ENVIRONMENT= 'DELETE_DEPLOY_ENVIRONMENT'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_DEPLOY_ENVIRONMENT”
-
OPERATION_TYPE_DELETE_DEPLOY_PIPELINE= 'DELETE_DEPLOY_PIPELINE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_DEPLOY_PIPELINE”
-
OPERATION_TYPE_DELETE_DEPLOY_STAGE= 'DELETE_DEPLOY_STAGE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_DEPLOY_STAGE”
-
OPERATION_TYPE_DELETE_PROJECT= 'DELETE_PROJECT'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_PROJECT”
-
OPERATION_TYPE_DELETE_PULL_REQUEST= 'DELETE_PULL_REQUEST'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_PULL_REQUEST”
-
OPERATION_TYPE_DELETE_REPOSITORY= 'DELETE_REPOSITORY'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_REPOSITORY”
-
OPERATION_TYPE_DELETE_TRIGGER= 'DELETE_TRIGGER'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_TRIGGER”
-
OPERATION_TYPE_EXECUTE_TRIGGER= 'EXECUTE_TRIGGER'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “EXECUTE_TRIGGER”
-
OPERATION_TYPE_FORK_REPOSITORY= 'FORK_REPOSITORY'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “FORK_REPOSITORY”
-
OPERATION_TYPE_MERGE_PULL_REQUEST= 'MERGE_PULL_REQUEST'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “MERGE_PULL_REQUEST”
-
OPERATION_TYPE_MIRROR_REPOSITORY= 'MIRROR_REPOSITORY'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “MIRROR_REPOSITORY”
-
OPERATION_TYPE_MOVE_PROJECT= 'MOVE_PROJECT'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “MOVE_PROJECT”
-
OPERATION_TYPE_MOVE_PULL_REQUEST= 'MOVE_PULL_REQUEST'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “MOVE_PULL_REQUEST”
-
OPERATION_TYPE_SCHEDULE_CASCADING_PROJECT_DELETION= 'SCHEDULE_CASCADING_PROJECT_DELETION'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “SCHEDULE_CASCADING_PROJECT_DELETION”
-
OPERATION_TYPE_SYNC_FORK_REPOSITORY= 'SYNC_FORK_REPOSITORY'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “SYNC_FORK_REPOSITORY”
-
OPERATION_TYPE_UPDATE_BUILD_PIPELINE= 'UPDATE_BUILD_PIPELINE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_BUILD_PIPELINE”
-
OPERATION_TYPE_UPDATE_BUILD_PIPELINE_STAGE= 'UPDATE_BUILD_PIPELINE_STAGE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_BUILD_PIPELINE_STAGE”
-
OPERATION_TYPE_UPDATE_CONNECTION= 'UPDATE_CONNECTION'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_CONNECTION”
-
OPERATION_TYPE_UPDATE_DEPLOYMENT= 'UPDATE_DEPLOYMENT'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_DEPLOYMENT”
-
OPERATION_TYPE_UPDATE_DEPLOY_ARTIFACT= 'UPDATE_DEPLOY_ARTIFACT'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_DEPLOY_ARTIFACT”
-
OPERATION_TYPE_UPDATE_DEPLOY_ENVIRONMENT= 'UPDATE_DEPLOY_ENVIRONMENT'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_DEPLOY_ENVIRONMENT”
-
OPERATION_TYPE_UPDATE_DEPLOY_PIPELINE= 'UPDATE_DEPLOY_PIPELINE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_DEPLOY_PIPELINE”
-
OPERATION_TYPE_UPDATE_DEPLOY_STAGE= 'UPDATE_DEPLOY_STAGE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_DEPLOY_STAGE”
-
OPERATION_TYPE_UPDATE_PROJECT= 'UPDATE_PROJECT'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_PROJECT”
-
OPERATION_TYPE_UPDATE_PULL_REQUEST= 'UPDATE_PULL_REQUEST'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_PULL_REQUEST”
-
OPERATION_TYPE_UPDATE_REPOSITORY= 'UPDATE_REPOSITORY'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_REPOSITORY”
-
OPERATION_TYPE_UPDATE_TRIGGER= 'UPDATE_TRIGGER'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_TRIGGER”
-
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_CANCELING= 'CANCELING'¶ A constant which can be used with the status property of a WorkRequest. This constant has a value of “CANCELING”
-
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_NEEDS_ATTENTION= 'NEEDS_ATTENTION'¶ A constant which can be used with the status property of a WorkRequest. This constant has a value of “NEEDS_ATTENTION”
-
STATUS_SUCCEEDED= 'SUCCEEDED'¶ A constant which can be used with the status property of a WorkRequest. This constant has a value of “SUCCEEDED”
-
STATUS_WAITING= 'WAITING'¶ A constant which can be used with the status property of a WorkRequest. This constant has a value of “WAITING”
-
__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: “CREATE_PROJECT”, “UPDATE_PROJECT”, “DELETE_PROJECT”, “MOVE_PROJECT”, “CREATE_DEPLOY_PIPELINE”, “UPDATE_DEPLOY_PIPELINE”, “DELETE_DEPLOY_PIPELINE”, “CREATE_DEPLOY_STAGE”, “UPDATE_DEPLOY_STAGE”, “DELETE_DEPLOY_STAGE”, “CREATE_DEPLOY_ARTIFACT”, “UPDATE_DEPLOY_ARTIFACT”, “DELETE_DEPLOY_ARTIFACT”, “CREATE_DEPLOY_ENVIRONMENT”, “UPDATE_DEPLOY_ENVIRONMENT”, “DELETE_DEPLOY_ENVIRONMENT”, “CREATE_DEPLOYMENT”, “UPDATE_DEPLOYMENT”, “DELETE_DEPLOYMENT”, “CREATE_BUILD_PIPELINE”, “UPDATE_BUILD_PIPELINE”, “DELETE_BUILD_PIPELINE”, “CREATE_BUILD_PIPELINE_STAGE”, “UPDATE_BUILD_PIPELINE_STAGE”, “DELETE_BUILD_PIPELINE_STAGE”, “CREATE_CONNECTION”, “UPDATE_CONNECTION”, “DELETE_CONNECTION”, “CREATE_TRIGGER”, “UPDATE_TRIGGER”, “DELETE_TRIGGER”, “EXECUTE_TRIGGER”, “CREATE_REPOSITORY”, “UPDATE_REPOSITORY”, “DELETE_REPOSITORY”, “MIRROR_REPOSITORY”, “FORK_REPOSITORY”, “SYNC_FORK_REPOSITORY”, “SCHEDULE_CASCADING_PROJECT_DELETION”, “CANCEL_SCHEDULED_CASCADING_PROJECT_DELETION”, “CREATE_PULL_REQUEST”, “UPDATE_PULL_REQUEST”, “DELETE_PULL_REQUEST”, “MOVE_PULL_REQUEST”, “MERGE_PULL_REQUEST”, ‘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”, “CANCELING”, “CANCELED”, “WAITING”, “NEEDS_ATTENTION”, ‘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.devops.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 OCID of the work request.
Returns: The id of this WorkRequest. Return type: str
-
operation_type¶ [Required] Gets the operation_type of this WorkRequest. Type of the work request.
Allowed values for this property are: “CREATE_PROJECT”, “UPDATE_PROJECT”, “DELETE_PROJECT”, “MOVE_PROJECT”, “CREATE_DEPLOY_PIPELINE”, “UPDATE_DEPLOY_PIPELINE”, “DELETE_DEPLOY_PIPELINE”, “CREATE_DEPLOY_STAGE”, “UPDATE_DEPLOY_STAGE”, “DELETE_DEPLOY_STAGE”, “CREATE_DEPLOY_ARTIFACT”, “UPDATE_DEPLOY_ARTIFACT”, “DELETE_DEPLOY_ARTIFACT”, “CREATE_DEPLOY_ENVIRONMENT”, “UPDATE_DEPLOY_ENVIRONMENT”, “DELETE_DEPLOY_ENVIRONMENT”, “CREATE_DEPLOYMENT”, “UPDATE_DEPLOYMENT”, “DELETE_DEPLOYMENT”, “CREATE_BUILD_PIPELINE”, “UPDATE_BUILD_PIPELINE”, “DELETE_BUILD_PIPELINE”, “CREATE_BUILD_PIPELINE_STAGE”, “UPDATE_BUILD_PIPELINE_STAGE”, “DELETE_BUILD_PIPELINE_STAGE”, “CREATE_CONNECTION”, “UPDATE_CONNECTION”, “DELETE_CONNECTION”, “CREATE_TRIGGER”, “UPDATE_TRIGGER”, “DELETE_TRIGGER”, “EXECUTE_TRIGGER”, “CREATE_REPOSITORY”, “UPDATE_REPOSITORY”, “DELETE_REPOSITORY”, “MIRROR_REPOSITORY”, “FORK_REPOSITORY”, “SYNC_FORK_REPOSITORY”, “SCHEDULE_CASCADING_PROJECT_DELETION”, “CANCEL_SCHEDULED_CASCADING_PROJECT_DELETION”, “CREATE_PULL_REQUEST”, “UPDATE_PULL_REQUEST”, “DELETE_PULL_REQUEST”, “MOVE_PULL_REQUEST”, “MERGE_PULL_REQUEST”, ‘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.devops.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”, “CANCELING”, “CANCELED”, “WAITING”, “NEEDS_ATTENTION”, ‘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. Date and time the request was created, Format defined by RFC3339.
Returns: The time_accepted of this WorkRequest. Return type: datetime
-