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

Bases: oci.resource_manager.models.create_job_operation_details.CreateJobOperationDetails

Job details that are specific to destroy operations.


Initializes a new CreateDestroyJobOperationDetails object with values from keyword arguments. The default value of the operation attribute of this class is DESTROY and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

  • operation (str) -- The value to assign to the operation property of this CreateDestroyJobOperationDetails.
  • execution_plan_strategy (str) -- The value to assign to the execution_plan_strategy property of this CreateDestroyJobOperationDetails.

[Required] Gets the execution_plan_strategy of this CreateDestroyJobOperationDetails. Specifies the source of the execution plan to apply. Currently, only AUTO_APPROVED is allowed, which indicates that the job will be run without an execution plan.

Returns:The execution_plan_strategy of this CreateDestroyJobOperationDetails.
Return type:str

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.


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

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