TerraformBasedExecutionDetails¶
-
class
oci.fleet_apps_management.models.
TerraformBasedExecutionDetails
(**kwargs)¶ Bases:
oci.fleet_apps_management.models.execution_details.ExecutionDetails
Details for Terraform execution.
Attributes
EXECUTION_TYPE_API
str(object=’’) -> str EXECUTION_TYPE_SCRIPT
str(object=’’) -> str EXECUTION_TYPE_TERRAFORM
str(object=’’) -> str 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. 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'¶
-
EXECUTION_TYPE_SCRIPT
= 'SCRIPT'¶
-
EXECUTION_TYPE_TERRAFORM
= 'TERRAFORM'¶
-
__init__
(**kwargs)¶ Initializes a new TerraformBasedExecutionDetails object with values from keyword arguments. The default value of the
execution_type
attribute of this class isTERRAFORM
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.
-
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
-
config_file
¶ Gets the config_file of this TerraformBasedExecutionDetails. Catalog Id having config file.
Returns: The config_file of this TerraformBasedExecutionDetails. Return type: str
-
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.
-
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
-
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
-