1. Packages
  2. Zenduty Provider
  3. API Docs
  4. getIntegrations
zenduty 1.0.4 published on Wednesday, Apr 2, 2025 by zenduty

zenduty.getIntegrations

Explore with Pulumi AI

zenduty 1.0.4 published on Wednesday, Apr 2, 2025 by zenduty
import * as pulumi from "@pulumi/pulumi";
import * as zenduty from "@pulumi/zenduty";

const exampleintegrations = zenduty.getIntegrations({
    serviceId: "",
    teamId: "",
});
Copy
import pulumi
import pulumi_zenduty as zenduty

exampleintegrations = zenduty.get_integrations(service_id="",
    team_id="")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/zenduty/zenduty"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := zenduty.LookupIntegrations(ctx, &zenduty.LookupIntegrationsArgs{
			ServiceId: "",
			TeamId:    "",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zenduty = Pulumi.Zenduty;

return await Deployment.RunAsync(() => 
{
    var exampleintegrations = Zenduty.GetIntegrations.Invoke(new()
    {
        ServiceId = "",
        TeamId = "",
    });

});
Copy
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.GetIntegrationsArgs;
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 exampleintegrations = ZendutyFunctions.getIntegrations(GetIntegrationsArgs.builder()
            .serviceId("")
            .teamId("")
            .build());

    }
}
Copy
variables:
  exampleintegrations:
    fn::invoke:
      function: zenduty:getIntegrations
      arguments:
        serviceId: ""
        teamId: ""
Copy

or

import * as pulumi from "@pulumi/pulumi";
import * as zenduty from "@pulumi/zenduty";

const exampleintegrations = zenduty.getIntegrations({
    integrationId: "",
    serviceId: "",
    teamId: "",
});
Copy
import pulumi
import pulumi_zenduty as zenduty

exampleintegrations = zenduty.get_integrations(integration_id="",
    service_id="",
    team_id="")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/zenduty/zenduty"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := zenduty.LookupIntegrations(ctx, &zenduty.LookupIntegrationsArgs{
			IntegrationId: pulumi.StringRef(""),
			ServiceId:     "",
			TeamId:        "",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zenduty = Pulumi.Zenduty;

return await Deployment.RunAsync(() => 
{
    var exampleintegrations = Zenduty.GetIntegrations.Invoke(new()
    {
        IntegrationId = "",
        ServiceId = "",
        TeamId = "",
    });

});
Copy
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.GetIntegrationsArgs;
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 exampleintegrations = ZendutyFunctions.getIntegrations(GetIntegrationsArgs.builder()
            .integrationId("")
            .serviceId("")
            .teamId("")
            .build());

    }
}
Copy
variables:
  exampleintegrations:
    fn::invoke:
      function: zenduty:getIntegrations
      arguments:
        integrationId: ""
        serviceId: ""
        teamId: ""
Copy
import * as pulumi from "@pulumi/pulumi";

export const integrations = data.zenduty_integrations.exampleintegrations.integrations;
Copy
import pulumi

pulumi.export("integrations", data["zenduty_integrations"]["exampleintegrations"]["integrations"])
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ctx.Export("integrations", data.Zenduty_integrations.Exampleintegrations.Integrations)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => 
{
    return new Dictionary<string, object?>
    {
        ["integrations"] = data.Zenduty_integrations.Exampleintegrations.Integrations,
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
        ctx.export("integrations", data.zenduty_integrations().exampleintegrations().integrations());
    }
}
Copy
outputs:
  integrations: ${data.zenduty_integrations.exampleintegrations.integrations}
Copy

