import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * [Event Orchestrations](https://support.pagerduty.com/docs/event-orchestration) allow you define a set of Event Rules, so that when you ingest events using the Orchestration's Routing Key your events will be routed to the correct Global and/or Service Orchestration, based on the event's content. * * ## Example of configuring an Event Orchestration * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as pagerduty from "@pulumi/pagerduty"; * * const engineering = new pagerduty.Team("engineering", {name: "Engineering"}); * const myMonitor = new pagerduty.EventOrchestration("my_monitor", { * name: "My Monitoring Orchestration", * description: "Send events to a pair of services", * team: engineering.id, * }); * ``` * * ## Import * * EventOrchestrations can be imported using the `id`, e.g. * * ```sh * $ pulumi import pagerduty:index/eventOrchestration:EventOrchestration main 19acac92-027a-4ea0-b06c-bbf516519601 * ``` */ export declare class EventOrchestration extends pulumi.CustomResource { /** * Get an existing EventOrchestration resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: EventOrchestrationState, opts?: pulumi.CustomResourceOptions): EventOrchestration; /** * Returns true if the given object is an instance of EventOrchestration. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is EventOrchestration; /** * A human-friendly description of the Event Orchestration. */ readonly description: pulumi.Output; /** * A list of integrations for the Event Orchestration. */ readonly integrations: pulumi.Output; /** * Name of the Event Orchestration. */ readonly name: pulumi.Output; readonly routes: pulumi.Output; /** * ID of the team that owns the Event Orchestration. If none is specified, only admins have access. */ readonly team: pulumi.Output; /** * Create a EventOrchestration resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: EventOrchestrationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EventOrchestration resources. */ export interface EventOrchestrationState { /** * A human-friendly description of the Event Orchestration. */ description?: pulumi.Input; /** * A list of integrations for the Event Orchestration. */ integrations?: pulumi.Input[]>; /** * Name of the Event Orchestration. */ name?: pulumi.Input; routes?: pulumi.Input; /** * ID of the team that owns the Event Orchestration. If none is specified, only admins have access. */ team?: pulumi.Input; } /** * The set of arguments for constructing a EventOrchestration resource. */ export interface EventOrchestrationArgs { /** * A human-friendly description of the Event Orchestration. */ description?: pulumi.Input; /** * A list of integrations for the Event Orchestration. */ integrations?: pulumi.Input[]>; /** * Name of the Event Orchestration. */ name?: pulumi.Input; /** * ID of the team that owns the Event Orchestration. If none is specified, only admins have access. */ team?: pulumi.Input; }