JobSummary¶
- class oci.resource_manager.models.JobSummary(**kwargs)¶
Bases:
objectSummary information for a job.
Methods:
__init__(**kwargs)Initializes a new JobSummary object with values from keyword arguments.
Attributes:
Gets the apply_job_plan_resolution of this JobSummary.
Gets the compartment_id of this JobSummary.
Gets the defined_tags of this JobSummary.
Gets the display_name of this JobSummary.
Gets the freeform_tags of this JobSummary.
Gets the id of this JobSummary.
Gets the job_operation_details of this JobSummary.
Gets the lifecycle_state of this JobSummary.
Gets the operation of this JobSummary.
Gets the resolved_plan_job_id of this JobSummary.
Gets the stack_id of this JobSummary.
Gets the system_tags of this JobSummary.
Gets the time_created of this JobSummary.
Gets the time_finished of this JobSummary.
- __init__(**kwargs)¶
Initializes a new JobSummary 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 JobSummary.
stack_id (str) – The value to assign to the stack_id property of this JobSummary.
compartment_id (str) – The value to assign to the compartment_id property of this JobSummary.
display_name (str) – The value to assign to the display_name property of this JobSummary.
operation (str) – The value to assign to the operation property of this JobSummary.
job_operation_details (oci.resource_manager.models.JobOperationDetailsSummary) – The value to assign to the job_operation_details property of this JobSummary.
apply_job_plan_resolution (oci.resource_manager.models.ApplyJobPlanResolution) – The value to assign to the apply_job_plan_resolution property of this JobSummary.
resolved_plan_job_id (str) – The value to assign to the resolved_plan_job_id property of this JobSummary.
time_created (datetime) – The value to assign to the time_created property of this JobSummary.
time_finished (datetime) – The value to assign to the time_finished property of this JobSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this JobSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this JobSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this JobSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this JobSummary.
- property apply_job_plan_resolution¶
Gets the apply_job_plan_resolution of this JobSummary.
- Returns
The apply_job_plan_resolution of this JobSummary.
- Return type
- property compartment_id¶
Gets the compartment_id of this JobSummary. The OCID of the compartment where the stack of the associated job resides.
- Returns
The compartment_id of this JobSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this JobSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this JobSummary.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this JobSummary. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this JobSummary.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this JobSummary. Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this JobSummary.
- Return type
dict(str, str)
- property id¶
Gets the id of this JobSummary. The OCID of the job.
- Returns
The id of this JobSummary.
- Return type
str
- property job_operation_details¶
Gets the job_operation_details of this JobSummary.
- Returns
The job_operation_details of this JobSummary.
- Return type
- property lifecycle_state¶
Gets the lifecycle_state of this JobSummary. Current state of the specified job. For more information about job lifecycle states in Resource Manager, see Key Concepts.
- Returns
The lifecycle_state of this JobSummary.
- Return type
str
- property operation¶
Gets the operation of this JobSummary. The type of job executing
- Returns
The operation of this JobSummary.
- Return type
str
- property resolved_plan_job_id¶
Gets the resolved_plan_job_id of this JobSummary. Deprecated. Use the property executionPlanJobId in jobOperationDetails instead. The plan job OCID that was used (if this was an apply job and was not auto-approved).
- Returns
The resolved_plan_job_id of this JobSummary.
- Return type
str
- property stack_id¶
Gets the stack_id of this JobSummary. The OCID of the stack that is associated with the specified job.
- Returns
The stack_id of this JobSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this JobSummary. The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
- Returns
The system_tags of this JobSummary.
- Return type
dict(str, dict(str, object))
- property time_created¶
Gets the time_created of this JobSummary. The date and time the job was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
- Returns
The time_created of this JobSummary.
- Return type
datetime
- property time_finished¶
Gets the time_finished of this JobSummary. The date and time the job succeeded or failed. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
- Returns
The time_finished of this JobSummary.
- Return type
datetime