splight v1.1.1 published on Thursday, Sep 26, 2024 by splightplatform
splight.getTags
Explore with Pulumi AI
splight v1.1.1 published on Thursday, Sep 26, 2024 by splightplatform
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as splight from "@pulumi/splight";
const tags = splight.getTags({});
import pulumi
import pulumi_splight as splight
tags = splight.get_tags()
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/splightplatform/pulumi-splight/sdk/go/splight"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := splight.GetTags(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Splight = Pulumi.Splight;
return await Deployment.RunAsync(() =>
{
var tags = Splight.GetTags.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.splight.SplightFunctions;
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 tags = SplightFunctions.getTags();
}
}
variables:
tags:
fn::invoke:
Function: splight:getTags
Arguments: {}
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(opts?: InvokeOptions): Promise<GetTagsResult>
function getTagsOutput(opts?: InvokeOptions): Output<GetTagsResult>
def get_tags(opts: Optional[InvokeOptions] = None) -> GetTagsResult
def get_tags_output(opts: Optional[InvokeOptions] = None) -> Output[GetTagsResult]
func GetTags(ctx *Context, opts ...InvokeOption) (*GetTagsResult, error)
func GetTagsOutput(ctx *Context, opts ...InvokeOption) GetTagsResultOutput
> Note: This function is named GetTags
in the Go SDK.
public static class GetTags
{
public static Task<GetTagsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetTagsResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetTagsResult> getTags(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: splight:index/getTags:getTags
arguments:
# arguments dictionary
getTags Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- List<Splight.
Splight. Outputs. Get Tags Tag>
- Id string
- The provider-assigned unique ID for this managed resource.
- []Get
Tags Tag
- id String
- The provider-assigned unique ID for this managed resource.
- List<Get
Tags Tag>
- id string
- The provider-assigned unique ID for this managed resource.
- Get
Tags Tag[]
- id str
- The provider-assigned unique ID for this managed resource.
- Sequence[Get
Tags Tag]
- id String
- The provider-assigned unique ID for this managed resource.
- List<Property Map>
Supporting Types
GetTagsTag
Package Details
- Repository
- splight splightplatform/pulumi-splight
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
splight
Terraform Provider.
splight v1.1.1 published on Thursday, Sep 26, 2024 by splightplatform