JobActivity¶
- class oci.fleet_apps_management.models.JobActivity(**kwargs)¶
Bases:
objectActivity details including status corresponding to an Action Group.
Attributes:
A constant which can be used with the status property of a JobActivity.
A constant which can be used with the status property of a JobActivity.
A constant which can be used with the status property of a JobActivity.
A constant which can be used with the status property of a JobActivity.
A constant which can be used with the status property of a JobActivity.
A constant which can be used with the status property of a JobActivity.
A constant which can be used with the status property of a JobActivity.
A constant which can be used with the status property of a JobActivity.
A constant which can be used with the status property of a JobActivity.
A constant which can be used with the status property of a JobActivity.
A constant which can be used with the status property of a JobActivity.
A constant which can be used with the status property of a JobActivity.
Gets the description of this JobActivity.
[Required] Gets the id of this JobActivity.
Gets the resource_level_executions of this JobActivity.
Gets the runbook_id of this JobActivity.
Gets the runbook_name of this JobActivity.
Gets the runbook_version_name of this JobActivity.
[Required] Gets the status of this JobActivity.
Gets the time_ended of this JobActivity.
Gets the time_started of this JobActivity.
Methods:
__init__(**kwargs)Initializes a new JobActivity object with values from keyword arguments.
- STATUS_ABORTED = 'ABORTED'¶
A constant which can be used with the status property of a JobActivity. This constant has a value of “ABORTED”
- STATUS_ACCEPTED = 'ACCEPTED'¶
A constant which can be used with the status property of a JobActivity. This constant has a value of “ACCEPTED”
- STATUS_CANCELED = 'CANCELED'¶
A constant which can be used with the status property of a JobActivity. This constant has a value of “CANCELED”
- STATUS_FAILED = 'FAILED'¶
A constant which can be used with the status property of a JobActivity. This constant has a value of “FAILED”
- STATUS_IGNORED = 'IGNORED'¶
A constant which can be used with the status property of a JobActivity. This constant has a value of “IGNORED”
- STATUS_IN_PROGRESS = 'IN_PROGRESS'¶
A constant which can be used with the status property of a JobActivity. This constant has a value of “IN_PROGRESS”
- STATUS_NOT_APPLICABLE = 'NOT_APPLICABLE'¶
A constant which can be used with the status property of a JobActivity. This constant has a value of “NOT_APPLICABLE”
- STATUS_PAUSED = 'PAUSED'¶
A constant which can be used with the status property of a JobActivity. This constant has a value of “PAUSED”
- STATUS_SKIPPED = 'SKIPPED'¶
A constant which can be used with the status property of a JobActivity. This constant has a value of “SKIPPED”
- STATUS_SUCCEEDED = 'SUCCEEDED'¶
A constant which can be used with the status property of a JobActivity. This constant has a value of “SUCCEEDED”
- STATUS_TIMED_OUT = 'TIMED_OUT'¶
A constant which can be used with the status property of a JobActivity. This constant has a value of “TIMED_OUT”
- STATUS_WAITING = 'WAITING'¶
A constant which can be used with the status property of a JobActivity. This constant has a value of “WAITING”
- __init__(**kwargs)¶
Initializes a new JobActivity 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 JobActivity.
status (str) – The value to assign to the status property of this JobActivity. Allowed values for this property are: “ACCEPTED”, “WAITING”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELED”, “SKIPPED”, “IGNORED”, “NOT_APPLICABLE”, “ABORTED”, “TIMED_OUT”, “PAUSED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
time_started (datetime) – The value to assign to the time_started property of this JobActivity.
time_ended (datetime) – The value to assign to the time_ended property of this JobActivity.
runbook_id (str) – The value to assign to the runbook_id property of this JobActivity.
runbook_version_name (str) – The value to assign to the runbook_version_name property of this JobActivity.
runbook_name (str) – The value to assign to the runbook_name property of this JobActivity.
description (str) – The value to assign to the description property of this JobActivity.
resource_level_executions (list[oci.fleet_apps_management.models.EntityExecutionDetails]) – The value to assign to the resource_level_executions property of this JobActivity.
- property description¶
Gets the description of this JobActivity. A description of the Job Activity status. If there are any errors, this can also include a short error message.
- Returns
The description of this JobActivity.
- Return type
str
- property id¶
[Required] Gets the id of this JobActivity. Unique activity id at the action group level. In most cases, this would be a generated ActionGroupId.
- Returns
The id of this JobActivity.
- Return type
str
- property resource_level_executions¶
Gets the resource_level_executions of this JobActivity. List of Resource executions associated with the Action Group.
- Returns
The resource_level_executions of this JobActivity.
- Return type
list[oci.fleet_apps_management.models.EntityExecutionDetails]
- property runbook_id¶
Gets the runbook_id of this JobActivity. OCID of the runbook associated with the Action Group.
- Returns
The runbook_id of this JobActivity.
- Return type
str
- property runbook_name¶
Gets the runbook_name of this JobActivity. Name of the runbook associated with the Action Group.
- Returns
The runbook_name of this JobActivity.
- Return type
str
- property runbook_version_name¶
Gets the runbook_version_name of this JobActivity. Name of the RunbookVersion associated with the Action Group.
- Returns
The runbook_version_name of this JobActivity.
- Return type
str
- property status¶
[Required] Gets the status of this JobActivity. Status of the Job at Action Group Level.
Allowed values for this property are: “ACCEPTED”, “WAITING”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELED”, “SKIPPED”, “IGNORED”, “NOT_APPLICABLE”, “ABORTED”, “TIMED_OUT”, “PAUSED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The status of this JobActivity.
- Return type
str
- property time_ended¶
Gets the time_ended of this JobActivity. The time the execution for the Action Group ended. An RFC3339 formatted datetime string
- Returns
The time_ended of this JobActivity.
- Return type
datetime
- property time_started¶
Gets the time_started of this JobActivity. The time the execution for the Action Group started. An RFC3339 formatted datetime string.
- Returns
The time_started of this JobActivity.
- Return type
datetime