pagerduty

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing pagerduty cloud resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v1.3.0

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package.

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://v2.developer.pagerduty.com/v2/page/api-reference#!/Add-ons/get_addons), 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/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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 added in v1.2.1

func (*Addon) ElementType() reflect.Type

func (*Addon) ToAddonOutput added in v1.2.1

func (i *Addon) ToAddonOutput() AddonOutput

func (*Addon) ToAddonOutputWithContext added in v1.2.1

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

func (*Addon) ToAddonPtrOutput added in v1.3.1

func (i *Addon) ToAddonPtrOutput() AddonPtrOutput

func (*Addon) ToAddonPtrOutputWithContext added in v1.3.1

func (i *Addon) ToAddonPtrOutputWithContext(ctx context.Context) AddonPtrOutput

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 added in v1.3.1

type AddonArray []AddonInput

func (AddonArray) ElementType added in v1.3.1

func (AddonArray) ElementType() reflect.Type

func (AddonArray) ToAddonArrayOutput added in v1.3.1

func (i AddonArray) ToAddonArrayOutput() AddonArrayOutput

func (AddonArray) ToAddonArrayOutputWithContext added in v1.3.1

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

type AddonArrayInput added in v1.3.1

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 added in v1.3.1

type AddonArrayOutput struct{ *pulumi.OutputState }

func (AddonArrayOutput) ElementType added in v1.3.1

func (AddonArrayOutput) ElementType() reflect.Type

func (AddonArrayOutput) Index added in v1.3.1

func (AddonArrayOutput) ToAddonArrayOutput added in v1.3.1

func (o AddonArrayOutput) ToAddonArrayOutput() AddonArrayOutput

func (AddonArrayOutput) ToAddonArrayOutputWithContext added in v1.3.1

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

type AddonInput added in v1.2.1

