pagerduty

package
v3.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

A Pulumi package for creating and managing pagerduty cloud resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addon

type Addon struct {
	pulumi.CustomResourceState

	// The name of the add-on.
	Name pulumi.StringOutput `pulumi:"name"`
	// The source URL to display in a frame in the PagerDuty UI. `HTTPS` is required.
	Src pulumi.StringOutput `pulumi:"src"`
}

With [add-ons](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEwNQ-install-an-add-on), third-party developers can write their own add-ons to PagerDuty's UI. Given a configuration containing a src parameter, that URL will be embedded in an iframe on a page that's available to users from a drop-down menu.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewAddon(ctx, "example", &pagerduty.AddonArgs{
			Src: pulumi.String("https://intranet.example.com/status"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Add-ons can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/addon:Addon example P3DH5M6

```

func GetAddon

func GetAddon(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AddonState, opts ...pulumi.ResourceOption) (*Addon, error)

GetAddon gets an existing Addon resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAddon

func NewAddon(ctx *pulumi.Context,
	name string, args *AddonArgs, opts ...pulumi.ResourceOption) (*Addon, error)

NewAddon registers a new resource with the given unique name, arguments, and options.

func (*Addon) ElementType

func (*Addon) ElementType() reflect.Type

func (*Addon) ToAddonOutput

func (i *Addon) ToAddonOutput() AddonOutput

func (*Addon) ToAddonOutputWithContext

func (i *Addon) ToAddonOutputWithContext(ctx context.Context) AddonOutput

type AddonArgs

type AddonArgs struct {
	// The name of the add-on.
	Name pulumi.StringPtrInput
	// The source URL to display in a frame in the PagerDuty UI. `HTTPS` is required.
	Src pulumi.StringInput
}

The set of arguments for constructing a Addon resource.

func (AddonArgs) ElementType

func (AddonArgs) ElementType() reflect.Type

type AddonArray

type AddonArray []AddonInput

func (AddonArray) ElementType

func (AddonArray) ElementType() reflect.Type

func (AddonArray) ToAddonArrayOutput

func (i AddonArray) ToAddonArrayOutput() AddonArrayOutput

func (AddonArray) ToAddonArrayOutputWithContext

func (i AddonArray) ToAddonArrayOutputWithContext(ctx context.Context) AddonArrayOutput

type AddonArrayInput

type AddonArrayInput interface {
	pulumi.Input

	ToAddonArrayOutput() AddonArrayOutput
	ToAddonArrayOutputWithContext(context.Context) AddonArrayOutput
}

AddonArrayInput is an input type that accepts AddonArray and AddonArrayOutput values. You can construct a concrete instance of `AddonArrayInput` via:

AddonArray{ AddonArgs{...} }

type AddonArrayOutput

type AddonArrayOutput struct{ *pulumi.OutputState }

func (AddonArrayOutput) ElementType

func (AddonArrayOutput) ElementType() reflect.Type

func (AddonArrayOutput) Index

func (AddonArrayOutput) ToAddonArrayOutput

func (o AddonArrayOutput) ToAddonArrayOutput() AddonArrayOutput

func (AddonArrayOutput) ToAddonArrayOutputWithContext

func (o AddonArrayOutput) ToAddonArrayOutputWithContext(ctx context.Context) AddonArrayOutput

type AddonInput

type AddonInput interface {
	pulumi.Input

	ToAddonOutput() AddonOutput
	ToAddonOutputWithContext(ctx context.Context) AddonOutput
}

type AddonMap

type AddonMap map[string]AddonInput

func (AddonMap) ElementType

func (AddonMap) ElementType() reflect.Type

func (AddonMap) ToAddonMapOutput

func (i AddonMap) ToAddonMapOutput() AddonMapOutput

func (AddonMap) ToAddonMapOutputWithContext

func (i AddonMap) ToAddonMapOutputWithContext(ctx context.Context) AddonMapOutput

type AddonMapInput

type AddonMapInput interface {
	pulumi.Input

	ToAddonMapOutput() AddonMapOutput
	ToAddonMapOutputWithContext(context.Context) AddonMapOutput
}

AddonMapInput is an input type that accepts AddonMap and AddonMapOutput values. You can construct a concrete instance of `AddonMapInput` via:

AddonMap{ "key": AddonArgs{...} }

type AddonMapOutput

type AddonMapOutput struct{ *pulumi.OutputState }

func (AddonMapOutput) ElementType

func (AddonMapOutput) ElementType() reflect.Type

func (AddonMapOutput) MapIndex

func (AddonMapOutput) ToAddonMapOutput

func (o AddonMapOutput) ToAddonMapOutput() AddonMapOutput

func (AddonMapOutput) ToAddonMapOutputWithContext

func (o AddonMapOutput) ToAddonMapOutputWithContext(ctx context.Context) AddonMapOutput

type AddonOutput

type AddonOutput struct{ *pulumi.OutputState }

func (AddonOutput) ElementType

func (AddonOutput) ElementType() reflect.Type

func (AddonOutput) Name added in v3.5.1

func (o AddonOutput) Name() pulumi.StringOutput

The name of the add-on.

func (AddonOutput) Src added in v3.5.1

The source URL to display in a frame in the PagerDuty UI. `HTTPS` is required.

func (AddonOutput) ToAddonOutput

func (o AddonOutput) ToAddonOutput() AddonOutput

func (AddonOutput) ToAddonOutputWithContext

func (o AddonOutput) ToAddonOutputWithContext(ctx context.Context) AddonOutput

type AddonState

type AddonState struct {
	// The name of the add-on.
	Name pulumi.StringPtrInput
	// The source URL to display in a frame in the PagerDuty UI. `HTTPS` is required.
	Src pulumi.StringPtrInput
}

func (AddonState) ElementType

func (AddonState) ElementType() reflect.Type

type AutomationActionsAction added in v3.7.0

type AutomationActionsAction struct {
	pulumi.CustomResourceState

	// The category of the action. The only allowed values are `diagnostic` and `remediation`.
	ActionClassification pulumi.StringPtrOutput `pulumi:"actionClassification"`
	// Action Data block. Action Data is documented below.
	ActionDataReference AutomationActionsActionActionDataReferenceOutput `pulumi:"actionDataReference"`
	// The type of the action. The only allowed values are `processAutomation` and `script`. Cannot be changed once set.
	ActionType pulumi.StringOutput `pulumi:"actionType"`
	// The time action was created. Represented as an ISO 8601 timestamp.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The description of the action. Max length is 1024 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
	ModifyTime pulumi.StringOutput `pulumi:"modifyTime"`
	// The name of the action. Max length is 255 characters.
	Name pulumi.StringOutput `pulumi:"name"`
	// The Process Automation Actions runner to associate the action with. Cannot be changed for the `processAutomation` action type once set.
	RunnerId pulumi.StringPtrOutput `pulumi:"runnerId"`
	// (Optional) The type of the runner associated with the action.
	RunnerType pulumi.StringOutput `pulumi:"runnerType"`
	// The type of object. The value returned will be `action`.
	Type pulumi.StringOutput `pulumi:"type"`
}

An Automation Actions [action](https://developer.pagerduty.com/api-reference/d64584a4371d3-create-an-automation-action) invokes jobs and workflows that are staged in Runbook Automation or Process Automation. It may also execute a command line script run by a Process Automation runner installed in your infrastructure.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewAutomationActionsAction(ctx, "paActionExample", &pagerduty.AutomationActionsActionArgs{
			ActionDataReference: &pagerduty.AutomationActionsActionActionDataReferenceArgs{
				ProcessAutomationJobId: pulumi.String("P123456"),
			},
			ActionType:  pulumi.String("process_automation"),
			Description: pulumi.String("Description of the PA Action created via TF"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewAutomationActionsAction(ctx, "scriptActionExample", &pagerduty.AutomationActionsActionArgs{
			ActionDataReference: &pagerduty.AutomationActionsActionActionDataReferenceArgs{
				InvocationCommand: pulumi.String("/usr/local/bin/python3"),
				Script:            pulumi.String("print(\"Hello from a Python script!\")"),
			},
			ActionType:  pulumi.String("script"),
			Description: pulumi.String("Description of the Script Action created via TF"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Actions can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/automationActionsAction:AutomationActionsAction example 01DER7CUUBF7TH4116K0M4WKPU

```

func GetAutomationActionsAction added in v3.7.0

func GetAutomationActionsAction(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AutomationActionsActionState, opts ...pulumi.ResourceOption) (*AutomationActionsAction, error)

GetAutomationActionsAction gets an existing AutomationActionsAction resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAutomationActionsAction added in v3.7.0

func NewAutomationActionsAction(ctx *pulumi.Context,
	name string, args *AutomationActionsActionArgs, opts ...pulumi.ResourceOption) (*AutomationActionsAction, error)

NewAutomationActionsAction registers a new resource with the given unique name, arguments, and options.

func (*AutomationActionsAction) ElementType added in v3.7.0

func (*AutomationActionsAction) ElementType() reflect.Type

func (*AutomationActionsAction) ToAutomationActionsActionOutput added in v3.7.0

func (i *AutomationActionsAction) ToAutomationActionsActionOutput() AutomationActionsActionOutput

func (*AutomationActionsAction) ToAutomationActionsActionOutputWithContext added in v3.7.0

func (i *AutomationActionsAction) ToAutomationActionsActionOutputWithContext(ctx context.Context) AutomationActionsActionOutput

type AutomationActionsActionActionDataReference added in v3.7.0

type AutomationActionsActionActionDataReference struct {
	// The command to execute the script with.
	InvocationCommand *string `pulumi:"invocationCommand"`
	// The arguments to pass to the Process Automation job execution.
	ProcessAutomationJobArguments *string `pulumi:"processAutomationJobArguments"`
	// The ID of the Process Automation job to execute.
	ProcessAutomationJobId *string `pulumi:"processAutomationJobId"`
	// The expression that filters on which nodes a Process Automation Job executes [Learn more](https://docs.rundeck.com/docs/manual/05-nodes.html#node-filtering).
	ProcessAutomationNodeFilter *string `pulumi:"processAutomationNodeFilter"`
	// Body of the script to be executed on the Runner. Max length is 16777215 characters.
	Script *string `pulumi:"script"`
}

type AutomationActionsActionActionDataReferenceArgs added in v3.7.0

type AutomationActionsActionActionDataReferenceArgs struct {
	// The command to execute the script with.
	InvocationCommand pulumi.StringPtrInput `pulumi:"invocationCommand"`
	// The arguments to pass to the Process Automation job execution.
	ProcessAutomationJobArguments pulumi.StringPtrInput `pulumi:"processAutomationJobArguments"`
	// The ID of the Process Automation job to execute.
	ProcessAutomationJobId pulumi.StringPtrInput `pulumi:"processAutomationJobId"`
	// The expression that filters on which nodes a Process Automation Job executes [Learn more](https://docs.rundeck.com/docs/manual/05-nodes.html#node-filtering).
	ProcessAutomationNodeFilter pulumi.StringPtrInput `pulumi:"processAutomationNodeFilter"`
	// Body of the script to be executed on the Runner. Max length is 16777215 characters.
	Script pulumi.StringPtrInput `pulumi:"script"`
}

func (AutomationActionsActionActionDataReferenceArgs) ElementType added in v3.7.0

func (AutomationActionsActionActionDataReferenceArgs) ToAutomationActionsActionActionDataReferenceOutput added in v3.7.0

func (i AutomationActionsActionActionDataReferenceArgs) ToAutomationActionsActionActionDataReferenceOutput() AutomationActionsActionActionDataReferenceOutput

func (AutomationActionsActionActionDataReferenceArgs) ToAutomationActionsActionActionDataReferenceOutputWithContext added in v3.7.0

func (i AutomationActionsActionActionDataReferenceArgs) ToAutomationActionsActionActionDataReferenceOutputWithContext(ctx context.Context) AutomationActionsActionActionDataReferenceOutput

func (AutomationActionsActionActionDataReferenceArgs) ToAutomationActionsActionActionDataReferencePtrOutput added in v3.7.0

func (i AutomationActionsActionActionDataReferenceArgs) ToAutomationActionsActionActionDataReferencePtrOutput() AutomationActionsActionActionDataReferencePtrOutput

func (AutomationActionsActionActionDataReferenceArgs) ToAutomationActionsActionActionDataReferencePtrOutputWithContext added in v3.7.0

func (i AutomationActionsActionActionDataReferenceArgs) ToAutomationActionsActionActionDataReferencePtrOutputWithContext(ctx context.Context) AutomationActionsActionActionDataReferencePtrOutput

type AutomationActionsActionActionDataReferenceInput added in v3.7.0

type AutomationActionsActionActionDataReferenceInput interface {
	pulumi.Input

	ToAutomationActionsActionActionDataReferenceOutput() AutomationActionsActionActionDataReferenceOutput
	ToAutomationActionsActionActionDataReferenceOutputWithContext(context.Context) AutomationActionsActionActionDataReferenceOutput
}

AutomationActionsActionActionDataReferenceInput is an input type that accepts AutomationActionsActionActionDataReferenceArgs and AutomationActionsActionActionDataReferenceOutput values. You can construct a concrete instance of `AutomationActionsActionActionDataReferenceInput` via:

AutomationActionsActionActionDataReferenceArgs{...}

type AutomationActionsActionActionDataReferenceOutput added in v3.7.0

type AutomationActionsActionActionDataReferenceOutput struct{ *pulumi.OutputState }

func (AutomationActionsActionActionDataReferenceOutput) ElementType added in v3.7.0

func (AutomationActionsActionActionDataReferenceOutput) InvocationCommand added in v3.7.0

The command to execute the script with.

func (AutomationActionsActionActionDataReferenceOutput) ProcessAutomationJobArguments added in v3.7.0

The arguments to pass to the Process Automation job execution.

func (AutomationActionsActionActionDataReferenceOutput) ProcessAutomationJobId added in v3.7.0

The ID of the Process Automation job to execute.

func (AutomationActionsActionActionDataReferenceOutput) ProcessAutomationNodeFilter added in v3.9.0

The expression that filters on which nodes a Process Automation Job executes [Learn more](https://docs.rundeck.com/docs/manual/05-nodes.html#node-filtering).

func (AutomationActionsActionActionDataReferenceOutput) Script added in v3.7.0

Body of the script to be executed on the Runner. Max length is 16777215 characters.

func (AutomationActionsActionActionDataReferenceOutput) ToAutomationActionsActionActionDataReferenceOutput added in v3.7.0

func (o AutomationActionsActionActionDataReferenceOutput) ToAutomationActionsActionActionDataReferenceOutput() AutomationActionsActionActionDataReferenceOutput

func (AutomationActionsActionActionDataReferenceOutput) ToAutomationActionsActionActionDataReferenceOutputWithContext added in v3.7.0

func (o AutomationActionsActionActionDataReferenceOutput) ToAutomationActionsActionActionDataReferenceOutputWithContext(ctx context.Context) AutomationActionsActionActionDataReferenceOutput

func (AutomationActionsActionActionDataReferenceOutput) ToAutomationActionsActionActionDataReferencePtrOutput added in v3.7.0

func (o AutomationActionsActionActionDataReferenceOutput) ToAutomationActionsActionActionDataReferencePtrOutput() AutomationActionsActionActionDataReferencePtrOutput

func (AutomationActionsActionActionDataReferenceOutput) ToAutomationActionsActionActionDataReferencePtrOutputWithContext added in v3.7.0

func (o AutomationActionsActionActionDataReferenceOutput) ToAutomationActionsActionActionDataReferencePtrOutputWithContext(ctx context.Context) AutomationActionsActionActionDataReferencePtrOutput

type AutomationActionsActionActionDataReferencePtrInput added in v3.7.0

type AutomationActionsActionActionDataReferencePtrInput interface {
	pulumi.Input

	ToAutomationActionsActionActionDataReferencePtrOutput() AutomationActionsActionActionDataReferencePtrOutput
	ToAutomationActionsActionActionDataReferencePtrOutputWithContext(context.Context) AutomationActionsActionActionDataReferencePtrOutput
}

AutomationActionsActionActionDataReferencePtrInput is an input type that accepts AutomationActionsActionActionDataReferenceArgs, AutomationActionsActionActionDataReferencePtr and AutomationActionsActionActionDataReferencePtrOutput values. You can construct a concrete instance of `AutomationActionsActionActionDataReferencePtrInput` via:

        AutomationActionsActionActionDataReferenceArgs{...}

or:

        nil

type AutomationActionsActionActionDataReferencePtrOutput added in v3.7.0

type AutomationActionsActionActionDataReferencePtrOutput struct{ *pulumi.OutputState }

func (AutomationActionsActionActionDataReferencePtrOutput) Elem added in v3.7.0

func (AutomationActionsActionActionDataReferencePtrOutput) ElementType added in v3.7.0

func (AutomationActionsActionActionDataReferencePtrOutput) InvocationCommand added in v3.7.0

The command to execute the script with.

func (AutomationActionsActionActionDataReferencePtrOutput) ProcessAutomationJobArguments added in v3.7.0

The arguments to pass to the Process Automation job execution.

func (AutomationActionsActionActionDataReferencePtrOutput) ProcessAutomationJobId added in v3.7.0

The ID of the Process Automation job to execute.

func (AutomationActionsActionActionDataReferencePtrOutput) ProcessAutomationNodeFilter added in v3.9.0

The expression that filters on which nodes a Process Automation Job executes [Learn more](https://docs.rundeck.com/docs/manual/05-nodes.html#node-filtering).

func (AutomationActionsActionActionDataReferencePtrOutput) Script added in v3.7.0

Body of the script to be executed on the Runner. Max length is 16777215 characters.

func (AutomationActionsActionActionDataReferencePtrOutput) ToAutomationActionsActionActionDataReferencePtrOutput added in v3.7.0

func (o AutomationActionsActionActionDataReferencePtrOutput) ToAutomationActionsActionActionDataReferencePtrOutput() AutomationActionsActionActionDataReferencePtrOutput

func (AutomationActionsActionActionDataReferencePtrOutput) ToAutomationActionsActionActionDataReferencePtrOutputWithContext added in v3.7.0

func (o AutomationActionsActionActionDataReferencePtrOutput) ToAutomationActionsActionActionDataReferencePtrOutputWithContext(ctx context.Context) AutomationActionsActionActionDataReferencePtrOutput

type AutomationActionsActionArgs added in v3.7.0

type AutomationActionsActionArgs struct {
	// The category of the action. The only allowed values are `diagnostic` and `remediation`.
	ActionClassification pulumi.StringPtrInput
	// Action Data block. Action Data is documented below.
	ActionDataReference AutomationActionsActionActionDataReferenceInput
	// The type of the action. The only allowed values are `processAutomation` and `script`. Cannot be changed once set.
	ActionType pulumi.StringInput
	// The time action was created. Represented as an ISO 8601 timestamp.
	CreationTime pulumi.StringPtrInput
	// The description of the action. Max length is 1024 characters.
	Description pulumi.StringPtrInput
	// (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
	ModifyTime pulumi.StringPtrInput
	// The name of the action. Max length is 255 characters.
	Name pulumi.StringPtrInput
	// The Process Automation Actions runner to associate the action with. Cannot be changed for the `processAutomation` action type once set.
	RunnerId pulumi.StringPtrInput
	// (Optional) The type of the runner associated with the action.
	RunnerType pulumi.StringPtrInput
	// The type of object. The value returned will be `action`.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a AutomationActionsAction resource.

func (AutomationActionsActionArgs) ElementType added in v3.7.0

type AutomationActionsActionArray added in v3.7.0

type AutomationActionsActionArray []AutomationActionsActionInput

func (AutomationActionsActionArray) ElementType added in v3.7.0

func (AutomationActionsActionArray) ToAutomationActionsActionArrayOutput added in v3.7.0

func (i AutomationActionsActionArray) ToAutomationActionsActionArrayOutput() AutomationActionsActionArrayOutput

func (AutomationActionsActionArray) ToAutomationActionsActionArrayOutputWithContext added in v3.7.0

func (i AutomationActionsActionArray) ToAutomationActionsActionArrayOutputWithContext(ctx context.Context) AutomationActionsActionArrayOutput

type AutomationActionsActionArrayInput added in v3.7.0

type AutomationActionsActionArrayInput interface {
	pulumi.Input

	ToAutomationActionsActionArrayOutput() AutomationActionsActionArrayOutput
	ToAutomationActionsActionArrayOutputWithContext(context.Context) AutomationActionsActionArrayOutput
}

AutomationActionsActionArrayInput is an input type that accepts AutomationActionsActionArray and AutomationActionsActionArrayOutput values. You can construct a concrete instance of `AutomationActionsActionArrayInput` via:

AutomationActionsActionArray{ AutomationActionsActionArgs{...} }

type AutomationActionsActionArrayOutput added in v3.7.0

type AutomationActionsActionArrayOutput struct{ *pulumi.OutputState }

func (AutomationActionsActionArrayOutput) ElementType added in v3.7.0

func (AutomationActionsActionArrayOutput) Index added in v3.7.0

func (AutomationActionsActionArrayOutput) ToAutomationActionsActionArrayOutput added in v3.7.0

func (o AutomationActionsActionArrayOutput) ToAutomationActionsActionArrayOutput() AutomationActionsActionArrayOutput

func (AutomationActionsActionArrayOutput) ToAutomationActionsActionArrayOutputWithContext added in v3.7.0

func (o AutomationActionsActionArrayOutput) ToAutomationActionsActionArrayOutputWithContext(ctx context.Context) AutomationActionsActionArrayOutput

type AutomationActionsActionInput added in v3.7.0

type AutomationActionsActionInput interface {
	pulumi.Input

	ToAutomationActionsActionOutput() AutomationActionsActionOutput
	ToAutomationActionsActionOutputWithContext(ctx context.Context) AutomationActionsActionOutput
}

type AutomationActionsActionMap added in v3.7.0

type AutomationActionsActionMap map[string]AutomationActionsActionInput

func (AutomationActionsActionMap) ElementType added in v3.7.0

func (AutomationActionsActionMap) ElementType() reflect.Type

func (AutomationActionsActionMap) ToAutomationActionsActionMapOutput added in v3.7.0

func (i AutomationActionsActionMap) ToAutomationActionsActionMapOutput() AutomationActionsActionMapOutput

func (AutomationActionsActionMap) ToAutomationActionsActionMapOutputWithContext added in v3.7.0

func (i AutomationActionsActionMap) ToAutomationActionsActionMapOutputWithContext(ctx context.Context) AutomationActionsActionMapOutput

type AutomationActionsActionMapInput added in v3.7.0

type AutomationActionsActionMapInput interface {
	pulumi.Input

	ToAutomationActionsActionMapOutput() AutomationActionsActionMapOutput
	ToAutomationActionsActionMapOutputWithContext(context.Context) AutomationActionsActionMapOutput
}

AutomationActionsActionMapInput is an input type that accepts AutomationActionsActionMap and AutomationActionsActionMapOutput values. You can construct a concrete instance of `AutomationActionsActionMapInput` via:

AutomationActionsActionMap{ "key": AutomationActionsActionArgs{...} }

type AutomationActionsActionMapOutput added in v3.7.0

type AutomationActionsActionMapOutput struct{ *pulumi.OutputState }

func (AutomationActionsActionMapOutput) ElementType added in v3.7.0

func (AutomationActionsActionMapOutput) MapIndex added in v3.7.0

func (AutomationActionsActionMapOutput) ToAutomationActionsActionMapOutput added in v3.7.0

func (o AutomationActionsActionMapOutput) ToAutomationActionsActionMapOutput() AutomationActionsActionMapOutput

func (AutomationActionsActionMapOutput) ToAutomationActionsActionMapOutputWithContext added in v3.7.0

func (o AutomationActionsActionMapOutput) ToAutomationActionsActionMapOutputWithContext(ctx context.Context) AutomationActionsActionMapOutput

type AutomationActionsActionOutput added in v3.7.0

type AutomationActionsActionOutput struct{ *pulumi.OutputState }

func (AutomationActionsActionOutput) ActionClassification added in v3.7.0

func (o AutomationActionsActionOutput) ActionClassification() pulumi.StringPtrOutput

The category of the action. The only allowed values are `diagnostic` and `remediation`.

func (AutomationActionsActionOutput) ActionDataReference added in v3.7.0

Action Data block. Action Data is documented below.

func (AutomationActionsActionOutput) ActionType added in v3.7.0

The type of the action. The only allowed values are `processAutomation` and `script`. Cannot be changed once set.

func (AutomationActionsActionOutput) CreationTime added in v3.7.0

The time action was created. Represented as an ISO 8601 timestamp.

func (AutomationActionsActionOutput) Description added in v3.7.0

The description of the action. Max length is 1024 characters.

func (AutomationActionsActionOutput) ElementType added in v3.7.0

func (AutomationActionsActionOutput) ModifyTime added in v3.7.0

(Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.

func (AutomationActionsActionOutput) Name added in v3.7.0

The name of the action. Max length is 255 characters.

func (AutomationActionsActionOutput) RunnerId added in v3.7.0

The Process Automation Actions runner to associate the action with. Cannot be changed for the `processAutomation` action type once set.

func (AutomationActionsActionOutput) RunnerType added in v3.7.0

(Optional) The type of the runner associated with the action.

func (AutomationActionsActionOutput) ToAutomationActionsActionOutput added in v3.7.0

func (o AutomationActionsActionOutput) ToAutomationActionsActionOutput() AutomationActionsActionOutput

func (AutomationActionsActionOutput) ToAutomationActionsActionOutputWithContext added in v3.7.0

func (o AutomationActionsActionOutput) ToAutomationActionsActionOutputWithContext(ctx context.Context) AutomationActionsActionOutput

func (AutomationActionsActionOutput) Type added in v3.7.0

The type of object. The value returned will be `action`.

type AutomationActionsActionServiceAssociation added in v3.7.0

type AutomationActionsActionServiceAssociation struct {
	pulumi.CustomResourceState

	// Id of the action.
	ActionId pulumi.StringOutput `pulumi:"actionId"`
	// Id of the service associated to the action.
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
}

An Automation Actions [action association with a service](https://developer.pagerduty.com/api-reference/5d2f051f3fb43-associate-an-automation-action-with-a-service) configures the relation of a specific Action with a Service.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleUser, err := pagerduty.NewUser(ctx, "exampleUser", &pagerduty.UserArgs{
			Email: pulumi.String("125.greenholt.earline@graham.name"),
		})
		if err != nil {
			return err
		}
		fooEscalationPolicy, err := pagerduty.NewEscalationPolicy(ctx, "fooEscalationPolicy", &pagerduty.EscalationPolicyArgs{
			NumLoops: pulumi.Int(2),
			Rules: pagerduty.EscalationPolicyRuleArray{
				&pagerduty.EscalationPolicyRuleArgs{
					EscalationDelayInMinutes: pulumi.Int(10),
					Targets: pagerduty.EscalationPolicyRuleTargetArray{
						&pagerduty.EscalationPolicyRuleTargetArgs{
							Type: pulumi.String("user_reference"),
							Id:   exampleUser.ID(),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		exampleService, err := pagerduty.NewService(ctx, "exampleService", &pagerduty.ServiceArgs{
			AutoResolveTimeout:     pulumi.String("14400"),
			AcknowledgementTimeout: pulumi.String("600"),
			EscalationPolicy:       fooEscalationPolicy.ID(),
			AlertCreation:          pulumi.String("create_alerts_and_incidents"),
			AutoPauseNotificationsParameters: &pagerduty.ServiceAutoPauseNotificationsParametersArgs{
				Enabled: pulumi.Bool(true),
				Timeout: pulumi.Int(300),
			},
		})
		if err != nil {
			return err
		}
		paActionExample, err := pagerduty.NewAutomationActionsAction(ctx, "paActionExample", &pagerduty.AutomationActionsActionArgs{
			Description: pulumi.String("Description of the PA Action created via TF"),
			ActionType:  pulumi.String("process_automation"),
			ActionDataReference: &pagerduty.AutomationActionsActionActionDataReferenceArgs{
				ProcessAutomationJobId: pulumi.String("P123456"),
			},
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewAutomationActionsActionServiceAssociation(ctx, "fooAutomationActionsActionServiceAssociation", &pagerduty.AutomationActionsActionServiceAssociationArgs{
			ActionId:  paActionExample.ID(),
			ServiceId: exampleService.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Action service association can be imported using the `action_id` and `service_id` separated by a colon, e.g.

```sh

$ pulumi import pagerduty:index/automationActionsActionServiceAssociation:AutomationActionsActionServiceAssociation example 01DER7CUUBF7TH4116K0M4WKPU:PLB09Z

```

func GetAutomationActionsActionServiceAssociation added in v3.7.0

func GetAutomationActionsActionServiceAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AutomationActionsActionServiceAssociationState, opts ...pulumi.ResourceOption) (*AutomationActionsActionServiceAssociation, error)

GetAutomationActionsActionServiceAssociation gets an existing AutomationActionsActionServiceAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAutomationActionsActionServiceAssociation added in v3.7.0

func NewAutomationActionsActionServiceAssociation(ctx *pulumi.Context,
	name string, args *AutomationActionsActionServiceAssociationArgs, opts ...pulumi.ResourceOption) (*AutomationActionsActionServiceAssociation, error)

NewAutomationActionsActionServiceAssociation registers a new resource with the given unique name, arguments, and options.

func (*AutomationActionsActionServiceAssociation) ElementType added in v3.7.0

func (*AutomationActionsActionServiceAssociation) ToAutomationActionsActionServiceAssociationOutput added in v3.7.0

func (i *AutomationActionsActionServiceAssociation) ToAutomationActionsActionServiceAssociationOutput() AutomationActionsActionServiceAssociationOutput

func (*AutomationActionsActionServiceAssociation) ToAutomationActionsActionServiceAssociationOutputWithContext added in v3.7.0

func (i *AutomationActionsActionServiceAssociation) ToAutomationActionsActionServiceAssociationOutputWithContext(ctx context.Context) AutomationActionsActionServiceAssociationOutput

type AutomationActionsActionServiceAssociationArgs added in v3.7.0

type AutomationActionsActionServiceAssociationArgs struct {
	// Id of the action.
	ActionId pulumi.StringInput
	// Id of the service associated to the action.
	ServiceId pulumi.StringInput
}

The set of arguments for constructing a AutomationActionsActionServiceAssociation resource.

func (AutomationActionsActionServiceAssociationArgs) ElementType added in v3.7.0

type AutomationActionsActionServiceAssociationArray added in v3.7.0

type AutomationActionsActionServiceAssociationArray []AutomationActionsActionServiceAssociationInput

func (AutomationActionsActionServiceAssociationArray) ElementType added in v3.7.0

func (AutomationActionsActionServiceAssociationArray) ToAutomationActionsActionServiceAssociationArrayOutput added in v3.7.0

func (i AutomationActionsActionServiceAssociationArray) ToAutomationActionsActionServiceAssociationArrayOutput() AutomationActionsActionServiceAssociationArrayOutput

func (AutomationActionsActionServiceAssociationArray) ToAutomationActionsActionServiceAssociationArrayOutputWithContext added in v3.7.0

func (i AutomationActionsActionServiceAssociationArray) ToAutomationActionsActionServiceAssociationArrayOutputWithContext(ctx context.Context) AutomationActionsActionServiceAssociationArrayOutput

type AutomationActionsActionServiceAssociationArrayInput added in v3.7.0

type AutomationActionsActionServiceAssociationArrayInput interface {
	pulumi.Input

	ToAutomationActionsActionServiceAssociationArrayOutput() AutomationActionsActionServiceAssociationArrayOutput
	ToAutomationActionsActionServiceAssociationArrayOutputWithContext(context.Context) AutomationActionsActionServiceAssociationArrayOutput
}

AutomationActionsActionServiceAssociationArrayInput is an input type that accepts AutomationActionsActionServiceAssociationArray and AutomationActionsActionServiceAssociationArrayOutput values. You can construct a concrete instance of `AutomationActionsActionServiceAssociationArrayInput` via:

AutomationActionsActionServiceAssociationArray{ AutomationActionsActionServiceAssociationArgs{...} }

type AutomationActionsActionServiceAssociationArrayOutput added in v3.7.0

type AutomationActionsActionServiceAssociationArrayOutput struct{ *pulumi.OutputState }

func (AutomationActionsActionServiceAssociationArrayOutput) ElementType added in v3.7.0

func (AutomationActionsActionServiceAssociationArrayOutput) Index added in v3.7.0

func (AutomationActionsActionServiceAssociationArrayOutput) ToAutomationActionsActionServiceAssociationArrayOutput added in v3.7.0

func (AutomationActionsActionServiceAssociationArrayOutput) ToAutomationActionsActionServiceAssociationArrayOutputWithContext added in v3.7.0

func (o AutomationActionsActionServiceAssociationArrayOutput) ToAutomationActionsActionServiceAssociationArrayOutputWithContext(ctx context.Context) AutomationActionsActionServiceAssociationArrayOutput

type AutomationActionsActionServiceAssociationInput added in v3.7.0

type AutomationActionsActionServiceAssociationInput interface {
	pulumi.Input

	ToAutomationActionsActionServiceAssociationOutput() AutomationActionsActionServiceAssociationOutput
	ToAutomationActionsActionServiceAssociationOutputWithContext(ctx context.Context) AutomationActionsActionServiceAssociationOutput
}

type AutomationActionsActionServiceAssociationMap added in v3.7.0

type AutomationActionsActionServiceAssociationMap map[string]AutomationActionsActionServiceAssociationInput

func (AutomationActionsActionServiceAssociationMap) ElementType added in v3.7.0

func (AutomationActionsActionServiceAssociationMap) ToAutomationActionsActionServiceAssociationMapOutput added in v3.7.0

func (i AutomationActionsActionServiceAssociationMap) ToAutomationActionsActionServiceAssociationMapOutput() AutomationActionsActionServiceAssociationMapOutput

func (AutomationActionsActionServiceAssociationMap) ToAutomationActionsActionServiceAssociationMapOutputWithContext added in v3.7.0

func (i AutomationActionsActionServiceAssociationMap) ToAutomationActionsActionServiceAssociationMapOutputWithContext(ctx context.Context) AutomationActionsActionServiceAssociationMapOutput

type AutomationActionsActionServiceAssociationMapInput added in v3.7.0

type AutomationActionsActionServiceAssociationMapInput interface {
	pulumi.Input

	ToAutomationActionsActionServiceAssociationMapOutput() AutomationActionsActionServiceAssociationMapOutput
	ToAutomationActionsActionServiceAssociationMapOutputWithContext(context.Context) AutomationActionsActionServiceAssociationMapOutput
}

AutomationActionsActionServiceAssociationMapInput is an input type that accepts AutomationActionsActionServiceAssociationMap and AutomationActionsActionServiceAssociationMapOutput values. You can construct a concrete instance of `AutomationActionsActionServiceAssociationMapInput` via:

AutomationActionsActionServiceAssociationMap{ "key": AutomationActionsActionServiceAssociationArgs{...} }

type AutomationActionsActionServiceAssociationMapOutput added in v3.7.0

type AutomationActionsActionServiceAssociationMapOutput struct{ *pulumi.OutputState }

func (AutomationActionsActionServiceAssociationMapOutput) ElementType added in v3.7.0

func (AutomationActionsActionServiceAssociationMapOutput) MapIndex added in v3.7.0

func (AutomationActionsActionServiceAssociationMapOutput) ToAutomationActionsActionServiceAssociationMapOutput added in v3.7.0

func (o AutomationActionsActionServiceAssociationMapOutput) ToAutomationActionsActionServiceAssociationMapOutput() AutomationActionsActionServiceAssociationMapOutput

func (AutomationActionsActionServiceAssociationMapOutput) ToAutomationActionsActionServiceAssociationMapOutputWithContext added in v3.7.0

func (o AutomationActionsActionServiceAssociationMapOutput) ToAutomationActionsActionServiceAssociationMapOutputWithContext(ctx context.Context) AutomationActionsActionServiceAssociationMapOutput

type AutomationActionsActionServiceAssociationOutput added in v3.7.0

type AutomationActionsActionServiceAssociationOutput struct{ *pulumi.OutputState }

func (AutomationActionsActionServiceAssociationOutput) ActionId added in v3.7.0

Id of the action.

func (AutomationActionsActionServiceAssociationOutput) ElementType added in v3.7.0

func (AutomationActionsActionServiceAssociationOutput) ServiceId added in v3.7.0

Id of the service associated to the action.

func (AutomationActionsActionServiceAssociationOutput) ToAutomationActionsActionServiceAssociationOutput added in v3.7.0

func (o AutomationActionsActionServiceAssociationOutput) ToAutomationActionsActionServiceAssociationOutput() AutomationActionsActionServiceAssociationOutput

func (AutomationActionsActionServiceAssociationOutput) ToAutomationActionsActionServiceAssociationOutputWithContext added in v3.7.0

func (o AutomationActionsActionServiceAssociationOutput) ToAutomationActionsActionServiceAssociationOutputWithContext(ctx context.Context) AutomationActionsActionServiceAssociationOutput

type AutomationActionsActionServiceAssociationState added in v3.7.0

type AutomationActionsActionServiceAssociationState struct {
	// Id of the action.
	ActionId pulumi.StringPtrInput
	// Id of the service associated to the action.
	ServiceId pulumi.StringPtrInput
}

func (AutomationActionsActionServiceAssociationState) ElementType added in v3.7.0

type AutomationActionsActionState added in v3.7.0

type AutomationActionsActionState struct {
	// The category of the action. The only allowed values are `diagnostic` and `remediation`.
	ActionClassification pulumi.StringPtrInput
	// Action Data block. Action Data is documented below.
	ActionDataReference AutomationActionsActionActionDataReferencePtrInput
	// The type of the action. The only allowed values are `processAutomation` and `script`. Cannot be changed once set.
	ActionType pulumi.StringPtrInput
	// The time action was created. Represented as an ISO 8601 timestamp.
	CreationTime pulumi.StringPtrInput
	// The description of the action. Max length is 1024 characters.
	Description pulumi.StringPtrInput
	// (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
	ModifyTime pulumi.StringPtrInput
	// The name of the action. Max length is 255 characters.
	Name pulumi.StringPtrInput
	// The Process Automation Actions runner to associate the action with. Cannot be changed for the `processAutomation` action type once set.
	RunnerId pulumi.StringPtrInput
	// (Optional) The type of the runner associated with the action.
	RunnerType pulumi.StringPtrInput
	// The type of object. The value returned will be `action`.
	Type pulumi.StringPtrInput
}

func (AutomationActionsActionState) ElementType added in v3.7.0

type AutomationActionsActionTeamAssociation added in v3.7.0

type AutomationActionsActionTeamAssociation struct {
	pulumi.CustomResourceState

	// Id of the action.
	ActionId pulumi.StringOutput `pulumi:"actionId"`
	// Id of the team associated to the action.
	TeamId pulumi.StringOutput `pulumi:"teamId"`
}

An Automation Actions [action association with a team](https://developer.pagerduty.com/api-reference/8f722dd91a4ba-associate-an-automation-action-with-a-team) configures the relation of a specific Action with a Team.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := pagerduty.NewTeam(ctx, "example", &pagerduty.TeamArgs{
			Description: pulumi.String("All engineering"),
		})
		if err != nil {
			return err
		}
		paActionExample, err := pagerduty.NewAutomationActionsAction(ctx, "paActionExample", &pagerduty.AutomationActionsActionArgs{
			Description: pulumi.String("Description of the PA Action created via TF"),
			ActionType:  pulumi.String("process_automation"),
			ActionDataReference: &pagerduty.AutomationActionsActionActionDataReferenceArgs{
				ProcessAutomationJobId: pulumi.String("P123456"),
			},
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewAutomationActionsActionTeamAssociation(ctx, "foo", &pagerduty.AutomationActionsActionTeamAssociationArgs{
			ActionId: paActionExample.ID(),
			TeamId:   example.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Action team association can be imported using the `action_id` and `team_id` separated by a colon, e.g.

```sh

$ pulumi import pagerduty:index/automationActionsActionTeamAssociation:AutomationActionsActionTeamAssociation example 01DER7CUUBF7TH4116K0M4WKPU:PLB09Z

```

func GetAutomationActionsActionTeamAssociation added in v3.7.0

func GetAutomationActionsActionTeamAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AutomationActionsActionTeamAssociationState, opts ...pulumi.ResourceOption) (*AutomationActionsActionTeamAssociation, error)

GetAutomationActionsActionTeamAssociation gets an existing AutomationActionsActionTeamAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAutomationActionsActionTeamAssociation added in v3.7.0

func NewAutomationActionsActionTeamAssociation(ctx *pulumi.Context,
	name string, args *AutomationActionsActionTeamAssociationArgs, opts ...pulumi.ResourceOption) (*AutomationActionsActionTeamAssociation, error)

NewAutomationActionsActionTeamAssociation registers a new resource with the given unique name, arguments, and options.

func (*AutomationActionsActionTeamAssociation) ElementType added in v3.7.0

func (*AutomationActionsActionTeamAssociation) ToAutomationActionsActionTeamAssociationOutput added in v3.7.0

func (i *AutomationActionsActionTeamAssociation) ToAutomationActionsActionTeamAssociationOutput() AutomationActionsActionTeamAssociationOutput

func (*AutomationActionsActionTeamAssociation) ToAutomationActionsActionTeamAssociationOutputWithContext added in v3.7.0

func (i *AutomationActionsActionTeamAssociation) ToAutomationActionsActionTeamAssociationOutputWithContext(ctx context.Context) AutomationActionsActionTeamAssociationOutput

type AutomationActionsActionTeamAssociationArgs added in v3.7.0

type AutomationActionsActionTeamAssociationArgs struct {
	// Id of the action.
	ActionId pulumi.StringInput
	// Id of the team associated to the action.
	TeamId pulumi.StringInput
}

The set of arguments for constructing a AutomationActionsActionTeamAssociation resource.

func (AutomationActionsActionTeamAssociationArgs) ElementType added in v3.7.0

type AutomationActionsActionTeamAssociationArray added in v3.7.0

type AutomationActionsActionTeamAssociationArray []AutomationActionsActionTeamAssociationInput

func (AutomationActionsActionTeamAssociationArray) ElementType added in v3.7.0

func (AutomationActionsActionTeamAssociationArray) ToAutomationActionsActionTeamAssociationArrayOutput added in v3.7.0

func (i AutomationActionsActionTeamAssociationArray) ToAutomationActionsActionTeamAssociationArrayOutput() AutomationActionsActionTeamAssociationArrayOutput

func (AutomationActionsActionTeamAssociationArray) ToAutomationActionsActionTeamAssociationArrayOutputWithContext added in v3.7.0

func (i AutomationActionsActionTeamAssociationArray) ToAutomationActionsActionTeamAssociationArrayOutputWithContext(ctx context.Context) AutomationActionsActionTeamAssociationArrayOutput

type AutomationActionsActionTeamAssociationArrayInput added in v3.7.0

type AutomationActionsActionTeamAssociationArrayInput interface {
	pulumi.Input

	ToAutomationActionsActionTeamAssociationArrayOutput() AutomationActionsActionTeamAssociationArrayOutput
	ToAutomationActionsActionTeamAssociationArrayOutputWithContext(context.Context) AutomationActionsActionTeamAssociationArrayOutput
}

AutomationActionsActionTeamAssociationArrayInput is an input type that accepts AutomationActionsActionTeamAssociationArray and AutomationActionsActionTeamAssociationArrayOutput values. You can construct a concrete instance of `AutomationActionsActionTeamAssociationArrayInput` via:

AutomationActionsActionTeamAssociationArray{ AutomationActionsActionTeamAssociationArgs{...} }

type AutomationActionsActionTeamAssociationArrayOutput added in v3.7.0

type AutomationActionsActionTeamAssociationArrayOutput struct{ *pulumi.OutputState }

func (AutomationActionsActionTeamAssociationArrayOutput) ElementType added in v3.7.0

func (AutomationActionsActionTeamAssociationArrayOutput) Index added in v3.7.0

func (AutomationActionsActionTeamAssociationArrayOutput) ToAutomationActionsActionTeamAssociationArrayOutput added in v3.7.0

func (o AutomationActionsActionTeamAssociationArrayOutput) ToAutomationActionsActionTeamAssociationArrayOutput() AutomationActionsActionTeamAssociationArrayOutput

func (AutomationActionsActionTeamAssociationArrayOutput) ToAutomationActionsActionTeamAssociationArrayOutputWithContext added in v3.7.0

func (o AutomationActionsActionTeamAssociationArrayOutput) ToAutomationActionsActionTeamAssociationArrayOutputWithContext(ctx context.Context) AutomationActionsActionTeamAssociationArrayOutput

type AutomationActionsActionTeamAssociationInput added in v3.7.0

type AutomationActionsActionTeamAssociationInput interface {
	pulumi.Input

	ToAutomationActionsActionTeamAssociationOutput() AutomationActionsActionTeamAssociationOutput
	ToAutomationActionsActionTeamAssociationOutputWithContext(ctx context.Context) AutomationActionsActionTeamAssociationOutput
}

type AutomationActionsActionTeamAssociationMap added in v3.7.0

type AutomationActionsActionTeamAssociationMap map[string]AutomationActionsActionTeamAssociationInput

func (AutomationActionsActionTeamAssociationMap) ElementType added in v3.7.0

func (AutomationActionsActionTeamAssociationMap) ToAutomationActionsActionTeamAssociationMapOutput added in v3.7.0

func (i AutomationActionsActionTeamAssociationMap) ToAutomationActionsActionTeamAssociationMapOutput() AutomationActionsActionTeamAssociationMapOutput

func (AutomationActionsActionTeamAssociationMap) ToAutomationActionsActionTeamAssociationMapOutputWithContext added in v3.7.0

func (i AutomationActionsActionTeamAssociationMap) ToAutomationActionsActionTeamAssociationMapOutputWithContext(ctx context.Context) AutomationActionsActionTeamAssociationMapOutput

type AutomationActionsActionTeamAssociationMapInput added in v3.7.0

type AutomationActionsActionTeamAssociationMapInput interface {
	pulumi.Input

	ToAutomationActionsActionTeamAssociationMapOutput() AutomationActionsActionTeamAssociationMapOutput
	ToAutomationActionsActionTeamAssociationMapOutputWithContext(context.Context) AutomationActionsActionTeamAssociationMapOutput
}

AutomationActionsActionTeamAssociationMapInput is an input type that accepts AutomationActionsActionTeamAssociationMap and AutomationActionsActionTeamAssociationMapOutput values. You can construct a concrete instance of `AutomationActionsActionTeamAssociationMapInput` via:

AutomationActionsActionTeamAssociationMap{ "key": AutomationActionsActionTeamAssociationArgs{...} }

type AutomationActionsActionTeamAssociationMapOutput added in v3.7.0

type AutomationActionsActionTeamAssociationMapOutput struct{ *pulumi.OutputState }

func (AutomationActionsActionTeamAssociationMapOutput) ElementType added in v3.7.0

func (AutomationActionsActionTeamAssociationMapOutput) MapIndex added in v3.7.0

func (AutomationActionsActionTeamAssociationMapOutput) ToAutomationActionsActionTeamAssociationMapOutput added in v3.7.0

func (o AutomationActionsActionTeamAssociationMapOutput) ToAutomationActionsActionTeamAssociationMapOutput() AutomationActionsActionTeamAssociationMapOutput

func (AutomationActionsActionTeamAssociationMapOutput) ToAutomationActionsActionTeamAssociationMapOutputWithContext added in v3.7.0

func (o AutomationActionsActionTeamAssociationMapOutput) ToAutomationActionsActionTeamAssociationMapOutputWithContext(ctx context.Context) AutomationActionsActionTeamAssociationMapOutput

type AutomationActionsActionTeamAssociationOutput added in v3.7.0

type AutomationActionsActionTeamAssociationOutput struct{ *pulumi.OutputState }

func (AutomationActionsActionTeamAssociationOutput) ActionId added in v3.7.0

Id of the action.

func (AutomationActionsActionTeamAssociationOutput) ElementType added in v3.7.0

func (AutomationActionsActionTeamAssociationOutput) TeamId added in v3.7.0

Id of the team associated to the action.

func (AutomationActionsActionTeamAssociationOutput) ToAutomationActionsActionTeamAssociationOutput added in v3.7.0

func (o AutomationActionsActionTeamAssociationOutput) ToAutomationActionsActionTeamAssociationOutput() AutomationActionsActionTeamAssociationOutput

func (AutomationActionsActionTeamAssociationOutput) ToAutomationActionsActionTeamAssociationOutputWithContext added in v3.7.0

func (o AutomationActionsActionTeamAssociationOutput) ToAutomationActionsActionTeamAssociationOutputWithContext(ctx context.Context) AutomationActionsActionTeamAssociationOutput

type AutomationActionsActionTeamAssociationState added in v3.7.0

type AutomationActionsActionTeamAssociationState struct {
	// Id of the action.
	ActionId pulumi.StringPtrInput
	// Id of the team associated to the action.
	TeamId pulumi.StringPtrInput
}

func (AutomationActionsActionTeamAssociationState) ElementType added in v3.7.0

type AutomationActionsRunner added in v3.7.0

type AutomationActionsRunner struct {
	pulumi.CustomResourceState

	// The time runner was created. Represented as an ISO 8601 timestamp.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The description of the runner. Max length is 1024 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
	LastSeen pulumi.StringOutput `pulumi:"lastSeen"`
	// The name of the runner. Max length is 255 characters.
	Name pulumi.StringOutput `pulumi:"name"`
	// The unique User API Token created in Runbook Automation.
	RunbookApiKey pulumi.StringPtrOutput `pulumi:"runbookApiKey"`
	// The subdomain for your Runbook Automation Instance.
	RunbookBaseUri pulumi.StringPtrOutput `pulumi:"runbookBaseUri"`
	// The type of runner. The only allowed values is `runbook`.
	RunnerType pulumi.StringOutput `pulumi:"runnerType"`
	// The type of object. The value returned will be `runner`.
	Type pulumi.StringOutput `pulumi:"type"`
}

An Automation Actions [runner](https://developer.pagerduty.com/api-reference/d78999fb7e863-create-an-automation-action-runner) is the method for how actions are executed. This can be done locally using an installed runner agent or as a connection to a PD Runbook Automation instance.

> Only Runbook Automation (runbook) runners can be created.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		rUNBOOKAPIKEY := cfg.Require("rUNBOOKAPIKEY")
		_, err := pagerduty.NewAutomationActionsRunner(ctx, "example", &pagerduty.AutomationActionsRunnerArgs{
			Description:    pulumi.String("Description of the Runner created via TF"),
			RunnerType:     pulumi.String("runbook"),
			RunbookBaseUri: pulumi.String("rdcat.stg"),
			RunbookApiKey:  pulumi.String(rUNBOOKAPIKEY),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

-> In the example below the `runbook_api_key` attribute has been omitted to avoid resource replacement after the import. Runners can be imported using the `id`, e.g. resource "pagerduty_automation_actions_runner" "example" {

name = "Runner created via TF"

description = "Description of the Runner created via TF"

runner_type = "runbook"

runbook_base_uri = "rdcat.stg" }

```sh

$ pulumi import pagerduty:index/automationActionsRunner:AutomationActionsRunner example 01DER7CUUBF7TH4116K0M4WKPU

```

func GetAutomationActionsRunner added in v3.7.0

func GetAutomationActionsRunner(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AutomationActionsRunnerState, opts ...pulumi.ResourceOption) (*AutomationActionsRunner, error)

GetAutomationActionsRunner gets an existing AutomationActionsRunner resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAutomationActionsRunner added in v3.7.0

func NewAutomationActionsRunner(ctx *pulumi.Context,
	name string, args *AutomationActionsRunnerArgs, opts ...pulumi.ResourceOption) (*AutomationActionsRunner, error)

NewAutomationActionsRunner registers a new resource with the given unique name, arguments, and options.

func (*AutomationActionsRunner) ElementType added in v3.7.0

func (*AutomationActionsRunner) ElementType() reflect.Type

func (*AutomationActionsRunner) ToAutomationActionsRunnerOutput added in v3.7.0

func (i *AutomationActionsRunner) ToAutomationActionsRunnerOutput() AutomationActionsRunnerOutput

func (*AutomationActionsRunner) ToAutomationActionsRunnerOutputWithContext added in v3.7.0

func (i *AutomationActionsRunner) ToAutomationActionsRunnerOutputWithContext(ctx context.Context) AutomationActionsRunnerOutput

type AutomationActionsRunnerArgs added in v3.7.0

type AutomationActionsRunnerArgs struct {
	// The description of the runner. Max length is 1024 characters.
	Description pulumi.StringPtrInput
	// (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
	LastSeen pulumi.StringPtrInput
	// The name of the runner. Max length is 255 characters.
	Name pulumi.StringPtrInput
	// The unique User API Token created in Runbook Automation.
	RunbookApiKey pulumi.StringPtrInput
	// The subdomain for your Runbook Automation Instance.
	RunbookBaseUri pulumi.StringPtrInput
	// The type of runner. The only allowed values is `runbook`.
	RunnerType pulumi.StringInput
}

The set of arguments for constructing a AutomationActionsRunner resource.

func (AutomationActionsRunnerArgs) ElementType added in v3.7.0

type AutomationActionsRunnerArray added in v3.7.0

type AutomationActionsRunnerArray []AutomationActionsRunnerInput

func (AutomationActionsRunnerArray) ElementType added in v3.7.0

func (AutomationActionsRunnerArray) ToAutomationActionsRunnerArrayOutput added in v3.7.0

func (i AutomationActionsRunnerArray) ToAutomationActionsRunnerArrayOutput() AutomationActionsRunnerArrayOutput

func (AutomationActionsRunnerArray) ToAutomationActionsRunnerArrayOutputWithContext added in v3.7.0

func (i AutomationActionsRunnerArray) ToAutomationActionsRunnerArrayOutputWithContext(ctx context.Context) AutomationActionsRunnerArrayOutput

type AutomationActionsRunnerArrayInput added in v3.7.0

type AutomationActionsRunnerArrayInput interface {
	pulumi.Input

	ToAutomationActionsRunnerArrayOutput() AutomationActionsRunnerArrayOutput
	ToAutomationActionsRunnerArrayOutputWithContext(context.Context) AutomationActionsRunnerArrayOutput
}

AutomationActionsRunnerArrayInput is an input type that accepts AutomationActionsRunnerArray and AutomationActionsRunnerArrayOutput values. You can construct a concrete instance of `AutomationActionsRunnerArrayInput` via:

AutomationActionsRunnerArray{ AutomationActionsRunnerArgs{...} }

type AutomationActionsRunnerArrayOutput added in v3.7.0

type AutomationActionsRunnerArrayOutput struct{ *pulumi.OutputState }

func (AutomationActionsRunnerArrayOutput) ElementType added in v3.7.0

func (AutomationActionsRunnerArrayOutput) Index added in v3.7.0

func (AutomationActionsRunnerArrayOutput) ToAutomationActionsRunnerArrayOutput added in v3.7.0

func (o AutomationActionsRunnerArrayOutput) ToAutomationActionsRunnerArrayOutput() AutomationActionsRunnerArrayOutput

func (AutomationActionsRunnerArrayOutput) ToAutomationActionsRunnerArrayOutputWithContext added in v3.7.0

func (o AutomationActionsRunnerArrayOutput) ToAutomationActionsRunnerArrayOutputWithContext(ctx context.Context) AutomationActionsRunnerArrayOutput

type AutomationActionsRunnerInput added in v3.7.0

type AutomationActionsRunnerInput interface {
	pulumi.Input

	ToAutomationActionsRunnerOutput() AutomationActionsRunnerOutput
	ToAutomationActionsRunnerOutputWithContext(ctx context.Context) AutomationActionsRunnerOutput
}

type AutomationActionsRunnerMap added in v3.7.0

type AutomationActionsRunnerMap map[string]AutomationActionsRunnerInput

func (AutomationActionsRunnerMap) ElementType added in v3.7.0

func (AutomationActionsRunnerMap) ElementType() reflect.Type

func (AutomationActionsRunnerMap) ToAutomationActionsRunnerMapOutput added in v3.7.0

func (i AutomationActionsRunnerMap) ToAutomationActionsRunnerMapOutput() AutomationActionsRunnerMapOutput

func (AutomationActionsRunnerMap) ToAutomationActionsRunnerMapOutputWithContext added in v3.7.0

func (i AutomationActionsRunnerMap) ToAutomationActionsRunnerMapOutputWithContext(ctx context.Context) AutomationActionsRunnerMapOutput

type AutomationActionsRunnerMapInput added in v3.7.0

type AutomationActionsRunnerMapInput interface {
	pulumi.Input

	ToAutomationActionsRunnerMapOutput() AutomationActionsRunnerMapOutput
	ToAutomationActionsRunnerMapOutputWithContext(context.Context) AutomationActionsRunnerMapOutput
}

AutomationActionsRunnerMapInput is an input type that accepts AutomationActionsRunnerMap and AutomationActionsRunnerMapOutput values. You can construct a concrete instance of `AutomationActionsRunnerMapInput` via:

AutomationActionsRunnerMap{ "key": AutomationActionsRunnerArgs{...} }

type AutomationActionsRunnerMapOutput added in v3.7.0

type AutomationActionsRunnerMapOutput struct{ *pulumi.OutputState }

func (AutomationActionsRunnerMapOutput) ElementType added in v3.7.0

func (AutomationActionsRunnerMapOutput) MapIndex added in v3.7.0

func (AutomationActionsRunnerMapOutput) ToAutomationActionsRunnerMapOutput added in v3.7.0

func (o AutomationActionsRunnerMapOutput) ToAutomationActionsRunnerMapOutput() AutomationActionsRunnerMapOutput

func (AutomationActionsRunnerMapOutput) ToAutomationActionsRunnerMapOutputWithContext added in v3.7.0

func (o AutomationActionsRunnerMapOutput) ToAutomationActionsRunnerMapOutputWithContext(ctx context.Context) AutomationActionsRunnerMapOutput

type AutomationActionsRunnerOutput added in v3.7.0

type AutomationActionsRunnerOutput struct{ *pulumi.OutputState }

func (AutomationActionsRunnerOutput) CreationTime added in v3.7.0

The time runner was created. Represented as an ISO 8601 timestamp.

func (AutomationActionsRunnerOutput) Description added in v3.7.0

The description of the runner. Max length is 1024 characters.

func (AutomationActionsRunnerOutput) ElementType added in v3.7.0

func (AutomationActionsRunnerOutput) LastSeen added in v3.7.0

(Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.

func (AutomationActionsRunnerOutput) Name added in v3.7.0

The name of the runner. Max length is 255 characters.

func (AutomationActionsRunnerOutput) RunbookApiKey added in v3.7.0

The unique User API Token created in Runbook Automation.

func (AutomationActionsRunnerOutput) RunbookBaseUri added in v3.7.0

The subdomain for your Runbook Automation Instance.

func (AutomationActionsRunnerOutput) RunnerType added in v3.7.0

The type of runner. The only allowed values is `runbook`.

func (AutomationActionsRunnerOutput) ToAutomationActionsRunnerOutput added in v3.7.0

func (o AutomationActionsRunnerOutput) ToAutomationActionsRunnerOutput() AutomationActionsRunnerOutput

func (AutomationActionsRunnerOutput) ToAutomationActionsRunnerOutputWithContext added in v3.7.0

func (o AutomationActionsRunnerOutput) ToAutomationActionsRunnerOutputWithContext(ctx context.Context) AutomationActionsRunnerOutput

func (AutomationActionsRunnerOutput) Type added in v3.7.0

The type of object. The value returned will be `runner`.

type AutomationActionsRunnerState added in v3.7.0

type AutomationActionsRunnerState struct {
	// The time runner was created. Represented as an ISO 8601 timestamp.
	CreationTime pulumi.StringPtrInput
	// The description of the runner. Max length is 1024 characters.
	Description pulumi.StringPtrInput
	// (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
	LastSeen pulumi.StringPtrInput
	// The name of the runner. Max length is 255 characters.
	Name pulumi.StringPtrInput
	// The unique User API Token created in Runbook Automation.
	RunbookApiKey pulumi.StringPtrInput
	// The subdomain for your Runbook Automation Instance.
	RunbookBaseUri pulumi.StringPtrInput
	// The type of runner. The only allowed values is `runbook`.
	RunnerType pulumi.StringPtrInput
	// The type of object. The value returned will be `runner`.
	Type pulumi.StringPtrInput
}

func (AutomationActionsRunnerState) ElementType added in v3.7.0

type AutomationActionsRunnerTeamAssociation added in v3.7.0

type AutomationActionsRunnerTeamAssociation struct {
	pulumi.CustomResourceState

	// Id of the runner.
	RunnerId pulumi.StringOutput `pulumi:"runnerId"`
	// Id of the team associated with the runner.
	TeamId pulumi.StringOutput `pulumi:"teamId"`
}

An Automation Actions [runner association with a team](https://developer.pagerduty.com/api-reference/f662de6271a6e-associate-a-runner-with-a-team) configures the relation of a specific Runner with a Team.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		teamEntEng, err := pagerduty.NewTeam(ctx, "teamEntEng", &pagerduty.TeamArgs{
			Description: pulumi.String("Enterprise engineering"),
		})
		if err != nil {
			return err
		}
		paRunbookRunner, err := pagerduty.NewAutomationActionsRunner(ctx, "paRunbookRunner", &pagerduty.AutomationActionsRunnerArgs{
			Description:    pulumi.String("Description of the Runner created via TF"),
			RunnerType:     pulumi.String("runbook"),
			RunbookBaseUri: pulumi.String("cat-cat"),
			RunbookApiKey:  pulumi.String("cat-secret"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewAutomationActionsRunnerTeamAssociation(ctx, "paRunnerEntEngAssoc", &pagerduty.AutomationActionsRunnerTeamAssociationArgs{
			RunnerId: paRunbookRunner.ID(),
			TeamId:   teamEntEng.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Runner team association can be imported using the `runner_id` and `team_id` separated by a colon, e.g.

```sh

$ pulumi import pagerduty:index/automationActionsRunnerTeamAssociation:AutomationActionsRunnerTeamAssociation example 01DER7CUUBF7TH4116K0M4WKPU:PLB09Z

```

func GetAutomationActionsRunnerTeamAssociation added in v3.7.0

func GetAutomationActionsRunnerTeamAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AutomationActionsRunnerTeamAssociationState, opts ...pulumi.ResourceOption) (*AutomationActionsRunnerTeamAssociation, error)

GetAutomationActionsRunnerTeamAssociation gets an existing AutomationActionsRunnerTeamAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAutomationActionsRunnerTeamAssociation added in v3.7.0

func NewAutomationActionsRunnerTeamAssociation(ctx *pulumi.Context,
	name string, args *AutomationActionsRunnerTeamAssociationArgs, opts ...pulumi.ResourceOption) (*AutomationActionsRunnerTeamAssociation, error)

NewAutomationActionsRunnerTeamAssociation registers a new resource with the given unique name, arguments, and options.

func (*AutomationActionsRunnerTeamAssociation) ElementType added in v3.7.0

func (*AutomationActionsRunnerTeamAssociation) ToAutomationActionsRunnerTeamAssociationOutput added in v3.7.0

func (i *AutomationActionsRunnerTeamAssociation) ToAutomationActionsRunnerTeamAssociationOutput() AutomationActionsRunnerTeamAssociationOutput

func (*AutomationActionsRunnerTeamAssociation) ToAutomationActionsRunnerTeamAssociationOutputWithContext added in v3.7.0

func (i *AutomationActionsRunnerTeamAssociation) ToAutomationActionsRunnerTeamAssociationOutputWithContext(ctx context.Context) AutomationActionsRunnerTeamAssociationOutput

type AutomationActionsRunnerTeamAssociationArgs added in v3.7.0

type AutomationActionsRunnerTeamAssociationArgs struct {
	// Id of the runner.
	RunnerId pulumi.StringInput
	// Id of the team associated with the runner.
	TeamId pulumi.StringInput
}

The set of arguments for constructing a AutomationActionsRunnerTeamAssociation resource.

func (AutomationActionsRunnerTeamAssociationArgs) ElementType added in v3.7.0

type AutomationActionsRunnerTeamAssociationArray added in v3.7.0

type AutomationActionsRunnerTeamAssociationArray []AutomationActionsRunnerTeamAssociationInput

func (AutomationActionsRunnerTeamAssociationArray) ElementType added in v3.7.0

func (AutomationActionsRunnerTeamAssociationArray) ToAutomationActionsRunnerTeamAssociationArrayOutput added in v3.7.0

func (i AutomationActionsRunnerTeamAssociationArray) ToAutomationActionsRunnerTeamAssociationArrayOutput() AutomationActionsRunnerTeamAssociationArrayOutput

func (AutomationActionsRunnerTeamAssociationArray) ToAutomationActionsRunnerTeamAssociationArrayOutputWithContext added in v3.7.0

func (i AutomationActionsRunnerTeamAssociationArray) ToAutomationActionsRunnerTeamAssociationArrayOutputWithContext(ctx context.Context) AutomationActionsRunnerTeamAssociationArrayOutput

type AutomationActionsRunnerTeamAssociationArrayInput added in v3.7.0

type AutomationActionsRunnerTeamAssociationArrayInput interface {
	pulumi.Input

	ToAutomationActionsRunnerTeamAssociationArrayOutput() AutomationActionsRunnerTeamAssociationArrayOutput
	ToAutomationActionsRunnerTeamAssociationArrayOutputWithContext(context.Context) AutomationActionsRunnerTeamAssociationArrayOutput
}

AutomationActionsRunnerTeamAssociationArrayInput is an input type that accepts AutomationActionsRunnerTeamAssociationArray and AutomationActionsRunnerTeamAssociationArrayOutput values. You can construct a concrete instance of `AutomationActionsRunnerTeamAssociationArrayInput` via:

AutomationActionsRunnerTeamAssociationArray{ AutomationActionsRunnerTeamAssociationArgs{...} }

type AutomationActionsRunnerTeamAssociationArrayOutput added in v3.7.0

type AutomationActionsRunnerTeamAssociationArrayOutput struct{ *pulumi.OutputState }

func (AutomationActionsRunnerTeamAssociationArrayOutput) ElementType added in v3.7.0

func (AutomationActionsRunnerTeamAssociationArrayOutput) Index added in v3.7.0

func (AutomationActionsRunnerTeamAssociationArrayOutput) ToAutomationActionsRunnerTeamAssociationArrayOutput added in v3.7.0

func (o AutomationActionsRunnerTeamAssociationArrayOutput) ToAutomationActionsRunnerTeamAssociationArrayOutput() AutomationActionsRunnerTeamAssociationArrayOutput

func (AutomationActionsRunnerTeamAssociationArrayOutput) ToAutomationActionsRunnerTeamAssociationArrayOutputWithContext added in v3.7.0

func (o AutomationActionsRunnerTeamAssociationArrayOutput) ToAutomationActionsRunnerTeamAssociationArrayOutputWithContext(ctx context.Context) AutomationActionsRunnerTeamAssociationArrayOutput

type AutomationActionsRunnerTeamAssociationInput added in v3.7.0

type AutomationActionsRunnerTeamAssociationInput interface {
	pulumi.Input

	ToAutomationActionsRunnerTeamAssociationOutput() AutomationActionsRunnerTeamAssociationOutput
	ToAutomationActionsRunnerTeamAssociationOutputWithContext(ctx context.Context) AutomationActionsRunnerTeamAssociationOutput
}

type AutomationActionsRunnerTeamAssociationMap added in v3.7.0

type AutomationActionsRunnerTeamAssociationMap map[string]AutomationActionsRunnerTeamAssociationInput

func (AutomationActionsRunnerTeamAssociationMap) ElementType added in v3.7.0

func (AutomationActionsRunnerTeamAssociationMap) ToAutomationActionsRunnerTeamAssociationMapOutput added in v3.7.0

func (i AutomationActionsRunnerTeamAssociationMap) ToAutomationActionsRunnerTeamAssociationMapOutput() AutomationActionsRunnerTeamAssociationMapOutput

func (AutomationActionsRunnerTeamAssociationMap) ToAutomationActionsRunnerTeamAssociationMapOutputWithContext added in v3.7.0

func (i AutomationActionsRunnerTeamAssociationMap) ToAutomationActionsRunnerTeamAssociationMapOutputWithContext(ctx context.Context) AutomationActionsRunnerTeamAssociationMapOutput

type AutomationActionsRunnerTeamAssociationMapInput added in v3.7.0

type AutomationActionsRunnerTeamAssociationMapInput interface {
	pulumi.Input

	ToAutomationActionsRunnerTeamAssociationMapOutput() AutomationActionsRunnerTeamAssociationMapOutput
	ToAutomationActionsRunnerTeamAssociationMapOutputWithContext(context.Context) AutomationActionsRunnerTeamAssociationMapOutput
}

AutomationActionsRunnerTeamAssociationMapInput is an input type that accepts AutomationActionsRunnerTeamAssociationMap and AutomationActionsRunnerTeamAssociationMapOutput values. You can construct a concrete instance of `AutomationActionsRunnerTeamAssociationMapInput` via:

AutomationActionsRunnerTeamAssociationMap{ "key": AutomationActionsRunnerTeamAssociationArgs{...} }

type AutomationActionsRunnerTeamAssociationMapOutput added in v3.7.0

type AutomationActionsRunnerTeamAssociationMapOutput struct{ *pulumi.OutputState }

func (AutomationActionsRunnerTeamAssociationMapOutput) ElementType added in v3.7.0

func (AutomationActionsRunnerTeamAssociationMapOutput) MapIndex added in v3.7.0

func (AutomationActionsRunnerTeamAssociationMapOutput) ToAutomationActionsRunnerTeamAssociationMapOutput added in v3.7.0

func (o AutomationActionsRunnerTeamAssociationMapOutput) ToAutomationActionsRunnerTeamAssociationMapOutput() AutomationActionsRunnerTeamAssociationMapOutput

func (AutomationActionsRunnerTeamAssociationMapOutput) ToAutomationActionsRunnerTeamAssociationMapOutputWithContext added in v3.7.0

func (o AutomationActionsRunnerTeamAssociationMapOutput) ToAutomationActionsRunnerTeamAssociationMapOutputWithContext(ctx context.Context) AutomationActionsRunnerTeamAssociationMapOutput

type AutomationActionsRunnerTeamAssociationOutput added in v3.7.0

type AutomationActionsRunnerTeamAssociationOutput struct{ *pulumi.OutputState }

func (AutomationActionsRunnerTeamAssociationOutput) ElementType added in v3.7.0

func (AutomationActionsRunnerTeamAssociationOutput) RunnerId added in v3.7.0

Id of the runner.

func (AutomationActionsRunnerTeamAssociationOutput) TeamId added in v3.7.0

Id of the team associated with the runner.

func (AutomationActionsRunnerTeamAssociationOutput) ToAutomationActionsRunnerTeamAssociationOutput added in v3.7.0

func (o AutomationActionsRunnerTeamAssociationOutput) ToAutomationActionsRunnerTeamAssociationOutput() AutomationActionsRunnerTeamAssociationOutput

func (AutomationActionsRunnerTeamAssociationOutput) ToAutomationActionsRunnerTeamAssociationOutputWithContext added in v3.7.0

func (o AutomationActionsRunnerTeamAssociationOutput) ToAutomationActionsRunnerTeamAssociationOutputWithContext(ctx context.Context) AutomationActionsRunnerTeamAssociationOutput

type AutomationActionsRunnerTeamAssociationState added in v3.7.0

type AutomationActionsRunnerTeamAssociationState struct {
	// Id of the runner.
	RunnerId pulumi.StringPtrInput
	// Id of the team associated with the runner.
	TeamId pulumi.StringPtrInput
}

func (AutomationActionsRunnerTeamAssociationState) ElementType added in v3.7.0

type BusinessService

type BusinessService struct {
	pulumi.CustomResourceState

	Description pulumi.StringOutput `pulumi:"description"`
	// A URL at which the entity is uniquely displayed in the Web app.
	HtmlUrl pulumi.StringOutput `pulumi:"htmlUrl"`
	// The name of the business service.
	Name pulumi.StringOutput `pulumi:"name"`
	// The owner of the business service.
	PointOfContact pulumi.StringPtrOutput `pulumi:"pointOfContact"`
	// The API show URL at which the object is accessible.
	Self pulumi.StringOutput `pulumi:"self"`
	// A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.
	Summary pulumi.StringOutput `pulumi:"summary"`
	// ID of the team that owns the business service.
	Team pulumi.StringPtrOutput `pulumi:"team"`
	// **Deprecated** (Optional) Default (and only supported) value is `businessService`.
	//
	// Deprecated: This will change to a computed resource in the next major release.
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

A [business service](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODExNg-create-a-business-service) allows you to model capabilities that span multiple technical services and that may be owned by several different teams.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewBusinessService(ctx, "example", &pagerduty.BusinessServiceArgs{
			Description:    pulumi.String("A very descriptive description of this business service"),
			PointOfContact: pulumi.String("PagerDuty Admin"),
			Team:           pulumi.String("P37RSRS"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Services can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/businessService:BusinessService main PLBP09X

```

func GetBusinessService

func GetBusinessService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BusinessServiceState, opts ...pulumi.ResourceOption) (*BusinessService, error)

GetBusinessService gets an existing BusinessService resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBusinessService

func NewBusinessService(ctx *pulumi.Context,
	name string, args *BusinessServiceArgs, opts ...pulumi.ResourceOption) (*BusinessService, error)

NewBusinessService registers a new resource with the given unique name, arguments, and options.

func (*BusinessService) ElementType

func (*BusinessService) ElementType() reflect.Type

func (*BusinessService) ToBusinessServiceOutput

func (i *BusinessService) ToBusinessServiceOutput() BusinessServiceOutput

func (*BusinessService) ToBusinessServiceOutputWithContext

func (i *BusinessService) ToBusinessServiceOutputWithContext(ctx context.Context) BusinessServiceOutput

type BusinessServiceArgs

type BusinessServiceArgs struct {
	Description pulumi.StringPtrInput
	// The name of the business service.
	Name pulumi.StringPtrInput
	// The owner of the business service.
	PointOfContact pulumi.StringPtrInput
	// ID of the team that owns the business service.
	Team pulumi.StringPtrInput
	// **Deprecated** (Optional) Default (and only supported) value is `businessService`.
	//
	// Deprecated: This will change to a computed resource in the next major release.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a BusinessService resource.

func (BusinessServiceArgs) ElementType

func (BusinessServiceArgs) ElementType() reflect.Type

type BusinessServiceArray

type BusinessServiceArray []BusinessServiceInput

func (BusinessServiceArray) ElementType

func (BusinessServiceArray) ElementType() reflect.Type

func (BusinessServiceArray) ToBusinessServiceArrayOutput

func (i BusinessServiceArray) ToBusinessServiceArrayOutput() BusinessServiceArrayOutput

func (BusinessServiceArray) ToBusinessServiceArrayOutputWithContext

func (i BusinessServiceArray) ToBusinessServiceArrayOutputWithContext(ctx context.Context) BusinessServiceArrayOutput

type BusinessServiceArrayInput

type BusinessServiceArrayInput interface {
	pulumi.Input

	ToBusinessServiceArrayOutput() BusinessServiceArrayOutput
	ToBusinessServiceArrayOutputWithContext(context.Context) BusinessServiceArrayOutput
}

BusinessServiceArrayInput is an input type that accepts BusinessServiceArray and BusinessServiceArrayOutput values. You can construct a concrete instance of `BusinessServiceArrayInput` via:

BusinessServiceArray{ BusinessServiceArgs{...} }

type BusinessServiceArrayOutput

type BusinessServiceArrayOutput struct{ *pulumi.OutputState }

func (BusinessServiceArrayOutput) ElementType

func (BusinessServiceArrayOutput) ElementType() reflect.Type

func (BusinessServiceArrayOutput) Index

func (BusinessServiceArrayOutput) ToBusinessServiceArrayOutput

func (o BusinessServiceArrayOutput) ToBusinessServiceArrayOutput() BusinessServiceArrayOutput

func (BusinessServiceArrayOutput) ToBusinessServiceArrayOutputWithContext

func (o BusinessServiceArrayOutput) ToBusinessServiceArrayOutputWithContext(ctx context.Context) BusinessServiceArrayOutput

type BusinessServiceInput

type BusinessServiceInput interface {
	pulumi.Input

	ToBusinessServiceOutput() BusinessServiceOutput
	ToBusinessServiceOutputWithContext(ctx context.Context) BusinessServiceOutput
}

type BusinessServiceMap

type BusinessServiceMap map[string]BusinessServiceInput

func (BusinessServiceMap) ElementType

func (BusinessServiceMap) ElementType() reflect.Type

func (BusinessServiceMap) ToBusinessServiceMapOutput

func (i BusinessServiceMap) ToBusinessServiceMapOutput() BusinessServiceMapOutput

func (BusinessServiceMap) ToBusinessServiceMapOutputWithContext

func (i BusinessServiceMap) ToBusinessServiceMapOutputWithContext(ctx context.Context) BusinessServiceMapOutput

type BusinessServiceMapInput

type BusinessServiceMapInput interface {
	pulumi.Input

	ToBusinessServiceMapOutput() BusinessServiceMapOutput
	ToBusinessServiceMapOutputWithContext(context.Context) BusinessServiceMapOutput
}

BusinessServiceMapInput is an input type that accepts BusinessServiceMap and BusinessServiceMapOutput values. You can construct a concrete instance of `BusinessServiceMapInput` via:

BusinessServiceMap{ "key": BusinessServiceArgs{...} }

type BusinessServiceMapOutput

type BusinessServiceMapOutput struct{ *pulumi.OutputState }

func (BusinessServiceMapOutput) ElementType

func (BusinessServiceMapOutput) ElementType() reflect.Type

func (BusinessServiceMapOutput) MapIndex

func (BusinessServiceMapOutput) ToBusinessServiceMapOutput

func (o BusinessServiceMapOutput) ToBusinessServiceMapOutput() BusinessServiceMapOutput

func (BusinessServiceMapOutput) ToBusinessServiceMapOutputWithContext

func (o BusinessServiceMapOutput) ToBusinessServiceMapOutputWithContext(ctx context.Context) BusinessServiceMapOutput

type BusinessServiceOutput

type BusinessServiceOutput struct{ *pulumi.OutputState }

func (BusinessServiceOutput) Description added in v3.5.1

func (o BusinessServiceOutput) Description() pulumi.StringOutput

func (BusinessServiceOutput) ElementType

func (BusinessServiceOutput) ElementType() reflect.Type

func (BusinessServiceOutput) HtmlUrl added in v3.5.1

A URL at which the entity is uniquely displayed in the Web app.

func (BusinessServiceOutput) Name added in v3.5.1

The name of the business service.

func (BusinessServiceOutput) PointOfContact added in v3.5.1

func (o BusinessServiceOutput) PointOfContact() pulumi.StringPtrOutput

The owner of the business service.

func (BusinessServiceOutput) Self added in v3.5.1

The API show URL at which the object is accessible.

func (BusinessServiceOutput) Summary added in v3.5.1

A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.

func (BusinessServiceOutput) Team added in v3.5.1

ID of the team that owns the business service.

func (BusinessServiceOutput) ToBusinessServiceOutput

func (o BusinessServiceOutput) ToBusinessServiceOutput() BusinessServiceOutput

func (BusinessServiceOutput) ToBusinessServiceOutputWithContext

func (o BusinessServiceOutput) ToBusinessServiceOutputWithContext(ctx context.Context) BusinessServiceOutput

func (BusinessServiceOutput) Type deprecated added in v3.5.1

**Deprecated** (Optional) Default (and only supported) value is `businessService`.

Deprecated: This will change to a computed resource in the next major release.

type BusinessServiceState

type BusinessServiceState struct {
	Description pulumi.StringPtrInput
	// A URL at which the entity is uniquely displayed in the Web app.
	HtmlUrl pulumi.StringPtrInput
	// The name of the business service.
	Name pulumi.StringPtrInput
	// The owner of the business service.
	PointOfContact pulumi.StringPtrInput
	// The API show URL at which the object is accessible.
	Self pulumi.StringPtrInput
	// A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.
	Summary pulumi.StringPtrInput
	// ID of the team that owns the business service.
	Team pulumi.StringPtrInput
	// **Deprecated** (Optional) Default (and only supported) value is `businessService`.
	//
	// Deprecated: This will change to a computed resource in the next major release.
	Type pulumi.StringPtrInput
}

func (BusinessServiceState) ElementType

func (BusinessServiceState) ElementType() reflect.Type

type BusinessServiceSubscriber added in v3.2.0

type BusinessServiceSubscriber struct {
	pulumi.CustomResourceState

	// The ID of the business service to subscribe to.
	BusinessServiceId pulumi.StringOutput `pulumi:"businessServiceId"`
	// The ID of the subscriber entity.
	SubscriberId pulumi.StringOutput `pulumi:"subscriberId"`
	// Type of subscriber entity in the subscriber assignment. Possible values can be `user` and `team`.
	SubscriberType pulumi.StringOutput `pulumi:"subscriberType"`
}

A [business service subscriber](https://developer.pagerduty.com/api-reference/b3A6NDUwNDgxOQ-list-business-service-subscribers) allows you to subscribe users or teams to automatically receive updates about key business services.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleBusinessService, err := pagerduty.NewBusinessService(ctx, "exampleBusinessService", &pagerduty.BusinessServiceArgs{
			Description:    pulumi.String("A very descriptive description of this business service"),
			PointOfContact: pulumi.String("PagerDuty Admin"),
			Team:           pulumi.String("P37RSRS"),
		})
		if err != nil {
			return err
		}
		engteam, err := pagerduty.NewTeam(ctx, "engteam", nil)
		if err != nil {
			return err
		}
		exampleUser, err := pagerduty.NewUser(ctx, "exampleUser", &pagerduty.UserArgs{
			Email: pulumi.String("125.greenholt.earline@graham.name"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewBusinessServiceSubscriber(ctx, "teamExample", &pagerduty.BusinessServiceSubscriberArgs{
			SubscriberId:      engteam.ID(),
			SubscriberType:    pulumi.String("team"),
			BusinessServiceId: exampleBusinessService.ID(),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewBusinessServiceSubscriber(ctx, "userExample", &pagerduty.BusinessServiceSubscriberArgs{
			SubscriberId:      exampleUser.ID(),
			SubscriberType:    pulumi.String("user"),
			BusinessServiceId: exampleBusinessService.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Services can be imported using the `id` using the related business service ID, the subscriber type and the subscriber ID separated by a dot, e.g.

```sh

$ pulumi import pagerduty:index/businessServiceSubscriber:BusinessServiceSubscriber main PLBP09X.team.PLBP09X

```

func GetBusinessServiceSubscriber added in v3.2.0

func GetBusinessServiceSubscriber(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BusinessServiceSubscriberState, opts ...pulumi.ResourceOption) (*BusinessServiceSubscriber, error)

GetBusinessServiceSubscriber gets an existing BusinessServiceSubscriber resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBusinessServiceSubscriber added in v3.2.0

func NewBusinessServiceSubscriber(ctx *pulumi.Context,
	name string, args *BusinessServiceSubscriberArgs, opts ...pulumi.ResourceOption) (*BusinessServiceSubscriber, error)

NewBusinessServiceSubscriber registers a new resource with the given unique name, arguments, and options.

func (*BusinessServiceSubscriber) ElementType added in v3.2.0

func (*BusinessServiceSubscriber) ElementType() reflect.Type

func (*BusinessServiceSubscriber) ToBusinessServiceSubscriberOutput added in v3.2.0

func (i *BusinessServiceSubscriber) ToBusinessServiceSubscriberOutput() BusinessServiceSubscriberOutput

func (*BusinessServiceSubscriber) ToBusinessServiceSubscriberOutputWithContext added in v3.2.0

func (i *BusinessServiceSubscriber) ToBusinessServiceSubscriberOutputWithContext(ctx context.Context) BusinessServiceSubscriberOutput

type BusinessServiceSubscriberArgs added in v3.2.0

type BusinessServiceSubscriberArgs struct {
	// The ID of the business service to subscribe to.
	BusinessServiceId pulumi.StringInput
	// The ID of the subscriber entity.
	SubscriberId pulumi.StringInput
	// Type of subscriber entity in the subscriber assignment. Possible values can be `user` and `team`.
	SubscriberType pulumi.StringInput
}

The set of arguments for constructing a BusinessServiceSubscriber resource.

func (BusinessServiceSubscriberArgs) ElementType added in v3.2.0

type BusinessServiceSubscriberArray added in v3.2.0

type BusinessServiceSubscriberArray []BusinessServiceSubscriberInput

func (BusinessServiceSubscriberArray) ElementType added in v3.2.0

func (BusinessServiceSubscriberArray) ToBusinessServiceSubscriberArrayOutput added in v3.2.0

func (i BusinessServiceSubscriberArray) ToBusinessServiceSubscriberArrayOutput() BusinessServiceSubscriberArrayOutput

func (BusinessServiceSubscriberArray) ToBusinessServiceSubscriberArrayOutputWithContext added in v3.2.0

func (i BusinessServiceSubscriberArray) ToBusinessServiceSubscriberArrayOutputWithContext(ctx context.Context) BusinessServiceSubscriberArrayOutput

type BusinessServiceSubscriberArrayInput added in v3.2.0

type BusinessServiceSubscriberArrayInput interface {
	pulumi.Input

	ToBusinessServiceSubscriberArrayOutput() BusinessServiceSubscriberArrayOutput
	ToBusinessServiceSubscriberArrayOutputWithContext(context.Context) BusinessServiceSubscriberArrayOutput
}

BusinessServiceSubscriberArrayInput is an input type that accepts BusinessServiceSubscriberArray and BusinessServiceSubscriberArrayOutput values. You can construct a concrete instance of `BusinessServiceSubscriberArrayInput` via:

BusinessServiceSubscriberArray{ BusinessServiceSubscriberArgs{...} }

type BusinessServiceSubscriberArrayOutput added in v3.2.0

type BusinessServiceSubscriberArrayOutput struct{ *pulumi.OutputState }

func (BusinessServiceSubscriberArrayOutput) ElementType added in v3.2.0

func (BusinessServiceSubscriberArrayOutput) Index added in v3.2.0

func (BusinessServiceSubscriberArrayOutput) ToBusinessServiceSubscriberArrayOutput added in v3.2.0

func (o BusinessServiceSubscriberArrayOutput) ToBusinessServiceSubscriberArrayOutput() BusinessServiceSubscriberArrayOutput

func (BusinessServiceSubscriberArrayOutput) ToBusinessServiceSubscriberArrayOutputWithContext added in v3.2.0

func (o BusinessServiceSubscriberArrayOutput) ToBusinessServiceSubscriberArrayOutputWithContext(ctx context.Context) BusinessServiceSubscriberArrayOutput

type BusinessServiceSubscriberInput added in v3.2.0

type BusinessServiceSubscriberInput interface {
	pulumi.Input

	ToBusinessServiceSubscriberOutput() BusinessServiceSubscriberOutput
	ToBusinessServiceSubscriberOutputWithContext(ctx context.Context) BusinessServiceSubscriberOutput
}

type BusinessServiceSubscriberMap added in v3.2.0

type BusinessServiceSubscriberMap map[string]BusinessServiceSubscriberInput

func (BusinessServiceSubscriberMap) ElementType added in v3.2.0

func (BusinessServiceSubscriberMap) ToBusinessServiceSubscriberMapOutput added in v3.2.0

func (i BusinessServiceSubscriberMap) ToBusinessServiceSubscriberMapOutput() BusinessServiceSubscriberMapOutput

func (BusinessServiceSubscriberMap) ToBusinessServiceSubscriberMapOutputWithContext added in v3.2.0

func (i BusinessServiceSubscriberMap) ToBusinessServiceSubscriberMapOutputWithContext(ctx context.Context) BusinessServiceSubscriberMapOutput

type BusinessServiceSubscriberMapInput added in v3.2.0

type BusinessServiceSubscriberMapInput interface {
	pulumi.Input

	ToBusinessServiceSubscriberMapOutput() BusinessServiceSubscriberMapOutput
	ToBusinessServiceSubscriberMapOutputWithContext(context.Context) BusinessServiceSubscriberMapOutput
}

BusinessServiceSubscriberMapInput is an input type that accepts BusinessServiceSubscriberMap and BusinessServiceSubscriberMapOutput values. You can construct a concrete instance of `BusinessServiceSubscriberMapInput` via:

BusinessServiceSubscriberMap{ "key": BusinessServiceSubscriberArgs{...} }

type BusinessServiceSubscriberMapOutput added in v3.2.0

type BusinessServiceSubscriberMapOutput struct{ *pulumi.OutputState }

func (BusinessServiceSubscriberMapOutput) ElementType added in v3.2.0

func (BusinessServiceSubscriberMapOutput) MapIndex added in v3.2.0

func (BusinessServiceSubscriberMapOutput) ToBusinessServiceSubscriberMapOutput added in v3.2.0

func (o BusinessServiceSubscriberMapOutput) ToBusinessServiceSubscriberMapOutput() BusinessServiceSubscriberMapOutput

func (BusinessServiceSubscriberMapOutput) ToBusinessServiceSubscriberMapOutputWithContext added in v3.2.0

func (o BusinessServiceSubscriberMapOutput) ToBusinessServiceSubscriberMapOutputWithContext(ctx context.Context) BusinessServiceSubscriberMapOutput

type BusinessServiceSubscriberOutput added in v3.2.0

type BusinessServiceSubscriberOutput struct{ *pulumi.OutputState }

func (BusinessServiceSubscriberOutput) BusinessServiceId added in v3.5.1

func (o BusinessServiceSubscriberOutput) BusinessServiceId() pulumi.StringOutput

The ID of the business service to subscribe to.

func (BusinessServiceSubscriberOutput) ElementType added in v3.2.0

func (BusinessServiceSubscriberOutput) SubscriberId added in v3.5.1

The ID of the subscriber entity.

func (BusinessServiceSubscriberOutput) SubscriberType added in v3.5.1

Type of subscriber entity in the subscriber assignment. Possible values can be `user` and `team`.

func (BusinessServiceSubscriberOutput) ToBusinessServiceSubscriberOutput added in v3.2.0

func (o BusinessServiceSubscriberOutput) ToBusinessServiceSubscriberOutput() BusinessServiceSubscriberOutput

func (BusinessServiceSubscriberOutput) ToBusinessServiceSubscriberOutputWithContext added in v3.2.0

func (o BusinessServiceSubscriberOutput) ToBusinessServiceSubscriberOutputWithContext(ctx context.Context) BusinessServiceSubscriberOutput

type BusinessServiceSubscriberState added in v3.2.0

type BusinessServiceSubscriberState struct {
	// The ID of the business service to subscribe to.
	BusinessServiceId pulumi.StringPtrInput
	// The ID of the subscriber entity.
	SubscriberId pulumi.StringPtrInput
	// Type of subscriber entity in the subscriber assignment. Possible values can be `user` and `team`.
	SubscriberType pulumi.StringPtrInput
}

func (BusinessServiceSubscriberState) ElementType added in v3.2.0

type CustomField added in v3.8.0

type CustomField struct {
	pulumi.CustomResourceState

	// The datatype of the field. Must be one of `string`, `integer`, `float`, `boolean`, `datetime`, or `url`.
	Datatype    pulumi.StringOutput    `pulumi:"datatype"`
	Description pulumi.StringPtrOutput `pulumi:"description"`
	DisplayName pulumi.StringOutput    `pulumi:"displayName"`
	// True if the field can only accept values from a set of options.
	FixedOptions pulumi.BoolPtrOutput `pulumi:"fixedOptions"`
	// True if the field can accept multiple values.
	MultiValue pulumi.BoolPtrOutput `pulumi:"multiValue"`
	// The name of the field.
	Name pulumi.StringOutput `pulumi:"name"`
}

!> This Resource is no longer functional. Documentation is left here for the purpose of documenting migration steps.

A [Custom Field](https://support.pagerduty.com/docs/custom-fields) is a resuable element which can be added to Custom Field Schemas.

## Migration

The `incidentCustomField` resource provides similar functionality with largely the same arguments and attributes. The key distinction is that while custom fields created by this data source may have only applied to a subset of incidents within the account after being added to a schema and assigned to a service, custom fields managed by the `incidentCustomField` resource are applied to all incidents in the account.

Additionally:

  • The separate `multiValue` and `fixedOptions` arguments have been merged into a single argument named `fieldType`.
  • The `datatype` argument has been renamed `dataType` to match the Public API for the Custom Fields on Incidents feature.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewCustomField(ctx, "csImpact", &pagerduty.CustomFieldArgs{
			Datatype: pulumi.String("string"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewCustomField(ctx, "sreEnvironment", &pagerduty.CustomFieldArgs{
			Datatype:     pulumi.String("string"),
			FixedOptions: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Fields can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/customField:CustomField sre_environment PLBP09X

```

func GetCustomField added in v3.8.0

func GetCustomField(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomFieldState, opts ...pulumi.ResourceOption) (*CustomField, error)

GetCustomField gets an existing CustomField resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCustomField added in v3.8.0

func NewCustomField(ctx *pulumi.Context,
	name string, args *CustomFieldArgs, opts ...pulumi.ResourceOption) (*CustomField, error)

NewCustomField registers a new resource with the given unique name, arguments, and options.

func (*CustomField) ElementType added in v3.8.0

func (*CustomField) ElementType() reflect.Type

func (*CustomField) ToCustomFieldOutput added in v3.8.0

func (i *CustomField) ToCustomFieldOutput() CustomFieldOutput

func (*CustomField) ToCustomFieldOutputWithContext added in v3.8.0

func (i *CustomField) ToCustomFieldOutputWithContext(ctx context.Context) CustomFieldOutput

type CustomFieldArgs added in v3.8.0

type CustomFieldArgs struct {
	// The datatype of the field. Must be one of `string`, `integer`, `float`, `boolean`, `datetime`, or `url`.
	Datatype    pulumi.StringInput
	Description pulumi.StringPtrInput
	DisplayName pulumi.StringInput
	// True if the field can only accept values from a set of options.
	FixedOptions pulumi.BoolPtrInput
	// True if the field can accept multiple values.
	MultiValue pulumi.BoolPtrInput
	// The name of the field.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a CustomField resource.

func (CustomFieldArgs) ElementType added in v3.8.0

func (CustomFieldArgs) ElementType() reflect.Type

type CustomFieldArray added in v3.8.0

type CustomFieldArray []CustomFieldInput

func (CustomFieldArray) ElementType added in v3.8.0

func (CustomFieldArray) ElementType() reflect.Type

func (CustomFieldArray) ToCustomFieldArrayOutput added in v3.8.0

func (i CustomFieldArray) ToCustomFieldArrayOutput() CustomFieldArrayOutput

func (CustomFieldArray) ToCustomFieldArrayOutputWithContext added in v3.8.0

func (i CustomFieldArray) ToCustomFieldArrayOutputWithContext(ctx context.Context) CustomFieldArrayOutput

type CustomFieldArrayInput added in v3.8.0

type CustomFieldArrayInput interface {
	pulumi.Input

	ToCustomFieldArrayOutput() CustomFieldArrayOutput
	ToCustomFieldArrayOutputWithContext(context.Context) CustomFieldArrayOutput
}

CustomFieldArrayInput is an input type that accepts CustomFieldArray and CustomFieldArrayOutput values. You can construct a concrete instance of `CustomFieldArrayInput` via:

CustomFieldArray{ CustomFieldArgs{...} }

type CustomFieldArrayOutput added in v3.8.0

type CustomFieldArrayOutput struct{ *pulumi.OutputState }

func (CustomFieldArrayOutput) ElementType added in v3.8.0

func (CustomFieldArrayOutput) ElementType() reflect.Type

func (CustomFieldArrayOutput) Index added in v3.8.0

func (CustomFieldArrayOutput) ToCustomFieldArrayOutput added in v3.8.0

func (o CustomFieldArrayOutput) ToCustomFieldArrayOutput() CustomFieldArrayOutput

func (CustomFieldArrayOutput) ToCustomFieldArrayOutputWithContext added in v3.8.0

func (o CustomFieldArrayOutput) ToCustomFieldArrayOutputWithContext(ctx context.Context) CustomFieldArrayOutput

type CustomFieldInput added in v3.8.0

type CustomFieldInput interface {
	pulumi.Input

	ToCustomFieldOutput() CustomFieldOutput
	ToCustomFieldOutputWithContext(ctx context.Context) CustomFieldOutput
}

type CustomFieldMap added in v3.8.0

type CustomFieldMap map[string]CustomFieldInput

func (CustomFieldMap) ElementType added in v3.8.0

func (CustomFieldMap) ElementType() reflect.Type

func (CustomFieldMap) ToCustomFieldMapOutput added in v3.8.0

func (i CustomFieldMap) ToCustomFieldMapOutput() CustomFieldMapOutput

func (CustomFieldMap) ToCustomFieldMapOutputWithContext added in v3.8.0

func (i CustomFieldMap) ToCustomFieldMapOutputWithContext(ctx context.Context) CustomFieldMapOutput

type CustomFieldMapInput added in v3.8.0

type CustomFieldMapInput interface {
	pulumi.Input

	ToCustomFieldMapOutput() CustomFieldMapOutput
	ToCustomFieldMapOutputWithContext(context.Context) CustomFieldMapOutput
}

CustomFieldMapInput is an input type that accepts CustomFieldMap and CustomFieldMapOutput values. You can construct a concrete instance of `CustomFieldMapInput` via:

CustomFieldMap{ "key": CustomFieldArgs{...} }

type CustomFieldMapOutput added in v3.8.0

type CustomFieldMapOutput struct{ *pulumi.OutputState }

func (CustomFieldMapOutput) ElementType added in v3.8.0

func (CustomFieldMapOutput) ElementType() reflect.Type

func (CustomFieldMapOutput) MapIndex added in v3.8.0

func (CustomFieldMapOutput) ToCustomFieldMapOutput added in v3.8.0

func (o CustomFieldMapOutput) ToCustomFieldMapOutput() CustomFieldMapOutput

func (CustomFieldMapOutput) ToCustomFieldMapOutputWithContext added in v3.8.0

func (o CustomFieldMapOutput) ToCustomFieldMapOutputWithContext(ctx context.Context) CustomFieldMapOutput

type CustomFieldOption added in v3.8.0

type CustomFieldOption struct {
	pulumi.CustomResourceState

	// The datatype of the field option. Must be one of `string`, `integer`, `float`, `boolean`, `datetime`, or `url`.
	Datatype pulumi.StringOutput `pulumi:"datatype"`
	// The ID of the field.
	Field pulumi.StringOutput `pulumi:"field"`
	// The allowed value.
	Value pulumi.StringOutput `pulumi:"value"`
}

!> This Resource is no longer functional. Documentation is left here for the purpose of documenting migration steps.

A Custom Field Option is a specific value that can be used for [Custom Fields](https://support.pagerduty.com/docs/custom-fields) that only allow values from a set of fixed option.

## Migration

The `incidentCustomFieldOption` resource provides similar functionality with largely the same arguments and attributes. The only significant change is that the `datatype` argument has been renamed `dataType` to match the Public API for the Custom Fields on Incidents feature.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		sreEnvironment, err := pagerduty.NewCustomField(ctx, "sreEnvironment", &pagerduty.CustomFieldArgs{
			Datatype:     pulumi.String("string"),
			FixedOptions: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewCustomFieldOption(ctx, "devEnvironment", &pagerduty.CustomFieldOptionArgs{
			Field:    sreEnvironment.ID(),
			Datatype: pulumi.String("string"),
			Value:    pulumi.String("dev"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewCustomFieldOption(ctx, "stageEnvironment", &pagerduty.CustomFieldOptionArgs{
			Field:    sreEnvironment.ID(),
			Datatype: pulumi.String("string"),
			Value:    pulumi.String("stage"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewCustomFieldOption(ctx, "prodEnvironment", &pagerduty.CustomFieldOptionArgs{
			Field:    sreEnvironment.ID(),
			Datatype: pulumi.String("string"),
			Value:    pulumi.String("prod"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetCustomFieldOption added in v3.8.0

func GetCustomFieldOption(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomFieldOptionState, opts ...pulumi.ResourceOption) (*CustomFieldOption, error)

GetCustomFieldOption gets an existing CustomFieldOption resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCustomFieldOption added in v3.8.0

func NewCustomFieldOption(ctx *pulumi.Context,
	name string, args *CustomFieldOptionArgs, opts ...pulumi.ResourceOption) (*CustomFieldOption, error)

NewCustomFieldOption registers a new resource with the given unique name, arguments, and options.

func (*CustomFieldOption) ElementType added in v3.8.0

func (*CustomFieldOption) ElementType() reflect.Type

func (*CustomFieldOption) ToCustomFieldOptionOutput added in v3.8.0

func (i *CustomFieldOption) ToCustomFieldOptionOutput() CustomFieldOptionOutput

func (*CustomFieldOption) ToCustomFieldOptionOutputWithContext added in v3.8.0

func (i *CustomFieldOption) ToCustomFieldOptionOutputWithContext(ctx context.Context) CustomFieldOptionOutput

type CustomFieldOptionArgs added in v3.8.0

type CustomFieldOptionArgs struct {
	// The datatype of the field option. Must be one of `string`, `integer`, `float`, `boolean`, `datetime`, or `url`.
	Datatype pulumi.StringInput
	// The ID of the field.
	Field pulumi.StringInput
	// The allowed value.
	Value pulumi.StringInput
}

The set of arguments for constructing a CustomFieldOption resource.

func (CustomFieldOptionArgs) ElementType added in v3.8.0

func (CustomFieldOptionArgs) ElementType() reflect.Type

type CustomFieldOptionArray added in v3.8.0

type CustomFieldOptionArray []CustomFieldOptionInput

func (CustomFieldOptionArray) ElementType added in v3.8.0

func (CustomFieldOptionArray) ElementType() reflect.Type

func (CustomFieldOptionArray) ToCustomFieldOptionArrayOutput added in v3.8.0

func (i CustomFieldOptionArray) ToCustomFieldOptionArrayOutput() CustomFieldOptionArrayOutput

func (CustomFieldOptionArray) ToCustomFieldOptionArrayOutputWithContext added in v3.8.0

func (i CustomFieldOptionArray) ToCustomFieldOptionArrayOutputWithContext(ctx context.Context) CustomFieldOptionArrayOutput

type CustomFieldOptionArrayInput added in v3.8.0

type CustomFieldOptionArrayInput interface {
	pulumi.Input

	ToCustomFieldOptionArrayOutput() CustomFieldOptionArrayOutput
	ToCustomFieldOptionArrayOutputWithContext(context.Context) CustomFieldOptionArrayOutput
}

CustomFieldOptionArrayInput is an input type that accepts CustomFieldOptionArray and CustomFieldOptionArrayOutput values. You can construct a concrete instance of `CustomFieldOptionArrayInput` via:

CustomFieldOptionArray{ CustomFieldOptionArgs{...} }

type CustomFieldOptionArrayOutput added in v3.8.0

type CustomFieldOptionArrayOutput struct{ *pulumi.OutputState }

func (CustomFieldOptionArrayOutput) ElementType added in v3.8.0

func (CustomFieldOptionArrayOutput) Index added in v3.8.0

func (CustomFieldOptionArrayOutput) ToCustomFieldOptionArrayOutput added in v3.8.0

func (o CustomFieldOptionArrayOutput) ToCustomFieldOptionArrayOutput() CustomFieldOptionArrayOutput

func (CustomFieldOptionArrayOutput) ToCustomFieldOptionArrayOutputWithContext added in v3.8.0

func (o CustomFieldOptionArrayOutput) ToCustomFieldOptionArrayOutputWithContext(ctx context.Context) CustomFieldOptionArrayOutput

type CustomFieldOptionInput added in v3.8.0

type CustomFieldOptionInput interface {
	pulumi.Input

	ToCustomFieldOptionOutput() CustomFieldOptionOutput
	ToCustomFieldOptionOutputWithContext(ctx context.Context) CustomFieldOptionOutput
}

type CustomFieldOptionMap added in v3.8.0

type CustomFieldOptionMap map[string]CustomFieldOptionInput

func (CustomFieldOptionMap) ElementType added in v3.8.0

func (CustomFieldOptionMap) ElementType() reflect.Type

func (CustomFieldOptionMap) ToCustomFieldOptionMapOutput added in v3.8.0

func (i CustomFieldOptionMap) ToCustomFieldOptionMapOutput() CustomFieldOptionMapOutput

func (CustomFieldOptionMap) ToCustomFieldOptionMapOutputWithContext added in v3.8.0

func (i CustomFieldOptionMap) ToCustomFieldOptionMapOutputWithContext(ctx context.Context) CustomFieldOptionMapOutput

type CustomFieldOptionMapInput added in v3.8.0

type CustomFieldOptionMapInput interface {
	pulumi.Input

	ToCustomFieldOptionMapOutput() CustomFieldOptionMapOutput
	ToCustomFieldOptionMapOutputWithContext(context.Context) CustomFieldOptionMapOutput
}

CustomFieldOptionMapInput is an input type that accepts CustomFieldOptionMap and CustomFieldOptionMapOutput values. You can construct a concrete instance of `CustomFieldOptionMapInput` via:

CustomFieldOptionMap{ "key": CustomFieldOptionArgs{...} }

type CustomFieldOptionMapOutput added in v3.8.0

type CustomFieldOptionMapOutput struct{ *pulumi.OutputState }

func (CustomFieldOptionMapOutput) ElementType added in v3.8.0

func (CustomFieldOptionMapOutput) ElementType() reflect.Type

func (CustomFieldOptionMapOutput) MapIndex added in v3.8.0

func (CustomFieldOptionMapOutput) ToCustomFieldOptionMapOutput added in v3.8.0

func (o CustomFieldOptionMapOutput) ToCustomFieldOptionMapOutput() CustomFieldOptionMapOutput

func (CustomFieldOptionMapOutput) ToCustomFieldOptionMapOutputWithContext added in v3.8.0

func (o CustomFieldOptionMapOutput) ToCustomFieldOptionMapOutputWithContext(ctx context.Context) CustomFieldOptionMapOutput

type CustomFieldOptionOutput added in v3.8.0

type CustomFieldOptionOutput struct{ *pulumi.OutputState }

func (CustomFieldOptionOutput) Datatype added in v3.8.0

The datatype of the field option. Must be one of `string`, `integer`, `float`, `boolean`, `datetime`, or `url`.

func (CustomFieldOptionOutput) ElementType added in v3.8.0

func (CustomFieldOptionOutput) ElementType() reflect.Type

func (CustomFieldOptionOutput) Field added in v3.8.0

The ID of the field.

func (CustomFieldOptionOutput) ToCustomFieldOptionOutput added in v3.8.0

func (o CustomFieldOptionOutput) ToCustomFieldOptionOutput() CustomFieldOptionOutput

func (CustomFieldOptionOutput) ToCustomFieldOptionOutputWithContext added in v3.8.0

func (o CustomFieldOptionOutput) ToCustomFieldOptionOutputWithContext(ctx context.Context) CustomFieldOptionOutput

func (CustomFieldOptionOutput) Value added in v3.8.0

The allowed value.

type CustomFieldOptionState added in v3.8.0

type CustomFieldOptionState struct {
	// The datatype of the field option. Must be one of `string`, `integer`, `float`, `boolean`, `datetime`, or `url`.
	Datatype pulumi.StringPtrInput
	// The ID of the field.
	Field pulumi.StringPtrInput
	// The allowed value.
	Value pulumi.StringPtrInput
}

func (CustomFieldOptionState) ElementType added in v3.8.0

func (CustomFieldOptionState) ElementType() reflect.Type

type CustomFieldOutput added in v3.8.0

type CustomFieldOutput struct{ *pulumi.OutputState }

func (CustomFieldOutput) Datatype added in v3.8.0

func (o CustomFieldOutput) Datatype() pulumi.StringOutput

The datatype of the field. Must be one of `string`, `integer`, `float`, `boolean`, `datetime`, or `url`.

func (CustomFieldOutput) Description added in v3.8.0

func (o CustomFieldOutput) Description() pulumi.StringPtrOutput

func (CustomFieldOutput) DisplayName added in v3.8.0

func (o CustomFieldOutput) DisplayName() pulumi.StringOutput

func (CustomFieldOutput) ElementType added in v3.8.0

func (CustomFieldOutput) ElementType() reflect.Type

func (CustomFieldOutput) FixedOptions added in v3.8.0

func (o CustomFieldOutput) FixedOptions() pulumi.BoolPtrOutput

True if the field can only accept values from a set of options.

func (CustomFieldOutput) MultiValue added in v3.8.0

func (o CustomFieldOutput) MultiValue() pulumi.BoolPtrOutput

True if the field can accept multiple values.

func (CustomFieldOutput) Name added in v3.8.0

The name of the field.

func (CustomFieldOutput) ToCustomFieldOutput added in v3.8.0

func (o CustomFieldOutput) ToCustomFieldOutput() CustomFieldOutput

func (CustomFieldOutput) ToCustomFieldOutputWithContext added in v3.8.0

func (o CustomFieldOutput) ToCustomFieldOutputWithContext(ctx context.Context) CustomFieldOutput

type CustomFieldSchema added in v3.8.0

type CustomFieldSchema struct {
	pulumi.CustomResourceState

	// The description of the field schema.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The title of the field schema.
	Title pulumi.StringOutput `pulumi:"title"`
}

!> This Resource is no longer functional. Documentation is left here for the purpose of documenting migration steps.

A [Custom Field Schema](https://support.pagerduty.com/docs/custom-fields#schemas) is a set of Custom Fields which can be set on an incident.

## Migration

This resource has no currently functional counterpart. Custom Fields on Incidents are now applied globally to incidents within an account and have no notion of a Field Schema.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewCustomField(ctx, "csImpact", &pagerduty.CustomFieldArgs{
			Datatype: pulumi.String("string"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewCustomFieldSchema(ctx, "mySchema", &pagerduty.CustomFieldSchemaArgs{
			Description: pulumi.String("Fields used on incidents"),
			Title:       pulumi.String("My Schema"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Fields schemas can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/customFieldSchema:CustomFieldSchema my_schema PLBP09X

```

func GetCustomFieldSchema added in v3.8.0

func GetCustomFieldSchema(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomFieldSchemaState, opts ...pulumi.ResourceOption) (*CustomFieldSchema, error)

GetCustomFieldSchema gets an existing CustomFieldSchema resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCustomFieldSchema added in v3.8.0

func NewCustomFieldSchema(ctx *pulumi.Context,
	name string, args *CustomFieldSchemaArgs, opts ...pulumi.ResourceOption) (*CustomFieldSchema, error)

NewCustomFieldSchema registers a new resource with the given unique name, arguments, and options.

func (*CustomFieldSchema) ElementType added in v3.8.0

func (*CustomFieldSchema) ElementType() reflect.Type

func (*CustomFieldSchema) ToCustomFieldSchemaOutput added in v3.8.0

func (i *CustomFieldSchema) ToCustomFieldSchemaOutput() CustomFieldSchemaOutput

func (*CustomFieldSchema) ToCustomFieldSchemaOutputWithContext added in v3.8.0

func (i *CustomFieldSchema) ToCustomFieldSchemaOutputWithContext(ctx context.Context) CustomFieldSchemaOutput

type CustomFieldSchemaArgs added in v3.8.0

type CustomFieldSchemaArgs struct {
	// The description of the field schema.
	Description pulumi.StringPtrInput
	// The title of the field schema.
	Title pulumi.StringInput
}

The set of arguments for constructing a CustomFieldSchema resource.

func (CustomFieldSchemaArgs) ElementType added in v3.8.0

func (CustomFieldSchemaArgs) ElementType() reflect.Type

type CustomFieldSchemaArray added in v3.8.0

type CustomFieldSchemaArray []CustomFieldSchemaInput

func (CustomFieldSchemaArray) ElementType added in v3.8.0

func (CustomFieldSchemaArray) ElementType() reflect.Type

func (CustomFieldSchemaArray) ToCustomFieldSchemaArrayOutput added in v3.8.0

func (i CustomFieldSchemaArray) ToCustomFieldSchemaArrayOutput() CustomFieldSchemaArrayOutput

func (CustomFieldSchemaArray) ToCustomFieldSchemaArrayOutputWithContext added in v3.8.0

func (i CustomFieldSchemaArray) ToCustomFieldSchemaArrayOutputWithContext(ctx context.Context) CustomFieldSchemaArrayOutput

type CustomFieldSchemaArrayInput added in v3.8.0

type CustomFieldSchemaArrayInput interface {
	pulumi.Input

	ToCustomFieldSchemaArrayOutput() CustomFieldSchemaArrayOutput
	ToCustomFieldSchemaArrayOutputWithContext(context.Context) CustomFieldSchemaArrayOutput
}

CustomFieldSchemaArrayInput is an input type that accepts CustomFieldSchemaArray and CustomFieldSchemaArrayOutput values. You can construct a concrete instance of `CustomFieldSchemaArrayInput` via:

CustomFieldSchemaArray{ CustomFieldSchemaArgs{...} }

type CustomFieldSchemaArrayOutput added in v3.8.0

type CustomFieldSchemaArrayOutput struct{ *pulumi.OutputState }

func (CustomFieldSchemaArrayOutput) ElementType added in v3.8.0

func (CustomFieldSchemaArrayOutput) Index added in v3.8.0

func (CustomFieldSchemaArrayOutput) ToCustomFieldSchemaArrayOutput added in v3.8.0

func (o CustomFieldSchemaArrayOutput) ToCustomFieldSchemaArrayOutput() CustomFieldSchemaArrayOutput

func (CustomFieldSchemaArrayOutput) ToCustomFieldSchemaArrayOutputWithContext added in v3.8.0

func (o CustomFieldSchemaArrayOutput) ToCustomFieldSchemaArrayOutputWithContext(ctx context.Context) CustomFieldSchemaArrayOutput

type CustomFieldSchemaAssignment added in v3.8.0

type CustomFieldSchemaAssignment struct {
	pulumi.CustomResourceState

	// The id of the field schema.
	Schema pulumi.StringOutput `pulumi:"schema"`
	// The id of the service.
	Service pulumi.StringOutput `pulumi:"service"`
}

!> This Resource is no longer functional. Documentation is left here for the purpose of documenting migration steps.

A [Custom Field Schema Assignment](https://support.pagerduty.com/docs/custom-fields#associate-schemas-with-services) is a relationship between a Custom Field Schema and a Service.

## Migration

This resource has no currently functional counterpart. Custom Fields on Incidents are now applied globally to incidents within an account and have no notion of a Field Schema.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewCustomField(ctx, "csImpact", &pagerduty.CustomFieldArgs{
			Datatype: pulumi.String("string"),
		})
		if err != nil {
			return err
		}
		mySchema, err := pagerduty.NewCustomFieldSchema(ctx, "mySchema", &pagerduty.CustomFieldSchemaArgs{
			Title:       pulumi.String("My Schema"),
			Description: pulumi.String("Fields used on incidents"),
		})
		if err != nil {
			return err
		}
		firstService, err := pagerduty.LookupService(ctx, &pagerduty.LookupServiceArgs{
			Name: "My First Service",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewCustomFieldSchemaAssignment(ctx, "assignment", &pagerduty.CustomFieldSchemaAssignmentArgs{
			Schema:  mySchema.ID(),
			Service: *pulumi.String(firstService.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetCustomFieldSchemaAssignment added in v3.8.0

func GetCustomFieldSchemaAssignment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomFieldSchemaAssignmentState, opts ...pulumi.ResourceOption) (*CustomFieldSchemaAssignment, error)

GetCustomFieldSchemaAssignment gets an existing CustomFieldSchemaAssignment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCustomFieldSchemaAssignment added in v3.8.0

func NewCustomFieldSchemaAssignment(ctx *pulumi.Context,
	name string, args *CustomFieldSchemaAssignmentArgs, opts ...pulumi.ResourceOption) (*CustomFieldSchemaAssignment, error)

NewCustomFieldSchemaAssignment registers a new resource with the given unique name, arguments, and options.

func (*CustomFieldSchemaAssignment) ElementType added in v3.8.0

func (*CustomFieldSchemaAssignment) ElementType() reflect.Type

func (*CustomFieldSchemaAssignment) ToCustomFieldSchemaAssignmentOutput added in v3.8.0

func (i *CustomFieldSchemaAssignment) ToCustomFieldSchemaAssignmentOutput() CustomFieldSchemaAssignmentOutput

func (*CustomFieldSchemaAssignment) ToCustomFieldSchemaAssignmentOutputWithContext added in v3.8.0

func (i *CustomFieldSchemaAssignment) ToCustomFieldSchemaAssignmentOutputWithContext(ctx context.Context) CustomFieldSchemaAssignmentOutput

type CustomFieldSchemaAssignmentArgs added in v3.8.0

type CustomFieldSchemaAssignmentArgs struct {
	// The id of the field schema.
	Schema pulumi.StringInput
	// The id of the service.
	Service pulumi.StringInput
}

The set of arguments for constructing a CustomFieldSchemaAssignment resource.

func (CustomFieldSchemaAssignmentArgs) ElementType added in v3.8.0

type CustomFieldSchemaAssignmentArray added in v3.8.0

type CustomFieldSchemaAssignmentArray []CustomFieldSchemaAssignmentInput

func (CustomFieldSchemaAssignmentArray) ElementType added in v3.8.0

func (CustomFieldSchemaAssignmentArray) ToCustomFieldSchemaAssignmentArrayOutput added in v3.8.0

func (i CustomFieldSchemaAssignmentArray) ToCustomFieldSchemaAssignmentArrayOutput() CustomFieldSchemaAssignmentArrayOutput

func (CustomFieldSchemaAssignmentArray) ToCustomFieldSchemaAssignmentArrayOutputWithContext added in v3.8.0

func (i CustomFieldSchemaAssignmentArray) ToCustomFieldSchemaAssignmentArrayOutputWithContext(ctx context.Context) CustomFieldSchemaAssignmentArrayOutput

type CustomFieldSchemaAssignmentArrayInput added in v3.8.0

type CustomFieldSchemaAssignmentArrayInput interface {
	pulumi.Input

	ToCustomFieldSchemaAssignmentArrayOutput() CustomFieldSchemaAssignmentArrayOutput
	ToCustomFieldSchemaAssignmentArrayOutputWithContext(context.Context) CustomFieldSchemaAssignmentArrayOutput
}

CustomFieldSchemaAssignmentArrayInput is an input type that accepts CustomFieldSchemaAssignmentArray and CustomFieldSchemaAssignmentArrayOutput values. You can construct a concrete instance of `CustomFieldSchemaAssignmentArrayInput` via:

CustomFieldSchemaAssignmentArray{ CustomFieldSchemaAssignmentArgs{...} }

type CustomFieldSchemaAssignmentArrayOutput added in v3.8.0

type CustomFieldSchemaAssignmentArrayOutput struct{ *pulumi.OutputState }

func (CustomFieldSchemaAssignmentArrayOutput) ElementType added in v3.8.0

func (CustomFieldSchemaAssignmentArrayOutput) Index added in v3.8.0

func (CustomFieldSchemaAssignmentArrayOutput) ToCustomFieldSchemaAssignmentArrayOutput added in v3.8.0

func (o CustomFieldSchemaAssignmentArrayOutput) ToCustomFieldSchemaAssignmentArrayOutput() CustomFieldSchemaAssignmentArrayOutput

func (CustomFieldSchemaAssignmentArrayOutput) ToCustomFieldSchemaAssignmentArrayOutputWithContext added in v3.8.0

func (o CustomFieldSchemaAssignmentArrayOutput) ToCustomFieldSchemaAssignmentArrayOutputWithContext(ctx context.Context) CustomFieldSchemaAssignmentArrayOutput

type CustomFieldSchemaAssignmentInput added in v3.8.0

type CustomFieldSchemaAssignmentInput interface {
	pulumi.Input

	ToCustomFieldSchemaAssignmentOutput() CustomFieldSchemaAssignmentOutput
	ToCustomFieldSchemaAssignmentOutputWithContext(ctx context.Context) CustomFieldSchemaAssignmentOutput
}

type CustomFieldSchemaAssignmentMap added in v3.8.0

type CustomFieldSchemaAssignmentMap map[string]CustomFieldSchemaAssignmentInput

func (CustomFieldSchemaAssignmentMap) ElementType added in v3.8.0

func (CustomFieldSchemaAssignmentMap) ToCustomFieldSchemaAssignmentMapOutput added in v3.8.0

func (i CustomFieldSchemaAssignmentMap) ToCustomFieldSchemaAssignmentMapOutput() CustomFieldSchemaAssignmentMapOutput

func (CustomFieldSchemaAssignmentMap) ToCustomFieldSchemaAssignmentMapOutputWithContext added in v3.8.0

func (i CustomFieldSchemaAssignmentMap) ToCustomFieldSchemaAssignmentMapOutputWithContext(ctx context.Context) CustomFieldSchemaAssignmentMapOutput

type CustomFieldSchemaAssignmentMapInput added in v3.8.0

type CustomFieldSchemaAssignmentMapInput interface {
	pulumi.Input

	ToCustomFieldSchemaAssignmentMapOutput() CustomFieldSchemaAssignmentMapOutput
	ToCustomFieldSchemaAssignmentMapOutputWithContext(context.Context) CustomFieldSchemaAssignmentMapOutput
}

CustomFieldSchemaAssignmentMapInput is an input type that accepts CustomFieldSchemaAssignmentMap and CustomFieldSchemaAssignmentMapOutput values. You can construct a concrete instance of `CustomFieldSchemaAssignmentMapInput` via:

CustomFieldSchemaAssignmentMap{ "key": CustomFieldSchemaAssignmentArgs{...} }

type CustomFieldSchemaAssignmentMapOutput added in v3.8.0

type CustomFieldSchemaAssignmentMapOutput struct{ *pulumi.OutputState }

func (CustomFieldSchemaAssignmentMapOutput) ElementType added in v3.8.0

func (CustomFieldSchemaAssignmentMapOutput) MapIndex added in v3.8.0

func (CustomFieldSchemaAssignmentMapOutput) ToCustomFieldSchemaAssignmentMapOutput added in v3.8.0

func (o CustomFieldSchemaAssignmentMapOutput) ToCustomFieldSchemaAssignmentMapOutput() CustomFieldSchemaAssignmentMapOutput

func (CustomFieldSchemaAssignmentMapOutput) ToCustomFieldSchemaAssignmentMapOutputWithContext added in v3.8.0

func (o CustomFieldSchemaAssignmentMapOutput) ToCustomFieldSchemaAssignmentMapOutputWithContext(ctx context.Context) CustomFieldSchemaAssignmentMapOutput

type CustomFieldSchemaAssignmentOutput added in v3.8.0

type CustomFieldSchemaAssignmentOutput struct{ *pulumi.OutputState }

func (CustomFieldSchemaAssignmentOutput) ElementType added in v3.8.0

func (CustomFieldSchemaAssignmentOutput) Schema added in v3.8.0

The id of the field schema.

func (CustomFieldSchemaAssignmentOutput) Service added in v3.8.0

The id of the service.

func (CustomFieldSchemaAssignmentOutput) ToCustomFieldSchemaAssignmentOutput added in v3.8.0

func (o CustomFieldSchemaAssignmentOutput) ToCustomFieldSchemaAssignmentOutput() CustomFieldSchemaAssignmentOutput

func (CustomFieldSchemaAssignmentOutput) ToCustomFieldSchemaAssignmentOutputWithContext added in v3.8.0

func (o CustomFieldSchemaAssignmentOutput) ToCustomFieldSchemaAssignmentOutputWithContext(ctx context.Context) CustomFieldSchemaAssignmentOutput

type CustomFieldSchemaAssignmentState added in v3.8.0

type CustomFieldSchemaAssignmentState struct {
	// The id of the field schema.
	Schema pulumi.StringPtrInput
	// The id of the service.
	Service pulumi.StringPtrInput
}

func (CustomFieldSchemaAssignmentState) ElementType added in v3.8.0

type CustomFieldSchemaFieldConfiguration added in v3.8.0

type CustomFieldSchemaFieldConfiguration struct {
	pulumi.CustomResourceState

	// The default value for the field.
	DefaultValue pulumi.StringPtrOutput `pulumi:"defaultValue"`
	// The datatype of the default value.
	DefaultValueDatatype pulumi.StringPtrOutput `pulumi:"defaultValueDatatype"`
	// Whether or not the default value is multi-valued.
	DefaultValueMultiValue pulumi.BoolPtrOutput `pulumi:"defaultValueMultiValue"`
	// The ID of the field.
	Field pulumi.StringOutput `pulumi:"field"`
	// True if the field is required
	Required pulumi.BoolPtrOutput `pulumi:"required"`
	// The ID of the schema.
	Schema pulumi.StringOutput `pulumi:"schema"`
}

!> This Resource is no longer functional. Documentation is left here for the purpose of documenting migration steps.

A [Custom Field Configuration](https://support.pagerduty.com/docs/custom-fields#associate-schemas-with-services) is a declaration of a specific Custom Field in a specific Custom Field Schema.

## Migration

This resource has no currently functional counterpart. Custom Fields on Incidents are now applied globally to incidents within an account and have no notion of a Field Schema.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		csImpact, err := pagerduty.NewCustomField(ctx, "csImpact", &pagerduty.CustomFieldArgs{
			Datatype: pulumi.String("string"),
		})
		if err != nil {
			return err
		}
		mySchema, err := pagerduty.NewCustomFieldSchema(ctx, "mySchema", &pagerduty.CustomFieldSchemaArgs{
			Title:       pulumi.String("My Schema"),
			Description: pulumi.String("Fields used on incidents"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewCustomFieldSchemaFieldConfiguration(ctx, "firstFieldConfiguration", &pagerduty.CustomFieldSchemaFieldConfigurationArgs{
			Schema:               mySchema.ID(),
			Field:                csImpact.ID(),
			Required:             pulumi.Bool(true),
			DefaultValue:         pulumi.String("none"),
			DefaultValueDatatype: pulumi.String("string"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetCustomFieldSchemaFieldConfiguration added in v3.8.0

func GetCustomFieldSchemaFieldConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomFieldSchemaFieldConfigurationState, opts ...pulumi.ResourceOption) (*CustomFieldSchemaFieldConfiguration, error)

GetCustomFieldSchemaFieldConfiguration gets an existing CustomFieldSchemaFieldConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCustomFieldSchemaFieldConfiguration added in v3.8.0

func NewCustomFieldSchemaFieldConfiguration(ctx *pulumi.Context,
	name string, args *CustomFieldSchemaFieldConfigurationArgs, opts ...pulumi.ResourceOption) (*CustomFieldSchemaFieldConfiguration, error)

NewCustomFieldSchemaFieldConfiguration registers a new resource with the given unique name, arguments, and options.

func (*CustomFieldSchemaFieldConfiguration) ElementType added in v3.8.0

func (*CustomFieldSchemaFieldConfiguration) ToCustomFieldSchemaFieldConfigurationOutput added in v3.8.0

func (i *CustomFieldSchemaFieldConfiguration) ToCustomFieldSchemaFieldConfigurationOutput() CustomFieldSchemaFieldConfigurationOutput

func (*CustomFieldSchemaFieldConfiguration) ToCustomFieldSchemaFieldConfigurationOutputWithContext added in v3.8.0

func (i *CustomFieldSchemaFieldConfiguration) ToCustomFieldSchemaFieldConfigurationOutputWithContext(ctx context.Context) CustomFieldSchemaFieldConfigurationOutput

type CustomFieldSchemaFieldConfigurationArgs added in v3.8.0

type CustomFieldSchemaFieldConfigurationArgs struct {
	// The default value for the field.
	DefaultValue pulumi.StringPtrInput
	// The datatype of the default value.
	DefaultValueDatatype pulumi.StringPtrInput
	// Whether or not the default value is multi-valued.
	DefaultValueMultiValue pulumi.BoolPtrInput
	// The ID of the field.
	Field pulumi.StringInput
	// True if the field is required
	Required pulumi.BoolPtrInput
	// The ID of the schema.
	Schema pulumi.StringInput
}

The set of arguments for constructing a CustomFieldSchemaFieldConfiguration resource.

func (CustomFieldSchemaFieldConfigurationArgs) ElementType added in v3.8.0

type CustomFieldSchemaFieldConfigurationArray added in v3.8.0

type CustomFieldSchemaFieldConfigurationArray []CustomFieldSchemaFieldConfigurationInput

func (CustomFieldSchemaFieldConfigurationArray) ElementType added in v3.8.0

func (CustomFieldSchemaFieldConfigurationArray) ToCustomFieldSchemaFieldConfigurationArrayOutput added in v3.8.0

func (i CustomFieldSchemaFieldConfigurationArray) ToCustomFieldSchemaFieldConfigurationArrayOutput() CustomFieldSchemaFieldConfigurationArrayOutput

func (CustomFieldSchemaFieldConfigurationArray) ToCustomFieldSchemaFieldConfigurationArrayOutputWithContext added in v3.8.0

func (i CustomFieldSchemaFieldConfigurationArray) ToCustomFieldSchemaFieldConfigurationArrayOutputWithContext(ctx context.Context) CustomFieldSchemaFieldConfigurationArrayOutput

type CustomFieldSchemaFieldConfigurationArrayInput added in v3.8.0

type CustomFieldSchemaFieldConfigurationArrayInput interface {
	pulumi.Input

	ToCustomFieldSchemaFieldConfigurationArrayOutput() CustomFieldSchemaFieldConfigurationArrayOutput
	ToCustomFieldSchemaFieldConfigurationArrayOutputWithContext(context.Context) CustomFieldSchemaFieldConfigurationArrayOutput
}

CustomFieldSchemaFieldConfigurationArrayInput is an input type that accepts CustomFieldSchemaFieldConfigurationArray and CustomFieldSchemaFieldConfigurationArrayOutput values. You can construct a concrete instance of `CustomFieldSchemaFieldConfigurationArrayInput` via:

CustomFieldSchemaFieldConfigurationArray{ CustomFieldSchemaFieldConfigurationArgs{...} }

type CustomFieldSchemaFieldConfigurationArrayOutput added in v3.8.0

type CustomFieldSchemaFieldConfigurationArrayOutput struct{ *pulumi.OutputState }

func (CustomFieldSchemaFieldConfigurationArrayOutput) ElementType added in v3.8.0

func (CustomFieldSchemaFieldConfigurationArrayOutput) Index added in v3.8.0

func (CustomFieldSchemaFieldConfigurationArrayOutput) ToCustomFieldSchemaFieldConfigurationArrayOutput added in v3.8.0

func (o CustomFieldSchemaFieldConfigurationArrayOutput) ToCustomFieldSchemaFieldConfigurationArrayOutput() CustomFieldSchemaFieldConfigurationArrayOutput

func (CustomFieldSchemaFieldConfigurationArrayOutput) ToCustomFieldSchemaFieldConfigurationArrayOutputWithContext added in v3.8.0

func (o CustomFieldSchemaFieldConfigurationArrayOutput) ToCustomFieldSchemaFieldConfigurationArrayOutputWithContext(ctx context.Context) CustomFieldSchemaFieldConfigurationArrayOutput

type CustomFieldSchemaFieldConfigurationInput added in v3.8.0

type CustomFieldSchemaFieldConfigurationInput interface {
	pulumi.Input

	ToCustomFieldSchemaFieldConfigurationOutput() CustomFieldSchemaFieldConfigurationOutput
	ToCustomFieldSchemaFieldConfigurationOutputWithContext(ctx context.Context) CustomFieldSchemaFieldConfigurationOutput
}

type CustomFieldSchemaFieldConfigurationMap added in v3.8.0

type CustomFieldSchemaFieldConfigurationMap map[string]CustomFieldSchemaFieldConfigurationInput

func (CustomFieldSchemaFieldConfigurationMap) ElementType added in v3.8.0

func (CustomFieldSchemaFieldConfigurationMap) ToCustomFieldSchemaFieldConfigurationMapOutput added in v3.8.0

func (i CustomFieldSchemaFieldConfigurationMap) ToCustomFieldSchemaFieldConfigurationMapOutput() CustomFieldSchemaFieldConfigurationMapOutput

func (CustomFieldSchemaFieldConfigurationMap) ToCustomFieldSchemaFieldConfigurationMapOutputWithContext added in v3.8.0

func (i CustomFieldSchemaFieldConfigurationMap) ToCustomFieldSchemaFieldConfigurationMapOutputWithContext(ctx context.Context) CustomFieldSchemaFieldConfigurationMapOutput

type CustomFieldSchemaFieldConfigurationMapInput added in v3.8.0

type CustomFieldSchemaFieldConfigurationMapInput interface {
	pulumi.Input

	ToCustomFieldSchemaFieldConfigurationMapOutput() CustomFieldSchemaFieldConfigurationMapOutput
	ToCustomFieldSchemaFieldConfigurationMapOutputWithContext(context.Context) CustomFieldSchemaFieldConfigurationMapOutput
}

CustomFieldSchemaFieldConfigurationMapInput is an input type that accepts CustomFieldSchemaFieldConfigurationMap and CustomFieldSchemaFieldConfigurationMapOutput values. You can construct a concrete instance of `CustomFieldSchemaFieldConfigurationMapInput` via:

CustomFieldSchemaFieldConfigurationMap{ "key": CustomFieldSchemaFieldConfigurationArgs{...} }

type CustomFieldSchemaFieldConfigurationMapOutput added in v3.8.0

type CustomFieldSchemaFieldConfigurationMapOutput struct{ *pulumi.OutputState }

func (CustomFieldSchemaFieldConfigurationMapOutput) ElementType added in v3.8.0

func (CustomFieldSchemaFieldConfigurationMapOutput) MapIndex added in v3.8.0

func (CustomFieldSchemaFieldConfigurationMapOutput) ToCustomFieldSchemaFieldConfigurationMapOutput added in v3.8.0

func (o CustomFieldSchemaFieldConfigurationMapOutput) ToCustomFieldSchemaFieldConfigurationMapOutput() CustomFieldSchemaFieldConfigurationMapOutput

func (CustomFieldSchemaFieldConfigurationMapOutput) ToCustomFieldSchemaFieldConfigurationMapOutputWithContext added in v3.8.0

func (o CustomFieldSchemaFieldConfigurationMapOutput) ToCustomFieldSchemaFieldConfigurationMapOutputWithContext(ctx context.Context) CustomFieldSchemaFieldConfigurationMapOutput

type CustomFieldSchemaFieldConfigurationOutput added in v3.8.0

type CustomFieldSchemaFieldConfigurationOutput struct{ *pulumi.OutputState }

func (CustomFieldSchemaFieldConfigurationOutput) DefaultValue added in v3.8.0

The default value for the field.

func (CustomFieldSchemaFieldConfigurationOutput) DefaultValueDatatype added in v3.8.0

The datatype of the default value.

func (CustomFieldSchemaFieldConfigurationOutput) DefaultValueMultiValue added in v3.8.0

Whether or not the default value is multi-valued.

func (CustomFieldSchemaFieldConfigurationOutput) ElementType added in v3.8.0

func (CustomFieldSchemaFieldConfigurationOutput) Field added in v3.8.0

The ID of the field.

func (CustomFieldSchemaFieldConfigurationOutput) Required added in v3.8.0

True if the field is required

func (CustomFieldSchemaFieldConfigurationOutput) Schema added in v3.8.0

The ID of the schema.

func (CustomFieldSchemaFieldConfigurationOutput) ToCustomFieldSchemaFieldConfigurationOutput added in v3.8.0

func (o CustomFieldSchemaFieldConfigurationOutput) ToCustomFieldSchemaFieldConfigurationOutput() CustomFieldSchemaFieldConfigurationOutput

func (CustomFieldSchemaFieldConfigurationOutput) ToCustomFieldSchemaFieldConfigurationOutputWithContext added in v3.8.0

func (o CustomFieldSchemaFieldConfigurationOutput) ToCustomFieldSchemaFieldConfigurationOutputWithContext(ctx context.Context) CustomFieldSchemaFieldConfigurationOutput

type CustomFieldSchemaFieldConfigurationState added in v3.8.0

type CustomFieldSchemaFieldConfigurationState struct {
	// The default value for the field.
	DefaultValue pulumi.StringPtrInput
	// The datatype of the default value.
	DefaultValueDatatype pulumi.StringPtrInput
	// Whether or not the default value is multi-valued.
	DefaultValueMultiValue pulumi.BoolPtrInput
	// The ID of the field.
	Field pulumi.StringPtrInput
	// True if the field is required
	Required pulumi.BoolPtrInput
	// The ID of the schema.
	Schema pulumi.StringPtrInput
}

func (CustomFieldSchemaFieldConfigurationState) ElementType added in v3.8.0

type CustomFieldSchemaInput added in v3.8.0

type CustomFieldSchemaInput interface {
	pulumi.Input

	ToCustomFieldSchemaOutput() CustomFieldSchemaOutput
	ToCustomFieldSchemaOutputWithContext(ctx context.Context) CustomFieldSchemaOutput
}

type CustomFieldSchemaMap added in v3.8.0

type CustomFieldSchemaMap map[string]CustomFieldSchemaInput

func (CustomFieldSchemaMap) ElementType added in v3.8.0

func (CustomFieldSchemaMap) ElementType() reflect.Type

func (CustomFieldSchemaMap) ToCustomFieldSchemaMapOutput added in v3.8.0

func (i CustomFieldSchemaMap) ToCustomFieldSchemaMapOutput() CustomFieldSchemaMapOutput

func (CustomFieldSchemaMap) ToCustomFieldSchemaMapOutputWithContext added in v3.8.0

func (i CustomFieldSchemaMap) ToCustomFieldSchemaMapOutputWithContext(ctx context.Context) CustomFieldSchemaMapOutput

type CustomFieldSchemaMapInput added in v3.8.0

type CustomFieldSchemaMapInput interface {
	pulumi.Input

	ToCustomFieldSchemaMapOutput() CustomFieldSchemaMapOutput
	ToCustomFieldSchemaMapOutputWithContext(context.Context) CustomFieldSchemaMapOutput
}

CustomFieldSchemaMapInput is an input type that accepts CustomFieldSchemaMap and CustomFieldSchemaMapOutput values. You can construct a concrete instance of `CustomFieldSchemaMapInput` via:

CustomFieldSchemaMap{ "key": CustomFieldSchemaArgs{...} }

type CustomFieldSchemaMapOutput added in v3.8.0

type CustomFieldSchemaMapOutput struct{ *pulumi.OutputState }

func (CustomFieldSchemaMapOutput) ElementType added in v3.8.0

func (CustomFieldSchemaMapOutput) ElementType() reflect.Type

func (CustomFieldSchemaMapOutput) MapIndex added in v3.8.0

func (CustomFieldSchemaMapOutput) ToCustomFieldSchemaMapOutput added in v3.8.0

func (o CustomFieldSchemaMapOutput) ToCustomFieldSchemaMapOutput() CustomFieldSchemaMapOutput

func (CustomFieldSchemaMapOutput) ToCustomFieldSchemaMapOutputWithContext added in v3.8.0

func (o CustomFieldSchemaMapOutput) ToCustomFieldSchemaMapOutputWithContext(ctx context.Context) CustomFieldSchemaMapOutput

type CustomFieldSchemaOutput added in v3.8.0

type CustomFieldSchemaOutput struct{ *pulumi.OutputState }

func (CustomFieldSchemaOutput) Description added in v3.8.0

The description of the field schema.

func (CustomFieldSchemaOutput) ElementType added in v3.8.0

func (CustomFieldSchemaOutput) ElementType() reflect.Type

func (CustomFieldSchemaOutput) Title added in v3.8.0

The title of the field schema.

func (CustomFieldSchemaOutput) ToCustomFieldSchemaOutput added in v3.8.0

func (o CustomFieldSchemaOutput) ToCustomFieldSchemaOutput() CustomFieldSchemaOutput

func (CustomFieldSchemaOutput) ToCustomFieldSchemaOutputWithContext added in v3.8.0

func (o CustomFieldSchemaOutput) ToCustomFieldSchemaOutputWithContext(ctx context.Context) CustomFieldSchemaOutput

type CustomFieldSchemaState added in v3.8.0

type CustomFieldSchemaState struct {
	// The description of the field schema.
	Description pulumi.StringPtrInput
	// The title of the field schema.
	Title pulumi.StringPtrInput
}

func (CustomFieldSchemaState) ElementType added in v3.8.0

func (CustomFieldSchemaState) ElementType() reflect.Type

type CustomFieldState added in v3.8.0

type CustomFieldState struct {
	// The datatype of the field. Must be one of `string`, `integer`, `float`, `boolean`, `datetime`, or `url`.
	Datatype    pulumi.StringPtrInput
	Description pulumi.StringPtrInput
	DisplayName pulumi.StringPtrInput
	// True if the field can only accept values from a set of options.
	FixedOptions pulumi.BoolPtrInput
	// True if the field can accept multiple values.
	MultiValue pulumi.BoolPtrInput
	// The name of the field.
	Name pulumi.StringPtrInput
}

func (CustomFieldState) ElementType added in v3.8.0

func (CustomFieldState) ElementType() reflect.Type

type EscalationPolicy

type EscalationPolicy struct {
	pulumi.CustomResourceState

	Description pulumi.StringOutput `pulumi:"description"`
	// The name of the escalation policy.
	Name pulumi.StringOutput `pulumi:"name"`
	// The number of times the escalation policy will repeat after reaching the end of its escalation.
	NumLoops pulumi.IntPtrOutput `pulumi:"numLoops"`
	// An Escalation rule block. Escalation rules documented below.
	Rules EscalationPolicyRuleArrayOutput `pulumi:"rules"`
	// Team associated with the policy (Only 1 team can be assigned to an Escalation Policy). Account must have the `teams` ability to use this parameter.
	Teams pulumi.StringPtrOutput `pulumi:"teams"`
}

An [escalation policy](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEyNQ-create-an-escalation-policy) determines what user or schedule will be notified first, second, and so on when an incident is triggered. Escalation policies are used by one or more services.

## Import

Escalation policies can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/escalationPolicy:EscalationPolicy main PLBP09X

```

func GetEscalationPolicy

func GetEscalationPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EscalationPolicyState, opts ...pulumi.ResourceOption) (*EscalationPolicy, error)

GetEscalationPolicy gets an existing EscalationPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEscalationPolicy

func NewEscalationPolicy(ctx *pulumi.Context,
	name string, args *EscalationPolicyArgs, opts ...pulumi.ResourceOption) (*EscalationPolicy, error)

NewEscalationPolicy registers a new resource with the given unique name, arguments, and options.

func (*EscalationPolicy) ElementType

func (*EscalationPolicy) ElementType() reflect.Type

func (*EscalationPolicy) ToEscalationPolicyOutput

func (i *EscalationPolicy) ToEscalationPolicyOutput() EscalationPolicyOutput

func (*EscalationPolicy) ToEscalationPolicyOutputWithContext

func (i *EscalationPolicy) ToEscalationPolicyOutputWithContext(ctx context.Context) EscalationPolicyOutput

type EscalationPolicyArgs

type EscalationPolicyArgs struct {
	Description pulumi.StringPtrInput
	// The name of the escalation policy.
	Name pulumi.StringPtrInput
	// The number of times the escalation policy will repeat after reaching the end of its escalation.
	NumLoops pulumi.IntPtrInput
	// An Escalation rule block. Escalation rules documented below.
	Rules EscalationPolicyRuleArrayInput
	// Team associated with the policy (Only 1 team can be assigned to an Escalation Policy). Account must have the `teams` ability to use this parameter.
	Teams pulumi.StringPtrInput
}

The set of arguments for constructing a EscalationPolicy resource.

func (EscalationPolicyArgs) ElementType

func (EscalationPolicyArgs) ElementType() reflect.Type

type EscalationPolicyArray

type EscalationPolicyArray []EscalationPolicyInput

func (EscalationPolicyArray) ElementType

func (EscalationPolicyArray) ElementType() reflect.Type

func (EscalationPolicyArray) ToEscalationPolicyArrayOutput

func (i EscalationPolicyArray) ToEscalationPolicyArrayOutput() EscalationPolicyArrayOutput

func (EscalationPolicyArray) ToEscalationPolicyArrayOutputWithContext

func (i EscalationPolicyArray) ToEscalationPolicyArrayOutputWithContext(ctx context.Context) EscalationPolicyArrayOutput

type EscalationPolicyArrayInput

type EscalationPolicyArrayInput interface {
	pulumi.Input

	ToEscalationPolicyArrayOutput() EscalationPolicyArrayOutput
	ToEscalationPolicyArrayOutputWithContext(context.Context) EscalationPolicyArrayOutput
}

EscalationPolicyArrayInput is an input type that accepts EscalationPolicyArray and EscalationPolicyArrayOutput values. You can construct a concrete instance of `EscalationPolicyArrayInput` via:

EscalationPolicyArray{ EscalationPolicyArgs{...} }

type EscalationPolicyArrayOutput

type EscalationPolicyArrayOutput struct{ *pulumi.OutputState }

func (EscalationPolicyArrayOutput) ElementType

func (EscalationPolicyArrayOutput) Index

func (EscalationPolicyArrayOutput) ToEscalationPolicyArrayOutput

func (o EscalationPolicyArrayOutput) ToEscalationPolicyArrayOutput() EscalationPolicyArrayOutput

func (EscalationPolicyArrayOutput) ToEscalationPolicyArrayOutputWithContext

func (o EscalationPolicyArrayOutput) ToEscalationPolicyArrayOutputWithContext(ctx context.Context) EscalationPolicyArrayOutput

type EscalationPolicyInput

type EscalationPolicyInput interface {
	pulumi.Input

	ToEscalationPolicyOutput() EscalationPolicyOutput
	ToEscalationPolicyOutputWithContext(ctx context.Context) EscalationPolicyOutput
}

type EscalationPolicyMap

type EscalationPolicyMap map[string]EscalationPolicyInput

func (EscalationPolicyMap) ElementType

func (EscalationPolicyMap) ElementType() reflect.Type

func (EscalationPolicyMap) ToEscalationPolicyMapOutput

func (i EscalationPolicyMap) ToEscalationPolicyMapOutput() EscalationPolicyMapOutput

func (EscalationPolicyMap) ToEscalationPolicyMapOutputWithContext

func (i EscalationPolicyMap) ToEscalationPolicyMapOutputWithContext(ctx context.Context) EscalationPolicyMapOutput

type EscalationPolicyMapInput

type EscalationPolicyMapInput interface {
	pulumi.Input

	ToEscalationPolicyMapOutput() EscalationPolicyMapOutput
	ToEscalationPolicyMapOutputWithContext(context.Context) EscalationPolicyMapOutput
}

EscalationPolicyMapInput is an input type that accepts EscalationPolicyMap and EscalationPolicyMapOutput values. You can construct a concrete instance of `EscalationPolicyMapInput` via:

EscalationPolicyMap{ "key": EscalationPolicyArgs{...} }

type EscalationPolicyMapOutput

type EscalationPolicyMapOutput struct{ *pulumi.OutputState }

func (EscalationPolicyMapOutput) ElementType

func (EscalationPolicyMapOutput) ElementType() reflect.Type

func (EscalationPolicyMapOutput) MapIndex

func (EscalationPolicyMapOutput) ToEscalationPolicyMapOutput

func (o EscalationPolicyMapOutput) ToEscalationPolicyMapOutput() EscalationPolicyMapOutput

func (EscalationPolicyMapOutput) ToEscalationPolicyMapOutputWithContext

func (o EscalationPolicyMapOutput) ToEscalationPolicyMapOutputWithContext(ctx context.Context) EscalationPolicyMapOutput

type EscalationPolicyOutput

type EscalationPolicyOutput struct{ *pulumi.OutputState }

func (EscalationPolicyOutput) Description added in v3.5.1

func (o EscalationPolicyOutput) Description() pulumi.StringOutput

func (EscalationPolicyOutput) ElementType

func (EscalationPolicyOutput) ElementType() reflect.Type

func (EscalationPolicyOutput) Name added in v3.5.1

The name of the escalation policy.

func (EscalationPolicyOutput) NumLoops added in v3.5.1

The number of times the escalation policy will repeat after reaching the end of its escalation.

func (EscalationPolicyOutput) Rules added in v3.5.1

An Escalation rule block. Escalation rules documented below.

func (EscalationPolicyOutput) Teams added in v3.5.1

Team associated with the policy (Only 1 team can be assigned to an Escalation Policy). Account must have the `teams` ability to use this parameter.

func (EscalationPolicyOutput) ToEscalationPolicyOutput

func (o EscalationPolicyOutput) ToEscalationPolicyOutput() EscalationPolicyOutput

func (EscalationPolicyOutput) ToEscalationPolicyOutputWithContext

func (o EscalationPolicyOutput) ToEscalationPolicyOutputWithContext(ctx context.Context) EscalationPolicyOutput

type EscalationPolicyRule

type EscalationPolicyRule struct {
	// The number of minutes before an unacknowledged incident escalates away from this rule.
	EscalationDelayInMinutes int `pulumi:"escalationDelayInMinutes"`
	// A target ID
	Id      *string                      `pulumi:"id"`
	Targets []EscalationPolicyRuleTarget `pulumi:"targets"`
}

type EscalationPolicyRuleArgs

type EscalationPolicyRuleArgs struct {
	// The number of minutes before an unacknowledged incident escalates away from this rule.
	EscalationDelayInMinutes pulumi.IntInput `pulumi:"escalationDelayInMinutes"`
	// A target ID
	Id      pulumi.StringPtrInput                `pulumi:"id"`
	Targets EscalationPolicyRuleTargetArrayInput `pulumi:"targets"`
}

func (EscalationPolicyRuleArgs) ElementType

func (EscalationPolicyRuleArgs) ElementType() reflect.Type

func (EscalationPolicyRuleArgs) ToEscalationPolicyRuleOutput

func (i EscalationPolicyRuleArgs) ToEscalationPolicyRuleOutput() EscalationPolicyRuleOutput

func (EscalationPolicyRuleArgs) ToEscalationPolicyRuleOutputWithContext

func (i EscalationPolicyRuleArgs) ToEscalationPolicyRuleOutputWithContext(ctx context.Context) EscalationPolicyRuleOutput

type EscalationPolicyRuleArray

type EscalationPolicyRuleArray []EscalationPolicyRuleInput

func (EscalationPolicyRuleArray) ElementType

func (EscalationPolicyRuleArray) ElementType() reflect.Type

func (EscalationPolicyRuleArray) ToEscalationPolicyRuleArrayOutput

func (i EscalationPolicyRuleArray) ToEscalationPolicyRuleArrayOutput() EscalationPolicyRuleArrayOutput

func (EscalationPolicyRuleArray) ToEscalationPolicyRuleArrayOutputWithContext

func (i EscalationPolicyRuleArray) ToEscalationPolicyRuleArrayOutputWithContext(ctx context.Context) EscalationPolicyRuleArrayOutput

type EscalationPolicyRuleArrayInput

type EscalationPolicyRuleArrayInput interface {
	pulumi.Input

	ToEscalationPolicyRuleArrayOutput() EscalationPolicyRuleArrayOutput
	ToEscalationPolicyRuleArrayOutputWithContext(context.Context) EscalationPolicyRuleArrayOutput
}

EscalationPolicyRuleArrayInput is an input type that accepts EscalationPolicyRuleArray and EscalationPolicyRuleArrayOutput values. You can construct a concrete instance of `EscalationPolicyRuleArrayInput` via:

EscalationPolicyRuleArray{ EscalationPolicyRuleArgs{...} }

type EscalationPolicyRuleArrayOutput

type EscalationPolicyRuleArrayOutput struct{ *pulumi.OutputState }

func (EscalationPolicyRuleArrayOutput) ElementType

func (EscalationPolicyRuleArrayOutput) Index

func (EscalationPolicyRuleArrayOutput) ToEscalationPolicyRuleArrayOutput

func (o EscalationPolicyRuleArrayOutput) ToEscalationPolicyRuleArrayOutput() EscalationPolicyRuleArrayOutput

func (EscalationPolicyRuleArrayOutput) ToEscalationPolicyRuleArrayOutputWithContext

func (o EscalationPolicyRuleArrayOutput) ToEscalationPolicyRuleArrayOutputWithContext(ctx context.Context) EscalationPolicyRuleArrayOutput

type EscalationPolicyRuleInput

type EscalationPolicyRuleInput interface {
	pulumi.Input

	ToEscalationPolicyRuleOutput() EscalationPolicyRuleOutput
	ToEscalationPolicyRuleOutputWithContext(context.Context) EscalationPolicyRuleOutput
}

EscalationPolicyRuleInput is an input type that accepts EscalationPolicyRuleArgs and EscalationPolicyRuleOutput values. You can construct a concrete instance of `EscalationPolicyRuleInput` via:

EscalationPolicyRuleArgs{...}

type EscalationPolicyRuleOutput

type EscalationPolicyRuleOutput struct{ *pulumi.OutputState }

func (EscalationPolicyRuleOutput) ElementType

func (EscalationPolicyRuleOutput) ElementType() reflect.Type

func (EscalationPolicyRuleOutput) EscalationDelayInMinutes

func (o EscalationPolicyRuleOutput) EscalationDelayInMinutes() pulumi.IntOutput

The number of minutes before an unacknowledged incident escalates away from this rule.

func (EscalationPolicyRuleOutput) Id

A target ID

func (EscalationPolicyRuleOutput) Targets

func (EscalationPolicyRuleOutput) ToEscalationPolicyRuleOutput

func (o EscalationPolicyRuleOutput) ToEscalationPolicyRuleOutput() EscalationPolicyRuleOutput

func (EscalationPolicyRuleOutput) ToEscalationPolicyRuleOutputWithContext

func (o EscalationPolicyRuleOutput) ToEscalationPolicyRuleOutputWithContext(ctx context.Context) EscalationPolicyRuleOutput

type EscalationPolicyRuleTarget

type EscalationPolicyRuleTarget struct {
	// A target ID
	Id string `pulumi:"id"`
	// Can be `userReference` or `scheduleReference`. Defaults to `userReference`. For multiple users as example, repeat the target.
	Type *string `pulumi:"type"`
}

type EscalationPolicyRuleTargetArgs

type EscalationPolicyRuleTargetArgs struct {
	// A target ID
	Id pulumi.StringInput `pulumi:"id"`
	// Can be `userReference` or `scheduleReference`. Defaults to `userReference`. For multiple users as example, repeat the target.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (EscalationPolicyRuleTargetArgs) ElementType

func (EscalationPolicyRuleTargetArgs) ToEscalationPolicyRuleTargetOutput

func (i EscalationPolicyRuleTargetArgs) ToEscalationPolicyRuleTargetOutput() EscalationPolicyRuleTargetOutput

func (EscalationPolicyRuleTargetArgs) ToEscalationPolicyRuleTargetOutputWithContext

func (i EscalationPolicyRuleTargetArgs) ToEscalationPolicyRuleTargetOutputWithContext(ctx context.Context) EscalationPolicyRuleTargetOutput

type EscalationPolicyRuleTargetArray

type EscalationPolicyRuleTargetArray []EscalationPolicyRuleTargetInput

func (EscalationPolicyRuleTargetArray) ElementType

func (EscalationPolicyRuleTargetArray) ToEscalationPolicyRuleTargetArrayOutput

func (i EscalationPolicyRuleTargetArray) ToEscalationPolicyRuleTargetArrayOutput() EscalationPolicyRuleTargetArrayOutput

func (EscalationPolicyRuleTargetArray) ToEscalationPolicyRuleTargetArrayOutputWithContext

func (i EscalationPolicyRuleTargetArray) ToEscalationPolicyRuleTargetArrayOutputWithContext(ctx context.Context) EscalationPolicyRuleTargetArrayOutput

type EscalationPolicyRuleTargetArrayInput

type EscalationPolicyRuleTargetArrayInput interface {
	pulumi.Input

	ToEscalationPolicyRuleTargetArrayOutput() EscalationPolicyRuleTargetArrayOutput
	ToEscalationPolicyRuleTargetArrayOutputWithContext(context.Context) EscalationPolicyRuleTargetArrayOutput
}

EscalationPolicyRuleTargetArrayInput is an input type that accepts EscalationPolicyRuleTargetArray and EscalationPolicyRuleTargetArrayOutput values. You can construct a concrete instance of `EscalationPolicyRuleTargetArrayInput` via:

EscalationPolicyRuleTargetArray{ EscalationPolicyRuleTargetArgs{...} }

type EscalationPolicyRuleTargetArrayOutput

type EscalationPolicyRuleTargetArrayOutput struct{ *pulumi.OutputState }

func (EscalationPolicyRuleTargetArrayOutput) ElementType

func (EscalationPolicyRuleTargetArrayOutput) Index

func (EscalationPolicyRuleTargetArrayOutput) ToEscalationPolicyRuleTargetArrayOutput

func (o EscalationPolicyRuleTargetArrayOutput) ToEscalationPolicyRuleTargetArrayOutput() EscalationPolicyRuleTargetArrayOutput

func (EscalationPolicyRuleTargetArrayOutput) ToEscalationPolicyRuleTargetArrayOutputWithContext

func (o EscalationPolicyRuleTargetArrayOutput) ToEscalationPolicyRuleTargetArrayOutputWithContext(ctx context.Context) EscalationPolicyRuleTargetArrayOutput

type EscalationPolicyRuleTargetInput

type EscalationPolicyRuleTargetInput interface {
	pulumi.Input

	ToEscalationPolicyRuleTargetOutput() EscalationPolicyRuleTargetOutput
	ToEscalationPolicyRuleTargetOutputWithContext(context.Context) EscalationPolicyRuleTargetOutput
}

EscalationPolicyRuleTargetInput is an input type that accepts EscalationPolicyRuleTargetArgs and EscalationPolicyRuleTargetOutput values. You can construct a concrete instance of `EscalationPolicyRuleTargetInput` via:

EscalationPolicyRuleTargetArgs{...}

type EscalationPolicyRuleTargetOutput

type EscalationPolicyRuleTargetOutput struct{ *pulumi.OutputState }

func (EscalationPolicyRuleTargetOutput) ElementType

func (EscalationPolicyRuleTargetOutput) Id

A target ID

func (EscalationPolicyRuleTargetOutput) ToEscalationPolicyRuleTargetOutput

func (o EscalationPolicyRuleTargetOutput) ToEscalationPolicyRuleTargetOutput() EscalationPolicyRuleTargetOutput

func (EscalationPolicyRuleTargetOutput) ToEscalationPolicyRuleTargetOutputWithContext

func (o EscalationPolicyRuleTargetOutput) ToEscalationPolicyRuleTargetOutputWithContext(ctx context.Context) EscalationPolicyRuleTargetOutput

func (EscalationPolicyRuleTargetOutput) Type

Can be `userReference` or `scheduleReference`. Defaults to `userReference`. For multiple users as example, repeat the target.

type EscalationPolicyState

type EscalationPolicyState struct {
	Description pulumi.StringPtrInput
	// The name of the escalation policy.
	Name pulumi.StringPtrInput
	// The number of times the escalation policy will repeat after reaching the end of its escalation.
	NumLoops pulumi.IntPtrInput
	// An Escalation rule block. Escalation rules documented below.
	Rules EscalationPolicyRuleArrayInput
	// Team associated with the policy (Only 1 team can be assigned to an Escalation Policy). Account must have the `teams` ability to use this parameter.
	Teams pulumi.StringPtrInput
}

func (EscalationPolicyState) ElementType

func (EscalationPolicyState) ElementType() reflect.Type

type EventOrchestration added in v3.5.0

type EventOrchestration struct {
	pulumi.CustomResourceState

	// A human-friendly description of the Event Orchestration.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// An integration for the Event Orchestration.
	Integrations EventOrchestrationIntegrationTypeArrayOutput `pulumi:"integrations"`
	// Name of the Event Orchestration.
	Name   pulumi.StringOutput `pulumi:"name"`
	Routes pulumi.IntOutput    `pulumi:"routes"`
	// ID of the team that owns the Event Orchestration. If none is specified, only admins have access.
	Team pulumi.StringPtrOutput `pulumi:"team"`
}

[Event Orchestrations](https://support.pagerduty.com/docs/event-orchestration) allow you define a set of Event Rules, so that when you ingest events using the Orchestration's Routing Key your events will be routed to the correct Global and/or Service Orchestration, based on the event's content.

## Example of configuring an Event Orchestration

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		engineering, err := pagerduty.NewTeam(ctx, "engineering", nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewEventOrchestration(ctx, "myMonitor", &pagerduty.EventOrchestrationArgs{
			Description: pulumi.String("Send events to a pair of services"),
			Team:        engineering.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

EventOrchestrations can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/eventOrchestration:EventOrchestration main 19acac92-027a-4ea0-b06c-bbf516519601

```

func GetEventOrchestration added in v3.5.0

func GetEventOrchestration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventOrchestrationState, opts ...pulumi.ResourceOption) (*EventOrchestration, error)

GetEventOrchestration gets an existing EventOrchestration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventOrchestration added in v3.5.0

func NewEventOrchestration(ctx *pulumi.Context,
	name string, args *EventOrchestrationArgs, opts ...pulumi.ResourceOption) (*EventOrchestration, error)

NewEventOrchestration registers a new resource with the given unique name, arguments, and options.

func (*EventOrchestration) ElementType added in v3.5.0

func (*EventOrchestration) ElementType() reflect.Type

func (*EventOrchestration) ToEventOrchestrationOutput added in v3.5.0

func (i *EventOrchestration) ToEventOrchestrationOutput() EventOrchestrationOutput

func (*EventOrchestration) ToEventOrchestrationOutputWithContext added in v3.5.0

func (i *EventOrchestration) ToEventOrchestrationOutputWithContext(ctx context.Context) EventOrchestrationOutput

type EventOrchestrationArgs added in v3.5.0

type EventOrchestrationArgs struct {
	// A human-friendly description of the Event Orchestration.
	Description pulumi.StringPtrInput
	// An integration for the Event Orchestration.
	Integrations EventOrchestrationIntegrationTypeArrayInput
	// Name of the Event Orchestration.
	Name pulumi.StringPtrInput
	// ID of the team that owns the Event Orchestration. If none is specified, only admins have access.
	Team pulumi.StringPtrInput
}

The set of arguments for constructing a EventOrchestration resource.

func (EventOrchestrationArgs) ElementType added in v3.5.0

func (EventOrchestrationArgs) ElementType() reflect.Type

type EventOrchestrationArray added in v3.5.0

type EventOrchestrationArray []EventOrchestrationInput

func (EventOrchestrationArray) ElementType added in v3.5.0

func (EventOrchestrationArray) ElementType() reflect.Type

func (EventOrchestrationArray) ToEventOrchestrationArrayOutput added in v3.5.0

func (i EventOrchestrationArray) ToEventOrchestrationArrayOutput() EventOrchestrationArrayOutput

func (EventOrchestrationArray) ToEventOrchestrationArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationArray) ToEventOrchestrationArrayOutputWithContext(ctx context.Context) EventOrchestrationArrayOutput

type EventOrchestrationArrayInput added in v3.5.0

type EventOrchestrationArrayInput interface {
	pulumi.Input

	ToEventOrchestrationArrayOutput() EventOrchestrationArrayOutput
	ToEventOrchestrationArrayOutputWithContext(context.Context) EventOrchestrationArrayOutput
}

EventOrchestrationArrayInput is an input type that accepts EventOrchestrationArray and EventOrchestrationArrayOutput values. You can construct a concrete instance of `EventOrchestrationArrayInput` via:

EventOrchestrationArray{ EventOrchestrationArgs{...} }

type EventOrchestrationArrayOutput added in v3.5.0

type EventOrchestrationArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationArrayOutput) Index added in v3.5.0

func (EventOrchestrationArrayOutput) ToEventOrchestrationArrayOutput added in v3.5.0

func (o EventOrchestrationArrayOutput) ToEventOrchestrationArrayOutput() EventOrchestrationArrayOutput

func (EventOrchestrationArrayOutput) ToEventOrchestrationArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationArrayOutput) ToEventOrchestrationArrayOutputWithContext(ctx context.Context) EventOrchestrationArrayOutput

type EventOrchestrationGlobal added in v3.10.0

type EventOrchestrationGlobal struct {
	pulumi.CustomResourceState

	// the `catchAll` actions will be applied if an Event reaches the end of any set without matching any rules in that set.
	CatchAll EventOrchestrationGlobalCatchAllOutput `pulumi:"catchAll"`
	// ID of the Event Orchestration to which this Global Orchestration belongs to.
	EventOrchestration pulumi.StringOutput `pulumi:"eventOrchestration"`
	// 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.
	Sets EventOrchestrationGlobalSetArrayOutput `pulumi:"sets"`
}

A [Global Orchestration](https://support.pagerduty.com/docs/event-orchestration#global-orchestrations) 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 `routeTo` action pointing at the "step-two" set.

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

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		databaseTeam, err := pagerduty.NewTeam(ctx, "databaseTeam", nil)
		if err != nil {
			return err
		}
		eventOrchestration, err := pagerduty.NewEventOrchestration(ctx, "eventOrchestration", &pagerduty.EventOrchestrationArgs{
			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
	})
}

```

## Import

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

```sh

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

```

func GetEventOrchestrationGlobal added in v3.10.0

func GetEventOrchestrationGlobal(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventOrchestrationGlobalState, opts ...pulumi.ResourceOption) (*EventOrchestrationGlobal, error)

GetEventOrchestrationGlobal gets an existing EventOrchestrationGlobal resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventOrchestrationGlobal added in v3.10.0

func NewEventOrchestrationGlobal(ctx *pulumi.Context,
	name string, args *EventOrchestrationGlobalArgs, opts ...pulumi.ResourceOption) (*EventOrchestrationGlobal, error)

NewEventOrchestrationGlobal registers a new resource with the given unique name, arguments, and options.

func (*EventOrchestrationGlobal) ElementType added in v3.10.0

func (*EventOrchestrationGlobal) ElementType() reflect.Type

func (*EventOrchestrationGlobal) ToEventOrchestrationGlobalOutput added in v3.10.0

func (i *EventOrchestrationGlobal) ToEventOrchestrationGlobalOutput() EventOrchestrationGlobalOutput

func (*EventOrchestrationGlobal) ToEventOrchestrationGlobalOutputWithContext added in v3.10.0

func (i *EventOrchestrationGlobal) ToEventOrchestrationGlobalOutputWithContext(ctx context.Context) EventOrchestrationGlobalOutput

type EventOrchestrationGlobalArgs added in v3.10.0

type EventOrchestrationGlobalArgs struct {
	// the `catchAll` actions will be applied if an Event reaches the end of any set without matching any rules in that set.
	CatchAll EventOrchestrationGlobalCatchAllInput
	// ID of the Event Orchestration to which this Global Orchestration belongs to.
	EventOrchestration pulumi.StringInput
	// 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.
	Sets EventOrchestrationGlobalSetArrayInput
}

The set of arguments for constructing a EventOrchestrationGlobal resource.

func (EventOrchestrationGlobalArgs) ElementType added in v3.10.0

type EventOrchestrationGlobalArray added in v3.10.0

type EventOrchestrationGlobalArray []EventOrchestrationGlobalInput

func (EventOrchestrationGlobalArray) ElementType added in v3.10.0

func (EventOrchestrationGlobalArray) ToEventOrchestrationGlobalArrayOutput added in v3.10.0

func (i EventOrchestrationGlobalArray) ToEventOrchestrationGlobalArrayOutput() EventOrchestrationGlobalArrayOutput

func (EventOrchestrationGlobalArray) ToEventOrchestrationGlobalArrayOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalArray) ToEventOrchestrationGlobalArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalArrayOutput

type EventOrchestrationGlobalArrayInput added in v3.10.0

type EventOrchestrationGlobalArrayInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalArrayOutput() EventOrchestrationGlobalArrayOutput
	ToEventOrchestrationGlobalArrayOutputWithContext(context.Context) EventOrchestrationGlobalArrayOutput
}

EventOrchestrationGlobalArrayInput is an input type that accepts EventOrchestrationGlobalArray and EventOrchestrationGlobalArrayOutput values. You can construct a concrete instance of `EventOrchestrationGlobalArrayInput` via:

EventOrchestrationGlobalArray{ EventOrchestrationGlobalArgs{...} }

type EventOrchestrationGlobalArrayOutput added in v3.10.0

type EventOrchestrationGlobalArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalArrayOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalArrayOutput) Index added in v3.10.0

func (EventOrchestrationGlobalArrayOutput) ToEventOrchestrationGlobalArrayOutput added in v3.10.0

func (o EventOrchestrationGlobalArrayOutput) ToEventOrchestrationGlobalArrayOutput() EventOrchestrationGlobalArrayOutput

func (EventOrchestrationGlobalArrayOutput) ToEventOrchestrationGlobalArrayOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalArrayOutput) ToEventOrchestrationGlobalArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalArrayOutput

type EventOrchestrationGlobalCatchAll added in v3.10.0

type EventOrchestrationGlobalCatchAll struct {
	// These are the actions that will be taken to change the resulting alert and incident. `catchAll` supports all actions described above for `rule` _except_ `routeTo` action.
	Actions EventOrchestrationGlobalCatchAllActions `pulumi:"actions"`
}

type EventOrchestrationGlobalCatchAllActions added in v3.10.0

type EventOrchestrationGlobalCatchAllActions struct {
	// Add this text as a note on the resulting incident.
	Annotate *string `pulumi:"annotate"`
	// Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) associated with the resulting incident.
	AutomationAction *EventOrchestrationGlobalCatchAllActionsAutomationAction `pulumi:"automationAction"`
	// 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.
	DropEvent *bool `pulumi:"dropEvent"`
	// sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`
	EventAction *string `pulumi:"eventAction"`
	// Replace any CEF field or Custom Details object field using custom variables.
	Extractions []EventOrchestrationGlobalCatchAllActionsExtraction `pulumi:"extractions"`
	// The ID of the priority you want to set on resulting incident. Consider using the `getPriority` data source.
	Priority *string `pulumi:"priority"`
	// The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
	RouteTo *string `pulumi:"routeTo"`
	// sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`
	Severity *string `pulumi:"severity"`
	// Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
	Suppress *bool `pulumi:"suppress"`
	// 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.
	Suspend *int `pulumi:"suspend"`
	// Populate variables from event payloads and use those variables in other event actions.
	Variables []EventOrchestrationGlobalCatchAllActionsVariable `pulumi:"variables"`
}

type EventOrchestrationGlobalCatchAllActionsArgs added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsArgs struct {
	// Add this text as a note on the resulting incident.
	Annotate pulumi.StringPtrInput `pulumi:"annotate"`
	// Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) associated with the resulting incident.
	AutomationAction EventOrchestrationGlobalCatchAllActionsAutomationActionPtrInput `pulumi:"automationAction"`
	// 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.
	DropEvent pulumi.BoolPtrInput `pulumi:"dropEvent"`
	// sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`
	EventAction pulumi.StringPtrInput `pulumi:"eventAction"`
	// Replace any CEF field or Custom Details object field using custom variables.
	Extractions EventOrchestrationGlobalCatchAllActionsExtractionArrayInput `pulumi:"extractions"`
	// The ID of the priority you want to set on resulting incident. Consider using the `getPriority` data source.
	Priority pulumi.StringPtrInput `pulumi:"priority"`
	// The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
	RouteTo pulumi.StringPtrInput `pulumi:"routeTo"`
	// sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`
	Severity pulumi.StringPtrInput `pulumi:"severity"`
	// Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
	Suppress pulumi.BoolPtrInput `pulumi:"suppress"`
	// 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.
	Suspend pulumi.IntPtrInput `pulumi:"suspend"`
	// Populate variables from event payloads and use those variables in other event actions.
	Variables EventOrchestrationGlobalCatchAllActionsVariableArrayInput `pulumi:"variables"`
}

func (EventOrchestrationGlobalCatchAllActionsArgs) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsArgs) ToEventOrchestrationGlobalCatchAllActionsOutput added in v3.10.0

func (i EventOrchestrationGlobalCatchAllActionsArgs) ToEventOrchestrationGlobalCatchAllActionsOutput() EventOrchestrationGlobalCatchAllActionsOutput

func (EventOrchestrationGlobalCatchAllActionsArgs) ToEventOrchestrationGlobalCatchAllActionsOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalCatchAllActionsArgs) ToEventOrchestrationGlobalCatchAllActionsOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsOutput

func (EventOrchestrationGlobalCatchAllActionsArgs) ToEventOrchestrationGlobalCatchAllActionsPtrOutput added in v3.10.0

func (i EventOrchestrationGlobalCatchAllActionsArgs) ToEventOrchestrationGlobalCatchAllActionsPtrOutput() EventOrchestrationGlobalCatchAllActionsPtrOutput

func (EventOrchestrationGlobalCatchAllActionsArgs) ToEventOrchestrationGlobalCatchAllActionsPtrOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalCatchAllActionsArgs) ToEventOrchestrationGlobalCatchAllActionsPtrOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsPtrOutput

type EventOrchestrationGlobalCatchAllActionsAutomationAction added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationAction struct {
	// 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.
	AutoSend *bool `pulumi:"autoSend"`
	// Specify custom key/value pairs that'll be sent with the webhook request as request headers.
	Headers []EventOrchestrationGlobalCatchAllActionsAutomationActionHeader `pulumi:"headers"`
	// Name of this Webhook.
	Name string `pulumi:"name"`
	// Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
	Parameters []EventOrchestrationGlobalCatchAllActionsAutomationActionParameter `pulumi:"parameters"`
	// The API endpoint where PagerDuty's servers will send the webhook request.
	Url string `pulumi:"url"`
}

type EventOrchestrationGlobalCatchAllActionsAutomationActionArgs added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionArgs struct {
	// 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.
	AutoSend pulumi.BoolPtrInput `pulumi:"autoSend"`
	// Specify custom key/value pairs that'll be sent with the webhook request as request headers.
	Headers EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayInput `pulumi:"headers"`
	// Name of this Webhook.
	Name pulumi.StringInput `pulumi:"name"`
	// Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
	Parameters EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayInput `pulumi:"parameters"`
	// The API endpoint where PagerDuty's servers will send the webhook request.
	Url pulumi.StringInput `pulumi:"url"`
}

func (EventOrchestrationGlobalCatchAllActionsAutomationActionArgs) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionArgs) ToEventOrchestrationGlobalCatchAllActionsAutomationActionOutput added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionArgs) ToEventOrchestrationGlobalCatchAllActionsAutomationActionOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalCatchAllActionsAutomationActionArgs) ToEventOrchestrationGlobalCatchAllActionsAutomationActionOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsAutomationActionOutput

func (EventOrchestrationGlobalCatchAllActionsAutomationActionArgs) ToEventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionArgs) ToEventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalCatchAllActionsAutomationActionArgs) ToEventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput

type EventOrchestrationGlobalCatchAllActionsAutomationActionHeader added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionHeader struct {
	// Name to identify the header
	Key string `pulumi:"key"`
	// Value of this header
	Value string `pulumi:"value"`
}

type EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs struct {
	// Name to identify the header
	Key pulumi.StringInput `pulumi:"key"`
	// Value of this header
	Value pulumi.StringInput `pulumi:"value"`
}

func (EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs) ToEventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutput added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs) ToEventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs) ToEventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutput

type EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArray added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArray []EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderInput

func (EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArray) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArray) ToEventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayOutput added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArray) ToEventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArray) ToEventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayOutput

type EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayInput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayOutput() EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayOutput
	ToEventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayOutputWithContext(context.Context) EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayOutput
}

EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayInput is an input type that accepts EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArray and EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayOutput values. You can construct a concrete instance of `EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayInput` via:

EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArray{ EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs{...} }

type EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayOutput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayOutput) Index added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayOutput added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArrayOutputWithContext added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderInput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutput() EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutput
	ToEventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutputWithContext(context.Context) EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutput
}

EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderInput is an input type that accepts EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs and EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutput values. You can construct a concrete instance of `EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderInput` via:

EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs{...}

type EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutput) Key added in v3.10.0

Name to identify the header

func (EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutput added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutput

func (EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderOutput) Value added in v3.10.0

Value of this header

type EventOrchestrationGlobalCatchAllActionsAutomationActionInput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalCatchAllActionsAutomationActionOutput() EventOrchestrationGlobalCatchAllActionsAutomationActionOutput
	ToEventOrchestrationGlobalCatchAllActionsAutomationActionOutputWithContext(context.Context) EventOrchestrationGlobalCatchAllActionsAutomationActionOutput
}

EventOrchestrationGlobalCatchAllActionsAutomationActionInput is an input type that accepts EventOrchestrationGlobalCatchAllActionsAutomationActionArgs and EventOrchestrationGlobalCatchAllActionsAutomationActionOutput values. You can construct a concrete instance of `EventOrchestrationGlobalCatchAllActionsAutomationActionInput` via:

EventOrchestrationGlobalCatchAllActionsAutomationActionArgs{...}

type EventOrchestrationGlobalCatchAllActionsAutomationActionOutput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalCatchAllActionsAutomationActionOutput) AutoSend added in v3.10.0

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.

func (EventOrchestrationGlobalCatchAllActionsAutomationActionOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionOutput) Headers added in v3.10.0

Specify custom key/value pairs that'll be sent with the webhook request as request headers.

func (EventOrchestrationGlobalCatchAllActionsAutomationActionOutput) Name added in v3.10.0

Name of this Webhook.

func (EventOrchestrationGlobalCatchAllActionsAutomationActionOutput) Parameters added in v3.10.0

Specify custom key/value pairs that'll be included in the webhook request's JSON payload.

func (EventOrchestrationGlobalCatchAllActionsAutomationActionOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionOutput added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalCatchAllActionsAutomationActionOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsAutomationActionOutput

func (EventOrchestrationGlobalCatchAllActionsAutomationActionOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalCatchAllActionsAutomationActionOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput

func (EventOrchestrationGlobalCatchAllActionsAutomationActionOutput) Url added in v3.10.0

The API endpoint where PagerDuty's servers will send the webhook request.

type EventOrchestrationGlobalCatchAllActionsAutomationActionParameter added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionParameter struct {
	// Name to identify the header
	Key string `pulumi:"key"`
	// Value of this header
	Value string `pulumi:"value"`
}

type EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs struct {
	// Name to identify the header
	Key pulumi.StringInput `pulumi:"key"`
	// Value of this header
	Value pulumi.StringInput `pulumi:"value"`
}

func (EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs) ToEventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutput added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs) ToEventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs) ToEventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutput

type EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArray added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArray []EventOrchestrationGlobalCatchAllActionsAutomationActionParameterInput

func (EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArray) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArray) ToEventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayOutput added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArray) ToEventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArray) ToEventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayOutput

type EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayInput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayOutput() EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayOutput
	ToEventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayOutputWithContext(context.Context) EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayOutput
}

EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayInput is an input type that accepts EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArray and EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayOutput values. You can construct a concrete instance of `EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayInput` via:

EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArray{ EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs{...} }

type EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayOutput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayOutput) Index added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayOutput added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionParameterArrayOutputWithContext added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionParameterInput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionParameterInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutput() EventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutput
	ToEventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutputWithContext(context.Context) EventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutput
}

EventOrchestrationGlobalCatchAllActionsAutomationActionParameterInput is an input type that accepts EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs and EventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutput values. You can construct a concrete instance of `EventOrchestrationGlobalCatchAllActionsAutomationActionParameterInput` via:

EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs{...}

type EventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutput) Key added in v3.10.0

Name to identify the header

func (EventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutput added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutput

func (EventOrchestrationGlobalCatchAllActionsAutomationActionParameterOutput) Value added in v3.10.0

Value of this header

type EventOrchestrationGlobalCatchAllActionsAutomationActionPtrInput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionPtrInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput() EventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput
	ToEventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutputWithContext(context.Context) EventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput
}

EventOrchestrationGlobalCatchAllActionsAutomationActionPtrInput is an input type that accepts EventOrchestrationGlobalCatchAllActionsAutomationActionArgs, EventOrchestrationGlobalCatchAllActionsAutomationActionPtr and EventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput values. You can construct a concrete instance of `EventOrchestrationGlobalCatchAllActionsAutomationActionPtrInput` via:

        EventOrchestrationGlobalCatchAllActionsAutomationActionArgs{...}

or:

        nil

type EventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput) AutoSend added in v3.10.0

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.

func (EventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput) Elem added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput) Headers added in v3.10.0

Specify custom key/value pairs that'll be sent with the webhook request as request headers.

func (EventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput) Name added in v3.10.0

Name of this Webhook.

func (EventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput) Parameters added in v3.10.0

Specify custom key/value pairs that'll be included in the webhook request's JSON payload.

func (EventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput) ToEventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput

func (EventOrchestrationGlobalCatchAllActionsAutomationActionPtrOutput) Url added in v3.10.0

The API endpoint where PagerDuty's servers will send the webhook request.

type EventOrchestrationGlobalCatchAllActionsExtraction added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsExtraction struct {
	// A [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) 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.
	Regex *string `pulumi:"regex"`
	// The path to the event field where the `regex` will be applied to extract a value. You can use any valid [PCL path](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths) 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.
	Source *string `pulumi:"source"`
	// The PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/pd-cef) field that will be set with the value from the `template` or based on `regex` and `source` fields.
	Target string `pulumi:"target"`
	// 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}}`
	Template *string `pulumi:"template"`
}

type EventOrchestrationGlobalCatchAllActionsExtractionArgs added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsExtractionArgs struct {
	// A [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) 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.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
	// The path to the event field where the `regex` will be applied to extract a value. You can use any valid [PCL path](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths) 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.
	Source pulumi.StringPtrInput `pulumi:"source"`
	// The PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/pd-cef) field that will be set with the value from the `template` or based on `regex` and `source` fields.
	Target pulumi.StringInput `pulumi:"target"`
	// 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}}`
	Template pulumi.StringPtrInput `pulumi:"template"`
}

func (EventOrchestrationGlobalCatchAllActionsExtractionArgs) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsExtractionArgs) ToEventOrchestrationGlobalCatchAllActionsExtractionOutput added in v3.10.0

func (i EventOrchestrationGlobalCatchAllActionsExtractionArgs) ToEventOrchestrationGlobalCatchAllActionsExtractionOutput() EventOrchestrationGlobalCatchAllActionsExtractionOutput

func (EventOrchestrationGlobalCatchAllActionsExtractionArgs) ToEventOrchestrationGlobalCatchAllActionsExtractionOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalCatchAllActionsExtractionArgs) ToEventOrchestrationGlobalCatchAllActionsExtractionOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsExtractionOutput

type EventOrchestrationGlobalCatchAllActionsExtractionArray added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsExtractionArray []EventOrchestrationGlobalCatchAllActionsExtractionInput

func (EventOrchestrationGlobalCatchAllActionsExtractionArray) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsExtractionArray) ToEventOrchestrationGlobalCatchAllActionsExtractionArrayOutput added in v3.10.0

func (i EventOrchestrationGlobalCatchAllActionsExtractionArray) ToEventOrchestrationGlobalCatchAllActionsExtractionArrayOutput() EventOrchestrationGlobalCatchAllActionsExtractionArrayOutput

func (EventOrchestrationGlobalCatchAllActionsExtractionArray) ToEventOrchestrationGlobalCatchAllActionsExtractionArrayOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalCatchAllActionsExtractionArray) ToEventOrchestrationGlobalCatchAllActionsExtractionArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsExtractionArrayOutput

type EventOrchestrationGlobalCatchAllActionsExtractionArrayInput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsExtractionArrayInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalCatchAllActionsExtractionArrayOutput() EventOrchestrationGlobalCatchAllActionsExtractionArrayOutput
	ToEventOrchestrationGlobalCatchAllActionsExtractionArrayOutputWithContext(context.Context) EventOrchestrationGlobalCatchAllActionsExtractionArrayOutput
}

EventOrchestrationGlobalCatchAllActionsExtractionArrayInput is an input type that accepts EventOrchestrationGlobalCatchAllActionsExtractionArray and EventOrchestrationGlobalCatchAllActionsExtractionArrayOutput values. You can construct a concrete instance of `EventOrchestrationGlobalCatchAllActionsExtractionArrayInput` via:

EventOrchestrationGlobalCatchAllActionsExtractionArray{ EventOrchestrationGlobalCatchAllActionsExtractionArgs{...} }

type EventOrchestrationGlobalCatchAllActionsExtractionArrayOutput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsExtractionArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalCatchAllActionsExtractionArrayOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsExtractionArrayOutput) Index added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsExtractionArrayOutput) ToEventOrchestrationGlobalCatchAllActionsExtractionArrayOutput added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsExtractionArrayOutput) ToEventOrchestrationGlobalCatchAllActionsExtractionArrayOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalCatchAllActionsExtractionArrayOutput) ToEventOrchestrationGlobalCatchAllActionsExtractionArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsExtractionArrayOutput

type EventOrchestrationGlobalCatchAllActionsExtractionInput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsExtractionInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalCatchAllActionsExtractionOutput() EventOrchestrationGlobalCatchAllActionsExtractionOutput
	ToEventOrchestrationGlobalCatchAllActionsExtractionOutputWithContext(context.Context) EventOrchestrationGlobalCatchAllActionsExtractionOutput
}

EventOrchestrationGlobalCatchAllActionsExtractionInput is an input type that accepts EventOrchestrationGlobalCatchAllActionsExtractionArgs and EventOrchestrationGlobalCatchAllActionsExtractionOutput values. You can construct a concrete instance of `EventOrchestrationGlobalCatchAllActionsExtractionInput` via:

EventOrchestrationGlobalCatchAllActionsExtractionArgs{...}

type EventOrchestrationGlobalCatchAllActionsExtractionOutput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsExtractionOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalCatchAllActionsExtractionOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsExtractionOutput) Regex added in v3.10.0

A [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) 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.

func (EventOrchestrationGlobalCatchAllActionsExtractionOutput) Source added in v3.10.0

The path to the event field where the `regex` will be applied to extract a value. You can use any valid [PCL path](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths) 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.

func (EventOrchestrationGlobalCatchAllActionsExtractionOutput) Target added in v3.10.0

The PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/pd-cef) field that will be set with the value from the `template` or based on `regex` and `source` fields.

func (EventOrchestrationGlobalCatchAllActionsExtractionOutput) Template added in v3.10.0

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}}`

func (EventOrchestrationGlobalCatchAllActionsExtractionOutput) ToEventOrchestrationGlobalCatchAllActionsExtractionOutput added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsExtractionOutput) ToEventOrchestrationGlobalCatchAllActionsExtractionOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalCatchAllActionsExtractionOutput) ToEventOrchestrationGlobalCatchAllActionsExtractionOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsExtractionOutput

type EventOrchestrationGlobalCatchAllActionsInput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalCatchAllActionsOutput() EventOrchestrationGlobalCatchAllActionsOutput
	ToEventOrchestrationGlobalCatchAllActionsOutputWithContext(context.Context) EventOrchestrationGlobalCatchAllActionsOutput
}

EventOrchestrationGlobalCatchAllActionsInput is an input type that accepts EventOrchestrationGlobalCatchAllActionsArgs and EventOrchestrationGlobalCatchAllActionsOutput values. You can construct a concrete instance of `EventOrchestrationGlobalCatchAllActionsInput` via:

EventOrchestrationGlobalCatchAllActionsArgs{...}

type EventOrchestrationGlobalCatchAllActionsOutput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalCatchAllActionsOutput) Annotate added in v3.10.0

Add this text as a note on the resulting incident.

func (EventOrchestrationGlobalCatchAllActionsOutput) AutomationAction added in v3.10.0

Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) associated with the resulting incident.

func (EventOrchestrationGlobalCatchAllActionsOutput) DropEvent added in v3.10.0

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.

func (EventOrchestrationGlobalCatchAllActionsOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsOutput) EventAction added in v3.10.0

sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`

func (EventOrchestrationGlobalCatchAllActionsOutput) Extractions added in v3.10.0

Replace any CEF field or Custom Details object field using custom variables.

func (EventOrchestrationGlobalCatchAllActionsOutput) Priority added in v3.10.0

The ID of the priority you want to set on resulting incident. Consider using the `getPriority` data source.

func (EventOrchestrationGlobalCatchAllActionsOutput) RouteTo added in v3.10.0

The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.

func (EventOrchestrationGlobalCatchAllActionsOutput) Severity added in v3.10.0

sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`

func (EventOrchestrationGlobalCatchAllActionsOutput) Suppress added in v3.10.0

Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.

func (EventOrchestrationGlobalCatchAllActionsOutput) Suspend added in v3.10.0

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.

func (EventOrchestrationGlobalCatchAllActionsOutput) ToEventOrchestrationGlobalCatchAllActionsOutput added in v3.10.0

func (o EventOrchestrationGlobalCatchAllActionsOutput) ToEventOrchestrationGlobalCatchAllActionsOutput() EventOrchestrationGlobalCatchAllActionsOutput

func (EventOrchestrationGlobalCatchAllActionsOutput) ToEventOrchestrationGlobalCatchAllActionsOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalCatchAllActionsOutput) ToEventOrchestrationGlobalCatchAllActionsOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsOutput

func (EventOrchestrationGlobalCatchAllActionsOutput) ToEventOrchestrationGlobalCatchAllActionsPtrOutput added in v3.10.0

func (o EventOrchestrationGlobalCatchAllActionsOutput) ToEventOrchestrationGlobalCatchAllActionsPtrOutput() EventOrchestrationGlobalCatchAllActionsPtrOutput

func (EventOrchestrationGlobalCatchAllActionsOutput) ToEventOrchestrationGlobalCatchAllActionsPtrOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalCatchAllActionsOutput) ToEventOrchestrationGlobalCatchAllActionsPtrOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsPtrOutput

func (EventOrchestrationGlobalCatchAllActionsOutput) Variables added in v3.10.0

Populate variables from event payloads and use those variables in other event actions.

type EventOrchestrationGlobalCatchAllActionsPtrInput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsPtrInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalCatchAllActionsPtrOutput() EventOrchestrationGlobalCatchAllActionsPtrOutput
	ToEventOrchestrationGlobalCatchAllActionsPtrOutputWithContext(context.Context) EventOrchestrationGlobalCatchAllActionsPtrOutput
}

EventOrchestrationGlobalCatchAllActionsPtrInput is an input type that accepts EventOrchestrationGlobalCatchAllActionsArgs, EventOrchestrationGlobalCatchAllActionsPtr and EventOrchestrationGlobalCatchAllActionsPtrOutput values. You can construct a concrete instance of `EventOrchestrationGlobalCatchAllActionsPtrInput` via:

        EventOrchestrationGlobalCatchAllActionsArgs{...}

or:

        nil

type EventOrchestrationGlobalCatchAllActionsPtrOutput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsPtrOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalCatchAllActionsPtrOutput) Annotate added in v3.10.0

Add this text as a note on the resulting incident.

func (EventOrchestrationGlobalCatchAllActionsPtrOutput) AutomationAction added in v3.10.0

Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) associated with the resulting incident.

func (EventOrchestrationGlobalCatchAllActionsPtrOutput) DropEvent added in v3.10.0

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.

func (EventOrchestrationGlobalCatchAllActionsPtrOutput) Elem added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsPtrOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsPtrOutput) EventAction added in v3.10.0

sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`

func (EventOrchestrationGlobalCatchAllActionsPtrOutput) Extractions added in v3.10.0

Replace any CEF field or Custom Details object field using custom variables.

func (EventOrchestrationGlobalCatchAllActionsPtrOutput) Priority added in v3.10.0

The ID of the priority you want to set on resulting incident. Consider using the `getPriority` data source.

func (EventOrchestrationGlobalCatchAllActionsPtrOutput) RouteTo added in v3.10.0

The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.

func (EventOrchestrationGlobalCatchAllActionsPtrOutput) Severity added in v3.10.0

sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`

func (EventOrchestrationGlobalCatchAllActionsPtrOutput) Suppress added in v3.10.0

Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.

func (EventOrchestrationGlobalCatchAllActionsPtrOutput) Suspend added in v3.10.0

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.

func (EventOrchestrationGlobalCatchAllActionsPtrOutput) ToEventOrchestrationGlobalCatchAllActionsPtrOutput added in v3.10.0

func (o EventOrchestrationGlobalCatchAllActionsPtrOutput) ToEventOrchestrationGlobalCatchAllActionsPtrOutput() EventOrchestrationGlobalCatchAllActionsPtrOutput

func (EventOrchestrationGlobalCatchAllActionsPtrOutput) ToEventOrchestrationGlobalCatchAllActionsPtrOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalCatchAllActionsPtrOutput) ToEventOrchestrationGlobalCatchAllActionsPtrOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsPtrOutput

func (EventOrchestrationGlobalCatchAllActionsPtrOutput) Variables added in v3.10.0

Populate variables from event payloads and use those variables in other event actions.

type EventOrchestrationGlobalCatchAllActionsVariable added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsVariable struct {
	// Name of this Webhook.
	Name string `pulumi:"name"`
	// Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/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](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths).
	Path string `pulumi:"path"`
	// Only `regex` is supported
	Type string `pulumi:"type"`
	// Value of this header
	Value string `pulumi:"value"`
}

type EventOrchestrationGlobalCatchAllActionsVariableArgs added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsVariableArgs struct {
	// Name of this Webhook.
	Name pulumi.StringInput `pulumi:"name"`
	// Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/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](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths).
	Path pulumi.StringInput `pulumi:"path"`
	// Only `regex` is supported
	Type pulumi.StringInput `pulumi:"type"`
	// Value of this header
	Value pulumi.StringInput `pulumi:"value"`
}

func (EventOrchestrationGlobalCatchAllActionsVariableArgs) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsVariableArgs) ToEventOrchestrationGlobalCatchAllActionsVariableOutput added in v3.10.0

func (i EventOrchestrationGlobalCatchAllActionsVariableArgs) ToEventOrchestrationGlobalCatchAllActionsVariableOutput() EventOrchestrationGlobalCatchAllActionsVariableOutput

func (EventOrchestrationGlobalCatchAllActionsVariableArgs) ToEventOrchestrationGlobalCatchAllActionsVariableOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalCatchAllActionsVariableArgs) ToEventOrchestrationGlobalCatchAllActionsVariableOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsVariableOutput

type EventOrchestrationGlobalCatchAllActionsVariableArray added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsVariableArray []EventOrchestrationGlobalCatchAllActionsVariableInput

func (EventOrchestrationGlobalCatchAllActionsVariableArray) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsVariableArray) ToEventOrchestrationGlobalCatchAllActionsVariableArrayOutput added in v3.10.0

func (i EventOrchestrationGlobalCatchAllActionsVariableArray) ToEventOrchestrationGlobalCatchAllActionsVariableArrayOutput() EventOrchestrationGlobalCatchAllActionsVariableArrayOutput

func (EventOrchestrationGlobalCatchAllActionsVariableArray) ToEventOrchestrationGlobalCatchAllActionsVariableArrayOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalCatchAllActionsVariableArray) ToEventOrchestrationGlobalCatchAllActionsVariableArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsVariableArrayOutput

type EventOrchestrationGlobalCatchAllActionsVariableArrayInput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsVariableArrayInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalCatchAllActionsVariableArrayOutput() EventOrchestrationGlobalCatchAllActionsVariableArrayOutput
	ToEventOrchestrationGlobalCatchAllActionsVariableArrayOutputWithContext(context.Context) EventOrchestrationGlobalCatchAllActionsVariableArrayOutput
}

EventOrchestrationGlobalCatchAllActionsVariableArrayInput is an input type that accepts EventOrchestrationGlobalCatchAllActionsVariableArray and EventOrchestrationGlobalCatchAllActionsVariableArrayOutput values. You can construct a concrete instance of `EventOrchestrationGlobalCatchAllActionsVariableArrayInput` via:

EventOrchestrationGlobalCatchAllActionsVariableArray{ EventOrchestrationGlobalCatchAllActionsVariableArgs{...} }

type EventOrchestrationGlobalCatchAllActionsVariableArrayOutput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsVariableArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalCatchAllActionsVariableArrayOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsVariableArrayOutput) Index added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsVariableArrayOutput) ToEventOrchestrationGlobalCatchAllActionsVariableArrayOutput added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsVariableArrayOutput) ToEventOrchestrationGlobalCatchAllActionsVariableArrayOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalCatchAllActionsVariableArrayOutput) ToEventOrchestrationGlobalCatchAllActionsVariableArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsVariableArrayOutput

type EventOrchestrationGlobalCatchAllActionsVariableInput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsVariableInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalCatchAllActionsVariableOutput() EventOrchestrationGlobalCatchAllActionsVariableOutput
	ToEventOrchestrationGlobalCatchAllActionsVariableOutputWithContext(context.Context) EventOrchestrationGlobalCatchAllActionsVariableOutput
}

EventOrchestrationGlobalCatchAllActionsVariableInput is an input type that accepts EventOrchestrationGlobalCatchAllActionsVariableArgs and EventOrchestrationGlobalCatchAllActionsVariableOutput values. You can construct a concrete instance of `EventOrchestrationGlobalCatchAllActionsVariableInput` via:

EventOrchestrationGlobalCatchAllActionsVariableArgs{...}

type EventOrchestrationGlobalCatchAllActionsVariableOutput added in v3.10.0

type EventOrchestrationGlobalCatchAllActionsVariableOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalCatchAllActionsVariableOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsVariableOutput) Name added in v3.10.0

Name of this Webhook.

func (EventOrchestrationGlobalCatchAllActionsVariableOutput) Path added in v3.10.0

Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/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](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths).

func (EventOrchestrationGlobalCatchAllActionsVariableOutput) ToEventOrchestrationGlobalCatchAllActionsVariableOutput added in v3.10.0

func (EventOrchestrationGlobalCatchAllActionsVariableOutput) ToEventOrchestrationGlobalCatchAllActionsVariableOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalCatchAllActionsVariableOutput) ToEventOrchestrationGlobalCatchAllActionsVariableOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllActionsVariableOutput

func (EventOrchestrationGlobalCatchAllActionsVariableOutput) Type added in v3.10.0

Only `regex` is supported

func (EventOrchestrationGlobalCatchAllActionsVariableOutput) Value added in v3.10.0

Value of this header

type EventOrchestrationGlobalCatchAllArgs added in v3.10.0

type EventOrchestrationGlobalCatchAllArgs struct {
	// These are the actions that will be taken to change the resulting alert and incident. `catchAll` supports all actions described above for `rule` _except_ `routeTo` action.
	Actions EventOrchestrationGlobalCatchAllActionsInput `pulumi:"actions"`
}

func (EventOrchestrationGlobalCatchAllArgs) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllArgs) ToEventOrchestrationGlobalCatchAllOutput added in v3.10.0

func (i EventOrchestrationGlobalCatchAllArgs) ToEventOrchestrationGlobalCatchAllOutput() EventOrchestrationGlobalCatchAllOutput

func (EventOrchestrationGlobalCatchAllArgs) ToEventOrchestrationGlobalCatchAllOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalCatchAllArgs) ToEventOrchestrationGlobalCatchAllOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllOutput

func (EventOrchestrationGlobalCatchAllArgs) ToEventOrchestrationGlobalCatchAllPtrOutput added in v3.10.0

func (i EventOrchestrationGlobalCatchAllArgs) ToEventOrchestrationGlobalCatchAllPtrOutput() EventOrchestrationGlobalCatchAllPtrOutput

func (EventOrchestrationGlobalCatchAllArgs) ToEventOrchestrationGlobalCatchAllPtrOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalCatchAllArgs) ToEventOrchestrationGlobalCatchAllPtrOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllPtrOutput

type EventOrchestrationGlobalCatchAllInput added in v3.10.0

type EventOrchestrationGlobalCatchAllInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalCatchAllOutput() EventOrchestrationGlobalCatchAllOutput
	ToEventOrchestrationGlobalCatchAllOutputWithContext(context.Context) EventOrchestrationGlobalCatchAllOutput
}

EventOrchestrationGlobalCatchAllInput is an input type that accepts EventOrchestrationGlobalCatchAllArgs and EventOrchestrationGlobalCatchAllOutput values. You can construct a concrete instance of `EventOrchestrationGlobalCatchAllInput` via:

EventOrchestrationGlobalCatchAllArgs{...}

type EventOrchestrationGlobalCatchAllOutput added in v3.10.0

type EventOrchestrationGlobalCatchAllOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalCatchAllOutput) Actions added in v3.10.0

These are the actions that will be taken to change the resulting alert and incident. `catchAll` supports all actions described above for `rule` _except_ `routeTo` action.

func (EventOrchestrationGlobalCatchAllOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllOutput) ToEventOrchestrationGlobalCatchAllOutput added in v3.10.0

func (o EventOrchestrationGlobalCatchAllOutput) ToEventOrchestrationGlobalCatchAllOutput() EventOrchestrationGlobalCatchAllOutput

func (EventOrchestrationGlobalCatchAllOutput) ToEventOrchestrationGlobalCatchAllOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalCatchAllOutput) ToEventOrchestrationGlobalCatchAllOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllOutput

func (EventOrchestrationGlobalCatchAllOutput) ToEventOrchestrationGlobalCatchAllPtrOutput added in v3.10.0

func (o EventOrchestrationGlobalCatchAllOutput) ToEventOrchestrationGlobalCatchAllPtrOutput() EventOrchestrationGlobalCatchAllPtrOutput

func (EventOrchestrationGlobalCatchAllOutput) ToEventOrchestrationGlobalCatchAllPtrOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalCatchAllOutput) ToEventOrchestrationGlobalCatchAllPtrOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllPtrOutput

type EventOrchestrationGlobalCatchAllPtrInput added in v3.10.0

type EventOrchestrationGlobalCatchAllPtrInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalCatchAllPtrOutput() EventOrchestrationGlobalCatchAllPtrOutput
	ToEventOrchestrationGlobalCatchAllPtrOutputWithContext(context.Context) EventOrchestrationGlobalCatchAllPtrOutput
}

EventOrchestrationGlobalCatchAllPtrInput is an input type that accepts EventOrchestrationGlobalCatchAllArgs, EventOrchestrationGlobalCatchAllPtr and EventOrchestrationGlobalCatchAllPtrOutput values. You can construct a concrete instance of `EventOrchestrationGlobalCatchAllPtrInput` via:

        EventOrchestrationGlobalCatchAllArgs{...}

or:

        nil

type EventOrchestrationGlobalCatchAllPtrOutput added in v3.10.0

type EventOrchestrationGlobalCatchAllPtrOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalCatchAllPtrOutput) Actions added in v3.10.0

These are the actions that will be taken to change the resulting alert and incident. `catchAll` supports all actions described above for `rule` _except_ `routeTo` action.

func (EventOrchestrationGlobalCatchAllPtrOutput) Elem added in v3.10.0

func (EventOrchestrationGlobalCatchAllPtrOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalCatchAllPtrOutput) ToEventOrchestrationGlobalCatchAllPtrOutput added in v3.10.0

func (o EventOrchestrationGlobalCatchAllPtrOutput) ToEventOrchestrationGlobalCatchAllPtrOutput() EventOrchestrationGlobalCatchAllPtrOutput

func (EventOrchestrationGlobalCatchAllPtrOutput) ToEventOrchestrationGlobalCatchAllPtrOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalCatchAllPtrOutput) ToEventOrchestrationGlobalCatchAllPtrOutputWithContext(ctx context.Context) EventOrchestrationGlobalCatchAllPtrOutput

type EventOrchestrationGlobalInput added in v3.10.0

type EventOrchestrationGlobalInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalOutput() EventOrchestrationGlobalOutput
	ToEventOrchestrationGlobalOutputWithContext(ctx context.Context) EventOrchestrationGlobalOutput
}

type EventOrchestrationGlobalMap added in v3.10.0

type EventOrchestrationGlobalMap map[string]EventOrchestrationGlobalInput

func (EventOrchestrationGlobalMap) ElementType added in v3.10.0

func (EventOrchestrationGlobalMap) ToEventOrchestrationGlobalMapOutput added in v3.10.0

func (i EventOrchestrationGlobalMap) ToEventOrchestrationGlobalMapOutput() EventOrchestrationGlobalMapOutput

func (EventOrchestrationGlobalMap) ToEventOrchestrationGlobalMapOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalMap) ToEventOrchestrationGlobalMapOutputWithContext(ctx context.Context) EventOrchestrationGlobalMapOutput

type EventOrchestrationGlobalMapInput added in v3.10.0

type EventOrchestrationGlobalMapInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalMapOutput() EventOrchestrationGlobalMapOutput
	ToEventOrchestrationGlobalMapOutputWithContext(context.Context) EventOrchestrationGlobalMapOutput
}

EventOrchestrationGlobalMapInput is an input type that accepts EventOrchestrationGlobalMap and EventOrchestrationGlobalMapOutput values. You can construct a concrete instance of `EventOrchestrationGlobalMapInput` via:

EventOrchestrationGlobalMap{ "key": EventOrchestrationGlobalArgs{...} }

type EventOrchestrationGlobalMapOutput added in v3.10.0

type EventOrchestrationGlobalMapOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalMapOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalMapOutput) MapIndex added in v3.10.0

func (EventOrchestrationGlobalMapOutput) ToEventOrchestrationGlobalMapOutput added in v3.10.0

func (o EventOrchestrationGlobalMapOutput) ToEventOrchestrationGlobalMapOutput() EventOrchestrationGlobalMapOutput

func (EventOrchestrationGlobalMapOutput) ToEventOrchestrationGlobalMapOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalMapOutput) ToEventOrchestrationGlobalMapOutputWithContext(ctx context.Context) EventOrchestrationGlobalMapOutput

type EventOrchestrationGlobalOutput added in v3.10.0

type EventOrchestrationGlobalOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalOutput) CatchAll added in v3.10.0

the `catchAll` actions will be applied if an Event reaches the end of any set without matching any rules in that set.

func (EventOrchestrationGlobalOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalOutput) EventOrchestration added in v3.10.0

func (o EventOrchestrationGlobalOutput) EventOrchestration() pulumi.StringOutput

ID of the Event Orchestration to which this Global Orchestration belongs to.

func (EventOrchestrationGlobalOutput) Sets added in v3.10.0

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.

func (EventOrchestrationGlobalOutput) ToEventOrchestrationGlobalOutput added in v3.10.0

func (o EventOrchestrationGlobalOutput) ToEventOrchestrationGlobalOutput() EventOrchestrationGlobalOutput

func (EventOrchestrationGlobalOutput) ToEventOrchestrationGlobalOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalOutput) ToEventOrchestrationGlobalOutputWithContext(ctx context.Context) EventOrchestrationGlobalOutput

type EventOrchestrationGlobalSet added in v3.10.0

type EventOrchestrationGlobalSet struct {
	// The ID of this set of rules. Rules in other sets can route events into this set using the rule's `routeTo` property.
	Id    string                            `pulumi:"id"`
	Rules []EventOrchestrationGlobalSetRule `pulumi:"rules"`
}

type EventOrchestrationGlobalSetArgs added in v3.10.0

type EventOrchestrationGlobalSetArgs struct {
	// The ID of this set of rules. Rules in other sets can route events into this set using the rule's `routeTo` property.
	Id    pulumi.StringInput                        `pulumi:"id"`
	Rules EventOrchestrationGlobalSetRuleArrayInput `pulumi:"rules"`
}

func (EventOrchestrationGlobalSetArgs) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetArgs) ToEventOrchestrationGlobalSetOutput added in v3.10.0

func (i EventOrchestrationGlobalSetArgs) ToEventOrchestrationGlobalSetOutput() EventOrchestrationGlobalSetOutput

func (EventOrchestrationGlobalSetArgs) ToEventOrchestrationGlobalSetOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalSetArgs) ToEventOrchestrationGlobalSetOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetOutput

type EventOrchestrationGlobalSetArray added in v3.10.0

type EventOrchestrationGlobalSetArray []EventOrchestrationGlobalSetInput

func (EventOrchestrationGlobalSetArray) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetArray) ToEventOrchestrationGlobalSetArrayOutput added in v3.10.0

func (i EventOrchestrationGlobalSetArray) ToEventOrchestrationGlobalSetArrayOutput() EventOrchestrationGlobalSetArrayOutput

func (EventOrchestrationGlobalSetArray) ToEventOrchestrationGlobalSetArrayOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalSetArray) ToEventOrchestrationGlobalSetArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetArrayOutput

type EventOrchestrationGlobalSetArrayInput added in v3.10.0

type EventOrchestrationGlobalSetArrayInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalSetArrayOutput() EventOrchestrationGlobalSetArrayOutput
	ToEventOrchestrationGlobalSetArrayOutputWithContext(context.Context) EventOrchestrationGlobalSetArrayOutput
}

EventOrchestrationGlobalSetArrayInput is an input type that accepts EventOrchestrationGlobalSetArray and EventOrchestrationGlobalSetArrayOutput values. You can construct a concrete instance of `EventOrchestrationGlobalSetArrayInput` via:

EventOrchestrationGlobalSetArray{ EventOrchestrationGlobalSetArgs{...} }

type EventOrchestrationGlobalSetArrayOutput added in v3.10.0

type EventOrchestrationGlobalSetArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalSetArrayOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetArrayOutput) Index added in v3.10.0

func (EventOrchestrationGlobalSetArrayOutput) ToEventOrchestrationGlobalSetArrayOutput added in v3.10.0

func (o EventOrchestrationGlobalSetArrayOutput) ToEventOrchestrationGlobalSetArrayOutput() EventOrchestrationGlobalSetArrayOutput

func (EventOrchestrationGlobalSetArrayOutput) ToEventOrchestrationGlobalSetArrayOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalSetArrayOutput) ToEventOrchestrationGlobalSetArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetArrayOutput

type EventOrchestrationGlobalSetInput added in v3.10.0

type EventOrchestrationGlobalSetInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalSetOutput() EventOrchestrationGlobalSetOutput
	ToEventOrchestrationGlobalSetOutputWithContext(context.Context) EventOrchestrationGlobalSetOutput
}

EventOrchestrationGlobalSetInput is an input type that accepts EventOrchestrationGlobalSetArgs and EventOrchestrationGlobalSetOutput values. You can construct a concrete instance of `EventOrchestrationGlobalSetInput` via:

EventOrchestrationGlobalSetArgs{...}

type EventOrchestrationGlobalSetOutput added in v3.10.0

type EventOrchestrationGlobalSetOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalSetOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetOutput) Id added in v3.10.0

The ID of this set of rules. Rules in other sets can route events into this set using the rule's `routeTo` property.

func (EventOrchestrationGlobalSetOutput) Rules added in v3.10.0

func (EventOrchestrationGlobalSetOutput) ToEventOrchestrationGlobalSetOutput added in v3.10.0

func (o EventOrchestrationGlobalSetOutput) ToEventOrchestrationGlobalSetOutput() EventOrchestrationGlobalSetOutput

func (EventOrchestrationGlobalSetOutput) ToEventOrchestrationGlobalSetOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalSetOutput) ToEventOrchestrationGlobalSetOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetOutput

type EventOrchestrationGlobalSetRule added in v3.10.0

type EventOrchestrationGlobalSetRule struct {
	// Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
	Actions EventOrchestrationGlobalSetRuleActions `pulumi:"actions"`
	// 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.
	Conditions []EventOrchestrationGlobalSetRuleCondition `pulumi:"conditions"`
	// Indicates whether the rule is disabled and would therefore not be evaluated.
	Disabled *bool `pulumi:"disabled"`
	// The ID of this set of rules. Rules in other sets can route events into this set using the rule's `routeTo` property.
	Id *string `pulumi:"id"`
	// A description of this rule's purpose.
	Label *string `pulumi:"label"`
}

type EventOrchestrationGlobalSetRuleActions added in v3.10.0

type EventOrchestrationGlobalSetRuleActions struct {
	// Add this text as a note on the resulting incident.
	Annotate *string `pulumi:"annotate"`
	// Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) associated with the resulting incident.
	AutomationAction *EventOrchestrationGlobalSetRuleActionsAutomationAction `pulumi:"automationAction"`
	// 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.
	DropEvent *bool `pulumi:"dropEvent"`
	// sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`
	EventAction *string `pulumi:"eventAction"`
	// Replace any CEF field or Custom Details object field using custom variables.
	Extractions []EventOrchestrationGlobalSetRuleActionsExtraction `pulumi:"extractions"`
	// The ID of the priority you want to set on resulting incident. Consider using the `getPriority` data source.
	Priority *string `pulumi:"priority"`
	// The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
	RouteTo *string `pulumi:"routeTo"`
	// sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`
	Severity *string `pulumi:"severity"`
	// Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
	Suppress *bool `pulumi:"suppress"`
	// 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.
	Suspend *int `pulumi:"suspend"`
	// Populate variables from event payloads and use those variables in other event actions.
	Variables []EventOrchestrationGlobalSetRuleActionsVariable `pulumi:"variables"`
}

type EventOrchestrationGlobalSetRuleActionsArgs added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsArgs struct {
	// Add this text as a note on the resulting incident.
	Annotate pulumi.StringPtrInput `pulumi:"annotate"`
	// Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) associated with the resulting incident.
	AutomationAction EventOrchestrationGlobalSetRuleActionsAutomationActionPtrInput `pulumi:"automationAction"`
	// 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.
	DropEvent pulumi.BoolPtrInput `pulumi:"dropEvent"`
	// sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`
	EventAction pulumi.StringPtrInput `pulumi:"eventAction"`
	// Replace any CEF field or Custom Details object field using custom variables.
	Extractions EventOrchestrationGlobalSetRuleActionsExtractionArrayInput `pulumi:"extractions"`
	// The ID of the priority you want to set on resulting incident. Consider using the `getPriority` data source.
	Priority pulumi.StringPtrInput `pulumi:"priority"`
	// The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
	RouteTo pulumi.StringPtrInput `pulumi:"routeTo"`
	// sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`
	Severity pulumi.StringPtrInput `pulumi:"severity"`
	// Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
	Suppress pulumi.BoolPtrInput `pulumi:"suppress"`
	// 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.
	Suspend pulumi.IntPtrInput `pulumi:"suspend"`
	// Populate variables from event payloads and use those variables in other event actions.
	Variables EventOrchestrationGlobalSetRuleActionsVariableArrayInput `pulumi:"variables"`
}

func (EventOrchestrationGlobalSetRuleActionsArgs) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsArgs) ToEventOrchestrationGlobalSetRuleActionsOutput added in v3.10.0

func (i EventOrchestrationGlobalSetRuleActionsArgs) ToEventOrchestrationGlobalSetRuleActionsOutput() EventOrchestrationGlobalSetRuleActionsOutput

func (EventOrchestrationGlobalSetRuleActionsArgs) ToEventOrchestrationGlobalSetRuleActionsOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalSetRuleActionsArgs) ToEventOrchestrationGlobalSetRuleActionsOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsOutput

type EventOrchestrationGlobalSetRuleActionsAutomationAction added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationAction struct {
	// 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.
	AutoSend *bool `pulumi:"autoSend"`
	// Specify custom key/value pairs that'll be sent with the webhook request as request headers.
	Headers []EventOrchestrationGlobalSetRuleActionsAutomationActionHeader `pulumi:"headers"`
	// Name of this Webhook.
	Name string `pulumi:"name"`
	// Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
	Parameters []EventOrchestrationGlobalSetRuleActionsAutomationActionParameter `pulumi:"parameters"`
	// The API endpoint where PagerDuty's servers will send the webhook request.
	Url string `pulumi:"url"`
}

type EventOrchestrationGlobalSetRuleActionsAutomationActionArgs added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionArgs struct {
	// 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.
	AutoSend pulumi.BoolPtrInput `pulumi:"autoSend"`
	// Specify custom key/value pairs that'll be sent with the webhook request as request headers.
	Headers EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayInput `pulumi:"headers"`
	// Name of this Webhook.
	Name pulumi.StringInput `pulumi:"name"`
	// Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
	Parameters EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayInput `pulumi:"parameters"`
	// The API endpoint where PagerDuty's servers will send the webhook request.
	Url pulumi.StringInput `pulumi:"url"`
}

func (EventOrchestrationGlobalSetRuleActionsAutomationActionArgs) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionArgs) ToEventOrchestrationGlobalSetRuleActionsAutomationActionOutput added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionArgs) ToEventOrchestrationGlobalSetRuleActionsAutomationActionOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalSetRuleActionsAutomationActionArgs) ToEventOrchestrationGlobalSetRuleActionsAutomationActionOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsAutomationActionOutput

func (EventOrchestrationGlobalSetRuleActionsAutomationActionArgs) ToEventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionArgs) ToEventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalSetRuleActionsAutomationActionArgs) ToEventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput

type EventOrchestrationGlobalSetRuleActionsAutomationActionHeader added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionHeader struct {
	// Name to identify the header
	Key string `pulumi:"key"`
	// Value of this header
	Value string `pulumi:"value"`
}

type EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs struct {
	// Name to identify the header
	Key pulumi.StringInput `pulumi:"key"`
	// Value of this header
	Value pulumi.StringInput `pulumi:"value"`
}

func (EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs) ToEventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutput added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs) ToEventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs) ToEventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutput

type EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArray added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArray []EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderInput

func (EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArray) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArray) ToEventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutput added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArray) ToEventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArray) ToEventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutput

type EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayInput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutput() EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutput
	ToEventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutputWithContext(context.Context) EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutput
}

EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayInput is an input type that accepts EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArray and EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutput values. You can construct a concrete instance of `EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayInput` via:

EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArray{ EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs{...} }

type EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutput) Index added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutput added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArrayOutput

type EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderInput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutput() EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutput
	ToEventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutputWithContext(context.Context) EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutput
}

EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderInput is an input type that accepts EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs and EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutput values. You can construct a concrete instance of `EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderInput` via:

EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs{...}

type EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutput) Key added in v3.10.0

Name to identify the header

func (EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutput added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutput

func (EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderOutput) Value added in v3.10.0

Value of this header

type EventOrchestrationGlobalSetRuleActionsAutomationActionInput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalSetRuleActionsAutomationActionOutput() EventOrchestrationGlobalSetRuleActionsAutomationActionOutput
	ToEventOrchestrationGlobalSetRuleActionsAutomationActionOutputWithContext(context.Context) EventOrchestrationGlobalSetRuleActionsAutomationActionOutput
}

EventOrchestrationGlobalSetRuleActionsAutomationActionInput is an input type that accepts EventOrchestrationGlobalSetRuleActionsAutomationActionArgs and EventOrchestrationGlobalSetRuleActionsAutomationActionOutput values. You can construct a concrete instance of `EventOrchestrationGlobalSetRuleActionsAutomationActionInput` via:

EventOrchestrationGlobalSetRuleActionsAutomationActionArgs{...}

type EventOrchestrationGlobalSetRuleActionsAutomationActionOutput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalSetRuleActionsAutomationActionOutput) AutoSend added in v3.10.0

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.

func (EventOrchestrationGlobalSetRuleActionsAutomationActionOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionOutput) Headers added in v3.10.0

Specify custom key/value pairs that'll be sent with the webhook request as request headers.

func (EventOrchestrationGlobalSetRuleActionsAutomationActionOutput) Name added in v3.10.0

Name of this Webhook.

func (EventOrchestrationGlobalSetRuleActionsAutomationActionOutput) Parameters added in v3.10.0

Specify custom key/value pairs that'll be included in the webhook request's JSON payload.

func (EventOrchestrationGlobalSetRuleActionsAutomationActionOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionOutput added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalSetRuleActionsAutomationActionOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsAutomationActionOutput

func (EventOrchestrationGlobalSetRuleActionsAutomationActionOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalSetRuleActionsAutomationActionOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput

func (EventOrchestrationGlobalSetRuleActionsAutomationActionOutput) Url added in v3.10.0

The API endpoint where PagerDuty's servers will send the webhook request.

type EventOrchestrationGlobalSetRuleActionsAutomationActionParameter added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionParameter struct {
	// Name to identify the header
	Key string `pulumi:"key"`
	// Value of this header
	Value string `pulumi:"value"`
}

type EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs struct {
	// Name to identify the header
	Key pulumi.StringInput `pulumi:"key"`
	// Value of this header
	Value pulumi.StringInput `pulumi:"value"`
}

func (EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs) ToEventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutput added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs) ToEventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs) ToEventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutput

type EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArray added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArray []EventOrchestrationGlobalSetRuleActionsAutomationActionParameterInput

func (EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArray) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArray) ToEventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayOutput added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArray) ToEventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArray) ToEventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayOutput

type EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayInput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayOutput() EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayOutput
	ToEventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayOutputWithContext(context.Context) EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayOutput
}

EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayInput is an input type that accepts EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArray and EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayOutput values. You can construct a concrete instance of `EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayInput` via:

EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArray{ EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs{...} }

type EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayOutput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayOutput) Index added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayOutput added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionParameterArrayOutputWithContext added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionParameterInput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionParameterInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutput() EventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutput
	ToEventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutputWithContext(context.Context) EventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutput
}

EventOrchestrationGlobalSetRuleActionsAutomationActionParameterInput is an input type that accepts EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs and EventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutput values. You can construct a concrete instance of `EventOrchestrationGlobalSetRuleActionsAutomationActionParameterInput` via:

EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs{...}

type EventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutput) Key added in v3.10.0

Name to identify the header

func (EventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutput added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutput

func (EventOrchestrationGlobalSetRuleActionsAutomationActionParameterOutput) Value added in v3.10.0

Value of this header

type EventOrchestrationGlobalSetRuleActionsAutomationActionPtrInput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionPtrInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput() EventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput
	ToEventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutputWithContext(context.Context) EventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput
}

EventOrchestrationGlobalSetRuleActionsAutomationActionPtrInput is an input type that accepts EventOrchestrationGlobalSetRuleActionsAutomationActionArgs, EventOrchestrationGlobalSetRuleActionsAutomationActionPtr and EventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput values. You can construct a concrete instance of `EventOrchestrationGlobalSetRuleActionsAutomationActionPtrInput` via:

        EventOrchestrationGlobalSetRuleActionsAutomationActionArgs{...}

or:

        nil

type EventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput) AutoSend added in v3.10.0

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.

func (EventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput) Elem added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput) Headers added in v3.10.0

Specify custom key/value pairs that'll be sent with the webhook request as request headers.

func (EventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput) Name added in v3.10.0

Name of this Webhook.

func (EventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput) Parameters added in v3.10.0

Specify custom key/value pairs that'll be included in the webhook request's JSON payload.

func (EventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput) ToEventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput

func (EventOrchestrationGlobalSetRuleActionsAutomationActionPtrOutput) Url added in v3.10.0

The API endpoint where PagerDuty's servers will send the webhook request.

type EventOrchestrationGlobalSetRuleActionsExtraction added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsExtraction struct {
	// A [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) 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.
	Regex *string `pulumi:"regex"`
	// The path to the event field where the `regex` will be applied to extract a value. You can use any valid [PCL path](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths) 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.
	Source *string `pulumi:"source"`
	// The PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/pd-cef) field that will be set with the value from the `template` or based on `regex` and `source` fields.
	Target string `pulumi:"target"`
	// 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}}`
	Template *string `pulumi:"template"`
}

type EventOrchestrationGlobalSetRuleActionsExtractionArgs added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsExtractionArgs struct {
	// A [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) 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.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
	// The path to the event field where the `regex` will be applied to extract a value. You can use any valid [PCL path](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths) 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.
	Source pulumi.StringPtrInput `pulumi:"source"`
	// The PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/pd-cef) field that will be set with the value from the `template` or based on `regex` and `source` fields.
	Target pulumi.StringInput `pulumi:"target"`
	// 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}}`
	Template pulumi.StringPtrInput `pulumi:"template"`
}

func (EventOrchestrationGlobalSetRuleActionsExtractionArgs) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsExtractionArgs) ToEventOrchestrationGlobalSetRuleActionsExtractionOutput added in v3.10.0

func (i EventOrchestrationGlobalSetRuleActionsExtractionArgs) ToEventOrchestrationGlobalSetRuleActionsExtractionOutput() EventOrchestrationGlobalSetRuleActionsExtractionOutput

func (EventOrchestrationGlobalSetRuleActionsExtractionArgs) ToEventOrchestrationGlobalSetRuleActionsExtractionOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalSetRuleActionsExtractionArgs) ToEventOrchestrationGlobalSetRuleActionsExtractionOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsExtractionOutput

type EventOrchestrationGlobalSetRuleActionsExtractionArray added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsExtractionArray []EventOrchestrationGlobalSetRuleActionsExtractionInput

func (EventOrchestrationGlobalSetRuleActionsExtractionArray) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsExtractionArray) ToEventOrchestrationGlobalSetRuleActionsExtractionArrayOutput added in v3.10.0

func (i EventOrchestrationGlobalSetRuleActionsExtractionArray) ToEventOrchestrationGlobalSetRuleActionsExtractionArrayOutput() EventOrchestrationGlobalSetRuleActionsExtractionArrayOutput

func (EventOrchestrationGlobalSetRuleActionsExtractionArray) ToEventOrchestrationGlobalSetRuleActionsExtractionArrayOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalSetRuleActionsExtractionArray) ToEventOrchestrationGlobalSetRuleActionsExtractionArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsExtractionArrayOutput

type EventOrchestrationGlobalSetRuleActionsExtractionArrayInput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsExtractionArrayInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalSetRuleActionsExtractionArrayOutput() EventOrchestrationGlobalSetRuleActionsExtractionArrayOutput
	ToEventOrchestrationGlobalSetRuleActionsExtractionArrayOutputWithContext(context.Context) EventOrchestrationGlobalSetRuleActionsExtractionArrayOutput
}

EventOrchestrationGlobalSetRuleActionsExtractionArrayInput is an input type that accepts EventOrchestrationGlobalSetRuleActionsExtractionArray and EventOrchestrationGlobalSetRuleActionsExtractionArrayOutput values. You can construct a concrete instance of `EventOrchestrationGlobalSetRuleActionsExtractionArrayInput` via:

EventOrchestrationGlobalSetRuleActionsExtractionArray{ EventOrchestrationGlobalSetRuleActionsExtractionArgs{...} }

type EventOrchestrationGlobalSetRuleActionsExtractionArrayOutput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsExtractionArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalSetRuleActionsExtractionArrayOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsExtractionArrayOutput) Index added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsExtractionArrayOutput) ToEventOrchestrationGlobalSetRuleActionsExtractionArrayOutput added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsExtractionArrayOutput) ToEventOrchestrationGlobalSetRuleActionsExtractionArrayOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalSetRuleActionsExtractionArrayOutput) ToEventOrchestrationGlobalSetRuleActionsExtractionArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsExtractionArrayOutput

type EventOrchestrationGlobalSetRuleActionsExtractionInput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsExtractionInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalSetRuleActionsExtractionOutput() EventOrchestrationGlobalSetRuleActionsExtractionOutput
	ToEventOrchestrationGlobalSetRuleActionsExtractionOutputWithContext(context.Context) EventOrchestrationGlobalSetRuleActionsExtractionOutput
}

EventOrchestrationGlobalSetRuleActionsExtractionInput is an input type that accepts EventOrchestrationGlobalSetRuleActionsExtractionArgs and EventOrchestrationGlobalSetRuleActionsExtractionOutput values. You can construct a concrete instance of `EventOrchestrationGlobalSetRuleActionsExtractionInput` via:

EventOrchestrationGlobalSetRuleActionsExtractionArgs{...}

type EventOrchestrationGlobalSetRuleActionsExtractionOutput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsExtractionOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalSetRuleActionsExtractionOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsExtractionOutput) Regex added in v3.10.0

A [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) 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.

func (EventOrchestrationGlobalSetRuleActionsExtractionOutput) Source added in v3.10.0

The path to the event field where the `regex` will be applied to extract a value. You can use any valid [PCL path](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths) 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.

func (EventOrchestrationGlobalSetRuleActionsExtractionOutput) Target added in v3.10.0

The PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/pd-cef) field that will be set with the value from the `template` or based on `regex` and `source` fields.

func (EventOrchestrationGlobalSetRuleActionsExtractionOutput) Template added in v3.10.0

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}}`

func (EventOrchestrationGlobalSetRuleActionsExtractionOutput) ToEventOrchestrationGlobalSetRuleActionsExtractionOutput added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsExtractionOutput) ToEventOrchestrationGlobalSetRuleActionsExtractionOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalSetRuleActionsExtractionOutput) ToEventOrchestrationGlobalSetRuleActionsExtractionOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsExtractionOutput

type EventOrchestrationGlobalSetRuleActionsInput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalSetRuleActionsOutput() EventOrchestrationGlobalSetRuleActionsOutput
	ToEventOrchestrationGlobalSetRuleActionsOutputWithContext(context.Context) EventOrchestrationGlobalSetRuleActionsOutput
}

EventOrchestrationGlobalSetRuleActionsInput is an input type that accepts EventOrchestrationGlobalSetRuleActionsArgs and EventOrchestrationGlobalSetRuleActionsOutput values. You can construct a concrete instance of `EventOrchestrationGlobalSetRuleActionsInput` via:

EventOrchestrationGlobalSetRuleActionsArgs{...}

type EventOrchestrationGlobalSetRuleActionsOutput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalSetRuleActionsOutput) Annotate added in v3.10.0

Add this text as a note on the resulting incident.

func (EventOrchestrationGlobalSetRuleActionsOutput) AutomationAction added in v3.10.0

Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) associated with the resulting incident.

func (EventOrchestrationGlobalSetRuleActionsOutput) DropEvent added in v3.10.0

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.

func (EventOrchestrationGlobalSetRuleActionsOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsOutput) EventAction added in v3.10.0

sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`

func (EventOrchestrationGlobalSetRuleActionsOutput) Extractions added in v3.10.0

Replace any CEF field or Custom Details object field using custom variables.

func (EventOrchestrationGlobalSetRuleActionsOutput) Priority added in v3.10.0

The ID of the priority you want to set on resulting incident. Consider using the `getPriority` data source.

func (EventOrchestrationGlobalSetRuleActionsOutput) RouteTo added in v3.10.0

The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.

func (EventOrchestrationGlobalSetRuleActionsOutput) Severity added in v3.10.0

sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`

func (EventOrchestrationGlobalSetRuleActionsOutput) Suppress added in v3.10.0

Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.

func (EventOrchestrationGlobalSetRuleActionsOutput) Suspend added in v3.10.0

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.

func (EventOrchestrationGlobalSetRuleActionsOutput) ToEventOrchestrationGlobalSetRuleActionsOutput added in v3.10.0

func (o EventOrchestrationGlobalSetRuleActionsOutput) ToEventOrchestrationGlobalSetRuleActionsOutput() EventOrchestrationGlobalSetRuleActionsOutput

func (EventOrchestrationGlobalSetRuleActionsOutput) ToEventOrchestrationGlobalSetRuleActionsOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalSetRuleActionsOutput) ToEventOrchestrationGlobalSetRuleActionsOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsOutput

func (EventOrchestrationGlobalSetRuleActionsOutput) Variables added in v3.10.0

Populate variables from event payloads and use those variables in other event actions.

type EventOrchestrationGlobalSetRuleActionsVariable added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsVariable struct {
	// Name of this Webhook.
	Name string `pulumi:"name"`
	// Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/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](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths).
	Path string `pulumi:"path"`
	// Only `regex` is supported
	Type string `pulumi:"type"`
	// Value of this header
	Value string `pulumi:"value"`
}

type EventOrchestrationGlobalSetRuleActionsVariableArgs added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsVariableArgs struct {
	// Name of this Webhook.
	Name pulumi.StringInput `pulumi:"name"`
	// Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/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](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths).
	Path pulumi.StringInput `pulumi:"path"`
	// Only `regex` is supported
	Type pulumi.StringInput `pulumi:"type"`
	// Value of this header
	Value pulumi.StringInput `pulumi:"value"`
}

func (EventOrchestrationGlobalSetRuleActionsVariableArgs) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsVariableArgs) ToEventOrchestrationGlobalSetRuleActionsVariableOutput added in v3.10.0

func (i EventOrchestrationGlobalSetRuleActionsVariableArgs) ToEventOrchestrationGlobalSetRuleActionsVariableOutput() EventOrchestrationGlobalSetRuleActionsVariableOutput

func (EventOrchestrationGlobalSetRuleActionsVariableArgs) ToEventOrchestrationGlobalSetRuleActionsVariableOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalSetRuleActionsVariableArgs) ToEventOrchestrationGlobalSetRuleActionsVariableOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsVariableOutput

type EventOrchestrationGlobalSetRuleActionsVariableArray added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsVariableArray []EventOrchestrationGlobalSetRuleActionsVariableInput

func (EventOrchestrationGlobalSetRuleActionsVariableArray) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsVariableArray) ToEventOrchestrationGlobalSetRuleActionsVariableArrayOutput added in v3.10.0

func (i EventOrchestrationGlobalSetRuleActionsVariableArray) ToEventOrchestrationGlobalSetRuleActionsVariableArrayOutput() EventOrchestrationGlobalSetRuleActionsVariableArrayOutput

func (EventOrchestrationGlobalSetRuleActionsVariableArray) ToEventOrchestrationGlobalSetRuleActionsVariableArrayOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalSetRuleActionsVariableArray) ToEventOrchestrationGlobalSetRuleActionsVariableArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsVariableArrayOutput

type EventOrchestrationGlobalSetRuleActionsVariableArrayInput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsVariableArrayInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalSetRuleActionsVariableArrayOutput() EventOrchestrationGlobalSetRuleActionsVariableArrayOutput
	ToEventOrchestrationGlobalSetRuleActionsVariableArrayOutputWithContext(context.Context) EventOrchestrationGlobalSetRuleActionsVariableArrayOutput
}

EventOrchestrationGlobalSetRuleActionsVariableArrayInput is an input type that accepts EventOrchestrationGlobalSetRuleActionsVariableArray and EventOrchestrationGlobalSetRuleActionsVariableArrayOutput values. You can construct a concrete instance of `EventOrchestrationGlobalSetRuleActionsVariableArrayInput` via:

EventOrchestrationGlobalSetRuleActionsVariableArray{ EventOrchestrationGlobalSetRuleActionsVariableArgs{...} }

type EventOrchestrationGlobalSetRuleActionsVariableArrayOutput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsVariableArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalSetRuleActionsVariableArrayOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsVariableArrayOutput) Index added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsVariableArrayOutput) ToEventOrchestrationGlobalSetRuleActionsVariableArrayOutput added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsVariableArrayOutput) ToEventOrchestrationGlobalSetRuleActionsVariableArrayOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalSetRuleActionsVariableArrayOutput) ToEventOrchestrationGlobalSetRuleActionsVariableArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsVariableArrayOutput

type EventOrchestrationGlobalSetRuleActionsVariableInput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsVariableInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalSetRuleActionsVariableOutput() EventOrchestrationGlobalSetRuleActionsVariableOutput
	ToEventOrchestrationGlobalSetRuleActionsVariableOutputWithContext(context.Context) EventOrchestrationGlobalSetRuleActionsVariableOutput
}

EventOrchestrationGlobalSetRuleActionsVariableInput is an input type that accepts EventOrchestrationGlobalSetRuleActionsVariableArgs and EventOrchestrationGlobalSetRuleActionsVariableOutput values. You can construct a concrete instance of `EventOrchestrationGlobalSetRuleActionsVariableInput` via:

EventOrchestrationGlobalSetRuleActionsVariableArgs{...}

type EventOrchestrationGlobalSetRuleActionsVariableOutput added in v3.10.0

type EventOrchestrationGlobalSetRuleActionsVariableOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalSetRuleActionsVariableOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsVariableOutput) Name added in v3.10.0

Name of this Webhook.

func (EventOrchestrationGlobalSetRuleActionsVariableOutput) Path added in v3.10.0

Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/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](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths).

func (EventOrchestrationGlobalSetRuleActionsVariableOutput) ToEventOrchestrationGlobalSetRuleActionsVariableOutput added in v3.10.0

func (EventOrchestrationGlobalSetRuleActionsVariableOutput) ToEventOrchestrationGlobalSetRuleActionsVariableOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalSetRuleActionsVariableOutput) ToEventOrchestrationGlobalSetRuleActionsVariableOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleActionsVariableOutput

func (EventOrchestrationGlobalSetRuleActionsVariableOutput) Type added in v3.10.0

Only `regex` is supported

func (EventOrchestrationGlobalSetRuleActionsVariableOutput) Value added in v3.10.0

Value of this header

type EventOrchestrationGlobalSetRuleArgs added in v3.10.0

type EventOrchestrationGlobalSetRuleArgs struct {
	// Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
	Actions EventOrchestrationGlobalSetRuleActionsInput `pulumi:"actions"`
	// 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.
	Conditions EventOrchestrationGlobalSetRuleConditionArrayInput `pulumi:"conditions"`
	// Indicates whether the rule is disabled and would therefore not be evaluated.
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// The ID of this set of rules. Rules in other sets can route events into this set using the rule's `routeTo` property.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A description of this rule's purpose.
	Label pulumi.StringPtrInput `pulumi:"label"`
}

func (EventOrchestrationGlobalSetRuleArgs) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleArgs) ToEventOrchestrationGlobalSetRuleOutput added in v3.10.0

func (i EventOrchestrationGlobalSetRuleArgs) ToEventOrchestrationGlobalSetRuleOutput() EventOrchestrationGlobalSetRuleOutput

func (EventOrchestrationGlobalSetRuleArgs) ToEventOrchestrationGlobalSetRuleOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalSetRuleArgs) ToEventOrchestrationGlobalSetRuleOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleOutput

type EventOrchestrationGlobalSetRuleArray added in v3.10.0

type EventOrchestrationGlobalSetRuleArray []EventOrchestrationGlobalSetRuleInput

func (EventOrchestrationGlobalSetRuleArray) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleArray) ToEventOrchestrationGlobalSetRuleArrayOutput added in v3.10.0

func (i EventOrchestrationGlobalSetRuleArray) ToEventOrchestrationGlobalSetRuleArrayOutput() EventOrchestrationGlobalSetRuleArrayOutput

func (EventOrchestrationGlobalSetRuleArray) ToEventOrchestrationGlobalSetRuleArrayOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalSetRuleArray) ToEventOrchestrationGlobalSetRuleArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleArrayOutput

type EventOrchestrationGlobalSetRuleArrayInput added in v3.10.0

type EventOrchestrationGlobalSetRuleArrayInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalSetRuleArrayOutput() EventOrchestrationGlobalSetRuleArrayOutput
	ToEventOrchestrationGlobalSetRuleArrayOutputWithContext(context.Context) EventOrchestrationGlobalSetRuleArrayOutput
}

EventOrchestrationGlobalSetRuleArrayInput is an input type that accepts EventOrchestrationGlobalSetRuleArray and EventOrchestrationGlobalSetRuleArrayOutput values. You can construct a concrete instance of `EventOrchestrationGlobalSetRuleArrayInput` via:

EventOrchestrationGlobalSetRuleArray{ EventOrchestrationGlobalSetRuleArgs{...} }

type EventOrchestrationGlobalSetRuleArrayOutput added in v3.10.0

type EventOrchestrationGlobalSetRuleArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalSetRuleArrayOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleArrayOutput) Index added in v3.10.0

func (EventOrchestrationGlobalSetRuleArrayOutput) ToEventOrchestrationGlobalSetRuleArrayOutput added in v3.10.0

func (o EventOrchestrationGlobalSetRuleArrayOutput) ToEventOrchestrationGlobalSetRuleArrayOutput() EventOrchestrationGlobalSetRuleArrayOutput

func (EventOrchestrationGlobalSetRuleArrayOutput) ToEventOrchestrationGlobalSetRuleArrayOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalSetRuleArrayOutput) ToEventOrchestrationGlobalSetRuleArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleArrayOutput

type EventOrchestrationGlobalSetRuleCondition added in v3.10.0

type EventOrchestrationGlobalSetRuleCondition struct {
	// A [PCL condition](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview) string.
	Expression string `pulumi:"expression"`
}

type EventOrchestrationGlobalSetRuleConditionArgs added in v3.10.0

type EventOrchestrationGlobalSetRuleConditionArgs struct {
	// A [PCL condition](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview) string.
	Expression pulumi.StringInput `pulumi:"expression"`
}

func (EventOrchestrationGlobalSetRuleConditionArgs) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleConditionArgs) ToEventOrchestrationGlobalSetRuleConditionOutput added in v3.10.0

func (i EventOrchestrationGlobalSetRuleConditionArgs) ToEventOrchestrationGlobalSetRuleConditionOutput() EventOrchestrationGlobalSetRuleConditionOutput

func (EventOrchestrationGlobalSetRuleConditionArgs) ToEventOrchestrationGlobalSetRuleConditionOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalSetRuleConditionArgs) ToEventOrchestrationGlobalSetRuleConditionOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleConditionOutput

type EventOrchestrationGlobalSetRuleConditionArray added in v3.10.0

type EventOrchestrationGlobalSetRuleConditionArray []EventOrchestrationGlobalSetRuleConditionInput

func (EventOrchestrationGlobalSetRuleConditionArray) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleConditionArray) ToEventOrchestrationGlobalSetRuleConditionArrayOutput added in v3.10.0

func (i EventOrchestrationGlobalSetRuleConditionArray) ToEventOrchestrationGlobalSetRuleConditionArrayOutput() EventOrchestrationGlobalSetRuleConditionArrayOutput

func (EventOrchestrationGlobalSetRuleConditionArray) ToEventOrchestrationGlobalSetRuleConditionArrayOutputWithContext added in v3.10.0

func (i EventOrchestrationGlobalSetRuleConditionArray) ToEventOrchestrationGlobalSetRuleConditionArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleConditionArrayOutput

type EventOrchestrationGlobalSetRuleConditionArrayInput added in v3.10.0

type EventOrchestrationGlobalSetRuleConditionArrayInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalSetRuleConditionArrayOutput() EventOrchestrationGlobalSetRuleConditionArrayOutput
	ToEventOrchestrationGlobalSetRuleConditionArrayOutputWithContext(context.Context) EventOrchestrationGlobalSetRuleConditionArrayOutput
}

EventOrchestrationGlobalSetRuleConditionArrayInput is an input type that accepts EventOrchestrationGlobalSetRuleConditionArray and EventOrchestrationGlobalSetRuleConditionArrayOutput values. You can construct a concrete instance of `EventOrchestrationGlobalSetRuleConditionArrayInput` via:

EventOrchestrationGlobalSetRuleConditionArray{ EventOrchestrationGlobalSetRuleConditionArgs{...} }

type EventOrchestrationGlobalSetRuleConditionArrayOutput added in v3.10.0

type EventOrchestrationGlobalSetRuleConditionArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalSetRuleConditionArrayOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleConditionArrayOutput) Index added in v3.10.0

func (EventOrchestrationGlobalSetRuleConditionArrayOutput) ToEventOrchestrationGlobalSetRuleConditionArrayOutput added in v3.10.0

func (o EventOrchestrationGlobalSetRuleConditionArrayOutput) ToEventOrchestrationGlobalSetRuleConditionArrayOutput() EventOrchestrationGlobalSetRuleConditionArrayOutput

func (EventOrchestrationGlobalSetRuleConditionArrayOutput) ToEventOrchestrationGlobalSetRuleConditionArrayOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalSetRuleConditionArrayOutput) ToEventOrchestrationGlobalSetRuleConditionArrayOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleConditionArrayOutput

type EventOrchestrationGlobalSetRuleConditionInput added in v3.10.0

type EventOrchestrationGlobalSetRuleConditionInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalSetRuleConditionOutput() EventOrchestrationGlobalSetRuleConditionOutput
	ToEventOrchestrationGlobalSetRuleConditionOutputWithContext(context.Context) EventOrchestrationGlobalSetRuleConditionOutput
}

EventOrchestrationGlobalSetRuleConditionInput is an input type that accepts EventOrchestrationGlobalSetRuleConditionArgs and EventOrchestrationGlobalSetRuleConditionOutput values. You can construct a concrete instance of `EventOrchestrationGlobalSetRuleConditionInput` via:

EventOrchestrationGlobalSetRuleConditionArgs{...}

type EventOrchestrationGlobalSetRuleConditionOutput added in v3.10.0

type EventOrchestrationGlobalSetRuleConditionOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalSetRuleConditionOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleConditionOutput) Expression added in v3.10.0

A [PCL condition](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview) string.

func (EventOrchestrationGlobalSetRuleConditionOutput) ToEventOrchestrationGlobalSetRuleConditionOutput added in v3.10.0

func (o EventOrchestrationGlobalSetRuleConditionOutput) ToEventOrchestrationGlobalSetRuleConditionOutput() EventOrchestrationGlobalSetRuleConditionOutput

func (EventOrchestrationGlobalSetRuleConditionOutput) ToEventOrchestrationGlobalSetRuleConditionOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalSetRuleConditionOutput) ToEventOrchestrationGlobalSetRuleConditionOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleConditionOutput

type EventOrchestrationGlobalSetRuleInput added in v3.10.0

type EventOrchestrationGlobalSetRuleInput interface {
	pulumi.Input

	ToEventOrchestrationGlobalSetRuleOutput() EventOrchestrationGlobalSetRuleOutput
	ToEventOrchestrationGlobalSetRuleOutputWithContext(context.Context) EventOrchestrationGlobalSetRuleOutput
}

EventOrchestrationGlobalSetRuleInput is an input type that accepts EventOrchestrationGlobalSetRuleArgs and EventOrchestrationGlobalSetRuleOutput values. You can construct a concrete instance of `EventOrchestrationGlobalSetRuleInput` via:

EventOrchestrationGlobalSetRuleArgs{...}

type EventOrchestrationGlobalSetRuleOutput added in v3.10.0

type EventOrchestrationGlobalSetRuleOutput struct{ *pulumi.OutputState }

func (EventOrchestrationGlobalSetRuleOutput) Actions added in v3.10.0

Actions that will be taken to change the resulting alert and incident, when an event matches this rule.

func (EventOrchestrationGlobalSetRuleOutput) Conditions added in v3.10.0

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.

func (EventOrchestrationGlobalSetRuleOutput) Disabled added in v3.10.0

Indicates whether the rule is disabled and would therefore not be evaluated.

func (EventOrchestrationGlobalSetRuleOutput) ElementType added in v3.10.0

func (EventOrchestrationGlobalSetRuleOutput) Id added in v3.10.0

The ID of this set of rules. Rules in other sets can route events into this set using the rule's `routeTo` property.

func (EventOrchestrationGlobalSetRuleOutput) Label added in v3.10.0

A description of this rule's purpose.

func (EventOrchestrationGlobalSetRuleOutput) ToEventOrchestrationGlobalSetRuleOutput added in v3.10.0

func (o EventOrchestrationGlobalSetRuleOutput) ToEventOrchestrationGlobalSetRuleOutput() EventOrchestrationGlobalSetRuleOutput

func (EventOrchestrationGlobalSetRuleOutput) ToEventOrchestrationGlobalSetRuleOutputWithContext added in v3.10.0

func (o EventOrchestrationGlobalSetRuleOutput) ToEventOrchestrationGlobalSetRuleOutputWithContext(ctx context.Context) EventOrchestrationGlobalSetRuleOutput

type EventOrchestrationGlobalState added in v3.10.0

type EventOrchestrationGlobalState struct {
	// the `catchAll` actions will be applied if an Event reaches the end of any set without matching any rules in that set.
	CatchAll EventOrchestrationGlobalCatchAllPtrInput
	// ID of the Event Orchestration to which this Global Orchestration belongs to.
	EventOrchestration pulumi.StringPtrInput
	// 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.
	Sets EventOrchestrationGlobalSetArrayInput
}

func (EventOrchestrationGlobalState) ElementType added in v3.10.0

type EventOrchestrationInput added in v3.5.0

type EventOrchestrationInput interface {
	pulumi.Input

	ToEventOrchestrationOutput() EventOrchestrationOutput
	ToEventOrchestrationOutputWithContext(ctx context.Context) EventOrchestrationOutput
}

type EventOrchestrationIntegration added in v3.5.0

type EventOrchestrationIntegration struct {
	pulumi.CustomResourceState

	// ID of the Event Orchestration to which this Integration belongs to. If value is changed, current Integration is associated with a newly provided ID.
	EventOrchestration pulumi.StringOutput `pulumi:"eventOrchestration"`
	// Name/description of the Integration.
	Label      pulumi.StringOutput                               `pulumi:"label"`
	Parameters EventOrchestrationIntegrationParameterArrayOutput `pulumi:"parameters"`
}

An Event Orchestration Integration allows you to create and manage multiple Integrations (and Routing Keys) per Event Orchestration _and_ will allow you to move (migrate) Integrations _between_ two Event Orchestrations.

## Example of configuring an Integration for an Event Orchestration

This example shows creating `Event Orchestration` and `Team` resources followed by creating an Event Orchestration Integration to handle Events sent to that Event Orchestration.

> When a new Event Orchestration is created there will be one Integration (and Routing Key) included by default. Example below shows how to create an extra Integration associated with this Event Orchestration.

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		databaseTeam, err := pagerduty.NewTeam(ctx, "databaseTeam", nil)
		if err != nil {
			return err
		}
		eventOrchestration, err := pagerduty.NewEventOrchestration(ctx, "eventOrchestration", &pagerduty.EventOrchestrationArgs{
			Team: databaseTeam.ID(),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewEventOrchestrationIntegration(ctx, "integration", &pagerduty.EventOrchestrationIntegrationArgs{
			EventOrchestration: eventOrchestration.ID(),
			Label:              pulumi.String("Example integration"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Event Orchestration Integration can be imported using colon-separated IDs, which is the combination of the Event Orchestration ID followed by the Event Orchestration Integration ID, e.g.

```sh

$ pulumi import pagerduty:index/eventOrchestrationIntegration:EventOrchestrationIntegration integration 19acac92-027a-4ea0-b06c-bbf516519601:1b49abe7-26db-4439-a715-c6d883acfb3e

```

func GetEventOrchestrationIntegration added in v3.5.0

func GetEventOrchestrationIntegration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventOrchestrationIntegrationState, opts ...pulumi.ResourceOption) (*EventOrchestrationIntegration, error)

GetEventOrchestrationIntegration gets an existing EventOrchestrationIntegration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventOrchestrationIntegration added in v3.10.0

func NewEventOrchestrationIntegration(ctx *pulumi.Context,
	name string, args *EventOrchestrationIntegrationArgs, opts ...pulumi.ResourceOption) (*EventOrchestrationIntegration, error)

NewEventOrchestrationIntegration registers a new resource with the given unique name, arguments, and options.

func (*EventOrchestrationIntegration) ElementType added in v3.10.0

func (*EventOrchestrationIntegration) ToEventOrchestrationIntegrationOutput added in v3.10.0

func (i *EventOrchestrationIntegration) ToEventOrchestrationIntegrationOutput() EventOrchestrationIntegrationOutput

func (*EventOrchestrationIntegration) ToEventOrchestrationIntegrationOutputWithContext added in v3.10.0

func (i *EventOrchestrationIntegration) ToEventOrchestrationIntegrationOutputWithContext(ctx context.Context) EventOrchestrationIntegrationOutput

type EventOrchestrationIntegrationArgs added in v3.5.0

type EventOrchestrationIntegrationArgs struct {
	// ID of the Event Orchestration to which this Integration belongs to. If value is changed, current Integration is associated with a newly provided ID.
	EventOrchestration pulumi.StringInput
	// Name/description of the Integration.
	Label pulumi.StringInput
}

The set of arguments for constructing a EventOrchestrationIntegration resource.

func (EventOrchestrationIntegrationArgs) ElementType added in v3.5.0

type EventOrchestrationIntegrationArray added in v3.5.0

type EventOrchestrationIntegrationArray []EventOrchestrationIntegrationInput

func (EventOrchestrationIntegrationArray) ElementType added in v3.5.0

func (EventOrchestrationIntegrationArray) ToEventOrchestrationIntegrationArrayOutput added in v3.5.0

func (i EventOrchestrationIntegrationArray) ToEventOrchestrationIntegrationArrayOutput() EventOrchestrationIntegrationArrayOutput

func (EventOrchestrationIntegrationArray) ToEventOrchestrationIntegrationArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationIntegrationArray) ToEventOrchestrationIntegrationArrayOutputWithContext(ctx context.Context) EventOrchestrationIntegrationArrayOutput

type EventOrchestrationIntegrationArrayInput added in v3.5.0

type EventOrchestrationIntegrationArrayInput interface {
	pulumi.Input

	ToEventOrchestrationIntegrationArrayOutput() EventOrchestrationIntegrationArrayOutput
	ToEventOrchestrationIntegrationArrayOutputWithContext(context.Context) EventOrchestrationIntegrationArrayOutput
}

EventOrchestrationIntegrationArrayInput is an input type that accepts EventOrchestrationIntegrationArray and EventOrchestrationIntegrationArrayOutput values. You can construct a concrete instance of `EventOrchestrationIntegrationArrayInput` via:

EventOrchestrationIntegrationArray{ EventOrchestrationIntegrationArgs{...} }

type EventOrchestrationIntegrationArrayOutput added in v3.5.0

type EventOrchestrationIntegrationArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationIntegrationArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationIntegrationArrayOutput) Index added in v3.5.0

func (EventOrchestrationIntegrationArrayOutput) ToEventOrchestrationIntegrationArrayOutput added in v3.5.0

func (o EventOrchestrationIntegrationArrayOutput) ToEventOrchestrationIntegrationArrayOutput() EventOrchestrationIntegrationArrayOutput

func (EventOrchestrationIntegrationArrayOutput) ToEventOrchestrationIntegrationArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationIntegrationArrayOutput) ToEventOrchestrationIntegrationArrayOutputWithContext(ctx context.Context) EventOrchestrationIntegrationArrayOutput

type EventOrchestrationIntegrationInput added in v3.5.0

type EventOrchestrationIntegrationInput interface {
	pulumi.Input

	ToEventOrchestrationIntegrationOutput() EventOrchestrationIntegrationOutput
	ToEventOrchestrationIntegrationOutputWithContext(ctx context.Context) EventOrchestrationIntegrationOutput
}

type EventOrchestrationIntegrationMap added in v3.10.0

type EventOrchestrationIntegrationMap map[string]EventOrchestrationIntegrationInput

func (EventOrchestrationIntegrationMap) ElementType added in v3.10.0

func (EventOrchestrationIntegrationMap) ToEventOrchestrationIntegrationMapOutput added in v3.10.0

func (i EventOrchestrationIntegrationMap) ToEventOrchestrationIntegrationMapOutput() EventOrchestrationIntegrationMapOutput

func (EventOrchestrationIntegrationMap) ToEventOrchestrationIntegrationMapOutputWithContext added in v3.10.0

func (i EventOrchestrationIntegrationMap) ToEventOrchestrationIntegrationMapOutputWithContext(ctx context.Context) EventOrchestrationIntegrationMapOutput

type EventOrchestrationIntegrationMapInput added in v3.10.0

type EventOrchestrationIntegrationMapInput interface {
	pulumi.Input

	ToEventOrchestrationIntegrationMapOutput() EventOrchestrationIntegrationMapOutput
	ToEventOrchestrationIntegrationMapOutputWithContext(context.Context) EventOrchestrationIntegrationMapOutput
}

EventOrchestrationIntegrationMapInput is an input type that accepts EventOrchestrationIntegrationMap and EventOrchestrationIntegrationMapOutput values. You can construct a concrete instance of `EventOrchestrationIntegrationMapInput` via:

EventOrchestrationIntegrationMap{ "key": EventOrchestrationIntegrationArgs{...} }

type EventOrchestrationIntegrationMapOutput added in v3.10.0

type EventOrchestrationIntegrationMapOutput struct{ *pulumi.OutputState }

func (EventOrchestrationIntegrationMapOutput) ElementType added in v3.10.0

func (EventOrchestrationIntegrationMapOutput) MapIndex added in v3.10.0

func (EventOrchestrationIntegrationMapOutput) ToEventOrchestrationIntegrationMapOutput added in v3.10.0

func (o EventOrchestrationIntegrationMapOutput) ToEventOrchestrationIntegrationMapOutput() EventOrchestrationIntegrationMapOutput

func (EventOrchestrationIntegrationMapOutput) ToEventOrchestrationIntegrationMapOutputWithContext added in v3.10.0

func (o EventOrchestrationIntegrationMapOutput) ToEventOrchestrationIntegrationMapOutputWithContext(ctx context.Context) EventOrchestrationIntegrationMapOutput

type EventOrchestrationIntegrationOutput added in v3.5.0

type EventOrchestrationIntegrationOutput struct{ *pulumi.OutputState }

func (EventOrchestrationIntegrationOutput) ElementType added in v3.5.0

func (EventOrchestrationIntegrationOutput) EventOrchestration added in v3.10.0

ID of the Event Orchestration to which this Integration belongs to. If value is changed, current Integration is associated with a newly provided ID.

func (EventOrchestrationIntegrationOutput) Label added in v3.10.0

Name/description of the Integration.

func (EventOrchestrationIntegrationOutput) Parameters added in v3.5.0

func (EventOrchestrationIntegrationOutput) ToEventOrchestrationIntegrationOutput added in v3.5.0

func (o EventOrchestrationIntegrationOutput) ToEventOrchestrationIntegrationOutput() EventOrchestrationIntegrationOutput

func (EventOrchestrationIntegrationOutput) ToEventOrchestrationIntegrationOutputWithContext added in v3.5.0

func (o EventOrchestrationIntegrationOutput) ToEventOrchestrationIntegrationOutputWithContext(ctx context.Context) EventOrchestrationIntegrationOutput

type EventOrchestrationIntegrationParameter added in v3.5.0

type EventOrchestrationIntegrationParameter struct {
	// Routing key that routes to this Orchestration.
	RoutingKey *string `pulumi:"routingKey"`
	// Type of the routing key. `global` is the default type.
	Type *string `pulumi:"type"`
}

type EventOrchestrationIntegrationParameterArgs added in v3.5.0

type EventOrchestrationIntegrationParameterArgs struct {
	// Routing key that routes to this Orchestration.
	RoutingKey pulumi.StringPtrInput `pulumi:"routingKey"`
	// Type of the routing key. `global` is the default type.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (EventOrchestrationIntegrationParameterArgs) ElementType added in v3.5.0

func (EventOrchestrationIntegrationParameterArgs) ToEventOrchestrationIntegrationParameterOutput added in v3.5.0

func (i EventOrchestrationIntegrationParameterArgs) ToEventOrchestrationIntegrationParameterOutput() EventOrchestrationIntegrationParameterOutput

func (EventOrchestrationIntegrationParameterArgs) ToEventOrchestrationIntegrationParameterOutputWithContext added in v3.5.0

func (i EventOrchestrationIntegrationParameterArgs) ToEventOrchestrationIntegrationParameterOutputWithContext(ctx context.Context) EventOrchestrationIntegrationParameterOutput

type EventOrchestrationIntegrationParameterArray added in v3.5.0

type EventOrchestrationIntegrationParameterArray []EventOrchestrationIntegrationParameterInput

func (EventOrchestrationIntegrationParameterArray) ElementType added in v3.5.0

func (EventOrchestrationIntegrationParameterArray) ToEventOrchestrationIntegrationParameterArrayOutput added in v3.5.0

func (i EventOrchestrationIntegrationParameterArray) ToEventOrchestrationIntegrationParameterArrayOutput() EventOrchestrationIntegrationParameterArrayOutput

func (EventOrchestrationIntegrationParameterArray) ToEventOrchestrationIntegrationParameterArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationIntegrationParameterArray) ToEventOrchestrationIntegrationParameterArrayOutputWithContext(ctx context.Context) EventOrchestrationIntegrationParameterArrayOutput

type EventOrchestrationIntegrationParameterArrayInput added in v3.5.0

type EventOrchestrationIntegrationParameterArrayInput interface {
	pulumi.Input

	ToEventOrchestrationIntegrationParameterArrayOutput() EventOrchestrationIntegrationParameterArrayOutput
	ToEventOrchestrationIntegrationParameterArrayOutputWithContext(context.Context) EventOrchestrationIntegrationParameterArrayOutput
}

EventOrchestrationIntegrationParameterArrayInput is an input type that accepts EventOrchestrationIntegrationParameterArray and EventOrchestrationIntegrationParameterArrayOutput values. You can construct a concrete instance of `EventOrchestrationIntegrationParameterArrayInput` via:

EventOrchestrationIntegrationParameterArray{ EventOrchestrationIntegrationParameterArgs{...} }

type EventOrchestrationIntegrationParameterArrayOutput added in v3.5.0

type EventOrchestrationIntegrationParameterArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationIntegrationParameterArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationIntegrationParameterArrayOutput) Index added in v3.5.0

func (EventOrchestrationIntegrationParameterArrayOutput) ToEventOrchestrationIntegrationParameterArrayOutput added in v3.5.0

func (o EventOrchestrationIntegrationParameterArrayOutput) ToEventOrchestrationIntegrationParameterArrayOutput() EventOrchestrationIntegrationParameterArrayOutput

func (EventOrchestrationIntegrationParameterArrayOutput) ToEventOrchestrationIntegrationParameterArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationIntegrationParameterArrayOutput) ToEventOrchestrationIntegrationParameterArrayOutputWithContext(ctx context.Context) EventOrchestrationIntegrationParameterArrayOutput

type EventOrchestrationIntegrationParameterInput added in v3.5.0

type EventOrchestrationIntegrationParameterInput interface {
	pulumi.Input

	ToEventOrchestrationIntegrationParameterOutput() EventOrchestrationIntegrationParameterOutput
	ToEventOrchestrationIntegrationParameterOutputWithContext(context.Context) EventOrchestrationIntegrationParameterOutput
}

EventOrchestrationIntegrationParameterInput is an input type that accepts EventOrchestrationIntegrationParameterArgs and EventOrchestrationIntegrationParameterOutput values. You can construct a concrete instance of `EventOrchestrationIntegrationParameterInput` via:

EventOrchestrationIntegrationParameterArgs{...}

type EventOrchestrationIntegrationParameterOutput added in v3.5.0

type EventOrchestrationIntegrationParameterOutput struct{ *pulumi.OutputState }

func (EventOrchestrationIntegrationParameterOutput) ElementType added in v3.5.0

func (EventOrchestrationIntegrationParameterOutput) RoutingKey added in v3.5.0

Routing key that routes to this Orchestration.

func (EventOrchestrationIntegrationParameterOutput) ToEventOrchestrationIntegrationParameterOutput added in v3.5.0

func (o EventOrchestrationIntegrationParameterOutput) ToEventOrchestrationIntegrationParameterOutput() EventOrchestrationIntegrationParameterOutput

func (EventOrchestrationIntegrationParameterOutput) ToEventOrchestrationIntegrationParameterOutputWithContext added in v3.5.0

func (o EventOrchestrationIntegrationParameterOutput) ToEventOrchestrationIntegrationParameterOutputWithContext(ctx context.Context) EventOrchestrationIntegrationParameterOutput

func (EventOrchestrationIntegrationParameterOutput) Type added in v3.5.0

Type of the routing key. `global` is the default type.

type EventOrchestrationIntegrationState added in v3.10.0

type EventOrchestrationIntegrationState struct {
	// ID of the Event Orchestration to which this Integration belongs to. If value is changed, current Integration is associated with a newly provided ID.
	EventOrchestration pulumi.StringPtrInput
	// Name/description of the Integration.
	Label      pulumi.StringPtrInput
	Parameters EventOrchestrationIntegrationParameterArrayInput
}

func (EventOrchestrationIntegrationState) ElementType added in v3.10.0

type EventOrchestrationIntegrationType added in v3.10.0

type EventOrchestrationIntegrationType struct {
	// ID of the integration
	Id         *string                                  `pulumi:"id"`
	Label      *string                                  `pulumi:"label"`
	Parameters []EventOrchestrationIntegrationParameter `pulumi:"parameters"`
}

type EventOrchestrationIntegrationTypeArgs added in v3.10.0

type EventOrchestrationIntegrationTypeArgs struct {
	// ID of the integration
	Id         pulumi.StringPtrInput                            `pulumi:"id"`
	Label      pulumi.StringPtrInput                            `pulumi:"label"`
	Parameters EventOrchestrationIntegrationParameterArrayInput `pulumi:"parameters"`
}

func (EventOrchestrationIntegrationTypeArgs) ElementType added in v3.10.0

func (EventOrchestrationIntegrationTypeArgs) ToEventOrchestrationIntegrationTypeOutput added in v3.10.0

func (i EventOrchestrationIntegrationTypeArgs) ToEventOrchestrationIntegrationTypeOutput() EventOrchestrationIntegrationTypeOutput

func (EventOrchestrationIntegrationTypeArgs) ToEventOrchestrationIntegrationTypeOutputWithContext added in v3.10.0

func (i EventOrchestrationIntegrationTypeArgs) ToEventOrchestrationIntegrationTypeOutputWithContext(ctx context.Context) EventOrchestrationIntegrationTypeOutput

type EventOrchestrationIntegrationTypeArray added in v3.10.0

type EventOrchestrationIntegrationTypeArray []EventOrchestrationIntegrationTypeInput

func (EventOrchestrationIntegrationTypeArray) ElementType added in v3.10.0

func (EventOrchestrationIntegrationTypeArray) ToEventOrchestrationIntegrationTypeArrayOutput added in v3.10.0

func (i EventOrchestrationIntegrationTypeArray) ToEventOrchestrationIntegrationTypeArrayOutput() EventOrchestrationIntegrationTypeArrayOutput

func (EventOrchestrationIntegrationTypeArray) ToEventOrchestrationIntegrationTypeArrayOutputWithContext added in v3.10.0

func (i EventOrchestrationIntegrationTypeArray) ToEventOrchestrationIntegrationTypeArrayOutputWithContext(ctx context.Context) EventOrchestrationIntegrationTypeArrayOutput

type EventOrchestrationIntegrationTypeArrayInput added in v3.10.0

type EventOrchestrationIntegrationTypeArrayInput interface {
	pulumi.Input

	ToEventOrchestrationIntegrationTypeArrayOutput() EventOrchestrationIntegrationTypeArrayOutput
	ToEventOrchestrationIntegrationTypeArrayOutputWithContext(context.Context) EventOrchestrationIntegrationTypeArrayOutput
}

EventOrchestrationIntegrationTypeArrayInput is an input type that accepts EventOrchestrationIntegrationTypeArray and EventOrchestrationIntegrationTypeArrayOutput values. You can construct a concrete instance of `EventOrchestrationIntegrationTypeArrayInput` via:

EventOrchestrationIntegrationTypeArray{ EventOrchestrationIntegrationTypeArgs{...} }

type EventOrchestrationIntegrationTypeArrayOutput added in v3.10.0

type EventOrchestrationIntegrationTypeArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationIntegrationTypeArrayOutput) ElementType added in v3.10.0

func (EventOrchestrationIntegrationTypeArrayOutput) Index added in v3.10.0

func (EventOrchestrationIntegrationTypeArrayOutput) ToEventOrchestrationIntegrationTypeArrayOutput added in v3.10.0

func (o EventOrchestrationIntegrationTypeArrayOutput) ToEventOrchestrationIntegrationTypeArrayOutput() EventOrchestrationIntegrationTypeArrayOutput

func (EventOrchestrationIntegrationTypeArrayOutput) ToEventOrchestrationIntegrationTypeArrayOutputWithContext added in v3.10.0

func (o EventOrchestrationIntegrationTypeArrayOutput) ToEventOrchestrationIntegrationTypeArrayOutputWithContext(ctx context.Context) EventOrchestrationIntegrationTypeArrayOutput

type EventOrchestrationIntegrationTypeInput added in v3.10.0

type EventOrchestrationIntegrationTypeInput interface {
	pulumi.Input

	ToEventOrchestrationIntegrationTypeOutput() EventOrchestrationIntegrationTypeOutput
	ToEventOrchestrationIntegrationTypeOutputWithContext(context.Context) EventOrchestrationIntegrationTypeOutput
}

EventOrchestrationIntegrationTypeInput is an input type that accepts EventOrchestrationIntegrationTypeArgs and EventOrchestrationIntegrationTypeOutput values. You can construct a concrete instance of `EventOrchestrationIntegrationTypeInput` via:

EventOrchestrationIntegrationTypeArgs{...}

type EventOrchestrationIntegrationTypeOutput added in v3.10.0

type EventOrchestrationIntegrationTypeOutput struct{ *pulumi.OutputState }

func (EventOrchestrationIntegrationTypeOutput) ElementType added in v3.10.0

func (EventOrchestrationIntegrationTypeOutput) Id added in v3.10.0

ID of the integration

func (EventOrchestrationIntegrationTypeOutput) Label added in v3.10.0

func (EventOrchestrationIntegrationTypeOutput) Parameters added in v3.10.0

func (EventOrchestrationIntegrationTypeOutput) ToEventOrchestrationIntegrationTypeOutput added in v3.10.0

func (o EventOrchestrationIntegrationTypeOutput) ToEventOrchestrationIntegrationTypeOutput() EventOrchestrationIntegrationTypeOutput

func (EventOrchestrationIntegrationTypeOutput) ToEventOrchestrationIntegrationTypeOutputWithContext added in v3.10.0

func (o EventOrchestrationIntegrationTypeOutput) ToEventOrchestrationIntegrationTypeOutputWithContext(ctx context.Context) EventOrchestrationIntegrationTypeOutput

type EventOrchestrationMap added in v3.5.0

type EventOrchestrationMap map[string]EventOrchestrationInput

func (EventOrchestrationMap) ElementType added in v3.5.0

func (EventOrchestrationMap) ElementType() reflect.Type

func (EventOrchestrationMap) ToEventOrchestrationMapOutput added in v3.5.0

func (i EventOrchestrationMap) ToEventOrchestrationMapOutput() EventOrchestrationMapOutput

func (EventOrchestrationMap) ToEventOrchestrationMapOutputWithContext added in v3.5.0

func (i EventOrchestrationMap) ToEventOrchestrationMapOutputWithContext(ctx context.Context) EventOrchestrationMapOutput

type EventOrchestrationMapInput added in v3.5.0

type EventOrchestrationMapInput interface {
	pulumi.Input

	ToEventOrchestrationMapOutput() EventOrchestrationMapOutput
	ToEventOrchestrationMapOutputWithContext(context.Context) EventOrchestrationMapOutput
}

EventOrchestrationMapInput is an input type that accepts EventOrchestrationMap and EventOrchestrationMapOutput values. You can construct a concrete instance of `EventOrchestrationMapInput` via:

EventOrchestrationMap{ "key": EventOrchestrationArgs{...} }

type EventOrchestrationMapOutput added in v3.5.0

type EventOrchestrationMapOutput struct{ *pulumi.OutputState }

func (EventOrchestrationMapOutput) ElementType added in v3.5.0

func (EventOrchestrationMapOutput) MapIndex added in v3.5.0

func (EventOrchestrationMapOutput) ToEventOrchestrationMapOutput added in v3.5.0

func (o EventOrchestrationMapOutput) ToEventOrchestrationMapOutput() EventOrchestrationMapOutput

func (EventOrchestrationMapOutput) ToEventOrchestrationMapOutputWithContext added in v3.5.0

func (o EventOrchestrationMapOutput) ToEventOrchestrationMapOutputWithContext(ctx context.Context) EventOrchestrationMapOutput

type EventOrchestrationOutput added in v3.5.0

type EventOrchestrationOutput struct{ *pulumi.OutputState }

func (EventOrchestrationOutput) Description added in v3.5.1

A human-friendly description of the Event Orchestration.

func (EventOrchestrationOutput) ElementType added in v3.5.0

func (EventOrchestrationOutput) ElementType() reflect.Type

func (EventOrchestrationOutput) Integrations added in v3.5.1

An integration for the Event Orchestration.

func (EventOrchestrationOutput) Name added in v3.5.1

Name of the Event Orchestration.

func (EventOrchestrationOutput) Routes added in v3.5.1

func (EventOrchestrationOutput) Team added in v3.5.1

ID of the team that owns the Event Orchestration. If none is specified, only admins have access.

func (EventOrchestrationOutput) ToEventOrchestrationOutput added in v3.5.0

func (o EventOrchestrationOutput) ToEventOrchestrationOutput() EventOrchestrationOutput

func (EventOrchestrationOutput) ToEventOrchestrationOutputWithContext added in v3.5.0

func (o EventOrchestrationOutput) ToEventOrchestrationOutputWithContext(ctx context.Context) EventOrchestrationOutput

type EventOrchestrationRouter added in v3.5.0

type EventOrchestrationRouter struct {
	pulumi.CustomResourceState

	// When none of the rules match an event, the event will be routed according to the catchAll settings.
	CatchAll EventOrchestrationRouterCatchAllOutput `pulumi:"catchAll"`
	// ID of the Event Orchestration to which the Router belongs.
	EventOrchestration pulumi.StringOutput `pulumi:"eventOrchestration"`
	// The Router contains a single set of rules  (the "start" set).
	Set EventOrchestrationRouterSetOutput `pulumi:"set"`
}

An Orchestration Router allows users to create a set of Event Rules. The Router evaluates events sent to this Orchestration against each of its rules, one at a time, and routes the event to a specific Service based on the first rule that matches. If an event doesn't match any rules, it'll be sent to service specified in the `catchAll` or to the "Unrouted" Orchestration if no service is specified.

## Example of configuring Router rules for an Orchestration

In this example the user has defined the Router with two rules, each routing to a different service.

This example assumes services used in the `routeTo` configuration already exists. So it does not show creation of service resource.

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewEventOrchestrationRouter(ctx, "router", &pagerduty.EventOrchestrationRouterArgs{
			EventOrchestration: pulumi.Any(pagerduty_event_orchestration.My_monitor.Id),
			Set: &pagerduty.EventOrchestrationRouterSetArgs{
				Id: pulumi.String("start"),
				Rules: pagerduty.EventOrchestrationRouterSetRuleArray{
					&pagerduty.EventOrchestrationRouterSetRuleArgs{
						Label: pulumi.String("Events relating to our relational database"),
						Conditions: pagerduty.EventOrchestrationRouterSetRuleConditionArray{
							&pagerduty.EventOrchestrationRouterSetRuleConditionArgs{
								Expression: pulumi.String("event.summary matches part 'database'"),
							},
							&pagerduty.EventOrchestrationRouterSetRuleConditionArgs{
								Expression: pulumi.String("event.source matches regex 'db[0-9]+-server'"),
							},
						},
						Actions: &pagerduty.EventOrchestrationRouterSetRuleActionsArgs{
							RouteTo: pulumi.Any(pagerduty_service.Database.Id),
						},
					},
					&pagerduty.EventOrchestrationRouterSetRuleArgs{
						Conditions: pagerduty.EventOrchestrationRouterSetRuleConditionArray{
							&pagerduty.EventOrchestrationRouterSetRuleConditionArgs{
								Expression: pulumi.String("event.summary matches part 'www'"),
							},
						},
						Actions: &pagerduty.EventOrchestrationRouterSetRuleActionsArgs{
							RouteTo: pulumi.Any(pagerduty_service.Www.Id),
						},
					},
				},
			},
			CatchAll: &pagerduty.EventOrchestrationRouterCatchAllArgs{
				Actions: &pagerduty.EventOrchestrationRouterCatchAllActionsArgs{
					RouteTo: pulumi.String("unrouted"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import pagerduty:index/eventOrchestrationRouter:EventOrchestrationRouter router 1b49abe7-26db-4439-a715-c6d883acfb3e

```

func GetEventOrchestrationRouter added in v3.5.0

func GetEventOrchestrationRouter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventOrchestrationRouterState, opts ...pulumi.ResourceOption) (*EventOrchestrationRouter, error)

GetEventOrchestrationRouter gets an existing EventOrchestrationRouter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventOrchestrationRouter added in v3.5.0

func NewEventOrchestrationRouter(ctx *pulumi.Context,
	name string, args *EventOrchestrationRouterArgs, opts ...pulumi.ResourceOption) (*EventOrchestrationRouter, error)

NewEventOrchestrationRouter registers a new resource with the given unique name, arguments, and options.

func (*EventOrchestrationRouter) ElementType added in v3.5.0

func (*EventOrchestrationRouter) ElementType() reflect.Type

func (*EventOrchestrationRouter) ToEventOrchestrationRouterOutput added in v3.5.0

func (i *EventOrchestrationRouter) ToEventOrchestrationRouterOutput() EventOrchestrationRouterOutput

func (*EventOrchestrationRouter) ToEventOrchestrationRouterOutputWithContext added in v3.5.0

func (i *EventOrchestrationRouter) ToEventOrchestrationRouterOutputWithContext(ctx context.Context) EventOrchestrationRouterOutput

type EventOrchestrationRouterArgs added in v3.5.0

type EventOrchestrationRouterArgs struct {
	// When none of the rules match an event, the event will be routed according to the catchAll settings.
	CatchAll EventOrchestrationRouterCatchAllInput
	// ID of the Event Orchestration to which the Router belongs.
	EventOrchestration pulumi.StringInput
	// The Router contains a single set of rules  (the "start" set).
	Set EventOrchestrationRouterSetInput
}

The set of arguments for constructing a EventOrchestrationRouter resource.

func (EventOrchestrationRouterArgs) ElementType added in v3.5.0

type EventOrchestrationRouterArray added in v3.5.0

type EventOrchestrationRouterArray []EventOrchestrationRouterInput

func (EventOrchestrationRouterArray) ElementType added in v3.5.0

func (EventOrchestrationRouterArray) ToEventOrchestrationRouterArrayOutput added in v3.5.0

func (i EventOrchestrationRouterArray) ToEventOrchestrationRouterArrayOutput() EventOrchestrationRouterArrayOutput

func (EventOrchestrationRouterArray) ToEventOrchestrationRouterArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationRouterArray) ToEventOrchestrationRouterArrayOutputWithContext(ctx context.Context) EventOrchestrationRouterArrayOutput

type EventOrchestrationRouterArrayInput added in v3.5.0

type EventOrchestrationRouterArrayInput interface {
	pulumi.Input

	ToEventOrchestrationRouterArrayOutput() EventOrchestrationRouterArrayOutput
	ToEventOrchestrationRouterArrayOutputWithContext(context.Context) EventOrchestrationRouterArrayOutput
}

EventOrchestrationRouterArrayInput is an input type that accepts EventOrchestrationRouterArray and EventOrchestrationRouterArrayOutput values. You can construct a concrete instance of `EventOrchestrationRouterArrayInput` via:

EventOrchestrationRouterArray{ EventOrchestrationRouterArgs{...} }

type EventOrchestrationRouterArrayOutput added in v3.5.0

type EventOrchestrationRouterArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationRouterArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationRouterArrayOutput) Index added in v3.5.0

func (EventOrchestrationRouterArrayOutput) ToEventOrchestrationRouterArrayOutput added in v3.5.0

func (o EventOrchestrationRouterArrayOutput) ToEventOrchestrationRouterArrayOutput() EventOrchestrationRouterArrayOutput

func (EventOrchestrationRouterArrayOutput) ToEventOrchestrationRouterArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationRouterArrayOutput) ToEventOrchestrationRouterArrayOutputWithContext(ctx context.Context) EventOrchestrationRouterArrayOutput

type EventOrchestrationRouterCatchAll added in v3.5.0

type EventOrchestrationRouterCatchAll struct {
	// These are the actions that will be taken to change the resulting alert and incident.
	Actions EventOrchestrationRouterCatchAllActions `pulumi:"actions"`
}

type EventOrchestrationRouterCatchAllActions added in v3.5.0

type EventOrchestrationRouterCatchAllActions struct {
	// The ID of the target Service for the resulting alert.
	RouteTo string `pulumi:"routeTo"`
}

type EventOrchestrationRouterCatchAllActionsArgs added in v3.5.0

type EventOrchestrationRouterCatchAllActionsArgs struct {
	// The ID of the target Service for the resulting alert.
	RouteTo pulumi.StringInput `pulumi:"routeTo"`
}

func (EventOrchestrationRouterCatchAllActionsArgs) ElementType added in v3.5.0

func (EventOrchestrationRouterCatchAllActionsArgs) ToEventOrchestrationRouterCatchAllActionsOutput added in v3.5.0

func (i EventOrchestrationRouterCatchAllActionsArgs) ToEventOrchestrationRouterCatchAllActionsOutput() EventOrchestrationRouterCatchAllActionsOutput

func (EventOrchestrationRouterCatchAllActionsArgs) ToEventOrchestrationRouterCatchAllActionsOutputWithContext added in v3.5.0

func (i EventOrchestrationRouterCatchAllActionsArgs) ToEventOrchestrationRouterCatchAllActionsOutputWithContext(ctx context.Context) EventOrchestrationRouterCatchAllActionsOutput

func (EventOrchestrationRouterCatchAllActionsArgs) ToEventOrchestrationRouterCatchAllActionsPtrOutput added in v3.5.0

func (i EventOrchestrationRouterCatchAllActionsArgs) ToEventOrchestrationRouterCatchAllActionsPtrOutput() EventOrchestrationRouterCatchAllActionsPtrOutput

func (EventOrchestrationRouterCatchAllActionsArgs) ToEventOrchestrationRouterCatchAllActionsPtrOutputWithContext added in v3.5.0

func (i EventOrchestrationRouterCatchAllActionsArgs) ToEventOrchestrationRouterCatchAllActionsPtrOutputWithContext(ctx context.Context) EventOrchestrationRouterCatchAllActionsPtrOutput

type EventOrchestrationRouterCatchAllActionsInput added in v3.5.0

type EventOrchestrationRouterCatchAllActionsInput interface {
	pulumi.Input

	ToEventOrchestrationRouterCatchAllActionsOutput() EventOrchestrationRouterCatchAllActionsOutput
	ToEventOrchestrationRouterCatchAllActionsOutputWithContext(context.Context) EventOrchestrationRouterCatchAllActionsOutput
}

EventOrchestrationRouterCatchAllActionsInput is an input type that accepts EventOrchestrationRouterCatchAllActionsArgs and EventOrchestrationRouterCatchAllActionsOutput values. You can construct a concrete instance of `EventOrchestrationRouterCatchAllActionsInput` via:

EventOrchestrationRouterCatchAllActionsArgs{...}

type EventOrchestrationRouterCatchAllActionsOutput added in v3.5.0

type EventOrchestrationRouterCatchAllActionsOutput struct{ *pulumi.OutputState }

func (EventOrchestrationRouterCatchAllActionsOutput) ElementType added in v3.5.0

func (EventOrchestrationRouterCatchAllActionsOutput) RouteTo added in v3.5.0

The ID of the target Service for the resulting alert.

func (EventOrchestrationRouterCatchAllActionsOutput) ToEventOrchestrationRouterCatchAllActionsOutput added in v3.5.0

func (o EventOrchestrationRouterCatchAllActionsOutput) ToEventOrchestrationRouterCatchAllActionsOutput() EventOrchestrationRouterCatchAllActionsOutput

func (EventOrchestrationRouterCatchAllActionsOutput) ToEventOrchestrationRouterCatchAllActionsOutputWithContext added in v3.5.0

func (o EventOrchestrationRouterCatchAllActionsOutput) ToEventOrchestrationRouterCatchAllActionsOutputWithContext(ctx context.Context) EventOrchestrationRouterCatchAllActionsOutput

func (EventOrchestrationRouterCatchAllActionsOutput) ToEventOrchestrationRouterCatchAllActionsPtrOutput added in v3.5.0

func (o EventOrchestrationRouterCatchAllActionsOutput) ToEventOrchestrationRouterCatchAllActionsPtrOutput() EventOrchestrationRouterCatchAllActionsPtrOutput

func (EventOrchestrationRouterCatchAllActionsOutput) ToEventOrchestrationRouterCatchAllActionsPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationRouterCatchAllActionsOutput) ToEventOrchestrationRouterCatchAllActionsPtrOutputWithContext(ctx context.Context) EventOrchestrationRouterCatchAllActionsPtrOutput

type EventOrchestrationRouterCatchAllActionsPtrInput added in v3.5.0

type EventOrchestrationRouterCatchAllActionsPtrInput interface {
	pulumi.Input

	ToEventOrchestrationRouterCatchAllActionsPtrOutput() EventOrchestrationRouterCatchAllActionsPtrOutput
	ToEventOrchestrationRouterCatchAllActionsPtrOutputWithContext(context.Context) EventOrchestrationRouterCatchAllActionsPtrOutput
}

EventOrchestrationRouterCatchAllActionsPtrInput is an input type that accepts EventOrchestrationRouterCatchAllActionsArgs, EventOrchestrationRouterCatchAllActionsPtr and EventOrchestrationRouterCatchAllActionsPtrOutput values. You can construct a concrete instance of `EventOrchestrationRouterCatchAllActionsPtrInput` via:

        EventOrchestrationRouterCatchAllActionsArgs{...}

or:

        nil

type EventOrchestrationRouterCatchAllActionsPtrOutput added in v3.5.0

type EventOrchestrationRouterCatchAllActionsPtrOutput struct{ *pulumi.OutputState }

func (EventOrchestrationRouterCatchAllActionsPtrOutput) Elem added in v3.5.0

func (EventOrchestrationRouterCatchAllActionsPtrOutput) ElementType added in v3.5.0

func (EventOrchestrationRouterCatchAllActionsPtrOutput) RouteTo added in v3.5.0

The ID of the target Service for the resulting alert.

func (EventOrchestrationRouterCatchAllActionsPtrOutput) ToEventOrchestrationRouterCatchAllActionsPtrOutput added in v3.5.0

func (o EventOrchestrationRouterCatchAllActionsPtrOutput) ToEventOrchestrationRouterCatchAllActionsPtrOutput() EventOrchestrationRouterCatchAllActionsPtrOutput

func (EventOrchestrationRouterCatchAllActionsPtrOutput) ToEventOrchestrationRouterCatchAllActionsPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationRouterCatchAllActionsPtrOutput) ToEventOrchestrationRouterCatchAllActionsPtrOutputWithContext(ctx context.Context) EventOrchestrationRouterCatchAllActionsPtrOutput

type EventOrchestrationRouterCatchAllArgs added in v3.5.0

type EventOrchestrationRouterCatchAllArgs struct {
	// These are the actions that will be taken to change the resulting alert and incident.
	Actions EventOrchestrationRouterCatchAllActionsInput `pulumi:"actions"`
}

func (EventOrchestrationRouterCatchAllArgs) ElementType added in v3.5.0

func (EventOrchestrationRouterCatchAllArgs) ToEventOrchestrationRouterCatchAllOutput added in v3.5.0

func (i EventOrchestrationRouterCatchAllArgs) ToEventOrchestrationRouterCatchAllOutput() EventOrchestrationRouterCatchAllOutput

func (EventOrchestrationRouterCatchAllArgs) ToEventOrchestrationRouterCatchAllOutputWithContext added in v3.5.0

func (i EventOrchestrationRouterCatchAllArgs) ToEventOrchestrationRouterCatchAllOutputWithContext(ctx context.Context) EventOrchestrationRouterCatchAllOutput

func (EventOrchestrationRouterCatchAllArgs) ToEventOrchestrationRouterCatchAllPtrOutput added in v3.5.0

func (i EventOrchestrationRouterCatchAllArgs) ToEventOrchestrationRouterCatchAllPtrOutput() EventOrchestrationRouterCatchAllPtrOutput

func (EventOrchestrationRouterCatchAllArgs) ToEventOrchestrationRouterCatchAllPtrOutputWithContext added in v3.5.0

func (i EventOrchestrationRouterCatchAllArgs) ToEventOrchestrationRouterCatchAllPtrOutputWithContext(ctx context.Context) EventOrchestrationRouterCatchAllPtrOutput

type EventOrchestrationRouterCatchAllInput added in v3.5.0

type EventOrchestrationRouterCatchAllInput interface {
	pulumi.Input

	ToEventOrchestrationRouterCatchAllOutput() EventOrchestrationRouterCatchAllOutput
	ToEventOrchestrationRouterCatchAllOutputWithContext(context.Context) EventOrchestrationRouterCatchAllOutput
}

EventOrchestrationRouterCatchAllInput is an input type that accepts EventOrchestrationRouterCatchAllArgs and EventOrchestrationRouterCatchAllOutput values. You can construct a concrete instance of `EventOrchestrationRouterCatchAllInput` via:

EventOrchestrationRouterCatchAllArgs{...}

type EventOrchestrationRouterCatchAllOutput added in v3.5.0

type EventOrchestrationRouterCatchAllOutput struct{ *pulumi.OutputState }

func (EventOrchestrationRouterCatchAllOutput) Actions added in v3.5.0

These are the actions that will be taken to change the resulting alert and incident.

func (EventOrchestrationRouterCatchAllOutput) ElementType added in v3.5.0

func (EventOrchestrationRouterCatchAllOutput) ToEventOrchestrationRouterCatchAllOutput added in v3.5.0

func (o EventOrchestrationRouterCatchAllOutput) ToEventOrchestrationRouterCatchAllOutput() EventOrchestrationRouterCatchAllOutput

func (EventOrchestrationRouterCatchAllOutput) ToEventOrchestrationRouterCatchAllOutputWithContext added in v3.5.0

func (o EventOrchestrationRouterCatchAllOutput) ToEventOrchestrationRouterCatchAllOutputWithContext(ctx context.Context) EventOrchestrationRouterCatchAllOutput

func (EventOrchestrationRouterCatchAllOutput) ToEventOrchestrationRouterCatchAllPtrOutput added in v3.5.0

func (o EventOrchestrationRouterCatchAllOutput) ToEventOrchestrationRouterCatchAllPtrOutput() EventOrchestrationRouterCatchAllPtrOutput

func (EventOrchestrationRouterCatchAllOutput) ToEventOrchestrationRouterCatchAllPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationRouterCatchAllOutput) ToEventOrchestrationRouterCatchAllPtrOutputWithContext(ctx context.Context) EventOrchestrationRouterCatchAllPtrOutput

type EventOrchestrationRouterCatchAllPtrInput added in v3.5.0

type EventOrchestrationRouterCatchAllPtrInput interface {
	pulumi.Input

	ToEventOrchestrationRouterCatchAllPtrOutput() EventOrchestrationRouterCatchAllPtrOutput
	ToEventOrchestrationRouterCatchAllPtrOutputWithContext(context.Context) EventOrchestrationRouterCatchAllPtrOutput
}

EventOrchestrationRouterCatchAllPtrInput is an input type that accepts EventOrchestrationRouterCatchAllArgs, EventOrchestrationRouterCatchAllPtr and EventOrchestrationRouterCatchAllPtrOutput values. You can construct a concrete instance of `EventOrchestrationRouterCatchAllPtrInput` via:

        EventOrchestrationRouterCatchAllArgs{...}

or:

        nil

type EventOrchestrationRouterCatchAllPtrOutput added in v3.5.0

type EventOrchestrationRouterCatchAllPtrOutput struct{ *pulumi.OutputState }

func (EventOrchestrationRouterCatchAllPtrOutput) Actions added in v3.5.0

These are the actions that will be taken to change the resulting alert and incident.

func (EventOrchestrationRouterCatchAllPtrOutput) Elem added in v3.5.0

func (EventOrchestrationRouterCatchAllPtrOutput) ElementType added in v3.5.0

func (EventOrchestrationRouterCatchAllPtrOutput) ToEventOrchestrationRouterCatchAllPtrOutput added in v3.5.0

func (o EventOrchestrationRouterCatchAllPtrOutput) ToEventOrchestrationRouterCatchAllPtrOutput() EventOrchestrationRouterCatchAllPtrOutput

func (EventOrchestrationRouterCatchAllPtrOutput) ToEventOrchestrationRouterCatchAllPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationRouterCatchAllPtrOutput) ToEventOrchestrationRouterCatchAllPtrOutputWithContext(ctx context.Context) EventOrchestrationRouterCatchAllPtrOutput

type EventOrchestrationRouterInput added in v3.5.0

type EventOrchestrationRouterInput interface {
	pulumi.Input

	ToEventOrchestrationRouterOutput() EventOrchestrationRouterOutput
	ToEventOrchestrationRouterOutputWithContext(ctx context.Context) EventOrchestrationRouterOutput
}

type EventOrchestrationRouterMap added in v3.5.0

type EventOrchestrationRouterMap map[string]EventOrchestrationRouterInput

func (EventOrchestrationRouterMap) ElementType added in v3.5.0

func (EventOrchestrationRouterMap) ToEventOrchestrationRouterMapOutput added in v3.5.0

func (i EventOrchestrationRouterMap) ToEventOrchestrationRouterMapOutput() EventOrchestrationRouterMapOutput

func (EventOrchestrationRouterMap) ToEventOrchestrationRouterMapOutputWithContext added in v3.5.0

func (i EventOrchestrationRouterMap) ToEventOrchestrationRouterMapOutputWithContext(ctx context.Context) EventOrchestrationRouterMapOutput

type EventOrchestrationRouterMapInput added in v3.5.0

type EventOrchestrationRouterMapInput interface {
	pulumi.Input

	ToEventOrchestrationRouterMapOutput() EventOrchestrationRouterMapOutput
	ToEventOrchestrationRouterMapOutputWithContext(context.Context) EventOrchestrationRouterMapOutput
}

EventOrchestrationRouterMapInput is an input type that accepts EventOrchestrationRouterMap and EventOrchestrationRouterMapOutput values. You can construct a concrete instance of `EventOrchestrationRouterMapInput` via:

EventOrchestrationRouterMap{ "key": EventOrchestrationRouterArgs{...} }

type EventOrchestrationRouterMapOutput added in v3.5.0

type EventOrchestrationRouterMapOutput struct{ *pulumi.OutputState }

func (EventOrchestrationRouterMapOutput) ElementType added in v3.5.0

func (EventOrchestrationRouterMapOutput) MapIndex added in v3.5.0

func (EventOrchestrationRouterMapOutput) ToEventOrchestrationRouterMapOutput added in v3.5.0

func (o EventOrchestrationRouterMapOutput) ToEventOrchestrationRouterMapOutput() EventOrchestrationRouterMapOutput

func (EventOrchestrationRouterMapOutput) ToEventOrchestrationRouterMapOutputWithContext added in v3.5.0

func (o EventOrchestrationRouterMapOutput) ToEventOrchestrationRouterMapOutputWithContext(ctx context.Context) EventOrchestrationRouterMapOutput

type EventOrchestrationRouterOutput added in v3.5.0

type EventOrchestrationRouterOutput struct{ *pulumi.OutputState }

func (EventOrchestrationRouterOutput) CatchAll added in v3.5.1

When none of the rules match an event, the event will be routed according to the catchAll settings.

func (EventOrchestrationRouterOutput) ElementType added in v3.5.0

func (EventOrchestrationRouterOutput) EventOrchestration added in v3.5.1

func (o EventOrchestrationRouterOutput) EventOrchestration() pulumi.StringOutput

ID of the Event Orchestration to which the Router belongs.

func (EventOrchestrationRouterOutput) Set added in v3.5.1

The Router contains a single set of rules (the "start" set).

func (EventOrchestrationRouterOutput) ToEventOrchestrationRouterOutput added in v3.5.0

func (o EventOrchestrationRouterOutput) ToEventOrchestrationRouterOutput() EventOrchestrationRouterOutput

func (EventOrchestrationRouterOutput) ToEventOrchestrationRouterOutputWithContext added in v3.5.0

func (o EventOrchestrationRouterOutput) ToEventOrchestrationRouterOutputWithContext(ctx context.Context) EventOrchestrationRouterOutput

type EventOrchestrationRouterSet added in v3.5.0

type EventOrchestrationRouterSet struct {
	// ID of the `start` set. Router supports only one set and it's id has to be `start`
	Id    string                            `pulumi:"id"`
	Rules []EventOrchestrationRouterSetRule `pulumi:"rules"`
}

type EventOrchestrationRouterSetArgs added in v3.5.0

type EventOrchestrationRouterSetArgs struct {
	// ID of the `start` set. Router supports only one set and it's id has to be `start`
	Id    pulumi.StringInput                        `pulumi:"id"`
	Rules EventOrchestrationRouterSetRuleArrayInput `pulumi:"rules"`
}

func (EventOrchestrationRouterSetArgs) ElementType added in v3.5.0

func (EventOrchestrationRouterSetArgs) ToEventOrchestrationRouterSetOutput added in v3.5.0

func (i EventOrchestrationRouterSetArgs) ToEventOrchestrationRouterSetOutput() EventOrchestrationRouterSetOutput

func (EventOrchestrationRouterSetArgs) ToEventOrchestrationRouterSetOutputWithContext added in v3.5.0

func (i EventOrchestrationRouterSetArgs) ToEventOrchestrationRouterSetOutputWithContext(ctx context.Context) EventOrchestrationRouterSetOutput

func (EventOrchestrationRouterSetArgs) ToEventOrchestrationRouterSetPtrOutput added in v3.5.0

func (i EventOrchestrationRouterSetArgs) ToEventOrchestrationRouterSetPtrOutput() EventOrchestrationRouterSetPtrOutput

func (EventOrchestrationRouterSetArgs) ToEventOrchestrationRouterSetPtrOutputWithContext added in v3.5.0

func (i EventOrchestrationRouterSetArgs) ToEventOrchestrationRouterSetPtrOutputWithContext(ctx context.Context) EventOrchestrationRouterSetPtrOutput

type EventOrchestrationRouterSetInput added in v3.5.0

type EventOrchestrationRouterSetInput interface {
	pulumi.Input

	ToEventOrchestrationRouterSetOutput() EventOrchestrationRouterSetOutput
	ToEventOrchestrationRouterSetOutputWithContext(context.Context) EventOrchestrationRouterSetOutput
}

EventOrchestrationRouterSetInput is an input type that accepts EventOrchestrationRouterSetArgs and EventOrchestrationRouterSetOutput values. You can construct a concrete instance of `EventOrchestrationRouterSetInput` via:

EventOrchestrationRouterSetArgs{...}

type EventOrchestrationRouterSetOutput added in v3.5.0

type EventOrchestrationRouterSetOutput struct{ *pulumi.OutputState }

func (EventOrchestrationRouterSetOutput) ElementType added in v3.5.0

func (EventOrchestrationRouterSetOutput) Id added in v3.5.0

ID of the `start` set. Router supports only one set and it's id has to be `start`

func (EventOrchestrationRouterSetOutput) Rules added in v3.5.0

func (EventOrchestrationRouterSetOutput) ToEventOrchestrationRouterSetOutput added in v3.5.0

func (o EventOrchestrationRouterSetOutput) ToEventOrchestrationRouterSetOutput() EventOrchestrationRouterSetOutput

func (EventOrchestrationRouterSetOutput) ToEventOrchestrationRouterSetOutputWithContext added in v3.5.0

func (o EventOrchestrationRouterSetOutput) ToEventOrchestrationRouterSetOutputWithContext(ctx context.Context) EventOrchestrationRouterSetOutput

func (EventOrchestrationRouterSetOutput) ToEventOrchestrationRouterSetPtrOutput added in v3.5.0

func (o EventOrchestrationRouterSetOutput) ToEventOrchestrationRouterSetPtrOutput() EventOrchestrationRouterSetPtrOutput

func (EventOrchestrationRouterSetOutput) ToEventOrchestrationRouterSetPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationRouterSetOutput) ToEventOrchestrationRouterSetPtrOutputWithContext(ctx context.Context) EventOrchestrationRouterSetPtrOutput

type EventOrchestrationRouterSetPtrInput added in v3.5.0

type EventOrchestrationRouterSetPtrInput interface {
	pulumi.Input

	ToEventOrchestrationRouterSetPtrOutput() EventOrchestrationRouterSetPtrOutput
	ToEventOrchestrationRouterSetPtrOutputWithContext(context.Context) EventOrchestrationRouterSetPtrOutput
}

EventOrchestrationRouterSetPtrInput is an input type that accepts EventOrchestrationRouterSetArgs, EventOrchestrationRouterSetPtr and EventOrchestrationRouterSetPtrOutput values. You can construct a concrete instance of `EventOrchestrationRouterSetPtrInput` via:

        EventOrchestrationRouterSetArgs{...}

or:

        nil

func EventOrchestrationRouterSetPtr added in v3.5.0

type EventOrchestrationRouterSetPtrOutput added in v3.5.0

type EventOrchestrationRouterSetPtrOutput struct{ *pulumi.OutputState }

func (EventOrchestrationRouterSetPtrOutput) Elem added in v3.5.0

func (EventOrchestrationRouterSetPtrOutput) ElementType added in v3.5.0

func (EventOrchestrationRouterSetPtrOutput) Id added in v3.5.0

ID of the `start` set. Router supports only one set and it's id has to be `start`

func (EventOrchestrationRouterSetPtrOutput) Rules added in v3.5.0

func (EventOrchestrationRouterSetPtrOutput) ToEventOrchestrationRouterSetPtrOutput added in v3.5.0

func (o EventOrchestrationRouterSetPtrOutput) ToEventOrchestrationRouterSetPtrOutput() EventOrchestrationRouterSetPtrOutput

func (EventOrchestrationRouterSetPtrOutput) ToEventOrchestrationRouterSetPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationRouterSetPtrOutput) ToEventOrchestrationRouterSetPtrOutputWithContext(ctx context.Context) EventOrchestrationRouterSetPtrOutput

type EventOrchestrationRouterSetRule added in v3.5.0

type EventOrchestrationRouterSetRule struct {
	// Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
	Actions EventOrchestrationRouterSetRuleActions `pulumi:"actions"`
	// 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.
	Conditions []EventOrchestrationRouterSetRuleCondition `pulumi:"conditions"`
	// Indicates whether the rule is disabled and would therefore not be evaluated.
	Disabled *bool `pulumi:"disabled"`
	// ID of the `start` set. Router supports only one set and it's id has to be `start`
	Id *string `pulumi:"id"`
	// A description of this rule's purpose.
	Label *string `pulumi:"label"`
}

type EventOrchestrationRouterSetRuleActions added in v3.5.0

type EventOrchestrationRouterSetRuleActions struct {
	// The ID of the target Service for the resulting alert.
	RouteTo string `pulumi:"routeTo"`
}

type EventOrchestrationRouterSetRuleActionsArgs added in v3.5.0

type EventOrchestrationRouterSetRuleActionsArgs struct {
	// The ID of the target Service for the resulting alert.
	RouteTo pulumi.StringInput `pulumi:"routeTo"`
}

func (EventOrchestrationRouterSetRuleActionsArgs) ElementType added in v3.5.0

func (EventOrchestrationRouterSetRuleActionsArgs) ToEventOrchestrationRouterSetRuleActionsOutput added in v3.5.0

func (i EventOrchestrationRouterSetRuleActionsArgs) ToEventOrchestrationRouterSetRuleActionsOutput() EventOrchestrationRouterSetRuleActionsOutput

func (EventOrchestrationRouterSetRuleActionsArgs) ToEventOrchestrationRouterSetRuleActionsOutputWithContext added in v3.5.0

func (i EventOrchestrationRouterSetRuleActionsArgs) ToEventOrchestrationRouterSetRuleActionsOutputWithContext(ctx context.Context) EventOrchestrationRouterSetRuleActionsOutput

type EventOrchestrationRouterSetRuleActionsInput added in v3.5.0

type EventOrchestrationRouterSetRuleActionsInput interface {
	pulumi.Input

	ToEventOrchestrationRouterSetRuleActionsOutput() EventOrchestrationRouterSetRuleActionsOutput
	ToEventOrchestrationRouterSetRuleActionsOutputWithContext(context.Context) EventOrchestrationRouterSetRuleActionsOutput
}

EventOrchestrationRouterSetRuleActionsInput is an input type that accepts EventOrchestrationRouterSetRuleActionsArgs and EventOrchestrationRouterSetRuleActionsOutput values. You can construct a concrete instance of `EventOrchestrationRouterSetRuleActionsInput` via:

EventOrchestrationRouterSetRuleActionsArgs{...}

type EventOrchestrationRouterSetRuleActionsOutput added in v3.5.0

type EventOrchestrationRouterSetRuleActionsOutput struct{ *pulumi.OutputState }

func (EventOrchestrationRouterSetRuleActionsOutput) ElementType added in v3.5.0

func (EventOrchestrationRouterSetRuleActionsOutput) RouteTo added in v3.5.0

The ID of the target Service for the resulting alert.

func (EventOrchestrationRouterSetRuleActionsOutput) ToEventOrchestrationRouterSetRuleActionsOutput added in v3.5.0

func (o EventOrchestrationRouterSetRuleActionsOutput) ToEventOrchestrationRouterSetRuleActionsOutput() EventOrchestrationRouterSetRuleActionsOutput

func (EventOrchestrationRouterSetRuleActionsOutput) ToEventOrchestrationRouterSetRuleActionsOutputWithContext added in v3.5.0

func (o EventOrchestrationRouterSetRuleActionsOutput) ToEventOrchestrationRouterSetRuleActionsOutputWithContext(ctx context.Context) EventOrchestrationRouterSetRuleActionsOutput

type EventOrchestrationRouterSetRuleArgs added in v3.5.0

type EventOrchestrationRouterSetRuleArgs struct {
	// Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
	Actions EventOrchestrationRouterSetRuleActionsInput `pulumi:"actions"`
	// 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.
	Conditions EventOrchestrationRouterSetRuleConditionArrayInput `pulumi:"conditions"`
	// Indicates whether the rule is disabled and would therefore not be evaluated.
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// ID of the `start` set. Router supports only one set and it's id has to be `start`
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A description of this rule's purpose.
	Label pulumi.StringPtrInput `pulumi:"label"`
}

func (EventOrchestrationRouterSetRuleArgs) ElementType added in v3.5.0

func (EventOrchestrationRouterSetRuleArgs) ToEventOrchestrationRouterSetRuleOutput added in v3.5.0

func (i EventOrchestrationRouterSetRuleArgs) ToEventOrchestrationRouterSetRuleOutput() EventOrchestrationRouterSetRuleOutput

func (EventOrchestrationRouterSetRuleArgs) ToEventOrchestrationRouterSetRuleOutputWithContext added in v3.5.0

func (i EventOrchestrationRouterSetRuleArgs) ToEventOrchestrationRouterSetRuleOutputWithContext(ctx context.Context) EventOrchestrationRouterSetRuleOutput

type EventOrchestrationRouterSetRuleArray added in v3.5.0

type EventOrchestrationRouterSetRuleArray []EventOrchestrationRouterSetRuleInput

func (EventOrchestrationRouterSetRuleArray) ElementType added in v3.5.0

func (EventOrchestrationRouterSetRuleArray) ToEventOrchestrationRouterSetRuleArrayOutput added in v3.5.0

func (i EventOrchestrationRouterSetRuleArray) ToEventOrchestrationRouterSetRuleArrayOutput() EventOrchestrationRouterSetRuleArrayOutput

func (EventOrchestrationRouterSetRuleArray) ToEventOrchestrationRouterSetRuleArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationRouterSetRuleArray) ToEventOrchestrationRouterSetRuleArrayOutputWithContext(ctx context.Context) EventOrchestrationRouterSetRuleArrayOutput

type EventOrchestrationRouterSetRuleArrayInput added in v3.5.0

type EventOrchestrationRouterSetRuleArrayInput interface {
	pulumi.Input

	ToEventOrchestrationRouterSetRuleArrayOutput() EventOrchestrationRouterSetRuleArrayOutput
	ToEventOrchestrationRouterSetRuleArrayOutputWithContext(context.Context) EventOrchestrationRouterSetRuleArrayOutput
}

EventOrchestrationRouterSetRuleArrayInput is an input type that accepts EventOrchestrationRouterSetRuleArray and EventOrchestrationRouterSetRuleArrayOutput values. You can construct a concrete instance of `EventOrchestrationRouterSetRuleArrayInput` via:

EventOrchestrationRouterSetRuleArray{ EventOrchestrationRouterSetRuleArgs{...} }

type EventOrchestrationRouterSetRuleArrayOutput added in v3.5.0

type EventOrchestrationRouterSetRuleArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationRouterSetRuleArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationRouterSetRuleArrayOutput) Index added in v3.5.0

func (EventOrchestrationRouterSetRuleArrayOutput) ToEventOrchestrationRouterSetRuleArrayOutput added in v3.5.0

func (o EventOrchestrationRouterSetRuleArrayOutput) ToEventOrchestrationRouterSetRuleArrayOutput() EventOrchestrationRouterSetRuleArrayOutput

func (EventOrchestrationRouterSetRuleArrayOutput) ToEventOrchestrationRouterSetRuleArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationRouterSetRuleArrayOutput) ToEventOrchestrationRouterSetRuleArrayOutputWithContext(ctx context.Context) EventOrchestrationRouterSetRuleArrayOutput

type EventOrchestrationRouterSetRuleCondition added in v3.5.0

type EventOrchestrationRouterSetRuleCondition struct {
	// A [PCL condition](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview) string.
	Expression string `pulumi:"expression"`
}

type EventOrchestrationRouterSetRuleConditionArgs added in v3.5.0

type EventOrchestrationRouterSetRuleConditionArgs struct {
	// A [PCL condition](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview) string.
	Expression pulumi.StringInput `pulumi:"expression"`
}

func (EventOrchestrationRouterSetRuleConditionArgs) ElementType added in v3.5.0

func (EventOrchestrationRouterSetRuleConditionArgs) ToEventOrchestrationRouterSetRuleConditionOutput added in v3.5.0

func (i EventOrchestrationRouterSetRuleConditionArgs) ToEventOrchestrationRouterSetRuleConditionOutput() EventOrchestrationRouterSetRuleConditionOutput

func (EventOrchestrationRouterSetRuleConditionArgs) ToEventOrchestrationRouterSetRuleConditionOutputWithContext added in v3.5.0

func (i EventOrchestrationRouterSetRuleConditionArgs) ToEventOrchestrationRouterSetRuleConditionOutputWithContext(ctx context.Context) EventOrchestrationRouterSetRuleConditionOutput

type EventOrchestrationRouterSetRuleConditionArray added in v3.5.0

type EventOrchestrationRouterSetRuleConditionArray []EventOrchestrationRouterSetRuleConditionInput

func (EventOrchestrationRouterSetRuleConditionArray) ElementType added in v3.5.0

func (EventOrchestrationRouterSetRuleConditionArray) ToEventOrchestrationRouterSetRuleConditionArrayOutput added in v3.5.0

func (i EventOrchestrationRouterSetRuleConditionArray) ToEventOrchestrationRouterSetRuleConditionArrayOutput() EventOrchestrationRouterSetRuleConditionArrayOutput

func (EventOrchestrationRouterSetRuleConditionArray) ToEventOrchestrationRouterSetRuleConditionArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationRouterSetRuleConditionArray) ToEventOrchestrationRouterSetRuleConditionArrayOutputWithContext(ctx context.Context) EventOrchestrationRouterSetRuleConditionArrayOutput

type EventOrchestrationRouterSetRuleConditionArrayInput added in v3.5.0

type EventOrchestrationRouterSetRuleConditionArrayInput interface {
	pulumi.Input

	ToEventOrchestrationRouterSetRuleConditionArrayOutput() EventOrchestrationRouterSetRuleConditionArrayOutput
	ToEventOrchestrationRouterSetRuleConditionArrayOutputWithContext(context.Context) EventOrchestrationRouterSetRuleConditionArrayOutput
}

EventOrchestrationRouterSetRuleConditionArrayInput is an input type that accepts EventOrchestrationRouterSetRuleConditionArray and EventOrchestrationRouterSetRuleConditionArrayOutput values. You can construct a concrete instance of `EventOrchestrationRouterSetRuleConditionArrayInput` via:

EventOrchestrationRouterSetRuleConditionArray{ EventOrchestrationRouterSetRuleConditionArgs{...} }

type EventOrchestrationRouterSetRuleConditionArrayOutput added in v3.5.0

type EventOrchestrationRouterSetRuleConditionArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationRouterSetRuleConditionArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationRouterSetRuleConditionArrayOutput) Index added in v3.5.0

func (EventOrchestrationRouterSetRuleConditionArrayOutput) ToEventOrchestrationRouterSetRuleConditionArrayOutput added in v3.5.0

func (o EventOrchestrationRouterSetRuleConditionArrayOutput) ToEventOrchestrationRouterSetRuleConditionArrayOutput() EventOrchestrationRouterSetRuleConditionArrayOutput

func (EventOrchestrationRouterSetRuleConditionArrayOutput) ToEventOrchestrationRouterSetRuleConditionArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationRouterSetRuleConditionArrayOutput) ToEventOrchestrationRouterSetRuleConditionArrayOutputWithContext(ctx context.Context) EventOrchestrationRouterSetRuleConditionArrayOutput

type EventOrchestrationRouterSetRuleConditionInput added in v3.5.0

type EventOrchestrationRouterSetRuleConditionInput interface {
	pulumi.Input

	ToEventOrchestrationRouterSetRuleConditionOutput() EventOrchestrationRouterSetRuleConditionOutput
	ToEventOrchestrationRouterSetRuleConditionOutputWithContext(context.Context) EventOrchestrationRouterSetRuleConditionOutput
}

EventOrchestrationRouterSetRuleConditionInput is an input type that accepts EventOrchestrationRouterSetRuleConditionArgs and EventOrchestrationRouterSetRuleConditionOutput values. You can construct a concrete instance of `EventOrchestrationRouterSetRuleConditionInput` via:

EventOrchestrationRouterSetRuleConditionArgs{...}

type EventOrchestrationRouterSetRuleConditionOutput added in v3.5.0

type EventOrchestrationRouterSetRuleConditionOutput struct{ *pulumi.OutputState }

func (EventOrchestrationRouterSetRuleConditionOutput) ElementType added in v3.5.0

func (EventOrchestrationRouterSetRuleConditionOutput) Expression added in v3.5.0

A [PCL condition](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview) string.

func (EventOrchestrationRouterSetRuleConditionOutput) ToEventOrchestrationRouterSetRuleConditionOutput added in v3.5.0

func (o EventOrchestrationRouterSetRuleConditionOutput) ToEventOrchestrationRouterSetRuleConditionOutput() EventOrchestrationRouterSetRuleConditionOutput

func (EventOrchestrationRouterSetRuleConditionOutput) ToEventOrchestrationRouterSetRuleConditionOutputWithContext added in v3.5.0

func (o EventOrchestrationRouterSetRuleConditionOutput) ToEventOrchestrationRouterSetRuleConditionOutputWithContext(ctx context.Context) EventOrchestrationRouterSetRuleConditionOutput

type EventOrchestrationRouterSetRuleInput added in v3.5.0

type EventOrchestrationRouterSetRuleInput interface {
	pulumi.Input

	ToEventOrchestrationRouterSetRuleOutput() EventOrchestrationRouterSetRuleOutput
	ToEventOrchestrationRouterSetRuleOutputWithContext(context.Context) EventOrchestrationRouterSetRuleOutput
}

EventOrchestrationRouterSetRuleInput is an input type that accepts EventOrchestrationRouterSetRuleArgs and EventOrchestrationRouterSetRuleOutput values. You can construct a concrete instance of `EventOrchestrationRouterSetRuleInput` via:

EventOrchestrationRouterSetRuleArgs{...}

type EventOrchestrationRouterSetRuleOutput added in v3.5.0

type EventOrchestrationRouterSetRuleOutput struct{ *pulumi.OutputState }

func (EventOrchestrationRouterSetRuleOutput) Actions added in v3.5.0

Actions that will be taken to change the resulting alert and incident, when an event matches this rule.

func (EventOrchestrationRouterSetRuleOutput) Conditions added in v3.5.0

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.

func (EventOrchestrationRouterSetRuleOutput) Disabled added in v3.5.0

Indicates whether the rule is disabled and would therefore not be evaluated.

func (EventOrchestrationRouterSetRuleOutput) ElementType added in v3.5.0

func (EventOrchestrationRouterSetRuleOutput) Id added in v3.5.0

ID of the `start` set. Router supports only one set and it's id has to be `start`

func (EventOrchestrationRouterSetRuleOutput) Label added in v3.5.0

A description of this rule's purpose.

func (EventOrchestrationRouterSetRuleOutput) ToEventOrchestrationRouterSetRuleOutput added in v3.5.0

func (o EventOrchestrationRouterSetRuleOutput) ToEventOrchestrationRouterSetRuleOutput() EventOrchestrationRouterSetRuleOutput

func (EventOrchestrationRouterSetRuleOutput) ToEventOrchestrationRouterSetRuleOutputWithContext added in v3.5.0

func (o EventOrchestrationRouterSetRuleOutput) ToEventOrchestrationRouterSetRuleOutputWithContext(ctx context.Context) EventOrchestrationRouterSetRuleOutput

type EventOrchestrationRouterState added in v3.5.0

type EventOrchestrationRouterState struct {
	// When none of the rules match an event, the event will be routed according to the catchAll settings.
	CatchAll EventOrchestrationRouterCatchAllPtrInput
	// ID of the Event Orchestration to which the Router belongs.
	EventOrchestration pulumi.StringPtrInput
	// The Router contains a single set of rules  (the "start" set).
	Set EventOrchestrationRouterSetPtrInput
}

func (EventOrchestrationRouterState) ElementType added in v3.5.0

type EventOrchestrationService added in v3.5.0

type EventOrchestrationService struct {
	pulumi.CustomResourceState

	// the `catchAll` actions will be applied if an Event reaches the end of any set without matching any rules in that set.
	CatchAll EventOrchestrationServiceCatchAllOutput `pulumi:"catchAll"`
	// Opt-in/out for switching the Service to [Service Orchestrations](https://support.pagerduty.com/docs/event-orchestration#service-orchestrations).
	EnableEventOrchestrationForService pulumi.BoolPtrOutput `pulumi:"enableEventOrchestrationForService"`
	// ID of the Service to which this Service Orchestration belongs to.
	Service pulumi.StringOutput `pulumi:"service"`
	// A Service 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.
	Sets EventOrchestrationServiceSetArrayOutput `pulumi:"sets"`
}

A [Service Orchestration](https://support.pagerduty.com/docs/event-orchestration#service-orchestrations) allows you to create a set of Event Rules. The Service Orchestration evaluates Events sent to this Service 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 Service Orchestration for further processing.

> If you have a Service that uses [Service Event Rules](https://support.pagerduty.com/docs/rulesets#service-event-rules), you can switch to [Service Orchestrations](https://support.pagerduty.com/docs/event-orchestration#service-orchestrations) at any time setting the attribute `enableEventOrchestrationForService` to `true`. Please read the [Switch to Service Orchestrations](https://support.pagerduty.com/docs/event-orchestration#switch-to-service-orchestrations) instructions for more information.

## Example of configuring a Service Orchestration

This example shows creating `Team`, `User`, `Escalation Policy`, and `Service` resources followed by creating a Service Orchestration to handle Events sent to that Service.

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

This example shows a Service Orchestration that has nested sets: a rule in the "start" set has a `routeTo` action pointing at the "step-two" set.

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

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		engineering, err := pagerduty.NewTeam(ctx, "engineering", nil)
		if err != nil {
			return err
		}
		exampleUser, err := pagerduty.NewUser(ctx, "exampleUser", &pagerduty.UserArgs{
			Email: pulumi.String("125.greenholt.earline@graham.name"),
			Teams: pulumi.StringArray{
				engineering.ID(),
			},
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewEscalationPolicy(ctx, "foo", &pagerduty.EscalationPolicyArgs{
			NumLoops: pulumi.Int(2),
			Rules: pagerduty.EscalationPolicyRuleArray{
				&pagerduty.EscalationPolicyRuleArgs{
					EscalationDelayInMinutes: pulumi.Int(10),
					Targets: pagerduty.EscalationPolicyRuleTargetArray{
						&pagerduty.EscalationPolicyRuleTargetArgs{
							Type: pulumi.String("user"),
							Id:   exampleUser.ID(),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		exampleService, err := pagerduty.NewService(ctx, "exampleService", &pagerduty.ServiceArgs{
			AutoResolveTimeout:     pulumi.String("14400"),
			AcknowledgementTimeout: pulumi.String("600"),
			EscalationPolicy:       pulumi.Any(pagerduty_escalation_policy.Example.Id),
			AlertCreation:          pulumi.String("create_alerts_and_incidents"),
		})
		if err != nil {
			return err
		}
		p1, err := pagerduty.GetPriority(ctx, &pagerduty.GetPriorityArgs{
			Name: "P1",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewEventOrchestrationService(ctx, "www", &pagerduty.EventOrchestrationServiceArgs{
			Service:                            exampleService.ID(),
			EnableEventOrchestrationForService: pulumi.Bool(true),
			Sets: pagerduty.EventOrchestrationServiceSetArray{
				&pagerduty.EventOrchestrationServiceSetArgs{
					Id: pulumi.String("start"),
					Rules: pagerduty.EventOrchestrationServiceSetRuleArray{
						&pagerduty.EventOrchestrationServiceSetRuleArgs{
							Label: pulumi.String("Always apply some consistent event transformations to all events"),
							Actions: &pagerduty.EventOrchestrationServiceSetRuleActionsArgs{
								Variables: pagerduty.EventOrchestrationServiceSetRuleActionsVariableArray{
									&pagerduty.EventOrchestrationServiceSetRuleActionsVariableArgs{
										Name:  pulumi.String("hostname"),
										Path:  pulumi.String("event.component"),
										Value: pulumi.String("hostname: (.*)"),
										Type:  pulumi.String("regex"),
									},
								},
								Extractions: pagerduty.EventOrchestrationServiceSetRuleActionsExtractionArray{
									&pagerduty.EventOrchestrationServiceSetRuleActionsExtractionArgs{
										Template: pulumi.String("{{variables.hostname}}"),
										Target:   pulumi.String("event.custom_details.hostname"),
									},
									&pagerduty.EventOrchestrationServiceSetRuleActionsExtractionArgs{
										Source: pulumi.String("event.source"),
										Regex:  pulumi.String("www (.*) service"),
										Target: pulumi.String("event.source"),
									},
								},
								RouteTo: pulumi.String("step-two"),
							},
						},
					},
				},
				&pagerduty.EventOrchestrationServiceSetArgs{
					Id: pulumi.String("step-two"),
					Rules: pagerduty.EventOrchestrationServiceSetRuleArray{
						&pagerduty.EventOrchestrationServiceSetRuleArgs{
							Label: pulumi.String("All critical alerts should be treated as P1 incident"),
							Conditions: pagerduty.EventOrchestrationServiceSetRuleConditionArray{
								&pagerduty.EventOrchestrationServiceSetRuleConditionArgs{
									Expression: pulumi.String("event.severity matches 'critical'"),
								},
							},
							Actions: &pagerduty.EventOrchestrationServiceSetRuleActionsArgs{
								Annotate: pulumi.String("Please use our P1 runbook: https://docs.test/p1-runbook"),
								Priority: *pulumi.String(p1.Id),
							},
						},
						&pagerduty.EventOrchestrationServiceSetRuleArgs{
							Label: pulumi.String("If there's something wrong on the canary let the team know about it in our deployments Slack channel"),
							Conditions: pagerduty.EventOrchestrationServiceSetRuleConditionArray{
								&pagerduty.EventOrchestrationServiceSetRuleConditionArgs{
									Expression: pulumi.String("event.custom_details.hostname matches part 'canary'"),
								},
							},
							Actions: &pagerduty.EventOrchestrationServiceSetRuleActionsArgs{
								AutomationAction: &pagerduty.EventOrchestrationServiceSetRuleActionsAutomationActionArgs{
									Name:     pulumi.String("Canary Slack Notification"),
									Url:      pulumi.String("https://our-slack-listerner.test/canary-notification"),
									AutoSend: pulumi.Bool(true),
									Parameters: pagerduty.EventOrchestrationServiceSetRuleActionsAutomationActionParameterArray{
										&pagerduty.EventOrchestrationServiceSetRuleActionsAutomationActionParameterArgs{
											Key:   pulumi.String("channel"),
											Value: pulumi.String("#my-team-channel"),
										},
										&pagerduty.EventOrchestrationServiceSetRuleActionsAutomationActionParameterArgs{
											Key:   pulumi.String("message"),
											Value: pulumi.String("something is wrong with the canary deployment"),
										},
									},
									Headers: pagerduty.EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArray{
										&pagerduty.EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArgs{
											Key:   pulumi.String("X-Notification-Source"),
											Value: pulumi.String("PagerDuty Incident Webhook"),
										},
									},
								},
							},
						},
						&pagerduty.EventOrchestrationServiceSetRuleArgs{
							Label: pulumi.String("Never bother the on-call for info-level events outside of work hours"),
							Conditions: pagerduty.EventOrchestrationServiceSetRuleConditionArray{
								&pagerduty.EventOrchestrationServiceSetRuleConditionArgs{
									Expression: pulumi.String("event.severity matches 'info' and not (now in Mon,Tue,Wed,Thu,Fri 09:00:00 to 17:00:00 America/Los_Angeles)"),
								},
							},
							Actions: &pagerduty.EventOrchestrationServiceSetRuleActionsArgs{
								Suppress: pulumi.Bool(true),
							},
						},
					},
				},
			},
			CatchAll: &pagerduty.EventOrchestrationServiceCatchAllArgs{
				Actions: nil,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Service Orchestration can be imported using the `id` of the Service, e.g.

```sh

$ pulumi import pagerduty:index/eventOrchestrationService:EventOrchestrationService service PFEODA7

```

func GetEventOrchestrationService added in v3.5.0

func GetEventOrchestrationService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventOrchestrationServiceState, opts ...pulumi.ResourceOption) (*EventOrchestrationService, error)

GetEventOrchestrationService gets an existing EventOrchestrationService resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventOrchestrationService added in v3.5.0

func NewEventOrchestrationService(ctx *pulumi.Context,
	name string, args *EventOrchestrationServiceArgs, opts ...pulumi.ResourceOption) (*EventOrchestrationService, error)

NewEventOrchestrationService registers a new resource with the given unique name, arguments, and options.

func (*EventOrchestrationService) ElementType added in v3.5.0

func (*EventOrchestrationService) ElementType() reflect.Type

func (*EventOrchestrationService) ToEventOrchestrationServiceOutput added in v3.5.0

func (i *EventOrchestrationService) ToEventOrchestrationServiceOutput() EventOrchestrationServiceOutput

func (*EventOrchestrationService) ToEventOrchestrationServiceOutputWithContext added in v3.5.0

func (i *EventOrchestrationService) ToEventOrchestrationServiceOutputWithContext(ctx context.Context) EventOrchestrationServiceOutput

type EventOrchestrationServiceArgs added in v3.5.0

type EventOrchestrationServiceArgs struct {
	// the `catchAll` actions will be applied if an Event reaches the end of any set without matching any rules in that set.
	CatchAll EventOrchestrationServiceCatchAllInput
	// Opt-in/out for switching the Service to [Service Orchestrations](https://support.pagerduty.com/docs/event-orchestration#service-orchestrations).
	EnableEventOrchestrationForService pulumi.BoolPtrInput
	// ID of the Service to which this Service Orchestration belongs to.
	Service pulumi.StringInput
	// A Service 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.
	Sets EventOrchestrationServiceSetArrayInput
}

The set of arguments for constructing a EventOrchestrationService resource.

func (EventOrchestrationServiceArgs) ElementType added in v3.5.0

type EventOrchestrationServiceArray added in v3.5.0

type EventOrchestrationServiceArray []EventOrchestrationServiceInput

func (EventOrchestrationServiceArray) ElementType added in v3.5.0

func (EventOrchestrationServiceArray) ToEventOrchestrationServiceArrayOutput added in v3.5.0

func (i EventOrchestrationServiceArray) ToEventOrchestrationServiceArrayOutput() EventOrchestrationServiceArrayOutput

func (EventOrchestrationServiceArray) ToEventOrchestrationServiceArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceArray) ToEventOrchestrationServiceArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceArrayOutput

type EventOrchestrationServiceArrayInput added in v3.5.0

type EventOrchestrationServiceArrayInput interface {
	pulumi.Input

	ToEventOrchestrationServiceArrayOutput() EventOrchestrationServiceArrayOutput
	ToEventOrchestrationServiceArrayOutputWithContext(context.Context) EventOrchestrationServiceArrayOutput
}

EventOrchestrationServiceArrayInput is an input type that accepts EventOrchestrationServiceArray and EventOrchestrationServiceArrayOutput values. You can construct a concrete instance of `EventOrchestrationServiceArrayInput` via:

EventOrchestrationServiceArray{ EventOrchestrationServiceArgs{...} }

type EventOrchestrationServiceArrayOutput added in v3.5.0

type EventOrchestrationServiceArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceArrayOutput) Index added in v3.5.0

func (EventOrchestrationServiceArrayOutput) ToEventOrchestrationServiceArrayOutput added in v3.5.0

func (o EventOrchestrationServiceArrayOutput) ToEventOrchestrationServiceArrayOutput() EventOrchestrationServiceArrayOutput

func (EventOrchestrationServiceArrayOutput) ToEventOrchestrationServiceArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceArrayOutput) ToEventOrchestrationServiceArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceArrayOutput

type EventOrchestrationServiceCatchAll added in v3.5.0

type EventOrchestrationServiceCatchAll struct {
	// These are the actions that will be taken to change the resulting alert and incident. `catchAll` supports all actions described above for `rule` _except_ `routeTo` action.
	Actions EventOrchestrationServiceCatchAllActions `pulumi:"actions"`
}

type EventOrchestrationServiceCatchAllActions added in v3.5.0

type EventOrchestrationServiceCatchAllActions struct {
	// Add this text as a note on the resulting incident.
	Annotate *string `pulumi:"annotate"`
	// Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) associated with the resulting incident.
	AutomationAction *EventOrchestrationServiceCatchAllActionsAutomationAction `pulumi:"automationAction"`
	// sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`
	EventAction *string `pulumi:"eventAction"`
	// Replace any CEF field or Custom Details object field using custom variables.
	Extractions []EventOrchestrationServiceCatchAllActionsExtraction `pulumi:"extractions"`
	// Configure a [Process Automation](https://support.pagerduty.com/docs/event-orchestration#process-automation) associated with the resulting incident.
	PagerdutyAutomationAction *EventOrchestrationServiceCatchAllActionsPagerdutyAutomationAction `pulumi:"pagerdutyAutomationAction"`
	// The ID of the priority you want to set on resulting incident. Consider using the `getPriority` data source.
	Priority *string `pulumi:"priority"`
	// The ID of a Set from this Service Orchestration whose rules you also want to use with events that match this rule.
	RouteTo *string `pulumi:"routeTo"`
	// sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`
	Severity *string `pulumi:"severity"`
	// Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
	Suppress *bool `pulumi:"suppress"`
	// 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.
	Suspend *int `pulumi:"suspend"`
	// Populate variables from event payloads and use those variables in other event actions.
	Variables []EventOrchestrationServiceCatchAllActionsVariable `pulumi:"variables"`
}

type EventOrchestrationServiceCatchAllActionsArgs added in v3.5.0

type EventOrchestrationServiceCatchAllActionsArgs struct {
	// Add this text as a note on the resulting incident.
	Annotate pulumi.StringPtrInput `pulumi:"annotate"`
	// Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) associated with the resulting incident.
	AutomationAction EventOrchestrationServiceCatchAllActionsAutomationActionPtrInput `pulumi:"automationAction"`
	// sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`
	EventAction pulumi.StringPtrInput `pulumi:"eventAction"`
	// Replace any CEF field or Custom Details object field using custom variables.
	Extractions EventOrchestrationServiceCatchAllActionsExtractionArrayInput `pulumi:"extractions"`
	// Configure a [Process Automation](https://support.pagerduty.com/docs/event-orchestration#process-automation) associated with the resulting incident.
	PagerdutyAutomationAction EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrInput `pulumi:"pagerdutyAutomationAction"`
	// The ID of the priority you want to set on resulting incident. Consider using the `getPriority` data source.
	Priority pulumi.StringPtrInput `pulumi:"priority"`
	// The ID of a Set from this Service Orchestration whose rules you also want to use with events that match this rule.
	RouteTo pulumi.StringPtrInput `pulumi:"routeTo"`
	// sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`
	Severity pulumi.StringPtrInput `pulumi:"severity"`
	// Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
	Suppress pulumi.BoolPtrInput `pulumi:"suppress"`
	// 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.
	Suspend pulumi.IntPtrInput `pulumi:"suspend"`
	// Populate variables from event payloads and use those variables in other event actions.
	Variables EventOrchestrationServiceCatchAllActionsVariableArrayInput `pulumi:"variables"`
}

func (EventOrchestrationServiceCatchAllActionsArgs) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsArgs) ToEventOrchestrationServiceCatchAllActionsOutput added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsArgs) ToEventOrchestrationServiceCatchAllActionsOutput() EventOrchestrationServiceCatchAllActionsOutput

func (EventOrchestrationServiceCatchAllActionsArgs) ToEventOrchestrationServiceCatchAllActionsOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsArgs) ToEventOrchestrationServiceCatchAllActionsOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsOutput

func (EventOrchestrationServiceCatchAllActionsArgs) ToEventOrchestrationServiceCatchAllActionsPtrOutput added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsArgs) ToEventOrchestrationServiceCatchAllActionsPtrOutput() EventOrchestrationServiceCatchAllActionsPtrOutput

func (EventOrchestrationServiceCatchAllActionsArgs) ToEventOrchestrationServiceCatchAllActionsPtrOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsArgs) ToEventOrchestrationServiceCatchAllActionsPtrOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsPtrOutput

type EventOrchestrationServiceCatchAllActionsAutomationAction added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationAction struct {
	// 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.
	AutoSend *bool `pulumi:"autoSend"`
	// Specify custom key/value pairs that'll be sent with the webhook request as request headers.
	Headers []EventOrchestrationServiceCatchAllActionsAutomationActionHeader `pulumi:"headers"`
	// Name of this Webhook.
	Name string `pulumi:"name"`
	// Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
	Parameters []EventOrchestrationServiceCatchAllActionsAutomationActionParameter `pulumi:"parameters"`
	// The API endpoint where PagerDuty's servers will send the webhook request.
	Url string `pulumi:"url"`
}

type EventOrchestrationServiceCatchAllActionsAutomationActionArgs added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionArgs struct {
	// 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.
	AutoSend pulumi.BoolPtrInput `pulumi:"autoSend"`
	// Specify custom key/value pairs that'll be sent with the webhook request as request headers.
	Headers EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayInput `pulumi:"headers"`
	// Name of this Webhook.
	Name pulumi.StringInput `pulumi:"name"`
	// Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
	Parameters EventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayInput `pulumi:"parameters"`
	// The API endpoint where PagerDuty's servers will send the webhook request.
	Url pulumi.StringInput `pulumi:"url"`
}

func (EventOrchestrationServiceCatchAllActionsAutomationActionArgs) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionArgs) ToEventOrchestrationServiceCatchAllActionsAutomationActionOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionArgs) ToEventOrchestrationServiceCatchAllActionsAutomationActionOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsAutomationActionArgs) ToEventOrchestrationServiceCatchAllActionsAutomationActionOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsAutomationActionOutput

func (EventOrchestrationServiceCatchAllActionsAutomationActionArgs) ToEventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionArgs) ToEventOrchestrationServiceCatchAllActionsAutomationActionPtrOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsAutomationActionArgs) ToEventOrchestrationServiceCatchAllActionsAutomationActionPtrOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput

type EventOrchestrationServiceCatchAllActionsAutomationActionHeader added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionHeader struct {
	// Name to identify the header
	Key string `pulumi:"key"`
	// Value of this header
	Value string `pulumi:"value"`
}

type EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArgs added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArgs struct {
	// Name to identify the header
	Key pulumi.StringInput `pulumi:"key"`
	// Value of this header
	Value pulumi.StringInput `pulumi:"value"`
}

func (EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArgs) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArgs) ToEventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArgs) ToEventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArgs) ToEventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutput

type EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArray added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArray []EventOrchestrationServiceCatchAllActionsAutomationActionHeaderInput

func (EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArray) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArray) ToEventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArray) ToEventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArray) ToEventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayOutput

type EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayInput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayInput interface {
	pulumi.Input

	ToEventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayOutput() EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayOutput
	ToEventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayOutputWithContext(context.Context) EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayOutput
}

EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayInput is an input type that accepts EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArray and EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayOutput values. You can construct a concrete instance of `EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayInput` via:

EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArray{ EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArgs{...} }

type EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayOutput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayOutput) Index added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionHeaderArrayOutputWithContext added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionHeaderInput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionHeaderInput interface {
	pulumi.Input

	ToEventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutput() EventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutput
	ToEventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutputWithContext(context.Context) EventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutput
}

EventOrchestrationServiceCatchAllActionsAutomationActionHeaderInput is an input type that accepts EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArgs and EventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutput values. You can construct a concrete instance of `EventOrchestrationServiceCatchAllActionsAutomationActionHeaderInput` via:

EventOrchestrationServiceCatchAllActionsAutomationActionHeaderArgs{...}

type EventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutput) Key added in v3.5.0

Name to identify the header

func (EventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutput

func (EventOrchestrationServiceCatchAllActionsAutomationActionHeaderOutput) Value added in v3.5.0

Value of this header

type EventOrchestrationServiceCatchAllActionsAutomationActionInput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionInput interface {
	pulumi.Input

	ToEventOrchestrationServiceCatchAllActionsAutomationActionOutput() EventOrchestrationServiceCatchAllActionsAutomationActionOutput
	ToEventOrchestrationServiceCatchAllActionsAutomationActionOutputWithContext(context.Context) EventOrchestrationServiceCatchAllActionsAutomationActionOutput
}

EventOrchestrationServiceCatchAllActionsAutomationActionInput is an input type that accepts EventOrchestrationServiceCatchAllActionsAutomationActionArgs and EventOrchestrationServiceCatchAllActionsAutomationActionOutput values. You can construct a concrete instance of `EventOrchestrationServiceCatchAllActionsAutomationActionInput` via:

EventOrchestrationServiceCatchAllActionsAutomationActionArgs{...}

type EventOrchestrationServiceCatchAllActionsAutomationActionOutput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceCatchAllActionsAutomationActionOutput) AutoSend added in v3.5.0

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.

func (EventOrchestrationServiceCatchAllActionsAutomationActionOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionOutput) Headers added in v3.5.0

Specify custom key/value pairs that'll be sent with the webhook request as request headers.

func (EventOrchestrationServiceCatchAllActionsAutomationActionOutput) Name added in v3.5.0

Name of this Webhook.

func (EventOrchestrationServiceCatchAllActionsAutomationActionOutput) Parameters added in v3.5.0

Specify custom key/value pairs that'll be included in the webhook request's JSON payload.

func (EventOrchestrationServiceCatchAllActionsAutomationActionOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceCatchAllActionsAutomationActionOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsAutomationActionOutput

func (EventOrchestrationServiceCatchAllActionsAutomationActionOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceCatchAllActionsAutomationActionOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionPtrOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput

func (EventOrchestrationServiceCatchAllActionsAutomationActionOutput) Url added in v3.5.0

The API endpoint where PagerDuty's servers will send the webhook request.

type EventOrchestrationServiceCatchAllActionsAutomationActionParameter added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionParameter struct {
	// Name to identify the header
	Key string `pulumi:"key"`
	// Value of this header
	Value string `pulumi:"value"`
}

type EventOrchestrationServiceCatchAllActionsAutomationActionParameterArgs added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionParameterArgs struct {
	// Name to identify the header
	Key pulumi.StringInput `pulumi:"key"`
	// Value of this header
	Value pulumi.StringInput `pulumi:"value"`
}

func (EventOrchestrationServiceCatchAllActionsAutomationActionParameterArgs) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionParameterArgs) ToEventOrchestrationServiceCatchAllActionsAutomationActionParameterOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionParameterArgs) ToEventOrchestrationServiceCatchAllActionsAutomationActionParameterOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsAutomationActionParameterArgs) ToEventOrchestrationServiceCatchAllActionsAutomationActionParameterOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsAutomationActionParameterOutput

type EventOrchestrationServiceCatchAllActionsAutomationActionParameterArray added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionParameterArray []EventOrchestrationServiceCatchAllActionsAutomationActionParameterInput

func (EventOrchestrationServiceCatchAllActionsAutomationActionParameterArray) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionParameterArray) ToEventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionParameterArray) ToEventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsAutomationActionParameterArray) ToEventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayOutput

type EventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayInput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayInput interface {
	pulumi.Input

	ToEventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayOutput() EventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayOutput
	ToEventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayOutputWithContext(context.Context) EventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayOutput
}

EventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayInput is an input type that accepts EventOrchestrationServiceCatchAllActionsAutomationActionParameterArray and EventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayOutput values. You can construct a concrete instance of `EventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayInput` via:

EventOrchestrationServiceCatchAllActionsAutomationActionParameterArray{ EventOrchestrationServiceCatchAllActionsAutomationActionParameterArgs{...} }

type EventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayOutput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayOutput) Index added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionParameterArrayOutputWithContext added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionParameterInput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionParameterInput interface {
	pulumi.Input

	ToEventOrchestrationServiceCatchAllActionsAutomationActionParameterOutput() EventOrchestrationServiceCatchAllActionsAutomationActionParameterOutput
	ToEventOrchestrationServiceCatchAllActionsAutomationActionParameterOutputWithContext(context.Context) EventOrchestrationServiceCatchAllActionsAutomationActionParameterOutput
}

EventOrchestrationServiceCatchAllActionsAutomationActionParameterInput is an input type that accepts EventOrchestrationServiceCatchAllActionsAutomationActionParameterArgs and EventOrchestrationServiceCatchAllActionsAutomationActionParameterOutput values. You can construct a concrete instance of `EventOrchestrationServiceCatchAllActionsAutomationActionParameterInput` via:

EventOrchestrationServiceCatchAllActionsAutomationActionParameterArgs{...}

type EventOrchestrationServiceCatchAllActionsAutomationActionParameterOutput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionParameterOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceCatchAllActionsAutomationActionParameterOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionParameterOutput) Key added in v3.5.0

Name to identify the header

func (EventOrchestrationServiceCatchAllActionsAutomationActionParameterOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionParameterOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionParameterOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionParameterOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceCatchAllActionsAutomationActionParameterOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionParameterOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsAutomationActionParameterOutput

func (EventOrchestrationServiceCatchAllActionsAutomationActionParameterOutput) Value added in v3.5.0

Value of this header

type EventOrchestrationServiceCatchAllActionsAutomationActionPtrInput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionPtrInput interface {
	pulumi.Input

	ToEventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput() EventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput
	ToEventOrchestrationServiceCatchAllActionsAutomationActionPtrOutputWithContext(context.Context) EventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput
}

EventOrchestrationServiceCatchAllActionsAutomationActionPtrInput is an input type that accepts EventOrchestrationServiceCatchAllActionsAutomationActionArgs, EventOrchestrationServiceCatchAllActionsAutomationActionPtr and EventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput values. You can construct a concrete instance of `EventOrchestrationServiceCatchAllActionsAutomationActionPtrInput` via:

        EventOrchestrationServiceCatchAllActionsAutomationActionArgs{...}

or:

        nil

type EventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput) AutoSend added in v3.5.0

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.

func (EventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput) Elem added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput) Headers added in v3.5.0

Specify custom key/value pairs that'll be sent with the webhook request as request headers.

func (EventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput) Name added in v3.5.0

Name of this Webhook.

func (EventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput) Parameters added in v3.5.0

Specify custom key/value pairs that'll be included in the webhook request's JSON payload.

func (EventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput) ToEventOrchestrationServiceCatchAllActionsAutomationActionPtrOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput

func (EventOrchestrationServiceCatchAllActionsAutomationActionPtrOutput) Url added in v3.5.0

The API endpoint where PagerDuty's servers will send the webhook request.

type EventOrchestrationServiceCatchAllActionsExtraction added in v3.5.0

type EventOrchestrationServiceCatchAllActionsExtraction struct {
	// A [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) 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.
	Regex *string `pulumi:"regex"`
	// The path to the event field where the `regex` will be applied to extract a value. You can use any valid [PCL path](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths) 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.
	Source *string `pulumi:"source"`
	// The PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/pd-cef) field that will be set with the value from the `template` or based on `regex` and `source` fields.
	Target string `pulumi:"target"`
	// 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}}`
	Template *string `pulumi:"template"`
}

type EventOrchestrationServiceCatchAllActionsExtractionArgs added in v3.5.0

type EventOrchestrationServiceCatchAllActionsExtractionArgs struct {
	// A [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) 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.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
	// The path to the event field where the `regex` will be applied to extract a value. You can use any valid [PCL path](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths) 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.
	Source pulumi.StringPtrInput `pulumi:"source"`
	// The PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/pd-cef) field that will be set with the value from the `template` or based on `regex` and `source` fields.
	Target pulumi.StringInput `pulumi:"target"`
	// 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}}`
	Template pulumi.StringPtrInput `pulumi:"template"`
}

func (EventOrchestrationServiceCatchAllActionsExtractionArgs) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsExtractionArgs) ToEventOrchestrationServiceCatchAllActionsExtractionOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsExtractionArgs) ToEventOrchestrationServiceCatchAllActionsExtractionOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsExtractionArgs) ToEventOrchestrationServiceCatchAllActionsExtractionOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsExtractionOutput

type EventOrchestrationServiceCatchAllActionsExtractionArray added in v3.5.0

type EventOrchestrationServiceCatchAllActionsExtractionArray []EventOrchestrationServiceCatchAllActionsExtractionInput

func (EventOrchestrationServiceCatchAllActionsExtractionArray) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsExtractionArray) ToEventOrchestrationServiceCatchAllActionsExtractionArrayOutput added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsExtractionArray) ToEventOrchestrationServiceCatchAllActionsExtractionArrayOutput() EventOrchestrationServiceCatchAllActionsExtractionArrayOutput

func (EventOrchestrationServiceCatchAllActionsExtractionArray) ToEventOrchestrationServiceCatchAllActionsExtractionArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsExtractionArray) ToEventOrchestrationServiceCatchAllActionsExtractionArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsExtractionArrayOutput

type EventOrchestrationServiceCatchAllActionsExtractionArrayInput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsExtractionArrayInput interface {
	pulumi.Input

	ToEventOrchestrationServiceCatchAllActionsExtractionArrayOutput() EventOrchestrationServiceCatchAllActionsExtractionArrayOutput
	ToEventOrchestrationServiceCatchAllActionsExtractionArrayOutputWithContext(context.Context) EventOrchestrationServiceCatchAllActionsExtractionArrayOutput
}

EventOrchestrationServiceCatchAllActionsExtractionArrayInput is an input type that accepts EventOrchestrationServiceCatchAllActionsExtractionArray and EventOrchestrationServiceCatchAllActionsExtractionArrayOutput values. You can construct a concrete instance of `EventOrchestrationServiceCatchAllActionsExtractionArrayInput` via:

EventOrchestrationServiceCatchAllActionsExtractionArray{ EventOrchestrationServiceCatchAllActionsExtractionArgs{...} }

type EventOrchestrationServiceCatchAllActionsExtractionArrayOutput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsExtractionArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceCatchAllActionsExtractionArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsExtractionArrayOutput) Index added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsExtractionArrayOutput) ToEventOrchestrationServiceCatchAllActionsExtractionArrayOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsExtractionArrayOutput) ToEventOrchestrationServiceCatchAllActionsExtractionArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceCatchAllActionsExtractionArrayOutput) ToEventOrchestrationServiceCatchAllActionsExtractionArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsExtractionArrayOutput

type EventOrchestrationServiceCatchAllActionsExtractionInput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsExtractionInput interface {
	pulumi.Input

	ToEventOrchestrationServiceCatchAllActionsExtractionOutput() EventOrchestrationServiceCatchAllActionsExtractionOutput
	ToEventOrchestrationServiceCatchAllActionsExtractionOutputWithContext(context.Context) EventOrchestrationServiceCatchAllActionsExtractionOutput
}

EventOrchestrationServiceCatchAllActionsExtractionInput is an input type that accepts EventOrchestrationServiceCatchAllActionsExtractionArgs and EventOrchestrationServiceCatchAllActionsExtractionOutput values. You can construct a concrete instance of `EventOrchestrationServiceCatchAllActionsExtractionInput` via:

EventOrchestrationServiceCatchAllActionsExtractionArgs{...}

type EventOrchestrationServiceCatchAllActionsExtractionOutput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsExtractionOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceCatchAllActionsExtractionOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsExtractionOutput) Regex added in v3.5.0

A [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) 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.

func (EventOrchestrationServiceCatchAllActionsExtractionOutput) Source added in v3.5.0

The path to the event field where the `regex` will be applied to extract a value. You can use any valid [PCL path](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths) 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.

func (EventOrchestrationServiceCatchAllActionsExtractionOutput) Target added in v3.5.0

The PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/pd-cef) field that will be set with the value from the `template` or based on `regex` and `source` fields.

func (EventOrchestrationServiceCatchAllActionsExtractionOutput) Template added in v3.5.0

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}}`

func (EventOrchestrationServiceCatchAllActionsExtractionOutput) ToEventOrchestrationServiceCatchAllActionsExtractionOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsExtractionOutput) ToEventOrchestrationServiceCatchAllActionsExtractionOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceCatchAllActionsExtractionOutput) ToEventOrchestrationServiceCatchAllActionsExtractionOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsExtractionOutput

type EventOrchestrationServiceCatchAllActionsInput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsInput interface {
	pulumi.Input

	ToEventOrchestrationServiceCatchAllActionsOutput() EventOrchestrationServiceCatchAllActionsOutput
	ToEventOrchestrationServiceCatchAllActionsOutputWithContext(context.Context) EventOrchestrationServiceCatchAllActionsOutput
}

EventOrchestrationServiceCatchAllActionsInput is an input type that accepts EventOrchestrationServiceCatchAllActionsArgs and EventOrchestrationServiceCatchAllActionsOutput values. You can construct a concrete instance of `EventOrchestrationServiceCatchAllActionsInput` via:

EventOrchestrationServiceCatchAllActionsArgs{...}

type EventOrchestrationServiceCatchAllActionsOutput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceCatchAllActionsOutput) Annotate added in v3.5.0

Add this text as a note on the resulting incident.

func (EventOrchestrationServiceCatchAllActionsOutput) AutomationAction added in v3.5.0

Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) associated with the resulting incident.

func (EventOrchestrationServiceCatchAllActionsOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsOutput) EventAction added in v3.5.0

sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`

func (EventOrchestrationServiceCatchAllActionsOutput) Extractions added in v3.5.0

Replace any CEF field or Custom Details object field using custom variables.

func (EventOrchestrationServiceCatchAllActionsOutput) PagerdutyAutomationAction added in v3.5.0

Configure a [Process Automation](https://support.pagerduty.com/docs/event-orchestration#process-automation) associated with the resulting incident.

func (EventOrchestrationServiceCatchAllActionsOutput) Priority added in v3.5.0

The ID of the priority you want to set on resulting incident. Consider using the `getPriority` data source.

func (EventOrchestrationServiceCatchAllActionsOutput) RouteTo added in v3.5.0

The ID of a Set from this Service Orchestration whose rules you also want to use with events that match this rule.

func (EventOrchestrationServiceCatchAllActionsOutput) Severity added in v3.5.0

sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`

func (EventOrchestrationServiceCatchAllActionsOutput) Suppress added in v3.5.0

Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.

func (EventOrchestrationServiceCatchAllActionsOutput) Suspend added in v3.5.0

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.

func (EventOrchestrationServiceCatchAllActionsOutput) ToEventOrchestrationServiceCatchAllActionsOutput added in v3.5.0

func (o EventOrchestrationServiceCatchAllActionsOutput) ToEventOrchestrationServiceCatchAllActionsOutput() EventOrchestrationServiceCatchAllActionsOutput

func (EventOrchestrationServiceCatchAllActionsOutput) ToEventOrchestrationServiceCatchAllActionsOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceCatchAllActionsOutput) ToEventOrchestrationServiceCatchAllActionsOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsOutput

func (EventOrchestrationServiceCatchAllActionsOutput) ToEventOrchestrationServiceCatchAllActionsPtrOutput added in v3.5.0

func (o EventOrchestrationServiceCatchAllActionsOutput) ToEventOrchestrationServiceCatchAllActionsPtrOutput() EventOrchestrationServiceCatchAllActionsPtrOutput

func (EventOrchestrationServiceCatchAllActionsOutput) ToEventOrchestrationServiceCatchAllActionsPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceCatchAllActionsOutput) ToEventOrchestrationServiceCatchAllActionsPtrOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsPtrOutput

func (EventOrchestrationServiceCatchAllActionsOutput) Variables added in v3.5.0

Populate variables from event payloads and use those variables in other event actions.

type EventOrchestrationServiceCatchAllActionsPagerdutyAutomationAction added in v3.5.0

type EventOrchestrationServiceCatchAllActionsPagerdutyAutomationAction struct {
	// Id of the Process Automation action to be triggered.
	ActionId string `pulumi:"actionId"`
}

type EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionArgs added in v3.5.0

type EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionArgs struct {
	// Id of the Process Automation action to be triggered.
	ActionId pulumi.StringInput `pulumi:"actionId"`
}

func (EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionArgs) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionArgs) ToEventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionArgs) ToEventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionArgs) ToEventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutput

func (EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionArgs) ToEventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionArgs) ToEventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionArgs) ToEventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutput

type EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionInput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionInput interface {
	pulumi.Input

	ToEventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutput() EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutput
	ToEventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutputWithContext(context.Context) EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutput
}

EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionInput is an input type that accepts EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionArgs and EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutput values. You can construct a concrete instance of `EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionInput` via:

EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionArgs{...}

type EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutput) ActionId added in v3.5.0

Id of the Process Automation action to be triggered.

func (EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutput) ToEventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutput) ToEventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutput) ToEventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutput

func (EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutput) ToEventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutput) ToEventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionOutput) ToEventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutput

type EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrInput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrInput interface {
	pulumi.Input

	ToEventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutput() EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutput
	ToEventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutputWithContext(context.Context) EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutput
}

EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrInput is an input type that accepts EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionArgs, EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtr and EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutput values. You can construct a concrete instance of `EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrInput` via:

        EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionArgs{...}

or:

        nil

type EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutput) ActionId added in v3.5.0

Id of the Process Automation action to be triggered.

func (EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutput) Elem added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutput) ToEventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutput) ToEventOrchestrationServiceCatchAllActionsPagerdutyAutomationActionPtrOutputWithContext added in v3.5.0

type EventOrchestrationServiceCatchAllActionsPtrInput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsPtrInput interface {
	pulumi.Input

	ToEventOrchestrationServiceCatchAllActionsPtrOutput() EventOrchestrationServiceCatchAllActionsPtrOutput
	ToEventOrchestrationServiceCatchAllActionsPtrOutputWithContext(context.Context) EventOrchestrationServiceCatchAllActionsPtrOutput
}

EventOrchestrationServiceCatchAllActionsPtrInput is an input type that accepts EventOrchestrationServiceCatchAllActionsArgs, EventOrchestrationServiceCatchAllActionsPtr and EventOrchestrationServiceCatchAllActionsPtrOutput values. You can construct a concrete instance of `EventOrchestrationServiceCatchAllActionsPtrInput` via:

        EventOrchestrationServiceCatchAllActionsArgs{...}

or:

        nil

type EventOrchestrationServiceCatchAllActionsPtrOutput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsPtrOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceCatchAllActionsPtrOutput) Annotate added in v3.5.0

Add this text as a note on the resulting incident.

func (EventOrchestrationServiceCatchAllActionsPtrOutput) AutomationAction added in v3.5.0

Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) associated with the resulting incident.

func (EventOrchestrationServiceCatchAllActionsPtrOutput) Elem added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsPtrOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsPtrOutput) EventAction added in v3.5.0

sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`

func (EventOrchestrationServiceCatchAllActionsPtrOutput) Extractions added in v3.5.0

Replace any CEF field or Custom Details object field using custom variables.

func (EventOrchestrationServiceCatchAllActionsPtrOutput) PagerdutyAutomationAction added in v3.5.0

Configure a [Process Automation](https://support.pagerduty.com/docs/event-orchestration#process-automation) associated with the resulting incident.

func (EventOrchestrationServiceCatchAllActionsPtrOutput) Priority added in v3.5.0

The ID of the priority you want to set on resulting incident. Consider using the `getPriority` data source.

func (EventOrchestrationServiceCatchAllActionsPtrOutput) RouteTo added in v3.5.0

The ID of a Set from this Service Orchestration whose rules you also want to use with events that match this rule.

func (EventOrchestrationServiceCatchAllActionsPtrOutput) Severity added in v3.5.0

sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`

func (EventOrchestrationServiceCatchAllActionsPtrOutput) Suppress added in v3.5.0

Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.

func (EventOrchestrationServiceCatchAllActionsPtrOutput) Suspend added in v3.5.0

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.

func (EventOrchestrationServiceCatchAllActionsPtrOutput) ToEventOrchestrationServiceCatchAllActionsPtrOutput added in v3.5.0

func (o EventOrchestrationServiceCatchAllActionsPtrOutput) ToEventOrchestrationServiceCatchAllActionsPtrOutput() EventOrchestrationServiceCatchAllActionsPtrOutput

func (EventOrchestrationServiceCatchAllActionsPtrOutput) ToEventOrchestrationServiceCatchAllActionsPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceCatchAllActionsPtrOutput) ToEventOrchestrationServiceCatchAllActionsPtrOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsPtrOutput

func (EventOrchestrationServiceCatchAllActionsPtrOutput) Variables added in v3.5.0

Populate variables from event payloads and use those variables in other event actions.

type EventOrchestrationServiceCatchAllActionsVariable added in v3.5.0

type EventOrchestrationServiceCatchAllActionsVariable struct {
	// Name of this Webhook.
	Name string `pulumi:"name"`
	// Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/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](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths).
	Path string `pulumi:"path"`
	// Only `regex` is supported
	Type string `pulumi:"type"`
	// Value of this header
	Value string `pulumi:"value"`
}

type EventOrchestrationServiceCatchAllActionsVariableArgs added in v3.5.0

type EventOrchestrationServiceCatchAllActionsVariableArgs struct {
	// Name of this Webhook.
	Name pulumi.StringInput `pulumi:"name"`
	// Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/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](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths).
	Path pulumi.StringInput `pulumi:"path"`
	// Only `regex` is supported
	Type pulumi.StringInput `pulumi:"type"`
	// Value of this header
	Value pulumi.StringInput `pulumi:"value"`
}

func (EventOrchestrationServiceCatchAllActionsVariableArgs) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsVariableArgs) ToEventOrchestrationServiceCatchAllActionsVariableOutput added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsVariableArgs) ToEventOrchestrationServiceCatchAllActionsVariableOutput() EventOrchestrationServiceCatchAllActionsVariableOutput

func (EventOrchestrationServiceCatchAllActionsVariableArgs) ToEventOrchestrationServiceCatchAllActionsVariableOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsVariableArgs) ToEventOrchestrationServiceCatchAllActionsVariableOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsVariableOutput

type EventOrchestrationServiceCatchAllActionsVariableArray added in v3.5.0

type EventOrchestrationServiceCatchAllActionsVariableArray []EventOrchestrationServiceCatchAllActionsVariableInput

func (EventOrchestrationServiceCatchAllActionsVariableArray) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsVariableArray) ToEventOrchestrationServiceCatchAllActionsVariableArrayOutput added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsVariableArray) ToEventOrchestrationServiceCatchAllActionsVariableArrayOutput() EventOrchestrationServiceCatchAllActionsVariableArrayOutput

func (EventOrchestrationServiceCatchAllActionsVariableArray) ToEventOrchestrationServiceCatchAllActionsVariableArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceCatchAllActionsVariableArray) ToEventOrchestrationServiceCatchAllActionsVariableArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsVariableArrayOutput

type EventOrchestrationServiceCatchAllActionsVariableArrayInput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsVariableArrayInput interface {
	pulumi.Input

	ToEventOrchestrationServiceCatchAllActionsVariableArrayOutput() EventOrchestrationServiceCatchAllActionsVariableArrayOutput
	ToEventOrchestrationServiceCatchAllActionsVariableArrayOutputWithContext(context.Context) EventOrchestrationServiceCatchAllActionsVariableArrayOutput
}

EventOrchestrationServiceCatchAllActionsVariableArrayInput is an input type that accepts EventOrchestrationServiceCatchAllActionsVariableArray and EventOrchestrationServiceCatchAllActionsVariableArrayOutput values. You can construct a concrete instance of `EventOrchestrationServiceCatchAllActionsVariableArrayInput` via:

EventOrchestrationServiceCatchAllActionsVariableArray{ EventOrchestrationServiceCatchAllActionsVariableArgs{...} }

type EventOrchestrationServiceCatchAllActionsVariableArrayOutput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsVariableArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceCatchAllActionsVariableArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsVariableArrayOutput) Index added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsVariableArrayOutput) ToEventOrchestrationServiceCatchAllActionsVariableArrayOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsVariableArrayOutput) ToEventOrchestrationServiceCatchAllActionsVariableArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceCatchAllActionsVariableArrayOutput) ToEventOrchestrationServiceCatchAllActionsVariableArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsVariableArrayOutput

type EventOrchestrationServiceCatchAllActionsVariableInput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsVariableInput interface {
	pulumi.Input

	ToEventOrchestrationServiceCatchAllActionsVariableOutput() EventOrchestrationServiceCatchAllActionsVariableOutput
	ToEventOrchestrationServiceCatchAllActionsVariableOutputWithContext(context.Context) EventOrchestrationServiceCatchAllActionsVariableOutput
}

EventOrchestrationServiceCatchAllActionsVariableInput is an input type that accepts EventOrchestrationServiceCatchAllActionsVariableArgs and EventOrchestrationServiceCatchAllActionsVariableOutput values. You can construct a concrete instance of `EventOrchestrationServiceCatchAllActionsVariableInput` via:

EventOrchestrationServiceCatchAllActionsVariableArgs{...}

type EventOrchestrationServiceCatchAllActionsVariableOutput added in v3.5.0

type EventOrchestrationServiceCatchAllActionsVariableOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceCatchAllActionsVariableOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsVariableOutput) Name added in v3.5.0

Name of this Webhook.

func (EventOrchestrationServiceCatchAllActionsVariableOutput) Path added in v3.5.0

Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/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](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths).

func (EventOrchestrationServiceCatchAllActionsVariableOutput) ToEventOrchestrationServiceCatchAllActionsVariableOutput added in v3.5.0

func (EventOrchestrationServiceCatchAllActionsVariableOutput) ToEventOrchestrationServiceCatchAllActionsVariableOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceCatchAllActionsVariableOutput) ToEventOrchestrationServiceCatchAllActionsVariableOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllActionsVariableOutput

func (EventOrchestrationServiceCatchAllActionsVariableOutput) Type added in v3.5.0

Only `regex` is supported

func (EventOrchestrationServiceCatchAllActionsVariableOutput) Value added in v3.5.0

Value of this header

type EventOrchestrationServiceCatchAllArgs added in v3.5.0

type EventOrchestrationServiceCatchAllArgs struct {
	// These are the actions that will be taken to change the resulting alert and incident. `catchAll` supports all actions described above for `rule` _except_ `routeTo` action.
	Actions EventOrchestrationServiceCatchAllActionsInput `pulumi:"actions"`
}

func (EventOrchestrationServiceCatchAllArgs) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllArgs) ToEventOrchestrationServiceCatchAllOutput added in v3.5.0

func (i EventOrchestrationServiceCatchAllArgs) ToEventOrchestrationServiceCatchAllOutput() EventOrchestrationServiceCatchAllOutput

func (EventOrchestrationServiceCatchAllArgs) ToEventOrchestrationServiceCatchAllOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceCatchAllArgs) ToEventOrchestrationServiceCatchAllOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllOutput

func (EventOrchestrationServiceCatchAllArgs) ToEventOrchestrationServiceCatchAllPtrOutput added in v3.5.0

func (i EventOrchestrationServiceCatchAllArgs) ToEventOrchestrationServiceCatchAllPtrOutput() EventOrchestrationServiceCatchAllPtrOutput

func (EventOrchestrationServiceCatchAllArgs) ToEventOrchestrationServiceCatchAllPtrOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceCatchAllArgs) ToEventOrchestrationServiceCatchAllPtrOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllPtrOutput

type EventOrchestrationServiceCatchAllInput added in v3.5.0

type EventOrchestrationServiceCatchAllInput interface {
	pulumi.Input

	ToEventOrchestrationServiceCatchAllOutput() EventOrchestrationServiceCatchAllOutput
	ToEventOrchestrationServiceCatchAllOutputWithContext(context.Context) EventOrchestrationServiceCatchAllOutput
}

EventOrchestrationServiceCatchAllInput is an input type that accepts EventOrchestrationServiceCatchAllArgs and EventOrchestrationServiceCatchAllOutput values. You can construct a concrete instance of `EventOrchestrationServiceCatchAllInput` via:

EventOrchestrationServiceCatchAllArgs{...}

type EventOrchestrationServiceCatchAllOutput added in v3.5.0

type EventOrchestrationServiceCatchAllOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceCatchAllOutput) Actions added in v3.5.0

These are the actions that will be taken to change the resulting alert and incident. `catchAll` supports all actions described above for `rule` _except_ `routeTo` action.

func (EventOrchestrationServiceCatchAllOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllOutput) ToEventOrchestrationServiceCatchAllOutput added in v3.5.0

func (o EventOrchestrationServiceCatchAllOutput) ToEventOrchestrationServiceCatchAllOutput() EventOrchestrationServiceCatchAllOutput

func (EventOrchestrationServiceCatchAllOutput) ToEventOrchestrationServiceCatchAllOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceCatchAllOutput) ToEventOrchestrationServiceCatchAllOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllOutput

func (EventOrchestrationServiceCatchAllOutput) ToEventOrchestrationServiceCatchAllPtrOutput added in v3.5.0

func (o EventOrchestrationServiceCatchAllOutput) ToEventOrchestrationServiceCatchAllPtrOutput() EventOrchestrationServiceCatchAllPtrOutput

func (EventOrchestrationServiceCatchAllOutput) ToEventOrchestrationServiceCatchAllPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceCatchAllOutput) ToEventOrchestrationServiceCatchAllPtrOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllPtrOutput

type EventOrchestrationServiceCatchAllPtrInput added in v3.5.0

type EventOrchestrationServiceCatchAllPtrInput interface {
	pulumi.Input

	ToEventOrchestrationServiceCatchAllPtrOutput() EventOrchestrationServiceCatchAllPtrOutput
	ToEventOrchestrationServiceCatchAllPtrOutputWithContext(context.Context) EventOrchestrationServiceCatchAllPtrOutput
}

EventOrchestrationServiceCatchAllPtrInput is an input type that accepts EventOrchestrationServiceCatchAllArgs, EventOrchestrationServiceCatchAllPtr and EventOrchestrationServiceCatchAllPtrOutput values. You can construct a concrete instance of `EventOrchestrationServiceCatchAllPtrInput` via:

        EventOrchestrationServiceCatchAllArgs{...}

or:

        nil

type EventOrchestrationServiceCatchAllPtrOutput added in v3.5.0

type EventOrchestrationServiceCatchAllPtrOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceCatchAllPtrOutput) Actions added in v3.5.0

These are the actions that will be taken to change the resulting alert and incident. `catchAll` supports all actions described above for `rule` _except_ `routeTo` action.

func (EventOrchestrationServiceCatchAllPtrOutput) Elem added in v3.5.0

func (EventOrchestrationServiceCatchAllPtrOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceCatchAllPtrOutput) ToEventOrchestrationServiceCatchAllPtrOutput added in v3.5.0

func (o EventOrchestrationServiceCatchAllPtrOutput) ToEventOrchestrationServiceCatchAllPtrOutput() EventOrchestrationServiceCatchAllPtrOutput

func (EventOrchestrationServiceCatchAllPtrOutput) ToEventOrchestrationServiceCatchAllPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceCatchAllPtrOutput) ToEventOrchestrationServiceCatchAllPtrOutputWithContext(ctx context.Context) EventOrchestrationServiceCatchAllPtrOutput

type EventOrchestrationServiceInput added in v3.5.0

type EventOrchestrationServiceInput interface {
	pulumi.Input

	ToEventOrchestrationServiceOutput() EventOrchestrationServiceOutput
	ToEventOrchestrationServiceOutputWithContext(ctx context.Context) EventOrchestrationServiceOutput
}

type EventOrchestrationServiceMap added in v3.5.0

type EventOrchestrationServiceMap map[string]EventOrchestrationServiceInput

func (EventOrchestrationServiceMap) ElementType added in v3.5.0

func (EventOrchestrationServiceMap) ToEventOrchestrationServiceMapOutput added in v3.5.0

func (i EventOrchestrationServiceMap) ToEventOrchestrationServiceMapOutput() EventOrchestrationServiceMapOutput

func (EventOrchestrationServiceMap) ToEventOrchestrationServiceMapOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceMap) ToEventOrchestrationServiceMapOutputWithContext(ctx context.Context) EventOrchestrationServiceMapOutput

type EventOrchestrationServiceMapInput added in v3.5.0

type EventOrchestrationServiceMapInput interface {
	pulumi.Input

	ToEventOrchestrationServiceMapOutput() EventOrchestrationServiceMapOutput
	ToEventOrchestrationServiceMapOutputWithContext(context.Context) EventOrchestrationServiceMapOutput
}

EventOrchestrationServiceMapInput is an input type that accepts EventOrchestrationServiceMap and EventOrchestrationServiceMapOutput values. You can construct a concrete instance of `EventOrchestrationServiceMapInput` via:

EventOrchestrationServiceMap{ "key": EventOrchestrationServiceArgs{...} }

type EventOrchestrationServiceMapOutput added in v3.5.0

type EventOrchestrationServiceMapOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceMapOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceMapOutput) MapIndex added in v3.5.0

func (EventOrchestrationServiceMapOutput) ToEventOrchestrationServiceMapOutput added in v3.5.0

func (o EventOrchestrationServiceMapOutput) ToEventOrchestrationServiceMapOutput() EventOrchestrationServiceMapOutput

func (EventOrchestrationServiceMapOutput) ToEventOrchestrationServiceMapOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceMapOutput) ToEventOrchestrationServiceMapOutputWithContext(ctx context.Context) EventOrchestrationServiceMapOutput

type EventOrchestrationServiceOutput added in v3.5.0

type EventOrchestrationServiceOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceOutput) CatchAll added in v3.5.1

the `catchAll` actions will be applied if an Event reaches the end of any set without matching any rules in that set.

func (EventOrchestrationServiceOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceOutput) EnableEventOrchestrationForService added in v3.9.0

func (o EventOrchestrationServiceOutput) EnableEventOrchestrationForService() pulumi.BoolPtrOutput

Opt-in/out for switching the Service to [Service Orchestrations](https://support.pagerduty.com/docs/event-orchestration#service-orchestrations).

func (EventOrchestrationServiceOutput) Service added in v3.5.1

ID of the Service to which this Service Orchestration belongs to.

func (EventOrchestrationServiceOutput) Sets added in v3.5.1

A Service 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.

func (EventOrchestrationServiceOutput) ToEventOrchestrationServiceOutput added in v3.5.0

func (o EventOrchestrationServiceOutput) ToEventOrchestrationServiceOutput() EventOrchestrationServiceOutput

func (EventOrchestrationServiceOutput) ToEventOrchestrationServiceOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceOutput) ToEventOrchestrationServiceOutputWithContext(ctx context.Context) EventOrchestrationServiceOutput

type EventOrchestrationServiceSet added in v3.5.0

type EventOrchestrationServiceSet struct {
	// The ID of this set of rules. Rules in other sets can route events into this set using the rule's `routeTo` property.
	Id    string                             `pulumi:"id"`
	Rules []EventOrchestrationServiceSetRule `pulumi:"rules"`
}

type EventOrchestrationServiceSetArgs added in v3.5.0

type EventOrchestrationServiceSetArgs struct {
	// The ID of this set of rules. Rules in other sets can route events into this set using the rule's `routeTo` property.
	Id    pulumi.StringInput                         `pulumi:"id"`
	Rules EventOrchestrationServiceSetRuleArrayInput `pulumi:"rules"`
}

func (EventOrchestrationServiceSetArgs) ElementType added in v3.5.0

func (EventOrchestrationServiceSetArgs) ToEventOrchestrationServiceSetOutput added in v3.5.0

func (i EventOrchestrationServiceSetArgs) ToEventOrchestrationServiceSetOutput() EventOrchestrationServiceSetOutput

func (EventOrchestrationServiceSetArgs) ToEventOrchestrationServiceSetOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetArgs) ToEventOrchestrationServiceSetOutputWithContext(ctx context.Context) EventOrchestrationServiceSetOutput

type EventOrchestrationServiceSetArray added in v3.5.0

type EventOrchestrationServiceSetArray []EventOrchestrationServiceSetInput

func (EventOrchestrationServiceSetArray) ElementType added in v3.5.0

func (EventOrchestrationServiceSetArray) ToEventOrchestrationServiceSetArrayOutput added in v3.5.0

func (i EventOrchestrationServiceSetArray) ToEventOrchestrationServiceSetArrayOutput() EventOrchestrationServiceSetArrayOutput

func (EventOrchestrationServiceSetArray) ToEventOrchestrationServiceSetArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetArray) ToEventOrchestrationServiceSetArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceSetArrayOutput

type EventOrchestrationServiceSetArrayInput added in v3.5.0

type EventOrchestrationServiceSetArrayInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetArrayOutput() EventOrchestrationServiceSetArrayOutput
	ToEventOrchestrationServiceSetArrayOutputWithContext(context.Context) EventOrchestrationServiceSetArrayOutput
}

EventOrchestrationServiceSetArrayInput is an input type that accepts EventOrchestrationServiceSetArray and EventOrchestrationServiceSetArrayOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetArrayInput` via:

EventOrchestrationServiceSetArray{ EventOrchestrationServiceSetArgs{...} }

type EventOrchestrationServiceSetArrayOutput added in v3.5.0

type EventOrchestrationServiceSetArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetArrayOutput) Index added in v3.5.0

func (EventOrchestrationServiceSetArrayOutput) ToEventOrchestrationServiceSetArrayOutput added in v3.5.0

func (o EventOrchestrationServiceSetArrayOutput) ToEventOrchestrationServiceSetArrayOutput() EventOrchestrationServiceSetArrayOutput

func (EventOrchestrationServiceSetArrayOutput) ToEventOrchestrationServiceSetArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceSetArrayOutput) ToEventOrchestrationServiceSetArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceSetArrayOutput

type EventOrchestrationServiceSetInput added in v3.5.0

type EventOrchestrationServiceSetInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetOutput() EventOrchestrationServiceSetOutput
	ToEventOrchestrationServiceSetOutputWithContext(context.Context) EventOrchestrationServiceSetOutput
}

EventOrchestrationServiceSetInput is an input type that accepts EventOrchestrationServiceSetArgs and EventOrchestrationServiceSetOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetInput` via:

EventOrchestrationServiceSetArgs{...}

type EventOrchestrationServiceSetOutput added in v3.5.0

type EventOrchestrationServiceSetOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetOutput) Id added in v3.5.0

The ID of this set of rules. Rules in other sets can route events into this set using the rule's `routeTo` property.

func (EventOrchestrationServiceSetOutput) Rules added in v3.5.0

func (EventOrchestrationServiceSetOutput) ToEventOrchestrationServiceSetOutput added in v3.5.0

func (o EventOrchestrationServiceSetOutput) ToEventOrchestrationServiceSetOutput() EventOrchestrationServiceSetOutput

func (EventOrchestrationServiceSetOutput) ToEventOrchestrationServiceSetOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceSetOutput) ToEventOrchestrationServiceSetOutputWithContext(ctx context.Context) EventOrchestrationServiceSetOutput

type EventOrchestrationServiceSetRule added in v3.5.0

type EventOrchestrationServiceSetRule struct {
	// Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
	Actions EventOrchestrationServiceSetRuleActions `pulumi:"actions"`
	// 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.
	Conditions []EventOrchestrationServiceSetRuleCondition `pulumi:"conditions"`
	// Indicates whether the rule is disabled and would therefore not be evaluated.
	Disabled *bool `pulumi:"disabled"`
	// The ID of this set of rules. Rules in other sets can route events into this set using the rule's `routeTo` property.
	Id *string `pulumi:"id"`
	// A description of this rule's purpose.
	Label *string `pulumi:"label"`
}

type EventOrchestrationServiceSetRuleActions added in v3.5.0

type EventOrchestrationServiceSetRuleActions struct {
	// Add this text as a note on the resulting incident.
	Annotate *string `pulumi:"annotate"`
	// Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) associated with the resulting incident.
	AutomationAction *EventOrchestrationServiceSetRuleActionsAutomationAction `pulumi:"automationAction"`
	// sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`
	EventAction *string `pulumi:"eventAction"`
	// Replace any CEF field or Custom Details object field using custom variables.
	Extractions []EventOrchestrationServiceSetRuleActionsExtraction `pulumi:"extractions"`
	// Configure a [Process Automation](https://support.pagerduty.com/docs/event-orchestration#process-automation) associated with the resulting incident.
	PagerdutyAutomationAction *EventOrchestrationServiceSetRuleActionsPagerdutyAutomationAction `pulumi:"pagerdutyAutomationAction"`
	// The ID of the priority you want to set on resulting incident. Consider using the `getPriority` data source.
	Priority *string `pulumi:"priority"`
	// The ID of a Set from this Service Orchestration whose rules you also want to use with events that match this rule.
	RouteTo *string `pulumi:"routeTo"`
	// sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`
	Severity *string `pulumi:"severity"`
	// Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
	Suppress *bool `pulumi:"suppress"`
	// 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.
	Suspend *int `pulumi:"suspend"`
	// Populate variables from event payloads and use those variables in other event actions.
	Variables []EventOrchestrationServiceSetRuleActionsVariable `pulumi:"variables"`
}

type EventOrchestrationServiceSetRuleActionsArgs added in v3.5.0

type EventOrchestrationServiceSetRuleActionsArgs struct {
	// Add this text as a note on the resulting incident.
	Annotate pulumi.StringPtrInput `pulumi:"annotate"`
	// Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) associated with the resulting incident.
	AutomationAction EventOrchestrationServiceSetRuleActionsAutomationActionPtrInput `pulumi:"automationAction"`
	// sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`
	EventAction pulumi.StringPtrInput `pulumi:"eventAction"`
	// Replace any CEF field or Custom Details object field using custom variables.
	Extractions EventOrchestrationServiceSetRuleActionsExtractionArrayInput `pulumi:"extractions"`
	// Configure a [Process Automation](https://support.pagerduty.com/docs/event-orchestration#process-automation) associated with the resulting incident.
	PagerdutyAutomationAction EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrInput `pulumi:"pagerdutyAutomationAction"`
	// The ID of the priority you want to set on resulting incident. Consider using the `getPriority` data source.
	Priority pulumi.StringPtrInput `pulumi:"priority"`
	// The ID of a Set from this Service Orchestration whose rules you also want to use with events that match this rule.
	RouteTo pulumi.StringPtrInput `pulumi:"routeTo"`
	// sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`
	Severity pulumi.StringPtrInput `pulumi:"severity"`
	// Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
	Suppress pulumi.BoolPtrInput `pulumi:"suppress"`
	// 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.
	Suspend pulumi.IntPtrInput `pulumi:"suspend"`
	// Populate variables from event payloads and use those variables in other event actions.
	Variables EventOrchestrationServiceSetRuleActionsVariableArrayInput `pulumi:"variables"`
}

func (EventOrchestrationServiceSetRuleActionsArgs) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsArgs) ToEventOrchestrationServiceSetRuleActionsOutput added in v3.5.0

func (i EventOrchestrationServiceSetRuleActionsArgs) ToEventOrchestrationServiceSetRuleActionsOutput() EventOrchestrationServiceSetRuleActionsOutput

func (EventOrchestrationServiceSetRuleActionsArgs) ToEventOrchestrationServiceSetRuleActionsOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetRuleActionsArgs) ToEventOrchestrationServiceSetRuleActionsOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsOutput

type EventOrchestrationServiceSetRuleActionsAutomationAction added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationAction struct {
	// 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.
	AutoSend *bool `pulumi:"autoSend"`
	// Specify custom key/value pairs that'll be sent with the webhook request as request headers.
	Headers []EventOrchestrationServiceSetRuleActionsAutomationActionHeader `pulumi:"headers"`
	// Name of this Webhook.
	Name string `pulumi:"name"`
	// Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
	Parameters []EventOrchestrationServiceSetRuleActionsAutomationActionParameter `pulumi:"parameters"`
	// The API endpoint where PagerDuty's servers will send the webhook request.
	Url string `pulumi:"url"`
}

type EventOrchestrationServiceSetRuleActionsAutomationActionArgs added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionArgs struct {
	// 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.
	AutoSend pulumi.BoolPtrInput `pulumi:"autoSend"`
	// Specify custom key/value pairs that'll be sent with the webhook request as request headers.
	Headers EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayInput `pulumi:"headers"`
	// Name of this Webhook.
	Name pulumi.StringInput `pulumi:"name"`
	// Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
	Parameters EventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayInput `pulumi:"parameters"`
	// The API endpoint where PagerDuty's servers will send the webhook request.
	Url pulumi.StringInput `pulumi:"url"`
}

func (EventOrchestrationServiceSetRuleActionsAutomationActionArgs) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionArgs) ToEventOrchestrationServiceSetRuleActionsAutomationActionOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionArgs) ToEventOrchestrationServiceSetRuleActionsAutomationActionOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetRuleActionsAutomationActionArgs) ToEventOrchestrationServiceSetRuleActionsAutomationActionOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsAutomationActionOutput

func (EventOrchestrationServiceSetRuleActionsAutomationActionArgs) ToEventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionArgs) ToEventOrchestrationServiceSetRuleActionsAutomationActionPtrOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetRuleActionsAutomationActionArgs) ToEventOrchestrationServiceSetRuleActionsAutomationActionPtrOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput

type EventOrchestrationServiceSetRuleActionsAutomationActionHeader added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionHeader struct {
	// Name to identify the header
	Key string `pulumi:"key"`
	// Value of this header
	Value string `pulumi:"value"`
}

type EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArgs added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArgs struct {
	// Name to identify the header
	Key pulumi.StringInput `pulumi:"key"`
	// Value of this header
	Value pulumi.StringInput `pulumi:"value"`
}

func (EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArgs) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArgs) ToEventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArgs) ToEventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArgs) ToEventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutput

type EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArray added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArray []EventOrchestrationServiceSetRuleActionsAutomationActionHeaderInput

func (EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArray) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArray) ToEventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArray) ToEventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArray) ToEventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayOutput

type EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayInput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayOutput() EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayOutput
	ToEventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayOutputWithContext(context.Context) EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayOutput
}

EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayInput is an input type that accepts EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArray and EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayInput` via:

EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArray{ EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArgs{...} }

type EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayOutput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayOutput) Index added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionHeaderArrayOutputWithContext added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionHeaderInput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionHeaderInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutput() EventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutput
	ToEventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutputWithContext(context.Context) EventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutput
}

EventOrchestrationServiceSetRuleActionsAutomationActionHeaderInput is an input type that accepts EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArgs and EventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetRuleActionsAutomationActionHeaderInput` via:

EventOrchestrationServiceSetRuleActionsAutomationActionHeaderArgs{...}

type EventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutput) Key added in v3.5.0

Name to identify the header

func (EventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutput

func (EventOrchestrationServiceSetRuleActionsAutomationActionHeaderOutput) Value added in v3.5.0

Value of this header

type EventOrchestrationServiceSetRuleActionsAutomationActionInput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetRuleActionsAutomationActionOutput() EventOrchestrationServiceSetRuleActionsAutomationActionOutput
	ToEventOrchestrationServiceSetRuleActionsAutomationActionOutputWithContext(context.Context) EventOrchestrationServiceSetRuleActionsAutomationActionOutput
}

EventOrchestrationServiceSetRuleActionsAutomationActionInput is an input type that accepts EventOrchestrationServiceSetRuleActionsAutomationActionArgs and EventOrchestrationServiceSetRuleActionsAutomationActionOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetRuleActionsAutomationActionInput` via:

EventOrchestrationServiceSetRuleActionsAutomationActionArgs{...}

type EventOrchestrationServiceSetRuleActionsAutomationActionOutput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetRuleActionsAutomationActionOutput) AutoSend added in v3.5.0

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.

func (EventOrchestrationServiceSetRuleActionsAutomationActionOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionOutput) Headers added in v3.5.0

Specify custom key/value pairs that'll be sent with the webhook request as request headers.

func (EventOrchestrationServiceSetRuleActionsAutomationActionOutput) Name added in v3.5.0

Name of this Webhook.

func (EventOrchestrationServiceSetRuleActionsAutomationActionOutput) Parameters added in v3.5.0

Specify custom key/value pairs that'll be included in the webhook request's JSON payload.

func (EventOrchestrationServiceSetRuleActionsAutomationActionOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceSetRuleActionsAutomationActionOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsAutomationActionOutput

func (EventOrchestrationServiceSetRuleActionsAutomationActionOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceSetRuleActionsAutomationActionOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionPtrOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput

func (EventOrchestrationServiceSetRuleActionsAutomationActionOutput) Url added in v3.5.0

The API endpoint where PagerDuty's servers will send the webhook request.

type EventOrchestrationServiceSetRuleActionsAutomationActionParameter added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionParameter struct {
	// Name to identify the header
	Key string `pulumi:"key"`
	// Value of this header
	Value string `pulumi:"value"`
}

type EventOrchestrationServiceSetRuleActionsAutomationActionParameterArgs added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionParameterArgs struct {
	// Name to identify the header
	Key pulumi.StringInput `pulumi:"key"`
	// Value of this header
	Value pulumi.StringInput `pulumi:"value"`
}

func (EventOrchestrationServiceSetRuleActionsAutomationActionParameterArgs) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionParameterArgs) ToEventOrchestrationServiceSetRuleActionsAutomationActionParameterOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionParameterArgs) ToEventOrchestrationServiceSetRuleActionsAutomationActionParameterOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetRuleActionsAutomationActionParameterArgs) ToEventOrchestrationServiceSetRuleActionsAutomationActionParameterOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsAutomationActionParameterOutput

type EventOrchestrationServiceSetRuleActionsAutomationActionParameterArray added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionParameterArray []EventOrchestrationServiceSetRuleActionsAutomationActionParameterInput

func (EventOrchestrationServiceSetRuleActionsAutomationActionParameterArray) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionParameterArray) ToEventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionParameterArray) ToEventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetRuleActionsAutomationActionParameterArray) ToEventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayOutput

type EventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayInput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayOutput() EventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayOutput
	ToEventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayOutputWithContext(context.Context) EventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayOutput
}

EventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayInput is an input type that accepts EventOrchestrationServiceSetRuleActionsAutomationActionParameterArray and EventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayInput` via:

EventOrchestrationServiceSetRuleActionsAutomationActionParameterArray{ EventOrchestrationServiceSetRuleActionsAutomationActionParameterArgs{...} }

type EventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayOutput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayOutput) Index added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionParameterArrayOutputWithContext added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionParameterInput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionParameterInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetRuleActionsAutomationActionParameterOutput() EventOrchestrationServiceSetRuleActionsAutomationActionParameterOutput
	ToEventOrchestrationServiceSetRuleActionsAutomationActionParameterOutputWithContext(context.Context) EventOrchestrationServiceSetRuleActionsAutomationActionParameterOutput
}

EventOrchestrationServiceSetRuleActionsAutomationActionParameterInput is an input type that accepts EventOrchestrationServiceSetRuleActionsAutomationActionParameterArgs and EventOrchestrationServiceSetRuleActionsAutomationActionParameterOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetRuleActionsAutomationActionParameterInput` via:

EventOrchestrationServiceSetRuleActionsAutomationActionParameterArgs{...}

type EventOrchestrationServiceSetRuleActionsAutomationActionParameterOutput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionParameterOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetRuleActionsAutomationActionParameterOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionParameterOutput) Key added in v3.5.0

Name to identify the header

func (EventOrchestrationServiceSetRuleActionsAutomationActionParameterOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionParameterOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionParameterOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionParameterOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceSetRuleActionsAutomationActionParameterOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionParameterOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsAutomationActionParameterOutput

func (EventOrchestrationServiceSetRuleActionsAutomationActionParameterOutput) Value added in v3.5.0

Value of this header

type EventOrchestrationServiceSetRuleActionsAutomationActionPtrInput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionPtrInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput() EventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput
	ToEventOrchestrationServiceSetRuleActionsAutomationActionPtrOutputWithContext(context.Context) EventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput
}

EventOrchestrationServiceSetRuleActionsAutomationActionPtrInput is an input type that accepts EventOrchestrationServiceSetRuleActionsAutomationActionArgs, EventOrchestrationServiceSetRuleActionsAutomationActionPtr and EventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetRuleActionsAutomationActionPtrInput` via:

        EventOrchestrationServiceSetRuleActionsAutomationActionArgs{...}

or:

        nil

type EventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput) AutoSend added in v3.5.0

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.

func (EventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput) Elem added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput) Headers added in v3.5.0

Specify custom key/value pairs that'll be sent with the webhook request as request headers.

func (EventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput) Name added in v3.5.0

Name of this Webhook.

func (EventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput) Parameters added in v3.5.0

Specify custom key/value pairs that'll be included in the webhook request's JSON payload.

func (EventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput) ToEventOrchestrationServiceSetRuleActionsAutomationActionPtrOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput

func (EventOrchestrationServiceSetRuleActionsAutomationActionPtrOutput) Url added in v3.5.0

The API endpoint where PagerDuty's servers will send the webhook request.

type EventOrchestrationServiceSetRuleActionsExtraction added in v3.5.0

type EventOrchestrationServiceSetRuleActionsExtraction struct {
	// A [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) 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.
	Regex *string `pulumi:"regex"`
	// The path to the event field where the `regex` will be applied to extract a value. You can use any valid [PCL path](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths) 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.
	Source *string `pulumi:"source"`
	// The PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/pd-cef) field that will be set with the value from the `template` or based on `regex` and `source` fields.
	Target string `pulumi:"target"`
	// 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}}`
	Template *string `pulumi:"template"`
}

type EventOrchestrationServiceSetRuleActionsExtractionArgs added in v3.5.0

type EventOrchestrationServiceSetRuleActionsExtractionArgs struct {
	// A [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) 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.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
	// The path to the event field where the `regex` will be applied to extract a value. You can use any valid [PCL path](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths) 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.
	Source pulumi.StringPtrInput `pulumi:"source"`
	// The PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/pd-cef) field that will be set with the value from the `template` or based on `regex` and `source` fields.
	Target pulumi.StringInput `pulumi:"target"`
	// 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}}`
	Template pulumi.StringPtrInput `pulumi:"template"`
}

func (EventOrchestrationServiceSetRuleActionsExtractionArgs) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsExtractionArgs) ToEventOrchestrationServiceSetRuleActionsExtractionOutput added in v3.5.0

func (i EventOrchestrationServiceSetRuleActionsExtractionArgs) ToEventOrchestrationServiceSetRuleActionsExtractionOutput() EventOrchestrationServiceSetRuleActionsExtractionOutput

func (EventOrchestrationServiceSetRuleActionsExtractionArgs) ToEventOrchestrationServiceSetRuleActionsExtractionOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetRuleActionsExtractionArgs) ToEventOrchestrationServiceSetRuleActionsExtractionOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsExtractionOutput

type EventOrchestrationServiceSetRuleActionsExtractionArray added in v3.5.0

type EventOrchestrationServiceSetRuleActionsExtractionArray []EventOrchestrationServiceSetRuleActionsExtractionInput

func (EventOrchestrationServiceSetRuleActionsExtractionArray) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsExtractionArray) ToEventOrchestrationServiceSetRuleActionsExtractionArrayOutput added in v3.5.0

func (i EventOrchestrationServiceSetRuleActionsExtractionArray) ToEventOrchestrationServiceSetRuleActionsExtractionArrayOutput() EventOrchestrationServiceSetRuleActionsExtractionArrayOutput

func (EventOrchestrationServiceSetRuleActionsExtractionArray) ToEventOrchestrationServiceSetRuleActionsExtractionArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetRuleActionsExtractionArray) ToEventOrchestrationServiceSetRuleActionsExtractionArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsExtractionArrayOutput

type EventOrchestrationServiceSetRuleActionsExtractionArrayInput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsExtractionArrayInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetRuleActionsExtractionArrayOutput() EventOrchestrationServiceSetRuleActionsExtractionArrayOutput
	ToEventOrchestrationServiceSetRuleActionsExtractionArrayOutputWithContext(context.Context) EventOrchestrationServiceSetRuleActionsExtractionArrayOutput
}

EventOrchestrationServiceSetRuleActionsExtractionArrayInput is an input type that accepts EventOrchestrationServiceSetRuleActionsExtractionArray and EventOrchestrationServiceSetRuleActionsExtractionArrayOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetRuleActionsExtractionArrayInput` via:

EventOrchestrationServiceSetRuleActionsExtractionArray{ EventOrchestrationServiceSetRuleActionsExtractionArgs{...} }

type EventOrchestrationServiceSetRuleActionsExtractionArrayOutput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsExtractionArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetRuleActionsExtractionArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsExtractionArrayOutput) Index added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsExtractionArrayOutput) ToEventOrchestrationServiceSetRuleActionsExtractionArrayOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsExtractionArrayOutput) ToEventOrchestrationServiceSetRuleActionsExtractionArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceSetRuleActionsExtractionArrayOutput) ToEventOrchestrationServiceSetRuleActionsExtractionArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsExtractionArrayOutput

type EventOrchestrationServiceSetRuleActionsExtractionInput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsExtractionInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetRuleActionsExtractionOutput() EventOrchestrationServiceSetRuleActionsExtractionOutput
	ToEventOrchestrationServiceSetRuleActionsExtractionOutputWithContext(context.Context) EventOrchestrationServiceSetRuleActionsExtractionOutput
}

EventOrchestrationServiceSetRuleActionsExtractionInput is an input type that accepts EventOrchestrationServiceSetRuleActionsExtractionArgs and EventOrchestrationServiceSetRuleActionsExtractionOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetRuleActionsExtractionInput` via:

EventOrchestrationServiceSetRuleActionsExtractionArgs{...}

type EventOrchestrationServiceSetRuleActionsExtractionOutput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsExtractionOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetRuleActionsExtractionOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsExtractionOutput) Regex added in v3.5.0

A [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) 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.

func (EventOrchestrationServiceSetRuleActionsExtractionOutput) Source added in v3.5.0

The path to the event field where the `regex` will be applied to extract a value. You can use any valid [PCL path](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths) 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.

func (EventOrchestrationServiceSetRuleActionsExtractionOutput) Target added in v3.5.0

The PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/pd-cef) field that will be set with the value from the `template` or based on `regex` and `source` fields.

func (EventOrchestrationServiceSetRuleActionsExtractionOutput) Template added in v3.5.0

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}}`

func (EventOrchestrationServiceSetRuleActionsExtractionOutput) ToEventOrchestrationServiceSetRuleActionsExtractionOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsExtractionOutput) ToEventOrchestrationServiceSetRuleActionsExtractionOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceSetRuleActionsExtractionOutput) ToEventOrchestrationServiceSetRuleActionsExtractionOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsExtractionOutput

type EventOrchestrationServiceSetRuleActionsInput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetRuleActionsOutput() EventOrchestrationServiceSetRuleActionsOutput
	ToEventOrchestrationServiceSetRuleActionsOutputWithContext(context.Context) EventOrchestrationServiceSetRuleActionsOutput
}

EventOrchestrationServiceSetRuleActionsInput is an input type that accepts EventOrchestrationServiceSetRuleActionsArgs and EventOrchestrationServiceSetRuleActionsOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetRuleActionsInput` via:

EventOrchestrationServiceSetRuleActionsArgs{...}

type EventOrchestrationServiceSetRuleActionsOutput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetRuleActionsOutput) Annotate added in v3.5.0

Add this text as a note on the resulting incident.

func (EventOrchestrationServiceSetRuleActionsOutput) AutomationAction added in v3.5.0

Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) associated with the resulting incident.

func (EventOrchestrationServiceSetRuleActionsOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsOutput) EventAction added in v3.5.0

sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`

func (EventOrchestrationServiceSetRuleActionsOutput) Extractions added in v3.5.0

Replace any CEF field or Custom Details object field using custom variables.

func (EventOrchestrationServiceSetRuleActionsOutput) PagerdutyAutomationAction added in v3.5.0

Configure a [Process Automation](https://support.pagerduty.com/docs/event-orchestration#process-automation) associated with the resulting incident.

func (EventOrchestrationServiceSetRuleActionsOutput) Priority added in v3.5.0

The ID of the priority you want to set on resulting incident. Consider using the `getPriority` data source.

func (EventOrchestrationServiceSetRuleActionsOutput) RouteTo added in v3.5.0

The ID of a Set from this Service Orchestration whose rules you also want to use with events that match this rule.

func (EventOrchestrationServiceSetRuleActionsOutput) Severity added in v3.5.0

sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`

func (EventOrchestrationServiceSetRuleActionsOutput) Suppress added in v3.5.0

Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.

func (EventOrchestrationServiceSetRuleActionsOutput) Suspend added in v3.5.0

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.

func (EventOrchestrationServiceSetRuleActionsOutput) ToEventOrchestrationServiceSetRuleActionsOutput added in v3.5.0

func (o EventOrchestrationServiceSetRuleActionsOutput) ToEventOrchestrationServiceSetRuleActionsOutput() EventOrchestrationServiceSetRuleActionsOutput

func (EventOrchestrationServiceSetRuleActionsOutput) ToEventOrchestrationServiceSetRuleActionsOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceSetRuleActionsOutput) ToEventOrchestrationServiceSetRuleActionsOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsOutput

func (EventOrchestrationServiceSetRuleActionsOutput) Variables added in v3.5.0

Populate variables from event payloads and use those variables in other event actions.

type EventOrchestrationServiceSetRuleActionsPagerdutyAutomationAction added in v3.5.0

type EventOrchestrationServiceSetRuleActionsPagerdutyAutomationAction struct {
	// Id of the Process Automation action to be triggered.
	ActionId string `pulumi:"actionId"`
}

type EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionArgs added in v3.5.0

type EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionArgs struct {
	// Id of the Process Automation action to be triggered.
	ActionId pulumi.StringInput `pulumi:"actionId"`
}

func (EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionArgs) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionArgs) ToEventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionArgs) ToEventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionArgs) ToEventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutput

func (EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionArgs) ToEventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionArgs) ToEventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionArgs) ToEventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutput

type EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionInput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutput() EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutput
	ToEventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutputWithContext(context.Context) EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutput
}

EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionInput is an input type that accepts EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionArgs and EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionInput` via:

EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionArgs{...}

type EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutput) ActionId added in v3.5.0

Id of the Process Automation action to be triggered.

func (EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutput) ToEventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutput) ToEventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutput) ToEventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutput

func (EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutput) ToEventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutput) ToEventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionOutput) ToEventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutput

type EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrInput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutput() EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutput
	ToEventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutputWithContext(context.Context) EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutput
}

EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrInput is an input type that accepts EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionArgs, EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtr and EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrInput` via:

        EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionArgs{...}

or:

        nil

type EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutput) ActionId added in v3.5.0

Id of the Process Automation action to be triggered.

func (EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutput) Elem added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutput) ToEventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutput) ToEventOrchestrationServiceSetRuleActionsPagerdutyAutomationActionPtrOutputWithContext added in v3.5.0

type EventOrchestrationServiceSetRuleActionsVariable added in v3.5.0

type EventOrchestrationServiceSetRuleActionsVariable struct {
	// Name of this Webhook.
	Name string `pulumi:"name"`
	// Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/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](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths).
	Path string `pulumi:"path"`
	// Only `regex` is supported
	Type string `pulumi:"type"`
	// Value of this header
	Value string `pulumi:"value"`
}

type EventOrchestrationServiceSetRuleActionsVariableArgs added in v3.5.0

type EventOrchestrationServiceSetRuleActionsVariableArgs struct {
	// Name of this Webhook.
	Name pulumi.StringInput `pulumi:"name"`
	// Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/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](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths).
	Path pulumi.StringInput `pulumi:"path"`
	// Only `regex` is supported
	Type pulumi.StringInput `pulumi:"type"`
	// Value of this header
	Value pulumi.StringInput `pulumi:"value"`
}

func (EventOrchestrationServiceSetRuleActionsVariableArgs) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsVariableArgs) ToEventOrchestrationServiceSetRuleActionsVariableOutput added in v3.5.0

func (i EventOrchestrationServiceSetRuleActionsVariableArgs) ToEventOrchestrationServiceSetRuleActionsVariableOutput() EventOrchestrationServiceSetRuleActionsVariableOutput

func (EventOrchestrationServiceSetRuleActionsVariableArgs) ToEventOrchestrationServiceSetRuleActionsVariableOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetRuleActionsVariableArgs) ToEventOrchestrationServiceSetRuleActionsVariableOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsVariableOutput

type EventOrchestrationServiceSetRuleActionsVariableArray added in v3.5.0

type EventOrchestrationServiceSetRuleActionsVariableArray []EventOrchestrationServiceSetRuleActionsVariableInput

func (EventOrchestrationServiceSetRuleActionsVariableArray) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsVariableArray) ToEventOrchestrationServiceSetRuleActionsVariableArrayOutput added in v3.5.0

func (i EventOrchestrationServiceSetRuleActionsVariableArray) ToEventOrchestrationServiceSetRuleActionsVariableArrayOutput() EventOrchestrationServiceSetRuleActionsVariableArrayOutput

func (EventOrchestrationServiceSetRuleActionsVariableArray) ToEventOrchestrationServiceSetRuleActionsVariableArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetRuleActionsVariableArray) ToEventOrchestrationServiceSetRuleActionsVariableArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsVariableArrayOutput

type EventOrchestrationServiceSetRuleActionsVariableArrayInput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsVariableArrayInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetRuleActionsVariableArrayOutput() EventOrchestrationServiceSetRuleActionsVariableArrayOutput
	ToEventOrchestrationServiceSetRuleActionsVariableArrayOutputWithContext(context.Context) EventOrchestrationServiceSetRuleActionsVariableArrayOutput
}

EventOrchestrationServiceSetRuleActionsVariableArrayInput is an input type that accepts EventOrchestrationServiceSetRuleActionsVariableArray and EventOrchestrationServiceSetRuleActionsVariableArrayOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetRuleActionsVariableArrayInput` via:

EventOrchestrationServiceSetRuleActionsVariableArray{ EventOrchestrationServiceSetRuleActionsVariableArgs{...} }

type EventOrchestrationServiceSetRuleActionsVariableArrayOutput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsVariableArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetRuleActionsVariableArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsVariableArrayOutput) Index added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsVariableArrayOutput) ToEventOrchestrationServiceSetRuleActionsVariableArrayOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsVariableArrayOutput) ToEventOrchestrationServiceSetRuleActionsVariableArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceSetRuleActionsVariableArrayOutput) ToEventOrchestrationServiceSetRuleActionsVariableArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsVariableArrayOutput

type EventOrchestrationServiceSetRuleActionsVariableInput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsVariableInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetRuleActionsVariableOutput() EventOrchestrationServiceSetRuleActionsVariableOutput
	ToEventOrchestrationServiceSetRuleActionsVariableOutputWithContext(context.Context) EventOrchestrationServiceSetRuleActionsVariableOutput
}

EventOrchestrationServiceSetRuleActionsVariableInput is an input type that accepts EventOrchestrationServiceSetRuleActionsVariableArgs and EventOrchestrationServiceSetRuleActionsVariableOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetRuleActionsVariableInput` via:

EventOrchestrationServiceSetRuleActionsVariableArgs{...}

type EventOrchestrationServiceSetRuleActionsVariableOutput added in v3.5.0

type EventOrchestrationServiceSetRuleActionsVariableOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetRuleActionsVariableOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsVariableOutput) Name added in v3.5.0

Name of this Webhook.

func (EventOrchestrationServiceSetRuleActionsVariableOutput) Path added in v3.5.0

Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/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](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths).

func (EventOrchestrationServiceSetRuleActionsVariableOutput) ToEventOrchestrationServiceSetRuleActionsVariableOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleActionsVariableOutput) ToEventOrchestrationServiceSetRuleActionsVariableOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceSetRuleActionsVariableOutput) ToEventOrchestrationServiceSetRuleActionsVariableOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleActionsVariableOutput

func (EventOrchestrationServiceSetRuleActionsVariableOutput) Type added in v3.5.0

Only `regex` is supported

func (EventOrchestrationServiceSetRuleActionsVariableOutput) Value added in v3.5.0

Value of this header

type EventOrchestrationServiceSetRuleArgs added in v3.5.0

type EventOrchestrationServiceSetRuleArgs struct {
	// Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
	Actions EventOrchestrationServiceSetRuleActionsInput `pulumi:"actions"`
	// 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.
	Conditions EventOrchestrationServiceSetRuleConditionArrayInput `pulumi:"conditions"`
	// Indicates whether the rule is disabled and would therefore not be evaluated.
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// The ID of this set of rules. Rules in other sets can route events into this set using the rule's `routeTo` property.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A description of this rule's purpose.
	Label pulumi.StringPtrInput `pulumi:"label"`
}

func (EventOrchestrationServiceSetRuleArgs) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleArgs) ToEventOrchestrationServiceSetRuleOutput added in v3.5.0

func (i EventOrchestrationServiceSetRuleArgs) ToEventOrchestrationServiceSetRuleOutput() EventOrchestrationServiceSetRuleOutput

func (EventOrchestrationServiceSetRuleArgs) ToEventOrchestrationServiceSetRuleOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetRuleArgs) ToEventOrchestrationServiceSetRuleOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleOutput

type EventOrchestrationServiceSetRuleArray added in v3.5.0

type EventOrchestrationServiceSetRuleArray []EventOrchestrationServiceSetRuleInput

func (EventOrchestrationServiceSetRuleArray) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleArray) ToEventOrchestrationServiceSetRuleArrayOutput added in v3.5.0

func (i EventOrchestrationServiceSetRuleArray) ToEventOrchestrationServiceSetRuleArrayOutput() EventOrchestrationServiceSetRuleArrayOutput

func (EventOrchestrationServiceSetRuleArray) ToEventOrchestrationServiceSetRuleArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetRuleArray) ToEventOrchestrationServiceSetRuleArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleArrayOutput

type EventOrchestrationServiceSetRuleArrayInput added in v3.5.0

type EventOrchestrationServiceSetRuleArrayInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetRuleArrayOutput() EventOrchestrationServiceSetRuleArrayOutput
	ToEventOrchestrationServiceSetRuleArrayOutputWithContext(context.Context) EventOrchestrationServiceSetRuleArrayOutput
}

EventOrchestrationServiceSetRuleArrayInput is an input type that accepts EventOrchestrationServiceSetRuleArray and EventOrchestrationServiceSetRuleArrayOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetRuleArrayInput` via:

EventOrchestrationServiceSetRuleArray{ EventOrchestrationServiceSetRuleArgs{...} }

type EventOrchestrationServiceSetRuleArrayOutput added in v3.5.0

type EventOrchestrationServiceSetRuleArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetRuleArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleArrayOutput) Index added in v3.5.0

func (EventOrchestrationServiceSetRuleArrayOutput) ToEventOrchestrationServiceSetRuleArrayOutput added in v3.5.0

func (o EventOrchestrationServiceSetRuleArrayOutput) ToEventOrchestrationServiceSetRuleArrayOutput() EventOrchestrationServiceSetRuleArrayOutput

func (EventOrchestrationServiceSetRuleArrayOutput) ToEventOrchestrationServiceSetRuleArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceSetRuleArrayOutput) ToEventOrchestrationServiceSetRuleArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleArrayOutput

type EventOrchestrationServiceSetRuleCondition added in v3.5.0

type EventOrchestrationServiceSetRuleCondition struct {
	// A [PCL condition](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview) string.
	Expression string `pulumi:"expression"`
}

type EventOrchestrationServiceSetRuleConditionArgs added in v3.5.0

type EventOrchestrationServiceSetRuleConditionArgs struct {
	// A [PCL condition](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview) string.
	Expression pulumi.StringInput `pulumi:"expression"`
}

func (EventOrchestrationServiceSetRuleConditionArgs) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleConditionArgs) ToEventOrchestrationServiceSetRuleConditionOutput added in v3.5.0

func (i EventOrchestrationServiceSetRuleConditionArgs) ToEventOrchestrationServiceSetRuleConditionOutput() EventOrchestrationServiceSetRuleConditionOutput

func (EventOrchestrationServiceSetRuleConditionArgs) ToEventOrchestrationServiceSetRuleConditionOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetRuleConditionArgs) ToEventOrchestrationServiceSetRuleConditionOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleConditionOutput

type EventOrchestrationServiceSetRuleConditionArray added in v3.5.0

type EventOrchestrationServiceSetRuleConditionArray []EventOrchestrationServiceSetRuleConditionInput

func (EventOrchestrationServiceSetRuleConditionArray) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleConditionArray) ToEventOrchestrationServiceSetRuleConditionArrayOutput added in v3.5.0

func (i EventOrchestrationServiceSetRuleConditionArray) ToEventOrchestrationServiceSetRuleConditionArrayOutput() EventOrchestrationServiceSetRuleConditionArrayOutput

func (EventOrchestrationServiceSetRuleConditionArray) ToEventOrchestrationServiceSetRuleConditionArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationServiceSetRuleConditionArray) ToEventOrchestrationServiceSetRuleConditionArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleConditionArrayOutput

type EventOrchestrationServiceSetRuleConditionArrayInput added in v3.5.0

type EventOrchestrationServiceSetRuleConditionArrayInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetRuleConditionArrayOutput() EventOrchestrationServiceSetRuleConditionArrayOutput
	ToEventOrchestrationServiceSetRuleConditionArrayOutputWithContext(context.Context) EventOrchestrationServiceSetRuleConditionArrayOutput
}

EventOrchestrationServiceSetRuleConditionArrayInput is an input type that accepts EventOrchestrationServiceSetRuleConditionArray and EventOrchestrationServiceSetRuleConditionArrayOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetRuleConditionArrayInput` via:

EventOrchestrationServiceSetRuleConditionArray{ EventOrchestrationServiceSetRuleConditionArgs{...} }

type EventOrchestrationServiceSetRuleConditionArrayOutput added in v3.5.0

type EventOrchestrationServiceSetRuleConditionArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetRuleConditionArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleConditionArrayOutput) Index added in v3.5.0

func (EventOrchestrationServiceSetRuleConditionArrayOutput) ToEventOrchestrationServiceSetRuleConditionArrayOutput added in v3.5.0

func (EventOrchestrationServiceSetRuleConditionArrayOutput) ToEventOrchestrationServiceSetRuleConditionArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceSetRuleConditionArrayOutput) ToEventOrchestrationServiceSetRuleConditionArrayOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleConditionArrayOutput

type EventOrchestrationServiceSetRuleConditionInput added in v3.5.0

type EventOrchestrationServiceSetRuleConditionInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetRuleConditionOutput() EventOrchestrationServiceSetRuleConditionOutput
	ToEventOrchestrationServiceSetRuleConditionOutputWithContext(context.Context) EventOrchestrationServiceSetRuleConditionOutput
}

EventOrchestrationServiceSetRuleConditionInput is an input type that accepts EventOrchestrationServiceSetRuleConditionArgs and EventOrchestrationServiceSetRuleConditionOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetRuleConditionInput` via:

EventOrchestrationServiceSetRuleConditionArgs{...}

type EventOrchestrationServiceSetRuleConditionOutput added in v3.5.0

type EventOrchestrationServiceSetRuleConditionOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetRuleConditionOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleConditionOutput) Expression added in v3.5.0

A [PCL condition](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview) string.

func (EventOrchestrationServiceSetRuleConditionOutput) ToEventOrchestrationServiceSetRuleConditionOutput added in v3.5.0

func (o EventOrchestrationServiceSetRuleConditionOutput) ToEventOrchestrationServiceSetRuleConditionOutput() EventOrchestrationServiceSetRuleConditionOutput

func (EventOrchestrationServiceSetRuleConditionOutput) ToEventOrchestrationServiceSetRuleConditionOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceSetRuleConditionOutput) ToEventOrchestrationServiceSetRuleConditionOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleConditionOutput

type EventOrchestrationServiceSetRuleInput added in v3.5.0

type EventOrchestrationServiceSetRuleInput interface {
	pulumi.Input

	ToEventOrchestrationServiceSetRuleOutput() EventOrchestrationServiceSetRuleOutput
	ToEventOrchestrationServiceSetRuleOutputWithContext(context.Context) EventOrchestrationServiceSetRuleOutput
}

EventOrchestrationServiceSetRuleInput is an input type that accepts EventOrchestrationServiceSetRuleArgs and EventOrchestrationServiceSetRuleOutput values. You can construct a concrete instance of `EventOrchestrationServiceSetRuleInput` via:

EventOrchestrationServiceSetRuleArgs{...}

type EventOrchestrationServiceSetRuleOutput added in v3.5.0

type EventOrchestrationServiceSetRuleOutput struct{ *pulumi.OutputState }

func (EventOrchestrationServiceSetRuleOutput) Actions added in v3.5.0

Actions that will be taken to change the resulting alert and incident, when an event matches this rule.

func (EventOrchestrationServiceSetRuleOutput) Conditions added in v3.5.0

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.

func (EventOrchestrationServiceSetRuleOutput) Disabled added in v3.5.0

Indicates whether the rule is disabled and would therefore not be evaluated.

func (EventOrchestrationServiceSetRuleOutput) ElementType added in v3.5.0

func (EventOrchestrationServiceSetRuleOutput) Id added in v3.5.0

The ID of this set of rules. Rules in other sets can route events into this set using the rule's `routeTo` property.

func (EventOrchestrationServiceSetRuleOutput) Label added in v3.5.0

A description of this rule's purpose.

func (EventOrchestrationServiceSetRuleOutput) ToEventOrchestrationServiceSetRuleOutput added in v3.5.0

func (o EventOrchestrationServiceSetRuleOutput) ToEventOrchestrationServiceSetRuleOutput() EventOrchestrationServiceSetRuleOutput

func (EventOrchestrationServiceSetRuleOutput) ToEventOrchestrationServiceSetRuleOutputWithContext added in v3.5.0

func (o EventOrchestrationServiceSetRuleOutput) ToEventOrchestrationServiceSetRuleOutputWithContext(ctx context.Context) EventOrchestrationServiceSetRuleOutput

type EventOrchestrationServiceState added in v3.5.0

type EventOrchestrationServiceState struct {
	// the `catchAll` actions will be applied if an Event reaches the end of any set without matching any rules in that set.
	CatchAll EventOrchestrationServiceCatchAllPtrInput
	// Opt-in/out for switching the Service to [Service Orchestrations](https://support.pagerduty.com/docs/event-orchestration#service-orchestrations).
	EnableEventOrchestrationForService pulumi.BoolPtrInput
	// ID of the Service to which this Service Orchestration belongs to.
	Service pulumi.StringPtrInput
	// A Service 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.
	Sets EventOrchestrationServiceSetArrayInput
}

func (EventOrchestrationServiceState) ElementType added in v3.5.0

type EventOrchestrationState added in v3.5.0

type EventOrchestrationState struct {
	// A human-friendly description of the Event Orchestration.
	Description pulumi.StringPtrInput
	// An integration for the Event Orchestration.
	Integrations EventOrchestrationIntegrationTypeArrayInput
	// Name of the Event Orchestration.
	Name   pulumi.StringPtrInput
	Routes pulumi.IntPtrInput
	// ID of the team that owns the Event Orchestration. If none is specified, only admins have access.
	Team pulumi.StringPtrInput
}

func (EventOrchestrationState) ElementType added in v3.5.0

func (EventOrchestrationState) ElementType() reflect.Type

type EventOrchestrationUnrouted added in v3.5.0

type EventOrchestrationUnrouted struct {
	pulumi.CustomResourceState

	// the `catchAll` actions will be applied if an Event reaches the end of any set without matching any rules in that set.
	CatchAll EventOrchestrationUnroutedCatchAllOutput `pulumi:"catchAll"`
	// The Event Orchestration to which this Unrouted Orchestration belongs to.
	EventOrchestration pulumi.StringOutput `pulumi:"eventOrchestration"`
	// An Unrouted 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.
	Sets EventOrchestrationUnroutedSetArrayOutput `pulumi:"sets"`
}

An Unrouted Orchestration allows users to create a set of Event Rules that will be evaluated against all events that don't match any rules in the Orchestration's Router.

The Unrouted 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 Unrouted Orchestration for further processing.

## Example of configuring Unrouted Rules for an Orchestration

In this example of an Unrouted Orchestration, the rule matches only if the condition is matched. Alerts created for events that do not match the rule will have severity level set to `info` as defined in `catchAll` block.

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewEventOrchestrationUnrouted(ctx, "unrouted", &pagerduty.EventOrchestrationUnroutedArgs{
			EventOrchestration: pulumi.Any(pagerduty_event_orchestration.My_monitor.Id),
			Sets: pagerduty.EventOrchestrationUnroutedSetArray{
				&pagerduty.EventOrchestrationUnroutedSetArgs{
					Id: pulumi.String("start"),
					Rules: pagerduty.EventOrchestrationUnroutedSetRuleArray{
						&pagerduty.EventOrchestrationUnroutedSetRuleArgs{
							Label: pulumi.String("Update the summary of un-matched Critical alerts so they're easier to spot"),
							Conditions: pagerduty.EventOrchestrationUnroutedSetRuleConditionArray{
								&pagerduty.EventOrchestrationUnroutedSetRuleConditionArgs{
									Expression: pulumi.String("event.severity matches 'critical'"),
								},
							},
							Actions: &pagerduty.EventOrchestrationUnroutedSetRuleActionsArgs{
								Severity: pulumi.String("critical"),
								Extractions: pagerduty.EventOrchestrationUnroutedSetRuleActionsExtractionArray{
									&pagerduty.EventOrchestrationUnroutedSetRuleActionsExtractionArgs{
										Target:   pulumi.String("event.summary"),
										Template: pulumi.String("[Critical Unrouted] {{event.summary}}"),
									},
								},
							},
						},
					},
				},
			},
			CatchAll: &pagerduty.EventOrchestrationUnroutedCatchAllArgs{
				Actions: &pagerduty.EventOrchestrationUnroutedCatchAllActionsArgs{
					Severity: pulumi.String("info"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import pagerduty:index/eventOrchestrationUnrouted:EventOrchestrationUnrouted unrouted 1b49abe7-26db-4439-a715-c6d883acfb3e

```

func GetEventOrchestrationUnrouted added in v3.5.0

func GetEventOrchestrationUnrouted(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventOrchestrationUnroutedState, opts ...pulumi.ResourceOption) (*EventOrchestrationUnrouted, error)

GetEventOrchestrationUnrouted gets an existing EventOrchestrationUnrouted resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventOrchestrationUnrouted added in v3.5.0

func NewEventOrchestrationUnrouted(ctx *pulumi.Context,
	name string, args *EventOrchestrationUnroutedArgs, opts ...pulumi.ResourceOption) (*EventOrchestrationUnrouted, error)

NewEventOrchestrationUnrouted registers a new resource with the given unique name, arguments, and options.

func (*EventOrchestrationUnrouted) ElementType added in v3.5.0

func (*EventOrchestrationUnrouted) ElementType() reflect.Type

func (*EventOrchestrationUnrouted) ToEventOrchestrationUnroutedOutput added in v3.5.0

func (i *EventOrchestrationUnrouted) ToEventOrchestrationUnroutedOutput() EventOrchestrationUnroutedOutput

func (*EventOrchestrationUnrouted) ToEventOrchestrationUnroutedOutputWithContext added in v3.5.0

func (i *EventOrchestrationUnrouted) ToEventOrchestrationUnroutedOutputWithContext(ctx context.Context) EventOrchestrationUnroutedOutput

type EventOrchestrationUnroutedArgs added in v3.5.0

type EventOrchestrationUnroutedArgs struct {
	// the `catchAll` actions will be applied if an Event reaches the end of any set without matching any rules in that set.
	CatchAll EventOrchestrationUnroutedCatchAllInput
	// The Event Orchestration to which this Unrouted Orchestration belongs to.
	EventOrchestration pulumi.StringInput
	// An Unrouted 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.
	Sets EventOrchestrationUnroutedSetArrayInput
}

The set of arguments for constructing a EventOrchestrationUnrouted resource.

func (EventOrchestrationUnroutedArgs) ElementType added in v3.5.0

type EventOrchestrationUnroutedArray added in v3.5.0

type EventOrchestrationUnroutedArray []EventOrchestrationUnroutedInput

func (EventOrchestrationUnroutedArray) ElementType added in v3.5.0

func (EventOrchestrationUnroutedArray) ToEventOrchestrationUnroutedArrayOutput added in v3.5.0

func (i EventOrchestrationUnroutedArray) ToEventOrchestrationUnroutedArrayOutput() EventOrchestrationUnroutedArrayOutput

func (EventOrchestrationUnroutedArray) ToEventOrchestrationUnroutedArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedArray) ToEventOrchestrationUnroutedArrayOutputWithContext(ctx context.Context) EventOrchestrationUnroutedArrayOutput

type EventOrchestrationUnroutedArrayInput added in v3.5.0

type EventOrchestrationUnroutedArrayInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedArrayOutput() EventOrchestrationUnroutedArrayOutput
	ToEventOrchestrationUnroutedArrayOutputWithContext(context.Context) EventOrchestrationUnroutedArrayOutput
}

EventOrchestrationUnroutedArrayInput is an input type that accepts EventOrchestrationUnroutedArray and EventOrchestrationUnroutedArrayOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedArrayInput` via:

EventOrchestrationUnroutedArray{ EventOrchestrationUnroutedArgs{...} }

type EventOrchestrationUnroutedArrayOutput added in v3.5.0

type EventOrchestrationUnroutedArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedArrayOutput) Index added in v3.5.0

func (EventOrchestrationUnroutedArrayOutput) ToEventOrchestrationUnroutedArrayOutput added in v3.5.0

func (o EventOrchestrationUnroutedArrayOutput) ToEventOrchestrationUnroutedArrayOutput() EventOrchestrationUnroutedArrayOutput

func (EventOrchestrationUnroutedArrayOutput) ToEventOrchestrationUnroutedArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedArrayOutput) ToEventOrchestrationUnroutedArrayOutputWithContext(ctx context.Context) EventOrchestrationUnroutedArrayOutput

type EventOrchestrationUnroutedCatchAll added in v3.5.0

type EventOrchestrationUnroutedCatchAll struct {
	// These are the actions that will be taken to change the resulting alert and incident. `catchAll` supports all actions described above for `rule` _except_ `routeTo` action.
	Actions EventOrchestrationUnroutedCatchAllActions `pulumi:"actions"`
}

type EventOrchestrationUnroutedCatchAllActions added in v3.5.0

type EventOrchestrationUnroutedCatchAllActions struct {
	// sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`
	EventAction *string `pulumi:"eventAction"`
	// Replace any CEF field or Custom Details object field using custom variables.
	Extractions []EventOrchestrationUnroutedCatchAllActionsExtraction `pulumi:"extractions"`
	// sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`
	Severity *string `pulumi:"severity"`
	Suppress *bool   `pulumi:"suppress"`
	// Populate variables from event payloads and use those variables in other event actions.
	Variables []EventOrchestrationUnroutedCatchAllActionsVariable `pulumi:"variables"`
}

type EventOrchestrationUnroutedCatchAllActionsArgs added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsArgs struct {
	// sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`
	EventAction pulumi.StringPtrInput `pulumi:"eventAction"`
	// Replace any CEF field or Custom Details object field using custom variables.
	Extractions EventOrchestrationUnroutedCatchAllActionsExtractionArrayInput `pulumi:"extractions"`
	// sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`
	Severity pulumi.StringPtrInput `pulumi:"severity"`
	Suppress pulumi.BoolPtrInput   `pulumi:"suppress"`
	// Populate variables from event payloads and use those variables in other event actions.
	Variables EventOrchestrationUnroutedCatchAllActionsVariableArrayInput `pulumi:"variables"`
}

func (EventOrchestrationUnroutedCatchAllActionsArgs) ElementType added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsArgs) ToEventOrchestrationUnroutedCatchAllActionsOutput added in v3.5.0

func (i EventOrchestrationUnroutedCatchAllActionsArgs) ToEventOrchestrationUnroutedCatchAllActionsOutput() EventOrchestrationUnroutedCatchAllActionsOutput

func (EventOrchestrationUnroutedCatchAllActionsArgs) ToEventOrchestrationUnroutedCatchAllActionsOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedCatchAllActionsArgs) ToEventOrchestrationUnroutedCatchAllActionsOutputWithContext(ctx context.Context) EventOrchestrationUnroutedCatchAllActionsOutput

func (EventOrchestrationUnroutedCatchAllActionsArgs) ToEventOrchestrationUnroutedCatchAllActionsPtrOutput added in v3.5.0

func (i EventOrchestrationUnroutedCatchAllActionsArgs) ToEventOrchestrationUnroutedCatchAllActionsPtrOutput() EventOrchestrationUnroutedCatchAllActionsPtrOutput

func (EventOrchestrationUnroutedCatchAllActionsArgs) ToEventOrchestrationUnroutedCatchAllActionsPtrOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedCatchAllActionsArgs) ToEventOrchestrationUnroutedCatchAllActionsPtrOutputWithContext(ctx context.Context) EventOrchestrationUnroutedCatchAllActionsPtrOutput

type EventOrchestrationUnroutedCatchAllActionsExtraction added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsExtraction struct {
	// A [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) 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.
	Regex *string `pulumi:"regex"`
	// The path to the event field where the `regex` will be applied to extract a value. You can use any valid [PCL path](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths) 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.
	Source *string `pulumi:"source"`
	// The PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/pd-cef) field that will be set with the value from the `template` or based on `regex` and `source` fields.
	Target string `pulumi:"target"`
	// 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}}`
	Template *string `pulumi:"template"`
}

type EventOrchestrationUnroutedCatchAllActionsExtractionArgs added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsExtractionArgs struct {
	// A [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) 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.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
	// The path to the event field where the `regex` will be applied to extract a value. You can use any valid [PCL path](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths) 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.
	Source pulumi.StringPtrInput `pulumi:"source"`
	// The PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/pd-cef) field that will be set with the value from the `template` or based on `regex` and `source` fields.
	Target pulumi.StringInput `pulumi:"target"`
	// 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}}`
	Template pulumi.StringPtrInput `pulumi:"template"`
}

func (EventOrchestrationUnroutedCatchAllActionsExtractionArgs) ElementType added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsExtractionArgs) ToEventOrchestrationUnroutedCatchAllActionsExtractionOutput added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsExtractionArgs) ToEventOrchestrationUnroutedCatchAllActionsExtractionOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedCatchAllActionsExtractionArgs) ToEventOrchestrationUnroutedCatchAllActionsExtractionOutputWithContext(ctx context.Context) EventOrchestrationUnroutedCatchAllActionsExtractionOutput

type EventOrchestrationUnroutedCatchAllActionsExtractionArray added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsExtractionArray []EventOrchestrationUnroutedCatchAllActionsExtractionInput

func (EventOrchestrationUnroutedCatchAllActionsExtractionArray) ElementType added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsExtractionArray) ToEventOrchestrationUnroutedCatchAllActionsExtractionArrayOutput added in v3.5.0

func (i EventOrchestrationUnroutedCatchAllActionsExtractionArray) ToEventOrchestrationUnroutedCatchAllActionsExtractionArrayOutput() EventOrchestrationUnroutedCatchAllActionsExtractionArrayOutput

func (EventOrchestrationUnroutedCatchAllActionsExtractionArray) ToEventOrchestrationUnroutedCatchAllActionsExtractionArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedCatchAllActionsExtractionArray) ToEventOrchestrationUnroutedCatchAllActionsExtractionArrayOutputWithContext(ctx context.Context) EventOrchestrationUnroutedCatchAllActionsExtractionArrayOutput

type EventOrchestrationUnroutedCatchAllActionsExtractionArrayInput added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsExtractionArrayInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedCatchAllActionsExtractionArrayOutput() EventOrchestrationUnroutedCatchAllActionsExtractionArrayOutput
	ToEventOrchestrationUnroutedCatchAllActionsExtractionArrayOutputWithContext(context.Context) EventOrchestrationUnroutedCatchAllActionsExtractionArrayOutput
}

EventOrchestrationUnroutedCatchAllActionsExtractionArrayInput is an input type that accepts EventOrchestrationUnroutedCatchAllActionsExtractionArray and EventOrchestrationUnroutedCatchAllActionsExtractionArrayOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedCatchAllActionsExtractionArrayInput` via:

EventOrchestrationUnroutedCatchAllActionsExtractionArray{ EventOrchestrationUnroutedCatchAllActionsExtractionArgs{...} }

type EventOrchestrationUnroutedCatchAllActionsExtractionArrayOutput added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsExtractionArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedCatchAllActionsExtractionArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsExtractionArrayOutput) Index added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsExtractionArrayOutput) ToEventOrchestrationUnroutedCatchAllActionsExtractionArrayOutput added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsExtractionArrayOutput) ToEventOrchestrationUnroutedCatchAllActionsExtractionArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedCatchAllActionsExtractionArrayOutput) ToEventOrchestrationUnroutedCatchAllActionsExtractionArrayOutputWithContext(ctx context.Context) EventOrchestrationUnroutedCatchAllActionsExtractionArrayOutput

type EventOrchestrationUnroutedCatchAllActionsExtractionInput added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsExtractionInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedCatchAllActionsExtractionOutput() EventOrchestrationUnroutedCatchAllActionsExtractionOutput
	ToEventOrchestrationUnroutedCatchAllActionsExtractionOutputWithContext(context.Context) EventOrchestrationUnroutedCatchAllActionsExtractionOutput
}

EventOrchestrationUnroutedCatchAllActionsExtractionInput is an input type that accepts EventOrchestrationUnroutedCatchAllActionsExtractionArgs and EventOrchestrationUnroutedCatchAllActionsExtractionOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedCatchAllActionsExtractionInput` via:

EventOrchestrationUnroutedCatchAllActionsExtractionArgs{...}

type EventOrchestrationUnroutedCatchAllActionsExtractionOutput added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsExtractionOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedCatchAllActionsExtractionOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsExtractionOutput) Regex added in v3.5.0

A [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) 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.

func (EventOrchestrationUnroutedCatchAllActionsExtractionOutput) Source added in v3.5.0

The path to the event field where the `regex` will be applied to extract a value. You can use any valid [PCL path](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths) 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.

func (EventOrchestrationUnroutedCatchAllActionsExtractionOutput) Target added in v3.5.0

The PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/pd-cef) field that will be set with the value from the `template` or based on `regex` and `source` fields.

func (EventOrchestrationUnroutedCatchAllActionsExtractionOutput) Template added in v3.5.0

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}}`

func (EventOrchestrationUnroutedCatchAllActionsExtractionOutput) ToEventOrchestrationUnroutedCatchAllActionsExtractionOutput added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsExtractionOutput) ToEventOrchestrationUnroutedCatchAllActionsExtractionOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedCatchAllActionsExtractionOutput) ToEventOrchestrationUnroutedCatchAllActionsExtractionOutputWithContext(ctx context.Context) EventOrchestrationUnroutedCatchAllActionsExtractionOutput

type EventOrchestrationUnroutedCatchAllActionsInput added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedCatchAllActionsOutput() EventOrchestrationUnroutedCatchAllActionsOutput
	ToEventOrchestrationUnroutedCatchAllActionsOutputWithContext(context.Context) EventOrchestrationUnroutedCatchAllActionsOutput
}

EventOrchestrationUnroutedCatchAllActionsInput is an input type that accepts EventOrchestrationUnroutedCatchAllActionsArgs and EventOrchestrationUnroutedCatchAllActionsOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedCatchAllActionsInput` via:

EventOrchestrationUnroutedCatchAllActionsArgs{...}

type EventOrchestrationUnroutedCatchAllActionsOutput added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedCatchAllActionsOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsOutput) EventAction added in v3.5.0

sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`

func (EventOrchestrationUnroutedCatchAllActionsOutput) Extractions added in v3.5.0

Replace any CEF field or Custom Details object field using custom variables.

func (EventOrchestrationUnroutedCatchAllActionsOutput) Severity added in v3.5.0

sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`

func (EventOrchestrationUnroutedCatchAllActionsOutput) Suppress added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsOutput) ToEventOrchestrationUnroutedCatchAllActionsOutput added in v3.5.0

func (o EventOrchestrationUnroutedCatchAllActionsOutput) ToEventOrchestrationUnroutedCatchAllActionsOutput() EventOrchestrationUnroutedCatchAllActionsOutput

func (EventOrchestrationUnroutedCatchAllActionsOutput) ToEventOrchestrationUnroutedCatchAllActionsOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedCatchAllActionsOutput) ToEventOrchestrationUnroutedCatchAllActionsOutputWithContext(ctx context.Context) EventOrchestrationUnroutedCatchAllActionsOutput

func (EventOrchestrationUnroutedCatchAllActionsOutput) ToEventOrchestrationUnroutedCatchAllActionsPtrOutput added in v3.5.0

func (o EventOrchestrationUnroutedCatchAllActionsOutput) ToEventOrchestrationUnroutedCatchAllActionsPtrOutput() EventOrchestrationUnroutedCatchAllActionsPtrOutput

func (EventOrchestrationUnroutedCatchAllActionsOutput) ToEventOrchestrationUnroutedCatchAllActionsPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedCatchAllActionsOutput) ToEventOrchestrationUnroutedCatchAllActionsPtrOutputWithContext(ctx context.Context) EventOrchestrationUnroutedCatchAllActionsPtrOutput

func (EventOrchestrationUnroutedCatchAllActionsOutput) Variables added in v3.5.0

Populate variables from event payloads and use those variables in other event actions.

type EventOrchestrationUnroutedCatchAllActionsPtrInput added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsPtrInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedCatchAllActionsPtrOutput() EventOrchestrationUnroutedCatchAllActionsPtrOutput
	ToEventOrchestrationUnroutedCatchAllActionsPtrOutputWithContext(context.Context) EventOrchestrationUnroutedCatchAllActionsPtrOutput
}

EventOrchestrationUnroutedCatchAllActionsPtrInput is an input type that accepts EventOrchestrationUnroutedCatchAllActionsArgs, EventOrchestrationUnroutedCatchAllActionsPtr and EventOrchestrationUnroutedCatchAllActionsPtrOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedCatchAllActionsPtrInput` via:

        EventOrchestrationUnroutedCatchAllActionsArgs{...}

or:

        nil

type EventOrchestrationUnroutedCatchAllActionsPtrOutput added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsPtrOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedCatchAllActionsPtrOutput) Elem added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsPtrOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsPtrOutput) EventAction added in v3.5.0

sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`

func (EventOrchestrationUnroutedCatchAllActionsPtrOutput) Extractions added in v3.5.0

Replace any CEF field or Custom Details object field using custom variables.

func (EventOrchestrationUnroutedCatchAllActionsPtrOutput) Severity added in v3.5.0

sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`

func (EventOrchestrationUnroutedCatchAllActionsPtrOutput) Suppress added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsPtrOutput) ToEventOrchestrationUnroutedCatchAllActionsPtrOutput added in v3.5.0

func (o EventOrchestrationUnroutedCatchAllActionsPtrOutput) ToEventOrchestrationUnroutedCatchAllActionsPtrOutput() EventOrchestrationUnroutedCatchAllActionsPtrOutput

func (EventOrchestrationUnroutedCatchAllActionsPtrOutput) ToEventOrchestrationUnroutedCatchAllActionsPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedCatchAllActionsPtrOutput) ToEventOrchestrationUnroutedCatchAllActionsPtrOutputWithContext(ctx context.Context) EventOrchestrationUnroutedCatchAllActionsPtrOutput

func (EventOrchestrationUnroutedCatchAllActionsPtrOutput) Variables added in v3.5.0

Populate variables from event payloads and use those variables in other event actions.

type EventOrchestrationUnroutedCatchAllActionsVariable added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsVariable struct {
	// The name of the variable
	Name string `pulumi:"name"`
	// Path to a field in an event, in dot-notation. This supports both [PD-CEF](https://support.pagerduty.com/docs/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.
	Path string `pulumi:"path"`
	// Only `regex` is supported
	Type string `pulumi:"type"`
	// The Regex expression to match against. Must use valid [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) syntax.
	Value string `pulumi:"value"`
}

type EventOrchestrationUnroutedCatchAllActionsVariableArgs added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsVariableArgs struct {
	// The name of the variable
	Name pulumi.StringInput `pulumi:"name"`
	// Path to a field in an event, in dot-notation. This supports both [PD-CEF](https://support.pagerduty.com/docs/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.
	Path pulumi.StringInput `pulumi:"path"`
	// Only `regex` is supported
	Type pulumi.StringInput `pulumi:"type"`
	// The Regex expression to match against. Must use valid [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) syntax.
	Value pulumi.StringInput `pulumi:"value"`
}

func (EventOrchestrationUnroutedCatchAllActionsVariableArgs) ElementType added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsVariableArgs) ToEventOrchestrationUnroutedCatchAllActionsVariableOutput added in v3.5.0

func (i EventOrchestrationUnroutedCatchAllActionsVariableArgs) ToEventOrchestrationUnroutedCatchAllActionsVariableOutput() EventOrchestrationUnroutedCatchAllActionsVariableOutput

func (EventOrchestrationUnroutedCatchAllActionsVariableArgs) ToEventOrchestrationUnroutedCatchAllActionsVariableOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedCatchAllActionsVariableArgs) ToEventOrchestrationUnroutedCatchAllActionsVariableOutputWithContext(ctx context.Context) EventOrchestrationUnroutedCatchAllActionsVariableOutput

type EventOrchestrationUnroutedCatchAllActionsVariableArray added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsVariableArray []EventOrchestrationUnroutedCatchAllActionsVariableInput

func (EventOrchestrationUnroutedCatchAllActionsVariableArray) ElementType added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsVariableArray) ToEventOrchestrationUnroutedCatchAllActionsVariableArrayOutput added in v3.5.0

func (i EventOrchestrationUnroutedCatchAllActionsVariableArray) ToEventOrchestrationUnroutedCatchAllActionsVariableArrayOutput() EventOrchestrationUnroutedCatchAllActionsVariableArrayOutput

func (EventOrchestrationUnroutedCatchAllActionsVariableArray) ToEventOrchestrationUnroutedCatchAllActionsVariableArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedCatchAllActionsVariableArray) ToEventOrchestrationUnroutedCatchAllActionsVariableArrayOutputWithContext(ctx context.Context) EventOrchestrationUnroutedCatchAllActionsVariableArrayOutput

type EventOrchestrationUnroutedCatchAllActionsVariableArrayInput added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsVariableArrayInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedCatchAllActionsVariableArrayOutput() EventOrchestrationUnroutedCatchAllActionsVariableArrayOutput
	ToEventOrchestrationUnroutedCatchAllActionsVariableArrayOutputWithContext(context.Context) EventOrchestrationUnroutedCatchAllActionsVariableArrayOutput
}

EventOrchestrationUnroutedCatchAllActionsVariableArrayInput is an input type that accepts EventOrchestrationUnroutedCatchAllActionsVariableArray and EventOrchestrationUnroutedCatchAllActionsVariableArrayOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedCatchAllActionsVariableArrayInput` via:

EventOrchestrationUnroutedCatchAllActionsVariableArray{ EventOrchestrationUnroutedCatchAllActionsVariableArgs{...} }

type EventOrchestrationUnroutedCatchAllActionsVariableArrayOutput added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsVariableArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedCatchAllActionsVariableArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsVariableArrayOutput) Index added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsVariableArrayOutput) ToEventOrchestrationUnroutedCatchAllActionsVariableArrayOutput added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsVariableArrayOutput) ToEventOrchestrationUnroutedCatchAllActionsVariableArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedCatchAllActionsVariableArrayOutput) ToEventOrchestrationUnroutedCatchAllActionsVariableArrayOutputWithContext(ctx context.Context) EventOrchestrationUnroutedCatchAllActionsVariableArrayOutput

type EventOrchestrationUnroutedCatchAllActionsVariableInput added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsVariableInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedCatchAllActionsVariableOutput() EventOrchestrationUnroutedCatchAllActionsVariableOutput
	ToEventOrchestrationUnroutedCatchAllActionsVariableOutputWithContext(context.Context) EventOrchestrationUnroutedCatchAllActionsVariableOutput
}

EventOrchestrationUnroutedCatchAllActionsVariableInput is an input type that accepts EventOrchestrationUnroutedCatchAllActionsVariableArgs and EventOrchestrationUnroutedCatchAllActionsVariableOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedCatchAllActionsVariableInput` via:

EventOrchestrationUnroutedCatchAllActionsVariableArgs{...}

type EventOrchestrationUnroutedCatchAllActionsVariableOutput added in v3.5.0

type EventOrchestrationUnroutedCatchAllActionsVariableOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedCatchAllActionsVariableOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsVariableOutput) Name added in v3.5.0

The name of the variable

func (EventOrchestrationUnroutedCatchAllActionsVariableOutput) Path added in v3.5.0

Path to a field in an event, in dot-notation. This supports both [PD-CEF](https://support.pagerduty.com/docs/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.

func (EventOrchestrationUnroutedCatchAllActionsVariableOutput) ToEventOrchestrationUnroutedCatchAllActionsVariableOutput added in v3.5.0

func (EventOrchestrationUnroutedCatchAllActionsVariableOutput) ToEventOrchestrationUnroutedCatchAllActionsVariableOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedCatchAllActionsVariableOutput) ToEventOrchestrationUnroutedCatchAllActionsVariableOutputWithContext(ctx context.Context) EventOrchestrationUnroutedCatchAllActionsVariableOutput

func (EventOrchestrationUnroutedCatchAllActionsVariableOutput) Type added in v3.5.0

Only `regex` is supported

func (EventOrchestrationUnroutedCatchAllActionsVariableOutput) Value added in v3.5.0

The Regex expression to match against. Must use valid [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) syntax.

type EventOrchestrationUnroutedCatchAllArgs added in v3.5.0

type EventOrchestrationUnroutedCatchAllArgs struct {
	// These are the actions that will be taken to change the resulting alert and incident. `catchAll` supports all actions described above for `rule` _except_ `routeTo` action.
	Actions EventOrchestrationUnroutedCatchAllActionsInput `pulumi:"actions"`
}

func (EventOrchestrationUnroutedCatchAllArgs) ElementType added in v3.5.0

func (EventOrchestrationUnroutedCatchAllArgs) ToEventOrchestrationUnroutedCatchAllOutput added in v3.5.0

func (i EventOrchestrationUnroutedCatchAllArgs) ToEventOrchestrationUnroutedCatchAllOutput() EventOrchestrationUnroutedCatchAllOutput

func (EventOrchestrationUnroutedCatchAllArgs) ToEventOrchestrationUnroutedCatchAllOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedCatchAllArgs) ToEventOrchestrationUnroutedCatchAllOutputWithContext(ctx context.Context) EventOrchestrationUnroutedCatchAllOutput

func (EventOrchestrationUnroutedCatchAllArgs) ToEventOrchestrationUnroutedCatchAllPtrOutput added in v3.5.0

func (i EventOrchestrationUnroutedCatchAllArgs) ToEventOrchestrationUnroutedCatchAllPtrOutput() EventOrchestrationUnroutedCatchAllPtrOutput

func (EventOrchestrationUnroutedCatchAllArgs) ToEventOrchestrationUnroutedCatchAllPtrOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedCatchAllArgs) ToEventOrchestrationUnroutedCatchAllPtrOutputWithContext(ctx context.Context) EventOrchestrationUnroutedCatchAllPtrOutput

type EventOrchestrationUnroutedCatchAllInput added in v3.5.0

type EventOrchestrationUnroutedCatchAllInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedCatchAllOutput() EventOrchestrationUnroutedCatchAllOutput
	ToEventOrchestrationUnroutedCatchAllOutputWithContext(context.Context) EventOrchestrationUnroutedCatchAllOutput
}

EventOrchestrationUnroutedCatchAllInput is an input type that accepts EventOrchestrationUnroutedCatchAllArgs and EventOrchestrationUnroutedCatchAllOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedCatchAllInput` via:

EventOrchestrationUnroutedCatchAllArgs{...}

type EventOrchestrationUnroutedCatchAllOutput added in v3.5.0

type EventOrchestrationUnroutedCatchAllOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedCatchAllOutput) Actions added in v3.5.0

These are the actions that will be taken to change the resulting alert and incident. `catchAll` supports all actions described above for `rule` _except_ `routeTo` action.

func (EventOrchestrationUnroutedCatchAllOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedCatchAllOutput) ToEventOrchestrationUnroutedCatchAllOutput added in v3.5.0

func (o EventOrchestrationUnroutedCatchAllOutput) ToEventOrchestrationUnroutedCatchAllOutput() EventOrchestrationUnroutedCatchAllOutput

func (EventOrchestrationUnroutedCatchAllOutput) ToEventOrchestrationUnroutedCatchAllOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedCatchAllOutput) ToEventOrchestrationUnroutedCatchAllOutputWithContext(ctx context.Context) EventOrchestrationUnroutedCatchAllOutput

func (EventOrchestrationUnroutedCatchAllOutput) ToEventOrchestrationUnroutedCatchAllPtrOutput added in v3.5.0

func (o EventOrchestrationUnroutedCatchAllOutput) ToEventOrchestrationUnroutedCatchAllPtrOutput() EventOrchestrationUnroutedCatchAllPtrOutput

func (EventOrchestrationUnroutedCatchAllOutput) ToEventOrchestrationUnroutedCatchAllPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedCatchAllOutput) ToEventOrchestrationUnroutedCatchAllPtrOutputWithContext(ctx context.Context) EventOrchestrationUnroutedCatchAllPtrOutput

type EventOrchestrationUnroutedCatchAllPtrInput added in v3.5.0

type EventOrchestrationUnroutedCatchAllPtrInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedCatchAllPtrOutput() EventOrchestrationUnroutedCatchAllPtrOutput
	ToEventOrchestrationUnroutedCatchAllPtrOutputWithContext(context.Context) EventOrchestrationUnroutedCatchAllPtrOutput
}

EventOrchestrationUnroutedCatchAllPtrInput is an input type that accepts EventOrchestrationUnroutedCatchAllArgs, EventOrchestrationUnroutedCatchAllPtr and EventOrchestrationUnroutedCatchAllPtrOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedCatchAllPtrInput` via:

        EventOrchestrationUnroutedCatchAllArgs{...}

or:

        nil

type EventOrchestrationUnroutedCatchAllPtrOutput added in v3.5.0

type EventOrchestrationUnroutedCatchAllPtrOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedCatchAllPtrOutput) Actions added in v3.5.0

These are the actions that will be taken to change the resulting alert and incident. `catchAll` supports all actions described above for `rule` _except_ `routeTo` action.

func (EventOrchestrationUnroutedCatchAllPtrOutput) Elem added in v3.5.0

func (EventOrchestrationUnroutedCatchAllPtrOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedCatchAllPtrOutput) ToEventOrchestrationUnroutedCatchAllPtrOutput added in v3.5.0

func (o EventOrchestrationUnroutedCatchAllPtrOutput) ToEventOrchestrationUnroutedCatchAllPtrOutput() EventOrchestrationUnroutedCatchAllPtrOutput

func (EventOrchestrationUnroutedCatchAllPtrOutput) ToEventOrchestrationUnroutedCatchAllPtrOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedCatchAllPtrOutput) ToEventOrchestrationUnroutedCatchAllPtrOutputWithContext(ctx context.Context) EventOrchestrationUnroutedCatchAllPtrOutput

type EventOrchestrationUnroutedInput added in v3.5.0

type EventOrchestrationUnroutedInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedOutput() EventOrchestrationUnroutedOutput
	ToEventOrchestrationUnroutedOutputWithContext(ctx context.Context) EventOrchestrationUnroutedOutput
}

type EventOrchestrationUnroutedMap added in v3.5.0

type EventOrchestrationUnroutedMap map[string]EventOrchestrationUnroutedInput

func (EventOrchestrationUnroutedMap) ElementType added in v3.5.0

func (EventOrchestrationUnroutedMap) ToEventOrchestrationUnroutedMapOutput added in v3.5.0

func (i EventOrchestrationUnroutedMap) ToEventOrchestrationUnroutedMapOutput() EventOrchestrationUnroutedMapOutput

func (EventOrchestrationUnroutedMap) ToEventOrchestrationUnroutedMapOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedMap) ToEventOrchestrationUnroutedMapOutputWithContext(ctx context.Context) EventOrchestrationUnroutedMapOutput

type EventOrchestrationUnroutedMapInput added in v3.5.0

type EventOrchestrationUnroutedMapInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedMapOutput() EventOrchestrationUnroutedMapOutput
	ToEventOrchestrationUnroutedMapOutputWithContext(context.Context) EventOrchestrationUnroutedMapOutput
}

EventOrchestrationUnroutedMapInput is an input type that accepts EventOrchestrationUnroutedMap and EventOrchestrationUnroutedMapOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedMapInput` via:

EventOrchestrationUnroutedMap{ "key": EventOrchestrationUnroutedArgs{...} }

type EventOrchestrationUnroutedMapOutput added in v3.5.0

type EventOrchestrationUnroutedMapOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedMapOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedMapOutput) MapIndex added in v3.5.0

func (EventOrchestrationUnroutedMapOutput) ToEventOrchestrationUnroutedMapOutput added in v3.5.0

func (o EventOrchestrationUnroutedMapOutput) ToEventOrchestrationUnroutedMapOutput() EventOrchestrationUnroutedMapOutput

func (EventOrchestrationUnroutedMapOutput) ToEventOrchestrationUnroutedMapOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedMapOutput) ToEventOrchestrationUnroutedMapOutputWithContext(ctx context.Context) EventOrchestrationUnroutedMapOutput

type EventOrchestrationUnroutedOutput added in v3.5.0

type EventOrchestrationUnroutedOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedOutput) CatchAll added in v3.5.1

the `catchAll` actions will be applied if an Event reaches the end of any set without matching any rules in that set.

func (EventOrchestrationUnroutedOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedOutput) EventOrchestration added in v3.5.1

func (o EventOrchestrationUnroutedOutput) EventOrchestration() pulumi.StringOutput

The Event Orchestration to which this Unrouted Orchestration belongs to.

func (EventOrchestrationUnroutedOutput) Sets added in v3.5.1

An Unrouted 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.

func (EventOrchestrationUnroutedOutput) ToEventOrchestrationUnroutedOutput added in v3.5.0

func (o EventOrchestrationUnroutedOutput) ToEventOrchestrationUnroutedOutput() EventOrchestrationUnroutedOutput

func (EventOrchestrationUnroutedOutput) ToEventOrchestrationUnroutedOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedOutput) ToEventOrchestrationUnroutedOutputWithContext(ctx context.Context) EventOrchestrationUnroutedOutput

type EventOrchestrationUnroutedSet added in v3.5.0

type EventOrchestrationUnroutedSet struct {
	// The ID of this set of rules. Rules in other sets can route events into this set using the rule's `routeTo` property.
	Id    string                              `pulumi:"id"`
	Rules []EventOrchestrationUnroutedSetRule `pulumi:"rules"`
}

type EventOrchestrationUnroutedSetArgs added in v3.5.0

type EventOrchestrationUnroutedSetArgs struct {
	// The ID of this set of rules. Rules in other sets can route events into this set using the rule's `routeTo` property.
	Id    pulumi.StringInput                          `pulumi:"id"`
	Rules EventOrchestrationUnroutedSetRuleArrayInput `pulumi:"rules"`
}

func (EventOrchestrationUnroutedSetArgs) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetArgs) ToEventOrchestrationUnroutedSetOutput added in v3.5.0

func (i EventOrchestrationUnroutedSetArgs) ToEventOrchestrationUnroutedSetOutput() EventOrchestrationUnroutedSetOutput

func (EventOrchestrationUnroutedSetArgs) ToEventOrchestrationUnroutedSetOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedSetArgs) ToEventOrchestrationUnroutedSetOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetOutput

type EventOrchestrationUnroutedSetArray added in v3.5.0

type EventOrchestrationUnroutedSetArray []EventOrchestrationUnroutedSetInput

func (EventOrchestrationUnroutedSetArray) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetArray) ToEventOrchestrationUnroutedSetArrayOutput added in v3.5.0

func (i EventOrchestrationUnroutedSetArray) ToEventOrchestrationUnroutedSetArrayOutput() EventOrchestrationUnroutedSetArrayOutput

func (EventOrchestrationUnroutedSetArray) ToEventOrchestrationUnroutedSetArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedSetArray) ToEventOrchestrationUnroutedSetArrayOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetArrayOutput

type EventOrchestrationUnroutedSetArrayInput added in v3.5.0

type EventOrchestrationUnroutedSetArrayInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedSetArrayOutput() EventOrchestrationUnroutedSetArrayOutput
	ToEventOrchestrationUnroutedSetArrayOutputWithContext(context.Context) EventOrchestrationUnroutedSetArrayOutput
}

EventOrchestrationUnroutedSetArrayInput is an input type that accepts EventOrchestrationUnroutedSetArray and EventOrchestrationUnroutedSetArrayOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedSetArrayInput` via:

EventOrchestrationUnroutedSetArray{ EventOrchestrationUnroutedSetArgs{...} }

type EventOrchestrationUnroutedSetArrayOutput added in v3.5.0

type EventOrchestrationUnroutedSetArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedSetArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetArrayOutput) Index added in v3.5.0

func (EventOrchestrationUnroutedSetArrayOutput) ToEventOrchestrationUnroutedSetArrayOutput added in v3.5.0

func (o EventOrchestrationUnroutedSetArrayOutput) ToEventOrchestrationUnroutedSetArrayOutput() EventOrchestrationUnroutedSetArrayOutput

func (EventOrchestrationUnroutedSetArrayOutput) ToEventOrchestrationUnroutedSetArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedSetArrayOutput) ToEventOrchestrationUnroutedSetArrayOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetArrayOutput

type EventOrchestrationUnroutedSetInput added in v3.5.0

type EventOrchestrationUnroutedSetInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedSetOutput() EventOrchestrationUnroutedSetOutput
	ToEventOrchestrationUnroutedSetOutputWithContext(context.Context) EventOrchestrationUnroutedSetOutput
}

EventOrchestrationUnroutedSetInput is an input type that accepts EventOrchestrationUnroutedSetArgs and EventOrchestrationUnroutedSetOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedSetInput` via:

EventOrchestrationUnroutedSetArgs{...}

type EventOrchestrationUnroutedSetOutput added in v3.5.0

type EventOrchestrationUnroutedSetOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedSetOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetOutput) Id added in v3.5.0

The ID of this set of rules. Rules in other sets can route events into this set using the rule's `routeTo` property.

func (EventOrchestrationUnroutedSetOutput) Rules added in v3.5.0

func (EventOrchestrationUnroutedSetOutput) ToEventOrchestrationUnroutedSetOutput added in v3.5.0

func (o EventOrchestrationUnroutedSetOutput) ToEventOrchestrationUnroutedSetOutput() EventOrchestrationUnroutedSetOutput

func (EventOrchestrationUnroutedSetOutput) ToEventOrchestrationUnroutedSetOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedSetOutput) ToEventOrchestrationUnroutedSetOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetOutput

type EventOrchestrationUnroutedSetRule added in v3.5.0

type EventOrchestrationUnroutedSetRule struct {
	// Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
	Actions EventOrchestrationUnroutedSetRuleActions `pulumi:"actions"`
	// 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.
	Conditions []EventOrchestrationUnroutedSetRuleCondition `pulumi:"conditions"`
	// Indicates whether the rule is disabled and would therefore not be evaluated.
	Disabled *bool `pulumi:"disabled"`
	// The ID of this set of rules. Rules in other sets can route events into this set using the rule's `routeTo` property.
	Id *string `pulumi:"id"`
	// A description of this rule's purpose.
	Label *string `pulumi:"label"`
}

type EventOrchestrationUnroutedSetRuleActions added in v3.5.0

type EventOrchestrationUnroutedSetRuleActions struct {
	// sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`
	EventAction *string `pulumi:"eventAction"`
	// Replace any CEF field or Custom Details object field using custom variables.
	Extractions []EventOrchestrationUnroutedSetRuleActionsExtraction `pulumi:"extractions"`
	// The ID of a Set from this Unrouted Orchestration whose rules you also want to use with events that match this rule.
	RouteTo *string `pulumi:"routeTo"`
	// sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`
	Severity *string `pulumi:"severity"`
	// Populate variables from event payloads and use those variables in other event actions.
	Variables []EventOrchestrationUnroutedSetRuleActionsVariable `pulumi:"variables"`
}

type EventOrchestrationUnroutedSetRuleActionsArgs added in v3.5.0

type EventOrchestrationUnroutedSetRuleActionsArgs struct {
	// sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`
	EventAction pulumi.StringPtrInput `pulumi:"eventAction"`
	// Replace any CEF field or Custom Details object field using custom variables.
	Extractions EventOrchestrationUnroutedSetRuleActionsExtractionArrayInput `pulumi:"extractions"`
	// The ID of a Set from this Unrouted Orchestration whose rules you also want to use with events that match this rule.
	RouteTo pulumi.StringPtrInput `pulumi:"routeTo"`
	// sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`
	Severity pulumi.StringPtrInput `pulumi:"severity"`
	// Populate variables from event payloads and use those variables in other event actions.
	Variables EventOrchestrationUnroutedSetRuleActionsVariableArrayInput `pulumi:"variables"`
}

func (EventOrchestrationUnroutedSetRuleActionsArgs) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetRuleActionsArgs) ToEventOrchestrationUnroutedSetRuleActionsOutput added in v3.5.0

func (i EventOrchestrationUnroutedSetRuleActionsArgs) ToEventOrchestrationUnroutedSetRuleActionsOutput() EventOrchestrationUnroutedSetRuleActionsOutput

func (EventOrchestrationUnroutedSetRuleActionsArgs) ToEventOrchestrationUnroutedSetRuleActionsOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedSetRuleActionsArgs) ToEventOrchestrationUnroutedSetRuleActionsOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetRuleActionsOutput

type EventOrchestrationUnroutedSetRuleActionsExtraction added in v3.5.0

type EventOrchestrationUnroutedSetRuleActionsExtraction struct {
	// A [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) 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.
	Regex *string `pulumi:"regex"`
	// The path to the event field where the `regex` will be applied to extract a value. You can use any valid [PCL path](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths) 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.
	Source *string `pulumi:"source"`
	// The PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/pd-cef) field that will be set with the value from the `template` or based on `regex` and `source` fields.
	Target string `pulumi:"target"`
	// 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}}`
	Template *string `pulumi:"template"`
}

type EventOrchestrationUnroutedSetRuleActionsExtractionArgs added in v3.5.0

type EventOrchestrationUnroutedSetRuleActionsExtractionArgs struct {
	// A [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) 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.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
	// The path to the event field where the `regex` will be applied to extract a value. You can use any valid [PCL path](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths) 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.
	Source pulumi.StringPtrInput `pulumi:"source"`
	// The PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/pd-cef) field that will be set with the value from the `template` or based on `regex` and `source` fields.
	Target pulumi.StringInput `pulumi:"target"`
	// 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}}`
	Template pulumi.StringPtrInput `pulumi:"template"`
}

func (EventOrchestrationUnroutedSetRuleActionsExtractionArgs) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetRuleActionsExtractionArgs) ToEventOrchestrationUnroutedSetRuleActionsExtractionOutput added in v3.5.0

func (EventOrchestrationUnroutedSetRuleActionsExtractionArgs) ToEventOrchestrationUnroutedSetRuleActionsExtractionOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedSetRuleActionsExtractionArgs) ToEventOrchestrationUnroutedSetRuleActionsExtractionOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetRuleActionsExtractionOutput

type EventOrchestrationUnroutedSetRuleActionsExtractionArray added in v3.5.0

type EventOrchestrationUnroutedSetRuleActionsExtractionArray []EventOrchestrationUnroutedSetRuleActionsExtractionInput

func (EventOrchestrationUnroutedSetRuleActionsExtractionArray) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetRuleActionsExtractionArray) ToEventOrchestrationUnroutedSetRuleActionsExtractionArrayOutput added in v3.5.0

func (i EventOrchestrationUnroutedSetRuleActionsExtractionArray) ToEventOrchestrationUnroutedSetRuleActionsExtractionArrayOutput() EventOrchestrationUnroutedSetRuleActionsExtractionArrayOutput

func (EventOrchestrationUnroutedSetRuleActionsExtractionArray) ToEventOrchestrationUnroutedSetRuleActionsExtractionArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedSetRuleActionsExtractionArray) ToEventOrchestrationUnroutedSetRuleActionsExtractionArrayOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetRuleActionsExtractionArrayOutput

type EventOrchestrationUnroutedSetRuleActionsExtractionArrayInput added in v3.5.0

type EventOrchestrationUnroutedSetRuleActionsExtractionArrayInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedSetRuleActionsExtractionArrayOutput() EventOrchestrationUnroutedSetRuleActionsExtractionArrayOutput
	ToEventOrchestrationUnroutedSetRuleActionsExtractionArrayOutputWithContext(context.Context) EventOrchestrationUnroutedSetRuleActionsExtractionArrayOutput
}

EventOrchestrationUnroutedSetRuleActionsExtractionArrayInput is an input type that accepts EventOrchestrationUnroutedSetRuleActionsExtractionArray and EventOrchestrationUnroutedSetRuleActionsExtractionArrayOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedSetRuleActionsExtractionArrayInput` via:

EventOrchestrationUnroutedSetRuleActionsExtractionArray{ EventOrchestrationUnroutedSetRuleActionsExtractionArgs{...} }

type EventOrchestrationUnroutedSetRuleActionsExtractionArrayOutput added in v3.5.0

type EventOrchestrationUnroutedSetRuleActionsExtractionArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedSetRuleActionsExtractionArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetRuleActionsExtractionArrayOutput) Index added in v3.5.0

func (EventOrchestrationUnroutedSetRuleActionsExtractionArrayOutput) ToEventOrchestrationUnroutedSetRuleActionsExtractionArrayOutput added in v3.5.0

func (EventOrchestrationUnroutedSetRuleActionsExtractionArrayOutput) ToEventOrchestrationUnroutedSetRuleActionsExtractionArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedSetRuleActionsExtractionArrayOutput) ToEventOrchestrationUnroutedSetRuleActionsExtractionArrayOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetRuleActionsExtractionArrayOutput

type EventOrchestrationUnroutedSetRuleActionsExtractionInput added in v3.5.0

type EventOrchestrationUnroutedSetRuleActionsExtractionInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedSetRuleActionsExtractionOutput() EventOrchestrationUnroutedSetRuleActionsExtractionOutput
	ToEventOrchestrationUnroutedSetRuleActionsExtractionOutputWithContext(context.Context) EventOrchestrationUnroutedSetRuleActionsExtractionOutput
}

EventOrchestrationUnroutedSetRuleActionsExtractionInput is an input type that accepts EventOrchestrationUnroutedSetRuleActionsExtractionArgs and EventOrchestrationUnroutedSetRuleActionsExtractionOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedSetRuleActionsExtractionInput` via:

EventOrchestrationUnroutedSetRuleActionsExtractionArgs{...}

type EventOrchestrationUnroutedSetRuleActionsExtractionOutput added in v3.5.0

type EventOrchestrationUnroutedSetRuleActionsExtractionOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedSetRuleActionsExtractionOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetRuleActionsExtractionOutput) Regex added in v3.5.0

A [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) 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.

func (EventOrchestrationUnroutedSetRuleActionsExtractionOutput) Source added in v3.5.0

The path to the event field where the `regex` will be applied to extract a value. You can use any valid [PCL path](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview#paths) 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.

func (EventOrchestrationUnroutedSetRuleActionsExtractionOutput) Target added in v3.5.0

The PagerDuty Common Event Format [PD-CEF](https://support.pagerduty.com/docs/pd-cef) field that will be set with the value from the `template` or based on `regex` and `source` fields.

func (EventOrchestrationUnroutedSetRuleActionsExtractionOutput) Template added in v3.5.0

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}}`

func (EventOrchestrationUnroutedSetRuleActionsExtractionOutput) ToEventOrchestrationUnroutedSetRuleActionsExtractionOutput added in v3.5.0

func (EventOrchestrationUnroutedSetRuleActionsExtractionOutput) ToEventOrchestrationUnroutedSetRuleActionsExtractionOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedSetRuleActionsExtractionOutput) ToEventOrchestrationUnroutedSetRuleActionsExtractionOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetRuleActionsExtractionOutput

type EventOrchestrationUnroutedSetRuleActionsInput added in v3.5.0

type EventOrchestrationUnroutedSetRuleActionsInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedSetRuleActionsOutput() EventOrchestrationUnroutedSetRuleActionsOutput
	ToEventOrchestrationUnroutedSetRuleActionsOutputWithContext(context.Context) EventOrchestrationUnroutedSetRuleActionsOutput
}

EventOrchestrationUnroutedSetRuleActionsInput is an input type that accepts EventOrchestrationUnroutedSetRuleActionsArgs and EventOrchestrationUnroutedSetRuleActionsOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedSetRuleActionsInput` via:

EventOrchestrationUnroutedSetRuleActionsArgs{...}

type EventOrchestrationUnroutedSetRuleActionsOutput added in v3.5.0

type EventOrchestrationUnroutedSetRuleActionsOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedSetRuleActionsOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetRuleActionsOutput) EventAction added in v3.5.0

sets whether the resulting alert status is trigger or resolve. Allowed values are: `trigger`, `resolve`

func (EventOrchestrationUnroutedSetRuleActionsOutput) Extractions added in v3.5.0

Replace any CEF field or Custom Details object field using custom variables.

func (EventOrchestrationUnroutedSetRuleActionsOutput) RouteTo added in v3.5.0

The ID of a Set from this Unrouted Orchestration whose rules you also want to use with events that match this rule.

func (EventOrchestrationUnroutedSetRuleActionsOutput) Severity added in v3.5.0

sets Severity of the resulting alert. Allowed values are: `info`, `error`, `warning`, `critical`

func (EventOrchestrationUnroutedSetRuleActionsOutput) ToEventOrchestrationUnroutedSetRuleActionsOutput added in v3.5.0

func (o EventOrchestrationUnroutedSetRuleActionsOutput) ToEventOrchestrationUnroutedSetRuleActionsOutput() EventOrchestrationUnroutedSetRuleActionsOutput

func (EventOrchestrationUnroutedSetRuleActionsOutput) ToEventOrchestrationUnroutedSetRuleActionsOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedSetRuleActionsOutput) ToEventOrchestrationUnroutedSetRuleActionsOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetRuleActionsOutput

func (EventOrchestrationUnroutedSetRuleActionsOutput) Variables added in v3.5.0

Populate variables from event payloads and use those variables in other event actions.

type EventOrchestrationUnroutedSetRuleActionsVariable added in v3.5.0

type EventOrchestrationUnroutedSetRuleActionsVariable struct {
	// The name of the variable
	Name string `pulumi:"name"`
	// Path to a field in an event, in dot-notation. This supports both [PD-CEF](https://support.pagerduty.com/docs/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.
	Path string `pulumi:"path"`
	// Only `regex` is supported
	Type string `pulumi:"type"`
	// The Regex expression to match against. Must use valid [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) syntax.
	Value string `pulumi:"value"`
}

type EventOrchestrationUnroutedSetRuleActionsVariableArgs added in v3.5.0

type EventOrchestrationUnroutedSetRuleActionsVariableArgs struct {
	// The name of the variable
	Name pulumi.StringInput `pulumi:"name"`
	// Path to a field in an event, in dot-notation. This supports both [PD-CEF](https://support.pagerduty.com/docs/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.
	Path pulumi.StringInput `pulumi:"path"`
	// Only `regex` is supported
	Type pulumi.StringInput `pulumi:"type"`
	// The Regex expression to match against. Must use valid [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) syntax.
	Value pulumi.StringInput `pulumi:"value"`
}

func (EventOrchestrationUnroutedSetRuleActionsVariableArgs) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetRuleActionsVariableArgs) ToEventOrchestrationUnroutedSetRuleActionsVariableOutput added in v3.5.0

func (i EventOrchestrationUnroutedSetRuleActionsVariableArgs) ToEventOrchestrationUnroutedSetRuleActionsVariableOutput() EventOrchestrationUnroutedSetRuleActionsVariableOutput

func (EventOrchestrationUnroutedSetRuleActionsVariableArgs) ToEventOrchestrationUnroutedSetRuleActionsVariableOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedSetRuleActionsVariableArgs) ToEventOrchestrationUnroutedSetRuleActionsVariableOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetRuleActionsVariableOutput

type EventOrchestrationUnroutedSetRuleActionsVariableArray added in v3.5.0

type EventOrchestrationUnroutedSetRuleActionsVariableArray []EventOrchestrationUnroutedSetRuleActionsVariableInput

func (EventOrchestrationUnroutedSetRuleActionsVariableArray) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetRuleActionsVariableArray) ToEventOrchestrationUnroutedSetRuleActionsVariableArrayOutput added in v3.5.0

func (i EventOrchestrationUnroutedSetRuleActionsVariableArray) ToEventOrchestrationUnroutedSetRuleActionsVariableArrayOutput() EventOrchestrationUnroutedSetRuleActionsVariableArrayOutput

func (EventOrchestrationUnroutedSetRuleActionsVariableArray) ToEventOrchestrationUnroutedSetRuleActionsVariableArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedSetRuleActionsVariableArray) ToEventOrchestrationUnroutedSetRuleActionsVariableArrayOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetRuleActionsVariableArrayOutput

type EventOrchestrationUnroutedSetRuleActionsVariableArrayInput added in v3.5.0

type EventOrchestrationUnroutedSetRuleActionsVariableArrayInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedSetRuleActionsVariableArrayOutput() EventOrchestrationUnroutedSetRuleActionsVariableArrayOutput
	ToEventOrchestrationUnroutedSetRuleActionsVariableArrayOutputWithContext(context.Context) EventOrchestrationUnroutedSetRuleActionsVariableArrayOutput
}

EventOrchestrationUnroutedSetRuleActionsVariableArrayInput is an input type that accepts EventOrchestrationUnroutedSetRuleActionsVariableArray and EventOrchestrationUnroutedSetRuleActionsVariableArrayOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedSetRuleActionsVariableArrayInput` via:

EventOrchestrationUnroutedSetRuleActionsVariableArray{ EventOrchestrationUnroutedSetRuleActionsVariableArgs{...} }

type EventOrchestrationUnroutedSetRuleActionsVariableArrayOutput added in v3.5.0

type EventOrchestrationUnroutedSetRuleActionsVariableArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedSetRuleActionsVariableArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetRuleActionsVariableArrayOutput) Index added in v3.5.0

func (EventOrchestrationUnroutedSetRuleActionsVariableArrayOutput) ToEventOrchestrationUnroutedSetRuleActionsVariableArrayOutput added in v3.5.0

func (EventOrchestrationUnroutedSetRuleActionsVariableArrayOutput) ToEventOrchestrationUnroutedSetRuleActionsVariableArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedSetRuleActionsVariableArrayOutput) ToEventOrchestrationUnroutedSetRuleActionsVariableArrayOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetRuleActionsVariableArrayOutput

type EventOrchestrationUnroutedSetRuleActionsVariableInput added in v3.5.0

type EventOrchestrationUnroutedSetRuleActionsVariableInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedSetRuleActionsVariableOutput() EventOrchestrationUnroutedSetRuleActionsVariableOutput
	ToEventOrchestrationUnroutedSetRuleActionsVariableOutputWithContext(context.Context) EventOrchestrationUnroutedSetRuleActionsVariableOutput
}

EventOrchestrationUnroutedSetRuleActionsVariableInput is an input type that accepts EventOrchestrationUnroutedSetRuleActionsVariableArgs and EventOrchestrationUnroutedSetRuleActionsVariableOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedSetRuleActionsVariableInput` via:

EventOrchestrationUnroutedSetRuleActionsVariableArgs{...}

type EventOrchestrationUnroutedSetRuleActionsVariableOutput added in v3.5.0

type EventOrchestrationUnroutedSetRuleActionsVariableOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedSetRuleActionsVariableOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetRuleActionsVariableOutput) Name added in v3.5.0

The name of the variable

func (EventOrchestrationUnroutedSetRuleActionsVariableOutput) Path added in v3.5.0

Path to a field in an event, in dot-notation. This supports both [PD-CEF](https://support.pagerduty.com/docs/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.

func (EventOrchestrationUnroutedSetRuleActionsVariableOutput) ToEventOrchestrationUnroutedSetRuleActionsVariableOutput added in v3.5.0

func (EventOrchestrationUnroutedSetRuleActionsVariableOutput) ToEventOrchestrationUnroutedSetRuleActionsVariableOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedSetRuleActionsVariableOutput) ToEventOrchestrationUnroutedSetRuleActionsVariableOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetRuleActionsVariableOutput

func (EventOrchestrationUnroutedSetRuleActionsVariableOutput) Type added in v3.5.0

Only `regex` is supported

func (EventOrchestrationUnroutedSetRuleActionsVariableOutput) Value added in v3.5.0

The Regex expression to match against. Must use valid [RE2 regular expression](https://github.com/google/re2/wiki/Syntax) syntax.

type EventOrchestrationUnroutedSetRuleArgs added in v3.5.0

type EventOrchestrationUnroutedSetRuleArgs struct {
	// Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
	Actions EventOrchestrationUnroutedSetRuleActionsInput `pulumi:"actions"`
	// 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.
	Conditions EventOrchestrationUnroutedSetRuleConditionArrayInput `pulumi:"conditions"`
	// Indicates whether the rule is disabled and would therefore not be evaluated.
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// The ID of this set of rules. Rules in other sets can route events into this set using the rule's `routeTo` property.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A description of this rule's purpose.
	Label pulumi.StringPtrInput `pulumi:"label"`
}

func (EventOrchestrationUnroutedSetRuleArgs) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetRuleArgs) ToEventOrchestrationUnroutedSetRuleOutput added in v3.5.0

func (i EventOrchestrationUnroutedSetRuleArgs) ToEventOrchestrationUnroutedSetRuleOutput() EventOrchestrationUnroutedSetRuleOutput

func (EventOrchestrationUnroutedSetRuleArgs) ToEventOrchestrationUnroutedSetRuleOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedSetRuleArgs) ToEventOrchestrationUnroutedSetRuleOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetRuleOutput

type EventOrchestrationUnroutedSetRuleArray added in v3.5.0

type EventOrchestrationUnroutedSetRuleArray []EventOrchestrationUnroutedSetRuleInput

func (EventOrchestrationUnroutedSetRuleArray) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetRuleArray) ToEventOrchestrationUnroutedSetRuleArrayOutput added in v3.5.0

func (i EventOrchestrationUnroutedSetRuleArray) ToEventOrchestrationUnroutedSetRuleArrayOutput() EventOrchestrationUnroutedSetRuleArrayOutput

func (EventOrchestrationUnroutedSetRuleArray) ToEventOrchestrationUnroutedSetRuleArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedSetRuleArray) ToEventOrchestrationUnroutedSetRuleArrayOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetRuleArrayOutput

type EventOrchestrationUnroutedSetRuleArrayInput added in v3.5.0

type EventOrchestrationUnroutedSetRuleArrayInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedSetRuleArrayOutput() EventOrchestrationUnroutedSetRuleArrayOutput
	ToEventOrchestrationUnroutedSetRuleArrayOutputWithContext(context.Context) EventOrchestrationUnroutedSetRuleArrayOutput
}

EventOrchestrationUnroutedSetRuleArrayInput is an input type that accepts EventOrchestrationUnroutedSetRuleArray and EventOrchestrationUnroutedSetRuleArrayOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedSetRuleArrayInput` via:

EventOrchestrationUnroutedSetRuleArray{ EventOrchestrationUnroutedSetRuleArgs{...} }

type EventOrchestrationUnroutedSetRuleArrayOutput added in v3.5.0

type EventOrchestrationUnroutedSetRuleArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedSetRuleArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetRuleArrayOutput) Index added in v3.5.0

func (EventOrchestrationUnroutedSetRuleArrayOutput) ToEventOrchestrationUnroutedSetRuleArrayOutput added in v3.5.0

func (o EventOrchestrationUnroutedSetRuleArrayOutput) ToEventOrchestrationUnroutedSetRuleArrayOutput() EventOrchestrationUnroutedSetRuleArrayOutput

func (EventOrchestrationUnroutedSetRuleArrayOutput) ToEventOrchestrationUnroutedSetRuleArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedSetRuleArrayOutput) ToEventOrchestrationUnroutedSetRuleArrayOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetRuleArrayOutput

type EventOrchestrationUnroutedSetRuleCondition added in v3.5.0

type EventOrchestrationUnroutedSetRuleCondition struct {
	// A [PCL condition](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview) string.
	Expression string `pulumi:"expression"`
}

type EventOrchestrationUnroutedSetRuleConditionArgs added in v3.5.0

type EventOrchestrationUnroutedSetRuleConditionArgs struct {
	// A [PCL condition](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview) string.
	Expression pulumi.StringInput `pulumi:"expression"`
}

func (EventOrchestrationUnroutedSetRuleConditionArgs) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetRuleConditionArgs) ToEventOrchestrationUnroutedSetRuleConditionOutput added in v3.5.0

func (i EventOrchestrationUnroutedSetRuleConditionArgs) ToEventOrchestrationUnroutedSetRuleConditionOutput() EventOrchestrationUnroutedSetRuleConditionOutput

func (EventOrchestrationUnroutedSetRuleConditionArgs) ToEventOrchestrationUnroutedSetRuleConditionOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedSetRuleConditionArgs) ToEventOrchestrationUnroutedSetRuleConditionOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetRuleConditionOutput

type EventOrchestrationUnroutedSetRuleConditionArray added in v3.5.0

type EventOrchestrationUnroutedSetRuleConditionArray []EventOrchestrationUnroutedSetRuleConditionInput

func (EventOrchestrationUnroutedSetRuleConditionArray) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetRuleConditionArray) ToEventOrchestrationUnroutedSetRuleConditionArrayOutput added in v3.5.0

func (i EventOrchestrationUnroutedSetRuleConditionArray) ToEventOrchestrationUnroutedSetRuleConditionArrayOutput() EventOrchestrationUnroutedSetRuleConditionArrayOutput

func (EventOrchestrationUnroutedSetRuleConditionArray) ToEventOrchestrationUnroutedSetRuleConditionArrayOutputWithContext added in v3.5.0

func (i EventOrchestrationUnroutedSetRuleConditionArray) ToEventOrchestrationUnroutedSetRuleConditionArrayOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetRuleConditionArrayOutput

type EventOrchestrationUnroutedSetRuleConditionArrayInput added in v3.5.0

type EventOrchestrationUnroutedSetRuleConditionArrayInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedSetRuleConditionArrayOutput() EventOrchestrationUnroutedSetRuleConditionArrayOutput
	ToEventOrchestrationUnroutedSetRuleConditionArrayOutputWithContext(context.Context) EventOrchestrationUnroutedSetRuleConditionArrayOutput
}

EventOrchestrationUnroutedSetRuleConditionArrayInput is an input type that accepts EventOrchestrationUnroutedSetRuleConditionArray and EventOrchestrationUnroutedSetRuleConditionArrayOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedSetRuleConditionArrayInput` via:

EventOrchestrationUnroutedSetRuleConditionArray{ EventOrchestrationUnroutedSetRuleConditionArgs{...} }

type EventOrchestrationUnroutedSetRuleConditionArrayOutput added in v3.5.0

type EventOrchestrationUnroutedSetRuleConditionArrayOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedSetRuleConditionArrayOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetRuleConditionArrayOutput) Index added in v3.5.0

func (EventOrchestrationUnroutedSetRuleConditionArrayOutput) ToEventOrchestrationUnroutedSetRuleConditionArrayOutput added in v3.5.0

func (EventOrchestrationUnroutedSetRuleConditionArrayOutput) ToEventOrchestrationUnroutedSetRuleConditionArrayOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedSetRuleConditionArrayOutput) ToEventOrchestrationUnroutedSetRuleConditionArrayOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetRuleConditionArrayOutput

type EventOrchestrationUnroutedSetRuleConditionInput added in v3.5.0

type EventOrchestrationUnroutedSetRuleConditionInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedSetRuleConditionOutput() EventOrchestrationUnroutedSetRuleConditionOutput
	ToEventOrchestrationUnroutedSetRuleConditionOutputWithContext(context.Context) EventOrchestrationUnroutedSetRuleConditionOutput
}

EventOrchestrationUnroutedSetRuleConditionInput is an input type that accepts EventOrchestrationUnroutedSetRuleConditionArgs and EventOrchestrationUnroutedSetRuleConditionOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedSetRuleConditionInput` via:

EventOrchestrationUnroutedSetRuleConditionArgs{...}

type EventOrchestrationUnroutedSetRuleConditionOutput added in v3.5.0

type EventOrchestrationUnroutedSetRuleConditionOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedSetRuleConditionOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetRuleConditionOutput) Expression added in v3.5.0

A [PCL condition](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview) string.

func (EventOrchestrationUnroutedSetRuleConditionOutput) ToEventOrchestrationUnroutedSetRuleConditionOutput added in v3.5.0

func (o EventOrchestrationUnroutedSetRuleConditionOutput) ToEventOrchestrationUnroutedSetRuleConditionOutput() EventOrchestrationUnroutedSetRuleConditionOutput

func (EventOrchestrationUnroutedSetRuleConditionOutput) ToEventOrchestrationUnroutedSetRuleConditionOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedSetRuleConditionOutput) ToEventOrchestrationUnroutedSetRuleConditionOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetRuleConditionOutput

type EventOrchestrationUnroutedSetRuleInput added in v3.5.0

type EventOrchestrationUnroutedSetRuleInput interface {
	pulumi.Input

	ToEventOrchestrationUnroutedSetRuleOutput() EventOrchestrationUnroutedSetRuleOutput
	ToEventOrchestrationUnroutedSetRuleOutputWithContext(context.Context) EventOrchestrationUnroutedSetRuleOutput
}

EventOrchestrationUnroutedSetRuleInput is an input type that accepts EventOrchestrationUnroutedSetRuleArgs and EventOrchestrationUnroutedSetRuleOutput values. You can construct a concrete instance of `EventOrchestrationUnroutedSetRuleInput` via:

EventOrchestrationUnroutedSetRuleArgs{...}

type EventOrchestrationUnroutedSetRuleOutput added in v3.5.0

type EventOrchestrationUnroutedSetRuleOutput struct{ *pulumi.OutputState }

func (EventOrchestrationUnroutedSetRuleOutput) Actions added in v3.5.0

Actions that will be taken to change the resulting alert and incident, when an event matches this rule.

func (EventOrchestrationUnroutedSetRuleOutput) Conditions added in v3.5.0

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.

func (EventOrchestrationUnroutedSetRuleOutput) Disabled added in v3.5.0

Indicates whether the rule is disabled and would therefore not be evaluated.

func (EventOrchestrationUnroutedSetRuleOutput) ElementType added in v3.5.0

func (EventOrchestrationUnroutedSetRuleOutput) Id added in v3.5.0

The ID of this set of rules. Rules in other sets can route events into this set using the rule's `routeTo` property.

func (EventOrchestrationUnroutedSetRuleOutput) Label added in v3.5.0

A description of this rule's purpose.

func (EventOrchestrationUnroutedSetRuleOutput) ToEventOrchestrationUnroutedSetRuleOutput added in v3.5.0

func (o EventOrchestrationUnroutedSetRuleOutput) ToEventOrchestrationUnroutedSetRuleOutput() EventOrchestrationUnroutedSetRuleOutput

func (EventOrchestrationUnroutedSetRuleOutput) ToEventOrchestrationUnroutedSetRuleOutputWithContext added in v3.5.0

func (o EventOrchestrationUnroutedSetRuleOutput) ToEventOrchestrationUnroutedSetRuleOutputWithContext(ctx context.Context) EventOrchestrationUnroutedSetRuleOutput

type EventOrchestrationUnroutedState added in v3.5.0

type EventOrchestrationUnroutedState struct {
	// the `catchAll` actions will be applied if an Event reaches the end of any set without matching any rules in that set.
	CatchAll EventOrchestrationUnroutedCatchAllPtrInput
	// The Event Orchestration to which this Unrouted Orchestration belongs to.
	EventOrchestration pulumi.StringPtrInput
	// An Unrouted 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.
	Sets EventOrchestrationUnroutedSetArrayInput
}

func (EventOrchestrationUnroutedState) ElementType added in v3.5.0

type EventRule

type EventRule struct {
	pulumi.CustomResourceState

	// A list of one or more actions for each rule. Each action within the list is itself a list.
	ActionJson pulumi.StringOutput `pulumi:"actionJson"`
	// Contains a list of specific conditions including `active-between`,`scheduled-weekly`, and `frequency-over`. The first element in the list is the label for the condition, followed by a list of values for the specific condition. For more details on these conditions see [Advanced Condition](https://developer.pagerduty.com/docs/rest-api-v2/global-event-rules-api/#advanced-condition-parameter) in the PagerDuty API documentation.
	AdvancedConditionJson pulumi.StringPtrOutput `pulumi:"advancedConditionJson"`
	// A boolean that indicates whether the rule is a catch-all for the account. This field is read-only through the PagerDuty API.
	CatchAll pulumi.BoolOutput `pulumi:"catchAll"`
	// Contains a list of conditions. The first field in the list is `and` or `or`, followed by a list of operators and values.
	ConditionJson pulumi.StringOutput `pulumi:"conditionJson"`
}

*NOTE: The `EventRule` resource has been deprecated in favor of the Ruleset and RulesetRule resources. Please use the `ruleset` based resources for working with Event Rules.*

An [event rule](https://developer.pagerduty.com/docs/rest-api-v2/global-event-rules-api/) determines what happens to an event that is sent to PagerDuty by monitoring tools and other integrations.

## Example Usage

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal([][]string{
			[]string{
				"route",
				"P5DTL0K",
			},
			[]string{
				"severity",
				"warning",
			},
			[]string{
				"annotate",
				"2 Managed by terraform",
			},
			[]string{
				"priority",
				"PL451DT",
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		tmpJSON1, err := json.Marshal([]interface{}{
			"and",
			[]interface{}{
				"contains",
				[]string{
					"path",
					"payload",
					"source",
				},
				"website",
			},
			[]interface{}{
				"contains",
				[]string{
					"path",
					"headers",
					"from",
					"0",
					"address",
				},
				"homer",
			},
		})
		if err != nil {
			return err
		}
		json1 := string(tmpJSON1)
		tmpJSON2, err := json.Marshal([][]interface{}{
			[]interface{}{
				"scheduled-weekly",
				1565392127032,
				3600000,
				"America/Los_Angeles",
				[]float64{
					1,
					2,
					3,
					5,
					7,
				},
			},
		})
		if err != nil {
			return err
		}
		json2 := string(tmpJSON2)
		_, err = pagerduty.NewEventRule(ctx, "second", &pagerduty.EventRuleArgs{
			ActionJson:            pulumi.String(json0),
			ConditionJson:         pulumi.String(json1),
			AdvancedConditionJson: pulumi.String(json2),
		})
		if err != nil {
			return err
		}
		tmpJSON3, err := json.Marshal([][]string{
			[]string{
				"route",
				"P5DTL0K",
			},
			[]string{
				"severity",
				"warning",
			},
			[]string{
				"annotate",
				"3 Managed by terraform",
			},
			[]string{
				"priority",
				"PL451DT",
			},
		})
		if err != nil {
			return err
		}
		json3 := string(tmpJSON3)
		tmpJSON4, err := json.Marshal([]interface{}{
			"and",
			[]interface{}{
				"contains",
				[]string{
					"path",
					"payload",
					"source",
				},
				"website",
			},
			[]interface{}{
				"contains",
				[]string{
					"path",
					"headers",
					"from",
					"0",
					"address",
				},
				"homer",
			},
		})
		if err != nil {
			return err
		}
		json4 := string(tmpJSON4)
		_, err = pagerduty.NewEventRule(ctx, "third", &pagerduty.EventRuleArgs{
			ActionJson:    pulumi.String(json3),
			ConditionJson: pulumi.String(json4),
		}, pulumi.DependsOn([]pulumi.Resource{
			pagerduty_event_rule.Two,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Event rules can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/eventRule:EventRule main 19acac92-027a-4ea0-b06c-bbf516519601

```

func GetEventRule

func GetEventRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventRuleState, opts ...pulumi.ResourceOption) (*EventRule, error)

GetEventRule gets an existing EventRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventRule

func NewEventRule(ctx *pulumi.Context,
	name string, args *EventRuleArgs, opts ...pulumi.ResourceOption) (*EventRule, error)

NewEventRule registers a new resource with the given unique name, arguments, and options.

func (*EventRule) ElementType

func (*EventRule) ElementType() reflect.Type

func (*EventRule) ToEventRuleOutput

func (i *EventRule) ToEventRuleOutput() EventRuleOutput

func (*EventRule) ToEventRuleOutputWithContext

func (i *EventRule) ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput

type EventRuleArgs

type EventRuleArgs struct {
	// A list of one or more actions for each rule. Each action within the list is itself a list.
	ActionJson pulumi.StringInput
	// Contains a list of specific conditions including `active-between`,`scheduled-weekly`, and `frequency-over`. The first element in the list is the label for the condition, followed by a list of values for the specific condition. For more details on these conditions see [Advanced Condition](https://developer.pagerduty.com/docs/rest-api-v2/global-event-rules-api/#advanced-condition-parameter) in the PagerDuty API documentation.
	AdvancedConditionJson pulumi.StringPtrInput
	// Contains a list of conditions. The first field in the list is `and` or `or`, followed by a list of operators and values.
	ConditionJson pulumi.StringInput
}

The set of arguments for constructing a EventRule resource.

func (EventRuleArgs) ElementType

func (EventRuleArgs) ElementType() reflect.Type

type EventRuleArray

type EventRuleArray []EventRuleInput

func (EventRuleArray) ElementType

func (EventRuleArray) ElementType() reflect.Type

func (EventRuleArray) ToEventRuleArrayOutput

func (i EventRuleArray) ToEventRuleArrayOutput() EventRuleArrayOutput

func (EventRuleArray) ToEventRuleArrayOutputWithContext

func (i EventRuleArray) ToEventRuleArrayOutputWithContext(ctx context.Context) EventRuleArrayOutput

type EventRuleArrayInput

type EventRuleArrayInput interface {
	pulumi.Input

	ToEventRuleArrayOutput() EventRuleArrayOutput
	ToEventRuleArrayOutputWithContext(context.Context) EventRuleArrayOutput
}

EventRuleArrayInput is an input type that accepts EventRuleArray and EventRuleArrayOutput values. You can construct a concrete instance of `EventRuleArrayInput` via:

EventRuleArray{ EventRuleArgs{...} }

type EventRuleArrayOutput

type EventRuleArrayOutput struct{ *pulumi.OutputState }

func (EventRuleArrayOutput) ElementType

func (EventRuleArrayOutput) ElementType() reflect.Type

func (EventRuleArrayOutput) Index

func (EventRuleArrayOutput) ToEventRuleArrayOutput

func (o EventRuleArrayOutput) ToEventRuleArrayOutput() EventRuleArrayOutput

func (EventRuleArrayOutput) ToEventRuleArrayOutputWithContext

func (o EventRuleArrayOutput) ToEventRuleArrayOutputWithContext(ctx context.Context) EventRuleArrayOutput

type EventRuleInput

type EventRuleInput interface {
	pulumi.Input

	ToEventRuleOutput() EventRuleOutput
	ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput
}

type EventRuleMap

type EventRuleMap map[string]EventRuleInput

func (EventRuleMap) ElementType

func (EventRuleMap) ElementType() reflect.Type

func (EventRuleMap) ToEventRuleMapOutput

func (i EventRuleMap) ToEventRuleMapOutput() EventRuleMapOutput

func (EventRuleMap) ToEventRuleMapOutputWithContext

func (i EventRuleMap) ToEventRuleMapOutputWithContext(ctx context.Context) EventRuleMapOutput

type EventRuleMapInput

type EventRuleMapInput interface {
	pulumi.Input

	ToEventRuleMapOutput() EventRuleMapOutput
	ToEventRuleMapOutputWithContext(context.Context) EventRuleMapOutput
}

EventRuleMapInput is an input type that accepts EventRuleMap and EventRuleMapOutput values. You can construct a concrete instance of `EventRuleMapInput` via:

EventRuleMap{ "key": EventRuleArgs{...} }

type EventRuleMapOutput

type EventRuleMapOutput struct{ *pulumi.OutputState }

func (EventRuleMapOutput) ElementType

func (EventRuleMapOutput) ElementType() reflect.Type

func (EventRuleMapOutput) MapIndex

func (EventRuleMapOutput) ToEventRuleMapOutput

func (o EventRuleMapOutput) ToEventRuleMapOutput() EventRuleMapOutput

func (EventRuleMapOutput) ToEventRuleMapOutputWithContext

func (o EventRuleMapOutput) ToEventRuleMapOutputWithContext(ctx context.Context) EventRuleMapOutput

type EventRuleOutput

type EventRuleOutput struct{ *pulumi.OutputState }

func (EventRuleOutput) ActionJson added in v3.5.1

func (o EventRuleOutput) ActionJson() pulumi.StringOutput

A list of one or more actions for each rule. Each action within the list is itself a list.

func (EventRuleOutput) AdvancedConditionJson added in v3.5.1

func (o EventRuleOutput) AdvancedConditionJson() pulumi.StringPtrOutput

Contains a list of specific conditions including `active-between`,`scheduled-weekly`, and `frequency-over`. The first element in the list is the label for the condition, followed by a list of values for the specific condition. For more details on these conditions see [Advanced Condition](https://developer.pagerduty.com/docs/rest-api-v2/global-event-rules-api/#advanced-condition-parameter) in the PagerDuty API documentation.

func (EventRuleOutput) CatchAll added in v3.5.1

func (o EventRuleOutput) CatchAll() pulumi.BoolOutput

A boolean that indicates whether the rule is a catch-all for the account. This field is read-only through the PagerDuty API.

func (EventRuleOutput) ConditionJson added in v3.5.1

func (o EventRuleOutput) ConditionJson() pulumi.StringOutput

Contains a list of conditions. The first field in the list is `and` or `or`, followed by a list of operators and values.

func (EventRuleOutput) ElementType

func (EventRuleOutput) ElementType() reflect.Type

func (EventRuleOutput) ToEventRuleOutput

func (o EventRuleOutput) ToEventRuleOutput() EventRuleOutput

func (EventRuleOutput) ToEventRuleOutputWithContext

func (o EventRuleOutput) ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput

type EventRuleState

type EventRuleState struct {
	// A list of one or more actions for each rule. Each action within the list is itself a list.
	ActionJson pulumi.StringPtrInput
	// Contains a list of specific conditions including `active-between`,`scheduled-weekly`, and `frequency-over`. The first element in the list is the label for the condition, followed by a list of values for the specific condition. For more details on these conditions see [Advanced Condition](https://developer.pagerduty.com/docs/rest-api-v2/global-event-rules-api/#advanced-condition-parameter) in the PagerDuty API documentation.
	AdvancedConditionJson pulumi.StringPtrInput
	// A boolean that indicates whether the rule is a catch-all for the account. This field is read-only through the PagerDuty API.
	CatchAll pulumi.BoolPtrInput
	// Contains a list of conditions. The first field in the list is `and` or `or`, followed by a list of operators and values.
	ConditionJson pulumi.StringPtrInput
}

func (EventRuleState) ElementType

func (EventRuleState) ElementType() reflect.Type

type Extension

type Extension struct {
	pulumi.CustomResourceState

	// The configuration of the service extension as string containing plain JSON-encoded data.
	Config pulumi.StringPtrOutput `pulumi:"config"`
	// The url of the extension.
	// **Note:** The [endpoint URL is Optional API wise](https://api-reference.pagerduty.com/#!/Extensions/post_extensions) in most cases. But in some cases it is a _Required_ parameter. For example, `getExtensionSchema` named `Generic V2 Webhook` doesn't accept `Extension` with no `endpointUrl`, but one with named `Slack` accepts.
	EndpointUrl pulumi.StringPtrOutput `pulumi:"endpointUrl"`
	// This is the objects for which the extension applies (An array of service ids).
	ExtensionObjects pulumi.StringArrayOutput `pulumi:"extensionObjects"`
	// This is the schema for this extension.
	ExtensionSchema pulumi.StringOutput `pulumi:"extensionSchema"`
	// URL at which the entity is uniquely displayed in the Web app
	HtmlUrl pulumi.StringOutput `pulumi:"htmlUrl"`
	// The name of the service extension.
	Name pulumi.StringOutput `pulumi:"name"`
	// A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.
	//
	// **Note:** You can use the `getExtensionSchema` data source to locate the appropriate extension vendor ID.
	Summary pulumi.StringOutput `pulumi:"summary"`
	Type    pulumi.StringOutput `pulumi:"type"`
}

An [extension](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEzMw-create-an-extension) can be associated with a service.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		webhook, err := pagerduty.GetExtensionSchema(ctx, &pagerduty.GetExtensionSchemaArgs{
			Name: "Generic V2 Webhook",
		}, nil)
		if err != nil {
			return err
		}
		exampleUser, err := pagerduty.NewUser(ctx, "exampleUser", &pagerduty.UserArgs{
			Email: pulumi.String("howard.james@example.domain"),
		})
		if err != nil {
			return err
		}
		exampleEscalationPolicy, err := pagerduty.NewEscalationPolicy(ctx, "exampleEscalationPolicy", &pagerduty.EscalationPolicyArgs{
			NumLoops: pulumi.Int(2),
			Rules: pagerduty.EscalationPolicyRuleArray{
				&pagerduty.EscalationPolicyRuleArgs{
					EscalationDelayInMinutes: pulumi.Int(10),
					Targets: pagerduty.EscalationPolicyRuleTargetArray{
						&pagerduty.EscalationPolicyRuleTargetArgs{
							Type: pulumi.String("user"),
							Id:   exampleUser.ID(),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		exampleService, err := pagerduty.NewService(ctx, "exampleService", &pagerduty.ServiceArgs{
			AutoResolveTimeout:     pulumi.String("14400"),
			AcknowledgementTimeout: pulumi.String("600"),
			EscalationPolicy:       exampleEscalationPolicy.ID(),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewExtension(ctx, "slack", &pagerduty.ExtensionArgs{
			EndpointUrl:     pulumi.String("https://generic_webhook_url/XXXXXX/BBBBBB"),
			ExtensionSchema: *pulumi.String(webhook.Id),
			ExtensionObjects: pulumi.StringArray{
				exampleService.ID(),
			},
			Config: pulumi.String(`{
	"restrict": "any",
	"notify_types": {
			"resolve": false,
			"acknowledge": false,
			"assignments": false
	},
	"access_token": "XXX"
}

`),

		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Extensions can be imported using the id.e.g.

```sh

$ pulumi import pagerduty:index/extension:Extension main PLBP09X

```

func GetExtension

func GetExtension(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ExtensionState, opts ...pulumi.ResourceOption) (*Extension, error)

GetExtension gets an existing Extension resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewExtension

func NewExtension(ctx *pulumi.Context,
	name string, args *ExtensionArgs, opts ...pulumi.ResourceOption) (*Extension, error)

NewExtension registers a new resource with the given unique name, arguments, and options.

func (*Extension) ElementType

func (*Extension) ElementType() reflect.Type

func (*Extension) ToExtensionOutput

func (i *Extension) ToExtensionOutput() ExtensionOutput

func (*Extension) ToExtensionOutputWithContext

func (i *Extension) ToExtensionOutputWithContext(ctx context.Context) ExtensionOutput

type ExtensionArgs

type ExtensionArgs struct {
	// The configuration of the service extension as string containing plain JSON-encoded data.
	Config pulumi.StringPtrInput
	// The url of the extension.
	// **Note:** The [endpoint URL is Optional API wise](https://api-reference.pagerduty.com/#!/Extensions/post_extensions) in most cases. But in some cases it is a _Required_ parameter. For example, `getExtensionSchema` named `Generic V2 Webhook` doesn't accept `Extension` with no `endpointUrl`, but one with named `Slack` accepts.
	EndpointUrl pulumi.StringPtrInput
	// This is the objects for which the extension applies (An array of service ids).
	ExtensionObjects pulumi.StringArrayInput
	// This is the schema for this extension.
	ExtensionSchema pulumi.StringInput
	// The name of the service extension.
	Name pulumi.StringPtrInput
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a Extension resource.

func (ExtensionArgs) ElementType

func (ExtensionArgs) ElementType() reflect.Type

type ExtensionArray

type ExtensionArray []ExtensionInput

func (ExtensionArray) ElementType

func (ExtensionArray) ElementType() reflect.Type

func (ExtensionArray) ToExtensionArrayOutput

func (i ExtensionArray) ToExtensionArrayOutput() ExtensionArrayOutput

func (ExtensionArray) ToExtensionArrayOutputWithContext

func (i ExtensionArray) ToExtensionArrayOutputWithContext(ctx context.Context) ExtensionArrayOutput

type ExtensionArrayInput

type ExtensionArrayInput interface {
	pulumi.Input

	ToExtensionArrayOutput() ExtensionArrayOutput
	ToExtensionArrayOutputWithContext(context.Context) ExtensionArrayOutput
}

ExtensionArrayInput is an input type that accepts ExtensionArray and ExtensionArrayOutput values. You can construct a concrete instance of `ExtensionArrayInput` via:

ExtensionArray{ ExtensionArgs{...} }

type ExtensionArrayOutput

type ExtensionArrayOutput struct{ *pulumi.OutputState }

func (ExtensionArrayOutput) ElementType

func (ExtensionArrayOutput) ElementType() reflect.Type

func (ExtensionArrayOutput) Index

func (ExtensionArrayOutput) ToExtensionArrayOutput

func (o ExtensionArrayOutput) ToExtensionArrayOutput() ExtensionArrayOutput

func (ExtensionArrayOutput) ToExtensionArrayOutputWithContext

func (o ExtensionArrayOutput) ToExtensionArrayOutputWithContext(ctx context.Context) ExtensionArrayOutput

type ExtensionInput

type ExtensionInput interface {
	pulumi.Input

	ToExtensionOutput() ExtensionOutput
	ToExtensionOutputWithContext(ctx context.Context) ExtensionOutput
}

type ExtensionMap

type ExtensionMap map[string]ExtensionInput

func (ExtensionMap) ElementType

func (ExtensionMap) ElementType() reflect.Type

func (ExtensionMap) ToExtensionMapOutput

func (i ExtensionMap) ToExtensionMapOutput() ExtensionMapOutput

func (ExtensionMap) ToExtensionMapOutputWithContext

func (i ExtensionMap) ToExtensionMapOutputWithContext(ctx context.Context) ExtensionMapOutput

type ExtensionMapInput

type ExtensionMapInput interface {
	pulumi.Input

	ToExtensionMapOutput() ExtensionMapOutput
	ToExtensionMapOutputWithContext(context.Context) ExtensionMapOutput
}

ExtensionMapInput is an input type that accepts ExtensionMap and ExtensionMapOutput values. You can construct a concrete instance of `ExtensionMapInput` via:

ExtensionMap{ "key": ExtensionArgs{...} }

type ExtensionMapOutput

type ExtensionMapOutput struct{ *pulumi.OutputState }

func (ExtensionMapOutput) ElementType

func (ExtensionMapOutput) ElementType() reflect.Type

func (ExtensionMapOutput) MapIndex

func (ExtensionMapOutput) ToExtensionMapOutput

func (o ExtensionMapOutput) ToExtensionMapOutput() ExtensionMapOutput

func (ExtensionMapOutput) ToExtensionMapOutputWithContext

func (o ExtensionMapOutput) ToExtensionMapOutputWithContext(ctx context.Context) ExtensionMapOutput

type ExtensionOutput

type ExtensionOutput struct{ *pulumi.OutputState }

func (ExtensionOutput) Config added in v3.5.1

The configuration of the service extension as string containing plain JSON-encoded data.

func (ExtensionOutput) ElementType

func (ExtensionOutput) ElementType() reflect.Type

func (ExtensionOutput) EndpointUrl added in v3.5.1

func (o ExtensionOutput) EndpointUrl() pulumi.StringPtrOutput

The url of the extension. **Note:** The [endpoint URL is Optional API wise](https://api-reference.pagerduty.com/#!/Extensions/post_extensions) in most cases. But in some cases it is a _Required_ parameter. For example, `getExtensionSchema` named `Generic V2 Webhook` doesn't accept `Extension` with no `endpointUrl`, but one with named `Slack` accepts.

func (ExtensionOutput) ExtensionObjects added in v3.5.1

func (o ExtensionOutput) ExtensionObjects() pulumi.StringArrayOutput

This is the objects for which the extension applies (An array of service ids).

func (ExtensionOutput) ExtensionSchema added in v3.5.1

func (o ExtensionOutput) ExtensionSchema() pulumi.StringOutput

This is the schema for this extension.

func (ExtensionOutput) HtmlUrl added in v3.5.1

func (o ExtensionOutput) HtmlUrl() pulumi.StringOutput

URL at which the entity is uniquely displayed in the Web app

func (ExtensionOutput) Name added in v3.5.1

The name of the service extension.

func (ExtensionOutput) Summary added in v3.5.1

func (o ExtensionOutput) Summary() pulumi.StringOutput

A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.

**Note:** You can use the `getExtensionSchema` data source to locate the appropriate extension vendor ID.

func (ExtensionOutput) ToExtensionOutput

func (o ExtensionOutput) ToExtensionOutput() ExtensionOutput

func (ExtensionOutput) ToExtensionOutputWithContext

func (o ExtensionOutput) ToExtensionOutputWithContext(ctx context.Context) ExtensionOutput

func (ExtensionOutput) Type added in v3.5.1

type ExtensionServiceNow

type ExtensionServiceNow struct {
	pulumi.CustomResourceState

	EndpointUrl pulumi.StringPtrOutput `pulumi:"endpointUrl"`
	// This is the objects for which the extension applies (An array of service ids).
	ExtensionObjects pulumi.StringArrayOutput `pulumi:"extensionObjects"`
	// This is the schema for this extension.
	ExtensionSchema pulumi.StringOutput `pulumi:"extensionSchema"`
	// URL at which the entity is uniquely displayed in the Web app.
	HtmlUrl pulumi.StringOutput `pulumi:"htmlUrl"`
	// The name of the service extension.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ServiceNow referer.
	Referer pulumi.StringOutput `pulumi:"referer"`
	// The ServiceNow password.
	SnowPassword pulumi.StringOutput `pulumi:"snowPassword"`
	// The ServiceNow username.
	SnowUser pulumi.StringOutput `pulumi:"snowUser"`
	// A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.
	Summary pulumi.StringOutput `pulumi:"summary"`
	// The ServiceNow sync option.
	SyncOptions pulumi.StringOutput `pulumi:"syncOptions"`
	// Target Webhook URL.
	Target pulumi.StringOutput `pulumi:"target"`
	// The ServiceNow task type, typically `incident`.
	TaskType pulumi.StringOutput `pulumi:"taskType"`
	Type     pulumi.StringOutput `pulumi:"type"`
}

A special case for [extension](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEzMw-create-an-extension) for ServiceNow.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		servicenow, err := pagerduty.GetExtensionSchema(ctx, &pagerduty.GetExtensionSchemaArgs{
			Name: "ServiceNow (v7)",
		}, nil)
		if err != nil {
			return err
		}
		exampleUser, err := pagerduty.NewUser(ctx, "exampleUser", &pagerduty.UserArgs{
			Email: pulumi.String("howard.james@example.domain"),
		})
		if err != nil {
			return err
		}
		exampleEscalationPolicy, err := pagerduty.NewEscalationPolicy(ctx, "exampleEscalationPolicy", &pagerduty.EscalationPolicyArgs{
			NumLoops: pulumi.Int(2),
			Rules: pagerduty.EscalationPolicyRuleArray{
				&pagerduty.EscalationPolicyRuleArgs{
					EscalationDelayInMinutes: pulumi.Int(10),
					Targets: pagerduty.EscalationPolicyRuleTargetArray{
						&pagerduty.EscalationPolicyRuleTargetArgs{
							Type: pulumi.String("user"),
							Id:   exampleUser.ID(),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		exampleService, err := pagerduty.NewService(ctx, "exampleService", &pagerduty.ServiceArgs{
			AutoResolveTimeout:     pulumi.String("14400"),
			AcknowledgementTimeout: pulumi.String("600"),
			EscalationPolicy:       exampleEscalationPolicy.ID(),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewExtensionServiceNow(ctx, "snow", &pagerduty.ExtensionServiceNowArgs{
			ExtensionSchema: *pulumi.String(servicenow.Id),
			ExtensionObjects: pulumi.StringArray{
				exampleService.ID(),
			},
			SnowUser:     pulumi.String("meeps"),
			SnowPassword: pulumi.String("zorz"),
			SyncOptions:  pulumi.String("manual_sync"),
			Target:       pulumi.String("https://foo.servicenow.com/webhook_foo"),
			TaskType:     pulumi.String("incident"),
			Referer:      pulumi.String("None"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Extensions can be imported using the id.e.g.

```sh

$ pulumi import pagerduty:index/extensionServiceNow:ExtensionServiceNow main PLBP09X

```

func GetExtensionServiceNow

func GetExtensionServiceNow(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ExtensionServiceNowState, opts ...pulumi.ResourceOption) (*ExtensionServiceNow, error)

GetExtensionServiceNow gets an existing ExtensionServiceNow resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewExtensionServiceNow

func NewExtensionServiceNow(ctx *pulumi.Context,
	name string, args *ExtensionServiceNowArgs, opts ...pulumi.ResourceOption) (*ExtensionServiceNow, error)

NewExtensionServiceNow registers a new resource with the given unique name, arguments, and options.

func (*ExtensionServiceNow) ElementType

func (*ExtensionServiceNow) ElementType() reflect.Type

func (*ExtensionServiceNow) ToExtensionServiceNowOutput

func (i *ExtensionServiceNow) ToExtensionServiceNowOutput() ExtensionServiceNowOutput

func (*ExtensionServiceNow) ToExtensionServiceNowOutputWithContext

func (i *ExtensionServiceNow) ToExtensionServiceNowOutputWithContext(ctx context.Context) ExtensionServiceNowOutput

type ExtensionServiceNowArgs

type ExtensionServiceNowArgs struct {
	EndpointUrl pulumi.StringPtrInput
	// This is the objects for which the extension applies (An array of service ids).
	ExtensionObjects pulumi.StringArrayInput
	// This is the schema for this extension.
	ExtensionSchema pulumi.StringInput
	// The name of the service extension.
	Name pulumi.StringPtrInput
	// The ServiceNow referer.
	Referer pulumi.StringInput
	// The ServiceNow password.
	SnowPassword pulumi.StringInput
	// The ServiceNow username.
	SnowUser pulumi.StringInput
	// A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.
	Summary pulumi.StringPtrInput
	// The ServiceNow sync option.
	SyncOptions pulumi.StringInput
	// Target Webhook URL.
	Target pulumi.StringInput
	// The ServiceNow task type, typically `incident`.
	TaskType pulumi.StringInput
	Type     pulumi.StringPtrInput
}

The set of arguments for constructing a ExtensionServiceNow resource.

func (ExtensionServiceNowArgs) ElementType

func (ExtensionServiceNowArgs) ElementType() reflect.Type

type ExtensionServiceNowArray

type ExtensionServiceNowArray []ExtensionServiceNowInput

func (ExtensionServiceNowArray) ElementType

func (ExtensionServiceNowArray) ElementType() reflect.Type

func (ExtensionServiceNowArray) ToExtensionServiceNowArrayOutput

func (i ExtensionServiceNowArray) ToExtensionServiceNowArrayOutput() ExtensionServiceNowArrayOutput

func (ExtensionServiceNowArray) ToExtensionServiceNowArrayOutputWithContext

func (i ExtensionServiceNowArray) ToExtensionServiceNowArrayOutputWithContext(ctx context.Context) ExtensionServiceNowArrayOutput

type ExtensionServiceNowArrayInput

type ExtensionServiceNowArrayInput interface {
	pulumi.Input

	ToExtensionServiceNowArrayOutput() ExtensionServiceNowArrayOutput
	ToExtensionServiceNowArrayOutputWithContext(context.Context) ExtensionServiceNowArrayOutput
}

ExtensionServiceNowArrayInput is an input type that accepts ExtensionServiceNowArray and ExtensionServiceNowArrayOutput values. You can construct a concrete instance of `ExtensionServiceNowArrayInput` via:

ExtensionServiceNowArray{ ExtensionServiceNowArgs{...} }

type ExtensionServiceNowArrayOutput

type ExtensionServiceNowArrayOutput struct{ *pulumi.OutputState }

func (ExtensionServiceNowArrayOutput) ElementType

func (ExtensionServiceNowArrayOutput) Index

func (ExtensionServiceNowArrayOutput) ToExtensionServiceNowArrayOutput

func (o ExtensionServiceNowArrayOutput) ToExtensionServiceNowArrayOutput() ExtensionServiceNowArrayOutput

func (ExtensionServiceNowArrayOutput) ToExtensionServiceNowArrayOutputWithContext

func (o ExtensionServiceNowArrayOutput) ToExtensionServiceNowArrayOutputWithContext(ctx context.Context) ExtensionServiceNowArrayOutput

type ExtensionServiceNowInput

type ExtensionServiceNowInput interface {
	pulumi.Input

	ToExtensionServiceNowOutput() ExtensionServiceNowOutput
	ToExtensionServiceNowOutputWithContext(ctx context.Context) ExtensionServiceNowOutput
}

type ExtensionServiceNowMap

type ExtensionServiceNowMap map[string]ExtensionServiceNowInput

func (ExtensionServiceNowMap) ElementType

func (ExtensionServiceNowMap) ElementType() reflect.Type

func (ExtensionServiceNowMap) ToExtensionServiceNowMapOutput

func (i ExtensionServiceNowMap) ToExtensionServiceNowMapOutput() ExtensionServiceNowMapOutput

func (ExtensionServiceNowMap) ToExtensionServiceNowMapOutputWithContext

func (i ExtensionServiceNowMap) ToExtensionServiceNowMapOutputWithContext(ctx context.Context) ExtensionServiceNowMapOutput

type ExtensionServiceNowMapInput

type ExtensionServiceNowMapInput interface {
	pulumi.Input

	ToExtensionServiceNowMapOutput() ExtensionServiceNowMapOutput
	ToExtensionServiceNowMapOutputWithContext(context.Context) ExtensionServiceNowMapOutput
}

ExtensionServiceNowMapInput is an input type that accepts ExtensionServiceNowMap and ExtensionServiceNowMapOutput values. You can construct a concrete instance of `ExtensionServiceNowMapInput` via:

ExtensionServiceNowMap{ "key": ExtensionServiceNowArgs{...} }

type ExtensionServiceNowMapOutput

type ExtensionServiceNowMapOutput struct{ *pulumi.OutputState }

func (ExtensionServiceNowMapOutput) ElementType

func (ExtensionServiceNowMapOutput) MapIndex

func (ExtensionServiceNowMapOutput) ToExtensionServiceNowMapOutput

func (o ExtensionServiceNowMapOutput) ToExtensionServiceNowMapOutput() ExtensionServiceNowMapOutput

func (ExtensionServiceNowMapOutput) ToExtensionServiceNowMapOutputWithContext

func (o ExtensionServiceNowMapOutput) ToExtensionServiceNowMapOutputWithContext(ctx context.Context) ExtensionServiceNowMapOutput

type ExtensionServiceNowOutput

type ExtensionServiceNowOutput struct{ *pulumi.OutputState }

func (ExtensionServiceNowOutput) ElementType

func (ExtensionServiceNowOutput) ElementType() reflect.Type

func (ExtensionServiceNowOutput) EndpointUrl added in v3.5.1

func (ExtensionServiceNowOutput) ExtensionObjects added in v3.5.1

func (o ExtensionServiceNowOutput) ExtensionObjects() pulumi.StringArrayOutput

This is the objects for which the extension applies (An array of service ids).

func (ExtensionServiceNowOutput) ExtensionSchema added in v3.5.1

func (o ExtensionServiceNowOutput) ExtensionSchema() pulumi.StringOutput

This is the schema for this extension.

func (ExtensionServiceNowOutput) HtmlUrl added in v3.5.1

URL at which the entity is uniquely displayed in the Web app.

func (ExtensionServiceNowOutput) Name added in v3.5.1

The name of the service extension.

func (ExtensionServiceNowOutput) Referer added in v3.5.1

The ServiceNow referer.

func (ExtensionServiceNowOutput) SnowPassword added in v3.5.1

The ServiceNow password.

func (ExtensionServiceNowOutput) SnowUser added in v3.5.1

The ServiceNow username.

func (ExtensionServiceNowOutput) Summary added in v3.5.1

A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.

func (ExtensionServiceNowOutput) SyncOptions added in v3.5.1

The ServiceNow sync option.

func (ExtensionServiceNowOutput) Target added in v3.5.1

Target Webhook URL.

func (ExtensionServiceNowOutput) TaskType added in v3.5.1

The ServiceNow task type, typically `incident`.

func (ExtensionServiceNowOutput) ToExtensionServiceNowOutput

func (o ExtensionServiceNowOutput) ToExtensionServiceNowOutput() ExtensionServiceNowOutput

func (ExtensionServiceNowOutput) ToExtensionServiceNowOutputWithContext

func (o ExtensionServiceNowOutput) ToExtensionServiceNowOutputWithContext(ctx context.Context) ExtensionServiceNowOutput

func (ExtensionServiceNowOutput) Type added in v3.5.1

type ExtensionServiceNowState

type ExtensionServiceNowState struct {
	EndpointUrl pulumi.StringPtrInput
	// This is the objects for which the extension applies (An array of service ids).
	ExtensionObjects pulumi.StringArrayInput
	// This is the schema for this extension.
	ExtensionSchema pulumi.StringPtrInput
	// URL at which the entity is uniquely displayed in the Web app.
	HtmlUrl pulumi.StringPtrInput
	// The name of the service extension.
	Name pulumi.StringPtrInput
	// The ServiceNow referer.
	Referer pulumi.StringPtrInput
	// The ServiceNow password.
	SnowPassword pulumi.StringPtrInput
	// The ServiceNow username.
	SnowUser pulumi.StringPtrInput
	// A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.
	Summary pulumi.StringPtrInput
	// The ServiceNow sync option.
	SyncOptions pulumi.StringPtrInput
	// Target Webhook URL.
	Target pulumi.StringPtrInput
	// The ServiceNow task type, typically `incident`.
	TaskType pulumi.StringPtrInput
	Type     pulumi.StringPtrInput
}

func (ExtensionServiceNowState) ElementType

func (ExtensionServiceNowState) ElementType() reflect.Type

type ExtensionState

type ExtensionState struct {
	// The configuration of the service extension as string containing plain JSON-encoded data.
	Config pulumi.StringPtrInput
	// The url of the extension.
	// **Note:** The [endpoint URL is Optional API wise](https://api-reference.pagerduty.com/#!/Extensions/post_extensions) in most cases. But in some cases it is a _Required_ parameter. For example, `getExtensionSchema` named `Generic V2 Webhook` doesn't accept `Extension` with no `endpointUrl`, but one with named `Slack` accepts.
	EndpointUrl pulumi.StringPtrInput
	// This is the objects for which the extension applies (An array of service ids).
	ExtensionObjects pulumi.StringArrayInput
	// This is the schema for this extension.
	ExtensionSchema pulumi.StringPtrInput
	// URL at which the entity is uniquely displayed in the Web app
	HtmlUrl pulumi.StringPtrInput
	// The name of the service extension.
	Name pulumi.StringPtrInput
	// A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.
	//
	// **Note:** You can use the `getExtensionSchema` data source to locate the appropriate extension vendor ID.
	Summary pulumi.StringPtrInput
	Type    pulumi.StringPtrInput
}

func (ExtensionState) ElementType

func (ExtensionState) ElementType() reflect.Type

type GetAutomationActionsActionActionDataReference added in v3.7.0

type GetAutomationActionsActionActionDataReference struct {
	// (Optional) The command to execute the script with.
	InvocationCommand string `pulumi:"invocationCommand"`
	// (Optional) The arguments to pass to the Process Automation job execution.
	ProcessAutomationJobArguments string `pulumi:"processAutomationJobArguments"`
	// (Required for `processAutomation` action_type) The ID of the Process Automation job to execute.
	ProcessAutomationJobId string `pulumi:"processAutomationJobId"`
	// (Optional) The expression that filters on which nodes a Process Automation Job executes [Learn more](https://docs.rundeck.com/docs/manual/05-nodes.html#node-filtering).
	ProcessAutomationNodeFilter string `pulumi:"processAutomationNodeFilter"`
	// (Required for `script` action_type) Body of the script to be executed on the Runner. Max length is 16777215 characters.
	Script string `pulumi:"script"`
}

type GetAutomationActionsActionActionDataReferenceArgs added in v3.7.0

type GetAutomationActionsActionActionDataReferenceArgs struct {
	// (Optional) The command to execute the script with.
	InvocationCommand pulumi.StringInput `pulumi:"invocationCommand"`
	// (Optional) The arguments to pass to the Process Automation job execution.
	ProcessAutomationJobArguments pulumi.StringInput `pulumi:"processAutomationJobArguments"`
	// (Required for `processAutomation` action_type) The ID of the Process Automation job to execute.
	ProcessAutomationJobId pulumi.StringInput `pulumi:"processAutomationJobId"`
	// (Optional) The expression that filters on which nodes a Process Automation Job executes [Learn more](https://docs.rundeck.com/docs/manual/05-nodes.html#node-filtering).
	ProcessAutomationNodeFilter pulumi.StringInput `pulumi:"processAutomationNodeFilter"`
	// (Required for `script` action_type) Body of the script to be executed on the Runner. Max length is 16777215 characters.
	Script pulumi.StringInput `pulumi:"script"`
}

func (GetAutomationActionsActionActionDataReferenceArgs) ElementType added in v3.7.0

func (GetAutomationActionsActionActionDataReferenceArgs) ToGetAutomationActionsActionActionDataReferenceOutput added in v3.7.0

func (i GetAutomationActionsActionActionDataReferenceArgs) ToGetAutomationActionsActionActionDataReferenceOutput() GetAutomationActionsActionActionDataReferenceOutput

func (GetAutomationActionsActionActionDataReferenceArgs) ToGetAutomationActionsActionActionDataReferenceOutputWithContext added in v3.7.0

func (i GetAutomationActionsActionActionDataReferenceArgs) ToGetAutomationActionsActionActionDataReferenceOutputWithContext(ctx context.Context) GetAutomationActionsActionActionDataReferenceOutput

type GetAutomationActionsActionActionDataReferenceArray added in v3.7.0

type GetAutomationActionsActionActionDataReferenceArray []GetAutomationActionsActionActionDataReferenceInput

func (GetAutomationActionsActionActionDataReferenceArray) ElementType added in v3.7.0

func (GetAutomationActionsActionActionDataReferenceArray) ToGetAutomationActionsActionActionDataReferenceArrayOutput added in v3.7.0

func (i GetAutomationActionsActionActionDataReferenceArray) ToGetAutomationActionsActionActionDataReferenceArrayOutput() GetAutomationActionsActionActionDataReferenceArrayOutput

func (GetAutomationActionsActionActionDataReferenceArray) ToGetAutomationActionsActionActionDataReferenceArrayOutputWithContext added in v3.7.0

func (i GetAutomationActionsActionActionDataReferenceArray) ToGetAutomationActionsActionActionDataReferenceArrayOutputWithContext(ctx context.Context) GetAutomationActionsActionActionDataReferenceArrayOutput

type GetAutomationActionsActionActionDataReferenceArrayInput added in v3.7.0

type GetAutomationActionsActionActionDataReferenceArrayInput interface {
	pulumi.Input

	ToGetAutomationActionsActionActionDataReferenceArrayOutput() GetAutomationActionsActionActionDataReferenceArrayOutput
	ToGetAutomationActionsActionActionDataReferenceArrayOutputWithContext(context.Context) GetAutomationActionsActionActionDataReferenceArrayOutput
}

GetAutomationActionsActionActionDataReferenceArrayInput is an input type that accepts GetAutomationActionsActionActionDataReferenceArray and GetAutomationActionsActionActionDataReferenceArrayOutput values. You can construct a concrete instance of `GetAutomationActionsActionActionDataReferenceArrayInput` via:

GetAutomationActionsActionActionDataReferenceArray{ GetAutomationActionsActionActionDataReferenceArgs{...} }

type GetAutomationActionsActionActionDataReferenceArrayOutput added in v3.7.0

type GetAutomationActionsActionActionDataReferenceArrayOutput struct{ *pulumi.OutputState }

func (GetAutomationActionsActionActionDataReferenceArrayOutput) ElementType added in v3.7.0

func (GetAutomationActionsActionActionDataReferenceArrayOutput) Index added in v3.7.0

func (GetAutomationActionsActionActionDataReferenceArrayOutput) ToGetAutomationActionsActionActionDataReferenceArrayOutput added in v3.7.0

func (GetAutomationActionsActionActionDataReferenceArrayOutput) ToGetAutomationActionsActionActionDataReferenceArrayOutputWithContext added in v3.7.0

func (o GetAutomationActionsActionActionDataReferenceArrayOutput) ToGetAutomationActionsActionActionDataReferenceArrayOutputWithContext(ctx context.Context) GetAutomationActionsActionActionDataReferenceArrayOutput

type GetAutomationActionsActionActionDataReferenceInput added in v3.7.0

type GetAutomationActionsActionActionDataReferenceInput interface {
	pulumi.Input

	ToGetAutomationActionsActionActionDataReferenceOutput() GetAutomationActionsActionActionDataReferenceOutput
	ToGetAutomationActionsActionActionDataReferenceOutputWithContext(context.Context) GetAutomationActionsActionActionDataReferenceOutput
}

GetAutomationActionsActionActionDataReferenceInput is an input type that accepts GetAutomationActionsActionActionDataReferenceArgs and GetAutomationActionsActionActionDataReferenceOutput values. You can construct a concrete instance of `GetAutomationActionsActionActionDataReferenceInput` via:

GetAutomationActionsActionActionDataReferenceArgs{...}

type GetAutomationActionsActionActionDataReferenceOutput added in v3.7.0

type GetAutomationActionsActionActionDataReferenceOutput struct{ *pulumi.OutputState }

func (GetAutomationActionsActionActionDataReferenceOutput) ElementType added in v3.7.0

func (GetAutomationActionsActionActionDataReferenceOutput) InvocationCommand added in v3.7.0

(Optional) The command to execute the script with.

func (GetAutomationActionsActionActionDataReferenceOutput) ProcessAutomationJobArguments added in v3.7.0

(Optional) The arguments to pass to the Process Automation job execution.

func (GetAutomationActionsActionActionDataReferenceOutput) ProcessAutomationJobId added in v3.7.0

(Required for `processAutomation` action_type) The ID of the Process Automation job to execute.

func (GetAutomationActionsActionActionDataReferenceOutput) ProcessAutomationNodeFilter added in v3.9.0

(Optional) The expression that filters on which nodes a Process Automation Job executes [Learn more](https://docs.rundeck.com/docs/manual/05-nodes.html#node-filtering).

func (GetAutomationActionsActionActionDataReferenceOutput) Script added in v3.7.0

(Required for `script` action_type) Body of the script to be executed on the Runner. Max length is 16777215 characters.

func (GetAutomationActionsActionActionDataReferenceOutput) ToGetAutomationActionsActionActionDataReferenceOutput added in v3.7.0

func (o GetAutomationActionsActionActionDataReferenceOutput) ToGetAutomationActionsActionActionDataReferenceOutput() GetAutomationActionsActionActionDataReferenceOutput

func (GetAutomationActionsActionActionDataReferenceOutput) ToGetAutomationActionsActionActionDataReferenceOutputWithContext added in v3.7.0

func (o GetAutomationActionsActionActionDataReferenceOutput) ToGetAutomationActionsActionActionDataReferenceOutputWithContext(ctx context.Context) GetAutomationActionsActionActionDataReferenceOutput

type GetEventOrchestrationIntegrationDetail added in v3.10.0

type GetEventOrchestrationIntegrationDetail struct {
	// ID of the integration
	Id         string                                            `pulumi:"id"`
	Label      string                                            `pulumi:"label"`
	Parameters []GetEventOrchestrationIntegrationDetailParameter `pulumi:"parameters"`
}

type GetEventOrchestrationIntegrationDetailArgs added in v3.10.0

type GetEventOrchestrationIntegrationDetailArgs struct {
	// ID of the integration
	Id         pulumi.StringInput                                        `pulumi:"id"`
	Label      pulumi.StringInput                                        `pulumi:"label"`
	Parameters GetEventOrchestrationIntegrationDetailParameterArrayInput `pulumi:"parameters"`
}

func (GetEventOrchestrationIntegrationDetailArgs) ElementType added in v3.10.0

func (GetEventOrchestrationIntegrationDetailArgs) ToGetEventOrchestrationIntegrationDetailOutput added in v3.10.0

func (i GetEventOrchestrationIntegrationDetailArgs) ToGetEventOrchestrationIntegrationDetailOutput() GetEventOrchestrationIntegrationDetailOutput

func (GetEventOrchestrationIntegrationDetailArgs) ToGetEventOrchestrationIntegrationDetailOutputWithContext added in v3.10.0

func (i GetEventOrchestrationIntegrationDetailArgs) ToGetEventOrchestrationIntegrationDetailOutputWithContext(ctx context.Context) GetEventOrchestrationIntegrationDetailOutput

type GetEventOrchestrationIntegrationDetailArray added in v3.10.0

type GetEventOrchestrationIntegrationDetailArray []GetEventOrchestrationIntegrationDetailInput

func (GetEventOrchestrationIntegrationDetailArray) ElementType added in v3.10.0

func (GetEventOrchestrationIntegrationDetailArray) ToGetEventOrchestrationIntegrationDetailArrayOutput added in v3.10.0

func (i GetEventOrchestrationIntegrationDetailArray) ToGetEventOrchestrationIntegrationDetailArrayOutput() GetEventOrchestrationIntegrationDetailArrayOutput

func (GetEventOrchestrationIntegrationDetailArray) ToGetEventOrchestrationIntegrationDetailArrayOutputWithContext added in v3.10.0

func (i GetEventOrchestrationIntegrationDetailArray) ToGetEventOrchestrationIntegrationDetailArrayOutputWithContext(ctx context.Context) GetEventOrchestrationIntegrationDetailArrayOutput

type GetEventOrchestrationIntegrationDetailArrayInput added in v3.10.0

type GetEventOrchestrationIntegrationDetailArrayInput interface {
	pulumi.Input

	ToGetEventOrchestrationIntegrationDetailArrayOutput() GetEventOrchestrationIntegrationDetailArrayOutput
	ToGetEventOrchestrationIntegrationDetailArrayOutputWithContext(context.Context) GetEventOrchestrationIntegrationDetailArrayOutput
}

GetEventOrchestrationIntegrationDetailArrayInput is an input type that accepts GetEventOrchestrationIntegrationDetailArray and GetEventOrchestrationIntegrationDetailArrayOutput values. You can construct a concrete instance of `GetEventOrchestrationIntegrationDetailArrayInput` via:

GetEventOrchestrationIntegrationDetailArray{ GetEventOrchestrationIntegrationDetailArgs{...} }

type GetEventOrchestrationIntegrationDetailArrayOutput added in v3.10.0

type GetEventOrchestrationIntegrationDetailArrayOutput struct{ *pulumi.OutputState }

func (GetEventOrchestrationIntegrationDetailArrayOutput) ElementType added in v3.10.0

func (GetEventOrchestrationIntegrationDetailArrayOutput) Index added in v3.10.0

func (GetEventOrchestrationIntegrationDetailArrayOutput) ToGetEventOrchestrationIntegrationDetailArrayOutput added in v3.10.0

func (o GetEventOrchestrationIntegrationDetailArrayOutput) ToGetEventOrchestrationIntegrationDetailArrayOutput() GetEventOrchestrationIntegrationDetailArrayOutput

func (GetEventOrchestrationIntegrationDetailArrayOutput) ToGetEventOrchestrationIntegrationDetailArrayOutputWithContext added in v3.10.0

func (o GetEventOrchestrationIntegrationDetailArrayOutput) ToGetEventOrchestrationIntegrationDetailArrayOutputWithContext(ctx context.Context) GetEventOrchestrationIntegrationDetailArrayOutput

type GetEventOrchestrationIntegrationDetailInput added in v3.10.0

type GetEventOrchestrationIntegrationDetailInput interface {
	pulumi.Input

	ToGetEventOrchestrationIntegrationDetailOutput() GetEventOrchestrationIntegrationDetailOutput
	ToGetEventOrchestrationIntegrationDetailOutputWithContext(context.Context) GetEventOrchestrationIntegrationDetailOutput
}

GetEventOrchestrationIntegrationDetailInput is an input type that accepts GetEventOrchestrationIntegrationDetailArgs and GetEventOrchestrationIntegrationDetailOutput values. You can construct a concrete instance of `GetEventOrchestrationIntegrationDetailInput` via:

GetEventOrchestrationIntegrationDetailArgs{...}

type GetEventOrchestrationIntegrationDetailOutput added in v3.10.0

type GetEventOrchestrationIntegrationDetailOutput struct{ *pulumi.OutputState }

func (GetEventOrchestrationIntegrationDetailOutput) ElementType added in v3.10.0

func (GetEventOrchestrationIntegrationDetailOutput) Id added in v3.10.0

ID of the integration

func (GetEventOrchestrationIntegrationDetailOutput) Label added in v3.10.0

func (GetEventOrchestrationIntegrationDetailOutput) Parameters added in v3.10.0

func (GetEventOrchestrationIntegrationDetailOutput) ToGetEventOrchestrationIntegrationDetailOutput added in v3.10.0

func (o GetEventOrchestrationIntegrationDetailOutput) ToGetEventOrchestrationIntegrationDetailOutput() GetEventOrchestrationIntegrationDetailOutput

func (GetEventOrchestrationIntegrationDetailOutput) ToGetEventOrchestrationIntegrationDetailOutputWithContext added in v3.10.0

func (o GetEventOrchestrationIntegrationDetailOutput) ToGetEventOrchestrationIntegrationDetailOutputWithContext(ctx context.Context) GetEventOrchestrationIntegrationDetailOutput

type GetEventOrchestrationIntegrationDetailParameter added in v3.10.0

type GetEventOrchestrationIntegrationDetailParameter struct {
	// Routing key that routes to this Orchestration.
	RoutingKey string `pulumi:"routingKey"`
	// Type of the routing key. `global` is the default type.
	Type string `pulumi:"type"`
}

type GetEventOrchestrationIntegrationDetailParameterArgs added in v3.10.0

type GetEventOrchestrationIntegrationDetailParameterArgs struct {
	// Routing key that routes to this Orchestration.
	RoutingKey pulumi.StringInput `pulumi:"routingKey"`
	// Type of the routing key. `global` is the default type.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetEventOrchestrationIntegrationDetailParameterArgs) ElementType added in v3.10.0

func (GetEventOrchestrationIntegrationDetailParameterArgs) ToGetEventOrchestrationIntegrationDetailParameterOutput added in v3.10.0

func (i GetEventOrchestrationIntegrationDetailParameterArgs) ToGetEventOrchestrationIntegrationDetailParameterOutput() GetEventOrchestrationIntegrationDetailParameterOutput

func (GetEventOrchestrationIntegrationDetailParameterArgs) ToGetEventOrchestrationIntegrationDetailParameterOutputWithContext added in v3.10.0

func (i GetEventOrchestrationIntegrationDetailParameterArgs) ToGetEventOrchestrationIntegrationDetailParameterOutputWithContext(ctx context.Context) GetEventOrchestrationIntegrationDetailParameterOutput

type GetEventOrchestrationIntegrationDetailParameterArray added in v3.10.0

type GetEventOrchestrationIntegrationDetailParameterArray []GetEventOrchestrationIntegrationDetailParameterInput

func (GetEventOrchestrationIntegrationDetailParameterArray) ElementType added in v3.10.0

func (GetEventOrchestrationIntegrationDetailParameterArray) ToGetEventOrchestrationIntegrationDetailParameterArrayOutput added in v3.10.0

func (i GetEventOrchestrationIntegrationDetailParameterArray) ToGetEventOrchestrationIntegrationDetailParameterArrayOutput() GetEventOrchestrationIntegrationDetailParameterArrayOutput

func (GetEventOrchestrationIntegrationDetailParameterArray) ToGetEventOrchestrationIntegrationDetailParameterArrayOutputWithContext added in v3.10.0

func (i GetEventOrchestrationIntegrationDetailParameterArray) ToGetEventOrchestrationIntegrationDetailParameterArrayOutputWithContext(ctx context.Context) GetEventOrchestrationIntegrationDetailParameterArrayOutput

type GetEventOrchestrationIntegrationDetailParameterArrayInput added in v3.10.0

type GetEventOrchestrationIntegrationDetailParameterArrayInput interface {
	pulumi.Input

	ToGetEventOrchestrationIntegrationDetailParameterArrayOutput() GetEventOrchestrationIntegrationDetailParameterArrayOutput
	ToGetEventOrchestrationIntegrationDetailParameterArrayOutputWithContext(context.Context) GetEventOrchestrationIntegrationDetailParameterArrayOutput
}

GetEventOrchestrationIntegrationDetailParameterArrayInput is an input type that accepts GetEventOrchestrationIntegrationDetailParameterArray and GetEventOrchestrationIntegrationDetailParameterArrayOutput values. You can construct a concrete instance of `GetEventOrchestrationIntegrationDetailParameterArrayInput` via:

GetEventOrchestrationIntegrationDetailParameterArray{ GetEventOrchestrationIntegrationDetailParameterArgs{...} }

type GetEventOrchestrationIntegrationDetailParameterArrayOutput added in v3.10.0

type GetEventOrchestrationIntegrationDetailParameterArrayOutput struct{ *pulumi.OutputState }

func (GetEventOrchestrationIntegrationDetailParameterArrayOutput) ElementType added in v3.10.0

func (GetEventOrchestrationIntegrationDetailParameterArrayOutput) Index added in v3.10.0

func (GetEventOrchestrationIntegrationDetailParameterArrayOutput) ToGetEventOrchestrationIntegrationDetailParameterArrayOutput added in v3.10.0

func (GetEventOrchestrationIntegrationDetailParameterArrayOutput) ToGetEventOrchestrationIntegrationDetailParameterArrayOutputWithContext added in v3.10.0

func (o GetEventOrchestrationIntegrationDetailParameterArrayOutput) ToGetEventOrchestrationIntegrationDetailParameterArrayOutputWithContext(ctx context.Context) GetEventOrchestrationIntegrationDetailParameterArrayOutput

type GetEventOrchestrationIntegrationDetailParameterInput added in v3.10.0

type GetEventOrchestrationIntegrationDetailParameterInput interface {
	pulumi.Input

	ToGetEventOrchestrationIntegrationDetailParameterOutput() GetEventOrchestrationIntegrationDetailParameterOutput
	ToGetEventOrchestrationIntegrationDetailParameterOutputWithContext(context.Context) GetEventOrchestrationIntegrationDetailParameterOutput
}

GetEventOrchestrationIntegrationDetailParameterInput is an input type that accepts GetEventOrchestrationIntegrationDetailParameterArgs and GetEventOrchestrationIntegrationDetailParameterOutput values. You can construct a concrete instance of `GetEventOrchestrationIntegrationDetailParameterInput` via:

GetEventOrchestrationIntegrationDetailParameterArgs{...}

type GetEventOrchestrationIntegrationDetailParameterOutput added in v3.10.0

type GetEventOrchestrationIntegrationDetailParameterOutput struct{ *pulumi.OutputState }

func (GetEventOrchestrationIntegrationDetailParameterOutput) ElementType added in v3.10.0

func (GetEventOrchestrationIntegrationDetailParameterOutput) RoutingKey added in v3.10.0

Routing key that routes to this Orchestration.

func (GetEventOrchestrationIntegrationDetailParameterOutput) ToGetEventOrchestrationIntegrationDetailParameterOutput added in v3.10.0

func (GetEventOrchestrationIntegrationDetailParameterOutput) ToGetEventOrchestrationIntegrationDetailParameterOutputWithContext added in v3.10.0

func (o GetEventOrchestrationIntegrationDetailParameterOutput) ToGetEventOrchestrationIntegrationDetailParameterOutputWithContext(ctx context.Context) GetEventOrchestrationIntegrationDetailParameterOutput

func (GetEventOrchestrationIntegrationDetailParameterOutput) Type added in v3.10.0

Type of the routing key. `global` is the default type.

type GetEventOrchestrationIntegrationParameter added in v3.5.0

type GetEventOrchestrationIntegrationParameter struct {
	// Routing key that routes to this Orchestration.
	RoutingKey string `pulumi:"routingKey"`
	// Type of the routing key. `global` is the default type.
	Type string `pulumi:"type"`
}

type GetEventOrchestrationIntegrationParameterArgs added in v3.5.0

type GetEventOrchestrationIntegrationParameterArgs struct {
	// Routing key that routes to this Orchestration.
	RoutingKey pulumi.StringInput `pulumi:"routingKey"`
	// Type of the routing key. `global` is the default type.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetEventOrchestrationIntegrationParameterArgs) ElementType added in v3.5.0

func (GetEventOrchestrationIntegrationParameterArgs) ToGetEventOrchestrationIntegrationParameterOutput added in v3.5.0

func (i GetEventOrchestrationIntegrationParameterArgs) ToGetEventOrchestrationIntegrationParameterOutput() GetEventOrchestrationIntegrationParameterOutput

func (GetEventOrchestrationIntegrationParameterArgs) ToGetEventOrchestrationIntegrationParameterOutputWithContext added in v3.5.0

func (i GetEventOrchestrationIntegrationParameterArgs) ToGetEventOrchestrationIntegrationParameterOutputWithContext(ctx context.Context) GetEventOrchestrationIntegrationParameterOutput

type GetEventOrchestrationIntegrationParameterArray added in v3.5.0

type GetEventOrchestrationIntegrationParameterArray []GetEventOrchestrationIntegrationParameterInput

func (GetEventOrchestrationIntegrationParameterArray) ElementType added in v3.5.0

func (GetEventOrchestrationIntegrationParameterArray) ToGetEventOrchestrationIntegrationParameterArrayOutput added in v3.5.0

func (i GetEventOrchestrationIntegrationParameterArray) ToGetEventOrchestrationIntegrationParameterArrayOutput() GetEventOrchestrationIntegrationParameterArrayOutput

func (GetEventOrchestrationIntegrationParameterArray) ToGetEventOrchestrationIntegrationParameterArrayOutputWithContext added in v3.5.0

func (i GetEventOrchestrationIntegrationParameterArray) ToGetEventOrchestrationIntegrationParameterArrayOutputWithContext(ctx context.Context) GetEventOrchestrationIntegrationParameterArrayOutput

type GetEventOrchestrationIntegrationParameterArrayInput added in v3.5.0

type GetEventOrchestrationIntegrationParameterArrayInput interface {
	pulumi.Input

	ToGetEventOrchestrationIntegrationParameterArrayOutput() GetEventOrchestrationIntegrationParameterArrayOutput
	ToGetEventOrchestrationIntegrationParameterArrayOutputWithContext(context.Context) GetEventOrchestrationIntegrationParameterArrayOutput
}

GetEventOrchestrationIntegrationParameterArrayInput is an input type that accepts GetEventOrchestrationIntegrationParameterArray and GetEventOrchestrationIntegrationParameterArrayOutput values. You can construct a concrete instance of `GetEventOrchestrationIntegrationParameterArrayInput` via:

GetEventOrchestrationIntegrationParameterArray{ GetEventOrchestrationIntegrationParameterArgs{...} }

type GetEventOrchestrationIntegrationParameterArrayOutput added in v3.5.0

type GetEventOrchestrationIntegrationParameterArrayOutput struct{ *pulumi.OutputState }

func (GetEventOrchestrationIntegrationParameterArrayOutput) ElementType added in v3.5.0

func (GetEventOrchestrationIntegrationParameterArrayOutput) Index added in v3.5.0

func (GetEventOrchestrationIntegrationParameterArrayOutput) ToGetEventOrchestrationIntegrationParameterArrayOutput added in v3.5.0

func (GetEventOrchestrationIntegrationParameterArrayOutput) ToGetEventOrchestrationIntegrationParameterArrayOutputWithContext added in v3.5.0

func (o GetEventOrchestrationIntegrationParameterArrayOutput) ToGetEventOrchestrationIntegrationParameterArrayOutputWithContext(ctx context.Context) GetEventOrchestrationIntegrationParameterArrayOutput

type GetEventOrchestrationIntegrationParameterInput added in v3.5.0

type GetEventOrchestrationIntegrationParameterInput interface {
	pulumi.Input

	ToGetEventOrchestrationIntegrationParameterOutput() GetEventOrchestrationIntegrationParameterOutput
	ToGetEventOrchestrationIntegrationParameterOutputWithContext(context.Context) GetEventOrchestrationIntegrationParameterOutput
}

GetEventOrchestrationIntegrationParameterInput is an input type that accepts GetEventOrchestrationIntegrationParameterArgs and GetEventOrchestrationIntegrationParameterOutput values. You can construct a concrete instance of `GetEventOrchestrationIntegrationParameterInput` via:

GetEventOrchestrationIntegrationParameterArgs{...}

type GetEventOrchestrationIntegrationParameterOutput added in v3.5.0

type GetEventOrchestrationIntegrationParameterOutput struct{ *pulumi.OutputState }

func (GetEventOrchestrationIntegrationParameterOutput) ElementType added in v3.5.0

func (GetEventOrchestrationIntegrationParameterOutput) RoutingKey added in v3.5.0

Routing key that routes to this Orchestration.

func (GetEventOrchestrationIntegrationParameterOutput) ToGetEventOrchestrationIntegrationParameterOutput added in v3.5.0

func (o GetEventOrchestrationIntegrationParameterOutput) ToGetEventOrchestrationIntegrationParameterOutput() GetEventOrchestrationIntegrationParameterOutput

func (GetEventOrchestrationIntegrationParameterOutput) ToGetEventOrchestrationIntegrationParameterOutputWithContext added in v3.5.0

func (o GetEventOrchestrationIntegrationParameterOutput) ToGetEventOrchestrationIntegrationParameterOutputWithContext(ctx context.Context) GetEventOrchestrationIntegrationParameterOutput

func (GetEventOrchestrationIntegrationParameterOutput) Type added in v3.5.0

Type of the routing key. `global` is the default type.

type GetEventOrchestrationsArgs added in v3.7.0

type GetEventOrchestrationsArgs struct {
	// The regex name of Global Event orchestrations to find in the PagerDuty API.
	NameFilter string `pulumi:"nameFilter"`
}

A collection of arguments for invoking getEventOrchestrations.

type GetEventOrchestrationsEventOrchestration added in v3.7.0

type GetEventOrchestrationsEventOrchestration struct {
	// ID of the integration
	Id string `pulumi:"id"`
	// An integration for the Event Orchestration.
	Integrations []GetEventOrchestrationsEventOrchestrationIntegration `pulumi:"integrations"`
	// The name of the found Event Orchestration.
	Name string `pulumi:"name"`
}

type GetEventOrchestrationsEventOrchestrationArgs added in v3.7.0

type GetEventOrchestrationsEventOrchestrationArgs struct {
	// ID of the integration
	Id pulumi.StringInput `pulumi:"id"`
	// An integration for the Event Orchestration.
	Integrations GetEventOrchestrationsEventOrchestrationIntegrationArrayInput `pulumi:"integrations"`
	// The name of the found Event Orchestration.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetEventOrchestrationsEventOrchestrationArgs) ElementType added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationArgs) ToGetEventOrchestrationsEventOrchestrationOutput added in v3.7.0

func (i GetEventOrchestrationsEventOrchestrationArgs) ToGetEventOrchestrationsEventOrchestrationOutput() GetEventOrchestrationsEventOrchestrationOutput

func (GetEventOrchestrationsEventOrchestrationArgs) ToGetEventOrchestrationsEventOrchestrationOutputWithContext added in v3.7.0

func (i GetEventOrchestrationsEventOrchestrationArgs) ToGetEventOrchestrationsEventOrchestrationOutputWithContext(ctx context.Context) GetEventOrchestrationsEventOrchestrationOutput

type GetEventOrchestrationsEventOrchestrationArray added in v3.7.0

type GetEventOrchestrationsEventOrchestrationArray []GetEventOrchestrationsEventOrchestrationInput

func (GetEventOrchestrationsEventOrchestrationArray) ElementType added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationArray) ToGetEventOrchestrationsEventOrchestrationArrayOutput added in v3.7.0

func (i GetEventOrchestrationsEventOrchestrationArray) ToGetEventOrchestrationsEventOrchestrationArrayOutput() GetEventOrchestrationsEventOrchestrationArrayOutput

func (GetEventOrchestrationsEventOrchestrationArray) ToGetEventOrchestrationsEventOrchestrationArrayOutputWithContext added in v3.7.0

func (i GetEventOrchestrationsEventOrchestrationArray) ToGetEventOrchestrationsEventOrchestrationArrayOutputWithContext(ctx context.Context) GetEventOrchestrationsEventOrchestrationArrayOutput

type GetEventOrchestrationsEventOrchestrationArrayInput added in v3.7.0

type GetEventOrchestrationsEventOrchestrationArrayInput interface {
	pulumi.Input

	ToGetEventOrchestrationsEventOrchestrationArrayOutput() GetEventOrchestrationsEventOrchestrationArrayOutput
	ToGetEventOrchestrationsEventOrchestrationArrayOutputWithContext(context.Context) GetEventOrchestrationsEventOrchestrationArrayOutput
}

GetEventOrchestrationsEventOrchestrationArrayInput is an input type that accepts GetEventOrchestrationsEventOrchestrationArray and GetEventOrchestrationsEventOrchestrationArrayOutput values. You can construct a concrete instance of `GetEventOrchestrationsEventOrchestrationArrayInput` via:

GetEventOrchestrationsEventOrchestrationArray{ GetEventOrchestrationsEventOrchestrationArgs{...} }

type GetEventOrchestrationsEventOrchestrationArrayOutput added in v3.7.0

type GetEventOrchestrationsEventOrchestrationArrayOutput struct{ *pulumi.OutputState }

func (GetEventOrchestrationsEventOrchestrationArrayOutput) ElementType added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationArrayOutput) Index added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationArrayOutput) ToGetEventOrchestrationsEventOrchestrationArrayOutput added in v3.7.0

func (o GetEventOrchestrationsEventOrchestrationArrayOutput) ToGetEventOrchestrationsEventOrchestrationArrayOutput() GetEventOrchestrationsEventOrchestrationArrayOutput

func (GetEventOrchestrationsEventOrchestrationArrayOutput) ToGetEventOrchestrationsEventOrchestrationArrayOutputWithContext added in v3.7.0

func (o GetEventOrchestrationsEventOrchestrationArrayOutput) ToGetEventOrchestrationsEventOrchestrationArrayOutputWithContext(ctx context.Context) GetEventOrchestrationsEventOrchestrationArrayOutput

type GetEventOrchestrationsEventOrchestrationInput added in v3.7.0

type GetEventOrchestrationsEventOrchestrationInput interface {
	pulumi.Input

	ToGetEventOrchestrationsEventOrchestrationOutput() GetEventOrchestrationsEventOrchestrationOutput
	ToGetEventOrchestrationsEventOrchestrationOutputWithContext(context.Context) GetEventOrchestrationsEventOrchestrationOutput
}

GetEventOrchestrationsEventOrchestrationInput is an input type that accepts GetEventOrchestrationsEventOrchestrationArgs and GetEventOrchestrationsEventOrchestrationOutput values. You can construct a concrete instance of `GetEventOrchestrationsEventOrchestrationInput` via:

GetEventOrchestrationsEventOrchestrationArgs{...}

type GetEventOrchestrationsEventOrchestrationIntegration added in v3.7.0

type GetEventOrchestrationsEventOrchestrationIntegration struct {
	// ID of the integration
	Id         string                                                         `pulumi:"id"`
	Label      string                                                         `pulumi:"label"`
	Parameters []GetEventOrchestrationsEventOrchestrationIntegrationParameter `pulumi:"parameters"`
}

type GetEventOrchestrationsEventOrchestrationIntegrationArgs added in v3.7.0

type GetEventOrchestrationsEventOrchestrationIntegrationArgs struct {
	// ID of the integration
	Id         pulumi.StringInput                                                     `pulumi:"id"`
	Label      pulumi.StringInput                                                     `pulumi:"label"`
	Parameters GetEventOrchestrationsEventOrchestrationIntegrationParameterArrayInput `pulumi:"parameters"`
}

func (GetEventOrchestrationsEventOrchestrationIntegrationArgs) ElementType added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationIntegrationArgs) ToGetEventOrchestrationsEventOrchestrationIntegrationOutput added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationIntegrationArgs) ToGetEventOrchestrationsEventOrchestrationIntegrationOutputWithContext added in v3.7.0

func (i GetEventOrchestrationsEventOrchestrationIntegrationArgs) ToGetEventOrchestrationsEventOrchestrationIntegrationOutputWithContext(ctx context.Context) GetEventOrchestrationsEventOrchestrationIntegrationOutput

type GetEventOrchestrationsEventOrchestrationIntegrationArray added in v3.7.0

type GetEventOrchestrationsEventOrchestrationIntegrationArray []GetEventOrchestrationsEventOrchestrationIntegrationInput

func (GetEventOrchestrationsEventOrchestrationIntegrationArray) ElementType added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationIntegrationArray) ToGetEventOrchestrationsEventOrchestrationIntegrationArrayOutput added in v3.7.0

func (i GetEventOrchestrationsEventOrchestrationIntegrationArray) ToGetEventOrchestrationsEventOrchestrationIntegrationArrayOutput() GetEventOrchestrationsEventOrchestrationIntegrationArrayOutput

func (GetEventOrchestrationsEventOrchestrationIntegrationArray) ToGetEventOrchestrationsEventOrchestrationIntegrationArrayOutputWithContext added in v3.7.0

func (i GetEventOrchestrationsEventOrchestrationIntegrationArray) ToGetEventOrchestrationsEventOrchestrationIntegrationArrayOutputWithContext(ctx context.Context) GetEventOrchestrationsEventOrchestrationIntegrationArrayOutput

type GetEventOrchestrationsEventOrchestrationIntegrationArrayInput added in v3.7.0

type GetEventOrchestrationsEventOrchestrationIntegrationArrayInput interface {
	pulumi.Input

	ToGetEventOrchestrationsEventOrchestrationIntegrationArrayOutput() GetEventOrchestrationsEventOrchestrationIntegrationArrayOutput
	ToGetEventOrchestrationsEventOrchestrationIntegrationArrayOutputWithContext(context.Context) GetEventOrchestrationsEventOrchestrationIntegrationArrayOutput
}

GetEventOrchestrationsEventOrchestrationIntegrationArrayInput is an input type that accepts GetEventOrchestrationsEventOrchestrationIntegrationArray and GetEventOrchestrationsEventOrchestrationIntegrationArrayOutput values. You can construct a concrete instance of `GetEventOrchestrationsEventOrchestrationIntegrationArrayInput` via:

GetEventOrchestrationsEventOrchestrationIntegrationArray{ GetEventOrchestrationsEventOrchestrationIntegrationArgs{...} }

type GetEventOrchestrationsEventOrchestrationIntegrationArrayOutput added in v3.7.0

type GetEventOrchestrationsEventOrchestrationIntegrationArrayOutput struct{ *pulumi.OutputState }

func (GetEventOrchestrationsEventOrchestrationIntegrationArrayOutput) ElementType added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationIntegrationArrayOutput) Index added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationIntegrationArrayOutput) ToGetEventOrchestrationsEventOrchestrationIntegrationArrayOutput added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationIntegrationArrayOutput) ToGetEventOrchestrationsEventOrchestrationIntegrationArrayOutputWithContext added in v3.7.0

func (o GetEventOrchestrationsEventOrchestrationIntegrationArrayOutput) ToGetEventOrchestrationsEventOrchestrationIntegrationArrayOutputWithContext(ctx context.Context) GetEventOrchestrationsEventOrchestrationIntegrationArrayOutput

type GetEventOrchestrationsEventOrchestrationIntegrationInput added in v3.7.0

type GetEventOrchestrationsEventOrchestrationIntegrationInput interface {
	pulumi.Input

	ToGetEventOrchestrationsEventOrchestrationIntegrationOutput() GetEventOrchestrationsEventOrchestrationIntegrationOutput
	ToGetEventOrchestrationsEventOrchestrationIntegrationOutputWithContext(context.Context) GetEventOrchestrationsEventOrchestrationIntegrationOutput
}

GetEventOrchestrationsEventOrchestrationIntegrationInput is an input type that accepts GetEventOrchestrationsEventOrchestrationIntegrationArgs and GetEventOrchestrationsEventOrchestrationIntegrationOutput values. You can construct a concrete instance of `GetEventOrchestrationsEventOrchestrationIntegrationInput` via:

GetEventOrchestrationsEventOrchestrationIntegrationArgs{...}

type GetEventOrchestrationsEventOrchestrationIntegrationOutput added in v3.7.0

type GetEventOrchestrationsEventOrchestrationIntegrationOutput struct{ *pulumi.OutputState }

func (GetEventOrchestrationsEventOrchestrationIntegrationOutput) ElementType added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationIntegrationOutput) Id added in v3.7.0

ID of the integration

func (GetEventOrchestrationsEventOrchestrationIntegrationOutput) Label added in v3.10.0

func (GetEventOrchestrationsEventOrchestrationIntegrationOutput) Parameters added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationIntegrationOutput) ToGetEventOrchestrationsEventOrchestrationIntegrationOutput added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationIntegrationOutput) ToGetEventOrchestrationsEventOrchestrationIntegrationOutputWithContext added in v3.7.0

func (o GetEventOrchestrationsEventOrchestrationIntegrationOutput) ToGetEventOrchestrationsEventOrchestrationIntegrationOutputWithContext(ctx context.Context) GetEventOrchestrationsEventOrchestrationIntegrationOutput

type GetEventOrchestrationsEventOrchestrationIntegrationParameter added in v3.7.0

type GetEventOrchestrationsEventOrchestrationIntegrationParameter struct {
	// Routing key that routes to this Orchestration.
	RoutingKey string `pulumi:"routingKey"`
	// Type of the routing key. `global` is the default type.
	Type string `pulumi:"type"`
}

type GetEventOrchestrationsEventOrchestrationIntegrationParameterArgs added in v3.7.0

type GetEventOrchestrationsEventOrchestrationIntegrationParameterArgs struct {
	// Routing key that routes to this Orchestration.
	RoutingKey pulumi.StringInput `pulumi:"routingKey"`
	// Type of the routing key. `global` is the default type.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetEventOrchestrationsEventOrchestrationIntegrationParameterArgs) ElementType added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationIntegrationParameterArgs) ToGetEventOrchestrationsEventOrchestrationIntegrationParameterOutput added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationIntegrationParameterArgs) ToGetEventOrchestrationsEventOrchestrationIntegrationParameterOutputWithContext added in v3.7.0

func (i GetEventOrchestrationsEventOrchestrationIntegrationParameterArgs) ToGetEventOrchestrationsEventOrchestrationIntegrationParameterOutputWithContext(ctx context.Context) GetEventOrchestrationsEventOrchestrationIntegrationParameterOutput

type GetEventOrchestrationsEventOrchestrationIntegrationParameterArray added in v3.7.0

type GetEventOrchestrationsEventOrchestrationIntegrationParameterArray []GetEventOrchestrationsEventOrchestrationIntegrationParameterInput

func (GetEventOrchestrationsEventOrchestrationIntegrationParameterArray) ElementType added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationIntegrationParameterArray) ToGetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutput added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationIntegrationParameterArray) ToGetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutputWithContext added in v3.7.0

func (i GetEventOrchestrationsEventOrchestrationIntegrationParameterArray) ToGetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutputWithContext(ctx context.Context) GetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutput

type GetEventOrchestrationsEventOrchestrationIntegrationParameterArrayInput added in v3.7.0

type GetEventOrchestrationsEventOrchestrationIntegrationParameterArrayInput interface {
	pulumi.Input

	ToGetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutput() GetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutput
	ToGetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutputWithContext(context.Context) GetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutput
}

GetEventOrchestrationsEventOrchestrationIntegrationParameterArrayInput is an input type that accepts GetEventOrchestrationsEventOrchestrationIntegrationParameterArray and GetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutput values. You can construct a concrete instance of `GetEventOrchestrationsEventOrchestrationIntegrationParameterArrayInput` via:

GetEventOrchestrationsEventOrchestrationIntegrationParameterArray{ GetEventOrchestrationsEventOrchestrationIntegrationParameterArgs{...} }

type GetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutput added in v3.7.0

type GetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutput struct{ *pulumi.OutputState }

func (GetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutput) ElementType added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutput) Index added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutput) ToGetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutput added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutput) ToGetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutputWithContext added in v3.7.0

func (o GetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutput) ToGetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutputWithContext(ctx context.Context) GetEventOrchestrationsEventOrchestrationIntegrationParameterArrayOutput

type GetEventOrchestrationsEventOrchestrationIntegrationParameterInput added in v3.7.0

type GetEventOrchestrationsEventOrchestrationIntegrationParameterInput interface {
	pulumi.Input

	ToGetEventOrchestrationsEventOrchestrationIntegrationParameterOutput() GetEventOrchestrationsEventOrchestrationIntegrationParameterOutput
	ToGetEventOrchestrationsEventOrchestrationIntegrationParameterOutputWithContext(context.Context) GetEventOrchestrationsEventOrchestrationIntegrationParameterOutput
}

GetEventOrchestrationsEventOrchestrationIntegrationParameterInput is an input type that accepts GetEventOrchestrationsEventOrchestrationIntegrationParameterArgs and GetEventOrchestrationsEventOrchestrationIntegrationParameterOutput values. You can construct a concrete instance of `GetEventOrchestrationsEventOrchestrationIntegrationParameterInput` via:

GetEventOrchestrationsEventOrchestrationIntegrationParameterArgs{...}

type GetEventOrchestrationsEventOrchestrationIntegrationParameterOutput added in v3.7.0

type GetEventOrchestrationsEventOrchestrationIntegrationParameterOutput struct{ *pulumi.OutputState }

func (GetEventOrchestrationsEventOrchestrationIntegrationParameterOutput) ElementType added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationIntegrationParameterOutput) RoutingKey added in v3.7.0

Routing key that routes to this Orchestration.

func (GetEventOrchestrationsEventOrchestrationIntegrationParameterOutput) ToGetEventOrchestrationsEventOrchestrationIntegrationParameterOutput added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationIntegrationParameterOutput) ToGetEventOrchestrationsEventOrchestrationIntegrationParameterOutputWithContext added in v3.7.0

func (o GetEventOrchestrationsEventOrchestrationIntegrationParameterOutput) ToGetEventOrchestrationsEventOrchestrationIntegrationParameterOutputWithContext(ctx context.Context) GetEventOrchestrationsEventOrchestrationIntegrationParameterOutput

func (GetEventOrchestrationsEventOrchestrationIntegrationParameterOutput) Type added in v3.7.0

Type of the routing key. `global` is the default type.

type GetEventOrchestrationsEventOrchestrationOutput added in v3.7.0

type GetEventOrchestrationsEventOrchestrationOutput struct{ *pulumi.OutputState }

func (GetEventOrchestrationsEventOrchestrationOutput) ElementType added in v3.7.0

func (GetEventOrchestrationsEventOrchestrationOutput) Id added in v3.7.0

ID of the integration

func (GetEventOrchestrationsEventOrchestrationOutput) Integrations added in v3.7.0

An integration for the Event Orchestration.

func (GetEventOrchestrationsEventOrchestrationOutput) Name added in v3.7.0

The name of the found Event Orchestration.

func (GetEventOrchestrationsEventOrchestrationOutput) ToGetEventOrchestrationsEventOrchestrationOutput added in v3.7.0

func (o GetEventOrchestrationsEventOrchestrationOutput) ToGetEventOrchestrationsEventOrchestrationOutput() GetEventOrchestrationsEventOrchestrationOutput

func (GetEventOrchestrationsEventOrchestrationOutput) ToGetEventOrchestrationsEventOrchestrationOutputWithContext added in v3.7.0

func (o GetEventOrchestrationsEventOrchestrationOutput) ToGetEventOrchestrationsEventOrchestrationOutputWithContext(ctx context.Context) GetEventOrchestrationsEventOrchestrationOutput

type GetEventOrchestrationsOutputArgs added in v3.7.0

type GetEventOrchestrationsOutputArgs struct {
	// The regex name of Global Event orchestrations to find in the PagerDuty API.
	NameFilter pulumi.StringInput `pulumi:"nameFilter"`
}

A collection of arguments for invoking getEventOrchestrations.

func (GetEventOrchestrationsOutputArgs) ElementType added in v3.7.0

type GetEventOrchestrationsResult added in v3.7.0

type GetEventOrchestrationsResult struct {
	EventOrchestrations []GetEventOrchestrationsEventOrchestration `pulumi:"eventOrchestrations"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of the Event Orchestrations which name match `nameFilter` argument.
	NameFilter string `pulumi:"nameFilter"`
}

A collection of values returned by getEventOrchestrations.

func GetEventOrchestrations added in v3.7.0

func GetEventOrchestrations(ctx *pulumi.Context, args *GetEventOrchestrationsArgs, opts ...pulumi.InvokeOption) (*GetEventOrchestrationsResult, error)

Use this data source to get information as a list about specific Global [Event Orchestrations](https://developer.pagerduty.com/api-reference/7ba0fe7bdb26a-list-event-orchestrations) filtered by a Regular Expression provided.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewEventOrchestration(ctx, "tfOrchA", nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewEventOrchestration(ctx, "tfOrchB", nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.GetEventOrchestrations(ctx, &pagerduty.GetEventOrchestrationsArgs{
			NameFilter: ".*Orchestration$",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetEventOrchestrationsResultOutput added in v3.7.0

type GetEventOrchestrationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEventOrchestrations.

func GetEventOrchestrationsOutput added in v3.7.0

func (GetEventOrchestrationsResultOutput) ElementType added in v3.7.0

func (GetEventOrchestrationsResultOutput) EventOrchestrations added in v3.7.0

func (GetEventOrchestrationsResultOutput) Id added in v3.7.0

The provider-assigned unique ID for this managed resource.

func (GetEventOrchestrationsResultOutput) NameFilter added in v3.7.0

The list of the Event Orchestrations which name match `nameFilter` argument.

func (GetEventOrchestrationsResultOutput) ToGetEventOrchestrationsResultOutput added in v3.7.0

func (o GetEventOrchestrationsResultOutput) ToGetEventOrchestrationsResultOutput() GetEventOrchestrationsResultOutput

func (GetEventOrchestrationsResultOutput) ToGetEventOrchestrationsResultOutputWithContext added in v3.7.0

func (o GetEventOrchestrationsResultOutput) ToGetEventOrchestrationsResultOutputWithContext(ctx context.Context) GetEventOrchestrationsResultOutput

type GetExtensionSchemaArgs

type GetExtensionSchemaArgs struct {
	// The extension name to use to find an extension vendor in the PagerDuty API.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getExtensionSchema.

type GetExtensionSchemaOutputArgs added in v3.1.0

type GetExtensionSchemaOutputArgs struct {
	// The extension name to use to find an extension vendor in the PagerDuty API.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getExtensionSchema.

func (GetExtensionSchemaOutputArgs) ElementType added in v3.1.0

type GetExtensionSchemaResult

type GetExtensionSchemaResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The short name of the found extension vendor.
	Name string `pulumi:"name"`
	// The generic service type for this extension vendor.
	Type string `pulumi:"type"`
}

A collection of values returned by getExtensionSchema.

func GetExtensionSchema

func GetExtensionSchema(ctx *pulumi.Context, args *GetExtensionSchemaArgs, opts ...pulumi.InvokeOption) (*GetExtensionSchemaResult, error)

Use this data source to get information about a specific [extension](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEzMA-list-extension-schemas) vendor that you can use for a service (e.g: Slack, Generic Webhook, ServiceNow).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		webhook, err := pagerduty.GetExtensionSchema(ctx, &pagerduty.GetExtensionSchemaArgs{
			Name: "Generic V2 Webhook",
		}, nil)
		if err != nil {
			return err
		}
		exampleUser, err := pagerduty.NewUser(ctx, "exampleUser", &pagerduty.UserArgs{
			Email: pulumi.String("howard.james@example.domain"),
			Teams: pulumi.StringArray{
				pagerduty_team.Example.Id,
			},
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewEscalationPolicy(ctx, "foo", &pagerduty.EscalationPolicyArgs{
			NumLoops: pulumi.Int(2),
			Rules: pagerduty.EscalationPolicyRuleArray{
				&pagerduty.EscalationPolicyRuleArgs{
					EscalationDelayInMinutes: pulumi.Int(10),
					Targets: pagerduty.EscalationPolicyRuleTargetArray{
						&pagerduty.EscalationPolicyRuleTargetArgs{
							Type: pulumi.String("user"),
							Id:   exampleUser.ID(),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		exampleService, err := pagerduty.NewService(ctx, "exampleService", &pagerduty.ServiceArgs{
			AutoResolveTimeout:     pulumi.String("14400"),
			AcknowledgementTimeout: pulumi.String("600"),
			EscalationPolicy:       pulumi.Any(pagerduty_escalation_policy.Example.Id),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewExtension(ctx, "slack", &pagerduty.ExtensionArgs{
			EndpointUrl:     pulumi.String("https://generic_webhook_url/XXXXXX/BBBBBB"),
			ExtensionSchema: *pulumi.String(webhook.Id),
			ExtensionObjects: pulumi.StringArray{
				exampleService.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetExtensionSchemaResultOutput added in v3.1.0

type GetExtensionSchemaResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getExtensionSchema.

func GetExtensionSchemaOutput added in v3.1.0

func (GetExtensionSchemaResultOutput) ElementType added in v3.1.0

func (GetExtensionSchemaResultOutput) Id added in v3.1.0

The provider-assigned unique ID for this managed resource.

func (GetExtensionSchemaResultOutput) Name added in v3.1.0

The short name of the found extension vendor.

func (GetExtensionSchemaResultOutput) ToGetExtensionSchemaResultOutput added in v3.1.0

func (o GetExtensionSchemaResultOutput) ToGetExtensionSchemaResultOutput() GetExtensionSchemaResultOutput

func (GetExtensionSchemaResultOutput) ToGetExtensionSchemaResultOutputWithContext added in v3.1.0

func (o GetExtensionSchemaResultOutput) ToGetExtensionSchemaResultOutputWithContext(ctx context.Context) GetExtensionSchemaResultOutput

func (GetExtensionSchemaResultOutput) Type added in v3.1.0

The generic service type for this extension vendor.

type GetLicenseArgs added in v3.10.0

type GetLicenseArgs struct {
	// Available allocations to assign to users
	AllocationsAvailable *int `pulumi:"allocationsAvailable"`
	// The number of allocations already assigned to users
	CurrentValue *int `pulumi:"currentValue"`
	// Used to determine if the data config *description* is a valid substring of a valid license description assigned to the account.
	Description *string `pulumi:"description"`
	HtmlUrl     *string `pulumi:"htmlUrl"`
	// Used to match the data config *id* with an exact match of a valid license ID assigned to the account.
	Id *string `pulumi:"id"`
	// Used to determine if the data config *name* is a valid substring of a valid license name assigned to the account.
	Name *string `pulumi:"name"`
	// The role group for the license that determines the available `validRoles`
	RoleGroup *string `pulumi:"roleGroup"`
	Self      *string `pulumi:"self"`
	// Summary of the license
	Summary *string `pulumi:"summary"`
	Type    *string `pulumi:"type"`
	// List of allowed roles that may be assigned to a user with this license
	ValidRoles []string `pulumi:"validRoles"`
}

A collection of arguments for invoking getLicense.

type GetLicenseOutputArgs added in v3.10.0

type GetLicenseOutputArgs struct {
	// Available allocations to assign to users
	AllocationsAvailable pulumi.IntPtrInput `pulumi:"allocationsAvailable"`
	// The number of allocations already assigned to users
	CurrentValue pulumi.IntPtrInput `pulumi:"currentValue"`
	// Used to determine if the data config *description* is a valid substring of a valid license description assigned to the account.
	Description pulumi.StringPtrInput `pulumi:"description"`
	HtmlUrl     pulumi.StringPtrInput `pulumi:"htmlUrl"`
	// Used to match the data config *id* with an exact match of a valid license ID assigned to the account.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Used to determine if the data config *name* is a valid substring of a valid license name assigned to the account.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The role group for the license that determines the available `validRoles`
	RoleGroup pulumi.StringPtrInput `pulumi:"roleGroup"`
	Self      pulumi.StringPtrInput `pulumi:"self"`
	// Summary of the license
	Summary pulumi.StringPtrInput `pulumi:"summary"`
	Type    pulumi.StringPtrInput `pulumi:"type"`
	// List of allowed roles that may be assigned to a user with this license
	ValidRoles pulumi.StringArrayInput `pulumi:"validRoles"`
}

A collection of arguments for invoking getLicense.

func (GetLicenseOutputArgs) ElementType added in v3.10.0

func (GetLicenseOutputArgs) ElementType() reflect.Type

type GetLicenseResult added in v3.10.0

type GetLicenseResult struct {
	// Available allocations to assign to users
	AllocationsAvailable int `pulumi:"allocationsAvailable"`
	// The number of allocations already assigned to users
	CurrentValue int    `pulumi:"currentValue"`
	Description  string `pulumi:"description"`
	HtmlUrl      string `pulumi:"htmlUrl"`
	Id           string `pulumi:"id"`
	Name         string `pulumi:"name"`
	// The role group for the license that determines the available `validRoles`
	RoleGroup string `pulumi:"roleGroup"`
	Self      string `pulumi:"self"`
	// Summary of the license
	Summary string `pulumi:"summary"`
	Type    string `pulumi:"type"`
	// List of allowed roles that may be assigned to a user with this license
	ValidRoles []string `pulumi:"validRoles"`
}

A collection of values returned by getLicense.

func GetLicense added in v3.10.0

func GetLicense(ctx *pulumi.Context, args *GetLicenseArgs, opts ...pulumi.InvokeOption) (*GetLicenseResult, error)

Use this data source to use a single purchased [license](https://developer.pagerduty.com/api-reference/4c10cb38f7381-list-licenses) to manage PagerDuty user resources. After applying changes to users' licenses, the `currentValue` and `allocationsAvailable` attributes of licenses will change.

> It is preferred to set the `name` and `description` to their exact values or to set the `id`. However, this will require updating your configuration if the accounts products ever change. To avoid errors when account products change, you may set the `name` of a license to a valid substring such as `"Full User"` or `"Stakeholder"`.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_ := []string{
			"owner",
		}
		fullUser, err := pagerduty.GetLicense(ctx, &pagerduty.GetLicenseArgs{
			Name:        pulumi.StringRef("Full User"),
			Description: pulumi.StringRef(""),
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewUser(ctx, "example", &pagerduty.UserArgs{
			Email:   pulumi.String("125.greenholt.earline@graham.name"),
			License: *pulumi.String(fullUser.Id),
			Role:    pulumi.String("user"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetLicenseResultOutput added in v3.10.0

type GetLicenseResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLicense.

func GetLicenseOutput added in v3.10.0

func GetLicenseOutput(ctx *pulumi.Context, args GetLicenseOutputArgs, opts ...pulumi.InvokeOption) GetLicenseResultOutput

func (GetLicenseResultOutput) AllocationsAvailable added in v3.10.0

func (o GetLicenseResultOutput) AllocationsAvailable() pulumi.IntOutput

Available allocations to assign to users

func (GetLicenseResultOutput) CurrentValue added in v3.10.0

func (o GetLicenseResultOutput) CurrentValue() pulumi.IntOutput

The number of allocations already assigned to users

func (GetLicenseResultOutput) Description added in v3.10.0

func (o GetLicenseResultOutput) Description() pulumi.StringOutput

func (GetLicenseResultOutput) ElementType added in v3.10.0

func (GetLicenseResultOutput) ElementType() reflect.Type

func (GetLicenseResultOutput) HtmlUrl added in v3.10.0

func (GetLicenseResultOutput) Id added in v3.10.0

func (GetLicenseResultOutput) Name added in v3.10.0

func (GetLicenseResultOutput) RoleGroup added in v3.10.0

The role group for the license that determines the available `validRoles`

func (GetLicenseResultOutput) Self added in v3.10.0

func (GetLicenseResultOutput) Summary added in v3.10.0

Summary of the license

func (GetLicenseResultOutput) ToGetLicenseResultOutput added in v3.10.0

func (o GetLicenseResultOutput) ToGetLicenseResultOutput() GetLicenseResultOutput

func (GetLicenseResultOutput) ToGetLicenseResultOutputWithContext added in v3.10.0

func (o GetLicenseResultOutput) ToGetLicenseResultOutputWithContext(ctx context.Context) GetLicenseResultOutput

func (GetLicenseResultOutput) Type added in v3.10.0

func (GetLicenseResultOutput) ValidRoles added in v3.10.0

List of allowed roles that may be assigned to a user with this license

type GetLicensesArgs added in v3.10.0

type GetLicensesArgs struct {
	// Allows to override the default behavior for setting the `id` attribute that is required for data sources.
	Id *string `pulumi:"id"`
	// The list of purchased licenses.
	Licenses []GetLicensesLicense `pulumi:"licenses"`
}

A collection of arguments for invoking getLicenses.

type GetLicensesLicense added in v3.10.0

type GetLicensesLicense struct {
	// Available allocations to assign to users
	AllocationsAvailable int `pulumi:"allocationsAvailable"`
	// The number of allocations already assigned to users
	CurrentValue int `pulumi:"currentValue"`
	// Description of the license
	Description string `pulumi:"description"`
	HtmlUrl     string `pulumi:"htmlUrl"`
	// Allows to override the default behavior for setting the `id` attribute that is required for data sources.
	Id string `pulumi:"id"`
	// Name of the license
	Name string `pulumi:"name"`
	// The role group for the license that determines the available `validRoles`
	RoleGroup string `pulumi:"roleGroup"`
	Self      string `pulumi:"self"`
	// Summary of the license
	Summary string `pulumi:"summary"`
	Type    string `pulumi:"type"`
	// List of allowed roles that may be assigned to a user with this license
	ValidRoles []string `pulumi:"validRoles"`
}

type GetLicensesLicenseArgs added in v3.10.0

type GetLicensesLicenseArgs struct {
	// Available allocations to assign to users
	AllocationsAvailable pulumi.IntInput `pulumi:"allocationsAvailable"`
	// The number of allocations already assigned to users
	CurrentValue pulumi.IntInput `pulumi:"currentValue"`
	// Description of the license
	Description pulumi.StringInput `pulumi:"description"`
	HtmlUrl     pulumi.StringInput `pulumi:"htmlUrl"`
	// Allows to override the default behavior for setting the `id` attribute that is required for data sources.
	Id pulumi.StringInput `pulumi:"id"`
	// Name of the license
	Name pulumi.StringInput `pulumi:"name"`
	// The role group for the license that determines the available `validRoles`
	RoleGroup pulumi.StringInput `pulumi:"roleGroup"`
	Self      pulumi.StringInput `pulumi:"self"`
	// Summary of the license
	Summary pulumi.StringInput `pulumi:"summary"`
	Type    pulumi.StringInput `pulumi:"type"`
	// List of allowed roles that may be assigned to a user with this license
	ValidRoles pulumi.StringArrayInput `pulumi:"validRoles"`
}

func (GetLicensesLicenseArgs) ElementType added in v3.10.0

func (GetLicensesLicenseArgs) ElementType() reflect.Type

func (GetLicensesLicenseArgs) ToGetLicensesLicenseOutput added in v3.10.0

func (i GetLicensesLicenseArgs) ToGetLicensesLicenseOutput() GetLicensesLicenseOutput

func (GetLicensesLicenseArgs) ToGetLicensesLicenseOutputWithContext added in v3.10.0

func (i GetLicensesLicenseArgs) ToGetLicensesLicenseOutputWithContext(ctx context.Context) GetLicensesLicenseOutput

type GetLicensesLicenseArray added in v3.10.0

type GetLicensesLicenseArray []GetLicensesLicenseInput

func (GetLicensesLicenseArray) ElementType added in v3.10.0

func (GetLicensesLicenseArray) ElementType() reflect.Type

func (GetLicensesLicenseArray) ToGetLicensesLicenseArrayOutput added in v3.10.0

func (i GetLicensesLicenseArray) ToGetLicensesLicenseArrayOutput() GetLicensesLicenseArrayOutput

func (GetLicensesLicenseArray) ToGetLicensesLicenseArrayOutputWithContext added in v3.10.0

func (i GetLicensesLicenseArray) ToGetLicensesLicenseArrayOutputWithContext(ctx context.Context) GetLicensesLicenseArrayOutput

type GetLicensesLicenseArrayInput added in v3.10.0

type GetLicensesLicenseArrayInput interface {
	pulumi.Input

	ToGetLicensesLicenseArrayOutput() GetLicensesLicenseArrayOutput
	ToGetLicensesLicenseArrayOutputWithContext(context.Context) GetLicensesLicenseArrayOutput
}

GetLicensesLicenseArrayInput is an input type that accepts GetLicensesLicenseArray and GetLicensesLicenseArrayOutput values. You can construct a concrete instance of `GetLicensesLicenseArrayInput` via:

GetLicensesLicenseArray{ GetLicensesLicenseArgs{...} }

type GetLicensesLicenseArrayOutput added in v3.10.0

type GetLicensesLicenseArrayOutput struct{ *pulumi.OutputState }

func (GetLicensesLicenseArrayOutput) ElementType added in v3.10.0

func (GetLicensesLicenseArrayOutput) Index added in v3.10.0

func (GetLicensesLicenseArrayOutput) ToGetLicensesLicenseArrayOutput added in v3.10.0

func (o GetLicensesLicenseArrayOutput) ToGetLicensesLicenseArrayOutput() GetLicensesLicenseArrayOutput

func (GetLicensesLicenseArrayOutput) ToGetLicensesLicenseArrayOutputWithContext added in v3.10.0

func (o GetLicensesLicenseArrayOutput) ToGetLicensesLicenseArrayOutputWithContext(ctx context.Context) GetLicensesLicenseArrayOutput

type GetLicensesLicenseInput added in v3.10.0

type GetLicensesLicenseInput interface {
	pulumi.Input

	ToGetLicensesLicenseOutput() GetLicensesLicenseOutput
	ToGetLicensesLicenseOutputWithContext(context.Context) GetLicensesLicenseOutput
}

GetLicensesLicenseInput is an input type that accepts GetLicensesLicenseArgs and GetLicensesLicenseOutput values. You can construct a concrete instance of `GetLicensesLicenseInput` via:

GetLicensesLicenseArgs{...}

type GetLicensesLicenseOutput added in v3.10.0

type GetLicensesLicenseOutput struct{ *pulumi.OutputState }

func (GetLicensesLicenseOutput) AllocationsAvailable added in v3.10.0

func (o GetLicensesLicenseOutput) AllocationsAvailable() pulumi.IntOutput

Available allocations to assign to users

func (GetLicensesLicenseOutput) CurrentValue added in v3.10.0

func (o GetLicensesLicenseOutput) CurrentValue() pulumi.IntOutput

The number of allocations already assigned to users

func (GetLicensesLicenseOutput) Description added in v3.10.0

Description of the license

func (GetLicensesLicenseOutput) ElementType added in v3.10.0

func (GetLicensesLicenseOutput) ElementType() reflect.Type

func (GetLicensesLicenseOutput) HtmlUrl added in v3.10.0

func (GetLicensesLicenseOutput) Id added in v3.10.0

Allows to override the default behavior for setting the `id` attribute that is required for data sources.

func (GetLicensesLicenseOutput) Name added in v3.10.0

Name of the license

func (GetLicensesLicenseOutput) RoleGroup added in v3.10.0

The role group for the license that determines the available `validRoles`

func (GetLicensesLicenseOutput) Self added in v3.10.0

func (GetLicensesLicenseOutput) Summary added in v3.10.0

Summary of the license

func (GetLicensesLicenseOutput) ToGetLicensesLicenseOutput added in v3.10.0

func (o GetLicensesLicenseOutput) ToGetLicensesLicenseOutput() GetLicensesLicenseOutput

func (GetLicensesLicenseOutput) ToGetLicensesLicenseOutputWithContext added in v3.10.0

func (o GetLicensesLicenseOutput) ToGetLicensesLicenseOutputWithContext(ctx context.Context) GetLicensesLicenseOutput

func (GetLicensesLicenseOutput) Type added in v3.10.0

func (GetLicensesLicenseOutput) ValidRoles added in v3.10.0

List of allowed roles that may be assigned to a user with this license

type GetLicensesOutputArgs added in v3.10.0

type GetLicensesOutputArgs struct {
	// Allows to override the default behavior for setting the `id` attribute that is required for data sources.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The list of purchased licenses.
	Licenses GetLicensesLicenseArrayInput `pulumi:"licenses"`
}

A collection of arguments for invoking getLicenses.

func (GetLicensesOutputArgs) ElementType added in v3.10.0

func (GetLicensesOutputArgs) ElementType() reflect.Type

type GetLicensesResult added in v3.10.0

type GetLicensesResult struct {
	// ID of the license
	Id *string `pulumi:"id"`
	// The list of purchased licenses.
	Licenses []GetLicensesLicense `pulumi:"licenses"`
}

A collection of values returned by getLicenses.

func GetLicenses added in v3.10.0

func GetLicenses(ctx *pulumi.Context, args *GetLicensesArgs, opts ...pulumi.InvokeOption) (*GetLicensesResult, error)

Use this data source to get information about the purchased [licenses](https://developer.pagerduty.com/api-reference/4c10cb38f7381-list-licenses) that you can use for other managing PagerDuty user resources. To reference a unique license, see `getLicense` [data source](https://registry.terraform.io/providers/PagerDuty/pagerduty/latest/docs/data-sources/pagerduty_license). After applying changes to users' licenses, the `currentValue` and `allocationsAvailable` attributes of licenses will change.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_ := []string{
			"owner",
		}
		licenses, err := pagerduty.GetLicenses(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewUser(ctx, "example", &pagerduty.UserArgs{
			Email:   pulumi.String("125.greenholt.earline@graham.name"),
			License: *pulumi.String(licenses.Licenses[0].Id),
			Role:    pulumi.String("user"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetLicensesResultOutput added in v3.10.0

type GetLicensesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLicenses.

func GetLicensesOutput added in v3.10.0

func GetLicensesOutput(ctx *pulumi.Context, args GetLicensesOutputArgs, opts ...pulumi.InvokeOption) GetLicensesResultOutput

func (GetLicensesResultOutput) ElementType added in v3.10.0

func (GetLicensesResultOutput) ElementType() reflect.Type

func (GetLicensesResultOutput) Id added in v3.10.0

ID of the license

func (GetLicensesResultOutput) Licenses added in v3.10.0

The list of purchased licenses.

func (GetLicensesResultOutput) ToGetLicensesResultOutput added in v3.10.0

func (o GetLicensesResultOutput) ToGetLicensesResultOutput() GetLicensesResultOutput

func (GetLicensesResultOutput) ToGetLicensesResultOutputWithContext added in v3.10.0

func (o GetLicensesResultOutput) ToGetLicensesResultOutputWithContext(ctx context.Context) GetLicensesResultOutput

type GetPriorityArgs

type GetPriorityArgs struct {
	// The name of the priority to find in the PagerDuty API.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getPriority.

type GetPriorityOutputArgs added in v3.1.0

type GetPriorityOutputArgs struct {
	// The name of the priority to find in the PagerDuty API.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getPriority.

func (GetPriorityOutputArgs) ElementType added in v3.1.0

func (GetPriorityOutputArgs) ElementType() reflect.Type

type GetPriorityResult

type GetPriorityResult struct {
	// A description of the found priority.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the found priority.
	Name string `pulumi:"name"`
}

A collection of values returned by getPriority.

func GetPriority

func GetPriority(ctx *pulumi.Context, args *GetPriorityArgs, opts ...pulumi.InvokeOption) (*GetPriorityResult, error)

Use this data source to get information about a specific [priority](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE2NA-list-priorities) that you can use for other PagerDuty resources. A priority is a label representing the importance and impact of an incident. This feature is only available on Standard and Enterprise plans.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		p1, err := pagerduty.GetPriority(ctx, &pagerduty.GetPriorityArgs{
			Name: "P1",
		}, nil)
		if err != nil {
			return err
		}
		fooRuleset, err := pagerduty.NewRuleset(ctx, "fooRuleset", nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewRulesetRule(ctx, "fooRulesetRule", &pagerduty.RulesetRuleArgs{
			Ruleset:  fooRuleset.ID(),
			Position: pulumi.Int(0),
			Disabled: pulumi.Bool(false),
			Conditions: &pagerduty.RulesetRuleConditionsArgs{
				Operator: pulumi.String("and"),
				Subconditions: pagerduty.RulesetRuleConditionsSubconditionArray{
					&pagerduty.RulesetRuleConditionsSubconditionArgs{
						Operator: pulumi.String("contains"),
						Parameters: pagerduty.RulesetRuleConditionsSubconditionParameterArray{
							&pagerduty.RulesetRuleConditionsSubconditionParameterArgs{
								Value: pulumi.String("disk space"),
								Path:  pulumi.String("payload.summary"),
							},
						},
					},
					&pagerduty.RulesetRuleConditionsSubconditionArgs{
						Operator: pulumi.String("contains"),
						Parameters: pagerduty.RulesetRuleConditionsSubconditionParameterArray{
							&pagerduty.RulesetRuleConditionsSubconditionParameterArgs{
								Value: pulumi.String("db"),
								Path:  pulumi.String("payload.source"),
							},
						},
					},
				},
			},
			Actions: &pagerduty.RulesetRuleActionsArgs{
				Routes: pagerduty.RulesetRuleActionsRouteArray{
					&pagerduty.RulesetRuleActionsRouteArgs{
						Value: pulumi.String("P5DTL0K"),
					},
				},
				Priorities: pagerduty.RulesetRuleActionsPriorityArray{
					&pagerduty.RulesetRuleActionsPriorityArgs{
						Value: *pulumi.String(p1.Id),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetPriorityResultOutput added in v3.1.0

type GetPriorityResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPriority.

func GetPriorityOutput added in v3.1.0

func GetPriorityOutput(ctx *pulumi.Context, args GetPriorityOutputArgs, opts ...pulumi.InvokeOption) GetPriorityResultOutput

func (GetPriorityResultOutput) Description added in v3.1.0

A description of the found priority.

func (GetPriorityResultOutput) ElementType added in v3.1.0

func (GetPriorityResultOutput) ElementType() reflect.Type

func (GetPriorityResultOutput) Id added in v3.1.0

The provider-assigned unique ID for this managed resource.

func (GetPriorityResultOutput) Name added in v3.1.0

The name of the found priority.

func (GetPriorityResultOutput) ToGetPriorityResultOutput added in v3.1.0

func (o GetPriorityResultOutput) ToGetPriorityResultOutput() GetPriorityResultOutput

func (GetPriorityResultOutput) ToGetPriorityResultOutputWithContext added in v3.1.0

func (o GetPriorityResultOutput) ToGetPriorityResultOutputWithContext(ctx context.Context) GetPriorityResultOutput

type GetServiceTeam added in v3.10.0

type GetServiceTeam struct {
	// The ID of the found service.
	Id string `pulumi:"id"`
	// The service name to use to find a service in the PagerDuty API.
	Name string `pulumi:"name"`
}

type GetServiceTeamArgs added in v3.10.0

type GetServiceTeamArgs struct {
	// The ID of the found service.
	Id pulumi.StringInput `pulumi:"id"`
	// The service name to use to find a service in the PagerDuty API.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetServiceTeamArgs) ElementType added in v3.10.0

func (GetServiceTeamArgs) ElementType() reflect.Type

func (GetServiceTeamArgs) ToGetServiceTeamOutput added in v3.10.0

func (i GetServiceTeamArgs) ToGetServiceTeamOutput() GetServiceTeamOutput

func (GetServiceTeamArgs) ToGetServiceTeamOutputWithContext added in v3.10.0

func (i GetServiceTeamArgs) ToGetServiceTeamOutputWithContext(ctx context.Context) GetServiceTeamOutput

type GetServiceTeamArray added in v3.10.0

type GetServiceTeamArray []GetServiceTeamInput

func (GetServiceTeamArray) ElementType added in v3.10.0

func (GetServiceTeamArray) ElementType() reflect.Type

func (GetServiceTeamArray) ToGetServiceTeamArrayOutput added in v3.10.0

func (i GetServiceTeamArray) ToGetServiceTeamArrayOutput() GetServiceTeamArrayOutput

func (GetServiceTeamArray) ToGetServiceTeamArrayOutputWithContext added in v3.10.0

func (i GetServiceTeamArray) ToGetServiceTeamArrayOutputWithContext(ctx context.Context) GetServiceTeamArrayOutput

type GetServiceTeamArrayInput added in v3.10.0

type GetServiceTeamArrayInput interface {
	pulumi.Input

	ToGetServiceTeamArrayOutput() GetServiceTeamArrayOutput
	ToGetServiceTeamArrayOutputWithContext(context.Context) GetServiceTeamArrayOutput
}

GetServiceTeamArrayInput is an input type that accepts GetServiceTeamArray and GetServiceTeamArrayOutput values. You can construct a concrete instance of `GetServiceTeamArrayInput` via:

GetServiceTeamArray{ GetServiceTeamArgs{...} }

type GetServiceTeamArrayOutput added in v3.10.0

type GetServiceTeamArrayOutput struct{ *pulumi.OutputState }

func (GetServiceTeamArrayOutput) ElementType added in v3.10.0

func (GetServiceTeamArrayOutput) ElementType() reflect.Type

func (GetServiceTeamArrayOutput) Index added in v3.10.0

func (GetServiceTeamArrayOutput) ToGetServiceTeamArrayOutput added in v3.10.0

func (o GetServiceTeamArrayOutput) ToGetServiceTeamArrayOutput() GetServiceTeamArrayOutput

func (GetServiceTeamArrayOutput) ToGetServiceTeamArrayOutputWithContext added in v3.10.0

func (o GetServiceTeamArrayOutput) ToGetServiceTeamArrayOutputWithContext(ctx context.Context) GetServiceTeamArrayOutput

type GetServiceTeamInput added in v3.10.0

type GetServiceTeamInput interface {
	pulumi.Input

	ToGetServiceTeamOutput() GetServiceTeamOutput
	ToGetServiceTeamOutputWithContext(context.Context) GetServiceTeamOutput
}

GetServiceTeamInput is an input type that accepts GetServiceTeamArgs and GetServiceTeamOutput values. You can construct a concrete instance of `GetServiceTeamInput` via:

GetServiceTeamArgs{...}

type GetServiceTeamOutput added in v3.10.0

type GetServiceTeamOutput struct{ *pulumi.OutputState }

func (GetServiceTeamOutput) ElementType added in v3.10.0

func (GetServiceTeamOutput) ElementType() reflect.Type

func (GetServiceTeamOutput) Id added in v3.10.0

The ID of the found service.

func (GetServiceTeamOutput) Name added in v3.10.0

The service name to use to find a service in the PagerDuty API.

func (GetServiceTeamOutput) ToGetServiceTeamOutput added in v3.10.0

func (o GetServiceTeamOutput) ToGetServiceTeamOutput() GetServiceTeamOutput

func (GetServiceTeamOutput) ToGetServiceTeamOutputWithContext added in v3.10.0

func (o GetServiceTeamOutput) ToGetServiceTeamOutputWithContext(ctx context.Context) GetServiceTeamOutput

type GetUsersArgs added in v3.6.0

type GetUsersArgs struct {
	// List of team IDs. Only results related to these teams will be returned. Account must have the `teams` ability to use this parameter.
	TeamIds []string `pulumi:"teamIds"`
}

A collection of arguments for invoking getUsers.

type GetUsersOutputArgs added in v3.6.0

type GetUsersOutputArgs struct {
	// List of team IDs. Only results related to these teams will be returned. Account must have the `teams` ability to use this parameter.
	TeamIds pulumi.StringArrayInput `pulumi:"teamIds"`
}

A collection of arguments for invoking getUsers.

func (GetUsersOutputArgs) ElementType added in v3.6.0

func (GetUsersOutputArgs) ElementType() reflect.Type

type GetUsersResult added in v3.6.0

type GetUsersResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id      string   `pulumi:"id"`
	TeamIds []string `pulumi:"teamIds"`
	// List of users queried.
	Users []GetUsersUser `pulumi:"users"`
}

A collection of values returned by getUsers.

func GetUsers added in v3.6.0

func GetUsers(ctx *pulumi.Context, args *GetUsersArgs, opts ...pulumi.InvokeOption) (*GetUsersResult, error)

Use this data source to get information about [list of users](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzMw-list-users) that you can use for other PagerDuty resources, optionally filtering by team ids.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pagerduty.LookupTeam(ctx, &pagerduty.LookupTeamArgs{ Name: "devops", }, nil); if err != nil { return err } _, err = pagerduty.LookupUser(ctx, &pagerduty.LookupUserArgs{ Email: "me@example.com", }, nil); if err != nil { return err } exampleWTeam, err := pagerduty.NewUser(ctx, "exampleWTeam", &pagerduty.UserArgs{ Email: pulumi.String("user-with-team@example.com"), }) if err != nil { return err } _, err = pagerduty.NewTeamMembership(ctx, "example", &pagerduty.TeamMembershipArgs{ TeamId: pulumi.Any(pagerduty_team.Devops.Id), UserId: exampleWTeam.ID(), }) if err != nil { return err } _, err = pagerduty.GetUsers(ctx, nil, nil); if err != nil { return err } _, err = pagerduty.GetUsers(ctx, &pagerduty.GetUsersArgs{ TeamIds: interface{}{ pagerduty_team.Devops.Id, }, }, nil); if err != nil { return err } return nil }) } ```

type GetUsersResultOutput added in v3.6.0

type GetUsersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUsers.

func GetUsersOutput added in v3.6.0

func GetUsersOutput(ctx *pulumi.Context, args GetUsersOutputArgs, opts ...pulumi.InvokeOption) GetUsersResultOutput

func (GetUsersResultOutput) ElementType added in v3.6.0

func (GetUsersResultOutput) ElementType() reflect.Type

func (GetUsersResultOutput) Id added in v3.6.0

The provider-assigned unique ID for this managed resource.

func (GetUsersResultOutput) TeamIds added in v3.6.0

func (GetUsersResultOutput) ToGetUsersResultOutput added in v3.6.0

func (o GetUsersResultOutput) ToGetUsersResultOutput() GetUsersResultOutput

func (GetUsersResultOutput) ToGetUsersResultOutputWithContext added in v3.6.0

func (o GetUsersResultOutput) ToGetUsersResultOutputWithContext(ctx context.Context) GetUsersResultOutput

func (GetUsersResultOutput) Users added in v3.6.0

List of users queried.

type GetUsersUser added in v3.6.0

type GetUsersUser struct {
	// The email to use to find a user in the PagerDuty API.
	Email string `pulumi:"email"`
	// The ID of the found user.
	Id string `pulumi:"id"`
	// The short name of the found user.
	Name string `pulumi:"name"`
}

type GetUsersUserArgs added in v3.6.0

type GetUsersUserArgs struct {
	// The email to use to find a user in the PagerDuty API.
	Email pulumi.StringInput `pulumi:"email"`
	// The ID of the found user.
	Id pulumi.StringInput `pulumi:"id"`
	// The short name of the found user.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetUsersUserArgs) ElementType added in v3.6.0

func (GetUsersUserArgs) ElementType() reflect.Type

func (GetUsersUserArgs) ToGetUsersUserOutput added in v3.6.0

func (i GetUsersUserArgs) ToGetUsersUserOutput() GetUsersUserOutput

func (GetUsersUserArgs) ToGetUsersUserOutputWithContext added in v3.6.0

func (i GetUsersUserArgs) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput

type GetUsersUserArray added in v3.6.0

type GetUsersUserArray []GetUsersUserInput

func (GetUsersUserArray) ElementType added in v3.6.0

func (GetUsersUserArray) ElementType() reflect.Type

func (GetUsersUserArray) ToGetUsersUserArrayOutput added in v3.6.0

func (i GetUsersUserArray) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput

func (GetUsersUserArray) ToGetUsersUserArrayOutputWithContext added in v3.6.0

func (i GetUsersUserArray) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput

type GetUsersUserArrayInput added in v3.6.0

type GetUsersUserArrayInput interface {
	pulumi.Input

	ToGetUsersUserArrayOutput() GetUsersUserArrayOutput
	ToGetUsersUserArrayOutputWithContext(context.Context) GetUsersUserArrayOutput
}

GetUsersUserArrayInput is an input type that accepts GetUsersUserArray and GetUsersUserArrayOutput values. You can construct a concrete instance of `GetUsersUserArrayInput` via:

GetUsersUserArray{ GetUsersUserArgs{...} }

type GetUsersUserArrayOutput added in v3.6.0

type GetUsersUserArrayOutput struct{ *pulumi.OutputState }

func (GetUsersUserArrayOutput) ElementType added in v3.6.0

func (GetUsersUserArrayOutput) ElementType() reflect.Type

func (GetUsersUserArrayOutput) Index added in v3.6.0

func (GetUsersUserArrayOutput) ToGetUsersUserArrayOutput added in v3.6.0

func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput

func (GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext added in v3.6.0

func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput

type GetUsersUserInput added in v3.6.0

type GetUsersUserInput interface {
	pulumi.Input

	ToGetUsersUserOutput() GetUsersUserOutput
	ToGetUsersUserOutputWithContext(context.Context) GetUsersUserOutput
}

GetUsersUserInput is an input type that accepts GetUsersUserArgs and GetUsersUserOutput values. You can construct a concrete instance of `GetUsersUserInput` via:

GetUsersUserArgs{...}

type GetUsersUserOutput added in v3.6.0

type GetUsersUserOutput struct{ *pulumi.OutputState }

func (GetUsersUserOutput) ElementType added in v3.6.0

func (GetUsersUserOutput) ElementType() reflect.Type

func (GetUsersUserOutput) Email added in v3.6.0

The email to use to find a user in the PagerDuty API.

func (GetUsersUserOutput) Id added in v3.6.0

The ID of the found user.

func (GetUsersUserOutput) Name added in v3.6.0

The short name of the found user.

func (GetUsersUserOutput) ToGetUsersUserOutput added in v3.6.0

func (o GetUsersUserOutput) ToGetUsersUserOutput() GetUsersUserOutput

func (GetUsersUserOutput) ToGetUsersUserOutputWithContext added in v3.6.0

func (o GetUsersUserOutput) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput

type GetVendorArgs

type GetVendorArgs struct {
	// The vendor name to use to find a vendor in the PagerDuty API.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getVendor.

type GetVendorOutputArgs added in v3.1.0

type GetVendorOutputArgs struct {
	// The vendor name to use to find a vendor in the PagerDuty API.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getVendor.

func (GetVendorOutputArgs) ElementType added in v3.1.0

func (GetVendorOutputArgs) ElementType() reflect.Type

type GetVendorResult

type GetVendorResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The short name of the found vendor.
	Name string `pulumi:"name"`
	// The generic service type for this vendor.
	Type string `pulumi:"type"`
}

A collection of values returned by getVendor.

func GetVendor

func GetVendor(ctx *pulumi.Context, args *GetVendorArgs, opts ...pulumi.InvokeOption) (*GetVendorResult, error)

Use this data source to get information about a specific [vendor](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODI1OQ-list-vendors) that you can use for a service integration (e.g. Amazon Cloudwatch, Splunk, Datadog).

> For the case of vendors that rely on [Change Events](https://support.pagerduty.com/docs/change-events) (e.g. Jekings CI, Github, Gitlab, ...) is important to know that those vendors are only available with [PagerDuty AIOps](https://support.pagerduty.com/docs/aiops) add-on. Therefore, they won't be accessible as result of `getVendor` data source without the proper entitlements.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		datadog, err := pagerduty.GetVendor(ctx, &pagerduty.GetVendorArgs{
			Name: "Datadog",
		}, nil)
		if err != nil {
			return err
		}
		exampleUser, err := pagerduty.NewUser(ctx, "exampleUser", &pagerduty.UserArgs{
			Email: pulumi.String("125.greenholt.earline@graham.name"),
			Teams: pulumi.StringArray{
				pagerduty_team.Example.Id,
			},
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewEscalationPolicy(ctx, "foo", &pagerduty.EscalationPolicyArgs{
			NumLoops: pulumi.Int(2),
			Rules: pagerduty.EscalationPolicyRuleArray{
				&pagerduty.EscalationPolicyRuleArgs{
					EscalationDelayInMinutes: pulumi.Int(10),
					Targets: pagerduty.EscalationPolicyRuleTargetArray{
						&pagerduty.EscalationPolicyRuleTargetArgs{
							Type: pulumi.String("user"),
							Id:   exampleUser.ID(),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		exampleService, err := pagerduty.NewService(ctx, "exampleService", &pagerduty.ServiceArgs{
			AutoResolveTimeout:     pulumi.String("14400"),
			AcknowledgementTimeout: pulumi.String("600"),
			EscalationPolicy:       pulumi.Any(pagerduty_escalation_policy.Example.Id),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewServiceIntegration(ctx, "exampleServiceIntegration", &pagerduty.ServiceIntegrationArgs{
			Vendor:  *pulumi.String(datadog.Id),
			Service: exampleService.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetVendorResultOutput added in v3.1.0

type GetVendorResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVendor.

func GetVendorOutput added in v3.1.0

func GetVendorOutput(ctx *pulumi.Context, args GetVendorOutputArgs, opts ...pulumi.InvokeOption) GetVendorResultOutput

func (GetVendorResultOutput) ElementType added in v3.1.0

func (GetVendorResultOutput) ElementType() reflect.Type

func (GetVendorResultOutput) Id added in v3.1.0

The provider-assigned unique ID for this managed resource.

func (GetVendorResultOutput) Name added in v3.1.0

The short name of the found vendor.

func (GetVendorResultOutput) ToGetVendorResultOutput added in v3.1.0

func (o GetVendorResultOutput) ToGetVendorResultOutput() GetVendorResultOutput

func (GetVendorResultOutput) ToGetVendorResultOutputWithContext added in v3.1.0

func (o GetVendorResultOutput) ToGetVendorResultOutputWithContext(ctx context.Context) GetVendorResultOutput

func (GetVendorResultOutput) Type added in v3.1.0

The generic service type for this vendor.

type IncidentCustomField added in v3.10.3

type IncidentCustomField struct {
	pulumi.CustomResourceState

	// The data type of the field. Must be one of `string`, `integer`, `float`, `boolean`, `datetime`, or `url`.
	DataType     pulumi.StringOutput    `pulumi:"dataType"`
	DefaultValue pulumi.StringPtrOutput `pulumi:"defaultValue"`
	Description  pulumi.StringPtrOutput `pulumi:"description"`
	DisplayName  pulumi.StringOutput    `pulumi:"displayName"`
	// The field type of the field. Must be one of `singleValue`, `singleValueFixed`, `multiValue`, or `multiValueFixed`.
	FieldType pulumi.StringOutput `pulumi:"fieldType"`
	// The name of the field.
	Name pulumi.StringOutput `pulumi:"name"`
}

An [Incident Custom Field](https://support.pagerduty.com/docs/custom-fields-on-incidents) defines a field which can be set on incidents in the target account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewIncidentCustomField(ctx, "csImpact", &pagerduty.IncidentCustomFieldArgs{
			DataType:  pulumi.String("string"),
			FieldType: pulumi.String("single_value"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewIncidentCustomField(ctx, "sreEnvironment", &pagerduty.IncidentCustomFieldArgs{
			DataType:  pulumi.String("string"),
			FieldType: pulumi.String("single_value_fixed"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Fields can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/incidentCustomField:IncidentCustomField sre_environment PLBP09X

```

func GetIncidentCustomField added in v3.10.3

func GetIncidentCustomField(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IncidentCustomFieldState, opts ...pulumi.ResourceOption) (*IncidentCustomField, error)

GetIncidentCustomField gets an existing IncidentCustomField resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIncidentCustomField added in v3.10.3

func NewIncidentCustomField(ctx *pulumi.Context,
	name string, args *IncidentCustomFieldArgs, opts ...pulumi.ResourceOption) (*IncidentCustomField, error)

NewIncidentCustomField registers a new resource with the given unique name, arguments, and options.

func (*IncidentCustomField) ElementType added in v3.10.3

func (*IncidentCustomField) ElementType() reflect.Type

func (*IncidentCustomField) ToIncidentCustomFieldOutput added in v3.10.3

func (i *IncidentCustomField) ToIncidentCustomFieldOutput() IncidentCustomFieldOutput

func (*IncidentCustomField) ToIncidentCustomFieldOutputWithContext added in v3.10.3

func (i *IncidentCustomField) ToIncidentCustomFieldOutputWithContext(ctx context.Context) IncidentCustomFieldOutput

type IncidentCustomFieldArgs added in v3.10.3

type IncidentCustomFieldArgs struct {
	// The data type of the field. Must be one of `string`, `integer`, `float`, `boolean`, `datetime`, or `url`.
	DataType     pulumi.StringInput
	DefaultValue pulumi.StringPtrInput
	Description  pulumi.StringPtrInput
	DisplayName  pulumi.StringInput
	// The field type of the field. Must be one of `singleValue`, `singleValueFixed`, `multiValue`, or `multiValueFixed`.
	FieldType pulumi.StringInput
	// The name of the field.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a IncidentCustomField resource.

func (IncidentCustomFieldArgs) ElementType added in v3.10.3

func (IncidentCustomFieldArgs) ElementType() reflect.Type

type IncidentCustomFieldArray added in v3.10.3

type IncidentCustomFieldArray []IncidentCustomFieldInput

func (IncidentCustomFieldArray) ElementType added in v3.10.3

func (IncidentCustomFieldArray) ElementType() reflect.Type

func (IncidentCustomFieldArray) ToIncidentCustomFieldArrayOutput added in v3.10.3

func (i IncidentCustomFieldArray) ToIncidentCustomFieldArrayOutput() IncidentCustomFieldArrayOutput

func (IncidentCustomFieldArray) ToIncidentCustomFieldArrayOutputWithContext added in v3.10.3

func (i IncidentCustomFieldArray) ToIncidentCustomFieldArrayOutputWithContext(ctx context.Context) IncidentCustomFieldArrayOutput

type IncidentCustomFieldArrayInput added in v3.10.3

type IncidentCustomFieldArrayInput interface {
	pulumi.Input

	ToIncidentCustomFieldArrayOutput() IncidentCustomFieldArrayOutput
	ToIncidentCustomFieldArrayOutputWithContext(context.Context) IncidentCustomFieldArrayOutput
}

IncidentCustomFieldArrayInput is an input type that accepts IncidentCustomFieldArray and IncidentCustomFieldArrayOutput values. You can construct a concrete instance of `IncidentCustomFieldArrayInput` via:

IncidentCustomFieldArray{ IncidentCustomFieldArgs{...} }

type IncidentCustomFieldArrayOutput added in v3.10.3

type IncidentCustomFieldArrayOutput struct{ *pulumi.OutputState }

func (IncidentCustomFieldArrayOutput) ElementType added in v3.10.3

func (IncidentCustomFieldArrayOutput) Index added in v3.10.3

func (IncidentCustomFieldArrayOutput) ToIncidentCustomFieldArrayOutput added in v3.10.3

func (o IncidentCustomFieldArrayOutput) ToIncidentCustomFieldArrayOutput() IncidentCustomFieldArrayOutput

func (IncidentCustomFieldArrayOutput) ToIncidentCustomFieldArrayOutputWithContext added in v3.10.3

func (o IncidentCustomFieldArrayOutput) ToIncidentCustomFieldArrayOutputWithContext(ctx context.Context) IncidentCustomFieldArrayOutput

type IncidentCustomFieldInput added in v3.10.3

type IncidentCustomFieldInput interface {
	pulumi.Input

	ToIncidentCustomFieldOutput() IncidentCustomFieldOutput
	ToIncidentCustomFieldOutputWithContext(ctx context.Context) IncidentCustomFieldOutput
}

type IncidentCustomFieldMap added in v3.10.3

type IncidentCustomFieldMap map[string]IncidentCustomFieldInput

func (IncidentCustomFieldMap) ElementType added in v3.10.3

func (IncidentCustomFieldMap) ElementType() reflect.Type

func (IncidentCustomFieldMap) ToIncidentCustomFieldMapOutput added in v3.10.3

func (i IncidentCustomFieldMap) ToIncidentCustomFieldMapOutput() IncidentCustomFieldMapOutput

func (IncidentCustomFieldMap) ToIncidentCustomFieldMapOutputWithContext added in v3.10.3

func (i IncidentCustomFieldMap) ToIncidentCustomFieldMapOutputWithContext(ctx context.Context) IncidentCustomFieldMapOutput

type IncidentCustomFieldMapInput added in v3.10.3

type IncidentCustomFieldMapInput interface {
	pulumi.Input

	ToIncidentCustomFieldMapOutput() IncidentCustomFieldMapOutput
	ToIncidentCustomFieldMapOutputWithContext(context.Context) IncidentCustomFieldMapOutput
}

IncidentCustomFieldMapInput is an input type that accepts IncidentCustomFieldMap and IncidentCustomFieldMapOutput values. You can construct a concrete instance of `IncidentCustomFieldMapInput` via:

IncidentCustomFieldMap{ "key": IncidentCustomFieldArgs{...} }

type IncidentCustomFieldMapOutput added in v3.10.3

type IncidentCustomFieldMapOutput struct{ *pulumi.OutputState }

func (IncidentCustomFieldMapOutput) ElementType added in v3.10.3

func (IncidentCustomFieldMapOutput) MapIndex added in v3.10.3

func (IncidentCustomFieldMapOutput) ToIncidentCustomFieldMapOutput added in v3.10.3

func (o IncidentCustomFieldMapOutput) ToIncidentCustomFieldMapOutput() IncidentCustomFieldMapOutput

func (IncidentCustomFieldMapOutput) ToIncidentCustomFieldMapOutputWithContext added in v3.10.3

func (o IncidentCustomFieldMapOutput) ToIncidentCustomFieldMapOutputWithContext(ctx context.Context) IncidentCustomFieldMapOutput

type IncidentCustomFieldOption added in v3.10.3

type IncidentCustomFieldOption struct {
	pulumi.CustomResourceState

	// The datatype of the field option. Only `string` is allowed here at present.
	DataType pulumi.StringOutput `pulumi:"dataType"`
	// The ID of the field.
	Field pulumi.StringOutput `pulumi:"field"`
	// The allowed value.
	Value pulumi.StringOutput `pulumi:"value"`
}

A Incident Custom Field Option is a specific value that can be used for an [Incident Custom Field](https://support.pagerduty.com/docs/custom-fields-on-incidents) that only allow values from a set of fixed options, i.e. has the `fieldType` of `singleValueFixed` or `multiValueFixed`.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		sreEnvironment, err := pagerduty.NewIncidentCustomField(ctx, "sreEnvironment", &pagerduty.IncidentCustomFieldArgs{
			DataType:  pulumi.String("string"),
			FieldType: pulumi.String("single_value_fixed"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewIncidentCustomFieldOption(ctx, "devEnvironment", &pagerduty.IncidentCustomFieldOptionArgs{
			Field:    sreEnvironment.ID(),
			DataType: pulumi.String("string"),
			Value:    pulumi.String("dev"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewIncidentCustomFieldOption(ctx, "stageEnvironment", &pagerduty.IncidentCustomFieldOptionArgs{
			Field:    sreEnvironment.ID(),
			DataType: pulumi.String("string"),
			Value:    pulumi.String("stage"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewIncidentCustomFieldOption(ctx, "prodEnvironment", &pagerduty.IncidentCustomFieldOptionArgs{
			Field:    sreEnvironment.ID(),
			DataType: pulumi.String("string"),
			Value:    pulumi.String("prod"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetIncidentCustomFieldOption added in v3.10.3

func GetIncidentCustomFieldOption(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IncidentCustomFieldOptionState, opts ...pulumi.ResourceOption) (*IncidentCustomFieldOption, error)

GetIncidentCustomFieldOption gets an existing IncidentCustomFieldOption resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIncidentCustomFieldOption added in v3.10.3

func NewIncidentCustomFieldOption(ctx *pulumi.Context,
	name string, args *IncidentCustomFieldOptionArgs, opts ...pulumi.ResourceOption) (*IncidentCustomFieldOption, error)

NewIncidentCustomFieldOption registers a new resource with the given unique name, arguments, and options.

func (*IncidentCustomFieldOption) ElementType added in v3.10.3

func (*IncidentCustomFieldOption) ElementType() reflect.Type

func (*IncidentCustomFieldOption) ToIncidentCustomFieldOptionOutput added in v3.10.3

func (i *IncidentCustomFieldOption) ToIncidentCustomFieldOptionOutput() IncidentCustomFieldOptionOutput

func (*IncidentCustomFieldOption) ToIncidentCustomFieldOptionOutputWithContext added in v3.10.3

func (i *IncidentCustomFieldOption) ToIncidentCustomFieldOptionOutputWithContext(ctx context.Context) IncidentCustomFieldOptionOutput

type IncidentCustomFieldOptionArgs added in v3.10.3

type IncidentCustomFieldOptionArgs struct {
	// The datatype of the field option. Only `string` is allowed here at present.
	DataType pulumi.StringInput
	// The ID of the field.
	Field pulumi.StringInput
	// The allowed value.
	Value pulumi.StringInput
}

The set of arguments for constructing a IncidentCustomFieldOption resource.

func (IncidentCustomFieldOptionArgs) ElementType added in v3.10.3

type IncidentCustomFieldOptionArray added in v3.10.3

type IncidentCustomFieldOptionArray []IncidentCustomFieldOptionInput

func (IncidentCustomFieldOptionArray) ElementType added in v3.10.3

func (IncidentCustomFieldOptionArray) ToIncidentCustomFieldOptionArrayOutput added in v3.10.3

func (i IncidentCustomFieldOptionArray) ToIncidentCustomFieldOptionArrayOutput() IncidentCustomFieldOptionArrayOutput

func (IncidentCustomFieldOptionArray) ToIncidentCustomFieldOptionArrayOutputWithContext added in v3.10.3

func (i IncidentCustomFieldOptionArray) ToIncidentCustomFieldOptionArrayOutputWithContext(ctx context.Context) IncidentCustomFieldOptionArrayOutput

type IncidentCustomFieldOptionArrayInput added in v3.10.3

type IncidentCustomFieldOptionArrayInput interface {
	pulumi.Input

	ToIncidentCustomFieldOptionArrayOutput() IncidentCustomFieldOptionArrayOutput
	ToIncidentCustomFieldOptionArrayOutputWithContext(context.Context) IncidentCustomFieldOptionArrayOutput
}

IncidentCustomFieldOptionArrayInput is an input type that accepts IncidentCustomFieldOptionArray and IncidentCustomFieldOptionArrayOutput values. You can construct a concrete instance of `IncidentCustomFieldOptionArrayInput` via:

IncidentCustomFieldOptionArray{ IncidentCustomFieldOptionArgs{...} }

type IncidentCustomFieldOptionArrayOutput added in v3.10.3

type IncidentCustomFieldOptionArrayOutput struct{ *pulumi.OutputState }

func (IncidentCustomFieldOptionArrayOutput) ElementType added in v3.10.3

func (IncidentCustomFieldOptionArrayOutput) Index added in v3.10.3

func (IncidentCustomFieldOptionArrayOutput) ToIncidentCustomFieldOptionArrayOutput added in v3.10.3

func (o IncidentCustomFieldOptionArrayOutput) ToIncidentCustomFieldOptionArrayOutput() IncidentCustomFieldOptionArrayOutput

func (IncidentCustomFieldOptionArrayOutput) ToIncidentCustomFieldOptionArrayOutputWithContext added in v3.10.3

func (o IncidentCustomFieldOptionArrayOutput) ToIncidentCustomFieldOptionArrayOutputWithContext(ctx context.Context) IncidentCustomFieldOptionArrayOutput

type IncidentCustomFieldOptionInput added in v3.10.3

type IncidentCustomFieldOptionInput interface {
	pulumi.Input

	ToIncidentCustomFieldOptionOutput() IncidentCustomFieldOptionOutput
	ToIncidentCustomFieldOptionOutputWithContext(ctx context.Context) IncidentCustomFieldOptionOutput
}

type IncidentCustomFieldOptionMap added in v3.10.3

type IncidentCustomFieldOptionMap map[string]IncidentCustomFieldOptionInput

func (IncidentCustomFieldOptionMap) ElementType added in v3.10.3

func (IncidentCustomFieldOptionMap) ToIncidentCustomFieldOptionMapOutput added in v3.10.3

func (i IncidentCustomFieldOptionMap) ToIncidentCustomFieldOptionMapOutput() IncidentCustomFieldOptionMapOutput

func (IncidentCustomFieldOptionMap) ToIncidentCustomFieldOptionMapOutputWithContext added in v3.10.3

func (i IncidentCustomFieldOptionMap) ToIncidentCustomFieldOptionMapOutputWithContext(ctx context.Context) IncidentCustomFieldOptionMapOutput

type IncidentCustomFieldOptionMapInput added in v3.10.3

type IncidentCustomFieldOptionMapInput interface {
	pulumi.Input

	ToIncidentCustomFieldOptionMapOutput() IncidentCustomFieldOptionMapOutput
	ToIncidentCustomFieldOptionMapOutputWithContext(context.Context) IncidentCustomFieldOptionMapOutput
}

IncidentCustomFieldOptionMapInput is an input type that accepts IncidentCustomFieldOptionMap and IncidentCustomFieldOptionMapOutput values. You can construct a concrete instance of `IncidentCustomFieldOptionMapInput` via:

IncidentCustomFieldOptionMap{ "key": IncidentCustomFieldOptionArgs{...} }

type IncidentCustomFieldOptionMapOutput added in v3.10.3

type IncidentCustomFieldOptionMapOutput struct{ *pulumi.OutputState }

func (IncidentCustomFieldOptionMapOutput) ElementType added in v3.10.3

func (IncidentCustomFieldOptionMapOutput) MapIndex added in v3.10.3

func (IncidentCustomFieldOptionMapOutput) ToIncidentCustomFieldOptionMapOutput added in v3.10.3

func (o IncidentCustomFieldOptionMapOutput) ToIncidentCustomFieldOptionMapOutput() IncidentCustomFieldOptionMapOutput

func (IncidentCustomFieldOptionMapOutput) ToIncidentCustomFieldOptionMapOutputWithContext added in v3.10.3

func (o IncidentCustomFieldOptionMapOutput) ToIncidentCustomFieldOptionMapOutputWithContext(ctx context.Context) IncidentCustomFieldOptionMapOutput

type IncidentCustomFieldOptionOutput added in v3.10.3

type IncidentCustomFieldOptionOutput struct{ *pulumi.OutputState }

func (IncidentCustomFieldOptionOutput) DataType added in v3.10.3

The datatype of the field option. Only `string` is allowed here at present.

func (IncidentCustomFieldOptionOutput) ElementType added in v3.10.3

func (IncidentCustomFieldOptionOutput) Field added in v3.10.3

The ID of the field.

func (IncidentCustomFieldOptionOutput) ToIncidentCustomFieldOptionOutput added in v3.10.3

func (o IncidentCustomFieldOptionOutput) ToIncidentCustomFieldOptionOutput() IncidentCustomFieldOptionOutput

func (IncidentCustomFieldOptionOutput) ToIncidentCustomFieldOptionOutputWithContext added in v3.10.3

func (o IncidentCustomFieldOptionOutput) ToIncidentCustomFieldOptionOutputWithContext(ctx context.Context) IncidentCustomFieldOptionOutput

func (IncidentCustomFieldOptionOutput) Value added in v3.10.3

The allowed value.

type IncidentCustomFieldOptionState added in v3.10.3

type IncidentCustomFieldOptionState struct {
	// The datatype of the field option. Only `string` is allowed here at present.
	DataType pulumi.StringPtrInput
	// The ID of the field.
	Field pulumi.StringPtrInput
	// The allowed value.
	Value pulumi.StringPtrInput
}

func (IncidentCustomFieldOptionState) ElementType added in v3.10.3

type IncidentCustomFieldOutput added in v3.10.3

type IncidentCustomFieldOutput struct{ *pulumi.OutputState }

func (IncidentCustomFieldOutput) DataType added in v3.10.3

The data type of the field. Must be one of `string`, `integer`, `float`, `boolean`, `datetime`, or `url`.

func (IncidentCustomFieldOutput) DefaultValue added in v3.10.3

func (IncidentCustomFieldOutput) Description added in v3.10.3

func (IncidentCustomFieldOutput) DisplayName added in v3.10.3

func (IncidentCustomFieldOutput) ElementType added in v3.10.3

func (IncidentCustomFieldOutput) ElementType() reflect.Type

func (IncidentCustomFieldOutput) FieldType added in v3.10.3

The field type of the field. Must be one of `singleValue`, `singleValueFixed`, `multiValue`, or `multiValueFixed`.

func (IncidentCustomFieldOutput) Name added in v3.10.3

The name of the field.

func (IncidentCustomFieldOutput) ToIncidentCustomFieldOutput added in v3.10.3

func (o IncidentCustomFieldOutput) ToIncidentCustomFieldOutput() IncidentCustomFieldOutput

func (IncidentCustomFieldOutput) ToIncidentCustomFieldOutputWithContext added in v3.10.3

func (o IncidentCustomFieldOutput) ToIncidentCustomFieldOutputWithContext(ctx context.Context) IncidentCustomFieldOutput

type IncidentCustomFieldState added in v3.10.3

type IncidentCustomFieldState struct {
	// The data type of the field. Must be one of `string`, `integer`, `float`, `boolean`, `datetime`, or `url`.
	DataType     pulumi.StringPtrInput
	DefaultValue pulumi.StringPtrInput
	Description  pulumi.StringPtrInput
	DisplayName  pulumi.StringPtrInput
	// The field type of the field. Must be one of `singleValue`, `singleValueFixed`, `multiValue`, or `multiValueFixed`.
	FieldType pulumi.StringPtrInput
	// The name of the field.
	Name pulumi.StringPtrInput
}

func (IncidentCustomFieldState) ElementType added in v3.10.3

func (IncidentCustomFieldState) ElementType() reflect.Type

type IncidentWorkflow added in v3.7.0

type IncidentWorkflow struct {
	pulumi.CustomResourceState

	// The description of the workflow.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the workflow.
	Name pulumi.StringOutput `pulumi:"name"`
	// The steps in the workflow.
	Steps IncidentWorkflowStepArrayOutput `pulumi:"steps"`
	// A team ID. If specified then workflow edit permissions will be scoped to members of this team.
	Team pulumi.StringPtrOutput `pulumi:"team"`
}

An [Incident Workflow](https://support.pagerduty.com/docs/incident-workflows) is a series of steps which can be executed on an incident.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewIncidentWorkflow(ctx, "myFirstWorkflow", &pagerduty.IncidentWorkflowArgs{
			Description: pulumi.String("This Incident Workflow is an example"),
			Steps: pagerduty.IncidentWorkflowStepArray{
				&pagerduty.IncidentWorkflowStepArgs{
					Action: pulumi.String("pagerduty.com:incident-workflows:send-status-update:1"),
					Inputs: pagerduty.IncidentWorkflowStepInputTypeArray{
						&pagerduty.IncidentWorkflowStepInputTypeArgs{
							Name:  pulumi.String("Message"),
							Value: pulumi.String("Example status message sent on {{current_date}}"),
						},
					},
					Name: pulumi.String("Send Status Update"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Incident workflows can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/incidentWorkflow:IncidentWorkflow major_incident_workflow PLBP09X

```

func GetIncidentWorkflow added in v3.7.0

func GetIncidentWorkflow(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IncidentWorkflowState, opts ...pulumi.ResourceOption) (*IncidentWorkflow, error)

GetIncidentWorkflow gets an existing IncidentWorkflow resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIncidentWorkflow added in v3.7.0

func NewIncidentWorkflow(ctx *pulumi.Context,
	name string, args *IncidentWorkflowArgs, opts ...pulumi.ResourceOption) (*IncidentWorkflow, error)

NewIncidentWorkflow registers a new resource with the given unique name, arguments, and options.

func (*IncidentWorkflow) ElementType added in v3.7.0

func (*IncidentWorkflow) ElementType() reflect.Type

func (*IncidentWorkflow) ToIncidentWorkflowOutput added in v3.7.0

func (i *IncidentWorkflow) ToIncidentWorkflowOutput() IncidentWorkflowOutput

func (*IncidentWorkflow) ToIncidentWorkflowOutputWithContext added in v3.7.0

func (i *IncidentWorkflow) ToIncidentWorkflowOutputWithContext(ctx context.Context) IncidentWorkflowOutput

type IncidentWorkflowArgs added in v3.7.0

type IncidentWorkflowArgs struct {
	// The description of the workflow.
	Description pulumi.StringPtrInput
	// The name of the workflow.
	Name pulumi.StringPtrInput
	// The steps in the workflow.
	Steps IncidentWorkflowStepArrayInput
	// A team ID. If specified then workflow edit permissions will be scoped to members of this team.
	Team pulumi.StringPtrInput
}

The set of arguments for constructing a IncidentWorkflow resource.

func (IncidentWorkflowArgs) ElementType added in v3.7.0

func (IncidentWorkflowArgs) ElementType() reflect.Type

type IncidentWorkflowArray added in v3.7.0

type IncidentWorkflowArray []IncidentWorkflowInput

func (IncidentWorkflowArray) ElementType added in v3.7.0

func (IncidentWorkflowArray) ElementType() reflect.Type

func (IncidentWorkflowArray) ToIncidentWorkflowArrayOutput added in v3.7.0

func (i IncidentWorkflowArray) ToIncidentWorkflowArrayOutput() IncidentWorkflowArrayOutput

func (IncidentWorkflowArray) ToIncidentWorkflowArrayOutputWithContext added in v3.7.0

func (i IncidentWorkflowArray) ToIncidentWorkflowArrayOutputWithContext(ctx context.Context) IncidentWorkflowArrayOutput

type IncidentWorkflowArrayInput added in v3.7.0

type IncidentWorkflowArrayInput interface {
	pulumi.Input

	ToIncidentWorkflowArrayOutput() IncidentWorkflowArrayOutput
	ToIncidentWorkflowArrayOutputWithContext(context.Context) IncidentWorkflowArrayOutput
}

IncidentWorkflowArrayInput is an input type that accepts IncidentWorkflowArray and IncidentWorkflowArrayOutput values. You can construct a concrete instance of `IncidentWorkflowArrayInput` via:

IncidentWorkflowArray{ IncidentWorkflowArgs{...} }

type IncidentWorkflowArrayOutput added in v3.7.0

type IncidentWorkflowArrayOutput struct{ *pulumi.OutputState }

func (IncidentWorkflowArrayOutput) ElementType added in v3.7.0

func (IncidentWorkflowArrayOutput) Index added in v3.7.0

func (IncidentWorkflowArrayOutput) ToIncidentWorkflowArrayOutput added in v3.7.0

func (o IncidentWorkflowArrayOutput) ToIncidentWorkflowArrayOutput() IncidentWorkflowArrayOutput

func (IncidentWorkflowArrayOutput) ToIncidentWorkflowArrayOutputWithContext added in v3.7.0

func (o IncidentWorkflowArrayOutput) ToIncidentWorkflowArrayOutputWithContext(ctx context.Context) IncidentWorkflowArrayOutput

type IncidentWorkflowInput added in v3.7.0

type IncidentWorkflowInput interface {
	pulumi.Input

	ToIncidentWorkflowOutput() IncidentWorkflowOutput
	ToIncidentWorkflowOutputWithContext(ctx context.Context) IncidentWorkflowOutput
}

type IncidentWorkflowMap added in v3.7.0

type IncidentWorkflowMap map[string]IncidentWorkflowInput

func (IncidentWorkflowMap) ElementType added in v3.7.0

func (IncidentWorkflowMap) ElementType() reflect.Type

func (IncidentWorkflowMap) ToIncidentWorkflowMapOutput added in v3.7.0

func (i IncidentWorkflowMap) ToIncidentWorkflowMapOutput() IncidentWorkflowMapOutput

func (IncidentWorkflowMap) ToIncidentWorkflowMapOutputWithContext added in v3.7.0

func (i IncidentWorkflowMap) ToIncidentWorkflowMapOutputWithContext(ctx context.Context) IncidentWorkflowMapOutput

type IncidentWorkflowMapInput added in v3.7.0

type IncidentWorkflowMapInput interface {
	pulumi.Input

	ToIncidentWorkflowMapOutput() IncidentWorkflowMapOutput
	ToIncidentWorkflowMapOutputWithContext(context.Context) IncidentWorkflowMapOutput
}

IncidentWorkflowMapInput is an input type that accepts IncidentWorkflowMap and IncidentWorkflowMapOutput values. You can construct a concrete instance of `IncidentWorkflowMapInput` via:

IncidentWorkflowMap{ "key": IncidentWorkflowArgs{...} }

type IncidentWorkflowMapOutput added in v3.7.0

type IncidentWorkflowMapOutput struct{ *pulumi.OutputState }

func (IncidentWorkflowMapOutput) ElementType added in v3.7.0

func (IncidentWorkflowMapOutput) ElementType() reflect.Type

func (IncidentWorkflowMapOutput) MapIndex added in v3.7.0

func (IncidentWorkflowMapOutput) ToIncidentWorkflowMapOutput added in v3.7.0

func (o IncidentWorkflowMapOutput) ToIncidentWorkflowMapOutput() IncidentWorkflowMapOutput

func (IncidentWorkflowMapOutput) ToIncidentWorkflowMapOutputWithContext added in v3.7.0

func (o IncidentWorkflowMapOutput) ToIncidentWorkflowMapOutputWithContext(ctx context.Context) IncidentWorkflowMapOutput

type IncidentWorkflowOutput added in v3.7.0

type IncidentWorkflowOutput struct{ *pulumi.OutputState }

func (IncidentWorkflowOutput) Description added in v3.7.0

The description of the workflow.

func (IncidentWorkflowOutput) ElementType added in v3.7.0

func (IncidentWorkflowOutput) ElementType() reflect.Type

func (IncidentWorkflowOutput) Name added in v3.7.0

The name of the workflow.

func (IncidentWorkflowOutput) Steps added in v3.7.0

The steps in the workflow.

func (IncidentWorkflowOutput) Team added in v3.7.0

A team ID. If specified then workflow edit permissions will be scoped to members of this team.

func (IncidentWorkflowOutput) ToIncidentWorkflowOutput added in v3.7.0

func (o IncidentWorkflowOutput) ToIncidentWorkflowOutput() IncidentWorkflowOutput

func (IncidentWorkflowOutput) ToIncidentWorkflowOutputWithContext added in v3.7.0

func (o IncidentWorkflowOutput) ToIncidentWorkflowOutputWithContext(ctx context.Context) IncidentWorkflowOutput

type IncidentWorkflowState added in v3.7.0

type IncidentWorkflowState struct {
	// The description of the workflow.
	Description pulumi.StringPtrInput
	// The name of the workflow.
	Name pulumi.StringPtrInput
	// The steps in the workflow.
	Steps IncidentWorkflowStepArrayInput
	// A team ID. If specified then workflow edit permissions will be scoped to members of this team.
	Team pulumi.StringPtrInput
}

func (IncidentWorkflowState) ElementType added in v3.7.0

func (IncidentWorkflowState) ElementType() reflect.Type

type IncidentWorkflowStep added in v3.7.0

type IncidentWorkflowStep struct {
	// The action id for the workflow step, including the version. A list of actions available can be retrieved using the [PagerDuty API](https://developer.pagerduty.com/api-reference/aa192a25fac39-list-actions).
	Action string `pulumi:"action"`
	// The ID of the incident workflow.
	Id *string `pulumi:"id"`
	// The list of inputs for the workflow action.
	Inputs []IncidentWorkflowStepInputType `pulumi:"inputs"`
	// The name of the workflow step.
	Name string `pulumi:"name"`
}

type IncidentWorkflowStepArgs added in v3.7.0

type IncidentWorkflowStepArgs struct {
	// The action id for the workflow step, including the version. A list of actions available can be retrieved using the [PagerDuty API](https://developer.pagerduty.com/api-reference/aa192a25fac39-list-actions).
	Action pulumi.StringInput `pulumi:"action"`
	// The ID of the incident workflow.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The list of inputs for the workflow action.
	Inputs IncidentWorkflowStepInputTypeArrayInput `pulumi:"inputs"`
	// The name of the workflow step.
	Name pulumi.StringInput `pulumi:"name"`
}

func (IncidentWorkflowStepArgs) ElementType added in v3.7.0

func (IncidentWorkflowStepArgs) ElementType() reflect.Type

func (IncidentWorkflowStepArgs) ToIncidentWorkflowStepOutput added in v3.7.0

func (i IncidentWorkflowStepArgs) ToIncidentWorkflowStepOutput() IncidentWorkflowStepOutput

func (IncidentWorkflowStepArgs) ToIncidentWorkflowStepOutputWithContext added in v3.7.0

func (i IncidentWorkflowStepArgs) ToIncidentWorkflowStepOutputWithContext(ctx context.Context) IncidentWorkflowStepOutput

type IncidentWorkflowStepArray added in v3.7.0

type IncidentWorkflowStepArray []IncidentWorkflowStepInput

func (IncidentWorkflowStepArray) ElementType added in v3.7.0

func (IncidentWorkflowStepArray) ElementType() reflect.Type

func (IncidentWorkflowStepArray) ToIncidentWorkflowStepArrayOutput added in v3.7.0

func (i IncidentWorkflowStepArray) ToIncidentWorkflowStepArrayOutput() IncidentWorkflowStepArrayOutput

func (IncidentWorkflowStepArray) ToIncidentWorkflowStepArrayOutputWithContext added in v3.7.0

func (i IncidentWorkflowStepArray) ToIncidentWorkflowStepArrayOutputWithContext(ctx context.Context) IncidentWorkflowStepArrayOutput

type IncidentWorkflowStepArrayInput added in v3.7.0

type IncidentWorkflowStepArrayInput interface {
	pulumi.Input

	ToIncidentWorkflowStepArrayOutput() IncidentWorkflowStepArrayOutput
	ToIncidentWorkflowStepArrayOutputWithContext(context.Context) IncidentWorkflowStepArrayOutput
}

IncidentWorkflowStepArrayInput is an input type that accepts IncidentWorkflowStepArray and IncidentWorkflowStepArrayOutput values. You can construct a concrete instance of `IncidentWorkflowStepArrayInput` via:

IncidentWorkflowStepArray{ IncidentWorkflowStepArgs{...} }

type IncidentWorkflowStepArrayOutput added in v3.7.0

type IncidentWorkflowStepArrayOutput struct{ *pulumi.OutputState }

func (IncidentWorkflowStepArrayOutput) ElementType added in v3.7.0

func (IncidentWorkflowStepArrayOutput) Index added in v3.7.0

func (IncidentWorkflowStepArrayOutput) ToIncidentWorkflowStepArrayOutput added in v3.7.0

func (o IncidentWorkflowStepArrayOutput) ToIncidentWorkflowStepArrayOutput() IncidentWorkflowStepArrayOutput

func (IncidentWorkflowStepArrayOutput) ToIncidentWorkflowStepArrayOutputWithContext added in v3.7.0

func (o IncidentWorkflowStepArrayOutput) ToIncidentWorkflowStepArrayOutputWithContext(ctx context.Context) IncidentWorkflowStepArrayOutput

type IncidentWorkflowStepInput added in v3.7.0

type IncidentWorkflowStepInput interface {
	pulumi.Input

	ToIncidentWorkflowStepOutput() IncidentWorkflowStepOutput
	ToIncidentWorkflowStepOutputWithContext(context.Context) IncidentWorkflowStepOutput
}

IncidentWorkflowStepInput is an input type that accepts IncidentWorkflowStepArgs and IncidentWorkflowStepOutput values. You can construct a concrete instance of `IncidentWorkflowStepInput` via:

IncidentWorkflowStepArgs{...}

type IncidentWorkflowStepInputType added in v3.7.0

type IncidentWorkflowStepInputType struct {
	Generated *bool `pulumi:"generated"`
	// The name of the input.
	Name string `pulumi:"name"`
	// The value of the input.
	Value string `pulumi:"value"`
}

type IncidentWorkflowStepInputTypeArgs added in v3.7.0

type IncidentWorkflowStepInputTypeArgs struct {
	Generated pulumi.BoolPtrInput `pulumi:"generated"`
	// The name of the input.
	Name pulumi.StringInput `pulumi:"name"`
	// The value of the input.
	Value pulumi.StringInput `pulumi:"value"`
}

func (IncidentWorkflowStepInputTypeArgs) ElementType added in v3.7.0

func (IncidentWorkflowStepInputTypeArgs) ToIncidentWorkflowStepInputTypeOutput added in v3.7.0

func (i IncidentWorkflowStepInputTypeArgs) ToIncidentWorkflowStepInputTypeOutput() IncidentWorkflowStepInputTypeOutput

func (IncidentWorkflowStepInputTypeArgs) ToIncidentWorkflowStepInputTypeOutputWithContext added in v3.7.0

func (i IncidentWorkflowStepInputTypeArgs) ToIncidentWorkflowStepInputTypeOutputWithContext(ctx context.Context) IncidentWorkflowStepInputTypeOutput

type IncidentWorkflowStepInputTypeArray added in v3.7.0

type IncidentWorkflowStepInputTypeArray []IncidentWorkflowStepInputTypeInput

func (IncidentWorkflowStepInputTypeArray) ElementType added in v3.7.0

func (IncidentWorkflowStepInputTypeArray) ToIncidentWorkflowStepInputTypeArrayOutput added in v3.7.0

func (i IncidentWorkflowStepInputTypeArray) ToIncidentWorkflowStepInputTypeArrayOutput() IncidentWorkflowStepInputTypeArrayOutput

func (IncidentWorkflowStepInputTypeArray) ToIncidentWorkflowStepInputTypeArrayOutputWithContext added in v3.7.0

func (i IncidentWorkflowStepInputTypeArray) ToIncidentWorkflowStepInputTypeArrayOutputWithContext(ctx context.Context) IncidentWorkflowStepInputTypeArrayOutput

type IncidentWorkflowStepInputTypeArrayInput added in v3.7.0

type IncidentWorkflowStepInputTypeArrayInput interface {
	pulumi.Input

	ToIncidentWorkflowStepInputTypeArrayOutput() IncidentWorkflowStepInputTypeArrayOutput
	ToIncidentWorkflowStepInputTypeArrayOutputWithContext(context.Context) IncidentWorkflowStepInputTypeArrayOutput
}

IncidentWorkflowStepInputTypeArrayInput is an input type that accepts IncidentWorkflowStepInputTypeArray and IncidentWorkflowStepInputTypeArrayOutput values. You can construct a concrete instance of `IncidentWorkflowStepInputTypeArrayInput` via:

IncidentWorkflowStepInputTypeArray{ IncidentWorkflowStepInputTypeArgs{...} }

type IncidentWorkflowStepInputTypeArrayOutput added in v3.7.0

type IncidentWorkflowStepInputTypeArrayOutput struct{ *pulumi.OutputState }

func (IncidentWorkflowStepInputTypeArrayOutput) ElementType added in v3.7.0

func (IncidentWorkflowStepInputTypeArrayOutput) Index added in v3.7.0

func (IncidentWorkflowStepInputTypeArrayOutput) ToIncidentWorkflowStepInputTypeArrayOutput added in v3.7.0

func (o IncidentWorkflowStepInputTypeArrayOutput) ToIncidentWorkflowStepInputTypeArrayOutput() IncidentWorkflowStepInputTypeArrayOutput

func (IncidentWorkflowStepInputTypeArrayOutput) ToIncidentWorkflowStepInputTypeArrayOutputWithContext added in v3.7.0

func (o IncidentWorkflowStepInputTypeArrayOutput) ToIncidentWorkflowStepInputTypeArrayOutputWithContext(ctx context.Context) IncidentWorkflowStepInputTypeArrayOutput

type IncidentWorkflowStepInputTypeInput added in v3.7.0

type IncidentWorkflowStepInputTypeInput interface {
	pulumi.Input

	ToIncidentWorkflowStepInputTypeOutput() IncidentWorkflowStepInputTypeOutput
	ToIncidentWorkflowStepInputTypeOutputWithContext(context.Context) IncidentWorkflowStepInputTypeOutput
}

IncidentWorkflowStepInputTypeInput is an input type that accepts IncidentWorkflowStepInputTypeArgs and IncidentWorkflowStepInputTypeOutput values. You can construct a concrete instance of `IncidentWorkflowStepInputTypeInput` via:

IncidentWorkflowStepInputTypeArgs{...}

type IncidentWorkflowStepInputTypeOutput added in v3.7.0

type IncidentWorkflowStepInputTypeOutput struct{ *pulumi.OutputState }

func (IncidentWorkflowStepInputTypeOutput) ElementType added in v3.7.0

func (IncidentWorkflowStepInputTypeOutput) Generated added in v3.7.0

func (IncidentWorkflowStepInputTypeOutput) Name added in v3.7.0

The name of the input.

func (IncidentWorkflowStepInputTypeOutput) ToIncidentWorkflowStepInputTypeOutput added in v3.7.0

func (o IncidentWorkflowStepInputTypeOutput) ToIncidentWorkflowStepInputTypeOutput() IncidentWorkflowStepInputTypeOutput

func (IncidentWorkflowStepInputTypeOutput) ToIncidentWorkflowStepInputTypeOutputWithContext added in v3.7.0

func (o IncidentWorkflowStepInputTypeOutput) ToIncidentWorkflowStepInputTypeOutputWithContext(ctx context.Context) IncidentWorkflowStepInputTypeOutput

func (IncidentWorkflowStepInputTypeOutput) Value added in v3.7.0

The value of the input.

type IncidentWorkflowStepOutput added in v3.7.0

type IncidentWorkflowStepOutput struct{ *pulumi.OutputState }

func (IncidentWorkflowStepOutput) Action added in v3.7.0

The action id for the workflow step, including the version. A list of actions available can be retrieved using the [PagerDuty API](https://developer.pagerduty.com/api-reference/aa192a25fac39-list-actions).

func (IncidentWorkflowStepOutput) ElementType added in v3.7.0

func (IncidentWorkflowStepOutput) ElementType() reflect.Type

func (IncidentWorkflowStepOutput) Id added in v3.7.0

The ID of the incident workflow.

func (IncidentWorkflowStepOutput) Inputs added in v3.7.0

The list of inputs for the workflow action.

func (IncidentWorkflowStepOutput) Name added in v3.7.0

The name of the workflow step.

func (IncidentWorkflowStepOutput) ToIncidentWorkflowStepOutput added in v3.7.0

func (o IncidentWorkflowStepOutput) ToIncidentWorkflowStepOutput() IncidentWorkflowStepOutput

func (IncidentWorkflowStepOutput) ToIncidentWorkflowStepOutputWithContext added in v3.7.0

func (o IncidentWorkflowStepOutput) ToIncidentWorkflowStepOutputWithContext(ctx context.Context) IncidentWorkflowStepOutput

type IncidentWorkflowTrigger added in v3.7.0

type IncidentWorkflowTrigger struct {
	pulumi.CustomResourceState

	// A [PCL](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview) condition string which must be satisfied for the trigger to fire.
	Condition pulumi.StringPtrOutput `pulumi:"condition"`
	// A list of service IDs. Incidents in any of the listed services are eligible to fire this trigger.
	Services pulumi.StringArrayOutput `pulumi:"services"`
	// Set to `true` if the trigger should be eligible for firing on all services. Only allowed to be `true` if the services list is not defined or empty.
	SubscribedToAllServices pulumi.BoolOutput `pulumi:"subscribedToAllServices"`
	// May be either `manual` or `conditional`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The workflow ID for the workflow to trigger.
	Workflow pulumi.StringOutput `pulumi:"workflow"`
}

An [Incident Workflow Trigger](https://support.pagerduty.com/docs/incident-workflows#triggers) defines when and if an [Incident Workflow](https://support.pagerduty.com/docs/incident-workflows) will be triggered.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myFirstWorkflow, err := pagerduty.NewIncidentWorkflow(ctx, "myFirstWorkflow", &pagerduty.IncidentWorkflowArgs{
			Description: pulumi.String("This Incident Workflow is an example"),
			Steps: pagerduty.IncidentWorkflowStepArray{
				&pagerduty.IncidentWorkflowStepArgs{
					Name:   pulumi.String("Send Status Update"),
					Action: pulumi.String("pagerduty.com:incident-workflows:send-status-update:1"),
					Inputs: pagerduty.IncidentWorkflowStepInputTypeArray{
						&pagerduty.IncidentWorkflowStepInputTypeArgs{
							Name:  pulumi.String("Message"),
							Value: pulumi.String("Example status message sent on {{current_date}}"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.LookupService(ctx, &pagerduty.LookupServiceArgs{
			Name: "My First Service",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewIncidentWorkflowTrigger(ctx, "automaticTrigger", &pagerduty.IncidentWorkflowTriggerArgs{
			Type:     pulumi.String("conditional"),
			Workflow: myFirstWorkflow.ID(),
			Services: pulumi.StringArray{
				pagerduty_service.First_service.Id,
			},
			Condition:               pulumi.String("incident.priority matches 'P1'"),
			SubscribedToAllServices: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.LookupTeam(ctx, &pagerduty.LookupTeamArgs{
			Name: "devops",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewIncidentWorkflowTrigger(ctx, "manualTrigger", &pagerduty.IncidentWorkflowTriggerArgs{
			Type:     pulumi.String("manual"),
			Workflow: myFirstWorkflow.ID(),
			Services: pulumi.StringArray{
				pagerduty_service.First_service.Id,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Incident workflows can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/incidentWorkflowTrigger:IncidentWorkflowTrigger pagerduty_incident_workflow_trigger PLBP09X

```

func GetIncidentWorkflowTrigger added in v3.7.0

func GetIncidentWorkflowTrigger(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IncidentWorkflowTriggerState, opts ...pulumi.ResourceOption) (*IncidentWorkflowTrigger, error)

GetIncidentWorkflowTrigger gets an existing IncidentWorkflowTrigger resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIncidentWorkflowTrigger added in v3.7.0

func NewIncidentWorkflowTrigger(ctx *pulumi.Context,
	name string, args *IncidentWorkflowTriggerArgs, opts ...pulumi.ResourceOption) (*IncidentWorkflowTrigger, error)

NewIncidentWorkflowTrigger registers a new resource with the given unique name, arguments, and options.

func (*IncidentWorkflowTrigger) ElementType added in v3.7.0

func (*IncidentWorkflowTrigger) ElementType() reflect.Type

func (*IncidentWorkflowTrigger) ToIncidentWorkflowTriggerOutput added in v3.7.0

func (i *IncidentWorkflowTrigger) ToIncidentWorkflowTriggerOutput() IncidentWorkflowTriggerOutput

func (*IncidentWorkflowTrigger) ToIncidentWorkflowTriggerOutputWithContext added in v3.7.0

func (i *IncidentWorkflowTrigger) ToIncidentWorkflowTriggerOutputWithContext(ctx context.Context) IncidentWorkflowTriggerOutput

type IncidentWorkflowTriggerArgs added in v3.7.0

type IncidentWorkflowTriggerArgs struct {
	// A [PCL](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview) condition string which must be satisfied for the trigger to fire.
	Condition pulumi.StringPtrInput
	// A list of service IDs. Incidents in any of the listed services are eligible to fire this trigger.
	Services pulumi.StringArrayInput
	// Set to `true` if the trigger should be eligible for firing on all services. Only allowed to be `true` if the services list is not defined or empty.
	SubscribedToAllServices pulumi.BoolInput
	// May be either `manual` or `conditional`.
	Type pulumi.StringInput
	// The workflow ID for the workflow to trigger.
	Workflow pulumi.StringInput
}

The set of arguments for constructing a IncidentWorkflowTrigger resource.

func (IncidentWorkflowTriggerArgs) ElementType added in v3.7.0

type IncidentWorkflowTriggerArray added in v3.7.0

type IncidentWorkflowTriggerArray []IncidentWorkflowTriggerInput

func (IncidentWorkflowTriggerArray) ElementType added in v3.7.0

func (IncidentWorkflowTriggerArray) ToIncidentWorkflowTriggerArrayOutput added in v3.7.0

func (i IncidentWorkflowTriggerArray) ToIncidentWorkflowTriggerArrayOutput() IncidentWorkflowTriggerArrayOutput

func (IncidentWorkflowTriggerArray) ToIncidentWorkflowTriggerArrayOutputWithContext added in v3.7.0

func (i IncidentWorkflowTriggerArray) ToIncidentWorkflowTriggerArrayOutputWithContext(ctx context.Context) IncidentWorkflowTriggerArrayOutput

type IncidentWorkflowTriggerArrayInput added in v3.7.0

type IncidentWorkflowTriggerArrayInput interface {
	pulumi.Input

	ToIncidentWorkflowTriggerArrayOutput() IncidentWorkflowTriggerArrayOutput
	ToIncidentWorkflowTriggerArrayOutputWithContext(context.Context) IncidentWorkflowTriggerArrayOutput
}

IncidentWorkflowTriggerArrayInput is an input type that accepts IncidentWorkflowTriggerArray and IncidentWorkflowTriggerArrayOutput values. You can construct a concrete instance of `IncidentWorkflowTriggerArrayInput` via:

IncidentWorkflowTriggerArray{ IncidentWorkflowTriggerArgs{...} }

type IncidentWorkflowTriggerArrayOutput added in v3.7.0

type IncidentWorkflowTriggerArrayOutput struct{ *pulumi.OutputState }

func (IncidentWorkflowTriggerArrayOutput) ElementType added in v3.7.0

func (IncidentWorkflowTriggerArrayOutput) Index added in v3.7.0

func (IncidentWorkflowTriggerArrayOutput) ToIncidentWorkflowTriggerArrayOutput added in v3.7.0

func (o IncidentWorkflowTriggerArrayOutput) ToIncidentWorkflowTriggerArrayOutput() IncidentWorkflowTriggerArrayOutput

func (IncidentWorkflowTriggerArrayOutput) ToIncidentWorkflowTriggerArrayOutputWithContext added in v3.7.0

func (o IncidentWorkflowTriggerArrayOutput) ToIncidentWorkflowTriggerArrayOutputWithContext(ctx context.Context) IncidentWorkflowTriggerArrayOutput

type IncidentWorkflowTriggerInput added in v3.7.0

type IncidentWorkflowTriggerInput interface {
	pulumi.Input

	ToIncidentWorkflowTriggerOutput() IncidentWorkflowTriggerOutput
	ToIncidentWorkflowTriggerOutputWithContext(ctx context.Context) IncidentWorkflowTriggerOutput
}

type IncidentWorkflowTriggerMap added in v3.7.0

type IncidentWorkflowTriggerMap map[string]IncidentWorkflowTriggerInput

func (IncidentWorkflowTriggerMap) ElementType added in v3.7.0

func (IncidentWorkflowTriggerMap) ElementType() reflect.Type

func (IncidentWorkflowTriggerMap) ToIncidentWorkflowTriggerMapOutput added in v3.7.0

func (i IncidentWorkflowTriggerMap) ToIncidentWorkflowTriggerMapOutput() IncidentWorkflowTriggerMapOutput

func (IncidentWorkflowTriggerMap) ToIncidentWorkflowTriggerMapOutputWithContext added in v3.7.0

func (i IncidentWorkflowTriggerMap) ToIncidentWorkflowTriggerMapOutputWithContext(ctx context.Context) IncidentWorkflowTriggerMapOutput

type IncidentWorkflowTriggerMapInput added in v3.7.0

type IncidentWorkflowTriggerMapInput interface {
	pulumi.Input

	ToIncidentWorkflowTriggerMapOutput() IncidentWorkflowTriggerMapOutput
	ToIncidentWorkflowTriggerMapOutputWithContext(context.Context) IncidentWorkflowTriggerMapOutput
}

IncidentWorkflowTriggerMapInput is an input type that accepts IncidentWorkflowTriggerMap and IncidentWorkflowTriggerMapOutput values. You can construct a concrete instance of `IncidentWorkflowTriggerMapInput` via:

IncidentWorkflowTriggerMap{ "key": IncidentWorkflowTriggerArgs{...} }

type IncidentWorkflowTriggerMapOutput added in v3.7.0

type IncidentWorkflowTriggerMapOutput struct{ *pulumi.OutputState }

func (IncidentWorkflowTriggerMapOutput) ElementType added in v3.7.0

func (IncidentWorkflowTriggerMapOutput) MapIndex added in v3.7.0

func (IncidentWorkflowTriggerMapOutput) ToIncidentWorkflowTriggerMapOutput added in v3.7.0

func (o IncidentWorkflowTriggerMapOutput) ToIncidentWorkflowTriggerMapOutput() IncidentWorkflowTriggerMapOutput

func (IncidentWorkflowTriggerMapOutput) ToIncidentWorkflowTriggerMapOutputWithContext added in v3.7.0

func (o IncidentWorkflowTriggerMapOutput) ToIncidentWorkflowTriggerMapOutputWithContext(ctx context.Context) IncidentWorkflowTriggerMapOutput

type IncidentWorkflowTriggerOutput added in v3.7.0

type IncidentWorkflowTriggerOutput struct{ *pulumi.OutputState }

func (IncidentWorkflowTriggerOutput) Condition added in v3.7.0

A [PCL](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview) condition string which must be satisfied for the trigger to fire.

func (IncidentWorkflowTriggerOutput) ElementType added in v3.7.0

func (IncidentWorkflowTriggerOutput) Services added in v3.7.0

A list of service IDs. Incidents in any of the listed services are eligible to fire this trigger.

func (IncidentWorkflowTriggerOutput) SubscribedToAllServices added in v3.7.0

func (o IncidentWorkflowTriggerOutput) SubscribedToAllServices() pulumi.BoolOutput

Set to `true` if the trigger should be eligible for firing on all services. Only allowed to be `true` if the services list is not defined or empty.

func (IncidentWorkflowTriggerOutput) ToIncidentWorkflowTriggerOutput added in v3.7.0

func (o IncidentWorkflowTriggerOutput) ToIncidentWorkflowTriggerOutput() IncidentWorkflowTriggerOutput

func (IncidentWorkflowTriggerOutput) ToIncidentWorkflowTriggerOutputWithContext added in v3.7.0

func (o IncidentWorkflowTriggerOutput) ToIncidentWorkflowTriggerOutputWithContext(ctx context.Context) IncidentWorkflowTriggerOutput

func (IncidentWorkflowTriggerOutput) Type added in v3.7.0

May be either `manual` or `conditional`.

func (IncidentWorkflowTriggerOutput) Workflow added in v3.7.0

The workflow ID for the workflow to trigger.

type IncidentWorkflowTriggerState added in v3.7.0

type IncidentWorkflowTriggerState struct {
	// A [PCL](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview) condition string which must be satisfied for the trigger to fire.
	Condition pulumi.StringPtrInput
	// A list of service IDs. Incidents in any of the listed services are eligible to fire this trigger.
	Services pulumi.StringArrayInput
	// Set to `true` if the trigger should be eligible for firing on all services. Only allowed to be `true` if the services list is not defined or empty.
	SubscribedToAllServices pulumi.BoolPtrInput
	// May be either `manual` or `conditional`.
	Type pulumi.StringPtrInput
	// The workflow ID for the workflow to trigger.
	Workflow pulumi.StringPtrInput
}

func (IncidentWorkflowTriggerState) ElementType added in v3.7.0

type LookupAutomationActionsActionArgs added in v3.7.0

type LookupAutomationActionsActionArgs struct {
	// (Optional) The category of the action. The only allowed values are `diagnostic` and `remediation`.
	ActionClassification *string `pulumi:"actionClassification"`
	// The time action was created. Represented as an ISO 8601 timestamp.
	CreationTime *string `pulumi:"creationTime"`
	// (Optional) The description of the action.
	Description *string `pulumi:"description"`
	// The id of the automation actions action in the PagerDuty API.
	Id string `pulumi:"id"`
	// (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
	ModifyTime *string `pulumi:"modifyTime"`
	// (Optional) The Process Automation Actions runner to associate the action with.
	RunnerId *string `pulumi:"runnerId"`
	// (Optional) The type of the runner associated with the action.
	RunnerType *string `pulumi:"runnerType"`
	// The type of object. The value returned will be `action`.
	Type *string `pulumi:"type"`
}

A collection of arguments for invoking getAutomationActionsAction.

type LookupAutomationActionsActionOutputArgs added in v3.7.0

type LookupAutomationActionsActionOutputArgs struct {
	// (Optional) The category of the action. The only allowed values are `diagnostic` and `remediation`.
	ActionClassification pulumi.StringPtrInput `pulumi:"actionClassification"`
	// The time action was created. Represented as an ISO 8601 timestamp.
	CreationTime pulumi.StringPtrInput `pulumi:"creationTime"`
	// (Optional) The description of the action.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The id of the automation actions action in the PagerDuty API.
	Id pulumi.StringInput `pulumi:"id"`
	// (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
	ModifyTime pulumi.StringPtrInput `pulumi:"modifyTime"`
	// (Optional) The Process Automation Actions runner to associate the action with.
	RunnerId pulumi.StringPtrInput `pulumi:"runnerId"`
	// (Optional) The type of the runner associated with the action.
	RunnerType pulumi.StringPtrInput `pulumi:"runnerType"`
	// The type of object. The value returned will be `action`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

A collection of arguments for invoking getAutomationActionsAction.

func (LookupAutomationActionsActionOutputArgs) ElementType added in v3.7.0

type LookupAutomationActionsActionResult added in v3.7.0

type LookupAutomationActionsActionResult struct {
	// (Optional) The category of the action. The only allowed values are `diagnostic` and `remediation`.
	ActionClassification string `pulumi:"actionClassification"`
	// Action Data block. Action Data is documented below.
	ActionDataReferences []GetAutomationActionsActionActionDataReference `pulumi:"actionDataReferences"`
	// The type of the action. The only allowed values are `processAutomation` and `script`.
	ActionType string `pulumi:"actionType"`
	// The time action was created. Represented as an ISO 8601 timestamp.
	CreationTime string `pulumi:"creationTime"`
	// (Optional) The description of the action.
	Description string `pulumi:"description"`
	// The ID of the action.
	Id string `pulumi:"id"`
	// (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
	ModifyTime string `pulumi:"modifyTime"`
	// The name of the action.
	Name string `pulumi:"name"`
	// (Optional) The Process Automation Actions runner to associate the action with.
	RunnerId string `pulumi:"runnerId"`
	// (Optional) The type of the runner associated with the action.
	RunnerType string `pulumi:"runnerType"`
	// The type of object. The value returned will be `action`.
	Type string `pulumi:"type"`
}

A collection of values returned by getAutomationActionsAction.

func LookupAutomationActionsAction added in v3.7.0

Use this data source to get information about a specific [automation actions action](https://developer.pagerduty.com/api-reference/357ed15419f64-get-an-automation-action).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.LookupAutomationActionsAction(ctx, &pagerduty.LookupAutomationActionsActionArgs{
			Id: "01CS1685B2UDM4I3XUUOXPPORM",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupAutomationActionsActionResultOutput added in v3.7.0

type LookupAutomationActionsActionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAutomationActionsAction.

func (LookupAutomationActionsActionResultOutput) ActionClassification added in v3.7.0

(Optional) The category of the action. The only allowed values are `diagnostic` and `remediation`.

func (LookupAutomationActionsActionResultOutput) ActionDataReferences added in v3.7.0

Action Data block. Action Data is documented below.

func (LookupAutomationActionsActionResultOutput) ActionType added in v3.7.0

The type of the action. The only allowed values are `processAutomation` and `script`.

func (LookupAutomationActionsActionResultOutput) CreationTime added in v3.7.0

The time action was created. Represented as an ISO 8601 timestamp.

func (LookupAutomationActionsActionResultOutput) Description added in v3.7.0

(Optional) The description of the action.

func (LookupAutomationActionsActionResultOutput) ElementType added in v3.7.0

func (LookupAutomationActionsActionResultOutput) Id added in v3.7.0

The ID of the action.

func (LookupAutomationActionsActionResultOutput) ModifyTime added in v3.7.0

(Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.

func (LookupAutomationActionsActionResultOutput) Name added in v3.7.0

The name of the action.

func (LookupAutomationActionsActionResultOutput) RunnerId added in v3.7.0

(Optional) The Process Automation Actions runner to associate the action with.

func (LookupAutomationActionsActionResultOutput) RunnerType added in v3.7.0

(Optional) The type of the runner associated with the action.

func (LookupAutomationActionsActionResultOutput) ToLookupAutomationActionsActionResultOutput added in v3.7.0

func (o LookupAutomationActionsActionResultOutput) ToLookupAutomationActionsActionResultOutput() LookupAutomationActionsActionResultOutput

func (LookupAutomationActionsActionResultOutput) ToLookupAutomationActionsActionResultOutputWithContext added in v3.7.0

func (o LookupAutomationActionsActionResultOutput) ToLookupAutomationActionsActionResultOutputWithContext(ctx context.Context) LookupAutomationActionsActionResultOutput

func (LookupAutomationActionsActionResultOutput) Type added in v3.7.0

The type of object. The value returned will be `action`.

type LookupAutomationActionsRunnerArgs added in v3.7.0

type LookupAutomationActionsRunnerArgs struct {
	// (Optional) The description of the runner.
	Description *string `pulumi:"description"`
	// The id of the automation actions runner in the PagerDuty API.
	Id string `pulumi:"id"`
	// (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
	LastSeen *string `pulumi:"lastSeen"`
	// (Optional) The base URI of the Runbook server to connect to. Applicable to `runbook` type runners only.
	RunbookBaseUri *string `pulumi:"runbookBaseUri"`
}

A collection of arguments for invoking getAutomationActionsRunner.

type LookupAutomationActionsRunnerOutputArgs added in v3.7.0

type LookupAutomationActionsRunnerOutputArgs struct {
	// (Optional) The description of the runner.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The id of the automation actions runner in the PagerDuty API.
	Id pulumi.StringInput `pulumi:"id"`
	// (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
	LastSeen pulumi.StringPtrInput `pulumi:"lastSeen"`
	// (Optional) The base URI of the Runbook server to connect to. Applicable to `runbook` type runners only.
	RunbookBaseUri pulumi.StringPtrInput `pulumi:"runbookBaseUri"`
}

A collection of arguments for invoking getAutomationActionsRunner.

func (LookupAutomationActionsRunnerOutputArgs) ElementType added in v3.7.0

type LookupAutomationActionsRunnerResult added in v3.7.0

type LookupAutomationActionsRunnerResult struct {
	// The time runner was created. Represented as an ISO 8601 timestamp.
	CreationTime string `pulumi:"creationTime"`
	// (Optional) The description of the runner.
	Description string `pulumi:"description"`
	// The ID of the found runner.
	Id string `pulumi:"id"`
	// (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
	LastSeen string `pulumi:"lastSeen"`
	// The name of the found runner.
	Name string `pulumi:"name"`
	// (Optional) The base URI of the Runbook server to connect to. Applicable to `runbook` type runners only.
	RunbookBaseUri string `pulumi:"runbookBaseUri"`
	// The type of runner. Allowed values are `sidecar` and `runbook`.
	RunnerType string `pulumi:"runnerType"`
	// The type of object. The value returned will be `runner`.
	Type string `pulumi:"type"`
}

A collection of values returned by getAutomationActionsRunner.

func LookupAutomationActionsRunner added in v3.7.0

Use this data source to get information about a specific [automation actions runner](https://developer.pagerduty.com/api-reference/aace61f84cbd0-get-an-automation-action-runner).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.LookupAutomationActionsRunner(ctx, &pagerduty.LookupAutomationActionsRunnerArgs{
			Id: "01DBJLIGED17S1DQKQC2AV8XYZ",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupAutomationActionsRunnerResultOutput added in v3.7.0

type LookupAutomationActionsRunnerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAutomationActionsRunner.

func (LookupAutomationActionsRunnerResultOutput) CreationTime added in v3.7.0

The time runner was created. Represented as an ISO 8601 timestamp.

func (LookupAutomationActionsRunnerResultOutput) Description added in v3.7.0

(Optional) The description of the runner.

func (LookupAutomationActionsRunnerResultOutput) ElementType added in v3.7.0

func (LookupAutomationActionsRunnerResultOutput) Id added in v3.7.0

The ID of the found runner.

func (LookupAutomationActionsRunnerResultOutput) LastSeen added in v3.7.0

(Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.

func (LookupAutomationActionsRunnerResultOutput) Name added in v3.7.0

The name of the found runner.

func (LookupAutomationActionsRunnerResultOutput) RunbookBaseUri added in v3.7.0

(Optional) The base URI of the Runbook server to connect to. Applicable to `runbook` type runners only.

func (LookupAutomationActionsRunnerResultOutput) RunnerType added in v3.7.0

The type of runner. Allowed values are `sidecar` and `runbook`.

func (LookupAutomationActionsRunnerResultOutput) ToLookupAutomationActionsRunnerResultOutput added in v3.7.0

func (o LookupAutomationActionsRunnerResultOutput) ToLookupAutomationActionsRunnerResultOutput() LookupAutomationActionsRunnerResultOutput

func (LookupAutomationActionsRunnerResultOutput) ToLookupAutomationActionsRunnerResultOutputWithContext added in v3.7.0

func (o LookupAutomationActionsRunnerResultOutput) ToLookupAutomationActionsRunnerResultOutputWithContext(ctx context.Context) LookupAutomationActionsRunnerResultOutput

func (LookupAutomationActionsRunnerResultOutput) Type added in v3.7.0

The type of object. The value returned will be `runner`.

type LookupBusinessServiceArgs

type LookupBusinessServiceArgs struct {
	// The business service name to use to find a business service in the PagerDuty API.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getBusinessService.

type LookupBusinessServiceOutputArgs added in v3.1.0

type LookupBusinessServiceOutputArgs struct {
	// The business service name to use to find a business service in the PagerDuty API.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getBusinessService.

func (LookupBusinessServiceOutputArgs) ElementType added in v3.1.0

type LookupBusinessServiceResult

type LookupBusinessServiceResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The short name of the found business service.
	Name string `pulumi:"name"`
	// The type of object. The value returned will be `businessService`. Can be used for passing to a service dependency.
	Type string `pulumi:"type"`
}

A collection of values returned by getBusinessService.

func LookupBusinessService

func LookupBusinessService(ctx *pulumi.Context, args *LookupBusinessServiceArgs, opts ...pulumi.InvokeOption) (*LookupBusinessServiceResult, error)

Use this data source to get information about a specific [business service](https://api-reference.pagerduty.com/#!/Business_Services/get_business_services).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.LookupBusinessService(ctx, &pagerduty.LookupBusinessServiceArgs{
			Name: "My Service",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupBusinessServiceResultOutput added in v3.1.0

type LookupBusinessServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBusinessService.

func LookupBusinessServiceOutput added in v3.1.0

func (LookupBusinessServiceResultOutput) ElementType added in v3.1.0

func (LookupBusinessServiceResultOutput) Id added in v3.1.0

The provider-assigned unique ID for this managed resource.

func (LookupBusinessServiceResultOutput) Name added in v3.1.0

The short name of the found business service.

func (LookupBusinessServiceResultOutput) ToLookupBusinessServiceResultOutput added in v3.1.0

func (o LookupBusinessServiceResultOutput) ToLookupBusinessServiceResultOutput() LookupBusinessServiceResultOutput

func (LookupBusinessServiceResultOutput) ToLookupBusinessServiceResultOutputWithContext added in v3.1.0

func (o LookupBusinessServiceResultOutput) ToLookupBusinessServiceResultOutputWithContext(ctx context.Context) LookupBusinessServiceResultOutput

func (LookupBusinessServiceResultOutput) Type added in v3.4.0

The type of object. The value returned will be `businessService`. Can be used for passing to a service dependency.

type LookupCustomFieldArgs added in v3.8.0

type LookupCustomFieldArgs struct {
	// The name of the field.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getCustomField.

type LookupCustomFieldOutputArgs added in v3.8.0

type LookupCustomFieldOutputArgs struct {
	// The name of the field.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getCustomField.

func (LookupCustomFieldOutputArgs) ElementType added in v3.8.0

type LookupCustomFieldResult added in v3.8.0

type LookupCustomFieldResult struct {
	Datatype     string `pulumi:"datatype"`
	Description  string `pulumi:"description"`
	DisplayName  string `pulumi:"displayName"`
	FixedOptions bool   `pulumi:"fixedOptions"`
	// The provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	MultiValue bool   `pulumi:"multiValue"`
	Name       string `pulumi:"name"`
}

A collection of values returned by getCustomField.

func LookupCustomField added in v3.8.0

func LookupCustomField(ctx *pulumi.Context, args *LookupCustomFieldArgs, opts ...pulumi.InvokeOption) (*LookupCustomFieldResult, error)

!> This Data Source is no longer functional. Documentation is left here for the purpose of documenting migration steps.

Use this data source to get information about a specific [Custom Field](https://support.pagerduty.com/docs/custom-fields) that you can add to a custom field schema.

## Migration

The `incidentCustomField` data source provides similar functionality with the same arguments and attributes. The key distinction is that while custom fields returned by this data source may have only applied to a subset of incidents within the account, custom fields returned by the `incidentCustomField` data source are applied to all incidents in the account.

type LookupCustomFieldResultOutput added in v3.8.0

type LookupCustomFieldResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCustomField.

func LookupCustomFieldOutput added in v3.8.0

func (LookupCustomFieldResultOutput) Datatype added in v3.8.0

func (LookupCustomFieldResultOutput) Description added in v3.8.0

func (LookupCustomFieldResultOutput) DisplayName added in v3.8.0

func (LookupCustomFieldResultOutput) ElementType added in v3.8.0

func (LookupCustomFieldResultOutput) FixedOptions added in v3.8.0

func (LookupCustomFieldResultOutput) Id added in v3.8.0

The provider-assigned unique ID for this managed resource.

func (LookupCustomFieldResultOutput) MultiValue added in v3.8.0

func (LookupCustomFieldResultOutput) Name added in v3.8.0

func (LookupCustomFieldResultOutput) ToLookupCustomFieldResultOutput added in v3.8.0

func (o LookupCustomFieldResultOutput) ToLookupCustomFieldResultOutput() LookupCustomFieldResultOutput

func (LookupCustomFieldResultOutput) ToLookupCustomFieldResultOutputWithContext added in v3.8.0

func (o LookupCustomFieldResultOutput) ToLookupCustomFieldResultOutputWithContext(ctx context.Context) LookupCustomFieldResultOutput

type LookupCustomFieldSchemaArgs added in v3.8.0

type LookupCustomFieldSchemaArgs struct {
	// The title of the field schema.
	Title string `pulumi:"title"`
}

A collection of arguments for invoking getCustomFieldSchema.

type LookupCustomFieldSchemaOutputArgs added in v3.8.0

type LookupCustomFieldSchemaOutputArgs struct {
	// The title of the field schema.
	Title pulumi.StringInput `pulumi:"title"`
}

A collection of arguments for invoking getCustomFieldSchema.

func (LookupCustomFieldSchemaOutputArgs) ElementType added in v3.8.0

type LookupCustomFieldSchemaResult added in v3.8.0

type LookupCustomFieldSchemaResult struct {
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id    string `pulumi:"id"`
	Title string `pulumi:"title"`
}

A collection of values returned by getCustomFieldSchema.

func LookupCustomFieldSchema added in v3.8.0

func LookupCustomFieldSchema(ctx *pulumi.Context, args *LookupCustomFieldSchemaArgs, opts ...pulumi.InvokeOption) (*LookupCustomFieldSchemaResult, error)

!> This Data Source is no longer functional. Documentation is left here for the purpose of documenting migration steps.

Use this data source to get information about a specific [Custom Field Schema](https://support.pagerduty.com/docs/custom-fields#schemas) that you can assign to a service.

## Migration

This data source has no currently functional counterpart. Custom Fields on Incidents are now applied globally to incidents within an account and have no notion of a Field Schema.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myschema, err := pagerduty.LookupCustomFieldSchema(ctx, &pagerduty.LookupCustomFieldSchemaArgs{
			Title: "myschema title",
		}, nil)
		if err != nil {
			return err
		}
		firstService, err := pagerduty.LookupService(ctx, &pagerduty.LookupServiceArgs{
			Name: "My Service",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewCustomFieldSchemaAssignment(ctx, "foo", &pagerduty.CustomFieldSchemaAssignmentArgs{
			Schema:  *pulumi.String(myschema.Id),
			Service: *pulumi.String(firstService.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupCustomFieldSchemaResultOutput added in v3.8.0

type LookupCustomFieldSchemaResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCustomFieldSchema.

func (LookupCustomFieldSchemaResultOutput) Description added in v3.8.0

func (LookupCustomFieldSchemaResultOutput) ElementType added in v3.8.0

func (LookupCustomFieldSchemaResultOutput) Id added in v3.8.0

The provider-assigned unique ID for this managed resource.

func (LookupCustomFieldSchemaResultOutput) Title added in v3.8.0

func (LookupCustomFieldSchemaResultOutput) ToLookupCustomFieldSchemaResultOutput added in v3.8.0

func (o LookupCustomFieldSchemaResultOutput) ToLookupCustomFieldSchemaResultOutput() LookupCustomFieldSchemaResultOutput

func (LookupCustomFieldSchemaResultOutput) ToLookupCustomFieldSchemaResultOutputWithContext added in v3.8.0

func (o LookupCustomFieldSchemaResultOutput) ToLookupCustomFieldSchemaResultOutputWithContext(ctx context.Context) LookupCustomFieldSchemaResultOutput

type LookupEscalationPolicyArgs

type LookupEscalationPolicyArgs struct {
	// The name to use to find an escalation policy in the PagerDuty API.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getEscalationPolicy.

type LookupEscalationPolicyOutputArgs added in v3.1.0

type LookupEscalationPolicyOutputArgs struct {
	// The name to use to find an escalation policy in the PagerDuty API.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getEscalationPolicy.

func (LookupEscalationPolicyOutputArgs) ElementType added in v3.1.0

type LookupEscalationPolicyResult

type LookupEscalationPolicyResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The short name of the found escalation policy.
	Name string `pulumi:"name"`
}

A collection of values returned by getEscalationPolicy.

func LookupEscalationPolicy

func LookupEscalationPolicy(ctx *pulumi.Context, args *LookupEscalationPolicyArgs, opts ...pulumi.InvokeOption) (*LookupEscalationPolicyResult, error)

Use this data source to get information about a specific [escalation policy](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEyNA-list-escalation-policies) that you can use for other PagerDuty resources.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testEscalationPolicy, err := pagerduty.LookupEscalationPolicy(ctx, &pagerduty.LookupEscalationPolicyArgs{
			Name: "Engineering Escalation Policy",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewService(ctx, "testService", &pagerduty.ServiceArgs{
			AutoResolveTimeout:     pulumi.String("14400"),
			AcknowledgementTimeout: pulumi.String("600"),
			EscalationPolicy:       *pulumi.String(testEscalationPolicy.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupEscalationPolicyResultOutput added in v3.1.0

type LookupEscalationPolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEscalationPolicy.

func LookupEscalationPolicyOutput added in v3.1.0

func (LookupEscalationPolicyResultOutput) ElementType added in v3.1.0

func (LookupEscalationPolicyResultOutput) Id added in v3.1.0

The provider-assigned unique ID for this managed resource.

func (LookupEscalationPolicyResultOutput) Name added in v3.1.0

The short name of the found escalation policy.

func (LookupEscalationPolicyResultOutput) ToLookupEscalationPolicyResultOutput added in v3.1.0

func (o LookupEscalationPolicyResultOutput) ToLookupEscalationPolicyResultOutput() LookupEscalationPolicyResultOutput

func (LookupEscalationPolicyResultOutput) ToLookupEscalationPolicyResultOutputWithContext added in v3.1.0

func (o LookupEscalationPolicyResultOutput) ToLookupEscalationPolicyResultOutputWithContext(ctx context.Context) LookupEscalationPolicyResultOutput

type LookupEventOrchestrationArgs added in v3.5.0

type LookupEventOrchestrationArgs struct {
	// An integration for the Event Orchestration.
	IntegrationDetail []GetEventOrchestrationIntegrationDetail `pulumi:"integrationDetail"`
	// The name of the Global Event orchestration to find in the PagerDuty API.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getEventOrchestration.

type LookupEventOrchestrationIntegrationArgs added in v3.10.0

type LookupEventOrchestrationIntegrationArgs struct {
	// ID of the Event Orchestration to which this Integration belongs.
	EventOrchestration string `pulumi:"eventOrchestration"`
	// ID of the Integration associated with the Event Orchestration. Specify either `id` or `label`. If both are specified `id` takes precedence.
	Id *string `pulumi:"id"`
	// Name/description of the Integration associated with the Event Orchestration. Specify either `id` or `label`. If both are specified `id` takes precedence. The value of `label` is not unique. Potentially there might be multiple Integrations with the same `label` value associated with the Event Orchestration and retrieving data by `label` attribute will result in an error during the planning step.
	Label *string `pulumi:"label"`
}

A collection of arguments for invoking getEventOrchestrationIntegration.

type LookupEventOrchestrationIntegrationOutputArgs added in v3.10.0

type LookupEventOrchestrationIntegrationOutputArgs struct {
	// ID of the Event Orchestration to which this Integration belongs.
	EventOrchestration pulumi.StringInput `pulumi:"eventOrchestration"`
	// ID of the Integration associated with the Event Orchestration. Specify either `id` or `label`. If both are specified `id` takes precedence.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Name/description of the Integration associated with the Event Orchestration. Specify either `id` or `label`. If both are specified `id` takes precedence. The value of `label` is not unique. Potentially there might be multiple Integrations with the same `label` value associated with the Event Orchestration and retrieving data by `label` attribute will result in an error during the planning step.
	Label pulumi.StringPtrInput `pulumi:"label"`
}

A collection of arguments for invoking getEventOrchestrationIntegration.

func (LookupEventOrchestrationIntegrationOutputArgs) ElementType added in v3.10.0

type LookupEventOrchestrationIntegrationResult added in v3.10.0

type LookupEventOrchestrationIntegrationResult struct {
	EventOrchestration string                                      `pulumi:"eventOrchestration"`
	Id                 *string                                     `pulumi:"id"`
	Label              *string                                     `pulumi:"label"`
	Parameters         []GetEventOrchestrationIntegrationParameter `pulumi:"parameters"`
}

A collection of values returned by getEventOrchestrationIntegration.

func LookupEventOrchestrationIntegration added in v3.10.0

Use this data source to get information about a specific [Integration](https://developer.pagerduty.com/api-reference/1c6607db389a8-get-an-integration-for-an-event-orchestration) for an Event Orchestration.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		eventOrchestration, err := pagerduty.NewEventOrchestration(ctx, "eventOrchestration", nil)
		if err != nil {
			return err
		}
		_ = pagerduty.LookupEventOrchestrationIntegrationOutput(ctx, pagerduty.GetEventOrchestrationIntegrationOutputArgs{
			EventOrchestration: eventOrchestration.ID(),
			Label:              pulumi.String("Test Event Orchestration Default Integration"),
		}, nil)
		return nil
	})
}

```

type LookupEventOrchestrationIntegrationResultOutput added in v3.10.0

type LookupEventOrchestrationIntegrationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEventOrchestrationIntegration.

func (LookupEventOrchestrationIntegrationResultOutput) ElementType added in v3.10.0

func (LookupEventOrchestrationIntegrationResultOutput) EventOrchestration added in v3.10.0

func (LookupEventOrchestrationIntegrationResultOutput) Id added in v3.10.0

func (LookupEventOrchestrationIntegrationResultOutput) Label added in v3.10.0

func (LookupEventOrchestrationIntegrationResultOutput) Parameters added in v3.10.0

func (LookupEventOrchestrationIntegrationResultOutput) ToLookupEventOrchestrationIntegrationResultOutput added in v3.10.0

func (o LookupEventOrchestrationIntegrationResultOutput) ToLookupEventOrchestrationIntegrationResultOutput() LookupEventOrchestrationIntegrationResultOutput

func (LookupEventOrchestrationIntegrationResultOutput) ToLookupEventOrchestrationIntegrationResultOutputWithContext added in v3.10.0

func (o LookupEventOrchestrationIntegrationResultOutput) ToLookupEventOrchestrationIntegrationResultOutputWithContext(ctx context.Context) LookupEventOrchestrationIntegrationResultOutput

type LookupEventOrchestrationOutputArgs added in v3.5.0

type LookupEventOrchestrationOutputArgs struct {
	// An integration for the Event Orchestration.
	IntegrationDetail GetEventOrchestrationIntegrationDetailArrayInput `pulumi:"integrationDetail"`
	// The name of the Global Event orchestration to find in the PagerDuty API.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getEventOrchestration.

func (LookupEventOrchestrationOutputArgs) ElementType added in v3.5.0

type LookupEventOrchestrationResult added in v3.5.0

type LookupEventOrchestrationResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// An integration for the Event Orchestration.
	IntegrationDetail []GetEventOrchestrationIntegrationDetail `pulumi:"integrationDetail"`
	// The name of the found Event Orchestration.
	Name string `pulumi:"name"`
}

A collection of values returned by getEventOrchestration.

func LookupEventOrchestration added in v3.5.0

func LookupEventOrchestration(ctx *pulumi.Context, args *LookupEventOrchestrationArgs, opts ...pulumi.InvokeOption) (*LookupEventOrchestrationResult, error)

Use this data source to get information about a specific Global [Event Orchestration](https://developer.pagerduty.com/api-reference/7ba0fe7bdb26a-list-event-orchestrations)

type LookupEventOrchestrationResultOutput added in v3.5.0

type LookupEventOrchestrationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEventOrchestration.

func (LookupEventOrchestrationResultOutput) ElementType added in v3.5.0

func (LookupEventOrchestrationResultOutput) Id added in v3.5.0

The provider-assigned unique ID for this managed resource.

func (LookupEventOrchestrationResultOutput) IntegrationDetail added in v3.10.0

An integration for the Event Orchestration.

func (LookupEventOrchestrationResultOutput) Name added in v3.5.0

The name of the found Event Orchestration.

func (LookupEventOrchestrationResultOutput) ToLookupEventOrchestrationResultOutput added in v3.5.0

func (o LookupEventOrchestrationResultOutput) ToLookupEventOrchestrationResultOutput() LookupEventOrchestrationResultOutput

func (LookupEventOrchestrationResultOutput) ToLookupEventOrchestrationResultOutputWithContext added in v3.5.0

func (o LookupEventOrchestrationResultOutput) ToLookupEventOrchestrationResultOutputWithContext(ctx context.Context) LookupEventOrchestrationResultOutput

type LookupIncidentCustomFieldArgs added in v3.10.3

type LookupIncidentCustomFieldArgs struct {
	// The name of the field.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getIncidentCustomField.

type LookupIncidentCustomFieldOutputArgs added in v3.10.3

type LookupIncidentCustomFieldOutputArgs struct {
	// The name of the field.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getIncidentCustomField.

func (LookupIncidentCustomFieldOutputArgs) ElementType added in v3.10.3

type LookupIncidentCustomFieldResult added in v3.10.3

type LookupIncidentCustomFieldResult struct {
	DataType    string `pulumi:"dataType"`
	Description string `pulumi:"description"`
	DisplayName string `pulumi:"displayName"`
	FieldType   string `pulumi:"fieldType"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
}

A collection of values returned by getIncidentCustomField.

func LookupIncidentCustomField added in v3.10.3

func LookupIncidentCustomField(ctx *pulumi.Context, args *LookupIncidentCustomFieldArgs, opts ...pulumi.InvokeOption) (*LookupIncidentCustomFieldResult, error)

Use this data source to get information about a specific [Incident Custom Field](https://support.pagerduty.com/docs/custom-fields-on-incidents).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		environment, err := pagerduty.LookupIncidentCustomField(ctx, &pagerduty.LookupIncidentCustomFieldArgs{
			Name: "environment",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewIncidentCustomFieldOption(ctx, "devEnvironment", &pagerduty.IncidentCustomFieldOptionArgs{
			Field:    *pulumi.String(environment.Id),
			Datatype: pulumi.String("string"),
			Value:    pulumi.String("dev"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupIncidentCustomFieldResultOutput added in v3.10.3

type LookupIncidentCustomFieldResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIncidentCustomField.

func (LookupIncidentCustomFieldResultOutput) DataType added in v3.10.3

func (LookupIncidentCustomFieldResultOutput) Description added in v3.10.3

func (LookupIncidentCustomFieldResultOutput) DisplayName added in v3.10.3

func (LookupIncidentCustomFieldResultOutput) ElementType added in v3.10.3

func (LookupIncidentCustomFieldResultOutput) FieldType added in v3.10.3

func (LookupIncidentCustomFieldResultOutput) Id added in v3.10.3

The provider-assigned unique ID for this managed resource.

func (LookupIncidentCustomFieldResultOutput) Name added in v3.10.3

func (LookupIncidentCustomFieldResultOutput) ToLookupIncidentCustomFieldResultOutput added in v3.10.3

func (o LookupIncidentCustomFieldResultOutput) ToLookupIncidentCustomFieldResultOutput() LookupIncidentCustomFieldResultOutput

func (LookupIncidentCustomFieldResultOutput) ToLookupIncidentCustomFieldResultOutputWithContext added in v3.10.3

func (o LookupIncidentCustomFieldResultOutput) ToLookupIncidentCustomFieldResultOutputWithContext(ctx context.Context) LookupIncidentCustomFieldResultOutput

type LookupIncidentWorkflowArgs added in v3.7.0

type LookupIncidentWorkflowArgs struct {
	// The name of the workflow.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getIncidentWorkflow.

type LookupIncidentWorkflowOutputArgs added in v3.7.0

type LookupIncidentWorkflowOutputArgs struct {
	// The name of the workflow.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getIncidentWorkflow.

func (LookupIncidentWorkflowOutputArgs) ElementType added in v3.7.0

type LookupIncidentWorkflowResult added in v3.7.0

type LookupIncidentWorkflowResult struct {
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
}

A collection of values returned by getIncidentWorkflow.

func LookupIncidentWorkflow added in v3.7.0

func LookupIncidentWorkflow(ctx *pulumi.Context, args *LookupIncidentWorkflowArgs, opts ...pulumi.InvokeOption) (*LookupIncidentWorkflowResult, error)

Use this data source to get information about a specific [Incident Workflow](https://support.pagerduty.com/docs/incident-workflows) so that you can create a trigger for it.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myWorkflow, err := pagerduty.LookupIncidentWorkflow(ctx, &pagerduty.LookupIncidentWorkflowArgs{
			Name: "Some Workflow Name",
		}, nil)
		if err != nil {
			return err
		}
		firstService, err := pagerduty.LookupService(ctx, &pagerduty.LookupServiceArgs{
			Name: "My First Service",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewIncidentWorkflowTrigger(ctx, "automaticTrigger", &pagerduty.IncidentWorkflowTriggerArgs{
			Type:     pulumi.String("conditional"),
			Workflow: *pulumi.String(myWorkflow.Id),
			Services: pulumi.StringArray{
				*pulumi.String(firstService.Id),
			},
			Condition: pulumi.String("incident.priority matches 'P1'"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupIncidentWorkflowResultOutput added in v3.7.0

type LookupIncidentWorkflowResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIncidentWorkflow.

func LookupIncidentWorkflowOutput added in v3.7.0

func (LookupIncidentWorkflowResultOutput) Description added in v3.7.0

func (LookupIncidentWorkflowResultOutput) ElementType added in v3.7.0

func (LookupIncidentWorkflowResultOutput) Id added in v3.7.0

The provider-assigned unique ID for this managed resource.

func (LookupIncidentWorkflowResultOutput) Name added in v3.7.0

func (LookupIncidentWorkflowResultOutput) ToLookupIncidentWorkflowResultOutput added in v3.7.0

func (o LookupIncidentWorkflowResultOutput) ToLookupIncidentWorkflowResultOutput() LookupIncidentWorkflowResultOutput

func (LookupIncidentWorkflowResultOutput) ToLookupIncidentWorkflowResultOutputWithContext added in v3.7.0

func (o LookupIncidentWorkflowResultOutput) ToLookupIncidentWorkflowResultOutputWithContext(ctx context.Context) LookupIncidentWorkflowResultOutput

type LookupRulesetArgs

type LookupRulesetArgs struct {
	// The name of the ruleset to find in the PagerDuty API.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getRuleset.

type LookupRulesetOutputArgs added in v3.1.0

type LookupRulesetOutputArgs struct {
	// The name of the ruleset to find in the PagerDuty API.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getRuleset.

func (LookupRulesetOutputArgs) ElementType added in v3.1.0

func (LookupRulesetOutputArgs) ElementType() reflect.Type

type LookupRulesetResult

type LookupRulesetResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the found ruleset.
	Name string `pulumi:"name"`
	// Routing keys routed to this ruleset.
	RoutingKeys []string `pulumi:"routingKeys"`
}

A collection of values returned by getRuleset.

func LookupRuleset

func LookupRuleset(ctx *pulumi.Context, args *LookupRulesetArgs, opts ...pulumi.InvokeOption) (*LookupRulesetResult, error)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := pagerduty.LookupRuleset(ctx, &pagerduty.LookupRulesetArgs{
			Name: "My Ruleset",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewRulesetRule(ctx, "foo", &pagerduty.RulesetRuleArgs{
			Ruleset:  *pulumi.String(example.Id),
			Position: pulumi.Int(0),
			Disabled: pulumi.Bool(false),
			Conditions: &pagerduty.RulesetRuleConditionsArgs{
				Operator: pulumi.String("and"),
				Subconditions: pagerduty.RulesetRuleConditionsSubconditionArray{
					&pagerduty.RulesetRuleConditionsSubconditionArgs{
						Operator: pulumi.String("contains"),
						Parameters: pagerduty.RulesetRuleConditionsSubconditionParameterArray{
							&pagerduty.RulesetRuleConditionsSubconditionParameterArgs{
								Value: pulumi.String("disk space"),
								Path:  pulumi.String("payload.summary"),
							},
						},
					},
					&pagerduty.RulesetRuleConditionsSubconditionArgs{
						Operator: pulumi.String("contains"),
						Parameters: pagerduty.RulesetRuleConditionsSubconditionParameterArray{
							&pagerduty.RulesetRuleConditionsSubconditionParameterArgs{
								Value: pulumi.String("db"),
								Path:  pulumi.String("payload.source"),
							},
						},
					},
				},
			},
			Actions: &pagerduty.RulesetRuleActionsArgs{
				Routes: pagerduty.RulesetRuleActionsRouteArray{
					&pagerduty.RulesetRuleActionsRouteArgs{
						Value: pulumi.String("P5DTL0K"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Default Global Ruleset

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.LookupRuleset(ctx, &pagerduty.LookupRulesetArgs{
			Name: "Default Global",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupRulesetResultOutput added in v3.1.0

type LookupRulesetResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRuleset.

func LookupRulesetOutput added in v3.1.0

func LookupRulesetOutput(ctx *pulumi.Context, args LookupRulesetOutputArgs, opts ...pulumi.InvokeOption) LookupRulesetResultOutput

func (LookupRulesetResultOutput) ElementType added in v3.1.0

func (LookupRulesetResultOutput) ElementType() reflect.Type

func (LookupRulesetResultOutput) Id added in v3.1.0

The provider-assigned unique ID for this managed resource.

func (LookupRulesetResultOutput) Name added in v3.1.0

The name of the found ruleset.

func (LookupRulesetResultOutput) RoutingKeys added in v3.1.0

Routing keys routed to this ruleset.

func (LookupRulesetResultOutput) ToLookupRulesetResultOutput added in v3.1.0

func (o LookupRulesetResultOutput) ToLookupRulesetResultOutput() LookupRulesetResultOutput

func (LookupRulesetResultOutput) ToLookupRulesetResultOutputWithContext added in v3.1.0

func (o LookupRulesetResultOutput) ToLookupRulesetResultOutputWithContext(ctx context.Context) LookupRulesetResultOutput

type LookupScheduleArgs

type LookupScheduleArgs struct {
	// The name to use to find a schedule in the PagerDuty API.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getSchedule.

type LookupScheduleOutputArgs added in v3.1.0

type LookupScheduleOutputArgs struct {
	// The name to use to find a schedule in the PagerDuty API.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getSchedule.

func (LookupScheduleOutputArgs) ElementType added in v3.1.0

func (LookupScheduleOutputArgs) ElementType() reflect.Type

type LookupScheduleResult

type LookupScheduleResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The short name of the found schedule.
	Name string `pulumi:"name"`
}

A collection of values returned by getSchedule.

func LookupSchedule

func LookupSchedule(ctx *pulumi.Context, args *LookupScheduleArgs, opts ...pulumi.InvokeOption) (*LookupScheduleResult, error)

Use this data source to get information about a specific [schedule](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE4MQ-list-schedules) that you can use for other PagerDuty resources.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := pagerduty.LookupSchedule(ctx, &pagerduty.LookupScheduleArgs{
			Name: "Daily Engineering Rotation",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewEscalationPolicy(ctx, "foo", &pagerduty.EscalationPolicyArgs{
			NumLoops: pulumi.Int(2),
			Rules: pagerduty.EscalationPolicyRuleArray{
				&pagerduty.EscalationPolicyRuleArgs{
					EscalationDelayInMinutes: pulumi.Int(10),
					Targets: pagerduty.EscalationPolicyRuleTargetArray{
						&pagerduty.EscalationPolicyRuleTargetArgs{
							Type: pulumi.String("schedule"),
							Id:   *pulumi.String(test.Id),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupScheduleResultOutput added in v3.1.0

type LookupScheduleResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSchedule.

func LookupScheduleOutput added in v3.1.0

func LookupScheduleOutput(ctx *pulumi.Context, args LookupScheduleOutputArgs, opts ...pulumi.InvokeOption) LookupScheduleResultOutput

func (LookupScheduleResultOutput) ElementType added in v3.1.0

func (LookupScheduleResultOutput) ElementType() reflect.Type

func (LookupScheduleResultOutput) Id added in v3.1.0

The provider-assigned unique ID for this managed resource.

func (LookupScheduleResultOutput) Name added in v3.1.0

The short name of the found schedule.

func (LookupScheduleResultOutput) ToLookupScheduleResultOutput added in v3.1.0

func (o LookupScheduleResultOutput) ToLookupScheduleResultOutput() LookupScheduleResultOutput

func (LookupScheduleResultOutput) ToLookupScheduleResultOutputWithContext added in v3.1.0

func (o LookupScheduleResultOutput) ToLookupScheduleResultOutputWithContext(ctx context.Context) LookupScheduleResultOutput

type LookupServiceArgs

type LookupServiceArgs struct {
	// The service name to use to find a service in the PagerDuty API.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getService.

type LookupServiceIntegrationArgs

type LookupServiceIntegrationArgs struct {
	// The integration summary used to find the desired integration on the service.
	IntegrationSummary string `pulumi:"integrationSummary"`
	// The service name to use to find a service in the PagerDuty API.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getServiceIntegration.

type LookupServiceIntegrationOutputArgs added in v3.1.0

type LookupServiceIntegrationOutputArgs struct {
	// The integration summary used to find the desired integration on the service.
	IntegrationSummary pulumi.StringInput `pulumi:"integrationSummary"`
	// The service name to use to find a service in the PagerDuty API.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getServiceIntegration.

func (LookupServiceIntegrationOutputArgs) ElementType added in v3.1.0

type LookupServiceIntegrationResult

type LookupServiceIntegrationResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The integration key for the integration. This can be used to configure alerts.
	IntegrationKey     string `pulumi:"integrationKey"`
	IntegrationSummary string `pulumi:"integrationSummary"`
	ServiceName        string `pulumi:"serviceName"`
}

A collection of values returned by getServiceIntegration.

func LookupServiceIntegration

func LookupServiceIntegration(ctx *pulumi.Context, args *LookupServiceIntegrationArgs, opts ...pulumi.InvokeOption) (*LookupServiceIntegrationResult, error)

Use this data source to get information about a specific service_integration.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.LookupServiceIntegration(ctx, &pagerduty.LookupServiceIntegrationArgs{
			IntegrationSummary: "Datadog",
			ServiceName:        "My Service",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupServiceIntegrationResultOutput added in v3.1.0

type LookupServiceIntegrationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServiceIntegration.

func (LookupServiceIntegrationResultOutput) ElementType added in v3.1.0

func (LookupServiceIntegrationResultOutput) Id added in v3.1.0

The provider-assigned unique ID for this managed resource.

func (LookupServiceIntegrationResultOutput) IntegrationKey added in v3.1.0

The integration key for the integration. This can be used to configure alerts.

func (LookupServiceIntegrationResultOutput) IntegrationSummary added in v3.1.0

func (LookupServiceIntegrationResultOutput) ServiceName added in v3.1.0

func (LookupServiceIntegrationResultOutput) ToLookupServiceIntegrationResultOutput added in v3.1.0

func (o LookupServiceIntegrationResultOutput) ToLookupServiceIntegrationResultOutput() LookupServiceIntegrationResultOutput

func (LookupServiceIntegrationResultOutput) ToLookupServiceIntegrationResultOutputWithContext added in v3.1.0

func (o LookupServiceIntegrationResultOutput) ToLookupServiceIntegrationResultOutputWithContext(ctx context.Context) LookupServiceIntegrationResultOutput

type LookupServiceOutputArgs added in v3.1.0

type LookupServiceOutputArgs struct {
	// The service name to use to find a service in the PagerDuty API.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getService.

func (LookupServiceOutputArgs) ElementType added in v3.1.0

func (LookupServiceOutputArgs) ElementType() reflect.Type

type LookupServiceResult

type LookupServiceResult struct {
	// Time in seconds that an incident changes to the Triggered State after being Acknowledged. Value is null if the feature is disabled. Value must not be negative. Setting this field to 0, null (or unset) will disable the feature.
	AcknowledgementTimeout int `pulumi:"acknowledgementTimeout"`
	// Whether a service creates only incidents, or both alerts and incidents. A service must create alerts in order to enable incident merging.
	AlertCreation string `pulumi:"alertCreation"`
	// Time in seconds that an incident is automatically resolved if left open for that long. Value is null if the feature is disabled. Value must not be negative. Setting this field to 0, null (or unset) will disable the feature.
	AutoResolveTimeout int `pulumi:"autoResolveTimeout"`
	// The user-provided description of the service.
	Description string `pulumi:"description"`
	// The escalation policy associated with this service.
	EscalationPolicy string `pulumi:"escalationPolicy"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The short name of the found service.
	Name string `pulumi:"name"`
	// The set of teams associated with the service.
	Teams []GetServiceTeam `pulumi:"teams"`
	// The type of object. The value returned will be `service`. Can be used for passing to a service dependency.
	Type string `pulumi:"type"`
}

A collection of values returned by getService.

func LookupService

func LookupService(ctx *pulumi.Context, args *LookupServiceArgs, opts ...pulumi.InvokeOption) (*LookupServiceResult, error)

Use this data source to get information about a specific [service](https://api-reference.pagerduty.com/#!/Services/get_services).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleService, err := pagerduty.LookupService(ctx, &pagerduty.LookupServiceArgs{
			Name: "My Service",
		}, nil)
		if err != nil {
			return err
		}
		datadog, err := pagerduty.GetVendor(ctx, &pagerduty.GetVendorArgs{
			Name: "Datadog",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewServiceIntegration(ctx, "exampleServiceIntegration", &pagerduty.ServiceIntegrationArgs{
			Vendor:  *pulumi.String(datadog.Id),
			Service: *pulumi.String(exampleService.Id),
			Type:    pulumi.String("generic_events_api_inbound_integration"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupServiceResultOutput added in v3.1.0

type LookupServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getService.

func LookupServiceOutput added in v3.1.0

func LookupServiceOutput(ctx *pulumi.Context, args LookupServiceOutputArgs, opts ...pulumi.InvokeOption) LookupServiceResultOutput

func (LookupServiceResultOutput) AcknowledgementTimeout added in v3.10.0

func (o LookupServiceResultOutput) AcknowledgementTimeout() pulumi.IntOutput

Time in seconds that an incident changes to the Triggered State after being Acknowledged. Value is null if the feature is disabled. Value must not be negative. Setting this field to 0, null (or unset) will disable the feature.

func (LookupServiceResultOutput) AlertCreation added in v3.10.0

func (o LookupServiceResultOutput) AlertCreation() pulumi.StringOutput

Whether a service creates only incidents, or both alerts and incidents. A service must create alerts in order to enable incident merging.

func (LookupServiceResultOutput) AutoResolveTimeout added in v3.10.0

func (o LookupServiceResultOutput) AutoResolveTimeout() pulumi.IntOutput

Time in seconds that an incident is automatically resolved if left open for that long. Value is null if the feature is disabled. Value must not be negative. Setting this field to 0, null (or unset) will disable the feature.

func (LookupServiceResultOutput) Description added in v3.10.0

The user-provided description of the service.

func (LookupServiceResultOutput) ElementType added in v3.1.0

func (LookupServiceResultOutput) ElementType() reflect.Type

func (LookupServiceResultOutput) EscalationPolicy added in v3.10.0

func (o LookupServiceResultOutput) EscalationPolicy() pulumi.StringOutput

The escalation policy associated with this service.

func (LookupServiceResultOutput) Id added in v3.1.0

The provider-assigned unique ID for this managed resource.

func (LookupServiceResultOutput) Name added in v3.1.0

The short name of the found service.

func (LookupServiceResultOutput) Teams added in v3.10.0

The set of teams associated with the service.

func (LookupServiceResultOutput) ToLookupServiceResultOutput added in v3.1.0

func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput

func (LookupServiceResultOutput) ToLookupServiceResultOutputWithContext added in v3.1.0

func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput

func (LookupServiceResultOutput) Type added in v3.4.0

The type of object. The value returned will be `service`. Can be used for passing to a service dependency.

type LookupTagArgs

type LookupTagArgs struct {
	// The label of the tag to find in the PagerDuty API.
	Label string `pulumi:"label"`
}

A collection of arguments for invoking getTag.

type LookupTagOutputArgs added in v3.1.0

type LookupTagOutputArgs struct {
	// The label of the tag to find in the PagerDuty API.
	Label pulumi.StringInput `pulumi:"label"`
}

A collection of arguments for invoking getTag.

func (LookupTagOutputArgs) ElementType added in v3.1.0

func (LookupTagOutputArgs) ElementType() reflect.Type

type LookupTagResult

type LookupTagResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id    string `pulumi:"id"`
	Label string `pulumi:"label"`
}

A collection of values returned by getTag.

func LookupTag

func LookupTag(ctx *pulumi.Context, args *LookupTagArgs, opts ...pulumi.InvokeOption) (*LookupTagResult, error)

Use this data source to get information about a specific [tag](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIxNw-list-tags) that you can use to assign to users, teams, and escalation_policies.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		me, err := pagerduty.LookupUser(ctx, &pagerduty.LookupUserArgs{
			Email: "me@example.com",
		}, nil)
		if err != nil {
			return err
		}
		devops, err := pagerduty.LookupTag(ctx, &pagerduty.LookupTagArgs{
			Label: "devops",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewTagAssignment(ctx, "foo", &pagerduty.TagAssignmentArgs{
			TagId:      *pulumi.String(devops.Id),
			EntityId:   *pulumi.String(me.Id),
			EntityType: pulumi.String("users"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupTagResultOutput added in v3.1.0

type LookupTagResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTag.

func LookupTagOutput added in v3.1.0

func LookupTagOutput(ctx *pulumi.Context, args LookupTagOutputArgs, opts ...pulumi.InvokeOption) LookupTagResultOutput

func (LookupTagResultOutput) ElementType added in v3.1.0

func (LookupTagResultOutput) ElementType() reflect.Type

func (LookupTagResultOutput) Id added in v3.1.0

The provider-assigned unique ID for this managed resource.

func (LookupTagResultOutput) Label added in v3.1.0

func (LookupTagResultOutput) ToLookupTagResultOutput added in v3.1.0

func (o LookupTagResultOutput) ToLookupTagResultOutput() LookupTagResultOutput

func (LookupTagResultOutput) ToLookupTagResultOutputWithContext added in v3.1.0

func (o LookupTagResultOutput) ToLookupTagResultOutputWithContext(ctx context.Context) LookupTagResultOutput

type LookupTeamArgs

type LookupTeamArgs struct {
	// The name of the team to find in the PagerDuty API.
	Name string `pulumi:"name"`
	// ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information.
	Parent *string `pulumi:"parent"`
}

A collection of arguments for invoking getTeam.

type LookupTeamOutputArgs added in v3.1.0

type LookupTeamOutputArgs struct {
	// The name of the team to find in the PagerDuty API.
	Name pulumi.StringInput `pulumi:"name"`
	// ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information.
	Parent pulumi.StringPtrInput `pulumi:"parent"`
}

A collection of arguments for invoking getTeam.

func (LookupTeamOutputArgs) ElementType added in v3.1.0

func (LookupTeamOutputArgs) ElementType() reflect.Type

type LookupTeamResult

type LookupTeamResult struct {
	// A description of the found team.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the found team.
	Name string `pulumi:"name"`
	// ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information.
	Parent *string `pulumi:"parent"`
}

A collection of values returned by getTeam.

func LookupTeam

func LookupTeam(ctx *pulumi.Context, args *LookupTeamArgs, opts ...pulumi.InvokeOption) (*LookupTeamResult, error)

Use this data source to get information about a specific [team](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIyMw-list-teams) that you can use for other PagerDuty resources.

type LookupTeamResultOutput added in v3.1.0

type LookupTeamResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTeam.

func LookupTeamOutput added in v3.1.0

func LookupTeamOutput(ctx *pulumi.Context, args LookupTeamOutputArgs, opts ...pulumi.InvokeOption) LookupTeamResultOutput

func (LookupTeamResultOutput) Description added in v3.1.0

func (o LookupTeamResultOutput) Description() pulumi.StringOutput

A description of the found team.

func (LookupTeamResultOutput) ElementType added in v3.1.0

func (LookupTeamResultOutput) ElementType() reflect.Type

func (LookupTeamResultOutput) Id added in v3.1.0

The provider-assigned unique ID for this managed resource.

func (LookupTeamResultOutput) Name added in v3.1.0

The name of the found team.

func (LookupTeamResultOutput) Parent added in v3.1.0

ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information.

func (LookupTeamResultOutput) ToLookupTeamResultOutput added in v3.1.0

func (o LookupTeamResultOutput) ToLookupTeamResultOutput() LookupTeamResultOutput

func (LookupTeamResultOutput) ToLookupTeamResultOutputWithContext added in v3.1.0

func (o LookupTeamResultOutput) ToLookupTeamResultOutputWithContext(ctx context.Context) LookupTeamResultOutput

type LookupUserArgs

type LookupUserArgs struct {
	// The email to use to find a user in the PagerDuty API.
	Email string `pulumi:"email"`
}

A collection of arguments for invoking getUser.

type LookupUserContactMethodArgs

type LookupUserContactMethodArgs struct {
	// The label (e.g., "Work", "Mobile", "Ashley's iPhone", etc.).
	Label string `pulumi:"label"`
	// The contact method type. May be (`emailContactMethod`, `phoneContactMethod`, `smsContactMethod`, `pushNotificationContactMethod`).
	Type string `pulumi:"type"`
	// The ID of the user.
	UserId string `pulumi:"userId"`
}

A collection of arguments for invoking getUserContactMethod.

type LookupUserContactMethodOutputArgs added in v3.1.0

type LookupUserContactMethodOutputArgs struct {
	// The label (e.g., "Work", "Mobile", "Ashley's iPhone", etc.).
	Label pulumi.StringInput `pulumi:"label"`
	// The contact method type. May be (`emailContactMethod`, `phoneContactMethod`, `smsContactMethod`, `pushNotificationContactMethod`).
	Type pulumi.StringInput `pulumi:"type"`
	// The ID of the user.
	UserId pulumi.StringInput `pulumi:"userId"`
}

A collection of arguments for invoking getUserContactMethod.

func (LookupUserContactMethodOutputArgs) ElementType added in v3.1.0

type LookupUserContactMethodResult

type LookupUserContactMethodResult struct {
	// The "address" to deliver to: `email`, `phone number`, etc., depending on the type.
	Address string `pulumi:"address"`
	// If true, this phone has been blacklisted by PagerDuty and no messages will be sent to it. (Phone and SMS contact methods only.)
	Blacklisted bool `pulumi:"blacklisted"`
	// The 1-to-3 digit country calling code. (Phone and SMS contact methods only.)
	CountryCode int `pulumi:"countryCode"`
	// Either `ios` or `android`, depending on the type of the device receiving notifications. (Push notification contact method only.)
	DeviceType string `pulumi:"deviceType"`
	// If true, this phone is capable of receiving SMS messages. (Phone and SMS contact methods only.)
	Enabled bool `pulumi:"enabled"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The label (e.g., "Work", "Mobile", "Ashley's iPhone", etc.).
	Label string `pulumi:"label"`
	// Send an abbreviated email message instead of the standard email output. (Email contact method only.)
	SendShortEmail bool `pulumi:"sendShortEmail"`
	// The type of the found contact method. May be (`emailContactMethod`, `phoneContactMethod`, `smsContactMethod`, `pushNotificationContactMethod`).
	Type   string `pulumi:"type"`
	UserId string `pulumi:"userId"`
}

A collection of values returned by getUserContactMethod.

func LookupUserContactMethod

func LookupUserContactMethod(ctx *pulumi.Context, args *LookupUserContactMethodArgs, opts ...pulumi.InvokeOption) (*LookupUserContactMethodResult, error)

Use this data source to get information about a specific [contact method](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzOQ-list-a-user-s-contact-methods) of a PagerDuty [user](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzMw-list-users) that you can use for other PagerDuty resources.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		me, err := pagerduty.LookupUser(ctx, &pagerduty.LookupUserArgs{
			Email: "me@example.com",
		}, nil)
		if err != nil {
			return err
		}
		phonePush, err := pagerduty.LookupUserContactMethod(ctx, &pagerduty.LookupUserContactMethodArgs{
			UserId: me.Id,
			Type:   "push_notification_contact_method",
			Label:  "iPhone (John)",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewUserNotificationRule(ctx, "lowUrgencySms", &pagerduty.UserNotificationRuleArgs{
			UserId:              *pulumi.String(me.Id),
			StartDelayInMinutes: pulumi.Int(5),
			Urgency:             pulumi.String("high"),
			ContactMethod: pulumi.StringMap{
				"type": pulumi.String("push_notification_contact_method"),
				"id":   *pulumi.String(phonePush.Id),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupUserContactMethodResultOutput added in v3.1.0

type LookupUserContactMethodResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUserContactMethod.

func (LookupUserContactMethodResultOutput) Address added in v3.1.0

The "address" to deliver to: `email`, `phone number`, etc., depending on the type.

func (LookupUserContactMethodResultOutput) Blacklisted added in v3.1.0

If true, this phone has been blacklisted by PagerDuty and no messages will be sent to it. (Phone and SMS contact methods only.)

func (LookupUserContactMethodResultOutput) CountryCode added in v3.1.0

The 1-to-3 digit country calling code. (Phone and SMS contact methods only.)

func (LookupUserContactMethodResultOutput) DeviceType added in v3.1.0

Either `ios` or `android`, depending on the type of the device receiving notifications. (Push notification contact method only.)

func (LookupUserContactMethodResultOutput) ElementType added in v3.1.0

func (LookupUserContactMethodResultOutput) Enabled added in v3.1.0

If true, this phone is capable of receiving SMS messages. (Phone and SMS contact methods only.)

func (LookupUserContactMethodResultOutput) Id added in v3.1.0

The provider-assigned unique ID for this managed resource.

func (LookupUserContactMethodResultOutput) Label added in v3.1.0

The label (e.g., "Work", "Mobile", "Ashley's iPhone", etc.).

func (LookupUserContactMethodResultOutput) SendShortEmail added in v3.1.0

Send an abbreviated email message instead of the standard email output. (Email contact method only.)

func (LookupUserContactMethodResultOutput) ToLookupUserContactMethodResultOutput added in v3.1.0

func (o LookupUserContactMethodResultOutput) ToLookupUserContactMethodResultOutput() LookupUserContactMethodResultOutput

func (LookupUserContactMethodResultOutput) ToLookupUserContactMethodResultOutputWithContext added in v3.1.0

func (o LookupUserContactMethodResultOutput) ToLookupUserContactMethodResultOutputWithContext(ctx context.Context) LookupUserContactMethodResultOutput

func (LookupUserContactMethodResultOutput) Type added in v3.1.0

The type of the found contact method. May be (`emailContactMethod`, `phoneContactMethod`, `smsContactMethod`, `pushNotificationContactMethod`).

func (LookupUserContactMethodResultOutput) UserId added in v3.1.0

type LookupUserOutputArgs added in v3.1.0

type LookupUserOutputArgs struct {
	// The email to use to find a user in the PagerDuty API.
	Email pulumi.StringInput `pulumi:"email"`
}

A collection of arguments for invoking getUser.

func (LookupUserOutputArgs) ElementType added in v3.1.0

func (LookupUserOutputArgs) ElementType() reflect.Type

type LookupUserResult

type LookupUserResult struct {
	Email string `pulumi:"email"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The short name of the found user.
	Name string `pulumi:"name"`
}

A collection of values returned by getUser.

func LookupUser

func LookupUser(ctx *pulumi.Context, args *LookupUserArgs, opts ...pulumi.InvokeOption) (*LookupUserResult, error)

Use this data source to get information about a specific [user](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzMw-list-users) that you can use for other PagerDuty resources.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		me, err := pagerduty.LookupUser(ctx, &pagerduty.LookupUserArgs{
			Email: "me@example.com",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewEscalationPolicy(ctx, "foo", &pagerduty.EscalationPolicyArgs{
			NumLoops: pulumi.Int(2),
			Rules: pagerduty.EscalationPolicyRuleArray{
				&pagerduty.EscalationPolicyRuleArgs{
					EscalationDelayInMinutes: pulumi.Int(10),
					Targets: pagerduty.EscalationPolicyRuleTargetArray{
						&pagerduty.EscalationPolicyRuleTargetArgs{
							Type: pulumi.String("user"),
							Id:   *pulumi.String(me.Id),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupUserResultOutput added in v3.1.0

type LookupUserResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUser.

func LookupUserOutput added in v3.1.0

func LookupUserOutput(ctx *pulumi.Context, args LookupUserOutputArgs, opts ...pulumi.InvokeOption) LookupUserResultOutput

func (LookupUserResultOutput) ElementType added in v3.1.0

func (LookupUserResultOutput) ElementType() reflect.Type

func (LookupUserResultOutput) Email added in v3.1.0

func (LookupUserResultOutput) Id added in v3.1.0

The provider-assigned unique ID for this managed resource.

func (LookupUserResultOutput) Name added in v3.1.0

The short name of the found user.

func (LookupUserResultOutput) ToLookupUserResultOutput added in v3.1.0

func (o LookupUserResultOutput) ToLookupUserResultOutput() LookupUserResultOutput

func (LookupUserResultOutput) ToLookupUserResultOutputWithContext added in v3.1.0

func (o LookupUserResultOutput) ToLookupUserResultOutputWithContext(ctx context.Context) LookupUserResultOutput

type MaintenanceWindow

type MaintenanceWindow struct {
	pulumi.CustomResourceState

	// A description for the maintenance window.
	Description pulumi.StringOutput `pulumi:"description"`
	// The maintenance window's end time. This is when the services will start creating incidents again. This date must be in the future and after the `startTime`.
	EndTime pulumi.StringOutput `pulumi:"endTime"`
	// A list of service IDs to include in the maintenance window.
	Services pulumi.StringArrayOutput `pulumi:"services"`
	// The maintenance window's start time. This is when the services will stop creating incidents. If this date is in the past, it will be updated to be the current time.
	StartTime pulumi.StringOutput `pulumi:"startTime"`
}

A [maintenance window](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE1OA-create-a-maintenance-window) is used to temporarily disable one or more services for a set period of time. No incidents will be triggered and no notifications will be received while a service is disabled by a maintenance window.

Maintenance windows are specified to start at a certain time and end after they have begun. Once started, a maintenance window cannot be deleted; it can only be ended immediately to re-enable the service.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewMaintenanceWindow(ctx, "example", &pagerduty.MaintenanceWindowArgs{
			StartTime: pulumi.String("2015-11-09T20:00:00-05:00"),
			EndTime:   pulumi.String("2015-11-09T22:00:00-05:00"),
			Services: pulumi.StringArray{
				pagerduty_service.Example.Id,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Maintenance windows can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/maintenanceWindow:MaintenanceWindow main PLBP09X

```

func GetMaintenanceWindow

func GetMaintenanceWindow(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MaintenanceWindowState, opts ...pulumi.ResourceOption) (*MaintenanceWindow, error)

GetMaintenanceWindow gets an existing MaintenanceWindow resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMaintenanceWindow

func NewMaintenanceWindow(ctx *pulumi.Context,
	name string, args *MaintenanceWindowArgs, opts ...pulumi.ResourceOption) (*MaintenanceWindow, error)

NewMaintenanceWindow registers a new resource with the given unique name, arguments, and options.

func (*MaintenanceWindow) ElementType

func (*MaintenanceWindow) ElementType() reflect.Type

func (*MaintenanceWindow) ToMaintenanceWindowOutput

func (i *MaintenanceWindow) ToMaintenanceWindowOutput() MaintenanceWindowOutput

func (*MaintenanceWindow) ToMaintenanceWindowOutputWithContext

func (i *MaintenanceWindow) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput

type MaintenanceWindowArgs

type MaintenanceWindowArgs struct {
	// A description for the maintenance window.
	Description pulumi.StringPtrInput
	// The maintenance window's end time. This is when the services will start creating incidents again. This date must be in the future and after the `startTime`.
	EndTime pulumi.StringInput
	// A list of service IDs to include in the maintenance window.
	Services pulumi.StringArrayInput
	// The maintenance window's start time. This is when the services will stop creating incidents. If this date is in the past, it will be updated to be the current time.
	StartTime pulumi.StringInput
}

The set of arguments for constructing a MaintenanceWindow resource.

func (MaintenanceWindowArgs) ElementType

func (MaintenanceWindowArgs) ElementType() reflect.Type

type MaintenanceWindowArray

type MaintenanceWindowArray []MaintenanceWindowInput

func (MaintenanceWindowArray) ElementType

func (MaintenanceWindowArray) ElementType() reflect.Type

func (MaintenanceWindowArray) ToMaintenanceWindowArrayOutput

func (i MaintenanceWindowArray) ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput

func (MaintenanceWindowArray) ToMaintenanceWindowArrayOutputWithContext

func (i MaintenanceWindowArray) ToMaintenanceWindowArrayOutputWithContext(ctx context.Context) MaintenanceWindowArrayOutput

type MaintenanceWindowArrayInput

type MaintenanceWindowArrayInput interface {
	pulumi.Input

	ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput
	ToMaintenanceWindowArrayOutputWithContext(context.Context) MaintenanceWindowArrayOutput
}

MaintenanceWindowArrayInput is an input type that accepts MaintenanceWindowArray and MaintenanceWindowArrayOutput values. You can construct a concrete instance of `MaintenanceWindowArrayInput` via:

MaintenanceWindowArray{ MaintenanceWindowArgs{...} }

type MaintenanceWindowArrayOutput

type MaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowArrayOutput) ElementType

func (MaintenanceWindowArrayOutput) Index

func (MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutput

func (o MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput

func (MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutputWithContext

func (o MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutputWithContext(ctx context.Context) MaintenanceWindowArrayOutput

type MaintenanceWindowInput

type MaintenanceWindowInput interface {
	pulumi.Input

	ToMaintenanceWindowOutput() MaintenanceWindowOutput
	ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput
}

type MaintenanceWindowMap

type MaintenanceWindowMap map[string]MaintenanceWindowInput

func (MaintenanceWindowMap) ElementType

func (MaintenanceWindowMap) ElementType() reflect.Type

func (MaintenanceWindowMap) ToMaintenanceWindowMapOutput

func (i MaintenanceWindowMap) ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput

func (MaintenanceWindowMap) ToMaintenanceWindowMapOutputWithContext

func (i MaintenanceWindowMap) ToMaintenanceWindowMapOutputWithContext(ctx context.Context) MaintenanceWindowMapOutput

type MaintenanceWindowMapInput

type MaintenanceWindowMapInput interface {
	pulumi.Input

	ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput
	ToMaintenanceWindowMapOutputWithContext(context.Context) MaintenanceWindowMapOutput
}

MaintenanceWindowMapInput is an input type that accepts MaintenanceWindowMap and MaintenanceWindowMapOutput values. You can construct a concrete instance of `MaintenanceWindowMapInput` via:

MaintenanceWindowMap{ "key": MaintenanceWindowArgs{...} }

type MaintenanceWindowMapOutput

type MaintenanceWindowMapOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowMapOutput) ElementType

func (MaintenanceWindowMapOutput) ElementType() reflect.Type

func (MaintenanceWindowMapOutput) MapIndex

func (MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutput

func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput

func (MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutputWithContext

func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutputWithContext(ctx context.Context) MaintenanceWindowMapOutput

type MaintenanceWindowOutput

type MaintenanceWindowOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowOutput) Description added in v3.5.1

A description for the maintenance window.

func (MaintenanceWindowOutput) ElementType

func (MaintenanceWindowOutput) ElementType() reflect.Type

func (MaintenanceWindowOutput) EndTime added in v3.5.1

The maintenance window's end time. This is when the services will start creating incidents again. This date must be in the future and after the `startTime`.

func (MaintenanceWindowOutput) Services added in v3.5.1

A list of service IDs to include in the maintenance window.

func (MaintenanceWindowOutput) StartTime added in v3.5.1

The maintenance window's start time. This is when the services will stop creating incidents. If this date is in the past, it will be updated to be the current time.

func (MaintenanceWindowOutput) ToMaintenanceWindowOutput

func (o MaintenanceWindowOutput) ToMaintenanceWindowOutput() MaintenanceWindowOutput

func (MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext

func (o MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput

type MaintenanceWindowState

type MaintenanceWindowState struct {
	// A description for the maintenance window.
	Description pulumi.StringPtrInput
	// The maintenance window's end time. This is when the services will start creating incidents again. This date must be in the future and after the `startTime`.
	EndTime pulumi.StringPtrInput
	// A list of service IDs to include in the maintenance window.
	Services pulumi.StringArrayInput
	// The maintenance window's start time. This is when the services will stop creating incidents. If this date is in the past, it will be updated to be the current time.
	StartTime pulumi.StringPtrInput
}

func (MaintenanceWindowState) ElementType

func (MaintenanceWindowState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	ApiUrlOverride pulumi.StringPtrOutput `pulumi:"apiUrlOverride"`
	ServiceRegion  pulumi.StringPtrOutput `pulumi:"serviceRegion"`
	Token          pulumi.StringOutput    `pulumi:"token"`
	UserToken      pulumi.StringPtrOutput `pulumi:"userToken"`
}

The provider type for the pagerduty package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	ApiUrlOverride            pulumi.StringPtrInput
	ServiceRegion             pulumi.StringPtrInput
	SkipCredentialsValidation pulumi.BoolPtrInput
	Token                     pulumi.StringInput
	UserToken                 pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ApiUrlOverride added in v3.5.1

func (o ProviderOutput) ApiUrlOverride() pulumi.StringPtrOutput

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ServiceRegion added in v3.5.1

func (o ProviderOutput) ServiceRegion() pulumi.StringPtrOutput

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (ProviderOutput) Token added in v3.5.1

func (ProviderOutput) UserToken added in v3.5.1

func (o ProviderOutput) UserToken() pulumi.StringPtrOutput

type ResponsePlay

type ResponsePlay struct {
	pulumi.CustomResourceState

	// The telephone number that will be set as the conference number for any incident on which this response play is run.
	ConferenceNumber pulumi.StringPtrOutput `pulumi:"conferenceNumber"`
	// The URL that will be set as the conference URL for any incident on which this response play is run.
	ConferenceUrl pulumi.StringPtrOutput `pulumi:"conferenceUrl"`
	Description   pulumi.StringOutput    `pulumi:"description"`
	// The email of the user attributed to the request. Needs to be a valid email address of a user in the PagerDuty account.
	From pulumi.StringOutput `pulumi:"from"`
	// The name of the response play.
	Name pulumi.StringOutput `pulumi:"name"`
	// A user and/or escalation policy to be requested as a responder to any incident on which this response play is run. There can be multiple responders defined on a single response play.
	Responders ResponsePlayResponderArrayOutput `pulumi:"responders"`
	// The message body of the notification that will be sent to this response play's set of responders. If empty, a default response request notification will be sent.
	RespondersMessage pulumi.StringPtrOutput `pulumi:"respondersMessage"`
	// String representing how this response play is allowed to be run. Valid options are:
	Runnability pulumi.StringPtrOutput `pulumi:"runnability"`
	// A user and/or team to be added as a subscriber to any incident on which this response play is run. There can be multiple subscribers defined on a single response play.
	Subscribers ResponsePlaySubscriberArrayOutput `pulumi:"subscribers"`
	// The content of the notification that will be sent to all incident subscribers upon the running of this response play. Note that this includes any users who may have already been subscribed to the incident prior to the running of this response play. If empty, no notifications will be sent.
	SubscribersMessage pulumi.StringPtrOutput `pulumi:"subscribersMessage"`
	// The ID of the team associated with the response play.
	Team pulumi.StringPtrOutput `pulumi:"team"`
	// A string that determines the schema of the object. If not set, the default value is "responsePlay".
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

A [response play](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE2Ng-create-a-response-play) allows you to create packages of Incident Actions that can be applied during an Incident's life cycle.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleUser, err := pagerduty.NewUser(ctx, "exampleUser", &pagerduty.UserArgs{
			Email: pulumi.String("125.greenholt.earline@graham.name"),
			Teams: pulumi.StringArray{
				pagerduty_team.Example.Id,
			},
		})
		if err != nil {
			return err
		}
		exampleEscalationPolicy, err := pagerduty.NewEscalationPolicy(ctx, "exampleEscalationPolicy", &pagerduty.EscalationPolicyArgs{
			NumLoops: pulumi.Int(2),
			Rules: pagerduty.EscalationPolicyRuleArray{
				&pagerduty.EscalationPolicyRuleArgs{
					EscalationDelayInMinutes: pulumi.Int(10),
					Targets: pagerduty.EscalationPolicyRuleTargetArray{
						&pagerduty.EscalationPolicyRuleTargetArgs{
							Type: pulumi.String("user"),
							Id:   exampleUser.ID(),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewResponsePlay(ctx, "exampleResponsePlay", &pagerduty.ResponsePlayArgs{
			From: exampleUser.Email,
			Responders: pagerduty.ResponsePlayResponderArray{
				&pagerduty.ResponsePlayResponderArgs{
					Type: pulumi.String("escalation_policy_reference"),
					Id:   exampleEscalationPolicy.ID(),
				},
			},
			Subscribers: pagerduty.ResponsePlaySubscriberArray{
				&pagerduty.ResponsePlaySubscriberArgs{
					Type: pulumi.String("user_reference"),
					Id:   exampleUser.ID(),
				},
			},
			Runnability: pulumi.String("services"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Response Plays can be imported using the `id.from(email)`, e.g.

```sh

$ pulumi import pagerduty:index/responsePlay:ResponsePlay main 16208303-022b-f745-f2f5-560e537a2a74.user@email.com

```

func GetResponsePlay

func GetResponsePlay(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResponsePlayState, opts ...pulumi.ResourceOption) (*ResponsePlay, error)

GetResponsePlay gets an existing ResponsePlay resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResponsePlay

func NewResponsePlay(ctx *pulumi.Context,
	name string, args *ResponsePlayArgs, opts ...pulumi.ResourceOption) (*ResponsePlay, error)

NewResponsePlay registers a new resource with the given unique name, arguments, and options.

func (*ResponsePlay) ElementType

func (*ResponsePlay) ElementType() reflect.Type

func (*ResponsePlay) ToResponsePlayOutput

func (i *ResponsePlay) ToResponsePlayOutput() ResponsePlayOutput

func (*ResponsePlay) ToResponsePlayOutputWithContext

func (i *ResponsePlay) ToResponsePlayOutputWithContext(ctx context.Context) ResponsePlayOutput

type ResponsePlayArgs

type ResponsePlayArgs struct {
	// The telephone number that will be set as the conference number for any incident on which this response play is run.
	ConferenceNumber pulumi.StringPtrInput
	// The URL that will be set as the conference URL for any incident on which this response play is run.
	ConferenceUrl pulumi.StringPtrInput
	Description   pulumi.StringPtrInput
	// The email of the user attributed to the request. Needs to be a valid email address of a user in the PagerDuty account.
	From pulumi.StringInput
	// The name of the response play.
	Name pulumi.StringPtrInput
	// A user and/or escalation policy to be requested as a responder to any incident on which this response play is run. There can be multiple responders defined on a single response play.
	Responders ResponsePlayResponderArrayInput
	// The message body of the notification that will be sent to this response play's set of responders. If empty, a default response request notification will be sent.
	RespondersMessage pulumi.StringPtrInput
	// String representing how this response play is allowed to be run. Valid options are:
	Runnability pulumi.StringPtrInput
	// A user and/or team to be added as a subscriber to any incident on which this response play is run. There can be multiple subscribers defined on a single response play.
	Subscribers ResponsePlaySubscriberArrayInput
	// The content of the notification that will be sent to all incident subscribers upon the running of this response play. Note that this includes any users who may have already been subscribed to the incident prior to the running of this response play. If empty, no notifications will be sent.
	SubscribersMessage pulumi.StringPtrInput
	// The ID of the team associated with the response play.
	Team pulumi.StringPtrInput
	// A string that determines the schema of the object. If not set, the default value is "responsePlay".
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a ResponsePlay resource.

func (ResponsePlayArgs) ElementType

func (ResponsePlayArgs) ElementType() reflect.Type

type ResponsePlayArray

type ResponsePlayArray []ResponsePlayInput

func (ResponsePlayArray) ElementType

func (ResponsePlayArray) ElementType() reflect.Type

func (ResponsePlayArray) ToResponsePlayArrayOutput

func (i ResponsePlayArray) ToResponsePlayArrayOutput() ResponsePlayArrayOutput

func (ResponsePlayArray) ToResponsePlayArrayOutputWithContext

func (i ResponsePlayArray) ToResponsePlayArrayOutputWithContext(ctx context.Context) ResponsePlayArrayOutput

type ResponsePlayArrayInput

type ResponsePlayArrayInput interface {
	pulumi.Input

	ToResponsePlayArrayOutput() ResponsePlayArrayOutput
	ToResponsePlayArrayOutputWithContext(context.Context) ResponsePlayArrayOutput
}

ResponsePlayArrayInput is an input type that accepts ResponsePlayArray and ResponsePlayArrayOutput values. You can construct a concrete instance of `ResponsePlayArrayInput` via:

ResponsePlayArray{ ResponsePlayArgs{...} }

type ResponsePlayArrayOutput

type ResponsePlayArrayOutput struct{ *pulumi.OutputState }

func (ResponsePlayArrayOutput) ElementType

func (ResponsePlayArrayOutput) ElementType() reflect.Type

func (ResponsePlayArrayOutput) Index

func (ResponsePlayArrayOutput) ToResponsePlayArrayOutput

func (o ResponsePlayArrayOutput) ToResponsePlayArrayOutput() ResponsePlayArrayOutput

func (ResponsePlayArrayOutput) ToResponsePlayArrayOutputWithContext

func (o ResponsePlayArrayOutput) ToResponsePlayArrayOutputWithContext(ctx context.Context) ResponsePlayArrayOutput

type ResponsePlayInput

type ResponsePlayInput interface {
	pulumi.Input

	ToResponsePlayOutput() ResponsePlayOutput
	ToResponsePlayOutputWithContext(ctx context.Context) ResponsePlayOutput
}

type ResponsePlayMap

type ResponsePlayMap map[string]ResponsePlayInput

func (ResponsePlayMap) ElementType

func (ResponsePlayMap) ElementType() reflect.Type

func (ResponsePlayMap) ToResponsePlayMapOutput

func (i ResponsePlayMap) ToResponsePlayMapOutput() ResponsePlayMapOutput

func (ResponsePlayMap) ToResponsePlayMapOutputWithContext

func (i ResponsePlayMap) ToResponsePlayMapOutputWithContext(ctx context.Context) ResponsePlayMapOutput

type ResponsePlayMapInput

type ResponsePlayMapInput interface {
	pulumi.Input

	ToResponsePlayMapOutput() ResponsePlayMapOutput
	ToResponsePlayMapOutputWithContext(context.Context) ResponsePlayMapOutput
}

ResponsePlayMapInput is an input type that accepts ResponsePlayMap and ResponsePlayMapOutput values. You can construct a concrete instance of `ResponsePlayMapInput` via:

ResponsePlayMap{ "key": ResponsePlayArgs{...} }

type ResponsePlayMapOutput

type ResponsePlayMapOutput struct{ *pulumi.OutputState }

func (ResponsePlayMapOutput) ElementType

func (ResponsePlayMapOutput) ElementType() reflect.Type

func (ResponsePlayMapOutput) MapIndex

func (ResponsePlayMapOutput) ToResponsePlayMapOutput

func (o ResponsePlayMapOutput) ToResponsePlayMapOutput() ResponsePlayMapOutput

func (ResponsePlayMapOutput) ToResponsePlayMapOutputWithContext

func (o ResponsePlayMapOutput) ToResponsePlayMapOutputWithContext(ctx context.Context) ResponsePlayMapOutput

type ResponsePlayOutput

type ResponsePlayOutput struct{ *pulumi.OutputState }

func (ResponsePlayOutput) ConferenceNumber added in v3.5.1

func (o ResponsePlayOutput) ConferenceNumber() pulumi.StringPtrOutput

The telephone number that will be set as the conference number for any incident on which this response play is run.

func (ResponsePlayOutput) ConferenceUrl added in v3.5.1

func (o ResponsePlayOutput) ConferenceUrl() pulumi.StringPtrOutput

The URL that will be set as the conference URL for any incident on which this response play is run.

func (ResponsePlayOutput) Description added in v3.5.1

func (o ResponsePlayOutput) Description() pulumi.StringOutput

func (ResponsePlayOutput) ElementType

func (ResponsePlayOutput) ElementType() reflect.Type

func (ResponsePlayOutput) From added in v3.5.1

The email of the user attributed to the request. Needs to be a valid email address of a user in the PagerDuty account.

func (ResponsePlayOutput) Name added in v3.5.1

The name of the response play.

func (ResponsePlayOutput) Responders added in v3.5.1

A user and/or escalation policy to be requested as a responder to any incident on which this response play is run. There can be multiple responders defined on a single response play.

func (ResponsePlayOutput) RespondersMessage added in v3.5.1

func (o ResponsePlayOutput) RespondersMessage() pulumi.StringPtrOutput

The message body of the notification that will be sent to this response play's set of responders. If empty, a default response request notification will be sent.

func (ResponsePlayOutput) Runnability added in v3.5.1

func (o ResponsePlayOutput) Runnability() pulumi.StringPtrOutput

String representing how this response play is allowed to be run. Valid options are:

func (ResponsePlayOutput) Subscribers added in v3.5.1

A user and/or team to be added as a subscriber to any incident on which this response play is run. There can be multiple subscribers defined on a single response play.

func (ResponsePlayOutput) SubscribersMessage added in v3.5.1

func (o ResponsePlayOutput) SubscribersMessage() pulumi.StringPtrOutput

The content of the notification that will be sent to all incident subscribers upon the running of this response play. Note that this includes any users who may have already been subscribed to the incident prior to the running of this response play. If empty, no notifications will be sent.

func (ResponsePlayOutput) Team added in v3.5.1

The ID of the team associated with the response play.

func (ResponsePlayOutput) ToResponsePlayOutput

func (o ResponsePlayOutput) ToResponsePlayOutput() ResponsePlayOutput

func (ResponsePlayOutput) ToResponsePlayOutputWithContext

func (o ResponsePlayOutput) ToResponsePlayOutputWithContext(ctx context.Context) ResponsePlayOutput

func (ResponsePlayOutput) Type added in v3.5.1

A string that determines the schema of the object. If not set, the default value is "responsePlay".

type ResponsePlayResponder

type ResponsePlayResponder struct {
	// Description of escalation policy
	Description *string `pulumi:"description"`
	// The escalation rules
	EscalationRules []ResponsePlayResponderEscalationRule `pulumi:"escalationRules"`
	// ID of the user defined as the responder
	Id *string `pulumi:"id"`
	// Name of the escalation policy
	Name *string `pulumi:"name"`
	// The number of times the escalation policy will repeat after reaching the end of its escalation.
	NumLoops *int `pulumi:"numLoops"`
	// Determines how on call handoff notifications will be sent for users on the escalation policy. Defaults to "ifHasServices". Could be "ifHasServices", "always
	OnCallHandoffNotifications *string `pulumi:"onCallHandoffNotifications"`
	// There can be multiple services associated with a policy.
	Services []ResponsePlayResponderService `pulumi:"services"`
	// Teams associated with the policy. Account must have the `teams` ability to use this parameter. There can be multiple teams associated with a policy.
	Teams []ResponsePlayResponderTeam `pulumi:"teams"`
	// Type of object of the target. Supported types are `userReference`, `scheduleReference`.
	Type *string `pulumi:"type"`
}

type ResponsePlayResponderArgs

type ResponsePlayResponderArgs struct {
	// Description of escalation policy
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The escalation rules
	EscalationRules ResponsePlayResponderEscalationRuleArrayInput `pulumi:"escalationRules"`
	// ID of the user defined as the responder
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Name of the escalation policy
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The number of times the escalation policy will repeat after reaching the end of its escalation.
	NumLoops pulumi.IntPtrInput `pulumi:"numLoops"`
	// Determines how on call handoff notifications will be sent for users on the escalation policy. Defaults to "ifHasServices". Could be "ifHasServices", "always
	OnCallHandoffNotifications pulumi.StringPtrInput `pulumi:"onCallHandoffNotifications"`
	// There can be multiple services associated with a policy.
	Services ResponsePlayResponderServiceArrayInput `pulumi:"services"`
	// Teams associated with the policy. Account must have the `teams` ability to use this parameter. There can be multiple teams associated with a policy.
	Teams ResponsePlayResponderTeamArrayInput `pulumi:"teams"`
	// Type of object of the target. Supported types are `userReference`, `scheduleReference`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ResponsePlayResponderArgs) ElementType

func (ResponsePlayResponderArgs) ElementType() reflect.Type

func (ResponsePlayResponderArgs) ToResponsePlayResponderOutput

func (i ResponsePlayResponderArgs) ToResponsePlayResponderOutput() ResponsePlayResponderOutput

func (ResponsePlayResponderArgs) ToResponsePlayResponderOutputWithContext

func (i ResponsePlayResponderArgs) ToResponsePlayResponderOutputWithContext(ctx context.Context) ResponsePlayResponderOutput

type ResponsePlayResponderArray

type ResponsePlayResponderArray []ResponsePlayResponderInput

func (ResponsePlayResponderArray) ElementType

func (ResponsePlayResponderArray) ElementType() reflect.Type

func (ResponsePlayResponderArray) ToResponsePlayResponderArrayOutput

func (i ResponsePlayResponderArray) ToResponsePlayResponderArrayOutput() ResponsePlayResponderArrayOutput

func (ResponsePlayResponderArray) ToResponsePlayResponderArrayOutputWithContext

func (i ResponsePlayResponderArray) ToResponsePlayResponderArrayOutputWithContext(ctx context.Context) ResponsePlayResponderArrayOutput

type ResponsePlayResponderArrayInput

type ResponsePlayResponderArrayInput interface {
	pulumi.Input

	ToResponsePlayResponderArrayOutput() ResponsePlayResponderArrayOutput
	ToResponsePlayResponderArrayOutputWithContext(context.Context) ResponsePlayResponderArrayOutput
}

ResponsePlayResponderArrayInput is an input type that accepts ResponsePlayResponderArray and ResponsePlayResponderArrayOutput values. You can construct a concrete instance of `ResponsePlayResponderArrayInput` via:

ResponsePlayResponderArray{ ResponsePlayResponderArgs{...} }

type ResponsePlayResponderArrayOutput

type ResponsePlayResponderArrayOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderArrayOutput) ElementType

func (ResponsePlayResponderArrayOutput) Index

func (ResponsePlayResponderArrayOutput) ToResponsePlayResponderArrayOutput

func (o ResponsePlayResponderArrayOutput) ToResponsePlayResponderArrayOutput() ResponsePlayResponderArrayOutput

func (ResponsePlayResponderArrayOutput) ToResponsePlayResponderArrayOutputWithContext

func (o ResponsePlayResponderArrayOutput) ToResponsePlayResponderArrayOutputWithContext(ctx context.Context) ResponsePlayResponderArrayOutput

type ResponsePlayResponderEscalationRule

type ResponsePlayResponderEscalationRule struct {
	// The number of minutes before an unacknowledged incident escalates away from this rule.
	EscalationDelayInMinutes *int `pulumi:"escalationDelayInMinutes"`
	// ID of the user defined as the responder
	Id *string `pulumi:"id"`
	// The targets an incident should be assigned to upon reaching this rule.
	Targets []ResponsePlayResponderEscalationRuleTarget `pulumi:"targets"`
}

type ResponsePlayResponderEscalationRuleArgs

type ResponsePlayResponderEscalationRuleArgs struct {
	// The number of minutes before an unacknowledged incident escalates away from this rule.
	EscalationDelayInMinutes pulumi.IntPtrInput `pulumi:"escalationDelayInMinutes"`
	// ID of the user defined as the responder
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The targets an incident should be assigned to upon reaching this rule.
	Targets ResponsePlayResponderEscalationRuleTargetArrayInput `pulumi:"targets"`
}

func (ResponsePlayResponderEscalationRuleArgs) ElementType

func (ResponsePlayResponderEscalationRuleArgs) ToResponsePlayResponderEscalationRuleOutput

func (i ResponsePlayResponderEscalationRuleArgs) ToResponsePlayResponderEscalationRuleOutput() ResponsePlayResponderEscalationRuleOutput

func (ResponsePlayResponderEscalationRuleArgs) ToResponsePlayResponderEscalationRuleOutputWithContext

func (i ResponsePlayResponderEscalationRuleArgs) ToResponsePlayResponderEscalationRuleOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleOutput

type ResponsePlayResponderEscalationRuleArray

type ResponsePlayResponderEscalationRuleArray []ResponsePlayResponderEscalationRuleInput

func (ResponsePlayResponderEscalationRuleArray) ElementType

func (ResponsePlayResponderEscalationRuleArray) ToResponsePlayResponderEscalationRuleArrayOutput

func (i ResponsePlayResponderEscalationRuleArray) ToResponsePlayResponderEscalationRuleArrayOutput() ResponsePlayResponderEscalationRuleArrayOutput

func (ResponsePlayResponderEscalationRuleArray) ToResponsePlayResponderEscalationRuleArrayOutputWithContext

func (i ResponsePlayResponderEscalationRuleArray) ToResponsePlayResponderEscalationRuleArrayOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleArrayOutput

type ResponsePlayResponderEscalationRuleArrayInput

type ResponsePlayResponderEscalationRuleArrayInput interface {
	pulumi.Input

	ToResponsePlayResponderEscalationRuleArrayOutput() ResponsePlayResponderEscalationRuleArrayOutput
	ToResponsePlayResponderEscalationRuleArrayOutputWithContext(context.Context) ResponsePlayResponderEscalationRuleArrayOutput
}

ResponsePlayResponderEscalationRuleArrayInput is an input type that accepts ResponsePlayResponderEscalationRuleArray and ResponsePlayResponderEscalationRuleArrayOutput values. You can construct a concrete instance of `ResponsePlayResponderEscalationRuleArrayInput` via:

ResponsePlayResponderEscalationRuleArray{ ResponsePlayResponderEscalationRuleArgs{...} }

type ResponsePlayResponderEscalationRuleArrayOutput

type ResponsePlayResponderEscalationRuleArrayOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderEscalationRuleArrayOutput) ElementType

func (ResponsePlayResponderEscalationRuleArrayOutput) Index

func (ResponsePlayResponderEscalationRuleArrayOutput) ToResponsePlayResponderEscalationRuleArrayOutput

func (o ResponsePlayResponderEscalationRuleArrayOutput) ToResponsePlayResponderEscalationRuleArrayOutput() ResponsePlayResponderEscalationRuleArrayOutput

func (ResponsePlayResponderEscalationRuleArrayOutput) ToResponsePlayResponderEscalationRuleArrayOutputWithContext

func (o ResponsePlayResponderEscalationRuleArrayOutput) ToResponsePlayResponderEscalationRuleArrayOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleArrayOutput

type ResponsePlayResponderEscalationRuleInput

type ResponsePlayResponderEscalationRuleInput interface {
	pulumi.Input

	ToResponsePlayResponderEscalationRuleOutput() ResponsePlayResponderEscalationRuleOutput
	ToResponsePlayResponderEscalationRuleOutputWithContext(context.Context) ResponsePlayResponderEscalationRuleOutput
}

ResponsePlayResponderEscalationRuleInput is an input type that accepts ResponsePlayResponderEscalationRuleArgs and ResponsePlayResponderEscalationRuleOutput values. You can construct a concrete instance of `ResponsePlayResponderEscalationRuleInput` via:

ResponsePlayResponderEscalationRuleArgs{...}

type ResponsePlayResponderEscalationRuleOutput

type ResponsePlayResponderEscalationRuleOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderEscalationRuleOutput) ElementType

func (ResponsePlayResponderEscalationRuleOutput) EscalationDelayInMinutes

func (o ResponsePlayResponderEscalationRuleOutput) EscalationDelayInMinutes() pulumi.IntPtrOutput

The number of minutes before an unacknowledged incident escalates away from this rule.

func (ResponsePlayResponderEscalationRuleOutput) Id

ID of the user defined as the responder

func (ResponsePlayResponderEscalationRuleOutput) Targets

The targets an incident should be assigned to upon reaching this rule.

func (ResponsePlayResponderEscalationRuleOutput) ToResponsePlayResponderEscalationRuleOutput

func (o ResponsePlayResponderEscalationRuleOutput) ToResponsePlayResponderEscalationRuleOutput() ResponsePlayResponderEscalationRuleOutput

func (ResponsePlayResponderEscalationRuleOutput) ToResponsePlayResponderEscalationRuleOutputWithContext

func (o ResponsePlayResponderEscalationRuleOutput) ToResponsePlayResponderEscalationRuleOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleOutput

type ResponsePlayResponderEscalationRuleTarget

type ResponsePlayResponderEscalationRuleTarget struct {
	// ID of the user defined as the responder
	Id *string `pulumi:"id"`
	// A string that determines the schema of the object. If not set, the default value is "responsePlay".
	Type *string `pulumi:"type"`
}

type ResponsePlayResponderEscalationRuleTargetArgs

type ResponsePlayResponderEscalationRuleTargetArgs struct {
	// ID of the user defined as the responder
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A string that determines the schema of the object. If not set, the default value is "responsePlay".
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ResponsePlayResponderEscalationRuleTargetArgs) ElementType

func (ResponsePlayResponderEscalationRuleTargetArgs) ToResponsePlayResponderEscalationRuleTargetOutput

func (i ResponsePlayResponderEscalationRuleTargetArgs) ToResponsePlayResponderEscalationRuleTargetOutput() ResponsePlayResponderEscalationRuleTargetOutput

func (ResponsePlayResponderEscalationRuleTargetArgs) ToResponsePlayResponderEscalationRuleTargetOutputWithContext

func (i ResponsePlayResponderEscalationRuleTargetArgs) ToResponsePlayResponderEscalationRuleTargetOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleTargetOutput

type ResponsePlayResponderEscalationRuleTargetArray

type ResponsePlayResponderEscalationRuleTargetArray []ResponsePlayResponderEscalationRuleTargetInput

func (ResponsePlayResponderEscalationRuleTargetArray) ElementType

func (ResponsePlayResponderEscalationRuleTargetArray) ToResponsePlayResponderEscalationRuleTargetArrayOutput

func (i ResponsePlayResponderEscalationRuleTargetArray) ToResponsePlayResponderEscalationRuleTargetArrayOutput() ResponsePlayResponderEscalationRuleTargetArrayOutput

func (ResponsePlayResponderEscalationRuleTargetArray) ToResponsePlayResponderEscalationRuleTargetArrayOutputWithContext

func (i ResponsePlayResponderEscalationRuleTargetArray) ToResponsePlayResponderEscalationRuleTargetArrayOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleTargetArrayOutput

type ResponsePlayResponderEscalationRuleTargetArrayInput

type ResponsePlayResponderEscalationRuleTargetArrayInput interface {
	pulumi.Input

	ToResponsePlayResponderEscalationRuleTargetArrayOutput() ResponsePlayResponderEscalationRuleTargetArrayOutput
	ToResponsePlayResponderEscalationRuleTargetArrayOutputWithContext(context.Context) ResponsePlayResponderEscalationRuleTargetArrayOutput
}

ResponsePlayResponderEscalationRuleTargetArrayInput is an input type that accepts ResponsePlayResponderEscalationRuleTargetArray and ResponsePlayResponderEscalationRuleTargetArrayOutput values. You can construct a concrete instance of `ResponsePlayResponderEscalationRuleTargetArrayInput` via:

ResponsePlayResponderEscalationRuleTargetArray{ ResponsePlayResponderEscalationRuleTargetArgs{...} }

type ResponsePlayResponderEscalationRuleTargetArrayOutput

type ResponsePlayResponderEscalationRuleTargetArrayOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderEscalationRuleTargetArrayOutput) ElementType

func (ResponsePlayResponderEscalationRuleTargetArrayOutput) Index

func (ResponsePlayResponderEscalationRuleTargetArrayOutput) ToResponsePlayResponderEscalationRuleTargetArrayOutput

func (ResponsePlayResponderEscalationRuleTargetArrayOutput) ToResponsePlayResponderEscalationRuleTargetArrayOutputWithContext

func (o ResponsePlayResponderEscalationRuleTargetArrayOutput) ToResponsePlayResponderEscalationRuleTargetArrayOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleTargetArrayOutput

type ResponsePlayResponderEscalationRuleTargetInput

type ResponsePlayResponderEscalationRuleTargetInput interface {
	pulumi.Input

	ToResponsePlayResponderEscalationRuleTargetOutput() ResponsePlayResponderEscalationRuleTargetOutput
	ToResponsePlayResponderEscalationRuleTargetOutputWithContext(context.Context) ResponsePlayResponderEscalationRuleTargetOutput
}

ResponsePlayResponderEscalationRuleTargetInput is an input type that accepts ResponsePlayResponderEscalationRuleTargetArgs and ResponsePlayResponderEscalationRuleTargetOutput values. You can construct a concrete instance of `ResponsePlayResponderEscalationRuleTargetInput` via:

ResponsePlayResponderEscalationRuleTargetArgs{...}

type ResponsePlayResponderEscalationRuleTargetOutput

type ResponsePlayResponderEscalationRuleTargetOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderEscalationRuleTargetOutput) ElementType

func (ResponsePlayResponderEscalationRuleTargetOutput) Id

ID of the user defined as the responder

func (ResponsePlayResponderEscalationRuleTargetOutput) ToResponsePlayResponderEscalationRuleTargetOutput

func (o ResponsePlayResponderEscalationRuleTargetOutput) ToResponsePlayResponderEscalationRuleTargetOutput() ResponsePlayResponderEscalationRuleTargetOutput

func (ResponsePlayResponderEscalationRuleTargetOutput) ToResponsePlayResponderEscalationRuleTargetOutputWithContext

func (o ResponsePlayResponderEscalationRuleTargetOutput) ToResponsePlayResponderEscalationRuleTargetOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleTargetOutput

func (ResponsePlayResponderEscalationRuleTargetOutput) Type

A string that determines the schema of the object. If not set, the default value is "responsePlay".

type ResponsePlayResponderInput

type ResponsePlayResponderInput interface {
	pulumi.Input

	ToResponsePlayResponderOutput() ResponsePlayResponderOutput
	ToResponsePlayResponderOutputWithContext(context.Context) ResponsePlayResponderOutput
}

ResponsePlayResponderInput is an input type that accepts ResponsePlayResponderArgs and ResponsePlayResponderOutput values. You can construct a concrete instance of `ResponsePlayResponderInput` via:

ResponsePlayResponderArgs{...}

type ResponsePlayResponderOutput

type ResponsePlayResponderOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderOutput) Description

Description of escalation policy

func (ResponsePlayResponderOutput) ElementType

func (ResponsePlayResponderOutput) EscalationRules

The escalation rules

func (ResponsePlayResponderOutput) Id

ID of the user defined as the responder

func (ResponsePlayResponderOutput) Name

Name of the escalation policy

func (ResponsePlayResponderOutput) NumLoops

The number of times the escalation policy will repeat after reaching the end of its escalation.

func (ResponsePlayResponderOutput) OnCallHandoffNotifications

func (o ResponsePlayResponderOutput) OnCallHandoffNotifications() pulumi.StringPtrOutput

Determines how on call handoff notifications will be sent for users on the escalation policy. Defaults to "ifHasServices". Could be "ifHasServices", "always

func (ResponsePlayResponderOutput) Services

There can be multiple services associated with a policy.

func (ResponsePlayResponderOutput) Teams

Teams associated with the policy. Account must have the `teams` ability to use this parameter. There can be multiple teams associated with a policy.

func (ResponsePlayResponderOutput) ToResponsePlayResponderOutput

func (o ResponsePlayResponderOutput) ToResponsePlayResponderOutput() ResponsePlayResponderOutput

func (ResponsePlayResponderOutput) ToResponsePlayResponderOutputWithContext

func (o ResponsePlayResponderOutput) ToResponsePlayResponderOutputWithContext(ctx context.Context) ResponsePlayResponderOutput

func (ResponsePlayResponderOutput) Type

Type of object of the target. Supported types are `userReference`, `scheduleReference`.

type ResponsePlayResponderService

type ResponsePlayResponderService struct {
	// ID of the user defined as the responder
	Id *string `pulumi:"id"`
	// A string that determines the schema of the object. If not set, the default value is "responsePlay".
	Type *string `pulumi:"type"`
}

type ResponsePlayResponderServiceArgs

type ResponsePlayResponderServiceArgs struct {
	// ID of the user defined as the responder
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A string that determines the schema of the object. If not set, the default value is "responsePlay".
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ResponsePlayResponderServiceArgs) ElementType

func (ResponsePlayResponderServiceArgs) ToResponsePlayResponderServiceOutput

func (i ResponsePlayResponderServiceArgs) ToResponsePlayResponderServiceOutput() ResponsePlayResponderServiceOutput

func (ResponsePlayResponderServiceArgs) ToResponsePlayResponderServiceOutputWithContext

func (i ResponsePlayResponderServiceArgs) ToResponsePlayResponderServiceOutputWithContext(ctx context.Context) ResponsePlayResponderServiceOutput

type ResponsePlayResponderServiceArray

type ResponsePlayResponderServiceArray []ResponsePlayResponderServiceInput

func (ResponsePlayResponderServiceArray) ElementType

func (ResponsePlayResponderServiceArray) ToResponsePlayResponderServiceArrayOutput

func (i ResponsePlayResponderServiceArray) ToResponsePlayResponderServiceArrayOutput() ResponsePlayResponderServiceArrayOutput

func (ResponsePlayResponderServiceArray) ToResponsePlayResponderServiceArrayOutputWithContext

func (i ResponsePlayResponderServiceArray) ToResponsePlayResponderServiceArrayOutputWithContext(ctx context.Context) ResponsePlayResponderServiceArrayOutput

type ResponsePlayResponderServiceArrayInput

type ResponsePlayResponderServiceArrayInput interface {
	pulumi.Input

	ToResponsePlayResponderServiceArrayOutput() ResponsePlayResponderServiceArrayOutput
	ToResponsePlayResponderServiceArrayOutputWithContext(context.Context) ResponsePlayResponderServiceArrayOutput
}

ResponsePlayResponderServiceArrayInput is an input type that accepts ResponsePlayResponderServiceArray and ResponsePlayResponderServiceArrayOutput values. You can construct a concrete instance of `ResponsePlayResponderServiceArrayInput` via:

ResponsePlayResponderServiceArray{ ResponsePlayResponderServiceArgs{...} }

type ResponsePlayResponderServiceArrayOutput

type ResponsePlayResponderServiceArrayOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderServiceArrayOutput) ElementType

func (ResponsePlayResponderServiceArrayOutput) Index

func (ResponsePlayResponderServiceArrayOutput) ToResponsePlayResponderServiceArrayOutput

func (o ResponsePlayResponderServiceArrayOutput) ToResponsePlayResponderServiceArrayOutput() ResponsePlayResponderServiceArrayOutput

func (ResponsePlayResponderServiceArrayOutput) ToResponsePlayResponderServiceArrayOutputWithContext

func (o ResponsePlayResponderServiceArrayOutput) ToResponsePlayResponderServiceArrayOutputWithContext(ctx context.Context) ResponsePlayResponderServiceArrayOutput

type ResponsePlayResponderServiceInput

type ResponsePlayResponderServiceInput interface {
	pulumi.Input

	ToResponsePlayResponderServiceOutput() ResponsePlayResponderServiceOutput
	ToResponsePlayResponderServiceOutputWithContext(context.Context) ResponsePlayResponderServiceOutput
}

ResponsePlayResponderServiceInput is an input type that accepts ResponsePlayResponderServiceArgs and ResponsePlayResponderServiceOutput values. You can construct a concrete instance of `ResponsePlayResponderServiceInput` via:

ResponsePlayResponderServiceArgs{...}

type ResponsePlayResponderServiceOutput

type ResponsePlayResponderServiceOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderServiceOutput) ElementType

func (ResponsePlayResponderServiceOutput) Id

ID of the user defined as the responder

func (ResponsePlayResponderServiceOutput) ToResponsePlayResponderServiceOutput

func (o ResponsePlayResponderServiceOutput) ToResponsePlayResponderServiceOutput() ResponsePlayResponderServiceOutput

func (ResponsePlayResponderServiceOutput) ToResponsePlayResponderServiceOutputWithContext

func (o ResponsePlayResponderServiceOutput) ToResponsePlayResponderServiceOutputWithContext(ctx context.Context) ResponsePlayResponderServiceOutput

func (ResponsePlayResponderServiceOutput) Type

A string that determines the schema of the object. If not set, the default value is "responsePlay".

type ResponsePlayResponderTeam

type ResponsePlayResponderTeam struct {
	// ID of the user defined as the responder
	Id *string `pulumi:"id"`
	// A string that determines the schema of the object. If not set, the default value is "responsePlay".
	Type string `pulumi:"type"`
}

type ResponsePlayResponderTeamArgs

type ResponsePlayResponderTeamArgs struct {
	// ID of the user defined as the responder
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A string that determines the schema of the object. If not set, the default value is "responsePlay".
	Type pulumi.StringInput `pulumi:"type"`
}

func (ResponsePlayResponderTeamArgs) ElementType

func (ResponsePlayResponderTeamArgs) ToResponsePlayResponderTeamOutput

func (i ResponsePlayResponderTeamArgs) ToResponsePlayResponderTeamOutput() ResponsePlayResponderTeamOutput

func (ResponsePlayResponderTeamArgs) ToResponsePlayResponderTeamOutputWithContext

func (i ResponsePlayResponderTeamArgs) ToResponsePlayResponderTeamOutputWithContext(ctx context.Context) ResponsePlayResponderTeamOutput

type ResponsePlayResponderTeamArray

type ResponsePlayResponderTeamArray []ResponsePlayResponderTeamInput

func (ResponsePlayResponderTeamArray) ElementType

func (ResponsePlayResponderTeamArray) ToResponsePlayResponderTeamArrayOutput

func (i ResponsePlayResponderTeamArray) ToResponsePlayResponderTeamArrayOutput() ResponsePlayResponderTeamArrayOutput

func (ResponsePlayResponderTeamArray) ToResponsePlayResponderTeamArrayOutputWithContext

func (i ResponsePlayResponderTeamArray) ToResponsePlayResponderTeamArrayOutputWithContext(ctx context.Context) ResponsePlayResponderTeamArrayOutput

type ResponsePlayResponderTeamArrayInput

type ResponsePlayResponderTeamArrayInput interface {
	pulumi.Input

	ToResponsePlayResponderTeamArrayOutput() ResponsePlayResponderTeamArrayOutput
	ToResponsePlayResponderTeamArrayOutputWithContext(context.Context) ResponsePlayResponderTeamArrayOutput
}

ResponsePlayResponderTeamArrayInput is an input type that accepts ResponsePlayResponderTeamArray and ResponsePlayResponderTeamArrayOutput values. You can construct a concrete instance of `ResponsePlayResponderTeamArrayInput` via:

ResponsePlayResponderTeamArray{ ResponsePlayResponderTeamArgs{...} }

type ResponsePlayResponderTeamArrayOutput

type ResponsePlayResponderTeamArrayOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderTeamArrayOutput) ElementType

func (ResponsePlayResponderTeamArrayOutput) Index

func (ResponsePlayResponderTeamArrayOutput) ToResponsePlayResponderTeamArrayOutput

func (o ResponsePlayResponderTeamArrayOutput) ToResponsePlayResponderTeamArrayOutput() ResponsePlayResponderTeamArrayOutput

func (ResponsePlayResponderTeamArrayOutput) ToResponsePlayResponderTeamArrayOutputWithContext

func (o ResponsePlayResponderTeamArrayOutput) ToResponsePlayResponderTeamArrayOutputWithContext(ctx context.Context) ResponsePlayResponderTeamArrayOutput

type ResponsePlayResponderTeamInput

type ResponsePlayResponderTeamInput interface {
	pulumi.Input

	ToResponsePlayResponderTeamOutput() ResponsePlayResponderTeamOutput
	ToResponsePlayResponderTeamOutputWithContext(context.Context) ResponsePlayResponderTeamOutput
}

ResponsePlayResponderTeamInput is an input type that accepts ResponsePlayResponderTeamArgs and ResponsePlayResponderTeamOutput values. You can construct a concrete instance of `ResponsePlayResponderTeamInput` via:

ResponsePlayResponderTeamArgs{...}

type ResponsePlayResponderTeamOutput

type ResponsePlayResponderTeamOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderTeamOutput) ElementType

func (ResponsePlayResponderTeamOutput) Id

ID of the user defined as the responder

func (ResponsePlayResponderTeamOutput) ToResponsePlayResponderTeamOutput

func (o ResponsePlayResponderTeamOutput) ToResponsePlayResponderTeamOutput() ResponsePlayResponderTeamOutput

func (ResponsePlayResponderTeamOutput) ToResponsePlayResponderTeamOutputWithContext

func (o ResponsePlayResponderTeamOutput) ToResponsePlayResponderTeamOutputWithContext(ctx context.Context) ResponsePlayResponderTeamOutput

func (ResponsePlayResponderTeamOutput) Type

A string that determines the schema of the object. If not set, the default value is "responsePlay".

type ResponsePlayState

type ResponsePlayState struct {
	// The telephone number that will be set as the conference number for any incident on which this response play is run.
	ConferenceNumber pulumi.StringPtrInput
	// The URL that will be set as the conference URL for any incident on which this response play is run.
	ConferenceUrl pulumi.StringPtrInput
	Description   pulumi.StringPtrInput
	// The email of the user attributed to the request. Needs to be a valid email address of a user in the PagerDuty account.
	From pulumi.StringPtrInput
	// The name of the response play.
	Name pulumi.StringPtrInput
	// A user and/or escalation policy to be requested as a responder to any incident on which this response play is run. There can be multiple responders defined on a single response play.
	Responders ResponsePlayResponderArrayInput
	// The message body of the notification that will be sent to this response play's set of responders. If empty, a default response request notification will be sent.
	RespondersMessage pulumi.StringPtrInput
	// String representing how this response play is allowed to be run. Valid options are:
	Runnability pulumi.StringPtrInput
	// A user and/or team to be added as a subscriber to any incident on which this response play is run. There can be multiple subscribers defined on a single response play.
	Subscribers ResponsePlaySubscriberArrayInput
	// The content of the notification that will be sent to all incident subscribers upon the running of this response play. Note that this includes any users who may have already been subscribed to the incident prior to the running of this response play. If empty, no notifications will be sent.
	SubscribersMessage pulumi.StringPtrInput
	// The ID of the team associated with the response play.
	Team pulumi.StringPtrInput
	// A string that determines the schema of the object. If not set, the default value is "responsePlay".
	Type pulumi.StringPtrInput
}

func (ResponsePlayState) ElementType

func (ResponsePlayState) ElementType() reflect.Type

type ResponsePlaySubscriber

type ResponsePlaySubscriber struct {
	// ID of the user defined as the responder
	Id *string `pulumi:"id"`
	// A string that determines the schema of the object. If not set, the default value is "responsePlay".
	Type *string `pulumi:"type"`
}

type ResponsePlaySubscriberArgs

type ResponsePlaySubscriberArgs struct {
	// ID of the user defined as the responder
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A string that determines the schema of the object. If not set, the default value is "responsePlay".
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ResponsePlaySubscriberArgs) ElementType

func (ResponsePlaySubscriberArgs) ElementType() reflect.Type

func (ResponsePlaySubscriberArgs) ToResponsePlaySubscriberOutput

func (i ResponsePlaySubscriberArgs) ToResponsePlaySubscriberOutput() ResponsePlaySubscriberOutput

func (ResponsePlaySubscriberArgs) ToResponsePlaySubscriberOutputWithContext

func (i ResponsePlaySubscriberArgs) ToResponsePlaySubscriberOutputWithContext(ctx context.Context) ResponsePlaySubscriberOutput

type ResponsePlaySubscriberArray

type ResponsePlaySubscriberArray []ResponsePlaySubscriberInput

func (ResponsePlaySubscriberArray) ElementType

func (ResponsePlaySubscriberArray) ToResponsePlaySubscriberArrayOutput

func (i ResponsePlaySubscriberArray) ToResponsePlaySubscriberArrayOutput() ResponsePlaySubscriberArrayOutput

func (ResponsePlaySubscriberArray) ToResponsePlaySubscriberArrayOutputWithContext

func (i ResponsePlaySubscriberArray) ToResponsePlaySubscriberArrayOutputWithContext(ctx context.Context) ResponsePlaySubscriberArrayOutput

type ResponsePlaySubscriberArrayInput

type ResponsePlaySubscriberArrayInput interface {
	pulumi.Input

	ToResponsePlaySubscriberArrayOutput() ResponsePlaySubscriberArrayOutput
	ToResponsePlaySubscriberArrayOutputWithContext(context.Context) ResponsePlaySubscriberArrayOutput
}

ResponsePlaySubscriberArrayInput is an input type that accepts ResponsePlaySubscriberArray and ResponsePlaySubscriberArrayOutput values. You can construct a concrete instance of `ResponsePlaySubscriberArrayInput` via:

ResponsePlaySubscriberArray{ ResponsePlaySubscriberArgs{...} }

type ResponsePlaySubscriberArrayOutput

type ResponsePlaySubscriberArrayOutput struct{ *pulumi.OutputState }

func (ResponsePlaySubscriberArrayOutput) ElementType

func (ResponsePlaySubscriberArrayOutput) Index

func (ResponsePlaySubscriberArrayOutput) ToResponsePlaySubscriberArrayOutput

func (o ResponsePlaySubscriberArrayOutput) ToResponsePlaySubscriberArrayOutput() ResponsePlaySubscriberArrayOutput

func (ResponsePlaySubscriberArrayOutput) ToResponsePlaySubscriberArrayOutputWithContext

func (o ResponsePlaySubscriberArrayOutput) ToResponsePlaySubscriberArrayOutputWithContext(ctx context.Context) ResponsePlaySubscriberArrayOutput

type ResponsePlaySubscriberInput

type ResponsePlaySubscriberInput interface {
	pulumi.Input

	ToResponsePlaySubscriberOutput() ResponsePlaySubscriberOutput
	ToResponsePlaySubscriberOutputWithContext(context.Context) ResponsePlaySubscriberOutput
}

ResponsePlaySubscriberInput is an input type that accepts ResponsePlaySubscriberArgs and ResponsePlaySubscriberOutput values. You can construct a concrete instance of `ResponsePlaySubscriberInput` via:

ResponsePlaySubscriberArgs{...}

type ResponsePlaySubscriberOutput

type ResponsePlaySubscriberOutput struct{ *pulumi.OutputState }

func (ResponsePlaySubscriberOutput) ElementType

func (ResponsePlaySubscriberOutput) Id

ID of the user defined as the responder

func (ResponsePlaySubscriberOutput) ToResponsePlaySubscriberOutput

func (o ResponsePlaySubscriberOutput) ToResponsePlaySubscriberOutput() ResponsePlaySubscriberOutput

func (ResponsePlaySubscriberOutput) ToResponsePlaySubscriberOutputWithContext

func (o ResponsePlaySubscriberOutput) ToResponsePlaySubscriberOutputWithContext(ctx context.Context) ResponsePlaySubscriberOutput

func (ResponsePlaySubscriberOutput) Type

A string that determines the schema of the object. If not set, the default value is "responsePlay".

type Ruleset

type Ruleset struct {
	pulumi.CustomResourceState

	// Name of the ruleset.
	Name pulumi.StringOutput `pulumi:"name"`
	// Routing keys routed to this ruleset.
	RoutingKeys pulumi.StringArrayOutput `pulumi:"routingKeys"`
	// Reference to the team that owns the ruleset. If none is specified, only admins have access.
	Team RulesetTeamPtrOutput `pulumi:"team"`
	// Type of ruleset. Currently, only sets to `global`.
	Type pulumi.StringOutput `pulumi:"type"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooTeam, err := pagerduty.NewTeam(ctx, "fooTeam", nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewRuleset(ctx, "fooRuleset", &pagerduty.RulesetArgs{
			Team: &pagerduty.RulesetTeamArgs{
				Id: fooTeam.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Rulesets can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/ruleset:Ruleset main 19acac92-027a-4ea0-b06c-bbf516519601

```

func GetRuleset

func GetRuleset(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RulesetState, opts ...pulumi.ResourceOption) (*Ruleset, error)

GetRuleset gets an existing Ruleset resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRuleset

func NewRuleset(ctx *pulumi.Context,
	name string, args *RulesetArgs, opts ...pulumi.ResourceOption) (*Ruleset, error)

NewRuleset registers a new resource with the given unique name, arguments, and options.

func (*Ruleset) ElementType

func (*Ruleset) ElementType() reflect.Type

func (*Ruleset) ToRulesetOutput

func (i *Ruleset) ToRulesetOutput() RulesetOutput

func (*Ruleset) ToRulesetOutputWithContext

func (i *Ruleset) ToRulesetOutputWithContext(ctx context.Context) RulesetOutput

type RulesetArgs

type RulesetArgs struct {
	// Name of the ruleset.
	Name pulumi.StringPtrInput
	// Reference to the team that owns the ruleset. If none is specified, only admins have access.
	Team RulesetTeamPtrInput
}

The set of arguments for constructing a Ruleset resource.

func (RulesetArgs) ElementType

func (RulesetArgs) ElementType() reflect.Type

type RulesetArray

type RulesetArray []RulesetInput

func (RulesetArray) ElementType

func (RulesetArray) ElementType() reflect.Type

func (RulesetArray) ToRulesetArrayOutput

func (i RulesetArray) ToRulesetArrayOutput() RulesetArrayOutput

func (RulesetArray) ToRulesetArrayOutputWithContext

func (i RulesetArray) ToRulesetArrayOutputWithContext(ctx context.Context) RulesetArrayOutput

type RulesetArrayInput

type RulesetArrayInput interface {
	pulumi.Input

	ToRulesetArrayOutput() RulesetArrayOutput
	ToRulesetArrayOutputWithContext(context.Context) RulesetArrayOutput
}

RulesetArrayInput is an input type that accepts RulesetArray and RulesetArrayOutput values. You can construct a concrete instance of `RulesetArrayInput` via:

RulesetArray{ RulesetArgs{...} }

type RulesetArrayOutput

type RulesetArrayOutput struct{ *pulumi.OutputState }

func (RulesetArrayOutput) ElementType

func (RulesetArrayOutput) ElementType() reflect.Type

func (RulesetArrayOutput) Index

func (RulesetArrayOutput) ToRulesetArrayOutput

func (o RulesetArrayOutput) ToRulesetArrayOutput() RulesetArrayOutput

func (RulesetArrayOutput) ToRulesetArrayOutputWithContext

func (o RulesetArrayOutput) ToRulesetArrayOutputWithContext(ctx context.Context) RulesetArrayOutput

type RulesetInput

type RulesetInput interface {
	pulumi.Input

	ToRulesetOutput() RulesetOutput
	ToRulesetOutputWithContext(ctx context.Context) RulesetOutput
}

type RulesetMap

type RulesetMap map[string]RulesetInput

func (RulesetMap) ElementType

func (RulesetMap) ElementType() reflect.Type

func (RulesetMap) ToRulesetMapOutput

func (i RulesetMap) ToRulesetMapOutput() RulesetMapOutput

func (RulesetMap) ToRulesetMapOutputWithContext

func (i RulesetMap) ToRulesetMapOutputWithContext(ctx context.Context) RulesetMapOutput

type RulesetMapInput

type RulesetMapInput interface {
	pulumi.Input

	ToRulesetMapOutput() RulesetMapOutput
	ToRulesetMapOutputWithContext(context.Context) RulesetMapOutput
}

RulesetMapInput is an input type that accepts RulesetMap and RulesetMapOutput values. You can construct a concrete instance of `RulesetMapInput` via:

RulesetMap{ "key": RulesetArgs{...} }

type RulesetMapOutput

type RulesetMapOutput struct{ *pulumi.OutputState }

func (RulesetMapOutput) ElementType

func (RulesetMapOutput) ElementType() reflect.Type

func (RulesetMapOutput) MapIndex

func (RulesetMapOutput) ToRulesetMapOutput

func (o RulesetMapOutput) ToRulesetMapOutput() RulesetMapOutput

func (RulesetMapOutput) ToRulesetMapOutputWithContext

func (o RulesetMapOutput) ToRulesetMapOutputWithContext(ctx context.Context) RulesetMapOutput

type RulesetOutput

type RulesetOutput struct{ *pulumi.OutputState }

func (RulesetOutput) ElementType

func (RulesetOutput) ElementType() reflect.Type

func (RulesetOutput) Name added in v3.5.1

Name of the ruleset.

func (RulesetOutput) RoutingKeys added in v3.5.1

func (o RulesetOutput) RoutingKeys() pulumi.StringArrayOutput

Routing keys routed to this ruleset.

func (RulesetOutput) Team added in v3.5.1

Reference to the team that owns the ruleset. If none is specified, only admins have access.

func (RulesetOutput) ToRulesetOutput

func (o RulesetOutput) ToRulesetOutput() RulesetOutput

func (RulesetOutput) ToRulesetOutputWithContext

func (o RulesetOutput) ToRulesetOutputWithContext(ctx context.Context) RulesetOutput

func (RulesetOutput) Type added in v3.5.1

Type of ruleset. Currently, only sets to `global`.

type RulesetRule

type RulesetRule struct {
	pulumi.CustomResourceState

	// Actions to apply to an event if the conditions match.
	Actions RulesetRuleActionsPtrOutput `pulumi:"actions"`
	// Indicates whether the Event Rule is the last Event Rule of the Ruleset that serves as a catch-all. It has limited functionality compared to other rules and always matches.
	CatchAll pulumi.BoolPtrOutput `pulumi:"catchAll"`
	// Conditions evaluated to check if an event matches this event rule. Is always empty for the catch-all rule, though.
	Conditions RulesetRuleConditionsPtrOutput `pulumi:"conditions"`
	// Indicates whether the rule is disabled and would therefore not be evaluated.
	Disabled pulumi.BoolPtrOutput `pulumi:"disabled"`
	// Position/index of the rule within the ruleset.
	Position pulumi.IntPtrOutput `pulumi:"position"`
	// The ID of the ruleset that the rule belongs to.
	Ruleset pulumi.StringOutput `pulumi:"ruleset"`
	// Settings for [scheduling the rule](https://support.pagerduty.com/docs/rulesets#section-scheduled-event-rules).
	TimeFrame RulesetRuleTimeFramePtrOutput `pulumi:"timeFrame"`
	// Populate variables from event payloads and use those variables in other event actions. *NOTE: A rule can have multiple `variable` objects.*
	Variables RulesetRuleVariableArrayOutput `pulumi:"variables"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi-time/sdk/go/time"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooTeam, err := pagerduty.NewTeam(ctx, "fooTeam", nil)
		if err != nil {
			return err
		}
		fooRuleset, err := pagerduty.NewRuleset(ctx, "fooRuleset", &pagerduty.RulesetArgs{
			Team: &pagerduty.RulesetTeamArgs{
				Id: fooTeam.ID(),
			},
		})
		if err != nil {
			return err
		}
		easternTimeAt0930, err := time.NewStatic(ctx, "easternTimeAt0930", &time.StaticArgs{
			Rfc3339: pulumi.String("2019-04-11T09:30:00-04:00"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewRulesetRule(ctx, "fooRulesetRule", &pagerduty.RulesetRuleArgs{
			Ruleset:  fooRuleset.ID(),
			Position: pulumi.Int(0),
			Disabled: pulumi.Bool(false),
			TimeFrame: &pagerduty.RulesetRuleTimeFrameArgs{
				ScheduledWeeklies: pagerduty.RulesetRuleTimeFrameScheduledWeeklyArray{
					&pagerduty.RulesetRuleTimeFrameScheduledWeeklyArgs{
						Weekdays: pulumi.IntArray{
							pulumi.Int(2),
							pulumi.Int(4),
							pulumi.Int(6),
						},
						StartTime: easternTimeAt0930.Unix.ApplyT(func(unix int) (float64, error) {
							return unix * 1000, nil
						}).(pulumi.Float64Output),
						Duration: 2 * 60 * 60 * 1000,
						Timezone: pulumi.String("America/New_York"),
					},
				},
			},
			Conditions: &pagerduty.RulesetRuleConditionsArgs{
				Operator: pulumi.String("and"),
				Subconditions: pagerduty.RulesetRuleConditionsSubconditionArray{
					&pagerduty.RulesetRuleConditionsSubconditionArgs{
						Operator: pulumi.String("contains"),
						Parameters: pagerduty.RulesetRuleConditionsSubconditionParameterArray{
							&pagerduty.RulesetRuleConditionsSubconditionParameterArgs{
								Value: pulumi.String("disk space"),
								Path:  pulumi.String("payload.summary"),
							},
						},
					},
					&pagerduty.RulesetRuleConditionsSubconditionArgs{
						Operator: pulumi.String("contains"),
						Parameters: pagerduty.RulesetRuleConditionsSubconditionParameterArray{
							&pagerduty.RulesetRuleConditionsSubconditionParameterArgs{
								Value: pulumi.String("db"),
								Path:  pulumi.String("payload.source"),
							},
						},
					},
				},
			},
			Variables: pagerduty.RulesetRuleVariableArray{
				&pagerduty.RulesetRuleVariableArgs{
					Type: pulumi.String("regex"),
					Name: pulumi.String("Src"),
					Parameters: pagerduty.RulesetRuleVariableParameterArray{
						&pagerduty.RulesetRuleVariableParameterArgs{
							Value: pulumi.String("(.*)"),
							Path:  pulumi.String("payload.source"),
						},
					},
				},
			},
			Actions: &pagerduty.RulesetRuleActionsArgs{
				Routes: pagerduty.RulesetRuleActionsRouteArray{
					&pagerduty.RulesetRuleActionsRouteArgs{
						Value: pulumi.Any(pagerduty_service.Foo.Id),
					},
				},
				Severities: pagerduty.RulesetRuleActionsSeverityArray{
					&pagerduty.RulesetRuleActionsSeverityArgs{
						Value: pulumi.String("warning"),
					},
				},
				Annotates: pagerduty.RulesetRuleActionsAnnotateArray{
					&pagerduty.RulesetRuleActionsAnnotateArgs{
						Value: pulumi.String("From Terraform"),
					},
				},
				Extractions: pagerduty.RulesetRuleActionsExtractionArray{
					&pagerduty.RulesetRuleActionsExtractionArgs{
						Target: pulumi.String("dedup_key"),
						Source: pulumi.String("details.host"),
						Regex:  pulumi.String("(.*)"),
					},
					&pagerduty.RulesetRuleActionsExtractionArgs{
						Target:   pulumi.String("summary"),
						Template: pulumi.String("Warning: Disk Space Low on {{Src}}"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewRulesetRule(ctx, "catchAll", &pagerduty.RulesetRuleArgs{
			Ruleset:  fooRuleset.ID(),
			Position: pulumi.Int(1),
			CatchAll: pulumi.Bool(true),
			Actions: &pagerduty.RulesetRuleActionsArgs{
				Annotates: pagerduty.RulesetRuleActionsAnnotateArray{
					&pagerduty.RulesetRuleActionsAnnotateArgs{
						Value: pulumi.String("From Terraform"),
					},
				},
				Suppresses: pagerduty.RulesetRuleActionsSuppressArray{
					&pagerduty.RulesetRuleActionsSuppressArgs{
						Value: pulumi.Bool(true),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Ruleset rules can be imported using the related `ruleset` ID and the `ruleset_rule` ID separated by a dot, e.g.

```sh

$ pulumi import pagerduty:index/rulesetRule:RulesetRule main a19cdca1-3d5e-4b52-bfea-8c8de04da243.19acac92-027a-4ea0-b06c-bbf516519601

```

func GetRulesetRule

func GetRulesetRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RulesetRuleState, opts ...pulumi.ResourceOption) (*RulesetRule, error)

GetRulesetRule gets an existing RulesetRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRulesetRule

func NewRulesetRule(ctx *pulumi.Context,
	name string, args *RulesetRuleArgs, opts ...pulumi.ResourceOption) (*RulesetRule, error)

NewRulesetRule registers a new resource with the given unique name, arguments, and options.

func (*RulesetRule) ElementType

func (*RulesetRule) ElementType() reflect.Type

func (*RulesetRule) ToRulesetRuleOutput

func (i *RulesetRule) ToRulesetRuleOutput() RulesetRuleOutput

func (*RulesetRule) ToRulesetRuleOutputWithContext

func (i *RulesetRule) ToRulesetRuleOutputWithContext(ctx context.Context) RulesetRuleOutput

type RulesetRuleActions

type RulesetRuleActions struct {
	// Note added to the event.
	Annotates []RulesetRuleActionsAnnotate `pulumi:"annotates"`
	// An object with a single `value` field. The value sets whether the resulting alert status is `trigger` or `resolve`.
	EventActions []RulesetRuleActionsEventAction `pulumi:"eventActions"`
	// Allows you to copy important data from one event field to another. Extraction objects may use *either* of the following field structures:
	Extractions []RulesetRuleActionsExtraction `pulumi:"extractions"`
	// The ID of the priority applied to the event.
	Priorities []RulesetRuleActionsPriority `pulumi:"priorities"`
	// The ID of the service where the event will be routed.
	Routes []RulesetRuleActionsRoute `pulumi:"routes"`
	// The [severity level](https://support.pagerduty.com/docs/rulesets#section-set-severity-with-event-rules) of the event. Can be either `info`,`warning`,`error`, or `critical`.
	Severities []RulesetRuleActionsSeverity `pulumi:"severities"`
	// Controls whether an alert is [suppressed](https://support.pagerduty.com/docs/rulesets#section-suppress-but-create-triggering-thresholds-with-event-rules) (does not create an incident). Note: If a threshold is set, the rule must also have a `route` action.
	Suppresses []RulesetRuleActionsSuppress `pulumi:"suppresses"`
	// An object with a single `value` field. The value sets the length of time to suspend the resulting alert before triggering. Note: A rule with a `suspend` action must also have a `route` action.
	Suspends []RulesetRuleActionsSuspend `pulumi:"suspends"`
}

type RulesetRuleActionsAnnotate

type RulesetRuleActionsAnnotate struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value *string `pulumi:"value"`
}

type RulesetRuleActionsAnnotateArgs

type RulesetRuleActionsAnnotateArgs struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (RulesetRuleActionsAnnotateArgs) ElementType

func (RulesetRuleActionsAnnotateArgs) ToRulesetRuleActionsAnnotateOutput

func (i RulesetRuleActionsAnnotateArgs) ToRulesetRuleActionsAnnotateOutput() RulesetRuleActionsAnnotateOutput

func (RulesetRuleActionsAnnotateArgs) ToRulesetRuleActionsAnnotateOutputWithContext

func (i RulesetRuleActionsAnnotateArgs) ToRulesetRuleActionsAnnotateOutputWithContext(ctx context.Context) RulesetRuleActionsAnnotateOutput

type RulesetRuleActionsAnnotateArray

type RulesetRuleActionsAnnotateArray []RulesetRuleActionsAnnotateInput

func (RulesetRuleActionsAnnotateArray) ElementType

func (RulesetRuleActionsAnnotateArray) ToRulesetRuleActionsAnnotateArrayOutput

func (i RulesetRuleActionsAnnotateArray) ToRulesetRuleActionsAnnotateArrayOutput() RulesetRuleActionsAnnotateArrayOutput

func (RulesetRuleActionsAnnotateArray) ToRulesetRuleActionsAnnotateArrayOutputWithContext

func (i RulesetRuleActionsAnnotateArray) ToRulesetRuleActionsAnnotateArrayOutputWithContext(ctx context.Context) RulesetRuleActionsAnnotateArrayOutput

type RulesetRuleActionsAnnotateArrayInput

type RulesetRuleActionsAnnotateArrayInput interface {
	pulumi.Input

	ToRulesetRuleActionsAnnotateArrayOutput() RulesetRuleActionsAnnotateArrayOutput
	ToRulesetRuleActionsAnnotateArrayOutputWithContext(context.Context) RulesetRuleActionsAnnotateArrayOutput
}

RulesetRuleActionsAnnotateArrayInput is an input type that accepts RulesetRuleActionsAnnotateArray and RulesetRuleActionsAnnotateArrayOutput values. You can construct a concrete instance of `RulesetRuleActionsAnnotateArrayInput` via:

RulesetRuleActionsAnnotateArray{ RulesetRuleActionsAnnotateArgs{...} }

type RulesetRuleActionsAnnotateArrayOutput

type RulesetRuleActionsAnnotateArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsAnnotateArrayOutput) ElementType

func (RulesetRuleActionsAnnotateArrayOutput) Index

func (RulesetRuleActionsAnnotateArrayOutput) ToRulesetRuleActionsAnnotateArrayOutput

func (o RulesetRuleActionsAnnotateArrayOutput) ToRulesetRuleActionsAnnotateArrayOutput() RulesetRuleActionsAnnotateArrayOutput

func (RulesetRuleActionsAnnotateArrayOutput) ToRulesetRuleActionsAnnotateArrayOutputWithContext

func (o RulesetRuleActionsAnnotateArrayOutput) ToRulesetRuleActionsAnnotateArrayOutputWithContext(ctx context.Context) RulesetRuleActionsAnnotateArrayOutput

type RulesetRuleActionsAnnotateInput

type RulesetRuleActionsAnnotateInput interface {
	pulumi.Input

	ToRulesetRuleActionsAnnotateOutput() RulesetRuleActionsAnnotateOutput
	ToRulesetRuleActionsAnnotateOutputWithContext(context.Context) RulesetRuleActionsAnnotateOutput
}

RulesetRuleActionsAnnotateInput is an input type that accepts RulesetRuleActionsAnnotateArgs and RulesetRuleActionsAnnotateOutput values. You can construct a concrete instance of `RulesetRuleActionsAnnotateInput` via:

RulesetRuleActionsAnnotateArgs{...}

type RulesetRuleActionsAnnotateOutput

type RulesetRuleActionsAnnotateOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsAnnotateOutput) ElementType

func (RulesetRuleActionsAnnotateOutput) ToRulesetRuleActionsAnnotateOutput

func (o RulesetRuleActionsAnnotateOutput) ToRulesetRuleActionsAnnotateOutput() RulesetRuleActionsAnnotateOutput

func (RulesetRuleActionsAnnotateOutput) ToRulesetRuleActionsAnnotateOutputWithContext

func (o RulesetRuleActionsAnnotateOutput) ToRulesetRuleActionsAnnotateOutputWithContext(ctx context.Context) RulesetRuleActionsAnnotateOutput

func (RulesetRuleActionsAnnotateOutput) Value

Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.

type RulesetRuleActionsArgs

type RulesetRuleActionsArgs struct {
	// Note added to the event.
	Annotates RulesetRuleActionsAnnotateArrayInput `pulumi:"annotates"`
	// An object with a single `value` field. The value sets whether the resulting alert status is `trigger` or `resolve`.
	EventActions RulesetRuleActionsEventActionArrayInput `pulumi:"eventActions"`
	// Allows you to copy important data from one event field to another. Extraction objects may use *either* of the following field structures:
	Extractions RulesetRuleActionsExtractionArrayInput `pulumi:"extractions"`
	// The ID of the priority applied to the event.
	Priorities RulesetRuleActionsPriorityArrayInput `pulumi:"priorities"`
	// The ID of the service where the event will be routed.
	Routes RulesetRuleActionsRouteArrayInput `pulumi:"routes"`
	// The [severity level](https://support.pagerduty.com/docs/rulesets#section-set-severity-with-event-rules) of the event. Can be either `info`,`warning`,`error`, or `critical`.
	Severities RulesetRuleActionsSeverityArrayInput `pulumi:"severities"`
	// Controls whether an alert is [suppressed](https://support.pagerduty.com/docs/rulesets#section-suppress-but-create-triggering-thresholds-with-event-rules) (does not create an incident). Note: If a threshold is set, the rule must also have a `route` action.
	Suppresses RulesetRuleActionsSuppressArrayInput `pulumi:"suppresses"`
	// An object with a single `value` field. The value sets the length of time to suspend the resulting alert before triggering. Note: A rule with a `suspend` action must also have a `route` action.
	Suspends RulesetRuleActionsSuspendArrayInput `pulumi:"suspends"`
}

func (RulesetRuleActionsArgs) ElementType

func (RulesetRuleActionsArgs) ElementType() reflect.Type

func (RulesetRuleActionsArgs) ToRulesetRuleActionsOutput

func (i RulesetRuleActionsArgs) ToRulesetRuleActionsOutput() RulesetRuleActionsOutput

func (RulesetRuleActionsArgs) ToRulesetRuleActionsOutputWithContext

func (i RulesetRuleActionsArgs) ToRulesetRuleActionsOutputWithContext(ctx context.Context) RulesetRuleActionsOutput

func (RulesetRuleActionsArgs) ToRulesetRuleActionsPtrOutput

func (i RulesetRuleActionsArgs) ToRulesetRuleActionsPtrOutput() RulesetRuleActionsPtrOutput

func (RulesetRuleActionsArgs) ToRulesetRuleActionsPtrOutputWithContext

func (i RulesetRuleActionsArgs) ToRulesetRuleActionsPtrOutputWithContext(ctx context.Context) RulesetRuleActionsPtrOutput

type RulesetRuleActionsEventAction

type RulesetRuleActionsEventAction struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value *string `pulumi:"value"`
}

type RulesetRuleActionsEventActionArgs

type RulesetRuleActionsEventActionArgs struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (RulesetRuleActionsEventActionArgs) ElementType

func (RulesetRuleActionsEventActionArgs) ToRulesetRuleActionsEventActionOutput

func (i RulesetRuleActionsEventActionArgs) ToRulesetRuleActionsEventActionOutput() RulesetRuleActionsEventActionOutput

func (RulesetRuleActionsEventActionArgs) ToRulesetRuleActionsEventActionOutputWithContext

func (i RulesetRuleActionsEventActionArgs) ToRulesetRuleActionsEventActionOutputWithContext(ctx context.Context) RulesetRuleActionsEventActionOutput

type RulesetRuleActionsEventActionArray

type RulesetRuleActionsEventActionArray []RulesetRuleActionsEventActionInput

func (RulesetRuleActionsEventActionArray) ElementType

func (RulesetRuleActionsEventActionArray) ToRulesetRuleActionsEventActionArrayOutput

func (i RulesetRuleActionsEventActionArray) ToRulesetRuleActionsEventActionArrayOutput() RulesetRuleActionsEventActionArrayOutput

func (RulesetRuleActionsEventActionArray) ToRulesetRuleActionsEventActionArrayOutputWithContext

func (i RulesetRuleActionsEventActionArray) ToRulesetRuleActionsEventActionArrayOutputWithContext(ctx context.Context) RulesetRuleActionsEventActionArrayOutput

type RulesetRuleActionsEventActionArrayInput

type RulesetRuleActionsEventActionArrayInput interface {
	pulumi.Input

	ToRulesetRuleActionsEventActionArrayOutput() RulesetRuleActionsEventActionArrayOutput
	ToRulesetRuleActionsEventActionArrayOutputWithContext(context.Context) RulesetRuleActionsEventActionArrayOutput
}

RulesetRuleActionsEventActionArrayInput is an input type that accepts RulesetRuleActionsEventActionArray and RulesetRuleActionsEventActionArrayOutput values. You can construct a concrete instance of `RulesetRuleActionsEventActionArrayInput` via:

RulesetRuleActionsEventActionArray{ RulesetRuleActionsEventActionArgs{...} }

type RulesetRuleActionsEventActionArrayOutput

type RulesetRuleActionsEventActionArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsEventActionArrayOutput) ElementType

func (RulesetRuleActionsEventActionArrayOutput) Index

func (RulesetRuleActionsEventActionArrayOutput) ToRulesetRuleActionsEventActionArrayOutput

func (o RulesetRuleActionsEventActionArrayOutput) ToRulesetRuleActionsEventActionArrayOutput() RulesetRuleActionsEventActionArrayOutput

func (RulesetRuleActionsEventActionArrayOutput) ToRulesetRuleActionsEventActionArrayOutputWithContext

func (o RulesetRuleActionsEventActionArrayOutput) ToRulesetRuleActionsEventActionArrayOutputWithContext(ctx context.Context) RulesetRuleActionsEventActionArrayOutput

type RulesetRuleActionsEventActionInput

type RulesetRuleActionsEventActionInput interface {
	pulumi.Input

	ToRulesetRuleActionsEventActionOutput() RulesetRuleActionsEventActionOutput
	ToRulesetRuleActionsEventActionOutputWithContext(context.Context) RulesetRuleActionsEventActionOutput
}

RulesetRuleActionsEventActionInput is an input type that accepts RulesetRuleActionsEventActionArgs and RulesetRuleActionsEventActionOutput values. You can construct a concrete instance of `RulesetRuleActionsEventActionInput` via:

RulesetRuleActionsEventActionArgs{...}

type RulesetRuleActionsEventActionOutput

type RulesetRuleActionsEventActionOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsEventActionOutput) ElementType

func (RulesetRuleActionsEventActionOutput) ToRulesetRuleActionsEventActionOutput

func (o RulesetRuleActionsEventActionOutput) ToRulesetRuleActionsEventActionOutput() RulesetRuleActionsEventActionOutput

func (RulesetRuleActionsEventActionOutput) ToRulesetRuleActionsEventActionOutputWithContext

func (o RulesetRuleActionsEventActionOutput) ToRulesetRuleActionsEventActionOutputWithContext(ctx context.Context) RulesetRuleActionsEventActionOutput

func (RulesetRuleActionsEventActionOutput) Value

Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.

type RulesetRuleActionsExtraction

type RulesetRuleActionsExtraction struct {
	// The conditions that need to be met for the extraction to happen. Must use valid [RE2 regular expression syntax](https://github.com/google/re2/wiki/Syntax).
	//
	// *- **OR** -*
	Regex *string `pulumi:"regex"`
	// Field where the data is being copied from. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.
	Source *string `pulumi:"source"`
	// Field where the data is being copied to. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.
	//
	// *NOTE: A rule can have multiple `extraction` objects attributed to it.*
	Target *string `pulumi:"target"`
	// A customized field message. This can also include variables extracted from the payload by using string interpolation.
	Template *string `pulumi:"template"`
}

type RulesetRuleActionsExtractionArgs

type RulesetRuleActionsExtractionArgs struct {
	// The conditions that need to be met for the extraction to happen. Must use valid [RE2 regular expression syntax](https://github.com/google/re2/wiki/Syntax).
	//
	// *- **OR** -*
	Regex pulumi.StringPtrInput `pulumi:"regex"`
	// Field where the data is being copied from. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.
	Source pulumi.StringPtrInput `pulumi:"source"`
	// Field where the data is being copied to. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.
	//
	// *NOTE: A rule can have multiple `extraction` objects attributed to it.*
	Target pulumi.StringPtrInput `pulumi:"target"`
	// A customized field message. This can also include variables extracted from the payload by using string interpolation.
	Template pulumi.StringPtrInput `pulumi:"template"`
}

func (RulesetRuleActionsExtractionArgs) ElementType

func (RulesetRuleActionsExtractionArgs) ToRulesetRuleActionsExtractionOutput

func (i RulesetRuleActionsExtractionArgs) ToRulesetRuleActionsExtractionOutput() RulesetRuleActionsExtractionOutput

func (RulesetRuleActionsExtractionArgs) ToRulesetRuleActionsExtractionOutputWithContext

func (i RulesetRuleActionsExtractionArgs) ToRulesetRuleActionsExtractionOutputWithContext(ctx context.Context) RulesetRuleActionsExtractionOutput

type RulesetRuleActionsExtractionArray

type RulesetRuleActionsExtractionArray []RulesetRuleActionsExtractionInput

func (RulesetRuleActionsExtractionArray) ElementType

func (RulesetRuleActionsExtractionArray) ToRulesetRuleActionsExtractionArrayOutput

func (i RulesetRuleActionsExtractionArray) ToRulesetRuleActionsExtractionArrayOutput() RulesetRuleActionsExtractionArrayOutput

func (RulesetRuleActionsExtractionArray) ToRulesetRuleActionsExtractionArrayOutputWithContext

func (i RulesetRuleActionsExtractionArray) ToRulesetRuleActionsExtractionArrayOutputWithContext(ctx context.Context) RulesetRuleActionsExtractionArrayOutput

type RulesetRuleActionsExtractionArrayInput

type RulesetRuleActionsExtractionArrayInput interface {
	pulumi.Input

	ToRulesetRuleActionsExtractionArrayOutput() RulesetRuleActionsExtractionArrayOutput
	ToRulesetRuleActionsExtractionArrayOutputWithContext(context.Context) RulesetRuleActionsExtractionArrayOutput
}

RulesetRuleActionsExtractionArrayInput is an input type that accepts RulesetRuleActionsExtractionArray and RulesetRuleActionsExtractionArrayOutput values. You can construct a concrete instance of `RulesetRuleActionsExtractionArrayInput` via:

RulesetRuleActionsExtractionArray{ RulesetRuleActionsExtractionArgs{...} }

type RulesetRuleActionsExtractionArrayOutput

type RulesetRuleActionsExtractionArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsExtractionArrayOutput) ElementType

func (RulesetRuleActionsExtractionArrayOutput) Index

func (RulesetRuleActionsExtractionArrayOutput) ToRulesetRuleActionsExtractionArrayOutput

func (o RulesetRuleActionsExtractionArrayOutput) ToRulesetRuleActionsExtractionArrayOutput() RulesetRuleActionsExtractionArrayOutput

func (RulesetRuleActionsExtractionArrayOutput) ToRulesetRuleActionsExtractionArrayOutputWithContext

func (o RulesetRuleActionsExtractionArrayOutput) ToRulesetRuleActionsExtractionArrayOutputWithContext(ctx context.Context) RulesetRuleActionsExtractionArrayOutput

type RulesetRuleActionsExtractionInput

type RulesetRuleActionsExtractionInput interface {
	pulumi.Input

	ToRulesetRuleActionsExtractionOutput() RulesetRuleActionsExtractionOutput
	ToRulesetRuleActionsExtractionOutputWithContext(context.Context) RulesetRuleActionsExtractionOutput
}

RulesetRuleActionsExtractionInput is an input type that accepts RulesetRuleActionsExtractionArgs and RulesetRuleActionsExtractionOutput values. You can construct a concrete instance of `RulesetRuleActionsExtractionInput` via:

RulesetRuleActionsExtractionArgs{...}

type RulesetRuleActionsExtractionOutput

type RulesetRuleActionsExtractionOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsExtractionOutput) ElementType

func (RulesetRuleActionsExtractionOutput) Regex

The conditions that need to be met for the extraction to happen. Must use valid [RE2 regular expression syntax](https://github.com/google/re2/wiki/Syntax).

*- **OR** -*

func (RulesetRuleActionsExtractionOutput) Source

Field where the data is being copied from. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.

func (RulesetRuleActionsExtractionOutput) Target

Field where the data is being copied to. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.

*NOTE: A rule can have multiple `extraction` objects attributed to it.*

func (RulesetRuleActionsExtractionOutput) Template

A customized field message. This can also include variables extracted from the payload by using string interpolation.

func (RulesetRuleActionsExtractionOutput) ToRulesetRuleActionsExtractionOutput

func (o RulesetRuleActionsExtractionOutput) ToRulesetRuleActionsExtractionOutput() RulesetRuleActionsExtractionOutput

func (RulesetRuleActionsExtractionOutput) ToRulesetRuleActionsExtractionOutputWithContext

func (o RulesetRuleActionsExtractionOutput) ToRulesetRuleActionsExtractionOutputWithContext(ctx context.Context) RulesetRuleActionsExtractionOutput

type RulesetRuleActionsInput

type RulesetRuleActionsInput interface {
	pulumi.Input

	ToRulesetRuleActionsOutput() RulesetRuleActionsOutput
	ToRulesetRuleActionsOutputWithContext(context.Context) RulesetRuleActionsOutput
}

RulesetRuleActionsInput is an input type that accepts RulesetRuleActionsArgs and RulesetRuleActionsOutput values. You can construct a concrete instance of `RulesetRuleActionsInput` via:

RulesetRuleActionsArgs{...}

type RulesetRuleActionsOutput

type RulesetRuleActionsOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsOutput) Annotates

Note added to the event.

func (RulesetRuleActionsOutput) ElementType

func (RulesetRuleActionsOutput) ElementType() reflect.Type

func (RulesetRuleActionsOutput) EventActions

An object with a single `value` field. The value sets whether the resulting alert status is `trigger` or `resolve`.

func (RulesetRuleActionsOutput) Extractions

Allows you to copy important data from one event field to another. Extraction objects may use *either* of the following field structures:

func (RulesetRuleActionsOutput) Priorities

The ID of the priority applied to the event.

func (RulesetRuleActionsOutput) Routes

The ID of the service where the event will be routed.

func (RulesetRuleActionsOutput) Severities

The [severity level](https://support.pagerduty.com/docs/rulesets#section-set-severity-with-event-rules) of the event. Can be either `info`,`warning`,`error`, or `critical`.

func (RulesetRuleActionsOutput) Suppresses

Controls whether an alert is [suppressed](https://support.pagerduty.com/docs/rulesets#section-suppress-but-create-triggering-thresholds-with-event-rules) (does not create an incident). Note: If a threshold is set, the rule must also have a `route` action.

func (RulesetRuleActionsOutput) Suspends

An object with a single `value` field. The value sets the length of time to suspend the resulting alert before triggering. Note: A rule with a `suspend` action must also have a `route` action.

func (RulesetRuleActionsOutput) ToRulesetRuleActionsOutput

func (o RulesetRuleActionsOutput) ToRulesetRuleActionsOutput() RulesetRuleActionsOutput

func (RulesetRuleActionsOutput) ToRulesetRuleActionsOutputWithContext

func (o RulesetRuleActionsOutput) ToRulesetRuleActionsOutputWithContext(ctx context.Context) RulesetRuleActionsOutput

func (RulesetRuleActionsOutput) ToRulesetRuleActionsPtrOutput

func (o RulesetRuleActionsOutput) ToRulesetRuleActionsPtrOutput() RulesetRuleActionsPtrOutput

func (RulesetRuleActionsOutput) ToRulesetRuleActionsPtrOutputWithContext

func (o RulesetRuleActionsOutput) ToRulesetRuleActionsPtrOutputWithContext(ctx context.Context) RulesetRuleActionsPtrOutput

type RulesetRuleActionsPriority

type RulesetRuleActionsPriority struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value *string `pulumi:"value"`
}

type RulesetRuleActionsPriorityArgs

type RulesetRuleActionsPriorityArgs struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (RulesetRuleActionsPriorityArgs) ElementType

func (RulesetRuleActionsPriorityArgs) ToRulesetRuleActionsPriorityOutput

func (i RulesetRuleActionsPriorityArgs) ToRulesetRuleActionsPriorityOutput() RulesetRuleActionsPriorityOutput

func (RulesetRuleActionsPriorityArgs) ToRulesetRuleActionsPriorityOutputWithContext

func (i RulesetRuleActionsPriorityArgs) ToRulesetRuleActionsPriorityOutputWithContext(ctx context.Context) RulesetRuleActionsPriorityOutput

type RulesetRuleActionsPriorityArray

type RulesetRuleActionsPriorityArray []RulesetRuleActionsPriorityInput

func (RulesetRuleActionsPriorityArray) ElementType

func (RulesetRuleActionsPriorityArray) ToRulesetRuleActionsPriorityArrayOutput

func (i RulesetRuleActionsPriorityArray) ToRulesetRuleActionsPriorityArrayOutput() RulesetRuleActionsPriorityArrayOutput

func (RulesetRuleActionsPriorityArray) ToRulesetRuleActionsPriorityArrayOutputWithContext

func (i RulesetRuleActionsPriorityArray) ToRulesetRuleActionsPriorityArrayOutputWithContext(ctx context.Context) RulesetRuleActionsPriorityArrayOutput

type RulesetRuleActionsPriorityArrayInput

type RulesetRuleActionsPriorityArrayInput interface {
	pulumi.Input

	ToRulesetRuleActionsPriorityArrayOutput() RulesetRuleActionsPriorityArrayOutput
	ToRulesetRuleActionsPriorityArrayOutputWithContext(context.Context) RulesetRuleActionsPriorityArrayOutput
}

RulesetRuleActionsPriorityArrayInput is an input type that accepts RulesetRuleActionsPriorityArray and RulesetRuleActionsPriorityArrayOutput values. You can construct a concrete instance of `RulesetRuleActionsPriorityArrayInput` via:

RulesetRuleActionsPriorityArray{ RulesetRuleActionsPriorityArgs{...} }

type RulesetRuleActionsPriorityArrayOutput

type RulesetRuleActionsPriorityArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsPriorityArrayOutput) ElementType

func (RulesetRuleActionsPriorityArrayOutput) Index

func (RulesetRuleActionsPriorityArrayOutput) ToRulesetRuleActionsPriorityArrayOutput

func (o RulesetRuleActionsPriorityArrayOutput) ToRulesetRuleActionsPriorityArrayOutput() RulesetRuleActionsPriorityArrayOutput

func (RulesetRuleActionsPriorityArrayOutput) ToRulesetRuleActionsPriorityArrayOutputWithContext

func (o RulesetRuleActionsPriorityArrayOutput) ToRulesetRuleActionsPriorityArrayOutputWithContext(ctx context.Context) RulesetRuleActionsPriorityArrayOutput

type RulesetRuleActionsPriorityInput

type RulesetRuleActionsPriorityInput interface {
	pulumi.Input

	ToRulesetRuleActionsPriorityOutput() RulesetRuleActionsPriorityOutput
	ToRulesetRuleActionsPriorityOutputWithContext(context.Context) RulesetRuleActionsPriorityOutput
}

RulesetRuleActionsPriorityInput is an input type that accepts RulesetRuleActionsPriorityArgs and RulesetRuleActionsPriorityOutput values. You can construct a concrete instance of `RulesetRuleActionsPriorityInput` via:

RulesetRuleActionsPriorityArgs{...}

type RulesetRuleActionsPriorityOutput

type RulesetRuleActionsPriorityOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsPriorityOutput) ElementType

func (RulesetRuleActionsPriorityOutput) ToRulesetRuleActionsPriorityOutput

func (o RulesetRuleActionsPriorityOutput) ToRulesetRuleActionsPriorityOutput() RulesetRuleActionsPriorityOutput

func (RulesetRuleActionsPriorityOutput) ToRulesetRuleActionsPriorityOutputWithContext

func (o RulesetRuleActionsPriorityOutput) ToRulesetRuleActionsPriorityOutputWithContext(ctx context.Context) RulesetRuleActionsPriorityOutput

func (RulesetRuleActionsPriorityOutput) Value

Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.

type RulesetRuleActionsPtrInput

type RulesetRuleActionsPtrInput interface {
	pulumi.Input

	ToRulesetRuleActionsPtrOutput() RulesetRuleActionsPtrOutput
	ToRulesetRuleActionsPtrOutputWithContext(context.Context) RulesetRuleActionsPtrOutput
}

RulesetRuleActionsPtrInput is an input type that accepts RulesetRuleActionsArgs, RulesetRuleActionsPtr and RulesetRuleActionsPtrOutput values. You can construct a concrete instance of `RulesetRuleActionsPtrInput` via:

        RulesetRuleActionsArgs{...}

or:

        nil

type RulesetRuleActionsPtrOutput

type RulesetRuleActionsPtrOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsPtrOutput) Annotates

Note added to the event.

func (RulesetRuleActionsPtrOutput) Elem

func (RulesetRuleActionsPtrOutput) ElementType

func (RulesetRuleActionsPtrOutput) EventActions

An object with a single `value` field. The value sets whether the resulting alert status is `trigger` or `resolve`.

func (RulesetRuleActionsPtrOutput) Extractions

Allows you to copy important data from one event field to another. Extraction objects may use *either* of the following field structures:

func (RulesetRuleActionsPtrOutput) Priorities

The ID of the priority applied to the event.

func (RulesetRuleActionsPtrOutput) Routes

The ID of the service where the event will be routed.

func (RulesetRuleActionsPtrOutput) Severities

The [severity level](https://support.pagerduty.com/docs/rulesets#section-set-severity-with-event-rules) of the event. Can be either `info`,`warning`,`error`, or `critical`.

func (RulesetRuleActionsPtrOutput) Suppresses

Controls whether an alert is [suppressed](https://support.pagerduty.com/docs/rulesets#section-suppress-but-create-triggering-thresholds-with-event-rules) (does not create an incident). Note: If a threshold is set, the rule must also have a `route` action.

func (RulesetRuleActionsPtrOutput) Suspends

An object with a single `value` field. The value sets the length of time to suspend the resulting alert before triggering. Note: A rule with a `suspend` action must also have a `route` action.

func (RulesetRuleActionsPtrOutput) ToRulesetRuleActionsPtrOutput

func (o RulesetRuleActionsPtrOutput) ToRulesetRuleActionsPtrOutput() RulesetRuleActionsPtrOutput

func (RulesetRuleActionsPtrOutput) ToRulesetRuleActionsPtrOutputWithContext

func (o RulesetRuleActionsPtrOutput) ToRulesetRuleActionsPtrOutputWithContext(ctx context.Context) RulesetRuleActionsPtrOutput

type RulesetRuleActionsRoute

type RulesetRuleActionsRoute struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value *string `pulumi:"value"`
}

type RulesetRuleActionsRouteArgs

type RulesetRuleActionsRouteArgs struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (RulesetRuleActionsRouteArgs) ElementType

func (RulesetRuleActionsRouteArgs) ToRulesetRuleActionsRouteOutput

func (i RulesetRuleActionsRouteArgs) ToRulesetRuleActionsRouteOutput() RulesetRuleActionsRouteOutput

func (RulesetRuleActionsRouteArgs) ToRulesetRuleActionsRouteOutputWithContext

func (i RulesetRuleActionsRouteArgs) ToRulesetRuleActionsRouteOutputWithContext(ctx context.Context) RulesetRuleActionsRouteOutput

type RulesetRuleActionsRouteArray

type RulesetRuleActionsRouteArray []RulesetRuleActionsRouteInput

func (RulesetRuleActionsRouteArray) ElementType

func (RulesetRuleActionsRouteArray) ToRulesetRuleActionsRouteArrayOutput

func (i RulesetRuleActionsRouteArray) ToRulesetRuleActionsRouteArrayOutput() RulesetRuleActionsRouteArrayOutput

func (RulesetRuleActionsRouteArray) ToRulesetRuleActionsRouteArrayOutputWithContext

func (i RulesetRuleActionsRouteArray) ToRulesetRuleActionsRouteArrayOutputWithContext(ctx context.Context) RulesetRuleActionsRouteArrayOutput

type RulesetRuleActionsRouteArrayInput

type RulesetRuleActionsRouteArrayInput interface {
	pulumi.Input

	ToRulesetRuleActionsRouteArrayOutput() RulesetRuleActionsRouteArrayOutput
	ToRulesetRuleActionsRouteArrayOutputWithContext(context.Context) RulesetRuleActionsRouteArrayOutput
}

RulesetRuleActionsRouteArrayInput is an input type that accepts RulesetRuleActionsRouteArray and RulesetRuleActionsRouteArrayOutput values. You can construct a concrete instance of `RulesetRuleActionsRouteArrayInput` via:

RulesetRuleActionsRouteArray{ RulesetRuleActionsRouteArgs{...} }

type RulesetRuleActionsRouteArrayOutput

type RulesetRuleActionsRouteArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsRouteArrayOutput) ElementType

func (RulesetRuleActionsRouteArrayOutput) Index

func (RulesetRuleActionsRouteArrayOutput) ToRulesetRuleActionsRouteArrayOutput

func (o RulesetRuleActionsRouteArrayOutput) ToRulesetRuleActionsRouteArrayOutput() RulesetRuleActionsRouteArrayOutput

func (RulesetRuleActionsRouteArrayOutput) ToRulesetRuleActionsRouteArrayOutputWithContext

func (o RulesetRuleActionsRouteArrayOutput) ToRulesetRuleActionsRouteArrayOutputWithContext(ctx context.Context) RulesetRuleActionsRouteArrayOutput

type RulesetRuleActionsRouteInput

type RulesetRuleActionsRouteInput interface {
	pulumi.Input

	ToRulesetRuleActionsRouteOutput() RulesetRuleActionsRouteOutput
	ToRulesetRuleActionsRouteOutputWithContext(context.Context) RulesetRuleActionsRouteOutput
}

RulesetRuleActionsRouteInput is an input type that accepts RulesetRuleActionsRouteArgs and RulesetRuleActionsRouteOutput values. You can construct a concrete instance of `RulesetRuleActionsRouteInput` via:

RulesetRuleActionsRouteArgs{...}

type RulesetRuleActionsRouteOutput

type RulesetRuleActionsRouteOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsRouteOutput) ElementType

func (RulesetRuleActionsRouteOutput) ToRulesetRuleActionsRouteOutput

func (o RulesetRuleActionsRouteOutput) ToRulesetRuleActionsRouteOutput() RulesetRuleActionsRouteOutput

func (RulesetRuleActionsRouteOutput) ToRulesetRuleActionsRouteOutputWithContext

func (o RulesetRuleActionsRouteOutput) ToRulesetRuleActionsRouteOutputWithContext(ctx context.Context) RulesetRuleActionsRouteOutput

func (RulesetRuleActionsRouteOutput) Value

Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.

type RulesetRuleActionsSeverity

type RulesetRuleActionsSeverity struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value *string `pulumi:"value"`
}

type RulesetRuleActionsSeverityArgs

type RulesetRuleActionsSeverityArgs struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (RulesetRuleActionsSeverityArgs) ElementType

func (RulesetRuleActionsSeverityArgs) ToRulesetRuleActionsSeverityOutput

func (i RulesetRuleActionsSeverityArgs) ToRulesetRuleActionsSeverityOutput() RulesetRuleActionsSeverityOutput

func (RulesetRuleActionsSeverityArgs) ToRulesetRuleActionsSeverityOutputWithContext

func (i RulesetRuleActionsSeverityArgs) ToRulesetRuleActionsSeverityOutputWithContext(ctx context.Context) RulesetRuleActionsSeverityOutput

type RulesetRuleActionsSeverityArray

type RulesetRuleActionsSeverityArray []RulesetRuleActionsSeverityInput

func (RulesetRuleActionsSeverityArray) ElementType

func (RulesetRuleActionsSeverityArray) ToRulesetRuleActionsSeverityArrayOutput

func (i RulesetRuleActionsSeverityArray) ToRulesetRuleActionsSeverityArrayOutput() RulesetRuleActionsSeverityArrayOutput

func (RulesetRuleActionsSeverityArray) ToRulesetRuleActionsSeverityArrayOutputWithContext

func (i RulesetRuleActionsSeverityArray) ToRulesetRuleActionsSeverityArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSeverityArrayOutput

type RulesetRuleActionsSeverityArrayInput

type RulesetRuleActionsSeverityArrayInput interface {
	pulumi.Input

	ToRulesetRuleActionsSeverityArrayOutput() RulesetRuleActionsSeverityArrayOutput
	ToRulesetRuleActionsSeverityArrayOutputWithContext(context.Context) RulesetRuleActionsSeverityArrayOutput
}

RulesetRuleActionsSeverityArrayInput is an input type that accepts RulesetRuleActionsSeverityArray and RulesetRuleActionsSeverityArrayOutput values. You can construct a concrete instance of `RulesetRuleActionsSeverityArrayInput` via:

RulesetRuleActionsSeverityArray{ RulesetRuleActionsSeverityArgs{...} }

type RulesetRuleActionsSeverityArrayOutput

type RulesetRuleActionsSeverityArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsSeverityArrayOutput) ElementType

func (RulesetRuleActionsSeverityArrayOutput) Index

func (RulesetRuleActionsSeverityArrayOutput) ToRulesetRuleActionsSeverityArrayOutput

func (o RulesetRuleActionsSeverityArrayOutput) ToRulesetRuleActionsSeverityArrayOutput() RulesetRuleActionsSeverityArrayOutput

func (RulesetRuleActionsSeverityArrayOutput) ToRulesetRuleActionsSeverityArrayOutputWithContext

func (o RulesetRuleActionsSeverityArrayOutput) ToRulesetRuleActionsSeverityArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSeverityArrayOutput

type RulesetRuleActionsSeverityInput

type RulesetRuleActionsSeverityInput interface {
	pulumi.Input

	ToRulesetRuleActionsSeverityOutput() RulesetRuleActionsSeverityOutput
	ToRulesetRuleActionsSeverityOutputWithContext(context.Context) RulesetRuleActionsSeverityOutput
}

RulesetRuleActionsSeverityInput is an input type that accepts RulesetRuleActionsSeverityArgs and RulesetRuleActionsSeverityOutput values. You can construct a concrete instance of `RulesetRuleActionsSeverityInput` via:

RulesetRuleActionsSeverityArgs{...}

type RulesetRuleActionsSeverityOutput

type RulesetRuleActionsSeverityOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsSeverityOutput) ElementType

func (RulesetRuleActionsSeverityOutput) ToRulesetRuleActionsSeverityOutput

func (o RulesetRuleActionsSeverityOutput) ToRulesetRuleActionsSeverityOutput() RulesetRuleActionsSeverityOutput

func (RulesetRuleActionsSeverityOutput) ToRulesetRuleActionsSeverityOutputWithContext

func (o RulesetRuleActionsSeverityOutput) ToRulesetRuleActionsSeverityOutputWithContext(ctx context.Context) RulesetRuleActionsSeverityOutput

func (RulesetRuleActionsSeverityOutput) Value

Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.

type RulesetRuleActionsSuppress

type RulesetRuleActionsSuppress struct {
	// The number value of the `thresholdTimeUnit` before an incident is created. Must be greater than 0.
	ThresholdTimeAmount *int `pulumi:"thresholdTimeAmount"`
	// The `seconds`,`minutes`, or `hours` the `thresholdTimeAmount` should be measured.
	ThresholdTimeUnit *string `pulumi:"thresholdTimeUnit"`
	// The number of alerts that should be suppressed. Must be greater than 0.
	ThresholdValue *int `pulumi:"thresholdValue"`
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value *bool `pulumi:"value"`
}

type RulesetRuleActionsSuppressArgs

type RulesetRuleActionsSuppressArgs struct {
	// The number value of the `thresholdTimeUnit` before an incident is created. Must be greater than 0.
	ThresholdTimeAmount pulumi.IntPtrInput `pulumi:"thresholdTimeAmount"`
	// The `seconds`,`minutes`, or `hours` the `thresholdTimeAmount` should be measured.
	ThresholdTimeUnit pulumi.StringPtrInput `pulumi:"thresholdTimeUnit"`
	// The number of alerts that should be suppressed. Must be greater than 0.
	ThresholdValue pulumi.IntPtrInput `pulumi:"thresholdValue"`
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value pulumi.BoolPtrInput `pulumi:"value"`
}

func (RulesetRuleActionsSuppressArgs) ElementType

func (RulesetRuleActionsSuppressArgs) ToRulesetRuleActionsSuppressOutput

func (i RulesetRuleActionsSuppressArgs) ToRulesetRuleActionsSuppressOutput() RulesetRuleActionsSuppressOutput

func (RulesetRuleActionsSuppressArgs) ToRulesetRuleActionsSuppressOutputWithContext

func (i RulesetRuleActionsSuppressArgs) ToRulesetRuleActionsSuppressOutputWithContext(ctx context.Context) RulesetRuleActionsSuppressOutput

type RulesetRuleActionsSuppressArray

type RulesetRuleActionsSuppressArray []RulesetRuleActionsSuppressInput

func (RulesetRuleActionsSuppressArray) ElementType

func (RulesetRuleActionsSuppressArray) ToRulesetRuleActionsSuppressArrayOutput

func (i RulesetRuleActionsSuppressArray) ToRulesetRuleActionsSuppressArrayOutput() RulesetRuleActionsSuppressArrayOutput

func (RulesetRuleActionsSuppressArray) ToRulesetRuleActionsSuppressArrayOutputWithContext

func (i RulesetRuleActionsSuppressArray) ToRulesetRuleActionsSuppressArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSuppressArrayOutput

type RulesetRuleActionsSuppressArrayInput

type RulesetRuleActionsSuppressArrayInput interface {
	pulumi.Input

	ToRulesetRuleActionsSuppressArrayOutput() RulesetRuleActionsSuppressArrayOutput
	ToRulesetRuleActionsSuppressArrayOutputWithContext(context.Context) RulesetRuleActionsSuppressArrayOutput
}

RulesetRuleActionsSuppressArrayInput is an input type that accepts RulesetRuleActionsSuppressArray and RulesetRuleActionsSuppressArrayOutput values. You can construct a concrete instance of `RulesetRuleActionsSuppressArrayInput` via:

RulesetRuleActionsSuppressArray{ RulesetRuleActionsSuppressArgs{...} }

type RulesetRuleActionsSuppressArrayOutput

type RulesetRuleActionsSuppressArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsSuppressArrayOutput) ElementType

func (RulesetRuleActionsSuppressArrayOutput) Index

func (RulesetRuleActionsSuppressArrayOutput) ToRulesetRuleActionsSuppressArrayOutput

func (o RulesetRuleActionsSuppressArrayOutput) ToRulesetRuleActionsSuppressArrayOutput() RulesetRuleActionsSuppressArrayOutput

func (RulesetRuleActionsSuppressArrayOutput) ToRulesetRuleActionsSuppressArrayOutputWithContext

func (o RulesetRuleActionsSuppressArrayOutput) ToRulesetRuleActionsSuppressArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSuppressArrayOutput

type RulesetRuleActionsSuppressInput

type RulesetRuleActionsSuppressInput interface {
	pulumi.Input

	ToRulesetRuleActionsSuppressOutput() RulesetRuleActionsSuppressOutput
	ToRulesetRuleActionsSuppressOutputWithContext(context.Context) RulesetRuleActionsSuppressOutput
}

RulesetRuleActionsSuppressInput is an input type that accepts RulesetRuleActionsSuppressArgs and RulesetRuleActionsSuppressOutput values. You can construct a concrete instance of `RulesetRuleActionsSuppressInput` via:

RulesetRuleActionsSuppressArgs{...}

type RulesetRuleActionsSuppressOutput

type RulesetRuleActionsSuppressOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsSuppressOutput) ElementType

func (RulesetRuleActionsSuppressOutput) ThresholdTimeAmount

func (o RulesetRuleActionsSuppressOutput) ThresholdTimeAmount() pulumi.IntPtrOutput

The number value of the `thresholdTimeUnit` before an incident is created. Must be greater than 0.

func (RulesetRuleActionsSuppressOutput) ThresholdTimeUnit

The `seconds`,`minutes`, or `hours` the `thresholdTimeAmount` should be measured.

func (RulesetRuleActionsSuppressOutput) ThresholdValue

The number of alerts that should be suppressed. Must be greater than 0.

func (RulesetRuleActionsSuppressOutput) ToRulesetRuleActionsSuppressOutput

func (o RulesetRuleActionsSuppressOutput) ToRulesetRuleActionsSuppressOutput() RulesetRuleActionsSuppressOutput

func (RulesetRuleActionsSuppressOutput) ToRulesetRuleActionsSuppressOutputWithContext

func (o RulesetRuleActionsSuppressOutput) ToRulesetRuleActionsSuppressOutputWithContext(ctx context.Context) RulesetRuleActionsSuppressOutput

func (RulesetRuleActionsSuppressOutput) Value

Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.

type RulesetRuleActionsSuspend

type RulesetRuleActionsSuspend struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value *int `pulumi:"value"`
}

type RulesetRuleActionsSuspendArgs

type RulesetRuleActionsSuspendArgs struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value pulumi.IntPtrInput `pulumi:"value"`
}

func (RulesetRuleActionsSuspendArgs) ElementType

func (RulesetRuleActionsSuspendArgs) ToRulesetRuleActionsSuspendOutput

func (i RulesetRuleActionsSuspendArgs) ToRulesetRuleActionsSuspendOutput() RulesetRuleActionsSuspendOutput

func (RulesetRuleActionsSuspendArgs) ToRulesetRuleActionsSuspendOutputWithContext

func (i RulesetRuleActionsSuspendArgs) ToRulesetRuleActionsSuspendOutputWithContext(ctx context.Context) RulesetRuleActionsSuspendOutput

type RulesetRuleActionsSuspendArray

type RulesetRuleActionsSuspendArray []RulesetRuleActionsSuspendInput

func (RulesetRuleActionsSuspendArray) ElementType

func (RulesetRuleActionsSuspendArray) ToRulesetRuleActionsSuspendArrayOutput

func (i RulesetRuleActionsSuspendArray) ToRulesetRuleActionsSuspendArrayOutput() RulesetRuleActionsSuspendArrayOutput

func (RulesetRuleActionsSuspendArray) ToRulesetRuleActionsSuspendArrayOutputWithContext

func (i RulesetRuleActionsSuspendArray) ToRulesetRuleActionsSuspendArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSuspendArrayOutput

type RulesetRuleActionsSuspendArrayInput

type RulesetRuleActionsSuspendArrayInput interface {
	pulumi.Input

	ToRulesetRuleActionsSuspendArrayOutput() RulesetRuleActionsSuspendArrayOutput
	ToRulesetRuleActionsSuspendArrayOutputWithContext(context.Context) RulesetRuleActionsSuspendArrayOutput
}

RulesetRuleActionsSuspendArrayInput is an input type that accepts RulesetRuleActionsSuspendArray and RulesetRuleActionsSuspendArrayOutput values. You can construct a concrete instance of `RulesetRuleActionsSuspendArrayInput` via:

RulesetRuleActionsSuspendArray{ RulesetRuleActionsSuspendArgs{...} }

type RulesetRuleActionsSuspendArrayOutput

type RulesetRuleActionsSuspendArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsSuspendArrayOutput) ElementType

func (RulesetRuleActionsSuspendArrayOutput) Index

func (RulesetRuleActionsSuspendArrayOutput) ToRulesetRuleActionsSuspendArrayOutput

func (o RulesetRuleActionsSuspendArrayOutput) ToRulesetRuleActionsSuspendArrayOutput() RulesetRuleActionsSuspendArrayOutput

func (RulesetRuleActionsSuspendArrayOutput) ToRulesetRuleActionsSuspendArrayOutputWithContext

func (o RulesetRuleActionsSuspendArrayOutput) ToRulesetRuleActionsSuspendArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSuspendArrayOutput

type RulesetRuleActionsSuspendInput

type RulesetRuleActionsSuspendInput interface {
	pulumi.Input

	ToRulesetRuleActionsSuspendOutput() RulesetRuleActionsSuspendOutput
	ToRulesetRuleActionsSuspendOutputWithContext(context.Context) RulesetRuleActionsSuspendOutput
}

RulesetRuleActionsSuspendInput is an input type that accepts RulesetRuleActionsSuspendArgs and RulesetRuleActionsSuspendOutput values. You can construct a concrete instance of `RulesetRuleActionsSuspendInput` via:

RulesetRuleActionsSuspendArgs{...}

type RulesetRuleActionsSuspendOutput

type RulesetRuleActionsSuspendOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsSuspendOutput) ElementType

func (RulesetRuleActionsSuspendOutput) ToRulesetRuleActionsSuspendOutput

func (o RulesetRuleActionsSuspendOutput) ToRulesetRuleActionsSuspendOutput() RulesetRuleActionsSuspendOutput

func (RulesetRuleActionsSuspendOutput) ToRulesetRuleActionsSuspendOutputWithContext

func (o RulesetRuleActionsSuspendOutput) ToRulesetRuleActionsSuspendOutputWithContext(ctx context.Context) RulesetRuleActionsSuspendOutput

func (RulesetRuleActionsSuspendOutput) Value

Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.

type RulesetRuleArgs

type RulesetRuleArgs struct {
	// Actions to apply to an event if the conditions match.
	Actions RulesetRuleActionsPtrInput
	// Indicates whether the Event Rule is the last Event Rule of the Ruleset that serves as a catch-all. It has limited functionality compared to other rules and always matches.
	CatchAll pulumi.BoolPtrInput
	// Conditions evaluated to check if an event matches this event rule. Is always empty for the catch-all rule, though.
	Conditions RulesetRuleConditionsPtrInput
	// Indicates whether the rule is disabled and would therefore not be evaluated.
	Disabled pulumi.BoolPtrInput
	// Position/index of the rule within the ruleset.
	Position pulumi.IntPtrInput
	// The ID of the ruleset that the rule belongs to.
	Ruleset pulumi.StringInput
	// Settings for [scheduling the rule](https://support.pagerduty.com/docs/rulesets#section-scheduled-event-rules).
	TimeFrame RulesetRuleTimeFramePtrInput
	// Populate variables from event payloads and use those variables in other event actions. *NOTE: A rule can have multiple `variable` objects.*
	Variables RulesetRuleVariableArrayInput
}

The set of arguments for constructing a RulesetRule resource.

func (RulesetRuleArgs) ElementType

func (RulesetRuleArgs) ElementType() reflect.Type

type RulesetRuleArray

type RulesetRuleArray []RulesetRuleInput

func (RulesetRuleArray) ElementType

func (RulesetRuleArray) ElementType() reflect.Type

func (RulesetRuleArray) ToRulesetRuleArrayOutput

func (i RulesetRuleArray) ToRulesetRuleArrayOutput() RulesetRuleArrayOutput

func (RulesetRuleArray) ToRulesetRuleArrayOutputWithContext

func (i RulesetRuleArray) ToRulesetRuleArrayOutputWithContext(ctx context.Context) RulesetRuleArrayOutput

type RulesetRuleArrayInput

type RulesetRuleArrayInput interface {
	pulumi.Input

	ToRulesetRuleArrayOutput() RulesetRuleArrayOutput
	ToRulesetRuleArrayOutputWithContext(context.Context) RulesetRuleArrayOutput
}

RulesetRuleArrayInput is an input type that accepts RulesetRuleArray and RulesetRuleArrayOutput values. You can construct a concrete instance of `RulesetRuleArrayInput` via:

RulesetRuleArray{ RulesetRuleArgs{...} }

type RulesetRuleArrayOutput

type RulesetRuleArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleArrayOutput) ElementType

func (RulesetRuleArrayOutput) ElementType() reflect.Type

func (RulesetRuleArrayOutput) Index

func (RulesetRuleArrayOutput) ToRulesetRuleArrayOutput

func (o RulesetRuleArrayOutput) ToRulesetRuleArrayOutput() RulesetRuleArrayOutput

func (RulesetRuleArrayOutput) ToRulesetRuleArrayOutputWithContext

func (o RulesetRuleArrayOutput) ToRulesetRuleArrayOutputWithContext(ctx context.Context) RulesetRuleArrayOutput

type RulesetRuleConditions

type RulesetRuleConditions struct {
	// Operator to combine sub-conditions. Can be `and` or `or`.
	Operator *string `pulumi:"operator"`
	// List of sub-conditions that define the condition.
	Subconditions []RulesetRuleConditionsSubcondition `pulumi:"subconditions"`
}

type RulesetRuleConditionsArgs

type RulesetRuleConditionsArgs struct {
	// Operator to combine sub-conditions. Can be `and` or `or`.
	Operator pulumi.StringPtrInput `pulumi:"operator"`
	// List of sub-conditions that define the condition.
	Subconditions RulesetRuleConditionsSubconditionArrayInput `pulumi:"subconditions"`
}

func (RulesetRuleConditionsArgs) ElementType

func (RulesetRuleConditionsArgs) ElementType() reflect.Type

func (RulesetRuleConditionsArgs) ToRulesetRuleConditionsOutput

func (i RulesetRuleConditionsArgs) ToRulesetRuleConditionsOutput() RulesetRuleConditionsOutput

func (RulesetRuleConditionsArgs) ToRulesetRuleConditionsOutputWithContext

func (i RulesetRuleConditionsArgs) ToRulesetRuleConditionsOutputWithContext(ctx context.Context) RulesetRuleConditionsOutput

func (RulesetRuleConditionsArgs) ToRulesetRuleConditionsPtrOutput

func (i RulesetRuleConditionsArgs) ToRulesetRuleConditionsPtrOutput() RulesetRuleConditionsPtrOutput

func (RulesetRuleConditionsArgs) ToRulesetRuleConditionsPtrOutputWithContext

func (i RulesetRuleConditionsArgs) ToRulesetRuleConditionsPtrOutputWithContext(ctx context.Context) RulesetRuleConditionsPtrOutput

type RulesetRuleConditionsInput

type RulesetRuleConditionsInput interface {
	pulumi.Input

	ToRulesetRuleConditionsOutput() RulesetRuleConditionsOutput
	ToRulesetRuleConditionsOutputWithContext(context.Context) RulesetRuleConditionsOutput
}

RulesetRuleConditionsInput is an input type that accepts RulesetRuleConditionsArgs and RulesetRuleConditionsOutput values. You can construct a concrete instance of `RulesetRuleConditionsInput` via:

RulesetRuleConditionsArgs{...}

type RulesetRuleConditionsOutput

type RulesetRuleConditionsOutput struct{ *pulumi.OutputState }

func (RulesetRuleConditionsOutput) ElementType

func (RulesetRuleConditionsOutput) Operator

Operator to combine sub-conditions. Can be `and` or `or`.

func (RulesetRuleConditionsOutput) Subconditions

List of sub-conditions that define the condition.

func (RulesetRuleConditionsOutput) ToRulesetRuleConditionsOutput

func (o RulesetRuleConditionsOutput) ToRulesetRuleConditionsOutput() RulesetRuleConditionsOutput

func (RulesetRuleConditionsOutput) ToRulesetRuleConditionsOutputWithContext

func (o RulesetRuleConditionsOutput) ToRulesetRuleConditionsOutputWithContext(ctx context.Context) RulesetRuleConditionsOutput

func (RulesetRuleConditionsOutput) ToRulesetRuleConditionsPtrOutput

func (o RulesetRuleConditionsOutput) ToRulesetRuleConditionsPtrOutput() RulesetRuleConditionsPtrOutput

func (RulesetRuleConditionsOutput) ToRulesetRuleConditionsPtrOutputWithContext

func (o RulesetRuleConditionsOutput) ToRulesetRuleConditionsPtrOutputWithContext(ctx context.Context) RulesetRuleConditionsPtrOutput

type RulesetRuleConditionsPtrInput

type RulesetRuleConditionsPtrInput interface {
	pulumi.Input

	ToRulesetRuleConditionsPtrOutput() RulesetRuleConditionsPtrOutput
	ToRulesetRuleConditionsPtrOutputWithContext(context.Context) RulesetRuleConditionsPtrOutput
}

RulesetRuleConditionsPtrInput is an input type that accepts RulesetRuleConditionsArgs, RulesetRuleConditionsPtr and RulesetRuleConditionsPtrOutput values. You can construct a concrete instance of `RulesetRuleConditionsPtrInput` via:

        RulesetRuleConditionsArgs{...}

or:

        nil

type RulesetRuleConditionsPtrOutput

type RulesetRuleConditionsPtrOutput struct{ *pulumi.OutputState }

func (RulesetRuleConditionsPtrOutput) Elem

func (RulesetRuleConditionsPtrOutput) ElementType

func (RulesetRuleConditionsPtrOutput) Operator

Operator to combine sub-conditions. Can be `and` or `or`.

func (RulesetRuleConditionsPtrOutput) Subconditions

List of sub-conditions that define the condition.

func (RulesetRuleConditionsPtrOutput) ToRulesetRuleConditionsPtrOutput

func (o RulesetRuleConditionsPtrOutput) ToRulesetRuleConditionsPtrOutput() RulesetRuleConditionsPtrOutput

func (RulesetRuleConditionsPtrOutput) ToRulesetRuleConditionsPtrOutputWithContext

func (o RulesetRuleConditionsPtrOutput) ToRulesetRuleConditionsPtrOutputWithContext(ctx context.Context) RulesetRuleConditionsPtrOutput

type RulesetRuleConditionsSubcondition

type RulesetRuleConditionsSubcondition struct {
	// Type of operator to apply to the sub-condition. Can be `exists`,`nexists`,`equals`,`nequals`,`contains`,`ncontains`,`matches`, or `nmatches`.
	Operator *string `pulumi:"operator"`
	// Parameter for the sub-condition. It requires both a `path` and `value` to be set.
	Parameters []RulesetRuleConditionsSubconditionParameter `pulumi:"parameters"`
}

type RulesetRuleConditionsSubconditionArgs

type RulesetRuleConditionsSubconditionArgs struct {
	// Type of operator to apply to the sub-condition. Can be `exists`,`nexists`,`equals`,`nequals`,`contains`,`ncontains`,`matches`, or `nmatches`.
	Operator pulumi.StringPtrInput `pulumi:"operator"`
	// Parameter for the sub-condition. It requires both a `path` and `value` to be set.
	Parameters RulesetRuleConditionsSubconditionParameterArrayInput `pulumi:"parameters"`
}

func (RulesetRuleConditionsSubconditionArgs) ElementType

func (RulesetRuleConditionsSubconditionArgs) ToRulesetRuleConditionsSubconditionOutput

func (i RulesetRuleConditionsSubconditionArgs) ToRulesetRuleConditionsSubconditionOutput() RulesetRuleConditionsSubconditionOutput

func (RulesetRuleConditionsSubconditionArgs) ToRulesetRuleConditionsSubconditionOutputWithContext

func (i RulesetRuleConditionsSubconditionArgs) ToRulesetRuleConditionsSubconditionOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionOutput

type RulesetRuleConditionsSubconditionArray

type RulesetRuleConditionsSubconditionArray []RulesetRuleConditionsSubconditionInput

func (RulesetRuleConditionsSubconditionArray) ElementType

func (RulesetRuleConditionsSubconditionArray) ToRulesetRuleConditionsSubconditionArrayOutput

func (i RulesetRuleConditionsSubconditionArray) ToRulesetRuleConditionsSubconditionArrayOutput() RulesetRuleConditionsSubconditionArrayOutput

func (RulesetRuleConditionsSubconditionArray) ToRulesetRuleConditionsSubconditionArrayOutputWithContext

func (i RulesetRuleConditionsSubconditionArray) ToRulesetRuleConditionsSubconditionArrayOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionArrayOutput

type RulesetRuleConditionsSubconditionArrayInput

type RulesetRuleConditionsSubconditionArrayInput interface {
	pulumi.Input

	ToRulesetRuleConditionsSubconditionArrayOutput() RulesetRuleConditionsSubconditionArrayOutput
	ToRulesetRuleConditionsSubconditionArrayOutputWithContext(context.Context) RulesetRuleConditionsSubconditionArrayOutput
}

RulesetRuleConditionsSubconditionArrayInput is an input type that accepts RulesetRuleConditionsSubconditionArray and RulesetRuleConditionsSubconditionArrayOutput values. You can construct a concrete instance of `RulesetRuleConditionsSubconditionArrayInput` via:

RulesetRuleConditionsSubconditionArray{ RulesetRuleConditionsSubconditionArgs{...} }

type RulesetRuleConditionsSubconditionArrayOutput

type RulesetRuleConditionsSubconditionArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleConditionsSubconditionArrayOutput) ElementType

func (RulesetRuleConditionsSubconditionArrayOutput) Index

func (RulesetRuleConditionsSubconditionArrayOutput) ToRulesetRuleConditionsSubconditionArrayOutput

func (o RulesetRuleConditionsSubconditionArrayOutput) ToRulesetRuleConditionsSubconditionArrayOutput() RulesetRuleConditionsSubconditionArrayOutput

func (RulesetRuleConditionsSubconditionArrayOutput) ToRulesetRuleConditionsSubconditionArrayOutputWithContext

func (o RulesetRuleConditionsSubconditionArrayOutput) ToRulesetRuleConditionsSubconditionArrayOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionArrayOutput

type RulesetRuleConditionsSubconditionInput

type RulesetRuleConditionsSubconditionInput interface {
	pulumi.Input

	ToRulesetRuleConditionsSubconditionOutput() RulesetRuleConditionsSubconditionOutput
	ToRulesetRuleConditionsSubconditionOutputWithContext(context.Context) RulesetRuleConditionsSubconditionOutput
}

RulesetRuleConditionsSubconditionInput is an input type that accepts RulesetRuleConditionsSubconditionArgs and RulesetRuleConditionsSubconditionOutput values. You can construct a concrete instance of `RulesetRuleConditionsSubconditionInput` via:

RulesetRuleConditionsSubconditionArgs{...}

type RulesetRuleConditionsSubconditionOutput

type RulesetRuleConditionsSubconditionOutput struct{ *pulumi.OutputState }

func (RulesetRuleConditionsSubconditionOutput) ElementType

func (RulesetRuleConditionsSubconditionOutput) Operator

Type of operator to apply to the sub-condition. Can be `exists`,`nexists`,`equals`,`nequals`,`contains`,`ncontains`,`matches`, or `nmatches`.

func (RulesetRuleConditionsSubconditionOutput) Parameters

Parameter for the sub-condition. It requires both a `path` and `value` to be set.

func (RulesetRuleConditionsSubconditionOutput) ToRulesetRuleConditionsSubconditionOutput

func (o RulesetRuleConditionsSubconditionOutput) ToRulesetRuleConditionsSubconditionOutput() RulesetRuleConditionsSubconditionOutput

func (RulesetRuleConditionsSubconditionOutput) ToRulesetRuleConditionsSubconditionOutputWithContext

func (o RulesetRuleConditionsSubconditionOutput) ToRulesetRuleConditionsSubconditionOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionOutput

type RulesetRuleConditionsSubconditionParameter

type RulesetRuleConditionsSubconditionParameter struct {
	Path *string `pulumi:"path"`
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value *string `pulumi:"value"`
}

type RulesetRuleConditionsSubconditionParameterArgs

type RulesetRuleConditionsSubconditionParameterArgs struct {
	Path pulumi.StringPtrInput `pulumi:"path"`
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (RulesetRuleConditionsSubconditionParameterArgs) ElementType

func (RulesetRuleConditionsSubconditionParameterArgs) ToRulesetRuleConditionsSubconditionParameterOutput

func (i RulesetRuleConditionsSubconditionParameterArgs) ToRulesetRuleConditionsSubconditionParameterOutput() RulesetRuleConditionsSubconditionParameterOutput

func (RulesetRuleConditionsSubconditionParameterArgs) ToRulesetRuleConditionsSubconditionParameterOutputWithContext

func (i RulesetRuleConditionsSubconditionParameterArgs) ToRulesetRuleConditionsSubconditionParameterOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionParameterOutput

type RulesetRuleConditionsSubconditionParameterArray

type RulesetRuleConditionsSubconditionParameterArray []RulesetRuleConditionsSubconditionParameterInput

func (RulesetRuleConditionsSubconditionParameterArray) ElementType

func (RulesetRuleConditionsSubconditionParameterArray) ToRulesetRuleConditionsSubconditionParameterArrayOutput

func (i RulesetRuleConditionsSubconditionParameterArray) ToRulesetRuleConditionsSubconditionParameterArrayOutput() RulesetRuleConditionsSubconditionParameterArrayOutput

func (RulesetRuleConditionsSubconditionParameterArray) ToRulesetRuleConditionsSubconditionParameterArrayOutputWithContext

func (i RulesetRuleConditionsSubconditionParameterArray) ToRulesetRuleConditionsSubconditionParameterArrayOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionParameterArrayOutput

type RulesetRuleConditionsSubconditionParameterArrayInput

type RulesetRuleConditionsSubconditionParameterArrayInput interface {
	pulumi.Input

	ToRulesetRuleConditionsSubconditionParameterArrayOutput() RulesetRuleConditionsSubconditionParameterArrayOutput
	ToRulesetRuleConditionsSubconditionParameterArrayOutputWithContext(context.Context) RulesetRuleConditionsSubconditionParameterArrayOutput
}

RulesetRuleConditionsSubconditionParameterArrayInput is an input type that accepts RulesetRuleConditionsSubconditionParameterArray and RulesetRuleConditionsSubconditionParameterArrayOutput values. You can construct a concrete instance of `RulesetRuleConditionsSubconditionParameterArrayInput` via:

RulesetRuleConditionsSubconditionParameterArray{ RulesetRuleConditionsSubconditionParameterArgs{...} }

type RulesetRuleConditionsSubconditionParameterArrayOutput

type RulesetRuleConditionsSubconditionParameterArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleConditionsSubconditionParameterArrayOutput) ElementType

func (RulesetRuleConditionsSubconditionParameterArrayOutput) Index

func (RulesetRuleConditionsSubconditionParameterArrayOutput) ToRulesetRuleConditionsSubconditionParameterArrayOutput

func (RulesetRuleConditionsSubconditionParameterArrayOutput) ToRulesetRuleConditionsSubconditionParameterArrayOutputWithContext

func (o RulesetRuleConditionsSubconditionParameterArrayOutput) ToRulesetRuleConditionsSubconditionParameterArrayOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionParameterArrayOutput

type RulesetRuleConditionsSubconditionParameterInput

type RulesetRuleConditionsSubconditionParameterInput interface {
	pulumi.Input

	ToRulesetRuleConditionsSubconditionParameterOutput() RulesetRuleConditionsSubconditionParameterOutput
	ToRulesetRuleConditionsSubconditionParameterOutputWithContext(context.Context) RulesetRuleConditionsSubconditionParameterOutput
}

RulesetRuleConditionsSubconditionParameterInput is an input type that accepts RulesetRuleConditionsSubconditionParameterArgs and RulesetRuleConditionsSubconditionParameterOutput values. You can construct a concrete instance of `RulesetRuleConditionsSubconditionParameterInput` via:

RulesetRuleConditionsSubconditionParameterArgs{...}

type RulesetRuleConditionsSubconditionParameterOutput

type RulesetRuleConditionsSubconditionParameterOutput struct{ *pulumi.OutputState }

func (RulesetRuleConditionsSubconditionParameterOutput) ElementType

func (RulesetRuleConditionsSubconditionParameterOutput) Path

func (RulesetRuleConditionsSubconditionParameterOutput) ToRulesetRuleConditionsSubconditionParameterOutput

func (o RulesetRuleConditionsSubconditionParameterOutput) ToRulesetRuleConditionsSubconditionParameterOutput() RulesetRuleConditionsSubconditionParameterOutput

func (RulesetRuleConditionsSubconditionParameterOutput) ToRulesetRuleConditionsSubconditionParameterOutputWithContext

func (o RulesetRuleConditionsSubconditionParameterOutput) ToRulesetRuleConditionsSubconditionParameterOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionParameterOutput

func (RulesetRuleConditionsSubconditionParameterOutput) Value

Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.

type RulesetRuleInput

type RulesetRuleInput interface {
	pulumi.Input

	ToRulesetRuleOutput() RulesetRuleOutput
	ToRulesetRuleOutputWithContext(ctx context.Context) RulesetRuleOutput
}

type RulesetRuleMap

type RulesetRuleMap map[string]RulesetRuleInput

func (RulesetRuleMap) ElementType

func (RulesetRuleMap) ElementType() reflect.Type

func (RulesetRuleMap) ToRulesetRuleMapOutput

func (i RulesetRuleMap) ToRulesetRuleMapOutput() RulesetRuleMapOutput

func (RulesetRuleMap) ToRulesetRuleMapOutputWithContext

func (i RulesetRuleMap) ToRulesetRuleMapOutputWithContext(ctx context.Context) RulesetRuleMapOutput

type RulesetRuleMapInput

type RulesetRuleMapInput interface {
	pulumi.Input

	ToRulesetRuleMapOutput() RulesetRuleMapOutput
	ToRulesetRuleMapOutputWithContext(context.Context) RulesetRuleMapOutput
}

RulesetRuleMapInput is an input type that accepts RulesetRuleMap and RulesetRuleMapOutput values. You can construct a concrete instance of `RulesetRuleMapInput` via:

RulesetRuleMap{ "key": RulesetRuleArgs{...} }

type RulesetRuleMapOutput

type RulesetRuleMapOutput struct{ *pulumi.OutputState }

func (RulesetRuleMapOutput) ElementType

func (RulesetRuleMapOutput) ElementType() reflect.Type

func (RulesetRuleMapOutput) MapIndex

func (RulesetRuleMapOutput) ToRulesetRuleMapOutput

func (o RulesetRuleMapOutput) ToRulesetRuleMapOutput() RulesetRuleMapOutput

func (RulesetRuleMapOutput) ToRulesetRuleMapOutputWithContext

func (o RulesetRuleMapOutput) ToRulesetRuleMapOutputWithContext(ctx context.Context) RulesetRuleMapOutput

type RulesetRuleOutput

type RulesetRuleOutput struct{ *pulumi.OutputState }

func (RulesetRuleOutput) Actions added in v3.5.1

Actions to apply to an event if the conditions match.

func (RulesetRuleOutput) CatchAll added in v3.5.1

func (o RulesetRuleOutput) CatchAll() pulumi.BoolPtrOutput

Indicates whether the Event Rule is the last Event Rule of the Ruleset that serves as a catch-all. It has limited functionality compared to other rules and always matches.

func (RulesetRuleOutput) Conditions added in v3.5.1

Conditions evaluated to check if an event matches this event rule. Is always empty for the catch-all rule, though.

func (RulesetRuleOutput) Disabled added in v3.5.1

func (o RulesetRuleOutput) Disabled() pulumi.BoolPtrOutput

Indicates whether the rule is disabled and would therefore not be evaluated.

func (RulesetRuleOutput) ElementType

func (RulesetRuleOutput) ElementType() reflect.Type

func (RulesetRuleOutput) Position added in v3.5.1

func (o RulesetRuleOutput) Position() pulumi.IntPtrOutput

Position/index of the rule within the ruleset.

func (RulesetRuleOutput) Ruleset added in v3.5.1

The ID of the ruleset that the rule belongs to.

func (RulesetRuleOutput) TimeFrame added in v3.5.1

Settings for [scheduling the rule](https://support.pagerduty.com/docs/rulesets#section-scheduled-event-rules).

func (RulesetRuleOutput) ToRulesetRuleOutput

func (o RulesetRuleOutput) ToRulesetRuleOutput() RulesetRuleOutput

func (RulesetRuleOutput) ToRulesetRuleOutputWithContext

func (o RulesetRuleOutput) ToRulesetRuleOutputWithContext(ctx context.Context) RulesetRuleOutput

func (RulesetRuleOutput) Variables added in v3.5.1

Populate variables from event payloads and use those variables in other event actions. *NOTE: A rule can have multiple `variable` objects.*

type RulesetRuleState

type RulesetRuleState struct {
	// Actions to apply to an event if the conditions match.
	Actions RulesetRuleActionsPtrInput
	// Indicates whether the Event Rule is the last Event Rule of the Ruleset that serves as a catch-all. It has limited functionality compared to other rules and always matches.
	CatchAll pulumi.BoolPtrInput
	// Conditions evaluated to check if an event matches this event rule. Is always empty for the catch-all rule, though.
	Conditions RulesetRuleConditionsPtrInput
	// Indicates whether the rule is disabled and would therefore not be evaluated.
	Disabled pulumi.BoolPtrInput
	// Position/index of the rule within the ruleset.
	Position pulumi.IntPtrInput
	// The ID of the ruleset that the rule belongs to.
	Ruleset pulumi.StringPtrInput
	// Settings for [scheduling the rule](https://support.pagerduty.com/docs/rulesets#section-scheduled-event-rules).
	TimeFrame RulesetRuleTimeFramePtrInput
	// Populate variables from event payloads and use those variables in other event actions. *NOTE: A rule can have multiple `variable` objects.*
	Variables RulesetRuleVariableArrayInput
}

func (RulesetRuleState) ElementType

func (RulesetRuleState) ElementType() reflect.Type

type RulesetRuleTimeFrame

type RulesetRuleTimeFrame struct {
	// Values for executing the rule during a specific time period.
	ActiveBetweens []RulesetRuleTimeFrameActiveBetween `pulumi:"activeBetweens"`
	// Values for executing the rule on a recurring schedule.
	ScheduledWeeklies []RulesetRuleTimeFrameScheduledWeekly `pulumi:"scheduledWeeklies"`
}

type RulesetRuleTimeFrameActiveBetween

type RulesetRuleTimeFrameActiveBetween struct {
	EndTime *int `pulumi:"endTime"`
	// A Unix timestamp in milliseconds which is combined with the `timezone` to determine the time this rule will start on each specified `weekday`. Note that the _date_ of the timestamp you specify does **not** matter, except that it lets you determine whether daylight saving time is in effect so that you use the correct UTC offset for the timezone you specify. In practice, you may want to use the `timeStatic` resource to generate this value, as demonstrated in the `resource.pagerduty_ruleset_rule.foo` code example at the top of this page. To generate this timestamp manually, if you want your rule to apply starting at 9:30am in the `America/New_York` timezone, use your programing language of choice to determine a Unix timestamp that represents 9:30am in that timezone, like [1554989400000](https://www.epochconverter.com/timezones?q=1554989400000&tz=America%2FNew_York).
	StartTime *int `pulumi:"startTime"`
}

type RulesetRuleTimeFrameActiveBetweenArgs

type RulesetRuleTimeFrameActiveBetweenArgs struct {
	EndTime pulumi.IntPtrInput `pulumi:"endTime"`
	// A Unix timestamp in milliseconds which is combined with the `timezone` to determine the time this rule will start on each specified `weekday`. Note that the _date_ of the timestamp you specify does **not** matter, except that it lets you determine whether daylight saving time is in effect so that you use the correct UTC offset for the timezone you specify. In practice, you may want to use the `timeStatic` resource to generate this value, as demonstrated in the `resource.pagerduty_ruleset_rule.foo` code example at the top of this page. To generate this timestamp manually, if you want your rule to apply starting at 9:30am in the `America/New_York` timezone, use your programing language of choice to determine a Unix timestamp that represents 9:30am in that timezone, like [1554989400000](https://www.epochconverter.com/timezones?q=1554989400000&tz=America%2FNew_York).
	StartTime pulumi.IntPtrInput `pulumi:"startTime"`
}

func (RulesetRuleTimeFrameActiveBetweenArgs) ElementType

func (RulesetRuleTimeFrameActiveBetweenArgs) ToRulesetRuleTimeFrameActiveBetweenOutput

func (i RulesetRuleTimeFrameActiveBetweenArgs) ToRulesetRuleTimeFrameActiveBetweenOutput() RulesetRuleTimeFrameActiveBetweenOutput

func (RulesetRuleTimeFrameActiveBetweenArgs) ToRulesetRuleTimeFrameActiveBetweenOutputWithContext

func (i RulesetRuleTimeFrameActiveBetweenArgs) ToRulesetRuleTimeFrameActiveBetweenOutputWithContext(ctx context.Context) RulesetRuleTimeFrameActiveBetweenOutput

type RulesetRuleTimeFrameActiveBetweenArray

type RulesetRuleTimeFrameActiveBetweenArray []RulesetRuleTimeFrameActiveBetweenInput

func (RulesetRuleTimeFrameActiveBetweenArray) ElementType

func (RulesetRuleTimeFrameActiveBetweenArray) ToRulesetRuleTimeFrameActiveBetweenArrayOutput

func (i RulesetRuleTimeFrameActiveBetweenArray) ToRulesetRuleTimeFrameActiveBetweenArrayOutput() RulesetRuleTimeFrameActiveBetweenArrayOutput

func (RulesetRuleTimeFrameActiveBetweenArray) ToRulesetRuleTimeFrameActiveBetweenArrayOutputWithContext

func (i RulesetRuleTimeFrameActiveBetweenArray) ToRulesetRuleTimeFrameActiveBetweenArrayOutputWithContext(ctx context.Context) RulesetRuleTimeFrameActiveBetweenArrayOutput

type RulesetRuleTimeFrameActiveBetweenArrayInput

type RulesetRuleTimeFrameActiveBetweenArrayInput interface {
	pulumi.Input

	ToRulesetRuleTimeFrameActiveBetweenArrayOutput() RulesetRuleTimeFrameActiveBetweenArrayOutput
	ToRulesetRuleTimeFrameActiveBetweenArrayOutputWithContext(context.Context) RulesetRuleTimeFrameActiveBetweenArrayOutput
}

RulesetRuleTimeFrameActiveBetweenArrayInput is an input type that accepts RulesetRuleTimeFrameActiveBetweenArray and RulesetRuleTimeFrameActiveBetweenArrayOutput values. You can construct a concrete instance of `RulesetRuleTimeFrameActiveBetweenArrayInput` via:

RulesetRuleTimeFrameActiveBetweenArray{ RulesetRuleTimeFrameActiveBetweenArgs{...} }

type RulesetRuleTimeFrameActiveBetweenArrayOutput

type RulesetRuleTimeFrameActiveBetweenArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleTimeFrameActiveBetweenArrayOutput) ElementType

func (RulesetRuleTimeFrameActiveBetweenArrayOutput) Index

func (RulesetRuleTimeFrameActiveBetweenArrayOutput) ToRulesetRuleTimeFrameActiveBetweenArrayOutput

func (o RulesetRuleTimeFrameActiveBetweenArrayOutput) ToRulesetRuleTimeFrameActiveBetweenArrayOutput() RulesetRuleTimeFrameActiveBetweenArrayOutput

func (RulesetRuleTimeFrameActiveBetweenArrayOutput) ToRulesetRuleTimeFrameActiveBetweenArrayOutputWithContext

func (o RulesetRuleTimeFrameActiveBetweenArrayOutput) ToRulesetRuleTimeFrameActiveBetweenArrayOutputWithContext(ctx context.Context) RulesetRuleTimeFrameActiveBetweenArrayOutput

type RulesetRuleTimeFrameActiveBetweenInput

type RulesetRuleTimeFrameActiveBetweenInput interface {
	pulumi.Input

	ToRulesetRuleTimeFrameActiveBetweenOutput() RulesetRuleTimeFrameActiveBetweenOutput
	ToRulesetRuleTimeFrameActiveBetweenOutputWithContext(context.Context) RulesetRuleTimeFrameActiveBetweenOutput
}

RulesetRuleTimeFrameActiveBetweenInput is an input type that accepts RulesetRuleTimeFrameActiveBetweenArgs and RulesetRuleTimeFrameActiveBetweenOutput values. You can construct a concrete instance of `RulesetRuleTimeFrameActiveBetweenInput` via:

RulesetRuleTimeFrameActiveBetweenArgs{...}

type RulesetRuleTimeFrameActiveBetweenOutput

type RulesetRuleTimeFrameActiveBetweenOutput struct{ *pulumi.OutputState }

func (RulesetRuleTimeFrameActiveBetweenOutput) ElementType

func (RulesetRuleTimeFrameActiveBetweenOutput) EndTime

func (RulesetRuleTimeFrameActiveBetweenOutput) StartTime

A Unix timestamp in milliseconds which is combined with the `timezone` to determine the time this rule will start on each specified `weekday`. Note that the _date_ of the timestamp you specify does **not** matter, except that it lets you determine whether daylight saving time is in effect so that you use the correct UTC offset for the timezone you specify. In practice, you may want to use the `timeStatic` resource to generate this value, as demonstrated in the `resource.pagerduty_ruleset_rule.foo` code example at the top of this page. To generate this timestamp manually, if you want your rule to apply starting at 9:30am in the `America/New_York` timezone, use your programing language of choice to determine a Unix timestamp that represents 9:30am in that timezone, like [1554989400000](https://www.epochconverter.com/timezones?q=1554989400000&tz=America%2FNew_York).

func (RulesetRuleTimeFrameActiveBetweenOutput) ToRulesetRuleTimeFrameActiveBetweenOutput

func (o RulesetRuleTimeFrameActiveBetweenOutput) ToRulesetRuleTimeFrameActiveBetweenOutput() RulesetRuleTimeFrameActiveBetweenOutput

func (RulesetRuleTimeFrameActiveBetweenOutput) ToRulesetRuleTimeFrameActiveBetweenOutputWithContext

func (o RulesetRuleTimeFrameActiveBetweenOutput) ToRulesetRuleTimeFrameActiveBetweenOutputWithContext(ctx context.Context) RulesetRuleTimeFrameActiveBetweenOutput

type RulesetRuleTimeFrameArgs

type RulesetRuleTimeFrameArgs struct {
	// Values for executing the rule during a specific time period.
	ActiveBetweens RulesetRuleTimeFrameActiveBetweenArrayInput `pulumi:"activeBetweens"`
	// Values for executing the rule on a recurring schedule.
	ScheduledWeeklies RulesetRuleTimeFrameScheduledWeeklyArrayInput `pulumi:"scheduledWeeklies"`
}

func (RulesetRuleTimeFrameArgs) ElementType

func (RulesetRuleTimeFrameArgs) ElementType() reflect.Type

func (RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFrameOutput

func (i RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFrameOutput() RulesetRuleTimeFrameOutput

func (RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFrameOutputWithContext

func (i RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFrameOutputWithContext(ctx context.Context) RulesetRuleTimeFrameOutput

func (RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFramePtrOutput

func (i RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFramePtrOutput() RulesetRuleTimeFramePtrOutput

func (RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFramePtrOutputWithContext

func (i RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFramePtrOutputWithContext(ctx context.Context) RulesetRuleTimeFramePtrOutput

type RulesetRuleTimeFrameInput

type RulesetRuleTimeFrameInput interface {
	pulumi.Input

	ToRulesetRuleTimeFrameOutput() RulesetRuleTimeFrameOutput
	ToRulesetRuleTimeFrameOutputWithContext(context.Context) RulesetRuleTimeFrameOutput
}

RulesetRuleTimeFrameInput is an input type that accepts RulesetRuleTimeFrameArgs and RulesetRuleTimeFrameOutput values. You can construct a concrete instance of `RulesetRuleTimeFrameInput` via:

RulesetRuleTimeFrameArgs{...}

type RulesetRuleTimeFrameOutput

type RulesetRuleTimeFrameOutput struct{ *pulumi.OutputState }

func (RulesetRuleTimeFrameOutput) ActiveBetweens

Values for executing the rule during a specific time period.

func (RulesetRuleTimeFrameOutput) ElementType

func (RulesetRuleTimeFrameOutput) ElementType() reflect.Type

func (RulesetRuleTimeFrameOutput) ScheduledWeeklies

Values for executing the rule on a recurring schedule.

func (RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFrameOutput

func (o RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFrameOutput() RulesetRuleTimeFrameOutput

func (RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFrameOutputWithContext

func (o RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFrameOutputWithContext(ctx context.Context) RulesetRuleTimeFrameOutput

func (RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFramePtrOutput

func (o RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFramePtrOutput() RulesetRuleTimeFramePtrOutput

func (RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFramePtrOutputWithContext

func (o RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFramePtrOutputWithContext(ctx context.Context) RulesetRuleTimeFramePtrOutput

type RulesetRuleTimeFramePtrInput

type RulesetRuleTimeFramePtrInput interface {
	pulumi.Input

	ToRulesetRuleTimeFramePtrOutput() RulesetRuleTimeFramePtrOutput
	ToRulesetRuleTimeFramePtrOutputWithContext(context.Context) RulesetRuleTimeFramePtrOutput
}

RulesetRuleTimeFramePtrInput is an input type that accepts RulesetRuleTimeFrameArgs, RulesetRuleTimeFramePtr and RulesetRuleTimeFramePtrOutput values. You can construct a concrete instance of `RulesetRuleTimeFramePtrInput` via:

        RulesetRuleTimeFrameArgs{...}

or:

        nil

type RulesetRuleTimeFramePtrOutput

type RulesetRuleTimeFramePtrOutput struct{ *pulumi.OutputState }

func (RulesetRuleTimeFramePtrOutput) ActiveBetweens

Values for executing the rule during a specific time period.

func (RulesetRuleTimeFramePtrOutput) Elem

func (RulesetRuleTimeFramePtrOutput) ElementType

func (RulesetRuleTimeFramePtrOutput) ScheduledWeeklies

Values for executing the rule on a recurring schedule.

func (RulesetRuleTimeFramePtrOutput) ToRulesetRuleTimeFramePtrOutput

func (o RulesetRuleTimeFramePtrOutput) ToRulesetRuleTimeFramePtrOutput() RulesetRuleTimeFramePtrOutput

func (RulesetRuleTimeFramePtrOutput) ToRulesetRuleTimeFramePtrOutputWithContext

func (o RulesetRuleTimeFramePtrOutput) ToRulesetRuleTimeFramePtrOutputWithContext(ctx context.Context) RulesetRuleTimeFramePtrOutput

type RulesetRuleTimeFrameScheduledWeekly

type RulesetRuleTimeFrameScheduledWeekly struct {
	// Length of time the schedule will be active in milliseconds. For example `duration = 2 * 60 * 60 * 1000` if you want your rule to apply for 2 hours, from the specified `startTime`.
	Duration *int `pulumi:"duration"`
	// A Unix timestamp in milliseconds which is combined with the `timezone` to determine the time this rule will start on each specified `weekday`. Note that the _date_ of the timestamp you specify does **not** matter, except that it lets you determine whether daylight saving time is in effect so that you use the correct UTC offset for the timezone you specify. In practice, you may want to use the `timeStatic` resource to generate this value, as demonstrated in the `resource.pagerduty_ruleset_rule.foo` code example at the top of this page. To generate this timestamp manually, if you want your rule to apply starting at 9:30am in the `America/New_York` timezone, use your programing language of choice to determine a Unix timestamp that represents 9:30am in that timezone, like [1554989400000](https://www.epochconverter.com/timezones?q=1554989400000&tz=America%2FNew_York).
	StartTime *int `pulumi:"startTime"`
	// [The name of the timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for the given schedule, which will be used to determine UTC offset including adjustment for daylight saving time. For example: `timezone = "America/Toronto"`
	Timezone *string `pulumi:"timezone"`
	// An integer array representing which days during the week the rule executes. For example `weekdays = [1,3,7]` would execute on Monday, Wednesday and Sunday.
	Weekdays []int `pulumi:"weekdays"`
}

type RulesetRuleTimeFrameScheduledWeeklyArgs

type RulesetRuleTimeFrameScheduledWeeklyArgs struct {
	// Length of time the schedule will be active in milliseconds. For example `duration = 2 * 60 * 60 * 1000` if you want your rule to apply for 2 hours, from the specified `startTime`.
	Duration pulumi.IntPtrInput `pulumi:"duration"`
	// A Unix timestamp in milliseconds which is combined with the `timezone` to determine the time this rule will start on each specified `weekday`. Note that the _date_ of the timestamp you specify does **not** matter, except that it lets you determine whether daylight saving time is in effect so that you use the correct UTC offset for the timezone you specify. In practice, you may want to use the `timeStatic` resource to generate this value, as demonstrated in the `resource.pagerduty_ruleset_rule.foo` code example at the top of this page. To generate this timestamp manually, if you want your rule to apply starting at 9:30am in the `America/New_York` timezone, use your programing language of choice to determine a Unix timestamp that represents 9:30am in that timezone, like [1554989400000](https://www.epochconverter.com/timezones?q=1554989400000&tz=America%2FNew_York).
	StartTime pulumi.IntPtrInput `pulumi:"startTime"`
	// [The name of the timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for the given schedule, which will be used to determine UTC offset including adjustment for daylight saving time. For example: `timezone = "America/Toronto"`
	Timezone pulumi.StringPtrInput `pulumi:"timezone"`
	// An integer array representing which days during the week the rule executes. For example `weekdays = [1,3,7]` would execute on Monday, Wednesday and Sunday.
	Weekdays pulumi.IntArrayInput `pulumi:"weekdays"`
}

func (RulesetRuleTimeFrameScheduledWeeklyArgs) ElementType

func (RulesetRuleTimeFrameScheduledWeeklyArgs) ToRulesetRuleTimeFrameScheduledWeeklyOutput

func (i RulesetRuleTimeFrameScheduledWeeklyArgs) ToRulesetRuleTimeFrameScheduledWeeklyOutput() RulesetRuleTimeFrameScheduledWeeklyOutput

func (RulesetRuleTimeFrameScheduledWeeklyArgs) ToRulesetRuleTimeFrameScheduledWeeklyOutputWithContext

func (i RulesetRuleTimeFrameScheduledWeeklyArgs) ToRulesetRuleTimeFrameScheduledWeeklyOutputWithContext(ctx context.Context) RulesetRuleTimeFrameScheduledWeeklyOutput

type RulesetRuleTimeFrameScheduledWeeklyArray

type RulesetRuleTimeFrameScheduledWeeklyArray []RulesetRuleTimeFrameScheduledWeeklyInput

func (RulesetRuleTimeFrameScheduledWeeklyArray) ElementType

func (RulesetRuleTimeFrameScheduledWeeklyArray) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutput

func (i RulesetRuleTimeFrameScheduledWeeklyArray) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutput() RulesetRuleTimeFrameScheduledWeeklyArrayOutput

func (RulesetRuleTimeFrameScheduledWeeklyArray) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutputWithContext

func (i RulesetRuleTimeFrameScheduledWeeklyArray) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutputWithContext(ctx context.Context) RulesetRuleTimeFrameScheduledWeeklyArrayOutput

type RulesetRuleTimeFrameScheduledWeeklyArrayInput

type RulesetRuleTimeFrameScheduledWeeklyArrayInput interface {
	pulumi.Input

	ToRulesetRuleTimeFrameScheduledWeeklyArrayOutput() RulesetRuleTimeFrameScheduledWeeklyArrayOutput
	ToRulesetRuleTimeFrameScheduledWeeklyArrayOutputWithContext(context.Context) RulesetRuleTimeFrameScheduledWeeklyArrayOutput
}

RulesetRuleTimeFrameScheduledWeeklyArrayInput is an input type that accepts RulesetRuleTimeFrameScheduledWeeklyArray and RulesetRuleTimeFrameScheduledWeeklyArrayOutput values. You can construct a concrete instance of `RulesetRuleTimeFrameScheduledWeeklyArrayInput` via:

RulesetRuleTimeFrameScheduledWeeklyArray{ RulesetRuleTimeFrameScheduledWeeklyArgs{...} }

type RulesetRuleTimeFrameScheduledWeeklyArrayOutput

type RulesetRuleTimeFrameScheduledWeeklyArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleTimeFrameScheduledWeeklyArrayOutput) ElementType

func (RulesetRuleTimeFrameScheduledWeeklyArrayOutput) Index

func (RulesetRuleTimeFrameScheduledWeeklyArrayOutput) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutput

func (o RulesetRuleTimeFrameScheduledWeeklyArrayOutput) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutput() RulesetRuleTimeFrameScheduledWeeklyArrayOutput

func (RulesetRuleTimeFrameScheduledWeeklyArrayOutput) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutputWithContext

func (o RulesetRuleTimeFrameScheduledWeeklyArrayOutput) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutputWithContext(ctx context.Context) RulesetRuleTimeFrameScheduledWeeklyArrayOutput

type RulesetRuleTimeFrameScheduledWeeklyInput

type RulesetRuleTimeFrameScheduledWeeklyInput interface {
	pulumi.Input

	ToRulesetRuleTimeFrameScheduledWeeklyOutput() RulesetRuleTimeFrameScheduledWeeklyOutput
	ToRulesetRuleTimeFrameScheduledWeeklyOutputWithContext(context.Context) RulesetRuleTimeFrameScheduledWeeklyOutput
}

RulesetRuleTimeFrameScheduledWeeklyInput is an input type that accepts RulesetRuleTimeFrameScheduledWeeklyArgs and RulesetRuleTimeFrameScheduledWeeklyOutput values. You can construct a concrete instance of `RulesetRuleTimeFrameScheduledWeeklyInput` via:

RulesetRuleTimeFrameScheduledWeeklyArgs{...}

type RulesetRuleTimeFrameScheduledWeeklyOutput

type RulesetRuleTimeFrameScheduledWeeklyOutput struct{ *pulumi.OutputState }

func (RulesetRuleTimeFrameScheduledWeeklyOutput) Duration

Length of time the schedule will be active in milliseconds. For example `duration = 2 * 60 * 60 * 1000` if you want your rule to apply for 2 hours, from the specified `startTime`.

func (RulesetRuleTimeFrameScheduledWeeklyOutput) ElementType

func (RulesetRuleTimeFrameScheduledWeeklyOutput) StartTime

A Unix timestamp in milliseconds which is combined with the `timezone` to determine the time this rule will start on each specified `weekday`. Note that the _date_ of the timestamp you specify does **not** matter, except that it lets you determine whether daylight saving time is in effect so that you use the correct UTC offset for the timezone you specify. In practice, you may want to use the `timeStatic` resource to generate this value, as demonstrated in the `resource.pagerduty_ruleset_rule.foo` code example at the top of this page. To generate this timestamp manually, if you want your rule to apply starting at 9:30am in the `America/New_York` timezone, use your programing language of choice to determine a Unix timestamp that represents 9:30am in that timezone, like [1554989400000](https://www.epochconverter.com/timezones?q=1554989400000&tz=America%2FNew_York).

func (RulesetRuleTimeFrameScheduledWeeklyOutput) Timezone

[The name of the timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for the given schedule, which will be used to determine UTC offset including adjustment for daylight saving time. For example: `timezone = "America/Toronto"`

func (RulesetRuleTimeFrameScheduledWeeklyOutput) ToRulesetRuleTimeFrameScheduledWeeklyOutput

func (o RulesetRuleTimeFrameScheduledWeeklyOutput) ToRulesetRuleTimeFrameScheduledWeeklyOutput() RulesetRuleTimeFrameScheduledWeeklyOutput

func (RulesetRuleTimeFrameScheduledWeeklyOutput) ToRulesetRuleTimeFrameScheduledWeeklyOutputWithContext

func (o RulesetRuleTimeFrameScheduledWeeklyOutput) ToRulesetRuleTimeFrameScheduledWeeklyOutputWithContext(ctx context.Context) RulesetRuleTimeFrameScheduledWeeklyOutput

func (RulesetRuleTimeFrameScheduledWeeklyOutput) Weekdays

An integer array representing which days during the week the rule executes. For example `weekdays = [1,3,7]` would execute on Monday, Wednesday and Sunday.

type RulesetRuleVariable

type RulesetRuleVariable struct {
	Name       *string                        `pulumi:"name"`
	Parameters []RulesetRuleVariableParameter `pulumi:"parameters"`
	Type       *string                        `pulumi:"type"`
}

type RulesetRuleVariableArgs

type RulesetRuleVariableArgs struct {
	Name       pulumi.StringPtrInput                  `pulumi:"name"`
	Parameters RulesetRuleVariableParameterArrayInput `pulumi:"parameters"`
	Type       pulumi.StringPtrInput                  `pulumi:"type"`
}

func (RulesetRuleVariableArgs) ElementType

func (RulesetRuleVariableArgs) ElementType() reflect.Type

func (RulesetRuleVariableArgs) ToRulesetRuleVariableOutput

func (i RulesetRuleVariableArgs) ToRulesetRuleVariableOutput() RulesetRuleVariableOutput

func (RulesetRuleVariableArgs) ToRulesetRuleVariableOutputWithContext

func (i RulesetRuleVariableArgs) ToRulesetRuleVariableOutputWithContext(ctx context.Context) RulesetRuleVariableOutput

type RulesetRuleVariableArray

type RulesetRuleVariableArray []RulesetRuleVariableInput

func (RulesetRuleVariableArray) ElementType

func (RulesetRuleVariableArray) ElementType() reflect.Type

func (RulesetRuleVariableArray) ToRulesetRuleVariableArrayOutput

func (i RulesetRuleVariableArray) ToRulesetRuleVariableArrayOutput() RulesetRuleVariableArrayOutput

func (RulesetRuleVariableArray) ToRulesetRuleVariableArrayOutputWithContext

func (i RulesetRuleVariableArray) ToRulesetRuleVariableArrayOutputWithContext(ctx context.Context) RulesetRuleVariableArrayOutput

type RulesetRuleVariableArrayInput

type RulesetRuleVariableArrayInput interface {
	pulumi.Input

	ToRulesetRuleVariableArrayOutput() RulesetRuleVariableArrayOutput
	ToRulesetRuleVariableArrayOutputWithContext(context.Context) RulesetRuleVariableArrayOutput
}

RulesetRuleVariableArrayInput is an input type that accepts RulesetRuleVariableArray and RulesetRuleVariableArrayOutput values. You can construct a concrete instance of `RulesetRuleVariableArrayInput` via:

RulesetRuleVariableArray{ RulesetRuleVariableArgs{...} }

type RulesetRuleVariableArrayOutput

type RulesetRuleVariableArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleVariableArrayOutput) ElementType

func (RulesetRuleVariableArrayOutput) Index

func (RulesetRuleVariableArrayOutput) ToRulesetRuleVariableArrayOutput

func (o RulesetRuleVariableArrayOutput) ToRulesetRuleVariableArrayOutput() RulesetRuleVariableArrayOutput

func (RulesetRuleVariableArrayOutput) ToRulesetRuleVariableArrayOutputWithContext

func (o RulesetRuleVariableArrayOutput) ToRulesetRuleVariableArrayOutputWithContext(ctx context.Context) RulesetRuleVariableArrayOutput

type RulesetRuleVariableInput

type RulesetRuleVariableInput interface {
	pulumi.Input

	ToRulesetRuleVariableOutput() RulesetRuleVariableOutput
	ToRulesetRuleVariableOutputWithContext(context.Context) RulesetRuleVariableOutput
}

RulesetRuleVariableInput is an input type that accepts RulesetRuleVariableArgs and RulesetRuleVariableOutput values. You can construct a concrete instance of `RulesetRuleVariableInput` via:

RulesetRuleVariableArgs{...}

type RulesetRuleVariableOutput

type RulesetRuleVariableOutput struct{ *pulumi.OutputState }

func (RulesetRuleVariableOutput) ElementType

func (RulesetRuleVariableOutput) ElementType() reflect.Type

func (RulesetRuleVariableOutput) Name

func (RulesetRuleVariableOutput) Parameters

func (RulesetRuleVariableOutput) ToRulesetRuleVariableOutput

func (o RulesetRuleVariableOutput) ToRulesetRuleVariableOutput() RulesetRuleVariableOutput

func (RulesetRuleVariableOutput) ToRulesetRuleVariableOutputWithContext

func (o RulesetRuleVariableOutput) ToRulesetRuleVariableOutputWithContext(ctx context.Context) RulesetRuleVariableOutput

func (RulesetRuleVariableOutput) Type

type RulesetRuleVariableParameter

type RulesetRuleVariableParameter struct {
	Path *string `pulumi:"path"`
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value *string `pulumi:"value"`
}

type RulesetRuleVariableParameterArgs

type RulesetRuleVariableParameterArgs struct {
	Path pulumi.StringPtrInput `pulumi:"path"`
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (RulesetRuleVariableParameterArgs) ElementType

func (RulesetRuleVariableParameterArgs) ToRulesetRuleVariableParameterOutput

func (i RulesetRuleVariableParameterArgs) ToRulesetRuleVariableParameterOutput() RulesetRuleVariableParameterOutput

func (RulesetRuleVariableParameterArgs) ToRulesetRuleVariableParameterOutputWithContext

func (i RulesetRuleVariableParameterArgs) ToRulesetRuleVariableParameterOutputWithContext(ctx context.Context) RulesetRuleVariableParameterOutput

type RulesetRuleVariableParameterArray

type RulesetRuleVariableParameterArray []RulesetRuleVariableParameterInput

func (RulesetRuleVariableParameterArray) ElementType

func (RulesetRuleVariableParameterArray) ToRulesetRuleVariableParameterArrayOutput

func (i RulesetRuleVariableParameterArray) ToRulesetRuleVariableParameterArrayOutput() RulesetRuleVariableParameterArrayOutput

func (RulesetRuleVariableParameterArray) ToRulesetRuleVariableParameterArrayOutputWithContext

func (i RulesetRuleVariableParameterArray) ToRulesetRuleVariableParameterArrayOutputWithContext(ctx context.Context) RulesetRuleVariableParameterArrayOutput

type RulesetRuleVariableParameterArrayInput

type RulesetRuleVariableParameterArrayInput interface {
	pulumi.Input

	ToRulesetRuleVariableParameterArrayOutput() RulesetRuleVariableParameterArrayOutput
	ToRulesetRuleVariableParameterArrayOutputWithContext(context.Context) RulesetRuleVariableParameterArrayOutput
}

RulesetRuleVariableParameterArrayInput is an input type that accepts RulesetRuleVariableParameterArray and RulesetRuleVariableParameterArrayOutput values. You can construct a concrete instance of `RulesetRuleVariableParameterArrayInput` via:

RulesetRuleVariableParameterArray{ RulesetRuleVariableParameterArgs{...} }

type RulesetRuleVariableParameterArrayOutput

type RulesetRuleVariableParameterArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleVariableParameterArrayOutput) ElementType

func (RulesetRuleVariableParameterArrayOutput) Index

func (RulesetRuleVariableParameterArrayOutput) ToRulesetRuleVariableParameterArrayOutput

func (o RulesetRuleVariableParameterArrayOutput) ToRulesetRuleVariableParameterArrayOutput() RulesetRuleVariableParameterArrayOutput

func (RulesetRuleVariableParameterArrayOutput) ToRulesetRuleVariableParameterArrayOutputWithContext

func (o RulesetRuleVariableParameterArrayOutput) ToRulesetRuleVariableParameterArrayOutputWithContext(ctx context.Context) RulesetRuleVariableParameterArrayOutput

type RulesetRuleVariableParameterInput

type RulesetRuleVariableParameterInput interface {
	pulumi.Input

	ToRulesetRuleVariableParameterOutput() RulesetRuleVariableParameterOutput
	ToRulesetRuleVariableParameterOutputWithContext(context.Context) RulesetRuleVariableParameterOutput
}

RulesetRuleVariableParameterInput is an input type that accepts RulesetRuleVariableParameterArgs and RulesetRuleVariableParameterOutput values. You can construct a concrete instance of `RulesetRuleVariableParameterInput` via:

RulesetRuleVariableParameterArgs{...}

type RulesetRuleVariableParameterOutput

type RulesetRuleVariableParameterOutput struct{ *pulumi.OutputState }

func (RulesetRuleVariableParameterOutput) ElementType

func (RulesetRuleVariableParameterOutput) Path

func (RulesetRuleVariableParameterOutput) ToRulesetRuleVariableParameterOutput

func (o RulesetRuleVariableParameterOutput) ToRulesetRuleVariableParameterOutput() RulesetRuleVariableParameterOutput

func (RulesetRuleVariableParameterOutput) ToRulesetRuleVariableParameterOutputWithContext

func (o RulesetRuleVariableParameterOutput) ToRulesetRuleVariableParameterOutputWithContext(ctx context.Context) RulesetRuleVariableParameterOutput

func (RulesetRuleVariableParameterOutput) Value

Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.

type RulesetState

type RulesetState struct {
	// Name of the ruleset.
	Name pulumi.StringPtrInput
	// Routing keys routed to this ruleset.
	RoutingKeys pulumi.StringArrayInput
	// Reference to the team that owns the ruleset. If none is specified, only admins have access.
	Team RulesetTeamPtrInput
	// Type of ruleset. Currently, only sets to `global`.
	Type pulumi.StringPtrInput
}

func (RulesetState) ElementType

func (RulesetState) ElementType() reflect.Type

type RulesetTeam

type RulesetTeam struct {
	// The ID of the ruleset.
	Id string `pulumi:"id"`
}

type RulesetTeamArgs

type RulesetTeamArgs struct {
	// The ID of the ruleset.
	Id pulumi.StringInput `pulumi:"id"`
}

func (RulesetTeamArgs) ElementType

func (RulesetTeamArgs) ElementType() reflect.Type

func (RulesetTeamArgs) ToRulesetTeamOutput

func (i RulesetTeamArgs) ToRulesetTeamOutput() RulesetTeamOutput

func (RulesetTeamArgs) ToRulesetTeamOutputWithContext

func (i RulesetTeamArgs) ToRulesetTeamOutputWithContext(ctx context.Context) RulesetTeamOutput

func (RulesetTeamArgs) ToRulesetTeamPtrOutput

func (i RulesetTeamArgs) ToRulesetTeamPtrOutput() RulesetTeamPtrOutput

func (RulesetTeamArgs) ToRulesetTeamPtrOutputWithContext

func (i RulesetTeamArgs) ToRulesetTeamPtrOutputWithContext(ctx context.Context) RulesetTeamPtrOutput

type RulesetTeamInput

type RulesetTeamInput interface {
	pulumi.Input

	ToRulesetTeamOutput() RulesetTeamOutput
	ToRulesetTeamOutputWithContext(context.Context) RulesetTeamOutput
}

RulesetTeamInput is an input type that accepts RulesetTeamArgs and RulesetTeamOutput values. You can construct a concrete instance of `RulesetTeamInput` via:

RulesetTeamArgs{...}

type RulesetTeamOutput

type RulesetTeamOutput struct{ *pulumi.OutputState }

func (RulesetTeamOutput) ElementType

func (RulesetTeamOutput) ElementType() reflect.Type

func (RulesetTeamOutput) Id

The ID of the ruleset.

func (RulesetTeamOutput) ToRulesetTeamOutput

func (o RulesetTeamOutput) ToRulesetTeamOutput() RulesetTeamOutput

func (RulesetTeamOutput) ToRulesetTeamOutputWithContext

func (o RulesetTeamOutput) ToRulesetTeamOutputWithContext(ctx context.Context) RulesetTeamOutput

func (RulesetTeamOutput) ToRulesetTeamPtrOutput

func (o RulesetTeamOutput) ToRulesetTeamPtrOutput() RulesetTeamPtrOutput

func (RulesetTeamOutput) ToRulesetTeamPtrOutputWithContext

func (o RulesetTeamOutput) ToRulesetTeamPtrOutputWithContext(ctx context.Context) RulesetTeamPtrOutput

type RulesetTeamPtrInput

type RulesetTeamPtrInput interface {
	pulumi.Input

	ToRulesetTeamPtrOutput() RulesetTeamPtrOutput
	ToRulesetTeamPtrOutputWithContext(context.Context) RulesetTeamPtrOutput
}

RulesetTeamPtrInput is an input type that accepts RulesetTeamArgs, RulesetTeamPtr and RulesetTeamPtrOutput values. You can construct a concrete instance of `RulesetTeamPtrInput` via:

        RulesetTeamArgs{...}

or:

        nil

func RulesetTeamPtr

func RulesetTeamPtr(v *RulesetTeamArgs) RulesetTeamPtrInput

type RulesetTeamPtrOutput

type RulesetTeamPtrOutput struct{ *pulumi.OutputState }

func (RulesetTeamPtrOutput) Elem

func (RulesetTeamPtrOutput) ElementType

func (RulesetTeamPtrOutput) ElementType() reflect.Type

func (RulesetTeamPtrOutput) Id

The ID of the ruleset.

func (RulesetTeamPtrOutput) ToRulesetTeamPtrOutput

func (o RulesetTeamPtrOutput) ToRulesetTeamPtrOutput() RulesetTeamPtrOutput

func (RulesetTeamPtrOutput) ToRulesetTeamPtrOutputWithContext

func (o RulesetTeamPtrOutput) ToRulesetTeamPtrOutputWithContext(ctx context.Context) RulesetTeamPtrOutput

type Schedule

type Schedule struct {
	pulumi.CustomResourceState

	// The description of the schedule.
	Description    pulumi.StringOutput              `pulumi:"description"`
	FinalSchedules ScheduleFinalScheduleArrayOutput `pulumi:"finalSchedules"`
	// A schedule layer block. Schedule layers documented below.
	Layers ScheduleLayerArrayOutput `pulumi:"layers"`
	// The name of the schedule.
	Name pulumi.StringOutput `pulumi:"name"`
	// Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameter `overflow` is passed. For instance, if your schedule is a rotation that changes daily at midnight UTC, and your date range is from `2011-06-01T10:00:00Z` to `2011-06-01T14:00:00Z`:
	// If you don't pass the overflow=true parameter, you will get one schedule entry returned with a start of `2011-06-01T10:00:00Z` and end of `2011-06-01T14:00:00Z`.
	// If you do pass the `overflow` parameter, you will get one schedule entry returned with a start of `2011-06-01T00:00:00Z` and end of `2011-06-02T00:00:00Z`.
	Overflow pulumi.BoolPtrOutput `pulumi:"overflow"`
	// Teams associated with the schedule.
	Teams pulumi.StringArrayOutput `pulumi:"teams"`
	// The time zone of the schedule (e.g. `Europe/Berlin`).
	TimeZone pulumi.StringOutput `pulumi:"timeZone"`
}

A [schedule](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE4Mg-create-a-schedule) determines the time periods that users are on call. Only on-call users are eligible to receive notifications from incidents.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleUser, err := pagerduty.NewUser(ctx, "exampleUser", &pagerduty.UserArgs{
			Email: pulumi.String("125.greenholt.earline@graham.name"),
		})
		if err != nil {
			return err
		}
		exampleTeam, err := pagerduty.NewTeam(ctx, "exampleTeam", nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewSchedule(ctx, "foo", &pagerduty.ScheduleArgs{
			TimeZone: pulumi.String("America/New_York"),
			Layers: pagerduty.ScheduleLayerArray{
				&pagerduty.ScheduleLayerArgs{
					Name:                      pulumi.String("Night Shift"),
					Start:                     pulumi.String("2015-11-06T20:00:00-05:00"),
					RotationVirtualStart:      pulumi.String("2015-11-06T20:00:00-05:00"),
					RotationTurnLengthSeconds: pulumi.Int(86400),
					Users: pulumi.StringArray{
						exampleUser.ID(),
					},
					Restrictions: pagerduty.ScheduleLayerRestrictionArray{
						&pagerduty.ScheduleLayerRestrictionArgs{
							Type:            pulumi.String("daily_restriction"),
							StartTimeOfDay:  pulumi.String("08:00:00"),
							DurationSeconds: pulumi.Int(32400),
						},
					},
				},
			},
			Teams: pulumi.StringArray{
				exampleTeam.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Schedules can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/schedule:Schedule main PLBP09X

```

func GetSchedule

func GetSchedule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ScheduleState, opts ...pulumi.ResourceOption) (*Schedule, error)

GetSchedule gets an existing Schedule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSchedule

func NewSchedule(ctx *pulumi.Context,
	name string, args *ScheduleArgs, opts ...pulumi.ResourceOption) (*Schedule, error)

NewSchedule registers a new resource with the given unique name, arguments, and options.

func (*Schedule) ElementType

func (*Schedule) ElementType() reflect.Type

func (*Schedule) ToScheduleOutput

func (i *Schedule) ToScheduleOutput() ScheduleOutput

func (*Schedule) ToScheduleOutputWithContext

func (i *Schedule) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput

type ScheduleArgs

type ScheduleArgs struct {
	// The description of the schedule.
	Description pulumi.StringPtrInput
	// A schedule layer block. Schedule layers documented below.
	Layers ScheduleLayerArrayInput
	// The name of the schedule.
	Name pulumi.StringPtrInput
	// Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameter `overflow` is passed. For instance, if your schedule is a rotation that changes daily at midnight UTC, and your date range is from `2011-06-01T10:00:00Z` to `2011-06-01T14:00:00Z`:
	// If you don't pass the overflow=true parameter, you will get one schedule entry returned with a start of `2011-06-01T10:00:00Z` and end of `2011-06-01T14:00:00Z`.
	// If you do pass the `overflow` parameter, you will get one schedule entry returned with a start of `2011-06-01T00:00:00Z` and end of `2011-06-02T00:00:00Z`.
	Overflow pulumi.BoolPtrInput
	// Teams associated with the schedule.
	Teams pulumi.StringArrayInput
	// The time zone of the schedule (e.g. `Europe/Berlin`).
	TimeZone pulumi.StringInput
}

The set of arguments for constructing a Schedule resource.

func (ScheduleArgs) ElementType

func (ScheduleArgs) ElementType() reflect.Type

type ScheduleArray

type ScheduleArray []ScheduleInput

func (ScheduleArray) ElementType

func (ScheduleArray) ElementType() reflect.Type

func (ScheduleArray) ToScheduleArrayOutput

func (i ScheduleArray) ToScheduleArrayOutput() ScheduleArrayOutput

func (ScheduleArray) ToScheduleArrayOutputWithContext

func (i ScheduleArray) ToScheduleArrayOutputWithContext(ctx context.Context) ScheduleArrayOutput

type ScheduleArrayInput

type ScheduleArrayInput interface {
	pulumi.Input

	ToScheduleArrayOutput() ScheduleArrayOutput
	ToScheduleArrayOutputWithContext(context.Context) ScheduleArrayOutput
}

ScheduleArrayInput is an input type that accepts ScheduleArray and ScheduleArrayOutput values. You can construct a concrete instance of `ScheduleArrayInput` via:

ScheduleArray{ ScheduleArgs{...} }

type ScheduleArrayOutput

type ScheduleArrayOutput struct{ *pulumi.OutputState }

func (ScheduleArrayOutput) ElementType

func (ScheduleArrayOutput) ElementType() reflect.Type

func (ScheduleArrayOutput) Index

func (ScheduleArrayOutput) ToScheduleArrayOutput

func (o ScheduleArrayOutput) ToScheduleArrayOutput() ScheduleArrayOutput

func (ScheduleArrayOutput) ToScheduleArrayOutputWithContext

func (o ScheduleArrayOutput) ToScheduleArrayOutputWithContext(ctx context.Context) ScheduleArrayOutput

type ScheduleFinalSchedule added in v3.5.1

type ScheduleFinalSchedule struct {
	// The name of the schedule.
	Name                       *string `pulumi:"name"`
	RenderedCoveragePercentage *string `pulumi:"renderedCoveragePercentage"`
}

type ScheduleFinalScheduleArgs added in v3.5.1

type ScheduleFinalScheduleArgs struct {
	// The name of the schedule.
	Name                       pulumi.StringPtrInput `pulumi:"name"`
	RenderedCoveragePercentage pulumi.StringPtrInput `pulumi:"renderedCoveragePercentage"`
}

func (ScheduleFinalScheduleArgs) ElementType added in v3.5.1

func (ScheduleFinalScheduleArgs) ElementType() reflect.Type

func (ScheduleFinalScheduleArgs) ToScheduleFinalScheduleOutput added in v3.5.1

func (i ScheduleFinalScheduleArgs) ToScheduleFinalScheduleOutput() ScheduleFinalScheduleOutput

func (ScheduleFinalScheduleArgs) ToScheduleFinalScheduleOutputWithContext added in v3.5.1

func (i ScheduleFinalScheduleArgs) ToScheduleFinalScheduleOutputWithContext(ctx context.Context) ScheduleFinalScheduleOutput

type ScheduleFinalScheduleArray added in v3.5.1

type ScheduleFinalScheduleArray []ScheduleFinalScheduleInput

func (ScheduleFinalScheduleArray) ElementType added in v3.5.1

func (ScheduleFinalScheduleArray) ElementType() reflect.Type

func (ScheduleFinalScheduleArray) ToScheduleFinalScheduleArrayOutput added in v3.5.1

func (i ScheduleFinalScheduleArray) ToScheduleFinalScheduleArrayOutput() ScheduleFinalScheduleArrayOutput

func (ScheduleFinalScheduleArray) ToScheduleFinalScheduleArrayOutputWithContext added in v3.5.1

func (i ScheduleFinalScheduleArray) ToScheduleFinalScheduleArrayOutputWithContext(ctx context.Context) ScheduleFinalScheduleArrayOutput

type ScheduleFinalScheduleArrayInput added in v3.5.1

type ScheduleFinalScheduleArrayInput interface {
	pulumi.Input

	ToScheduleFinalScheduleArrayOutput() ScheduleFinalScheduleArrayOutput
	ToScheduleFinalScheduleArrayOutputWithContext(context.Context) ScheduleFinalScheduleArrayOutput
}

ScheduleFinalScheduleArrayInput is an input type that accepts ScheduleFinalScheduleArray and ScheduleFinalScheduleArrayOutput values. You can construct a concrete instance of `ScheduleFinalScheduleArrayInput` via:

ScheduleFinalScheduleArray{ ScheduleFinalScheduleArgs{...} }

type ScheduleFinalScheduleArrayOutput added in v3.5.1

type ScheduleFinalScheduleArrayOutput struct{ *pulumi.OutputState }

func (ScheduleFinalScheduleArrayOutput) ElementType added in v3.5.1

func (ScheduleFinalScheduleArrayOutput) Index added in v3.5.1

func (ScheduleFinalScheduleArrayOutput) ToScheduleFinalScheduleArrayOutput added in v3.5.1

func (o ScheduleFinalScheduleArrayOutput) ToScheduleFinalScheduleArrayOutput() ScheduleFinalScheduleArrayOutput

func (ScheduleFinalScheduleArrayOutput) ToScheduleFinalScheduleArrayOutputWithContext added in v3.5.1

func (o ScheduleFinalScheduleArrayOutput) ToScheduleFinalScheduleArrayOutputWithContext(ctx context.Context) ScheduleFinalScheduleArrayOutput

type ScheduleFinalScheduleInput added in v3.5.1

type ScheduleFinalScheduleInput interface {
	pulumi.Input

	ToScheduleFinalScheduleOutput() ScheduleFinalScheduleOutput
	ToScheduleFinalScheduleOutputWithContext(context.Context) ScheduleFinalScheduleOutput
}

ScheduleFinalScheduleInput is an input type that accepts ScheduleFinalScheduleArgs and ScheduleFinalScheduleOutput values. You can construct a concrete instance of `ScheduleFinalScheduleInput` via:

ScheduleFinalScheduleArgs{...}

type ScheduleFinalScheduleOutput added in v3.5.1

type ScheduleFinalScheduleOutput struct{ *pulumi.OutputState }

func (ScheduleFinalScheduleOutput) ElementType added in v3.5.1

func (ScheduleFinalScheduleOutput) Name added in v3.5.1

The name of the schedule.

func (ScheduleFinalScheduleOutput) RenderedCoveragePercentage added in v3.5.1

func (o ScheduleFinalScheduleOutput) RenderedCoveragePercentage() pulumi.StringPtrOutput

func (ScheduleFinalScheduleOutput) ToScheduleFinalScheduleOutput added in v3.5.1

func (o ScheduleFinalScheduleOutput) ToScheduleFinalScheduleOutput() ScheduleFinalScheduleOutput

func (ScheduleFinalScheduleOutput) ToScheduleFinalScheduleOutputWithContext added in v3.5.1

func (o ScheduleFinalScheduleOutput) ToScheduleFinalScheduleOutputWithContext(ctx context.Context) ScheduleFinalScheduleOutput

type ScheduleInput

type ScheduleInput interface {
	pulumi.Input

	ToScheduleOutput() ScheduleOutput
	ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput
}

type ScheduleLayer

type ScheduleLayer struct {
	// The end time of the schedule layer. If not specified, the layer does not end.
	End *string `pulumi:"end"`
	// The ID of the schedule.
	Id *string `pulumi:"id"`
	// The name of the schedule layer.
	Name                       *string `pulumi:"name"`
	RenderedCoveragePercentage *string `pulumi:"renderedCoveragePercentage"`
	// A schedule layer restriction block. Restriction blocks documented below.
	Restrictions []ScheduleLayerRestriction `pulumi:"restrictions"`
	// The duration of each on-call shift in `seconds`.
	RotationTurnLengthSeconds int `pulumi:"rotationTurnLengthSeconds"`
	// The effective start time of the schedule layer. This can be before the start time of the schedule.
	RotationVirtualStart string `pulumi:"rotationVirtualStart"`
	// The start time of the schedule layer.
	Start string `pulumi:"start"`
	// The ordered list of users on this layer. The position of the user on the list determines their order in the layer.
	Users []string `pulumi:"users"`
}

type ScheduleLayerArgs

type ScheduleLayerArgs struct {
	// The end time of the schedule layer. If not specified, the layer does not end.
	End pulumi.StringPtrInput `pulumi:"end"`
	// The ID of the schedule.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The name of the schedule layer.
	Name                       pulumi.StringPtrInput `pulumi:"name"`
	RenderedCoveragePercentage pulumi.StringPtrInput `pulumi:"renderedCoveragePercentage"`
	// A schedule layer restriction block. Restriction blocks documented below.
	Restrictions ScheduleLayerRestrictionArrayInput `pulumi:"restrictions"`
	// The duration of each on-call shift in `seconds`.
	RotationTurnLengthSeconds pulumi.IntInput `pulumi:"rotationTurnLengthSeconds"`
	// The effective start time of the schedule layer. This can be before the start time of the schedule.
	RotationVirtualStart pulumi.StringInput `pulumi:"rotationVirtualStart"`
	// The start time of the schedule layer.
	Start pulumi.StringInput `pulumi:"start"`
	// The ordered list of users on this layer. The position of the user on the list determines their order in the layer.
	Users pulumi.StringArrayInput `pulumi:"users"`
}

func (ScheduleLayerArgs) ElementType

func (ScheduleLayerArgs) ElementType() reflect.Type

func (ScheduleLayerArgs) ToScheduleLayerOutput

func (i ScheduleLayerArgs) ToScheduleLayerOutput() ScheduleLayerOutput

func (ScheduleLayerArgs) ToScheduleLayerOutputWithContext

func (i ScheduleLayerArgs) ToScheduleLayerOutputWithContext(ctx context.Context) ScheduleLayerOutput

type ScheduleLayerArray

type ScheduleLayerArray []ScheduleLayerInput

func (ScheduleLayerArray) ElementType

func (ScheduleLayerArray) ElementType() reflect.Type

func (ScheduleLayerArray) ToScheduleLayerArrayOutput

func (i ScheduleLayerArray) ToScheduleLayerArrayOutput() ScheduleLayerArrayOutput

func (ScheduleLayerArray) ToScheduleLayerArrayOutputWithContext

func (i ScheduleLayerArray) ToScheduleLayerArrayOutputWithContext(ctx context.Context) ScheduleLayerArrayOutput

type ScheduleLayerArrayInput

type ScheduleLayerArrayInput interface {
	pulumi.Input

	ToScheduleLayerArrayOutput() ScheduleLayerArrayOutput
	ToScheduleLayerArrayOutputWithContext(context.Context) ScheduleLayerArrayOutput
}

ScheduleLayerArrayInput is an input type that accepts ScheduleLayerArray and ScheduleLayerArrayOutput values. You can construct a concrete instance of `ScheduleLayerArrayInput` via:

ScheduleLayerArray{ ScheduleLayerArgs{...} }

type ScheduleLayerArrayOutput

type ScheduleLayerArrayOutput struct{ *pulumi.OutputState }

func (ScheduleLayerArrayOutput) ElementType

func (ScheduleLayerArrayOutput) ElementType() reflect.Type

func (ScheduleLayerArrayOutput) Index

func (ScheduleLayerArrayOutput) ToScheduleLayerArrayOutput

func (o ScheduleLayerArrayOutput) ToScheduleLayerArrayOutput() ScheduleLayerArrayOutput

func (ScheduleLayerArrayOutput) ToScheduleLayerArrayOutputWithContext

func (o ScheduleLayerArrayOutput) ToScheduleLayerArrayOutputWithContext(ctx context.Context) ScheduleLayerArrayOutput

type ScheduleLayerInput

type ScheduleLayerInput interface {
	pulumi.Input

	ToScheduleLayerOutput() ScheduleLayerOutput
	ToScheduleLayerOutputWithContext(context.Context) ScheduleLayerOutput
}

ScheduleLayerInput is an input type that accepts ScheduleLayerArgs and ScheduleLayerOutput values. You can construct a concrete instance of `ScheduleLayerInput` via:

ScheduleLayerArgs{...}

type ScheduleLayerOutput

type ScheduleLayerOutput struct{ *pulumi.OutputState }

func (ScheduleLayerOutput) ElementType

func (ScheduleLayerOutput) ElementType() reflect.Type

func (ScheduleLayerOutput) End

The end time of the schedule layer. If not specified, the layer does not end.

func (ScheduleLayerOutput) Id

The ID of the schedule.

func (ScheduleLayerOutput) Name

The name of the schedule layer.

func (ScheduleLayerOutput) RenderedCoveragePercentage added in v3.5.1

func (o ScheduleLayerOutput) RenderedCoveragePercentage() pulumi.StringPtrOutput

func (ScheduleLayerOutput) Restrictions

A schedule layer restriction block. Restriction blocks documented below.

func (ScheduleLayerOutput) RotationTurnLengthSeconds

func (o ScheduleLayerOutput) RotationTurnLengthSeconds() pulumi.IntOutput

The duration of each on-call shift in `seconds`.

func (ScheduleLayerOutput) RotationVirtualStart

func (o ScheduleLayerOutput) RotationVirtualStart() pulumi.StringOutput

The effective start time of the schedule layer. This can be before the start time of the schedule.

func (ScheduleLayerOutput) Start

The start time of the schedule layer.

func (ScheduleLayerOutput) ToScheduleLayerOutput

func (o ScheduleLayerOutput) ToScheduleLayerOutput() ScheduleLayerOutput

func (ScheduleLayerOutput) ToScheduleLayerOutputWithContext

func (o ScheduleLayerOutput) ToScheduleLayerOutputWithContext(ctx context.Context) ScheduleLayerOutput

func (ScheduleLayerOutput) Users

The ordered list of users on this layer. The position of the user on the list determines their order in the layer.

type ScheduleLayerRestriction

type ScheduleLayerRestriction struct {
	// The duration of the restriction in `seconds`.
	DurationSeconds int `pulumi:"durationSeconds"`
	// Number of the day when restriction starts. From 1 to 7 where 1 is Monday and 7 is Sunday.
	StartDayOfWeek *int `pulumi:"startDayOfWeek"`
	// The start time in `HH:mm:ss` format.
	StartTimeOfDay string `pulumi:"startTimeOfDay"`
	// Can be `dailyRestriction` or `weeklyRestriction`.
	Type string `pulumi:"type"`
}

type ScheduleLayerRestrictionArgs

type ScheduleLayerRestrictionArgs struct {
	// The duration of the restriction in `seconds`.
	DurationSeconds pulumi.IntInput `pulumi:"durationSeconds"`
	// Number of the day when restriction starts. From 1 to 7 where 1 is Monday and 7 is Sunday.
	StartDayOfWeek pulumi.IntPtrInput `pulumi:"startDayOfWeek"`
	// The start time in `HH:mm:ss` format.
	StartTimeOfDay pulumi.StringInput `pulumi:"startTimeOfDay"`
	// Can be `dailyRestriction` or `weeklyRestriction`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ScheduleLayerRestrictionArgs) ElementType

func (ScheduleLayerRestrictionArgs) ToScheduleLayerRestrictionOutput

func (i ScheduleLayerRestrictionArgs) ToScheduleLayerRestrictionOutput() ScheduleLayerRestrictionOutput

func (ScheduleLayerRestrictionArgs) ToScheduleLayerRestrictionOutputWithContext

func (i ScheduleLayerRestrictionArgs) ToScheduleLayerRestrictionOutputWithContext(ctx context.Context) ScheduleLayerRestrictionOutput

type ScheduleLayerRestrictionArray

type ScheduleLayerRestrictionArray []ScheduleLayerRestrictionInput

func (ScheduleLayerRestrictionArray) ElementType

func (ScheduleLayerRestrictionArray) ToScheduleLayerRestrictionArrayOutput

func (i ScheduleLayerRestrictionArray) ToScheduleLayerRestrictionArrayOutput() ScheduleLayerRestrictionArrayOutput

func (ScheduleLayerRestrictionArray) ToScheduleLayerRestrictionArrayOutputWithContext

func (i ScheduleLayerRestrictionArray) ToScheduleLayerRestrictionArrayOutputWithContext(ctx context.Context) ScheduleLayerRestrictionArrayOutput

type ScheduleLayerRestrictionArrayInput

type ScheduleLayerRestrictionArrayInput interface {
	pulumi.Input

	ToScheduleLayerRestrictionArrayOutput() ScheduleLayerRestrictionArrayOutput
	ToScheduleLayerRestrictionArrayOutputWithContext(context.Context) ScheduleLayerRestrictionArrayOutput
}

ScheduleLayerRestrictionArrayInput is an input type that accepts ScheduleLayerRestrictionArray and ScheduleLayerRestrictionArrayOutput values. You can construct a concrete instance of `ScheduleLayerRestrictionArrayInput` via:

ScheduleLayerRestrictionArray{ ScheduleLayerRestrictionArgs{...} }

type ScheduleLayerRestrictionArrayOutput

type ScheduleLayerRestrictionArrayOutput struct{ *pulumi.OutputState }

func (ScheduleLayerRestrictionArrayOutput) ElementType

func (ScheduleLayerRestrictionArrayOutput) Index

func (ScheduleLayerRestrictionArrayOutput) ToScheduleLayerRestrictionArrayOutput

func (o ScheduleLayerRestrictionArrayOutput) ToScheduleLayerRestrictionArrayOutput() ScheduleLayerRestrictionArrayOutput

func (ScheduleLayerRestrictionArrayOutput) ToScheduleLayerRestrictionArrayOutputWithContext

func (o ScheduleLayerRestrictionArrayOutput) ToScheduleLayerRestrictionArrayOutputWithContext(ctx context.Context) ScheduleLayerRestrictionArrayOutput

type ScheduleLayerRestrictionInput

type ScheduleLayerRestrictionInput interface {
	pulumi.Input

	ToScheduleLayerRestrictionOutput() ScheduleLayerRestrictionOutput
	ToScheduleLayerRestrictionOutputWithContext(context.Context) ScheduleLayerRestrictionOutput
}

ScheduleLayerRestrictionInput is an input type that accepts ScheduleLayerRestrictionArgs and ScheduleLayerRestrictionOutput values. You can construct a concrete instance of `ScheduleLayerRestrictionInput` via:

ScheduleLayerRestrictionArgs{...}

type ScheduleLayerRestrictionOutput

type ScheduleLayerRestrictionOutput struct{ *pulumi.OutputState }

func (ScheduleLayerRestrictionOutput) DurationSeconds

func (o ScheduleLayerRestrictionOutput) DurationSeconds() pulumi.IntOutput

The duration of the restriction in `seconds`.

func (ScheduleLayerRestrictionOutput) ElementType

func (ScheduleLayerRestrictionOutput) StartDayOfWeek

Number of the day when restriction starts. From 1 to 7 where 1 is Monday and 7 is Sunday.

func (ScheduleLayerRestrictionOutput) StartTimeOfDay

The start time in `HH:mm:ss` format.

func (ScheduleLayerRestrictionOutput) ToScheduleLayerRestrictionOutput

func (o ScheduleLayerRestrictionOutput) ToScheduleLayerRestrictionOutput() ScheduleLayerRestrictionOutput

func (ScheduleLayerRestrictionOutput) ToScheduleLayerRestrictionOutputWithContext

func (o ScheduleLayerRestrictionOutput) ToScheduleLayerRestrictionOutputWithContext(ctx context.Context) ScheduleLayerRestrictionOutput

func (ScheduleLayerRestrictionOutput) Type

Can be `dailyRestriction` or `weeklyRestriction`.

type ScheduleMap

type ScheduleMap map[string]ScheduleInput

func (ScheduleMap) ElementType

func (ScheduleMap) ElementType() reflect.Type

func (ScheduleMap) ToScheduleMapOutput

func (i ScheduleMap) ToScheduleMapOutput() ScheduleMapOutput

func (ScheduleMap) ToScheduleMapOutputWithContext

func (i ScheduleMap) ToScheduleMapOutputWithContext(ctx context.Context) ScheduleMapOutput

type ScheduleMapInput

type ScheduleMapInput interface {
	pulumi.Input

	ToScheduleMapOutput() ScheduleMapOutput
	ToScheduleMapOutputWithContext(context.Context) ScheduleMapOutput
}

ScheduleMapInput is an input type that accepts ScheduleMap and ScheduleMapOutput values. You can construct a concrete instance of `ScheduleMapInput` via:

ScheduleMap{ "key": ScheduleArgs{...} }

type ScheduleMapOutput

type ScheduleMapOutput struct{ *pulumi.OutputState }

func (ScheduleMapOutput) ElementType

func (ScheduleMapOutput) ElementType() reflect.Type

func (ScheduleMapOutput) MapIndex

func (ScheduleMapOutput) ToScheduleMapOutput

func (o ScheduleMapOutput) ToScheduleMapOutput() ScheduleMapOutput

func (ScheduleMapOutput) ToScheduleMapOutputWithContext

func (o ScheduleMapOutput) ToScheduleMapOutputWithContext(ctx context.Context) ScheduleMapOutput

type ScheduleOutput

type ScheduleOutput struct{ *pulumi.OutputState }

func (ScheduleOutput) Description added in v3.5.1

func (o ScheduleOutput) Description() pulumi.StringOutput

The description of the schedule.

func (ScheduleOutput) ElementType

func (ScheduleOutput) ElementType() reflect.Type

func (ScheduleOutput) FinalSchedules added in v3.5.1

func (ScheduleOutput) Layers added in v3.5.1

A schedule layer block. Schedule layers documented below.

func (ScheduleOutput) Name added in v3.5.1

The name of the schedule.

func (ScheduleOutput) Overflow added in v3.5.1

func (o ScheduleOutput) Overflow() pulumi.BoolPtrOutput

Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameter `overflow` is passed. For instance, if your schedule is a rotation that changes daily at midnight UTC, and your date range is from `2011-06-01T10:00:00Z` to `2011-06-01T14:00:00Z`: If you don't pass the overflow=true parameter, you will get one schedule entry returned with a start of `2011-06-01T10:00:00Z` and end of `2011-06-01T14:00:00Z`. If you do pass the `overflow` parameter, you will get one schedule entry returned with a start of `2011-06-01T00:00:00Z` and end of `2011-06-02T00:00:00Z`.

func (ScheduleOutput) Teams added in v3.5.1

Teams associated with the schedule.

func (ScheduleOutput) TimeZone added in v3.5.1

func (o ScheduleOutput) TimeZone() pulumi.StringOutput

The time zone of the schedule (e.g. `Europe/Berlin`).

func (ScheduleOutput) ToScheduleOutput

func (o ScheduleOutput) ToScheduleOutput() ScheduleOutput

func (ScheduleOutput) ToScheduleOutputWithContext

func (o ScheduleOutput) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput

type ScheduleState

type ScheduleState struct {
	// The description of the schedule.
	Description    pulumi.StringPtrInput
	FinalSchedules ScheduleFinalScheduleArrayInput
	// A schedule layer block. Schedule layers documented below.
	Layers ScheduleLayerArrayInput
	// The name of the schedule.
	Name pulumi.StringPtrInput
	// Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameter `overflow` is passed. For instance, if your schedule is a rotation that changes daily at midnight UTC, and your date range is from `2011-06-01T10:00:00Z` to `2011-06-01T14:00:00Z`:
	// If you don't pass the overflow=true parameter, you will get one schedule entry returned with a start of `2011-06-01T10:00:00Z` and end of `2011-06-01T14:00:00Z`.
	// If you do pass the `overflow` parameter, you will get one schedule entry returned with a start of `2011-06-01T00:00:00Z` and end of `2011-06-02T00:00:00Z`.
	Overflow pulumi.BoolPtrInput
	// Teams associated with the schedule.
	Teams pulumi.StringArrayInput
	// The time zone of the schedule (e.g. `Europe/Berlin`).
	TimeZone pulumi.StringPtrInput
}

func (ScheduleState) ElementType

func (ScheduleState) ElementType() reflect.Type

type Service

type Service struct {
	pulumi.CustomResourceState

	// Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the `"null"` string.  If not passed in, will default to '"1800"'.
	AcknowledgementTimeout pulumi.StringPtrOutput `pulumi:"acknowledgementTimeout"`
	// Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value "createIncidents" is default: events will create an incident that cannot be merged. Value "createAlertsAndIncidents" is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged. This option is recommended.
	AlertCreation pulumi.StringPtrOutput `pulumi:"alertCreation"`
	// (Deprecated) Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident; If value is set to `time`: All alerts within a specified duration will be grouped into the same incident. This duration is set in the `alertGroupingTimeout` setting (described below). Available on Standard, Enterprise, and Event Intelligence plans; If value is set to `intelligent` - Alerts will be intelligently grouped based on a machine learning model that looks at the alert summary, timing, and the history of grouped alerts. Available on Enterprise and Event Intelligence plan. This field is deprecated, use `alert_grouping_parameters.type` instead,
	//
	// Deprecated: Use `alert_grouping_parameters.type`
	AlertGrouping pulumi.StringOutput `pulumi:"alertGrouping"`
	// Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident.
	AlertGroupingParameters ServiceAlertGroupingParametersOutput `pulumi:"alertGroupingParameters"`
	// (Deprecated) The duration in minutes within which to automatically group incoming alerts. This setting applies only when `alertGrouping` is set to `time`. To continue grouping alerts until the incident is resolved, set this value to `0`. This field is deprecated, use `alert_grouping_parameters.config.timeout` instead,
	//
	// Deprecated: Use `alert_grouping_parameters.config.timeout`
	AlertGroupingTimeout pulumi.StringOutput `pulumi:"alertGroupingTimeout"`
	// Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned [here](https://support.pagerduty.com/docs/auto-pause-incident-notifications).
	AutoPauseNotificationsParameters ServiceAutoPauseNotificationsParametersOutput `pulumi:"autoPauseNotificationsParameters"`
	// Time in seconds that an incident is automatically resolved if left open for that long. Disabled if set to the `"null"` string.
	AutoResolveTimeout pulumi.StringPtrOutput `pulumi:"autoResolveTimeout"`
	// Creation timestamp of the service.
	CreatedAt   pulumi.StringOutput `pulumi:"createdAt"`
	Description pulumi.StringOutput `pulumi:"description"`
	// The escalation policy used by this service.
	EscalationPolicy pulumi.StringOutput `pulumi:"escalationPolicy"`
	// URL at which the entity is uniquely displayed in the Web app.
	HtmlUrl             pulumi.StringOutput              `pulumi:"htmlUrl"`
	IncidentUrgencyRule ServiceIncidentUrgencyRuleOutput `pulumi:"incidentUrgencyRule"`
	// Last incident timestamp of the service.
	LastIncidentTimestamp pulumi.StringOutput `pulumi:"lastIncidentTimestamp"`
	// The name of the service.
	Name pulumi.StringOutput `pulumi:"name"`
	// The response play used by this service.
	ResponsePlay     pulumi.StringOutput               `pulumi:"responsePlay"`
	ScheduledActions ServiceScheduledActionArrayOutput `pulumi:"scheduledActions"`
	// The status of the service.
	Status       pulumi.StringOutput          `pulumi:"status"`
	SupportHours ServiceSupportHoursPtrOutput `pulumi:"supportHours"`
	// The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
	Type pulumi.StringOutput `pulumi:"type"`
}

A [service](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE5Nw-create-a-service) represents something you monitor (like a web service, email service, or database service). It is a container for related incidents that associates them with escalation policies.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleUser, err := pagerduty.NewUser(ctx, "exampleUser", &pagerduty.UserArgs{
			Email: pulumi.String("125.greenholt.earline@graham.name"),
		})
		if err != nil {
			return err
		}
		foo, err := pagerduty.NewEscalationPolicy(ctx, "foo", &pagerduty.EscalationPolicyArgs{
			NumLoops: pulumi.Int(2),
			Rules: pagerduty.EscalationPolicyRuleArray{
				&pagerduty.EscalationPolicyRuleArgs{
					EscalationDelayInMinutes: pulumi.Int(10),
					Targets: pagerduty.EscalationPolicyRuleTargetArray{
						&pagerduty.EscalationPolicyRuleTargetArgs{
							Type: pulumi.String("user_reference"),
							Id:   exampleUser.ID(),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewService(ctx, "exampleService", &pagerduty.ServiceArgs{
			AutoResolveTimeout:     pulumi.String("14400"),
			AcknowledgementTimeout: pulumi.String("600"),
			EscalationPolicy:       foo.ID(),
			AlertCreation:          pulumi.String("create_alerts_and_incidents"),
			AutoPauseNotificationsParameters: &pagerduty.ServiceAutoPauseNotificationsParametersArgs{
				Enabled: pulumi.Bool(true),
				Timeout: pulumi.Int(300),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Services can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/service:Service main PLBP09X

```

func GetService

func GetService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)

GetService gets an existing Service resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewService

func NewService(ctx *pulumi.Context,
	name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)

NewService registers a new resource with the given unique name, arguments, and options.

func (*Service) ElementType

func (*Service) ElementType() reflect.Type

func (*Service) ToServiceOutput

func (i *Service) ToServiceOutput() ServiceOutput

func (*Service) ToServiceOutputWithContext

func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

type ServiceAlertGroupingParameters

type ServiceAlertGroupingParameters struct {
	// Alert grouping parameters dependent on `type`. If `type` is set to `intelligent` or empty then `config` can be empty.
	Config *ServiceAlertGroupingParametersConfig `pulumi:"config"`
	// The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
	Type *string `pulumi:"type"`
}

type ServiceAlertGroupingParametersArgs

type ServiceAlertGroupingParametersArgs struct {
	// Alert grouping parameters dependent on `type`. If `type` is set to `intelligent` or empty then `config` can be empty.
	Config ServiceAlertGroupingParametersConfigPtrInput `pulumi:"config"`
	// The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ServiceAlertGroupingParametersArgs) ElementType

func (ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersOutput

func (i ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersOutput() ServiceAlertGroupingParametersOutput

func (ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersOutputWithContext

func (i ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersOutput

func (ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersPtrOutput

func (i ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersPtrOutput() ServiceAlertGroupingParametersPtrOutput

func (ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersPtrOutputWithContext

func (i ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersPtrOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersPtrOutput

type ServiceAlertGroupingParametersConfig

type ServiceAlertGroupingParametersConfig struct {
	// One of `any` or `all`. This setting applies only when `type` is set to `contentBased`. Group alerts based on one or all of `fields` value(s).
	Aggregate *string `pulumi:"aggregate"`
	// Alerts will be grouped together if the content of these fields match. This setting applies only when `type` is set to `contentBased`.
	Fields []string `pulumi:"fields"`
	// The duration in minutes within which to automatically group incoming alerts. This setting applies only when `type` is set to `time`. To continue grouping alerts until the incident is resolved, set this value to `0`.
	//
	// You may specify one optional `incidentUrgencyRule` block configuring what urgencies to use.
	// Your PagerDuty account must have the `urgencies` ability to assign an incident urgency rule.
	// The block contains the following arguments:
	Timeout *int `pulumi:"timeout"`
}

type ServiceAlertGroupingParametersConfigArgs

type ServiceAlertGroupingParametersConfigArgs struct {
	// One of `any` or `all`. This setting applies only when `type` is set to `contentBased`. Group alerts based on one or all of `fields` value(s).
	Aggregate pulumi.StringPtrInput `pulumi:"aggregate"`
	// Alerts will be grouped together if the content of these fields match. This setting applies only when `type` is set to `contentBased`.
	Fields pulumi.StringArrayInput `pulumi:"fields"`
	// The duration in minutes within which to automatically group incoming alerts. This setting applies only when `type` is set to `time`. To continue grouping alerts until the incident is resolved, set this value to `0`.
	//
	// You may specify one optional `incidentUrgencyRule` block configuring what urgencies to use.
	// Your PagerDuty account must have the `urgencies` ability to assign an incident urgency rule.
	// The block contains the following arguments:
	Timeout pulumi.IntPtrInput `pulumi:"timeout"`
}

func (ServiceAlertGroupingParametersConfigArgs) ElementType

func (ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigOutput

func (i ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigOutput() ServiceAlertGroupingParametersConfigOutput

func (ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigOutputWithContext

func (i ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersConfigOutput

func (ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigPtrOutput

func (i ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigPtrOutput() ServiceAlertGroupingParametersConfigPtrOutput

func (ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigPtrOutputWithContext

func (i ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigPtrOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersConfigPtrOutput

type ServiceAlertGroupingParametersConfigInput

type ServiceAlertGroupingParametersConfigInput interface {
	pulumi.Input

	ToServiceAlertGroupingParametersConfigOutput() ServiceAlertGroupingParametersConfigOutput
	ToServiceAlertGroupingParametersConfigOutputWithContext(context.Context) ServiceAlertGroupingParametersConfigOutput
}

ServiceAlertGroupingParametersConfigInput is an input type that accepts ServiceAlertGroupingParametersConfigArgs and ServiceAlertGroupingParametersConfigOutput values. You can construct a concrete instance of `ServiceAlertGroupingParametersConfigInput` via:

ServiceAlertGroupingParametersConfigArgs{...}

type ServiceAlertGroupingParametersConfigOutput

type ServiceAlertGroupingParametersConfigOutput struct{ *pulumi.OutputState }

func (ServiceAlertGroupingParametersConfigOutput) Aggregate

One of `any` or `all`. This setting applies only when `type` is set to `contentBased`. Group alerts based on one or all of `fields` value(s).

func (ServiceAlertGroupingParametersConfigOutput) ElementType

func (ServiceAlertGroupingParametersConfigOutput) Fields

Alerts will be grouped together if the content of these fields match. This setting applies only when `type` is set to `contentBased`.

func (ServiceAlertGroupingParametersConfigOutput) Timeout

The duration in minutes within which to automatically group incoming alerts. This setting applies only when `type` is set to `time`. To continue grouping alerts until the incident is resolved, set this value to `0`.

You may specify one optional `incidentUrgencyRule` block configuring what urgencies to use. Your PagerDuty account must have the `urgencies` ability to assign an incident urgency rule. The block contains the following arguments:

func (ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigOutput

func (o ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigOutput() ServiceAlertGroupingParametersConfigOutput

func (ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigOutputWithContext

func (o ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersConfigOutput

func (ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigPtrOutput

func (o ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigPtrOutput() ServiceAlertGroupingParametersConfigPtrOutput

func (ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigPtrOutputWithContext

func (o ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigPtrOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersConfigPtrOutput

type ServiceAlertGroupingParametersConfigPtrInput

type ServiceAlertGroupingParametersConfigPtrInput interface {
	pulumi.Input

	ToServiceAlertGroupingParametersConfigPtrOutput() ServiceAlertGroupingParametersConfigPtrOutput
	ToServiceAlertGroupingParametersConfigPtrOutputWithContext(context.Context) ServiceAlertGroupingParametersConfigPtrOutput
}

ServiceAlertGroupingParametersConfigPtrInput is an input type that accepts ServiceAlertGroupingParametersConfigArgs, ServiceAlertGroupingParametersConfigPtr and ServiceAlertGroupingParametersConfigPtrOutput values. You can construct a concrete instance of `ServiceAlertGroupingParametersConfigPtrInput` via:

        ServiceAlertGroupingParametersConfigArgs{...}

or:

        nil

type ServiceAlertGroupingParametersConfigPtrOutput

type ServiceAlertGroupingParametersConfigPtrOutput struct{ *pulumi.OutputState }

func (ServiceAlertGroupingParametersConfigPtrOutput) Aggregate

One of `any` or `all`. This setting applies only when `type` is set to `contentBased`. Group alerts based on one or all of `fields` value(s).

func (ServiceAlertGroupingParametersConfigPtrOutput) Elem

func (ServiceAlertGroupingParametersConfigPtrOutput) ElementType

func (ServiceAlertGroupingParametersConfigPtrOutput) Fields

Alerts will be grouped together if the content of these fields match. This setting applies only when `type` is set to `contentBased`.

func (ServiceAlertGroupingParametersConfigPtrOutput) Timeout

The duration in minutes within which to automatically group incoming alerts. This setting applies only when `type` is set to `time`. To continue grouping alerts until the incident is resolved, set this value to `0`.

You may specify one optional `incidentUrgencyRule` block configuring what urgencies to use. Your PagerDuty account must have the `urgencies` ability to assign an incident urgency rule. The block contains the following arguments:

func (ServiceAlertGroupingParametersConfigPtrOutput) ToServiceAlertGroupingParametersConfigPtrOutput

func (o ServiceAlertGroupingParametersConfigPtrOutput) ToServiceAlertGroupingParametersConfigPtrOutput() ServiceAlertGroupingParametersConfigPtrOutput

func (ServiceAlertGroupingParametersConfigPtrOutput) ToServiceAlertGroupingParametersConfigPtrOutputWithContext

func (o ServiceAlertGroupingParametersConfigPtrOutput) ToServiceAlertGroupingParametersConfigPtrOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersConfigPtrOutput

type ServiceAlertGroupingParametersInput

type ServiceAlertGroupingParametersInput interface {
	pulumi.Input

	ToServiceAlertGroupingParametersOutput() ServiceAlertGroupingParametersOutput
	ToServiceAlertGroupingParametersOutputWithContext(context.Context) ServiceAlertGroupingParametersOutput
}

ServiceAlertGroupingParametersInput is an input type that accepts ServiceAlertGroupingParametersArgs and ServiceAlertGroupingParametersOutput values. You can construct a concrete instance of `ServiceAlertGroupingParametersInput` via:

ServiceAlertGroupingParametersArgs{...}

type ServiceAlertGroupingParametersOutput

type ServiceAlertGroupingParametersOutput struct{ *pulumi.OutputState }

func (ServiceAlertGroupingParametersOutput) Config

Alert grouping parameters dependent on `type`. If `type` is set to `intelligent` or empty then `config` can be empty.

func (ServiceAlertGroupingParametersOutput) ElementType

func (ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersOutput

func (o ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersOutput() ServiceAlertGroupingParametersOutput

func (ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersOutputWithContext

func (o ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersOutput

func (ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersPtrOutput

func (o ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersPtrOutput() ServiceAlertGroupingParametersPtrOutput

func (ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersPtrOutputWithContext

func (o ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersPtrOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersPtrOutput

func (ServiceAlertGroupingParametersOutput) Type

The type of alert grouping; one of `intelligent`, `time` or `contentBased`.

type ServiceAlertGroupingParametersPtrInput

type ServiceAlertGroupingParametersPtrInput interface {
	pulumi.Input

	ToServiceAlertGroupingParametersPtrOutput() ServiceAlertGroupingParametersPtrOutput
	ToServiceAlertGroupingParametersPtrOutputWithContext(context.Context) ServiceAlertGroupingParametersPtrOutput
}

ServiceAlertGroupingParametersPtrInput is an input type that accepts ServiceAlertGroupingParametersArgs, ServiceAlertGroupingParametersPtr and ServiceAlertGroupingParametersPtrOutput values. You can construct a concrete instance of `ServiceAlertGroupingParametersPtrInput` via:

        ServiceAlertGroupingParametersArgs{...}

or:

        nil

type ServiceAlertGroupingParametersPtrOutput

type ServiceAlertGroupingParametersPtrOutput struct{ *pulumi.OutputState }

func (ServiceAlertGroupingParametersPtrOutput) Config

Alert grouping parameters dependent on `type`. If `type` is set to `intelligent` or empty then `config` can be empty.

func (ServiceAlertGroupingParametersPtrOutput) Elem

func (ServiceAlertGroupingParametersPtrOutput) ElementType

func (ServiceAlertGroupingParametersPtrOutput) ToServiceAlertGroupingParametersPtrOutput

func (o ServiceAlertGroupingParametersPtrOutput) ToServiceAlertGroupingParametersPtrOutput() ServiceAlertGroupingParametersPtrOutput

func (ServiceAlertGroupingParametersPtrOutput) ToServiceAlertGroupingParametersPtrOutputWithContext

func (o ServiceAlertGroupingParametersPtrOutput) ToServiceAlertGroupingParametersPtrOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersPtrOutput

func (ServiceAlertGroupingParametersPtrOutput) Type

The type of alert grouping; one of `intelligent`, `time` or `contentBased`.

type ServiceArgs

type ServiceArgs struct {
	// Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the `"null"` string.  If not passed in, will default to '"1800"'.
	AcknowledgementTimeout pulumi.StringPtrInput
	// Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value "createIncidents" is default: events will create an incident that cannot be merged. Value "createAlertsAndIncidents" is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged. This option is recommended.
	AlertCreation pulumi.StringPtrInput
	// (Deprecated) Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident; If value is set to `time`: All alerts within a specified duration will be grouped into the same incident. This duration is set in the `alertGroupingTimeout` setting (described below). Available on Standard, Enterprise, and Event Intelligence plans; If value is set to `intelligent` - Alerts will be intelligently grouped based on a machine learning model that looks at the alert summary, timing, and the history of grouped alerts. Available on Enterprise and Event Intelligence plan. This field is deprecated, use `alert_grouping_parameters.type` instead,
	//
	// Deprecated: Use `alert_grouping_parameters.type`
	AlertGrouping pulumi.StringPtrInput
	// Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident.
	AlertGroupingParameters ServiceAlertGroupingParametersPtrInput
	// (Deprecated) The duration in minutes within which to automatically group incoming alerts. This setting applies only when `alertGrouping` is set to `time`. To continue grouping alerts until the incident is resolved, set this value to `0`. This field is deprecated, use `alert_grouping_parameters.config.timeout` instead,
	//
	// Deprecated: Use `alert_grouping_parameters.config.timeout`
	AlertGroupingTimeout pulumi.StringPtrInput
	// Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned [here](https://support.pagerduty.com/docs/auto-pause-incident-notifications).
	AutoPauseNotificationsParameters ServiceAutoPauseNotificationsParametersPtrInput
	// Time in seconds that an incident is automatically resolved if left open for that long. Disabled if set to the `"null"` string.
	AutoResolveTimeout pulumi.StringPtrInput
	Description        pulumi.StringPtrInput
	// The escalation policy used by this service.
	EscalationPolicy    pulumi.StringInput
	IncidentUrgencyRule ServiceIncidentUrgencyRulePtrInput
	// The name of the service.
	Name pulumi.StringPtrInput
	// The response play used by this service.
	ResponsePlay     pulumi.StringPtrInput
	ScheduledActions ServiceScheduledActionArrayInput
	SupportHours     ServiceSupportHoursPtrInput
}

The set of arguments for constructing a Service resource.

func (ServiceArgs) ElementType

func (ServiceArgs) ElementType() reflect.Type

type ServiceArray

type ServiceArray []ServiceInput

func (ServiceArray) ElementType

func (ServiceArray) ElementType() reflect.Type

func (ServiceArray) ToServiceArrayOutput

func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArray) ToServiceArrayOutputWithContext

func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceArrayInput

type ServiceArrayInput interface {
	pulumi.Input

	ToServiceArrayOutput() ServiceArrayOutput
	ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput
}

ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:

ServiceArray{ ServiceArgs{...} }

type ServiceArrayOutput

type ServiceArrayOutput struct{ *pulumi.OutputState }

func (ServiceArrayOutput) ElementType

func (ServiceArrayOutput) ElementType() reflect.Type

func (ServiceArrayOutput) Index

func (ServiceArrayOutput) ToServiceArrayOutput

func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArrayOutput) ToServiceArrayOutputWithContext

func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceAutoPauseNotificationsParameters added in v3.6.0

type ServiceAutoPauseNotificationsParameters struct {
	// Indicates whether alerts should be automatically suspended when identified as transient.  If not passed in, will default to 'false'.
	Enabled *bool `pulumi:"enabled"`
	// Indicates in seconds how long alerts should be suspended before triggering. Allowed values: `120`, `180`, `300`, `600`, `900` if `enabled` is `true`. Must be omitted or set to `null` if `enabled` is `false`.
	//
	// You may specify one optional `incidentUrgencyRule` block configuring what urgencies to use.
	// Your PagerDuty account must have the `urgencies` ability to assign an incident urgency rule.
	// The block contains the following arguments:
	Timeout *int `pulumi:"timeout"`
}

type ServiceAutoPauseNotificationsParametersArgs added in v3.6.0

type ServiceAutoPauseNotificationsParametersArgs struct {
	// Indicates whether alerts should be automatically suspended when identified as transient.  If not passed in, will default to 'false'.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// Indicates in seconds how long alerts should be suspended before triggering. Allowed values: `120`, `180`, `300`, `600`, `900` if `enabled` is `true`. Must be omitted or set to `null` if `enabled` is `false`.
	//
	// You may specify one optional `incidentUrgencyRule` block configuring what urgencies to use.
	// Your PagerDuty account must have the `urgencies` ability to assign an incident urgency rule.
	// The block contains the following arguments:
	Timeout pulumi.IntPtrInput `pulumi:"timeout"`
}

func (ServiceAutoPauseNotificationsParametersArgs) ElementType added in v3.6.0

func (ServiceAutoPauseNotificationsParametersArgs) ToServiceAutoPauseNotificationsParametersOutput added in v3.6.0

func (i ServiceAutoPauseNotificationsParametersArgs) ToServiceAutoPauseNotificationsParametersOutput() ServiceAutoPauseNotificationsParametersOutput

func (ServiceAutoPauseNotificationsParametersArgs) ToServiceAutoPauseNotificationsParametersOutputWithContext added in v3.6.0

func (i ServiceAutoPauseNotificationsParametersArgs) ToServiceAutoPauseNotificationsParametersOutputWithContext(ctx context.Context) ServiceAutoPauseNotificationsParametersOutput

func (ServiceAutoPauseNotificationsParametersArgs) ToServiceAutoPauseNotificationsParametersPtrOutput added in v3.6.0

func (i ServiceAutoPauseNotificationsParametersArgs) ToServiceAutoPauseNotificationsParametersPtrOutput() ServiceAutoPauseNotificationsParametersPtrOutput

func (ServiceAutoPauseNotificationsParametersArgs) ToServiceAutoPauseNotificationsParametersPtrOutputWithContext added in v3.6.0

func (i ServiceAutoPauseNotificationsParametersArgs) ToServiceAutoPauseNotificationsParametersPtrOutputWithContext(ctx context.Context) ServiceAutoPauseNotificationsParametersPtrOutput

type ServiceAutoPauseNotificationsParametersInput added in v3.6.0

type ServiceAutoPauseNotificationsParametersInput interface {
	pulumi.Input

	ToServiceAutoPauseNotificationsParametersOutput() ServiceAutoPauseNotificationsParametersOutput
	ToServiceAutoPauseNotificationsParametersOutputWithContext(context.Context) ServiceAutoPauseNotificationsParametersOutput
}

ServiceAutoPauseNotificationsParametersInput is an input type that accepts ServiceAutoPauseNotificationsParametersArgs and ServiceAutoPauseNotificationsParametersOutput values. You can construct a concrete instance of `ServiceAutoPauseNotificationsParametersInput` via:

ServiceAutoPauseNotificationsParametersArgs{...}

type ServiceAutoPauseNotificationsParametersOutput added in v3.6.0

type ServiceAutoPauseNotificationsParametersOutput struct{ *pulumi.OutputState }

func (ServiceAutoPauseNotificationsParametersOutput) ElementType added in v3.6.0

func (ServiceAutoPauseNotificationsParametersOutput) Enabled added in v3.6.0

Indicates whether alerts should be automatically suspended when identified as transient. If not passed in, will default to 'false'.

func (ServiceAutoPauseNotificationsParametersOutput) Timeout added in v3.6.0

Indicates in seconds how long alerts should be suspended before triggering. Allowed values: `120`, `180`, `300`, `600`, `900` if `enabled` is `true`. Must be omitted or set to `null` if `enabled` is `false`.

You may specify one optional `incidentUrgencyRule` block configuring what urgencies to use. Your PagerDuty account must have the `urgencies` ability to assign an incident urgency rule. The block contains the following arguments:

func (ServiceAutoPauseNotificationsParametersOutput) ToServiceAutoPauseNotificationsParametersOutput added in v3.6.0

func (o ServiceAutoPauseNotificationsParametersOutput) ToServiceAutoPauseNotificationsParametersOutput() ServiceAutoPauseNotificationsParametersOutput

func (ServiceAutoPauseNotificationsParametersOutput) ToServiceAutoPauseNotificationsParametersOutputWithContext added in v3.6.0

func (o ServiceAutoPauseNotificationsParametersOutput) ToServiceAutoPauseNotificationsParametersOutputWithContext(ctx context.Context) ServiceAutoPauseNotificationsParametersOutput

func (ServiceAutoPauseNotificationsParametersOutput) ToServiceAutoPauseNotificationsParametersPtrOutput added in v3.6.0

func (o ServiceAutoPauseNotificationsParametersOutput) ToServiceAutoPauseNotificationsParametersPtrOutput() ServiceAutoPauseNotificationsParametersPtrOutput

func (ServiceAutoPauseNotificationsParametersOutput) ToServiceAutoPauseNotificationsParametersPtrOutputWithContext added in v3.6.0

func (o ServiceAutoPauseNotificationsParametersOutput) ToServiceAutoPauseNotificationsParametersPtrOutputWithContext(ctx context.Context) ServiceAutoPauseNotificationsParametersPtrOutput

type ServiceAutoPauseNotificationsParametersPtrInput added in v3.6.0

type ServiceAutoPauseNotificationsParametersPtrInput interface {
	pulumi.Input

	ToServiceAutoPauseNotificationsParametersPtrOutput() ServiceAutoPauseNotificationsParametersPtrOutput
	ToServiceAutoPauseNotificationsParametersPtrOutputWithContext(context.Context) ServiceAutoPauseNotificationsParametersPtrOutput
}

ServiceAutoPauseNotificationsParametersPtrInput is an input type that accepts ServiceAutoPauseNotificationsParametersArgs, ServiceAutoPauseNotificationsParametersPtr and ServiceAutoPauseNotificationsParametersPtrOutput values. You can construct a concrete instance of `ServiceAutoPauseNotificationsParametersPtrInput` via:

        ServiceAutoPauseNotificationsParametersArgs{...}

or:

        nil

type ServiceAutoPauseNotificationsParametersPtrOutput added in v3.6.0

type ServiceAutoPauseNotificationsParametersPtrOutput struct{ *pulumi.OutputState }

func (ServiceAutoPauseNotificationsParametersPtrOutput) Elem added in v3.6.0

func (ServiceAutoPauseNotificationsParametersPtrOutput) ElementType added in v3.6.0

func (ServiceAutoPauseNotificationsParametersPtrOutput) Enabled added in v3.6.0

Indicates whether alerts should be automatically suspended when identified as transient. If not passed in, will default to 'false'.

func (ServiceAutoPauseNotificationsParametersPtrOutput) Timeout added in v3.6.0

Indicates in seconds how long alerts should be suspended before triggering. Allowed values: `120`, `180`, `300`, `600`, `900` if `enabled` is `true`. Must be omitted or set to `null` if `enabled` is `false`.

You may specify one optional `incidentUrgencyRule` block configuring what urgencies to use. Your PagerDuty account must have the `urgencies` ability to assign an incident urgency rule. The block contains the following arguments:

func (ServiceAutoPauseNotificationsParametersPtrOutput) ToServiceAutoPauseNotificationsParametersPtrOutput added in v3.6.0

func (o ServiceAutoPauseNotificationsParametersPtrOutput) ToServiceAutoPauseNotificationsParametersPtrOutput() ServiceAutoPauseNotificationsParametersPtrOutput

func (ServiceAutoPauseNotificationsParametersPtrOutput) ToServiceAutoPauseNotificationsParametersPtrOutputWithContext added in v3.6.0

func (o ServiceAutoPauseNotificationsParametersPtrOutput) ToServiceAutoPauseNotificationsParametersPtrOutputWithContext(ctx context.Context) ServiceAutoPauseNotificationsParametersPtrOutput

type ServiceDependency

type ServiceDependency struct {
	pulumi.CustomResourceState

	// The relationship between the `supportingService` and `dependentService`. One and only one dependency block must be defined.
	Dependency ServiceDependencyDependencyOutput `pulumi:"dependency"`
}

A [service dependency](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE5Mg-associate-service-dependencies) is a relationship between two services that this service uses, or that are used by this service, and are critical for successful operation.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewServiceDependency(ctx, "foo", &pagerduty.ServiceDependencyArgs{
			Dependency: &pagerduty.ServiceDependencyDependencyArgs{
				DependentServices: pagerduty.ServiceDependencyDependencyDependentServiceArray{
					&pagerduty.ServiceDependencyDependencyDependentServiceArgs{
						Id:   pulumi.Any(pagerduty_business_service.Foo.Id),
						Type: pulumi.Any(pagerduty_business_service.Foo.Type),
					},
				},
				SupportingServices: pagerduty.ServiceDependencyDependencySupportingServiceArray{
					&pagerduty.ServiceDependencyDependencySupportingServiceArgs{
						Id:   pulumi.Any(pagerduty_service.Foo.Id),
						Type: pulumi.Any(pagerduty_service.Foo.Type),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewServiceDependency(ctx, "bar", &pagerduty.ServiceDependencyArgs{
			Dependency: &pagerduty.ServiceDependencyDependencyArgs{
				DependentServices: pagerduty.ServiceDependencyDependencyDependentServiceArray{
					&pagerduty.ServiceDependencyDependencyDependentServiceArgs{
						Id:   pulumi.Any(pagerduty_business_service.Foo.Id),
						Type: pulumi.Any(pagerduty_business_service.Foo.Type),
					},
				},
				SupportingServices: pagerduty.ServiceDependencyDependencySupportingServiceArray{
					&pagerduty.ServiceDependencyDependencySupportingServiceArgs{
						Id:   pulumi.Any(pagerduty_service.Two.Id),
						Type: pulumi.Any(pagerduty_service.Two.Type),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Service dependencies can be imported using the related supporting service id, supporting service type (`business_service` or `service`) and the dependency id separated by a dot, e.g.

```sh

$ pulumi import pagerduty:index/serviceDependency:ServiceDependency main P4B2Z7G.business_service.D5RTHKRNGU4PYE90PJ

```

func GetServiceDependency

func GetServiceDependency(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceDependencyState, opts ...pulumi.ResourceOption) (*ServiceDependency, error)

GetServiceDependency gets an existing ServiceDependency resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServiceDependency

func NewServiceDependency(ctx *pulumi.Context,
	name string, args *ServiceDependencyArgs, opts ...pulumi.ResourceOption) (*ServiceDependency, error)

NewServiceDependency registers a new resource with the given unique name, arguments, and options.

func (*ServiceDependency) ElementType

func (*ServiceDependency) ElementType() reflect.Type

func (*ServiceDependency) ToServiceDependencyOutput

func (i *ServiceDependency) ToServiceDependencyOutput() ServiceDependencyOutput

func (*ServiceDependency) ToServiceDependencyOutputWithContext

func (i *ServiceDependency) ToServiceDependencyOutputWithContext(ctx context.Context) ServiceDependencyOutput

type ServiceDependencyArgs

type ServiceDependencyArgs struct {
	// The relationship between the `supportingService` and `dependentService`. One and only one dependency block must be defined.
	Dependency ServiceDependencyDependencyInput
}

The set of arguments for constructing a ServiceDependency resource.

func (ServiceDependencyArgs) ElementType

func (ServiceDependencyArgs) ElementType() reflect.Type

type ServiceDependencyArray

type ServiceDependencyArray []ServiceDependencyInput

func (ServiceDependencyArray) ElementType

func (ServiceDependencyArray) ElementType() reflect.Type

func (ServiceDependencyArray) ToServiceDependencyArrayOutput

func (i ServiceDependencyArray) ToServiceDependencyArrayOutput() ServiceDependencyArrayOutput

func (ServiceDependencyArray) ToServiceDependencyArrayOutputWithContext

func (i ServiceDependencyArray) ToServiceDependencyArrayOutputWithContext(ctx context.Context) ServiceDependencyArrayOutput

type ServiceDependencyArrayInput

type ServiceDependencyArrayInput interface {
	pulumi.Input

	ToServiceDependencyArrayOutput() ServiceDependencyArrayOutput
	ToServiceDependencyArrayOutputWithContext(context.Context) ServiceDependencyArrayOutput
}

ServiceDependencyArrayInput is an input type that accepts ServiceDependencyArray and ServiceDependencyArrayOutput values. You can construct a concrete instance of `ServiceDependencyArrayInput` via:

ServiceDependencyArray{ ServiceDependencyArgs{...} }

type ServiceDependencyArrayOutput

type ServiceDependencyArrayOutput struct{ *pulumi.OutputState }

func (ServiceDependencyArrayOutput) ElementType

func (ServiceDependencyArrayOutput) Index

func (ServiceDependencyArrayOutput) ToServiceDependencyArrayOutput

func (o ServiceDependencyArrayOutput) ToServiceDependencyArrayOutput() ServiceDependencyArrayOutput

func (ServiceDependencyArrayOutput) ToServiceDependencyArrayOutputWithContext

func (o ServiceDependencyArrayOutput) ToServiceDependencyArrayOutputWithContext(ctx context.Context) ServiceDependencyArrayOutput

type ServiceDependencyDependency

type ServiceDependencyDependency struct {
	// The service that dependents on the supporting service. Dependency dependent service documented below.
	DependentServices []ServiceDependencyDependencyDependentService `pulumi:"dependentServices"`
	// The service that supports the dependent service. Dependency supporting service documented below.
	SupportingServices []ServiceDependencyDependencySupportingService `pulumi:"supportingServices"`
	// Can be `businessService`,  `service`, `businessServiceReference` or `technicalServiceReference`.
	Type *string `pulumi:"type"`
}

type ServiceDependencyDependencyArgs

type ServiceDependencyDependencyArgs struct {
	// The service that dependents on the supporting service. Dependency dependent service documented below.
	DependentServices ServiceDependencyDependencyDependentServiceArrayInput `pulumi:"dependentServices"`
	// The service that supports the dependent service. Dependency supporting service documented below.
	SupportingServices ServiceDependencyDependencySupportingServiceArrayInput `pulumi:"supportingServices"`
	// Can be `businessService`,  `service`, `businessServiceReference` or `technicalServiceReference`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ServiceDependencyDependencyArgs) ElementType

func (ServiceDependencyDependencyArgs) ToServiceDependencyDependencyOutput

func (i ServiceDependencyDependencyArgs) ToServiceDependencyDependencyOutput() ServiceDependencyDependencyOutput

func (ServiceDependencyDependencyArgs) ToServiceDependencyDependencyOutputWithContext

func (i ServiceDependencyDependencyArgs) ToServiceDependencyDependencyOutputWithContext(ctx context.Context) ServiceDependencyDependencyOutput

func (ServiceDependencyDependencyArgs) ToServiceDependencyDependencyPtrOutput

func (i ServiceDependencyDependencyArgs) ToServiceDependencyDependencyPtrOutput() ServiceDependencyDependencyPtrOutput

func (ServiceDependencyDependencyArgs) ToServiceDependencyDependencyPtrOutputWithContext

func (i ServiceDependencyDependencyArgs) ToServiceDependencyDependencyPtrOutputWithContext(ctx context.Context) ServiceDependencyDependencyPtrOutput

type ServiceDependencyDependencyDependentService

type ServiceDependencyDependencyDependentService struct {
	// The ID of the service dependency.
	Id string `pulumi:"id"`
	// Can be `businessService`,  `service`, `businessServiceReference` or `technicalServiceReference`.
	Type string `pulumi:"type"`
}

type ServiceDependencyDependencyDependentServiceArgs

type ServiceDependencyDependencyDependentServiceArgs struct {
	// The ID of the service dependency.
	Id pulumi.StringInput `pulumi:"id"`
	// Can be `businessService`,  `service`, `businessServiceReference` or `technicalServiceReference`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ServiceDependencyDependencyDependentServiceArgs) ElementType

func (ServiceDependencyDependencyDependentServiceArgs) ToServiceDependencyDependencyDependentServiceOutput

func (i ServiceDependencyDependencyDependentServiceArgs) ToServiceDependencyDependencyDependentServiceOutput() ServiceDependencyDependencyDependentServiceOutput

func (ServiceDependencyDependencyDependentServiceArgs) ToServiceDependencyDependencyDependentServiceOutputWithContext

func (i ServiceDependencyDependencyDependentServiceArgs) ToServiceDependencyDependencyDependentServiceOutputWithContext(ctx context.Context) ServiceDependencyDependencyDependentServiceOutput

type ServiceDependencyDependencyDependentServiceArray

type ServiceDependencyDependencyDependentServiceArray []ServiceDependencyDependencyDependentServiceInput

func (ServiceDependencyDependencyDependentServiceArray) ElementType

func (ServiceDependencyDependencyDependentServiceArray) ToServiceDependencyDependencyDependentServiceArrayOutput

func (i ServiceDependencyDependencyDependentServiceArray) ToServiceDependencyDependencyDependentServiceArrayOutput() ServiceDependencyDependencyDependentServiceArrayOutput

func (ServiceDependencyDependencyDependentServiceArray) ToServiceDependencyDependencyDependentServiceArrayOutputWithContext

func (i ServiceDependencyDependencyDependentServiceArray) ToServiceDependencyDependencyDependentServiceArrayOutputWithContext(ctx context.Context) ServiceDependencyDependencyDependentServiceArrayOutput

type ServiceDependencyDependencyDependentServiceArrayInput

type ServiceDependencyDependencyDependentServiceArrayInput interface {
	pulumi.Input

	ToServiceDependencyDependencyDependentServiceArrayOutput() ServiceDependencyDependencyDependentServiceArrayOutput
	ToServiceDependencyDependencyDependentServiceArrayOutputWithContext(context.Context) ServiceDependencyDependencyDependentServiceArrayOutput
}

ServiceDependencyDependencyDependentServiceArrayInput is an input type that accepts ServiceDependencyDependencyDependentServiceArray and ServiceDependencyDependencyDependentServiceArrayOutput values. You can construct a concrete instance of `ServiceDependencyDependencyDependentServiceArrayInput` via:

ServiceDependencyDependencyDependentServiceArray{ ServiceDependencyDependencyDependentServiceArgs{...} }

type ServiceDependencyDependencyDependentServiceArrayOutput

type ServiceDependencyDependencyDependentServiceArrayOutput struct{ *pulumi.OutputState }

func (ServiceDependencyDependencyDependentServiceArrayOutput) ElementType

func (ServiceDependencyDependencyDependentServiceArrayOutput) Index

func (ServiceDependencyDependencyDependentServiceArrayOutput) ToServiceDependencyDependencyDependentServiceArrayOutput

func (ServiceDependencyDependencyDependentServiceArrayOutput) ToServiceDependencyDependencyDependentServiceArrayOutputWithContext

func (o ServiceDependencyDependencyDependentServiceArrayOutput) ToServiceDependencyDependencyDependentServiceArrayOutputWithContext(ctx context.Context) ServiceDependencyDependencyDependentServiceArrayOutput

type ServiceDependencyDependencyDependentServiceInput

type ServiceDependencyDependencyDependentServiceInput interface {
	pulumi.Input

	ToServiceDependencyDependencyDependentServiceOutput() ServiceDependencyDependencyDependentServiceOutput
	ToServiceDependencyDependencyDependentServiceOutputWithContext(context.Context) ServiceDependencyDependencyDependentServiceOutput
}

ServiceDependencyDependencyDependentServiceInput is an input type that accepts ServiceDependencyDependencyDependentServiceArgs and ServiceDependencyDependencyDependentServiceOutput values. You can construct a concrete instance of `ServiceDependencyDependencyDependentServiceInput` via:

ServiceDependencyDependencyDependentServiceArgs{...}

type ServiceDependencyDependencyDependentServiceOutput

type ServiceDependencyDependencyDependentServiceOutput struct{ *pulumi.OutputState }

func (ServiceDependencyDependencyDependentServiceOutput) ElementType

func (ServiceDependencyDependencyDependentServiceOutput) Id

The ID of the service dependency.

func (ServiceDependencyDependencyDependentServiceOutput) ToServiceDependencyDependencyDependentServiceOutput

func (o ServiceDependencyDependencyDependentServiceOutput) ToServiceDependencyDependencyDependentServiceOutput() ServiceDependencyDependencyDependentServiceOutput

func (ServiceDependencyDependencyDependentServiceOutput) ToServiceDependencyDependencyDependentServiceOutputWithContext

func (o ServiceDependencyDependencyDependentServiceOutput) ToServiceDependencyDependencyDependentServiceOutputWithContext(ctx context.Context) ServiceDependencyDependencyDependentServiceOutput

func (ServiceDependencyDependencyDependentServiceOutput) Type

Can be `businessService`, `service`, `businessServiceReference` or `technicalServiceReference`.

type ServiceDependencyDependencyInput

type ServiceDependencyDependencyInput interface {
	pulumi.Input

	ToServiceDependencyDependencyOutput() ServiceDependencyDependencyOutput
	ToServiceDependencyDependencyOutputWithContext(context.Context) ServiceDependencyDependencyOutput
}

ServiceDependencyDependencyInput is an input type that accepts ServiceDependencyDependencyArgs and ServiceDependencyDependencyOutput values. You can construct a concrete instance of `ServiceDependencyDependencyInput` via:

ServiceDependencyDependencyArgs{...}

type ServiceDependencyDependencyOutput

type ServiceDependencyDependencyOutput struct{ *pulumi.OutputState }

func (ServiceDependencyDependencyOutput) DependentServices

The service that dependents on the supporting service. Dependency dependent service documented below.

func (ServiceDependencyDependencyOutput) ElementType

func (ServiceDependencyDependencyOutput) SupportingServices

The service that supports the dependent service. Dependency supporting service documented below.

func (ServiceDependencyDependencyOutput) ToServiceDependencyDependencyOutput

func (o ServiceDependencyDependencyOutput) ToServiceDependencyDependencyOutput() ServiceDependencyDependencyOutput

func (ServiceDependencyDependencyOutput) ToServiceDependencyDependencyOutputWithContext

func (o ServiceDependencyDependencyOutput) ToServiceDependencyDependencyOutputWithContext(ctx context.Context) ServiceDependencyDependencyOutput

func (ServiceDependencyDependencyOutput) ToServiceDependencyDependencyPtrOutput

func (o ServiceDependencyDependencyOutput) ToServiceDependencyDependencyPtrOutput() ServiceDependencyDependencyPtrOutput

func (ServiceDependencyDependencyOutput) ToServiceDependencyDependencyPtrOutputWithContext

func (o ServiceDependencyDependencyOutput) ToServiceDependencyDependencyPtrOutputWithContext(ctx context.Context) ServiceDependencyDependencyPtrOutput

func (ServiceDependencyDependencyOutput) Type

Can be `businessService`, `service`, `businessServiceReference` or `technicalServiceReference`.

type ServiceDependencyDependencyPtrInput

type ServiceDependencyDependencyPtrInput interface {
	pulumi.Input

	ToServiceDependencyDependencyPtrOutput() ServiceDependencyDependencyPtrOutput
	ToServiceDependencyDependencyPtrOutputWithContext(context.Context) ServiceDependencyDependencyPtrOutput
}

ServiceDependencyDependencyPtrInput is an input type that accepts ServiceDependencyDependencyArgs, ServiceDependencyDependencyPtr and ServiceDependencyDependencyPtrOutput values. You can construct a concrete instance of `ServiceDependencyDependencyPtrInput` via:

        ServiceDependencyDependencyArgs{...}

or:

        nil

type ServiceDependencyDependencyPtrOutput

type ServiceDependencyDependencyPtrOutput struct{ *pulumi.OutputState }

func (ServiceDependencyDependencyPtrOutput) DependentServices

The service that dependents on the supporting service. Dependency dependent service documented below.

func (ServiceDependencyDependencyPtrOutput) Elem

func (ServiceDependencyDependencyPtrOutput) ElementType

func (ServiceDependencyDependencyPtrOutput) SupportingServices

The service that supports the dependent service. Dependency supporting service documented below.

func (ServiceDependencyDependencyPtrOutput) ToServiceDependencyDependencyPtrOutput

func (o ServiceDependencyDependencyPtrOutput) ToServiceDependencyDependencyPtrOutput() ServiceDependencyDependencyPtrOutput

func (ServiceDependencyDependencyPtrOutput) ToServiceDependencyDependencyPtrOutputWithContext

func (o ServiceDependencyDependencyPtrOutput) ToServiceDependencyDependencyPtrOutputWithContext(ctx context.Context) ServiceDependencyDependencyPtrOutput

func (ServiceDependencyDependencyPtrOutput) Type

Can be `businessService`, `service`, `businessServiceReference` or `technicalServiceReference`.

type ServiceDependencyDependencySupportingService

type ServiceDependencyDependencySupportingService struct {
	// The ID of the service dependency.
	Id string `pulumi:"id"`
	// Can be `businessService`,  `service`, `businessServiceReference` or `technicalServiceReference`.
	Type string `pulumi:"type"`
}

type ServiceDependencyDependencySupportingServiceArgs

type ServiceDependencyDependencySupportingServiceArgs struct {
	// The ID of the service dependency.
	Id pulumi.StringInput `pulumi:"id"`
	// Can be `businessService`,  `service`, `businessServiceReference` or `technicalServiceReference`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ServiceDependencyDependencySupportingServiceArgs) ElementType

func (ServiceDependencyDependencySupportingServiceArgs) ToServiceDependencyDependencySupportingServiceOutput

func (i ServiceDependencyDependencySupportingServiceArgs) ToServiceDependencyDependencySupportingServiceOutput() ServiceDependencyDependencySupportingServiceOutput

func (ServiceDependencyDependencySupportingServiceArgs) ToServiceDependencyDependencySupportingServiceOutputWithContext

func (i ServiceDependencyDependencySupportingServiceArgs) ToServiceDependencyDependencySupportingServiceOutputWithContext(ctx context.Context) ServiceDependencyDependencySupportingServiceOutput

type ServiceDependencyDependencySupportingServiceArray

type ServiceDependencyDependencySupportingServiceArray []ServiceDependencyDependencySupportingServiceInput

func (ServiceDependencyDependencySupportingServiceArray) ElementType

func (ServiceDependencyDependencySupportingServiceArray) ToServiceDependencyDependencySupportingServiceArrayOutput

func (i ServiceDependencyDependencySupportingServiceArray) ToServiceDependencyDependencySupportingServiceArrayOutput() ServiceDependencyDependencySupportingServiceArrayOutput

func (ServiceDependencyDependencySupportingServiceArray) ToServiceDependencyDependencySupportingServiceArrayOutputWithContext

func (i ServiceDependencyDependencySupportingServiceArray) ToServiceDependencyDependencySupportingServiceArrayOutputWithContext(ctx context.Context) ServiceDependencyDependencySupportingServiceArrayOutput

type ServiceDependencyDependencySupportingServiceArrayInput

type ServiceDependencyDependencySupportingServiceArrayInput interface {
	pulumi.Input

	ToServiceDependencyDependencySupportingServiceArrayOutput() ServiceDependencyDependencySupportingServiceArrayOutput
	ToServiceDependencyDependencySupportingServiceArrayOutputWithContext(context.Context) ServiceDependencyDependencySupportingServiceArrayOutput
}

ServiceDependencyDependencySupportingServiceArrayInput is an input type that accepts ServiceDependencyDependencySupportingServiceArray and ServiceDependencyDependencySupportingServiceArrayOutput values. You can construct a concrete instance of `ServiceDependencyDependencySupportingServiceArrayInput` via:

ServiceDependencyDependencySupportingServiceArray{ ServiceDependencyDependencySupportingServiceArgs{...} }

type ServiceDependencyDependencySupportingServiceArrayOutput

type ServiceDependencyDependencySupportingServiceArrayOutput struct{ *pulumi.OutputState }

func (ServiceDependencyDependencySupportingServiceArrayOutput) ElementType

func (ServiceDependencyDependencySupportingServiceArrayOutput) Index

func (ServiceDependencyDependencySupportingServiceArrayOutput) ToServiceDependencyDependencySupportingServiceArrayOutput

func (ServiceDependencyDependencySupportingServiceArrayOutput) ToServiceDependencyDependencySupportingServiceArrayOutputWithContext

func (o ServiceDependencyDependencySupportingServiceArrayOutput) ToServiceDependencyDependencySupportingServiceArrayOutputWithContext(ctx context.Context) ServiceDependencyDependencySupportingServiceArrayOutput

type ServiceDependencyDependencySupportingServiceInput

type ServiceDependencyDependencySupportingServiceInput interface {
	pulumi.Input

	ToServiceDependencyDependencySupportingServiceOutput() ServiceDependencyDependencySupportingServiceOutput
	ToServiceDependencyDependencySupportingServiceOutputWithContext(context.Context) ServiceDependencyDependencySupportingServiceOutput
}

ServiceDependencyDependencySupportingServiceInput is an input type that accepts ServiceDependencyDependencySupportingServiceArgs and ServiceDependencyDependencySupportingServiceOutput values. You can construct a concrete instance of `ServiceDependencyDependencySupportingServiceInput` via:

ServiceDependencyDependencySupportingServiceArgs{...}

type ServiceDependencyDependencySupportingServiceOutput

type ServiceDependencyDependencySupportingServiceOutput struct{ *pulumi.OutputState }

func (ServiceDependencyDependencySupportingServiceOutput) ElementType

func (ServiceDependencyDependencySupportingServiceOutput) Id

The ID of the service dependency.

func (ServiceDependencyDependencySupportingServiceOutput) ToServiceDependencyDependencySupportingServiceOutput

func (o ServiceDependencyDependencySupportingServiceOutput) ToServiceDependencyDependencySupportingServiceOutput() ServiceDependencyDependencySupportingServiceOutput

func (ServiceDependencyDependencySupportingServiceOutput) ToServiceDependencyDependencySupportingServiceOutputWithContext

func (o ServiceDependencyDependencySupportingServiceOutput) ToServiceDependencyDependencySupportingServiceOutputWithContext(ctx context.Context) ServiceDependencyDependencySupportingServiceOutput

func (ServiceDependencyDependencySupportingServiceOutput) Type

Can be `businessService`, `service`, `businessServiceReference` or `technicalServiceReference`.

type ServiceDependencyInput

type ServiceDependencyInput interface {
	pulumi.Input

	ToServiceDependencyOutput() ServiceDependencyOutput
	ToServiceDependencyOutputWithContext(ctx context.Context) ServiceDependencyOutput
}

type ServiceDependencyMap

type ServiceDependencyMap map[string]ServiceDependencyInput

func (ServiceDependencyMap) ElementType

func (ServiceDependencyMap) ElementType() reflect.Type

func (ServiceDependencyMap) ToServiceDependencyMapOutput

func (i ServiceDependencyMap) ToServiceDependencyMapOutput() ServiceDependencyMapOutput

func (ServiceDependencyMap) ToServiceDependencyMapOutputWithContext

func (i ServiceDependencyMap) ToServiceDependencyMapOutputWithContext(ctx context.Context) ServiceDependencyMapOutput

type ServiceDependencyMapInput

type ServiceDependencyMapInput interface {
	pulumi.Input

	ToServiceDependencyMapOutput() ServiceDependencyMapOutput
	ToServiceDependencyMapOutputWithContext(context.Context) ServiceDependencyMapOutput
}

ServiceDependencyMapInput is an input type that accepts ServiceDependencyMap and ServiceDependencyMapOutput values. You can construct a concrete instance of `ServiceDependencyMapInput` via:

ServiceDependencyMap{ "key": ServiceDependencyArgs{...} }

type ServiceDependencyMapOutput

type ServiceDependencyMapOutput struct{ *pulumi.OutputState }

func (ServiceDependencyMapOutput) ElementType

func (ServiceDependencyMapOutput) ElementType() reflect.Type

func (ServiceDependencyMapOutput) MapIndex

func (ServiceDependencyMapOutput) ToServiceDependencyMapOutput

func (o ServiceDependencyMapOutput) ToServiceDependencyMapOutput() ServiceDependencyMapOutput

func (ServiceDependencyMapOutput) ToServiceDependencyMapOutputWithContext

func (o ServiceDependencyMapOutput) ToServiceDependencyMapOutputWithContext(ctx context.Context) ServiceDependencyMapOutput

type ServiceDependencyOutput

type ServiceDependencyOutput struct{ *pulumi.OutputState }

func (ServiceDependencyOutput) Dependency added in v3.5.1

The relationship between the `supportingService` and `dependentService`. One and only one dependency block must be defined.

func (ServiceDependencyOutput) ElementType

func (ServiceDependencyOutput) ElementType() reflect.Type

func (ServiceDependencyOutput) ToServiceDependencyOutput

func (o ServiceDependencyOutput) ToServiceDependencyOutput() ServiceDependencyOutput

func (ServiceDependencyOutput) ToServiceDependencyOutputWithContext

func (o ServiceDependencyOutput) ToServiceDependencyOutputWithContext(ctx context.Context) ServiceDependencyOutput

type ServiceDependencyState

type ServiceDependencyState struct {
	// The relationship between the `supportingService` and `dependentService`. One and only one dependency block must be defined.
	Dependency ServiceDependencyDependencyPtrInput
}

func (ServiceDependencyState) ElementType

func (ServiceDependencyState) ElementType() reflect.Type

type ServiceEventRule

type ServiceEventRule struct {
	pulumi.CustomResourceState

	// Actions to apply to an event if the conditions match.
	Actions ServiceEventRuleActionsPtrOutput `pulumi:"actions"`
	// Conditions evaluated to check if an event matches this event rule.
	Conditions ServiceEventRuleConditionsPtrOutput `pulumi:"conditions"`
	// Indicates whether the rule is disabled and would therefore not be evaluated.
	Disabled pulumi.BoolPtrOutput `pulumi:"disabled"`
	// Position/index of the rule within the service.
	Position pulumi.IntPtrOutput `pulumi:"position"`
	// The ID of the service that the rule belongs to.
	Service pulumi.StringOutput `pulumi:"service"`
	// Settings for [scheduling the rule](https://support.pagerduty.com/docs/rulesets#section-scheduled-event-rules).
	TimeFrame ServiceEventRuleTimeFramePtrOutput `pulumi:"timeFrame"`
	// Populate variables from event payloads and use those variables in other event actions. *NOTE: A rule can have multiple `variable` objects.*
	Variables ServiceEventRuleVariableArrayOutput `pulumi:"variables"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := pagerduty.NewService(ctx, "example", &pagerduty.ServiceArgs{
			AutoResolveTimeout:     pulumi.String("14400"),
			AcknowledgementTimeout: pulumi.String("600"),
			EscalationPolicy:       pulumi.Any(pagerduty_escalation_policy.Example.Id),
			AlertCreation:          pulumi.String("create_alerts_and_incidents"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewServiceEventRule(ctx, "foo", &pagerduty.ServiceEventRuleArgs{
			Service:  example.ID(),
			Position: pulumi.Int(0),
			Disabled: pulumi.Bool(true),
			Conditions: &pagerduty.ServiceEventRuleConditionsArgs{
				Operator: pulumi.String("and"),
				Subconditions: pagerduty.ServiceEventRuleConditionsSubconditionArray{
					&pagerduty.ServiceEventRuleConditionsSubconditionArgs{
						Operator: pulumi.String("contains"),
						Parameters: pagerduty.ServiceEventRuleConditionsSubconditionParameterArray{
							&pagerduty.ServiceEventRuleConditionsSubconditionParameterArgs{
								Value: pulumi.String("disk space"),
								Path:  pulumi.String("summary"),
							},
						},
					},
				},
			},
			Variables: pagerduty.ServiceEventRuleVariableArray{
				&pagerduty.ServiceEventRuleVariableArgs{
					Type: pulumi.String("regex"),
					Name: pulumi.String("Src"),
					Parameters: pagerduty.ServiceEventRuleVariableParameterArray{
						&pagerduty.ServiceEventRuleVariableParameterArgs{
							Value: pulumi.String("(.*)"),
							Path:  pulumi.String("source"),
						},
					},
				},
			},
			Actions: &pagerduty.ServiceEventRuleActionsArgs{
				Annotates: pagerduty.ServiceEventRuleActionsAnnotateArray{
					&pagerduty.ServiceEventRuleActionsAnnotateArgs{
						Value: pulumi.String("From Terraform"),
					},
				},
				Extractions: pagerduty.ServiceEventRuleActionsExtractionArray{
					&pagerduty.ServiceEventRuleActionsExtractionArgs{
						Target: pulumi.String("dedup_key"),
						Source: pulumi.String("source"),
						Regex:  pulumi.String("(.*)"),
					},
					&pagerduty.ServiceEventRuleActionsExtractionArgs{
						Target:   pulumi.String("summary"),
						Template: pulumi.String("Warning: Disk Space Low on {{Src}}"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewServiceEventRule(ctx, "bar", &pagerduty.ServiceEventRuleArgs{
			Service:  pulumi.Any(pagerduty_service.Foo.Id),
			Position: pulumi.Int(1),
			Disabled: pulumi.Bool(true),
			Conditions: &pagerduty.ServiceEventRuleConditionsArgs{
				Operator: pulumi.String("and"),
				Subconditions: pagerduty.ServiceEventRuleConditionsSubconditionArray{
					&pagerduty.ServiceEventRuleConditionsSubconditionArgs{
						Operator: pulumi.String("contains"),
						Parameters: pagerduty.ServiceEventRuleConditionsSubconditionParameterArray{
							&pagerduty.ServiceEventRuleConditionsSubconditionParameterArgs{
								Value: pulumi.String("cpu spike"),
								Path:  pulumi.String("summary"),
							},
						},
					},
				},
			},
			Actions: &pagerduty.ServiceEventRuleActionsArgs{
				Annotates: pagerduty.ServiceEventRuleActionsAnnotateArray{
					&pagerduty.ServiceEventRuleActionsAnnotateArgs{
						Value: pulumi.String("From Terraform"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Service event rules can be imported using using the related `service` id and the `service_event_rule` id separated by a dot, e.g.

```sh

$ pulumi import pagerduty:index/serviceEventRule:ServiceEventRule main a19cdca1-3d5e-4b52-bfea-8c8de04da243.19acac92-027a-4ea0-b06c-bbf516519601

```

func GetServiceEventRule

func GetServiceEventRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEventRuleState, opts ...pulumi.ResourceOption) (*ServiceEventRule, error)

GetServiceEventRule gets an existing ServiceEventRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServiceEventRule

func NewServiceEventRule(ctx *pulumi.Context,
	name string, args *ServiceEventRuleArgs, opts ...pulumi.ResourceOption) (*ServiceEventRule, error)

NewServiceEventRule registers a new resource with the given unique name, arguments, and options.

func (*ServiceEventRule) ElementType

func (*ServiceEventRule) ElementType() reflect.Type

func (*ServiceEventRule) ToServiceEventRuleOutput

func (i *ServiceEventRule) ToServiceEventRuleOutput() ServiceEventRuleOutput

func (*ServiceEventRule) ToServiceEventRuleOutputWithContext

func (i *ServiceEventRule) ToServiceEventRuleOutputWithContext(ctx context.Context) ServiceEventRuleOutput

type ServiceEventRuleActions

type ServiceEventRuleActions struct {
	// Note added to the event.
	Annotates []ServiceEventRuleActionsAnnotate `pulumi:"annotates"`
	// An object with a single `value` field. The value sets whether the resulting alert status is `trigger` or `resolve`.
	EventActions []ServiceEventRuleActionsEventAction `pulumi:"eventActions"`
	// Allows you to copy important data from one event field to another. Extraction objects may use *either* of the following field structures:
	Extractions []ServiceEventRuleActionsExtraction `pulumi:"extractions"`
	// The ID of the priority applied to the event.
	Priorities []ServiceEventRuleActionsPriority `pulumi:"priorities"`
	// The [severity level](https://support.pagerduty.com/docs/rulesets#section-set-severity-with-event-rules) of the event. Can be either `info`,`error`,`warning`, or `critical`.
	Severities []ServiceEventRuleActionsSeverity `pulumi:"severities"`
	// Controls whether an alert is [suppressed](https://support.pagerduty.com/docs/rulesets#section-suppress-but-create-triggering-thresholds-with-event-rules) (does not create an incident).
	Suppresses []ServiceEventRuleActionsSuppress `pulumi:"suppresses"`
	// An object with a single `value` field. The value sets the length of time to suspend the resulting alert before triggering.
	Suspends []ServiceEventRuleActionsSuspend `pulumi:"suspends"`
}

type ServiceEventRuleActionsAnnotate

type ServiceEventRuleActionsAnnotate struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value *string `pulumi:"value"`
}

type ServiceEventRuleActionsAnnotateArgs

type ServiceEventRuleActionsAnnotateArgs struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ServiceEventRuleActionsAnnotateArgs) ElementType

func (ServiceEventRuleActionsAnnotateArgs) ToServiceEventRuleActionsAnnotateOutput

func (i ServiceEventRuleActionsAnnotateArgs) ToServiceEventRuleActionsAnnotateOutput() ServiceEventRuleActionsAnnotateOutput

func (ServiceEventRuleActionsAnnotateArgs) ToServiceEventRuleActionsAnnotateOutputWithContext

func (i ServiceEventRuleActionsAnnotateArgs) ToServiceEventRuleActionsAnnotateOutputWithContext(ctx context.Context) ServiceEventRuleActionsAnnotateOutput

type ServiceEventRuleActionsAnnotateArray

type ServiceEventRuleActionsAnnotateArray []ServiceEventRuleActionsAnnotateInput

func (ServiceEventRuleActionsAnnotateArray) ElementType

func (ServiceEventRuleActionsAnnotateArray) ToServiceEventRuleActionsAnnotateArrayOutput

func (i ServiceEventRuleActionsAnnotateArray) ToServiceEventRuleActionsAnnotateArrayOutput() ServiceEventRuleActionsAnnotateArrayOutput

func (ServiceEventRuleActionsAnnotateArray) ToServiceEventRuleActionsAnnotateArrayOutputWithContext

func (i ServiceEventRuleActionsAnnotateArray) ToServiceEventRuleActionsAnnotateArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsAnnotateArrayOutput

type ServiceEventRuleActionsAnnotateArrayInput

type ServiceEventRuleActionsAnnotateArrayInput interface {
	pulumi.Input

	ToServiceEventRuleActionsAnnotateArrayOutput() ServiceEventRuleActionsAnnotateArrayOutput
	ToServiceEventRuleActionsAnnotateArrayOutputWithContext(context.Context) ServiceEventRuleActionsAnnotateArrayOutput
}

ServiceEventRuleActionsAnnotateArrayInput is an input type that accepts ServiceEventRuleActionsAnnotateArray and ServiceEventRuleActionsAnnotateArrayOutput values. You can construct a concrete instance of `ServiceEventRuleActionsAnnotateArrayInput` via:

ServiceEventRuleActionsAnnotateArray{ ServiceEventRuleActionsAnnotateArgs{...} }

type ServiceEventRuleActionsAnnotateArrayOutput

type ServiceEventRuleActionsAnnotateArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsAnnotateArrayOutput) ElementType

func (ServiceEventRuleActionsAnnotateArrayOutput) Index

func (ServiceEventRuleActionsAnnotateArrayOutput) ToServiceEventRuleActionsAnnotateArrayOutput

func (o ServiceEventRuleActionsAnnotateArrayOutput) ToServiceEventRuleActionsAnnotateArrayOutput() ServiceEventRuleActionsAnnotateArrayOutput

func (ServiceEventRuleActionsAnnotateArrayOutput) ToServiceEventRuleActionsAnnotateArrayOutputWithContext

func (o ServiceEventRuleActionsAnnotateArrayOutput) ToServiceEventRuleActionsAnnotateArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsAnnotateArrayOutput

type ServiceEventRuleActionsAnnotateInput

type ServiceEventRuleActionsAnnotateInput interface {
	pulumi.Input

	ToServiceEventRuleActionsAnnotateOutput() ServiceEventRuleActionsAnnotateOutput
	ToServiceEventRuleActionsAnnotateOutputWithContext(context.Context) ServiceEventRuleActionsAnnotateOutput
}

ServiceEventRuleActionsAnnotateInput is an input type that accepts ServiceEventRuleActionsAnnotateArgs and ServiceEventRuleActionsAnnotateOutput values. You can construct a concrete instance of `ServiceEventRuleActionsAnnotateInput` via:

ServiceEventRuleActionsAnnotateArgs{...}

type ServiceEventRuleActionsAnnotateOutput

type ServiceEventRuleActionsAnnotateOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsAnnotateOutput) ElementType

func (ServiceEventRuleActionsAnnotateOutput) ToServiceEventRuleActionsAnnotateOutput

func (o ServiceEventRuleActionsAnnotateOutput) ToServiceEventRuleActionsAnnotateOutput() ServiceEventRuleActionsAnnotateOutput

func (ServiceEventRuleActionsAnnotateOutput) ToServiceEventRuleActionsAnnotateOutputWithContext

func (o ServiceEventRuleActionsAnnotateOutput) ToServiceEventRuleActionsAnnotateOutputWithContext(ctx context.Context) ServiceEventRuleActionsAnnotateOutput

func (ServiceEventRuleActionsAnnotateOutput) Value

Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.

type ServiceEventRuleActionsArgs

type ServiceEventRuleActionsArgs struct {
	// Note added to the event.
	Annotates ServiceEventRuleActionsAnnotateArrayInput `pulumi:"annotates"`
	// An object with a single `value` field. The value sets whether the resulting alert status is `trigger` or `resolve`.
	EventActions ServiceEventRuleActionsEventActionArrayInput `pulumi:"eventActions"`
	// Allows you to copy important data from one event field to another. Extraction objects may use *either* of the following field structures:
	Extractions ServiceEventRuleActionsExtractionArrayInput `pulumi:"extractions"`
	// The ID of the priority applied to the event.
	Priorities ServiceEventRuleActionsPriorityArrayInput `pulumi:"priorities"`
	// The [severity level](https://support.pagerduty.com/docs/rulesets#section-set-severity-with-event-rules) of the event. Can be either `info`,`error`,`warning`, or `critical`.
	Severities ServiceEventRuleActionsSeverityArrayInput `pulumi:"severities"`
	// Controls whether an alert is [suppressed](https://support.pagerduty.com/docs/rulesets#section-suppress-but-create-triggering-thresholds-with-event-rules) (does not create an incident).
	Suppresses ServiceEventRuleActionsSuppressArrayInput `pulumi:"suppresses"`
	// An object with a single `value` field. The value sets the length of time to suspend the resulting alert before triggering.
	Suspends ServiceEventRuleActionsSuspendArrayInput `pulumi:"suspends"`
}

func (ServiceEventRuleActionsArgs) ElementType

func (ServiceEventRuleActionsArgs) ToServiceEventRuleActionsOutput

func (i ServiceEventRuleActionsArgs) ToServiceEventRuleActionsOutput() ServiceEventRuleActionsOutput

func (ServiceEventRuleActionsArgs) ToServiceEventRuleActionsOutputWithContext

func (i ServiceEventRuleActionsArgs) ToServiceEventRuleActionsOutputWithContext(ctx context.Context) ServiceEventRuleActionsOutput

func (ServiceEventRuleActionsArgs) ToServiceEventRuleActionsPtrOutput

func (i ServiceEventRuleActionsArgs) ToServiceEventRuleActionsPtrOutput() ServiceEventRuleActionsPtrOutput

func (ServiceEventRuleActionsArgs) ToServiceEventRuleActionsPtrOutputWithContext

func (i ServiceEventRuleActionsArgs) ToServiceEventRuleActionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleActionsPtrOutput

type ServiceEventRuleActionsEventAction

type ServiceEventRuleActionsEventAction struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value *string `pulumi:"value"`
}

type ServiceEventRuleActionsEventActionArgs

type ServiceEventRuleActionsEventActionArgs struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ServiceEventRuleActionsEventActionArgs) ElementType

func (ServiceEventRuleActionsEventActionArgs) ToServiceEventRuleActionsEventActionOutput

func (i ServiceEventRuleActionsEventActionArgs) ToServiceEventRuleActionsEventActionOutput() ServiceEventRuleActionsEventActionOutput

func (ServiceEventRuleActionsEventActionArgs) ToServiceEventRuleActionsEventActionOutputWithContext

func (i ServiceEventRuleActionsEventActionArgs) ToServiceEventRuleActionsEventActionOutputWithContext(ctx context.Context) ServiceEventRuleActionsEventActionOutput

type ServiceEventRuleActionsEventActionArray

type ServiceEventRuleActionsEventActionArray []ServiceEventRuleActionsEventActionInput

func (ServiceEventRuleActionsEventActionArray) ElementType

func (ServiceEventRuleActionsEventActionArray) ToServiceEventRuleActionsEventActionArrayOutput

func (i ServiceEventRuleActionsEventActionArray) ToServiceEventRuleActionsEventActionArrayOutput() ServiceEventRuleActionsEventActionArrayOutput

func (ServiceEventRuleActionsEventActionArray) ToServiceEventRuleActionsEventActionArrayOutputWithContext

func (i ServiceEventRuleActionsEventActionArray) ToServiceEventRuleActionsEventActionArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsEventActionArrayOutput

type ServiceEventRuleActionsEventActionArrayInput

type ServiceEventRuleActionsEventActionArrayInput interface {
	pulumi.Input

	ToServiceEventRuleActionsEventActionArrayOutput() ServiceEventRuleActionsEventActionArrayOutput
	ToServiceEventRuleActionsEventActionArrayOutputWithContext(context.Context) ServiceEventRuleActionsEventActionArrayOutput
}

ServiceEventRuleActionsEventActionArrayInput is an input type that accepts ServiceEventRuleActionsEventActionArray and ServiceEventRuleActionsEventActionArrayOutput values. You can construct a concrete instance of `ServiceEventRuleActionsEventActionArrayInput` via:

ServiceEventRuleActionsEventActionArray{ ServiceEventRuleActionsEventActionArgs{...} }

type ServiceEventRuleActionsEventActionArrayOutput

type ServiceEventRuleActionsEventActionArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsEventActionArrayOutput) ElementType

func (ServiceEventRuleActionsEventActionArrayOutput) Index

func (ServiceEventRuleActionsEventActionArrayOutput) ToServiceEventRuleActionsEventActionArrayOutput

func (o ServiceEventRuleActionsEventActionArrayOutput) ToServiceEventRuleActionsEventActionArrayOutput() ServiceEventRuleActionsEventActionArrayOutput

func (ServiceEventRuleActionsEventActionArrayOutput) ToServiceEventRuleActionsEventActionArrayOutputWithContext

func (o ServiceEventRuleActionsEventActionArrayOutput) ToServiceEventRuleActionsEventActionArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsEventActionArrayOutput

type ServiceEventRuleActionsEventActionInput

type ServiceEventRuleActionsEventActionInput interface {
	pulumi.Input

	ToServiceEventRuleActionsEventActionOutput() ServiceEventRuleActionsEventActionOutput
	ToServiceEventRuleActionsEventActionOutputWithContext(context.Context) ServiceEventRuleActionsEventActionOutput
}

ServiceEventRuleActionsEventActionInput is an input type that accepts ServiceEventRuleActionsEventActionArgs and ServiceEventRuleActionsEventActionOutput values. You can construct a concrete instance of `ServiceEventRuleActionsEventActionInput` via:

ServiceEventRuleActionsEventActionArgs{...}

type ServiceEventRuleActionsEventActionOutput

type ServiceEventRuleActionsEventActionOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsEventActionOutput) ElementType

func (ServiceEventRuleActionsEventActionOutput) ToServiceEventRuleActionsEventActionOutput

func (o ServiceEventRuleActionsEventActionOutput) ToServiceEventRuleActionsEventActionOutput() ServiceEventRuleActionsEventActionOutput

func (ServiceEventRuleActionsEventActionOutput) ToServiceEventRuleActionsEventActionOutputWithContext

func (o ServiceEventRuleActionsEventActionOutput) ToServiceEventRuleActionsEventActionOutputWithContext(ctx context.Context) ServiceEventRuleActionsEventActionOutput

func (ServiceEventRuleActionsEventActionOutput) Value

Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.

type ServiceEventRuleActionsExtraction

type ServiceEventRuleActionsExtraction struct {
	// The conditions that need to be met for the extraction to happen. Must use valid [RE2 regular expression syntax](https://github.com/google/re2/wiki/Syntax).
	//
	// *- **OR** -*
	Regex *string `pulumi:"regex"`
	// Field where the data is being copied from. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.
	Source *string `pulumi:"source"`
	// Field where the data is being copied to. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.
	//
	// *NOTE: A rule can have multiple `extraction` objects attributed to it.*
	Target *string `pulumi:"target"`
	// A customized field message. This can also include variables extracted from the payload by using string interpolation.
	Template *string `pulumi:"template"`
}

type ServiceEventRuleActionsExtractionArgs

type ServiceEventRuleActionsExtractionArgs struct {
	// The conditions that need to be met for the extraction to happen. Must use valid [RE2 regular expression syntax](https://github.com/google/re2/wiki/Syntax).
	//
	// *- **OR** -*
	Regex pulumi.StringPtrInput `pulumi:"regex"`
	// Field where the data is being copied from. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.
	Source pulumi.StringPtrInput `pulumi:"source"`
	// Field where the data is being copied to. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.
	//
	// *NOTE: A rule can have multiple `extraction` objects attributed to it.*
	Target pulumi.StringPtrInput `pulumi:"target"`
	// A customized field message. This can also include variables extracted from the payload by using string interpolation.
	Template pulumi.StringPtrInput `pulumi:"template"`
}

func (ServiceEventRuleActionsExtractionArgs) ElementType

func (ServiceEventRuleActionsExtractionArgs) ToServiceEventRuleActionsExtractionOutput

func (i ServiceEventRuleActionsExtractionArgs) ToServiceEventRuleActionsExtractionOutput() ServiceEventRuleActionsExtractionOutput

func (ServiceEventRuleActionsExtractionArgs) ToServiceEventRuleActionsExtractionOutputWithContext

func (i ServiceEventRuleActionsExtractionArgs) ToServiceEventRuleActionsExtractionOutputWithContext(ctx context.Context) ServiceEventRuleActionsExtractionOutput

type ServiceEventRuleActionsExtractionArray

type ServiceEventRuleActionsExtractionArray []ServiceEventRuleActionsExtractionInput

func (ServiceEventRuleActionsExtractionArray) ElementType

func (ServiceEventRuleActionsExtractionArray) ToServiceEventRuleActionsExtractionArrayOutput

func (i ServiceEventRuleActionsExtractionArray) ToServiceEventRuleActionsExtractionArrayOutput() ServiceEventRuleActionsExtractionArrayOutput

func (ServiceEventRuleActionsExtractionArray) ToServiceEventRuleActionsExtractionArrayOutputWithContext

func (i ServiceEventRuleActionsExtractionArray) ToServiceEventRuleActionsExtractionArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsExtractionArrayOutput

type ServiceEventRuleActionsExtractionArrayInput

type ServiceEventRuleActionsExtractionArrayInput interface {
	pulumi.Input

	ToServiceEventRuleActionsExtractionArrayOutput() ServiceEventRuleActionsExtractionArrayOutput
	ToServiceEventRuleActionsExtractionArrayOutputWithContext(context.Context) ServiceEventRuleActionsExtractionArrayOutput
}

ServiceEventRuleActionsExtractionArrayInput is an input type that accepts ServiceEventRuleActionsExtractionArray and ServiceEventRuleActionsExtractionArrayOutput values. You can construct a concrete instance of `ServiceEventRuleActionsExtractionArrayInput` via:

ServiceEventRuleActionsExtractionArray{ ServiceEventRuleActionsExtractionArgs{...} }

type ServiceEventRuleActionsExtractionArrayOutput

type ServiceEventRuleActionsExtractionArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsExtractionArrayOutput) ElementType

func (ServiceEventRuleActionsExtractionArrayOutput) Index

func (ServiceEventRuleActionsExtractionArrayOutput) ToServiceEventRuleActionsExtractionArrayOutput

func (o ServiceEventRuleActionsExtractionArrayOutput) ToServiceEventRuleActionsExtractionArrayOutput() ServiceEventRuleActionsExtractionArrayOutput

func (ServiceEventRuleActionsExtractionArrayOutput) ToServiceEventRuleActionsExtractionArrayOutputWithContext

func (o ServiceEventRuleActionsExtractionArrayOutput) ToServiceEventRuleActionsExtractionArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsExtractionArrayOutput

type ServiceEventRuleActionsExtractionInput

type ServiceEventRuleActionsExtractionInput interface {
	pulumi.Input

	ToServiceEventRuleActionsExtractionOutput() ServiceEventRuleActionsExtractionOutput
	ToServiceEventRuleActionsExtractionOutputWithContext(context.Context) ServiceEventRuleActionsExtractionOutput
}

ServiceEventRuleActionsExtractionInput is an input type that accepts ServiceEventRuleActionsExtractionArgs and ServiceEventRuleActionsExtractionOutput values. You can construct a concrete instance of `ServiceEventRuleActionsExtractionInput` via:

ServiceEventRuleActionsExtractionArgs{...}

type ServiceEventRuleActionsExtractionOutput

type ServiceEventRuleActionsExtractionOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsExtractionOutput) ElementType

func (ServiceEventRuleActionsExtractionOutput) Regex

The conditions that need to be met for the extraction to happen. Must use valid [RE2 regular expression syntax](https://github.com/google/re2/wiki/Syntax).

*- **OR** -*

func (ServiceEventRuleActionsExtractionOutput) Source

Field where the data is being copied from. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.

func (ServiceEventRuleActionsExtractionOutput) Target

Field where the data is being copied to. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.

*NOTE: A rule can have multiple `extraction` objects attributed to it.*

func (ServiceEventRuleActionsExtractionOutput) Template

A customized field message. This can also include variables extracted from the payload by using string interpolation.

func (ServiceEventRuleActionsExtractionOutput) ToServiceEventRuleActionsExtractionOutput

func (o ServiceEventRuleActionsExtractionOutput) ToServiceEventRuleActionsExtractionOutput() ServiceEventRuleActionsExtractionOutput

func (ServiceEventRuleActionsExtractionOutput) ToServiceEventRuleActionsExtractionOutputWithContext

func (o ServiceEventRuleActionsExtractionOutput) ToServiceEventRuleActionsExtractionOutputWithContext(ctx context.Context) ServiceEventRuleActionsExtractionOutput

type ServiceEventRuleActionsInput

type ServiceEventRuleActionsInput interface {
	pulumi.Input

	ToServiceEventRuleActionsOutput() ServiceEventRuleActionsOutput
	ToServiceEventRuleActionsOutputWithContext(context.Context) ServiceEventRuleActionsOutput
}

ServiceEventRuleActionsInput is an input type that accepts ServiceEventRuleActionsArgs and ServiceEventRuleActionsOutput values. You can construct a concrete instance of `ServiceEventRuleActionsInput` via:

ServiceEventRuleActionsArgs{...}

type ServiceEventRuleActionsOutput

type ServiceEventRuleActionsOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsOutput) Annotates

Note added to the event.

func (ServiceEventRuleActionsOutput) ElementType

func (ServiceEventRuleActionsOutput) EventActions

An object with a single `value` field. The value sets whether the resulting alert status is `trigger` or `resolve`.

func (ServiceEventRuleActionsOutput) Extractions

Allows you to copy important data from one event field to another. Extraction objects may use *either* of the following field structures:

func (ServiceEventRuleActionsOutput) Priorities

The ID of the priority applied to the event.

func (ServiceEventRuleActionsOutput) Severities

The [severity level](https://support.pagerduty.com/docs/rulesets#section-set-severity-with-event-rules) of the event. Can be either `info`,`error`,`warning`, or `critical`.

func (ServiceEventRuleActionsOutput) Suppresses

Controls whether an alert is [suppressed](https://support.pagerduty.com/docs/rulesets#section-suppress-but-create-triggering-thresholds-with-event-rules) (does not create an incident).

func (ServiceEventRuleActionsOutput) Suspends

An object with a single `value` field. The value sets the length of time to suspend the resulting alert before triggering.

func (ServiceEventRuleActionsOutput) ToServiceEventRuleActionsOutput

func (o ServiceEventRuleActionsOutput) ToServiceEventRuleActionsOutput() ServiceEventRuleActionsOutput

func (ServiceEventRuleActionsOutput) ToServiceEventRuleActionsOutputWithContext

func (o ServiceEventRuleActionsOutput) ToServiceEventRuleActionsOutputWithContext(ctx context.Context) ServiceEventRuleActionsOutput

func (ServiceEventRuleActionsOutput) ToServiceEventRuleActionsPtrOutput

func (o ServiceEventRuleActionsOutput) ToServiceEventRuleActionsPtrOutput() ServiceEventRuleActionsPtrOutput

func (ServiceEventRuleActionsOutput) ToServiceEventRuleActionsPtrOutputWithContext

func (o ServiceEventRuleActionsOutput) ToServiceEventRuleActionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleActionsPtrOutput

type ServiceEventRuleActionsPriority

type ServiceEventRuleActionsPriority struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value *string `pulumi:"value"`
}

type ServiceEventRuleActionsPriorityArgs

type ServiceEventRuleActionsPriorityArgs struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ServiceEventRuleActionsPriorityArgs) ElementType

func (ServiceEventRuleActionsPriorityArgs) ToServiceEventRuleActionsPriorityOutput

func (i ServiceEventRuleActionsPriorityArgs) ToServiceEventRuleActionsPriorityOutput() ServiceEventRuleActionsPriorityOutput

func (ServiceEventRuleActionsPriorityArgs) ToServiceEventRuleActionsPriorityOutputWithContext

func (i ServiceEventRuleActionsPriorityArgs) ToServiceEventRuleActionsPriorityOutputWithContext(ctx context.Context) ServiceEventRuleActionsPriorityOutput

type ServiceEventRuleActionsPriorityArray

type ServiceEventRuleActionsPriorityArray []ServiceEventRuleActionsPriorityInput

func (ServiceEventRuleActionsPriorityArray) ElementType

func (ServiceEventRuleActionsPriorityArray) ToServiceEventRuleActionsPriorityArrayOutput

func (i ServiceEventRuleActionsPriorityArray) ToServiceEventRuleActionsPriorityArrayOutput() ServiceEventRuleActionsPriorityArrayOutput

func (ServiceEventRuleActionsPriorityArray) ToServiceEventRuleActionsPriorityArrayOutputWithContext

func (i ServiceEventRuleActionsPriorityArray) ToServiceEventRuleActionsPriorityArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsPriorityArrayOutput

type ServiceEventRuleActionsPriorityArrayInput

type ServiceEventRuleActionsPriorityArrayInput interface {
	pulumi.Input

	ToServiceEventRuleActionsPriorityArrayOutput() ServiceEventRuleActionsPriorityArrayOutput
	ToServiceEventRuleActionsPriorityArrayOutputWithContext(context.Context) ServiceEventRuleActionsPriorityArrayOutput
}

ServiceEventRuleActionsPriorityArrayInput is an input type that accepts ServiceEventRuleActionsPriorityArray and ServiceEventRuleActionsPriorityArrayOutput values. You can construct a concrete instance of `ServiceEventRuleActionsPriorityArrayInput` via:

ServiceEventRuleActionsPriorityArray{ ServiceEventRuleActionsPriorityArgs{...} }

type ServiceEventRuleActionsPriorityArrayOutput

type ServiceEventRuleActionsPriorityArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsPriorityArrayOutput) ElementType

func (ServiceEventRuleActionsPriorityArrayOutput) Index

func (ServiceEventRuleActionsPriorityArrayOutput) ToServiceEventRuleActionsPriorityArrayOutput

func (o ServiceEventRuleActionsPriorityArrayOutput) ToServiceEventRuleActionsPriorityArrayOutput() ServiceEventRuleActionsPriorityArrayOutput

func (ServiceEventRuleActionsPriorityArrayOutput) ToServiceEventRuleActionsPriorityArrayOutputWithContext

func (o ServiceEventRuleActionsPriorityArrayOutput) ToServiceEventRuleActionsPriorityArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsPriorityArrayOutput

type ServiceEventRuleActionsPriorityInput

type ServiceEventRuleActionsPriorityInput interface {
	pulumi.Input

	ToServiceEventRuleActionsPriorityOutput() ServiceEventRuleActionsPriorityOutput
	ToServiceEventRuleActionsPriorityOutputWithContext(context.Context) ServiceEventRuleActionsPriorityOutput
}

ServiceEventRuleActionsPriorityInput is an input type that accepts ServiceEventRuleActionsPriorityArgs and ServiceEventRuleActionsPriorityOutput values. You can construct a concrete instance of `ServiceEventRuleActionsPriorityInput` via:

ServiceEventRuleActionsPriorityArgs{...}

type ServiceEventRuleActionsPriorityOutput

type ServiceEventRuleActionsPriorityOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsPriorityOutput) ElementType

func (ServiceEventRuleActionsPriorityOutput) ToServiceEventRuleActionsPriorityOutput

func (o ServiceEventRuleActionsPriorityOutput) ToServiceEventRuleActionsPriorityOutput() ServiceEventRuleActionsPriorityOutput

func (ServiceEventRuleActionsPriorityOutput) ToServiceEventRuleActionsPriorityOutputWithContext

func (o ServiceEventRuleActionsPriorityOutput) ToServiceEventRuleActionsPriorityOutputWithContext(ctx context.Context) ServiceEventRuleActionsPriorityOutput

func (ServiceEventRuleActionsPriorityOutput) Value

Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.

type ServiceEventRuleActionsPtrInput

type ServiceEventRuleActionsPtrInput interface {
	pulumi.Input

	ToServiceEventRuleActionsPtrOutput() ServiceEventRuleActionsPtrOutput
	ToServiceEventRuleActionsPtrOutputWithContext(context.Context) ServiceEventRuleActionsPtrOutput
}

ServiceEventRuleActionsPtrInput is an input type that accepts ServiceEventRuleActionsArgs, ServiceEventRuleActionsPtr and ServiceEventRuleActionsPtrOutput values. You can construct a concrete instance of `ServiceEventRuleActionsPtrInput` via:

        ServiceEventRuleActionsArgs{...}

or:

        nil

type ServiceEventRuleActionsPtrOutput

type ServiceEventRuleActionsPtrOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsPtrOutput) Annotates

Note added to the event.

func (ServiceEventRuleActionsPtrOutput) Elem

func (ServiceEventRuleActionsPtrOutput) ElementType

func (ServiceEventRuleActionsPtrOutput) EventActions

An object with a single `value` field. The value sets whether the resulting alert status is `trigger` or `resolve`.

func (ServiceEventRuleActionsPtrOutput) Extractions

Allows you to copy important data from one event field to another. Extraction objects may use *either* of the following field structures:

func (ServiceEventRuleActionsPtrOutput) Priorities

The ID of the priority applied to the event.

func (ServiceEventRuleActionsPtrOutput) Severities

The [severity level](https://support.pagerduty.com/docs/rulesets#section-set-severity-with-event-rules) of the event. Can be either `info`,`error`,`warning`, or `critical`.

func (ServiceEventRuleActionsPtrOutput) Suppresses

Controls whether an alert is [suppressed](https://support.pagerduty.com/docs/rulesets#section-suppress-but-create-triggering-thresholds-with-event-rules) (does not create an incident).

func (ServiceEventRuleActionsPtrOutput) Suspends

An object with a single `value` field. The value sets the length of time to suspend the resulting alert before triggering.

func (ServiceEventRuleActionsPtrOutput) ToServiceEventRuleActionsPtrOutput

func (o ServiceEventRuleActionsPtrOutput) ToServiceEventRuleActionsPtrOutput() ServiceEventRuleActionsPtrOutput

func (ServiceEventRuleActionsPtrOutput) ToServiceEventRuleActionsPtrOutputWithContext

func (o ServiceEventRuleActionsPtrOutput) ToServiceEventRuleActionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleActionsPtrOutput

type ServiceEventRuleActionsSeverity

type ServiceEventRuleActionsSeverity struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value *string `pulumi:"value"`
}

type ServiceEventRuleActionsSeverityArgs

type ServiceEventRuleActionsSeverityArgs struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ServiceEventRuleActionsSeverityArgs) ElementType

func (ServiceEventRuleActionsSeverityArgs) ToServiceEventRuleActionsSeverityOutput

func (i ServiceEventRuleActionsSeverityArgs) ToServiceEventRuleActionsSeverityOutput() ServiceEventRuleActionsSeverityOutput

func (ServiceEventRuleActionsSeverityArgs) ToServiceEventRuleActionsSeverityOutputWithContext

func (i ServiceEventRuleActionsSeverityArgs) ToServiceEventRuleActionsSeverityOutputWithContext(ctx context.Context) ServiceEventRuleActionsSeverityOutput

type ServiceEventRuleActionsSeverityArray

type ServiceEventRuleActionsSeverityArray []ServiceEventRuleActionsSeverityInput

func (ServiceEventRuleActionsSeverityArray) ElementType

func (ServiceEventRuleActionsSeverityArray) ToServiceEventRuleActionsSeverityArrayOutput

func (i ServiceEventRuleActionsSeverityArray) ToServiceEventRuleActionsSeverityArrayOutput() ServiceEventRuleActionsSeverityArrayOutput

func (ServiceEventRuleActionsSeverityArray) ToServiceEventRuleActionsSeverityArrayOutputWithContext

func (i ServiceEventRuleActionsSeverityArray) ToServiceEventRuleActionsSeverityArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSeverityArrayOutput

type ServiceEventRuleActionsSeverityArrayInput

type ServiceEventRuleActionsSeverityArrayInput interface {
	pulumi.Input

	ToServiceEventRuleActionsSeverityArrayOutput() ServiceEventRuleActionsSeverityArrayOutput
	ToServiceEventRuleActionsSeverityArrayOutputWithContext(context.Context) ServiceEventRuleActionsSeverityArrayOutput
}

ServiceEventRuleActionsSeverityArrayInput is an input type that accepts ServiceEventRuleActionsSeverityArray and ServiceEventRuleActionsSeverityArrayOutput values. You can construct a concrete instance of `ServiceEventRuleActionsSeverityArrayInput` via:

ServiceEventRuleActionsSeverityArray{ ServiceEventRuleActionsSeverityArgs{...} }

type ServiceEventRuleActionsSeverityArrayOutput

type ServiceEventRuleActionsSeverityArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsSeverityArrayOutput) ElementType

func (ServiceEventRuleActionsSeverityArrayOutput) Index

func (ServiceEventRuleActionsSeverityArrayOutput) ToServiceEventRuleActionsSeverityArrayOutput

func (o ServiceEventRuleActionsSeverityArrayOutput) ToServiceEventRuleActionsSeverityArrayOutput() ServiceEventRuleActionsSeverityArrayOutput

func (ServiceEventRuleActionsSeverityArrayOutput) ToServiceEventRuleActionsSeverityArrayOutputWithContext

func (o ServiceEventRuleActionsSeverityArrayOutput) ToServiceEventRuleActionsSeverityArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSeverityArrayOutput

type ServiceEventRuleActionsSeverityInput

type ServiceEventRuleActionsSeverityInput interface {
	pulumi.Input

	ToServiceEventRuleActionsSeverityOutput() ServiceEventRuleActionsSeverityOutput
	ToServiceEventRuleActionsSeverityOutputWithContext(context.Context) ServiceEventRuleActionsSeverityOutput
}

ServiceEventRuleActionsSeverityInput is an input type that accepts ServiceEventRuleActionsSeverityArgs and ServiceEventRuleActionsSeverityOutput values. You can construct a concrete instance of `ServiceEventRuleActionsSeverityInput` via:

ServiceEventRuleActionsSeverityArgs{...}

type ServiceEventRuleActionsSeverityOutput

type ServiceEventRuleActionsSeverityOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsSeverityOutput) ElementType

func (ServiceEventRuleActionsSeverityOutput) ToServiceEventRuleActionsSeverityOutput

func (o ServiceEventRuleActionsSeverityOutput) ToServiceEventRuleActionsSeverityOutput() ServiceEventRuleActionsSeverityOutput

func (ServiceEventRuleActionsSeverityOutput) ToServiceEventRuleActionsSeverityOutputWithContext

func (o ServiceEventRuleActionsSeverityOutput) ToServiceEventRuleActionsSeverityOutputWithContext(ctx context.Context) ServiceEventRuleActionsSeverityOutput

func (ServiceEventRuleActionsSeverityOutput) Value

Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.

type ServiceEventRuleActionsSuppress

type ServiceEventRuleActionsSuppress struct {
	// The number value of the `thresholdTimeUnit` before an incident is created.
	ThresholdTimeAmount *int `pulumi:"thresholdTimeAmount"`
	// The `seconds`,`minutes`, or `hours` the `thresholdTimeAmount` should be measured.
	ThresholdTimeUnit *string `pulumi:"thresholdTimeUnit"`
	// The number of alerts that should be suppressed.
	ThresholdValue *int `pulumi:"thresholdValue"`
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value *bool `pulumi:"value"`
}

type ServiceEventRuleActionsSuppressArgs

type ServiceEventRuleActionsSuppressArgs struct {
	// The number value of the `thresholdTimeUnit` before an incident is created.
	ThresholdTimeAmount pulumi.IntPtrInput `pulumi:"thresholdTimeAmount"`
	// The `seconds`,`minutes`, or `hours` the `thresholdTimeAmount` should be measured.
	ThresholdTimeUnit pulumi.StringPtrInput `pulumi:"thresholdTimeUnit"`
	// The number of alerts that should be suppressed.
	ThresholdValue pulumi.IntPtrInput `pulumi:"thresholdValue"`
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value pulumi.BoolPtrInput `pulumi:"value"`
}

func (ServiceEventRuleActionsSuppressArgs) ElementType

func (ServiceEventRuleActionsSuppressArgs) ToServiceEventRuleActionsSuppressOutput

func (i ServiceEventRuleActionsSuppressArgs) ToServiceEventRuleActionsSuppressOutput() ServiceEventRuleActionsSuppressOutput

func (ServiceEventRuleActionsSuppressArgs) ToServiceEventRuleActionsSuppressOutputWithContext

func (i ServiceEventRuleActionsSuppressArgs) ToServiceEventRuleActionsSuppressOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuppressOutput

type ServiceEventRuleActionsSuppressArray

type ServiceEventRuleActionsSuppressArray []ServiceEventRuleActionsSuppressInput

func (ServiceEventRuleActionsSuppressArray) ElementType

func (ServiceEventRuleActionsSuppressArray) ToServiceEventRuleActionsSuppressArrayOutput

func (i ServiceEventRuleActionsSuppressArray) ToServiceEventRuleActionsSuppressArrayOutput() ServiceEventRuleActionsSuppressArrayOutput

func (ServiceEventRuleActionsSuppressArray) ToServiceEventRuleActionsSuppressArrayOutputWithContext

func (i ServiceEventRuleActionsSuppressArray) ToServiceEventRuleActionsSuppressArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuppressArrayOutput

type ServiceEventRuleActionsSuppressArrayInput

type ServiceEventRuleActionsSuppressArrayInput interface {
	pulumi.Input

	ToServiceEventRuleActionsSuppressArrayOutput() ServiceEventRuleActionsSuppressArrayOutput
	ToServiceEventRuleActionsSuppressArrayOutputWithContext(context.Context) ServiceEventRuleActionsSuppressArrayOutput
}

ServiceEventRuleActionsSuppressArrayInput is an input type that accepts ServiceEventRuleActionsSuppressArray and ServiceEventRuleActionsSuppressArrayOutput values. You can construct a concrete instance of `ServiceEventRuleActionsSuppressArrayInput` via:

ServiceEventRuleActionsSuppressArray{ ServiceEventRuleActionsSuppressArgs{...} }

type ServiceEventRuleActionsSuppressArrayOutput

type ServiceEventRuleActionsSuppressArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsSuppressArrayOutput) ElementType

func (ServiceEventRuleActionsSuppressArrayOutput) Index

func (ServiceEventRuleActionsSuppressArrayOutput) ToServiceEventRuleActionsSuppressArrayOutput

func (o ServiceEventRuleActionsSuppressArrayOutput) ToServiceEventRuleActionsSuppressArrayOutput() ServiceEventRuleActionsSuppressArrayOutput

func (ServiceEventRuleActionsSuppressArrayOutput) ToServiceEventRuleActionsSuppressArrayOutputWithContext

func (o ServiceEventRuleActionsSuppressArrayOutput) ToServiceEventRuleActionsSuppressArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuppressArrayOutput

type ServiceEventRuleActionsSuppressInput

type ServiceEventRuleActionsSuppressInput interface {
	pulumi.Input

	ToServiceEventRuleActionsSuppressOutput() ServiceEventRuleActionsSuppressOutput
	ToServiceEventRuleActionsSuppressOutputWithContext(context.Context) ServiceEventRuleActionsSuppressOutput
}

ServiceEventRuleActionsSuppressInput is an input type that accepts ServiceEventRuleActionsSuppressArgs and ServiceEventRuleActionsSuppressOutput values. You can construct a concrete instance of `ServiceEventRuleActionsSuppressInput` via:

ServiceEventRuleActionsSuppressArgs{...}

type ServiceEventRuleActionsSuppressOutput

type ServiceEventRuleActionsSuppressOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsSuppressOutput) ElementType

func (ServiceEventRuleActionsSuppressOutput) ThresholdTimeAmount

The number value of the `thresholdTimeUnit` before an incident is created.

func (ServiceEventRuleActionsSuppressOutput) ThresholdTimeUnit

The `seconds`,`minutes`, or `hours` the `thresholdTimeAmount` should be measured.

func (ServiceEventRuleActionsSuppressOutput) ThresholdValue

The number of alerts that should be suppressed.

func (ServiceEventRuleActionsSuppressOutput) ToServiceEventRuleActionsSuppressOutput

func (o ServiceEventRuleActionsSuppressOutput) ToServiceEventRuleActionsSuppressOutput() ServiceEventRuleActionsSuppressOutput

func (ServiceEventRuleActionsSuppressOutput) ToServiceEventRuleActionsSuppressOutputWithContext

func (o ServiceEventRuleActionsSuppressOutput) ToServiceEventRuleActionsSuppressOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuppressOutput

func (ServiceEventRuleActionsSuppressOutput) Value

Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.

type ServiceEventRuleActionsSuspend

type ServiceEventRuleActionsSuspend struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value *int `pulumi:"value"`
}

type ServiceEventRuleActionsSuspendArgs

type ServiceEventRuleActionsSuspendArgs struct {
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value pulumi.IntPtrInput `pulumi:"value"`
}

func (ServiceEventRuleActionsSuspendArgs) ElementType

func (ServiceEventRuleActionsSuspendArgs) ToServiceEventRuleActionsSuspendOutput

func (i ServiceEventRuleActionsSuspendArgs) ToServiceEventRuleActionsSuspendOutput() ServiceEventRuleActionsSuspendOutput

func (ServiceEventRuleActionsSuspendArgs) ToServiceEventRuleActionsSuspendOutputWithContext

func (i ServiceEventRuleActionsSuspendArgs) ToServiceEventRuleActionsSuspendOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuspendOutput

type ServiceEventRuleActionsSuspendArray

type ServiceEventRuleActionsSuspendArray []ServiceEventRuleActionsSuspendInput

func (ServiceEventRuleActionsSuspendArray) ElementType

func (ServiceEventRuleActionsSuspendArray) ToServiceEventRuleActionsSuspendArrayOutput

func (i ServiceEventRuleActionsSuspendArray) ToServiceEventRuleActionsSuspendArrayOutput() ServiceEventRuleActionsSuspendArrayOutput

func (ServiceEventRuleActionsSuspendArray) ToServiceEventRuleActionsSuspendArrayOutputWithContext

func (i ServiceEventRuleActionsSuspendArray) ToServiceEventRuleActionsSuspendArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuspendArrayOutput

type ServiceEventRuleActionsSuspendArrayInput

type ServiceEventRuleActionsSuspendArrayInput interface {
	pulumi.Input

	ToServiceEventRuleActionsSuspendArrayOutput() ServiceEventRuleActionsSuspendArrayOutput
	ToServiceEventRuleActionsSuspendArrayOutputWithContext(context.Context) ServiceEventRuleActionsSuspendArrayOutput
}

ServiceEventRuleActionsSuspendArrayInput is an input type that accepts ServiceEventRuleActionsSuspendArray and ServiceEventRuleActionsSuspendArrayOutput values. You can construct a concrete instance of `ServiceEventRuleActionsSuspendArrayInput` via:

ServiceEventRuleActionsSuspendArray{ ServiceEventRuleActionsSuspendArgs{...} }

type ServiceEventRuleActionsSuspendArrayOutput

type ServiceEventRuleActionsSuspendArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsSuspendArrayOutput) ElementType

func (ServiceEventRuleActionsSuspendArrayOutput) Index

func (ServiceEventRuleActionsSuspendArrayOutput) ToServiceEventRuleActionsSuspendArrayOutput

func (o ServiceEventRuleActionsSuspendArrayOutput) ToServiceEventRuleActionsSuspendArrayOutput() ServiceEventRuleActionsSuspendArrayOutput

func (ServiceEventRuleActionsSuspendArrayOutput) ToServiceEventRuleActionsSuspendArrayOutputWithContext

func (o ServiceEventRuleActionsSuspendArrayOutput) ToServiceEventRuleActionsSuspendArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuspendArrayOutput

type ServiceEventRuleActionsSuspendInput

type ServiceEventRuleActionsSuspendInput interface {
	pulumi.Input

	ToServiceEventRuleActionsSuspendOutput() ServiceEventRuleActionsSuspendOutput
	ToServiceEventRuleActionsSuspendOutputWithContext(context.Context) ServiceEventRuleActionsSuspendOutput
}

ServiceEventRuleActionsSuspendInput is an input type that accepts ServiceEventRuleActionsSuspendArgs and ServiceEventRuleActionsSuspendOutput values. You can construct a concrete instance of `ServiceEventRuleActionsSuspendInput` via:

ServiceEventRuleActionsSuspendArgs{...}

type ServiceEventRuleActionsSuspendOutput

type ServiceEventRuleActionsSuspendOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsSuspendOutput) ElementType

func (ServiceEventRuleActionsSuspendOutput) ToServiceEventRuleActionsSuspendOutput

func (o ServiceEventRuleActionsSuspendOutput) ToServiceEventRuleActionsSuspendOutput() ServiceEventRuleActionsSuspendOutput

func (ServiceEventRuleActionsSuspendOutput) ToServiceEventRuleActionsSuspendOutputWithContext

func (o ServiceEventRuleActionsSuspendOutput) ToServiceEventRuleActionsSuspendOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuspendOutput

func (ServiceEventRuleActionsSuspendOutput) Value

Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.

type ServiceEventRuleArgs

type ServiceEventRuleArgs struct {
	// Actions to apply to an event if the conditions match.
	Actions ServiceEventRuleActionsPtrInput
	// Conditions evaluated to check if an event matches this event rule.
	Conditions ServiceEventRuleConditionsPtrInput
	// Indicates whether the rule is disabled and would therefore not be evaluated.
	Disabled pulumi.BoolPtrInput
	// Position/index of the rule within the service.
	Position pulumi.IntPtrInput
	// The ID of the service that the rule belongs to.
	Service pulumi.StringInput
	// Settings for [scheduling the rule](https://support.pagerduty.com/docs/rulesets#section-scheduled-event-rules).
	TimeFrame ServiceEventRuleTimeFramePtrInput
	// Populate variables from event payloads and use those variables in other event actions. *NOTE: A rule can have multiple `variable` objects.*
	Variables ServiceEventRuleVariableArrayInput
}

The set of arguments for constructing a ServiceEventRule resource.

func (ServiceEventRuleArgs) ElementType

func (ServiceEventRuleArgs) ElementType() reflect.Type

type ServiceEventRuleArray

type ServiceEventRuleArray []ServiceEventRuleInput

func (ServiceEventRuleArray) ElementType

func (ServiceEventRuleArray) ElementType() reflect.Type

func (ServiceEventRuleArray) ToServiceEventRuleArrayOutput

func (i ServiceEventRuleArray) ToServiceEventRuleArrayOutput() ServiceEventRuleArrayOutput

func (ServiceEventRuleArray) ToServiceEventRuleArrayOutputWithContext

func (i ServiceEventRuleArray) ToServiceEventRuleArrayOutputWithContext(ctx context.Context) ServiceEventRuleArrayOutput

type ServiceEventRuleArrayInput

type ServiceEventRuleArrayInput interface {
	pulumi.Input

	ToServiceEventRuleArrayOutput() ServiceEventRuleArrayOutput
	ToServiceEventRuleArrayOutputWithContext(context.Context) ServiceEventRuleArrayOutput
}

ServiceEventRuleArrayInput is an input type that accepts ServiceEventRuleArray and ServiceEventRuleArrayOutput values. You can construct a concrete instance of `ServiceEventRuleArrayInput` via:

ServiceEventRuleArray{ ServiceEventRuleArgs{...} }

type ServiceEventRuleArrayOutput

type ServiceEventRuleArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleArrayOutput) ElementType

func (ServiceEventRuleArrayOutput) Index

func (ServiceEventRuleArrayOutput) ToServiceEventRuleArrayOutput

func (o ServiceEventRuleArrayOutput) ToServiceEventRuleArrayOutput() ServiceEventRuleArrayOutput

func (ServiceEventRuleArrayOutput) ToServiceEventRuleArrayOutputWithContext

func (o ServiceEventRuleArrayOutput) ToServiceEventRuleArrayOutputWithContext(ctx context.Context) ServiceEventRuleArrayOutput

type ServiceEventRuleConditions

type ServiceEventRuleConditions struct {
	// Operator to combine sub-conditions. Can be `and` or `or`.
	Operator *string `pulumi:"operator"`
	// List of sub-conditions that define the condition.
	Subconditions []ServiceEventRuleConditionsSubcondition `pulumi:"subconditions"`
}

type ServiceEventRuleConditionsArgs

type ServiceEventRuleConditionsArgs struct {
	// Operator to combine sub-conditions. Can be `and` or `or`.
	Operator pulumi.StringPtrInput `pulumi:"operator"`
	// List of sub-conditions that define the condition.
	Subconditions ServiceEventRuleConditionsSubconditionArrayInput `pulumi:"subconditions"`
}

func (ServiceEventRuleConditionsArgs) ElementType

func (ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsOutput

func (i ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsOutput() ServiceEventRuleConditionsOutput

func (ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsOutputWithContext

func (i ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsOutputWithContext(ctx context.Context) ServiceEventRuleConditionsOutput

func (ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsPtrOutput

func (i ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsPtrOutput() ServiceEventRuleConditionsPtrOutput

func (ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsPtrOutputWithContext

func (i ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleConditionsPtrOutput

type ServiceEventRuleConditionsInput

type ServiceEventRuleConditionsInput interface {
	pulumi.Input

	ToServiceEventRuleConditionsOutput() ServiceEventRuleConditionsOutput
	ToServiceEventRuleConditionsOutputWithContext(context.Context) ServiceEventRuleConditionsOutput
}

ServiceEventRuleConditionsInput is an input type that accepts ServiceEventRuleConditionsArgs and ServiceEventRuleConditionsOutput values. You can construct a concrete instance of `ServiceEventRuleConditionsInput` via:

ServiceEventRuleConditionsArgs{...}

type ServiceEventRuleConditionsOutput

type ServiceEventRuleConditionsOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleConditionsOutput) ElementType

func (ServiceEventRuleConditionsOutput) Operator

Operator to combine sub-conditions. Can be `and` or `or`.

func (ServiceEventRuleConditionsOutput) Subconditions

List of sub-conditions that define the condition.

func (ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsOutput

func (o ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsOutput() ServiceEventRuleConditionsOutput

func (ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsOutputWithContext

func (o ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsOutputWithContext(ctx context.Context) ServiceEventRuleConditionsOutput

func (ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsPtrOutput

func (o ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsPtrOutput() ServiceEventRuleConditionsPtrOutput

func (ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsPtrOutputWithContext

func (o ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleConditionsPtrOutput

type ServiceEventRuleConditionsPtrInput

type ServiceEventRuleConditionsPtrInput interface {
	pulumi.Input

	ToServiceEventRuleConditionsPtrOutput() ServiceEventRuleConditionsPtrOutput
	ToServiceEventRuleConditionsPtrOutputWithContext(context.Context) ServiceEventRuleConditionsPtrOutput
}

ServiceEventRuleConditionsPtrInput is an input type that accepts ServiceEventRuleConditionsArgs, ServiceEventRuleConditionsPtr and ServiceEventRuleConditionsPtrOutput values. You can construct a concrete instance of `ServiceEventRuleConditionsPtrInput` via:

        ServiceEventRuleConditionsArgs{...}

or:

        nil

type ServiceEventRuleConditionsPtrOutput

type ServiceEventRuleConditionsPtrOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleConditionsPtrOutput) Elem

func (ServiceEventRuleConditionsPtrOutput) ElementType

func (ServiceEventRuleConditionsPtrOutput) Operator

Operator to combine sub-conditions. Can be `and` or `or`.

func (ServiceEventRuleConditionsPtrOutput) Subconditions

List of sub-conditions that define the condition.

func (ServiceEventRuleConditionsPtrOutput) ToServiceEventRuleConditionsPtrOutput

func (o ServiceEventRuleConditionsPtrOutput) ToServiceEventRuleConditionsPtrOutput() ServiceEventRuleConditionsPtrOutput

func (ServiceEventRuleConditionsPtrOutput) ToServiceEventRuleConditionsPtrOutputWithContext

func (o ServiceEventRuleConditionsPtrOutput) ToServiceEventRuleConditionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleConditionsPtrOutput

type ServiceEventRuleConditionsSubcondition

type ServiceEventRuleConditionsSubcondition struct {
	// Type of operator to apply to the sub-condition. Can be `exists`,`nexists`,`equals`,`nequals`,`contains`,`ncontains`,`matches`, or `nmatches`.
	Operator *string `pulumi:"operator"`
	// Parameter for the sub-condition. It requires both a `path` and `value` to be set. The `path` value must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.
	Parameters []ServiceEventRuleConditionsSubconditionParameter `pulumi:"parameters"`
}

type ServiceEventRuleConditionsSubconditionArgs

type ServiceEventRuleConditionsSubconditionArgs struct {
	// Type of operator to apply to the sub-condition. Can be `exists`,`nexists`,`equals`,`nequals`,`contains`,`ncontains`,`matches`, or `nmatches`.
	Operator pulumi.StringPtrInput `pulumi:"operator"`
	// Parameter for the sub-condition. It requires both a `path` and `value` to be set. The `path` value must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.
	Parameters ServiceEventRuleConditionsSubconditionParameterArrayInput `pulumi:"parameters"`
}

func (ServiceEventRuleConditionsSubconditionArgs) ElementType

func (ServiceEventRuleConditionsSubconditionArgs) ToServiceEventRuleConditionsSubconditionOutput

func (i ServiceEventRuleConditionsSubconditionArgs) ToServiceEventRuleConditionsSubconditionOutput() ServiceEventRuleConditionsSubconditionOutput

func (ServiceEventRuleConditionsSubconditionArgs) ToServiceEventRuleConditionsSubconditionOutputWithContext

func (i ServiceEventRuleConditionsSubconditionArgs) ToServiceEventRuleConditionsSubconditionOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionOutput

type ServiceEventRuleConditionsSubconditionArray

type ServiceEventRuleConditionsSubconditionArray []ServiceEventRuleConditionsSubconditionInput

func (ServiceEventRuleConditionsSubconditionArray) ElementType

func (ServiceEventRuleConditionsSubconditionArray) ToServiceEventRuleConditionsSubconditionArrayOutput

func (i ServiceEventRuleConditionsSubconditionArray) ToServiceEventRuleConditionsSubconditionArrayOutput() ServiceEventRuleConditionsSubconditionArrayOutput

func (ServiceEventRuleConditionsSubconditionArray) ToServiceEventRuleConditionsSubconditionArrayOutputWithContext

func (i ServiceEventRuleConditionsSubconditionArray) ToServiceEventRuleConditionsSubconditionArrayOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionArrayOutput

type ServiceEventRuleConditionsSubconditionArrayInput

type ServiceEventRuleConditionsSubconditionArrayInput interface {
	pulumi.Input

	ToServiceEventRuleConditionsSubconditionArrayOutput() ServiceEventRuleConditionsSubconditionArrayOutput
	ToServiceEventRuleConditionsSubconditionArrayOutputWithContext(context.Context) ServiceEventRuleConditionsSubconditionArrayOutput
}

ServiceEventRuleConditionsSubconditionArrayInput is an input type that accepts ServiceEventRuleConditionsSubconditionArray and ServiceEventRuleConditionsSubconditionArrayOutput values. You can construct a concrete instance of `ServiceEventRuleConditionsSubconditionArrayInput` via:

ServiceEventRuleConditionsSubconditionArray{ ServiceEventRuleConditionsSubconditionArgs{...} }

type ServiceEventRuleConditionsSubconditionArrayOutput

type ServiceEventRuleConditionsSubconditionArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleConditionsSubconditionArrayOutput) ElementType

func (ServiceEventRuleConditionsSubconditionArrayOutput) Index

func (ServiceEventRuleConditionsSubconditionArrayOutput) ToServiceEventRuleConditionsSubconditionArrayOutput

func (o ServiceEventRuleConditionsSubconditionArrayOutput) ToServiceEventRuleConditionsSubconditionArrayOutput() ServiceEventRuleConditionsSubconditionArrayOutput

func (ServiceEventRuleConditionsSubconditionArrayOutput) ToServiceEventRuleConditionsSubconditionArrayOutputWithContext

func (o ServiceEventRuleConditionsSubconditionArrayOutput) ToServiceEventRuleConditionsSubconditionArrayOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionArrayOutput

type ServiceEventRuleConditionsSubconditionInput

type ServiceEventRuleConditionsSubconditionInput interface {
	pulumi.Input

	ToServiceEventRuleConditionsSubconditionOutput() ServiceEventRuleConditionsSubconditionOutput
	ToServiceEventRuleConditionsSubconditionOutputWithContext(context.Context) ServiceEventRuleConditionsSubconditionOutput
}

ServiceEventRuleConditionsSubconditionInput is an input type that accepts ServiceEventRuleConditionsSubconditionArgs and ServiceEventRuleConditionsSubconditionOutput values. You can construct a concrete instance of `ServiceEventRuleConditionsSubconditionInput` via:

ServiceEventRuleConditionsSubconditionArgs{...}

type ServiceEventRuleConditionsSubconditionOutput

type ServiceEventRuleConditionsSubconditionOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleConditionsSubconditionOutput) ElementType

func (ServiceEventRuleConditionsSubconditionOutput) Operator

Type of operator to apply to the sub-condition. Can be `exists`,`nexists`,`equals`,`nequals`,`contains`,`ncontains`,`matches`, or `nmatches`.

func (ServiceEventRuleConditionsSubconditionOutput) Parameters

Parameter for the sub-condition. It requires both a `path` and `value` to be set. The `path` value must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.

func (ServiceEventRuleConditionsSubconditionOutput) ToServiceEventRuleConditionsSubconditionOutput

func (o ServiceEventRuleConditionsSubconditionOutput) ToServiceEventRuleConditionsSubconditionOutput() ServiceEventRuleConditionsSubconditionOutput

func (ServiceEventRuleConditionsSubconditionOutput) ToServiceEventRuleConditionsSubconditionOutputWithContext

func (o ServiceEventRuleConditionsSubconditionOutput) ToServiceEventRuleConditionsSubconditionOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionOutput

type ServiceEventRuleConditionsSubconditionParameter

type ServiceEventRuleConditionsSubconditionParameter struct {
	// Path to a field in an event, in dot-notation. For Event Rules on a Service, this will have to be a [PD-CEF field](https://support.pagerduty.com/docs/pd-cef).
	Path *string `pulumi:"path"`
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value *string `pulumi:"value"`
}

type ServiceEventRuleConditionsSubconditionParameterArgs

type ServiceEventRuleConditionsSubconditionParameterArgs struct {
	// Path to a field in an event, in dot-notation. For Event Rules on a Service, this will have to be a [PD-CEF field](https://support.pagerduty.com/docs/pd-cef).
	Path pulumi.StringPtrInput `pulumi:"path"`
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ServiceEventRuleConditionsSubconditionParameterArgs) ElementType

func (ServiceEventRuleConditionsSubconditionParameterArgs) ToServiceEventRuleConditionsSubconditionParameterOutput

func (i ServiceEventRuleConditionsSubconditionParameterArgs) ToServiceEventRuleConditionsSubconditionParameterOutput() ServiceEventRuleConditionsSubconditionParameterOutput

func (ServiceEventRuleConditionsSubconditionParameterArgs) ToServiceEventRuleConditionsSubconditionParameterOutputWithContext

func (i ServiceEventRuleConditionsSubconditionParameterArgs) ToServiceEventRuleConditionsSubconditionParameterOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionParameterOutput

type ServiceEventRuleConditionsSubconditionParameterArray

type ServiceEventRuleConditionsSubconditionParameterArray []ServiceEventRuleConditionsSubconditionParameterInput

func (ServiceEventRuleConditionsSubconditionParameterArray) ElementType

func (ServiceEventRuleConditionsSubconditionParameterArray) ToServiceEventRuleConditionsSubconditionParameterArrayOutput

func (i ServiceEventRuleConditionsSubconditionParameterArray) ToServiceEventRuleConditionsSubconditionParameterArrayOutput() ServiceEventRuleConditionsSubconditionParameterArrayOutput

func (ServiceEventRuleConditionsSubconditionParameterArray) ToServiceEventRuleConditionsSubconditionParameterArrayOutputWithContext

func (i ServiceEventRuleConditionsSubconditionParameterArray) ToServiceEventRuleConditionsSubconditionParameterArrayOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionParameterArrayOutput

type ServiceEventRuleConditionsSubconditionParameterArrayInput

type ServiceEventRuleConditionsSubconditionParameterArrayInput interface {
	pulumi.Input

	ToServiceEventRuleConditionsSubconditionParameterArrayOutput() ServiceEventRuleConditionsSubconditionParameterArrayOutput
	ToServiceEventRuleConditionsSubconditionParameterArrayOutputWithContext(context.Context) ServiceEventRuleConditionsSubconditionParameterArrayOutput
}

ServiceEventRuleConditionsSubconditionParameterArrayInput is an input type that accepts ServiceEventRuleConditionsSubconditionParameterArray and ServiceEventRuleConditionsSubconditionParameterArrayOutput values. You can construct a concrete instance of `ServiceEventRuleConditionsSubconditionParameterArrayInput` via:

ServiceEventRuleConditionsSubconditionParameterArray{ ServiceEventRuleConditionsSubconditionParameterArgs{...} }

type ServiceEventRuleConditionsSubconditionParameterArrayOutput

type ServiceEventRuleConditionsSubconditionParameterArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleConditionsSubconditionParameterArrayOutput) ElementType

func (ServiceEventRuleConditionsSubconditionParameterArrayOutput) Index

func (ServiceEventRuleConditionsSubconditionParameterArrayOutput) ToServiceEventRuleConditionsSubconditionParameterArrayOutput

func (ServiceEventRuleConditionsSubconditionParameterArrayOutput) ToServiceEventRuleConditionsSubconditionParameterArrayOutputWithContext

func (o ServiceEventRuleConditionsSubconditionParameterArrayOutput) ToServiceEventRuleConditionsSubconditionParameterArrayOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionParameterArrayOutput

type ServiceEventRuleConditionsSubconditionParameterInput

type ServiceEventRuleConditionsSubconditionParameterInput interface {
	pulumi.Input

	ToServiceEventRuleConditionsSubconditionParameterOutput() ServiceEventRuleConditionsSubconditionParameterOutput
	ToServiceEventRuleConditionsSubconditionParameterOutputWithContext(context.Context) ServiceEventRuleConditionsSubconditionParameterOutput
}

ServiceEventRuleConditionsSubconditionParameterInput is an input type that accepts ServiceEventRuleConditionsSubconditionParameterArgs and ServiceEventRuleConditionsSubconditionParameterOutput values. You can construct a concrete instance of `ServiceEventRuleConditionsSubconditionParameterInput` via:

ServiceEventRuleConditionsSubconditionParameterArgs{...}

type ServiceEventRuleConditionsSubconditionParameterOutput

type ServiceEventRuleConditionsSubconditionParameterOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleConditionsSubconditionParameterOutput) ElementType

func (ServiceEventRuleConditionsSubconditionParameterOutput) Path

Path to a field in an event, in dot-notation. For Event Rules on a Service, this will have to be a [PD-CEF field](https://support.pagerduty.com/docs/pd-cef).

func (ServiceEventRuleConditionsSubconditionParameterOutput) ToServiceEventRuleConditionsSubconditionParameterOutput

func (ServiceEventRuleConditionsSubconditionParameterOutput) ToServiceEventRuleConditionsSubconditionParameterOutputWithContext

func (o ServiceEventRuleConditionsSubconditionParameterOutput) ToServiceEventRuleConditionsSubconditionParameterOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionParameterOutput

func (ServiceEventRuleConditionsSubconditionParameterOutput) Value

Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.

type ServiceEventRuleInput

type ServiceEventRuleInput interface {
	pulumi.Input

	ToServiceEventRuleOutput() ServiceEventRuleOutput
	ToServiceEventRuleOutputWithContext(ctx context.Context) ServiceEventRuleOutput
}

type ServiceEventRuleMap

type ServiceEventRuleMap map[string]ServiceEventRuleInput

func (ServiceEventRuleMap) ElementType

func (ServiceEventRuleMap) ElementType() reflect.Type

func (ServiceEventRuleMap) ToServiceEventRuleMapOutput

func (i ServiceEventRuleMap) ToServiceEventRuleMapOutput() ServiceEventRuleMapOutput

func (ServiceEventRuleMap) ToServiceEventRuleMapOutputWithContext

func (i ServiceEventRuleMap) ToServiceEventRuleMapOutputWithContext(ctx context.Context) ServiceEventRuleMapOutput

type ServiceEventRuleMapInput

type ServiceEventRuleMapInput interface {
	pulumi.Input

	ToServiceEventRuleMapOutput() ServiceEventRuleMapOutput
	ToServiceEventRuleMapOutputWithContext(context.Context) ServiceEventRuleMapOutput
}

ServiceEventRuleMapInput is an input type that accepts ServiceEventRuleMap and ServiceEventRuleMapOutput values. You can construct a concrete instance of `ServiceEventRuleMapInput` via:

ServiceEventRuleMap{ "key": ServiceEventRuleArgs{...} }

type ServiceEventRuleMapOutput

type ServiceEventRuleMapOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleMapOutput) ElementType

func (ServiceEventRuleMapOutput) ElementType() reflect.Type

func (ServiceEventRuleMapOutput) MapIndex

func (ServiceEventRuleMapOutput) ToServiceEventRuleMapOutput

func (o ServiceEventRuleMapOutput) ToServiceEventRuleMapOutput() ServiceEventRuleMapOutput

func (ServiceEventRuleMapOutput) ToServiceEventRuleMapOutputWithContext

func (o ServiceEventRuleMapOutput) ToServiceEventRuleMapOutputWithContext(ctx context.Context) ServiceEventRuleMapOutput

type ServiceEventRuleOutput

type ServiceEventRuleOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleOutput) Actions added in v3.5.1

Actions to apply to an event if the conditions match.

func (ServiceEventRuleOutput) Conditions added in v3.5.1

Conditions evaluated to check if an event matches this event rule.

func (ServiceEventRuleOutput) Disabled added in v3.5.1

Indicates whether the rule is disabled and would therefore not be evaluated.

func (ServiceEventRuleOutput) ElementType

func (ServiceEventRuleOutput) ElementType() reflect.Type

func (ServiceEventRuleOutput) Position added in v3.5.1

Position/index of the rule within the service.

func (ServiceEventRuleOutput) Service added in v3.5.1

The ID of the service that the rule belongs to.

func (ServiceEventRuleOutput) TimeFrame added in v3.5.1

Settings for [scheduling the rule](https://support.pagerduty.com/docs/rulesets#section-scheduled-event-rules).

func (ServiceEventRuleOutput) ToServiceEventRuleOutput

func (o ServiceEventRuleOutput) ToServiceEventRuleOutput() ServiceEventRuleOutput

func (ServiceEventRuleOutput) ToServiceEventRuleOutputWithContext

func (o ServiceEventRuleOutput) ToServiceEventRuleOutputWithContext(ctx context.Context) ServiceEventRuleOutput

func (ServiceEventRuleOutput) Variables added in v3.5.1

Populate variables from event payloads and use those variables in other event actions. *NOTE: A rule can have multiple `variable` objects.*

type ServiceEventRuleState

type ServiceEventRuleState struct {
	// Actions to apply to an event if the conditions match.
	Actions ServiceEventRuleActionsPtrInput
	// Conditions evaluated to check if an event matches this event rule.
	Conditions ServiceEventRuleConditionsPtrInput
	// Indicates whether the rule is disabled and would therefore not be evaluated.
	Disabled pulumi.BoolPtrInput
	// Position/index of the rule within the service.
	Position pulumi.IntPtrInput
	// The ID of the service that the rule belongs to.
	Service pulumi.StringPtrInput
	// Settings for [scheduling the rule](https://support.pagerduty.com/docs/rulesets#section-scheduled-event-rules).
	TimeFrame ServiceEventRuleTimeFramePtrInput
	// Populate variables from event payloads and use those variables in other event actions. *NOTE: A rule can have multiple `variable` objects.*
	Variables ServiceEventRuleVariableArrayInput
}

func (ServiceEventRuleState) ElementType

func (ServiceEventRuleState) ElementType() reflect.Type

type ServiceEventRuleTimeFrame

type ServiceEventRuleTimeFrame struct {
	// Values for executing the rule during a specific time period.
	ActiveBetweens []ServiceEventRuleTimeFrameActiveBetween `pulumi:"activeBetweens"`
	// Values for executing the rule on a recurring schedule.
	ScheduledWeeklies []ServiceEventRuleTimeFrameScheduledWeekly `pulumi:"scheduledWeeklies"`
}

type ServiceEventRuleTimeFrameActiveBetween

type ServiceEventRuleTimeFrameActiveBetween struct {
	// Ending of the scheduled time when the rule should execute.  Unix timestamp in milliseconds.
	EndTime *int `pulumi:"endTime"`
	// Time when the schedule will start. Unix timestamp in milliseconds. For example, if you have a rule with a `startTime` of `0` and a `duration` of `60,000` then that rule would be active from `00:00` to `00:01`. If the `startTime` was `3,600,000` the it would be active starting at `01:00`.
	StartTime *int `pulumi:"startTime"`
}

type ServiceEventRuleTimeFrameActiveBetweenArgs

type ServiceEventRuleTimeFrameActiveBetweenArgs struct {
	// Ending of the scheduled time when the rule should execute.  Unix timestamp in milliseconds.
	EndTime pulumi.IntPtrInput `pulumi:"endTime"`
	// Time when the schedule will start. Unix timestamp in milliseconds. For example, if you have a rule with a `startTime` of `0` and a `duration` of `60,000` then that rule would be active from `00:00` to `00:01`. If the `startTime` was `3,600,000` the it would be active starting at `01:00`.
	StartTime pulumi.IntPtrInput `pulumi:"startTime"`
}

func (ServiceEventRuleTimeFrameActiveBetweenArgs) ElementType

func (ServiceEventRuleTimeFrameActiveBetweenArgs) ToServiceEventRuleTimeFrameActiveBetweenOutput

func (i ServiceEventRuleTimeFrameActiveBetweenArgs) ToServiceEventRuleTimeFrameActiveBetweenOutput() ServiceEventRuleTimeFrameActiveBetweenOutput

func (ServiceEventRuleTimeFrameActiveBetweenArgs) ToServiceEventRuleTimeFrameActiveBetweenOutputWithContext

func (i ServiceEventRuleTimeFrameActiveBetweenArgs) ToServiceEventRuleTimeFrameActiveBetweenOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameActiveBetweenOutput

type ServiceEventRuleTimeFrameActiveBetweenArray

type ServiceEventRuleTimeFrameActiveBetweenArray []ServiceEventRuleTimeFrameActiveBetweenInput

func (ServiceEventRuleTimeFrameActiveBetweenArray) ElementType

func (ServiceEventRuleTimeFrameActiveBetweenArray) ToServiceEventRuleTimeFrameActiveBetweenArrayOutput

func (i ServiceEventRuleTimeFrameActiveBetweenArray) ToServiceEventRuleTimeFrameActiveBetweenArrayOutput() ServiceEventRuleTimeFrameActiveBetweenArrayOutput

func (ServiceEventRuleTimeFrameActiveBetweenArray) ToServiceEventRuleTimeFrameActiveBetweenArrayOutputWithContext

func (i ServiceEventRuleTimeFrameActiveBetweenArray) ToServiceEventRuleTimeFrameActiveBetweenArrayOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameActiveBetweenArrayOutput

type ServiceEventRuleTimeFrameActiveBetweenArrayInput

type ServiceEventRuleTimeFrameActiveBetweenArrayInput interface {
	pulumi.Input

	ToServiceEventRuleTimeFrameActiveBetweenArrayOutput() ServiceEventRuleTimeFrameActiveBetweenArrayOutput
	ToServiceEventRuleTimeFrameActiveBetweenArrayOutputWithContext(context.Context) ServiceEventRuleTimeFrameActiveBetweenArrayOutput
}

ServiceEventRuleTimeFrameActiveBetweenArrayInput is an input type that accepts ServiceEventRuleTimeFrameActiveBetweenArray and ServiceEventRuleTimeFrameActiveBetweenArrayOutput values. You can construct a concrete instance of `ServiceEventRuleTimeFrameActiveBetweenArrayInput` via:

ServiceEventRuleTimeFrameActiveBetweenArray{ ServiceEventRuleTimeFrameActiveBetweenArgs{...} }

type ServiceEventRuleTimeFrameActiveBetweenArrayOutput

type ServiceEventRuleTimeFrameActiveBetweenArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ElementType

func (ServiceEventRuleTimeFrameActiveBetweenArrayOutput) Index

func (ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ToServiceEventRuleTimeFrameActiveBetweenArrayOutput

func (o ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ToServiceEventRuleTimeFrameActiveBetweenArrayOutput() ServiceEventRuleTimeFrameActiveBetweenArrayOutput

func (ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ToServiceEventRuleTimeFrameActiveBetweenArrayOutputWithContext

func (o ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ToServiceEventRuleTimeFrameActiveBetweenArrayOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameActiveBetweenArrayOutput

type ServiceEventRuleTimeFrameActiveBetweenInput

type ServiceEventRuleTimeFrameActiveBetweenInput interface {
	pulumi.Input

	ToServiceEventRuleTimeFrameActiveBetweenOutput() ServiceEventRuleTimeFrameActiveBetweenOutput
	ToServiceEventRuleTimeFrameActiveBetweenOutputWithContext(context.Context) ServiceEventRuleTimeFrameActiveBetweenOutput
}

ServiceEventRuleTimeFrameActiveBetweenInput is an input type that accepts ServiceEventRuleTimeFrameActiveBetweenArgs and ServiceEventRuleTimeFrameActiveBetweenOutput values. You can construct a concrete instance of `ServiceEventRuleTimeFrameActiveBetweenInput` via:

ServiceEventRuleTimeFrameActiveBetweenArgs{...}

type ServiceEventRuleTimeFrameActiveBetweenOutput

type ServiceEventRuleTimeFrameActiveBetweenOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleTimeFrameActiveBetweenOutput) ElementType

func (ServiceEventRuleTimeFrameActiveBetweenOutput) EndTime

Ending of the scheduled time when the rule should execute. Unix timestamp in milliseconds.

func (ServiceEventRuleTimeFrameActiveBetweenOutput) StartTime

Time when the schedule will start. Unix timestamp in milliseconds. For example, if you have a rule with a `startTime` of `0` and a `duration` of `60,000` then that rule would be active from `00:00` to `00:01`. If the `startTime` was `3,600,000` the it would be active starting at `01:00`.

func (ServiceEventRuleTimeFrameActiveBetweenOutput) ToServiceEventRuleTimeFrameActiveBetweenOutput

func (o ServiceEventRuleTimeFrameActiveBetweenOutput) ToServiceEventRuleTimeFrameActiveBetweenOutput() ServiceEventRuleTimeFrameActiveBetweenOutput

func (ServiceEventRuleTimeFrameActiveBetweenOutput) ToServiceEventRuleTimeFrameActiveBetweenOutputWithContext

func (o ServiceEventRuleTimeFrameActiveBetweenOutput) ToServiceEventRuleTimeFrameActiveBetweenOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameActiveBetweenOutput

type ServiceEventRuleTimeFrameArgs

type ServiceEventRuleTimeFrameArgs struct {
	// Values for executing the rule during a specific time period.
	ActiveBetweens ServiceEventRuleTimeFrameActiveBetweenArrayInput `pulumi:"activeBetweens"`
	// Values for executing the rule on a recurring schedule.
	ScheduledWeeklies ServiceEventRuleTimeFrameScheduledWeeklyArrayInput `pulumi:"scheduledWeeklies"`
}

func (ServiceEventRuleTimeFrameArgs) ElementType

func (ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFrameOutput

func (i ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFrameOutput() ServiceEventRuleTimeFrameOutput

func (ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFrameOutputWithContext

func (i ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFrameOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameOutput

func (ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFramePtrOutput

func (i ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFramePtrOutput() ServiceEventRuleTimeFramePtrOutput

func (ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFramePtrOutputWithContext

func (i ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFramePtrOutputWithContext(ctx context.Context) ServiceEventRuleTimeFramePtrOutput

type ServiceEventRuleTimeFrameInput

type ServiceEventRuleTimeFrameInput interface {
	pulumi.Input

	ToServiceEventRuleTimeFrameOutput() ServiceEventRuleTimeFrameOutput
	ToServiceEventRuleTimeFrameOutputWithContext(context.Context) ServiceEventRuleTimeFrameOutput
}

ServiceEventRuleTimeFrameInput is an input type that accepts ServiceEventRuleTimeFrameArgs and ServiceEventRuleTimeFrameOutput values. You can construct a concrete instance of `ServiceEventRuleTimeFrameInput` via:

ServiceEventRuleTimeFrameArgs{...}

type ServiceEventRuleTimeFrameOutput

type ServiceEventRuleTimeFrameOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleTimeFrameOutput) ActiveBetweens

Values for executing the rule during a specific time period.

func (ServiceEventRuleTimeFrameOutput) ElementType

func (ServiceEventRuleTimeFrameOutput) ScheduledWeeklies

Values for executing the rule on a recurring schedule.

func (ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFrameOutput

func (o ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFrameOutput() ServiceEventRuleTimeFrameOutput

func (ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFrameOutputWithContext

func (o ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFrameOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameOutput

func (ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFramePtrOutput

func (o ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFramePtrOutput() ServiceEventRuleTimeFramePtrOutput

func (ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFramePtrOutputWithContext

func (o ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFramePtrOutputWithContext(ctx context.Context) ServiceEventRuleTimeFramePtrOutput

type ServiceEventRuleTimeFramePtrInput

type ServiceEventRuleTimeFramePtrInput interface {
	pulumi.Input

	ToServiceEventRuleTimeFramePtrOutput() ServiceEventRuleTimeFramePtrOutput
	ToServiceEventRuleTimeFramePtrOutputWithContext(context.Context) ServiceEventRuleTimeFramePtrOutput
}

ServiceEventRuleTimeFramePtrInput is an input type that accepts ServiceEventRuleTimeFrameArgs, ServiceEventRuleTimeFramePtr and ServiceEventRuleTimeFramePtrOutput values. You can construct a concrete instance of `ServiceEventRuleTimeFramePtrInput` via:

        ServiceEventRuleTimeFrameArgs{...}

or:

        nil

type ServiceEventRuleTimeFramePtrOutput

type ServiceEventRuleTimeFramePtrOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleTimeFramePtrOutput) ActiveBetweens

Values for executing the rule during a specific time period.

func (ServiceEventRuleTimeFramePtrOutput) Elem

func (ServiceEventRuleTimeFramePtrOutput) ElementType

func (ServiceEventRuleTimeFramePtrOutput) ScheduledWeeklies

Values for executing the rule on a recurring schedule.

func (ServiceEventRuleTimeFramePtrOutput) ToServiceEventRuleTimeFramePtrOutput

func (o ServiceEventRuleTimeFramePtrOutput) ToServiceEventRuleTimeFramePtrOutput() ServiceEventRuleTimeFramePtrOutput

func (ServiceEventRuleTimeFramePtrOutput) ToServiceEventRuleTimeFramePtrOutputWithContext

func (o ServiceEventRuleTimeFramePtrOutput) ToServiceEventRuleTimeFramePtrOutputWithContext(ctx context.Context) ServiceEventRuleTimeFramePtrOutput

type ServiceEventRuleTimeFrameScheduledWeekly

type ServiceEventRuleTimeFrameScheduledWeekly struct {
	// Length of time the schedule will be active.  Unix timestamp in milliseconds.
	Duration *int `pulumi:"duration"`
	// Time when the schedule will start. Unix timestamp in milliseconds. For example, if you have a rule with a `startTime` of `0` and a `duration` of `60,000` then that rule would be active from `00:00` to `00:01`. If the `startTime` was `3,600,000` the it would be active starting at `01:00`.
	StartTime *int `pulumi:"startTime"`
	// Timezone for the given schedule.
	Timezone *string `pulumi:"timezone"`
	// An integer array representing which days during the week the rule executes. For example `weekdays = [1,3,7]` would execute on Monday, Wednesday and Sunday.
	Weekdays []int `pulumi:"weekdays"`
}

type ServiceEventRuleTimeFrameScheduledWeeklyArgs

type ServiceEventRuleTimeFrameScheduledWeeklyArgs struct {
	// Length of time the schedule will be active.  Unix timestamp in milliseconds.
	Duration pulumi.IntPtrInput `pulumi:"duration"`
	// Time when the schedule will start. Unix timestamp in milliseconds. For example, if you have a rule with a `startTime` of `0` and a `duration` of `60,000` then that rule would be active from `00:00` to `00:01`. If the `startTime` was `3,600,000` the it would be active starting at `01:00`.
	StartTime pulumi.IntPtrInput `pulumi:"startTime"`
	// Timezone for the given schedule.
	Timezone pulumi.StringPtrInput `pulumi:"timezone"`
	// An integer array representing which days during the week the rule executes. For example `weekdays = [1,3,7]` would execute on Monday, Wednesday and Sunday.
	Weekdays pulumi.IntArrayInput `pulumi:"weekdays"`
}

func (ServiceEventRuleTimeFrameScheduledWeeklyArgs) ElementType

func (ServiceEventRuleTimeFrameScheduledWeeklyArgs) ToServiceEventRuleTimeFrameScheduledWeeklyOutput

func (i ServiceEventRuleTimeFrameScheduledWeeklyArgs) ToServiceEventRuleTimeFrameScheduledWeeklyOutput() ServiceEventRuleTimeFrameScheduledWeeklyOutput

func (ServiceEventRuleTimeFrameScheduledWeeklyArgs) ToServiceEventRuleTimeFrameScheduledWeeklyOutputWithContext

func (i ServiceEventRuleTimeFrameScheduledWeeklyArgs) ToServiceEventRuleTimeFrameScheduledWeeklyOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameScheduledWeeklyOutput

type ServiceEventRuleTimeFrameScheduledWeeklyArray

type ServiceEventRuleTimeFrameScheduledWeeklyArray []ServiceEventRuleTimeFrameScheduledWeeklyInput

func (ServiceEventRuleTimeFrameScheduledWeeklyArray) ElementType

func (ServiceEventRuleTimeFrameScheduledWeeklyArray) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutput

func (i ServiceEventRuleTimeFrameScheduledWeeklyArray) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutput() ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput

func (ServiceEventRuleTimeFrameScheduledWeeklyArray) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutputWithContext

func (i ServiceEventRuleTimeFrameScheduledWeeklyArray) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput

type ServiceEventRuleTimeFrameScheduledWeeklyArrayInput

type ServiceEventRuleTimeFrameScheduledWeeklyArrayInput interface {
	pulumi.Input

	ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutput() ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput
	ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutputWithContext(context.Context) ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput
}

ServiceEventRuleTimeFrameScheduledWeeklyArrayInput is an input type that accepts ServiceEventRuleTimeFrameScheduledWeeklyArray and ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput values. You can construct a concrete instance of `ServiceEventRuleTimeFrameScheduledWeeklyArrayInput` via:

ServiceEventRuleTimeFrameScheduledWeeklyArray{ ServiceEventRuleTimeFrameScheduledWeeklyArgs{...} }

type ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput

type ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ElementType

func (ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) Index

func (ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutput

func (o ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutput() ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput

func (ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutputWithContext

func (o ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput

type ServiceEventRuleTimeFrameScheduledWeeklyInput

type ServiceEventRuleTimeFrameScheduledWeeklyInput interface {
	pulumi.Input

	ToServiceEventRuleTimeFrameScheduledWeeklyOutput() ServiceEventRuleTimeFrameScheduledWeeklyOutput
	ToServiceEventRuleTimeFrameScheduledWeeklyOutputWithContext(context.Context) ServiceEventRuleTimeFrameScheduledWeeklyOutput
}

ServiceEventRuleTimeFrameScheduledWeeklyInput is an input type that accepts ServiceEventRuleTimeFrameScheduledWeeklyArgs and ServiceEventRuleTimeFrameScheduledWeeklyOutput values. You can construct a concrete instance of `ServiceEventRuleTimeFrameScheduledWeeklyInput` via:

ServiceEventRuleTimeFrameScheduledWeeklyArgs{...}

type ServiceEventRuleTimeFrameScheduledWeeklyOutput

type ServiceEventRuleTimeFrameScheduledWeeklyOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) Duration

Length of time the schedule will be active. Unix timestamp in milliseconds.

func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) ElementType

func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) StartTime

Time when the schedule will start. Unix timestamp in milliseconds. For example, if you have a rule with a `startTime` of `0` and a `duration` of `60,000` then that rule would be active from `00:00` to `00:01`. If the `startTime` was `3,600,000` the it would be active starting at `01:00`.

func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) Timezone

Timezone for the given schedule.

func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) ToServiceEventRuleTimeFrameScheduledWeeklyOutput

func (o ServiceEventRuleTimeFrameScheduledWeeklyOutput) ToServiceEventRuleTimeFrameScheduledWeeklyOutput() ServiceEventRuleTimeFrameScheduledWeeklyOutput

func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) ToServiceEventRuleTimeFrameScheduledWeeklyOutputWithContext

func (o ServiceEventRuleTimeFrameScheduledWeeklyOutput) ToServiceEventRuleTimeFrameScheduledWeeklyOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameScheduledWeeklyOutput

func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) Weekdays

An integer array representing which days during the week the rule executes. For example `weekdays = [1,3,7]` would execute on Monday, Wednesday and Sunday.

type ServiceEventRuleVariable

type ServiceEventRuleVariable struct {
	// The name of the variable.
	Name *string `pulumi:"name"`
	// The parameters for performing the operation to populate the variable.
	Parameters []ServiceEventRuleVariableParameter `pulumi:"parameters"`
	// Type of operation to populate the variable. Usually `regex`.
	Type *string `pulumi:"type"`
}

type ServiceEventRuleVariableArgs

type ServiceEventRuleVariableArgs struct {
	// The name of the variable.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The parameters for performing the operation to populate the variable.
	Parameters ServiceEventRuleVariableParameterArrayInput `pulumi:"parameters"`
	// Type of operation to populate the variable. Usually `regex`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ServiceEventRuleVariableArgs) ElementType

func (ServiceEventRuleVariableArgs) ToServiceEventRuleVariableOutput

func (i ServiceEventRuleVariableArgs) ToServiceEventRuleVariableOutput() ServiceEventRuleVariableOutput

func (ServiceEventRuleVariableArgs) ToServiceEventRuleVariableOutputWithContext

func (i ServiceEventRuleVariableArgs) ToServiceEventRuleVariableOutputWithContext(ctx context.Context) ServiceEventRuleVariableOutput

type ServiceEventRuleVariableArray

type ServiceEventRuleVariableArray []ServiceEventRuleVariableInput

func (ServiceEventRuleVariableArray) ElementType

func (ServiceEventRuleVariableArray) ToServiceEventRuleVariableArrayOutput

func (i ServiceEventRuleVariableArray) ToServiceEventRuleVariableArrayOutput() ServiceEventRuleVariableArrayOutput

func (ServiceEventRuleVariableArray) ToServiceEventRuleVariableArrayOutputWithContext

func (i ServiceEventRuleVariableArray) ToServiceEventRuleVariableArrayOutputWithContext(ctx context.Context) ServiceEventRuleVariableArrayOutput

type ServiceEventRuleVariableArrayInput

type ServiceEventRuleVariableArrayInput interface {
	pulumi.Input

	ToServiceEventRuleVariableArrayOutput() ServiceEventRuleVariableArrayOutput
	ToServiceEventRuleVariableArrayOutputWithContext(context.Context) ServiceEventRuleVariableArrayOutput
}

ServiceEventRuleVariableArrayInput is an input type that accepts ServiceEventRuleVariableArray and ServiceEventRuleVariableArrayOutput values. You can construct a concrete instance of `ServiceEventRuleVariableArrayInput` via:

ServiceEventRuleVariableArray{ ServiceEventRuleVariableArgs{...} }

type ServiceEventRuleVariableArrayOutput

type ServiceEventRuleVariableArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleVariableArrayOutput) ElementType

func (ServiceEventRuleVariableArrayOutput) Index

func (ServiceEventRuleVariableArrayOutput) ToServiceEventRuleVariableArrayOutput

func (o ServiceEventRuleVariableArrayOutput) ToServiceEventRuleVariableArrayOutput() ServiceEventRuleVariableArrayOutput

func (ServiceEventRuleVariableArrayOutput) ToServiceEventRuleVariableArrayOutputWithContext

func (o ServiceEventRuleVariableArrayOutput) ToServiceEventRuleVariableArrayOutputWithContext(ctx context.Context) ServiceEventRuleVariableArrayOutput

type ServiceEventRuleVariableInput

type ServiceEventRuleVariableInput interface {
	pulumi.Input

	ToServiceEventRuleVariableOutput() ServiceEventRuleVariableOutput
	ToServiceEventRuleVariableOutputWithContext(context.Context) ServiceEventRuleVariableOutput
}

ServiceEventRuleVariableInput is an input type that accepts ServiceEventRuleVariableArgs and ServiceEventRuleVariableOutput values. You can construct a concrete instance of `ServiceEventRuleVariableInput` via:

ServiceEventRuleVariableArgs{...}

type ServiceEventRuleVariableOutput

type ServiceEventRuleVariableOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleVariableOutput) ElementType

func (ServiceEventRuleVariableOutput) Name

The name of the variable.

func (ServiceEventRuleVariableOutput) Parameters

The parameters for performing the operation to populate the variable.

func (ServiceEventRuleVariableOutput) ToServiceEventRuleVariableOutput

func (o ServiceEventRuleVariableOutput) ToServiceEventRuleVariableOutput() ServiceEventRuleVariableOutput

func (ServiceEventRuleVariableOutput) ToServiceEventRuleVariableOutputWithContext

func (o ServiceEventRuleVariableOutput) ToServiceEventRuleVariableOutputWithContext(ctx context.Context) ServiceEventRuleVariableOutput

func (ServiceEventRuleVariableOutput) Type

Type of operation to populate the variable. Usually `regex`.

type ServiceEventRuleVariableParameter

type ServiceEventRuleVariableParameter struct {
	// Path to a field in an event, in dot-notation. For Event Rules on a Service, this will have to be a [PD-CEF field](https://support.pagerduty.com/docs/pd-cef).
	Path *string `pulumi:"path"`
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value *string `pulumi:"value"`
}

type ServiceEventRuleVariableParameterArgs

type ServiceEventRuleVariableParameterArgs struct {
	// Path to a field in an event, in dot-notation. For Event Rules on a Service, this will have to be a [PD-CEF field](https://support.pagerduty.com/docs/pd-cef).
	Path pulumi.StringPtrInput `pulumi:"path"`
	// Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ServiceEventRuleVariableParameterArgs) ElementType

func (ServiceEventRuleVariableParameterArgs) ToServiceEventRuleVariableParameterOutput

func (i ServiceEventRuleVariableParameterArgs) ToServiceEventRuleVariableParameterOutput() ServiceEventRuleVariableParameterOutput

func (ServiceEventRuleVariableParameterArgs) ToServiceEventRuleVariableParameterOutputWithContext

func (i ServiceEventRuleVariableParameterArgs) ToServiceEventRuleVariableParameterOutputWithContext(ctx context.Context) ServiceEventRuleVariableParameterOutput

type ServiceEventRuleVariableParameterArray

type ServiceEventRuleVariableParameterArray []ServiceEventRuleVariableParameterInput

func (ServiceEventRuleVariableParameterArray) ElementType

func (ServiceEventRuleVariableParameterArray) ToServiceEventRuleVariableParameterArrayOutput

func (i ServiceEventRuleVariableParameterArray) ToServiceEventRuleVariableParameterArrayOutput() ServiceEventRuleVariableParameterArrayOutput

func (ServiceEventRuleVariableParameterArray) ToServiceEventRuleVariableParameterArrayOutputWithContext

func (i ServiceEventRuleVariableParameterArray) ToServiceEventRuleVariableParameterArrayOutputWithContext(ctx context.Context) ServiceEventRuleVariableParameterArrayOutput

type ServiceEventRuleVariableParameterArrayInput

type ServiceEventRuleVariableParameterArrayInput interface {
	pulumi.Input

	ToServiceEventRuleVariableParameterArrayOutput() ServiceEventRuleVariableParameterArrayOutput
	ToServiceEventRuleVariableParameterArrayOutputWithContext(context.Context) ServiceEventRuleVariableParameterArrayOutput
}

ServiceEventRuleVariableParameterArrayInput is an input type that accepts ServiceEventRuleVariableParameterArray and ServiceEventRuleVariableParameterArrayOutput values. You can construct a concrete instance of `ServiceEventRuleVariableParameterArrayInput` via:

ServiceEventRuleVariableParameterArray{ ServiceEventRuleVariableParameterArgs{...} }

type ServiceEventRuleVariableParameterArrayOutput

type ServiceEventRuleVariableParameterArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleVariableParameterArrayOutput) ElementType

func (ServiceEventRuleVariableParameterArrayOutput) Index

func (ServiceEventRuleVariableParameterArrayOutput) ToServiceEventRuleVariableParameterArrayOutput

func (o ServiceEventRuleVariableParameterArrayOutput) ToServiceEventRuleVariableParameterArrayOutput() ServiceEventRuleVariableParameterArrayOutput

func (ServiceEventRuleVariableParameterArrayOutput) ToServiceEventRuleVariableParameterArrayOutputWithContext

func (o ServiceEventRuleVariableParameterArrayOutput) ToServiceEventRuleVariableParameterArrayOutputWithContext(ctx context.Context) ServiceEventRuleVariableParameterArrayOutput

type ServiceEventRuleVariableParameterInput

type ServiceEventRuleVariableParameterInput interface {
	pulumi.Input

	ToServiceEventRuleVariableParameterOutput() ServiceEventRuleVariableParameterOutput
	ToServiceEventRuleVariableParameterOutputWithContext(context.Context) ServiceEventRuleVariableParameterOutput
}

ServiceEventRuleVariableParameterInput is an input type that accepts ServiceEventRuleVariableParameterArgs and ServiceEventRuleVariableParameterOutput values. You can construct a concrete instance of `ServiceEventRuleVariableParameterInput` via:

ServiceEventRuleVariableParameterArgs{...}

type ServiceEventRuleVariableParameterOutput

type ServiceEventRuleVariableParameterOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleVariableParameterOutput) ElementType

func (ServiceEventRuleVariableParameterOutput) Path

Path to a field in an event, in dot-notation. For Event Rules on a Service, this will have to be a [PD-CEF field](https://support.pagerduty.com/docs/pd-cef).

func (ServiceEventRuleVariableParameterOutput) ToServiceEventRuleVariableParameterOutput

func (o ServiceEventRuleVariableParameterOutput) ToServiceEventRuleVariableParameterOutput() ServiceEventRuleVariableParameterOutput

func (ServiceEventRuleVariableParameterOutput) ToServiceEventRuleVariableParameterOutputWithContext

func (o ServiceEventRuleVariableParameterOutput) ToServiceEventRuleVariableParameterOutputWithContext(ctx context.Context) ServiceEventRuleVariableParameterOutput

func (ServiceEventRuleVariableParameterOutput) Value

Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.

type ServiceIncidentUrgencyRule

type ServiceIncidentUrgencyRule struct {
	// Incidents' urgency during support hours.
	DuringSupportHours *ServiceIncidentUrgencyRuleDuringSupportHours `pulumi:"duringSupportHours"`
	// Incidents' urgency outside support hours.
	//
	// When using `type = "useSupportHours"` in `incidentUrgencyRule` you must specify exactly one (otherwise optional) `supportHours` block.
	// Your PagerDuty account must have the `serviceSupportHours` ability to assign support hours.
	// The block contains the following arguments:
	OutsideSupportHours *ServiceIncidentUrgencyRuleOutsideSupportHours `pulumi:"outsideSupportHours"`
	// The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
	Type string `pulumi:"type"`
	// The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool.
	Urgency *string `pulumi:"urgency"`
}

type ServiceIncidentUrgencyRuleArgs

type ServiceIncidentUrgencyRuleArgs struct {
	// Incidents' urgency during support hours.
	DuringSupportHours ServiceIncidentUrgencyRuleDuringSupportHoursPtrInput `pulumi:"duringSupportHours"`
	// Incidents' urgency outside support hours.
	//
	// When using `type = "useSupportHours"` in `incidentUrgencyRule` you must specify exactly one (otherwise optional) `supportHours` block.
	// Your PagerDuty account must have the `serviceSupportHours` ability to assign support hours.
	// The block contains the following arguments:
	OutsideSupportHours ServiceIncidentUrgencyRuleOutsideSupportHoursPtrInput `pulumi:"outsideSupportHours"`
	// The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
	Type pulumi.StringInput `pulumi:"type"`
	// The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool.
	Urgency pulumi.StringPtrInput `pulumi:"urgency"`
}

func (ServiceIncidentUrgencyRuleArgs) ElementType

func (ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRuleOutput

func (i ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRuleOutput() ServiceIncidentUrgencyRuleOutput

func (ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRuleOutputWithContext

func (i ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRuleOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutput

func (ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRulePtrOutput

func (i ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRulePtrOutput() ServiceIncidentUrgencyRulePtrOutput

func (ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRulePtrOutputWithContext

func (i ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRulePtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRulePtrOutput

type ServiceIncidentUrgencyRuleDuringSupportHours

type ServiceIncidentUrgencyRuleDuringSupportHours struct {
	// The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
	Type *string `pulumi:"type"`
	// The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool.
	Urgency *string `pulumi:"urgency"`
}

type ServiceIncidentUrgencyRuleDuringSupportHoursArgs

type ServiceIncidentUrgencyRuleDuringSupportHoursArgs struct {
	// The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool.
	Urgency pulumi.StringPtrInput `pulumi:"urgency"`
}

func (ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ElementType

func (ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursOutput

func (i ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursOutput() ServiceIncidentUrgencyRuleDuringSupportHoursOutput

func (ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursOutputWithContext

func (i ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursOutput

func (ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput

func (i ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput() ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput

func (ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutputWithContext

func (i ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput

type ServiceIncidentUrgencyRuleDuringSupportHoursInput

type ServiceIncidentUrgencyRuleDuringSupportHoursInput interface {
	pulumi.Input

	ToServiceIncidentUrgencyRuleDuringSupportHoursOutput() ServiceIncidentUrgencyRuleDuringSupportHoursOutput
	ToServiceIncidentUrgencyRuleDuringSupportHoursOutputWithContext(context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursOutput
}

ServiceIncidentUrgencyRuleDuringSupportHoursInput is an input type that accepts ServiceIncidentUrgencyRuleDuringSupportHoursArgs and ServiceIncidentUrgencyRuleDuringSupportHoursOutput values. You can construct a concrete instance of `ServiceIncidentUrgencyRuleDuringSupportHoursInput` via:

ServiceIncidentUrgencyRuleDuringSupportHoursArgs{...}

type ServiceIncidentUrgencyRuleDuringSupportHoursOutput

type ServiceIncidentUrgencyRuleDuringSupportHoursOutput struct{ *pulumi.OutputState }

func (ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ElementType

func (ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursOutput

func (o ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursOutput() ServiceIncidentUrgencyRuleDuringSupportHoursOutput

func (ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursOutputWithContext

func (o ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursOutput

func (ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput

func (o ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput() ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput

func (ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutputWithContext

func (o ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput

func (ServiceIncidentUrgencyRuleDuringSupportHoursOutput) Type

The type of alert grouping; one of `intelligent`, `time` or `contentBased`.

func (ServiceIncidentUrgencyRuleDuringSupportHoursOutput) Urgency

The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool.

type ServiceIncidentUrgencyRuleDuringSupportHoursPtrInput

type ServiceIncidentUrgencyRuleDuringSupportHoursPtrInput interface {
	pulumi.Input

	ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput() ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
	ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutputWithContext(context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
}

ServiceIncidentUrgencyRuleDuringSupportHoursPtrInput is an input type that accepts ServiceIncidentUrgencyRuleDuringSupportHoursArgs, ServiceIncidentUrgencyRuleDuringSupportHoursPtr and ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput values. You can construct a concrete instance of `ServiceIncidentUrgencyRuleDuringSupportHoursPtrInput` via:

        ServiceIncidentUrgencyRuleDuringSupportHoursArgs{...}

or:

        nil

type ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput

type ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput struct{ *pulumi.OutputState }

func (ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) Elem

func (ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) ElementType

func (ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput

func (ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutputWithContext

func (o ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput

func (ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) Type

The type of alert grouping; one of `intelligent`, `time` or `contentBased`.

func (ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) Urgency

The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool.

type ServiceIncidentUrgencyRuleInput

type ServiceIncidentUrgencyRuleInput interface {
	pulumi.Input

	ToServiceIncidentUrgencyRuleOutput() ServiceIncidentUrgencyRuleOutput
	ToServiceIncidentUrgencyRuleOutputWithContext(context.Context) ServiceIncidentUrgencyRuleOutput
}

ServiceIncidentUrgencyRuleInput is an input type that accepts ServiceIncidentUrgencyRuleArgs and ServiceIncidentUrgencyRuleOutput values. You can construct a concrete instance of `ServiceIncidentUrgencyRuleInput` via:

ServiceIncidentUrgencyRuleArgs{...}

type ServiceIncidentUrgencyRuleOutput

type ServiceIncidentUrgencyRuleOutput struct{ *pulumi.OutputState }

func (ServiceIncidentUrgencyRuleOutput) DuringSupportHours

Incidents' urgency during support hours.

func (ServiceIncidentUrgencyRuleOutput) ElementType

func (ServiceIncidentUrgencyRuleOutput) OutsideSupportHours

Incidents' urgency outside support hours.

When using `type = "useSupportHours"` in `incidentUrgencyRule` you must specify exactly one (otherwise optional) `supportHours` block. Your PagerDuty account must have the `serviceSupportHours` ability to assign support hours. The block contains the following arguments:

func (ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRuleOutput

func (o ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRuleOutput() ServiceIncidentUrgencyRuleOutput

func (ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRuleOutputWithContext

func (o ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRuleOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutput

func (ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRulePtrOutput

func (o ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRulePtrOutput() ServiceIncidentUrgencyRulePtrOutput

func (ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRulePtrOutputWithContext

func (o ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRulePtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRulePtrOutput

func (ServiceIncidentUrgencyRuleOutput) Type

The type of alert grouping; one of `intelligent`, `time` or `contentBased`.

func (ServiceIncidentUrgencyRuleOutput) Urgency

The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool.

type ServiceIncidentUrgencyRuleOutsideSupportHours

type ServiceIncidentUrgencyRuleOutsideSupportHours struct {
	// The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
	Type *string `pulumi:"type"`
	// The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool.
	Urgency *string `pulumi:"urgency"`
}

type ServiceIncidentUrgencyRuleOutsideSupportHoursArgs

type ServiceIncidentUrgencyRuleOutsideSupportHoursArgs struct {
	// The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool.
	Urgency pulumi.StringPtrInput `pulumi:"urgency"`
}

func (ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ElementType

func (ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutput

func (i ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutput() ServiceIncidentUrgencyRuleOutsideSupportHoursOutput

func (ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutputWithContext

func (i ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursOutput

func (ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput

func (i ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput() ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput

func (ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutputWithContext

func (i ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput

type ServiceIncidentUrgencyRuleOutsideSupportHoursInput

type ServiceIncidentUrgencyRuleOutsideSupportHoursInput interface {
	pulumi.Input

	ToServiceIncidentUrgencyRuleOutsideSupportHoursOutput() ServiceIncidentUrgencyRuleOutsideSupportHoursOutput
	ToServiceIncidentUrgencyRuleOutsideSupportHoursOutputWithContext(context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursOutput
}

ServiceIncidentUrgencyRuleOutsideSupportHoursInput is an input type that accepts ServiceIncidentUrgencyRuleOutsideSupportHoursArgs and ServiceIncidentUrgencyRuleOutsideSupportHoursOutput values. You can construct a concrete instance of `ServiceIncidentUrgencyRuleOutsideSupportHoursInput` via:

ServiceIncidentUrgencyRuleOutsideSupportHoursArgs{...}

type ServiceIncidentUrgencyRuleOutsideSupportHoursOutput

type ServiceIncidentUrgencyRuleOutsideSupportHoursOutput struct{ *pulumi.OutputState }

func (ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ElementType

func (ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutput

func (o ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutput() ServiceIncidentUrgencyRuleOutsideSupportHoursOutput

func (ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutputWithContext

func (o ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursOutput

func (ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput

func (o ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput() ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput

func (ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutputWithContext

func (o ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput

func (ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) Type

The type of alert grouping; one of `intelligent`, `time` or `contentBased`.

func (ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) Urgency

The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool.

type ServiceIncidentUrgencyRuleOutsideSupportHoursPtrInput

type ServiceIncidentUrgencyRuleOutsideSupportHoursPtrInput interface {
	pulumi.Input

	ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput() ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
	ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutputWithContext(context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
}

ServiceIncidentUrgencyRuleOutsideSupportHoursPtrInput is an input type that accepts ServiceIncidentUrgencyRuleOutsideSupportHoursArgs, ServiceIncidentUrgencyRuleOutsideSupportHoursPtr and ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput values. You can construct a concrete instance of `ServiceIncidentUrgencyRuleOutsideSupportHoursPtrInput` via:

        ServiceIncidentUrgencyRuleOutsideSupportHoursArgs{...}

or:

        nil

type ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput

type ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput struct{ *pulumi.OutputState }

func (ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) Elem

func (ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) ElementType

func (ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput

func (ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutputWithContext

func (o ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput

func (ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) Type

The type of alert grouping; one of `intelligent`, `time` or `contentBased`.

func (ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) Urgency

The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool.

type ServiceIncidentUrgencyRulePtrInput

type ServiceIncidentUrgencyRulePtrInput interface {
	pulumi.Input

	ToServiceIncidentUrgencyRulePtrOutput() ServiceIncidentUrgencyRulePtrOutput
	ToServiceIncidentUrgencyRulePtrOutputWithContext(context.Context) ServiceIncidentUrgencyRulePtrOutput
}

ServiceIncidentUrgencyRulePtrInput is an input type that accepts ServiceIncidentUrgencyRuleArgs, ServiceIncidentUrgencyRulePtr and ServiceIncidentUrgencyRulePtrOutput values. You can construct a concrete instance of `ServiceIncidentUrgencyRulePtrInput` via:

        ServiceIncidentUrgencyRuleArgs{...}

or:

        nil

type ServiceIncidentUrgencyRulePtrOutput

type ServiceIncidentUrgencyRulePtrOutput struct{ *pulumi.OutputState }

func (ServiceIncidentUrgencyRulePtrOutput) DuringSupportHours

Incidents' urgency during support hours.

func (ServiceIncidentUrgencyRulePtrOutput) Elem

func (ServiceIncidentUrgencyRulePtrOutput) ElementType

func (ServiceIncidentUrgencyRulePtrOutput) OutsideSupportHours

Incidents' urgency outside support hours.

When using `type = "useSupportHours"` in `incidentUrgencyRule` you must specify exactly one (otherwise optional) `supportHours` block. Your PagerDuty account must have the `serviceSupportHours` ability to assign support hours. The block contains the following arguments:

func (ServiceIncidentUrgencyRulePtrOutput) ToServiceIncidentUrgencyRulePtrOutput

func (o ServiceIncidentUrgencyRulePtrOutput) ToServiceIncidentUrgencyRulePtrOutput() ServiceIncidentUrgencyRulePtrOutput

func (ServiceIncidentUrgencyRulePtrOutput) ToServiceIncidentUrgencyRulePtrOutputWithContext

func (o ServiceIncidentUrgencyRulePtrOutput) ToServiceIncidentUrgencyRulePtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRulePtrOutput

func (ServiceIncidentUrgencyRulePtrOutput) Type

The type of alert grouping; one of `intelligent`, `time` or `contentBased`.

func (ServiceIncidentUrgencyRulePtrOutput) Urgency

The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool.

type ServiceInput

type ServiceInput interface {
	pulumi.Input

	ToServiceOutput() ServiceOutput
	ToServiceOutputWithContext(ctx context.Context) ServiceOutput
}

type ServiceIntegration

type ServiceIntegration struct {
	pulumi.CustomResourceState

	// Mode of Emails Filters feature ([explained in PD docs](https://support.pagerduty.com/docs/email-management-filters-and-rules#configure-a-regex-filter)). Can be `all-email`, `or-rules-email` or `and-rules-email`.
	EmailFilterMode pulumi.StringOutput                      `pulumi:"emailFilterMode"`
	EmailFilters    ServiceIntegrationEmailFilterArrayOutput `pulumi:"emailFilters"`
	// Behaviour of Email Management feature ([explained in PD docs](https://support.pagerduty.com/docs/email-management-filters-and-rules#control-when-a-new-incident-or-alert-is-triggered)). Can be `onNewEmail`, `onNewEmailSubject`, `onlyIfNoOpenIncidents` or `useRules`.
	EmailIncidentCreation pulumi.StringOutput                      `pulumi:"emailIncidentCreation"`
	EmailParsers          ServiceIntegrationEmailParserArrayOutput `pulumi:"emailParsers"`
	// Can be `openNewIncident` or `discard`.
	EmailParsingFallback pulumi.StringOutput `pulumi:"emailParsingFallback"`
	// URL at which the entity is uniquely displayed in the Web app.
	HtmlUrl pulumi.StringOutput `pulumi:"htmlUrl"`
	// This is the unique fully-qualified email address used for routing emails to this integration for processing.
	IntegrationEmail pulumi.StringOutput `pulumi:"integrationEmail"`
	// This is the unique key used to route events to this integration when received via the PagerDuty Events API.
	IntegrationKey pulumi.StringOutput `pulumi:"integrationKey"`
	// The name of the service integration.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the service the integration should belong to.
	Service pulumi.StringOutput `pulumi:"service"`
	// The service type. Can be:
	// `awsCloudwatchInboundIntegration`,
	// `cloudkickInboundIntegration`,
	// `eventTransformerApiInboundIntegration`,
	// `eventsApiV2InboundIntegration` (requires service `alertCreation` to be `createAlertsAndIncidents`),
	// `genericEmailInboundIntegration`,
	// `genericEventsApiInboundIntegration`,
	// `keynoteInboundIntegration`,
	// `nagiosInboundIntegration`,
	// `pingdomInboundIntegration`or `sqlMonitorInboundIntegration`.
	//
	// **Note:** This is meant for **generic** service integrations.
	// To integrate with a **vendor** (e.g. Datadog or Amazon Cloudwatch) use the `vendor` field instead.
	Type pulumi.StringOutput `pulumi:"type"`
	// The ID of the vendor the integration should integrate with (e.g. Datadog or Amazon Cloudwatch).
	Vendor pulumi.StringOutput `pulumi:"vendor"`
}

A [service integration](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1services~1%7Bid%7D~1integrations/post) is an integration that belongs to a service.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleUser, err := pagerduty.NewUser(ctx, "exampleUser", &pagerduty.UserArgs{
			Email: pulumi.String("125.greenholt.earline@graham.name"),
			Teams: pulumi.StringArray{
				pagerduty_team.Example.Id,
			},
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewEscalationPolicy(ctx, "foo", &pagerduty.EscalationPolicyArgs{
			NumLoops: pulumi.Int(2),
			Rules: pagerduty.EscalationPolicyRuleArray{
				&pagerduty.EscalationPolicyRuleArgs{
					EscalationDelayInMinutes: pulumi.Int(10),
					Targets: pagerduty.EscalationPolicyRuleTargetArray{
						&pagerduty.EscalationPolicyRuleTargetArgs{
							Type: pulumi.String("user"),
							Id:   exampleUser.ID(),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		exampleService, err := pagerduty.NewService(ctx, "exampleService", &pagerduty.ServiceArgs{
			AutoResolveTimeout:     pulumi.String("14400"),
			AcknowledgementTimeout: pulumi.String("600"),
			EscalationPolicy:       pulumi.Any(pagerduty_escalation_policy.Example.Id),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewServiceIntegration(ctx, "exampleServiceIntegration", &pagerduty.ServiceIntegrationArgs{
			Type:    pulumi.String("generic_events_api_inbound_integration"),
			Service: exampleService.ID(),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewServiceIntegration(ctx, "apiv2", &pagerduty.ServiceIntegrationArgs{
			Type:           pulumi.String("events_api_v2_inbound_integration"),
			IntegrationKey: pulumi.String("12345678910testtesttesttesttes"),
			Service:        exampleService.ID(),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewServiceIntegration(ctx, "emailX", &pagerduty.ServiceIntegrationArgs{
			Type:             pulumi.String("generic_email_inbound_integration"),
			IntegrationEmail: pulumi.String("ecommerce@subdomain.pagerduty.com"),
			Service:          exampleService.ID(),
		})
		if err != nil {
			return err
		}
		datadogVendor, err := pagerduty.GetVendor(ctx, &pagerduty.GetVendorArgs{
			Name: "Datadog",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewServiceIntegration(ctx, "datadogServiceIntegration", &pagerduty.ServiceIntegrationArgs{
			Service: exampleService.ID(),
			Vendor:  *pulumi.String(datadogVendor.Id),
		})
		if err != nil {
			return err
		}
		cloudwatchVendor, err := pagerduty.GetVendor(ctx, &pagerduty.GetVendorArgs{
			Name: "Cloudwatch",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewServiceIntegration(ctx, "cloudwatchServiceIntegration", &pagerduty.ServiceIntegrationArgs{
			Service: exampleService.ID(),
			Vendor:  *pulumi.String(cloudwatchVendor.Id),
		})
		if err != nil {
			return err
		}
		emailVendor, err := pagerduty.GetVendor(ctx, &pagerduty.GetVendorArgs{
			Name: "Email",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewServiceIntegration(ctx, "emailServiceIntegration", &pagerduty.ServiceIntegrationArgs{
			Service:               exampleService.ID(),
			Vendor:                *pulumi.String(emailVendor.Id),
			IntegrationEmail:      pulumi.String("s1@your_account.pagerduty.com"),
			EmailIncidentCreation: pulumi.String("use_rules"),
			EmailFilterMode:       pulumi.String("and-rules-email"),
			EmailFilters: pagerduty.ServiceIntegrationEmailFilterArray{
				&pagerduty.ServiceIntegrationEmailFilterArgs{
					BodyMode:       pulumi.String("always"),
					BodyRegex:      nil,
					FromEmailMode:  pulumi.String("match"),
					FromEmailRegex: pulumi.String("(@foo.test*)"),
					SubjectMode:    pulumi.String("match"),
					SubjectRegex:   pulumi.String("(CRITICAL*)"),
				},
				&pagerduty.ServiceIntegrationEmailFilterArgs{
					BodyMode:       pulumi.String("always"),
					BodyRegex:      nil,
					FromEmailMode:  pulumi.String("match"),
					FromEmailRegex: pulumi.String("(@bar.com*)"),
					SubjectMode:    pulumi.String("match"),
					SubjectRegex:   pulumi.String("(CRITICAL*)"),
				},
			},
			EmailParsers: pagerduty.ServiceIntegrationEmailParserArray{
				&pagerduty.ServiceIntegrationEmailParserArgs{
					Action: pulumi.String("resolve"),
					MatchPredicate: &pagerduty.ServiceIntegrationEmailParserMatchPredicateArgs{
						Type: pulumi.String("any"),
						Predicates: pagerduty.ServiceIntegrationEmailParserMatchPredicatePredicateArray{
							&pagerduty.ServiceIntegrationEmailParserMatchPredicatePredicateArgs{
								Matcher: pulumi.String("foo"),
								Part:    pulumi.String("subject"),
								Type:    pulumi.String("contains"),
							},
							&pagerduty.ServiceIntegrationEmailParserMatchPredicatePredicateArgs{
								Type: pulumi.String("not"),
								Predicates: pagerduty.ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArray{
									&pagerduty.ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArgs{
										Matcher: pulumi.String("(bar*)"),
										Part:    pulumi.String("body"),
										Type:    pulumi.String("regex"),
									},
								},
							},
						},
					},
					ValueExtractors: pagerduty.ServiceIntegrationEmailParserValueExtractorArray{
						&pagerduty.ServiceIntegrationEmailParserValueExtractorArgs{
							EndsBefore:  pulumi.String("end"),
							Part:        pulumi.String("subject"),
							StartsAfter: pulumi.String("start"),
							Type:        pulumi.String("between"),
							ValueName:   pulumi.String("incident_key"),
						},
						&pagerduty.ServiceIntegrationEmailParserValueExtractorArgs{
							EndsBefore:  pulumi.String("end"),
							Part:        pulumi.String("subject"),
							StartsAfter: pulumi.String("start"),
							Type:        pulumi.String("between"),
							ValueName:   pulumi.String("FieldName1"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Services can be imported using their related `service` id and service integration `id` separated by a dot, e.g.

```sh

$ pulumi import pagerduty:index/serviceIntegration:ServiceIntegration main PLSSSSS.PLIIIII

```

func GetServiceIntegration

func GetServiceIntegration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceIntegrationState, opts ...pulumi.ResourceOption) (*ServiceIntegration, error)

GetServiceIntegration gets an existing ServiceIntegration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServiceIntegration

func NewServiceIntegration(ctx *pulumi.Context,
	name string, args *ServiceIntegrationArgs, opts ...pulumi.ResourceOption) (*ServiceIntegration, error)

NewServiceIntegration registers a new resource with the given unique name, arguments, and options.

func (*ServiceIntegration) ElementType

func (*ServiceIntegration) ElementType() reflect.Type

func (*ServiceIntegration) ToServiceIntegrationOutput

func (i *ServiceIntegration) ToServiceIntegrationOutput() ServiceIntegrationOutput

func (*ServiceIntegration) ToServiceIntegrationOutputWithContext

func (i *ServiceIntegration) ToServiceIntegrationOutputWithContext(ctx context.Context) ServiceIntegrationOutput

type ServiceIntegrationArgs

type ServiceIntegrationArgs struct {
	// Mode of Emails Filters feature ([explained in PD docs](https://support.pagerduty.com/docs/email-management-filters-and-rules#configure-a-regex-filter)). Can be `all-email`, `or-rules-email` or `and-rules-email`.
	EmailFilterMode pulumi.StringPtrInput
	EmailFilters    ServiceIntegrationEmailFilterArrayInput
	// Behaviour of Email Management feature ([explained in PD docs](https://support.pagerduty.com/docs/email-management-filters-and-rules#control-when-a-new-incident-or-alert-is-triggered)). Can be `onNewEmail`, `onNewEmailSubject`, `onlyIfNoOpenIncidents` or `useRules`.
	EmailIncidentCreation pulumi.StringPtrInput
	EmailParsers          ServiceIntegrationEmailParserArrayInput
	// Can be `openNewIncident` or `discard`.
	EmailParsingFallback pulumi.StringPtrInput
	// This is the unique fully-qualified email address used for routing emails to this integration for processing.
	IntegrationEmail pulumi.StringPtrInput
	// This is the unique key used to route events to this integration when received via the PagerDuty Events API.
	IntegrationKey pulumi.StringPtrInput
	// The name of the service integration.
	Name pulumi.StringPtrInput
	// The ID of the service the integration should belong to.
	Service pulumi.StringInput
	// The service type. Can be:
	// `awsCloudwatchInboundIntegration`,
	// `cloudkickInboundIntegration`,
	// `eventTransformerApiInboundIntegration`,
	// `eventsApiV2InboundIntegration` (requires service `alertCreation` to be `createAlertsAndIncidents`),
	// `genericEmailInboundIntegration`,
	// `genericEventsApiInboundIntegration`,
	// `keynoteInboundIntegration`,
	// `nagiosInboundIntegration`,
	// `pingdomInboundIntegration`or `sqlMonitorInboundIntegration`.
	//
	// **Note:** This is meant for **generic** service integrations.
	// To integrate with a **vendor** (e.g. Datadog or Amazon Cloudwatch) use the `vendor` field instead.
	Type pulumi.StringPtrInput
	// The ID of the vendor the integration should integrate with (e.g. Datadog or Amazon Cloudwatch).
	Vendor pulumi.StringPtrInput
}

The set of arguments for constructing a ServiceIntegration resource.

func (ServiceIntegrationArgs) ElementType

func (ServiceIntegrationArgs) ElementType() reflect.Type

type ServiceIntegrationArray

type ServiceIntegrationArray []ServiceIntegrationInput

func (ServiceIntegrationArray) ElementType

func (ServiceIntegrationArray) ElementType() reflect.Type

func (ServiceIntegrationArray) ToServiceIntegrationArrayOutput

func (i ServiceIntegrationArray) ToServiceIntegrationArrayOutput() ServiceIntegrationArrayOutput

func (ServiceIntegrationArray) ToServiceIntegrationArrayOutputWithContext

func (i ServiceIntegrationArray) ToServiceIntegrationArrayOutputWithContext(ctx context.Context) ServiceIntegrationArrayOutput

type ServiceIntegrationArrayInput

type ServiceIntegrationArrayInput interface {
	pulumi.Input

	ToServiceIntegrationArrayOutput() ServiceIntegrationArrayOutput
	ToServiceIntegrationArrayOutputWithContext(context.Context) ServiceIntegrationArrayOutput
}

ServiceIntegrationArrayInput is an input type that accepts ServiceIntegrationArray and ServiceIntegrationArrayOutput values. You can construct a concrete instance of `ServiceIntegrationArrayInput` via:

ServiceIntegrationArray{ ServiceIntegrationArgs{...} }

type ServiceIntegrationArrayOutput

type ServiceIntegrationArrayOutput struct{ *pulumi.OutputState }

func (ServiceIntegrationArrayOutput) ElementType

func (ServiceIntegrationArrayOutput) Index

func (ServiceIntegrationArrayOutput) ToServiceIntegrationArrayOutput

func (o ServiceIntegrationArrayOutput) ToServiceIntegrationArrayOutput() ServiceIntegrationArrayOutput

func (ServiceIntegrationArrayOutput) ToServiceIntegrationArrayOutputWithContext

func (o ServiceIntegrationArrayOutput) ToServiceIntegrationArrayOutputWithContext(ctx context.Context) ServiceIntegrationArrayOutput

type ServiceIntegrationEmailFilter added in v3.4.0

type ServiceIntegrationEmailFilter struct {
	// Can be `always` or `match`.
	BodyMode *string `pulumi:"bodyMode"`
	// Should be a valid regex or `null`
	BodyRegex *string `pulumi:"bodyRegex"`
	// Can be `always` or `match`.
	FromEmailMode *string `pulumi:"fromEmailMode"`
	// Should be a valid regex or `null`
	FromEmailRegex *string `pulumi:"fromEmailRegex"`
	// The ID of the service integration.
	Id *string `pulumi:"id"`
	// Can be `always` or `match`.
	SubjectMode *string `pulumi:"subjectMode"`
	// Should be a valid regex or `null`
	SubjectRegex *string `pulumi:"subjectRegex"`
}

type ServiceIntegrationEmailFilterArgs added in v3.4.0

type ServiceIntegrationEmailFilterArgs struct {
	// Can be `always` or `match`.
	BodyMode pulumi.StringPtrInput `pulumi:"bodyMode"`
	// Should be a valid regex or `null`
	BodyRegex pulumi.StringPtrInput `pulumi:"bodyRegex"`
	// Can be `always` or `match`.
	FromEmailMode pulumi.StringPtrInput `pulumi:"fromEmailMode"`
	// Should be a valid regex or `null`
	FromEmailRegex pulumi.StringPtrInput `pulumi:"fromEmailRegex"`
	// The ID of the service integration.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Can be `always` or `match`.
	SubjectMode pulumi.StringPtrInput `pulumi:"subjectMode"`
	// Should be a valid regex or `null`
	SubjectRegex pulumi.StringPtrInput `pulumi:"subjectRegex"`
}

func (ServiceIntegrationEmailFilterArgs) ElementType added in v3.4.0

func (ServiceIntegrationEmailFilterArgs) ToServiceIntegrationEmailFilterOutput added in v3.4.0

func (i ServiceIntegrationEmailFilterArgs) ToServiceIntegrationEmailFilterOutput() ServiceIntegrationEmailFilterOutput

func (ServiceIntegrationEmailFilterArgs) ToServiceIntegrationEmailFilterOutputWithContext added in v3.4.0

func (i ServiceIntegrationEmailFilterArgs) ToServiceIntegrationEmailFilterOutputWithContext(ctx context.Context) ServiceIntegrationEmailFilterOutput

type ServiceIntegrationEmailFilterArray added in v3.4.0

type ServiceIntegrationEmailFilterArray []ServiceIntegrationEmailFilterInput

func (ServiceIntegrationEmailFilterArray) ElementType added in v3.4.0

func (ServiceIntegrationEmailFilterArray) ToServiceIntegrationEmailFilterArrayOutput added in v3.4.0

func (i ServiceIntegrationEmailFilterArray) ToServiceIntegrationEmailFilterArrayOutput() ServiceIntegrationEmailFilterArrayOutput

func (ServiceIntegrationEmailFilterArray) ToServiceIntegrationEmailFilterArrayOutputWithContext added in v3.4.0

func (i ServiceIntegrationEmailFilterArray) ToServiceIntegrationEmailFilterArrayOutputWithContext(ctx context.Context) ServiceIntegrationEmailFilterArrayOutput

type ServiceIntegrationEmailFilterArrayInput added in v3.4.0

type ServiceIntegrationEmailFilterArrayInput interface {
	pulumi.Input

	ToServiceIntegrationEmailFilterArrayOutput() ServiceIntegrationEmailFilterArrayOutput
	ToServiceIntegrationEmailFilterArrayOutputWithContext(context.Context) ServiceIntegrationEmailFilterArrayOutput
}

ServiceIntegrationEmailFilterArrayInput is an input type that accepts ServiceIntegrationEmailFilterArray and ServiceIntegrationEmailFilterArrayOutput values. You can construct a concrete instance of `ServiceIntegrationEmailFilterArrayInput` via:

ServiceIntegrationEmailFilterArray{ ServiceIntegrationEmailFilterArgs{...} }

type ServiceIntegrationEmailFilterArrayOutput added in v3.4.0

type ServiceIntegrationEmailFilterArrayOutput struct{ *pulumi.OutputState }

func (ServiceIntegrationEmailFilterArrayOutput) ElementType added in v3.4.0

func (ServiceIntegrationEmailFilterArrayOutput) Index added in v3.4.0

func (ServiceIntegrationEmailFilterArrayOutput) ToServiceIntegrationEmailFilterArrayOutput added in v3.4.0

func (o ServiceIntegrationEmailFilterArrayOutput) ToServiceIntegrationEmailFilterArrayOutput() ServiceIntegrationEmailFilterArrayOutput

func (ServiceIntegrationEmailFilterArrayOutput) ToServiceIntegrationEmailFilterArrayOutputWithContext added in v3.4.0

func (o ServiceIntegrationEmailFilterArrayOutput) ToServiceIntegrationEmailFilterArrayOutputWithContext(ctx context.Context) ServiceIntegrationEmailFilterArrayOutput

type ServiceIntegrationEmailFilterInput added in v3.4.0

type ServiceIntegrationEmailFilterInput interface {
	pulumi.Input

	ToServiceIntegrationEmailFilterOutput() ServiceIntegrationEmailFilterOutput
	ToServiceIntegrationEmailFilterOutputWithContext(context.Context) ServiceIntegrationEmailFilterOutput
}

ServiceIntegrationEmailFilterInput is an input type that accepts ServiceIntegrationEmailFilterArgs and ServiceIntegrationEmailFilterOutput values. You can construct a concrete instance of `ServiceIntegrationEmailFilterInput` via:

ServiceIntegrationEmailFilterArgs{...}

type ServiceIntegrationEmailFilterOutput added in v3.4.0

type ServiceIntegrationEmailFilterOutput struct{ *pulumi.OutputState }

func (ServiceIntegrationEmailFilterOutput) BodyMode added in v3.4.0

Can be `always` or `match`.

func (ServiceIntegrationEmailFilterOutput) BodyRegex added in v3.4.0

Should be a valid regex or `null`

func (ServiceIntegrationEmailFilterOutput) ElementType added in v3.4.0

func (ServiceIntegrationEmailFilterOutput) FromEmailMode added in v3.4.0

Can be `always` or `match`.

func (ServiceIntegrationEmailFilterOutput) FromEmailRegex added in v3.4.0

Should be a valid regex or `null`

func (ServiceIntegrationEmailFilterOutput) Id added in v3.4.0

The ID of the service integration.

func (ServiceIntegrationEmailFilterOutput) SubjectMode added in v3.4.0

Can be `always` or `match`.

func (ServiceIntegrationEmailFilterOutput) SubjectRegex added in v3.4.0

Should be a valid regex or `null`

func (ServiceIntegrationEmailFilterOutput) ToServiceIntegrationEmailFilterOutput added in v3.4.0

func (o ServiceIntegrationEmailFilterOutput) ToServiceIntegrationEmailFilterOutput() ServiceIntegrationEmailFilterOutput

func (ServiceIntegrationEmailFilterOutput) ToServiceIntegrationEmailFilterOutputWithContext added in v3.4.0

func (o ServiceIntegrationEmailFilterOutput) ToServiceIntegrationEmailFilterOutputWithContext(ctx context.Context) ServiceIntegrationEmailFilterOutput

type ServiceIntegrationEmailParser added in v3.4.0

type ServiceIntegrationEmailParser struct {
	// Can be `resolve` or `trigger`.
	Action string `pulumi:"action"`
	// The ID of the service integration.
	Id              *int                                          `pulumi:"id"`
	MatchPredicate  ServiceIntegrationEmailParserMatchPredicate   `pulumi:"matchPredicate"`
	ValueExtractors []ServiceIntegrationEmailParserValueExtractor `pulumi:"valueExtractors"`
}

type ServiceIntegrationEmailParserArgs added in v3.4.0

type ServiceIntegrationEmailParserArgs struct {
	// Can be `resolve` or `trigger`.
	Action pulumi.StringInput `pulumi:"action"`
	// The ID of the service integration.
	Id              pulumi.IntPtrInput                                    `pulumi:"id"`
	MatchPredicate  ServiceIntegrationEmailParserMatchPredicateInput      `pulumi:"matchPredicate"`
	ValueExtractors ServiceIntegrationEmailParserValueExtractorArrayInput `pulumi:"valueExtractors"`
}

func (ServiceIntegrationEmailParserArgs) ElementType added in v3.4.0

func (ServiceIntegrationEmailParserArgs) ToServiceIntegrationEmailParserOutput added in v3.4.0

func (i ServiceIntegrationEmailParserArgs) ToServiceIntegrationEmailParserOutput() ServiceIntegrationEmailParserOutput

func (ServiceIntegrationEmailParserArgs) ToServiceIntegrationEmailParserOutputWithContext added in v3.4.0

func (i ServiceIntegrationEmailParserArgs) ToServiceIntegrationEmailParserOutputWithContext(ctx context.Context) ServiceIntegrationEmailParserOutput

type ServiceIntegrationEmailParserArray added in v3.4.0

type ServiceIntegrationEmailParserArray []ServiceIntegrationEmailParserInput

func (ServiceIntegrationEmailParserArray) ElementType added in v3.4.0

func (ServiceIntegrationEmailParserArray) ToServiceIntegrationEmailParserArrayOutput added in v3.4.0

func (i ServiceIntegrationEmailParserArray) ToServiceIntegrationEmailParserArrayOutput() ServiceIntegrationEmailParserArrayOutput

func (ServiceIntegrationEmailParserArray) ToServiceIntegrationEmailParserArrayOutputWithContext added in v3.4.0

func (i ServiceIntegrationEmailParserArray) ToServiceIntegrationEmailParserArrayOutputWithContext(ctx context.Context) ServiceIntegrationEmailParserArrayOutput

type ServiceIntegrationEmailParserArrayInput added in v3.4.0

type ServiceIntegrationEmailParserArrayInput interface {
	pulumi.Input

	ToServiceIntegrationEmailParserArrayOutput() ServiceIntegrationEmailParserArrayOutput
	ToServiceIntegrationEmailParserArrayOutputWithContext(context.Context) ServiceIntegrationEmailParserArrayOutput
}

ServiceIntegrationEmailParserArrayInput is an input type that accepts ServiceIntegrationEmailParserArray and ServiceIntegrationEmailParserArrayOutput values. You can construct a concrete instance of `ServiceIntegrationEmailParserArrayInput` via:

ServiceIntegrationEmailParserArray{ ServiceIntegrationEmailParserArgs{...} }

type ServiceIntegrationEmailParserArrayOutput added in v3.4.0

type ServiceIntegrationEmailParserArrayOutput struct{ *pulumi.OutputState }

func (ServiceIntegrationEmailParserArrayOutput) ElementType added in v3.4.0

func (ServiceIntegrationEmailParserArrayOutput) Index added in v3.4.0

func (ServiceIntegrationEmailParserArrayOutput) ToServiceIntegrationEmailParserArrayOutput added in v3.4.0

func (o ServiceIntegrationEmailParserArrayOutput) ToServiceIntegrationEmailParserArrayOutput() ServiceIntegrationEmailParserArrayOutput

func (ServiceIntegrationEmailParserArrayOutput) ToServiceIntegrationEmailParserArrayOutputWithContext added in v3.4.0

func (o ServiceIntegrationEmailParserArrayOutput) ToServiceIntegrationEmailParserArrayOutputWithContext(ctx context.Context) ServiceIntegrationEmailParserArrayOutput

type ServiceIntegrationEmailParserInput added in v3.4.0

type ServiceIntegrationEmailParserInput interface {
	pulumi.Input

	ToServiceIntegrationEmailParserOutput() ServiceIntegrationEmailParserOutput
	ToServiceIntegrationEmailParserOutputWithContext(context.Context) ServiceIntegrationEmailParserOutput
}

ServiceIntegrationEmailParserInput is an input type that accepts ServiceIntegrationEmailParserArgs and ServiceIntegrationEmailParserOutput values. You can construct a concrete instance of `ServiceIntegrationEmailParserInput` via:

ServiceIntegrationEmailParserArgs{...}

type ServiceIntegrationEmailParserMatchPredicate added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicate struct {
	Predicates []ServiceIntegrationEmailParserMatchPredicatePredicate `pulumi:"predicates"`
	// Can be `any` or `all`.
	Type string `pulumi:"type"`
}

type ServiceIntegrationEmailParserMatchPredicateArgs added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicateArgs struct {
	Predicates ServiceIntegrationEmailParserMatchPredicatePredicateArrayInput `pulumi:"predicates"`
	// Can be `any` or `all`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ServiceIntegrationEmailParserMatchPredicateArgs) ElementType added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicateArgs) ToServiceIntegrationEmailParserMatchPredicateOutput added in v3.4.0

func (i ServiceIntegrationEmailParserMatchPredicateArgs) ToServiceIntegrationEmailParserMatchPredicateOutput() ServiceIntegrationEmailParserMatchPredicateOutput

func (ServiceIntegrationEmailParserMatchPredicateArgs) ToServiceIntegrationEmailParserMatchPredicateOutputWithContext added in v3.4.0

func (i ServiceIntegrationEmailParserMatchPredicateArgs) ToServiceIntegrationEmailParserMatchPredicateOutputWithContext(ctx context.Context) ServiceIntegrationEmailParserMatchPredicateOutput

type ServiceIntegrationEmailParserMatchPredicateInput added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicateInput interface {
	pulumi.Input

	ToServiceIntegrationEmailParserMatchPredicateOutput() ServiceIntegrationEmailParserMatchPredicateOutput
	ToServiceIntegrationEmailParserMatchPredicateOutputWithContext(context.Context) ServiceIntegrationEmailParserMatchPredicateOutput
}

ServiceIntegrationEmailParserMatchPredicateInput is an input type that accepts ServiceIntegrationEmailParserMatchPredicateArgs and ServiceIntegrationEmailParserMatchPredicateOutput values. You can construct a concrete instance of `ServiceIntegrationEmailParserMatchPredicateInput` via:

ServiceIntegrationEmailParserMatchPredicateArgs{...}

type ServiceIntegrationEmailParserMatchPredicateOutput added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicateOutput struct{ *pulumi.OutputState }

func (ServiceIntegrationEmailParserMatchPredicateOutput) ElementType added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicateOutput) Predicates added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicateOutput) ToServiceIntegrationEmailParserMatchPredicateOutput added in v3.4.0

func (o ServiceIntegrationEmailParserMatchPredicateOutput) ToServiceIntegrationEmailParserMatchPredicateOutput() ServiceIntegrationEmailParserMatchPredicateOutput

func (ServiceIntegrationEmailParserMatchPredicateOutput) ToServiceIntegrationEmailParserMatchPredicateOutputWithContext added in v3.4.0

func (o ServiceIntegrationEmailParserMatchPredicateOutput) ToServiceIntegrationEmailParserMatchPredicateOutputWithContext(ctx context.Context) ServiceIntegrationEmailParserMatchPredicateOutput

func (ServiceIntegrationEmailParserMatchPredicateOutput) Type added in v3.4.0

Can be `any` or `all`.

type ServiceIntegrationEmailParserMatchPredicatePredicate added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicatePredicate struct {
	// Predicate value or valid regex.
	Matcher *string `pulumi:"matcher"`
	// Can be `subject`, `body` or `fromAddresses`.
	Part       *string                                                         `pulumi:"part"`
	Predicates []ServiceIntegrationEmailParserMatchPredicatePredicatePredicate `pulumi:"predicates"`
	// Can be `contains`, `exactly`, `regex` or `not`. If type is `not` predicate should contain child predicate with all parameters.
	Type string `pulumi:"type"`
}

type ServiceIntegrationEmailParserMatchPredicatePredicateArgs added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicatePredicateArgs struct {
	// Predicate value or valid regex.
	Matcher pulumi.StringPtrInput `pulumi:"matcher"`
	// Can be `subject`, `body` or `fromAddresses`.
	Part       pulumi.StringPtrInput                                                   `pulumi:"part"`
	Predicates ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayInput `pulumi:"predicates"`
	// Can be `contains`, `exactly`, `regex` or `not`. If type is `not` predicate should contain child predicate with all parameters.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ServiceIntegrationEmailParserMatchPredicatePredicateArgs) ElementType added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicatePredicateArgs) ToServiceIntegrationEmailParserMatchPredicatePredicateOutput added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicatePredicateArgs) ToServiceIntegrationEmailParserMatchPredicatePredicateOutputWithContext added in v3.4.0

func (i ServiceIntegrationEmailParserMatchPredicatePredicateArgs) ToServiceIntegrationEmailParserMatchPredicatePredicateOutputWithContext(ctx context.Context) ServiceIntegrationEmailParserMatchPredicatePredicateOutput

type ServiceIntegrationEmailParserMatchPredicatePredicateArray added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicatePredicateArray []ServiceIntegrationEmailParserMatchPredicatePredicateInput

func (ServiceIntegrationEmailParserMatchPredicatePredicateArray) ElementType added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicatePredicateArray) ToServiceIntegrationEmailParserMatchPredicatePredicateArrayOutput added in v3.4.0

func (i ServiceIntegrationEmailParserMatchPredicatePredicateArray) ToServiceIntegrationEmailParserMatchPredicatePredicateArrayOutput() ServiceIntegrationEmailParserMatchPredicatePredicateArrayOutput

func (ServiceIntegrationEmailParserMatchPredicatePredicateArray) ToServiceIntegrationEmailParserMatchPredicatePredicateArrayOutputWithContext added in v3.4.0

func (i ServiceIntegrationEmailParserMatchPredicatePredicateArray) ToServiceIntegrationEmailParserMatchPredicatePredicateArrayOutputWithContext(ctx context.Context) ServiceIntegrationEmailParserMatchPredicatePredicateArrayOutput

type ServiceIntegrationEmailParserMatchPredicatePredicateArrayInput added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicatePredicateArrayInput interface {
	pulumi.Input

	ToServiceIntegrationEmailParserMatchPredicatePredicateArrayOutput() ServiceIntegrationEmailParserMatchPredicatePredicateArrayOutput
	ToServiceIntegrationEmailParserMatchPredicatePredicateArrayOutputWithContext(context.Context) ServiceIntegrationEmailParserMatchPredicatePredicateArrayOutput
}

ServiceIntegrationEmailParserMatchPredicatePredicateArrayInput is an input type that accepts ServiceIntegrationEmailParserMatchPredicatePredicateArray and ServiceIntegrationEmailParserMatchPredicatePredicateArrayOutput values. You can construct a concrete instance of `ServiceIntegrationEmailParserMatchPredicatePredicateArrayInput` via:

ServiceIntegrationEmailParserMatchPredicatePredicateArray{ ServiceIntegrationEmailParserMatchPredicatePredicateArgs{...} }

type ServiceIntegrationEmailParserMatchPredicatePredicateArrayOutput added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicatePredicateArrayOutput struct{ *pulumi.OutputState }

func (ServiceIntegrationEmailParserMatchPredicatePredicateArrayOutput) ElementType added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicatePredicateArrayOutput) Index added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicatePredicateArrayOutput) ToServiceIntegrationEmailParserMatchPredicatePredicateArrayOutput added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicatePredicateArrayOutput) ToServiceIntegrationEmailParserMatchPredicatePredicateArrayOutputWithContext added in v3.4.0

func (o ServiceIntegrationEmailParserMatchPredicatePredicateArrayOutput) ToServiceIntegrationEmailParserMatchPredicatePredicateArrayOutputWithContext(ctx context.Context) ServiceIntegrationEmailParserMatchPredicatePredicateArrayOutput

type ServiceIntegrationEmailParserMatchPredicatePredicateInput added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicatePredicateInput interface {
	pulumi.Input

	ToServiceIntegrationEmailParserMatchPredicatePredicateOutput() ServiceIntegrationEmailParserMatchPredicatePredicateOutput
	ToServiceIntegrationEmailParserMatchPredicatePredicateOutputWithContext(context.Context) ServiceIntegrationEmailParserMatchPredicatePredicateOutput
}

ServiceIntegrationEmailParserMatchPredicatePredicateInput is an input type that accepts ServiceIntegrationEmailParserMatchPredicatePredicateArgs and ServiceIntegrationEmailParserMatchPredicatePredicateOutput values. You can construct a concrete instance of `ServiceIntegrationEmailParserMatchPredicatePredicateInput` via:

ServiceIntegrationEmailParserMatchPredicatePredicateArgs{...}

type ServiceIntegrationEmailParserMatchPredicatePredicateOutput added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicatePredicateOutput struct{ *pulumi.OutputState }

func (ServiceIntegrationEmailParserMatchPredicatePredicateOutput) ElementType added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicatePredicateOutput) Matcher added in v3.4.0

Predicate value or valid regex.

func (ServiceIntegrationEmailParserMatchPredicatePredicateOutput) Part added in v3.4.0

Can be `subject`, `body` or `fromAddresses`.

func (ServiceIntegrationEmailParserMatchPredicatePredicateOutput) Predicates added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicatePredicateOutput) ToServiceIntegrationEmailParserMatchPredicatePredicateOutput added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicatePredicateOutput) ToServiceIntegrationEmailParserMatchPredicatePredicateOutputWithContext added in v3.4.0

func (o ServiceIntegrationEmailParserMatchPredicatePredicateOutput) ToServiceIntegrationEmailParserMatchPredicatePredicateOutputWithContext(ctx context.Context) ServiceIntegrationEmailParserMatchPredicatePredicateOutput

func (ServiceIntegrationEmailParserMatchPredicatePredicateOutput) Type added in v3.4.0

Can be `contains`, `exactly`, `regex` or `not`. If type is `not` predicate should contain child predicate with all parameters.

type ServiceIntegrationEmailParserMatchPredicatePredicatePredicate added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicatePredicatePredicate struct {
	// Predicate value or valid regex.
	Matcher string `pulumi:"matcher"`
	// Can be `subject`, `body` or `fromAddresses`.
	Part string `pulumi:"part"`
	// Can be `contains`, `exactly`, `regex` or `not`. If type is `not` predicate should contain child predicate with all parameters.
	Type string `pulumi:"type"`
}

type ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArgs added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArgs struct {
	// Predicate value or valid regex.
	Matcher pulumi.StringInput `pulumi:"matcher"`
	// Can be `subject`, `body` or `fromAddresses`.
	Part pulumi.StringInput `pulumi:"part"`
	// Can be `contains`, `exactly`, `regex` or `not`. If type is `not` predicate should contain child predicate with all parameters.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArgs) ElementType added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArgs) ToServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutput added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArgs) ToServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutputWithContext added in v3.4.0

func (i ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArgs) ToServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutputWithContext(ctx context.Context) ServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutput

type ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArray added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArray []ServiceIntegrationEmailParserMatchPredicatePredicatePredicateInput

func (ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArray) ElementType added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArray) ToServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayOutput added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArray) ToServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayOutputWithContext added in v3.4.0

func (i ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArray) ToServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayOutputWithContext(ctx context.Context) ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayOutput

type ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayInput added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayInput interface {
	pulumi.Input

	ToServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayOutput() ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayOutput
	ToServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayOutputWithContext(context.Context) ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayOutput
}

ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayInput is an input type that accepts ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArray and ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayOutput values. You can construct a concrete instance of `ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayInput` via:

ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArray{ ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArgs{...} }

type ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayOutput added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayOutput struct{ *pulumi.OutputState }

func (ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayOutput) ElementType added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayOutput) Index added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayOutput) ToServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayOutput added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayOutput) ToServiceIntegrationEmailParserMatchPredicatePredicatePredicateArrayOutputWithContext added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicatePredicatePredicateInput added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicatePredicatePredicateInput interface {
	pulumi.Input

	ToServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutput() ServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutput
	ToServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutputWithContext(context.Context) ServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutput
}

ServiceIntegrationEmailParserMatchPredicatePredicatePredicateInput is an input type that accepts ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArgs and ServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutput values. You can construct a concrete instance of `ServiceIntegrationEmailParserMatchPredicatePredicatePredicateInput` via:

ServiceIntegrationEmailParserMatchPredicatePredicatePredicateArgs{...}

type ServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutput added in v3.4.0

type ServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutput struct{ *pulumi.OutputState }

func (ServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutput) ElementType added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutput) Matcher added in v3.4.0

Predicate value or valid regex.

func (ServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutput) Part added in v3.4.0

Can be `subject`, `body` or `fromAddresses`.

func (ServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutput) ToServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutput added in v3.4.0

func (ServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutput) ToServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutputWithContext added in v3.4.0

func (o ServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutput) ToServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutputWithContext(ctx context.Context) ServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutput

func (ServiceIntegrationEmailParserMatchPredicatePredicatePredicateOutput) Type added in v3.4.0

Can be `contains`, `exactly`, `regex` or `not`. If type is `not` predicate should contain child predicate with all parameters.

type ServiceIntegrationEmailParserOutput added in v3.4.0

type ServiceIntegrationEmailParserOutput struct{ *pulumi.OutputState }

func (ServiceIntegrationEmailParserOutput) Action added in v3.4.0

Can be `resolve` or `trigger`.

func (ServiceIntegrationEmailParserOutput) ElementType added in v3.4.0

func (ServiceIntegrationEmailParserOutput) Id added in v3.4.0

The ID of the service integration.

func (ServiceIntegrationEmailParserOutput) MatchPredicate added in v3.4.0

func (ServiceIntegrationEmailParserOutput) ToServiceIntegrationEmailParserOutput added in v3.4.0

func (o ServiceIntegrationEmailParserOutput) ToServiceIntegrationEmailParserOutput() ServiceIntegrationEmailParserOutput

func (ServiceIntegrationEmailParserOutput) ToServiceIntegrationEmailParserOutputWithContext added in v3.4.0

func (o ServiceIntegrationEmailParserOutput) ToServiceIntegrationEmailParserOutputWithContext(ctx context.Context) ServiceIntegrationEmailParserOutput

func (ServiceIntegrationEmailParserOutput) ValueExtractors added in v3.4.0

type ServiceIntegrationEmailParserValueExtractor added in v3.4.0

type ServiceIntegrationEmailParserValueExtractor struct {
	EndsBefore *string `pulumi:"endsBefore"`
	// Can be `subject` or `body`.
	Part string `pulumi:"part"`
	// If `type` has value `regex` this value should contain valid regex.
	//
	// **Note:** You can use the `getVendor` data source to locate the appropriate vendor ID.
	Regex       *string `pulumi:"regex"`
	StartsAfter *string `pulumi:"startsAfter"`
	// Can be `between`, `entire` or `regex`.
	Type string `pulumi:"type"`
	// First value extractor should have name `incidentKey` other value extractors should contain custom names.
	ValueName string `pulumi:"valueName"`
}

type ServiceIntegrationEmailParserValueExtractorArgs added in v3.4.0

type ServiceIntegrationEmailParserValueExtractorArgs struct {
	EndsBefore pulumi.StringPtrInput `pulumi:"endsBefore"`
	// Can be `subject` or `body`.
	Part pulumi.StringInput `pulumi:"part"`
	// If `type` has value `regex` this value should contain valid regex.
	//
	// **Note:** You can use the `getVendor` data source to locate the appropriate vendor ID.
	Regex       pulumi.StringPtrInput `pulumi:"regex"`
	StartsAfter pulumi.StringPtrInput `pulumi:"startsAfter"`
	// Can be `between`, `entire` or `regex`.
	Type pulumi.StringInput `pulumi:"type"`
	// First value extractor should have name `incidentKey` other value extractors should contain custom names.
	ValueName pulumi.StringInput `pulumi:"valueName"`
}

func (ServiceIntegrationEmailParserValueExtractorArgs) ElementType added in v3.4.0

func (ServiceIntegrationEmailParserValueExtractorArgs) ToServiceIntegrationEmailParserValueExtractorOutput added in v3.4.0

func (i ServiceIntegrationEmailParserValueExtractorArgs) ToServiceIntegrationEmailParserValueExtractorOutput() ServiceIntegrationEmailParserValueExtractorOutput

func (ServiceIntegrationEmailParserValueExtractorArgs) ToServiceIntegrationEmailParserValueExtractorOutputWithContext added in v3.4.0

func (i ServiceIntegrationEmailParserValueExtractorArgs) ToServiceIntegrationEmailParserValueExtractorOutputWithContext(ctx context.Context) ServiceIntegrationEmailParserValueExtractorOutput

type ServiceIntegrationEmailParserValueExtractorArray added in v3.4.0

type ServiceIntegrationEmailParserValueExtractorArray []ServiceIntegrationEmailParserValueExtractorInput

func (ServiceIntegrationEmailParserValueExtractorArray) ElementType added in v3.4.0

func (ServiceIntegrationEmailParserValueExtractorArray) ToServiceIntegrationEmailParserValueExtractorArrayOutput added in v3.4.0

func (i ServiceIntegrationEmailParserValueExtractorArray) ToServiceIntegrationEmailParserValueExtractorArrayOutput() ServiceIntegrationEmailParserValueExtractorArrayOutput

func (ServiceIntegrationEmailParserValueExtractorArray) ToServiceIntegrationEmailParserValueExtractorArrayOutputWithContext added in v3.4.0

func (i ServiceIntegrationEmailParserValueExtractorArray) ToServiceIntegrationEmailParserValueExtractorArrayOutputWithContext(ctx context.Context) ServiceIntegrationEmailParserValueExtractorArrayOutput

type ServiceIntegrationEmailParserValueExtractorArrayInput added in v3.4.0

type ServiceIntegrationEmailParserValueExtractorArrayInput interface {
	pulumi.Input

	ToServiceIntegrationEmailParserValueExtractorArrayOutput() ServiceIntegrationEmailParserValueExtractorArrayOutput
	ToServiceIntegrationEmailParserValueExtractorArrayOutputWithContext(context.Context) ServiceIntegrationEmailParserValueExtractorArrayOutput
}

ServiceIntegrationEmailParserValueExtractorArrayInput is an input type that accepts ServiceIntegrationEmailParserValueExtractorArray and ServiceIntegrationEmailParserValueExtractorArrayOutput values. You can construct a concrete instance of `ServiceIntegrationEmailParserValueExtractorArrayInput` via:

ServiceIntegrationEmailParserValueExtractorArray{ ServiceIntegrationEmailParserValueExtractorArgs{...} }

type ServiceIntegrationEmailParserValueExtractorArrayOutput added in v3.4.0

type ServiceIntegrationEmailParserValueExtractorArrayOutput struct{ *pulumi.OutputState }

func (ServiceIntegrationEmailParserValueExtractorArrayOutput) ElementType added in v3.4.0

func (ServiceIntegrationEmailParserValueExtractorArrayOutput) Index added in v3.4.0

func (ServiceIntegrationEmailParserValueExtractorArrayOutput) ToServiceIntegrationEmailParserValueExtractorArrayOutput added in v3.4.0

func (ServiceIntegrationEmailParserValueExtractorArrayOutput) ToServiceIntegrationEmailParserValueExtractorArrayOutputWithContext added in v3.4.0

func (o ServiceIntegrationEmailParserValueExtractorArrayOutput) ToServiceIntegrationEmailParserValueExtractorArrayOutputWithContext(ctx context.Context) ServiceIntegrationEmailParserValueExtractorArrayOutput

type ServiceIntegrationEmailParserValueExtractorInput added in v3.4.0

type ServiceIntegrationEmailParserValueExtractorInput interface {
	pulumi.Input

	ToServiceIntegrationEmailParserValueExtractorOutput() ServiceIntegrationEmailParserValueExtractorOutput
	ToServiceIntegrationEmailParserValueExtractorOutputWithContext(context.Context) ServiceIntegrationEmailParserValueExtractorOutput
}

ServiceIntegrationEmailParserValueExtractorInput is an input type that accepts ServiceIntegrationEmailParserValueExtractorArgs and ServiceIntegrationEmailParserValueExtractorOutput values. You can construct a concrete instance of `ServiceIntegrationEmailParserValueExtractorInput` via:

ServiceIntegrationEmailParserValueExtractorArgs{...}

type ServiceIntegrationEmailParserValueExtractorOutput added in v3.4.0

type ServiceIntegrationEmailParserValueExtractorOutput struct{ *pulumi.OutputState }

func (ServiceIntegrationEmailParserValueExtractorOutput) ElementType added in v3.4.0

func (ServiceIntegrationEmailParserValueExtractorOutput) EndsBefore added in v3.4.0

func (ServiceIntegrationEmailParserValueExtractorOutput) Part added in v3.4.0

Can be `subject` or `body`.

func (ServiceIntegrationEmailParserValueExtractorOutput) Regex added in v3.4.0

If `type` has value `regex` this value should contain valid regex.

**Note:** You can use the `getVendor` data source to locate the appropriate vendor ID.

func (ServiceIntegrationEmailParserValueExtractorOutput) StartsAfter added in v3.4.0

func (ServiceIntegrationEmailParserValueExtractorOutput) ToServiceIntegrationEmailParserValueExtractorOutput added in v3.4.0

func (o ServiceIntegrationEmailParserValueExtractorOutput) ToServiceIntegrationEmailParserValueExtractorOutput() ServiceIntegrationEmailParserValueExtractorOutput

func (ServiceIntegrationEmailParserValueExtractorOutput) ToServiceIntegrationEmailParserValueExtractorOutputWithContext added in v3.4.0

func (o ServiceIntegrationEmailParserValueExtractorOutput) ToServiceIntegrationEmailParserValueExtractorOutputWithContext(ctx context.Context) ServiceIntegrationEmailParserValueExtractorOutput

func (ServiceIntegrationEmailParserValueExtractorOutput) Type added in v3.4.0

Can be `between`, `entire` or `regex`.

func (ServiceIntegrationEmailParserValueExtractorOutput) ValueName added in v3.4.0

First value extractor should have name `incidentKey` other value extractors should contain custom names.

type ServiceIntegrationInput

type ServiceIntegrationInput interface {
	pulumi.Input

	ToServiceIntegrationOutput() ServiceIntegrationOutput
	ToServiceIntegrationOutputWithContext(ctx context.Context) ServiceIntegrationOutput
}

type ServiceIntegrationMap

type ServiceIntegrationMap map[string]ServiceIntegrationInput

func (ServiceIntegrationMap) ElementType

func (ServiceIntegrationMap) ElementType() reflect.Type

func (ServiceIntegrationMap) ToServiceIntegrationMapOutput

func (i ServiceIntegrationMap) ToServiceIntegrationMapOutput() ServiceIntegrationMapOutput

func (ServiceIntegrationMap) ToServiceIntegrationMapOutputWithContext

func (i ServiceIntegrationMap) ToServiceIntegrationMapOutputWithContext(ctx context.Context) ServiceIntegrationMapOutput

type ServiceIntegrationMapInput

type ServiceIntegrationMapInput interface {
	pulumi.Input

	ToServiceIntegrationMapOutput() ServiceIntegrationMapOutput
	ToServiceIntegrationMapOutputWithContext(context.Context) ServiceIntegrationMapOutput
}

ServiceIntegrationMapInput is an input type that accepts ServiceIntegrationMap and ServiceIntegrationMapOutput values. You can construct a concrete instance of `ServiceIntegrationMapInput` via:

ServiceIntegrationMap{ "key": ServiceIntegrationArgs{...} }

type ServiceIntegrationMapOutput

type ServiceIntegrationMapOutput struct{ *pulumi.OutputState }

func (ServiceIntegrationMapOutput) ElementType

func (ServiceIntegrationMapOutput) MapIndex

func (ServiceIntegrationMapOutput) ToServiceIntegrationMapOutput

func (o ServiceIntegrationMapOutput) ToServiceIntegrationMapOutput() ServiceIntegrationMapOutput

func (ServiceIntegrationMapOutput) ToServiceIntegrationMapOutputWithContext

func (o ServiceIntegrationMapOutput) ToServiceIntegrationMapOutputWithContext(ctx context.Context) ServiceIntegrationMapOutput

type ServiceIntegrationOutput

type ServiceIntegrationOutput struct{ *pulumi.OutputState }

func (ServiceIntegrationOutput) ElementType

func (ServiceIntegrationOutput) ElementType() reflect.Type

func (ServiceIntegrationOutput) EmailFilterMode added in v3.5.1

func (o ServiceIntegrationOutput) EmailFilterMode() pulumi.StringOutput

Mode of Emails Filters feature ([explained in PD docs](https://support.pagerduty.com/docs/email-management-filters-and-rules#configure-a-regex-filter)). Can be `all-email`, `or-rules-email` or `and-rules-email`.

func (ServiceIntegrationOutput) EmailFilters added in v3.5.1

func (ServiceIntegrationOutput) EmailIncidentCreation added in v3.5.1

func (o ServiceIntegrationOutput) EmailIncidentCreation() pulumi.StringOutput

Behaviour of Email Management feature ([explained in PD docs](https://support.pagerduty.com/docs/email-management-filters-and-rules#control-when-a-new-incident-or-alert-is-triggered)). Can be `onNewEmail`, `onNewEmailSubject`, `onlyIfNoOpenIncidents` or `useRules`.

func (ServiceIntegrationOutput) EmailParsers added in v3.5.1

func (ServiceIntegrationOutput) EmailParsingFallback added in v3.5.1

func (o ServiceIntegrationOutput) EmailParsingFallback() pulumi.StringOutput

Can be `openNewIncident` or `discard`.

func (ServiceIntegrationOutput) HtmlUrl added in v3.5.1

URL at which the entity is uniquely displayed in the Web app.

func (ServiceIntegrationOutput) IntegrationEmail added in v3.5.1

func (o ServiceIntegrationOutput) IntegrationEmail() pulumi.StringOutput

This is the unique fully-qualified email address used for routing emails to this integration for processing.

func (ServiceIntegrationOutput) IntegrationKey added in v3.5.1

func (o ServiceIntegrationOutput) IntegrationKey() pulumi.StringOutput

This is the unique key used to route events to this integration when received via the PagerDuty Events API.

func (ServiceIntegrationOutput) Name added in v3.5.1

The name of the service integration.

func (ServiceIntegrationOutput) Service added in v3.5.1

The ID of the service the integration should belong to.

func (ServiceIntegrationOutput) ToServiceIntegrationOutput

func (o ServiceIntegrationOutput) ToServiceIntegrationOutput() ServiceIntegrationOutput

func (ServiceIntegrationOutput) ToServiceIntegrationOutputWithContext

func (o ServiceIntegrationOutput) ToServiceIntegrationOutputWithContext(ctx context.Context) ServiceIntegrationOutput

func (ServiceIntegrationOutput) Type added in v3.5.1

The service type. Can be: `awsCloudwatchInboundIntegration`, `cloudkickInboundIntegration`, `eventTransformerApiInboundIntegration`, `eventsApiV2InboundIntegration` (requires service `alertCreation` to be `createAlertsAndIncidents`), `genericEmailInboundIntegration`, `genericEventsApiInboundIntegration`, `keynoteInboundIntegration`, `nagiosInboundIntegration`, `pingdomInboundIntegration`or `sqlMonitorInboundIntegration`.

**Note:** This is meant for **generic** service integrations. To integrate with a **vendor** (e.g. Datadog or Amazon Cloudwatch) use the `vendor` field instead.

func (ServiceIntegrationOutput) Vendor added in v3.5.1

The ID of the vendor the integration should integrate with (e.g. Datadog or Amazon Cloudwatch).

type ServiceIntegrationState

type ServiceIntegrationState struct {
	// Mode of Emails Filters feature ([explained in PD docs](https://support.pagerduty.com/docs/email-management-filters-and-rules#configure-a-regex-filter)). Can be `all-email`, `or-rules-email` or `and-rules-email`.
	EmailFilterMode pulumi.StringPtrInput
	EmailFilters    ServiceIntegrationEmailFilterArrayInput
	// Behaviour of Email Management feature ([explained in PD docs](https://support.pagerduty.com/docs/email-management-filters-and-rules#control-when-a-new-incident-or-alert-is-triggered)). Can be `onNewEmail`, `onNewEmailSubject`, `onlyIfNoOpenIncidents` or `useRules`.
	EmailIncidentCreation pulumi.StringPtrInput
	EmailParsers          ServiceIntegrationEmailParserArrayInput
	// Can be `openNewIncident` or `discard`.
	EmailParsingFallback pulumi.StringPtrInput
	// URL at which the entity is uniquely displayed in the Web app.
	HtmlUrl pulumi.StringPtrInput
	// This is the unique fully-qualified email address used for routing emails to this integration for processing.
	IntegrationEmail pulumi.StringPtrInput
	// This is the unique key used to route events to this integration when received via the PagerDuty Events API.
	IntegrationKey pulumi.StringPtrInput
	// The name of the service integration.
	Name pulumi.StringPtrInput
	// The ID of the service the integration should belong to.
	Service pulumi.StringPtrInput
	// The service type. Can be:
	// `awsCloudwatchInboundIntegration`,
	// `cloudkickInboundIntegration`,
	// `eventTransformerApiInboundIntegration`,
	// `eventsApiV2InboundIntegration` (requires service `alertCreation` to be `createAlertsAndIncidents`),
	// `genericEmailInboundIntegration`,
	// `genericEventsApiInboundIntegration`,
	// `keynoteInboundIntegration`,
	// `nagiosInboundIntegration`,
	// `pingdomInboundIntegration`or `sqlMonitorInboundIntegration`.
	//
	// **Note:** This is meant for **generic** service integrations.
	// To integrate with a **vendor** (e.g. Datadog or Amazon Cloudwatch) use the `vendor` field instead.
	Type pulumi.StringPtrInput
	// The ID of the vendor the integration should integrate with (e.g. Datadog or Amazon Cloudwatch).
	Vendor pulumi.StringPtrInput
}

func (ServiceIntegrationState) ElementType

func (ServiceIntegrationState) ElementType() reflect.Type

type ServiceMap

type ServiceMap map[string]ServiceInput

func (ServiceMap) ElementType

func (ServiceMap) ElementType() reflect.Type

func (ServiceMap) ToServiceMapOutput

func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput

func (ServiceMap) ToServiceMapOutputWithContext

func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceMapInput

type ServiceMapInput interface {
	pulumi.Input

	ToServiceMapOutput() ServiceMapOutput
	ToServiceMapOutputWithContext(context.Context) ServiceMapOutput
}

ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:

ServiceMap{ "key": ServiceArgs{...} }

type ServiceMapOutput

type ServiceMapOutput struct{ *pulumi.OutputState }

func (ServiceMapOutput) ElementType

func (ServiceMapOutput) ElementType() reflect.Type

func (ServiceMapOutput) MapIndex

func (ServiceMapOutput) ToServiceMapOutput

func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput

func (ServiceMapOutput) ToServiceMapOutputWithContext

func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceOutput

type ServiceOutput struct{ *pulumi.OutputState }

func (ServiceOutput) AcknowledgementTimeout added in v3.5.1

func (o ServiceOutput) AcknowledgementTimeout() pulumi.StringPtrOutput

Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the `"null"` string. If not passed in, will default to '"1800"'.

func (ServiceOutput) AlertCreation added in v3.5.1

func (o ServiceOutput) AlertCreation() pulumi.StringPtrOutput

Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value "createIncidents" is default: events will create an incident that cannot be merged. Value "createAlertsAndIncidents" is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged. This option is recommended.

func (ServiceOutput) AlertGrouping deprecated added in v3.5.1

func (o ServiceOutput) AlertGrouping() pulumi.StringOutput

(Deprecated) Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident; If value is set to `time`: All alerts within a specified duration will be grouped into the same incident. This duration is set in the `alertGroupingTimeout` setting (described below). Available on Standard, Enterprise, and Event Intelligence plans; If value is set to `intelligent` - Alerts will be intelligently grouped based on a machine learning model that looks at the alert summary, timing, and the history of grouped alerts. Available on Enterprise and Event Intelligence plan. This field is deprecated, use `alert_grouping_parameters.type` instead,

Deprecated: Use `alert_grouping_parameters.type`

func (ServiceOutput) AlertGroupingParameters added in v3.5.1

func (o ServiceOutput) AlertGroupingParameters() ServiceAlertGroupingParametersOutput

Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident.

func (ServiceOutput) AlertGroupingTimeout deprecated added in v3.5.1

func (o ServiceOutput) AlertGroupingTimeout() pulumi.StringOutput

(Deprecated) The duration in minutes within which to automatically group incoming alerts. This setting applies only when `alertGrouping` is set to `time`. To continue grouping alerts until the incident is resolved, set this value to `0`. This field is deprecated, use `alert_grouping_parameters.config.timeout` instead,

Deprecated: Use `alert_grouping_parameters.config.timeout`

func (ServiceOutput) AutoPauseNotificationsParameters added in v3.6.0

func (o ServiceOutput) AutoPauseNotificationsParameters() ServiceAutoPauseNotificationsParametersOutput

Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned [here](https://support.pagerduty.com/docs/auto-pause-incident-notifications).

func (ServiceOutput) AutoResolveTimeout added in v3.5.1

func (o ServiceOutput) AutoResolveTimeout() pulumi.StringPtrOutput

Time in seconds that an incident is automatically resolved if left open for that long. Disabled if set to the `"null"` string.

func (ServiceOutput) CreatedAt added in v3.5.1

func (o ServiceOutput) CreatedAt() pulumi.StringOutput

Creation timestamp of the service.

func (ServiceOutput) Description added in v3.5.1

func (o ServiceOutput) Description() pulumi.StringOutput

func (ServiceOutput) ElementType

func (ServiceOutput) ElementType() reflect.Type

func (ServiceOutput) EscalationPolicy added in v3.5.1

func (o ServiceOutput) EscalationPolicy() pulumi.StringOutput

The escalation policy used by this service.

func (ServiceOutput) HtmlUrl added in v3.5.1

func (o ServiceOutput) HtmlUrl() pulumi.StringOutput

URL at which the entity is uniquely displayed in the Web app.

func (ServiceOutput) IncidentUrgencyRule added in v3.5.1

func (o ServiceOutput) IncidentUrgencyRule() ServiceIncidentUrgencyRuleOutput

func (ServiceOutput) LastIncidentTimestamp added in v3.5.1

func (o ServiceOutput) LastIncidentTimestamp() pulumi.StringOutput

Last incident timestamp of the service.

func (ServiceOutput) Name added in v3.5.1

The name of the service.

func (ServiceOutput) ResponsePlay added in v3.6.0

func (o ServiceOutput) ResponsePlay() pulumi.StringOutput

The response play used by this service.

func (ServiceOutput) ScheduledActions added in v3.5.1

func (o ServiceOutput) ScheduledActions() ServiceScheduledActionArrayOutput

func (ServiceOutput) Status added in v3.5.1

func (o ServiceOutput) Status() pulumi.StringOutput

The status of the service.

func (ServiceOutput) SupportHours added in v3.5.1

func (ServiceOutput) ToServiceOutput

func (o ServiceOutput) ToServiceOutput() ServiceOutput

func (ServiceOutput) ToServiceOutputWithContext

func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

func (ServiceOutput) Type added in v3.5.1

The type of alert grouping; one of `intelligent`, `time` or `contentBased`.

type ServiceScheduledAction

type ServiceScheduledAction struct {
	// A block representing when the scheduled action will occur.
	Ats []ServiceScheduledActionAt `pulumi:"ats"`
	// The urgency to change to: `low` (does not escalate), or `high` (follows escalation rules).
	ToUrgency *string `pulumi:"toUrgency"`
	// The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
	Type *string `pulumi:"type"`
}

type ServiceScheduledActionArgs

type ServiceScheduledActionArgs struct {
	// A block representing when the scheduled action will occur.
	Ats ServiceScheduledActionAtArrayInput `pulumi:"ats"`
	// The urgency to change to: `low` (does not escalate), or `high` (follows escalation rules).
	ToUrgency pulumi.StringPtrInput `pulumi:"toUrgency"`
	// The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ServiceScheduledActionArgs) ElementType

func (ServiceScheduledActionArgs) ElementType() reflect.Type

func (ServiceScheduledActionArgs) ToServiceScheduledActionOutput

func (i ServiceScheduledActionArgs) ToServiceScheduledActionOutput() ServiceScheduledActionOutput

func (ServiceScheduledActionArgs) ToServiceScheduledActionOutputWithContext

func (i ServiceScheduledActionArgs) ToServiceScheduledActionOutputWithContext(ctx context.Context) ServiceScheduledActionOutput

type ServiceScheduledActionArray

type ServiceScheduledActionArray []ServiceScheduledActionInput

func (ServiceScheduledActionArray) ElementType

func (ServiceScheduledActionArray) ToServiceScheduledActionArrayOutput

func (i ServiceScheduledActionArray) ToServiceScheduledActionArrayOutput() ServiceScheduledActionArrayOutput

func (ServiceScheduledActionArray) ToServiceScheduledActionArrayOutputWithContext

func (i ServiceScheduledActionArray) ToServiceScheduledActionArrayOutputWithContext(ctx context.Context) ServiceScheduledActionArrayOutput

type ServiceScheduledActionArrayInput

type ServiceScheduledActionArrayInput interface {
	pulumi.Input

	ToServiceScheduledActionArrayOutput() ServiceScheduledActionArrayOutput
	ToServiceScheduledActionArrayOutputWithContext(context.Context) ServiceScheduledActionArrayOutput
}

ServiceScheduledActionArrayInput is an input type that accepts ServiceScheduledActionArray and ServiceScheduledActionArrayOutput values. You can construct a concrete instance of `ServiceScheduledActionArrayInput` via:

ServiceScheduledActionArray{ ServiceScheduledActionArgs{...} }

type ServiceScheduledActionArrayOutput

type ServiceScheduledActionArrayOutput struct{ *pulumi.OutputState }

func (ServiceScheduledActionArrayOutput) ElementType

func (ServiceScheduledActionArrayOutput) Index

func (ServiceScheduledActionArrayOutput) ToServiceScheduledActionArrayOutput

func (o ServiceScheduledActionArrayOutput) ToServiceScheduledActionArrayOutput() ServiceScheduledActionArrayOutput

func (ServiceScheduledActionArrayOutput) ToServiceScheduledActionArrayOutputWithContext

func (o ServiceScheduledActionArrayOutput) ToServiceScheduledActionArrayOutputWithContext(ctx context.Context) ServiceScheduledActionArrayOutput

type ServiceScheduledActionAt

type ServiceScheduledActionAt struct {
	// Designates either the start or the end of the scheduled action. Can be `supportHoursStart` or `supportHoursEnd`.
	//
	// Note that it is currently only possible to define the scheduled action when urgency is set to `high` for `duringSupportHours` and to `low`  for `outsideSupportHours` in `incidentUrgencyRule`.
	//
	// Below is an example for a `Service` resource with `incidentUrgencyRules` with `type = "useSupportHours"`, `supportHours` and a default `scheduledAction` as well.
	//
	// “`go
	// package main
	//
	// import (
	// 	"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
	// 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	// )
	//
	// func main() {
	// 	pulumi.Run(func(ctx *pulumi.Context) error {
	// 		_, err := pagerduty.NewService(ctx, "foo", &pagerduty.ServiceArgs{
	// 			Description:            pulumi.String("bar bar bar"),
	// 			AutoResolveTimeout:     pulumi.String("3600"),
	// 			AcknowledgementTimeout: pulumi.String("3600"),
	// 			EscalationPolicy:       pulumi.Any(pagerduty_escalation_policy.Foo.Id),
	// 			IncidentUrgencyRule: &pagerduty.ServiceIncidentUrgencyRuleArgs{
	// 				Type: pulumi.String("use_support_hours"),
	// 				DuringSupportHours: &pagerduty.ServiceIncidentUrgencyRuleDuringSupportHoursArgs{
	// 					Type:    pulumi.String("constant"),
	// 					Urgency: pulumi.String("high"),
	// 				},
	// 				OutsideSupportHours: &pagerduty.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs{
	// 					Type:    pulumi.String("constant"),
	// 					Urgency: pulumi.String("low"),
	// 				},
	// 			},
	// 			SupportHours: &pagerduty.ServiceSupportHoursArgs{
	// 				Type:      pulumi.String("fixed_time_per_day"),
	// 				TimeZone:  pulumi.String("America/Lima"),
	// 				StartTime: pulumi.String("09:00:00"),
	// 				EndTime:   pulumi.String("17:00:00"),
	// 				DaysOfWeeks: pulumi.IntArray{
	// 					pulumi.Int(1),
	// 					pulumi.Int(2),
	// 					pulumi.Int(3),
	// 					pulumi.Int(4),
	// 					pulumi.Int(5),
	// 				},
	// 			},
	// 			ScheduledActions: pagerduty.ServiceScheduledActionArray{
	// 				&pagerduty.ServiceScheduledActionArgs{
	// 					Type:      pulumi.String("urgency_change"),
	// 					ToUrgency: pulumi.String("high"),
	// 					Ats: pagerduty.ServiceScheduledActionAtArray{
	// 						&pagerduty.ServiceScheduledActionAtArgs{
	// 							Type: pulumi.String("named_time"),
	// 							Name: pulumi.String("support_hours_start"),
	// 						},
	// 					},
	// 				},
	// 			},
	// 		})
	// 		if err != nil {
	// 			return err
	// 		}
	// 		return nil
	// 	})
	// }
	// “`
	Name *string `pulumi:"name"`
	// The type of time specification. Currently, this must be set to `namedTime`.
	Type *string `pulumi:"type"`
}

type ServiceScheduledActionAtArgs

type ServiceScheduledActionAtArgs struct {
	// Designates either the start or the end of the scheduled action. Can be `supportHoursStart` or `supportHoursEnd`.
	//
	// Note that it is currently only possible to define the scheduled action when urgency is set to `high` for `duringSupportHours` and to `low`  for `outsideSupportHours` in `incidentUrgencyRule`.
	//
	// Below is an example for a `Service` resource with `incidentUrgencyRules` with `type = "useSupportHours"`, `supportHours` and a default `scheduledAction` as well.
	//
	// “`go
	// package main
	//
	// import (
	// 	"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
	// 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	// )
	//
	// func main() {
	// 	pulumi.Run(func(ctx *pulumi.Context) error {
	// 		_, err := pagerduty.NewService(ctx, "foo", &pagerduty.ServiceArgs{
	// 			Description:            pulumi.String("bar bar bar"),
	// 			AutoResolveTimeout:     pulumi.String("3600"),
	// 			AcknowledgementTimeout: pulumi.String("3600"),
	// 			EscalationPolicy:       pulumi.Any(pagerduty_escalation_policy.Foo.Id),
	// 			IncidentUrgencyRule: &pagerduty.ServiceIncidentUrgencyRuleArgs{
	// 				Type: pulumi.String("use_support_hours"),
	// 				DuringSupportHours: &pagerduty.ServiceIncidentUrgencyRuleDuringSupportHoursArgs{
	// 					Type:    pulumi.String("constant"),
	// 					Urgency: pulumi.String("high"),
	// 				},
	// 				OutsideSupportHours: &pagerduty.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs{
	// 					Type:    pulumi.String("constant"),
	// 					Urgency: pulumi.String("low"),
	// 				},
	// 			},
	// 			SupportHours: &pagerduty.ServiceSupportHoursArgs{
	// 				Type:      pulumi.String("fixed_time_per_day"),
	// 				TimeZone:  pulumi.String("America/Lima"),
	// 				StartTime: pulumi.String("09:00:00"),
	// 				EndTime:   pulumi.String("17:00:00"),
	// 				DaysOfWeeks: pulumi.IntArray{
	// 					pulumi.Int(1),
	// 					pulumi.Int(2),
	// 					pulumi.Int(3),
	// 					pulumi.Int(4),
	// 					pulumi.Int(5),
	// 				},
	// 			},
	// 			ScheduledActions: pagerduty.ServiceScheduledActionArray{
	// 				&pagerduty.ServiceScheduledActionArgs{
	// 					Type:      pulumi.String("urgency_change"),
	// 					ToUrgency: pulumi.String("high"),
	// 					Ats: pagerduty.ServiceScheduledActionAtArray{
	// 						&pagerduty.ServiceScheduledActionAtArgs{
	// 							Type: pulumi.String("named_time"),
	// 							Name: pulumi.String("support_hours_start"),
	// 						},
	// 					},
	// 				},
	// 			},
	// 		})
	// 		if err != nil {
	// 			return err
	// 		}
	// 		return nil
	// 	})
	// }
	// “`
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The type of time specification. Currently, this must be set to `namedTime`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ServiceScheduledActionAtArgs) ElementType

func (ServiceScheduledActionAtArgs) ToServiceScheduledActionAtOutput

func (i ServiceScheduledActionAtArgs) ToServiceScheduledActionAtOutput() ServiceScheduledActionAtOutput

func (ServiceScheduledActionAtArgs) ToServiceScheduledActionAtOutputWithContext

func (i ServiceScheduledActionAtArgs) ToServiceScheduledActionAtOutputWithContext(ctx context.Context) ServiceScheduledActionAtOutput

type ServiceScheduledActionAtArray

type ServiceScheduledActionAtArray []ServiceScheduledActionAtInput

func (ServiceScheduledActionAtArray) ElementType

func (ServiceScheduledActionAtArray) ToServiceScheduledActionAtArrayOutput

func (i ServiceScheduledActionAtArray) ToServiceScheduledActionAtArrayOutput() ServiceScheduledActionAtArrayOutput

func (ServiceScheduledActionAtArray) ToServiceScheduledActionAtArrayOutputWithContext

func (i ServiceScheduledActionAtArray) ToServiceScheduledActionAtArrayOutputWithContext(ctx context.Context) ServiceScheduledActionAtArrayOutput

type ServiceScheduledActionAtArrayInput

type ServiceScheduledActionAtArrayInput interface {
	pulumi.Input

	ToServiceScheduledActionAtArrayOutput() ServiceScheduledActionAtArrayOutput
	ToServiceScheduledActionAtArrayOutputWithContext(context.Context) ServiceScheduledActionAtArrayOutput
}

ServiceScheduledActionAtArrayInput is an input type that accepts ServiceScheduledActionAtArray and ServiceScheduledActionAtArrayOutput values. You can construct a concrete instance of `ServiceScheduledActionAtArrayInput` via:

ServiceScheduledActionAtArray{ ServiceScheduledActionAtArgs{...} }

type ServiceScheduledActionAtArrayOutput

type ServiceScheduledActionAtArrayOutput struct{ *pulumi.OutputState }

func (ServiceScheduledActionAtArrayOutput) ElementType

func (ServiceScheduledActionAtArrayOutput) Index

func (ServiceScheduledActionAtArrayOutput) ToServiceScheduledActionAtArrayOutput

func (o ServiceScheduledActionAtArrayOutput) ToServiceScheduledActionAtArrayOutput() ServiceScheduledActionAtArrayOutput

func (ServiceScheduledActionAtArrayOutput) ToServiceScheduledActionAtArrayOutputWithContext

func (o ServiceScheduledActionAtArrayOutput) ToServiceScheduledActionAtArrayOutputWithContext(ctx context.Context) ServiceScheduledActionAtArrayOutput

type ServiceScheduledActionAtInput

type ServiceScheduledActionAtInput interface {
	pulumi.Input

	ToServiceScheduledActionAtOutput() ServiceScheduledActionAtOutput
	ToServiceScheduledActionAtOutputWithContext(context.Context) ServiceScheduledActionAtOutput
}

ServiceScheduledActionAtInput is an input type that accepts ServiceScheduledActionAtArgs and ServiceScheduledActionAtOutput values. You can construct a concrete instance of `ServiceScheduledActionAtInput` via:

ServiceScheduledActionAtArgs{...}

type ServiceScheduledActionAtOutput

type ServiceScheduledActionAtOutput struct{ *pulumi.OutputState }

func (ServiceScheduledActionAtOutput) ElementType

func (ServiceScheduledActionAtOutput) Name

Designates either the start or the end of the scheduled action. Can be `supportHoursStart` or `supportHoursEnd`.

Note that it is currently only possible to define the scheduled action when urgency is set to `high` for `duringSupportHours` and to `low` for `outsideSupportHours` in `incidentUrgencyRule`.

Below is an example for a `Service` resource with `incidentUrgencyRules` with `type = "useSupportHours"`, `supportHours` and a default `scheduledAction` as well.

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewService(ctx, "foo", &pagerduty.ServiceArgs{
			Description:            pulumi.String("bar bar bar"),
			AutoResolveTimeout:     pulumi.String("3600"),
			AcknowledgementTimeout: pulumi.String("3600"),
			EscalationPolicy:       pulumi.Any(pagerduty_escalation_policy.Foo.Id),
			IncidentUrgencyRule: &pagerduty.ServiceIncidentUrgencyRuleArgs{
				Type: pulumi.String("use_support_hours"),
				DuringSupportHours: &pagerduty.ServiceIncidentUrgencyRuleDuringSupportHoursArgs{
					Type:    pulumi.String("constant"),
					Urgency: pulumi.String("high"),
				},
				OutsideSupportHours: &pagerduty.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs{
					Type:    pulumi.String("constant"),
					Urgency: pulumi.String("low"),
				},
			},
			SupportHours: &pagerduty.ServiceSupportHoursArgs{
				Type:      pulumi.String("fixed_time_per_day"),
				TimeZone:  pulumi.String("America/Lima"),
				StartTime: pulumi.String("09:00:00"),
				EndTime:   pulumi.String("17:00:00"),
				DaysOfWeeks: pulumi.IntArray{
					pulumi.Int(1),
					pulumi.Int(2),
					pulumi.Int(3),
					pulumi.Int(4),
					pulumi.Int(5),
				},
			},
			ScheduledActions: pagerduty.ServiceScheduledActionArray{
				&pagerduty.ServiceScheduledActionArgs{
					Type:      pulumi.String("urgency_change"),
					ToUrgency: pulumi.String("high"),
					Ats: pagerduty.ServiceScheduledActionAtArray{
						&pagerduty.ServiceScheduledActionAtArgs{
							Type: pulumi.String("named_time"),
							Name: pulumi.String("support_hours_start"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func (ServiceScheduledActionAtOutput) ToServiceScheduledActionAtOutput

func (o ServiceScheduledActionAtOutput) ToServiceScheduledActionAtOutput() ServiceScheduledActionAtOutput

func (ServiceScheduledActionAtOutput) ToServiceScheduledActionAtOutputWithContext

func (o ServiceScheduledActionAtOutput) ToServiceScheduledActionAtOutputWithContext(ctx context.Context) ServiceScheduledActionAtOutput

func (ServiceScheduledActionAtOutput) Type

The type of time specification. Currently, this must be set to `namedTime`.

type ServiceScheduledActionInput

type ServiceScheduledActionInput interface {
	pulumi.Input

	ToServiceScheduledActionOutput() ServiceScheduledActionOutput
	ToServiceScheduledActionOutputWithContext(context.Context) ServiceScheduledActionOutput
}

ServiceScheduledActionInput is an input type that accepts ServiceScheduledActionArgs and ServiceScheduledActionOutput values. You can construct a concrete instance of `ServiceScheduledActionInput` via:

ServiceScheduledActionArgs{...}

type ServiceScheduledActionOutput

type ServiceScheduledActionOutput struct{ *pulumi.OutputState }

func (ServiceScheduledActionOutput) Ats

A block representing when the scheduled action will occur.

func (ServiceScheduledActionOutput) ElementType

func (ServiceScheduledActionOutput) ToServiceScheduledActionOutput

func (o ServiceScheduledActionOutput) ToServiceScheduledActionOutput() ServiceScheduledActionOutput

func (ServiceScheduledActionOutput) ToServiceScheduledActionOutputWithContext

func (o ServiceScheduledActionOutput) ToServiceScheduledActionOutputWithContext(ctx context.Context) ServiceScheduledActionOutput

func (ServiceScheduledActionOutput) ToUrgency

The urgency to change to: `low` (does not escalate), or `high` (follows escalation rules).

func (ServiceScheduledActionOutput) Type

The type of alert grouping; one of `intelligent`, `time` or `contentBased`.

type ServiceState

type ServiceState struct {
	// Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the `"null"` string.  If not passed in, will default to '"1800"'.
	AcknowledgementTimeout pulumi.StringPtrInput
	// Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value "createIncidents" is default: events will create an incident that cannot be merged. Value "createAlertsAndIncidents" is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged. This option is recommended.
	AlertCreation pulumi.StringPtrInput
	// (Deprecated) Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident; If value is set to `time`: All alerts within a specified duration will be grouped into the same incident. This duration is set in the `alertGroupingTimeout` setting (described below). Available on Standard, Enterprise, and Event Intelligence plans; If value is set to `intelligent` - Alerts will be intelligently grouped based on a machine learning model that looks at the alert summary, timing, and the history of grouped alerts. Available on Enterprise and Event Intelligence plan. This field is deprecated, use `alert_grouping_parameters.type` instead,
	//
	// Deprecated: Use `alert_grouping_parameters.type`
	AlertGrouping pulumi.StringPtrInput
	// Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident.
	AlertGroupingParameters ServiceAlertGroupingParametersPtrInput
	// (Deprecated) The duration in minutes within which to automatically group incoming alerts. This setting applies only when `alertGrouping` is set to `time`. To continue grouping alerts until the incident is resolved, set this value to `0`. This field is deprecated, use `alert_grouping_parameters.config.timeout` instead,
	//
	// Deprecated: Use `alert_grouping_parameters.config.timeout`
	AlertGroupingTimeout pulumi.StringPtrInput
	// Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned [here](https://support.pagerduty.com/docs/auto-pause-incident-notifications).
	AutoPauseNotificationsParameters ServiceAutoPauseNotificationsParametersPtrInput
	// Time in seconds that an incident is automatically resolved if left open for that long. Disabled if set to the `"null"` string.
	AutoResolveTimeout pulumi.StringPtrInput
	// Creation timestamp of the service.
	CreatedAt   pulumi.StringPtrInput
	Description pulumi.StringPtrInput
	// The escalation policy used by this service.
	EscalationPolicy pulumi.StringPtrInput
	// URL at which the entity is uniquely displayed in the Web app.
	HtmlUrl             pulumi.StringPtrInput
	IncidentUrgencyRule ServiceIncidentUrgencyRulePtrInput
	// Last incident timestamp of the service.
	LastIncidentTimestamp pulumi.StringPtrInput
	// The name of the service.
	Name pulumi.StringPtrInput
	// The response play used by this service.
	ResponsePlay     pulumi.StringPtrInput
	ScheduledActions ServiceScheduledActionArrayInput
	// The status of the service.
	Status       pulumi.StringPtrInput
	SupportHours ServiceSupportHoursPtrInput
	// The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
	Type pulumi.StringPtrInput
}

func (ServiceState) ElementType

func (ServiceState) ElementType() reflect.Type

type ServiceSupportHours

type ServiceSupportHours struct {
	// Array of days of week as integers. `1` to `7`, `1` being
	// Monday and `7` being Sunday.
	DaysOfWeeks []int `pulumi:"daysOfWeeks"`
	// The support hours' ending time of day.
	//
	// A `scheduledActions` block is required when using `type = "useSupportHours"` in `incidentUrgencyRule`.
	//
	// The block contains the following arguments:
	EndTime *string `pulumi:"endTime"`
	// The support hours' starting time of day.
	StartTime *string `pulumi:"startTime"`
	// The time zone for the support hours.
	TimeZone *string `pulumi:"timeZone"`
	// The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
	Type *string `pulumi:"type"`
}

type ServiceSupportHoursArgs

type ServiceSupportHoursArgs struct {
	// Array of days of week as integers. `1` to `7`, `1` being
	// Monday and `7` being Sunday.
	DaysOfWeeks pulumi.IntArrayInput `pulumi:"daysOfWeeks"`
	// The support hours' ending time of day.
	//
	// A `scheduledActions` block is required when using `type = "useSupportHours"` in `incidentUrgencyRule`.
	//
	// The block contains the following arguments:
	EndTime pulumi.StringPtrInput `pulumi:"endTime"`
	// The support hours' starting time of day.
	StartTime pulumi.StringPtrInput `pulumi:"startTime"`
	// The time zone for the support hours.
	TimeZone pulumi.StringPtrInput `pulumi:"timeZone"`
	// The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ServiceSupportHoursArgs) ElementType

func (ServiceSupportHoursArgs) ElementType() reflect.Type

func (ServiceSupportHoursArgs) ToServiceSupportHoursOutput

func (i ServiceSupportHoursArgs) ToServiceSupportHoursOutput() ServiceSupportHoursOutput

func (ServiceSupportHoursArgs) ToServiceSupportHoursOutputWithContext

func (i ServiceSupportHoursArgs) ToServiceSupportHoursOutputWithContext(ctx context.Context) ServiceSupportHoursOutput

func (ServiceSupportHoursArgs) ToServiceSupportHoursPtrOutput

func (i ServiceSupportHoursArgs) ToServiceSupportHoursPtrOutput() ServiceSupportHoursPtrOutput

func (ServiceSupportHoursArgs) ToServiceSupportHoursPtrOutputWithContext

func (i ServiceSupportHoursArgs) ToServiceSupportHoursPtrOutputWithContext(ctx context.Context) ServiceSupportHoursPtrOutput

type ServiceSupportHoursInput

type ServiceSupportHoursInput interface {
	pulumi.Input

	ToServiceSupportHoursOutput() ServiceSupportHoursOutput
	ToServiceSupportHoursOutputWithContext(context.Context) ServiceSupportHoursOutput
}

ServiceSupportHoursInput is an input type that accepts ServiceSupportHoursArgs and ServiceSupportHoursOutput values. You can construct a concrete instance of `ServiceSupportHoursInput` via:

ServiceSupportHoursArgs{...}

type ServiceSupportHoursOutput

type ServiceSupportHoursOutput struct{ *pulumi.OutputState }

func (ServiceSupportHoursOutput) DaysOfWeeks

Array of days of week as integers. `1` to `7`, `1` being Monday and `7` being Sunday.

func (ServiceSupportHoursOutput) ElementType

func (ServiceSupportHoursOutput) ElementType() reflect.Type

func (ServiceSupportHoursOutput) EndTime

The support hours' ending time of day.

A `scheduledActions` block is required when using `type = "useSupportHours"` in `incidentUrgencyRule`.

The block contains the following arguments:

func (ServiceSupportHoursOutput) StartTime

The support hours' starting time of day.

func (ServiceSupportHoursOutput) TimeZone

The time zone for the support hours.

func (ServiceSupportHoursOutput) ToServiceSupportHoursOutput

func (o ServiceSupportHoursOutput) ToServiceSupportHoursOutput() ServiceSupportHoursOutput

func (ServiceSupportHoursOutput) ToServiceSupportHoursOutputWithContext

func (o ServiceSupportHoursOutput) ToServiceSupportHoursOutputWithContext(ctx context.Context) ServiceSupportHoursOutput

func (ServiceSupportHoursOutput) ToServiceSupportHoursPtrOutput

func (o ServiceSupportHoursOutput) ToServiceSupportHoursPtrOutput() ServiceSupportHoursPtrOutput

func (ServiceSupportHoursOutput) ToServiceSupportHoursPtrOutputWithContext

func (o ServiceSupportHoursOutput) ToServiceSupportHoursPtrOutputWithContext(ctx context.Context) ServiceSupportHoursPtrOutput

func (ServiceSupportHoursOutput) Type

The type of alert grouping; one of `intelligent`, `time` or `contentBased`.

type ServiceSupportHoursPtrInput

type ServiceSupportHoursPtrInput interface {
	pulumi.Input

	ToServiceSupportHoursPtrOutput() ServiceSupportHoursPtrOutput
	ToServiceSupportHoursPtrOutputWithContext(context.Context) ServiceSupportHoursPtrOutput
}

ServiceSupportHoursPtrInput is an input type that accepts ServiceSupportHoursArgs, ServiceSupportHoursPtr and ServiceSupportHoursPtrOutput values. You can construct a concrete instance of `ServiceSupportHoursPtrInput` via:

        ServiceSupportHoursArgs{...}

or:

        nil

type ServiceSupportHoursPtrOutput

type ServiceSupportHoursPtrOutput struct{ *pulumi.OutputState }

func (ServiceSupportHoursPtrOutput) DaysOfWeeks

Array of days of week as integers. `1` to `7`, `1` being Monday and `7` being Sunday.

func (ServiceSupportHoursPtrOutput) Elem

func (ServiceSupportHoursPtrOutput) ElementType

func (ServiceSupportHoursPtrOutput) EndTime

The support hours' ending time of day.

A `scheduledActions` block is required when using `type = "useSupportHours"` in `incidentUrgencyRule`.

The block contains the following arguments:

func (ServiceSupportHoursPtrOutput) StartTime

The support hours' starting time of day.

func (ServiceSupportHoursPtrOutput) TimeZone

The time zone for the support hours.

func (ServiceSupportHoursPtrOutput) ToServiceSupportHoursPtrOutput

func (o ServiceSupportHoursPtrOutput) ToServiceSupportHoursPtrOutput() ServiceSupportHoursPtrOutput

func (ServiceSupportHoursPtrOutput) ToServiceSupportHoursPtrOutputWithContext

func (o ServiceSupportHoursPtrOutput) ToServiceSupportHoursPtrOutputWithContext(ctx context.Context) ServiceSupportHoursPtrOutput

func (ServiceSupportHoursPtrOutput) Type

The type of alert grouping; one of `intelligent`, `time` or `contentBased`.

type SlackConnection

type SlackConnection struct {
	pulumi.CustomResourceState

	// The ID of a Slack channel in the workspace.
	ChannelId pulumi.StringOutput `pulumi:"channelId"`
	// Name of the Slack channel in Slack connection.
	ChannelName pulumi.StringOutput `pulumi:"channelName"`
	// Configuration options for the Slack connection that provide options to filter events.
	Configs SlackConnectionConfigArrayOutput `pulumi:"configs"`
	// Type of notification. Either `responder` or `stakeholder`.
	NotificationType pulumi.StringOutput `pulumi:"notificationType"`
	// The ID of the source in PagerDuty. Valid sources are services or teams.
	SourceId pulumi.StringOutput `pulumi:"sourceId"`
	// Name of the source (team or service) in Slack connection.
	SourceName pulumi.StringOutput `pulumi:"sourceName"`
	// The type of the source. Either `teamReference` or `serviceReference`.
	SourceType pulumi.StringOutput `pulumi:"sourceType"`
	// The slack team (workspace) ID of the connected Slack workspace. Can also be defined by the `SLACK_CONNECTION_WORKSPACE_ID` environment variable.
	WorkspaceId pulumi.StringOutput `pulumi:"workspaceId"`
}

A [slack connection](https://developer.pagerduty.com/api-reference/YXBpOjExMjA5NTQ0-pager-duty-slack-integration-api) allows you to connect a workspace in Slack to a PagerDuty service or team which allows you to acknowledge and resolve PagerDuty incidents from the Slack user interface.

**NOTES for using this resource:** * To first use this resource you will need to [map your PagerDuty account to a valid Slack Workspace](https://support.pagerduty.com/docs/slack-integration-guide#integration-walkthrough). *This can only be done through the PagerDuty UI.* * This resource requires a PagerDuty [user-level API key](https://support.pagerduty.com/docs/generating-api-keys#section-generating-a-personal-rest-api-key). This can be set as the `userToken` on the provider tag or as the `PAGERDUTY_USER_TOKEN` environment variable. * This resource is for configuring Slack V2 Next Generation connections. If you configured your Slack integration (V1 or V2) prior to August 10, 2021, you may migrate to the Slack V2 Next Generation update using this [migration instructions](https://support.pagerduty.com/docs/slack-integration-guide#migrate-to-slack-v2-next-generation), but if you configured your Slack integration after that date, you will have access to the update out of the box. ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooTeam, err := pagerduty.NewTeam(ctx, "fooTeam", nil)
		if err != nil {
			return err
		}
		p1, err := pagerduty.GetPriority(ctx, &pagerduty.GetPriorityArgs{
			Name: "P1",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewSlackConnection(ctx, "fooSlackConnection", &pagerduty.SlackConnectionArgs{
			SourceId:         fooTeam.ID(),
			SourceType:       pulumi.String("team_reference"),
			WorkspaceId:      pulumi.String("T02A123LV1A"),
			ChannelId:        pulumi.String("C02CABCDAC9"),
			NotificationType: pulumi.String("responder"),
			Configs: pagerduty.SlackConnectionConfigArray{
				&pagerduty.SlackConnectionConfigArgs{
					Events: pulumi.StringArray{
						pulumi.String("incident.triggered"),
						pulumi.String("incident.acknowledged"),
						pulumi.String("incident.escalated"),
						pulumi.String("incident.resolved"),
						pulumi.String("incident.reassigned"),
						pulumi.String("incident.annotated"),
						pulumi.String("incident.unacknowledged"),
						pulumi.String("incident.delegated"),
						pulumi.String("incident.priority_updated"),
						pulumi.String("incident.responder.added"),
						pulumi.String("incident.responder.replied"),
						pulumi.String("incident.status_update_published"),
						pulumi.String("incident.reopened"),
					},
					Priorities: pulumi.StringArray{
						*pulumi.String(p1.Id),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Slack connections can be imported using the related `workspace` ID and the `slack_connection` ID separated by a dot, e.g.

```sh

$ pulumi import pagerduty:index/slackConnection:SlackConnection main T02A123LV1A.PUABCDL

```

func GetSlackConnection

func GetSlackConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SlackConnectionState, opts ...pulumi.ResourceOption) (*SlackConnection, error)

GetSlackConnection gets an existing SlackConnection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSlackConnection

func NewSlackConnection(ctx *pulumi.Context,
	name string, args *SlackConnectionArgs, opts ...pulumi.ResourceOption) (*SlackConnection, error)

NewSlackConnection registers a new resource with the given unique name, arguments, and options.

func (*SlackConnection) ElementType

func (*SlackConnection) ElementType() reflect.Type

func (*SlackConnection) ToSlackConnectionOutput

func (i *SlackConnection) ToSlackConnectionOutput() SlackConnectionOutput

func (*SlackConnection) ToSlackConnectionOutputWithContext

func (i *SlackConnection) ToSlackConnectionOutputWithContext(ctx context.Context) SlackConnectionOutput

type SlackConnectionArgs

type SlackConnectionArgs struct {
	// The ID of a Slack channel in the workspace.
	ChannelId pulumi.StringInput
	// Configuration options for the Slack connection that provide options to filter events.
	Configs SlackConnectionConfigArrayInput
	// Type of notification. Either `responder` or `stakeholder`.
	NotificationType pulumi.StringInput
	// The ID of the source in PagerDuty. Valid sources are services or teams.
	SourceId pulumi.StringInput
	// The type of the source. Either `teamReference` or `serviceReference`.
	SourceType pulumi.StringInput
	// The slack team (workspace) ID of the connected Slack workspace. Can also be defined by the `SLACK_CONNECTION_WORKSPACE_ID` environment variable.
	WorkspaceId pulumi.StringInput
}

The set of arguments for constructing a SlackConnection resource.

func (SlackConnectionArgs) ElementType

func (SlackConnectionArgs) ElementType() reflect.Type

type SlackConnectionArray

type SlackConnectionArray []SlackConnectionInput

func (SlackConnectionArray) ElementType

func (SlackConnectionArray) ElementType() reflect.Type

func (SlackConnectionArray) ToSlackConnectionArrayOutput

func (i SlackConnectionArray) ToSlackConnectionArrayOutput() SlackConnectionArrayOutput

func (SlackConnectionArray) ToSlackConnectionArrayOutputWithContext

func (i SlackConnectionArray) ToSlackConnectionArrayOutputWithContext(ctx context.Context) SlackConnectionArrayOutput

type SlackConnectionArrayInput

type SlackConnectionArrayInput interface {
	pulumi.Input

	ToSlackConnectionArrayOutput() SlackConnectionArrayOutput
	ToSlackConnectionArrayOutputWithContext(context.Context) SlackConnectionArrayOutput
}

SlackConnectionArrayInput is an input type that accepts SlackConnectionArray and SlackConnectionArrayOutput values. You can construct a concrete instance of `SlackConnectionArrayInput` via:

SlackConnectionArray{ SlackConnectionArgs{...} }

type SlackConnectionArrayOutput

type SlackConnectionArrayOutput struct{ *pulumi.OutputState }

func (SlackConnectionArrayOutput) ElementType

func (SlackConnectionArrayOutput) ElementType() reflect.Type

func (SlackConnectionArrayOutput) Index

func (SlackConnectionArrayOutput) ToSlackConnectionArrayOutput

func (o SlackConnectionArrayOutput) ToSlackConnectionArrayOutput() SlackConnectionArrayOutput

func (SlackConnectionArrayOutput) ToSlackConnectionArrayOutputWithContext

func (o SlackConnectionArrayOutput) ToSlackConnectionArrayOutputWithContext(ctx context.Context) SlackConnectionArrayOutput

type SlackConnectionConfig

type SlackConnectionConfig struct {
	// A list of strings to filter events by PagerDuty event type. `"incident.triggered"` is required. The follow event types are also possible:
	// - `incident.acknowledged`
	// - `incident.escalated`
	// - `incident.resolved`
	// - `incident.reassigned`
	// - `incident.annotated`
	// - `incident.unacknowledged`
	// - `incident.delegated`
	// - `incident.priority_updated`
	// - `incident.responder.added`
	// - `incident.responder.replied`
	// - `incident.status_update_published`
	// - `incident.reopened`
	Events []string `pulumi:"events"`
	// Allows you to filter events by priority. Needs to be an array of PagerDuty priority IDs. Available through getPriority data source.
	// - When omitted or set to an empty array (`[]`) in the configuration for a Slack Connection, its default behaviour is to set `priorities` to `No Priority` value.
	// - When set to `["*"]` its corresponding value for `priorities` in Slack Connection's configuration will be `Any Priority`.
	Priorities []string `pulumi:"priorities"`
	// Allows you to filter events by urgency. Either `high` or `low`.
	Urgency *string `pulumi:"urgency"`
}

type SlackConnectionConfigArgs

type SlackConnectionConfigArgs struct {
	// A list of strings to filter events by PagerDuty event type. `"incident.triggered"` is required. The follow event types are also possible:
	// - `incident.acknowledged`
	// - `incident.escalated`
	// - `incident.resolved`
	// - `incident.reassigned`
	// - `incident.annotated`
	// - `incident.unacknowledged`
	// - `incident.delegated`
	// - `incident.priority_updated`
	// - `incident.responder.added`
	// - `incident.responder.replied`
	// - `incident.status_update_published`
	// - `incident.reopened`
	Events pulumi.StringArrayInput `pulumi:"events"`
	// Allows you to filter events by priority. Needs to be an array of PagerDuty priority IDs. Available through getPriority data source.
	// - When omitted or set to an empty array (`[]`) in the configuration for a Slack Connection, its default behaviour is to set `priorities` to `No Priority` value.
	// - When set to `["*"]` its corresponding value for `priorities` in Slack Connection's configuration will be `Any Priority`.
	Priorities pulumi.StringArrayInput `pulumi:"priorities"`
	// Allows you to filter events by urgency. Either `high` or `low`.
	Urgency pulumi.StringPtrInput `pulumi:"urgency"`
}

func (SlackConnectionConfigArgs) ElementType

func (SlackConnectionConfigArgs) ElementType() reflect.Type

func (SlackConnectionConfigArgs) ToSlackConnectionConfigOutput

func (i SlackConnectionConfigArgs) ToSlackConnectionConfigOutput() SlackConnectionConfigOutput

func (SlackConnectionConfigArgs) ToSlackConnectionConfigOutputWithContext

func (i SlackConnectionConfigArgs) ToSlackConnectionConfigOutputWithContext(ctx context.Context) SlackConnectionConfigOutput

type SlackConnectionConfigArray

type SlackConnectionConfigArray []SlackConnectionConfigInput

func (SlackConnectionConfigArray) ElementType

func (SlackConnectionConfigArray) ElementType() reflect.Type

func (SlackConnectionConfigArray) ToSlackConnectionConfigArrayOutput

func (i SlackConnectionConfigArray) ToSlackConnectionConfigArrayOutput() SlackConnectionConfigArrayOutput

func (SlackConnectionConfigArray) ToSlackConnectionConfigArrayOutputWithContext

func (i SlackConnectionConfigArray) ToSlackConnectionConfigArrayOutputWithContext(ctx context.Context) SlackConnectionConfigArrayOutput

type SlackConnectionConfigArrayInput

type SlackConnectionConfigArrayInput interface {
	pulumi.Input

	ToSlackConnectionConfigArrayOutput() SlackConnectionConfigArrayOutput
	ToSlackConnectionConfigArrayOutputWithContext(context.Context) SlackConnectionConfigArrayOutput
}

SlackConnectionConfigArrayInput is an input type that accepts SlackConnectionConfigArray and SlackConnectionConfigArrayOutput values. You can construct a concrete instance of `SlackConnectionConfigArrayInput` via:

SlackConnectionConfigArray{ SlackConnectionConfigArgs{...} }

type SlackConnectionConfigArrayOutput

type SlackConnectionConfigArrayOutput struct{ *pulumi.OutputState }

func (SlackConnectionConfigArrayOutput) ElementType

func (SlackConnectionConfigArrayOutput) Index

func (SlackConnectionConfigArrayOutput) ToSlackConnectionConfigArrayOutput

func (o SlackConnectionConfigArrayOutput) ToSlackConnectionConfigArrayOutput() SlackConnectionConfigArrayOutput

func (SlackConnectionConfigArrayOutput) ToSlackConnectionConfigArrayOutputWithContext

func (o SlackConnectionConfigArrayOutput) ToSlackConnectionConfigArrayOutputWithContext(ctx context.Context) SlackConnectionConfigArrayOutput

type SlackConnectionConfigInput

type SlackConnectionConfigInput interface {
	pulumi.Input

	ToSlackConnectionConfigOutput() SlackConnectionConfigOutput
	ToSlackConnectionConfigOutputWithContext(context.Context) SlackConnectionConfigOutput
}

SlackConnectionConfigInput is an input type that accepts SlackConnectionConfigArgs and SlackConnectionConfigOutput values. You can construct a concrete instance of `SlackConnectionConfigInput` via:

SlackConnectionConfigArgs{...}

type SlackConnectionConfigOutput

type SlackConnectionConfigOutput struct{ *pulumi.OutputState }

func (SlackConnectionConfigOutput) ElementType

func (SlackConnectionConfigOutput) Events

A list of strings to filter events by PagerDuty event type. `"incident.triggered"` is required. The follow event types are also possible: - `incident.acknowledged` - `incident.escalated` - `incident.resolved` - `incident.reassigned` - `incident.annotated` - `incident.unacknowledged` - `incident.delegated` - `incident.priority_updated` - `incident.responder.added` - `incident.responder.replied` - `incident.status_update_published` - `incident.reopened`

func (SlackConnectionConfigOutput) Priorities

Allows you to filter events by priority. Needs to be an array of PagerDuty priority IDs. Available through getPriority data source. - When omitted or set to an empty array (`[]`) in the configuration for a Slack Connection, its default behaviour is to set `priorities` to `No Priority` value. - When set to `["*"]` its corresponding value for `priorities` in Slack Connection's configuration will be `Any Priority`.

func (SlackConnectionConfigOutput) ToSlackConnectionConfigOutput

func (o SlackConnectionConfigOutput) ToSlackConnectionConfigOutput() SlackConnectionConfigOutput

func (SlackConnectionConfigOutput) ToSlackConnectionConfigOutputWithContext

func (o SlackConnectionConfigOutput) ToSlackConnectionConfigOutputWithContext(ctx context.Context) SlackConnectionConfigOutput

func (SlackConnectionConfigOutput) Urgency

Allows you to filter events by urgency. Either `high` or `low`.

type SlackConnectionInput

type SlackConnectionInput interface {
	pulumi.Input

	ToSlackConnectionOutput() SlackConnectionOutput
	ToSlackConnectionOutputWithContext(ctx context.Context) SlackConnectionOutput
}

type SlackConnectionMap

type SlackConnectionMap map[string]SlackConnectionInput

func (SlackConnectionMap) ElementType

func (SlackConnectionMap) ElementType() reflect.Type

func (SlackConnectionMap) ToSlackConnectionMapOutput

func (i SlackConnectionMap) ToSlackConnectionMapOutput() SlackConnectionMapOutput

func (SlackConnectionMap) ToSlackConnectionMapOutputWithContext

func (i SlackConnectionMap) ToSlackConnectionMapOutputWithContext(ctx context.Context) SlackConnectionMapOutput

type SlackConnectionMapInput

type SlackConnectionMapInput interface {
	pulumi.Input

	ToSlackConnectionMapOutput() SlackConnectionMapOutput
	ToSlackConnectionMapOutputWithContext(context.Context) SlackConnectionMapOutput
}

SlackConnectionMapInput is an input type that accepts SlackConnectionMap and SlackConnectionMapOutput values. You can construct a concrete instance of `SlackConnectionMapInput` via:

SlackConnectionMap{ "key": SlackConnectionArgs{...} }

type SlackConnectionMapOutput

type SlackConnectionMapOutput struct{ *pulumi.OutputState }

func (SlackConnectionMapOutput) ElementType

func (SlackConnectionMapOutput) ElementType() reflect.Type

func (SlackConnectionMapOutput) MapIndex

func (SlackConnectionMapOutput) ToSlackConnectionMapOutput

func (o SlackConnectionMapOutput) ToSlackConnectionMapOutput() SlackConnectionMapOutput

func (SlackConnectionMapOutput) ToSlackConnectionMapOutputWithContext

func (o SlackConnectionMapOutput) ToSlackConnectionMapOutputWithContext(ctx context.Context) SlackConnectionMapOutput

type SlackConnectionOutput

type SlackConnectionOutput struct{ *pulumi.OutputState }

func (SlackConnectionOutput) ChannelId added in v3.5.1

The ID of a Slack channel in the workspace.

func (SlackConnectionOutput) ChannelName added in v3.5.1

func (o SlackConnectionOutput) ChannelName() pulumi.StringOutput

Name of the Slack channel in Slack connection.

func (SlackConnectionOutput) Configs added in v3.5.1

Configuration options for the Slack connection that provide options to filter events.

func (SlackConnectionOutput) ElementType

func (SlackConnectionOutput) ElementType() reflect.Type

func (SlackConnectionOutput) NotificationType added in v3.5.1

func (o SlackConnectionOutput) NotificationType() pulumi.StringOutput

Type of notification. Either `responder` or `stakeholder`.

func (SlackConnectionOutput) SourceId added in v3.5.1

The ID of the source in PagerDuty. Valid sources are services or teams.

func (SlackConnectionOutput) SourceName added in v3.5.1

func (o SlackConnectionOutput) SourceName() pulumi.StringOutput

Name of the source (team or service) in Slack connection.

func (SlackConnectionOutput) SourceType added in v3.5.1

func (o SlackConnectionOutput) SourceType() pulumi.StringOutput

The type of the source. Either `teamReference` or `serviceReference`.

func (SlackConnectionOutput) ToSlackConnectionOutput

func (o SlackConnectionOutput) ToSlackConnectionOutput() SlackConnectionOutput

func (SlackConnectionOutput) ToSlackConnectionOutputWithContext

func (o SlackConnectionOutput) ToSlackConnectionOutputWithContext(ctx context.Context) SlackConnectionOutput

func (SlackConnectionOutput) WorkspaceId added in v3.5.1

func (o SlackConnectionOutput) WorkspaceId() pulumi.StringOutput

The slack team (workspace) ID of the connected Slack workspace. Can also be defined by the `SLACK_CONNECTION_WORKSPACE_ID` environment variable.

type SlackConnectionState

type SlackConnectionState struct {
	// The ID of a Slack channel in the workspace.
	ChannelId pulumi.StringPtrInput
	// Name of the Slack channel in Slack connection.
	ChannelName pulumi.StringPtrInput
	// Configuration options for the Slack connection that provide options to filter events.
	Configs SlackConnectionConfigArrayInput
	// Type of notification. Either `responder` or `stakeholder`.
	NotificationType pulumi.StringPtrInput
	// The ID of the source in PagerDuty. Valid sources are services or teams.
	SourceId pulumi.StringPtrInput
	// Name of the source (team or service) in Slack connection.
	SourceName pulumi.StringPtrInput
	// The type of the source. Either `teamReference` or `serviceReference`.
	SourceType pulumi.StringPtrInput
	// The slack team (workspace) ID of the connected Slack workspace. Can also be defined by the `SLACK_CONNECTION_WORKSPACE_ID` environment variable.
	WorkspaceId pulumi.StringPtrInput
}

func (SlackConnectionState) ElementType

func (SlackConnectionState) ElementType() reflect.Type

type Tag

type Tag struct {
	pulumi.CustomResourceState

	// URL at which the entity is uniquely displayed in the Web app.
	HtmlUrl pulumi.StringOutput `pulumi:"htmlUrl"`
	// The label of the tag.
	Label pulumi.StringOutput `pulumi:"label"`
	// A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier.
	Summary pulumi.StringOutput `pulumi:"summary"`
}

A [tag](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIxOA-create-a-tag) is applied to Escalation Policies, Teams or Users and can be used to filter them.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewTag(ctx, "example", &pagerduty.TagArgs{
			Label: pulumi.String("Product"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Tags can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/tag:Tag main PLBP09X

```

func GetTag

func GetTag(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TagState, opts ...pulumi.ResourceOption) (*Tag, error)

GetTag gets an existing Tag resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTag

func NewTag(ctx *pulumi.Context,
	name string, args *TagArgs, opts ...pulumi.ResourceOption) (*Tag, error)

NewTag registers a new resource with the given unique name, arguments, and options.

func (*Tag) ElementType

func (*Tag) ElementType() reflect.Type

func (*Tag) ToTagOutput

func (i *Tag) ToTagOutput() TagOutput

func (*Tag) ToTagOutputWithContext

func (i *Tag) ToTagOutputWithContext(ctx context.Context) TagOutput

type TagArgs

type TagArgs struct {
	// The label of the tag.
	Label pulumi.StringInput
}

The set of arguments for constructing a Tag resource.

func (TagArgs) ElementType

func (TagArgs) ElementType() reflect.Type

type TagArray

type TagArray []TagInput

func (TagArray) ElementType

func (TagArray) ElementType() reflect.Type

func (TagArray) ToTagArrayOutput

func (i TagArray) ToTagArrayOutput() TagArrayOutput

func (TagArray) ToTagArrayOutputWithContext

func (i TagArray) ToTagArrayOutputWithContext(ctx context.Context) TagArrayOutput

type TagArrayInput

type TagArrayInput interface {
	pulumi.Input

	ToTagArrayOutput() TagArrayOutput
	ToTagArrayOutputWithContext(context.Context) TagArrayOutput
}

TagArrayInput is an input type that accepts TagArray and TagArrayOutput values. You can construct a concrete instance of `TagArrayInput` via:

TagArray{ TagArgs{...} }

type TagArrayOutput

type TagArrayOutput struct{ *pulumi.OutputState }

func (TagArrayOutput) ElementType

func (TagArrayOutput) ElementType() reflect.Type

func (TagArrayOutput) Index

func (TagArrayOutput) ToTagArrayOutput

func (o TagArrayOutput) ToTagArrayOutput() TagArrayOutput

func (TagArrayOutput) ToTagArrayOutputWithContext

func (o TagArrayOutput) ToTagArrayOutputWithContext(ctx context.Context) TagArrayOutput

type TagAssignment

type TagAssignment struct {
	pulumi.CustomResourceState

	// The ID of the entity.
	EntityId pulumi.StringOutput `pulumi:"entityId"`
	// Type of entity in the tag assignment. Possible values can be `users`, `teams`, and `escalationPolicies`.
	EntityType pulumi.StringOutput `pulumi:"entityType"`
	// The ID of the tag.
	TagId pulumi.StringOutput `pulumi:"tagId"`
}

A [tag](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEwMA-assign-tags) is applied to Escalation Policies, Teams or Users and can be used to filter them.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleTag, err := pagerduty.NewTag(ctx, "exampleTag", &pagerduty.TagArgs{
			Label: pulumi.String("API"),
		})
		if err != nil {
			return err
		}
		engteam, err := pagerduty.NewTeam(ctx, "engteam", nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewTagAssignment(ctx, "exampleTagAssignment", &pagerduty.TagAssignmentArgs{
			TagId:      exampleTag.ID(),
			EntityType: pulumi.String("teams"),
			EntityId:   engteam.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Tag assignments can be imported using the `id` which is constructed by taking the `entity` Type, `entity` ID and the `tag` ID separated by a dot, e.g.

```sh

$ pulumi import pagerduty:index/tagAssignment:TagAssignment main users.P7HHMVK.PYC7IQQ

```

func GetTagAssignment

func GetTagAssignment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TagAssignmentState, opts ...pulumi.ResourceOption) (*TagAssignment, error)

GetTagAssignment gets an existing TagAssignment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTagAssignment

func NewTagAssignment(ctx *pulumi.Context,
	name string, args *TagAssignmentArgs, opts ...pulumi.ResourceOption) (*TagAssignment, error)

NewTagAssignment registers a new resource with the given unique name, arguments, and options.

func (*TagAssignment) ElementType

func (*TagAssignment) ElementType() reflect.Type

func (*TagAssignment) ToTagAssignmentOutput

func (i *TagAssignment) ToTagAssignmentOutput() TagAssignmentOutput

func (*TagAssignment) ToTagAssignmentOutputWithContext

func (i *TagAssignment) ToTagAssignmentOutputWithContext(ctx context.Context) TagAssignmentOutput

type TagAssignmentArgs

type TagAssignmentArgs struct {
	// The ID of the entity.
	EntityId pulumi.StringInput
	// Type of entity in the tag assignment. Possible values can be `users`, `teams`, and `escalationPolicies`.
	EntityType pulumi.StringInput
	// The ID of the tag.
	TagId pulumi.StringInput
}

The set of arguments for constructing a TagAssignment resource.

func (TagAssignmentArgs) ElementType

func (TagAssignmentArgs) ElementType() reflect.Type

type TagAssignmentArray

type TagAssignmentArray []TagAssignmentInput

func (TagAssignmentArray) ElementType

func (TagAssignmentArray) ElementType() reflect.Type

func (TagAssignmentArray) ToTagAssignmentArrayOutput

func (i TagAssignmentArray) ToTagAssignmentArrayOutput() TagAssignmentArrayOutput

func (TagAssignmentArray) ToTagAssignmentArrayOutputWithContext

func (i TagAssignmentArray) ToTagAssignmentArrayOutputWithContext(ctx context.Context) TagAssignmentArrayOutput

type TagAssignmentArrayInput

type TagAssignmentArrayInput interface {
	pulumi.Input

	ToTagAssignmentArrayOutput() TagAssignmentArrayOutput
	ToTagAssignmentArrayOutputWithContext(context.Context) TagAssignmentArrayOutput
}

TagAssignmentArrayInput is an input type that accepts TagAssignmentArray and TagAssignmentArrayOutput values. You can construct a concrete instance of `TagAssignmentArrayInput` via:

TagAssignmentArray{ TagAssignmentArgs{...} }

type TagAssignmentArrayOutput

type TagAssignmentArrayOutput struct{ *pulumi.OutputState }

func (TagAssignmentArrayOutput) ElementType

func (TagAssignmentArrayOutput) ElementType() reflect.Type

func (TagAssignmentArrayOutput) Index

func (TagAssignmentArrayOutput) ToTagAssignmentArrayOutput

func (o TagAssignmentArrayOutput) ToTagAssignmentArrayOutput() TagAssignmentArrayOutput

func (TagAssignmentArrayOutput) ToTagAssignmentArrayOutputWithContext

func (o TagAssignmentArrayOutput) ToTagAssignmentArrayOutputWithContext(ctx context.Context) TagAssignmentArrayOutput

type TagAssignmentInput

type TagAssignmentInput interface {
	pulumi.Input

	ToTagAssignmentOutput() TagAssignmentOutput
	ToTagAssignmentOutputWithContext(ctx context.Context) TagAssignmentOutput
}

type TagAssignmentMap

type TagAssignmentMap map[string]TagAssignmentInput

func (TagAssignmentMap) ElementType

func (TagAssignmentMap) ElementType() reflect.Type

func (TagAssignmentMap) ToTagAssignmentMapOutput

func (i TagAssignmentMap) ToTagAssignmentMapOutput() TagAssignmentMapOutput

func (TagAssignmentMap) ToTagAssignmentMapOutputWithContext

func (i TagAssignmentMap) ToTagAssignmentMapOutputWithContext(ctx context.Context) TagAssignmentMapOutput

type TagAssignmentMapInput

type TagAssignmentMapInput interface {
	pulumi.Input

	ToTagAssignmentMapOutput() TagAssignmentMapOutput
	ToTagAssignmentMapOutputWithContext(context.Context) TagAssignmentMapOutput
}

TagAssignmentMapInput is an input type that accepts TagAssignmentMap and TagAssignmentMapOutput values. You can construct a concrete instance of `TagAssignmentMapInput` via:

TagAssignmentMap{ "key": TagAssignmentArgs{...} }

type TagAssignmentMapOutput

type TagAssignmentMapOutput struct{ *pulumi.OutputState }

func (TagAssignmentMapOutput) ElementType

func (TagAssignmentMapOutput) ElementType() reflect.Type

func (TagAssignmentMapOutput) MapIndex

func (TagAssignmentMapOutput) ToTagAssignmentMapOutput

func (o TagAssignmentMapOutput) ToTagAssignmentMapOutput() TagAssignmentMapOutput

func (TagAssignmentMapOutput) ToTagAssignmentMapOutputWithContext

func (o TagAssignmentMapOutput) ToTagAssignmentMapOutputWithContext(ctx context.Context) TagAssignmentMapOutput

type TagAssignmentOutput

type TagAssignmentOutput struct{ *pulumi.OutputState }

func (TagAssignmentOutput) ElementType

func (TagAssignmentOutput) ElementType() reflect.Type

func (TagAssignmentOutput) EntityId added in v3.5.1

The ID of the entity.

func (TagAssignmentOutput) EntityType added in v3.5.1

func (o TagAssignmentOutput) EntityType() pulumi.StringOutput

Type of entity in the tag assignment. Possible values can be `users`, `teams`, and `escalationPolicies`.

func (TagAssignmentOutput) TagId added in v3.5.1

The ID of the tag.

func (TagAssignmentOutput) ToTagAssignmentOutput

func (o TagAssignmentOutput) ToTagAssignmentOutput() TagAssignmentOutput

func (TagAssignmentOutput) ToTagAssignmentOutputWithContext

func (o TagAssignmentOutput) ToTagAssignmentOutputWithContext(ctx context.Context) TagAssignmentOutput

type TagAssignmentState

type TagAssignmentState struct {
	// The ID of the entity.
	EntityId pulumi.StringPtrInput
	// Type of entity in the tag assignment. Possible values can be `users`, `teams`, and `escalationPolicies`.
	EntityType pulumi.StringPtrInput
	// The ID of the tag.
	TagId pulumi.StringPtrInput
}

func (TagAssignmentState) ElementType

func (TagAssignmentState) ElementType() reflect.Type

type TagInput

type TagInput interface {
	pulumi.Input

	ToTagOutput() TagOutput
	ToTagOutputWithContext(ctx context.Context) TagOutput
}

type TagMap

type TagMap map[string]TagInput

func (TagMap) ElementType

func (TagMap) ElementType() reflect.Type

func (TagMap) ToTagMapOutput

func (i TagMap) ToTagMapOutput() TagMapOutput

func (TagMap) ToTagMapOutputWithContext

func (i TagMap) ToTagMapOutputWithContext(ctx context.Context) TagMapOutput

type TagMapInput

type TagMapInput interface {
	pulumi.Input

	ToTagMapOutput() TagMapOutput
	ToTagMapOutputWithContext(context.Context) TagMapOutput
}

TagMapInput is an input type that accepts TagMap and TagMapOutput values. You can construct a concrete instance of `TagMapInput` via:

TagMap{ "key": TagArgs{...} }

type TagMapOutput

type TagMapOutput struct{ *pulumi.OutputState }

func (TagMapOutput) ElementType

func (TagMapOutput) ElementType() reflect.Type

func (TagMapOutput) MapIndex

func (o TagMapOutput) MapIndex(k pulumi.StringInput) TagOutput

func (TagMapOutput) ToTagMapOutput

func (o TagMapOutput) ToTagMapOutput() TagMapOutput

func (TagMapOutput) ToTagMapOutputWithContext

func (o TagMapOutput) ToTagMapOutputWithContext(ctx context.Context) TagMapOutput

type TagOutput

type TagOutput struct{ *pulumi.OutputState }

func (TagOutput) ElementType

func (TagOutput) ElementType() reflect.Type

func (TagOutput) HtmlUrl added in v3.5.1

func (o TagOutput) HtmlUrl() pulumi.StringOutput

URL at which the entity is uniquely displayed in the Web app.

func (TagOutput) Label added in v3.5.1

func (o TagOutput) Label() pulumi.StringOutput

The label of the tag.

func (TagOutput) Summary added in v3.5.1

func (o TagOutput) Summary() pulumi.StringOutput

A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier.

func (TagOutput) ToTagOutput

func (o TagOutput) ToTagOutput() TagOutput

func (TagOutput) ToTagOutputWithContext

func (o TagOutput) ToTagOutputWithContext(ctx context.Context) TagOutput

type TagState

type TagState struct {
	// URL at which the entity is uniquely displayed in the Web app.
	HtmlUrl pulumi.StringPtrInput
	// The label of the tag.
	Label pulumi.StringPtrInput
	// A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier.
	Summary pulumi.StringPtrInput
}

func (TagState) ElementType

func (TagState) ElementType() reflect.Type

type Team

type Team struct {
	pulumi.CustomResourceState

	Description pulumi.StringOutput `pulumi:"description"`
	// URL at which the entity is uniquely displayed in the Web app
	HtmlUrl pulumi.StringOutput `pulumi:"htmlUrl"`
	// The name of the group.
	Name pulumi.StringOutput `pulumi:"name"`
	// ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information.
	Parent pulumi.StringPtrOutput `pulumi:"parent"`
}

A [team](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIyMg-create-a-team) is a collection of users and escalation policies that represent a group of people within an organization.

The account must have the `teams` ability to use the following resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		parent, err := pagerduty.NewTeam(ctx, "parent", &pagerduty.TeamArgs{
			Description: pulumi.String("Product and Engineering"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewTeam(ctx, "example", &pagerduty.TeamArgs{
			Description: pulumi.String("All engineering"),
			Parent:      parent.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Teams can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/team:Team main PLBP09X

```

func GetTeam

func GetTeam(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TeamState, opts ...pulumi.ResourceOption) (*Team, error)

GetTeam gets an existing Team resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTeam

func NewTeam(ctx *pulumi.Context,
	name string, args *TeamArgs, opts ...pulumi.ResourceOption) (*Team, error)

NewTeam registers a new resource with the given unique name, arguments, and options.

func (*Team) ElementType

func (*Team) ElementType() reflect.Type

func (*Team) ToTeamOutput

func (i *Team) ToTeamOutput() TeamOutput

func (*Team) ToTeamOutputWithContext

func (i *Team) ToTeamOutputWithContext(ctx context.Context) TeamOutput

type TeamArgs

type TeamArgs struct {
	Description pulumi.StringPtrInput
	// The name of the group.
	Name pulumi.StringPtrInput
	// ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information.
	Parent pulumi.StringPtrInput
}

The set of arguments for constructing a Team resource.

func (TeamArgs) ElementType

func (TeamArgs) ElementType() reflect.Type

type TeamArray

type TeamArray []TeamInput

func (TeamArray) ElementType

func (TeamArray) ElementType() reflect.Type

func (TeamArray) ToTeamArrayOutput

func (i TeamArray) ToTeamArrayOutput() TeamArrayOutput

func (TeamArray) ToTeamArrayOutputWithContext

func (i TeamArray) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput

type TeamArrayInput

type TeamArrayInput interface {
	pulumi.Input

	ToTeamArrayOutput() TeamArrayOutput
	ToTeamArrayOutputWithContext(context.Context) TeamArrayOutput
}

TeamArrayInput is an input type that accepts TeamArray and TeamArrayOutput values. You can construct a concrete instance of `TeamArrayInput` via:

TeamArray{ TeamArgs{...} }

type TeamArrayOutput

type TeamArrayOutput struct{ *pulumi.OutputState }

func (TeamArrayOutput) ElementType

func (TeamArrayOutput) ElementType() reflect.Type

func (TeamArrayOutput) Index

func (TeamArrayOutput) ToTeamArrayOutput

func (o TeamArrayOutput) ToTeamArrayOutput() TeamArrayOutput

func (TeamArrayOutput) ToTeamArrayOutputWithContext

func (o TeamArrayOutput) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput

type TeamInput

type TeamInput interface {
	pulumi.Input

	ToTeamOutput() TeamOutput
	ToTeamOutputWithContext(ctx context.Context) TeamOutput
}

type TeamMap

type TeamMap map[string]TeamInput

func (TeamMap) ElementType

func (TeamMap) ElementType() reflect.Type

func (TeamMap) ToTeamMapOutput

func (i TeamMap) ToTeamMapOutput() TeamMapOutput

func (TeamMap) ToTeamMapOutputWithContext

func (i TeamMap) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput

type TeamMapInput

type TeamMapInput interface {
	pulumi.Input

	ToTeamMapOutput() TeamMapOutput
	ToTeamMapOutputWithContext(context.Context) TeamMapOutput
}

TeamMapInput is an input type that accepts TeamMap and TeamMapOutput values. You can construct a concrete instance of `TeamMapInput` via:

TeamMap{ "key": TeamArgs{...} }

type TeamMapOutput

type TeamMapOutput struct{ *pulumi.OutputState }

func (TeamMapOutput) ElementType

func (TeamMapOutput) ElementType() reflect.Type

func (TeamMapOutput) MapIndex

func (TeamMapOutput) ToTeamMapOutput

func (o TeamMapOutput) ToTeamMapOutput() TeamMapOutput

func (TeamMapOutput) ToTeamMapOutputWithContext

func (o TeamMapOutput) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput

type TeamMembership

type TeamMembership struct {
	pulumi.CustomResourceState

	// The role of the user in the team. One of `observer`, `responder`, or `manager`. Defaults to `manager`.\
	// These roles match up to user roles in the following ways:
	// * User role of `user` is a Team role of `manager`
	// * User role of `limitedUser` is a Team role of `responder`
	Role pulumi.StringPtrOutput `pulumi:"role"`
	// The ID of the team in which the user will belong.
	TeamId pulumi.StringOutput `pulumi:"teamId"`
	// The ID of the user to add to the team.
	UserId pulumi.StringOutput `pulumi:"userId"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooUser, err := pagerduty.NewUser(ctx, "fooUser", &pagerduty.UserArgs{
			Email: pulumi.String("foo@bar.com"),
		})
		if err != nil {
			return err
		}
		fooTeam, err := pagerduty.NewTeam(ctx, "fooTeam", &pagerduty.TeamArgs{
			Description: pulumi.String("foo"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewTeamMembership(ctx, "fooTeamMembership", &pagerduty.TeamMembershipArgs{
			UserId: fooUser.ID(),
			TeamId: fooTeam.ID(),
			Role:   pulumi.String("manager"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Team memberships can be imported using the `user_id` and `team_id`, e.g.

```sh

$ pulumi import pagerduty:index/teamMembership:TeamMembership main PLBP09X:PLB09Z

```

func GetTeamMembership

func GetTeamMembership(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TeamMembershipState, opts ...pulumi.ResourceOption) (*TeamMembership, error)

GetTeamMembership gets an existing TeamMembership resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTeamMembership

func NewTeamMembership(ctx *pulumi.Context,
	name string, args *TeamMembershipArgs, opts ...pulumi.ResourceOption) (*TeamMembership, error)

NewTeamMembership registers a new resource with the given unique name, arguments, and options.

func (*TeamMembership) ElementType

func (*TeamMembership) ElementType() reflect.Type

func (*TeamMembership) ToTeamMembershipOutput

func (i *TeamMembership) ToTeamMembershipOutput() TeamMembershipOutput

func (*TeamMembership) ToTeamMembershipOutputWithContext

func (i *TeamMembership) ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput

type TeamMembershipArgs

type TeamMembershipArgs struct {
	// The role of the user in the team. One of `observer`, `responder`, or `manager`. Defaults to `manager`.\
	// These roles match up to user roles in the following ways:
	// * User role of `user` is a Team role of `manager`
	// * User role of `limitedUser` is a Team role of `responder`
	Role pulumi.StringPtrInput
	// The ID of the team in which the user will belong.
	TeamId pulumi.StringInput
	// The ID of the user to add to the team.
	UserId pulumi.StringInput
}

The set of arguments for constructing a TeamMembership resource.

func (TeamMembershipArgs) ElementType

func (TeamMembershipArgs) ElementType() reflect.Type

type TeamMembershipArray

type TeamMembershipArray []TeamMembershipInput

func (TeamMembershipArray) ElementType

func (TeamMembershipArray) ElementType() reflect.Type

func (TeamMembershipArray) ToTeamMembershipArrayOutput

func (i TeamMembershipArray) ToTeamMembershipArrayOutput() TeamMembershipArrayOutput

func (TeamMembershipArray) ToTeamMembershipArrayOutputWithContext

func (i TeamMembershipArray) ToTeamMembershipArrayOutputWithContext(ctx context.Context) TeamMembershipArrayOutput

type TeamMembershipArrayInput

type TeamMembershipArrayInput interface {
	pulumi.Input

	ToTeamMembershipArrayOutput() TeamMembershipArrayOutput
	ToTeamMembershipArrayOutputWithContext(context.Context) TeamMembershipArrayOutput
}

TeamMembershipArrayInput is an input type that accepts TeamMembershipArray and TeamMembershipArrayOutput values. You can construct a concrete instance of `TeamMembershipArrayInput` via:

TeamMembershipArray{ TeamMembershipArgs{...} }

type TeamMembershipArrayOutput

type TeamMembershipArrayOutput struct{ *pulumi.OutputState }

func (TeamMembershipArrayOutput) ElementType

func (TeamMembershipArrayOutput) ElementType() reflect.Type

func (TeamMembershipArrayOutput) Index

func (TeamMembershipArrayOutput) ToTeamMembershipArrayOutput

func (o TeamMembershipArrayOutput) ToTeamMembershipArrayOutput() TeamMembershipArrayOutput

func (TeamMembershipArrayOutput) ToTeamMembershipArrayOutputWithContext

func (o TeamMembershipArrayOutput) ToTeamMembershipArrayOutputWithContext(ctx context.Context) TeamMembershipArrayOutput

type TeamMembershipInput

type TeamMembershipInput interface {
	pulumi.Input

	ToTeamMembershipOutput() TeamMembershipOutput
	ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput
}

type TeamMembershipMap

type TeamMembershipMap map[string]TeamMembershipInput

func (TeamMembershipMap) ElementType

func (TeamMembershipMap) ElementType() reflect.Type

func (TeamMembershipMap) ToTeamMembershipMapOutput

func (i TeamMembershipMap) ToTeamMembershipMapOutput() TeamMembershipMapOutput

func (TeamMembershipMap) ToTeamMembershipMapOutputWithContext

func (i TeamMembershipMap) ToTeamMembershipMapOutputWithContext(ctx context.Context) TeamMembershipMapOutput

type TeamMembershipMapInput

type TeamMembershipMapInput interface {
	pulumi.Input

	ToTeamMembershipMapOutput() TeamMembershipMapOutput
	ToTeamMembershipMapOutputWithContext(context.Context) TeamMembershipMapOutput
}

TeamMembershipMapInput is an input type that accepts TeamMembershipMap and TeamMembershipMapOutput values. You can construct a concrete instance of `TeamMembershipMapInput` via:

TeamMembershipMap{ "key": TeamMembershipArgs{...} }

type TeamMembershipMapOutput

type TeamMembershipMapOutput struct{ *pulumi.OutputState }

func (TeamMembershipMapOutput) ElementType

func (TeamMembershipMapOutput) ElementType() reflect.Type

func (TeamMembershipMapOutput) MapIndex

func (TeamMembershipMapOutput) ToTeamMembershipMapOutput

func (o TeamMembershipMapOutput) ToTeamMembershipMapOutput() TeamMembershipMapOutput

func (TeamMembershipMapOutput) ToTeamMembershipMapOutputWithContext

func (o TeamMembershipMapOutput) ToTeamMembershipMapOutputWithContext(ctx context.Context) TeamMembershipMapOutput

type TeamMembershipOutput

type TeamMembershipOutput struct{ *pulumi.OutputState }

func (TeamMembershipOutput) ElementType

func (TeamMembershipOutput) ElementType() reflect.Type

func (TeamMembershipOutput) Role added in v3.5.1

The role of the user in the team. One of `observer`, `responder`, or `manager`. Defaults to `manager`.\ These roles match up to user roles in the following ways: * User role of `user` is a Team role of `manager` * User role of `limitedUser` is a Team role of `responder`

func (TeamMembershipOutput) TeamId added in v3.5.1

The ID of the team in which the user will belong.

func (TeamMembershipOutput) ToTeamMembershipOutput

func (o TeamMembershipOutput) ToTeamMembershipOutput() TeamMembershipOutput

func (TeamMembershipOutput) ToTeamMembershipOutputWithContext

func (o TeamMembershipOutput) ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput

func (TeamMembershipOutput) UserId added in v3.5.1

The ID of the user to add to the team.

type TeamMembershipState

type TeamMembershipState struct {
	// The role of the user in the team. One of `observer`, `responder`, or `manager`. Defaults to `manager`.\
	// These roles match up to user roles in the following ways:
	// * User role of `user` is a Team role of `manager`
	// * User role of `limitedUser` is a Team role of `responder`
	Role pulumi.StringPtrInput
	// The ID of the team in which the user will belong.
	TeamId pulumi.StringPtrInput
	// The ID of the user to add to the team.
	UserId pulumi.StringPtrInput
}

func (TeamMembershipState) ElementType

func (TeamMembershipState) ElementType() reflect.Type

type TeamOutput

type TeamOutput struct{ *pulumi.OutputState }

func (TeamOutput) Description added in v3.5.1

func (o TeamOutput) Description() pulumi.StringOutput

func (TeamOutput) ElementType

func (TeamOutput) ElementType() reflect.Type

func (TeamOutput) HtmlUrl added in v3.5.1

func (o TeamOutput) HtmlUrl() pulumi.StringOutput

URL at which the entity is uniquely displayed in the Web app

func (TeamOutput) Name added in v3.5.1

func (o TeamOutput) Name() pulumi.StringOutput

The name of the group.

func (TeamOutput) Parent added in v3.5.1

func (o TeamOutput) Parent() pulumi.StringPtrOutput

ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information.

func (TeamOutput) ToTeamOutput

func (o TeamOutput) ToTeamOutput() TeamOutput

func (TeamOutput) ToTeamOutputWithContext

func (o TeamOutput) ToTeamOutputWithContext(ctx context.Context) TeamOutput

type TeamState

type TeamState struct {
	Description pulumi.StringPtrInput
	// URL at which the entity is uniquely displayed in the Web app
	HtmlUrl pulumi.StringPtrInput
	// The name of the group.
	Name pulumi.StringPtrInput
	// ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information.
	Parent pulumi.StringPtrInput
}

func (TeamState) ElementType

func (TeamState) ElementType() reflect.Type

type User

type User struct {
	pulumi.CustomResourceState

	// The URL of the user's avatar.
	AvatarUrl pulumi.StringOutput `pulumi:"avatarUrl"`
	// The schedule color for the user. Valid options are purple, red, green, blue, teal, orange, brown, turquoise, dark-slate-blue, cayenne, orange-red, dark-orchid, dark-slate-grey, lime, dark-magenta, lime-green, midnight-blue, deep-pink, dark-green, dark-orange, dark-cyan, darkolive-green, dark-slate-gray, grey20, firebrick, maroon, crimson, dark-red, dark-goldenrod, chocolate, medium-violet-red, sea-green, olivedrab, forest-green, dark-olive-green, blue-violet, royal-blue, indigo, slate-blue, saddle-brown, or steel-blue.
	Color       pulumi.StringOutput `pulumi:"color"`
	Description pulumi.StringOutput `pulumi:"description"`
	// The user's email address.
	Email pulumi.StringOutput `pulumi:"email"`
	// URL at which the entity is uniquely displayed in the Web app
	HtmlUrl pulumi.StringOutput `pulumi:"htmlUrl"`
	// If true, the user has an outstanding invitation.
	InvitationSent pulumi.BoolOutput `pulumi:"invitationSent"`
	// The user's title.
	JobTitle pulumi.StringPtrOutput `pulumi:"jobTitle"`
	// The license id assigned to the user. If provided the user's role must exist in the assigned license's `validRoles` list. To reference purchased licenses' ids see data source `getLicenses` [data source](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzNA-create-a-user).
	License pulumi.StringOutput `pulumi:"license"`
	// The name of the user.
	Name pulumi.StringOutput `pulumi:"name"`
	// The user role. Can be `admin`, `limitedUser`, `observer`, `owner`, `readOnlyUser`, `readOnlyLimitedUser`, `restrictedAccess`, or `user`.
	// Notes:
	// * Account must have the `readOnlyUsers` ability to set a user as a `readOnlyUser` or a `readOnlyLimitedUser`, and must have advanced permissions abilities to set a user as `observer` or `restrictedAccess`.
	// * With advanced permissions, users can have both a user role (base role) and a team role. The team role can be configured in the `TeamMembership` resource.
	// * Mapping of `role` values to Web UI user role names available in the [user roles support page](https://support.pagerduty.com/docs/advanced-permissions#roles-in-the-rest-api-and-saml).
	Role pulumi.StringPtrOutput `pulumi:"role"`
	// A list of teams the user should belong to. Please use `TeamMembership` instead.
	//
	// Deprecated: Use the 'pagerduty_team_membership' resource instead.
	Teams pulumi.StringArrayOutput `pulumi:"teams"`
	// The time zone of the user. Default is account default timezone.
	TimeZone pulumi.StringOutput `pulumi:"timeZone"`
}

A [user](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzNA-create-a-user) is a member of a PagerDuty account that have the ability to interact with incidents and other data on the account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewUser(ctx, "example", &pagerduty.UserArgs{
			Email: pulumi.String("125.greenholt.earline@graham.name"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Users can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/user:User main PLBP09X

```

[1]https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzNA-create-a-user [2]https://registry.terraform.io/providers/PagerDuty/pagerduty/latest/docs/data-sources/pagerduty_license

func GetUser

func GetUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)

GetUser gets an existing User resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUser

func NewUser(ctx *pulumi.Context,
	name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)

NewUser registers a new resource with the given unique name, arguments, and options.

func (*User) ElementType

func (*User) ElementType() reflect.Type

func (*User) ToUserOutput

func (i *User) ToUserOutput() UserOutput

func (*User) ToUserOutputWithContext

func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput

type UserArgs

type UserArgs struct {
	// The schedule color for the user. Valid options are purple, red, green, blue, teal, orange, brown, turquoise, dark-slate-blue, cayenne, orange-red, dark-orchid, dark-slate-grey, lime, dark-magenta, lime-green, midnight-blue, deep-pink, dark-green, dark-orange, dark-cyan, darkolive-green, dark-slate-gray, grey20, firebrick, maroon, crimson, dark-red, dark-goldenrod, chocolate, medium-violet-red, sea-green, olivedrab, forest-green, dark-olive-green, blue-violet, royal-blue, indigo, slate-blue, saddle-brown, or steel-blue.
	Color       pulumi.StringPtrInput
	Description pulumi.StringPtrInput
	// The user's email address.
	Email pulumi.StringInput
	// The user's title.
	JobTitle pulumi.StringPtrInput
	// The license id assigned to the user. If provided the user's role must exist in the assigned license's `validRoles` list. To reference purchased licenses' ids see data source `getLicenses` [data source](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzNA-create-a-user).
	License pulumi.StringPtrInput
	// The name of the user.
	Name pulumi.StringPtrInput
	// The user role. Can be `admin`, `limitedUser`, `observer`, `owner`, `readOnlyUser`, `readOnlyLimitedUser`, `restrictedAccess`, or `user`.
	// Notes:
	// * Account must have the `readOnlyUsers` ability to set a user as a `readOnlyUser` or a `readOnlyLimitedUser`, and must have advanced permissions abilities to set a user as `observer` or `restrictedAccess`.
	// * With advanced permissions, users can have both a user role (base role) and a team role. The team role can be configured in the `TeamMembership` resource.
	// * Mapping of `role` values to Web UI user role names available in the [user roles support page](https://support.pagerduty.com/docs/advanced-permissions#roles-in-the-rest-api-and-saml).
	Role pulumi.StringPtrInput
	// A list of teams the user should belong to. Please use `TeamMembership` instead.
	//
	// Deprecated: Use the 'pagerduty_team_membership' resource instead.
	Teams pulumi.StringArrayInput
	// The time zone of the user. Default is account default timezone.
	TimeZone pulumi.StringPtrInput
}

The set of arguments for constructing a User resource.

func (UserArgs) ElementType

func (UserArgs) ElementType() reflect.Type

type UserArray

type UserArray []UserInput

func (UserArray) ElementType

func (UserArray) ElementType() reflect.Type

func (UserArray) ToUserArrayOutput

func (i UserArray) ToUserArrayOutput() UserArrayOutput

func (UserArray) ToUserArrayOutputWithContext

func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserArrayInput

type UserArrayInput interface {
	pulumi.Input

	ToUserArrayOutput() UserArrayOutput
	ToUserArrayOutputWithContext(context.Context) UserArrayOutput
}

UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. You can construct a concrete instance of `UserArrayInput` via:

UserArray{ UserArgs{...} }

type UserArrayOutput

type UserArrayOutput struct{ *pulumi.OutputState }

func (UserArrayOutput) ElementType

func (UserArrayOutput) ElementType() reflect.Type

func (UserArrayOutput) Index

func (UserArrayOutput) ToUserArrayOutput

func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput

func (UserArrayOutput) ToUserArrayOutputWithContext

func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserContactMethod

type UserContactMethod struct {
	pulumi.CustomResourceState

	// The "address" to deliver to: `email`, `phone number`, etc., depending on the type.
	Address pulumi.StringOutput `pulumi:"address"`
	// If true, this phone has been blacklisted by PagerDuty and no messages will be sent to it.
	Blacklisted pulumi.BoolOutput `pulumi:"blacklisted"`
	// The 1-to-3 digit country calling code. Required when using `phoneContactMethod` or `smsContactMethod`.
	CountryCode pulumi.IntPtrOutput `pulumi:"countryCode"`
	// If true, this phone is capable of receiving SMS messages.
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// The label (e.g., "Work", "Mobile", etc.).
	Label pulumi.StringOutput `pulumi:"label"`
	// Send an abbreviated email message instead of the standard email output.
	SendShortEmail pulumi.BoolPtrOutput `pulumi:"sendShortEmail"`
	// The contact method type. May be (`emailContactMethod`, `phoneContactMethod`, `smsContactMethod`, `pushNotificationContactMethod`).
	Type pulumi.StringOutput `pulumi:"type"`
	// The ID of the user.
	UserId pulumi.StringOutput `pulumi:"userId"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := pagerduty.NewUser(ctx, "example", &pagerduty.UserArgs{
			Email: pulumi.String("125.greenholt.earline@graham.name"),
			Teams: pulumi.StringArray{
				pagerduty_team.Example.Id,
			},
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewUserContactMethod(ctx, "email", &pagerduty.UserContactMethodArgs{
			UserId:  example.ID(),
			Type:    pulumi.String("email_contact_method"),
			Address: pulumi.String("foo@bar.com"),
			Label:   pulumi.String("Work"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewUserContactMethod(ctx, "phone", &pagerduty.UserContactMethodArgs{
			UserId:      example.ID(),
			Type:        pulumi.String("phone_contact_method"),
			CountryCode: pulumi.Int(1),
			Address:     pulumi.String("2025550199"),
			Label:       pulumi.String("Work"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewUserContactMethod(ctx, "sms", &pagerduty.UserContactMethodArgs{
			UserId:      example.ID(),
			Type:        pulumi.String("sms_contact_method"),
			CountryCode: pulumi.Int(1),
			Address:     pulumi.String("2025550199"),
			Label:       pulumi.String("Work"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Contact methods can be imported using the `user_id` and the `id`, e.g.

```sh

$ pulumi import pagerduty:index/userContactMethod:UserContactMethod main PLBP09X:PLBP09X

```

func GetUserContactMethod

func GetUserContactMethod(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserContactMethodState, opts ...pulumi.ResourceOption) (*UserContactMethod, error)

GetUserContactMethod gets an existing UserContactMethod resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUserContactMethod

func NewUserContactMethod(ctx *pulumi.Context,
	name string, args *UserContactMethodArgs, opts ...pulumi.ResourceOption) (*UserContactMethod, error)

NewUserContactMethod registers a new resource with the given unique name, arguments, and options.

func (*UserContactMethod) ElementType

func (*UserContactMethod) ElementType() reflect.Type

func (*UserContactMethod) ToUserContactMethodOutput

func (i *UserContactMethod) ToUserContactMethodOutput() UserContactMethodOutput

func (*UserContactMethod) ToUserContactMethodOutputWithContext

func (i *UserContactMethod) ToUserContactMethodOutputWithContext(ctx context.Context) UserContactMethodOutput

type UserContactMethodArgs

type UserContactMethodArgs struct {
	// The "address" to deliver to: `email`, `phone number`, etc., depending on the type.
	Address pulumi.StringInput
	// The 1-to-3 digit country calling code. Required when using `phoneContactMethod` or `smsContactMethod`.
	CountryCode pulumi.IntPtrInput
	// The label (e.g., "Work", "Mobile", etc.).
	Label pulumi.StringInput
	// Send an abbreviated email message instead of the standard email output.
	SendShortEmail pulumi.BoolPtrInput
	// The contact method type. May be (`emailContactMethod`, `phoneContactMethod`, `smsContactMethod`, `pushNotificationContactMethod`).
	Type pulumi.StringInput
	// The ID of the user.
	UserId pulumi.StringInput
}

The set of arguments for constructing a UserContactMethod resource.

func (UserContactMethodArgs) ElementType

func (UserContactMethodArgs) ElementType() reflect.Type

type UserContactMethodArray

type UserContactMethodArray []UserContactMethodInput

func (UserContactMethodArray) ElementType

func (UserContactMethodArray) ElementType() reflect.Type

func (UserContactMethodArray) ToUserContactMethodArrayOutput

func (i UserContactMethodArray) ToUserContactMethodArrayOutput() UserContactMethodArrayOutput

func (UserContactMethodArray) ToUserContactMethodArrayOutputWithContext

func (i UserContactMethodArray) ToUserContactMethodArrayOutputWithContext(ctx context.Context) UserContactMethodArrayOutput

type UserContactMethodArrayInput

type UserContactMethodArrayInput interface {
	pulumi.Input

	ToUserContactMethodArrayOutput() UserContactMethodArrayOutput
	ToUserContactMethodArrayOutputWithContext(context.Context) UserContactMethodArrayOutput
}

UserContactMethodArrayInput is an input type that accepts UserContactMethodArray and UserContactMethodArrayOutput values. You can construct a concrete instance of `UserContactMethodArrayInput` via:

UserContactMethodArray{ UserContactMethodArgs{...} }

type UserContactMethodArrayOutput

type UserContactMethodArrayOutput struct{ *pulumi.OutputState }

func (UserContactMethodArrayOutput) ElementType

func (UserContactMethodArrayOutput) Index

func (UserContactMethodArrayOutput) ToUserContactMethodArrayOutput

func (o UserContactMethodArrayOutput) ToUserContactMethodArrayOutput() UserContactMethodArrayOutput

func (UserContactMethodArrayOutput) ToUserContactMethodArrayOutputWithContext

func (o UserContactMethodArrayOutput) ToUserContactMethodArrayOutputWithContext(ctx context.Context) UserContactMethodArrayOutput

type UserContactMethodInput

type UserContactMethodInput interface {
	pulumi.Input

	ToUserContactMethodOutput() UserContactMethodOutput
	ToUserContactMethodOutputWithContext(ctx context.Context) UserContactMethodOutput
}

type UserContactMethodMap

type UserContactMethodMap map[string]UserContactMethodInput

func (UserContactMethodMap) ElementType

func (UserContactMethodMap) ElementType() reflect.Type

func (UserContactMethodMap) ToUserContactMethodMapOutput

func (i UserContactMethodMap) ToUserContactMethodMapOutput() UserContactMethodMapOutput

func (UserContactMethodMap) ToUserContactMethodMapOutputWithContext

func (i UserContactMethodMap) ToUserContactMethodMapOutputWithContext(ctx context.Context) UserContactMethodMapOutput

type UserContactMethodMapInput

type UserContactMethodMapInput interface {
	pulumi.Input

	ToUserContactMethodMapOutput() UserContactMethodMapOutput
	ToUserContactMethodMapOutputWithContext(context.Context) UserContactMethodMapOutput
}

UserContactMethodMapInput is an input type that accepts UserContactMethodMap and UserContactMethodMapOutput values. You can construct a concrete instance of `UserContactMethodMapInput` via:

UserContactMethodMap{ "key": UserContactMethodArgs{...} }

type UserContactMethodMapOutput

type UserContactMethodMapOutput struct{ *pulumi.OutputState }

func (UserContactMethodMapOutput) ElementType

func (UserContactMethodMapOutput) ElementType() reflect.Type

func (UserContactMethodMapOutput) MapIndex

func (UserContactMethodMapOutput) ToUserContactMethodMapOutput

func (o UserContactMethodMapOutput) ToUserContactMethodMapOutput() UserContactMethodMapOutput

func (UserContactMethodMapOutput) ToUserContactMethodMapOutputWithContext

func (o UserContactMethodMapOutput) ToUserContactMethodMapOutputWithContext(ctx context.Context) UserContactMethodMapOutput

type UserContactMethodOutput

type UserContactMethodOutput struct{ *pulumi.OutputState }

func (UserContactMethodOutput) Address added in v3.5.1

The "address" to deliver to: `email`, `phone number`, etc., depending on the type.

func (UserContactMethodOutput) Blacklisted added in v3.5.1

func (o UserContactMethodOutput) Blacklisted() pulumi.BoolOutput

If true, this phone has been blacklisted by PagerDuty and no messages will be sent to it.

func (UserContactMethodOutput) CountryCode added in v3.5.1

The 1-to-3 digit country calling code. Required when using `phoneContactMethod` or `smsContactMethod`.

func (UserContactMethodOutput) ElementType

func (UserContactMethodOutput) ElementType() reflect.Type

func (UserContactMethodOutput) Enabled added in v3.5.1

If true, this phone is capable of receiving SMS messages.

func (UserContactMethodOutput) Label added in v3.5.1

The label (e.g., "Work", "Mobile", etc.).

func (UserContactMethodOutput) SendShortEmail added in v3.5.1

func (o UserContactMethodOutput) SendShortEmail() pulumi.BoolPtrOutput

Send an abbreviated email message instead of the standard email output.

func (UserContactMethodOutput) ToUserContactMethodOutput

func (o UserContactMethodOutput) ToUserContactMethodOutput() UserContactMethodOutput

func (UserContactMethodOutput) ToUserContactMethodOutputWithContext

func (o UserContactMethodOutput) ToUserContactMethodOutputWithContext(ctx context.Context) UserContactMethodOutput

func (UserContactMethodOutput) Type added in v3.5.1

The contact method type. May be (`emailContactMethod`, `phoneContactMethod`, `smsContactMethod`, `pushNotificationContactMethod`).

func (UserContactMethodOutput) UserId added in v3.5.1

The ID of the user.

type UserContactMethodState

type UserContactMethodState struct {
	// The "address" to deliver to: `email`, `phone number`, etc., depending on the type.
	Address pulumi.StringPtrInput
	// If true, this phone has been blacklisted by PagerDuty and no messages will be sent to it.
	Blacklisted pulumi.BoolPtrInput
	// The 1-to-3 digit country calling code. Required when using `phoneContactMethod` or `smsContactMethod`.
	CountryCode pulumi.IntPtrInput
	// If true, this phone is capable of receiving SMS messages.
	Enabled pulumi.BoolPtrInput
	// The label (e.g., "Work", "Mobile", etc.).
	Label pulumi.StringPtrInput
	// Send an abbreviated email message instead of the standard email output.
	SendShortEmail pulumi.BoolPtrInput
	// The contact method type. May be (`emailContactMethod`, `phoneContactMethod`, `smsContactMethod`, `pushNotificationContactMethod`).
	Type pulumi.StringPtrInput
	// The ID of the user.
	UserId pulumi.StringPtrInput
}

func (UserContactMethodState) ElementType

func (UserContactMethodState) ElementType() reflect.Type

type UserInput

type UserInput interface {
	pulumi.Input

	ToUserOutput() UserOutput
	ToUserOutputWithContext(ctx context.Context) UserOutput
}

type UserMap

type UserMap map[string]UserInput

func (UserMap) ElementType

func (UserMap) ElementType() reflect.Type

func (UserMap) ToUserMapOutput

func (i UserMap) ToUserMapOutput() UserMapOutput

func (UserMap) ToUserMapOutputWithContext

func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserMapInput

type UserMapInput interface {
	pulumi.Input

	ToUserMapOutput() UserMapOutput
	ToUserMapOutputWithContext(context.Context) UserMapOutput
}

UserMapInput is an input type that accepts UserMap and UserMapOutput values. You can construct a concrete instance of `UserMapInput` via:

UserMap{ "key": UserArgs{...} }

type UserMapOutput

type UserMapOutput struct{ *pulumi.OutputState }

func (UserMapOutput) ElementType

func (UserMapOutput) ElementType() reflect.Type

func (UserMapOutput) MapIndex

func (UserMapOutput) ToUserMapOutput

func (o UserMapOutput) ToUserMapOutput() UserMapOutput

func (UserMapOutput) ToUserMapOutputWithContext

func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserNotificationRule

type UserNotificationRule struct {
	pulumi.CustomResourceState

	// A contact method block, configured as a block described below.
	ContactMethod pulumi.StringMapOutput `pulumi:"contactMethod"`
	// The delay before firing the rule, in minutes.
	StartDelayInMinutes pulumi.IntOutput `pulumi:"startDelayInMinutes"`
	// Which incident urgency this rule is used for. Account must have the `urgencies` ability to have a low urgency notification rule. Can be `high` or `low`.
	Urgency pulumi.StringOutput `pulumi:"urgency"`
	// The ID of the user.
	UserId pulumi.StringOutput `pulumi:"userId"`
}

A [notification rule](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODI0NQ-create-a-user-notification-rule) configures where and when a PagerDuty user is notified when a triggered incident is assigned to them. Unique notification rules can be created for both high and low-urgency incidents.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := pagerduty.NewUser(ctx, "example", &pagerduty.UserArgs{
			Email: pulumi.String("125.greenholt.earline@graham.name"),
		})
		if err != nil {
			return err
		}
		email, err := pagerduty.NewUserContactMethod(ctx, "email", &pagerduty.UserContactMethodArgs{
			UserId:  example.ID(),
			Type:    pulumi.String("email_contact_method"),
			Address: pulumi.String("foo@bar.com"),
			Label:   pulumi.String("Work"),
		})
		if err != nil {
			return err
		}
		phone, err := pagerduty.NewUserContactMethod(ctx, "phone", &pagerduty.UserContactMethodArgs{
			UserId:      example.ID(),
			Type:        pulumi.String("phone_contact_method"),
			CountryCode: pulumi.Int(1),
			Address:     pulumi.String("2025550199"),
			Label:       pulumi.String("Work"),
		})
		if err != nil {
			return err
		}
		sms, err := pagerduty.NewUserContactMethod(ctx, "sms", &pagerduty.UserContactMethodArgs{
			UserId:      example.ID(),
			Type:        pulumi.String("sms_contact_method"),
			CountryCode: pulumi.Int(1),
			Address:     pulumi.String("2025550199"),
			Label:       pulumi.String("Work"),
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewUserNotificationRule(ctx, "highUrgencyPhone", &pagerduty.UserNotificationRuleArgs{
			UserId:              example.ID(),
			StartDelayInMinutes: pulumi.Int(1),
			Urgency:             pulumi.String("high"),
			ContactMethod: pulumi.StringMap{
				"type": pulumi.String("phone_contact_method"),
				"id":   phone.ID(),
			},
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewUserNotificationRule(ctx, "lowUrgencyEmail", &pagerduty.UserNotificationRuleArgs{
			UserId:              example.ID(),
			StartDelayInMinutes: pulumi.Int(1),
			Urgency:             pulumi.String("low"),
			ContactMethod: pulumi.StringMap{
				"type": pulumi.String("email_contact_method"),
				"id":   email.ID(),
			},
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewUserNotificationRule(ctx, "lowUrgencySms", &pagerduty.UserNotificationRuleArgs{
			UserId:              example.ID(),
			StartDelayInMinutes: pulumi.Int(10),
			Urgency:             pulumi.String("low"),
			ContactMethod: pulumi.StringMap{
				"type": pulumi.String("sms_contact_method"),
				"id":   sms.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

User notification rules can be imported using the `user_id` and the `id`, e.g.

```sh

$ pulumi import pagerduty:index/userNotificationRule:UserNotificationRule main PXPGF42:PPSCXAN

```

func GetUserNotificationRule

func GetUserNotificationRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserNotificationRuleState, opts ...pulumi.ResourceOption) (*UserNotificationRule, error)

GetUserNotificationRule gets an existing UserNotificationRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUserNotificationRule

func NewUserNotificationRule(ctx *pulumi.Context,
	name string, args *UserNotificationRuleArgs, opts ...pulumi.ResourceOption) (*UserNotificationRule, error)

NewUserNotificationRule registers a new resource with the given unique name, arguments, and options.

func (*UserNotificationRule) ElementType

func (*UserNotificationRule) ElementType() reflect.Type

func (*UserNotificationRule) ToUserNotificationRuleOutput

func (i *UserNotificationRule) ToUserNotificationRuleOutput() UserNotificationRuleOutput

func (*UserNotificationRule) ToUserNotificationRuleOutputWithContext

func (i *UserNotificationRule) ToUserNotificationRuleOutputWithContext(ctx context.Context) UserNotificationRuleOutput

type UserNotificationRuleArgs

type UserNotificationRuleArgs struct {
	// A contact method block, configured as a block described below.
	ContactMethod pulumi.StringMapInput
	// The delay before firing the rule, in minutes.
	StartDelayInMinutes pulumi.IntInput
	// Which incident urgency this rule is used for. Account must have the `urgencies` ability to have a low urgency notification rule. Can be `high` or `low`.
	Urgency pulumi.StringInput
	// The ID of the user.
	UserId pulumi.StringInput
}

The set of arguments for constructing a UserNotificationRule resource.

func (UserNotificationRuleArgs) ElementType

func (UserNotificationRuleArgs) ElementType() reflect.Type

type UserNotificationRuleArray

type UserNotificationRuleArray []UserNotificationRuleInput

func (UserNotificationRuleArray) ElementType

func (UserNotificationRuleArray) ElementType() reflect.Type

func (UserNotificationRuleArray) ToUserNotificationRuleArrayOutput

func (i UserNotificationRuleArray) ToUserNotificationRuleArrayOutput() UserNotificationRuleArrayOutput

func (UserNotificationRuleArray) ToUserNotificationRuleArrayOutputWithContext

func (i UserNotificationRuleArray) ToUserNotificationRuleArrayOutputWithContext(ctx context.Context) UserNotificationRuleArrayOutput

type UserNotificationRuleArrayInput

type UserNotificationRuleArrayInput interface {
	pulumi.Input

	ToUserNotificationRuleArrayOutput() UserNotificationRuleArrayOutput
	ToUserNotificationRuleArrayOutputWithContext(context.Context) UserNotificationRuleArrayOutput
}

UserNotificationRuleArrayInput is an input type that accepts UserNotificationRuleArray and UserNotificationRuleArrayOutput values. You can construct a concrete instance of `UserNotificationRuleArrayInput` via:

UserNotificationRuleArray{ UserNotificationRuleArgs{...} }

type UserNotificationRuleArrayOutput

type UserNotificationRuleArrayOutput struct{ *pulumi.OutputState }

func (UserNotificationRuleArrayOutput) ElementType

func (UserNotificationRuleArrayOutput) Index

func (UserNotificationRuleArrayOutput) ToUserNotificationRuleArrayOutput

func (o UserNotificationRuleArrayOutput) ToUserNotificationRuleArrayOutput() UserNotificationRuleArrayOutput

func (UserNotificationRuleArrayOutput) ToUserNotificationRuleArrayOutputWithContext

func (o UserNotificationRuleArrayOutput) ToUserNotificationRuleArrayOutputWithContext(ctx context.Context) UserNotificationRuleArrayOutput

type UserNotificationRuleInput

type UserNotificationRuleInput interface {
	pulumi.Input

	ToUserNotificationRuleOutput() UserNotificationRuleOutput
	ToUserNotificationRuleOutputWithContext(ctx context.Context) UserNotificationRuleOutput
}

type UserNotificationRuleMap

type UserNotificationRuleMap map[string]UserNotificationRuleInput

func (UserNotificationRuleMap) ElementType

func (UserNotificationRuleMap) ElementType() reflect.Type

func (UserNotificationRuleMap) ToUserNotificationRuleMapOutput

func (i UserNotificationRuleMap) ToUserNotificationRuleMapOutput() UserNotificationRuleMapOutput

func (UserNotificationRuleMap) ToUserNotificationRuleMapOutputWithContext

func (i UserNotificationRuleMap) ToUserNotificationRuleMapOutputWithContext(ctx context.Context) UserNotificationRuleMapOutput

type UserNotificationRuleMapInput

type UserNotificationRuleMapInput interface {
	pulumi.Input

	ToUserNotificationRuleMapOutput() UserNotificationRuleMapOutput
	ToUserNotificationRuleMapOutputWithContext(context.Context) UserNotificationRuleMapOutput
}

UserNotificationRuleMapInput is an input type that accepts UserNotificationRuleMap and UserNotificationRuleMapOutput values. You can construct a concrete instance of `UserNotificationRuleMapInput` via:

UserNotificationRuleMap{ "key": UserNotificationRuleArgs{...} }

type UserNotificationRuleMapOutput

type UserNotificationRuleMapOutput struct{ *pulumi.OutputState }

func (UserNotificationRuleMapOutput) ElementType

func (UserNotificationRuleMapOutput) MapIndex

func (UserNotificationRuleMapOutput) ToUserNotificationRuleMapOutput

func (o UserNotificationRuleMapOutput) ToUserNotificationRuleMapOutput() UserNotificationRuleMapOutput

func (UserNotificationRuleMapOutput) ToUserNotificationRuleMapOutputWithContext

func (o UserNotificationRuleMapOutput) ToUserNotificationRuleMapOutputWithContext(ctx context.Context) UserNotificationRuleMapOutput

type UserNotificationRuleOutput

type UserNotificationRuleOutput struct{ *pulumi.OutputState }

func (UserNotificationRuleOutput) ContactMethod added in v3.5.1

A contact method block, configured as a block described below.

func (UserNotificationRuleOutput) ElementType

func (UserNotificationRuleOutput) ElementType() reflect.Type

func (UserNotificationRuleOutput) StartDelayInMinutes added in v3.5.1

func (o UserNotificationRuleOutput) StartDelayInMinutes() pulumi.IntOutput

The delay before firing the rule, in minutes.

func (UserNotificationRuleOutput) ToUserNotificationRuleOutput

func (o UserNotificationRuleOutput) ToUserNotificationRuleOutput() UserNotificationRuleOutput

func (UserNotificationRuleOutput) ToUserNotificationRuleOutputWithContext

func (o UserNotificationRuleOutput) ToUserNotificationRuleOutputWithContext(ctx context.Context) UserNotificationRuleOutput

func (UserNotificationRuleOutput) Urgency added in v3.5.1

Which incident urgency this rule is used for. Account must have the `urgencies` ability to have a low urgency notification rule. Can be `high` or `low`.

func (UserNotificationRuleOutput) UserId added in v3.5.1

The ID of the user.

type UserNotificationRuleState

type UserNotificationRuleState struct {
	// A contact method block, configured as a block described below.
	ContactMethod pulumi.StringMapInput
	// The delay before firing the rule, in minutes.
	StartDelayInMinutes pulumi.IntPtrInput
	// Which incident urgency this rule is used for. Account must have the `urgencies` ability to have a low urgency notification rule. Can be `high` or `low`.
	Urgency pulumi.StringPtrInput
	// The ID of the user.
	UserId pulumi.StringPtrInput
}

func (UserNotificationRuleState) ElementType

func (UserNotificationRuleState) ElementType() reflect.Type

type UserOutput

type UserOutput struct{ *pulumi.OutputState }

func (UserOutput) AvatarUrl added in v3.5.1

func (o UserOutput) AvatarUrl() pulumi.StringOutput

The URL of the user's avatar.

func (UserOutput) Color added in v3.5.1

func (o UserOutput) Color() pulumi.StringOutput

The schedule color for the user. Valid options are purple, red, green, blue, teal, orange, brown, turquoise, dark-slate-blue, cayenne, orange-red, dark-orchid, dark-slate-grey, lime, dark-magenta, lime-green, midnight-blue, deep-pink, dark-green, dark-orange, dark-cyan, darkolive-green, dark-slate-gray, grey20, firebrick, maroon, crimson, dark-red, dark-goldenrod, chocolate, medium-violet-red, sea-green, olivedrab, forest-green, dark-olive-green, blue-violet, royal-blue, indigo, slate-blue, saddle-brown, or steel-blue.

func (UserOutput) Description added in v3.5.1

func (o UserOutput) Description() pulumi.StringOutput

func (UserOutput) ElementType

func (UserOutput) ElementType() reflect.Type

func (UserOutput) Email added in v3.5.1

func (o UserOutput) Email() pulumi.StringOutput

The user's email address.

func (UserOutput) HtmlUrl added in v3.5.1

func (o UserOutput) HtmlUrl() pulumi.StringOutput

URL at which the entity is uniquely displayed in the Web app

func (UserOutput) InvitationSent added in v3.5.1

func (o UserOutput) InvitationSent() pulumi.BoolOutput

If true, the user has an outstanding invitation.

func (UserOutput) JobTitle added in v3.5.1

func (o UserOutput) JobTitle() pulumi.StringPtrOutput

The user's title.

func (UserOutput) License added in v3.10.0

func (o UserOutput) License() pulumi.StringOutput

The license id assigned to the user. If provided the user's role must exist in the assigned license's `validRoles` list. To reference purchased licenses' ids see data source `getLicenses` [data source](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzNA-create-a-user).

func (UserOutput) Name added in v3.5.1

func (o UserOutput) Name() pulumi.StringOutput

The name of the user.

func (UserOutput) Role added in v3.5.1

The user role. Can be `admin`, `limitedUser`, `observer`, `owner`, `readOnlyUser`, `readOnlyLimitedUser`, `restrictedAccess`, or `user`. Notes: * Account must have the `readOnlyUsers` ability to set a user as a `readOnlyUser` or a `readOnlyLimitedUser`, and must have advanced permissions abilities to set a user as `observer` or `restrictedAccess`. * With advanced permissions, users can have both a user role (base role) and a team role. The team role can be configured in the `TeamMembership` resource. * Mapping of `role` values to Web UI user role names available in the [user roles support page](https://support.pagerduty.com/docs/advanced-permissions#roles-in-the-rest-api-and-saml).

func (UserOutput) Teams deprecated added in v3.5.1

A list of teams the user should belong to. Please use `TeamMembership` instead.

Deprecated: Use the 'pagerduty_team_membership' resource instead.

func (UserOutput) TimeZone added in v3.5.1

func (o UserOutput) TimeZone() pulumi.StringOutput

The time zone of the user. Default is account default timezone.

func (UserOutput) ToUserOutput

func (o UserOutput) ToUserOutput() UserOutput

func (UserOutput) ToUserOutputWithContext

func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput

type UserState

type UserState struct {
	// The URL of the user's avatar.
	AvatarUrl pulumi.StringPtrInput
	// The schedule color for the user. Valid options are purple, red, green, blue, teal, orange, brown, turquoise, dark-slate-blue, cayenne, orange-red, dark-orchid, dark-slate-grey, lime, dark-magenta, lime-green, midnight-blue, deep-pink, dark-green, dark-orange, dark-cyan, darkolive-green, dark-slate-gray, grey20, firebrick, maroon, crimson, dark-red, dark-goldenrod, chocolate, medium-violet-red, sea-green, olivedrab, forest-green, dark-olive-green, blue-violet, royal-blue, indigo, slate-blue, saddle-brown, or steel-blue.
	Color       pulumi.StringPtrInput
	Description pulumi.StringPtrInput
	// The user's email address.
	Email pulumi.StringPtrInput
	// URL at which the entity is uniquely displayed in the Web app
	HtmlUrl pulumi.StringPtrInput
	// If true, the user has an outstanding invitation.
	InvitationSent pulumi.BoolPtrInput
	// The user's title.
	JobTitle pulumi.StringPtrInput
	// The license id assigned to the user. If provided the user's role must exist in the assigned license's `validRoles` list. To reference purchased licenses' ids see data source `getLicenses` [data source](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzNA-create-a-user).
	License pulumi.StringPtrInput
	// The name of the user.
	Name pulumi.StringPtrInput
	// The user role. Can be `admin`, `limitedUser`, `observer`, `owner`, `readOnlyUser`, `readOnlyLimitedUser`, `restrictedAccess`, or `user`.
	// Notes:
	// * Account must have the `readOnlyUsers` ability to set a user as a `readOnlyUser` or a `readOnlyLimitedUser`, and must have advanced permissions abilities to set a user as `observer` or `restrictedAccess`.
	// * With advanced permissions, users can have both a user role (base role) and a team role. The team role can be configured in the `TeamMembership` resource.
	// * Mapping of `role` values to Web UI user role names available in the [user roles support page](https://support.pagerduty.com/docs/advanced-permissions#roles-in-the-rest-api-and-saml).
	Role pulumi.StringPtrInput
	// A list of teams the user should belong to. Please use `TeamMembership` instead.
	//
	// Deprecated: Use the 'pagerduty_team_membership' resource instead.
	Teams pulumi.StringArrayInput
	// The time zone of the user. Default is account default timezone.
	TimeZone pulumi.StringPtrInput
}

func (UserState) ElementType

func (UserState) ElementType() reflect.Type

type WebhookSubscription added in v3.2.0

type WebhookSubscription struct {
	pulumi.CustomResourceState

	// Determines whether the subscription will produce webhook events.
	Active pulumi.BoolOutput `pulumi:"active"`
	// The object describing where to send the webhooks.
	DeliveryMethods WebhookSubscriptionDeliveryMethodArrayOutput `pulumi:"deliveryMethods"`
	// A short description of the webhook subscription
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A set of outbound event types the webhook will receive. The follow event types are possible:
	// * `incident.acknowledged`
	// * `incident.annotated`
	// * `incident.delegated`
	// * `incident.escalated`
	// * `incident.priority_updated`
	// * `incident.reassigned`
	// * `incident.reopened`
	// * `incident.resolved`
	// * `incident.responder.added`
	// * `incident.responder.replied`
	// * `incident.status_update_published`
	// * `incident.triggered`
	// * `incident.unacknowledged`
	Events pulumi.StringArrayOutput `pulumi:"events"`
	// determines which events will match and produce a webhook. There are currently three types of filters that can be applied to webhook subscriptions: `serviceReference`, `teamReference` and `accountReference`.
	Filters WebhookSubscriptionFilterArrayOutput `pulumi:"filters"`
	// The type indicating the schema of the object. The provider sets this as `webhookSubscription`, which is currently the only acceptable value.
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

A [webhook subscription](https://developer.pagerduty.com/docs/ZG9jOjExMDI5NTkw-v3-overview) allow you to receive HTTP callbacks when incidents are created, updated and deleted. These are also known as V3 Webhooks.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := pagerduty.LookupService(ctx, &pagerduty.LookupServiceArgs{
			Name: "My Service",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewWebhookSubscription(ctx, "foo", &pagerduty.WebhookSubscriptionArgs{
			DeliveryMethods: pagerduty.WebhookSubscriptionDeliveryMethodArray{
				&pagerduty.WebhookSubscriptionDeliveryMethodArgs{
					Type: pulumi.String("http_delivery_method"),
					Url:  pulumi.String("https://example.com/receive_a_pagerduty_webhook"),
					CustomHeaders: pagerduty.WebhookSubscriptionDeliveryMethodCustomHeaderArray{
						&pagerduty.WebhookSubscriptionDeliveryMethodCustomHeaderArgs{
							Name:  pulumi.String("X-Foo"),
							Value: pulumi.String("foo"),
						},
						&pagerduty.WebhookSubscriptionDeliveryMethodCustomHeaderArgs{
							Name:  pulumi.String("X-Bar"),
							Value: pulumi.String("bar"),
						},
					},
				},
			},
			Description: pulumi.String("%s"),
			Events: pulumi.StringArray{
				pulumi.String("incident.acknowledged"),
				pulumi.String("incident.annotated"),
				pulumi.String("incident.delegated"),
				pulumi.String("incident.escalated"),
				pulumi.String("incident.priority_updated"),
				pulumi.String("incident.reassigned"),
				pulumi.String("incident.reopened"),
				pulumi.String("incident.resolved"),
				pulumi.String("incident.responder.added"),
				pulumi.String("incident.responder.replied"),
				pulumi.String("incident.status_update_published"),
				pulumi.String("incident.triggered"),
				pulumi.String("incident.unacknowledged"),
			},
			Active: pulumi.Bool(true),
			Filters: pagerduty.WebhookSubscriptionFilterArray{
				&pagerduty.WebhookSubscriptionFilterArgs{
					Id:   *pulumi.String(example.Id),
					Type: pulumi.String("service_reference"),
				},
			},
			Type: pulumi.String("webhook_subscription"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Webhook Subscriptions can be imported using the `id`, e.g.

```sh

$ pulumi import pagerduty:index/webhookSubscription:WebhookSubscription main PUABCDL

```

func GetWebhookSubscription added in v3.2.0

func GetWebhookSubscription(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WebhookSubscriptionState, opts ...pulumi.ResourceOption) (*WebhookSubscription, error)

GetWebhookSubscription gets an existing WebhookSubscription resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewWebhookSubscription added in v3.2.0

func NewWebhookSubscription(ctx *pulumi.Context,
	name string, args *WebhookSubscriptionArgs, opts ...pulumi.ResourceOption) (*WebhookSubscription, error)

NewWebhookSubscription registers a new resource with the given unique name, arguments, and options.

func (*WebhookSubscription) ElementType added in v3.2.0

func (*WebhookSubscription) ElementType() reflect.Type

func (*WebhookSubscription) ToWebhookSubscriptionOutput added in v3.2.0

func (i *WebhookSubscription) ToWebhookSubscriptionOutput() WebhookSubscriptionOutput

func (*WebhookSubscription) ToWebhookSubscriptionOutputWithContext added in v3.2.0

func (i *WebhookSubscription) ToWebhookSubscriptionOutputWithContext(ctx context.Context) WebhookSubscriptionOutput

type WebhookSubscriptionArgs added in v3.2.0

type WebhookSubscriptionArgs struct {
	// Determines whether the subscription will produce webhook events.
	Active pulumi.BoolPtrInput
	// The object describing where to send the webhooks.
	DeliveryMethods WebhookSubscriptionDeliveryMethodArrayInput
	// A short description of the webhook subscription
	Description pulumi.StringPtrInput
	// A set of outbound event types the webhook will receive. The follow event types are possible:
	// * `incident.acknowledged`
	// * `incident.annotated`
	// * `incident.delegated`
	// * `incident.escalated`
	// * `incident.priority_updated`
	// * `incident.reassigned`
	// * `incident.reopened`
	// * `incident.resolved`
	// * `incident.responder.added`
	// * `incident.responder.replied`
	// * `incident.status_update_published`
	// * `incident.triggered`
	// * `incident.unacknowledged`
	Events pulumi.StringArrayInput
	// determines which events will match and produce a webhook. There are currently three types of filters that can be applied to webhook subscriptions: `serviceReference`, `teamReference` and `accountReference`.
	Filters WebhookSubscriptionFilterArrayInput
	// The type indicating the schema of the object. The provider sets this as `webhookSubscription`, which is currently the only acceptable value.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a WebhookSubscription resource.

func (WebhookSubscriptionArgs) ElementType added in v3.2.0

func (WebhookSubscriptionArgs) ElementType() reflect.Type

type WebhookSubscriptionArray added in v3.2.0

type WebhookSubscriptionArray []WebhookSubscriptionInput

func (WebhookSubscriptionArray) ElementType added in v3.2.0

func (WebhookSubscriptionArray) ElementType() reflect.Type

func (WebhookSubscriptionArray) ToWebhookSubscriptionArrayOutput added in v3.2.0

func (i WebhookSubscriptionArray) ToWebhookSubscriptionArrayOutput() WebhookSubscriptionArrayOutput

func (WebhookSubscriptionArray) ToWebhookSubscriptionArrayOutputWithContext added in v3.2.0

func (i WebhookSubscriptionArray) ToWebhookSubscriptionArrayOutputWithContext(ctx context.Context) WebhookSubscriptionArrayOutput

type WebhookSubscriptionArrayInput added in v3.2.0

type WebhookSubscriptionArrayInput interface {
	pulumi.Input

	ToWebhookSubscriptionArrayOutput() WebhookSubscriptionArrayOutput
	ToWebhookSubscriptionArrayOutputWithContext(context.Context) WebhookSubscriptionArrayOutput
}

WebhookSubscriptionArrayInput is an input type that accepts WebhookSubscriptionArray and WebhookSubscriptionArrayOutput values. You can construct a concrete instance of `WebhookSubscriptionArrayInput` via:

WebhookSubscriptionArray{ WebhookSubscriptionArgs{...} }

type WebhookSubscriptionArrayOutput added in v3.2.0

type WebhookSubscriptionArrayOutput struct{ *pulumi.OutputState }

func (WebhookSubscriptionArrayOutput) ElementType added in v3.2.0

func (WebhookSubscriptionArrayOutput) Index added in v3.2.0

func (WebhookSubscriptionArrayOutput) ToWebhookSubscriptionArrayOutput added in v3.2.0

func (o WebhookSubscriptionArrayOutput) ToWebhookSubscriptionArrayOutput() WebhookSubscriptionArrayOutput

func (WebhookSubscriptionArrayOutput) ToWebhookSubscriptionArrayOutputWithContext added in v3.2.0

func (o WebhookSubscriptionArrayOutput) ToWebhookSubscriptionArrayOutputWithContext(ctx context.Context) WebhookSubscriptionArrayOutput

type WebhookSubscriptionDeliveryMethod added in v3.2.0

type WebhookSubscriptionDeliveryMethod struct {
	// The customHeader of a webhook subscription define any optional headers that will be passed along with the payload to the destination URL.
	CustomHeaders []WebhookSubscriptionDeliveryMethodCustomHeader `pulumi:"customHeaders"`
	// Whether this webhook subscription is temporarily disabled. Becomes true if the delivery method URL is repeatedly rejected by the server.
	TemporarilyDisabled *bool `pulumi:"temporarilyDisabled"`
	// Indicates the type of the delivery method. Allowed and default value: `httpDeliveryMethod`.
	Type *string `pulumi:"type"`
	// The destination URL for webhook delivery.
	Url *string `pulumi:"url"`
}

type WebhookSubscriptionDeliveryMethodArgs added in v3.2.0

type WebhookSubscriptionDeliveryMethodArgs struct {
	// The customHeader of a webhook subscription define any optional headers that will be passed along with the payload to the destination URL.
	CustomHeaders WebhookSubscriptionDeliveryMethodCustomHeaderArrayInput `pulumi:"customHeaders"`
	// Whether this webhook subscription is temporarily disabled. Becomes true if the delivery method URL is repeatedly rejected by the server.
	TemporarilyDisabled pulumi.BoolPtrInput `pulumi:"temporarilyDisabled"`
	// Indicates the type of the delivery method. Allowed and default value: `httpDeliveryMethod`.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// The destination URL for webhook delivery.
	Url pulumi.StringPtrInput `pulumi:"url"`
}

func (WebhookSubscriptionDeliveryMethodArgs) ElementType added in v3.2.0

func (WebhookSubscriptionDeliveryMethodArgs) ToWebhookSubscriptionDeliveryMethodOutput added in v3.2.0

func (i WebhookSubscriptionDeliveryMethodArgs) ToWebhookSubscriptionDeliveryMethodOutput() WebhookSubscriptionDeliveryMethodOutput

func (WebhookSubscriptionDeliveryMethodArgs) ToWebhookSubscriptionDeliveryMethodOutputWithContext added in v3.2.0

func (i WebhookSubscriptionDeliveryMethodArgs) ToWebhookSubscriptionDeliveryMethodOutputWithContext(ctx context.Context) WebhookSubscriptionDeliveryMethodOutput

type WebhookSubscriptionDeliveryMethodArray added in v3.2.0

type WebhookSubscriptionDeliveryMethodArray []WebhookSubscriptionDeliveryMethodInput

func (WebhookSubscriptionDeliveryMethodArray) ElementType added in v3.2.0

func (WebhookSubscriptionDeliveryMethodArray) ToWebhookSubscriptionDeliveryMethodArrayOutput added in v3.2.0

func (i WebhookSubscriptionDeliveryMethodArray) ToWebhookSubscriptionDeliveryMethodArrayOutput() WebhookSubscriptionDeliveryMethodArrayOutput

func (WebhookSubscriptionDeliveryMethodArray) ToWebhookSubscriptionDeliveryMethodArrayOutputWithContext added in v3.2.0

func (i WebhookSubscriptionDeliveryMethodArray) ToWebhookSubscriptionDeliveryMethodArrayOutputWithContext(ctx context.Context) WebhookSubscriptionDeliveryMethodArrayOutput

type WebhookSubscriptionDeliveryMethodArrayInput added in v3.2.0

type WebhookSubscriptionDeliveryMethodArrayInput interface {
	pulumi.Input

	ToWebhookSubscriptionDeliveryMethodArrayOutput() WebhookSubscriptionDeliveryMethodArrayOutput
	ToWebhookSubscriptionDeliveryMethodArrayOutputWithContext(context.Context) WebhookSubscriptionDeliveryMethodArrayOutput
}

WebhookSubscriptionDeliveryMethodArrayInput is an input type that accepts WebhookSubscriptionDeliveryMethodArray and WebhookSubscriptionDeliveryMethodArrayOutput values. You can construct a concrete instance of `WebhookSubscriptionDeliveryMethodArrayInput` via:

WebhookSubscriptionDeliveryMethodArray{ WebhookSubscriptionDeliveryMethodArgs{...} }

type WebhookSubscriptionDeliveryMethodArrayOutput added in v3.2.0

type WebhookSubscriptionDeliveryMethodArrayOutput struct{ *pulumi.OutputState }

func (WebhookSubscriptionDeliveryMethodArrayOutput) ElementType added in v3.2.0

func (WebhookSubscriptionDeliveryMethodArrayOutput) Index added in v3.2.0

func (WebhookSubscriptionDeliveryMethodArrayOutput) ToWebhookSubscriptionDeliveryMethodArrayOutput added in v3.2.0

func (o WebhookSubscriptionDeliveryMethodArrayOutput) ToWebhookSubscriptionDeliveryMethodArrayOutput() WebhookSubscriptionDeliveryMethodArrayOutput

func (WebhookSubscriptionDeliveryMethodArrayOutput) ToWebhookSubscriptionDeliveryMethodArrayOutputWithContext added in v3.2.0

func (o WebhookSubscriptionDeliveryMethodArrayOutput) ToWebhookSubscriptionDeliveryMethodArrayOutputWithContext(ctx context.Context) WebhookSubscriptionDeliveryMethodArrayOutput

type WebhookSubscriptionDeliveryMethodCustomHeader added in v3.5.0

type WebhookSubscriptionDeliveryMethodCustomHeader struct {
	Name  string `pulumi:"name"`
	Value string `pulumi:"value"`
}

type WebhookSubscriptionDeliveryMethodCustomHeaderArgs added in v3.5.0

type WebhookSubscriptionDeliveryMethodCustomHeaderArgs struct {
	Name  pulumi.StringInput `pulumi:"name"`
	Value pulumi.StringInput `pulumi:"value"`
}

func (WebhookSubscriptionDeliveryMethodCustomHeaderArgs) ElementType added in v3.5.0

func (WebhookSubscriptionDeliveryMethodCustomHeaderArgs) ToWebhookSubscriptionDeliveryMethodCustomHeaderOutput added in v3.5.0

func (i WebhookSubscriptionDeliveryMethodCustomHeaderArgs) ToWebhookSubscriptionDeliveryMethodCustomHeaderOutput() WebhookSubscriptionDeliveryMethodCustomHeaderOutput

func (WebhookSubscriptionDeliveryMethodCustomHeaderArgs) ToWebhookSubscriptionDeliveryMethodCustomHeaderOutputWithContext added in v3.5.0

func (i WebhookSubscriptionDeliveryMethodCustomHeaderArgs) ToWebhookSubscriptionDeliveryMethodCustomHeaderOutputWithContext(ctx context.Context) WebhookSubscriptionDeliveryMethodCustomHeaderOutput

type WebhookSubscriptionDeliveryMethodCustomHeaderArray added in v3.5.0

type WebhookSubscriptionDeliveryMethodCustomHeaderArray []WebhookSubscriptionDeliveryMethodCustomHeaderInput

func (WebhookSubscriptionDeliveryMethodCustomHeaderArray) ElementType added in v3.5.0

func (WebhookSubscriptionDeliveryMethodCustomHeaderArray) ToWebhookSubscriptionDeliveryMethodCustomHeaderArrayOutput added in v3.5.0

func (i WebhookSubscriptionDeliveryMethodCustomHeaderArray) ToWebhookSubscriptionDeliveryMethodCustomHeaderArrayOutput() WebhookSubscriptionDeliveryMethodCustomHeaderArrayOutput

func (WebhookSubscriptionDeliveryMethodCustomHeaderArray) ToWebhookSubscriptionDeliveryMethodCustomHeaderArrayOutputWithContext added in v3.5.0

func (i WebhookSubscriptionDeliveryMethodCustomHeaderArray) ToWebhookSubscriptionDeliveryMethodCustomHeaderArrayOutputWithContext(ctx context.Context) WebhookSubscriptionDeliveryMethodCustomHeaderArrayOutput

type WebhookSubscriptionDeliveryMethodCustomHeaderArrayInput added in v3.5.0

type WebhookSubscriptionDeliveryMethodCustomHeaderArrayInput interface {
	pulumi.Input

	ToWebhookSubscriptionDeliveryMethodCustomHeaderArrayOutput() WebhookSubscriptionDeliveryMethodCustomHeaderArrayOutput
	ToWebhookSubscriptionDeliveryMethodCustomHeaderArrayOutputWithContext(context.Context) WebhookSubscriptionDeliveryMethodCustomHeaderArrayOutput
}

WebhookSubscriptionDeliveryMethodCustomHeaderArrayInput is an input type that accepts WebhookSubscriptionDeliveryMethodCustomHeaderArray and WebhookSubscriptionDeliveryMethodCustomHeaderArrayOutput values. You can construct a concrete instance of `WebhookSubscriptionDeliveryMethodCustomHeaderArrayInput` via:

WebhookSubscriptionDeliveryMethodCustomHeaderArray{ WebhookSubscriptionDeliveryMethodCustomHeaderArgs{...} }

type WebhookSubscriptionDeliveryMethodCustomHeaderArrayOutput added in v3.5.0

type WebhookSubscriptionDeliveryMethodCustomHeaderArrayOutput struct{ *pulumi.OutputState }

func (WebhookSubscriptionDeliveryMethodCustomHeaderArrayOutput) ElementType added in v3.5.0

func (WebhookSubscriptionDeliveryMethodCustomHeaderArrayOutput) Index added in v3.5.0

func (WebhookSubscriptionDeliveryMethodCustomHeaderArrayOutput) ToWebhookSubscriptionDeliveryMethodCustomHeaderArrayOutput added in v3.5.0

func (WebhookSubscriptionDeliveryMethodCustomHeaderArrayOutput) ToWebhookSubscriptionDeliveryMethodCustomHeaderArrayOutputWithContext added in v3.5.0

func (o WebhookSubscriptionDeliveryMethodCustomHeaderArrayOutput) ToWebhookSubscriptionDeliveryMethodCustomHeaderArrayOutputWithContext(ctx context.Context) WebhookSubscriptionDeliveryMethodCustomHeaderArrayOutput

type WebhookSubscriptionDeliveryMethodCustomHeaderInput added in v3.5.0

type WebhookSubscriptionDeliveryMethodCustomHeaderInput interface {
	pulumi.Input

	ToWebhookSubscriptionDeliveryMethodCustomHeaderOutput() WebhookSubscriptionDeliveryMethodCustomHeaderOutput
	ToWebhookSubscriptionDeliveryMethodCustomHeaderOutputWithContext(context.Context) WebhookSubscriptionDeliveryMethodCustomHeaderOutput
}

WebhookSubscriptionDeliveryMethodCustomHeaderInput is an input type that accepts WebhookSubscriptionDeliveryMethodCustomHeaderArgs and WebhookSubscriptionDeliveryMethodCustomHeaderOutput values. You can construct a concrete instance of `WebhookSubscriptionDeliveryMethodCustomHeaderInput` via:

WebhookSubscriptionDeliveryMethodCustomHeaderArgs{...}

type WebhookSubscriptionDeliveryMethodCustomHeaderOutput added in v3.5.0

type WebhookSubscriptionDeliveryMethodCustomHeaderOutput struct{ *pulumi.OutputState }

func (WebhookSubscriptionDeliveryMethodCustomHeaderOutput) ElementType added in v3.5.0

func (WebhookSubscriptionDeliveryMethodCustomHeaderOutput) Name added in v3.5.0

func (WebhookSubscriptionDeliveryMethodCustomHeaderOutput) ToWebhookSubscriptionDeliveryMethodCustomHeaderOutput added in v3.5.0

func (o WebhookSubscriptionDeliveryMethodCustomHeaderOutput) ToWebhookSubscriptionDeliveryMethodCustomHeaderOutput() WebhookSubscriptionDeliveryMethodCustomHeaderOutput

func (WebhookSubscriptionDeliveryMethodCustomHeaderOutput) ToWebhookSubscriptionDeliveryMethodCustomHeaderOutputWithContext added in v3.5.0

func (o WebhookSubscriptionDeliveryMethodCustomHeaderOutput) ToWebhookSubscriptionDeliveryMethodCustomHeaderOutputWithContext(ctx context.Context) WebhookSubscriptionDeliveryMethodCustomHeaderOutput

func (WebhookSubscriptionDeliveryMethodCustomHeaderOutput) Value added in v3.5.0

type WebhookSubscriptionDeliveryMethodInput added in v3.2.0

type WebhookSubscriptionDeliveryMethodInput interface {
	pulumi.Input

	ToWebhookSubscriptionDeliveryMethodOutput() WebhookSubscriptionDeliveryMethodOutput
	ToWebhookSubscriptionDeliveryMethodOutputWithContext(context.Context) WebhookSubscriptionDeliveryMethodOutput
}

WebhookSubscriptionDeliveryMethodInput is an input type that accepts WebhookSubscriptionDeliveryMethodArgs and WebhookSubscriptionDeliveryMethodOutput values. You can construct a concrete instance of `WebhookSubscriptionDeliveryMethodInput` via:

WebhookSubscriptionDeliveryMethodArgs{...}

type WebhookSubscriptionDeliveryMethodOutput added in v3.2.0

type WebhookSubscriptionDeliveryMethodOutput struct{ *pulumi.OutputState }

func (WebhookSubscriptionDeliveryMethodOutput) CustomHeaders added in v3.5.0

The customHeader of a webhook subscription define any optional headers that will be passed along with the payload to the destination URL.

func (WebhookSubscriptionDeliveryMethodOutput) ElementType added in v3.2.0

func (WebhookSubscriptionDeliveryMethodOutput) TemporarilyDisabled added in v3.2.0

Whether this webhook subscription is temporarily disabled. Becomes true if the delivery method URL is repeatedly rejected by the server.

func (WebhookSubscriptionDeliveryMethodOutput) ToWebhookSubscriptionDeliveryMethodOutput added in v3.2.0

func (o WebhookSubscriptionDeliveryMethodOutput) ToWebhookSubscriptionDeliveryMethodOutput() WebhookSubscriptionDeliveryMethodOutput

func (WebhookSubscriptionDeliveryMethodOutput) ToWebhookSubscriptionDeliveryMethodOutputWithContext added in v3.2.0

func (o WebhookSubscriptionDeliveryMethodOutput) ToWebhookSubscriptionDeliveryMethodOutputWithContext(ctx context.Context) WebhookSubscriptionDeliveryMethodOutput

func (WebhookSubscriptionDeliveryMethodOutput) Type added in v3.2.0

Indicates the type of the delivery method. Allowed and default value: `httpDeliveryMethod`.

func (WebhookSubscriptionDeliveryMethodOutput) Url added in v3.2.0

The destination URL for webhook delivery.

type WebhookSubscriptionFilter added in v3.2.0

type WebhookSubscriptionFilter struct {
	// The id of the object being used as the filter. This field is required for all filter types except account_reference.
	Id *string `pulumi:"id"`
	// The type of object being used as the filter. Allowed values are `accountReference`, `serviceReference`, and `teamReference`.
	Type string `pulumi:"type"`
}

type WebhookSubscriptionFilterArgs added in v3.2.0

type WebhookSubscriptionFilterArgs struct {
	// The id of the object being used as the filter. This field is required for all filter types except account_reference.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The type of object being used as the filter. Allowed values are `accountReference`, `serviceReference`, and `teamReference`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (WebhookSubscriptionFilterArgs) ElementType added in v3.2.0

func (WebhookSubscriptionFilterArgs) ToWebhookSubscriptionFilterOutput added in v3.2.0

func (i WebhookSubscriptionFilterArgs) ToWebhookSubscriptionFilterOutput() WebhookSubscriptionFilterOutput

func (WebhookSubscriptionFilterArgs) ToWebhookSubscriptionFilterOutputWithContext added in v3.2.0

func (i WebhookSubscriptionFilterArgs) ToWebhookSubscriptionFilterOutputWithContext(ctx context.Context) WebhookSubscriptionFilterOutput

type WebhookSubscriptionFilterArray added in v3.2.0

type WebhookSubscriptionFilterArray []WebhookSubscriptionFilterInput

func (WebhookSubscriptionFilterArray) ElementType added in v3.2.0

func (WebhookSubscriptionFilterArray) ToWebhookSubscriptionFilterArrayOutput added in v3.2.0

func (i WebhookSubscriptionFilterArray) ToWebhookSubscriptionFilterArrayOutput() WebhookSubscriptionFilterArrayOutput

func (WebhookSubscriptionFilterArray) ToWebhookSubscriptionFilterArrayOutputWithContext added in v3.2.0

func (i WebhookSubscriptionFilterArray) ToWebhookSubscriptionFilterArrayOutputWithContext(ctx context.Context) WebhookSubscriptionFilterArrayOutput

type WebhookSubscriptionFilterArrayInput added in v3.2.0

type WebhookSubscriptionFilterArrayInput interface {
	pulumi.Input

	ToWebhookSubscriptionFilterArrayOutput() WebhookSubscriptionFilterArrayOutput
	ToWebhookSubscriptionFilterArrayOutputWithContext(context.Context) WebhookSubscriptionFilterArrayOutput
}

WebhookSubscriptionFilterArrayInput is an input type that accepts WebhookSubscriptionFilterArray and WebhookSubscriptionFilterArrayOutput values. You can construct a concrete instance of `WebhookSubscriptionFilterArrayInput` via:

WebhookSubscriptionFilterArray{ WebhookSubscriptionFilterArgs{...} }

type WebhookSubscriptionFilterArrayOutput added in v3.2.0

type WebhookSubscriptionFilterArrayOutput struct{ *pulumi.OutputState }

func (WebhookSubscriptionFilterArrayOutput) ElementType added in v3.2.0

func (WebhookSubscriptionFilterArrayOutput) Index added in v3.2.0

func (WebhookSubscriptionFilterArrayOutput) ToWebhookSubscriptionFilterArrayOutput added in v3.2.0

func (o WebhookSubscriptionFilterArrayOutput) ToWebhookSubscriptionFilterArrayOutput() WebhookSubscriptionFilterArrayOutput

func (WebhookSubscriptionFilterArrayOutput) ToWebhookSubscriptionFilterArrayOutputWithContext added in v3.2.0

func (o WebhookSubscriptionFilterArrayOutput) ToWebhookSubscriptionFilterArrayOutputWithContext(ctx context.Context) WebhookSubscriptionFilterArrayOutput

type WebhookSubscriptionFilterInput added in v3.2.0

type WebhookSubscriptionFilterInput interface {
	pulumi.Input

	ToWebhookSubscriptionFilterOutput() WebhookSubscriptionFilterOutput
	ToWebhookSubscriptionFilterOutputWithContext(context.Context) WebhookSubscriptionFilterOutput
}

WebhookSubscriptionFilterInput is an input type that accepts WebhookSubscriptionFilterArgs and WebhookSubscriptionFilterOutput values. You can construct a concrete instance of `WebhookSubscriptionFilterInput` via:

WebhookSubscriptionFilterArgs{...}

type WebhookSubscriptionFilterOutput added in v3.2.0

type WebhookSubscriptionFilterOutput struct{ *pulumi.OutputState }

func (WebhookSubscriptionFilterOutput) ElementType added in v3.2.0

func (WebhookSubscriptionFilterOutput) Id added in v3.2.0

The id of the object being used as the filter. This field is required for all filter types except account_reference.

func (WebhookSubscriptionFilterOutput) ToWebhookSubscriptionFilterOutput added in v3.2.0

func (o WebhookSubscriptionFilterOutput) ToWebhookSubscriptionFilterOutput() WebhookSubscriptionFilterOutput

func (WebhookSubscriptionFilterOutput) ToWebhookSubscriptionFilterOutputWithContext added in v3.2.0

func (o WebhookSubscriptionFilterOutput) ToWebhookSubscriptionFilterOutputWithContext(ctx context.Context) WebhookSubscriptionFilterOutput

func (WebhookSubscriptionFilterOutput) Type added in v3.2.0

The type of object being used as the filter. Allowed values are `accountReference`, `serviceReference`, and `teamReference`.

type WebhookSubscriptionInput added in v3.2.0

type WebhookSubscriptionInput interface {
	pulumi.Input

	ToWebhookSubscriptionOutput() WebhookSubscriptionOutput
	ToWebhookSubscriptionOutputWithContext(ctx context.Context) WebhookSubscriptionOutput
}

type WebhookSubscriptionMap added in v3.2.0

type WebhookSubscriptionMap map[string]WebhookSubscriptionInput

func (WebhookSubscriptionMap) ElementType added in v3.2.0

func (WebhookSubscriptionMap) ElementType() reflect.Type

func (WebhookSubscriptionMap) ToWebhookSubscriptionMapOutput added in v3.2.0

func (i WebhookSubscriptionMap) ToWebhookSubscriptionMapOutput() WebhookSubscriptionMapOutput

func (WebhookSubscriptionMap) ToWebhookSubscriptionMapOutputWithContext added in v3.2.0

func (i WebhookSubscriptionMap) ToWebhookSubscriptionMapOutputWithContext(ctx context.Context) WebhookSubscriptionMapOutput

type WebhookSubscriptionMapInput added in v3.2.0

type WebhookSubscriptionMapInput interface {
	pulumi.Input

	ToWebhookSubscriptionMapOutput() WebhookSubscriptionMapOutput
	ToWebhookSubscriptionMapOutputWithContext(context.Context) WebhookSubscriptionMapOutput
}

WebhookSubscriptionMapInput is an input type that accepts WebhookSubscriptionMap and WebhookSubscriptionMapOutput values. You can construct a concrete instance of `WebhookSubscriptionMapInput` via:

WebhookSubscriptionMap{ "key": WebhookSubscriptionArgs{...} }

type WebhookSubscriptionMapOutput added in v3.2.0

type WebhookSubscriptionMapOutput struct{ *pulumi.OutputState }

func (WebhookSubscriptionMapOutput) ElementType added in v3.2.0

func (WebhookSubscriptionMapOutput) MapIndex added in v3.2.0

func (WebhookSubscriptionMapOutput) ToWebhookSubscriptionMapOutput added in v3.2.0

func (o WebhookSubscriptionMapOutput) ToWebhookSubscriptionMapOutput() WebhookSubscriptionMapOutput

func (WebhookSubscriptionMapOutput) ToWebhookSubscriptionMapOutputWithContext added in v3.2.0

func (o WebhookSubscriptionMapOutput) ToWebhookSubscriptionMapOutputWithContext(ctx context.Context) WebhookSubscriptionMapOutput

type WebhookSubscriptionOutput added in v3.2.0

type WebhookSubscriptionOutput struct{ *pulumi.OutputState }

func (WebhookSubscriptionOutput) Active added in v3.5.1

Determines whether the subscription will produce webhook events.

func (WebhookSubscriptionOutput) DeliveryMethods added in v3.5.1

The object describing where to send the webhooks.

func (WebhookSubscriptionOutput) Description added in v3.5.1

A short description of the webhook subscription

func (WebhookSubscriptionOutput) ElementType added in v3.2.0

func (WebhookSubscriptionOutput) ElementType() reflect.Type

func (WebhookSubscriptionOutput) Events added in v3.5.1

A set of outbound event types the webhook will receive. The follow event types are possible: * `incident.acknowledged` * `incident.annotated` * `incident.delegated` * `incident.escalated` * `incident.priority_updated` * `incident.reassigned` * `incident.reopened` * `incident.resolved` * `incident.responder.added` * `incident.responder.replied` * `incident.status_update_published` * `incident.triggered` * `incident.unacknowledged`

func (WebhookSubscriptionOutput) Filters added in v3.5.1

determines which events will match and produce a webhook. There are currently three types of filters that can be applied to webhook subscriptions: `serviceReference`, `teamReference` and `accountReference`.

func (WebhookSubscriptionOutput) ToWebhookSubscriptionOutput added in v3.2.0

func (o WebhookSubscriptionOutput) ToWebhookSubscriptionOutput() WebhookSubscriptionOutput

func (WebhookSubscriptionOutput) ToWebhookSubscriptionOutputWithContext added in v3.2.0

func (o WebhookSubscriptionOutput) ToWebhookSubscriptionOutputWithContext(ctx context.Context) WebhookSubscriptionOutput

func (WebhookSubscriptionOutput) Type added in v3.5.1

The type indicating the schema of the object. The provider sets this as `webhookSubscription`, which is currently the only acceptable value.

type WebhookSubscriptionState added in v3.2.0

type WebhookSubscriptionState struct {
	// Determines whether the subscription will produce webhook events.
	Active pulumi.BoolPtrInput
	// The object describing where to send the webhooks.
	DeliveryMethods WebhookSubscriptionDeliveryMethodArrayInput
	// A short description of the webhook subscription
	Description pulumi.StringPtrInput
	// A set of outbound event types the webhook will receive. The follow event types are possible:
	// * `incident.acknowledged`
	// * `incident.annotated`
	// * `incident.delegated`
	// * `incident.escalated`
	// * `incident.priority_updated`
	// * `incident.reassigned`
	// * `incident.reopened`
	// * `incident.resolved`
	// * `incident.responder.added`
	// * `incident.responder.replied`
	// * `incident.status_update_published`
	// * `incident.triggered`
	// * `incident.unacknowledged`
	Events pulumi.StringArrayInput
	// determines which events will match and produce a webhook. There are currently three types of filters that can be applied to webhook subscriptions: `serviceReference`, `teamReference` and `accountReference`.
	Filters WebhookSubscriptionFilterArrayInput
	// The type indicating the schema of the object. The provider sets this as `webhookSubscription`, which is currently the only acceptable value.
	Type pulumi.StringPtrInput
}

func (WebhookSubscriptionState) ElementType added in v3.2.0

func (WebhookSubscriptionState) ElementType() reflect.Type

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL