1. Registry
  2. Packages
  3. Zenduty Provider
  4. API Docs
  5. getAccountStakeholderTemplates
Viewing docs for zenduty 2.2.0
published on Friday, Oct 30, 2026 by zenduty
zenduty
Viewing docs for zenduty 2.2.0
published on Friday, Oct 30, 2026 by zenduty

    zenduty.getAccountStakeholderTemplates lists the account-level stakeholder update templates.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zenduty from "@pulumi/zenduty";
    
    const all = zenduty.getAccountStakeholderTemplates({});
    export const templateTitles = all.then(all => all.templates.map(__item => __item.title));
    
    import pulumi
    import pulumi_zenduty as zenduty
    
    all = zenduty.get_account_stakeholder_templates()
    pulumi.export("templateTitles", [__item.title for __item in all.templates])
    
    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 {
    all, err := zenduty.GetAccountStakeholderTemplates(ctx, &zenduty.GetAccountStakeholderTemplatesArgs{
    }, nil);
    if err != nil {
    return err
    }
    ctx.Export("templateTitles", pulumi.StringArray(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:3,11-33)))
    return nil
    })
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zenduty = Pulumi.Zenduty;
    
    return await Deployment.RunAsync(() => 
    {
        var all = Zenduty.GetAccountStakeholderTemplates.Invoke();
    
        return new Dictionary<string, object?>
        {
            ["templateTitles"] = all.Apply(getAccountStakeholderTemplatesResult => getAccountStakeholderTemplatesResult.Templates).Select(__item => __item.Title).ToList(),
        };
    });
    
    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.GetAccountStakeholderTemplatesArgs;
    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 all = ZendutyFunctions.getAccountStakeholderTemplates(GetAccountStakeholderTemplatesArgs.builder()
                .build());
    
            ctx.export("templateTitles", all.templates().stream().map(element -> element.title()).collect(toList()));
        }
    }
    
    Example coming soon!
    
    Example coming soon!
    

    Using getAccountStakeholderTemplates

    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 getAccountStakeholderTemplates(args: GetAccountStakeholderTemplatesArgs, opts?: InvokeOptions): Promise<GetAccountStakeholderTemplatesResult>
    function getAccountStakeholderTemplatesOutput(args: GetAccountStakeholderTemplatesOutputArgs, opts?: InvokeOutputOptions): Output<GetAccountStakeholderTemplatesResult>
    def get_account_stakeholder_templates(id: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetAccountStakeholderTemplatesResult
    def get_account_stakeholder_templates_output(id: pulumi.Input[Optional[str]] = None,
                                          opts: Optional[InvokeOutputOptions] = None) -> Output[GetAccountStakeholderTemplatesResult]
    func GetAccountStakeholderTemplates(ctx *Context, args *GetAccountStakeholderTemplatesArgs, opts ...InvokeOption) (*GetAccountStakeholderTemplatesResult, error)
    func GetAccountStakeholderTemplatesOutput(ctx *Context, args *GetAccountStakeholderTemplatesOutputArgs, opts ...InvokeOption) GetAccountStakeholderTemplatesResultOutput

    > Note: This function is named GetAccountStakeholderTemplates in the Go SDK.

    public static class GetAccountStakeholderTemplates 
    {
        public static Task<GetAccountStakeholderTemplatesResult> InvokeAsync(GetAccountStakeholderTemplatesArgs args, InvokeOptions? opts = null)
        public static Output<GetAccountStakeholderTemplatesResult> Invoke(GetAccountStakeholderTemplatesInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetAccountStakeholderTemplatesResult> Invoke(GetAccountStakeholderTemplatesInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetAccountStakeholderTemplatesResult> getAccountStakeholderTemplates(GetAccountStakeholderTemplatesArgs args, InvokeOptions options)
    public static Output<GetAccountStakeholderTemplatesResult> getAccountStakeholderTemplates(GetAccountStakeholderTemplatesArgs args, InvokeOptions options)
    public static Output<GetAccountStakeholderTemplatesResult> getAccountStakeholderTemplates(GetAccountStakeholderTemplatesArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: zenduty:index/getAccountStakeholderTemplates:getAccountStakeholderTemplates
      arguments:
        # arguments dictionary
    data "zenduty_get_account_stakeholder_templates" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Id string
    id string
    id String
    id string
    id str
    id String

    getAccountStakeholderTemplates Result

    The following output properties are available:

    Id string
    Templates List<GetAccountStakeholderTemplatesTemplate>
    The list of templates, each with:
    Id string
    Templates []GetAccountStakeholderTemplatesTemplate
    The list of templates, each with:
    id string
    templates list(object)
    The list of templates, each with:
    id String
    templates List<GetAccountStakeholderTemplatesTemplate>
    The list of templates, each with:
    id string
    templates GetAccountStakeholderTemplatesTemplate[]
    The list of templates, each with:
    id String
    templates List<Property Map>
    The list of templates, each with:

    Supporting Types

    GetAccountStakeholderTemplatesTemplate

    Subject string
    The subject line.
    Template string
    The body.
    Title string
    The title.
    UniqueId string
    The unique_id of the template.
    Subject string
    The subject line.
    Template string
    The body.
    Title string
    The title.
    UniqueId string
    The unique_id of the template.
    subject string
    The subject line.
    template string
    The body.
    title string
    The title.
    unique_id string
    The unique_id of the template.
    subject String
    The subject line.
    template String
    The body.
    title String
    The title.
    uniqueId String
    The unique_id of the template.
    subject string
    The subject line.
    template string
    The body.
    title string
    The title.
    uniqueId string
    The unique_id of the template.
    subject str
    The subject line.
    template str
    The body.
    title str
    The title.
    unique_id str
    The unique_id of the template.
    subject String
    The subject line.
    template String
    The body.
    title String
    The title.
    uniqueId String
    The unique_id of the template.

    Package Details

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

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial