JobSummary¶
-
class
oci.resource_manager.models.
JobSummary
(**kwargs)¶ Bases:
object
Summary information for a job.
Methods
__init__
(**kwargs)Initializes a new JobSummary object with values from keyword arguments. Attributes
apply_job_plan_resolution
Gets the apply_job_plan_resolution of this JobSummary. compartment_id
Gets the compartment_id of this JobSummary. defined_tags
Gets the defined_tags of this JobSummary. display_name
Gets the display_name of this JobSummary. freeform_tags
Gets the freeform_tags of this JobSummary. id
Gets the id of this JobSummary. job_operation_details
Gets the job_operation_details of this JobSummary. lifecycle_state
Gets the lifecycle_state of this JobSummary. operation
Gets the operation of this JobSummary. resolved_plan_job_id
Gets the resolved_plan_job_id of this JobSummary. stack_id
Gets the stack_id of this JobSummary. system_tags
Gets the system_tags of this JobSummary. time_created
Gets the time_created of this JobSummary. time_finished
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.
-
apply_job_plan_resolution
¶ Gets the apply_job_plan_resolution of this JobSummary.
Returns: The apply_job_plan_resolution of this JobSummary. Return type: oci.resource_manager.models.ApplyJobPlanResolution
-
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
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))
-
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
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)
-
id
¶ Gets the id of this JobSummary. The OCID of the job.
Returns: The id of this JobSummary. Return type: str
-
job_operation_details
¶ Gets the job_operation_details of this JobSummary.
Returns: The job_operation_details of this JobSummary. Return type: oci.resource_manager.models.JobOperationDetailsSummary
-
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
-
operation
¶ Gets the operation of this JobSummary. The type of job executing
Returns: The operation of this JobSummary. Return type: str
-
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
-
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
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))
-
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
-
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
-