ApplyRollbackJobOperationDetailsSummary¶
- class oci.resource_manager.models.ApplyRollbackJobOperationDetailsSummary(**kwargs)¶
Bases:
JobOperationDetailsSummaryJob details that are specific to an apply rollback job. For more information about apply rollback jobs, see Creating an Apply Rollback Job.
Methods:
__init__(**kwargs)Initializes a new ApplyRollbackJobOperationDetailsSummary 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:
Gets the execution_plan_rollback_job_id of this ApplyRollbackJobOperationDetailsSummary.
[Required] Gets the execution_plan_rollback_strategy of this ApplyRollbackJobOperationDetailsSummary.
[Required] Gets the operation of this JobOperationDetailsSummary.
Gets the target_rollback_job_id of this ApplyRollbackJobOperationDetailsSummary.
- __init__(**kwargs)¶
Initializes a new ApplyRollbackJobOperationDetailsSummary object with values from keyword arguments. The default value of the
operationattribute of this class isAPPLY_ROLLBACKand 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 ApplyRollbackJobOperationDetailsSummary.
execution_plan_rollback_strategy (str) – The value to assign to the execution_plan_rollback_strategy property of this ApplyRollbackJobOperationDetailsSummary.
execution_plan_rollback_job_id (str) – The value to assign to the execution_plan_rollback_job_id property of this ApplyRollbackJobOperationDetailsSummary.
target_rollback_job_id (str) – The value to assign to the target_rollback_job_id property of this ApplyRollbackJobOperationDetailsSummary.
- property execution_plan_rollback_job_id¶
Gets the execution_plan_rollback_job_id of this ApplyRollbackJobOperationDetailsSummary. 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 ApplyRollbackJobOperationDetailsSummary.
- Return type
str
- property execution_plan_rollback_strategy¶
[Required] Gets the execution_plan_rollback_strategy of this ApplyRollbackJobOperationDetailsSummary. Specifies the source of the execution plan for rollback to apply. Use AUTO_APPROVED to run the job without an execution plan for rollback.
- Returns
The execution_plan_rollback_strategy of this ApplyRollbackJobOperationDetailsSummary.
- 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 JobOperationDetailsSummary. Terraform-specific operation to execute.
- Returns
The operation of this JobOperationDetailsSummary.
- Return type
str
- property target_rollback_job_id¶
Gets the target_rollback_job_id of this ApplyRollbackJobOperationDetailsSummary. The OCID of a successful apply job, for use when specifying “AUTO_APPROVED” as the executionPlanRollbackStrategy.
- Returns
The target_rollback_job_id of this ApplyRollbackJobOperationDetailsSummary.
- Return type
str