CreateStackDetails

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

Bases: object

Creation details for a stack.

Methods

__init__(**kwargs) Initializes a new CreateStackDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this CreateStackDetails.
config_source [Required] Gets the config_source of this CreateStackDetails.
custom_terraform_provider Gets the custom_terraform_provider of this CreateStackDetails.
defined_tags Gets the defined_tags of this CreateStackDetails.
description Gets the description of this CreateStackDetails.
display_name Gets the display_name of this CreateStackDetails.
freeform_tags Gets the freeform_tags of this CreateStackDetails.
terraform_version Gets the terraform_version of this CreateStackDetails.
variables Gets the variables of this CreateStackDetails.
__init__(**kwargs)

Initializes a new CreateStackDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateStackDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateStackDetails.
  • description (str) – The value to assign to the description property of this CreateStackDetails.
  • config_source (oci.resource_manager.models.CreateConfigSourceDetails) – The value to assign to the config_source property of this CreateStackDetails.
  • custom_terraform_provider (oci.resource_manager.models.CustomTerraformProvider) – The value to assign to the custom_terraform_provider property of this CreateStackDetails.
  • variables (dict(str, str)) – The value to assign to the variables property of this CreateStackDetails.
  • terraform_version (str) – The value to assign to the terraform_version property of this CreateStackDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateStackDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateStackDetails.
compartment_id

[Required] Gets the compartment_id of this CreateStackDetails. Unique identifier (OCID) of the compartment in which the stack resides.

Returns:The compartment_id of this CreateStackDetails.
Return type:str
config_source

[Required] Gets the config_source of this CreateStackDetails.

Returns:The config_source of this CreateStackDetails.
Return type:oci.resource_manager.models.CreateConfigSourceDetails
custom_terraform_provider

Gets the custom_terraform_provider of this CreateStackDetails.

Returns:The custom_terraform_provider of this CreateStackDetails.
Return type:oci.resource_manager.models.CustomTerraformProvider
defined_tags

Gets the defined_tags of this CreateStackDetails. Defined tags associated with this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this CreateStackDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateStackDetails. Description of the stack.

Returns:The description of this CreateStackDetails.
Return type:str
display_name

Gets the display_name of this CreateStackDetails. The stack’s display name.

Returns:The display_name of this CreateStackDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateStackDetails. Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this CreateStackDetails.
Return type:dict(str, str)
terraform_version

Gets the terraform_version of this CreateStackDetails. The version of Terraform to use with the stack. Example: 0.12.x

Returns:The terraform_version of this CreateStackDetails.
Return type:str
variables

Gets the variables of this CreateStackDetails. Terraform variables associated with this resource. Maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: {“CompartmentId”: “compartment-id-value”}

Returns:The variables of this CreateStackDetails.
Return type:dict(str, str)