type AddonInput interface {
	pulumi.Input

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

type AddonMap added in v1.3.1

type AddonMap map[string]AddonInput

func (AddonMap) ElementType added in v1.3.1

func (AddonMap) ElementType() reflect.Type

func (AddonMap) ToAddonMapOutput added in v1.3.1

func (i AddonMap) ToAddonMapOutput() AddonMapOutput

func (AddonMap) ToAddonMapOutputWithContext added in v1.3.1

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

type AddonMapInput added in v1.3.1

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 added in v1.3.1

type AddonMapOutput struct{ *pulumi.OutputState }

func (AddonMapOutput) ElementType added in v1.3.1

func (AddonMapOutput) ElementType() reflect.Type

func (AddonMapOutput) MapIndex added in v1.3.1

func (AddonMapOutput) ToAddonMapOutput added in v1.3.1

func (o AddonMapOutput) ToAddonMapOutput() AddonMapOutput

func (AddonMapOutput) ToAddonMapOutputWithContext added in v1.3.1

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

type AddonOutput added in v1.2.1

type AddonOutput struct {
	*pulumi.OutputState
}

func (AddonOutput) ElementType added in v1.2.1

func (AddonOutput) ElementType() reflect.Type

func (AddonOutput) ToAddonOutput added in v1.2.1

func (o AddonOutput) ToAddonOutput() AddonOutput

func (AddonOutput) ToAddonOutputWithContext added in v1.2.1

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

func (AddonOutput) ToAddonPtrOutput added in v1.3.1

func (o AddonOutput) ToAddonPtrOutput() AddonPtrOutput

func (AddonOutput) ToAddonPtrOutputWithContext added in v1.3.1

func (o AddonOutput) ToAddonPtrOutputWithContext(ctx context.Context) AddonPtrOutput

type AddonPtrInput added in v1.3.1

type AddonPtrInput interface {
	pulumi.Input

	ToAddonPtrOutput() AddonPtrOutput
	ToAddonPtrOutputWithContext(ctx context.Context) AddonPtrOutput
}

type AddonPtrOutput added in v1.3.1

type AddonPtrOutput struct {
	*pulumi.OutputState
}

func (AddonPtrOutput) ElementType added in v1.3.1

func (AddonPtrOutput) ElementType() reflect.Type

func (AddonPtrOutput) ToAddonPtrOutput added in v1.3.1

func (o AddonPtrOutput) ToAddonPtrOutput() AddonPtrOutput

func (AddonPtrOutput) ToAddonPtrOutputWithContext added in v1.3.1

func (o AddonPtrOutput) ToAddonPtrOutputWithContext(ctx context.Context) AddonPtrOutput

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 BusinessService

type BusinessService struct {
	pulumi.CustomResourceState

	Description pulumi.StringPtrOutput `pulumi:"description"`
	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"`
	Self           pulumi.StringOutput    `pulumi:"self"`
	Summary        pulumi.StringOutput    `pulumi:"summary"`
	// ID of the team that owns the business service.
	Team pulumi.StringPtrOutput `pulumi:"team"`
	// Default value is `businessService`. Can also be set as `businessServiceReference`.
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

A [business service](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Business_Services/get_business_services) 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/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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 added in v1.2.1

func (*BusinessService) ElementType() reflect.Type

func (*BusinessService) ToBusinessServiceOutput added in v1.2.1

func (i *BusinessService) ToBusinessServiceOutput() BusinessServiceOutput

func (*BusinessService) ToBusinessServiceOutputWithContext added in v1.2.1

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

func (*BusinessService) ToBusinessServicePtrOutput added in v1.3.1

func (i *BusinessService) ToBusinessServicePtrOutput() BusinessServicePtrOutput

func (*BusinessService) ToBusinessServicePtrOutputWithContext added in v1.3.1

func (i *BusinessService) ToBusinessServicePtrOutputWithContext(ctx context.Context) BusinessServicePtrOutput

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
	// Default value is `businessService`. Can also be set as `businessServiceReference`.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a BusinessService resource.

func (BusinessServiceArgs) ElementType

func (BusinessServiceArgs) ElementType() reflect.Type

type BusinessServiceArray added in v1.3.1

type BusinessServiceArray []BusinessServiceInput

func (BusinessServiceArray) ElementType added in v1.3.1

func (BusinessServiceArray) ElementType() reflect.Type

func (BusinessServiceArray) ToBusinessServiceArrayOutput added in v1.3.1

func (i BusinessServiceArray) ToBusinessServiceArrayOutput() BusinessServiceArrayOutput

func (BusinessServiceArray) ToBusinessServiceArrayOutputWithContext added in v1.3.1

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

type BusinessServiceArrayInput added in v1.3.1

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 added in v1.3.1

type BusinessServiceArrayOutput struct{ *pulumi.OutputState }

func (BusinessServiceArrayOutput) ElementType added in v1.3.1

func (BusinessServiceArrayOutput) ElementType() reflect.Type

func (BusinessServiceArrayOutput) Index added in v1.3.1

func (BusinessServiceArrayOutput) ToBusinessServiceArrayOutput added in v1.3.1

func (o BusinessServiceArrayOutput) ToBusinessServiceArrayOutput() BusinessServiceArrayOutput

func (BusinessServiceArrayOutput) ToBusinessServiceArrayOutputWithContext added in v1.3.1

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

type BusinessServiceInput added in v1.2.1

type BusinessServiceInput interface {
	pulumi.Input

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

type BusinessServiceMap added in v1.3.1

type BusinessServiceMap map[string]BusinessServiceInput

func (BusinessServiceMap) ElementType added in v1.3.1

func (BusinessServiceMap) ElementType() reflect.Type

func (BusinessServiceMap) ToBusinessServiceMapOutput added in v1.3.1

func (i BusinessServiceMap) ToBusinessServiceMapOutput() BusinessServiceMapOutput

func (BusinessServiceMap) ToBusinessServiceMapOutputWithContext added in v1.3.1

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

type BusinessServiceMapInput added in v1.3.1

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 added in v1.3.1

type BusinessServiceMapOutput struct{ *pulumi.OutputState }

func (BusinessServiceMapOutput) ElementType added in v1.3.1

func (BusinessServiceMapOutput) ElementType() reflect.Type

func (BusinessServiceMapOutput) MapIndex added in v1.3.1

func (BusinessServiceMapOutput) ToBusinessServiceMapOutput added in v1.3.1

func (o BusinessServiceMapOutput) ToBusinessServiceMapOutput() BusinessServiceMapOutput

func (BusinessServiceMapOutput) ToBusinessServiceMapOutputWithContext added in v1.3.1

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

type BusinessServiceOutput added in v1.2.1

type BusinessServiceOutput struct {
	*pulumi.OutputState
}

func (BusinessServiceOutput) ElementType added in v1.2.1

func (BusinessServiceOutput) ElementType() reflect.Type

func (BusinessServiceOutput) ToBusinessServiceOutput added in v1.2.1

func (o BusinessServiceOutput) ToBusinessServiceOutput() BusinessServiceOutput

func (BusinessServiceOutput) ToBusinessServiceOutputWithContext added in v1.2.1

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

func (BusinessServiceOutput) ToBusinessServicePtrOutput added in v1.3.1

func (o BusinessServiceOutput) ToBusinessServicePtrOutput() BusinessServicePtrOutput

func (BusinessServiceOutput) ToBusinessServicePtrOutputWithContext added in v1.3.1

func (o BusinessServiceOutput) ToBusinessServicePtrOutputWithContext(ctx context.Context) BusinessServicePtrOutput

type BusinessServicePtrInput added in v1.3.1

type BusinessServicePtrInput interface {
	pulumi.Input

	ToBusinessServicePtrOutput() BusinessServicePtrOutput
	ToBusinessServicePtrOutputWithContext(ctx context.Context) BusinessServicePtrOutput
}

type BusinessServicePtrOutput added in v1.3.1

type BusinessServicePtrOutput struct {
	*pulumi.OutputState
}

func (BusinessServicePtrOutput) ElementType added in v1.3.1

func (BusinessServicePtrOutput) ElementType() reflect.Type

func (BusinessServicePtrOutput) ToBusinessServicePtrOutput added in v1.3.1

func (o BusinessServicePtrOutput) ToBusinessServicePtrOutput() BusinessServicePtrOutput

func (BusinessServicePtrOutput) ToBusinessServicePtrOutputWithContext added in v1.3.1

func (o BusinessServicePtrOutput) ToBusinessServicePtrOutputWithContext(ctx context.Context) BusinessServicePtrOutput

type BusinessServiceState

type BusinessServiceState struct {
	Description pulumi.StringPtrInput
	HtmlUrl     pulumi.StringPtrInput
	// The name of the business service.
	Name pulumi.StringPtrInput
	// The owner of the business service.
	PointOfContact pulumi.StringPtrInput
	Self           pulumi.StringPtrInput
	Summary        pulumi.StringPtrInput
	// ID of the team that owns the business service.
	Team pulumi.StringPtrInput
	// Default value is `businessService`. Can also be set as `businessServiceReference`.
	Type pulumi.StringPtrInput
}

func (BusinessServiceState) ElementType

func (BusinessServiceState) ElementType() reflect.Type

type EscalationPolicy

type EscalationPolicy struct {
	pulumi.CustomResourceState

	Description pulumi.StringPtrOutput `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"`
	// Teams associated with the policy. Account must have the `teams` ability to use this parameter.
	Teams pulumi.StringArrayOutput `pulumi:"teams"`
}

An [escalation policy](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Escalation_Policies/get_escalation_policies) 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.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleTeam, err := pagerduty.NewTeam(ctx, "exampleTeam", &pagerduty.TeamArgs{
			Description: pulumi.String("All engineering"),
		})
		if err != nil {
			return err
		}
		exampleUser, err := pagerduty.NewUser(ctx, "exampleUser", &pagerduty.UserArgs{
			Email: pulumi.String("125.greenholt.earline@graham.name"),
			Teams: pulumi.StringArray{
				exampleTeam.ID(),
			},
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewEscalationPolicy(ctx, "exampleEscalationPolicy", &pagerduty.EscalationPolicyArgs{
			NumLoops: pulumi.Int(2),
			Teams: pulumi.StringArray{
				exampleTeam.ID(),
			},
			Rules: pagerduty.EscalationPolicyRuleArray{
				&pagerduty.EscalationPolicyRuleArgs{
					EscalationDelayInMinutes: pulumi.Int(10),
					Targets: pagerduty.EscalationPolicyRuleTargetArray{
						&pagerduty.EscalationPolicyRuleTargetArgs{
							Type: pulumi.String("user"),
							Id:   exampleUser.ID(),
						},
						&pagerduty.EscalationPolicyRuleTargetArgs{
							Type: pulumi.String("user"),
							Id:   pulumi.Any(pagerduty_user.Example2.Id),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## 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 added in v1.2.1

func (*EscalationPolicy) ElementType() reflect.Type

func (*EscalationPolicy) ToEscalationPolicyOutput added in v1.2.1

func (i *EscalationPolicy) ToEscalationPolicyOutput() EscalationPolicyOutput

func (*EscalationPolicy) ToEscalationPolicyOutputWithContext added in v1.2.1

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

func (*EscalationPolicy) ToEscalationPolicyPtrOutput added in v1.3.1

func (i *EscalationPolicy) ToEscalationPolicyPtrOutput() EscalationPolicyPtrOutput

func (*EscalationPolicy) ToEscalationPolicyPtrOutputWithContext added in v1.3.1

func (i *EscalationPolicy) ToEscalationPolicyPtrOutputWithContext(ctx context.Context) EscalationPolicyPtrOutput

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
	// Teams associated with the policy. Account must have the `teams` ability to use this parameter.
	Teams pulumi.StringArrayInput
}

The set of arguments for constructing a EscalationPolicy resource.

func (EscalationPolicyArgs) ElementType

func (EscalationPolicyArgs) ElementType() reflect.Type

type EscalationPolicyArray added in v1.3.1

type EscalationPolicyArray []EscalationPolicyInput

func (EscalationPolicyArray) ElementType added in v1.3.1

func (EscalationPolicyArray) ElementType() reflect.Type

func (EscalationPolicyArray) ToEscalationPolicyArrayOutput added in v1.3.1

func (i EscalationPolicyArray) ToEscalationPolicyArrayOutput() EscalationPolicyArrayOutput

func (EscalationPolicyArray) ToEscalationPolicyArrayOutputWithContext added in v1.3.1

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

type EscalationPolicyArrayInput added in v1.3.1

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 added in v1.3.1

type EscalationPolicyArrayOutput struct{ *pulumi.OutputState }

func (EscalationPolicyArrayOutput) ElementType added in v1.3.1

func (EscalationPolicyArrayOutput) Index added in v1.3.1

func (EscalationPolicyArrayOutput) ToEscalationPolicyArrayOutput added in v1.3.1

func (o EscalationPolicyArrayOutput) ToEscalationPolicyArrayOutput() EscalationPolicyArrayOutput

func (EscalationPolicyArrayOutput) ToEscalationPolicyArrayOutputWithContext added in v1.3.1

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

type EscalationPolicyInput added in v1.2.1

type EscalationPolicyInput interface {
	pulumi.Input

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

type EscalationPolicyMap added in v1.3.1

type EscalationPolicyMap map[string]EscalationPolicyInput

func (EscalationPolicyMap) ElementType added in v1.3.1

func (EscalationPolicyMap) ElementType() reflect.Type

func (EscalationPolicyMap) ToEscalationPolicyMapOutput added in v1.3.1

func (i EscalationPolicyMap) ToEscalationPolicyMapOutput() EscalationPolicyMapOutput

func (EscalationPolicyMap) ToEscalationPolicyMapOutputWithContext added in v1.3.1

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

type EscalationPolicyMapInput added in v1.3.1

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 added in v1.3.1

type EscalationPolicyMapOutput struct{ *pulumi.OutputState }

func (EscalationPolicyMapOutput) ElementType added in v1.3.1

func (EscalationPolicyMapOutput) ElementType() reflect.Type

func (EscalationPolicyMapOutput) MapIndex added in v1.3.1

func (EscalationPolicyMapOutput) ToEscalationPolicyMapOutput added in v1.3.1

func (o EscalationPolicyMapOutput) ToEscalationPolicyMapOutput() EscalationPolicyMapOutput

func (EscalationPolicyMapOutput) ToEscalationPolicyMapOutputWithContext added in v1.3.1

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

type EscalationPolicyOutput added in v1.2.1

type EscalationPolicyOutput struct {
	*pulumi.OutputState
}

func (EscalationPolicyOutput) ElementType added in v1.2.1

func (EscalationPolicyOutput) ElementType() reflect.Type

func (EscalationPolicyOutput) ToEscalationPolicyOutput added in v1.2.1

func (o EscalationPolicyOutput) ToEscalationPolicyOutput() EscalationPolicyOutput

func (EscalationPolicyOutput) ToEscalationPolicyOutputWithContext added in v1.2.1

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

func (EscalationPolicyOutput) ToEscalationPolicyPtrOutput added in v1.3.1

func (o EscalationPolicyOutput) ToEscalationPolicyPtrOutput() EscalationPolicyPtrOutput

func (EscalationPolicyOutput) ToEscalationPolicyPtrOutputWithContext added in v1.3.1

func (o EscalationPolicyOutput) ToEscalationPolicyPtrOutputWithContext(ctx context.Context) EscalationPolicyPtrOutput

type EscalationPolicyPtrInput added in v1.3.1

type EscalationPolicyPtrInput interface {
	pulumi.Input

	ToEscalationPolicyPtrOutput() EscalationPolicyPtrOutput
	ToEscalationPolicyPtrOutputWithContext(ctx context.Context) EscalationPolicyPtrOutput
}

type EscalationPolicyPtrOutput added in v1.3.1

type EscalationPolicyPtrOutput struct {
	*pulumi.OutputState
}

func (EscalationPolicyPtrOutput) ElementType added in v1.3.1

func (EscalationPolicyPtrOutput) ElementType() reflect.Type

func (EscalationPolicyPtrOutput) ToEscalationPolicyPtrOutput added in v1.3.1

func (o EscalationPolicyPtrOutput) ToEscalationPolicyPtrOutput() EscalationPolicyPtrOutput

func (EscalationPolicyPtrOutput) ToEscalationPolicyPtrOutputWithContext added in v1.3.1

func (o EscalationPolicyPtrOutput) ToEscalationPolicyPtrOutputWithContext(ctx context.Context) EscalationPolicyPtrOutput

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 `user`, `schedule`, `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 `user`, `schedule`, `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 `user`, `schedule`, `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
	// Teams associated with the policy. Account must have the `teams` ability to use this parameter.
	Teams pulumi.StringArrayInput
}

func (EscalationPolicyState) ElementType

func (EscalationPolicyState) ElementType() reflect.Type

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://v2.developer.pagerduty.com/docs/global-event-rules-api#section-advanced-condition) 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://v2.developer.pagerduty.com/docs/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/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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 added in v1.2.1

func (*EventRule) ElementType() reflect.Type

func (*EventRule) ToEventRuleOutput added in v1.2.1

func (i *EventRule) ToEventRuleOutput() EventRuleOutput

func (*EventRule) ToEventRuleOutputWithContext added in v1.2.1

func (i *EventRule) ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput

func (*EventRule) ToEventRulePtrOutput added in v1.3.1

func (i *EventRule) ToEventRulePtrOutput() EventRulePtrOutput

func (*EventRule) ToEventRulePtrOutputWithContext added in v1.3.1

func (i *EventRule) ToEventRulePtrOutputWithContext(ctx context.Context) EventRulePtrOutput

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://v2.developer.pagerduty.com/docs/global-event-rules-api#section-advanced-condition) 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 added in v1.3.1

type EventRuleArray []EventRuleInput

func (EventRuleArray) ElementType added in v1.3.1

func (EventRuleArray) ElementType() reflect.Type

func (EventRuleArray) ToEventRuleArrayOutput added in v1.3.1

func (i EventRuleArray) ToEventRuleArrayOutput() EventRuleArrayOutput

func (EventRuleArray) ToEventRuleArrayOutputWithContext added in v1.3.1

func (i EventRuleArray) ToEventRuleArrayOutputWithContext(ctx context.Context) EventRuleArrayOutput

type EventRuleArrayInput added in v1.3.1

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 added in v1.3.1

type EventRuleArrayOutput struct{ *pulumi.OutputState }

func (EventRuleArrayOutput) ElementType added in v1.3.1

func (EventRuleArrayOutput) ElementType() reflect.Type

func (EventRuleArrayOutput) Index added in v1.3.1

func (EventRuleArrayOutput) ToEventRuleArrayOutput added in v1.3.1

func (o EventRuleArrayOutput) ToEventRuleArrayOutput() EventRuleArrayOutput

func (EventRuleArrayOutput) ToEventRuleArrayOutputWithContext added in v1.3.1

func (o EventRuleArrayOutput) ToEventRuleArrayOutputWithContext(ctx context.Context) EventRuleArrayOutput

type EventRuleInput added in v1.2.1

type EventRuleInput interface {
	pulumi.Input

	ToEventRuleOutput() EventRuleOutput
	ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput
}

type EventRuleMap added in v1.3.1

type EventRuleMap map[string]EventRuleInput

func (EventRuleMap) ElementType added in v1.3.1

func (EventRuleMap) ElementType() reflect.Type

func (EventRuleMap) ToEventRuleMapOutput added in v1.3.1

func (i EventRuleMap) ToEventRuleMapOutput() EventRuleMapOutput

func (EventRuleMap) ToEventRuleMapOutputWithContext added in v1.3.1

func (i EventRuleMap) ToEventRuleMapOutputWithContext(ctx context.Context) EventRuleMapOutput

type EventRuleMapInput added in v1.3.1

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 added in v1.3.1

type EventRuleMapOutput struct{ *pulumi.OutputState }

func (EventRuleMapOutput) ElementType added in v1.3.1

func (EventRuleMapOutput) ElementType() reflect.Type

func (EventRuleMapOutput) MapIndex added in v1.3.1

func (EventRuleMapOutput) ToEventRuleMapOutput added in v1.3.1

func (o EventRuleMapOutput) ToEventRuleMapOutput() EventRuleMapOutput

func (EventRuleMapOutput) ToEventRuleMapOutputWithContext added in v1.3.1

func (o EventRuleMapOutput) ToEventRuleMapOutputWithContext(ctx context.Context) EventRuleMapOutput

type EventRuleOutput added in v1.2.1

type EventRuleOutput struct {
	*pulumi.OutputState
}

func (EventRuleOutput) ElementType added in v1.2.1

func (EventRuleOutput) ElementType() reflect.Type

func (EventRuleOutput) ToEventRuleOutput added in v1.2.1

func (o EventRuleOutput) ToEventRuleOutput() EventRuleOutput

func (EventRuleOutput) ToEventRuleOutputWithContext added in v1.2.1

func (o EventRuleOutput) ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput

func (EventRuleOutput) ToEventRulePtrOutput added in v1.3.1

func (o EventRuleOutput) ToEventRulePtrOutput() EventRulePtrOutput

func (EventRuleOutput) ToEventRulePtrOutputWithContext added in v1.3.1

func (o EventRuleOutput) ToEventRulePtrOutputWithContext(ctx context.Context) EventRulePtrOutput

type EventRulePtrInput added in v1.3.1

type EventRulePtrInput interface {
	pulumi.Input

	ToEventRulePtrOutput() EventRulePtrOutput
	ToEventRulePtrOutputWithContext(ctx context.Context) EventRulePtrOutput
}

type EventRulePtrOutput added in v1.3.1

type EventRulePtrOutput struct {
	*pulumi.OutputState
}

func (EventRulePtrOutput) ElementType added in v1.3.1

func (EventRulePtrOutput) ElementType() reflect.Type

func (EventRulePtrOutput) ToEventRulePtrOutput added in v1.3.1

func (o EventRulePtrOutput) ToEventRulePtrOutput() EventRulePtrOutput

func (EventRulePtrOutput) ToEventRulePtrOutputWithContext added in v1.3.1

func (o EventRulePtrOutput) ToEventRulePtrOutputWithContext(ctx context.Context) EventRulePtrOutput

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://v2.developer.pagerduty.com/docs/global-event-rules-api#section-advanced-condition) 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"`
	Type pulumi.StringOutput `pulumi:"type"`
}

An [extension](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Extensions/post_extensions) can be associated with a service.

## 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 added in v1.2.1

func (*Extension) ElementType() reflect.Type

func (*Extension) ToExtensionOutput added in v1.2.1

func (i *Extension) ToExtensionOutput() ExtensionOutput

func (*Extension) ToExtensionOutputWithContext added in v1.2.1

func (i *Extension) ToExtensionOutputWithContext(ctx context.Context) ExtensionOutput

func (*Extension) ToExtensionPtrOutput added in v1.3.1

func (i *Extension) ToExtensionPtrOutput() ExtensionPtrOutput

func (*Extension) ToExtensionPtrOutputWithContext added in v1.3.1

func (i *Extension) ToExtensionPtrOutputWithContext(ctx context.Context) ExtensionPtrOutput

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 added in v1.3.1

type ExtensionArray []ExtensionInput

func (ExtensionArray) ElementType added in v1.3.1

func (ExtensionArray) ElementType() reflect.Type

func (ExtensionArray) ToExtensionArrayOutput added in v1.3.1

func (i ExtensionArray) ToExtensionArrayOutput() ExtensionArrayOutput

func (ExtensionArray) ToExtensionArrayOutputWithContext added in v1.3.1

func (i ExtensionArray) ToExtensionArrayOutputWithContext(ctx context.Context) ExtensionArrayOutput

type ExtensionArrayInput added in v1.3.1

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 added in v1.3.1

type ExtensionArrayOutput struct{ *pulumi.OutputState }

func (ExtensionArrayOutput) ElementType added in v1.3.1

func (ExtensionArrayOutput) ElementType() reflect.Type

func (ExtensionArrayOutput) Index added in v1.3.1

func (ExtensionArrayOutput) ToExtensionArrayOutput added in v1.3.1

func (o ExtensionArrayOutput) ToExtensionArrayOutput() ExtensionArrayOutput

func (ExtensionArrayOutput) ToExtensionArrayOutputWithContext added in v1.3.1

func (o ExtensionArrayOutput) ToExtensionArrayOutputWithContext(ctx context.Context) ExtensionArrayOutput

type ExtensionInput added in v1.2.1

type ExtensionInput interface {
	pulumi.Input

	ToExtensionOutput() ExtensionOutput
	ToExtensionOutputWithContext(ctx context.Context) ExtensionOutput
}

type ExtensionMap added in v1.3.1

type ExtensionMap map[string]ExtensionInput

func (ExtensionMap) ElementType added in v1.3.1

func (ExtensionMap) ElementType() reflect.Type

func (ExtensionMap) ToExtensionMapOutput added in v1.3.1

func (i ExtensionMap) ToExtensionMapOutput() ExtensionMapOutput

func (ExtensionMap) ToExtensionMapOutputWithContext added in v1.3.1

func (i ExtensionMap) ToExtensionMapOutputWithContext(ctx context.Context) ExtensionMapOutput

type ExtensionMapInput added in v1.3.1

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 added in v1.3.1

type ExtensionMapOutput struct{ *pulumi.OutputState }

func (ExtensionMapOutput) ElementType added in v1.3.1

func (ExtensionMapOutput) ElementType() reflect.Type

func (ExtensionMapOutput) MapIndex added in v1.3.1

func (ExtensionMapOutput) ToExtensionMapOutput added in v1.3.1

func (o ExtensionMapOutput) ToExtensionMapOutput() ExtensionMapOutput

func (ExtensionMapOutput) ToExtensionMapOutputWithContext added in v1.3.1

func (o ExtensionMapOutput) ToExtensionMapOutputWithContext(ctx context.Context) ExtensionMapOutput

type ExtensionOutput added in v1.2.1

type ExtensionOutput struct {
	*pulumi.OutputState
}

func (ExtensionOutput) ElementType added in v1.2.1

func (ExtensionOutput) ElementType() reflect.Type

func (ExtensionOutput) ToExtensionOutput added in v1.2.1

func (o ExtensionOutput) ToExtensionOutput() ExtensionOutput

func (ExtensionOutput) ToExtensionOutputWithContext added in v1.2.1

func (o ExtensionOutput) ToExtensionOutputWithContext(ctx context.Context) ExtensionOutput

func (ExtensionOutput) ToExtensionPtrOutput added in v1.3.1

func (o ExtensionOutput) ToExtensionPtrOutput() ExtensionPtrOutput

func (ExtensionOutput) ToExtensionPtrOutputWithContext added in v1.3.1

func (o ExtensionOutput) ToExtensionPtrOutputWithContext(ctx context.Context) ExtensionPtrOutput

type ExtensionPtrInput added in v1.3.1

type ExtensionPtrInput interface {
	pulumi.Input

	ToExtensionPtrOutput() ExtensionPtrOutput
	ToExtensionPtrOutputWithContext(ctx context.Context) ExtensionPtrOutput
}

type ExtensionPtrOutput added in v1.3.1

type ExtensionPtrOutput struct {
	*pulumi.OutputState
}

func (ExtensionPtrOutput) ElementType added in v1.3.1

func (ExtensionPtrOutput) ElementType() reflect.Type

func (ExtensionPtrOutput) ToExtensionPtrOutput added in v1.3.1

func (o ExtensionPtrOutput) ToExtensionPtrOutput() ExtensionPtrOutput

func (ExtensionPtrOutput) ToExtensionPtrOutputWithContext added in v1.3.1

func (o ExtensionPtrOutput) ToExtensionPtrOutputWithContext(ctx context.Context) ExtensionPtrOutput

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
	Type pulumi.StringPtrInput
}

func (ExtensionState) ElementType

func (ExtensionState) ElementType() reflect.Type

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 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://v2.developer.pagerduty.com/v2/page/api-reference#!/Extension_Schemas/get_extension_schemas) vendor that you can use for a service (e.g: Slack, Generic Webhook, ServiceNow).

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 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/reference/REST/openapiv3.json/paths/~1priorities/get) 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/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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 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 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://v2.developer.pagerduty.com/v2/page/api-reference#!/Vendors/get_vendors) that you can use for a service integration (e.g Amazon Cloudwatch, Splunk, Datadog).

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

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/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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 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 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://v2.developer.pagerduty.com/v2/page/api-reference#!/Escalation_Policies/get_escalation_policies) that you can use for other PagerDuty resources.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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 LookupRulesetArgs added in v1.5.0

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 LookupRulesetResult added in v1.5.0

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 added in v1.5.0

func LookupRuleset(ctx *pulumi.Context, args *LookupRulesetArgs, opts ...pulumi.InvokeOption) (*LookupRulesetResult, error)

Use this data source to get information about a specific [ruleset](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1rulesets/get) that you can use for managing and grouping [event rules](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1rulesets~1%7Bid%7D~1rules/get).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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 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 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://v2.developer.pagerduty.com/v2/page/api-reference#!/Schedules/get_schedules) that you can use for other PagerDuty resources.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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 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 LookupServiceResult

type LookupServiceResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The short name of the found service.
	Name string `pulumi:"name"`
}

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/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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 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 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://v1.developer.pagerduty.com/documentation/rest/teams/list) that you can use for other PagerDuty resources.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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.LookupTeam(ctx, &pagerduty.LookupTeamArgs{
			Name: "devops",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pagerduty.NewEscalationPolicy(ctx, "foo", &pagerduty.EscalationPolicyArgs{
			NumLoops: pulumi.Int(2),
			Teams: pulumi.StringArray{
				pulumi.String(devops.Id),
			},
			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 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 added in v1.5.0

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 LookupUserContactMethodResult added in v1.5.0

type LookupUserContactMethodResult struct {
	// 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"`
	// 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 added in v1.5.0

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/reference/REST/openapiv3.json/paths/~1users~1%7Bid%7D~1contact_methods~1%7Bcontact_method_id%7D/get) of a PagerDuty [user](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users~1%7Bid%7D/get) that you can use for other PagerDuty resources.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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: &pagerduty.UserNotificationRuleContactMethodArgs{
				Type: pulumi.String("push_notification_contact_method"),
				Id:   pulumi.String(phonePush.Id),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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://v2.developer.pagerduty.com/v2/page/api-reference#!/Users/get_users) that you can use for other PagerDuty resources.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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 MaintenanceWindow

type MaintenanceWindow struct {
	pulumi.CustomResourceState

	// A description for the maintenance window.
	Description pulumi.StringPtrOutput `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://v2.developer.pagerduty.com/v2/page/api-reference#!/Maintenance_Windows/get_maintenance_windows) 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/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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{
				pulumi.Any(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 added in v1.2.1

func (*MaintenanceWindow) ElementType() reflect.Type

func (*MaintenanceWindow) ToMaintenanceWindowOutput added in v1.2.1

func (i *MaintenanceWindow) ToMaintenanceWindowOutput() MaintenanceWindowOutput

func (*MaintenanceWindow) ToMaintenanceWindowOutputWithContext added in v1.2.1

func (i *MaintenanceWindow) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput

func (*MaintenanceWindow) ToMaintenanceWindowPtrOutput added in v1.3.1

func (i *MaintenanceWindow) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput

func (*MaintenanceWindow) ToMaintenanceWindowPtrOutputWithContext added in v1.3.1

func (i *MaintenanceWindow) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput

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 added in v1.3.1

type MaintenanceWindowArray []MaintenanceWindowInput

func (MaintenanceWindowArray) ElementType added in v1.3.1

func (MaintenanceWindowArray) ElementType() reflect.Type

func (MaintenanceWindowArray) ToMaintenanceWindowArrayOutput added in v1.3.1

func (i MaintenanceWindowArray) ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput

func (MaintenanceWindowArray) ToMaintenanceWindowArrayOutputWithContext added in v1.3.1

func (i MaintenanceWindowArray) ToMaintenanceWindowArrayOutputWithContext(ctx context.Context) MaintenanceWindowArrayOutput

type MaintenanceWindowArrayInput added in v1.3.1

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 added in v1.3.1

type MaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowArrayOutput) ElementType added in v1.3.1

func (MaintenanceWindowArrayOutput) Index added in v1.3.1

func (MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutput added in v1.3.1

func (o MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput

func (MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutputWithContext added in v1.3.1

func (o MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutputWithContext(ctx context.Context) MaintenanceWindowArrayOutput

type MaintenanceWindowInput added in v1.2.1

type MaintenanceWindowInput interface {
	pulumi.Input

	ToMaintenanceWindowOutput() MaintenanceWindowOutput
	ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput
}

type MaintenanceWindowMap added in v1.3.1

type MaintenanceWindowMap map[string]MaintenanceWindowInput

func (MaintenanceWindowMap) ElementType added in v1.3.1

func (MaintenanceWindowMap) ElementType() reflect.Type

func (MaintenanceWindowMap) ToMaintenanceWindowMapOutput added in v1.3.1

func (i MaintenanceWindowMap) ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput

func (MaintenanceWindowMap) ToMaintenanceWindowMapOutputWithContext added in v1.3.1

func (i MaintenanceWindowMap) ToMaintenanceWindowMapOutputWithContext(ctx context.Context) MaintenanceWindowMapOutput

type MaintenanceWindowMapInput added in v1.3.1

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 added in v1.3.1

type MaintenanceWindowMapOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowMapOutput) ElementType added in v1.3.1

func (MaintenanceWindowMapOutput) ElementType() reflect.Type

func (MaintenanceWindowMapOutput) MapIndex added in v1.3.1

func (MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutput added in v1.3.1

func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput

func (MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutputWithContext added in v1.3.1

func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutputWithContext(ctx context.Context) MaintenanceWindowMapOutput

type MaintenanceWindowOutput added in v1.2.1

type MaintenanceWindowOutput struct {
	*pulumi.OutputState
}

func (MaintenanceWindowOutput) ElementType added in v1.2.1

func (MaintenanceWindowOutput) ElementType() reflect.Type

func (MaintenanceWindowOutput) ToMaintenanceWindowOutput added in v1.2.1

func (o MaintenanceWindowOutput) ToMaintenanceWindowOutput() MaintenanceWindowOutput

func (MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext added in v1.2.1

func (o MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput

func (MaintenanceWindowOutput) ToMaintenanceWindowPtrOutput added in v1.3.1

func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput

func (MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext added in v1.3.1

func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput

type MaintenanceWindowPtrInput added in v1.3.1

type MaintenanceWindowPtrInput interface {
	pulumi.Input

	ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput
	ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput
}

type MaintenanceWindowPtrOutput added in v1.3.1

type MaintenanceWindowPtrOutput struct {
	*pulumi.OutputState
}

func (MaintenanceWindowPtrOutput) ElementType added in v1.3.1

func (MaintenanceWindowPtrOutput) ElementType() reflect.Type

func (MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutput added in v1.3.1

func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput

func (MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext added in v1.3.1

func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput

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
}

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 added in v1.2.1

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput added in v1.2.1

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext added in v1.2.1

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (*Provider) ToProviderPtrOutput added in v1.3.1

func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput

func (*Provider) ToProviderPtrOutputWithContext added in v1.3.1

func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type ProviderArgs

type ProviderArgs struct {
	SkipCredentialsValidation pulumi.BoolPtrInput
	Token                     pulumi.StringInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput added in v1.2.1

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput added in v1.2.1

type ProviderOutput struct {
	*pulumi.OutputState
}

func (ProviderOutput) ElementType added in v1.2.1

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput added in v1.2.1

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext added in v1.2.1

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (ProviderOutput) ToProviderPtrOutput added in v1.3.1

func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderOutput) ToProviderPtrOutputWithContext added in v1.3.1

func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type ProviderPtrInput added in v1.3.1

type ProviderPtrInput interface {
	pulumi.Input

	ToProviderPtrOutput() ProviderPtrOutput
	ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
}

type ProviderPtrOutput added in v1.3.1

type ProviderPtrOutput struct {
	*pulumi.OutputState
}

func (ProviderPtrOutput) ElementType added in v1.3.1

func (ProviderPtrOutput) ElementType() reflect.Type

func (ProviderPtrOutput) ToProviderPtrOutput added in v1.3.1

func (o ProviderPtrOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderPtrOutput) ToProviderPtrOutputWithContext added in v1.3.1

func (o ProviderPtrOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type ResponsePlay added in v1.5.0

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.StringPtrOutput `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://v2.developer.pagerduty.com/v2/page/api-reference#!/Services/get_services) allows you to create packages of Incident Actions that can be applied during an Incident's life cycle.

## 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 added in v1.5.0

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 added in v1.5.0

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 added in v1.5.0

func (*ResponsePlay) ElementType() reflect.Type

func (*ResponsePlay) ToResponsePlayOutput added in v1.5.0

func (i *ResponsePlay) ToResponsePlayOutput() ResponsePlayOutput

func (*ResponsePlay) ToResponsePlayOutputWithContext added in v1.5.0

func (i *ResponsePlay) ToResponsePlayOutputWithContext(ctx context.Context) ResponsePlayOutput

func (*ResponsePlay) ToResponsePlayPtrOutput added in v1.5.0

func (i *ResponsePlay) ToResponsePlayPtrOutput() ResponsePlayPtrOutput

func (*ResponsePlay) ToResponsePlayPtrOutputWithContext added in v1.5.0

func (i *ResponsePlay) ToResponsePlayPtrOutputWithContext(ctx context.Context) ResponsePlayPtrOutput

type ResponsePlayArgs added in v1.5.0

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 added in v1.5.0

func (ResponsePlayArgs) ElementType() reflect.Type

type ResponsePlayArray added in v1.5.0

type ResponsePlayArray []ResponsePlayInput

func (ResponsePlayArray) ElementType added in v1.5.0

func (ResponsePlayArray) ElementType() reflect.Type

func (ResponsePlayArray) ToResponsePlayArrayOutput added in v1.5.0

func (i ResponsePlayArray) ToResponsePlayArrayOutput() ResponsePlayArrayOutput

func (ResponsePlayArray) ToResponsePlayArrayOutputWithContext added in v1.5.0

func (i ResponsePlayArray) ToResponsePlayArrayOutputWithContext(ctx context.Context) ResponsePlayArrayOutput

type ResponsePlayArrayInput added in v1.5.0

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 added in v1.5.0

type ResponsePlayArrayOutput struct{ *pulumi.OutputState }

func (ResponsePlayArrayOutput) ElementType added in v1.5.0

func (ResponsePlayArrayOutput) ElementType() reflect.Type

func (ResponsePlayArrayOutput) Index added in v1.5.0

func (ResponsePlayArrayOutput) ToResponsePlayArrayOutput added in v1.5.0

func (o ResponsePlayArrayOutput) ToResponsePlayArrayOutput() ResponsePlayArrayOutput

func (ResponsePlayArrayOutput) ToResponsePlayArrayOutputWithContext added in v1.5.0

func (o ResponsePlayArrayOutput) ToResponsePlayArrayOutputWithContext(ctx context.Context) ResponsePlayArrayOutput

type ResponsePlayInput added in v1.5.0

type ResponsePlayInput interface {
	pulumi.Input

	ToResponsePlayOutput() ResponsePlayOutput
	ToResponsePlayOutputWithContext(ctx context.Context) ResponsePlayOutput
}

type ResponsePlayMap added in v1.5.0

type ResponsePlayMap map[string]ResponsePlayInput

func (ResponsePlayMap) ElementType added in v1.5.0

func (ResponsePlayMap) ElementType() reflect.Type

func (ResponsePlayMap) ToResponsePlayMapOutput added in v1.5.0

func (i ResponsePlayMap) ToResponsePlayMapOutput() ResponsePlayMapOutput

func (ResponsePlayMap) ToResponsePlayMapOutputWithContext added in v1.5.0

func (i ResponsePlayMap) ToResponsePlayMapOutputWithContext(ctx context.Context) ResponsePlayMapOutput

type ResponsePlayMapInput added in v1.5.0

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 added in v1.5.0

type ResponsePlayMapOutput struct{ *pulumi.OutputState }

func (ResponsePlayMapOutput) ElementType added in v1.5.0

func (ResponsePlayMapOutput) ElementType() reflect.Type

func (ResponsePlayMapOutput) MapIndex added in v1.5.0

func (ResponsePlayMapOutput) ToResponsePlayMapOutput added in v1.5.0

func (o ResponsePlayMapOutput) ToResponsePlayMapOutput() ResponsePlayMapOutput

func (ResponsePlayMapOutput) ToResponsePlayMapOutputWithContext added in v1.5.0

func (o ResponsePlayMapOutput) ToResponsePlayMapOutputWithContext(ctx context.Context) ResponsePlayMapOutput

type ResponsePlayOutput added in v1.5.0

type ResponsePlayOutput struct {
	*pulumi.OutputState
}

func (ResponsePlayOutput) ElementType added in v1.5.0

func (ResponsePlayOutput) ElementType() reflect.Type

func (ResponsePlayOutput) ToResponsePlayOutput added in v1.5.0

func (o ResponsePlayOutput) ToResponsePlayOutput() ResponsePlayOutput

func (ResponsePlayOutput) ToResponsePlayOutputWithContext added in v1.5.0

func (o ResponsePlayOutput) ToResponsePlayOutputWithContext(ctx context.Context) ResponsePlayOutput

func (ResponsePlayOutput) ToResponsePlayPtrOutput added in v1.5.0

func (o ResponsePlayOutput) ToResponsePlayPtrOutput() ResponsePlayPtrOutput

func (ResponsePlayOutput) ToResponsePlayPtrOutputWithContext added in v1.5.0

func (o ResponsePlayOutput) ToResponsePlayPtrOutputWithContext(ctx context.Context) ResponsePlayPtrOutput

type ResponsePlayPtrInput added in v1.5.0

type ResponsePlayPtrInput interface {
	pulumi.Input

	ToResponsePlayPtrOutput() ResponsePlayPtrOutput
	ToResponsePlayPtrOutputWithContext(ctx context.Context) ResponsePlayPtrOutput
}

type ResponsePlayPtrOutput added in v1.5.0

type ResponsePlayPtrOutput struct {
	*pulumi.OutputState
}

func (ResponsePlayPtrOutput) ElementType added in v1.5.0

func (ResponsePlayPtrOutput) ElementType() reflect.Type

func (ResponsePlayPtrOutput) ToResponsePlayPtrOutput added in v1.5.0

func (o ResponsePlayPtrOutput) ToResponsePlayPtrOutput() ResponsePlayPtrOutput

func (ResponsePlayPtrOutput) ToResponsePlayPtrOutputWithContext added in v1.5.0

func (o ResponsePlayPtrOutput) ToResponsePlayPtrOutputWithContext(ctx context.Context) ResponsePlayPtrOutput

type ResponsePlayResponder added in v1.5.0

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 `user`, `schedule`, `userReference`, `scheduleReference`.
	Type *string `pulumi:"type"`
}

type ResponsePlayResponderArgs added in v1.5.0

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 `user`, `schedule`, `userReference`, `scheduleReference`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ResponsePlayResponderArgs) ElementType added in v1.5.0

func (ResponsePlayResponderArgs) ElementType() reflect.Type

func (ResponsePlayResponderArgs) ToResponsePlayResponderOutput added in v1.5.0

func (i ResponsePlayResponderArgs) ToResponsePlayResponderOutput() ResponsePlayResponderOutput

func (ResponsePlayResponderArgs) ToResponsePlayResponderOutputWithContext added in v1.5.0

func (i ResponsePlayResponderArgs) ToResponsePlayResponderOutputWithContext(ctx context.Context) ResponsePlayResponderOutput

type ResponsePlayResponderArray added in v1.5.0

type ResponsePlayResponderArray []ResponsePlayResponderInput

func (ResponsePlayResponderArray) ElementType added in v1.5.0

func (ResponsePlayResponderArray) ElementType() reflect.Type

func (ResponsePlayResponderArray) ToResponsePlayResponderArrayOutput added in v1.5.0

func (i ResponsePlayResponderArray) ToResponsePlayResponderArrayOutput() ResponsePlayResponderArrayOutput

func (ResponsePlayResponderArray) ToResponsePlayResponderArrayOutputWithContext added in v1.5.0

func (i ResponsePlayResponderArray) ToResponsePlayResponderArrayOutputWithContext(ctx context.Context) ResponsePlayResponderArrayOutput

type ResponsePlayResponderArrayInput added in v1.5.0

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 added in v1.5.0

type ResponsePlayResponderArrayOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderArrayOutput) ElementType added in v1.5.0

func (ResponsePlayResponderArrayOutput) Index added in v1.5.0

func (ResponsePlayResponderArrayOutput) ToResponsePlayResponderArrayOutput added in v1.5.0

func (o ResponsePlayResponderArrayOutput) ToResponsePlayResponderArrayOutput() ResponsePlayResponderArrayOutput

func (ResponsePlayResponderArrayOutput) ToResponsePlayResponderArrayOutputWithContext added in v1.5.0

func (o ResponsePlayResponderArrayOutput) ToResponsePlayResponderArrayOutputWithContext(ctx context.Context) ResponsePlayResponderArrayOutput

type ResponsePlayResponderEscalationRule added in v1.5.0

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 added in v1.5.0

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 added in v1.5.0

func (ResponsePlayResponderEscalationRuleArgs) ToResponsePlayResponderEscalationRuleOutput added in v1.5.0

func (i ResponsePlayResponderEscalationRuleArgs) ToResponsePlayResponderEscalationRuleOutput() ResponsePlayResponderEscalationRuleOutput

func (ResponsePlayResponderEscalationRuleArgs) ToResponsePlayResponderEscalationRuleOutputWithContext added in v1.5.0

func (i ResponsePlayResponderEscalationRuleArgs) ToResponsePlayResponderEscalationRuleOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleOutput

type ResponsePlayResponderEscalationRuleArray added in v1.5.0

type ResponsePlayResponderEscalationRuleArray []ResponsePlayResponderEscalationRuleInput

func (ResponsePlayResponderEscalationRuleArray) ElementType added in v1.5.0

func (ResponsePlayResponderEscalationRuleArray) ToResponsePlayResponderEscalationRuleArrayOutput added in v1.5.0

func (i ResponsePlayResponderEscalationRuleArray) ToResponsePlayResponderEscalationRuleArrayOutput() ResponsePlayResponderEscalationRuleArrayOutput

func (ResponsePlayResponderEscalationRuleArray) ToResponsePlayResponderEscalationRuleArrayOutputWithContext added in v1.5.0

func (i ResponsePlayResponderEscalationRuleArray) ToResponsePlayResponderEscalationRuleArrayOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleArrayOutput

type ResponsePlayResponderEscalationRuleArrayInput added in v1.5.0

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 added in v1.5.0

type ResponsePlayResponderEscalationRuleArrayOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderEscalationRuleArrayOutput) ElementType added in v1.5.0

func (ResponsePlayResponderEscalationRuleArrayOutput) Index added in v1.5.0

func (ResponsePlayResponderEscalationRuleArrayOutput) ToResponsePlayResponderEscalationRuleArrayOutput added in v1.5.0

func (o ResponsePlayResponderEscalationRuleArrayOutput) ToResponsePlayResponderEscalationRuleArrayOutput() ResponsePlayResponderEscalationRuleArrayOutput

func (ResponsePlayResponderEscalationRuleArrayOutput) ToResponsePlayResponderEscalationRuleArrayOutputWithContext added in v1.5.0

func (o ResponsePlayResponderEscalationRuleArrayOutput) ToResponsePlayResponderEscalationRuleArrayOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleArrayOutput

type ResponsePlayResponderEscalationRuleInput added in v1.5.0

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 added in v1.5.0

type ResponsePlayResponderEscalationRuleOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderEscalationRuleOutput) ElementType added in v1.5.0

func (ResponsePlayResponderEscalationRuleOutput) EscalationDelayInMinutes added in v1.5.0

func (o ResponsePlayResponderEscalationRuleOutput) EscalationDelayInMinutes() pulumi.IntPtrOutput

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

func (ResponsePlayResponderEscalationRuleOutput) Id added in v1.5.0

ID of the user defined as the responder

func (ResponsePlayResponderEscalationRuleOutput) Targets added in v1.5.0

The targets an incident should be assigned to upon reaching this rule.

func (ResponsePlayResponderEscalationRuleOutput) ToResponsePlayResponderEscalationRuleOutput added in v1.5.0

func (o ResponsePlayResponderEscalationRuleOutput) ToResponsePlayResponderEscalationRuleOutput() ResponsePlayResponderEscalationRuleOutput

func (ResponsePlayResponderEscalationRuleOutput) ToResponsePlayResponderEscalationRuleOutputWithContext added in v1.5.0

func (o ResponsePlayResponderEscalationRuleOutput) ToResponsePlayResponderEscalationRuleOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleOutput

type ResponsePlayResponderEscalationRuleTarget added in v1.5.0

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 added in v1.5.0

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 added in v1.5.0

func (ResponsePlayResponderEscalationRuleTargetArgs) ToResponsePlayResponderEscalationRuleTargetOutput added in v1.5.0

func (i ResponsePlayResponderEscalationRuleTargetArgs) ToResponsePlayResponderEscalationRuleTargetOutput() ResponsePlayResponderEscalationRuleTargetOutput

func (ResponsePlayResponderEscalationRuleTargetArgs) ToResponsePlayResponderEscalationRuleTargetOutputWithContext added in v1.5.0

func (i ResponsePlayResponderEscalationRuleTargetArgs) ToResponsePlayResponderEscalationRuleTargetOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleTargetOutput

type ResponsePlayResponderEscalationRuleTargetArray added in v1.5.0

type ResponsePlayResponderEscalationRuleTargetArray []ResponsePlayResponderEscalationRuleTargetInput

func (ResponsePlayResponderEscalationRuleTargetArray) ElementType added in v1.5.0

func (ResponsePlayResponderEscalationRuleTargetArray) ToResponsePlayResponderEscalationRuleTargetArrayOutput added in v1.5.0

func (i ResponsePlayResponderEscalationRuleTargetArray) ToResponsePlayResponderEscalationRuleTargetArrayOutput() ResponsePlayResponderEscalationRuleTargetArrayOutput

func (ResponsePlayResponderEscalationRuleTargetArray) ToResponsePlayResponderEscalationRuleTargetArrayOutputWithContext added in v1.5.0

func (i ResponsePlayResponderEscalationRuleTargetArray) ToResponsePlayResponderEscalationRuleTargetArrayOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleTargetArrayOutput

type ResponsePlayResponderEscalationRuleTargetArrayInput added in v1.5.0

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 added in v1.5.0

type ResponsePlayResponderEscalationRuleTargetArrayOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderEscalationRuleTargetArrayOutput) ElementType added in v1.5.0

func (ResponsePlayResponderEscalationRuleTargetArrayOutput) Index added in v1.5.0

func (ResponsePlayResponderEscalationRuleTargetArrayOutput) ToResponsePlayResponderEscalationRuleTargetArrayOutput added in v1.5.0

func (ResponsePlayResponderEscalationRuleTargetArrayOutput) ToResponsePlayResponderEscalationRuleTargetArrayOutputWithContext added in v1.5.0

func (o ResponsePlayResponderEscalationRuleTargetArrayOutput) ToResponsePlayResponderEscalationRuleTargetArrayOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleTargetArrayOutput

type ResponsePlayResponderEscalationRuleTargetInput added in v1.5.0

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 added in v1.5.0

type ResponsePlayResponderEscalationRuleTargetOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderEscalationRuleTargetOutput) ElementType added in v1.5.0

func (ResponsePlayResponderEscalationRuleTargetOutput) Id added in v1.5.0

ID of the user defined as the responder

func (ResponsePlayResponderEscalationRuleTargetOutput) ToResponsePlayResponderEscalationRuleTargetOutput added in v1.5.0

func (o ResponsePlayResponderEscalationRuleTargetOutput) ToResponsePlayResponderEscalationRuleTargetOutput() ResponsePlayResponderEscalationRuleTargetOutput

func (ResponsePlayResponderEscalationRuleTargetOutput) ToResponsePlayResponderEscalationRuleTargetOutputWithContext added in v1.5.0

func (o ResponsePlayResponderEscalationRuleTargetOutput) ToResponsePlayResponderEscalationRuleTargetOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleTargetOutput

func (ResponsePlayResponderEscalationRuleTargetOutput) Type added in v1.5.0

A string that determines the schema of the object. If not set, the default value is "responsePlay".

type ResponsePlayResponderInput added in v1.5.0

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 added in v1.5.0

type ResponsePlayResponderOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderOutput) Description added in v1.5.0

Description of escalation policy

func (ResponsePlayResponderOutput) ElementType added in v1.5.0

func (ResponsePlayResponderOutput) EscalationRules added in v1.5.0

The escalation rules

func (ResponsePlayResponderOutput) Id added in v1.5.0

ID of the user defined as the responder

func (ResponsePlayResponderOutput) Name added in v1.5.0

Name of the escalation policy

func (ResponsePlayResponderOutput) NumLoops added in v1.5.0

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

func (ResponsePlayResponderOutput) OnCallHandoffNotifications added in v1.5.0

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 added in v1.5.0

There can be multiple services associated with a policy.

func (ResponsePlayResponderOutput) Teams added in v1.5.0

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 added in v1.5.0

func (o ResponsePlayResponderOutput) ToResponsePlayResponderOutput() ResponsePlayResponderOutput

func (ResponsePlayResponderOutput) ToResponsePlayResponderOutputWithContext added in v1.5.0

func (o ResponsePlayResponderOutput) ToResponsePlayResponderOutputWithContext(ctx context.Context) ResponsePlayResponderOutput

func (ResponsePlayResponderOutput) Type added in v1.5.0

Type of object of the target. Supported types are `user`, `schedule`, `userReference`, `scheduleReference`.

type ResponsePlayResponderService added in v1.5.0

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 added in v1.5.0

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 added in v1.5.0

func (ResponsePlayResponderServiceArgs) ToResponsePlayResponderServiceOutput added in v1.5.0

func (i ResponsePlayResponderServiceArgs) ToResponsePlayResponderServiceOutput() ResponsePlayResponderServiceOutput

func (ResponsePlayResponderServiceArgs) ToResponsePlayResponderServiceOutputWithContext added in v1.5.0

func (i ResponsePlayResponderServiceArgs) ToResponsePlayResponderServiceOutputWithContext(ctx context.Context) ResponsePlayResponderServiceOutput

type ResponsePlayResponderServiceArray added in v1.5.0

type ResponsePlayResponderServiceArray []ResponsePlayResponderServiceInput

func (ResponsePlayResponderServiceArray) ElementType added in v1.5.0

func (ResponsePlayResponderServiceArray) ToResponsePlayResponderServiceArrayOutput added in v1.5.0

func (i ResponsePlayResponderServiceArray) ToResponsePlayResponderServiceArrayOutput() ResponsePlayResponderServiceArrayOutput

func (ResponsePlayResponderServiceArray) ToResponsePlayResponderServiceArrayOutputWithContext added in v1.5.0

func (i ResponsePlayResponderServiceArray) ToResponsePlayResponderServiceArrayOutputWithContext(ctx context.Context) ResponsePlayResponderServiceArrayOutput

type ResponsePlayResponderServiceArrayInput added in v1.5.0

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 added in v1.5.0

type ResponsePlayResponderServiceArrayOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderServiceArrayOutput) ElementType added in v1.5.0

func (ResponsePlayResponderServiceArrayOutput) Index added in v1.5.0

func (ResponsePlayResponderServiceArrayOutput) ToResponsePlayResponderServiceArrayOutput added in v1.5.0

func (o ResponsePlayResponderServiceArrayOutput) ToResponsePlayResponderServiceArrayOutput() ResponsePlayResponderServiceArrayOutput

func (ResponsePlayResponderServiceArrayOutput) ToResponsePlayResponderServiceArrayOutputWithContext added in v1.5.0

func (o ResponsePlayResponderServiceArrayOutput) ToResponsePlayResponderServiceArrayOutputWithContext(ctx context.Context) ResponsePlayResponderServiceArrayOutput

type ResponsePlayResponderServiceInput added in v1.5.0

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 added in v1.5.0

type ResponsePlayResponderServiceOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderServiceOutput) ElementType added in v1.5.0

func (ResponsePlayResponderServiceOutput) Id added in v1.5.0

ID of the user defined as the responder

func (ResponsePlayResponderServiceOutput) ToResponsePlayResponderServiceOutput added in v1.5.0

func (o ResponsePlayResponderServiceOutput) ToResponsePlayResponderServiceOutput() ResponsePlayResponderServiceOutput

func (ResponsePlayResponderServiceOutput) ToResponsePlayResponderServiceOutputWithContext added in v1.5.0

func (o ResponsePlayResponderServiceOutput) ToResponsePlayResponderServiceOutputWithContext(ctx context.Context) ResponsePlayResponderServiceOutput

func (ResponsePlayResponderServiceOutput) Type added in v1.5.0

A string that determines the schema of the object. If not set, the default value is "responsePlay".

type ResponsePlayResponderTeam added in v1.5.0

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 added in v1.5.0

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 added in v1.5.0

func (ResponsePlayResponderTeamArgs) ToResponsePlayResponderTeamOutput added in v1.5.0

func (i ResponsePlayResponderTeamArgs) ToResponsePlayResponderTeamOutput() ResponsePlayResponderTeamOutput

func (ResponsePlayResponderTeamArgs) ToResponsePlayResponderTeamOutputWithContext added in v1.5.0

func (i ResponsePlayResponderTeamArgs) ToResponsePlayResponderTeamOutputWithContext(ctx context.Context) ResponsePlayResponderTeamOutput

type ResponsePlayResponderTeamArray added in v1.5.0

type ResponsePlayResponderTeamArray []ResponsePlayResponderTeamInput

func (ResponsePlayResponderTeamArray) ElementType added in v1.5.0

func (ResponsePlayResponderTeamArray) ToResponsePlayResponderTeamArrayOutput added in v1.5.0

func (i ResponsePlayResponderTeamArray) ToResponsePlayResponderTeamArrayOutput() ResponsePlayResponderTeamArrayOutput

func (ResponsePlayResponderTeamArray) ToResponsePlayResponderTeamArrayOutputWithContext added in v1.5.0

func (i ResponsePlayResponderTeamArray) ToResponsePlayResponderTeamArrayOutputWithContext(ctx context.Context) ResponsePlayResponderTeamArrayOutput

type ResponsePlayResponderTeamArrayInput added in v1.5.0

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 added in v1.5.0

type ResponsePlayResponderTeamArrayOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderTeamArrayOutput) ElementType added in v1.5.0

