opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getRtsStackV1
Explore with Pulumi AI
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
Use this data source to get details about RTS outputs and other useful data including the template body.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const stackName = config.requireObject("stackName");
const mystack = opentelekomcloud.getRtsStackV1({
name: stackName,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
stack_name = config.require_object("stackName")
mystack = opentelekomcloud.get_rts_stack_v1(name=stack_name)
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, "")
stackName := cfg.RequireObject("stackName")
_, err := opentelekomcloud.LookupRtsStackV1(ctx, &opentelekomcloud.LookupRtsStackV1Args{
Name: stackName,
}, nil)
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 stackName = config.RequireObject<dynamic>("stackName");
var mystack = Opentelekomcloud.GetRtsStackV1.Invoke(new()
{
Name = stackName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetRtsStackV1Args;
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 stackName = config.get("stackName");
final var mystack = OpentelekomcloudFunctions.getRtsStackV1(GetRtsStackV1Args.builder()
.name(stackName)
.build());
}
}
configuration:
stackName:
type: dynamic
variables:
mystack:
fn::invoke:
function: opentelekomcloud:getRtsStackV1
arguments:
name: ${stackName}
Using getRtsStackV1
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRtsStackV1(args: GetRtsStackV1Args, opts?: InvokeOptions): Promise<GetRtsStackV1Result>
function getRtsStackV1Output(args: GetRtsStackV1OutputArgs, opts?: InvokeOptions): Output<GetRtsStackV1Result>
def get_rts_stack_v1(id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRtsStackV1Result
def get_rts_stack_v1_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRtsStackV1Result]
func LookupRtsStackV1(ctx *Context, args *LookupRtsStackV1Args, opts ...InvokeOption) (*LookupRtsStackV1Result, error)
func LookupRtsStackV1Output(ctx *Context, args *LookupRtsStackV1OutputArgs, opts ...InvokeOption) LookupRtsStackV1ResultOutput
> Note: This function is named LookupRtsStackV1
in the Go SDK.
public static class GetRtsStackV1
{
public static Task<GetRtsStackV1Result> InvokeAsync(GetRtsStackV1Args args, InvokeOptions? opts = null)
public static Output<GetRtsStackV1Result> Invoke(GetRtsStackV1InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRtsStackV1Result> getRtsStackV1(GetRtsStackV1Args args, InvokeOptions options)
public static Output<GetRtsStackV1Result> getRtsStackV1(GetRtsStackV1Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getRtsStackV1:getRtsStackV1
arguments:
# arguments dictionary
The following arguments are supported:
getRtsStackV1 Result
The following output properties are available:
- Capabilities List<string>
- List of stack capabilities for stack.
- Disable
Rollback bool - Whether the rollback of the stack is disabled when stack creation fails.
- Id string
- A unique identifier of the stack.
- Name string
- Notification
Topics List<string> - List of notification topics for stack.
- Outputs Dictionary<string, string>
- A list of stack outputs.
- Parameters Dictionary<string, string>
- A map of parameters that specify input parameters for the stack.
- Region string
- Status string
- Specifies the stack status.
- Status
Reason string - Template
Body string - Structure containing the template body.
- Timeout
Mins double - Specifies the timeout duration.
- Capabilities []string
- List of stack capabilities for stack.
- Disable
Rollback bool - Whether the rollback of the stack is disabled when stack creation fails.
- Id string
- A unique identifier of the stack.
- Name string
- Notification
Topics []string - List of notification topics for stack.
- Outputs map[string]string
- A list of stack outputs.
- Parameters map[string]string
- A map of parameters that specify input parameters for the stack.
- Region string
- Status string
- Specifies the stack status.
- Status
Reason string - Template
Body string - Structure containing the template body.
- Timeout
Mins float64 - Specifies the timeout duration.
- capabilities List<String>
- List of stack capabilities for stack.
- disable
Rollback Boolean - Whether the rollback of the stack is disabled when stack creation fails.
- id String
- A unique identifier of the stack.
- name String
- notification
Topics List<String> - List of notification topics for stack.
- outputs Map<String,String>
- A list of stack outputs.
- parameters Map<String,String>
- A map of parameters that specify input parameters for the stack.
- region String
- status String
- Specifies the stack status.
- status
Reason String - template
Body String - Structure containing the template body.
- timeout
Mins Double - Specifies the timeout duration.
- capabilities string[]
- List of stack capabilities for stack.
- disable
Rollback boolean - Whether the rollback of the stack is disabled when stack creation fails.
- id string
- A unique identifier of the stack.
- name string
- notification
Topics string[] - List of notification topics for stack.
- outputs {[key: string]: string}
- A list of stack outputs.
- parameters {[key: string]: string}
- A map of parameters that specify input parameters for the stack.
- region string
- status string
- Specifies the stack status.
- status
Reason string - template
Body string - Structure containing the template body.
- timeout
Mins number - Specifies the timeout duration.
- capabilities Sequence[str]
- List of stack capabilities for stack.
- disable_
rollback bool - Whether the rollback of the stack is disabled when stack creation fails.
- id str
- A unique identifier of the stack.
- name str
- notification_
topics Sequence[str] - List of notification topics for stack.
- outputs Mapping[str, str]
- A list of stack outputs.
- parameters Mapping[str, str]
- A map of parameters that specify input parameters for the stack.
- region str
- status str
- Specifies the stack status.
- status_
reason str - template_
body str - Structure containing the template body.
- timeout_
mins float - Specifies the timeout duration.
- capabilities List<String>
- List of stack capabilities for stack.
- disable
Rollback Boolean - Whether the rollback of the stack is disabled when stack creation fails.
- id String
- A unique identifier of the stack.
- name String
- notification
Topics List<String> - List of notification topics for stack.
- outputs Map<String>
- A list of stack outputs.
- parameters Map<String>
- A map of parameters that specify input parameters for the stack.
- region String
- status String
- Specifies the stack status.
- status
Reason String - template
Body String - Structure containing the template body.
- timeout
Mins Number - Specifies the timeout duration.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud