1. Registry
  2. Packages
  3. Zenduty Provider
  4. API Docs
  5. getPostIncidentTasks
Viewing docs for zenduty 2.0.0
published on Friday, Aug 14, 2026 by zenduty
Viewing docs for zenduty 2.0.0
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 dictionary
    data "zenduty_get_post_incident_tasks" "name" {
        # arguments
    }

    The following arguments are supported:

    TeamId string

    The unique_id of the team whose post-incident tasks to list.

    All pages of the API's paginated response are fetched, so the list is complete.

    Id string
    TeamId string

    The unique_id of the team whose post-incident tasks to list.

    All pages of the API's paginated response are fetched, so the list is complete.

    Id string
    team_id string

    The unique_id of the team whose post-incident tasks to list.

    All pages of the API's paginated response are fetched, so the list is complete.

    id string
    teamId String

    The unique_id of the team whose post-incident tasks to list.

    All pages of the API's paginated response are fetched, so the list is complete.

    id String
    teamId string

    The unique_id of the team whose post-incident tasks to list.

    All pages of the API's paginated response are fetched, so the list is complete.

    id string
    team_id str

    The unique_id of the team whose post-incident tasks to list.

    All pages of the API's paginated response are fetched, so the list is complete.

    id str
    teamId String

    The unique_id of the team whose post-incident tasks to list.

    All pages of the API's paginated response are fetched, so the list is complete.

    id String

    getPostIncidentTasks Result

    The following output properties are available:

    Id string
    Tasks List<GetPostIncidentTasksTask>
    The list of tasks, each with:
    TeamId string
    Id string
    Tasks []GetPostIncidentTasksTask
    The list of tasks, each with:
    TeamId string
    id string
    tasks list(object)
    The list of tasks, each with:
    team_id string
    id String
    tasks List<GetPostIncidentTasksTask>
    The list of tasks, each with:
    teamId String
    id string
    tasks GetPostIncidentTasksTask[]
    The list of tasks, each with:
    teamId string
    id str
    tasks Sequence[GetPostIncidentTasksTask]
    The list of tasks, each with:
    team_id str
    id String
    tasks List<Property Map>
    The list of tasks, each with:
    teamId String

    Supporting Types

    GetPostIncidentTasksTask

    AssignedTo string
    The username of the assignee.
    CreationDate string
    When the task was created.
    Description string
    The description of the task.
    DueInTime string
    When the task is due.
    Status double
    The status of the task.
    Title string
    The title of the task.
    UniqueId string
    The unique_id of the task.
    AssignedTo string
    The username of the assignee.
    CreationDate string
    When the task was created.
    Description string
    The description of the task.
    DueInTime string
    When the task is due.
    Status float64
    The status of the task.
    Title string
    The title of the task.
    UniqueId 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_time string
    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.
    assignedTo String
    The username of the assignee.
    creationDate String
    When the task was created.
    description String
    The description of the task.
    dueInTime String
    When the task is due.
    status Double
    The status of the task.
    title String
    The title of the task.
    uniqueId String
    The unique_id of the task.
    assignedTo string
    The username of the assignee.
    creationDate string
    When the task was created.
    description string
    The description of the task.
    dueInTime string
    When the task is due.
    status number
    The status of the task.
    title string
    The title of the task.
    uniqueId 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_time str
    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.
    assignedTo String
    The username of the assignee.
    creationDate String
    When the task was created.
    description String
    The description of the task.
    dueInTime String
    When the task is due.
    status Number
    The status of the task.
    title String
    The title of the task.
    uniqueId String
    The unique_id of the task.

    Package Details

    Repository
    zenduty zenduty/terraform-provider-zenduty
    License
    Notes
    This Pulumi package is based on the zenduty Terraform Provider.
    Viewing docs for zenduty 2.0.0
    published on Friday, Aug 14, 2026 by zenduty

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial