TerraformBasedExecutionDetails

class oci.fleet_apps_management.models.TerraformBasedExecutionDetails(**kwargs)

Bases: ExecutionDetails

Details for Terraform execution.

Attributes:

EXECUTION_TYPE_API

A constant which can be used with the execution_type property of a ExecutionDetails.

EXECUTION_TYPE_SCRIPT

A constant which can be used with the execution_type property of a ExecutionDetails.

EXECUTION_TYPE_TERRAFORM

A constant which can be used with the execution_type property of a ExecutionDetails.

catalog_id

[Required] Gets the catalog_id of this TerraformBasedExecutionDetails.

config_file

Gets the config_file of this TerraformBasedExecutionDetails.

execution_type

[Required] Gets the execution_type of this ExecutionDetails.

is_read_output_variable_enabled

Gets the is_read_output_variable_enabled of this TerraformBasedExecutionDetails.

system_variables

Gets the system_variables of this TerraformBasedExecutionDetails.

target_compartment_id

[Required] Gets the target_compartment_id of this TerraformBasedExecutionDetails.

Methods:

__init__(**kwargs)

Initializes a new TerraformBasedExecutionDetails 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_TYPE_API = 'API'

A constant which can be used with the execution_type property of a ExecutionDetails. This constant has a value of “API”

EXECUTION_TYPE_SCRIPT = 'SCRIPT'

A constant which can be used with the execution_type property of a ExecutionDetails. This constant has a value of “SCRIPT”

EXECUTION_TYPE_TERRAFORM = 'TERRAFORM'

A constant which can be used with the execution_type property of a ExecutionDetails. This constant has a value of “TERRAFORM”

__init__(**kwargs)

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

Parameters
  • execution_type (str) – The value to assign to the execution_type property of this TerraformBasedExecutionDetails. Allowed values for this property are: “SCRIPT”, “API”, “TERRAFORM”

  • catalog_id (str) – The value to assign to the catalog_id property of this TerraformBasedExecutionDetails.

  • config_file (str) – The value to assign to the config_file property of this TerraformBasedExecutionDetails.

  • target_compartment_id (str) – The value to assign to the target_compartment_id property of this TerraformBasedExecutionDetails.

  • is_read_output_variable_enabled (bool) – The value to assign to the is_read_output_variable_enabled property of this TerraformBasedExecutionDetails.

  • system_variables (list[str]) – The value to assign to the system_variables property of this TerraformBasedExecutionDetails.

property catalog_id

[Required] Gets the catalog_id of this TerraformBasedExecutionDetails. Catalog Id having terraform package.

Returns

The catalog_id of this TerraformBasedExecutionDetails.

Return type

str

property config_file

Gets the config_file of this TerraformBasedExecutionDetails. Catalog Id having config file.

Returns

The config_file of this TerraformBasedExecutionDetails.

Return type

str

property execution_type

[Required] Gets the execution_type of this ExecutionDetails. The action type of the task

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

Returns

The execution_type of this ExecutionDetails.

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 is_read_output_variable_enabled

Gets the is_read_output_variable_enabled of this TerraformBasedExecutionDetails. Is read output variable enabled

Returns

The is_read_output_variable_enabled of this TerraformBasedExecutionDetails.

Return type

bool

property system_variables

Gets the system_variables of this TerraformBasedExecutionDetails. The list of system variables.

Returns

The system_variables of this TerraformBasedExecutionDetails.

Return type

list[str]

property target_compartment_id

[Required] Gets the target_compartment_id of this TerraformBasedExecutionDetails. OCID of the compartment to which the resource belongs to.

Returns

The target_compartment_id of this TerraformBasedExecutionDetails.

Return type

str