1. Registry
  2. Packages
  3. Zenduty Provider
  4. API Docs
  5. getWebhookConfigurations
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.getWebhookConfigurations lists the account-level webhook configurations. Secrets are not returned by the API and are not part of this data source.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zenduty from "@pulumi/zenduty";
    
    const all = zenduty.getWebhookConfigurations({});
    export const webhookUrls = all.then(all => all.webhookConfigurations.map(__item => __item.url));
    
    import pulumi
    import pulumi_zenduty as zenduty
    
    all = zenduty.get_webhook_configurations()
    pulumi.export("webhookUrls", [__item.url for __item in all.webhook_configurations])
    
    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.GetWebhookConfigurations(ctx, &zenduty.GetWebhookConfigurationsArgs{
    }, nil);
    if err != nil {
    return err
    }
    ctx.Export("webhookUrls", pulumi.StringArray(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:3,11-43)))
    return nil
    })
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zenduty = Pulumi.Zenduty;
    
    return await Deployment.RunAsync(() => 
    {
        var all = Zenduty.GetWebhookConfigurations.Invoke();
    
        return new Dictionary<string, object?>
        {
            ["webhookUrls"] = all.Apply(getWebhookConfigurationsResult => getWebhookConfigurationsResult.WebhookConfigurations).Select(__item => __item.Url).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.GetWebhookConfigurationsArgs;
    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.getWebhookConfigurations(GetWebhookConfigurationsArgs.builder()
                .build());
    
            ctx.export("webhookUrls", all.webhookConfigurations().stream().map(element -> element.url()).collect(toList()));
        }
    }
    
    Example coming soon!
    
    Example coming soon!
    

    Using getWebhookConfigurations

    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 getWebhookConfigurations(args: GetWebhookConfigurationsArgs, opts?: InvokeOptions): Promise<GetWebhookConfigurationsResult>
    function getWebhookConfigurationsOutput(args: GetWebhookConfigurationsOutputArgs, opts?: InvokeOutputOptions): Output<GetWebhookConfigurationsResult>
    def get_webhook_configurations(id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetWebhookConfigurationsResult
    def get_webhook_configurations_output(id: pulumi.Input[Optional[str]] = None,
                                   opts: Optional[InvokeOutputOptions] = None) -> Output[GetWebhookConfigurationsResult]
    func GetWebhookConfigurations(ctx *Context, args *GetWebhookConfigurationsArgs, opts ...InvokeOption) (*GetWebhookConfigurationsResult, error)
    func GetWebhookConfigurationsOutput(ctx *Context, args *GetWebhookConfigurationsOutputArgs, opts ...InvokeOption) GetWebhookConfigurationsResultOutput

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

    public static class GetWebhookConfigurations 
    {
        public static Task<GetWebhookConfigurationsResult> InvokeAsync(GetWebhookConfigurationsArgs args, InvokeOptions? opts = null)
        public static Output<GetWebhookConfigurationsResult> Invoke(GetWebhookConfigurationsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetWebhookConfigurationsResult> Invoke(GetWebhookConfigurationsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetWebhookConfigurationsResult> getWebhookConfigurations(GetWebhookConfigurationsArgs args, InvokeOptions options)
    public static Output<GetWebhookConfigurationsResult> getWebhookConfigurations(GetWebhookConfigurationsArgs args, InvokeOptions options)
    public static Output<GetWebhookConfigurationsResult> getWebhookConfigurations(GetWebhookConfigurationsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: zenduty:index/getWebhookConfigurations:getWebhookConfigurations
      arguments:
        # arguments dictionary
    data "zenduty_get_webhook_configurations" "name" {
        # arguments
    }

    The following arguments are supported:

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

    getWebhookConfigurations Result

    The following output properties are available:

    id string
    webhook_configurations list(object)
    The list of webhooks, each with:
    id String
    webhookConfigurations List<Property Map>
    The list of webhooks, each with:

    Supporting Types

    GetWebhookConfigurationsWebhookConfiguration

    Events List<string>
    The list of subscribed events.
    Filter string
    The JSON filter, if any.
    UniqueId string
    The unique_id of the webhook configuration.
    Url string
    The endpoint.
    Events []string
    The list of subscribed events.
    Filter string
    The JSON filter, if any.
    UniqueId string
    The unique_id of the webhook configuration.
    Url string
    The endpoint.
    events list(string)
    The list of subscribed events.
    filter string
    The JSON filter, if any.
    unique_id string
    The unique_id of the webhook configuration.
    url string
    The endpoint.
    events List<String>
    The list of subscribed events.
    filter String
    The JSON filter, if any.
    uniqueId String
    The unique_id of the webhook configuration.
    url String
    The endpoint.
    events string[]
    The list of subscribed events.
    filter string
    The JSON filter, if any.
    uniqueId string
    The unique_id of the webhook configuration.
    url string
    The endpoint.
    events Sequence[str]
    The list of subscribed events.
    filter str
    The JSON filter, if any.
    unique_id str
    The unique_id of the webhook configuration.
    url str
    The endpoint.
    events List<String>
    The list of subscribed events.
    filter String
    The JSON filter, if any.
    uniqueId String
    The unique_id of the webhook configuration.
    url String
    The endpoint.

    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