ApplyRollbackJobOperationDetails

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

Bases: JobOperationDetails

Job details that are specific to an apply rollback job. For more information about apply rollback jobs, see Creating an Apply Rollback Job.

Attributes:

EXECUTION_PLAN_ROLLBACK_STRATEGY_AUTO_APPROVED

A constant which can be used with the execution_plan_rollback_strategy property of a ApplyRollbackJobOperationDetails.

EXECUTION_PLAN_ROLLBACK_STRATEGY_FROM_LATEST_PLAN_ROLLBACK_JOB_ID

A constant which can be used with the execution_plan_rollback_strategy property of a ApplyRollbackJobOperationDetails.

EXECUTION_PLAN_ROLLBACK_STRATEGY_FROM_PLAN_ROLLBACK_JOB_ID

A constant which can be used with the execution_plan_rollback_strategy property of a ApplyRollbackJobOperationDetails.

execution_plan_rollback_job_id

Gets the execution_plan_rollback_job_id of this ApplyRollbackJobOperationDetails.

execution_plan_rollback_strategy

[Required] Gets the execution_plan_rollback_strategy of this ApplyRollbackJobOperationDetails.

operation

[Required] Gets the operation of this JobOperationDetails.

target_rollback_job_id

Gets the target_rollback_job_id of this ApplyRollbackJobOperationDetails.

terraform_advanced_options

Gets the terraform_advanced_options of this ApplyRollbackJobOperationDetails.

Methods:

__init__(**kwargs)

Initializes a new ApplyRollbackJobOperationDetails 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_ROLLBACK_STRATEGY_AUTO_APPROVED = 'AUTO_APPROVED'

A constant which can be used with the execution_plan_rollback_strategy property of a ApplyRollbackJobOperationDetails. This constant has a value of “AUTO_APPROVED”

EXECUTION_PLAN_ROLLBACK_STRATEGY_FROM_LATEST_PLAN_ROLLBACK_JOB_ID = 'FROM_LATEST_PLAN_ROLLBACK_JOB_ID'

A constant which can be used with the execution_plan_rollback_strategy property of a ApplyRollbackJobOperationDetails. This constant has a value of “FROM_LATEST_PLAN_ROLLBACK_JOB_ID”

EXECUTION_PLAN_ROLLBACK_STRATEGY_FROM_PLAN_ROLLBACK_JOB_ID = 'FROM_PLAN_ROLLBACK_JOB_ID'

A constant which can be used with the execution_plan_rollback_strategy property of a ApplyRollbackJobOperationDetails. This constant has a value of “FROM_PLAN_ROLLBACK_JOB_ID”

__init__(**kwargs)

Initializes a new ApplyRollbackJobOperationDetails object with values from keyword arguments. The default value of the operation attribute of this class is APPLY_ROLLBACK 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 ApplyRollbackJobOperationDetails.

  • terraform_advanced_options (oci.resource_manager.models.TerraformAdvancedOptions) – The value to assign to the terraform_advanced_options property of this ApplyRollbackJobOperationDetails.

  • execution_plan_rollback_strategy (str) – The value to assign to the execution_plan_rollback_strategy property of this ApplyRollbackJobOperationDetails. Allowed values for this property are: “FROM_PLAN_ROLLBACK_JOB_ID”, “FROM_LATEST_PLAN_ROLLBACK_JOB_ID”, “AUTO_APPROVED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • execution_plan_rollback_job_id (str) – The value to assign to the execution_plan_rollback_job_id property of this ApplyRollbackJobOperationDetails.

  • target_rollback_job_id (str) – The value to assign to the target_rollback_job_id property of this ApplyRollbackJobOperationDetails.

property execution_plan_rollback_job_id

Gets the execution_plan_rollback_job_id of this ApplyRollbackJobOperationDetails. The OCID of a plan rollback job, for use when specifying “FROM_PLAN_ROLLBACK_JOB_ID” as the executionPlanRollbackStrategy.

Returns

The execution_plan_rollback_job_id of this ApplyRollbackJobOperationDetails.

Return type

str

property execution_plan_rollback_strategy

[Required] Gets the execution_plan_rollback_strategy of this ApplyRollbackJobOperationDetails. Specifies the source of the execution plan for rollback to apply. Use AUTO_APPROVED to run the job without an execution plan for rollback.

Allowed values for this property are: “FROM_PLAN_ROLLBACK_JOB_ID”, “FROM_LATEST_PLAN_ROLLBACK_JOB_ID”, “AUTO_APPROVED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The execution_plan_rollback_strategy of this ApplyRollbackJobOperationDetails.

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.

property operation

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

Returns

The operation of this JobOperationDetails.

Return type

str

property target_rollback_job_id

Gets the target_rollback_job_id of this ApplyRollbackJobOperationDetails. The OCID of a successful apply job, for use when specifying “AUTO_APPROVED” as the executionPlanRollbackStrategy.

Returns

The target_rollback_job_id of this ApplyRollbackJobOperationDetails.

Return type

str

property terraform_advanced_options

Gets the terraform_advanced_options of this ApplyRollbackJobOperationDetails.

Returns

The terraform_advanced_options of this ApplyRollbackJobOperationDetails.

Return type

oci.resource_manager.models.TerraformAdvancedOptions