1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. RtsStackV1
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.RtsStackV1

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for RTS stack you can get at documentation portal

    Provides an OpenTelekomCloud Stack.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const name = config.requireObject("name");
    const networkId = config.requireObject("networkId");
    const instanceType = config.requireObject("instanceType");
    const imageId = config.requireObject("imageId");
    const mystack = new opentelekomcloud.RtsStackV1("mystack", {
        disableRollback: true,
        timeoutMins: 60,
        parameters: {
            network_id: networkId,
            instance_type: instanceType,
            image_id: imageId,
        },
        templateBody: `  {
        "heat_template_version": "2016-04-08",
        "description": "Simple template to deploy",
        "parameters": {
            "image_id": {
                "type": "string",
                "description": "Image to be used for compute instance",
                "label": "Image ID"
            },
            "network_id": {
                "type": "string",
                "description": "The Network to be used",
                "label": "Network UUID"
            },
            "instance_type": {
                "type": "string",
                "description": "Type of instance (Flavor) to be used",
                "label": "Instance Type"
            }
        },
        "resources": {
            "my_instance": {
                "type": "OS::Nova::Server",
                "properties": {
                    "image": {
                        "get_param": "image_id"
                    },
                    "flavor": {
                        "get_param": "instance_type"
                    },
                    "networks": [{
                        "network": {
                            "get_param": "network_id"
                        }
                    }]
                }
            }
        },
        "outputs": {
          "InstanceIP": {
            "description": "Instance IP",
            "value": { "get_attr": ["my_instance", "first_address"] }
          }
        }
      }
    `,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    name = config.require_object("name")
    network_id = config.require_object("networkId")
    instance_type = config.require_object("instanceType")
    image_id = config.require_object("imageId")
    mystack = opentelekomcloud.RtsStackV1("mystack",
        disable_rollback=True,
        timeout_mins=60,
        parameters={
            "network_id": network_id,
            "instance_type": instance_type,
            "image_id": image_id,
        },
        template_body="""  {
        "heat_template_version": "2016-04-08",
        "description": "Simple template to deploy",
        "parameters": {
            "image_id": {
                "type": "string",
                "description": "Image to be used for compute instance",
                "label": "Image ID"
            },
            "network_id": {
                "type": "string",
                "description": "The Network to be used",
                "label": "Network UUID"
            },
            "instance_type": {
                "type": "string",
                "description": "Type of instance (Flavor) to be used",
                "label": "Instance Type"
            }
        },
        "resources": {
            "my_instance": {
                "type": "OS::Nova::Server",
                "properties": {
                    "image": {
                        "get_param": "image_id"
                    },
                    "flavor": {
                        "get_param": "instance_type"
                    },
                    "networks": [{
                        "network": {
                            "get_param": "network_id"
                        }
                    }]
                }
            }
        },
        "outputs": {
          "InstanceIP": {
            "description": "Instance IP",
            "value": { "get_attr": ["my_instance", "first_address"] }
          }
        }
      }
    """)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := cfg.RequireObject("name")
    		networkId := cfg.RequireObject("networkId")
    		instanceType := cfg.RequireObject("instanceType")
    		imageId := cfg.RequireObject("imageId")
    		_, err := opentelekomcloud.NewRtsStackV1(ctx, "mystack", &opentelekomcloud.RtsStackV1Args{
    			DisableRollback: pulumi.Bool(true),
    			TimeoutMins:     pulumi.Float64(60),
    			Parameters: pulumi.StringMap{
    				"network_id":    pulumi.Any(networkId),
    				"instance_type": pulumi.Any(instanceType),
    				"image_id":      pulumi.Any(imageId),
    			},
    			TemplateBody: pulumi.String(`  {
        "heat_template_version": "2016-04-08",
        "description": "Simple template to deploy",
        "parameters": {
            "image_id": {
                "type": "string",
                "description": "Image to be used for compute instance",
                "label": "Image ID"
            },
            "network_id": {
                "type": "string",
                "description": "The Network to be used",
                "label": "Network UUID"
            },
            "instance_type": {
                "type": "string",
                "description": "Type of instance (Flavor) to be used",
                "label": "Instance Type"
            }
        },
        "resources": {
            "my_instance": {
                "type": "OS::Nova::Server",
                "properties": {
                    "image": {
                        "get_param": "image_id"
                    },
                    "flavor": {
                        "get_param": "instance_type"
                    },
                    "networks": [{
                        "network": {
                            "get_param": "network_id"
                        }
                    }]
                }
            }
        },
        "outputs": {
          "InstanceIP": {
            "description": "Instance IP",
            "value": { "get_attr": ["my_instance", "first_address"] }
          }
        }
      }
    `),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.RequireObject<dynamic>("name");
        var networkId = config.RequireObject<dynamic>("networkId");
        var instanceType = config.RequireObject<dynamic>("instanceType");
        var imageId = config.RequireObject<dynamic>("imageId");
        var mystack = new Opentelekomcloud.RtsStackV1("mystack", new()
        {
            DisableRollback = true,
            TimeoutMins = 60,
            Parameters = 
            {
                { "network_id", networkId },
                { "instance_type", instanceType },
                { "image_id", imageId },
            },
            TemplateBody = @"  {
        ""heat_template_version"": ""2016-04-08"",
        ""description"": ""Simple template to deploy"",
        ""parameters"": {
            ""image_id"": {
                ""type"": ""string"",
                ""description"": ""Image to be used for compute instance"",
                ""label"": ""Image ID""
            },
            ""network_id"": {
                ""type"": ""string"",
                ""description"": ""The Network to be used"",
                ""label"": ""Network UUID""
            },
            ""instance_type"": {
                ""type"": ""string"",
                ""description"": ""Type of instance (Flavor) to be used"",
                ""label"": ""Instance Type""
            }
        },
        ""resources"": {
            ""my_instance"": {
                ""type"": ""OS::Nova::Server"",
                ""properties"": {
                    ""image"": {
                        ""get_param"": ""image_id""
                    },
                    ""flavor"": {
                        ""get_param"": ""instance_type""
                    },
                    ""networks"": [{
                        ""network"": {
                            ""get_param"": ""network_id""
                        }
                    }]
                }
            }
        },
        ""outputs"": {
          ""InstanceIP"": {
            ""description"": ""Instance IP"",
            ""value"": { ""get_attr"": [""my_instance"", ""first_address""] }
          }
        }
      }
    ",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.RtsStackV1;
    import com.pulumi.opentelekomcloud.RtsStackV1Args;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var name = config.get("name");
            final var networkId = config.get("networkId");
            final var instanceType = config.get("instanceType");
            final var imageId = config.get("imageId");
            var mystack = new RtsStackV1("mystack", RtsStackV1Args.builder()
                .disableRollback(true)
                .timeoutMins(60)
                .parameters(Map.ofEntries(
                    Map.entry("network_id", networkId),
                    Map.entry("instance_type", instanceType),
                    Map.entry("image_id", imageId)
                ))
                .templateBody("""
      {
        "heat_template_version": "2016-04-08",
        "description": "Simple template to deploy",
        "parameters": {
            "image_id": {
                "type": "string",
                "description": "Image to be used for compute instance",
                "label": "Image ID"
            },
            "network_id": {
                "type": "string",
                "description": "The Network to be used",
                "label": "Network UUID"
            },
            "instance_type": {
                "type": "string",
                "description": "Type of instance (Flavor) to be used",
                "label": "Instance Type"
            }
        },
        "resources": {
            "my_instance": {
                "type": "OS::Nova::Server",
                "properties": {
                    "image": {
                        "get_param": "image_id"
                    },
                    "flavor": {
                        "get_param": "instance_type"
                    },
                    "networks": [{
                        "network": {
                            "get_param": "network_id"
                        }
                    }]
                }
            }
        },
        "outputs": {
          "InstanceIP": {
            "description": "Instance IP",
            "value": { "get_attr": ["my_instance", "first_address"] }
          }
        }
      }
                """)
                .build());
    
        }
    }
    
    configuration:
      name:
        type: dynamic
      networkId:
        type: dynamic
      instanceType:
        type: dynamic
      imageId:
        type: dynamic
    resources:
      mystack:
        type: opentelekomcloud:RtsStackV1
        properties:
          disableRollback: true
          timeoutMins: 60
          parameters:
            network_id: ${networkId}
            instance_type: ${instanceType}
            image_id: ${imageId}
          templateBody: |2
              {
                "heat_template_version": "2016-04-08",
                "description": "Simple template to deploy",
                "parameters": {
                    "image_id": {
                        "type": "string",
                        "description": "Image to be used for compute instance",
                        "label": "Image ID"
                    },
                    "network_id": {
                        "type": "string",
                        "description": "The Network to be used",
                        "label": "Network UUID"
                    },
                    "instance_type": {
                        "type": "string",
                        "description": "Type of instance (Flavor) to be used",
                        "label": "Instance Type"
                    }
                },
                "resources": {
                    "my_instance": {
                        "type": "OS::Nova::Server",
                        "properties": {
                            "image": {
                                "get_param": "image_id"
                            },
                            "flavor": {
                                "get_param": "instance_type"
                            },
                            "networks": [{
                                "network": {
                                    "get_param": "network_id"
                                }
                            }]
                        }
                    }
                },
                "outputs": {
                  "InstanceIP": {
                    "description": "Instance IP",
                    "value": { "get_attr": ["my_instance", "first_address"] }
                  }
                }
              }
    

    Create RtsStackV1 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RtsStackV1(name: string, args?: RtsStackV1Args, opts?: CustomResourceOptions);
    @overload
    def RtsStackV1(resource_name: str,
                   args: Optional[RtsStackV1Args] = None,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def RtsStackV1(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   disable_rollback: Optional[bool] = None,
                   environment: Optional[str] = None,
                   files: Optional[Mapping[str, str]] = None,
                   name: Optional[str] = None,
                   parameters: Optional[Mapping[str, str]] = None,
                   region: Optional[str] = None,
                   rts_stack_v1_id: Optional[str] = None,
                   template_body: Optional[str] = None,
                   template_url: Optional[str] = None,
                   timeout_mins: Optional[float] = None,
                   timeouts: Optional[RtsStackV1TimeoutsArgs] = None)
    func NewRtsStackV1(ctx *Context, name string, args *RtsStackV1Args, opts ...ResourceOption) (*RtsStackV1, error)
    public RtsStackV1(string name, RtsStackV1Args? args = null, CustomResourceOptions? opts = null)
    public RtsStackV1(String name, RtsStackV1Args args)
    public RtsStackV1(String name, RtsStackV1Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:RtsStackV1
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RtsStackV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RtsStackV1Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RtsStackV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RtsStackV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RtsStackV1Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var rtsStackV1Resource = new Opentelekomcloud.RtsStackV1("rtsStackV1Resource", new()
    {
        DisableRollback = false,
        Environment = "string",
        Files = 
        {
            { "string", "string" },
        },
        Name = "string",
        Parameters = 
        {
            { "string", "string" },
        },
        Region = "string",
        RtsStackV1Id = "string",
        TemplateBody = "string",
        TemplateUrl = "string",
        TimeoutMins = 0,
        Timeouts = new Opentelekomcloud.Inputs.RtsStackV1TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := opentelekomcloud.NewRtsStackV1(ctx, "rtsStackV1Resource", &opentelekomcloud.RtsStackV1Args{
    	DisableRollback: pulumi.Bool(false),
    	Environment:     pulumi.String("string"),
    	Files: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	Parameters: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Region:       pulumi.String("string"),
    	RtsStackV1Id: pulumi.String("string"),
    	TemplateBody: pulumi.String("string"),
    	TemplateUrl:  pulumi.String("string"),
    	TimeoutMins:  pulumi.Float64(0),
    	Timeouts: &opentelekomcloud.RtsStackV1TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var rtsStackV1Resource = new RtsStackV1("rtsStackV1Resource", RtsStackV1Args.builder()
        .disableRollback(false)
        .environment("string")
        .files(Map.of("string", "string"))
        .name("string")
        .parameters(Map.of("string", "string"))
        .region("string")
        .rtsStackV1Id("string")
        .templateBody("string")
        .templateUrl("string")
        .timeoutMins(0)
        .timeouts(RtsStackV1TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    rts_stack_v1_resource = opentelekomcloud.RtsStackV1("rtsStackV1Resource",
        disable_rollback=False,
        environment="string",
        files={
            "string": "string",
        },
        name="string",
        parameters={
            "string": "string",
        },
        region="string",
        rts_stack_v1_id="string",
        template_body="string",
        template_url="string",
        timeout_mins=0,
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const rtsStackV1Resource = new opentelekomcloud.RtsStackV1("rtsStackV1Resource", {
        disableRollback: false,
        environment: "string",
        files: {
            string: "string",
        },
        name: "string",
        parameters: {
            string: "string",
        },
        region: "string",
        rtsStackV1Id: "string",
        templateBody: "string",
        templateUrl: "string",
        timeoutMins: 0,
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: opentelekomcloud:RtsStackV1
    properties:
        disableRollback: false
        environment: string
        files:
            string: string
        name: string
        parameters:
            string: string
        region: string
        rtsStackV1Id: string
        templateBody: string
        templateUrl: string
        timeoutMins: 0
        timeouts:
            create: string
            delete: string
            update: string
    

    RtsStackV1 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RtsStackV1 resource accepts the following input properties:

    DisableRollback bool
    Set to true to disable rollback of the stack if stack creation failed.
    Environment string
    Tthe environment information about the stack.
    Files Dictionary<string, string>
    Files used in the environment.
    Name string
    A unique name for the stack. The value must meet the regular expression rule (^[a-zA-Z][a-zA-Z0-9_.-]{0,254}$). Changing this creates a new stack.
    Parameters Dictionary<string, string>
    A list of Parameter structures that specify input parameters for the stack.
    Region string
    RtsStackV1Id string
    TemplateBody string
    Structure containing the template body. The template content must use the yaml syntax.
    TemplateUrl string
    Location of a file containing the template body.
    TimeoutMins double
    Specifies the timeout duration.
    Timeouts RtsStackV1Timeouts
    DisableRollback bool
    Set to true to disable rollback of the stack if stack creation failed.
    Environment string
    Tthe environment information about the stack.
    Files map[string]string
    Files used in the environment.
    Name string
    A unique name for the stack. The value must meet the regular expression rule (^[a-zA-Z][a-zA-Z0-9_.-]{0,254}$). Changing this creates a new stack.
    Parameters map[string]string
    A list of Parameter structures that specify input parameters for the stack.
    Region string
    RtsStackV1Id string
    TemplateBody string
    Structure containing the template body. The template content must use the yaml syntax.
    TemplateUrl string
    Location of a file containing the template body.
    TimeoutMins float64
    Specifies the timeout duration.
    Timeouts RtsStackV1TimeoutsArgs
    disableRollback Boolean
    Set to true to disable rollback of the stack if stack creation failed.
    environment String
    Tthe environment information about the stack.
    files Map<String,String>
    Files used in the environment.
    name String
    A unique name for the stack. The value must meet the regular expression rule (^[a-zA-Z][a-zA-Z0-9_.-]{0,254}$). Changing this creates a new stack.
    parameters Map<String,String>
    A list of Parameter structures that specify input parameters for the stack.
    region String
    rtsStackV1Id String
    templateBody String
    Structure containing the template body. The template content must use the yaml syntax.
    templateUrl String
    Location of a file containing the template body.
    timeoutMins Double
    Specifies the timeout duration.
    timeouts RtsStackV1Timeouts
    disableRollback boolean
    Set to true to disable rollback of the stack if stack creation failed.
    environment string
    Tthe environment information about the stack.
    files {[key: string]: string}
    Files used in the environment.
    name string
    A unique name for the stack. The value must meet the regular expression rule (^[a-zA-Z][a-zA-Z0-9_.-]{0,254}$). Changing this creates a new stack.
    parameters {[key: string]: string}
    A list of Parameter structures that specify input parameters for the stack.
    region string
    rtsStackV1Id string
    templateBody string
    Structure containing the template body. The template content must use the yaml syntax.
    templateUrl string
    Location of a file containing the template body.
    timeoutMins number
    Specifies the timeout duration.
    timeouts RtsStackV1Timeouts
    disable_rollback bool
    Set to true to disable rollback of the stack if stack creation failed.
    environment str
    Tthe environment information about the stack.
    files Mapping[str, str]
    Files used in the environment.
    name str
    A unique name for the stack. The value must meet the regular expression rule (^[a-zA-Z][a-zA-Z0-9_.-]{0,254}$). Changing this creates a new stack.
    parameters Mapping[str, str]
    A list of Parameter structures that specify input parameters for the stack.
    region str
    rts_stack_v1_id str
    template_body str
    Structure containing the template body. The template content must use the yaml syntax.
    template_url str
    Location of a file containing the template body.
    timeout_mins float
    Specifies the timeout duration.
    timeouts RtsStackV1TimeoutsArgs
    disableRollback Boolean
    Set to true to disable rollback of the stack if stack creation failed.
    environment String
    Tthe environment information about the stack.
    files Map<String>
    Files used in the environment.
    name String
    A unique name for the stack. The value must meet the regular expression rule (^[a-zA-Z][a-zA-Z0-9_.-]{0,254}$). Changing this creates a new stack.
    parameters Map<String>
    A list of Parameter structures that specify input parameters for the stack.
    region String
    rtsStackV1Id String
    templateBody String
    Structure containing the template body. The template content must use the yaml syntax.
    templateUrl String
    Location of a file containing the template body.
    timeoutMins Number
    Specifies the timeout duration.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RtsStackV1 resource produces the following output properties:

    Capabilities List<string>
    List of stack capabilities for stack.
    Id string
    The provider-assigned unique ID for this managed resource.
    NotificationTopics List<string>
    List of notification topics for stack.
    Outputs Dictionary<string, string>
    A map of outputs from the stack.
    Status string
    Specifies the stack status.
    StatusReason string
    Capabilities []string
    List of stack capabilities for stack.
    Id string
    The provider-assigned unique ID for this managed resource.
    NotificationTopics []string
    List of notification topics for stack.
    Outputs map[string]string
    A map of outputs from the stack.
    Status string
    Specifies the stack status.
    StatusReason string
    capabilities List<String>
    List of stack capabilities for stack.
    id String
    The provider-assigned unique ID for this managed resource.
    notificationTopics List<String>
    List of notification topics for stack.
    outputs Map<String,String>
    A map of outputs from the stack.
    status String
    Specifies the stack status.
    statusReason String
    capabilities string[]
    List of stack capabilities for stack.
    id string
    The provider-assigned unique ID for this managed resource.
    notificationTopics string[]
    List of notification topics for stack.
    outputs {[key: string]: string}
    A map of outputs from the stack.
    status string
    Specifies the stack status.
    statusReason string
    capabilities Sequence[str]
    List of stack capabilities for stack.
    id str
    The provider-assigned unique ID for this managed resource.
    notification_topics Sequence[str]
    List of notification topics for stack.
    outputs Mapping[str, str]
    A map of outputs from the stack.
    status str
    Specifies the stack status.
    status_reason str
    capabilities List<String>
    List of stack capabilities for stack.
    id String
    The provider-assigned unique ID for this managed resource.
    notificationTopics List<String>
    List of notification topics for stack.
    outputs Map<String>
    A map of outputs from the stack.
    status String
    Specifies the stack status.
    statusReason String

    Look up Existing RtsStackV1 Resource

    Get an existing RtsStackV1 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RtsStackV1State, opts?: CustomResourceOptions): RtsStackV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            capabilities: Optional[Sequence[str]] = None,
            disable_rollback: Optional[bool] = None,
            environment: Optional[str] = None,
            files: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            notification_topics: Optional[Sequence[str]] = None,
            outputs: Optional[Mapping[str, str]] = None,
            parameters: Optional[Mapping[str, str]] = None,
            region: Optional[str] = None,
            rts_stack_v1_id: Optional[str] = None,
            status: Optional[str] = None,
            status_reason: Optional[str] = None,
            template_body: Optional[str] = None,
            template_url: Optional[str] = None,
            timeout_mins: Optional[float] = None,
            timeouts: Optional[RtsStackV1TimeoutsArgs] = None) -> RtsStackV1
    func GetRtsStackV1(ctx *Context, name string, id IDInput, state *RtsStackV1State, opts ...ResourceOption) (*RtsStackV1, error)
    public static RtsStackV1 Get(string name, Input<string> id, RtsStackV1State? state, CustomResourceOptions? opts = null)
    public static RtsStackV1 get(String name, Output<String> id, RtsStackV1State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:RtsStackV1    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Capabilities List<string>
    List of stack capabilities for stack.
    DisableRollback bool
    Set to true to disable rollback of the stack if stack creation failed.
    Environment string
    Tthe environment information about the stack.
    Files Dictionary<string, string>
    Files used in the environment.
    Name string
    A unique name for the stack. The value must meet the regular expression rule (^[a-zA-Z][a-zA-Z0-9_.-]{0,254}$). Changing this creates a new stack.
    NotificationTopics List<string>
    List of notification topics for stack.
    Outputs Dictionary<string, string>
    A map of outputs from the stack.
    Parameters Dictionary<string, string>
    A list of Parameter structures that specify input parameters for the stack.
    Region string
    RtsStackV1Id string
    Status string
    Specifies the stack status.
    StatusReason string
    TemplateBody string
    Structure containing the template body. The template content must use the yaml syntax.
    TemplateUrl string
    Location of a file containing the template body.
    TimeoutMins double
    Specifies the timeout duration.
    Timeouts RtsStackV1Timeouts
    Capabilities []string
    List of stack capabilities for stack.
    DisableRollback bool
    Set to true to disable rollback of the stack if stack creation failed.
    Environment string
    Tthe environment information about the stack.
    Files map[string]string
    Files used in the environment.
    Name string
    A unique name for the stack. The value must meet the regular expression rule (^[a-zA-Z][a-zA-Z0-9_.-]{0,254}$). Changing this creates a new stack.
    NotificationTopics []string
    List of notification topics for stack.
    Outputs map[string]string
    A map of outputs from the stack.
    Parameters map[string]string
    A list of Parameter structures that specify input parameters for the stack.
    Region string
    RtsStackV1Id string
    Status string
    Specifies the stack status.
    StatusReason string
    TemplateBody string
    Structure containing the template body. The template content must use the yaml syntax.
    TemplateUrl string
    Location of a file containing the template body.
    TimeoutMins float64
    Specifies the timeout duration.
    Timeouts RtsStackV1TimeoutsArgs
    capabilities List<String>
    List of stack capabilities for stack.
    disableRollback Boolean
    Set to true to disable rollback of the stack if stack creation failed.
    environment String
    Tthe environment information about the stack.
    files Map<String,String>
    Files used in the environment.
    name String
    A unique name for the stack. The value must meet the regular expression rule (^[a-zA-Z][a-zA-Z0-9_.-]{0,254}$). Changing this creates a new stack.
    notificationTopics List<String>
    List of notification topics for stack.
    outputs Map<String,String>
    A map of outputs from the stack.
    parameters Map<String,String>
    A list of Parameter structures that specify input parameters for the stack.
    region String
    rtsStackV1Id String
    status String
    Specifies the stack status.
    statusReason String
    templateBody String
    Structure containing the template body. The template content must use the yaml syntax.
    templateUrl String
    Location of a file containing the template body.
    timeoutMins Double
    Specifies the timeout duration.
    timeouts RtsStackV1Timeouts
    capabilities string[]
    List of stack capabilities for stack.
    disableRollback boolean
    Set to true to disable rollback of the stack if stack creation failed.
    environment string
    Tthe environment information about the stack.
    files {[key: string]: string}
    Files used in the environment.
    name string
    A unique name for the stack. The value must meet the regular expression rule (^[a-zA-Z][a-zA-Z0-9_.-]{0,254}$). Changing this creates a new stack.
    notificationTopics string[]
    List of notification topics for stack.
    outputs {[key: string]: string}
    A map of outputs from the stack.
    parameters {[key: string]: string}
    A list of Parameter structures that specify input parameters for the stack.
    region string
    rtsStackV1Id string
    status string
    Specifies the stack status.
    statusReason string
    templateBody string
    Structure containing the template body. The template content must use the yaml syntax.
    templateUrl string
    Location of a file containing the template body.
    timeoutMins number
    Specifies the timeout duration.
    timeouts RtsStackV1Timeouts
    capabilities Sequence[str]
    List of stack capabilities for stack.
    disable_rollback bool
    Set to true to disable rollback of the stack if stack creation failed.
    environment str
    Tthe environment information about the stack.
    files Mapping[str, str]
    Files used in the environment.
    name str
    A unique name for the stack. The value must meet the regular expression rule (^[a-zA-Z][a-zA-Z0-9_.-]{0,254}$). Changing this creates a new stack.
    notification_topics Sequence[str]
    List of notification topics for stack.
    outputs Mapping[str, str]
    A map of outputs from the stack.
    parameters Mapping[str, str]
    A list of Parameter structures that specify input parameters for the stack.
    region str
    rts_stack_v1_id str
    status str
    Specifies the stack status.
    status_reason str
    template_body str
    Structure containing the template body. The template content must use the yaml syntax.
    template_url str
    Location of a file containing the template body.
    timeout_mins float
    Specifies the timeout duration.
    timeouts RtsStackV1TimeoutsArgs
    capabilities List<String>
    List of stack capabilities for stack.
    disableRollback Boolean
    Set to true to disable rollback of the stack if stack creation failed.
    environment String
    Tthe environment information about the stack.
    files Map<String>
    Files used in the environment.
    name String
    A unique name for the stack. The value must meet the regular expression rule (^[a-zA-Z][a-zA-Z0-9_.-]{0,254}$). Changing this creates a new stack.
    notificationTopics List<String>
    List of notification topics for stack.
    outputs Map<String>
    A map of outputs from the stack.
    parameters Map<String>
    A list of Parameter structures that specify input parameters for the stack.
    region String
    rtsStackV1Id String
    status String
    Specifies the stack status.
    statusReason String
    templateBody String
    Structure containing the template body. The template content must use the yaml syntax.
    templateUrl String
    Location of a file containing the template body.
    timeoutMins Number
    Specifies the timeout duration.
    timeouts Property Map

    Supporting Types

    RtsStackV1Timeouts, RtsStackV1TimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    RTS Stacks can be imported using the name, e.g.

    $ pulumi import opentelekomcloud:index/rtsStackV1:RtsStackV1 mystack rts-stack
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud