zenduty 1.0.3 published on Monday, Mar 24, 2025 by zenduty
zenduty.getTags
Explore with Pulumi AI
import * as pulumi from "@pulumi/pulumi";
import * as zenduty from "@pulumi/zenduty";
const productionTags = zenduty.getTags({
teamId: "",
});
import pulumi
import pulumi_zenduty as zenduty
production_tags = zenduty.get_tags(team_id="")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/zenduty/zenduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zenduty.LookupTags(ctx, &zenduty.LookupTagsArgs{
TeamId: "",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zenduty = Pulumi.Zenduty;
return await Deployment.RunAsync(() =>
{
var productionTags = Zenduty.GetTags.Invoke(new()
{
TeamId = "",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zenduty.ZendutyFunctions;
import com.pulumi.zenduty.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 productionTags = ZendutyFunctions.getTags(GetTagsArgs.builder()
.teamId("")
.build());
}
}
variables:
productionTags:
fn::invoke:
function: zenduty:getTags
arguments:
teamId: ""
or
import * as pulumi from "@pulumi/pulumi";
export const zendutyTags = data.zenduty_tags.production_tags.tags;
import pulumi
pulumi.export("zendutyTags", data["zenduty_tags"]["production_tags"]["tags"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ctx.Export("zendutyTags", data.Zenduty_tags.Production_tags.Tags)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
return new Dictionary<string, object?>
{
["zendutyTags"] = data.Zenduty_tags.Production_tags.Tags,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
ctx.export("zendutyTags", data.zenduty_tags().production_tags().tags());
}
}
outputs:
zendutyTags: ${data.zenduty_tags.production_tags.tags}
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,
team_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTagsResult
def get_tags_output(id: Optional[pulumi.Input[str]] = None,
team_id: 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: zenduty:index/getTags:getTags
arguments:
# arguments dictionary
The following arguments are supported:
getTags Result
The following output properties are available:
- Id string
- List<Get
Tags Tag> - Team
Id string
- Id string
- []Get
Tags Tag - Team
Id string
- id String
- List<Get
Tags Tag> - team
Id String
- id string
- Get
Tags Tag[] - team
Id string
- id str
- Sequence[Get
Tags Tag] - team_
id str
- id String
- List<Property Map>
- team
Id String
Supporting Types
GetTagsTag
- Color string
- Creation
Date string - Name string
- Team string
- Unique
Id string
- Color string
- Creation
Date string - Name string
- Team string
- Unique
Id string
- color String
- creation
Date String - name String
- team String
- unique
Id String
- color string
- creation
Date string - name string
- team string
- unique
Id string
- color str
- creation_
date str - name str
- team str
- unique_
id str
- color String
- creation
Date String - name String
- team String
- unique
Id String
Package Details
- Repository
- zenduty zenduty/terraform-provider-zenduty
- License
- Notes
- This Pulumi package is based on the
zenduty
Terraform Provider.