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.PostIncidentTasks lists the post-incident tasks of a team.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zenduty from "@pulumi/zenduty";
const teamTasks = zenduty.getPostIncidentTasks({
teamId: exampleteam.id,
});
import pulumi
import pulumi_zenduty as zenduty
team_tasks = zenduty.get_post_incident_tasks(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.LookupPostIncidentTasks(ctx, &zenduty.LookupPostIncidentTasksArgs{
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 teamTasks = Zenduty.GetPostIncidentTasks.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.GetPostIncidentTasksArgs;
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 teamTasks = ZendutyFunctions.getPostIncidentTasks(GetPostIncidentTasksArgs.builder()
.teamId(exampleteam.id())
.build());
}
}
variables:
teamTasks:
fn::invoke:
function: zenduty:getPostIncidentTasks
arguments:
teamId: ${exampleteam.id}
Example coming soon!
Using getPostIncidentTasks
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 getPostIncidentTasks(args: GetPostIncidentTasksArgs, opts?: InvokeOptions): Promise<GetPostIncidentTasksResult>
function getPostIncidentTasksOutput(args: GetPostIncidentTasksOutputArgs, opts?: InvokeOutputOptions): Output<GetPostIncidentTasksResult>def get_post_incident_tasks(id: Optional[str] = None,
team_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPostIncidentTasksResult
def get_post_incident_tasks_output(id: pulumi.Input[Optional[str]] = None,
team_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetPostIncidentTasksResult]func LookupPostIncidentTasks(ctx *Context, args *LookupPostIncidentTasksArgs, opts ...InvokeOption) (*LookupPostIncidentTasksResult, error)
func LookupPostIncidentTasksOutput(ctx *Context, args *LookupPostIncidentTasksOutputArgs, opts ...InvokeOption) LookupPostIncidentTasksResultOutput> Note: This function is named LookupPostIncidentTasks in the Go SDK.
public static class GetPostIncidentTasks
{
public static Task<GetPostIncidentTasksResult> InvokeAsync(GetPostIncidentTasksArgs args, InvokeOptions? opts = null)
public static Output<GetPostIncidentTasksResult> Invoke(GetPostIncidentTasksInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetPostIncidentTasksResult> Invoke(GetPostIncidentTasksInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetPostIncidentTasksResult> getPostIncidentTasks(GetPostIncidentTasksArgs args, InvokeOptions options)
public static Output<GetPostIncidentTasksResult> getPostIncidentTasks(GetPostIncidentTasksArgs args, InvokeOptions options)
public static Output<GetPostIncidentTasksResult> getPostIncidentTasks(GetPostIncidentTasksArgs args, InvokeOutputOptions options)
fn::invoke:
function: zenduty:index/getPostIncidentTasks:getPostIncidentTasks
arguments:
# arguments dictionarydata "zenduty_get_post_incident_tasks" "name" {
# arguments
}The following arguments are supported:
getPostIncidentTasks Result
The following output properties are available:
- Id string
- Tasks
List<Get
Post Incident Tasks Task> - The list of tasks, each with:
- Team
Id string
- Id string
- Tasks
[]Get
Post Incident Tasks Task - The list of tasks, each with:
- Team
Id string
- id string
- tasks list(object)
- The list of tasks, each with:
- team_
id string
- id String
- tasks
List<Get
Post Incident Tasks Task> - The list of tasks, each with:
- team
Id String
- id string
- tasks
Get
Post Incident Tasks Task[] - The list of tasks, each with:
- team
Id string
- id str
- tasks
Sequence[Get
Post Incident Tasks Task] - The list of tasks, each with:
- team_
id str
- id String
- tasks List<Property Map>
- The list of tasks, each with:
- team
Id String
Supporting Types
GetPostIncidentTasksTask
- Assigned
To string - The username of the assignee.
- Creation
Date string - When the task was created.
- Description string
- The description of the task.
- Due
In stringTime - When the task is due.
- Status double
- The status of the task.
- Title string
- The title of the task.
- Unique
Id string - The unique_id of the task.
- Assigned
To string - The username of the assignee.
- Creation
Date string - When the task was created.
- Description string
- The description of the task.
- Due
In stringTime - When the task is due.
- Status float64
- The status of the task.
- Title string
- The title of the task.
- Unique
Id string - The unique_id of the task.
- assigned_
to string - The username of the assignee.
- creation_
date string - When the task was created.
- description string
- The description of the task.
- due_
in_ stringtime - When the task is due.
- status number
- The status of the task.
- title string
- The title of the task.
- unique_
id string - The unique_id of the task.
- assigned
To String - The username of the assignee.
- creation
Date String - When the task was created.
- description String
- The description of the task.
- due
In StringTime - When the task is due.
- status Double
- The status of the task.
- title String
- The title of the task.
- unique
Id String - The unique_id of the task.
- assigned
To string - The username of the assignee.
- creation
Date string - When the task was created.
- description string
- The description of the task.
- due
In stringTime - When the task is due.
- status number
- The status of the task.
- title string
- The title of the task.
- unique
Id string - The unique_id of the task.
- assigned_
to str - The username of the assignee.
- creation_
date str - When the task was created.
- description str
- The description of the task.
- due_
in_ strtime - When the task is due.
- status float
- The status of the task.
- title str
- The title of the task.
- unique_
id str - The unique_id of the task.
- assigned
To String - The username of the assignee.
- creation
Date String - When the task was created.
- description String
- The description of the task.
- due
In StringTime - When the task is due.
- status Number
- The status of the task.
- 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