ApplyJobOperationDetails¶
-
class
oci.resource_manager.models.
ApplyJobOperationDetails
(**kwargs)¶ Bases:
oci.resource_manager.models.job_operation_details.JobOperationDetails
Job details that are specific to apply operations.
Attributes
EXECUTION_PLAN_STRATEGY_AUTO_APPROVED
A constant which can be used with the execution_plan_strategy property of a ApplyJobOperationDetails. EXECUTION_PLAN_STRATEGY_FROM_LATEST_PLAN_JOB
A constant which can be used with the execution_plan_strategy property of a ApplyJobOperationDetails. EXECUTION_PLAN_STRATEGY_FROM_PLAN_JOB_ID
A constant which can be used with the execution_plan_strategy property of a ApplyJobOperationDetails. execution_plan_job_id
Gets the execution_plan_job_id of this ApplyJobOperationDetails. execution_plan_strategy
[Required] Gets the execution_plan_strategy of this ApplyJobOperationDetails. operation
[Required] Gets the operation of this JobOperationDetails. terraform_advanced_options
Gets the terraform_advanced_options of this ApplyJobOperationDetails. Methods
__init__
(**kwargs)Initializes a new ApplyJobOperationDetails object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
EXECUTION_PLAN_STRATEGY_AUTO_APPROVED
= 'AUTO_APPROVED'¶ A constant which can be used with the execution_plan_strategy property of a ApplyJobOperationDetails. This constant has a value of “AUTO_APPROVED”
-
EXECUTION_PLAN_STRATEGY_FROM_LATEST_PLAN_JOB
= 'FROM_LATEST_PLAN_JOB'¶ A constant which can be used with the execution_plan_strategy property of a ApplyJobOperationDetails. This constant has a value of “FROM_LATEST_PLAN_JOB”
-
EXECUTION_PLAN_STRATEGY_FROM_PLAN_JOB_ID
= 'FROM_PLAN_JOB_ID'¶ A constant which can be used with the execution_plan_strategy property of a ApplyJobOperationDetails. This constant has a value of “FROM_PLAN_JOB_ID”
-
__init__
(**kwargs)¶ Initializes a new ApplyJobOperationDetails object with values from keyword arguments. The default value of the
operation
attribute of this class isAPPLY
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - operation (str) – The value to assign to the operation property of this ApplyJobOperationDetails.
- terraform_advanced_options (oci.resource_manager.models.TerraformAdvancedOptions) – The value to assign to the terraform_advanced_options property of this ApplyJobOperationDetails.
- execution_plan_strategy (str) – The value to assign to the execution_plan_strategy property of this ApplyJobOperationDetails. Allowed values for this property are: “FROM_PLAN_JOB_ID”, “FROM_LATEST_PLAN_JOB”, “AUTO_APPROVED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- execution_plan_job_id (str) – The value to assign to the execution_plan_job_id property of this ApplyJobOperationDetails.
-
execution_plan_job_id
¶ Gets the execution_plan_job_id of this ApplyJobOperationDetails. The OCID of the plan job that contains the execution plan used for this job, or null if no execution plan was used.
Returns: The execution_plan_job_id of this ApplyJobOperationDetails. Return type: str
-
execution_plan_strategy
¶ [Required] Gets the execution_plan_strategy of this ApplyJobOperationDetails. Specifies the source of the execution plan to apply. Use AUTO_APPROVED to run the job without an execution plan.
Allowed values for this property are: “FROM_PLAN_JOB_ID”, “FROM_LATEST_PLAN_JOB”, “AUTO_APPROVED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The execution_plan_strategy of this ApplyJobOperationDetails. Return type: str
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
operation
¶ [Required] Gets the operation of this JobOperationDetails. Terraform-specific operation to execute.
Returns: The operation of this JobOperationDetails. Return type: str
-
terraform_advanced_options
¶ Gets the terraform_advanced_options of this ApplyJobOperationDetails.
Returns: The terraform_advanced_options of this ApplyJobOperationDetails. Return type: oci.resource_manager.models.TerraformAdvancedOptions
-