Show / Hide Table of Contents

Class EventRule

Inheritance
System.Object
Pulumi.Resource
Pulumi.CustomResource
EventRule
Inherited Members
Pulumi.CustomResource.Id
Pulumi.Resource.GetResourceType()
Pulumi.Resource.GetResourceName()
Pulumi.Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Pagerduty
Assembly: Pulumi.Pagerduty.dll
Syntax
public class EventRule : CustomResource

Constructors

View Source

EventRule(String, EventRuleArgs, CustomResourceOptions)

Create a EventRule resource with the given unique name, arguments, and options.

Declaration
public EventRule(string name, EventRuleArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

EventRuleArgs args

The arguments used to populate this resource's properties

Pulumi.CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

ActionJson

A list of one or more actions for each rule. Each action within the list is itself a list.

Declaration
public Output<string> ActionJson { get; }
Property Value
Type Description
Pulumi.Output<System.String>
View Source

AdvancedConditionJson

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 in the PagerDuty API documentation.

Declaration
public Output<string> AdvancedConditionJson { get; }
Property Value
Type Description
Pulumi.Output<System.String>
View Source

CatchAll

A boolean that indicates whether the rule is a catch all for the account. This field is read-only through the PagerDuty API.

Declaration
public Output<bool> CatchAll { get; }
Property Value
Type Description
Pulumi.Output<System.Boolean>
View Source

ConditionJson

Contains a list of conditions. The first field in the list is and or or, followed by a list of operators and values.

Declaration
public Output<string> ConditionJson { get; }
Property Value
Type Description
Pulumi.Output<System.String>

Methods

View Source

Get(String, Input<String>, EventRuleState, CustomResourceOptions)

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

Declaration
public static EventRule Get(string name, Input<string> id, EventRuleState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Pulumi.Input<System.String> id

The unique provider ID of the resource to lookup.

EventRuleState state

Any extra arguments used during the lookup.

Pulumi.CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
EventRule
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.