Viewing docs for zenduty 2.0.0
published on Friday, Aug 14, 2026 by zenduty
published on Friday, Aug 14, 2026 by zenduty
Viewing docs for zenduty 2.0.0
published on Friday, Aug 14, 2026 by zenduty
published on Friday, Aug 14, 2026 by zenduty
zenduty.TaskTemplates lists the task templates of a team.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zenduty from "@pulumi/zenduty";
const teamTemplates = zenduty.getTaskTemplates({
teamId: exampleteam.id,
});
import pulumi
import pulumi_zenduty as zenduty
team_templates = zenduty.get_task_templates(team_id=exampleteam["id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/zenduty/v2/zenduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zenduty.LookupTaskTemplates(ctx, &zenduty.LookupTaskTemplatesArgs{
TeamId: exampleteam.Id,
}, 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 teamTemplates = Zenduty.GetTaskTemplates.Invoke(new()
{
TeamId = exampleteam.Id,
});
});
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.GetTaskTemplatesArgs;
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 teamTemplates = ZendutyFunctions.getTaskTemplates(GetTaskTemplatesArgs.builder()
.teamId(exampleteam.id())
.build());
}
}
variables:
teamTemplates:
fn::invoke:
function: zenduty:getTaskTemplates
arguments:
teamId: ${exampleteam.id}
Example coming soon!
Using getTaskTemplates
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 getTaskTemplates(args: GetTaskTemplatesArgs, opts?: InvokeOptions): Promise<GetTaskTemplatesResult>
function getTaskTemplatesOutput(args: GetTaskTemplatesOutputArgs, opts?: InvokeOutputOptions): Output<GetTaskTemplatesResult>def get_task_templates(id: Optional[str] = None,
team_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTaskTemplatesResult
def get_task_templates_output(id: pulumi.Input[Optional[str]] = None,
team_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetTaskTemplatesResult]func LookupTaskTemplates(ctx *Context, args *LookupTaskTemplatesArgs, opts ...InvokeOption) (*LookupTaskTemplatesResult, error)
func LookupTaskTemplatesOutput(ctx *Context, args *LookupTaskTemplatesOutputArgs, opts ...InvokeOption) LookupTaskTemplatesResultOutput> Note: This function is named LookupTaskTemplates in the Go SDK.
public static class GetTaskTemplates
{
public static Task<GetTaskTemplatesResult> InvokeAsync(GetTaskTemplatesArgs args, InvokeOptions? opts = null)
public static Output<GetTaskTemplatesResult> Invoke(GetTaskTemplatesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetTaskTemplatesResult> Invoke(GetTaskTemplatesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetTaskTemplatesResult> getTaskTemplates(GetTaskTemplatesArgs args, InvokeOptions options)
public static Output<GetTaskTemplatesResult> getTaskTemplates(GetTaskTemplatesArgs args, InvokeOptions options)
public static Output<GetTaskTemplatesResult> getTaskTemplates(GetTaskTemplatesArgs args, InvokeOutputOptions options)
fn::invoke:
function: zenduty:index/getTaskTemplates:getTaskTemplates
arguments:
# arguments dictionarydata "zenduty_get_task_templates" "name" {
# arguments
}The following arguments are supported:
getTaskTemplates Result
The following output properties are available:
- Id string
- Task
Templates List<GetTask Templates Task Template> - The list of task templates, each with:
- Team
Id string
- Id string
- Task
Templates []GetTask Templates Task Template - The list of task templates, each with:
- Team
Id string
- id string
- task_
templates list(object) - The list of task templates, each with:
- team_
id string
- id String
- task
Templates List<GetTask Templates Task Template> - The list of task templates, each with:
- team
Id String
- id string
- task
Templates GetTask Templates Task Template[] - The list of task templates, each with:
- team
Id string
- id str
- task_
templates Sequence[GetTask Templates Task Template] - The list of task templates, each with:
- team_
id str
- id String
- task
Templates List<Property Map> - The list of task templates, each with:
- team
Id String
Supporting Types
GetTaskTemplatesTaskTemplate
- Creation
Date string - When the task template was created.
- Name string
- The name of the task template.
- Summary string
- The summary of the task template.
- Unique
Id string - The unique_id of the task template.
- Creation
Date string - When the task template was created.
- Name string
- The name of the task template.
- Summary string
- The summary of the task template.
- Unique
Id string - The unique_id of the task template.
- creation_
date string - When the task template was created.
- name string
- The name of the task template.
- summary string
- The summary of the task template.
- unique_
id string - The unique_id of the task template.
- creation
Date String - When the task template was created.
- name String
- The name of the task template.
- summary String
- The summary of the task template.
- unique
Id String - The unique_id of the task template.
- creation
Date string - When the task template was created.
- name string
- The name of the task template.
- summary string
- The summary of the task template.
- unique
Id string - The unique_id of the task template.
- creation_
date str - When the task template was created.
- name str
- The name of the task template.
- summary str
- The summary of the task template.
- unique_
id str - The unique_id of the task template.
- creation
Date String - When the task template was created.
- name String
- The name of the task template.
- summary String
- The summary of the task template.
- unique
Id String - The unique_id of the task template.
Package Details
- Repository
- zenduty zenduty/terraform-provider-zenduty
- License
- Notes
- This Pulumi package is based on the
zendutyTerraform Provider.
Viewing docs for zenduty 2.0.0
published on Friday, Aug 14, 2026 by zenduty
published on Friday, Aug 14, 2026 by zenduty