constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix
constellix.getTags
Explore with Pulumi AI
constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix
Data source for Tags
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as constellix from "@pulumi/constellix";
const datatags = constellix.getTags({
name: "tagsdatasource",
});
import pulumi
import pulumi_constellix as constellix
datatags = constellix.get_tags(name="tagsdatasource")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/constellix/constellix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := constellix.LookupTags(ctx, &constellix.LookupTagsArgs{
Name: "tagsdatasource",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Constellix = Pulumi.Constellix;
return await Deployment.RunAsync(() =>
{
var datatags = Constellix.GetTags.Invoke(new()
{
Name = "tagsdatasource",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.constellix.ConstellixFunctions;
import com.pulumi.constellix.inputs.GetTagsArgs;
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 datatags = ConstellixFunctions.getTags(GetTagsArgs.builder()
.name("tagsdatasource")
.build());
}
}
variables:
datatags:
fn::invoke:
function: constellix:getTags
arguments:
name: tagsdatasource
Argument Reference
name
- (Required) Name of record. Name should be unique.
Attribute Reference
name
- (Required) Name of record. Name should be unique.
Using getTags
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 getTags(args: GetTagsArgs, opts?: InvokeOptions): Promise<GetTagsResult>
function getTagsOutput(args: GetTagsOutputArgs, opts?: InvokeOptions): Output<GetTagsResult>
def get_tags(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTagsResult
def get_tags_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTagsResult]
func LookupTags(ctx *Context, args *LookupTagsArgs, opts ...InvokeOption) (*LookupTagsResult, error)
func LookupTagsOutput(ctx *Context, args *LookupTagsOutputArgs, opts ...InvokeOption) LookupTagsResultOutput
> Note: This function is named LookupTags
in the Go SDK.
public static class GetTags
{
public static Task<GetTagsResult> InvokeAsync(GetTagsArgs args, InvokeOptions? opts = null)
public static Output<GetTagsResult> Invoke(GetTagsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTagsResult> getTags(GetTagsArgs args, InvokeOptions options)
public static Output<GetTagsResult> getTags(GetTagsArgs args, InvokeOptions options)
fn::invoke:
function: constellix:index/getTags:getTags
arguments:
# arguments dictionary
The following arguments are supported:
getTags Result
The following output properties are available:
Package Details
- Repository
- constellix constellix/terraform-provider-constellix
- License
- Notes
- This Pulumi package is based on the
constellix
Terraform Provider.
constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix