1. Registry
  2. Packages
  3. Zenduty Provider
  4. API Docs
  5. getApplications
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

    Looks up an application in the account’s integration application catalog by name and exposes its unique id.

    Application unique ids differ between Zenduty instances, so hardcoding one makes a config unportable — an id exported from one account will not exist on another. Referencing the application through this data source resolves the id on whatever instance the config is applied to.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zenduty from "@pulumi/zenduty";
    
    const grafana = zenduty.getApplications({
        name: "Grafana v8",
    });
    const grafanaIntegrations = new zenduty.Integrations("grafana", {
        teamId: devops.id,
        serviceId: frontend.id,
        application: grafana.then(grafana => grafana.id),
        name: "Grafana v8",
    });
    
    import pulumi
    import pulumi_zenduty as zenduty
    
    grafana = zenduty.get_applications(name="Grafana v8")
    grafana_integrations = zenduty.Integrations("grafana",
        team_id=devops["id"],
        service_id=frontend["id"],
        application=grafana.id,
        name="Grafana v8")
    
    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 {
    		grafana, err := zenduty.GetApplications(ctx, &zenduty.GetApplicationsArgs{
    			Name: "Grafana v8",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = zenduty.NewIntegrations(ctx, "grafana", &zenduty.IntegrationsArgs{
    			TeamId:      pulumi.Any(devops.Id),
    			ServiceId:   pulumi.Any(frontend.Id),
    			Application: pulumi.String(grafana.Id),
    			Name:        pulumi.String("Grafana v8"),
    		})
    		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 grafana = Zenduty.GetApplications.Invoke(new()
        {
            Name = "Grafana v8",
        });
    
        var grafanaIntegrations = new Zenduty.Integrations("grafana", new()
        {
            TeamId = devops.Id,
            ServiceId = frontend.Id,
            Application = grafana.Apply(getApplicationsResult => getApplicationsResult.Id),
            Name = "Grafana v8",
        });
    
    });
    
    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.GetApplicationsArgs;
    import com.pulumi.zenduty.Integrations;
    import com.pulumi.zenduty.IntegrationsArgs;
    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 grafana = ZendutyFunctions.getApplications(GetApplicationsArgs.builder()
                .name("Grafana v8")
                .build());
    
            var grafanaIntegrations = new Integrations("grafanaIntegrations", IntegrationsArgs.builder()
                .teamId(devops.id())
                .serviceId(frontend.id())
                .application(grafana.id())
                .name("Grafana v8")
                .build());
    
        }
    }
    
    resources:
      grafanaIntegrations:
        type: zenduty:Integrations
        name: grafana
        properties:
          teamId: ${devops.id}
          serviceId: ${frontend.id}
          application: ${grafana.id}
          name: Grafana v8
    variables:
      grafana:
        fn::invoke:
          function: zenduty:getApplications
          arguments:
            name: Grafana v8
    
    Example coming soon!
    

    Using getApplications

    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 getApplications(args: GetApplicationsArgs, opts?: InvokeOptions): Promise<GetApplicationsResult>
    function getApplicationsOutput(args: GetApplicationsOutputArgs, opts?: InvokeOutputOptions): Output<GetApplicationsResult>
    def get_applications(id: Optional[str] = None,
                         name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetApplicationsResult
    def get_applications_output(id: pulumi.Input[Optional[str]] = None,
                         name: pulumi.Input[Optional[str]] = None,
                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetApplicationsResult]
    func GetApplications(ctx *Context, args *GetApplicationsArgs, opts ...InvokeOption) (*GetApplicationsResult, error)
    func GetApplicationsOutput(ctx *Context, args *GetApplicationsOutputArgs, opts ...InvokeOption) GetApplicationsResultOutput

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

    public static class GetApplications 
    {
        public static Task<GetApplicationsResult> InvokeAsync(GetApplicationsArgs args, InvokeOptions? opts = null)
        public static Output<GetApplicationsResult> Invoke(GetApplicationsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetApplicationsResult> Invoke(GetApplicationsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetApplicationsResult> getApplications(GetApplicationsArgs args, InvokeOptions options)
    public static Output<GetApplicationsResult> getApplications(GetApplicationsArgs args, InvokeOptions options)
    public static Output<GetApplicationsResult> getApplications(GetApplicationsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: zenduty:index/getApplications:getApplications
      arguments:
        # arguments dictionary
    data "zenduty_get_applications" "name" {
        # arguments
    }

    The following arguments are supported:

    Name string
    The name of the application in the integration catalog (e.g. "Grafana v8"). The match is case-insensitive.
    Id string
    The unique id of the application on this instance.
    Name string
    The name of the application in the integration catalog (e.g. "Grafana v8"). The match is case-insensitive.
    Id string
    The unique id of the application on this instance.
    name string
    The name of the application in the integration catalog (e.g. "Grafana v8"). The match is case-insensitive.
    id string
    The unique id of the application on this instance.
    name String
    The name of the application in the integration catalog (e.g. "Grafana v8"). The match is case-insensitive.
    id String
    The unique id of the application on this instance.
    name string
    The name of the application in the integration catalog (e.g. "Grafana v8"). The match is case-insensitive.
    id string
    The unique id of the application on this instance.
    name str
    The name of the application in the integration catalog (e.g. "Grafana v8"). The match is case-insensitive.
    id str
    The unique id of the application on this instance.
    name String
    The name of the application in the integration catalog (e.g. "Grafana v8"). The match is case-insensitive.
    id String
    The unique id of the application on this instance.

    getApplications Result

    The following output properties are available:

    ApplicationType double
    The application's type.
    Id string
    The unique id of the application on this instance.
    Name string
    Summary string
    The catalog summary of the application.
    ApplicationType float64
    The application's type.
    Id string
    The unique id of the application on this instance.
    Name string
    Summary string
    The catalog summary of the application.
    application_type number
    The application's type.
    id string
    The unique id of the application on this instance.
    name string
    summary string
    The catalog summary of the application.
    applicationType Double
    The application's type.
    id String
    The unique id of the application on this instance.
    name String
    summary String
    The catalog summary of the application.
    applicationType number
    The application's type.
    id string
    The unique id of the application on this instance.
    name string
    summary string
    The catalog summary of the application.
    application_type float
    The application's type.
    id str
    The unique id of the application on this instance.
    name str
    summary str
    The catalog summary of the application.
    applicationType Number
    The application's type.
    id String
    The unique id of the application on this instance.
    name String
    summary String
    The catalog summary of the application.

    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