WorkRequestSummary¶
-
class
oci.log_analytics.models.
WorkRequestSummary
(**kwargs)¶ Bases:
object
High level summary of control plane job work request.
Attributes
STATUS_ACCEPTED
A constant which can be used with the status property of a WorkRequestSummary. STATUS_CANCELED
A constant which can be used with the status property of a WorkRequestSummary. STATUS_FAILED
A constant which can be used with the status property of a WorkRequestSummary. STATUS_IN_PROGRESS
A constant which can be used with the status property of a WorkRequestSummary. STATUS_SUCCEEDED
A constant which can be used with the status property of a WorkRequestSummary. compartment_id
Gets the compartment_id of this WorkRequestSummary. id
[Required] Gets the id of this WorkRequestSummary. percent_complete
Gets the percent_complete of this WorkRequestSummary. status
Gets the status of this WorkRequestSummary. time_accepted
Gets the time_accepted of this WorkRequestSummary. time_finished
Gets the time_finished of this WorkRequestSummary. time_started
[Required] Gets the time_started of this WorkRequestSummary. Methods
__init__
(**kwargs)Initializes a new WorkRequestSummary object with values from keyword arguments. -
STATUS_ACCEPTED
= 'ACCEPTED'¶ A constant which can be used with the status property of a WorkRequestSummary. This constant has a value of “ACCEPTED”
-
STATUS_CANCELED
= 'CANCELED'¶ A constant which can be used with the status property of a WorkRequestSummary. This constant has a value of “CANCELED”
-
STATUS_FAILED
= 'FAILED'¶ A constant which can be used with the status property of a WorkRequestSummary. This constant has a value of “FAILED”
-
STATUS_IN_PROGRESS
= 'IN_PROGRESS'¶ A constant which can be used with the status property of a WorkRequestSummary. This constant has a value of “IN_PROGRESS”
-
STATUS_SUCCEEDED
= 'SUCCEEDED'¶ A constant which can be used with the status property of a WorkRequestSummary. This constant has a value of “SUCCEEDED”
-
__init__
(**kwargs)¶ Initializes a new WorkRequestSummary object with values from keyword arguments. 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 WorkRequestSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this WorkRequestSummary.
- time_started (datetime) – The value to assign to the time_started property of this WorkRequestSummary.
- time_accepted (datetime) – The value to assign to the time_accepted property of this WorkRequestSummary.
- time_finished (datetime) – The value to assign to the time_finished property of this WorkRequestSummary.
- percent_complete (int) – The value to assign to the percent_complete property of this WorkRequestSummary.
- status (str) – The value to assign to the status property of this WorkRequestSummary. Allowed values for this property are: “ACCEPTED”, “CANCELED”, “FAILED”, “IN_PROGRESS”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
compartment_id
¶ Gets the compartment_id of this WorkRequestSummary. Compartment Identifier OCID].
Returns: The compartment_id of this WorkRequestSummary. Return type: str
-
id
¶ [Required] Gets the id of this WorkRequestSummary. Unique OCID identifier to reference this query job work Request.
Returns: The id of this WorkRequestSummary. Return type: str
-
percent_complete
¶ Gets the percent_complete of this WorkRequestSummary. Percentage progress completion of the query.
Returns: The percent_complete of this WorkRequestSummary. Return type: int
-
status
¶ Gets the status of this WorkRequestSummary. Work request status.
Allowed values for this property are: “ACCEPTED”, “CANCELED”, “FAILED”, “IN_PROGRESS”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this WorkRequestSummary. Return type: str
-
time_accepted
¶ Gets the time_accepted of this WorkRequestSummary. When the work request was accepted. Should match timeStarted in all cases.
Returns: The time_accepted of this WorkRequestSummary. Return type: datetime
-
time_finished
¶ Gets the time_finished of this WorkRequestSummary. When the work request finished execution.
Returns: The time_finished of this WorkRequestSummary. Return type: datetime
-
time_started
¶ [Required] Gets the time_started of this WorkRequestSummary. When the work request started.
Returns: The time_started of this WorkRequestSummary. Return type: datetime
-