flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getRtsStackResourceV1
Start a Neo task
Explain and create a flexibleengine.getRtsStackResourceV1 resource
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
The FlexibleEngine RTS Stack Resource data source allows access to stack resource metadata.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const stackName = config.requireObject("stackName");
const resourceName = config.requireObject("resourceName");
const stackresource = flexibleengine.getRtsStackResourceV1({
stackName: stackName,
resourceName: resourceName,
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
stack_name = config.require_object("stackName")
resource_name = config.require_object("resourceName")
stackresource = flexibleengine.get_rts_stack_resource_v1(stack_name=stack_name,
resource_name=resource_name)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"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")
resourceName := cfg.RequireObject("resourceName")
_, err := flexibleengine.GetRtsStackResourceV1(ctx, &flexibleengine.GetRtsStackResourceV1Args{
StackName: stackName,
ResourceName: pulumi.StringRef(resourceName),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var stackName = config.RequireObject<dynamic>("stackName");
var resourceName = config.RequireObject<dynamic>("resourceName");
var stackresource = Flexibleengine.GetRtsStackResourceV1.Invoke(new()
{
StackName = stackName,
ResourceName = resourceName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FlexibleengineFunctions;
import com.pulumi.flexibleengine.inputs.GetRtsStackResourceV1Args;
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 resourceName = config.get("resourceName");
final var stackresource = FlexibleengineFunctions.getRtsStackResourceV1(GetRtsStackResourceV1Args.builder()
.stackName(stackName)
.resourceName(resourceName)
.build());
}
}
configuration:
stackName:
type: dynamic
resourceName:
type: dynamic
variables:
stackresource:
fn::invoke:
function: flexibleengine:getRtsStackResourceV1
arguments:
stackName: ${stackName}
resourceName: ${resourceName}
Using getRtsStackResourceV1
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 getRtsStackResourceV1(args: GetRtsStackResourceV1Args, opts?: InvokeOptions): Promise<GetRtsStackResourceV1Result>
function getRtsStackResourceV1Output(args: GetRtsStackResourceV1OutputArgs, opts?: InvokeOptions): Output<GetRtsStackResourceV1Result>def get_rts_stack_resource_v1(id: Optional[str] = None,
physical_resource_id: Optional[str] = None,
region: Optional[str] = None,
resource_name: Optional[str] = None,
resource_type: Optional[str] = None,
stack_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRtsStackResourceV1Result
def get_rts_stack_resource_v1_output(id: Optional[pulumi.Input[str]] = None,
physical_resource_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
resource_name: Optional[pulumi.Input[str]] = None,
resource_type: Optional[pulumi.Input[str]] = None,
stack_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRtsStackResourceV1Result]func GetRtsStackResourceV1(ctx *Context, args *GetRtsStackResourceV1Args, opts ...InvokeOption) (*GetRtsStackResourceV1Result, error)
func GetRtsStackResourceV1Output(ctx *Context, args *GetRtsStackResourceV1OutputArgs, opts ...InvokeOption) GetRtsStackResourceV1ResultOutput> Note: This function is named GetRtsStackResourceV1 in the Go SDK.
public static class GetRtsStackResourceV1
{
public static Task<GetRtsStackResourceV1Result> InvokeAsync(GetRtsStackResourceV1Args args, InvokeOptions? opts = null)
public static Output<GetRtsStackResourceV1Result> Invoke(GetRtsStackResourceV1InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRtsStackResourceV1Result> getRtsStackResourceV1(GetRtsStackResourceV1Args args, InvokeOptions options)
public static Output<GetRtsStackResourceV1Result> getRtsStackResourceV1(GetRtsStackResourceV1Args args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getRtsStackResourceV1:getRtsStackResourceV1
arguments:
# arguments dictionaryThe following arguments are supported:
- Stack
Name string - The unique stack name.
- Id string
- Physical
Resource stringId - The physical resource ID.
- Region string
- The region in which to query the data source. If omitted, the provider-level region will be used.
- Resource
Name string - The name of a resource in the stack.
- Resource
Type string - The resource type.
- Stack
Name string - The unique stack name.
- Id string
- Physical
Resource stringId - The physical resource ID.
- Region string
- The region in which to query the data source. If omitted, the provider-level region will be used.
- Resource
Name string - The name of a resource in the stack.
- Resource
Type string - The resource type.
- stack
Name String - The unique stack name.
- id String
- physical
Resource StringId - The physical resource ID.
- region String
- The region in which to query the data source. If omitted, the provider-level region will be used.
- resource
Name String - The name of a resource in the stack.
- resource
Type String - The resource type.
- stack
Name string - The unique stack name.
- id string
- physical
Resource stringId - The physical resource ID.
- region string
- The region in which to query the data source. If omitted, the provider-level region will be used.
- resource
Name string - The name of a resource in the stack.
- resource
Type string - The resource type.
- stack_
name str - The unique stack name.
- id str
- physical_
resource_ strid - The physical resource ID.
- region str
- The region in which to query the data source. If omitted, the provider-level region will be used.
- resource_
name str - The name of a resource in the stack.
- resource_
type str - The resource type.
- stack
Name String - The unique stack name.
- id String
- physical
Resource StringId - The physical resource ID.
- region String
- The region in which to query the data source. If omitted, the provider-level region will be used.
- resource
Name String - The name of a resource in the stack.
- resource
Type String - The resource type.
getRtsStackResourceV1 Result
The following output properties are available:
- Id string
- Logical
Resource stringId - The logical resource ID.
- Region string
- Required
Bies List<string> - Specifies the resource dependency.
- Resource
Status string - The status of the resource.
- Resource
Status stringReason - The resource operation reason.
- Stack
Name string - Physical
Resource stringId - Resource
Name string - Resource
Type string
- Id string
- Logical
Resource stringId - The logical resource ID.
- Region string
- Required
Bies []string - Specifies the resource dependency.
- Resource
Status string - The status of the resource.
- Resource
Status stringReason - The resource operation reason.
- Stack
Name string - Physical
Resource stringId - Resource
Name string - Resource
Type string
- id String
- logical
Resource StringId - The logical resource ID.
- region String
- required
Bies List<String> - Specifies the resource dependency.
- resource
Status String - The status of the resource.
- resource
Status StringReason - The resource operation reason.
- stack
Name String - physical
Resource StringId - resource
Name String - resource
Type String
- id string
- logical
Resource stringId - The logical resource ID.
- region string
- required
Bies string[] - Specifies the resource dependency.
- resource
Status string - The status of the resource.
- resource
Status stringReason - The resource operation reason.
- stack
Name string - physical
Resource stringId - resource
Name string - resource
Type string
- id str
- logical_
resource_ strid - The logical resource ID.
- region str
- required_
bies Sequence[str] - Specifies the resource dependency.
- resource_
status str - The status of the resource.
- resource_
status_ strreason - The resource operation reason.
- stack_
name str - physical_
resource_ strid - resource_
name str - resource_
type str
- id String
- logical
Resource StringId - The logical resource ID.
- region String
- required
Bies List<String> - Specifies the resource dependency.
- resource
Status String - The status of the resource.
- resource
Status StringReason - The resource operation reason.
- stack
Name String - physical
Resource StringId - resource
Name String - resource
Type String
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengineTerraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