func (ResponsePlayResponderTeamArrayOutput) Index added in v1.5.0

func (ResponsePlayResponderTeamArrayOutput) ToResponsePlayResponderTeamArrayOutput added in v1.5.0

func (o ResponsePlayResponderTeamArrayOutput) ToResponsePlayResponderTeamArrayOutput() ResponsePlayResponderTeamArrayOutput

func (ResponsePlayResponderTeamArrayOutput) ToResponsePlayResponderTeamArrayOutputWithContext added in v1.5.0

func (o ResponsePlayResponderTeamArrayOutput) ToResponsePlayResponderTeamArrayOutputWithContext(ctx context.Context) ResponsePlayResponderTeamArrayOutput

type ResponsePlayResponderTeamInput added in v1.5.0

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 added in v1.5.0

type ResponsePlayResponderTeamOutput struct{ *pulumi.OutputState }

func (ResponsePlayResponderTeamOutput) ElementType added in v1.5.0

func (ResponsePlayResponderTeamOutput) Id added in v1.5.0

ID of the user defined as the responder

func (ResponsePlayResponderTeamOutput) ToResponsePlayResponderTeamOutput added in v1.5.0

func (o ResponsePlayResponderTeamOutput) ToResponsePlayResponderTeamOutput() ResponsePlayResponderTeamOutput

func (ResponsePlayResponderTeamOutput) ToResponsePlayResponderTeamOutputWithContext added in v1.5.0

func (o ResponsePlayResponderTeamOutput) ToResponsePlayResponderTeamOutputWithContext(ctx context.Context) ResponsePlayResponderTeamOutput

func (ResponsePlayResponderTeamOutput) Type added in v1.5.0

A string that determines the schema of the object. If not set, the default value is "responsePlay".

type ResponsePlayState added in v1.5.0

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 added in v1.5.0

func (ResponsePlayState) ElementType() reflect.Type

type ResponsePlaySubscriber added in v1.5.0

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 added in v1.5.0

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 added in v1.5.0

func (ResponsePlaySubscriberArgs) ElementType() reflect.Type

func (ResponsePlaySubscriberArgs) ToResponsePlaySubscriberOutput added in v1.5.0

func (i ResponsePlaySubscriberArgs) ToResponsePlaySubscriberOutput() ResponsePlaySubscriberOutput

func (ResponsePlaySubscriberArgs) ToResponsePlaySubscriberOutputWithContext added in v1.5.0

func (i ResponsePlaySubscriberArgs) ToResponsePlaySubscriberOutputWithContext(ctx context.Context) ResponsePlaySubscriberOutput

type ResponsePlaySubscriberArray added in v1.5.0

type ResponsePlaySubscriberArray []ResponsePlaySubscriberInput

func (ResponsePlaySubscriberArray) ElementType added in v1.5.0

func (ResponsePlaySubscriberArray) ToResponsePlaySubscriberArrayOutput added in v1.5.0

func (i ResponsePlaySubscriberArray) ToResponsePlaySubscriberArrayOutput() ResponsePlaySubscriberArrayOutput

func (ResponsePlaySubscriberArray) ToResponsePlaySubscriberArrayOutputWithContext added in v1.5.0

func (i ResponsePlaySubscriberArray) ToResponsePlaySubscriberArrayOutputWithContext(ctx context.Context) ResponsePlaySubscriberArrayOutput

type ResponsePlaySubscriberArrayInput added in v1.5.0

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 added in v1.5.0

type ResponsePlaySubscriberArrayOutput struct{ *pulumi.OutputState }

func (ResponsePlaySubscriberArrayOutput) ElementType added in v1.5.0

func (ResponsePlaySubscriberArrayOutput) Index added in v1.5.0

func (ResponsePlaySubscriberArrayOutput) ToResponsePlaySubscriberArrayOutput added in v1.5.0

func (o ResponsePlaySubscriberArrayOutput) ToResponsePlaySubscriberArrayOutput() ResponsePlaySubscriberArrayOutput

func (ResponsePlaySubscriberArrayOutput) ToResponsePlaySubscriberArrayOutputWithContext added in v1.5.0

func (o ResponsePlaySubscriberArrayOutput) ToResponsePlaySubscriberArrayOutputWithContext(ctx context.Context) ResponsePlaySubscriberArrayOutput

type ResponsePlaySubscriberInput added in v1.5.0

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 added in v1.5.0

type ResponsePlaySubscriberOutput struct{ *pulumi.OutputState }

func (ResponsePlaySubscriberOutput) ElementType added in v1.5.0

func (ResponsePlaySubscriberOutput) Id added in v1.5.0

ID of the user defined as the responder

func (ResponsePlaySubscriberOutput) ToResponsePlaySubscriberOutput added in v1.5.0

func (o ResponsePlaySubscriberOutput) ToResponsePlaySubscriberOutput() ResponsePlaySubscriberOutput

func (ResponsePlaySubscriberOutput) ToResponsePlaySubscriberOutputWithContext added in v1.5.0

func (o ResponsePlaySubscriberOutput) ToResponsePlaySubscriberOutputWithContext(ctx context.Context) ResponsePlaySubscriberOutput

func (ResponsePlaySubscriberOutput) Type added in v1.5.0

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

[Rulesets](https://support.pagerduty.com/docs/rulesets) allow you to route events to an endpoint and create collections of event rules, which define sets of actions to take based on event content.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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 added in v1.2.1

func (*Ruleset) ElementType() reflect.Type

func (*Ruleset) ToRulesetOutput added in v1.2.1

func (i *Ruleset) ToRulesetOutput() RulesetOutput

func (*Ruleset) ToRulesetOutputWithContext added in v1.2.1

func (i *Ruleset) ToRulesetOutputWithContext(ctx context.Context) RulesetOutput

func (*Ruleset) ToRulesetPtrOutput added in v1.3.1

func (i *Ruleset) ToRulesetPtrOutput() RulesetPtrOutput

func (*Ruleset) ToRulesetPtrOutputWithContext added in v1.3.1

func (i *Ruleset) ToRulesetPtrOutputWithContext(ctx context.Context) RulesetPtrOutput

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 added in v1.3.1

type RulesetArray []RulesetInput

func (RulesetArray) ElementType added in v1.3.1

func (RulesetArray) ElementType() reflect.Type

func (RulesetArray) ToRulesetArrayOutput added in v1.3.1

func (i RulesetArray) ToRulesetArrayOutput() RulesetArrayOutput

func (RulesetArray) ToRulesetArrayOutputWithContext added in v1.3.1

func (i RulesetArray) ToRulesetArrayOutputWithContext(ctx context.Context) RulesetArrayOutput

type RulesetArrayInput added in v1.3.1

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 added in v1.3.1

type RulesetArrayOutput struct{ *pulumi.OutputState }

func (RulesetArrayOutput) ElementType added in v1.3.1

func (RulesetArrayOutput) ElementType() reflect.Type

func (RulesetArrayOutput) Index added in v1.3.1

func (RulesetArrayOutput) ToRulesetArrayOutput added in v1.3.1

func (o RulesetArrayOutput) ToRulesetArrayOutput() RulesetArrayOutput

func (RulesetArrayOutput) ToRulesetArrayOutputWithContext added in v1.3.1

func (o RulesetArrayOutput) ToRulesetArrayOutputWithContext(ctx context.Context) RulesetArrayOutput

type RulesetInput added in v1.2.1

type RulesetInput interface {
	pulumi.Input

	ToRulesetOutput() RulesetOutput
	ToRulesetOutputWithContext(ctx context.Context) RulesetOutput
}

type RulesetMap added in v1.3.1

type RulesetMap map[string]RulesetInput

func (RulesetMap) ElementType added in v1.3.1

func (RulesetMap) ElementType() reflect.Type

func (RulesetMap) ToRulesetMapOutput added in v1.3.1

func (i RulesetMap) ToRulesetMapOutput() RulesetMapOutput

func (RulesetMap) ToRulesetMapOutputWithContext added in v1.3.1

func (i RulesetMap) ToRulesetMapOutputWithContext(ctx context.Context) RulesetMapOutput

type RulesetMapInput added in v1.3.1

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 added in v1.3.1

type RulesetMapOutput struct{ *pulumi.OutputState }

func (RulesetMapOutput) ElementType added in v1.3.1

func (RulesetMapOutput) ElementType() reflect.Type

func (RulesetMapOutput) MapIndex added in v1.3.1

func (RulesetMapOutput) ToRulesetMapOutput added in v1.3.1

func (o RulesetMapOutput) ToRulesetMapOutput() RulesetMapOutput

func (RulesetMapOutput) ToRulesetMapOutputWithContext added in v1.3.1

func (o RulesetMapOutput) ToRulesetMapOutputWithContext(ctx context.Context) RulesetMapOutput

type RulesetOutput added in v1.2.1

type RulesetOutput struct {
	*pulumi.OutputState
}

func (RulesetOutput) ElementType added in v1.2.1

func (RulesetOutput) ElementType() reflect.Type

func (RulesetOutput) ToRulesetOutput added in v1.2.1

func (o RulesetOutput) ToRulesetOutput() RulesetOutput

func (RulesetOutput) ToRulesetOutputWithContext added in v1.2.1

func (o RulesetOutput) ToRulesetOutputWithContext(ctx context.Context) RulesetOutput

func (RulesetOutput) ToRulesetPtrOutput added in v1.3.1

func (o RulesetOutput) ToRulesetPtrOutput() RulesetPtrOutput

func (RulesetOutput) ToRulesetPtrOutputWithContext added in v1.3.1

func (o RulesetOutput) ToRulesetPtrOutputWithContext(ctx context.Context) RulesetPtrOutput

type RulesetPtrInput added in v1.3.1

type RulesetPtrInput interface {
	pulumi.Input

	ToRulesetPtrOutput() RulesetPtrOutput
	ToRulesetPtrOutputWithContext(ctx context.Context) RulesetPtrOutput
}

type RulesetPtrOutput added in v1.3.1

type RulesetPtrOutput struct {
	*pulumi.OutputState
}

func (RulesetPtrOutput) ElementType added in v1.3.1

func (RulesetPtrOutput) ElementType() reflect.Type

func (RulesetPtrOutput) ToRulesetPtrOutput added in v1.3.1

func (o RulesetPtrOutput) ToRulesetPtrOutput() RulesetPtrOutput

func (RulesetPtrOutput) ToRulesetPtrOutputWithContext added in v1.3.1

func (o RulesetPtrOutput) ToRulesetPtrOutputWithContext(ctx context.Context) RulesetPtrOutput

type RulesetRule

type RulesetRule struct {
	pulumi.CustomResourceState

	// Actions to apply to an event if the conditions match.
	Actions RulesetRuleActionsPtrOutput `pulumi:"actions"`
	// 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"`
}

An [event rule](https://support.pagerduty.com/docs/rulesets#section-create-event-rules) allows you to set actions that should be taken on events that meet your designated rule criteria.

## Import

Ruleset rules can be imported using 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 added in v1.2.1

func (*RulesetRule) ElementType() reflect.Type

func (*RulesetRule) ToRulesetRuleOutput added in v1.2.1

func (i *RulesetRule) ToRulesetRuleOutput() RulesetRuleOutput

func (*RulesetRule) ToRulesetRuleOutputWithContext added in v1.2.1

func (i *RulesetRule) ToRulesetRuleOutputWithContext(ctx context.Context) RulesetRuleOutput

func (*RulesetRule) ToRulesetRulePtrOutput added in v1.3.1

func (i *RulesetRule) ToRulesetRulePtrOutput() RulesetRulePtrOutput

func (*RulesetRule) ToRulesetRulePtrOutputWithContext added in v1.3.1

func (i *RulesetRule) ToRulesetRulePtrOutputWithContext(ctx context.Context) RulesetRulePtrOutput

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`,`error`,`warning`, 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`,`error`,`warning`, 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).
	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.
	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).
	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.
	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).

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.

func (RulesetRuleActionsExtractionOutput) Template added in v1.5.0

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`,`error`,`warning`, 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 added in v1.5.0

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`,`error`,`warning`, 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 added in v1.5.0

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 `minutes`,`hours`, or `days` that 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 `minutes`,`hours`, or `days` that 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 `minutes`,`hours`, or `days` that 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 added in v1.5.0

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 added in v1.5.0

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 added in v1.5.0

func (RulesetRuleActionsSuspendArgs) ToRulesetRuleActionsSuspendOutput added in v1.5.0

func (i RulesetRuleActionsSuspendArgs) ToRulesetRuleActionsSuspendOutput() RulesetRuleActionsSuspendOutput

func (RulesetRuleActionsSuspendArgs) ToRulesetRuleActionsSuspendOutputWithContext added in v1.5.0

func (i RulesetRuleActionsSuspendArgs) ToRulesetRuleActionsSuspendOutputWithContext(ctx context.Context) RulesetRuleActionsSuspendOutput

type RulesetRuleActionsSuspendArray added in v1.5.0

type RulesetRuleActionsSuspendArray []RulesetRuleActionsSuspendInput

func (RulesetRuleActionsSuspendArray) ElementType added in v1.5.0

func (RulesetRuleActionsSuspendArray) ToRulesetRuleActionsSuspendArrayOutput added in v1.5.0

func (i RulesetRuleActionsSuspendArray) ToRulesetRuleActionsSuspendArrayOutput() RulesetRuleActionsSuspendArrayOutput

func (RulesetRuleActionsSuspendArray) ToRulesetRuleActionsSuspendArrayOutputWithContext added in v1.5.0

func (i RulesetRuleActionsSuspendArray) ToRulesetRuleActionsSuspendArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSuspendArrayOutput

type RulesetRuleActionsSuspendArrayInput added in v1.5.0

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 added in v1.5.0

type RulesetRuleActionsSuspendArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsSuspendArrayOutput) ElementType added in v1.5.0

func (RulesetRuleActionsSuspendArrayOutput) Index added in v1.5.0

func (RulesetRuleActionsSuspendArrayOutput) ToRulesetRuleActionsSuspendArrayOutput added in v1.5.0

func (o RulesetRuleActionsSuspendArrayOutput) ToRulesetRuleActionsSuspendArrayOutput() RulesetRuleActionsSuspendArrayOutput

func (RulesetRuleActionsSuspendArrayOutput) ToRulesetRuleActionsSuspendArrayOutputWithContext added in v1.5.0

func (o RulesetRuleActionsSuspendArrayOutput) ToRulesetRuleActionsSuspendArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSuspendArrayOutput

type RulesetRuleActionsSuspendInput added in v1.5.0

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 added in v1.5.0

type RulesetRuleActionsSuspendOutput struct{ *pulumi.OutputState }

func (RulesetRuleActionsSuspendOutput) ElementType added in v1.5.0

func (RulesetRuleActionsSuspendOutput) ToRulesetRuleActionsSuspendOutput added in v1.5.0

func (o RulesetRuleActionsSuspendOutput) ToRulesetRuleActionsSuspendOutput() RulesetRuleActionsSuspendOutput

func (RulesetRuleActionsSuspendOutput) ToRulesetRuleActionsSuspendOutputWithContext added in v1.5.0

func (o RulesetRuleActionsSuspendOutput) ToRulesetRuleActionsSuspendOutputWithContext(ctx context.Context) RulesetRuleActionsSuspendOutput

func (RulesetRuleActionsSuspendOutput) Value added in v1.5.0

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
	// 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 added in v1.3.1

type RulesetRuleArray []RulesetRuleInput

func (RulesetRuleArray) ElementType added in v1.3.1

func (RulesetRuleArray) ElementType() reflect.Type

func (RulesetRuleArray) ToRulesetRuleArrayOutput added in v1.3.1

func (i RulesetRuleArray) ToRulesetRuleArrayOutput() RulesetRuleArrayOutput

func (RulesetRuleArray) ToRulesetRuleArrayOutputWithContext added in v1.3.1

func (i RulesetRuleArray) ToRulesetRuleArrayOutputWithContext(ctx context.Context) RulesetRuleArrayOutput

type RulesetRuleArrayInput added in v1.3.1

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 added in v1.3.1

type RulesetRuleArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleArrayOutput) ElementType added in v1.3.1

func (RulesetRuleArrayOutput) ElementType() reflect.Type

func (RulesetRuleArrayOutput) Index added in v1.3.1

func (RulesetRuleArrayOutput) ToRulesetRuleArrayOutput added in v1.3.1

func (o RulesetRuleArrayOutput) ToRulesetRuleArrayOutput() RulesetRuleArrayOutput

func (RulesetRuleArrayOutput) ToRulesetRuleArrayOutputWithContext added in v1.3.1

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 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 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 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 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 added in v1.2.1

type RulesetRuleInput interface {
	pulumi.Input

	ToRulesetRuleOutput() RulesetRuleOutput
	ToRulesetRuleOutputWithContext(ctx context.Context) RulesetRuleOutput
}

type RulesetRuleMap added in v1.3.1

type RulesetRuleMap map[string]RulesetRuleInput

func (RulesetRuleMap) ElementType added in v1.3.1

func (RulesetRuleMap) ElementType() reflect.Type

func (RulesetRuleMap) ToRulesetRuleMapOutput added in v1.3.1

func (i RulesetRuleMap) ToRulesetRuleMapOutput() RulesetRuleMapOutput

func (RulesetRuleMap) ToRulesetRuleMapOutputWithContext added in v1.3.1

func (i RulesetRuleMap) ToRulesetRuleMapOutputWithContext(ctx context.Context) RulesetRuleMapOutput

type RulesetRuleMapInput added in v1.3.1

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 added in v1.3.1

type RulesetRuleMapOutput struct{ *pulumi.OutputState }

func (RulesetRuleMapOutput) ElementType added in v1.3.1

func (RulesetRuleMapOutput) ElementType() reflect.Type

func (RulesetRuleMapOutput) MapIndex added in v1.3.1

func (RulesetRuleMapOutput) ToRulesetRuleMapOutput added in v1.3.1

func (o RulesetRuleMapOutput) ToRulesetRuleMapOutput() RulesetRuleMapOutput

func (RulesetRuleMapOutput) ToRulesetRuleMapOutputWithContext added in v1.3.1

func (o RulesetRuleMapOutput) ToRulesetRuleMapOutputWithContext(ctx context.Context) RulesetRuleMapOutput

type RulesetRuleOutput added in v1.2.1

type RulesetRuleOutput struct {
	*pulumi.OutputState
}

func (RulesetRuleOutput) ElementType added in v1.2.1

func (RulesetRuleOutput) ElementType() reflect.Type

func (RulesetRuleOutput) ToRulesetRuleOutput added in v1.2.1

func (o RulesetRuleOutput) ToRulesetRuleOutput() RulesetRuleOutput

func (RulesetRuleOutput) ToRulesetRuleOutputWithContext added in v1.2.1

func (o RulesetRuleOutput) ToRulesetRuleOutputWithContext(ctx context.Context) RulesetRuleOutput

func (RulesetRuleOutput) ToRulesetRulePtrOutput added in v1.3.1

func (o RulesetRuleOutput) ToRulesetRulePtrOutput() RulesetRulePtrOutput

func (RulesetRuleOutput) ToRulesetRulePtrOutputWithContext added in v1.3.1

func (o RulesetRuleOutput) ToRulesetRulePtrOutputWithContext(ctx context.Context) RulesetRulePtrOutput

type RulesetRulePtrInput added in v1.3.1

type RulesetRulePtrInput interface {
	pulumi.Input

	ToRulesetRulePtrOutput() RulesetRulePtrOutput
	ToRulesetRulePtrOutputWithContext(ctx context.Context) RulesetRulePtrOutput
}

type RulesetRulePtrOutput added in v1.3.1

type RulesetRulePtrOutput struct {
	*pulumi.OutputState
}

func (RulesetRulePtrOutput) ElementType added in v1.3.1

func (RulesetRulePtrOutput) ElementType() reflect.Type

func (RulesetRulePtrOutput) ToRulesetRulePtrOutput added in v1.3.1

func (o RulesetRulePtrOutput) ToRulesetRulePtrOutput() RulesetRulePtrOutput

func (RulesetRulePtrOutput) ToRulesetRulePtrOutputWithContext added in v1.3.1

func (o RulesetRulePtrOutput) ToRulesetRulePtrOutputWithContext(ctx context.Context) RulesetRulePtrOutput

type RulesetRuleState

