1. Packages
  2. PagerDuty
  3. API Docs
  4. EventOrchestrationGlobal
PagerDuty v4.13.2 published on Thursday, Jun 27, 2024 by Pulumi

pagerduty.EventOrchestrationGlobal

Explore with Pulumi AI

pagerduty logo
PagerDuty v4.13.2 published on Thursday, Jun 27, 2024 by Pulumi

    A Global Orchestration allows you to create a set of Event Rules. The Global Orchestration evaluates Events sent to it against each of its rules, beginning with the rules in the “start” set. When a matching rule is found, it can modify and enhance the event and can route the event to another set of rules within this Global Orchestration for further processing.

    Example of configuring a Global Orchestration

    This example shows creating Team, and Event Orchestration resources followed by creating a Global Orchestration to handle Events sent to that Event Orchestration.

    This example also shows using priority data source to configure priority action for a rule. If the Event matches the third rule in set “step-two” the resulting incident will have the Priority P1.

    This example shows a Global Orchestration that has nested sets: a rule in the “start” set has a route_to action pointing at the “step-two” set.

    The catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set. In this example the catch_all doesn’t have any actions so it’ll leave events as-is.

    import * as pulumi from "@pulumi/pulumi";
    import * as pagerduty from "@pulumi/pagerduty";
    
    const databaseTeam = new pagerduty.Team("database_team", {name: "Database Team"});
    const eventOrchestration = new pagerduty.EventOrchestration("event_orchestration", {
        name: "Example Orchestration",
        team: databaseTeam.id,
    });
    const p1 = pagerduty.getPriority({
        name: "P1",
    });
    const global = new pagerduty.EventOrchestrationGlobal("global", {
        eventOrchestration: eventOrchestration.id,
        sets: [
            {
                id: "start",
                rules: [{
                    label: "Always annotate a note to all events",
                    actions: {
                        annotate: "This incident was created by the Database Team via a Global Orchestration",
                        routeTo: "step-two",
                    },
                }],
            },
            {
                id: "step-two",
                rules: [
                    {
                        label: "Drop events that are marked as no-op",
                        conditions: [{
                            expression: "event.summary matches 'no-op'",
                        }],
                        actions: {
                            dropEvent: true,
                        },
                    },
                    {
                        label: "If there's something wrong on the replica, then mark the alert as a warning",
                        conditions: [{
                            expression: "event.custom_details.hostname matches part 'replica'",
                        }],
                        actions: {
                            severity: "warning",
                        },
                    },
                    {
                        label: "Otherwise, set the incident to P1 and run a diagnostic",
                        actions: {
                            priority: p1.then(p1 => p1.id),
                            automationAction: {
                                name: "db-diagnostic",
                                url: "https://example.com/run-diagnostic",
                                autoSend: true,
                            },
                        },
                    },
                ],
            },
        ],
        catchAll: {
            actions: {},
        },
    });
    
    import pulumi
    import pulumi_pagerduty as pagerduty
    
    database_team = pagerduty.Team("database_team", name="Database Team")
    event_orchestration = pagerduty.EventOrchestration("event_orchestration",
        name="Example Orchestration",
        team=database_team.id)
    p1 = pagerduty.get_priority(name="P1")
    global_ = pagerduty.EventOrchestrationGlobal("global",
        event_orchestration=event_orchestration.id,
        sets=[
            pagerduty.EventOrchestrationGlobalSetArgs(
                id="start",
                rules=[pagerduty.EventOrchestrationGlobalSetRuleArgs(
                    label="Always annotate a note to all events",
                    actions=pagerduty.EventOrchestrationGlobalSetRuleActionsArgs(
                        annotate="This incident was created by the Database Team via a Global Orchestration",
                        route_to="step-two",
                    ),
                )],
            ),
            pagerduty.EventOrchestrationGlobalSetArgs(
                id="step-two",
                rules=[
                    pagerduty.EventOrchestrationGlobalSetRuleArgs(
                        label="Drop events that are marked as no-op",
                        conditions=[pagerduty.EventOrchestrationGlobalSetRuleConditionArgs(
                            expression="event.summary matches 'no-op'",
                        )],
                        actions=pagerduty.EventOrchestrationGlobalSetRuleActionsArgs(
                            drop_event=True,
                        ),
                    ),
                    pagerduty.EventOrchestrationGlobalSetRuleArgs(
                        label="If there's something wrong on the replica, then mark the alert as a warning",
                        conditions=[pagerduty.EventOrchestrationGlobalSetRuleConditionArgs(
                            expression="event.custom_details.hostname matches part 'replica'",
                        )],
                        actions=pagerduty.EventOrchestrationGlobalSetRuleActionsArgs(
                            severity="warning",
                        ),
                    ),
                    pagerduty.EventOrchestrationGlobalSetRuleArgs(
                        label="Otherwise, set the incident to P1 and run a diagnostic",
                        actions=pagerduty.EventOrchestrationGlobalSetRuleActionsArgs(
                            priority=p1.id,
                            automation_action=pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionArgs(
                                name="db-diagnostic",
                                url="https://example.com/run-diagnostic",
                                auto_send=True,
                            ),
                        ),
                    ),
                ],
            ),
        ],
        catch_all=pagerduty.EventOrchestrationGlobalCatchAllArgs(
            actions=pagerduty.EventOrchestrationGlobalCatchAllActionsArgs(),
        ))
    
    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 {
    		databaseTeam, err := pagerduty.NewTeam(ctx, "database_team", &pagerduty.TeamArgs{
    			Name: pulumi.String("Database Team"),
    		})
    		if err != nil {
    			return err
    		}
    		eventOrchestration, err := pagerduty.NewEventOrchestration(ctx, "event_orchestration", &pagerduty.EventOrchestrationArgs{
    			Name: pulumi.String("Example Orchestration"),
    			Team: databaseTeam.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		p1, err := pagerduty.GetPriority(ctx, &pagerduty.GetPriorityArgs{
    			Name: "P1",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = pagerduty.NewEventOrchestrationGlobal(ctx, "global", &pagerduty.EventOrchestrationGlobalArgs{
    			EventOrchestration: eventOrchestration.ID(),
    			Sets: pagerduty.EventOrchestrationGlobalSetArray{
    				&pagerduty.EventOrchestrationGlobalSetArgs{
    					Id: pulumi.String("start"),
    					Rules: pagerduty.EventOrchestrationGlobalSetRuleArray{
    						&pagerduty.EventOrchestrationGlobalSetRuleArgs{
    							Label: pulumi.String("Always annotate a note to all events"),
    							Actions: &pagerduty.EventOrchestrationGlobalSetRuleActionsArgs{
    								Annotate: pulumi.String("This incident was created by the Database Team via a Global Orchestration"),
    								RouteTo:  pulumi.String("step-two"),
    							},
    						},
    					},
    				},
    				&pagerduty.EventOrchestrationGlobalSetArgs{
    					Id: pulumi.String("step-two"),
    					Rules: pagerduty.EventOrchestrationGlobalSetRuleArray{
    						&pagerduty.EventOrchestrationGlobalSetRuleArgs{
    							Label: pulumi.String("Drop events that are marked as no-op"),
    							Conditions: pagerduty.EventOrchestrationGlobalSetRuleConditionArray{
    								&pagerduty.EventOrchestrationGlobalSetRuleConditionArgs{
    									Expression: pulumi.String("event.summary matches 'no-op'"),
    								},
    							},
    							Actions: &pagerduty.EventOrchestrationGlobalSetRuleActionsArgs{
    								DropEvent: pulumi.Bool(true),
    							},
    						},
    						&pagerduty.EventOrchestrationGlobalSetRuleArgs{
    							Label: pulumi.String("If there's something wrong on the replica, then mark the alert as a warning"),
    							Conditions: pagerduty.EventOrchestrationGlobalSetRuleConditionArray{
    								&pagerduty.EventOrchestrationGlobalSetRuleConditionArgs{
    									Expression: pulumi.String("event.custom_details.hostname matches part 'replica'"),
    								},
    							},
    							Actions: &pagerduty.EventOrchestrationGlobalSetRuleActionsArgs{
    								Severity: pulumi.String("warning"),
    							},
    						},
    						&pagerduty.EventOrchestrationGlobalSetRuleArgs{
    							Label: pulumi.String("Otherwise, set the incident to P1 and run a diagnostic"),
    							Actions: &pagerduty.EventOrchestrationGlobalSetRuleActionsArgs{
    								Priority: pulumi.String(p1.Id),
    								AutomationAction: &pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionArgs{
    									Name:     pulumi.String("db-diagnostic"),
    									Url:      pulumi.String("https://example.com/run-diagnostic"),
    									AutoSend: pulumi.Bool(true),
    								},
    							},
    						},
    					},
    				},
    			},
    			CatchAll: &pagerduty.EventOrchestrationGlobalCatchAllArgs{
    				Actions: nil,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pagerduty = Pulumi.Pagerduty;
    
    return await Deployment.RunAsync(() => 
    {
        var databaseTeam = new Pagerduty.Team("database_team", new()
        {
            Name = "Database Team",
        });
    
        var eventOrchestration = new Pagerduty.EventOrchestration("event_orchestration", new()
        {
            Name = "Example Orchestration",
            Team = databaseTeam.Id,
        });
    
        var p1 = Pagerduty.GetPriority.Invoke(new()
        {
            Name = "P1",
        });
    
        var @global = new Pagerduty.EventOrchestrationGlobal("global", new()
        {
            EventOrchestration = eventOrchestration.Id,
            Sets = new[]
            {
                new Pagerduty.Inputs.EventOrchestrationGlobalSetArgs
                {
                    Id = "start",
                    Rules = new[]
                    {
                        new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleArgs
                        {
                            Label = "Always annotate a note to all events",
                            Actions = new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsArgs
                            {
                                Annotate = "This incident was created by the Database Team via a Global Orchestration",
                                RouteTo = "step-two",
                            },
                        },
                    },
                },
                new Pagerduty.Inputs.EventOrchestrationGlobalSetArgs
                {
                    Id = "step-two",
                    Rules = new[]
                    {
                        new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleArgs
                        {
                            Label = "Drop events that are marked as no-op",
                            Conditions = new[]
                            {
                                new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleConditionArgs
                                {
                                    Expression = "event.summary matches 'no-op'",
                                },
                            },
                            Actions = new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsArgs
                            {
                                DropEvent = true,
                            },
                        },
                        new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleArgs
                        {
                            Label = "If there's something wrong on the replica, then mark the alert as a warning",
                            Conditions = new[]
                            {
                                new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleConditionArgs
                                {
                                    Expression = "event.custom_details.hostname matches part 'replica'",
                                },
                            },
                            Actions = new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsArgs
                            {
                                Severity = "warning",
                            },
                        },
                        new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleArgs
                        {
                            Label = "Otherwise, set the incident to P1 and run a diagnostic",
                            Actions = new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsArgs
                            {
                                Priority = p1.Apply(getPriorityResult => getPriorityResult.Id),
                                AutomationAction = new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsAutomationActionArgs
                                {
                                    Name = "db-diagnostic",
                                    Url = "https://example.com/run-diagnostic",
                                    AutoSend = true,
                                },
                            },
                        },
                    },
                },
            },
            CatchAll = new Pagerduty.Inputs.EventOrchestrationGlobalCatchAllArgs
            {
                Actions = null,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.pagerduty.Team;
    import com.pulumi.pagerduty.TeamArgs;
    import com.pulumi.pagerduty.EventOrchestration;
    import com.pulumi.pagerduty.EventOrchestrationArgs;
    import com.pulumi.pagerduty.PagerdutyFunctions;
    import com.pulumi.pagerduty.inputs.GetPriorityArgs;
    import com.pulumi.pagerduty.EventOrchestrationGlobal;
    import com.pulumi.pagerduty.EventOrchestrationGlobalArgs;
    import com.pulumi.pagerduty.inputs.EventOrchestrationGlobalSetArgs;
    import com.pulumi.pagerduty.inputs.EventOrchestrationGlobalCatchAllArgs;
    import com.pulumi.pagerduty.inputs.EventOrchestrationGlobalCatchAllActionsArgs;
    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 databaseTeam = new Team("databaseTeam", TeamArgs.builder()
                .name("Database Team")
                .build());
    
            var eventOrchestration = new EventOrchestration("eventOrchestration", EventOrchestrationArgs.builder()
                .name("Example Orchestration")
                .team(databaseTeam.id())
                .build());
    
            final var p1 = PagerdutyFunctions.getPriority(GetPriorityArgs.builder()
                .name("P1")
                .build());
    
            var global = new EventOrchestrationGlobal("global", EventOrchestrationGlobalArgs.builder()
                .eventOrchestration(eventOrchestration.id())
                .sets(            
                    EventOrchestrationGlobalSetArgs.builder()
                        .id("start")
                        .rules(EventOrchestrationGlobalSetRuleArgs.builder()
                            .label("Always annotate a note to all events")
                            .actions(EventOrchestrationGlobalSetRuleActionsArgs.builder()
                                .annotate("This incident was created by the Database Team via a Global Orchestration")
                                .routeTo("step-two")
                                .build())
                            .build())
                        .build(),
                    EventOrchestrationGlobalSetArgs.builder()
                        .id("step-two")
                        .rules(                    
                            EventOrchestrationGlobalSetRuleArgs.builder()
                                .label("Drop events that are marked as no-op")
                                .conditions(EventOrchestrationGlobalSetRuleConditionArgs.builder()
                                    .expression("event.summary matches 'no-op'")
                                    .build())
                                .actions(EventOrchestrationGlobalSetRuleActionsArgs.builder()
                                    .dropEvent(true)
                                    .build())
                                .build(),
                            EventOrchestrationGlobalSetRuleArgs.builder()
                                .label("If there's something wrong on the replica, then mark the alert as a warning")
                                .conditions(EventOrchestrationGlobalSetRuleConditionArgs.builder()
                                    .expression("event.custom_details.hostname matches part 'replica'")
                                    .build())
                                .actions(EventOrchestrationGlobalSetRuleActionsArgs.builder()
                                    .severity("warning")
                                    .build())
                                .build(),
                            EventOrchestrationGlobalSetRuleArgs.builder()
                                .label("Otherwise, set the incident to P1 and run a diagnostic")
                                .actions(EventOrchestrationGlobalSetRuleActionsArgs.builder()
                                    .priority(p1.applyValue(getPriorityResult -> getPriorityResult.id()))
                                    .automationAction(EventOrchestrationGlobalSetRuleActionsAutomationActionArgs.builder()
                                        .name("db-diagnostic")
                                        .url("https://example.com/run-diagnostic")
                                        .autoSend(true)
                                        .build())
                                    .build())
                                .build())
                        .build())
                .catchAll(EventOrchestrationGlobalCatchAllArgs.builder()
                    .actions()
                    .build())
                .build());
    
        }
    }
    
    resources:
      databaseTeam:
        type: pagerduty:Team
        name: database_team
        properties:
          name: Database Team
      eventOrchestration:
        type: pagerduty:EventOrchestration
        name: event_orchestration
        properties:
          name: Example Orchestration
          team: ${databaseTeam.id}
      global:
        type: pagerduty:EventOrchestrationGlobal
        properties:
          eventOrchestration: ${eventOrchestration.id}
          sets:
            - id: start
              rules:
                - label: Always annotate a note to all events
                  actions:
                    annotate: This incident was created by the Database Team via a Global Orchestration
                    routeTo: step-two
            - id: step-two
              rules:
                - label: Drop events that are marked as no-op
                  conditions:
                    - expression: event.summary matches 'no-op'
                  actions:
                    dropEvent: true
                - label: If there's something wrong on the replica, then mark the alert as a warning
                  conditions:
                    - expression: event.custom_details.hostname matches part 'replica'
                  actions:
                    severity: warning
                - label: Otherwise, set the incident to P1 and run a diagnostic
                  actions:
                    priority: ${p1.id}
                    automationAction:
                      name: db-diagnostic
                      url: https://example.com/run-diagnostic
                      autoSend: true
          catchAll:
            actions: {}
    variables:
      p1:
        fn::invoke:
          Function: pagerduty:getPriority
          Arguments:
            name: P1
    

    Create EventOrchestrationGlobal Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EventOrchestrationGlobal(name: string, args: EventOrchestrationGlobalArgs, opts?: CustomResourceOptions);
    @overload
    def EventOrchestrationGlobal(resource_name: str,
                                 args: EventOrchestrationGlobalArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def EventOrchestrationGlobal(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 catch_all: Optional[EventOrchestrationGlobalCatchAllArgs] = None,
                                 event_orchestration: Optional[str] = None,
                                 sets: Optional[Sequence[EventOrchestrationGlobalSetArgs]] = None)
    func NewEventOrchestrationGlobal(ctx *Context, name string, args EventOrchestrationGlobalArgs, opts ...ResourceOption) (*EventOrchestrationGlobal, error)
    public EventOrchestrationGlobal(string name, EventOrchestrationGlobalArgs args, CustomResourceOptions? opts = null)
    public EventOrchestrationGlobal(String name, EventOrchestrationGlobalArgs args)
    public EventOrchestrationGlobal(String name, EventOrchestrationGlobalArgs args, CustomResourceOptions options)
    
    type: pagerduty:EventOrchestrationGlobal
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EventOrchestrationGlobalArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EventOrchestrationGlobalArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EventOrchestrationGlobalArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EventOrchestrationGlobalArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EventOrchestrationGlobalArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var eventOrchestrationGlobalResource = new Pagerduty.EventOrchestrationGlobal("eventOrchestrationGlobalResource", new()
    {
        CatchAll = new Pagerduty.Inputs.EventOrchestrationGlobalCatchAllArgs
        {
            Actions = new Pagerduty.Inputs.EventOrchestrationGlobalCatchAllActionsArgs
            {
                Annotate = "string",
                AutomationAction = new Pagerduty.Inputs.EventOrchestrationGlobalCatchAllActionsAutomationActionArgs
                {
                    Name = "string",
                    Url = "string",
                    AutoSend = false,
                    Headers = new[]
                    {
                        new Pagerduty.Inputs.EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs
                        {
                            Key = "string",
                            Value = "string",
                        },
                    },
                    Parameters = new[]
                    {
                        new Pagerduty.Inputs.EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs
                        {
                            Key = "string",
                            Value = "string",
                        },
                    },
                },
                DropEvent = false,
                EventAction = "string",
                Extractions = new[]
                {
                    new Pagerduty.Inputs.EventOrchestrationGlobalCatchAllActionsExtractionArgs
                    {
                        Target = "string",
                        Regex = "string",
                        Source = "string",
                        Template = "string",
                    },
                },
                IncidentCustomFieldUpdates = new[]
                {
                    new Pagerduty.Inputs.EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdateArgs
                    {
                        Id = "string",
                        Value = "string",
                    },
                },
                Priority = "string",
                RouteTo = "string",
                Severity = "string",
                Suppress = false,
                Suspend = 0,
                Variables = new[]
                {
                    new Pagerduty.Inputs.EventOrchestrationGlobalCatchAllActionsVariableArgs
                    {
                        Name = "string",
                        Path = "string",
                        Type = "string",
                        Value = "string",
                    },
                },
            },
        },
        EventOrchestration = "string",
        Sets = new[]
        {
            new Pagerduty.Inputs.EventOrchestrationGlobalSetArgs
            {
                Id = "string",
                Rules = new[]
                {
                    new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleArgs
                    {
                        Actions = new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsArgs
                        {
                            Annotate = "string",
                            AutomationAction = new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsAutomationActionArgs
                            {
                                Name = "string",
                                Url = "string",
                                AutoSend = false,
                                Headers = new[]
                                {
                                    new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs
                                    {
                                        Key = "string",
                                        Value = "string",
                                    },
                                },
                                Parameters = new[]
                                {
                                    new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs
                                    {
                                        Key = "string",
                                        Value = "string",
                                    },
                                },
                            },
                            DropEvent = false,
                            EventAction = "string",
                            Extractions = new[]
                            {
                                new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsExtractionArgs
                                {
                                    Target = "string",
                                    Regex = "string",
                                    Source = "string",
                                    Template = "string",
                                },
                            },
                            IncidentCustomFieldUpdates = new[]
                            {
                                new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdateArgs
                                {
                                    Id = "string",
                                    Value = "string",
                                },
                            },
                            Priority = "string",
                            RouteTo = "string",
                            Severity = "string",
                            Suppress = false,
                            Suspend = 0,
                            Variables = new[]
                            {
                                new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsVariableArgs
                                {
                                    Name = "string",
                                    Path = "string",
                                    Type = "string",
                                    Value = "string",
                                },
                            },
                        },
                        Conditions = new[]
                        {
                            new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleConditionArgs
                            {
                                Expression = "string",
                            },
                        },
                        Disabled = false,
                        Id = "string",
                        Label = "string",
                    },
                },
            },
        },
    });
    
    example, err := pagerduty.NewEventOrchestrationGlobal(ctx, "eventOrchestrationGlobalResource", &pagerduty.EventOrchestrationGlobalArgs{
    	CatchAll: &pagerduty.EventOrchestrationGlobalCatchAllArgs{
    		Actions: &pagerduty.EventOrchestrationGlobalCatchAllActionsArgs{
    			Annotate: pulumi.String("string"),
    			AutomationAction: &pagerduty.EventOrchestrationGlobalCatchAllActionsAutomationActionArgs{
    				Name:     pulumi.String("string"),
    				Url:      pulumi.String("string"),
    				AutoSend: pulumi.Bool(false),
    				Headers: pagerduty.EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArray{
    					&pagerduty.EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs{
    						Key:   pulumi.String("string"),
    						Value: pulumi.String("string"),
    					},
    				},
    				Parameters: pagerduty.EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArray{
    					&pagerduty.EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs{
    						Key:   pulumi.String("string"),
    						Value: pulumi.String("string"),
    					},
    				},
    			},
    			DropEvent:   pulumi.Bool(false),
    			EventAction: pulumi.String("string"),
    			Extractions: pagerduty.EventOrchestrationGlobalCatchAllActionsExtractionArray{
    				&pagerduty.EventOrchestrationGlobalCatchAllActionsExtractionArgs{
    					Target:   pulumi.String("string"),
    					Regex:    pulumi.String("string"),
    					Source:   pulumi.String("string"),
    					Template: pulumi.String("string"),
    				},
    			},
    			IncidentCustomFieldUpdates: pagerduty.EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdateArray{
    				&pagerduty.EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdateArgs{
    					Id:    pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    			},
    			Priority: pulumi.String("string"),
    			RouteTo:  pulumi.String("string"),
    			Severity: pulumi.String("string"),
    			Suppress: pulumi.Bool(false),
    			Suspend:  pulumi.Int(0),
    			Variables: pagerduty.EventOrchestrationGlobalCatchAllActionsVariableArray{
    				&pagerduty.EventOrchestrationGlobalCatchAllActionsVariableArgs{
    					Name:  pulumi.String("string"),
    					Path:  pulumi.String("string"),
    					Type:  pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	EventOrchestration: pulumi.String("string"),
    	Sets: pagerduty.EventOrchestrationGlobalSetArray{
    		&pagerduty.EventOrchestrationGlobalSetArgs{
    			Id: pulumi.String("string"),
    			Rules: pagerduty.EventOrchestrationGlobalSetRuleArray{
    				&pagerduty.EventOrchestrationGlobalSetRuleArgs{
    					Actions: &pagerduty.EventOrchestrationGlobalSetRuleActionsArgs{
    						Annotate: pulumi.String("string"),
    						AutomationAction: &pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionArgs{
    							Name:     pulumi.String("string"),
    							Url:      pulumi.String("string"),
    							AutoSend: pulumi.Bool(false),
    							Headers: pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArray{
    								&pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs{
    									Key:   pulumi.String("string"),
    									Value: pulumi.String("string"),
    								},
    							},
    							Parameters: pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArray{
    								&pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs{
    									Key:   pulumi.String("string"),
    									Value: pulumi.String("string"),
    								},
    							},
    						},
    						DropEvent:   pulumi.Bool(false),
    						EventAction: pulumi.String("string"),
    						Extractions: pagerduty.EventOrchestrationGlobalSetRuleActionsExtractionArray{
    							&pagerduty.EventOrchestrationGlobalSetRuleActionsExtractionArgs{
    								Target:   pulumi.String("string"),
    								Regex:    pulumi.String("string"),
    								Source:   pulumi.String("string"),
    								Template: pulumi.String("string"),
    							},
    						},
    						IncidentCustomFieldUpdates: pagerduty.EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdateArray{
    							&pagerduty.EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdateArgs{
    								Id:    pulumi.String("string"),
    								Value: pulumi.String("string"),
    							},
    						},
    						Priority: pulumi.String("string"),
    						RouteTo:  pulumi.String("string"),
    						Severity: pulumi.String("string"),
    						Suppress: pulumi.Bool(false),
    						Suspend:  pulumi.Int(0),
    						Variables: pagerduty.EventOrchestrationGlobalSetRuleActionsVariableArray{
    							&pagerduty.EventOrchestrationGlobalSetRuleActionsVariableArgs{
    								Name:  pulumi.String("string"),
    								Path:  pulumi.String("string"),
    								Type:  pulumi.String("string"),
    								Value: pulumi.String("string"),
    							},
    						},
    					},
    					Conditions: pagerduty.EventOrchestrationGlobalSetRuleConditionArray{
    						&pagerduty.EventOrchestrationGlobalSetRuleConditionArgs{
    							Expression: pulumi.String("string"),
    						},
    					},
    					Disabled: pulumi.Bool(false),
    					Id:       pulumi.String("string"),
    					Label:    pulumi.String("string"),
    				},
    			},
    		},
    	},
    })
    
    var eventOrchestrationGlobalResource = new EventOrchestrationGlobal("eventOrchestrationGlobalResource", EventOrchestrationGlobalArgs.builder()
        .catchAll(EventOrchestrationGlobalCatchAllArgs.builder()
            .actions(EventOrchestrationGlobalCatchAllActionsArgs.builder()
                .annotate("string")
                .automationAction(EventOrchestrationGlobalCatchAllActionsAutomationActionArgs.builder()
                    .name("string")
                    .url("string")
                    .autoSend(false)
                    .headers(EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs.builder()
                        .key("string")
                        .value("string")
                        .build())
                    .parameters(EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs.builder()
                        .key("string")
                        .value("string")
                        .build())
                    .build())
                .dropEvent(false)
                .eventAction("string")
                .extractions(EventOrchestrationGlobalCatchAllActionsExtractionArgs.builder()
                    .target("string")
                    .regex("string")
                    .source("string")
                    .template("string")
                    .build())
                .incidentCustomFieldUpdates(EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdateArgs.builder()
                    .id("string")
                    .value("string")
                    .build())
                .priority("string")
                .routeTo("string")
                .severity("string")
                .suppress(false)
                .suspend(0)
                .variables(EventOrchestrationGlobalCatchAllActionsVariableArgs.builder()
                    .name("string")
                    .path("string")
                    .type("string")
                    .value("string")
                    .build())
                .build())
            .build())
        .eventOrchestration("string")
        .sets(EventOrchestrationGlobalSetArgs.builder()
            .id("string")
            .rules(EventOrchestrationGlobalSetRuleArgs.builder()
                .actions(EventOrchestrationGlobalSetRuleActionsArgs.builder()
                    .annotate("string")
                    .automationAction(EventOrchestrationGlobalSetRuleActionsAutomationActionArgs.builder()
                        .name("string")
                        .url("string")
                        .autoSend(false)
                        .headers(EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs.builder()
                            .key("string")
                            .value("string")
                            .build())
                        .parameters(EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs.builder()
                            .key("string")
                            .value("string")
                            .build())
                        .build())
                    .dropEvent(false)
                    .eventAction("string")
                    .extractions(EventOrchestrationGlobalSetRuleActionsExtractionArgs.builder()
                        .target("string")
                        .regex("string")
                        .source("string")
                        .template("string")
                        .build())
                    .incidentCustomFieldUpdates(EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdateArgs.builder()
                        .id("string")
                        .value("string")
                        .build())
                    .priority("string")
                    .routeTo("string")
                    .severity("string")
                    .suppress(false)
                    .suspend(0)
                    .variables(EventOrchestrationGlobalSetRuleActionsVariableArgs.builder()
                        .name("string")
                        .path("string")
                        .type("string")
                        .value("string")
                        .build())
                    .build())
                .conditions(EventOrchestrationGlobalSetRuleConditionArgs.builder()
                    .expression("string")
                    .build())
                .disabled(false)
                .id("string")
                .label("string")
                .build())
            .build())
        .build());
    
    event_orchestration_global_resource = pagerduty.EventOrchestrationGlobal("eventOrchestrationGlobalResource",
        catch_all=pagerduty.EventOrchestrationGlobalCatchAllArgs(
            actions=pagerduty.EventOrchestrationGlobalCatchAllActionsArgs(
                annotate="string",
                automation_action=pagerduty.EventOrchestrationGlobalCatchAllActionsAutomationActionArgs(
                    name="string",
                    url="string",
                    auto_send=False,
                    headers=[pagerduty.EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs(
                        key="string",
                        value="string",
                    )],
                    parameters=[pagerduty.EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs(
                        key="string",
                        value="string",
                    )],
                ),
                drop_event=False,
                event_action="string",
                extractions=[pagerduty.EventOrchestrationGlobalCatchAllActionsExtractionArgs(
                    target="string",
                    regex="string",
                    source="string",
                    template="string",
                )],
                incident_custom_field_updates=[pagerduty.EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdateArgs(
                    id="string",
                    value="string",
                )],
                priority="string",
                route_to="string",
                severity="string",
                suppress=False,
                suspend=0,
                variables=[pagerduty.EventOrchestrationGlobalCatchAllActionsVariableArgs(
                    name="string",
                    path="string",
                    type="string",
                    value="string",
                )],
            ),
        ),
        event_orchestration="string",
        sets=[pagerduty.EventOrchestrationGlobalSetArgs(
            id="string",
            rules=[pagerduty.EventOrchestrationGlobalSetRuleArgs(
                actions=pagerduty.EventOrchestrationGlobalSetRuleActionsArgs(
                    annotate="string",
                    automation_action=pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionArgs(
                        name="string",
                        url="string",
                        auto_send=False,
                        headers=[pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs(
                            key="string",
                            value="string",
                        )],
                        parameters=[pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs(
                            key="string",
                            value="string",
                        )],
                    ),
                    drop_event=False,
                    event_action="string",
                    extractions=[pagerduty.EventOrchestrationGlobalSetRuleActionsExtractionArgs(
                        target="string",
                        regex="string",
                        source="string",
                        template="string",
                    )],
                    incident_custom_field_updates=[pagerduty.EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdateArgs(
                        id="string",
                        value="string",
                    )],
                    priority="string",
                    route_to="string",
                    severity="string",
                    suppress=False,
                    suspend=0,
                    variables=[pagerduty.EventOrchestrationGlobalSetRuleActionsVariableArgs(
                        name="string",
                        path="string",
                        type="string",
                        value="string",
                    )],
                ),
                conditions=[pagerduty.EventOrchestrationGlobalSetRuleConditionArgs(
                    expression="string",
                )],
                disabled=False,
                id="string",
                label="string",
            )],
        )])
    
    const eventOrchestrationGlobalResource = new pagerduty.EventOrchestrationGlobal("eventOrchestrationGlobalResource", {
        catchAll: {
            actions: {
                annotate: "string",
                automationAction: {
                    name: "string",
                    url: "string",
                    autoSend: false,
                    headers: [{
                        key: "string",
                        value: "string",
                    }],
                    parameters: [{
                        key: "string",
                        value: "string",
                    }],
                },
                dropEvent: false,
                eventAction: "string",
                extractions: [{
                    target: "string",
                    regex: "string",
                    source: "string",
                    template: "string",
                }],
                incidentCustomFieldUpdates: [{
                    id: "string",
                    value: "string",
                }],
                priority: "string",
                routeTo: "string",
                severity: "string",
                suppress: false,
                suspend: 0,
                variables: [{
                    name: "string",
                    path: "string",
                    type: "string",
                    value: "string",
                }],
            },
        },
        eventOrchestration: "string",
        sets: [{
            id: "string",
            rules: [{
                actions: {
                    annotate: "string",
                    automationAction: {
                        name: "string",
                        url: "string",
                        autoSend: false,
                        headers: [{
                            key: "string",
                            value: "string",
                        }],
                        parameters: [{
                            key: "string",
                            value: "string",
                        }],
                    },
                    dropEvent: false,
                    eventAction: "string",
                    extractions: [{
                        target: "string",
                        regex: "string",
                        source: "string",
                        template: "string",
                    }],
                    incidentCustomFieldUpdates: [{
                        id: "string",
                        value: "string",
                    }],
                    priority: "string",
                    routeTo: "string",
                    severity: "string",
                    suppress: false,
                    suspend: 0,
                    variables: [{
                        name: "string",
                        path: "string",
                        type: "string",
                        value: "string",
                    }],
                },
                conditions: [{
                    expression: "string",
                }],
                disabled: false,
                id: "string",
                label: "string",
            }],
        }],
    });
    
    type: pagerduty:EventOrchestrationGlobal
    properties:
        catchAll:
            actions:
                annotate: string
                automationAction:
                    autoSend: false
                    headers:
                        - key: string
                          value: string
                    name: string
                    parameters:
                        - key: string
                          value: string
                    url: string
                dropEvent: false
                eventAction: string
                extractions:
                    - regex: string
                      source: string
                      target: string
                      template: string
                incidentCustomFieldUpdates:
                    - id: string
                      value: string
                priority: string
                routeTo: string
                severity: string
                suppress: false
                suspend: 0
                variables:
                    - name: string
                      path: string
                      type: string
                      value: string
        eventOrchestration: string
        sets:
            - id: string
              rules:
                - actions:
                    annotate: string
                    automationAction:
                        autoSend: false
                        headers:
                            - key: string
                              value: string
                        name: string
                        parameters:
                            - key: string
                              value: string
                        url: string
                    dropEvent: false
                    eventAction: string
                    extractions:
                        - regex: string
                          source: string
                          target: string
                          template: string
                    incidentCustomFieldUpdates:
                        - id: string
                          value: string
                    priority: string
                    routeTo: string
                    severity: string
                    suppress: false
                    suspend: 0
                    variables:
                        - name: string
                          path: string
                          type: string
                          value: string
                  conditions:
                    - expression: string
                  disabled: false
                  id: string
                  label: string
    

    EventOrchestrationGlobal Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The EventOrchestrationGlobal resource accepts the following input properties:

    CatchAll EventOrchestrationGlobalCatchAll
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    EventOrchestration string
    ID of the Event Orchestration to which this Global Orchestration belongs to.
    Sets List<EventOrchestrationGlobalSet>
    A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    CatchAll EventOrchestrationGlobalCatchAllArgs
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    EventOrchestration string
    ID of the Event Orchestration to which this Global Orchestration belongs to.
    Sets []EventOrchestrationGlobalSetArgs
    A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    catchAll EventOrchestrationGlobalCatchAll
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    eventOrchestration String
    ID of the Event Orchestration to which this Global Orchestration belongs to.
    sets List<EventOrchestrationGlobalSet>
    A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    catchAll EventOrchestrationGlobalCatchAll
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    eventOrchestration string
    ID of the Event Orchestration to which this Global Orchestration belongs to.
    sets EventOrchestrationGlobalSet[]
    A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    catch_all EventOrchestrationGlobalCatchAllArgs
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    event_orchestration str
    ID of the Event Orchestration to which this Global Orchestration belongs to.
    sets Sequence[EventOrchestrationGlobalSetArgs]
    A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    catchAll Property Map
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    eventOrchestration String
    ID of the Event Orchestration to which this Global Orchestration belongs to.
    sets List<Property Map>
    A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EventOrchestrationGlobal resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing EventOrchestrationGlobal Resource

    Get an existing EventOrchestrationGlobal resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EventOrchestrationGlobalState, opts?: CustomResourceOptions): EventOrchestrationGlobal
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            catch_all: Optional[EventOrchestrationGlobalCatchAllArgs] = None,
            event_orchestration: Optional[str] = None,
            sets: Optional[Sequence[EventOrchestrationGlobalSetArgs]] = None) -> EventOrchestrationGlobal
    func GetEventOrchestrationGlobal(ctx *Context, name string, id IDInput, state *EventOrchestrationGlobalState, opts ...ResourceOption) (*EventOrchestrationGlobal, error)
    public static EventOrchestrationGlobal Get(string name, Input<string> id, EventOrchestrationGlobalState? state, CustomResourceOptions? opts = null)
    public static EventOrchestrationGlobal get(String name, Output<String> id, EventOrchestrationGlobalState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CatchAll EventOrchestrationGlobalCatchAll
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    EventOrchestration string
    ID of the Event Orchestration to which this Global Orchestration belongs to.
    Sets List<EventOrchestrationGlobalSet>
    A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    CatchAll EventOrchestrationGlobalCatchAllArgs
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    EventOrchestration string
    ID of the Event Orchestration to which this Global Orchestration belongs to.
    Sets []EventOrchestrationGlobalSetArgs
    A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    catchAll EventOrchestrationGlobalCatchAll
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    eventOrchestration String
    ID of the Event Orchestration to which this Global Orchestration belongs to.
    sets List<EventOrchestrationGlobalSet>
    A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    catchAll EventOrchestrationGlobalCatchAll
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    eventOrchestration string
    ID of the Event Orchestration to which this Global Orchestration belongs to.
    sets EventOrchestrationGlobalSet[]
    A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    catch_all EventOrchestrationGlobalCatchAllArgs
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    event_orchestration str
    ID of the Event Orchestration to which this Global Orchestration belongs to.
    sets Sequence[EventOrchestrationGlobalSetArgs]
    A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    catchAll Property Map
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    eventOrchestration String
    ID of the Event Orchestration to which this Global Orchestration belongs to.
    sets List<Property Map>
    A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.

    Supporting Types

    EventOrchestrationGlobalCatchAll, EventOrchestrationGlobalCatchAllArgs

    Actions EventOrchestrationGlobalCatchAllActions
    These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.
    Actions EventOrchestrationGlobalCatchAllActions
    These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.
    actions EventOrchestrationGlobalCatchAllActions
    These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.
    actions EventOrchestrationGlobalCatchAllActions
    These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.
    actions EventOrchestrationGlobalCatchAllActions
    These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.
    actions Property Map
    These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.

    EventOrchestrationGlobalCatchAllActions, EventOrchestrationGlobalCatchAllActionsArgs

    Annotate string
    Add this text as a note on the resulting incident.
    AutomationAction EventOrchestrationGlobalCatchAllActionsAutomationAction
    Create a Webhook associated with the resulting incident.
    DropEvent bool
    When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
    EventAction string
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    Extractions List<EventOrchestrationGlobalCatchAllActionsExtraction>
    Replace any CEF field or Custom Details object field using custom variables.
    IncidentCustomFieldUpdates List<EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdate>
    Assign a custom field to the resulting incident.
    Priority string
    The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.
    RouteTo string
    The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
    Severity string
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    Suppress bool
    Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
    Suspend int
    The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a resolve event arrives before the alert triggers then PagerDuty won't create an incident for this alert.
    Variables List<EventOrchestrationGlobalCatchAllActionsVariable>
    Populate variables from event payloads and use those variables in other event actions.
    Annotate string
    Add this text as a note on the resulting incident.
    AutomationAction EventOrchestrationGlobalCatchAllActionsAutomationAction
    Create a Webhook associated with the resulting incident.
    DropEvent bool
    When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
    EventAction string
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    Extractions []EventOrchestrationGlobalCatchAllActionsExtraction
    Replace any CEF field or Custom Details object field using custom variables.
    IncidentCustomFieldUpdates []EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdate
    Assign a custom field to the resulting incident.
    Priority string
    The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.
    RouteTo string
    The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
    Severity string
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    Suppress bool
    Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
    Suspend int
    The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a resolve event arrives before the alert triggers then PagerDuty won't create an incident for this alert.
    Variables []EventOrchestrationGlobalCatchAllActionsVariable
    Populate variables from event payloads and use those variables in other event actions.
    annotate String
    Add this text as a note on the resulting incident.
    automationAction EventOrchestrationGlobalCatchAllActionsAutomationAction
    Create a Webhook associated with the resulting incident.
    dropEvent Boolean
    When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
    eventAction String
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    extractions List<EventOrchestrationGlobalCatchAllActionsExtraction>
    Replace any CEF field or Custom Details object field using custom variables.
    incidentCustomFieldUpdates List<EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdate>
    Assign a custom field to the resulting incident.
    priority String
    The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.
    routeTo String
    The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
    severity String
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    suppress Boolean
    Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
    suspend Integer
    The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a resolve event arrives before the alert triggers then PagerDuty won't create an incident for this alert.
    variables List<EventOrchestrationGlobalCatchAllActionsVariable>
    Populate variables from event payloads and use those variables in other event actions.
    annotate string
    Add this text as a note on the resulting incident.
    automationAction EventOrchestrationGlobalCatchAllActionsAutomationAction
    Create a Webhook associated with the resulting incident.
    dropEvent boolean
    When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
    eventAction string
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    extractions EventOrchestrationGlobalCatchAllActionsExtraction[]
    Replace any CEF field or Custom Details object field using custom variables.
    incidentCustomFieldUpdates EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdate[]
    Assign a custom field to the resulting incident.
    priority string
    The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.
    routeTo string
    The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
    severity string
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    suppress boolean
    Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
    suspend number
    The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a resolve event arrives before the alert triggers then PagerDuty won't create an incident for this alert.
    variables EventOrchestrationGlobalCatchAllActionsVariable[]
    Populate variables from event payloads and use those variables in other event actions.
    annotate str
    Add this text as a note on the resulting incident.
    automation_action EventOrchestrationGlobalCatchAllActionsAutomationAction
    Create a Webhook associated with the resulting incident.
    drop_event bool
    When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
    event_action str
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    extractions Sequence[EventOrchestrationGlobalCatchAllActionsExtraction]
    Replace any CEF field or Custom Details object field using custom variables.
    incident_custom_field_updates Sequence[EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdate]
    Assign a custom field to the resulting incident.
    priority str
    The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.
    route_to str
    The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
    severity str
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    suppress bool
    Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
    suspend int
    The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a resolve event arrives before the alert triggers then PagerDuty won't create an incident for this alert.
    variables Sequence[EventOrchestrationGlobalCatchAllActionsVariable]
    Populate variables from event payloads and use those variables in other event actions.
    annotate String
    Add this text as a note on the resulting incident.
    automationAction Property Map
    Create a Webhook associated with the resulting incident.
    dropEvent Boolean
    When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
    eventAction String
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    extractions List<Property Map>
    Replace any CEF field or Custom Details object field using custom variables.
    incidentCustomFieldUpdates List<Property Map>
    Assign a custom field to the resulting incident.
    priority String
    The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.
    routeTo String
    The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
    severity String
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    suppress Boolean
    Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
    suspend Number
    The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a resolve event arrives before the alert triggers then PagerDuty won't create an incident for this alert.
    variables List<Property Map>
    Populate variables from event payloads and use those variables in other event actions.

    EventOrchestrationGlobalCatchAllActionsAutomationAction, EventOrchestrationGlobalCatchAllActionsAutomationActionArgs

    Name string
    Name of this Webhook.
    Url string
    The API endpoint where PagerDuty's servers will send the webhook request.
    AutoSend bool
    When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
    Headers List<EventOrchestrationGlobalCatchAllActionsAutomationActionHeader>
    Specify custom key/value pairs that'll be sent with the webhook request as request headers.
    Parameters List<EventOrchestrationGlobalCatchAllActionsAutomationActionParameter>
    Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
    Name string
    Name of this Webhook.
    Url string
    The API endpoint where PagerDuty's servers will send the webhook request.
    AutoSend bool
    When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
    Headers []EventOrchestrationGlobalCatchAllActionsAutomationActionHeader
    Specify custom key/value pairs that'll be sent with the webhook request as request headers.
    Parameters []EventOrchestrationGlobalCatchAllActionsAutomationActionParameter
    Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
    name String
    Name of this Webhook.
    url String
    The API endpoint where PagerDuty's servers will send the webhook request.
    autoSend Boolean
    When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
    headers List<EventOrchestrationGlobalCatchAllActionsAutomationActionHeader>
    Specify custom key/value pairs that'll be sent with the webhook request as request headers.
    parameters List<EventOrchestrationGlobalCatchAllActionsAutomationActionParameter>
    Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
    name string
    Name of this Webhook.
    url string
    The API endpoint where PagerDuty's servers will send the webhook request.
    autoSend boolean
    When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
    headers EventOrchestrationGlobalCatchAllActionsAutomationActionHeader[]
    Specify custom key/value pairs that'll be sent with the webhook request as request headers.
    parameters EventOrchestrationGlobalCatchAllActionsAutomationActionParameter[]
    Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
    name str
    Name of this Webhook.
    url str
    The API endpoint where PagerDuty's servers will send the webhook request.
    auto_send bool
    When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
    headers Sequence[EventOrchestrationGlobalCatchAllActionsAutomationActionHeader]
    Specify custom key/value pairs that'll be sent with the webhook request as request headers.
    parameters Sequence[EventOrchestrationGlobalCatchAllActionsAutomationActionParameter]
    Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
    name String
    Name of this Webhook.
    url String
    The API endpoint where PagerDuty's servers will send the webhook request.
    autoSend Boolean
    When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
    headers List<Property Map>
    Specify custom key/value pairs that'll be sent with the webhook request as request headers.
    parameters List<Property Map>
    Specify custom key/value pairs that'll be included in the webhook request's JSON payload.

    EventOrchestrationGlobalCatchAllActionsAutomationActionHeader, EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs

    Key string
    Name to identify the header
    Value string
    Value of this header
    Key string
    Name to identify the header
    Value string
    Value of this header
    key String
    Name to identify the header
    value String
    Value of this header
    key string
    Name to identify the header
    value string
    Value of this header
    key str
    Name to identify the header
    value str
    Value of this header
    key String
    Name to identify the header
    value String
    Value of this header

    EventOrchestrationGlobalCatchAllActionsAutomationActionParameter, EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs

    Key string
    Name to identify the parameter
    Value string
    Value of this parameter
    Key string
    Name to identify the parameter
    Value string
    Value of this parameter
    key String
    Name to identify the parameter
    value String
    Value of this parameter
    key string
    Name to identify the parameter
    value string
    Value of this parameter
    key str
    Name to identify the parameter
    value str
    Value of this parameter
    key String
    Name to identify the parameter
    value String
    Value of this parameter

    EventOrchestrationGlobalCatchAllActionsExtraction, EventOrchestrationGlobalCatchAllActionsExtractionArgs

    Target string
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    Regex string
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    Source string
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    Template string
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    Target string
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    Regex string
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    Source string
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    Template string
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    target String
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    regex String
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    source String
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    template String
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    target string
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    regex string
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    source string
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    template string
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    target str
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    regex str
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    source str
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    template str
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    target String
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    regex String
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    source String
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    template String
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}

    EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdate, EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdateArgs

    Id string
    The custom field id
    Value string
    The value to assign to this custom field
    Id string
    The custom field id
    Value string
    The value to assign to this custom field
    id String
    The custom field id
    value String
    The value to assign to this custom field
    id string
    The custom field id
    value string
    The value to assign to this custom field
    id str
    The custom field id
    value str
    The value to assign to this custom field
    id String
    The custom field id
    value String
    The value to assign to this custom field

    EventOrchestrationGlobalCatchAllActionsVariable, EventOrchestrationGlobalCatchAllActionsVariableArgs

    Name string
    The name of the variable
    Path string
    Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.
    Type string
    Only regex is supported
    Value string
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    Name string
    The name of the variable
    Path string
    Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.
    Type string
    Only regex is supported
    Value string
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    name String
    The name of the variable
    path String
    Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.
    type String
    Only regex is supported
    value String
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    name string
    The name of the variable
    path string
    Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.
    type string
    Only regex is supported
    value string
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    name str
    The name of the variable
    path str
    Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.
    type str
    Only regex is supported
    value str
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    name String
    The name of the variable
    path String
    Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.
    type String
    Only regex is supported
    value String
    The Regex expression to match against. Must use valid RE2 regular expression syntax.

    EventOrchestrationGlobalSet, EventOrchestrationGlobalSetArgs

    Id string
    The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
    Rules List<EventOrchestrationGlobalSetRule>
    Id string
    The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
    Rules []EventOrchestrationGlobalSetRule
    id String
    The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
    rules List<EventOrchestrationGlobalSetRule>
    id string
    The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
    rules EventOrchestrationGlobalSetRule[]
    id str
    The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
    rules Sequence[EventOrchestrationGlobalSetRule]
    id String
    The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
    rules List<Property Map>

    EventOrchestrationGlobalSetRule, EventOrchestrationGlobalSetRuleArgs

    Actions EventOrchestrationGlobalSetRuleActions
    Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
    Conditions List<EventOrchestrationGlobalSetRuleCondition>
    Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.
    Disabled bool
    Indicates whether the rule is disabled and would therefore not be evaluated.
    Id string
    The ID of the rule within the set.
    Label string
    A description of this rule's purpose.
    Actions EventOrchestrationGlobalSetRuleActions
    Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
    Conditions []EventOrchestrationGlobalSetRuleCondition
    Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.
    Disabled bool
    Indicates whether the rule is disabled and would therefore not be evaluated.
    Id string
    The ID of the rule within the set.
    Label string
    A description of this rule's purpose.
    actions EventOrchestrationGlobalSetRuleActions
    Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
    conditions List<EventOrchestrationGlobalSetRuleCondition>
    Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.
    disabled Boolean
    Indicates whether the rule is disabled and would therefore not be evaluated.
    id String
    The ID of the rule within the set.
    label String
    A description of this rule's purpose.
    actions EventOrchestrationGlobalSetRuleActions
    Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
    conditions EventOrchestrationGlobalSetRuleCondition[]
    Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.
    disabled boolean
    Indicates whether the rule is disabled and would therefore not be evaluated.
    id string
    The ID of the rule within the set.
    label string
    A description of this rule's purpose.
    actions EventOrchestrationGlobalSetRuleActions
    Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
    conditions Sequence[EventOrchestrationGlobalSetRuleCondition]
    Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.
    disabled bool
    Indicates whether the rule is disabled and would therefore not be evaluated.
    id str
    The ID of the rule within the set.
    label str
    A description of this rule's purpose.
    actions Property Map
    Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
    conditions List<Property Map>
    Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.
    disabled Boolean
    Indicates whether the rule is disabled and would therefore not be evaluated.
    id String
    The ID of the rule within the set.
    label String
    A description of this rule's purpose.

    EventOrchestrationGlobalSetRuleActions, EventOrchestrationGlobalSetRuleActionsArgs

    Annotate string
    Add this text as a note on the resulting incident.
    AutomationAction EventOrchestrationGlobalSetRuleActionsAutomationAction
    Create a Webhook associated with the resulting incident.
    DropEvent bool
    When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
    EventAction string
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    Extractions List<EventOrchestrationGlobalSetRuleActionsExtraction>
    Replace any CEF field or Custom Details object field using custom variables.
    IncidentCustomFieldUpdates List<EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdate>
    Assign a custom field to the resulting incident.
    Priority string
    The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.
    RouteTo string
    The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
    Severity string
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    Suppress bool
    Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
    Suspend int
    The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a resolve event arrives before the alert triggers then PagerDuty won't create an incident for this alert.
    Variables List<EventOrchestrationGlobalSetRuleActionsVariable>
    Populate variables from event payloads and use those variables in other event actions.
    Annotate string
    Add this text as a note on the resulting incident.
    AutomationAction EventOrchestrationGlobalSetRuleActionsAutomationAction
    Create a Webhook associated with the resulting incident.
    DropEvent bool
    When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
    EventAction string
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    Extractions []EventOrchestrationGlobalSetRuleActionsExtraction
    Replace any CEF field or Custom Details object field using custom variables.
    IncidentCustomFieldUpdates []EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdate
    Assign a custom field to the resulting incident.
    Priority string
    The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.
    RouteTo string
    The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
    Severity string
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    Suppress bool
    Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
    Suspend int
    The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a resolve event arrives before the alert triggers then PagerDuty won't create an incident for this alert.
    Variables []EventOrchestrationGlobalSetRuleActionsVariable
    Populate variables from event payloads and use those variables in other event actions.
    annotate String
    Add this text as a note on the resulting incident.
    automationAction EventOrchestrationGlobalSetRuleActionsAutomationAction
    Create a Webhook associated with the resulting incident.
    dropEvent Boolean
    When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
    eventAction String
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    extractions List<EventOrchestrationGlobalSetRuleActionsExtraction>
    Replace any CEF field or Custom Details object field using custom variables.
    incidentCustomFieldUpdates List<EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdate>
    Assign a custom field to the resulting incident.
    priority String
    The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.
    routeTo String
    The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
    severity String
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    suppress Boolean
    Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
    suspend Integer
    The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a resolve event arrives before the alert triggers then PagerDuty won't create an incident for this alert.
    variables List<EventOrchestrationGlobalSetRuleActionsVariable>
    Populate variables from event payloads and use those variables in other event actions.
    annotate string
    Add this text as a note on the resulting incident.
    automationAction EventOrchestrationGlobalSetRuleActionsAutomationAction
    Create a Webhook associated with the resulting incident.
    dropEvent boolean
    When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
    eventAction string
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    extractions EventOrchestrationGlobalSetRuleActionsExtraction[]
    Replace any CEF field or Custom Details object field using custom variables.
    incidentCustomFieldUpdates EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdate[]
    Assign a custom field to the resulting incident.
    priority string
    The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.
    routeTo string
    The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
    severity string
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    suppress boolean
    Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
    suspend number
    The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a resolve event arrives before the alert triggers then PagerDuty won't create an incident for this alert.
    variables EventOrchestrationGlobalSetRuleActionsVariable[]
    Populate variables from event payloads and use those variables in other event actions.
    annotate str
    Add this text as a note on the resulting incident.
    automation_action EventOrchestrationGlobalSetRuleActionsAutomationAction
    Create a Webhook associated with the resulting incident.
    drop_event bool
    When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
    event_action str
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    extractions Sequence[EventOrchestrationGlobalSetRuleActionsExtraction]
    Replace any CEF field or Custom Details object field using custom variables.
    incident_custom_field_updates Sequence[EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdate]
    Assign a custom field to the resulting incident.
    priority str
    The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.
    route_to str
    The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
    severity str
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    suppress bool
    Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
    suspend int
    The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a resolve event arrives before the alert triggers then PagerDuty won't create an incident for this alert.
    variables Sequence[EventOrchestrationGlobalSetRuleActionsVariable]
    Populate variables from event payloads and use those variables in other event actions.
    annotate String
    Add this text as a note on the resulting incident.
    automationAction Property Map
    Create a Webhook associated with the resulting incident.
    dropEvent Boolean
    When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
    eventAction String
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    extractions List<Property Map>
    Replace any CEF field or Custom Details object field using custom variables.
    incidentCustomFieldUpdates List<Property Map>
    Assign a custom field to the resulting incident.
    priority String
    The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.
    routeTo String
    The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
    severity String
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    suppress Boolean
    Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
    suspend Number
    The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a resolve event arrives before the alert triggers then PagerDuty won't create an incident for this alert.
    variables List<Property Map>
    Populate variables from event payloads and use those variables in other event actions.

    EventOrchestrationGlobalSetRuleActionsAutomationAction, EventOrchestrationGlobalSetRuleActionsAutomationActionArgs

    Name string
    Name of this Webhook.
    Url string
    The API endpoint where PagerDuty's servers will send the webhook request.
    AutoSend bool
    When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
    Headers List<EventOrchestrationGlobalSetRuleActionsAutomationActionHeader>
    Specify custom key/value pairs that'll be sent with the webhook request as request headers.
    Parameters List<EventOrchestrationGlobalSetRuleActionsAutomationActionParameter>
    Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
    Name string
    Name of this Webhook.
    Url string
    The API endpoint where PagerDuty's servers will send the webhook request.
    AutoSend bool
    When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
    Headers []EventOrchestrationGlobalSetRuleActionsAutomationActionHeader
    Specify custom key/value pairs that'll be sent with the webhook request as request headers.
    Parameters []EventOrchestrationGlobalSetRuleActionsAutomationActionParameter
    Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
    name String
    Name of this Webhook.
    url String
    The API endpoint where PagerDuty's servers will send the webhook request.
    autoSend Boolean
    When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
    headers List<EventOrchestrationGlobalSetRuleActionsAutomationActionHeader>
    Specify custom key/value pairs that'll be sent with the webhook request as request headers.
    parameters List<EventOrchestrationGlobalSetRuleActionsAutomationActionParameter>
    Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
    name string
    Name of this Webhook.
    url string
    The API endpoint where PagerDuty's servers will send the webhook request.
    autoSend boolean
    When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
    headers EventOrchestrationGlobalSetRuleActionsAutomationActionHeader[]
    Specify custom key/value pairs that'll be sent with the webhook request as request headers.
    parameters EventOrchestrationGlobalSetRuleActionsAutomationActionParameter[]
    Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
    name str
    Name of this Webhook.
    url str
    The API endpoint where PagerDuty's servers will send the webhook request.
    auto_send bool
    When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
    headers Sequence[EventOrchestrationGlobalSetRuleActionsAutomationActionHeader]
    Specify custom key/value pairs that'll be sent with the webhook request as request headers.
    parameters Sequence[EventOrchestrationGlobalSetRuleActionsAutomationActionParameter]
    Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
    name String
    Name of this Webhook.
    url String
    The API endpoint where PagerDuty's servers will send the webhook request.
    autoSend Boolean
    When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
    headers List<Property Map>
    Specify custom key/value pairs that'll be sent with the webhook request as request headers.
    parameters List<Property Map>
    Specify custom key/value pairs that'll be included in the webhook request's JSON payload.

    EventOrchestrationGlobalSetRuleActionsAutomationActionHeader, EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs

    Key string
    Name to identify the header
    Value string
    Value of this header
    Key string
    Name to identify the header
    Value string
    Value of this header
    key String
    Name to identify the header
    value String
    Value of this header
    key string
    Name to identify the header
    value string
    Value of this header
    key str
    Name to identify the header
    value str
    Value of this header
    key String
    Name to identify the header
    value String
    Value of this header

    EventOrchestrationGlobalSetRuleActionsAutomationActionParameter, EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs

    Key string
    Name to identify the parameter
    Value string
    Value of this parameter
    Key string
    Name to identify the parameter
    Value string
    Value of this parameter
    key String
    Name to identify the parameter
    value String
    Value of this parameter
    key string
    Name to identify the parameter
    value string
    Value of this parameter
    key str
    Name to identify the parameter
    value str
    Value of this parameter
    key String
    Name to identify the parameter
    value String
    Value of this parameter

    EventOrchestrationGlobalSetRuleActionsExtraction, EventOrchestrationGlobalSetRuleActionsExtractionArgs

    Target string
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    Regex string
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    Source string
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    Template string
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    Target string
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    Regex string
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    Source string
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    Template string
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    target String
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    regex String
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    source String
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    template String
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    target string
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    regex string
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    source string
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    template string
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    target str
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    regex str
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    source str
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    template str
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    target String
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    regex String
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    source String
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    template String
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}

    EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdate, EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdateArgs

    Id string
    The custom field id
    Value string
    The value to assign to this custom field
    Id string
    The custom field id
    Value string
    The value to assign to this custom field
    id String
    The custom field id
    value String
    The value to assign to this custom field
    id string
    The custom field id
    value string
    The value to assign to this custom field
    id str
    The custom field id
    value str
    The value to assign to this custom field
    id String
    The custom field id
    value String
    The value to assign to this custom field

    EventOrchestrationGlobalSetRuleActionsVariable, EventOrchestrationGlobalSetRuleActionsVariableArgs

    Name string
    The name of the variable
    Path string
    Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.
    Type string
    Only regex is supported
    Value string
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    Name string
    The name of the variable
    Path string
    Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.
    Type string
    Only regex is supported
    Value string
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    name String
    The name of the variable
    path String
    Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.
    type String
    Only regex is supported
    value String
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    name string
    The name of the variable
    path string
    Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.
    type string
    Only regex is supported
    value string
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    name str
    The name of the variable
    path str
    Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.
    type str
    Only regex is supported
    value str
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    name String
    The name of the variable
    path String
    Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.
    type String
    Only regex is supported
    value String
    The Regex expression to match against. Must use valid RE2 regular expression syntax.

    EventOrchestrationGlobalSetRuleCondition, EventOrchestrationGlobalSetRuleConditionArgs

    Expression string
    A PCL condition string.
    Expression string
    A PCL condition string.
    expression String
    A PCL condition string.
    expression string
    A PCL condition string.
    expression String
    A PCL condition string.

    Import

    Global Orchestration can be imported using the id of the Event Orchestration, e.g.

    $ pulumi import pagerduty:index/eventOrchestrationGlobal:EventOrchestrationGlobal global 1b49abe7-26db-4439-a715-c6d883acfb3e
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    PagerDuty pulumi/pulumi-pagerduty
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the pagerduty Terraform Provider.
    pagerduty logo
    PagerDuty v4.13.2 published on Thursday, Jun 27, 2024 by Pulumi