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.

Attributes

EXECUTION_PLAN_STRATEGY_AUTO_APPROVED A constant which can be used with the execution_plan_strategy property of a DestroyJobOperationDetails.
execution_plan_strategy [Required] Gets the execution_plan_strategy of this DestroyJobOperationDetails.
operation [Required] Gets the operation of this JobOperationDetails.
terraform_advanced_options Gets the terraform_advanced_options of this DestroyJobOperationDetails.

Methods

__init__(**kwargs) Initializes a new DestroyJobOperationDetails 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_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.
  • terraform_advanced_options (oci.resource_manager.models.TerraformAdvancedOptions) – The value to assign to the terraform_advanced_options 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
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.

operation

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

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

Gets the terraform_advanced_options of this DestroyJobOperationDetails.

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