CreateApplyJobOperationDetails

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

Bases: oci.resource_manager.models.create_job_operation_details.CreateJobOperationDetails

Job details that are specific to apply operations.

Methods

__init__(**kwargs) Initializes a new CreateApplyJobOperationDetails 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.

Attributes

execution_plan_job_id Gets the execution_plan_job_id of this CreateApplyJobOperationDetails.
execution_plan_strategy Gets the execution_plan_strategy of this CreateApplyJobOperationDetails.
is_provider_upgrade_required Gets the is_provider_upgrade_required of this CreateJobOperationDetails.
operation [Required] Gets the operation of this CreateJobOperationDetails.
terraform_advanced_options Gets the terraform_advanced_options of this CreateApplyJobOperationDetails.
__init__(**kwargs)

Initializes a new CreateApplyJobOperationDetails object with values from keyword arguments. The default value of the operation attribute of this class is APPLY 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 CreateApplyJobOperationDetails.
  • is_provider_upgrade_required (bool) – The value to assign to the is_provider_upgrade_required property of this CreateApplyJobOperationDetails.
  • terraform_advanced_options (oci.resource_manager.models.TerraformAdvancedOptions) – The value to assign to the terraform_advanced_options property of this CreateApplyJobOperationDetails.
  • execution_plan_strategy (str) – The value to assign to the execution_plan_strategy property of this CreateApplyJobOperationDetails.
  • execution_plan_job_id (str) – The value to assign to the execution_plan_job_id property of this CreateApplyJobOperationDetails.
execution_plan_job_id

Gets the execution_plan_job_id of this CreateApplyJobOperationDetails. The OCID of a plan job, for use when specifying FROM_PLAN_JOB_ID as the executionPlanStrategy.

Returns:The execution_plan_job_id of this CreateApplyJobOperationDetails.
Return type:str
execution_plan_strategy

Gets the execution_plan_strategy of this CreateApplyJobOperationDetails. Specifies the source of the execution plan to apply. Use AUTO_APPROVED to run the job without an execution plan.

Returns:The execution_plan_strategy of this CreateApplyJobOperationDetails.
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.

is_provider_upgrade_required

Gets the is_provider_upgrade_required of this CreateJobOperationDetails. Specifies whether or not to upgrade provider versions. Within the version constraints of your Terraform configuration, use the latest versions available from the source of Terraform providers. For more information about this option, see Dependency Lock File (terraform.io).

Returns:The is_provider_upgrade_required of this CreateJobOperationDetails.
Return type:bool
operation

[Required] Gets the operation of this CreateJobOperationDetails. Terraform-specific operation to execute.

Returns:The operation of this CreateJobOperationDetails.
Return type:str
terraform_advanced_options

Gets the terraform_advanced_options of this CreateApplyJobOperationDetails.

Returns:The terraform_advanced_options of this CreateApplyJobOperationDetails.
Return type:oci.resource_manager.models.TerraformAdvancedOptions