JobSummary

class oci.resource_manager.models.JobSummary(**kwargs)

Bases: object

Returns a listing of all of the specified job's properties and their values.

__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 (JobOperationDetailsSummary) -- The value to assign to the job_operation_details property of this JobSummary.
  • apply_job_plan_resolution (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.
apply_job_plan_resolution

Gets the apply_job_plan_resolution of this JobSummary. Deprecated. Use the property executionPlanStrategy in jobOperationDetails instead.

Returns:The apply_job_plan_resolution of this JobSummary.
Return type:ApplyJobPlanResolution
compartment_id

Gets the compartment_id of this JobSummary. OCID of the compartment where the stack of the associated job resides.

Returns:The compartment_id of this JobSummary.
Return type:str
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))
display_name

Gets the display_name of this JobSummary. The job's display name.

Returns:The display_name of this JobSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this JobSummary. Free-form tags associated with this 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 job's OCID.

Returns:The id of this JobSummary.
Return type:str
job_operation_details

Gets the job_operation_details of this JobSummary. Job details that are specific to the operation type.

Returns:The job_operation_details of this JobSummary.
Return type:JobOperationDetailsSummary
lifecycle_state

Gets the lifecycle_state of this JobSummary. Current state of the specified job. Allowed values are: - ACCEPTED - IN_PROGRESS - FAILED - SUCCEEDED - CANCELING - CANCELED

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. OCID of the stack that is associated with the specified job.

Returns:The stack_id of this JobSummary.
Return type:str
time_created

Gets the time_created of this JobSummary. The date and time the job was created.

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.

Returns:The time_finished of this JobSummary.
Return type:datetime