type RulesetRuleState struct {
	// Actions to apply to an event if the conditions match.
	Actions RulesetRuleActionsPtrInput
	// 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 {
	// 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 RulesetRuleTimeFrameActiveBetweenArgs

type RulesetRuleTimeFrameActiveBetweenArgs 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 (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

Ending of the scheduled time when the rule should execute. Unix timestamp in milliseconds.

func (RulesetRuleTimeFrameActiveBetweenOutput) 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 (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.  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 RulesetRuleTimeFrameScheduledWeeklyArgs

type RulesetRuleTimeFrameScheduledWeeklyArgs 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 (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. Unix timestamp in milliseconds.

func (RulesetRuleTimeFrameScheduledWeeklyOutput) ElementType

func (RulesetRuleTimeFrameScheduledWeeklyOutput) 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 (RulesetRuleTimeFrameScheduledWeeklyOutput) Timezone

Timezone for the given schedule.

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 added in v1.5.0

type RulesetRuleVariable struct {
	Name       *string                        `pulumi:"name"`
	Parameters []RulesetRuleVariableParameter `pulumi:"parameters"`
	Type       *string                        `pulumi:"type"`
}

type RulesetRuleVariableArgs added in v1.5.0

type RulesetRuleVariableArgs struct {
	Name       pulumi.StringPtrInput                  `pulumi:"name"`
	Parameters RulesetRuleVariableParameterArrayInput `pulumi:"parameters"`
	Type       pulumi.StringPtrInput                  `pulumi:"type"`
}

func (RulesetRuleVariableArgs) ElementType added in v1.5.0

func (RulesetRuleVariableArgs) ElementType() reflect.Type

func (RulesetRuleVariableArgs) ToRulesetRuleVariableOutput added in v1.5.0

func (i RulesetRuleVariableArgs) ToRulesetRuleVariableOutput() RulesetRuleVariableOutput

func (RulesetRuleVariableArgs) ToRulesetRuleVariableOutputWithContext added in v1.5.0

func (i RulesetRuleVariableArgs) ToRulesetRuleVariableOutputWithContext(ctx context.Context) RulesetRuleVariableOutput

type RulesetRuleVariableArray added in v1.5.0

type RulesetRuleVariableArray []RulesetRuleVariableInput

func (RulesetRuleVariableArray) ElementType added in v1.5.0

func (RulesetRuleVariableArray) ElementType() reflect.Type

func (RulesetRuleVariableArray) ToRulesetRuleVariableArrayOutput added in v1.5.0

func (i RulesetRuleVariableArray) ToRulesetRuleVariableArrayOutput() RulesetRuleVariableArrayOutput

func (RulesetRuleVariableArray) ToRulesetRuleVariableArrayOutputWithContext added in v1.5.0

func (i RulesetRuleVariableArray) ToRulesetRuleVariableArrayOutputWithContext(ctx context.Context) RulesetRuleVariableArrayOutput

type RulesetRuleVariableArrayInput added in v1.5.0

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 added in v1.5.0

type RulesetRuleVariableArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleVariableArrayOutput) ElementType added in v1.5.0

func (RulesetRuleVariableArrayOutput) Index added in v1.5.0

func (RulesetRuleVariableArrayOutput) ToRulesetRuleVariableArrayOutput added in v1.5.0

func (o RulesetRuleVariableArrayOutput) ToRulesetRuleVariableArrayOutput() RulesetRuleVariableArrayOutput

func (RulesetRuleVariableArrayOutput) ToRulesetRuleVariableArrayOutputWithContext added in v1.5.0

func (o RulesetRuleVariableArrayOutput) ToRulesetRuleVariableArrayOutputWithContext(ctx context.Context) RulesetRuleVariableArrayOutput

type RulesetRuleVariableInput added in v1.5.0

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 added in v1.5.0

type RulesetRuleVariableOutput struct{ *pulumi.OutputState }

func (RulesetRuleVariableOutput) ElementType added in v1.5.0

func (RulesetRuleVariableOutput) ElementType() reflect.Type

func (RulesetRuleVariableOutput) Name added in v1.5.0

func (RulesetRuleVariableOutput) Parameters added in v1.5.0

func (RulesetRuleVariableOutput) ToRulesetRuleVariableOutput added in v1.5.0

func (o RulesetRuleVariableOutput) ToRulesetRuleVariableOutput() RulesetRuleVariableOutput

func (RulesetRuleVariableOutput) ToRulesetRuleVariableOutputWithContext added in v1.5.0

func (o RulesetRuleVariableOutput) ToRulesetRuleVariableOutputWithContext(ctx context.Context) RulesetRuleVariableOutput

func (RulesetRuleVariableOutput) Type added in v1.5.0

type RulesetRuleVariableParameter added in v1.5.0

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 added in v1.5.0

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 added in v1.5.0

func (RulesetRuleVariableParameterArgs) ToRulesetRuleVariableParameterOutput added in v1.5.0

func (i RulesetRuleVariableParameterArgs) ToRulesetRuleVariableParameterOutput() RulesetRuleVariableParameterOutput

func (RulesetRuleVariableParameterArgs) ToRulesetRuleVariableParameterOutputWithContext added in v1.5.0

func (i RulesetRuleVariableParameterArgs) ToRulesetRuleVariableParameterOutputWithContext(ctx context.Context) RulesetRuleVariableParameterOutput

type RulesetRuleVariableParameterArray added in v1.5.0

type RulesetRuleVariableParameterArray []RulesetRuleVariableParameterInput

func (RulesetRuleVariableParameterArray) ElementType added in v1.5.0

func (RulesetRuleVariableParameterArray) ToRulesetRuleVariableParameterArrayOutput added in v1.5.0

func (i RulesetRuleVariableParameterArray) ToRulesetRuleVariableParameterArrayOutput() RulesetRuleVariableParameterArrayOutput

func (RulesetRuleVariableParameterArray) ToRulesetRuleVariableParameterArrayOutputWithContext added in v1.5.0

func (i RulesetRuleVariableParameterArray) ToRulesetRuleVariableParameterArrayOutputWithContext(ctx context.Context) RulesetRuleVariableParameterArrayOutput

type RulesetRuleVariableParameterArrayInput added in v1.5.0

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 added in v1.5.0

type RulesetRuleVariableParameterArrayOutput struct{ *pulumi.OutputState }

func (RulesetRuleVariableParameterArrayOutput) ElementType added in v1.5.0

func (RulesetRuleVariableParameterArrayOutput) Index added in v1.5.0

func (RulesetRuleVariableParameterArrayOutput) ToRulesetRuleVariableParameterArrayOutput added in v1.5.0

func (o RulesetRuleVariableParameterArrayOutput) ToRulesetRuleVariableParameterArrayOutput() RulesetRuleVariableParameterArrayOutput

func (RulesetRuleVariableParameterArrayOutput) ToRulesetRuleVariableParameterArrayOutputWithContext added in v1.5.0

func (o RulesetRuleVariableParameterArrayOutput) ToRulesetRuleVariableParameterArrayOutputWithContext(ctx context.Context) RulesetRuleVariableParameterArrayOutput

type RulesetRuleVariableParameterInput added in v1.5.0

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 added in v1.5.0

type RulesetRuleVariableParameterOutput struct{ *pulumi.OutputState }

func (RulesetRuleVariableParameterOutput) ElementType added in v1.5.0

func (RulesetRuleVariableParameterOutput) Path added in v1.5.0

func (RulesetRuleVariableParameterOutput) ToRulesetRuleVariableParameterOutput added in v1.5.0

func (o RulesetRuleVariableParameterOutput) ToRulesetRuleVariableParameterOutput() RulesetRuleVariableParameterOutput

func (RulesetRuleVariableParameterOutput) ToRulesetRuleVariableParameterOutputWithContext added in v1.5.0

func (o RulesetRuleVariableParameterOutput) ToRulesetRuleVariableParameterOutputWithContext(ctx context.Context) RulesetRuleVariableParameterOutput

func (RulesetRuleVariableParameterOutput) Value added in v1.5.0

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.StringPtrOutput `pulumi:"description"`
	// 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"`
	// The time zone of the schedule (e.g Europe/Berlin).
	TimeZone pulumi.StringOutput `pulumi:"timeZone"`
}

A [schedule](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Schedules/get_schedules) determines the time periods that users are on call. Only on-call users are eligible to receive notifications from incidents.

## 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 added in v1.2.1

func (*Schedule) ElementType() reflect.Type

func (*Schedule) ToScheduleOutput added in v1.2.1

func (i *Schedule) ToScheduleOutput() ScheduleOutput

func (*Schedule) ToScheduleOutputWithContext added in v1.2.1

func (i *Schedule) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput

func (*Schedule) ToSchedulePtrOutput added in v1.3.1

func (i *Schedule) ToSchedulePtrOutput() SchedulePtrOutput

func (*Schedule) ToSchedulePtrOutputWithContext added in v1.3.1

func (i *Schedule) ToSchedulePtrOutputWithContext(ctx context.Context) SchedulePtrOutput

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
	// 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 added in v1.3.1

type ScheduleArray []ScheduleInput

func (ScheduleArray) ElementType added in v1.3.1

func (ScheduleArray) ElementType() reflect.Type

func (ScheduleArray) ToScheduleArrayOutput added in v1.3.1

func (i ScheduleArray) ToScheduleArrayOutput() ScheduleArrayOutput

func (ScheduleArray) ToScheduleArrayOutputWithContext added in v1.3.1

func (i ScheduleArray) ToScheduleArrayOutputWithContext(ctx context.Context) ScheduleArrayOutput

type ScheduleArrayInput added in v1.3.1

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 added in v1.3.1

type ScheduleArrayOutput struct{ *pulumi.OutputState }

func (ScheduleArrayOutput) ElementType added in v1.3.1

func (ScheduleArrayOutput) ElementType() reflect.Type

func (ScheduleArrayOutput) Index added in v1.3.1

func (ScheduleArrayOutput) ToScheduleArrayOutput added in v1.3.1

func (o ScheduleArrayOutput) ToScheduleArrayOutput() ScheduleArrayOutput

func (ScheduleArrayOutput) ToScheduleArrayOutputWithContext added in v1.3.1

func (o ScheduleArrayOutput) ToScheduleArrayOutputWithContext(ctx context.Context) ScheduleArrayOutput

type ScheduleInput added in v1.2.1

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"`
	// 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. This value will not be read back from the PagerDuty API because the API will always return a new `start` time, which represents the last updated 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"`
	// 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. This value will not be read back from the PagerDuty API because the API will always return a new `start` time, which represents the last updated 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) 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. This value will not be read back from the PagerDuty API because the API will always return a new `start` time, which represents the last updated 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 added in v1.3.1

type ScheduleMap map[string]ScheduleInput

func (ScheduleMap) ElementType added in v1.3.1

func (ScheduleMap) ElementType() reflect.Type

func (ScheduleMap) ToScheduleMapOutput added in v1.3.1

func (i ScheduleMap) ToScheduleMapOutput() ScheduleMapOutput

func (ScheduleMap) ToScheduleMapOutputWithContext added in v1.3.1

func (i ScheduleMap) ToScheduleMapOutputWithContext(ctx context.Context) ScheduleMapOutput

type ScheduleMapInput added in v1.3.1

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 added in v1.3.1

type ScheduleMapOutput struct{ *pulumi.OutputState }

func (ScheduleMapOutput) ElementType added in v1.3.1

func (ScheduleMapOutput) ElementType() reflect.Type

func (ScheduleMapOutput) MapIndex added in v1.3.1

func (ScheduleMapOutput) ToScheduleMapOutput added in v1.3.1

func (o ScheduleMapOutput) ToScheduleMapOutput() ScheduleMapOutput

func (ScheduleMapOutput) ToScheduleMapOutputWithContext added in v1.3.1

func (o ScheduleMapOutput) ToScheduleMapOutputWithContext(ctx context.Context) ScheduleMapOutput

type ScheduleOutput added in v1.2.1

type ScheduleOutput struct {
	*pulumi.OutputState
}

func (ScheduleOutput) ElementType added in v1.2.1

func (ScheduleOutput) ElementType() reflect.Type

func (ScheduleOutput) ToScheduleOutput added in v1.2.1

func (o ScheduleOutput) ToScheduleOutput() ScheduleOutput

func (ScheduleOutput) ToScheduleOutputWithContext added in v1.2.1

func (o ScheduleOutput) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput

func (ScheduleOutput) ToSchedulePtrOutput added in v1.3.1

func (o ScheduleOutput) ToSchedulePtrOutput() SchedulePtrOutput

func (ScheduleOutput) ToSchedulePtrOutputWithContext added in v1.3.1

func (o ScheduleOutput) ToSchedulePtrOutputWithContext(ctx context.Context) SchedulePtrOutput

type SchedulePtrInput added in v1.3.1

type SchedulePtrInput interface {
	pulumi.Input

	ToSchedulePtrOutput() SchedulePtrOutput
	ToSchedulePtrOutputWithContext(ctx context.Context) SchedulePtrOutput
}

type SchedulePtrOutput added in v1.3.1

type SchedulePtrOutput struct {
	*pulumi.OutputState
}

func (SchedulePtrOutput) ElementType added in v1.3.1

func (SchedulePtrOutput) ElementType() reflect.Type

func (SchedulePtrOutput) ToSchedulePtrOutput added in v1.3.1

func (o SchedulePtrOutput) ToSchedulePtrOutput() SchedulePtrOutput

func (SchedulePtrOutput) ToSchedulePtrOutputWithContext added in v1.3.1

func (o SchedulePtrOutput) ToSchedulePtrOutputWithContext(ctx context.Context) SchedulePtrOutput

type ScheduleState

type ScheduleState 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
	// 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.
	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"`
	// 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.
	AlertGrouping pulumi.StringPtrOutput `pulumi:"alertGrouping"`
	// 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`.
	AlertGroupingTimeout pulumi.IntPtrOutput `pulumi:"alertGroupingTimeout"`
	// 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"`
	CreatedAt          pulumi.StringOutput    `pulumi:"createdAt"`
	Description        pulumi.StringPtrOutput `pulumi:"description"`
	// The escalation policy used by this service.
	EscalationPolicy      pulumi.StringOutput              `pulumi:"escalationPolicy"`
	HtmlUrl               pulumi.StringOutput              `pulumi:"htmlUrl"`
	IncidentUrgencyRule   ServiceIncidentUrgencyRuleOutput `pulumi:"incidentUrgencyRule"`
	LastIncidentTimestamp pulumi.StringOutput              `pulumi:"lastIncidentTimestamp"`
	// The name of the service.
	Name             pulumi.StringOutput               `pulumi:"name"`
	ScheduledActions ServiceScheduledActionArrayOutput `pulumi:"scheduledActions"`
	Status           pulumi.StringOutput               `pulumi:"status"`
	SupportHours     ServiceSupportHoursPtrOutput      `pulumi:"supportHours"`
}

A [service](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Services/get_services) 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.

## 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 added in v1.2.1

func (*Service) ElementType() reflect.Type

func (*Service) ToServiceOutput added in v1.2.1

func (i *Service) ToServiceOutput() ServiceOutput

func (*Service) ToServiceOutputWithContext added in v1.2.1

func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

func (*Service) ToServicePtrOutput added in v1.3.1

func (i *Service) ToServicePtrOutput() ServicePtrOutput

func (*Service) ToServicePtrOutputWithContext added in v1.3.1

func (i *Service) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput

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.
	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
	// 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.
	AlertGrouping pulumi.StringPtrInput
	// 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`.
	AlertGroupingTimeout pulumi.IntPtrInput
	// 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
	ScheduledActions ServiceScheduledActionArrayInput
	SupportHours     ServiceSupportHoursPtrInput
}

The set of arguments for constructing a Service resource.

func (ServiceArgs) ElementType

func (ServiceArgs) ElementType() reflect.Type

type ServiceArray added in v1.3.1

type ServiceArray []ServiceInput

func (ServiceArray) ElementType added in v1.3.1

func (ServiceArray) ElementType() reflect.Type

func (ServiceArray) ToServiceArrayOutput added in v1.3.1

func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArray) ToServiceArrayOutputWithContext added in v1.3.1

func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceArrayInput added in v1.3.1

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 added in v1.3.1

type ServiceArrayOutput struct{ *pulumi.OutputState }

func (ServiceArrayOutput) ElementType added in v1.3.1

func (ServiceArrayOutput) ElementType() reflect.Type

func (ServiceArrayOutput) Index added in v1.3.1

func (ServiceArrayOutput) ToServiceArrayOutput added in v1.3.1

func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArrayOutput) ToServiceArrayOutputWithContext added in v1.3.1

func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceDependency

type ServiceDependency struct {
	pulumi.CustomResourceState

	// The relationship between the `supportingService` and `dependentService`.
	Dependencies ServiceDependencyDependencyArrayOutput `pulumi:"dependencies"`
}

