Show / Hide Table of Contents

Class RulesetRule

An event rule allows you to set actions that should be taken on events that meet your designated rule criteria.

Inheritance
System.Object
Pulumi.Resource
Pulumi.CustomResource
RulesetRule
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 RulesetRule : CustomResource

Constructors

View Source

RulesetRule(String, RulesetRuleArgs, CustomResourceOptions)

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

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

The unique name of the resource

RulesetRuleArgs 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

Actions

Actions to apply to an event if the conditions match.

Declaration
public Output<RulesetRuleActions> Actions { get; }
Property Value
Type Description
Pulumi.Output<RulesetRuleActions>
View Source

Conditions

Conditions evaluated to check if an event matches this event rule. Is always empty for the catch all rule, though.

Declaration
public Output<RulesetRuleConditions> Conditions { get; }
Property Value
Type Description
Pulumi.Output<RulesetRuleConditions>
View Source

Disabled

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

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

Position

Position/index of the rule within the ruleset.

Declaration
public Output<int?> Position { get; }
Property Value
Type Description
Pulumi.Output<System.Nullable<System.Int32>>
View Source

Ruleset

The ID of the ruleset that the rule belongs to.

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

TimeFrame

Settings for scheduling the rule.

Declaration
public Output<RulesetRuleTimeFrame> TimeFrame { get; }
Property Value
Type Description
Pulumi.Output<RulesetRuleTimeFrame>

Methods

View Source

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

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

Declaration
public static RulesetRule Get(string name, Input<string> id, RulesetRuleState 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.

RulesetRuleState state

Any extra arguments used during the lookup.

Pulumi.CustomResourceOptions options

A bag of options that control this resource's behavior

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