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.TaskTemplateTasks lists the tasks of a task template.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zenduty from "@pulumi/zenduty";
const templateTasks = zenduty.getTaskTemplateTasks({
teamId: exampleteam.id,
taskTemplateId: exampleTemplate.id,
});
import pulumi
import pulumi_zenduty as zenduty
template_tasks = zenduty.get_task_template_tasks(team_id=exampleteam["id"],
task_template_id=example_template["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.LookupTaskTemplateTasks(ctx, &zenduty.LookupTaskTemplateTasksArgs{
TeamId: exampleteam.Id,
TaskTemplateId: exampleTemplate.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 templateTasks = Zenduty.GetTaskTemplateTasks.Invoke(new()
{
TeamId = exampleteam.Id,
TaskTemplateId = exampleTemplate.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.GetTaskTemplateTasksArgs;
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 templateTasks = ZendutyFunctions.getTaskTemplateTasks(GetTaskTemplateTasksArgs.builder()
.teamId(exampleteam.id())
.taskTemplateId(exampleTemplate.id())
.build());
}
}
variables:
templateTasks:
fn::invoke:
function: zenduty:getTaskTemplateTasks
arguments:
teamId: ${exampleteam.id}
taskTemplateId: ${exampleTemplate.id}
Example coming soon!
Using getTaskTemplateTasks
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 getTaskTemplateTasks(args: GetTaskTemplateTasksArgs, opts?: InvokeOptions): Promise<GetTaskTemplateTasksResult>
function getTaskTemplateTasksOutput(args: GetTaskTemplateTasksOutputArgs, opts?: InvokeOutputOptions): Output<GetTaskTemplateTasksResult>def get_task_template_tasks(id: Optional[str] = None,
task_template_id: Optional[str] = None,
team_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTaskTemplateTasksResult
def get_task_template_tasks_output(id: pulumi.Input[Optional[str]] = None,
task_template_id: pulumi.Input[Optional[str]] = None,
team_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetTaskTemplateTasksResult]func LookupTaskTemplateTasks(ctx *Context, args *LookupTaskTemplateTasksArgs, opts ...InvokeOption) (*LookupTaskTemplateTasksResult, error)
func LookupTaskTemplateTasksOutput(ctx *Context, args *LookupTaskTemplateTasksOutputArgs, opts ...InvokeOption) LookupTaskTemplateTasksResultOutput> Note: This function is named LookupTaskTemplateTasks in the Go SDK.
public static class GetTaskTemplateTasks
{
public static Task<GetTaskTemplateTasksResult> InvokeAsync(GetTaskTemplateTasksArgs args, InvokeOptions? opts = null)
public static Output<GetTaskTemplateTasksResult> Invoke(GetTaskTemplateTasksInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetTaskTemplateTasksResult> Invoke(GetTaskTemplateTasksInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetTaskTemplateTasksResult> getTaskTemplateTasks(GetTaskTemplateTasksArgs args, InvokeOptions options)
public static Output<GetTaskTemplateTasksResult> getTaskTemplateTasks(GetTaskTemplateTasksArgs args, InvokeOptions options)
public static Output<GetTaskTemplateTasksResult> getTaskTemplateTasks(GetTaskTemplateTasksArgs args, InvokeOutputOptions options)
fn::invoke:
function: zenduty:index/getTaskTemplateTasks:getTaskTemplateTasks
arguments:
# arguments dictionarydata "zenduty_get_task_template_tasks" "name" {
# arguments
}The following arguments are supported:
- Task
Template stringId - The unique_id of the task template whose tasks to list.
- Team
Id string - The unique_id of the team.
- Id string
- Task
Template stringId - The unique_id of the task template whose tasks to list.
- Team
Id string - The unique_id of the team.
- Id string
- task_
template_ stringid - The unique_id of the task template whose tasks to list.
- team_
id string - The unique_id of the team.
- id string
- task
Template StringId - The unique_id of the task template whose tasks to list.
- team
Id String - The unique_id of the team.
- id String
- task
Template stringId - The unique_id of the task template whose tasks to list.
- team
Id string - The unique_id of the team.
- id string
- task_
template_ strid - The unique_id of the task template whose tasks to list.
- team_
id str - The unique_id of the team.
- id str
- task
Template StringId - The unique_id of the task template whose tasks to list.
- team
Id String - The unique_id of the team.
- id String
getTaskTemplateTasks Result
The following output properties are available:
- Id string
- Task
Template stringId - Tasks
List<Get
Task Template Tasks Task> - The list of tasks, each with:
- Team
Id string
- Id string
- Task
Template stringId - Tasks
[]Get
Task Template Tasks Task - The list of tasks, each with:
- Team
Id string
- id string
- task_
template_ stringid - tasks list(object)
- The list of tasks, each with:
- team_
id string
- id String
- task
Template StringId - tasks
List<Get
Task Template Tasks Task> - The list of tasks, each with:
- team
Id String
- id string
- task
Template stringId - tasks
Get
Task Template Tasks Task[] - The list of tasks, each with:
- team
Id string
- id str
- task_
template_ strid - tasks
Sequence[Get
Task Template Tasks Task] - The list of tasks, each with:
- team_
id str
- id String
- task
Template StringId - tasks List<Property Map>
- The list of tasks, each with:
- team
Id String
Supporting Types
GetTaskTemplateTasksTask
- Creation
Date string - When the task was created.
- Description string
- The description of the task.
- Due
In double - Minutes until the task is due, or
-1for no due date. - Position double
- The position of the task within the template.
- Role string
- The unique_id of the incident role the task is assigned to.
- Title string
- The title of the task.
- Unique
Id string - The unique_id of the task.
- Creation
Date string - When the task was created.
- Description string
- The description of the task.
- Due
In float64 - Minutes until the task is due, or
-1for no due date. - Position float64
- The position of the task within the template.
- Role string
- The unique_id of the incident role the task is assigned to.
- Title string
- The title of the task.
- Unique
Id string - The unique_id of the task.
- creation_
date string - When the task was created.
- description string
- The description of the task.
- due_
in number - Minutes until the task is due, or
-1for no due date. - position number
- The position of the task within the template.
- role string
- The unique_id of the incident role the task is assigned to.
- title string
- The title of the task.
- unique_
id string - The unique_id of the task.
- creation
Date String - When the task was created.
- description String
- The description of the task.
- due
In Double - Minutes until the task is due, or
-1for no due date. - position Double
- The position of the task within the template.
- role String
- The unique_id of the incident role the task is assigned to.
- title String
- The title of the task.
- unique
Id String - The unique_id of the task.
- creation
Date string - When the task was created.
- description string
- The description of the task.
- due
In number - Minutes until the task is due, or
-1for no due date. - position number
- The position of the task within the template.
- role string
- The unique_id of the incident role the task is assigned to.
- title string
- The title of the task.
- unique
Id string - The unique_id of the task.
- creation_
date str - When the task was created.
- description str
- The description of the task.
- due_
in float - Minutes until the task is due, or
-1for no due date. - position float
- The position of the task within the template.
- role str
- The unique_id of the incident role the task is assigned to.
- title str
- The title of the task.
- unique_
id str - The unique_id of the task.
- creation
Date String - When the task was created.
- description String
- The description of the task.
- due
In Number - Minutes until the task is due, or
-1for no due date. - position Number
- The position of the task within the template.
- role String
- The unique_id of the incident role the task is assigned to.
- title String
- The title of the task.
- unique
Id String - The unique_id of the task.
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