PagerDuty v4.23.2 published on Wednesday, Apr 23, 2025 by Pulumi
pagerduty.getEventOrchestrationIntegration
Explore with Pulumi AI
Use this data source to get information about a specific Integration for an Event Orchestration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as pagerduty from "@pulumi/pagerduty";
const eventOrchestration = new pagerduty.EventOrchestration("event_orchestration", {name: "Test Event Orchestration"});
const integration = pagerduty.getEventOrchestrationIntegrationOutput({
    eventOrchestration: eventOrchestration.id,
    label: "Test Event Orchestration Default Integration",
});
import pulumi
import pulumi_pagerduty as pagerduty
event_orchestration = pagerduty.EventOrchestration("event_orchestration", name="Test Event Orchestration")
integration = pagerduty.get_event_orchestration_integration_output(event_orchestration=event_orchestration.id,
    label="Test Event Orchestration Default Integration")
package main
import (
	"github.com/pulumi/pulumi-pagerduty/sdk/v4/go/pagerduty"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		eventOrchestration, err := pagerduty.NewEventOrchestration(ctx, "event_orchestration", &pagerduty.EventOrchestrationArgs{
			Name: pulumi.String("Test Event Orchestration"),
		})
		if err != nil {
			return err
		}
		_ = pagerduty.LookupEventOrchestrationIntegrationOutput(ctx, pagerduty.GetEventOrchestrationIntegrationOutputArgs{
			EventOrchestration: eventOrchestration.ID(),
			Label:              pulumi.String("Test Event Orchestration Default Integration"),
		}, nil)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Pagerduty = Pulumi.Pagerduty;
return await Deployment.RunAsync(() => 
{
    var eventOrchestration = new Pagerduty.EventOrchestration("event_orchestration", new()
    {
        Name = "Test Event Orchestration",
    });
    var integration = Pagerduty.GetEventOrchestrationIntegration.Invoke(new()
    {
        EventOrchestration = eventOrchestration.Id,
        Label = "Test Event Orchestration Default Integration",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.pagerduty.EventOrchestration;
import com.pulumi.pagerduty.EventOrchestrationArgs;
import com.pulumi.pagerduty.PagerdutyFunctions;
import com.pulumi.pagerduty.inputs.GetEventOrchestrationIntegrationArgs;
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) {
        var eventOrchestration = new EventOrchestration("eventOrchestration", EventOrchestrationArgs.builder()
            .name("Test Event Orchestration")
            .build());
        final var integration = PagerdutyFunctions.getEventOrchestrationIntegration(GetEventOrchestrationIntegrationArgs.builder()
            .eventOrchestration(eventOrchestration.id())
            .label("Test Event Orchestration Default Integration")
            .build());
    }
}
resources:
  eventOrchestration:
    type: pagerduty:EventOrchestration
    name: event_orchestration
    properties:
      name: Test Event Orchestration
variables:
  integration:
    fn::invoke:
      function: pagerduty:getEventOrchestrationIntegration
      arguments:
        eventOrchestration: ${eventOrchestration.id}
        label: Test Event Orchestration Default Integration
Using getEventOrchestrationIntegration
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 getEventOrchestrationIntegration(args: GetEventOrchestrationIntegrationArgs, opts?: InvokeOptions): Promise<GetEventOrchestrationIntegrationResult>
function getEventOrchestrationIntegrationOutput(args: GetEventOrchestrationIntegrationOutputArgs, opts?: InvokeOptions): Output<GetEventOrchestrationIntegrationResult>def get_event_orchestration_integration(event_orchestration: Optional[str] = None,
                                        id: Optional[str] = None,
                                        label: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetEventOrchestrationIntegrationResult
def get_event_orchestration_integration_output(event_orchestration: Optional[pulumi.Input[str]] = None,
                                        id: Optional[pulumi.Input[str]] = None,
                                        label: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetEventOrchestrationIntegrationResult]func LookupEventOrchestrationIntegration(ctx *Context, args *LookupEventOrchestrationIntegrationArgs, opts ...InvokeOption) (*LookupEventOrchestrationIntegrationResult, error)
func LookupEventOrchestrationIntegrationOutput(ctx *Context, args *LookupEventOrchestrationIntegrationOutputArgs, opts ...InvokeOption) LookupEventOrchestrationIntegrationResultOutput> Note: This function is named LookupEventOrchestrationIntegration in the Go SDK.
public static class GetEventOrchestrationIntegration 
{
    public static Task<GetEventOrchestrationIntegrationResult> InvokeAsync(GetEventOrchestrationIntegrationArgs args, InvokeOptions? opts = null)
    public static Output<GetEventOrchestrationIntegrationResult> Invoke(GetEventOrchestrationIntegrationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEventOrchestrationIntegrationResult> getEventOrchestrationIntegration(GetEventOrchestrationIntegrationArgs args, InvokeOptions options)
public static Output<GetEventOrchestrationIntegrationResult> getEventOrchestrationIntegration(GetEventOrchestrationIntegrationArgs args, InvokeOptions options)
fn::invoke:
  function: pagerduty:index/getEventOrchestrationIntegration:getEventOrchestrationIntegration
  arguments:
    # arguments dictionaryThe following arguments are supported:
- EventOrchestration string
- ID of the Event Orchestration to which this Integration belongs.
- Id string
- ID of the Integration associated with the Event Orchestration. Specify either idorlabel. If both are specifiedidtakes precedence.
- Label string
- Name/description of the Integration associated with the Event Orchestration. Specify either idorlabel. If both are specifiedidtakes precedence. The value oflabelis not unique. Potentially there might be multiple Integrations with the samelabelvalue associated with the Event Orchestration and retrieving data bylabelattribute will result in an error during the planning step.
- EventOrchestration string
- ID of the Event Orchestration to which this Integration belongs.
- Id string
- ID of the Integration associated with the Event Orchestration. Specify either idorlabel. If both are specifiedidtakes precedence.
- Label string
- Name/description of the Integration associated with the Event Orchestration. Specify either idorlabel. If both are specifiedidtakes precedence. The value oflabelis not unique. Potentially there might be multiple Integrations with the samelabelvalue associated with the Event Orchestration and retrieving data bylabelattribute will result in an error during the planning step.
- eventOrchestration String
- ID of the Event Orchestration to which this Integration belongs.
- id String
- ID of the Integration associated with the Event Orchestration. Specify either idorlabel. If both are specifiedidtakes precedence.
- label String
- Name/description of the Integration associated with the Event Orchestration. Specify either idorlabel. If both are specifiedidtakes precedence. The value oflabelis not unique. Potentially there might be multiple Integrations with the samelabelvalue associated with the Event Orchestration and retrieving data bylabelattribute will result in an error during the planning step.
- eventOrchestration string
- ID of the Event Orchestration to which this Integration belongs.
- id string
- ID of the Integration associated with the Event Orchestration. Specify either idorlabel. If both are specifiedidtakes precedence.
- label string
- Name/description of the Integration associated with the Event Orchestration. Specify either idorlabel. If both are specifiedidtakes precedence. The value oflabelis not unique. Potentially there might be multiple Integrations with the samelabelvalue associated with the Event Orchestration and retrieving data bylabelattribute will result in an error during the planning step.
- event_orchestration str
- ID of the Event Orchestration to which this Integration belongs.
- id str
- ID of the Integration associated with the Event Orchestration. Specify either idorlabel. If both are specifiedidtakes precedence.
- label str
- Name/description of the Integration associated with the Event Orchestration. Specify either idorlabel. If both are specifiedidtakes precedence. The value oflabelis not unique. Potentially there might be multiple Integrations with the samelabelvalue associated with the Event Orchestration and retrieving data bylabelattribute will result in an error during the planning step.
- eventOrchestration String
- ID of the Event Orchestration to which this Integration belongs.
- id String
- ID of the Integration associated with the Event Orchestration. Specify either idorlabel. If both are specifiedidtakes precedence.
- label String
- Name/description of the Integration associated with the Event Orchestration. Specify either idorlabel. If both are specifiedidtakes precedence. The value oflabelis not unique. Potentially there might be multiple Integrations with the samelabelvalue associated with the Event Orchestration and retrieving data bylabelattribute will result in an error during the planning step.
getEventOrchestrationIntegration Result
The following output properties are available:
- EventOrchestration string
- Parameters
List<GetEvent Orchestration Integration Parameter> 
- Id string
- Label string
- EventOrchestration string
- Parameters
[]GetEvent Orchestration Integration Parameter 
- Id string
- Label string
- eventOrchestration String
- parameters
List<GetEvent Orchestration Integration Parameter> 
- id String
- label String
- eventOrchestration string
- parameters
GetEvent Orchestration Integration Parameter[] 
- id string
- label string
- eventOrchestration String
- parameters List<Property Map>
- id String
- label String
Supporting Types
GetEventOrchestrationIntegrationParameter    
- RoutingKey string
- Routing key that routes to this Orchestration.
- Type string
- Type of the routing key. globalis the default type.
- RoutingKey string
- Routing key that routes to this Orchestration.
- Type string
- Type of the routing key. globalis the default type.
- routingKey String
- Routing key that routes to this Orchestration.
- type String
- Type of the routing key. globalis the default type.
- routingKey string
- Routing key that routes to this Orchestration.
- type string
- Type of the routing key. globalis the default type.
- routing_key str
- Routing key that routes to this Orchestration.
- type str
- Type of the routing key. globalis the default type.
- routingKey String
- Routing key that routes to this Orchestration.
- type String
- Type of the routing key. globalis the default type.
Package Details
- Repository
- PagerDuty pulumi/pulumi-pagerduty
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the pagerdutyTerraform Provider.