A [service dependency](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1service_dependencies~1associate/post) 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/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewServiceDependency(ctx, "foo", &pagerduty.ServiceDependencyArgs{
			Dependencies: pagerduty.ServiceDependencyDependencyArray{
				&pagerduty.ServiceDependencyDependencyArgs{
					DependentServices: pagerduty.ServiceDependencyDependencyDependentServiceArray{
						&pagerduty.ServiceDependencyDependencyDependentServiceArgs{
							Id:   pulumi.Any(pagerduty_business_service.Foo.Id),
							Type: pulumi.String("business_service"),
						},
					},
					SupportingServices: pagerduty.ServiceDependencyDependencySupportingServiceArray{
						&pagerduty.ServiceDependencyDependencySupportingServiceArgs{
							Id:   pulumi.Any(pagerduty_service.Foo.Id),
							Type: pulumi.String("service"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = pagerduty.NewServiceDependency(ctx, "bar", &pagerduty.ServiceDependencyArgs{
			Dependencies: pagerduty.ServiceDependencyDependencyArray{
				&pagerduty.ServiceDependencyDependencyArgs{
					DependentServices: pagerduty.ServiceDependencyDependencyDependentServiceArray{
						&pagerduty.ServiceDependencyDependencyDependentServiceArgs{
							Id:   pulumi.Any(pagerduty_business_service.Foo.Id),
							Type: pulumi.String("business_service"),
						},
					},
					SupportingServices: pagerduty.ServiceDependencyDependencySupportingServiceArray{
						&pagerduty.ServiceDependencyDependencySupportingServiceArgs{
							Id:   pulumi.Any(pagerduty_service.Two.Id),
							Type: pulumi.String("service"),
						},
					},
				},
			},
		})
		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 added in v1.2.1

func (*ServiceDependency) ElementType() reflect.Type

func (*ServiceDependency) ToServiceDependencyOutput added in v1.2.1

func (i *ServiceDependency) ToServiceDependencyOutput() ServiceDependencyOutput

func (*ServiceDependency) ToServiceDependencyOutputWithContext added in v1.2.1

func (i *ServiceDependency) ToServiceDependencyOutputWithContext(ctx context.Context) ServiceDependencyOutput

func (*ServiceDependency) ToServiceDependencyPtrOutput added in v1.3.1

func (i *ServiceDependency) ToServiceDependencyPtrOutput() ServiceDependencyPtrOutput

func (*ServiceDependency) ToServiceDependencyPtrOutputWithContext added in v1.3.1

func (i *ServiceDependency) ToServiceDependencyPtrOutputWithContext(ctx context.Context) ServiceDependencyPtrOutput

type ServiceDependencyArgs

type ServiceDependencyArgs struct {
	// The relationship between the `supportingService` and `dependentService`.
	Dependencies ServiceDependencyDependencyArrayInput
}

The set of arguments for constructing a ServiceDependency resource.

func (ServiceDependencyArgs) ElementType

func (ServiceDependencyArgs) ElementType() reflect.Type

type ServiceDependencyArray added in v1.3.1

type ServiceDependencyArray []ServiceDependencyInput

func (ServiceDependencyArray) ElementType added in v1.3.1

func (ServiceDependencyArray) ElementType() reflect.Type

func (ServiceDependencyArray) ToServiceDependencyArrayOutput added in v1.3.1

func (i ServiceDependencyArray) ToServiceDependencyArrayOutput() ServiceDependencyArrayOutput

func (ServiceDependencyArray) ToServiceDependencyArrayOutputWithContext added in v1.3.1

func (i ServiceDependencyArray) ToServiceDependencyArrayOutputWithContext(ctx context.Context) ServiceDependencyArrayOutput

type ServiceDependencyArrayInput added in v1.3.1

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 added in v1.3.1

type ServiceDependencyArrayOutput struct{ *pulumi.OutputState }

func (ServiceDependencyArrayOutput) ElementType added in v1.3.1

func (ServiceDependencyArrayOutput) Index added in v1.3.1

func (ServiceDependencyArrayOutput) ToServiceDependencyArrayOutput added in v1.3.1

func (o ServiceDependencyArrayOutput) ToServiceDependencyArrayOutput() ServiceDependencyArrayOutput

func (ServiceDependencyArrayOutput) ToServiceDependencyArrayOutputWithContext added in v1.3.1

func (o ServiceDependencyArrayOutput) ToServiceDependencyArrayOutputWithContext(ctx context.Context) ServiceDependencyArrayOutput

type ServiceDependencyDependency

type ServiceDependencyDependency struct {
	// The service that id dependent on the supporting service.
	DependentServices []ServiceDependencyDependencyDependentService `pulumi:"dependentServices"`
	// The service that supports  the  dependent service.
	SupportingServices []ServiceDependencyDependencySupportingService `pulumi:"supportingServices"`
	Type               *string                                        `pulumi:"type"`
}

type ServiceDependencyDependencyArgs

type ServiceDependencyDependencyArgs struct {
	// The service that id dependent on the supporting service.
	DependentServices ServiceDependencyDependencyDependentServiceArrayInput `pulumi:"dependentServices"`
	// The service that supports  the  dependent service.
	SupportingServices ServiceDependencyDependencySupportingServiceArrayInput `pulumi:"supportingServices"`
	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

type ServiceDependencyDependencyArray

type ServiceDependencyDependencyArray []ServiceDependencyDependencyInput

func (ServiceDependencyDependencyArray) ElementType

func (ServiceDependencyDependencyArray) ToServiceDependencyDependencyArrayOutput

func (i ServiceDependencyDependencyArray) ToServiceDependencyDependencyArrayOutput() ServiceDependencyDependencyArrayOutput

func (ServiceDependencyDependencyArray) ToServiceDependencyDependencyArrayOutputWithContext

func (i ServiceDependencyDependencyArray) ToServiceDependencyDependencyArrayOutputWithContext(ctx context.Context) ServiceDependencyDependencyArrayOutput

type ServiceDependencyDependencyArrayInput

type ServiceDependencyDependencyArrayInput interface {
	pulumi.Input

	ToServiceDependencyDependencyArrayOutput() ServiceDependencyDependencyArrayOutput
	ToServiceDependencyDependencyArrayOutputWithContext(context.Context) ServiceDependencyDependencyArrayOutput
}

ServiceDependencyDependencyArrayInput is an input type that accepts ServiceDependencyDependencyArray and ServiceDependencyDependencyArrayOutput values. You can construct a concrete instance of `ServiceDependencyDependencyArrayInput` via:

ServiceDependencyDependencyArray{ ServiceDependencyDependencyArgs{...} }

type ServiceDependencyDependencyArrayOutput

type ServiceDependencyDependencyArrayOutput struct{ *pulumi.OutputState }

func (ServiceDependencyDependencyArrayOutput) ElementType

func (ServiceDependencyDependencyArrayOutput) Index

func (ServiceDependencyDependencyArrayOutput) ToServiceDependencyDependencyArrayOutput

func (o ServiceDependencyDependencyArrayOutput) ToServiceDependencyDependencyArrayOutput() ServiceDependencyDependencyArrayOutput

func (ServiceDependencyDependencyArrayOutput) ToServiceDependencyDependencyArrayOutputWithContext

func (o ServiceDependencyDependencyArrayOutput) ToServiceDependencyDependencyArrayOutputWithContext(ctx context.Context) ServiceDependencyDependencyArrayOutput

type ServiceDependencyDependencyDependentService

type ServiceDependencyDependencyDependentService struct {
	// The ID of the service dependency.
	Id   string `pulumi:"id"`
	Type string `pulumi:"type"`
}

type ServiceDependencyDependencyDependentServiceArgs

type ServiceDependencyDependencyDependentServiceArgs struct {
	// The ID of the service dependency.
	Id   pulumi.StringInput `pulumi:"id"`
	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

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 id dependent on the supporting service.

func (ServiceDependencyDependencyOutput) ElementType

func (ServiceDependencyDependencyOutput) SupportingServices

The service that supports the dependent service.

func (ServiceDependencyDependencyOutput) ToServiceDependencyDependencyOutput

func (o ServiceDependencyDependencyOutput) ToServiceDependencyDependencyOutput() ServiceDependencyDependencyOutput

func (ServiceDependencyDependencyOutput) ToServiceDependencyDependencyOutputWithContext

func (o ServiceDependencyDependencyOutput) ToServiceDependencyDependencyOutputWithContext(ctx context.Context) ServiceDependencyDependencyOutput

func (ServiceDependencyDependencyOutput) Type

type ServiceDependencyDependencySupportingService

type ServiceDependencyDependencySupportingService struct {
	// The ID of the service dependency.
	Id   string `pulumi:"id"`
	Type string `pulumi:"type"`
}

type ServiceDependencyDependencySupportingServiceArgs

type ServiceDependencyDependencySupportingServiceArgs struct {
	// The ID of the service dependency.
	Id   pulumi.StringInput `pulumi:"id"`
	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

type ServiceDependencyInput added in v1.2.1

type ServiceDependencyInput interface {
	pulumi.Input

	ToServiceDependencyOutput() ServiceDependencyOutput
	ToServiceDependencyOutputWithContext(ctx context.Context) ServiceDependencyOutput
}

type ServiceDependencyMap added in v1.3.1

type ServiceDependencyMap map[string]ServiceDependencyInput

func (ServiceDependencyMap) ElementType added in v1.3.1

func (ServiceDependencyMap) ElementType() reflect.Type

func (ServiceDependencyMap) ToServiceDependencyMapOutput added in v1.3.1

func (i ServiceDependencyMap) ToServiceDependencyMapOutput() ServiceDependencyMapOutput

func (ServiceDependencyMap) ToServiceDependencyMapOutputWithContext added in v1.3.1

func (i ServiceDependencyMap) ToServiceDependencyMapOutputWithContext(ctx context.Context) ServiceDependencyMapOutput

type ServiceDependencyMapInput added in v1.3.1

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 added in v1.3.1

type ServiceDependencyMapOutput struct{ *pulumi.OutputState }

func (ServiceDependencyMapOutput) ElementType added in v1.3.1

func (ServiceDependencyMapOutput) ElementType() reflect.Type

func (ServiceDependencyMapOutput) MapIndex added in v1.3.1

func (ServiceDependencyMapOutput) ToServiceDependencyMapOutput added in v1.3.1

func (o ServiceDependencyMapOutput) ToServiceDependencyMapOutput() ServiceDependencyMapOutput

func (ServiceDependencyMapOutput) ToServiceDependencyMapOutputWithContext added in v1.3.1

func (o ServiceDependencyMapOutput) ToServiceDependencyMapOutputWithContext(ctx context.Context) ServiceDependencyMapOutput

type ServiceDependencyOutput added in v1.2.1

type ServiceDependencyOutput struct {
	*pulumi.OutputState
}

func (ServiceDependencyOutput) ElementType added in v1.2.1

func (ServiceDependencyOutput) ElementType() reflect.Type

func (ServiceDependencyOutput) ToServiceDependencyOutput added in v1.2.1

func (o ServiceDependencyOutput) ToServiceDependencyOutput() ServiceDependencyOutput

func (ServiceDependencyOutput) ToServiceDependencyOutputWithContext added in v1.2.1

func (o ServiceDependencyOutput) ToServiceDependencyOutputWithContext(ctx context.Context) ServiceDependencyOutput

func (ServiceDependencyOutput) ToServiceDependencyPtrOutput added in v1.3.1

func (o ServiceDependencyOutput) ToServiceDependencyPtrOutput() ServiceDependencyPtrOutput

func (ServiceDependencyOutput) ToServiceDependencyPtrOutputWithContext added in v1.3.1

func (o ServiceDependencyOutput) ToServiceDependencyPtrOutputWithContext(ctx context.Context) ServiceDependencyPtrOutput

type ServiceDependencyPtrInput added in v1.3.1

type ServiceDependencyPtrInput interface {
	pulumi.Input

	ToServiceDependencyPtrOutput() ServiceDependencyPtrOutput
	ToServiceDependencyPtrOutputWithContext(ctx context.Context) ServiceDependencyPtrOutput
}

type ServiceDependencyPtrOutput added in v1.3.1

type ServiceDependencyPtrOutput struct {
	*pulumi.OutputState
}

func (ServiceDependencyPtrOutput) ElementType added in v1.3.1

func (ServiceDependencyPtrOutput) ElementType() reflect.Type

func (ServiceDependencyPtrOutput) ToServiceDependencyPtrOutput added in v1.3.1

func (o ServiceDependencyPtrOutput) ToServiceDependencyPtrOutput() ServiceDependencyPtrOutput

func (ServiceDependencyPtrOutput) ToServiceDependencyPtrOutputWithContext added in v1.3.1

func (o ServiceDependencyPtrOutput) ToServiceDependencyPtrOutputWithContext(ctx context.Context) ServiceDependencyPtrOutput

type ServiceDependencyState

type ServiceDependencyState struct {
	// The relationship between the `supportingService` and `dependentService`.
	Dependencies ServiceDependencyDependencyArrayInput
}

func (ServiceDependencyState) ElementType

func (ServiceDependencyState) ElementType() reflect.Type

type ServiceEventRule added in v1.5.0

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

A [service event rule](https://support.pagerduty.com/docs/rulesets#service-event-rules) allows you to set actions that should be taken on events for a service that meet the designated rule criteria.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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 added in v1.5.0

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 added in v1.5.0

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 added in v1.5.0

func (*ServiceEventRule) ElementType() reflect.Type

func (*ServiceEventRule) ToServiceEventRuleOutput added in v1.5.0

func (i *ServiceEventRule) ToServiceEventRuleOutput() ServiceEventRuleOutput

func (*ServiceEventRule) ToServiceEventRuleOutputWithContext added in v1.5.0

func (i *ServiceEventRule) ToServiceEventRuleOutputWithContext(ctx context.Context) ServiceEventRuleOutput

func (*ServiceEventRule) ToServiceEventRulePtrOutput added in v1.5.0

func (i *ServiceEventRule) ToServiceEventRulePtrOutput() ServiceEventRulePtrOutput

func (*ServiceEventRule) ToServiceEventRulePtrOutputWithContext added in v1.5.0

func (i *ServiceEventRule) ToServiceEventRulePtrOutputWithContext(ctx context.Context) ServiceEventRulePtrOutput

type ServiceEventRuleActions added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleActionsAnnotate struct {
	// The value for the operation. For example, an RE2 regular expression for regex-type variables.
	Value *string `pulumi:"value"`
}

type ServiceEventRuleActionsAnnotateArgs added in v1.5.0

type ServiceEventRuleActionsAnnotateArgs struct {
	// The value for the operation. For example, an RE2 regular expression for regex-type variables.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ServiceEventRuleActionsAnnotateArgs) ElementType added in v1.5.0

func (ServiceEventRuleActionsAnnotateArgs) ToServiceEventRuleActionsAnnotateOutput added in v1.5.0

func (i ServiceEventRuleActionsAnnotateArgs) ToServiceEventRuleActionsAnnotateOutput() ServiceEventRuleActionsAnnotateOutput

func (ServiceEventRuleActionsAnnotateArgs) ToServiceEventRuleActionsAnnotateOutputWithContext added in v1.5.0

func (i ServiceEventRuleActionsAnnotateArgs) ToServiceEventRuleActionsAnnotateOutputWithContext(ctx context.Context) ServiceEventRuleActionsAnnotateOutput

type ServiceEventRuleActionsAnnotateArray added in v1.5.0

type ServiceEventRuleActionsAnnotateArray []ServiceEventRuleActionsAnnotateInput

func (ServiceEventRuleActionsAnnotateArray) ElementType added in v1.5.0

func (ServiceEventRuleActionsAnnotateArray) ToServiceEventRuleActionsAnnotateArrayOutput added in v1.5.0

func (i ServiceEventRuleActionsAnnotateArray) ToServiceEventRuleActionsAnnotateArrayOutput() ServiceEventRuleActionsAnnotateArrayOutput

func (ServiceEventRuleActionsAnnotateArray) ToServiceEventRuleActionsAnnotateArrayOutputWithContext added in v1.5.0

func (i ServiceEventRuleActionsAnnotateArray) ToServiceEventRuleActionsAnnotateArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsAnnotateArrayOutput

type ServiceEventRuleActionsAnnotateArrayInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleActionsAnnotateArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsAnnotateArrayOutput) ElementType added in v1.5.0

func (ServiceEventRuleActionsAnnotateArrayOutput) Index added in v1.5.0

func (ServiceEventRuleActionsAnnotateArrayOutput) ToServiceEventRuleActionsAnnotateArrayOutput added in v1.5.0

func (o ServiceEventRuleActionsAnnotateArrayOutput) ToServiceEventRuleActionsAnnotateArrayOutput() ServiceEventRuleActionsAnnotateArrayOutput

func (ServiceEventRuleActionsAnnotateArrayOutput) ToServiceEventRuleActionsAnnotateArrayOutputWithContext added in v1.5.0

func (o ServiceEventRuleActionsAnnotateArrayOutput) ToServiceEventRuleActionsAnnotateArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsAnnotateArrayOutput

type ServiceEventRuleActionsAnnotateInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleActionsAnnotateOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsAnnotateOutput) ElementType added in v1.5.0

func (ServiceEventRuleActionsAnnotateOutput) ToServiceEventRuleActionsAnnotateOutput added in v1.5.0

func (o ServiceEventRuleActionsAnnotateOutput) ToServiceEventRuleActionsAnnotateOutput() ServiceEventRuleActionsAnnotateOutput

func (ServiceEventRuleActionsAnnotateOutput) ToServiceEventRuleActionsAnnotateOutputWithContext added in v1.5.0

func (o ServiceEventRuleActionsAnnotateOutput) ToServiceEventRuleActionsAnnotateOutputWithContext(ctx context.Context) ServiceEventRuleActionsAnnotateOutput

func (ServiceEventRuleActionsAnnotateOutput) Value added in v1.5.0

The value for the operation. For example, an RE2 regular expression for regex-type variables.

type ServiceEventRuleActionsArgs added in v1.5.0

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 added in v1.5.0

func (ServiceEventRuleActionsArgs) ToServiceEventRuleActionsOutput added in v1.5.0

func (i ServiceEventRuleActionsArgs) ToServiceEventRuleActionsOutput() ServiceEventRuleActionsOutput

func (ServiceEventRuleActionsArgs) ToServiceEventRuleActionsOutputWithContext added in v1.5.0

func (i ServiceEventRuleActionsArgs) ToServiceEventRuleActionsOutputWithContext(ctx context.Context) ServiceEventRuleActionsOutput

func (ServiceEventRuleActionsArgs) ToServiceEventRuleActionsPtrOutput added in v1.5.0

func (i ServiceEventRuleActionsArgs) ToServiceEventRuleActionsPtrOutput() ServiceEventRuleActionsPtrOutput

func (ServiceEventRuleActionsArgs) ToServiceEventRuleActionsPtrOutputWithContext added in v1.5.0

func (i ServiceEventRuleActionsArgs) ToServiceEventRuleActionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleActionsPtrOutput

type ServiceEventRuleActionsEventAction added in v1.5.0

type ServiceEventRuleActionsEventAction struct {
	// The value for the operation. For example, an RE2 regular expression for regex-type variables.
	Value *string `pulumi:"value"`
}

type ServiceEventRuleActionsEventActionArgs added in v1.5.0

type ServiceEventRuleActionsEventActionArgs struct {
	// The value for the operation. For example, an RE2 regular expression for regex-type variables.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ServiceEventRuleActionsEventActionArgs) ElementType added in v1.5.0

func (ServiceEventRuleActionsEventActionArgs) ToServiceEventRuleActionsEventActionOutput added in v1.5.0

func (i ServiceEventRuleActionsEventActionArgs) ToServiceEventRuleActionsEventActionOutput() ServiceEventRuleActionsEventActionOutput

func (ServiceEventRuleActionsEventActionArgs) ToServiceEventRuleActionsEventActionOutputWithContext added in v1.5.0

func (i ServiceEventRuleActionsEventActionArgs) ToServiceEventRuleActionsEventActionOutputWithContext(ctx context.Context) ServiceEventRuleActionsEventActionOutput

type ServiceEventRuleActionsEventActionArray added in v1.5.0

type ServiceEventRuleActionsEventActionArray []ServiceEventRuleActionsEventActionInput

func (ServiceEventRuleActionsEventActionArray) ElementType added in v1.5.0

func (ServiceEventRuleActionsEventActionArray) ToServiceEventRuleActionsEventActionArrayOutput added in v1.5.0

func (i ServiceEventRuleActionsEventActionArray) ToServiceEventRuleActionsEventActionArrayOutput() ServiceEventRuleActionsEventActionArrayOutput

func (ServiceEventRuleActionsEventActionArray) ToServiceEventRuleActionsEventActionArrayOutputWithContext added in v1.5.0

func (i ServiceEventRuleActionsEventActionArray) ToServiceEventRuleActionsEventActionArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsEventActionArrayOutput

type ServiceEventRuleActionsEventActionArrayInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleActionsEventActionArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsEventActionArrayOutput) ElementType added in v1.5.0

func (ServiceEventRuleActionsEventActionArrayOutput) Index added in v1.5.0

func (ServiceEventRuleActionsEventActionArrayOutput) ToServiceEventRuleActionsEventActionArrayOutput added in v1.5.0

func (o ServiceEventRuleActionsEventActionArrayOutput) ToServiceEventRuleActionsEventActionArrayOutput() ServiceEventRuleActionsEventActionArrayOutput

func (ServiceEventRuleActionsEventActionArrayOutput) ToServiceEventRuleActionsEventActionArrayOutputWithContext added in v1.5.0

func (o ServiceEventRuleActionsEventActionArrayOutput) ToServiceEventRuleActionsEventActionArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsEventActionArrayOutput

type ServiceEventRuleActionsEventActionInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleActionsEventActionOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsEventActionOutput) ElementType added in v1.5.0

func (ServiceEventRuleActionsEventActionOutput) ToServiceEventRuleActionsEventActionOutput added in v1.5.0

func (o ServiceEventRuleActionsEventActionOutput) ToServiceEventRuleActionsEventActionOutput() ServiceEventRuleActionsEventActionOutput

func (ServiceEventRuleActionsEventActionOutput) ToServiceEventRuleActionsEventActionOutputWithContext added in v1.5.0

func (o ServiceEventRuleActionsEventActionOutput) ToServiceEventRuleActionsEventActionOutputWithContext(ctx context.Context) ServiceEventRuleActionsEventActionOutput

func (ServiceEventRuleActionsEventActionOutput) Value added in v1.5.0

The value for the operation. For example, an RE2 regular expression for regex-type variables.

type ServiceEventRuleActionsExtraction added in v1.5.0

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).
	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.
	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 added in v1.5.0

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).
	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.
	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 added in v1.5.0

func (ServiceEventRuleActionsExtractionArgs) ToServiceEventRuleActionsExtractionOutput added in v1.5.0

func (i ServiceEventRuleActionsExtractionArgs) ToServiceEventRuleActionsExtractionOutput() ServiceEventRuleActionsExtractionOutput

func (ServiceEventRuleActionsExtractionArgs) ToServiceEventRuleActionsExtractionOutputWithContext added in v1.5.0

func (i ServiceEventRuleActionsExtractionArgs) ToServiceEventRuleActionsExtractionOutputWithContext(ctx context.Context) ServiceEventRuleActionsExtractionOutput

type ServiceEventRuleActionsExtractionArray added in v1.5.0

type ServiceEventRuleActionsExtractionArray []ServiceEventRuleActionsExtractionInput

func (ServiceEventRuleActionsExtractionArray) ElementType added in v1.5.0

func (ServiceEventRuleActionsExtractionArray) ToServiceEventRuleActionsExtractionArrayOutput added in v1.5.0

func (i ServiceEventRuleActionsExtractionArray) ToServiceEventRuleActionsExtractionArrayOutput() ServiceEventRuleActionsExtractionArrayOutput

func (ServiceEventRuleActionsExtractionArray) ToServiceEventRuleActionsExtractionArrayOutputWithContext added in v1.5.0

func (i ServiceEventRuleActionsExtractionArray) ToServiceEventRuleActionsExtractionArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsExtractionArrayOutput

type ServiceEventRuleActionsExtractionArrayInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleActionsExtractionArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsExtractionArrayOutput) ElementType added in v1.5.0

func (ServiceEventRuleActionsExtractionArrayOutput) Index added in v1.5.0

func (ServiceEventRuleActionsExtractionArrayOutput) ToServiceEventRuleActionsExtractionArrayOutput added in v1.5.0

func (o ServiceEventRuleActionsExtractionArrayOutput) ToServiceEventRuleActionsExtractionArrayOutput() ServiceEventRuleActionsExtractionArrayOutput

func (ServiceEventRuleActionsExtractionArrayOutput) ToServiceEventRuleActionsExtractionArrayOutputWithContext added in v1.5.0

func (o ServiceEventRuleActionsExtractionArrayOutput) ToServiceEventRuleActionsExtractionArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsExtractionArrayOutput

type ServiceEventRuleActionsExtractionInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleActionsExtractionOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsExtractionOutput) ElementType added in v1.5.0

func (ServiceEventRuleActionsExtractionOutput) Regex added in v1.5.0

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).

func (ServiceEventRuleActionsExtractionOutput) Source added in v1.5.0

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 added in v1.5.0

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.

func (ServiceEventRuleActionsExtractionOutput) Template added in v1.5.0

A customized field message. This can also include variables extracted from the payload by using string interpolation.

func (ServiceEventRuleActionsExtractionOutput) ToServiceEventRuleActionsExtractionOutput added in v1.5.0

func (o ServiceEventRuleActionsExtractionOutput) ToServiceEventRuleActionsExtractionOutput() ServiceEventRuleActionsExtractionOutput

func (ServiceEventRuleActionsExtractionOutput) ToServiceEventRuleActionsExtractionOutputWithContext added in v1.5.0

func (o ServiceEventRuleActionsExtractionOutput) ToServiceEventRuleActionsExtractionOutputWithContext(ctx context.Context) ServiceEventRuleActionsExtractionOutput

type ServiceEventRuleActionsInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleActionsOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsOutput) Annotates added in v1.5.0

Note added to the event.

func (ServiceEventRuleActionsOutput) ElementType added in v1.5.0

func (ServiceEventRuleActionsOutput) EventActions added in v1.5.0

An object with a single `value` field. The value sets whether the resulting alert status is `trigger` or `resolve`.

func (ServiceEventRuleActionsOutput) Extractions added in v1.5.0

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 added in v1.5.0

The ID of the priority applied to the event.

func (ServiceEventRuleActionsOutput) Severities added in v1.5.0

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 added in v1.5.0

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 added in v1.5.0

An object with a single `value` field. The value sets the length of time to suspend the resulting alert before triggering.

func (ServiceEventRuleActionsOutput) ToServiceEventRuleActionsOutput added in v1.5.0

func (o ServiceEventRuleActionsOutput) ToServiceEventRuleActionsOutput() ServiceEventRuleActionsOutput

func (ServiceEventRuleActionsOutput) ToServiceEventRuleActionsOutputWithContext added in v1.5.0

func (o ServiceEventRuleActionsOutput) ToServiceEventRuleActionsOutputWithContext(ctx context.Context) ServiceEventRuleActionsOutput

func (ServiceEventRuleActionsOutput) ToServiceEventRuleActionsPtrOutput added in v1.5.0

func (o ServiceEventRuleActionsOutput) ToServiceEventRuleActionsPtrOutput() ServiceEventRuleActionsPtrOutput

func (ServiceEventRuleActionsOutput) ToServiceEventRuleActionsPtrOutputWithContext added in v1.5.0

func (o ServiceEventRuleActionsOutput) ToServiceEventRuleActionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleActionsPtrOutput

type ServiceEventRuleActionsPriority added in v1.5.0

type ServiceEventRuleActionsPriority struct {
	// The value for the operation. For example, an RE2 regular expression for regex-type variables.
	Value *string `pulumi:"value"`
}

type ServiceEventRuleActionsPriorityArgs added in v1.5.0

type ServiceEventRuleActionsPriorityArgs struct {
	// The value for the operation. For example, an RE2 regular expression for regex-type variables.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ServiceEventRuleActionsPriorityArgs) ElementType added in v1.5.0

func (ServiceEventRuleActionsPriorityArgs) ToServiceEventRuleActionsPriorityOutput added in v1.5.0

func (i ServiceEventRuleActionsPriorityArgs) ToServiceEventRuleActionsPriorityOutput() ServiceEventRuleActionsPriorityOutput

func (ServiceEventRuleActionsPriorityArgs) ToServiceEventRuleActionsPriorityOutputWithContext added in v1.5.0

func (i ServiceEventRuleActionsPriorityArgs) ToServiceEventRuleActionsPriorityOutputWithContext(ctx context.Context) ServiceEventRuleActionsPriorityOutput

type ServiceEventRuleActionsPriorityArray added in v1.5.0

type ServiceEventRuleActionsPriorityArray []ServiceEventRuleActionsPriorityInput

func (ServiceEventRuleActionsPriorityArray) ElementType added in v1.5.0

func (ServiceEventRuleActionsPriorityArray) ToServiceEventRuleActionsPriorityArrayOutput added in v1.5.0

func (i ServiceEventRuleActionsPriorityArray) ToServiceEventRuleActionsPriorityArrayOutput() ServiceEventRuleActionsPriorityArrayOutput

func (ServiceEventRuleActionsPriorityArray) ToServiceEventRuleActionsPriorityArrayOutputWithContext added in v1.5.0

func (i ServiceEventRuleActionsPriorityArray) ToServiceEventRuleActionsPriorityArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsPriorityArrayOutput

type ServiceEventRuleActionsPriorityArrayInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleActionsPriorityArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsPriorityArrayOutput) ElementType added in v1.5.0

func (ServiceEventRuleActionsPriorityArrayOutput) Index added in v1.5.0

func (ServiceEventRuleActionsPriorityArrayOutput) ToServiceEventRuleActionsPriorityArrayOutput added in v1.5.0

func (o ServiceEventRuleActionsPriorityArrayOutput) ToServiceEventRuleActionsPriorityArrayOutput() ServiceEventRuleActionsPriorityArrayOutput

func (ServiceEventRuleActionsPriorityArrayOutput) ToServiceEventRuleActionsPriorityArrayOutputWithContext added in v1.5.0

func (o ServiceEventRuleActionsPriorityArrayOutput) ToServiceEventRuleActionsPriorityArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsPriorityArrayOutput

type ServiceEventRuleActionsPriorityInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleActionsPriorityOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsPriorityOutput) ElementType added in v1.5.0

func (ServiceEventRuleActionsPriorityOutput) ToServiceEventRuleActionsPriorityOutput added in v1.5.0

func (o ServiceEventRuleActionsPriorityOutput) ToServiceEventRuleActionsPriorityOutput() ServiceEventRuleActionsPriorityOutput

func (ServiceEventRuleActionsPriorityOutput) ToServiceEventRuleActionsPriorityOutputWithContext added in v1.5.0

func (o ServiceEventRuleActionsPriorityOutput) ToServiceEventRuleActionsPriorityOutputWithContext(ctx context.Context) ServiceEventRuleActionsPriorityOutput

func (ServiceEventRuleActionsPriorityOutput) Value added in v1.5.0

The value for the operation. For example, an RE2 regular expression for regex-type variables.

type ServiceEventRuleActionsPtrInput added in v1.5.0

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

func ServiceEventRuleActionsPtr added in v1.5.0

func ServiceEventRuleActionsPtr(v *ServiceEventRuleActionsArgs) ServiceEventRuleActionsPtrInput

type ServiceEventRuleActionsPtrOutput added in v1.5.0

type ServiceEventRuleActionsPtrOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsPtrOutput) Annotates added in v1.5.0

Note added to the event.

func (ServiceEventRuleActionsPtrOutput) Elem added in v1.5.0

func (ServiceEventRuleActionsPtrOutput) ElementType added in v1.5.0

func (ServiceEventRuleActionsPtrOutput) EventActions added in v1.5.0

An object with a single `value` field. The value sets whether the resulting alert status is `trigger` or `resolve`.

func (ServiceEventRuleActionsPtrOutput) Extractions added in v1.5.0

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 added in v1.5.0

The ID of the priority applied to the event.

func (ServiceEventRuleActionsPtrOutput) Severities added in v1.5.0

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 added in v1.5.0

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 added in v1.5.0

An object with a single `value` field. The value sets the length of time to suspend the resulting alert before triggering.

func (ServiceEventRuleActionsPtrOutput) ToServiceEventRuleActionsPtrOutput added in v1.5.0

func (o ServiceEventRuleActionsPtrOutput) ToServiceEventRuleActionsPtrOutput() ServiceEventRuleActionsPtrOutput

func (ServiceEventRuleActionsPtrOutput) ToServiceEventRuleActionsPtrOutputWithContext added in v1.5.0

func (o ServiceEventRuleActionsPtrOutput) ToServiceEventRuleActionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleActionsPtrOutput

type ServiceEventRuleActionsSeverity added in v1.5.0

type ServiceEventRuleActionsSeverity struct {
	// The value for the operation. For example, an RE2 regular expression for regex-type variables.
	Value *string `pulumi:"value"`
}

type ServiceEventRuleActionsSeverityArgs added in v1.5.0

type ServiceEventRuleActionsSeverityArgs struct {
	// The value for the operation. For example, an RE2 regular expression for regex-type variables.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ServiceEventRuleActionsSeverityArgs) ElementType added in v1.5.0

func (ServiceEventRuleActionsSeverityArgs) ToServiceEventRuleActionsSeverityOutput added in v1.5.0

func (i ServiceEventRuleActionsSeverityArgs) ToServiceEventRuleActionsSeverityOutput() ServiceEventRuleActionsSeverityOutput

func (ServiceEventRuleActionsSeverityArgs) ToServiceEventRuleActionsSeverityOutputWithContext added in v1.5.0

func (i ServiceEventRuleActionsSeverityArgs) ToServiceEventRuleActionsSeverityOutputWithContext(ctx context.Context) ServiceEventRuleActionsSeverityOutput

type ServiceEventRuleActionsSeverityArray added in v1.5.0

type ServiceEventRuleActionsSeverityArray []ServiceEventRuleActionsSeverityInput

func (ServiceEventRuleActionsSeverityArray) ElementType added in v1.5.0

func (ServiceEventRuleActionsSeverityArray) ToServiceEventRuleActionsSeverityArrayOutput added in v1.5.0

func (i ServiceEventRuleActionsSeverityArray) ToServiceEventRuleActionsSeverityArrayOutput() ServiceEventRuleActionsSeverityArrayOutput

func (ServiceEventRuleActionsSeverityArray) ToServiceEventRuleActionsSeverityArrayOutputWithContext added in v1.5.0

func (i ServiceEventRuleActionsSeverityArray) ToServiceEventRuleActionsSeverityArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSeverityArrayOutput

type ServiceEventRuleActionsSeverityArrayInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleActionsSeverityArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsSeverityArrayOutput) ElementType added in v1.5.0

func (ServiceEventRuleActionsSeverityArrayOutput) Index added in v1.5.0

func (ServiceEventRuleActionsSeverityArrayOutput) ToServiceEventRuleActionsSeverityArrayOutput added in v1.5.0

func (o ServiceEventRuleActionsSeverityArrayOutput) ToServiceEventRuleActionsSeverityArrayOutput() ServiceEventRuleActionsSeverityArrayOutput

func (ServiceEventRuleActionsSeverityArrayOutput) ToServiceEventRuleActionsSeverityArrayOutputWithContext added in v1.5.0

func (o ServiceEventRuleActionsSeverityArrayOutput) ToServiceEventRuleActionsSeverityArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSeverityArrayOutput

type ServiceEventRuleActionsSeverityInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleActionsSeverityOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsSeverityOutput) ElementType added in v1.5.0

func (ServiceEventRuleActionsSeverityOutput) ToServiceEventRuleActionsSeverityOutput added in v1.5.0

func (o ServiceEventRuleActionsSeverityOutput) ToServiceEventRuleActionsSeverityOutput() ServiceEventRuleActionsSeverityOutput

func (ServiceEventRuleActionsSeverityOutput) ToServiceEventRuleActionsSeverityOutputWithContext added in v1.5.0

func (o ServiceEventRuleActionsSeverityOutput) ToServiceEventRuleActionsSeverityOutputWithContext(ctx context.Context) ServiceEventRuleActionsSeverityOutput

func (ServiceEventRuleActionsSeverityOutput) Value added in v1.5.0

The value for the operation. For example, an RE2 regular expression for regex-type variables.

type ServiceEventRuleActionsSuppress added in v1.5.0

type ServiceEventRuleActionsSuppress struct {
	// The number value of the `thresholdTimeUnit` before an incident is created.
	ThresholdTimeAmount *int `pulumi:"thresholdTimeAmount"`
	// The `minutes`,`hours`, or `days` that the `thresholdTimeAmount` should be measured.
	ThresholdTimeUnit *string `pulumi:"thresholdTimeUnit"`
	// The number of alerts that should be suppressed.
	ThresholdValue *int `pulumi:"thresholdValue"`
	// The value for the operation. For example, an RE2 regular expression for regex-type variables.
	Value *bool `pulumi:"value"`
}

type ServiceEventRuleActionsSuppressArgs added in v1.5.0

type ServiceEventRuleActionsSuppressArgs struct {
	// The number value of the `thresholdTimeUnit` before an incident is created.
	ThresholdTimeAmount pulumi.IntPtrInput `pulumi:"thresholdTimeAmount"`
	// The `minutes`,`hours`, or `days` that the `thresholdTimeAmount` should be measured.
	ThresholdTimeUnit pulumi.StringPtrInput `pulumi:"thresholdTimeUnit"`
	// The number of alerts that should be suppressed.
	ThresholdValue pulumi.IntPtrInput `pulumi:"thresholdValue"`
	// The value for the operation. For example, an RE2 regular expression for regex-type variables.
	Value pulumi.BoolPtrInput `pulumi:"value"`
}

func (ServiceEventRuleActionsSuppressArgs) ElementType added in v1.5.0

func (ServiceEventRuleActionsSuppressArgs) ToServiceEventRuleActionsSuppressOutput added in v1.5.0

func (i ServiceEventRuleActionsSuppressArgs) ToServiceEventRuleActionsSuppressOutput() ServiceEventRuleActionsSuppressOutput

func (ServiceEventRuleActionsSuppressArgs) ToServiceEventRuleActionsSuppressOutputWithContext added in v1.5.0

func (i ServiceEventRuleActionsSuppressArgs) ToServiceEventRuleActionsSuppressOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuppressOutput

type ServiceEventRuleActionsSuppressArray added in v1.5.0

type ServiceEventRuleActionsSuppressArray []ServiceEventRuleActionsSuppressInput

func (ServiceEventRuleActionsSuppressArray) ElementType added in v1.5.0

func (ServiceEventRuleActionsSuppressArray) ToServiceEventRuleActionsSuppressArrayOutput added in v1.5.0

func (i ServiceEventRuleActionsSuppressArray) ToServiceEventRuleActionsSuppressArrayOutput() ServiceEventRuleActionsSuppressArrayOutput

func (ServiceEventRuleActionsSuppressArray) ToServiceEventRuleActionsSuppressArrayOutputWithContext added in v1.5.0

func (i ServiceEventRuleActionsSuppressArray) ToServiceEventRuleActionsSuppressArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuppressArrayOutput

type ServiceEventRuleActionsSuppressArrayInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleActionsSuppressArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsSuppressArrayOutput) ElementType added in v1.5.0

func (ServiceEventRuleActionsSuppressArrayOutput) Index added in v1.5.0

