Show / Hide Table of Contents

Class Ruleset

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

using Pulumi;
using Pagerduty = Pulumi.Pagerduty;

class MyStack : Stack
{
public MyStack()
{
    var fooTeam = new Pagerduty.Team("fooTeam", new Pagerduty.TeamArgs
    {
    });
    var fooRuleset = new Pagerduty.Ruleset("fooRuleset", new Pagerduty.RulesetArgs
    {
        Team = new Pagerduty.Inputs.RulesetTeamArgs
        {
            Id = fooTeam.Id,
        },
    });
}

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

Constructors

View Source

Ruleset(String, RulesetArgs, CustomResourceOptions)

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

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

The unique name of the resource

RulesetArgs 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

Name

Name of the ruleset.

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

RoutingKeys

Routing keys routed to this ruleset.

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

Team

Reference to the team that owns the ruleset. If none is specified, only admins have access.

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

Type

Type of ruleset. Currently only sets to global.

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

Methods

View Source

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

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

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

RulesetState state

Any extra arguments used during the lookup.

Pulumi.CustomResourceOptions options

A bag of options that control this resource's behavior

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