DestroyJobOperationDetails

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

Bases: oci.resource_manager.models.job_operation_details.JobOperationDetails

Job details that are specific to destroy operations.

EXECUTION_PLAN_STRATEGY_AUTO_APPROVED = 'AUTO_APPROVED'

A constant which can be used with the execution_plan_strategy property of a DestroyJobOperationDetails. This constant has a value of "AUTO_APPROVED"

__init__(**kwargs)

Initializes a new DestroyJobOperationDetails 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):

Parameters:
  • operation (str) -- The value to assign to the operation property of this DestroyJobOperationDetails.
  • execution_plan_strategy (str) -- The value to assign to the execution_plan_strategy property of this DestroyJobOperationDetails. Allowed values for this property are: "AUTO_APPROVED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
execution_plan_strategy

[Required] Gets the execution_plan_strategy of this DestroyJobOperationDetails. 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.

Allowed values for this property are: "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 DestroyJobOperationDetails.
Return type:str
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