Using getIntegrations

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 getIntegrations(args: GetIntegrationsArgs, opts?: InvokeOptions): Promise<GetIntegrationsResult>
function getIntegrationsOutput(args: GetIntegrationsOutputArgs, opts?: InvokeOptions): Output<GetIntegrationsResult>
Copy
def get_integrations(id: Optional[str] = None,
                     integration_id: Optional[str] = None,
                     service_id: Optional[str] = None,
                     team_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetIntegrationsResult
def get_integrations_output(id: Optional[pulumi.Input[str]] = None,
                     integration_id: Optional[pulumi.Input[str]] = None,
                     service_id: Optional[pulumi.Input[str]] = None,
                     team_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetIntegrationsResult]
Copy
func LookupIntegrations(ctx *Context, args *LookupIntegrationsArgs, opts ...InvokeOption) (*LookupIntegrationsResult, error)
func LookupIntegrationsOutput(ctx *Context, args *LookupIntegrationsOutputArgs, opts ...InvokeOption) LookupIntegrationsResultOutput
Copy

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

public static class GetIntegrations 
{
    public static Task<GetIntegrationsResult> InvokeAsync(GetIntegrationsArgs args, InvokeOptions? opts = null)
    public static Output<GetIntegrationsResult> Invoke(GetIntegrationsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetIntegrationsResult> getIntegrations(GetIntegrationsArgs args, InvokeOptions options)
public static Output<GetIntegrationsResult> getIntegrations(GetIntegrationsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: zenduty:index/getIntegrations:getIntegrations
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ServiceId This property is required. string
The UniqueID of the service to query
TeamId This property is required. string
The UniqueID of the team to query.
Id string
IntegrationId string
The UniqueID of the integration to query
ServiceId This property is required. string
The UniqueID of the service to query
TeamId This property is required. string
The UniqueID of the team to query.
Id string
IntegrationId string
The UniqueID of the integration to query
serviceId This property is required. String
The UniqueID of the service to query
teamId This property is required. String
The UniqueID of the team to query.
id String
integrationId String
The UniqueID of the integration to query
serviceId This property is required. string
The UniqueID of the service to query
teamId This property is required. string
The UniqueID of the team to query.
id string
integrationId string
The UniqueID of the integration to query
service_id This property is required. str
The UniqueID of the service to query
team_id This property is required. str
The UniqueID of the team to query.
id str
integration_id str
The UniqueID of the integration to query
serviceId This property is required. String
The UniqueID of the service to query
teamId This property is required. String
The UniqueID of the team to query.
id String
integrationId String
The UniqueID of the integration to query

getIntegrations Result

The following output properties are available:

Supporting Types

GetIntegrationsIntegration

Application This property is required. string
The unique_id of application that the integration belongs to.
ApplicationReference This property is required. Dictionary<string, string>
CreateIncidentsFor This property is required. double
CreatedBy This property is required. string
The unique_id of the user that created the integration.
CreationDate This property is required. string
DefaultUrgency This property is required. double
The default urgency of the incidents for this integration.
IntegrationKey This property is required. string
The integration key of the integration.
IntegrationType This property is required. double
Name This property is required. string
The name of the integration.
Service This property is required. string
The unique_id of service that the integration belongs to.
Summary This property is required. string
The summary of the integration.
UniqueId This property is required. string
The UniqueID of the integration.
WebhookUrl This property is required. string
The webhook url of the integration.to send alerts to.
Application This property is required. string
The unique_id of application that the integration belongs to.
ApplicationReference This property is required. map[string]string
CreateIncidentsFor This property is required. float64
CreatedBy This property is required. string
The unique_id of the user that created the integration.
CreationDate This property is required. string
DefaultUrgency This property is required. float64
The default urgency of the incidents for this integration.
IntegrationKey This property is required. string
The integration key of the integration.
IntegrationType This property is required. float64
Name This property is required. string
The name of the integration.
Service This property is required. string
The unique_id of service that the integration belongs to.
Summary This property is required. string
The summary of the integration.
UniqueId This property is required. string
The UniqueID of the integration.
WebhookUrl This property is required. string
The webhook url of the integration.to send alerts to.
application This property is required. String
The unique_id of application that the integration belongs to.
applicationReference This property is required. Map<String,String>
createIncidentsFor This property is required. Double
createdBy This property is required. String
The unique_id of the user that created the integration.
creationDate This property is required. String
defaultUrgency This property is required. Double
The default urgency of the incidents for this integration.
integrationKey This property is required. String
The integration key of the integration.
integrationType This property is required. Double
name This property is required. String
The name of the integration.
service This property is required. String
The unique_id of service that the integration belongs to.
summary This property is required. String
The summary of the integration.
uniqueId This property is required. String
The UniqueID of the integration.
webhookUrl This property is required. String
The webhook url of the integration.to send alerts to.
application This property is required. string
The unique_id of application that the integration belongs to.
applicationReference This property is required. {[key: string]: string}
createIncidentsFor This property is required. number
createdBy This property is required. string
The unique_id of the user that created the integration.
creationDate This property is required. string
defaultUrgency This property is required. number
The default urgency of the incidents for this integration.
integrationKey This property is required. string
The integration key of the integration.
integrationType This property is required. number
name This property is required. string
The name of the integration.
service This property is required. string
The unique_id of service that the integration belongs to.
summary This property is required. string
The summary of the integration.
uniqueId This property is required. string
The UniqueID of the integration.
webhookUrl This property is required. string
The webhook url of the integration.to send alerts to.
application This property is required. str
The unique_id of application that the integration belongs to.
application_reference This property is required. Mapping[str, str]
create_incidents_for This property is required. float
created_by This property is required. str
The unique_id of the user that created the integration.
creation_date This property is required. str
default_urgency This property is required. float
The default urgency of the incidents for this integration.
integration_key This property is required. str
The integration key of the integration.
integration_type This property is required. float
name This property is required. str
The name of the integration.
service This property is required. str
The unique_id of service that the integration belongs to.
summary This property is required. str
The summary of the integration.
unique_id This property is required. str
The UniqueID of the integration.
webhook_url This property is required. str
The webhook url of the integration.to send alerts to.
application This property is required. String
The unique_id of application that the integration belongs to.
applicationReference This property is required. Map<String>
createIncidentsFor This property is required. Number
createdBy This property is required. String
The unique_id of the user that created the integration.
creationDate This property is required. String
defaultUrgency This property is required. Number
The default urgency of the incidents for this integration.
integrationKey This property is required. String
The integration key of the integration.
integrationType This property is required. Number
name This property is required. String
The name of the integration.
service This property is required. String
The unique_id of service that the integration belongs to.
summary This property is required. String
The summary of the integration.
uniqueId This property is required. String
The UniqueID of the integration.
webhookUrl This property is required. String
The webhook url of the integration.to send alerts to.

Package Details

Repository
zenduty zenduty/terraform-provider-zenduty
License
Notes
This Pulumi package is based on the zenduty Terraform Provider.
zenduty 1.0.4 published on Wednesday, Apr 2, 2025 by zenduty