Class EventRule
Inheritance
Inherited Members
Namespace: Pulumi.Pagerduty
Assembly: Pulumi.Pagerduty.dll
Syntax
public class EventRule : CustomResource
Constructors
View SourceEventRule(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 SourceActionJson
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> |
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> |
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> |
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 SourceGet(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 |