func (ServiceEventRuleActionsSuppressArrayOutput) ToServiceEventRuleActionsSuppressArrayOutput added in v1.5.0

func (o ServiceEventRuleActionsSuppressArrayOutput) ToServiceEventRuleActionsSuppressArrayOutput() ServiceEventRuleActionsSuppressArrayOutput

func (ServiceEventRuleActionsSuppressArrayOutput) ToServiceEventRuleActionsSuppressArrayOutputWithContext added in v1.5.0

func (o ServiceEventRuleActionsSuppressArrayOutput) ToServiceEventRuleActionsSuppressArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuppressArrayOutput

type ServiceEventRuleActionsSuppressInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleActionsSuppressOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsSuppressOutput) ElementType added in v1.5.0

func (ServiceEventRuleActionsSuppressOutput) ThresholdTimeAmount added in v1.5.0

The number value of the `thresholdTimeUnit` before an incident is created.

func (ServiceEventRuleActionsSuppressOutput) ThresholdTimeUnit added in v1.5.0

The `minutes`,`hours`, or `days` that the `thresholdTimeAmount` should be measured.

func (ServiceEventRuleActionsSuppressOutput) ThresholdValue added in v1.5.0

The number of alerts that should be suppressed.

func (ServiceEventRuleActionsSuppressOutput) ToServiceEventRuleActionsSuppressOutput added in v1.5.0

func (o ServiceEventRuleActionsSuppressOutput) ToServiceEventRuleActionsSuppressOutput() ServiceEventRuleActionsSuppressOutput

func (ServiceEventRuleActionsSuppressOutput) ToServiceEventRuleActionsSuppressOutputWithContext added in v1.5.0

func (o ServiceEventRuleActionsSuppressOutput) ToServiceEventRuleActionsSuppressOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuppressOutput

func (ServiceEventRuleActionsSuppressOutput) Value added in v1.5.0

The value for the operation. For example, an RE2 regular expression for regex-type variables.

type ServiceEventRuleActionsSuspend added in v1.5.0

type ServiceEventRuleActionsSuspend struct {
	// The value for the operation. For example, an RE2 regular expression for regex-type variables.
	Value *int `pulumi:"value"`
}

type ServiceEventRuleActionsSuspendArgs added in v1.5.0

type ServiceEventRuleActionsSuspendArgs struct {
	// The value for the operation. For example, an RE2 regular expression for regex-type variables.
	Value pulumi.IntPtrInput `pulumi:"value"`
}

func (ServiceEventRuleActionsSuspendArgs) ElementType added in v1.5.0

func (ServiceEventRuleActionsSuspendArgs) ToServiceEventRuleActionsSuspendOutput added in v1.5.0

func (i ServiceEventRuleActionsSuspendArgs) ToServiceEventRuleActionsSuspendOutput() ServiceEventRuleActionsSuspendOutput

func (ServiceEventRuleActionsSuspendArgs) ToServiceEventRuleActionsSuspendOutputWithContext added in v1.5.0

func (i ServiceEventRuleActionsSuspendArgs) ToServiceEventRuleActionsSuspendOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuspendOutput

type ServiceEventRuleActionsSuspendArray added in v1.5.0

type ServiceEventRuleActionsSuspendArray []ServiceEventRuleActionsSuspendInput

func (ServiceEventRuleActionsSuspendArray) ElementType added in v1.5.0

func (ServiceEventRuleActionsSuspendArray) ToServiceEventRuleActionsSuspendArrayOutput added in v1.5.0

func (i ServiceEventRuleActionsSuspendArray) ToServiceEventRuleActionsSuspendArrayOutput() ServiceEventRuleActionsSuspendArrayOutput

func (ServiceEventRuleActionsSuspendArray) ToServiceEventRuleActionsSuspendArrayOutputWithContext added in v1.5.0

func (i ServiceEventRuleActionsSuspendArray) ToServiceEventRuleActionsSuspendArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuspendArrayOutput

type ServiceEventRuleActionsSuspendArrayInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleActionsSuspendArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsSuspendArrayOutput) ElementType added in v1.5.0

func (ServiceEventRuleActionsSuspendArrayOutput) Index added in v1.5.0

func (ServiceEventRuleActionsSuspendArrayOutput) ToServiceEventRuleActionsSuspendArrayOutput added in v1.5.0

func (o ServiceEventRuleActionsSuspendArrayOutput) ToServiceEventRuleActionsSuspendArrayOutput() ServiceEventRuleActionsSuspendArrayOutput

func (ServiceEventRuleActionsSuspendArrayOutput) ToServiceEventRuleActionsSuspendArrayOutputWithContext added in v1.5.0

func (o ServiceEventRuleActionsSuspendArrayOutput) ToServiceEventRuleActionsSuspendArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuspendArrayOutput

type ServiceEventRuleActionsSuspendInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleActionsSuspendOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleActionsSuspendOutput) ElementType added in v1.5.0

func (ServiceEventRuleActionsSuspendOutput) ToServiceEventRuleActionsSuspendOutput added in v1.5.0

func (o ServiceEventRuleActionsSuspendOutput) ToServiceEventRuleActionsSuspendOutput() ServiceEventRuleActionsSuspendOutput

func (ServiceEventRuleActionsSuspendOutput) ToServiceEventRuleActionsSuspendOutputWithContext added in v1.5.0

func (o ServiceEventRuleActionsSuspendOutput) ToServiceEventRuleActionsSuspendOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuspendOutput

func (ServiceEventRuleActionsSuspendOutput) Value added in v1.5.0

The value for the operation. For example, an RE2 regular expression for regex-type variables.

type ServiceEventRuleArgs added in v1.5.0

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 added in v1.5.0

func (ServiceEventRuleArgs) ElementType() reflect.Type

type ServiceEventRuleArray added in v1.5.0

type ServiceEventRuleArray []ServiceEventRuleInput

func (ServiceEventRuleArray) ElementType added in v1.5.0

func (ServiceEventRuleArray) ElementType() reflect.Type

func (ServiceEventRuleArray) ToServiceEventRuleArrayOutput added in v1.5.0

func (i ServiceEventRuleArray) ToServiceEventRuleArrayOutput() ServiceEventRuleArrayOutput

func (ServiceEventRuleArray) ToServiceEventRuleArrayOutputWithContext added in v1.5.0

func (i ServiceEventRuleArray) ToServiceEventRuleArrayOutputWithContext(ctx context.Context) ServiceEventRuleArrayOutput

type ServiceEventRuleArrayInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleArrayOutput) ElementType added in v1.5.0

func (ServiceEventRuleArrayOutput) Index added in v1.5.0

func (ServiceEventRuleArrayOutput) ToServiceEventRuleArrayOutput added in v1.5.0

func (o ServiceEventRuleArrayOutput) ToServiceEventRuleArrayOutput() ServiceEventRuleArrayOutput

func (ServiceEventRuleArrayOutput) ToServiceEventRuleArrayOutputWithContext added in v1.5.0

func (o ServiceEventRuleArrayOutput) ToServiceEventRuleArrayOutputWithContext(ctx context.Context) ServiceEventRuleArrayOutput

type ServiceEventRuleConditions added in v1.5.0

type ServiceEventRuleConditions struct {
	// Operator to combine sub-conditions. Can be `and` or `or`.
	Operator *string `pulumi:"operator"`
	// List of sub-conditions that define the the condition.
	Subconditions []ServiceEventRuleConditionsSubcondition `pulumi:"subconditions"`
}

type ServiceEventRuleConditionsArgs added in v1.5.0

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 the condition.
	Subconditions ServiceEventRuleConditionsSubconditionArrayInput `pulumi:"subconditions"`
}

func (ServiceEventRuleConditionsArgs) ElementType added in v1.5.0

