ApplyJobPlanResolution

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

Bases: object

Specifies which plan job provides an execution plan for input to the apply or destroy job. You can set only one of the three job properties. For destroy jobs, only isAutoApproved is permitted.

__init__(**kwargs)

Initializes a new ApplyJobPlanResolution object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • plan_job_id (str) -- The value to assign to the plan_job_id property of this ApplyJobPlanResolution.
  • is_use_latest_job_id (bool) -- The value to assign to the is_use_latest_job_id property of this ApplyJobPlanResolution.
  • is_auto_approved (bool) -- The value to assign to the is_auto_approved property of this ApplyJobPlanResolution.
is_auto_approved

Gets the is_auto_approved of this ApplyJobPlanResolution. Specifies whether to use the configuration directly, without reference to a Plan job. True if using the configuration directly. Note that it is not necessary for a Plan job to have run successfully.

Returns:The is_auto_approved of this ApplyJobPlanResolution.
Return type:bool
is_use_latest_job_id

Gets the is_use_latest_job_id of this ApplyJobPlanResolution. Specifies whether to use the OCID of the most recently run plan job. True if using the latest job OCID. Must be a plan job that completed successfully.

Returns:The is_use_latest_job_id of this ApplyJobPlanResolution.
Return type:bool
plan_job_id

Gets the plan_job_id of this ApplyJobPlanResolution. OCID that specifies the most recently executed plan job.

Returns:The plan_job_id of this ApplyJobPlanResolution.
Return type:str