func (ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsOutput added in v1.5.0

func (i ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsOutput() ServiceEventRuleConditionsOutput

func (ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsOutputWithContext added in v1.5.0

func (i ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsOutputWithContext(ctx context.Context) ServiceEventRuleConditionsOutput

func (ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsPtrOutput added in v1.5.0

func (i ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsPtrOutput() ServiceEventRuleConditionsPtrOutput

func (ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsPtrOutputWithContext added in v1.5.0

func (i ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleConditionsPtrOutput

type ServiceEventRuleConditionsInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleConditionsOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleConditionsOutput) ElementType added in v1.5.0

func (ServiceEventRuleConditionsOutput) Operator added in v1.5.0

Operator to combine sub-conditions. Can be `and` or `or`.

func (ServiceEventRuleConditionsOutput) Subconditions added in v1.5.0

List of sub-conditions that define the the condition.

func (ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsOutput added in v1.5.0

func (o ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsOutput() ServiceEventRuleConditionsOutput

func (ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsOutputWithContext added in v1.5.0

func (o ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsOutputWithContext(ctx context.Context) ServiceEventRuleConditionsOutput

func (ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsPtrOutput added in v1.5.0

func (o ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsPtrOutput() ServiceEventRuleConditionsPtrOutput

func (ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsPtrOutputWithContext added in v1.5.0

func (o ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleConditionsPtrOutput

type ServiceEventRuleConditionsPtrInput added in v1.5.0

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

func ServiceEventRuleConditionsPtr added in v1.5.0

type ServiceEventRuleConditionsPtrOutput added in v1.5.0

type ServiceEventRuleConditionsPtrOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleConditionsPtrOutput) Elem added in v1.5.0

func (ServiceEventRuleConditionsPtrOutput) ElementType added in v1.5.0

func (ServiceEventRuleConditionsPtrOutput) Operator added in v1.5.0

Operator to combine sub-conditions. Can be `and` or `or`.

func (ServiceEventRuleConditionsPtrOutput) Subconditions added in v1.5.0

List of sub-conditions that define the the condition.

func (ServiceEventRuleConditionsPtrOutput) ToServiceEventRuleConditionsPtrOutput added in v1.5.0

func (o ServiceEventRuleConditionsPtrOutput) ToServiceEventRuleConditionsPtrOutput() ServiceEventRuleConditionsPtrOutput

func (ServiceEventRuleConditionsPtrOutput) ToServiceEventRuleConditionsPtrOutputWithContext added in v1.5.0

func (o ServiceEventRuleConditionsPtrOutput) ToServiceEventRuleConditionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleConditionsPtrOutput

type ServiceEventRuleConditionsSubcondition added in v1.5.0

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 added in v1.5.0

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 added in v1.5.0

func (ServiceEventRuleConditionsSubconditionArgs) ToServiceEventRuleConditionsSubconditionOutput added in v1.5.0

func (i ServiceEventRuleConditionsSubconditionArgs) ToServiceEventRuleConditionsSubconditionOutput() ServiceEventRuleConditionsSubconditionOutput

func (ServiceEventRuleConditionsSubconditionArgs) ToServiceEventRuleConditionsSubconditionOutputWithContext added in v1.5.0

func (i ServiceEventRuleConditionsSubconditionArgs) ToServiceEventRuleConditionsSubconditionOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionOutput

type ServiceEventRuleConditionsSubconditionArray added in v1.5.0

type ServiceEventRuleConditionsSubconditionArray []ServiceEventRuleConditionsSubconditionInput

func (ServiceEventRuleConditionsSubconditionArray) ElementType added in v1.5.0

func (ServiceEventRuleConditionsSubconditionArray) ToServiceEventRuleConditionsSubconditionArrayOutput added in v1.5.0

func (i ServiceEventRuleConditionsSubconditionArray) ToServiceEventRuleConditionsSubconditionArrayOutput() ServiceEventRuleConditionsSubconditionArrayOutput

func (ServiceEventRuleConditionsSubconditionArray) ToServiceEventRuleConditionsSubconditionArrayOutputWithContext added in v1.5.0

func (i ServiceEventRuleConditionsSubconditionArray) ToServiceEventRuleConditionsSubconditionArrayOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionArrayOutput

type ServiceEventRuleConditionsSubconditionArrayInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleConditionsSubconditionArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleConditionsSubconditionArrayOutput) ElementType added in v1.5.0

func (ServiceEventRuleConditionsSubconditionArrayOutput) Index added in v1.5.0

func (ServiceEventRuleConditionsSubconditionArrayOutput) ToServiceEventRuleConditionsSubconditionArrayOutput added in v1.5.0

func (o ServiceEventRuleConditionsSubconditionArrayOutput) ToServiceEventRuleConditionsSubconditionArrayOutput() ServiceEventRuleConditionsSubconditionArrayOutput

func (ServiceEventRuleConditionsSubconditionArrayOutput) ToServiceEventRuleConditionsSubconditionArrayOutputWithContext added in v1.5.0

func (o ServiceEventRuleConditionsSubconditionArrayOutput) ToServiceEventRuleConditionsSubconditionArrayOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionArrayOutput

type ServiceEventRuleConditionsSubconditionInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleConditionsSubconditionOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleConditionsSubconditionOutput) ElementType added in v1.5.0

func (ServiceEventRuleConditionsSubconditionOutput) Operator added in v1.5.0

Type of operator to apply to the sub-condition. Can be `exists`,`nexists`,`equals`,`nequals`,`contains`,`ncontains`,`matches`, or `nmatches`.

func (ServiceEventRuleConditionsSubconditionOutput) Parameters added in v1.5.0

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 added in v1.5.0

func (o ServiceEventRuleConditionsSubconditionOutput) ToServiceEventRuleConditionsSubconditionOutput() ServiceEventRuleConditionsSubconditionOutput

func (ServiceEventRuleConditionsSubconditionOutput) ToServiceEventRuleConditionsSubconditionOutputWithContext added in v1.5.0

func (o ServiceEventRuleConditionsSubconditionOutput) ToServiceEventRuleConditionsSubconditionOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionOutput

type ServiceEventRuleConditionsSubconditionParameter added in v1.5.0

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"`
	// The value for the operation. For example, an RE2 regular expression for regex-type variables.
	Value *string `pulumi:"value"`
}

type ServiceEventRuleConditionsSubconditionParameterArgs added in v1.5.0

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"`
	// The value for the operation. For example, an RE2 regular expression for regex-type variables.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ServiceEventRuleConditionsSubconditionParameterArgs) ElementType added in v1.5.0

func (ServiceEventRuleConditionsSubconditionParameterArgs) ToServiceEventRuleConditionsSubconditionParameterOutput added in v1.5.0

func (i ServiceEventRuleConditionsSubconditionParameterArgs) ToServiceEventRuleConditionsSubconditionParameterOutput() ServiceEventRuleConditionsSubconditionParameterOutput

func (ServiceEventRuleConditionsSubconditionParameterArgs) ToServiceEventRuleConditionsSubconditionParameterOutputWithContext added in v1.5.0

func (i ServiceEventRuleConditionsSubconditionParameterArgs) ToServiceEventRuleConditionsSubconditionParameterOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionParameterOutput

type ServiceEventRuleConditionsSubconditionParameterArray added in v1.5.0

type ServiceEventRuleConditionsSubconditionParameterArray []ServiceEventRuleConditionsSubconditionParameterInput

func (ServiceEventRuleConditionsSubconditionParameterArray) ElementType added in v1.5.0

func (ServiceEventRuleConditionsSubconditionParameterArray) ToServiceEventRuleConditionsSubconditionParameterArrayOutput added in v1.5.0

func (i ServiceEventRuleConditionsSubconditionParameterArray) ToServiceEventRuleConditionsSubconditionParameterArrayOutput() ServiceEventRuleConditionsSubconditionParameterArrayOutput

func (ServiceEventRuleConditionsSubconditionParameterArray) ToServiceEventRuleConditionsSubconditionParameterArrayOutputWithContext added in v1.5.0

func (i ServiceEventRuleConditionsSubconditionParameterArray) ToServiceEventRuleConditionsSubconditionParameterArrayOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionParameterArrayOutput

type ServiceEventRuleConditionsSubconditionParameterArrayInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleConditionsSubconditionParameterArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleConditionsSubconditionParameterArrayOutput) ElementType added in v1.5.0

func (ServiceEventRuleConditionsSubconditionParameterArrayOutput) Index added in v1.5.0

func (ServiceEventRuleConditionsSubconditionParameterArrayOutput) ToServiceEventRuleConditionsSubconditionParameterArrayOutput added in v1.5.0

func (ServiceEventRuleConditionsSubconditionParameterArrayOutput) ToServiceEventRuleConditionsSubconditionParameterArrayOutputWithContext added in v1.5.0

func (o ServiceEventRuleConditionsSubconditionParameterArrayOutput) ToServiceEventRuleConditionsSubconditionParameterArrayOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionParameterArrayOutput

type ServiceEventRuleConditionsSubconditionParameterInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleConditionsSubconditionParameterOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleConditionsSubconditionParameterOutput) ElementType added in v1.5.0

func (ServiceEventRuleConditionsSubconditionParameterOutput) Path added in v1.5.0

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 added in v1.5.0

func (ServiceEventRuleConditionsSubconditionParameterOutput) ToServiceEventRuleConditionsSubconditionParameterOutputWithContext added in v1.5.0

func (o ServiceEventRuleConditionsSubconditionParameterOutput) ToServiceEventRuleConditionsSubconditionParameterOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionParameterOutput

func (ServiceEventRuleConditionsSubconditionParameterOutput) Value added in v1.5.0

The value for the operation. For example, an RE2 regular expression for regex-type variables.

type ServiceEventRuleInput added in v1.5.0

type ServiceEventRuleInput interface {
	pulumi.Input

	ToServiceEventRuleOutput() ServiceEventRuleOutput
	ToServiceEventRuleOutputWithContext(ctx context.Context) ServiceEventRuleOutput
}

type ServiceEventRuleMap added in v1.5.0

type ServiceEventRuleMap map[string]ServiceEventRuleInput

func (ServiceEventRuleMap) ElementType added in v1.5.0

func (ServiceEventRuleMap) ElementType() reflect.Type

func (ServiceEventRuleMap) ToServiceEventRuleMapOutput added in v1.5.0

func (i ServiceEventRuleMap) ToServiceEventRuleMapOutput() ServiceEventRuleMapOutput

func (ServiceEventRuleMap) ToServiceEventRuleMapOutputWithContext added in v1.5.0

func (i ServiceEventRuleMap) ToServiceEventRuleMapOutputWithContext(ctx context.Context) ServiceEventRuleMapOutput

type ServiceEventRuleMapInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleMapOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleMapOutput) ElementType added in v1.5.0

func (ServiceEventRuleMapOutput) ElementType() reflect.Type

func (ServiceEventRuleMapOutput) MapIndex added in v1.5.0

func (ServiceEventRuleMapOutput) ToServiceEventRuleMapOutput added in v1.5.0

func (o ServiceEventRuleMapOutput) ToServiceEventRuleMapOutput() ServiceEventRuleMapOutput

func (ServiceEventRuleMapOutput) ToServiceEventRuleMapOutputWithContext added in v1.5.0

func (o ServiceEventRuleMapOutput) ToServiceEventRuleMapOutputWithContext(ctx context.Context) ServiceEventRuleMapOutput

type ServiceEventRuleOutput added in v1.5.0

type ServiceEventRuleOutput struct {
	*pulumi.OutputState
}

func (ServiceEventRuleOutput) ElementType added in v1.5.0

func (ServiceEventRuleOutput) ElementType() reflect.Type

func (ServiceEventRuleOutput) ToServiceEventRuleOutput added in v1.5.0

func (o ServiceEventRuleOutput) ToServiceEventRuleOutput() ServiceEventRuleOutput

func (ServiceEventRuleOutput) ToServiceEventRuleOutputWithContext added in v1.5.0

func (o ServiceEventRuleOutput) ToServiceEventRuleOutputWithContext(ctx context.Context) ServiceEventRuleOutput

func (ServiceEventRuleOutput) ToServiceEventRulePtrOutput added in v1.5.0

func (o ServiceEventRuleOutput) ToServiceEventRulePtrOutput() ServiceEventRulePtrOutput

func (ServiceEventRuleOutput) ToServiceEventRulePtrOutputWithContext added in v1.5.0

func (o ServiceEventRuleOutput) ToServiceEventRulePtrOutputWithContext(ctx context.Context) ServiceEventRulePtrOutput

type ServiceEventRulePtrInput added in v1.5.0

type ServiceEventRulePtrInput interface {
	pulumi.Input

	ToServiceEventRulePtrOutput() ServiceEventRulePtrOutput
	ToServiceEventRulePtrOutputWithContext(ctx context.Context) ServiceEventRulePtrOutput
}

type ServiceEventRulePtrOutput added in v1.5.0

type ServiceEventRulePtrOutput struct {
	*pulumi.OutputState
}

func (ServiceEventRulePtrOutput) ElementType added in v1.5.0

func (ServiceEventRulePtrOutput) ElementType() reflect.Type

func (ServiceEventRulePtrOutput) ToServiceEventRulePtrOutput added in v1.5.0

func (o ServiceEventRulePtrOutput) ToServiceEventRulePtrOutput() ServiceEventRulePtrOutput

func (ServiceEventRulePtrOutput) ToServiceEventRulePtrOutputWithContext added in v1.5.0

func (o ServiceEventRulePtrOutput) ToServiceEventRulePtrOutputWithContext(ctx context.Context) ServiceEventRulePtrOutput

type ServiceEventRuleState added in v1.5.0

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 added in v1.5.0

func (ServiceEventRuleState) ElementType() reflect.Type

type ServiceEventRuleTimeFrame added in v1.5.0

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 added in v1.5.0

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 added in v1.5.0

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 added in v1.5.0

func (ServiceEventRuleTimeFrameActiveBetweenArgs) ToServiceEventRuleTimeFrameActiveBetweenOutput added in v1.5.0

func (i ServiceEventRuleTimeFrameActiveBetweenArgs) ToServiceEventRuleTimeFrameActiveBetweenOutput() ServiceEventRuleTimeFrameActiveBetweenOutput

func (ServiceEventRuleTimeFrameActiveBetweenArgs) ToServiceEventRuleTimeFrameActiveBetweenOutputWithContext added in v1.5.0

func (i ServiceEventRuleTimeFrameActiveBetweenArgs) ToServiceEventRuleTimeFrameActiveBetweenOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameActiveBetweenOutput

type ServiceEventRuleTimeFrameActiveBetweenArray added in v1.5.0

type ServiceEventRuleTimeFrameActiveBetweenArray []ServiceEventRuleTimeFrameActiveBetweenInput

func (ServiceEventRuleTimeFrameActiveBetweenArray) ElementType added in v1.5.0

func (ServiceEventRuleTimeFrameActiveBetweenArray) ToServiceEventRuleTimeFrameActiveBetweenArrayOutput added in v1.5.0

func (i ServiceEventRuleTimeFrameActiveBetweenArray) ToServiceEventRuleTimeFrameActiveBetweenArrayOutput() ServiceEventRuleTimeFrameActiveBetweenArrayOutput

func (ServiceEventRuleTimeFrameActiveBetweenArray) ToServiceEventRuleTimeFrameActiveBetweenArrayOutputWithContext added in v1.5.0

func (i ServiceEventRuleTimeFrameActiveBetweenArray) ToServiceEventRuleTimeFrameActiveBetweenArrayOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameActiveBetweenArrayOutput

type ServiceEventRuleTimeFrameActiveBetweenArrayInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleTimeFrameActiveBetweenArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ElementType added in v1.5.0

func (ServiceEventRuleTimeFrameActiveBetweenArrayOutput) Index added in v1.5.0

func (ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ToServiceEventRuleTimeFrameActiveBetweenArrayOutput added in v1.5.0

func (o ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ToServiceEventRuleTimeFrameActiveBetweenArrayOutput() ServiceEventRuleTimeFrameActiveBetweenArrayOutput

func (ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ToServiceEventRuleTimeFrameActiveBetweenArrayOutputWithContext added in v1.5.0

func (o ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ToServiceEventRuleTimeFrameActiveBetweenArrayOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameActiveBetweenArrayOutput

type ServiceEventRuleTimeFrameActiveBetweenInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleTimeFrameActiveBetweenOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleTimeFrameActiveBetweenOutput) ElementType added in v1.5.0

func (ServiceEventRuleTimeFrameActiveBetweenOutput) EndTime added in v1.5.0

Ending of the scheduled time when the rule should execute. Unix timestamp in milliseconds.

func (ServiceEventRuleTimeFrameActiveBetweenOutput) StartTime added in v1.5.0

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 added in v1.5.0

func (o ServiceEventRuleTimeFrameActiveBetweenOutput) ToServiceEventRuleTimeFrameActiveBetweenOutput() ServiceEventRuleTimeFrameActiveBetweenOutput

func (ServiceEventRuleTimeFrameActiveBetweenOutput) ToServiceEventRuleTimeFrameActiveBetweenOutputWithContext added in v1.5.0

func (o ServiceEventRuleTimeFrameActiveBetweenOutput) ToServiceEventRuleTimeFrameActiveBetweenOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameActiveBetweenOutput

type ServiceEventRuleTimeFrameArgs added in v1.5.0

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 added in v1.5.0

func (ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFrameOutput added in v1.5.0

func (i ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFrameOutput() ServiceEventRuleTimeFrameOutput

func (ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFrameOutputWithContext added in v1.5.0

func (i ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFrameOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameOutput

func (ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFramePtrOutput added in v1.5.0

func (i ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFramePtrOutput() ServiceEventRuleTimeFramePtrOutput

func (ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFramePtrOutputWithContext added in v1.5.0

func (i ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFramePtrOutputWithContext(ctx context.Context) ServiceEventRuleTimeFramePtrOutput

type ServiceEventRuleTimeFrameInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleTimeFrameOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleTimeFrameOutput) ActiveBetweens added in v1.5.0

Values for executing the rule during a specific time period.

func (ServiceEventRuleTimeFrameOutput) ElementType added in v1.5.0

func (ServiceEventRuleTimeFrameOutput) ScheduledWeeklies added in v1.5.0

Values for executing the rule on a recurring schedule.

func (ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFrameOutput added in v1.5.0

func (o ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFrameOutput() ServiceEventRuleTimeFrameOutput

func (ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFrameOutputWithContext added in v1.5.0

func (o ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFrameOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameOutput

func (ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFramePtrOutput added in v1.5.0

func (o ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFramePtrOutput() ServiceEventRuleTimeFramePtrOutput

func (ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFramePtrOutputWithContext added in v1.5.0

func (o ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFramePtrOutputWithContext(ctx context.Context) ServiceEventRuleTimeFramePtrOutput

type ServiceEventRuleTimeFramePtrInput added in v1.5.0

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

func ServiceEventRuleTimeFramePtr added in v1.5.0

type ServiceEventRuleTimeFramePtrOutput added in v1.5.0

type ServiceEventRuleTimeFramePtrOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleTimeFramePtrOutput) ActiveBetweens added in v1.5.0

Values for executing the rule during a specific time period.

func (ServiceEventRuleTimeFramePtrOutput) Elem added in v1.5.0

func (ServiceEventRuleTimeFramePtrOutput) ElementType added in v1.5.0

func (ServiceEventRuleTimeFramePtrOutput) ScheduledWeeklies added in v1.5.0

Values for executing the rule on a recurring schedule.

func (ServiceEventRuleTimeFramePtrOutput) ToServiceEventRuleTimeFramePtrOutput added in v1.5.0

func (o ServiceEventRuleTimeFramePtrOutput) ToServiceEventRuleTimeFramePtrOutput() ServiceEventRuleTimeFramePtrOutput

func (ServiceEventRuleTimeFramePtrOutput) ToServiceEventRuleTimeFramePtrOutputWithContext added in v1.5.0

func (o ServiceEventRuleTimeFramePtrOutput) ToServiceEventRuleTimeFramePtrOutputWithContext(ctx context.Context) ServiceEventRuleTimeFramePtrOutput

type ServiceEventRuleTimeFrameScheduledWeekly added in v1.5.0

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 added in v1.5.0

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 added in v1.5.0

func (ServiceEventRuleTimeFrameScheduledWeeklyArgs) ToServiceEventRuleTimeFrameScheduledWeeklyOutput added in v1.5.0

func (i ServiceEventRuleTimeFrameScheduledWeeklyArgs) ToServiceEventRuleTimeFrameScheduledWeeklyOutput() ServiceEventRuleTimeFrameScheduledWeeklyOutput

func (ServiceEventRuleTimeFrameScheduledWeeklyArgs) ToServiceEventRuleTimeFrameScheduledWeeklyOutputWithContext added in v1.5.0

func (i ServiceEventRuleTimeFrameScheduledWeeklyArgs) ToServiceEventRuleTimeFrameScheduledWeeklyOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameScheduledWeeklyOutput

type ServiceEventRuleTimeFrameScheduledWeeklyArray added in v1.5.0

type ServiceEventRuleTimeFrameScheduledWeeklyArray []ServiceEventRuleTimeFrameScheduledWeeklyInput

func (ServiceEventRuleTimeFrameScheduledWeeklyArray) ElementType added in v1.5.0

func (ServiceEventRuleTimeFrameScheduledWeeklyArray) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutput added in v1.5.0

func (i ServiceEventRuleTimeFrameScheduledWeeklyArray) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutput() ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput

func (ServiceEventRuleTimeFrameScheduledWeeklyArray) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutputWithContext added in v1.5.0

func (i ServiceEventRuleTimeFrameScheduledWeeklyArray) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput

type ServiceEventRuleTimeFrameScheduledWeeklyArrayInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ElementType added in v1.5.0

func (ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) Index added in v1.5.0

func (ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutput added in v1.5.0

func (o ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutput() ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput

func (ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutputWithContext added in v1.5.0

func (o ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput

type ServiceEventRuleTimeFrameScheduledWeeklyInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleTimeFrameScheduledWeeklyOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) Duration added in v1.5.0

Length of time the schedule will be active. Unix timestamp in milliseconds.

func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) ElementType added in v1.5.0

func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) StartTime added in v1.5.0

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 added in v1.5.0

Timezone for the given schedule.

func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) ToServiceEventRuleTimeFrameScheduledWeeklyOutput added in v1.5.0

func (o ServiceEventRuleTimeFrameScheduledWeeklyOutput) ToServiceEventRuleTimeFrameScheduledWeeklyOutput() ServiceEventRuleTimeFrameScheduledWeeklyOutput

func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) ToServiceEventRuleTimeFrameScheduledWeeklyOutputWithContext added in v1.5.0

func (o ServiceEventRuleTimeFrameScheduledWeeklyOutput) ToServiceEventRuleTimeFrameScheduledWeeklyOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameScheduledWeeklyOutput

func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) Weekdays added in v1.5.0

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 added in v1.5.0

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 added in v1.5.0

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 added in v1.5.0

func (ServiceEventRuleVariableArgs) ToServiceEventRuleVariableOutput added in v1.5.0

func (i ServiceEventRuleVariableArgs) ToServiceEventRuleVariableOutput() ServiceEventRuleVariableOutput

func (ServiceEventRuleVariableArgs) ToServiceEventRuleVariableOutputWithContext added in v1.5.0

func (i ServiceEventRuleVariableArgs) ToServiceEventRuleVariableOutputWithContext(ctx context.Context) ServiceEventRuleVariableOutput

type ServiceEventRuleVariableArray added in v1.5.0

type ServiceEventRuleVariableArray []ServiceEventRuleVariableInput

func (ServiceEventRuleVariableArray) ElementType added in v1.5.0

func (ServiceEventRuleVariableArray) ToServiceEventRuleVariableArrayOutput added in v1.5.0

func (i ServiceEventRuleVariableArray) ToServiceEventRuleVariableArrayOutput() ServiceEventRuleVariableArrayOutput

func (ServiceEventRuleVariableArray) ToServiceEventRuleVariableArrayOutputWithContext added in v1.5.0

func (i ServiceEventRuleVariableArray) ToServiceEventRuleVariableArrayOutputWithContext(ctx context.Context) ServiceEventRuleVariableArrayOutput

type ServiceEventRuleVariableArrayInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleVariableArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleVariableArrayOutput) ElementType added in v1.5.0

func (ServiceEventRuleVariableArrayOutput) Index added in v1.5.0

func (ServiceEventRuleVariableArrayOutput) ToServiceEventRuleVariableArrayOutput added in v1.5.0

func (o ServiceEventRuleVariableArrayOutput) ToServiceEventRuleVariableArrayOutput() ServiceEventRuleVariableArrayOutput

func (ServiceEventRuleVariableArrayOutput) ToServiceEventRuleVariableArrayOutputWithContext added in v1.5.0

func (o ServiceEventRuleVariableArrayOutput) ToServiceEventRuleVariableArrayOutputWithContext(ctx context.Context) ServiceEventRuleVariableArrayOutput

type ServiceEventRuleVariableInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleVariableOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleVariableOutput) ElementType added in v1.5.0

func (ServiceEventRuleVariableOutput) Name added in v1.5.0

The name of the variable.

func (ServiceEventRuleVariableOutput) Parameters added in v1.5.0

The parameters for performing the operation to populate the variable.

func (ServiceEventRuleVariableOutput) ToServiceEventRuleVariableOutput added in v1.5.0

func (o ServiceEventRuleVariableOutput) ToServiceEventRuleVariableOutput() ServiceEventRuleVariableOutput

func (ServiceEventRuleVariableOutput) ToServiceEventRuleVariableOutputWithContext added in v1.5.0

func (o ServiceEventRuleVariableOutput) ToServiceEventRuleVariableOutputWithContext(ctx context.Context) ServiceEventRuleVariableOutput

func (ServiceEventRuleVariableOutput) Type added in v1.5.0

Type of operation to populate the variable. Usually `regex`.

type ServiceEventRuleVariableParameter added in v1.5.0

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"`
	// The value for the operation. For example, an RE2 regular expression for regex-type variables.
	Value *string `pulumi:"value"`
}

type ServiceEventRuleVariableParameterArgs added in v1.5.0

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"`
	// The value for the operation. For example, an RE2 regular expression for regex-type variables.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ServiceEventRuleVariableParameterArgs) ElementType added in v1.5.0

func (ServiceEventRuleVariableParameterArgs) ToServiceEventRuleVariableParameterOutput added in v1.5.0

func (i ServiceEventRuleVariableParameterArgs) ToServiceEventRuleVariableParameterOutput() ServiceEventRuleVariableParameterOutput

func (ServiceEventRuleVariableParameterArgs) ToServiceEventRuleVariableParameterOutputWithContext added in v1.5.0

func (i ServiceEventRuleVariableParameterArgs) ToServiceEventRuleVariableParameterOutputWithContext(ctx context.Context) ServiceEventRuleVariableParameterOutput

type ServiceEventRuleVariableParameterArray added in v1.5.0

type ServiceEventRuleVariableParameterArray []ServiceEventRuleVariableParameterInput

func (ServiceEventRuleVariableParameterArray) ElementType added in v1.5.0

func (ServiceEventRuleVariableParameterArray) ToServiceEventRuleVariableParameterArrayOutput added in v1.5.0

func (i ServiceEventRuleVariableParameterArray) ToServiceEventRuleVariableParameterArrayOutput() ServiceEventRuleVariableParameterArrayOutput

func (ServiceEventRuleVariableParameterArray) ToServiceEventRuleVariableParameterArrayOutputWithContext added in v1.5.0

func (i ServiceEventRuleVariableParameterArray) ToServiceEventRuleVariableParameterArrayOutputWithContext(ctx context.Context) ServiceEventRuleVariableParameterArrayOutput

type ServiceEventRuleVariableParameterArrayInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleVariableParameterArrayOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleVariableParameterArrayOutput) ElementType added in v1.5.0

func (ServiceEventRuleVariableParameterArrayOutput) Index added in v1.5.0

func (ServiceEventRuleVariableParameterArrayOutput) ToServiceEventRuleVariableParameterArrayOutput added in v1.5.0

func (o ServiceEventRuleVariableParameterArrayOutput) ToServiceEventRuleVariableParameterArrayOutput() ServiceEventRuleVariableParameterArrayOutput

func (ServiceEventRuleVariableParameterArrayOutput) ToServiceEventRuleVariableParameterArrayOutputWithContext added in v1.5.0

func (o ServiceEventRuleVariableParameterArrayOutput) ToServiceEventRuleVariableParameterArrayOutputWithContext(ctx context.Context) ServiceEventRuleVariableParameterArrayOutput

type ServiceEventRuleVariableParameterInput added in v1.5.0

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 added in v1.5.0

type ServiceEventRuleVariableParameterOutput struct{ *pulumi.OutputState }

func (ServiceEventRuleVariableParameterOutput) ElementType added in v1.5.0

func (ServiceEventRuleVariableParameterOutput) Path added in v1.5.0

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 added in v1.5.0

func (o ServiceEventRuleVariableParameterOutput) ToServiceEventRuleVariableParameterOutput() ServiceEventRuleVariableParameterOutput

func (ServiceEventRuleVariableParameterOutput) ToServiceEventRuleVariableParameterOutputWithContext added in v1.5.0

func (o ServiceEventRuleVariableParameterOutput) ToServiceEventRuleVariableParameterOutputWithContext(ctx context.Context) ServiceEventRuleVariableParameterOutput

func (ServiceEventRuleVariableParameterOutput) Value added in v1.5.0

The value for the operation. For example, an RE2 regular expression for regex-type variables.

type ServiceIncidentUrgencyRule

type ServiceIncidentUrgencyRule struct {
	// Incidents' urgency during support hours.
	DuringSupportHours *ServiceIncidentUrgencyRuleDuringSupportHours `pulumi:"duringSupportHours"`
	// Incidents' urgency outside of support hours.
	OutsideSupportHours *ServiceIncidentUrgencyRuleOutsideSupportHours `pulumi:"outsideSupportHours"`
	// The type of scheduled action. Currently, this must be set to `urgencyChange`.
	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 of support hours.
	OutsideSupportHours ServiceIncidentUrgencyRuleOutsideSupportHoursPtrInput `pulumi:"outsideSupportHours"`
	// The type of scheduled action. Currently, this must be set to `urgencyChange`.
	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 scheduled action. Currently, this must be set to `urgencyChange`.
	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 scheduled action. Currently, this must be set to `urgencyChange`.
	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 scheduled action. Currently, this must be set to `urgencyChange`.

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 scheduled action. Currently, this must be set to `urgencyChange`.

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 of support hours.

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 scheduled action. Currently, this must be set to `urgencyChange`.

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 scheduled action. Currently, this must be set to `urgencyChange`.
	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 scheduled action. Currently, this must be set to `urgencyChange`.
	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 scheduled action. Currently, this must be set to `urgencyChange`.

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 scheduled action. Currently, this must be set to `urgencyChange`.

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 of support hours.

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 scheduled action. Currently, this must be set to `urgencyChange`.

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 added in v1.2.1

type ServiceInput interface {
	pulumi.Input

	ToServiceOutput() ServiceOutput
	ToServiceOutputWithContext(ctx context.Context) ServiceOutput
}

type ServiceIntegration

type ServiceIntegration struct {
	pulumi.CustomResourceState

	// 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`.
	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://v2.developer.pagerduty.com/v2/page/api-reference#!/Services/post_services_id_integrations) is an integration that belongs to a service.

## 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 added in v1.2.1

func (*ServiceIntegration) ElementType() reflect.Type

func (*ServiceIntegration) ToServiceIntegrationOutput added in v1.2.1

func (i *ServiceIntegration) ToServiceIntegrationOutput() ServiceIntegrationOutput

func (*ServiceIntegration) ToServiceIntegrationOutputWithContext added in v1.2.1

func (i *ServiceIntegration) ToServiceIntegrationOutputWithContext(ctx context.Context) ServiceIntegrationOutput

func (*ServiceIntegration) ToServiceIntegrationPtrOutput added in v1.3.1

func (i *ServiceIntegration) ToServiceIntegrationPtrOutput() ServiceIntegrationPtrOutput

func (*ServiceIntegration) ToServiceIntegrationPtrOutputWithContext added in v1.3.1

func (i *ServiceIntegration) ToServiceIntegrationPtrOutputWithContext(ctx context.Context) ServiceIntegrationPtrOutput

type ServiceIntegrationArgs

type ServiceIntegrationArgs struct {
	// 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`.
	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 added in v1.3.1

type ServiceIntegrationArray []ServiceIntegrationInput

func (ServiceIntegrationArray) ElementType added in v1.3.1

func (ServiceIntegrationArray) ElementType() reflect.Type

func (ServiceIntegrationArray) ToServiceIntegrationArrayOutput added in v1.3.1

func (i ServiceIntegrationArray) ToServiceIntegrationArrayOutput() ServiceIntegrationArrayOutput

func (ServiceIntegrationArray) ToServiceIntegrationArrayOutputWithContext added in v1.3.1

func (i ServiceIntegrationArray) ToServiceIntegrationArrayOutputWithContext(ctx context.Context) ServiceIntegrationArrayOutput

type ServiceIntegrationArrayInput added in v1.3.1

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 added in v1.3.1

type ServiceIntegrationArrayOutput struct{ *pulumi.OutputState }

func (ServiceIntegrationArrayOutput) ElementType added in v1.3.1

func (ServiceIntegrationArrayOutput) Index added in v1.3.1

func (ServiceIntegrationArrayOutput) ToServiceIntegrationArrayOutput added in v1.3.1

func (o ServiceIntegrationArrayOutput) ToServiceIntegrationArrayOutput() ServiceIntegrationArrayOutput

func (ServiceIntegrationArrayOutput) ToServiceIntegrationArrayOutputWithContext added in v1.3.1

func (o ServiceIntegrationArrayOutput) ToServiceIntegrationArrayOutputWithContext(ctx context.Context) ServiceIntegrationArrayOutput

type ServiceIntegrationInput added in v1.2.1

type ServiceIntegrationInput interface {
	pulumi.Input

	ToServiceIntegrationOutput() ServiceIntegrationOutput
	ToServiceIntegrationOutputWithContext(ctx context.Context) ServiceIntegrationOutput
}

type ServiceIntegrationMap added in v1.3.1

type ServiceIntegrationMap map[string]ServiceIntegrationInput

func (ServiceIntegrationMap) ElementType added in v1.3.1

func (ServiceIntegrationMap) ElementType() reflect.Type

func (ServiceIntegrationMap) ToServiceIntegrationMapOutput added in v1.3.1

func (i ServiceIntegrationMap) ToServiceIntegrationMapOutput() ServiceIntegrationMapOutput

func (ServiceIntegrationMap) ToServiceIntegrationMapOutputWithContext added in v1.3.1

func (i ServiceIntegrationMap) ToServiceIntegrationMapOutputWithContext(ctx context.Context) ServiceIntegrationMapOutput

type ServiceIntegrationMapInput added in v1.3.1

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 added in v1.3.1

type ServiceIntegrationMapOutput struct{ *pulumi.OutputState }

func (ServiceIntegrationMapOutput) ElementType added in v1.3.1

func (ServiceIntegrationMapOutput) MapIndex added in v1.3.1

func (ServiceIntegrationMapOutput) ToServiceIntegrationMapOutput added in v1.3.1

func (o ServiceIntegrationMapOutput) ToServiceIntegrationMapOutput() ServiceIntegrationMapOutput

func (ServiceIntegrationMapOutput) ToServiceIntegrationMapOutputWithContext added in v1.3.1

func (o ServiceIntegrationMapOutput) ToServiceIntegrationMapOutputWithContext(ctx context.Context) ServiceIntegrationMapOutput

type ServiceIntegrationOutput added in v1.2.1

type ServiceIntegrationOutput struct {
	*pulumi.OutputState
}

func (ServiceIntegrationOutput) ElementType added in v1.2.1

func (ServiceIntegrationOutput) ElementType() reflect.Type

func (ServiceIntegrationOutput) ToServiceIntegrationOutput added in v1.2.1

func (o ServiceIntegrationOutput) ToServiceIntegrationOutput() ServiceIntegrationOutput

func (ServiceIntegrationOutput) ToServiceIntegrationOutputWithContext added in v1.2.1

func (o ServiceIntegrationOutput) ToServiceIntegrationOutputWithContext(ctx context.Context) ServiceIntegrationOutput

func (ServiceIntegrationOutput) ToServiceIntegrationPtrOutput added in v1.3.1

func (o ServiceIntegrationOutput) ToServiceIntegrationPtrOutput() ServiceIntegrationPtrOutput

func (ServiceIntegrationOutput) ToServiceIntegrationPtrOutputWithContext added in v1.3.1

func (o ServiceIntegrationOutput) ToServiceIntegrationPtrOutputWithContext(ctx context.Context) ServiceIntegrationPtrOutput

type ServiceIntegrationPtrInput added in v1.3.1

type ServiceIntegrationPtrInput interface {
	pulumi.Input

	ToServiceIntegrationPtrOutput() ServiceIntegrationPtrOutput
	ToServiceIntegrationPtrOutputWithContext(ctx context.Context) ServiceIntegrationPtrOutput
}

type ServiceIntegrationPtrOutput added in v1.3.1

type ServiceIntegrationPtrOutput struct {
	*pulumi.OutputState
}

func (ServiceIntegrationPtrOutput) ElementType added in v1.3.1

func (ServiceIntegrationPtrOutput) ToServiceIntegrationPtrOutput added in v1.3.1

func (o ServiceIntegrationPtrOutput) ToServiceIntegrationPtrOutput() ServiceIntegrationPtrOutput

func (ServiceIntegrationPtrOutput) ToServiceIntegrationPtrOutputWithContext added in v1.3.1

func (o ServiceIntegrationPtrOutput) ToServiceIntegrationPtrOutputWithContext(ctx context.Context) ServiceIntegrationPtrOutput

type ServiceIntegrationState

type ServiceIntegrationState struct {
	// 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`.
	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 added in v1.3.1

type ServiceMap map[string]ServiceInput

func (ServiceMap) ElementType added in v1.3.1

func (ServiceMap) ElementType() reflect.Type

func (ServiceMap) ToServiceMapOutput added in v1.3.1

func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput

func (ServiceMap) ToServiceMapOutputWithContext added in v1.3.1

func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceMapInput added in v1.3.1

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 added in v1.3.1

type ServiceMapOutput struct{ *pulumi.OutputState }

func (ServiceMapOutput) ElementType added in v1.3.1

func (ServiceMapOutput) ElementType() reflect.Type

func (ServiceMapOutput) MapIndex added in v1.3.1

func (ServiceMapOutput) ToServiceMapOutput added in v1.3.1

func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput

func (ServiceMapOutput) ToServiceMapOutputWithContext added in v1.3.1

func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceOutput added in v1.2.1

type ServiceOutput struct {
	*pulumi.OutputState
}

func (ServiceOutput) ElementType added in v1.2.1

func (ServiceOutput) ElementType() reflect.Type

func (ServiceOutput) ToServiceOutput added in v1.2.1

func (o ServiceOutput) ToServiceOutput() ServiceOutput

func (ServiceOutput) ToServiceOutputWithContext added in v1.2.1

func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

func (ServiceOutput) ToServicePtrOutput added in v1.3.1

func (o ServiceOutput) ToServicePtrOutput() ServicePtrOutput

func (ServiceOutput) ToServicePtrOutputWithContext added in v1.3.1

func (o ServiceOutput) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput

type ServicePtrInput added in v1.3.1

type ServicePtrInput interface {
	pulumi.Input

	ToServicePtrOutput() ServicePtrOutput
	ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput
}

type ServicePtrOutput added in v1.3.1

type ServicePtrOutput struct {
	*pulumi.OutputState
}

func (ServicePtrOutput) ElementType added in v1.3.1

func (ServicePtrOutput) ElementType() reflect.Type

func (ServicePtrOutput) ToServicePtrOutput added in v1.3.1

func (o ServicePtrOutput) ToServicePtrOutput() ServicePtrOutput

func (ServicePtrOutput) ToServicePtrOutputWithContext added in v1.3.1

func (o ServicePtrOutput) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput

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 scheduled action. Currently, this must be set to `urgencyChange`.
	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 scheduled action. Currently, this must be set to `urgencyChange`.
	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`.
	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`.
	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`.

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 scheduled action. Currently, this must be set to `urgencyChange`.

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.
	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
	// 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.
	AlertGrouping pulumi.StringPtrInput
	// 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`.
	AlertGroupingTimeout pulumi.IntPtrInput
	// 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
	CreatedAt          pulumi.StringPtrInput
	Description        pulumi.StringPtrInput
	// The escalation policy used by this service.
	EscalationPolicy      pulumi.StringPtrInput
	HtmlUrl               pulumi.StringPtrInput
	IncidentUrgencyRule   ServiceIncidentUrgencyRulePtrInput
	LastIncidentTimestamp pulumi.StringPtrInput
	// The name of the service.
	Name             pulumi.StringPtrInput
	ScheduledActions ServiceScheduledActionArrayInput
	Status           pulumi.StringPtrInput
	SupportHours     ServiceSupportHoursPtrInput
}

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.
	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 scheduled action. Currently, this must be set to `urgencyChange`.
	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.
	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 scheduled action. Currently, this must be set to `urgencyChange`.
	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.

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 scheduled action. Currently, this must be set to `urgencyChange`.

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.

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 scheduled action. Currently, this must be set to `urgencyChange`.

type Team

type Team struct {
	pulumi.CustomResourceState

	Description pulumi.StringPtrOutput `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://v2.developer.pagerduty.com/v2/page/api-reference#!/Teams/get_teams) 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.

## 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 added in v1.2.1

func (*Team) ElementType() reflect.Type

func (*Team) ToTeamOutput added in v1.2.1

func (i *Team) ToTeamOutput() TeamOutput

func (*Team) ToTeamOutputWithContext added in v1.2.1

func (i *Team) ToTeamOutputWithContext(ctx context.Context) TeamOutput

func (*Team) ToTeamPtrOutput added in v1.3.1

func (i *Team) ToTeamPtrOutput() TeamPtrOutput

func (*Team) ToTeamPtrOutputWithContext added in v1.3.1

func (i *Team) ToTeamPtrOutputWithContext(ctx context.Context) TeamPtrOutput

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 added in v1.3.1

type TeamArray []TeamInput

func (TeamArray) ElementType added in v1.3.1

func (TeamArray) ElementType() reflect.Type

func (TeamArray) ToTeamArrayOutput added in v1.3.1

func (i TeamArray) ToTeamArrayOutput() TeamArrayOutput

func (TeamArray) ToTeamArrayOutputWithContext added in v1.3.1

func (i TeamArray) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput

type TeamArrayInput added in v1.3.1

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 added in v1.3.1

type TeamArrayOutput struct{ *pulumi.OutputState }

func (TeamArrayOutput) ElementType added in v1.3.1

func (TeamArrayOutput) ElementType() reflect.Type

func (TeamArrayOutput) Index added in v1.3.1

func (TeamArrayOutput) ToTeamArrayOutput added in v1.3.1

func (o TeamArrayOutput) ToTeamArrayOutput() TeamArrayOutput

func (TeamArrayOutput) ToTeamArrayOutputWithContext added in v1.3.1

func (o TeamArrayOutput) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput

type TeamInput added in v1.2.1

type TeamInput interface {
	pulumi.Input

	ToTeamOutput() TeamOutput
	ToTeamOutputWithContext(ctx context.Context) TeamOutput
}

type TeamMap added in v1.3.1

type TeamMap map[string]TeamInput

func (TeamMap) ElementType added in v1.3.1

func (TeamMap) ElementType() reflect.Type

func (TeamMap) ToTeamMapOutput added in v1.3.1

func (i TeamMap) ToTeamMapOutput() TeamMapOutput

func (TeamMap) ToTeamMapOutputWithContext added in v1.3.1

func (i TeamMap) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput

type TeamMapInput added in v1.3.1

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 added in v1.3.1

type TeamMapOutput struct{ *pulumi.OutputState }

func (TeamMapOutput) ElementType added in v1.3.1

func (TeamMapOutput) ElementType() reflect.Type

func (TeamMapOutput) MapIndex added in v1.3.1

func (TeamMapOutput) ToTeamMapOutput added in v1.3.1

func (o TeamMapOutput) ToTeamMapOutput() TeamMapOutput

func (TeamMapOutput) ToTeamMapOutputWithContext added in v1.3.1

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

A [team membership](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Teams/put_teams_id_users_user_id) manages memberships within a team.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-pagerduty/sdk/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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 added in v1.2.1

func (*TeamMembership) ElementType() reflect.Type

func (*TeamMembership) ToTeamMembershipOutput added in v1.2.1

func (i *TeamMembership) ToTeamMembershipOutput() TeamMembershipOutput

func (*TeamMembership) ToTeamMembershipOutputWithContext added in v1.2.1

func (i *TeamMembership) ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput

func (*TeamMembership) ToTeamMembershipPtrOutput added in v1.3.1

func (i *TeamMembership) ToTeamMembershipPtrOutput() TeamMembershipPtrOutput

func (*TeamMembership) ToTeamMembershipPtrOutputWithContext added in v1.3.1

func (i *TeamMembership) ToTeamMembershipPtrOutputWithContext(ctx context.Context) TeamMembershipPtrOutput

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 added in v1.3.1

type TeamMembershipArray []TeamMembershipInput

func (TeamMembershipArray) ElementType added in v1.3.1

func (TeamMembershipArray) ElementType() reflect.Type

func (TeamMembershipArray) ToTeamMembershipArrayOutput added in v1.3.1

func (i TeamMembershipArray) ToTeamMembershipArrayOutput() TeamMembershipArrayOutput

func (TeamMembershipArray) ToTeamMembershipArrayOutputWithContext added in v1.3.1

func (i TeamMembershipArray) ToTeamMembershipArrayOutputWithContext(ctx context.Context) TeamMembershipArrayOutput

type TeamMembershipArrayInput added in v1.3.1

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 added in v1.3.1

type TeamMembershipArrayOutput struct{ *pulumi.OutputState }

func (TeamMembershipArrayOutput) ElementType added in v1.3.1

func (TeamMembershipArrayOutput) ElementType() reflect.Type

func (TeamMembershipArrayOutput) Index added in v1.3.1

func (TeamMembershipArrayOutput) ToTeamMembershipArrayOutput added in v1.3.1

func (o TeamMembershipArrayOutput) ToTeamMembershipArrayOutput() TeamMembershipArrayOutput

func (TeamMembershipArrayOutput) ToTeamMembershipArrayOutputWithContext added in v1.3.1

func (o TeamMembershipArrayOutput) ToTeamMembershipArrayOutputWithContext(ctx context.Context) TeamMembershipArrayOutput

type TeamMembershipInput added in v1.2.1

type TeamMembershipInput interface {
	pulumi.Input

	ToTeamMembershipOutput() TeamMembershipOutput
	ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput
}

type TeamMembershipMap added in v1.3.1

type TeamMembershipMap map[string]TeamMembershipInput

func (TeamMembershipMap) ElementType added in v1.3.1

func (TeamMembershipMap) ElementType() reflect.Type

func (TeamMembershipMap) ToTeamMembershipMapOutput added in v1.3.1

func (i TeamMembershipMap) ToTeamMembershipMapOutput() TeamMembershipMapOutput

func (TeamMembershipMap) ToTeamMembershipMapOutputWithContext added in v1.3.1

func (i TeamMembershipMap) ToTeamMembershipMapOutputWithContext(ctx context.Context) TeamMembershipMapOutput

type TeamMembershipMapInput added in v1.3.1

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 added in v1.3.1

type TeamMembershipMapOutput struct{ *pulumi.OutputState }

func (TeamMembershipMapOutput) ElementType added in v1.3.1

func (TeamMembershipMapOutput) ElementType() reflect.Type

func (TeamMembershipMapOutput) MapIndex added in v1.3.1

func (TeamMembershipMapOutput) ToTeamMembershipMapOutput added in v1.3.1

func (o TeamMembershipMapOutput) ToTeamMembershipMapOutput() TeamMembershipMapOutput

func (TeamMembershipMapOutput) ToTeamMembershipMapOutputWithContext added in v1.3.1

func (o TeamMembershipMapOutput) ToTeamMembershipMapOutputWithContext(ctx context.Context) TeamMembershipMapOutput

type TeamMembershipOutput added in v1.2.1

type TeamMembershipOutput struct {
	*pulumi.OutputState
}

func (TeamMembershipOutput) ElementType added in v1.2.1

func (TeamMembershipOutput) ElementType() reflect.Type

func (TeamMembershipOutput) ToTeamMembershipOutput added in v1.2.1

func (o TeamMembershipOutput) ToTeamMembershipOutput() TeamMembershipOutput

func (TeamMembershipOutput) ToTeamMembershipOutputWithContext added in v1.2.1

func (o TeamMembershipOutput) ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput

func (TeamMembershipOutput) ToTeamMembershipPtrOutput added in v1.3.1

func (o TeamMembershipOutput) ToTeamMembershipPtrOutput() TeamMembershipPtrOutput

func (TeamMembershipOutput) ToTeamMembershipPtrOutputWithContext added in v1.3.1

func (o TeamMembershipOutput) ToTeamMembershipPtrOutputWithContext(ctx context.Context) TeamMembershipPtrOutput

type TeamMembershipPtrInput added in v1.3.1

type TeamMembershipPtrInput interface {
	pulumi.Input

	ToTeamMembershipPtrOutput() TeamMembershipPtrOutput
	ToTeamMembershipPtrOutputWithContext(ctx context.Context) TeamMembershipPtrOutput
}

type TeamMembershipPtrOutput added in v1.3.1

type TeamMembershipPtrOutput struct {
	*pulumi.OutputState
}

func (TeamMembershipPtrOutput) ElementType added in v1.3.1

func (TeamMembershipPtrOutput) ElementType() reflect.Type

func (TeamMembershipPtrOutput) ToTeamMembershipPtrOutput added in v1.3.1

func (o TeamMembershipPtrOutput) ToTeamMembershipPtrOutput() TeamMembershipPtrOutput

func (TeamMembershipPtrOutput) ToTeamMembershipPtrOutputWithContext added in v1.3.1

func (o TeamMembershipPtrOutput) ToTeamMembershipPtrOutputWithContext(ctx context.Context) TeamMembershipPtrOutput

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 added in v1.2.1

type TeamOutput struct {
	*pulumi.OutputState
}

func (TeamOutput) ElementType added in v1.2.1

func (TeamOutput) ElementType() reflect.Type

func (TeamOutput) ToTeamOutput added in v1.2.1

func (o TeamOutput) ToTeamOutput() TeamOutput

func (TeamOutput) ToTeamOutputWithContext added in v1.2.1

func (o TeamOutput) ToTeamOutputWithContext(ctx context.Context) TeamOutput

func (TeamOutput) ToTeamPtrOutput added in v1.3.1

func (o TeamOutput) ToTeamPtrOutput() TeamPtrOutput

func (TeamOutput) ToTeamPtrOutputWithContext added in v1.3.1

func (o TeamOutput) ToTeamPtrOutputWithContext(ctx context.Context) TeamPtrOutput

type TeamPtrInput added in v1.3.1

type TeamPtrInput interface {
	pulumi.Input

	ToTeamPtrOutput() TeamPtrOutput
	ToTeamPtrOutputWithContext(ctx context.Context) TeamPtrOutput
}

type TeamPtrOutput added in v1.3.1

type TeamPtrOutput struct {
	*pulumi.OutputState
}

func (TeamPtrOutput) ElementType added in v1.3.1

func (TeamPtrOutput) ElementType() reflect.Type

func (TeamPtrOutput) ToTeamPtrOutput added in v1.3.1

func (o TeamPtrOutput) ToTeamPtrOutput() TeamPtrOutput

func (TeamPtrOutput) ToTeamPtrOutputWithContext added in v1.3.1

func (o TeamPtrOutput) ToTeamPtrOutputWithContext(ctx context.Context) TeamPtrOutput

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.StringPtrOutput `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 name of the user.
	Name pulumi.StringOutput `pulumi:"name"`
	// The user role. 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`.  Can be `admin`, `limitedUser`, `observer`, `owner`, `readOnlyUser`, `readOnlyLimitedUser`, `restrictedAccess`, or `user`.
	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://v2.developer.pagerduty.com/v2/page/api-reference#!/Users/get_users) 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/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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

```

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 added in v1.2.1

func (*User) ElementType() reflect.Type

func (*User) ToUserOutput added in v1.2.1

func (i *User) ToUserOutput() UserOutput

func (*User) ToUserOutputWithContext added in v1.2.1

func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput

func (*User) ToUserPtrOutput added in v1.3.1

func (i *User) ToUserPtrOutput() UserPtrOutput

func (*User) ToUserPtrOutputWithContext added in v1.3.1

func (i *User) ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput

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 name of the user.
	Name pulumi.StringPtrInput
	// The user role. 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`.  Can be `admin`, `limitedUser`, `observer`, `owner`, `readOnlyUser`, `readOnlyLimitedUser`, `restrictedAccess`, or `user`.
	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 added in v1.3.1

type UserArray []UserInput

func (UserArray) ElementType added in v1.3.1

func (UserArray) ElementType() reflect.Type

func (UserArray) ToUserArrayOutput added in v1.3.1

func (i UserArray) ToUserArrayOutput() UserArrayOutput

func (UserArray) ToUserArrayOutputWithContext added in v1.3.1

func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserArrayInput added in v1.3.1

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 added in v1.3.1

type UserArrayOutput struct{ *pulumi.OutputState }

func (UserArrayOutput) ElementType added in v1.3.1

func (UserArrayOutput) ElementType() reflect.Type

func (UserArrayOutput) Index added in v1.3.1

func (UserArrayOutput) ToUserArrayOutput added in v1.3.1

func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput

func (UserArrayOutput) ToUserArrayOutputWithContext added in v1.3.1

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

A [contact method](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Users/get_users_id_contact_methods) is a contact method for a PagerDuty user (email, phone or SMS).

## 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 added in v1.2.1

func (*UserContactMethod) ElementType() reflect.Type

func (*UserContactMethod) ToUserContactMethodOutput added in v1.2.1

func (i *UserContactMethod) ToUserContactMethodOutput() UserContactMethodOutput

func (*UserContactMethod) ToUserContactMethodOutputWithContext added in v1.2.1

func (i *UserContactMethod) ToUserContactMethodOutputWithContext(ctx context.Context) UserContactMethodOutput

func (*UserContactMethod) ToUserContactMethodPtrOutput added in v1.3.1

func (i *UserContactMethod) ToUserContactMethodPtrOutput() UserContactMethodPtrOutput

func (*UserContactMethod) ToUserContactMethodPtrOutputWithContext added in v1.3.1

func (i *UserContactMethod) ToUserContactMethodPtrOutputWithContext(ctx context.Context) UserContactMethodPtrOutput

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 added in v1.3.1

type UserContactMethodArray []UserContactMethodInput

func (UserContactMethodArray) ElementType added in v1.3.1

func (UserContactMethodArray) ElementType() reflect.Type

func (UserContactMethodArray) ToUserContactMethodArrayOutput added in v1.3.1

func (i UserContactMethodArray) ToUserContactMethodArrayOutput() UserContactMethodArrayOutput

func (UserContactMethodArray) ToUserContactMethodArrayOutputWithContext added in v1.3.1

func (i UserContactMethodArray) ToUserContactMethodArrayOutputWithContext(ctx context.Context) UserContactMethodArrayOutput

type UserContactMethodArrayInput added in v1.3.1

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 added in v1.3.1

type UserContactMethodArrayOutput struct{ *pulumi.OutputState }

func (UserContactMethodArrayOutput) ElementType added in v1.3.1

func (UserContactMethodArrayOutput) Index added in v1.3.1

func (UserContactMethodArrayOutput) ToUserContactMethodArrayOutput added in v1.3.1

func (o UserContactMethodArrayOutput) ToUserContactMethodArrayOutput() UserContactMethodArrayOutput

func (UserContactMethodArrayOutput) ToUserContactMethodArrayOutputWithContext added in v1.3.1

func (o UserContactMethodArrayOutput) ToUserContactMethodArrayOutputWithContext(ctx context.Context) UserContactMethodArrayOutput

type UserContactMethodInput added in v1.2.1

type UserContactMethodInput interface {
	pulumi.Input

	ToUserContactMethodOutput() UserContactMethodOutput
	ToUserContactMethodOutputWithContext(ctx context.Context) UserContactMethodOutput
}

type UserContactMethodMap added in v1.3.1

type UserContactMethodMap map[string]UserContactMethodInput

func (UserContactMethodMap) ElementType added in v1.3.1

func (UserContactMethodMap) ElementType() reflect.Type

func (UserContactMethodMap) ToUserContactMethodMapOutput added in v1.3.1

func (i UserContactMethodMap) ToUserContactMethodMapOutput() UserContactMethodMapOutput

func (UserContactMethodMap) ToUserContactMethodMapOutputWithContext added in v1.3.1

func (i UserContactMethodMap) ToUserContactMethodMapOutputWithContext(ctx context.Context) UserContactMethodMapOutput

type UserContactMethodMapInput added in v1.3.1

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 added in v1.3.1

type UserContactMethodMapOutput struct{ *pulumi.OutputState }

func (UserContactMethodMapOutput) ElementType added in v1.3.1

func (UserContactMethodMapOutput) ElementType() reflect.Type

func (UserContactMethodMapOutput) MapIndex added in v1.3.1

func (UserContactMethodMapOutput) ToUserContactMethodMapOutput added in v1.3.1

func (o UserContactMethodMapOutput) ToUserContactMethodMapOutput() UserContactMethodMapOutput

func (UserContactMethodMapOutput) ToUserContactMethodMapOutputWithContext added in v1.3.1

func (o UserContactMethodMapOutput) ToUserContactMethodMapOutputWithContext(ctx context.Context) UserContactMethodMapOutput

type UserContactMethodOutput added in v1.2.1

type UserContactMethodOutput struct {
	*pulumi.OutputState
}

func (UserContactMethodOutput) ElementType added in v1.2.1

func (UserContactMethodOutput) ElementType() reflect.Type

func (UserContactMethodOutput) ToUserContactMethodOutput added in v1.2.1

func (o UserContactMethodOutput) ToUserContactMethodOutput() UserContactMethodOutput

func (UserContactMethodOutput) ToUserContactMethodOutputWithContext added in v1.2.1

func (o UserContactMethodOutput) ToUserContactMethodOutputWithContext(ctx context.Context) UserContactMethodOutput

func (UserContactMethodOutput) ToUserContactMethodPtrOutput added in v1.3.1

func (o UserContactMethodOutput) ToUserContactMethodPtrOutput() UserContactMethodPtrOutput

func (UserContactMethodOutput) ToUserContactMethodPtrOutputWithContext added in v1.3.1

func (o UserContactMethodOutput) ToUserContactMethodPtrOutputWithContext(ctx context.Context) UserContactMethodPtrOutput

type UserContactMethodPtrInput added in v1.3.1

type UserContactMethodPtrInput interface {
	pulumi.Input

	ToUserContactMethodPtrOutput() UserContactMethodPtrOutput
	ToUserContactMethodPtrOutputWithContext(ctx context.Context) UserContactMethodPtrOutput
}

type UserContactMethodPtrOutput added in v1.3.1

type UserContactMethodPtrOutput struct {
	*pulumi.OutputState
}

func (UserContactMethodPtrOutput) ElementType added in v1.3.1

func (UserContactMethodPtrOutput) ElementType() reflect.Type

func (UserContactMethodPtrOutput) ToUserContactMethodPtrOutput added in v1.3.1

func (o UserContactMethodPtrOutput) ToUserContactMethodPtrOutput() UserContactMethodPtrOutput

func (UserContactMethodPtrOutput) ToUserContactMethodPtrOutputWithContext added in v1.3.1

func (o UserContactMethodPtrOutput) ToUserContactMethodPtrOutputWithContext(ctx context.Context) UserContactMethodPtrOutput

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 added in v1.2.1

type UserInput interface {
	pulumi.Input

	ToUserOutput() UserOutput
	ToUserOutputWithContext(ctx context.Context) UserOutput
}

type UserMap added in v1.3.1

type UserMap map[string]UserInput

func (UserMap) ElementType added in v1.3.1

func (UserMap) ElementType() reflect.Type

func (UserMap) ToUserMapOutput added in v1.3.1

func (i UserMap) ToUserMapOutput() UserMapOutput

func (UserMap) ToUserMapOutputWithContext added in v1.3.1

func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserMapInput added in v1.3.1

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 added in v1.3.1

type UserMapOutput struct{ *pulumi.OutputState }

func (UserMapOutput) ElementType added in v1.3.1

func (UserMapOutput) ElementType() reflect.Type

func (UserMapOutput) MapIndex added in v1.3.1

func (UserMapOutput) ToUserMapOutput added in v1.3.1

func (o UserMapOutput) ToUserMapOutput() UserMapOutput

func (UserMapOutput) ToUserMapOutputWithContext added in v1.3.1

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 UserNotificationRuleContactMethodOutput `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://v2.developer.pagerduty.com/v2/page/api-reference#!/Users/get_users_id_notification_rules_notification_rule_id) configures where and when a PagerDuty user is notified when a triggered incident is assigned to him. 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/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v2/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: &pagerduty.UserNotificationRuleContactMethodArgs{
				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: &pagerduty.UserNotificationRuleContactMethodArgs{
				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: &pagerduty.UserNotificationRuleContactMethodArgs{
				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 added in v1.2.1

func (*UserNotificationRule) ElementType() reflect.Type

func (*UserNotificationRule) ToUserNotificationRuleOutput added in v1.2.1

func (i *UserNotificationRule) ToUserNotificationRuleOutput() UserNotificationRuleOutput

func (*UserNotificationRule) ToUserNotificationRuleOutputWithContext added in v1.2.1

func (i *UserNotificationRule) ToUserNotificationRuleOutputWithContext(ctx context.Context) UserNotificationRuleOutput

func (*UserNotificationRule) ToUserNotificationRulePtrOutput added in v1.3.1

func (i *UserNotificationRule) ToUserNotificationRulePtrOutput() UserNotificationRulePtrOutput

func (*UserNotificationRule) ToUserNotificationRulePtrOutputWithContext added in v1.3.1

func (i *UserNotificationRule) ToUserNotificationRulePtrOutputWithContext(ctx context.Context) UserNotificationRulePtrOutput

type UserNotificationRuleArgs

type UserNotificationRuleArgs struct {
	// A contact method block, configured as a block described below.
	ContactMethod UserNotificationRuleContactMethodInput
	// 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 added in v1.3.1

type UserNotificationRuleArray []UserNotificationRuleInput

func (UserNotificationRuleArray) ElementType added in v1.3.1

func (UserNotificationRuleArray) ElementType() reflect.Type

func (UserNotificationRuleArray) ToUserNotificationRuleArrayOutput added in v1.3.1

func (i UserNotificationRuleArray) ToUserNotificationRuleArrayOutput() UserNotificationRuleArrayOutput

func (UserNotificationRuleArray) ToUserNotificationRuleArrayOutputWithContext added in v1.3.1

func (i UserNotificationRuleArray) ToUserNotificationRuleArrayOutputWithContext(ctx context.Context) UserNotificationRuleArrayOutput

type UserNotificationRuleArrayInput added in v1.3.1

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 added in v1.3.1

type UserNotificationRuleArrayOutput struct{ *pulumi.OutputState }

func (UserNotificationRuleArrayOutput) ElementType added in v1.3.1

func (UserNotificationRuleArrayOutput) Index added in v1.3.1

func (UserNotificationRuleArrayOutput) ToUserNotificationRuleArrayOutput added in v1.3.1

func (o UserNotificationRuleArrayOutput) ToUserNotificationRuleArrayOutput() UserNotificationRuleArrayOutput

func (UserNotificationRuleArrayOutput) ToUserNotificationRuleArrayOutputWithContext added in v1.3.1

func (o UserNotificationRuleArrayOutput) ToUserNotificationRuleArrayOutputWithContext(ctx context.Context) UserNotificationRuleArrayOutput

type UserNotificationRuleContactMethod

type UserNotificationRuleContactMethod struct {
	// The id of the referenced contact method.
	Id string `pulumi:"id"`
	// The type of contact method. Can be `emailContactMethod`, `phoneContactMethod`, `pushNotificationContactMethod` or `smsContactMethod`.
	Type string `pulumi:"type"`
}

type UserNotificationRuleContactMethodArgs

type UserNotificationRuleContactMethodArgs struct {
	// The id of the referenced contact method.
	Id pulumi.StringInput `pulumi:"id"`
	// The type of contact method. Can be `emailContactMethod`, `phoneContactMethod`, `pushNotificationContactMethod` or `smsContactMethod`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (UserNotificationRuleContactMethodArgs) ElementType

func (UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodOutput

func (i UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodOutput() UserNotificationRuleContactMethodOutput

func (UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodOutputWithContext

func (i UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodOutputWithContext(ctx context.Context) UserNotificationRuleContactMethodOutput

func (UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodPtrOutput

func (i UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodPtrOutput() UserNotificationRuleContactMethodPtrOutput

func (UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodPtrOutputWithContext

func (i UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodPtrOutputWithContext(ctx context.Context) UserNotificationRuleContactMethodPtrOutput

type UserNotificationRuleContactMethodInput

type UserNotificationRuleContactMethodInput interface {
	pulumi.Input

	ToUserNotificationRuleContactMethodOutput() UserNotificationRuleContactMethodOutput
	ToUserNotificationRuleContactMethodOutputWithContext(context.Context) UserNotificationRuleContactMethodOutput
}

UserNotificationRuleContactMethodInput is an input type that accepts UserNotificationRuleContactMethodArgs and UserNotificationRuleContactMethodOutput values. You can construct a concrete instance of `UserNotificationRuleContactMethodInput` via:

UserNotificationRuleContactMethodArgs{...}

type UserNotificationRuleContactMethodOutput

type UserNotificationRuleContactMethodOutput struct{ *pulumi.OutputState }

func (UserNotificationRuleContactMethodOutput) ElementType

func (UserNotificationRuleContactMethodOutput) Id

The id of the referenced contact method.

func (UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodOutput

func (o UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodOutput() UserNotificationRuleContactMethodOutput

func (UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodOutputWithContext

func (o UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodOutputWithContext(ctx context.Context) UserNotificationRuleContactMethodOutput

func (UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodPtrOutput

func (o UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodPtrOutput() UserNotificationRuleContactMethodPtrOutput

func (UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodPtrOutputWithContext

func (o UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodPtrOutputWithContext(ctx context.Context) UserNotificationRuleContactMethodPtrOutput

func (UserNotificationRuleContactMethodOutput) Type

The type of contact method. Can be `emailContactMethod`, `phoneContactMethod`, `pushNotificationContactMethod` or `smsContactMethod`.

type UserNotificationRuleContactMethodPtrInput

type UserNotificationRuleContactMethodPtrInput interface {
	pulumi.Input

	ToUserNotificationRuleContactMethodPtrOutput() UserNotificationRuleContactMethodPtrOutput
	ToUserNotificationRuleContactMethodPtrOutputWithContext(context.Context) UserNotificationRuleContactMethodPtrOutput
}

UserNotificationRuleContactMethodPtrInput is an input type that accepts UserNotificationRuleContactMethodArgs, UserNotificationRuleContactMethodPtr and UserNotificationRuleContactMethodPtrOutput values. You can construct a concrete instance of `UserNotificationRuleContactMethodPtrInput` via:

        UserNotificationRuleContactMethodArgs{...}

or:

        nil

type UserNotificationRuleContactMethodPtrOutput

type UserNotificationRuleContactMethodPtrOutput struct{ *pulumi.OutputState }

func (UserNotificationRuleContactMethodPtrOutput) Elem

func (UserNotificationRuleContactMethodPtrOutput) ElementType

func (UserNotificationRuleContactMethodPtrOutput) Id

The id of the referenced contact method.

func (UserNotificationRuleContactMethodPtrOutput) ToUserNotificationRuleContactMethodPtrOutput

func (o UserNotificationRuleContactMethodPtrOutput) ToUserNotificationRuleContactMethodPtrOutput() UserNotificationRuleContactMethodPtrOutput

func (UserNotificationRuleContactMethodPtrOutput) ToUserNotificationRuleContactMethodPtrOutputWithContext

func (o UserNotificationRuleContactMethodPtrOutput) ToUserNotificationRuleContactMethodPtrOutputWithContext(ctx context.Context) UserNotificationRuleContactMethodPtrOutput

func (UserNotificationRuleContactMethodPtrOutput) Type

The type of contact method. Can be `emailContactMethod`, `phoneContactMethod`, `pushNotificationContactMethod` or `smsContactMethod`.

type UserNotificationRuleInput added in v1.2.1

type UserNotificationRuleInput interface {
	pulumi.Input

	ToUserNotificationRuleOutput() UserNotificationRuleOutput
	ToUserNotificationRuleOutputWithContext(ctx context.Context) UserNotificationRuleOutput
}

type UserNotificationRuleMap added in v1.3.1

type UserNotificationRuleMap map[string]UserNotificationRuleInput

func (UserNotificationRuleMap) ElementType added in v1.3.1

func (UserNotificationRuleMap) ElementType() reflect.Type

func (UserNotificationRuleMap) ToUserNotificationRuleMapOutput added in v1.3.1

func (i UserNotificationRuleMap) ToUserNotificationRuleMapOutput() UserNotificationRuleMapOutput

func (UserNotificationRuleMap) ToUserNotificationRuleMapOutputWithContext added in v1.3.1

func (i UserNotificationRuleMap) ToUserNotificationRuleMapOutputWithContext(ctx context.Context) UserNotificationRuleMapOutput

type UserNotificationRuleMapInput added in v1.3.1

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 added in v1.3.1

type UserNotificationRuleMapOutput struct{ *pulumi.OutputState }

func (UserNotificationRuleMapOutput) ElementType added in v1.3.1

func (UserNotificationRuleMapOutput) MapIndex added in v1.3.1

func (UserNotificationRuleMapOutput) ToUserNotificationRuleMapOutput added in v1.3.1

func (o UserNotificationRuleMapOutput) ToUserNotificationRuleMapOutput() UserNotificationRuleMapOutput

func (UserNotificationRuleMapOutput) ToUserNotificationRuleMapOutputWithContext added in v1.3.1

func (o UserNotificationRuleMapOutput) ToUserNotificationRuleMapOutputWithContext(ctx context.Context) UserNotificationRuleMapOutput

type UserNotificationRuleOutput added in v1.2.1

type UserNotificationRuleOutput struct {
	*pulumi.OutputState
}

func (UserNotificationRuleOutput) ElementType added in v1.2.1

func (UserNotificationRuleOutput) ElementType() reflect.Type

func (UserNotificationRuleOutput) ToUserNotificationRuleOutput added in v1.2.1

func (o UserNotificationRuleOutput) ToUserNotificationRuleOutput() UserNotificationRuleOutput

func (UserNotificationRuleOutput) ToUserNotificationRuleOutputWithContext added in v1.2.1

func (o UserNotificationRuleOutput) ToUserNotificationRuleOutputWithContext(ctx context.Context) UserNotificationRuleOutput

func (UserNotificationRuleOutput) ToUserNotificationRulePtrOutput added in v1.3.1

func (o UserNotificationRuleOutput) ToUserNotificationRulePtrOutput() UserNotificationRulePtrOutput

func (UserNotificationRuleOutput) ToUserNotificationRulePtrOutputWithContext added in v1.3.1

func (o UserNotificationRuleOutput) ToUserNotificationRulePtrOutputWithContext(ctx context.Context) UserNotificationRulePtrOutput

type UserNotificationRulePtrInput added in v1.3.1

type UserNotificationRulePtrInput interface {
	pulumi.Input

	ToUserNotificationRulePtrOutput() UserNotificationRulePtrOutput
	ToUserNotificationRulePtrOutputWithContext(ctx context.Context) UserNotificationRulePtrOutput
}

type UserNotificationRulePtrOutput added in v1.3.1

type UserNotificationRulePtrOutput struct {
	*pulumi.OutputState
}

func (UserNotificationRulePtrOutput) ElementType added in v1.3.1

func (UserNotificationRulePtrOutput) ToUserNotificationRulePtrOutput added in v1.3.1

func (o UserNotificationRulePtrOutput) ToUserNotificationRulePtrOutput() UserNotificationRulePtrOutput

func (UserNotificationRulePtrOutput) ToUserNotificationRulePtrOutputWithContext added in v1.3.1

func (o UserNotificationRulePtrOutput) ToUserNotificationRulePtrOutputWithContext(ctx context.Context) UserNotificationRulePtrOutput

type UserNotificationRuleState

type UserNotificationRuleState struct {
	// A contact method block, configured as a block described below.
	ContactMethod UserNotificationRuleContactMethodPtrInput
	// 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 added in v1.2.1

type UserOutput struct {
	*pulumi.OutputState
}

func (UserOutput) ElementType added in v1.2.1

func (UserOutput) ElementType() reflect.Type

func (UserOutput) ToUserOutput added in v1.2.1

func (o UserOutput) ToUserOutput() UserOutput

func (UserOutput) ToUserOutputWithContext added in v1.2.1

func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput

func (UserOutput) ToUserPtrOutput added in v1.3.1

func (o UserOutput) ToUserPtrOutput() UserPtrOutput

func (UserOutput) ToUserPtrOutputWithContext added in v1.3.1

func (o UserOutput) ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput

type UserPtrInput added in v1.3.1

type UserPtrInput interface {
	pulumi.Input

	ToUserPtrOutput() UserPtrOutput
	ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput
}

type UserPtrOutput added in v1.3.1

type UserPtrOutput struct {
	*pulumi.OutputState
}

func (UserPtrOutput) ElementType added in v1.3.1

func (UserPtrOutput) ElementType() reflect.Type

func (UserPtrOutput) ToUserPtrOutput added in v1.3.1

func (o UserPtrOutput) ToUserPtrOutput() UserPtrOutput

func (UserPtrOutput) ToUserPtrOutputWithContext added in v1.3.1

func (o UserPtrOutput) ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput

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 name of the user.
	Name pulumi.StringPtrInput
	// The user role. 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`.  Can be `admin`, `limitedUser`, `observer`, `owner`, `readOnlyUser`, `readOnlyLimitedUser`, `restrictedAccess`, or `user`.
	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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL