newrelic logo
New Relic v5.8.0, Mar 27 23

newrelic.AlertMutingRule

Import

Alert conditions can be imported using a composite ID of <account_id>:<muting_rule_id>, e.g.

 $ pulumi import newrelic:index/alertMutingRule:AlertMutingRule foo 538291:6789035

Example Usage

using System.Collections.Generic;
using Pulumi;
using NewRelic = Pulumi.NewRelic;

return await Deployment.RunAsync(() => 
{
    var foo = new NewRelic.AlertMutingRule("foo", new()
    {
        Condition = new NewRelic.Inputs.AlertMutingRuleConditionArgs
        {
            Conditions = new[]
            {
                new NewRelic.Inputs.AlertMutingRuleConditionConditionArgs
                {
                    Attribute = "product",
                    Operator = "EQUALS",
                    Values = new[]
                    {
                        "APM",
                    },
                },
                new NewRelic.Inputs.AlertMutingRuleConditionConditionArgs
                {
                    Attribute = "targetId",
                    Operator = "EQUALS",
                    Values = new[]
                    {
                        "Muted",
                    },
                },
            },
            Operator = "AND",
        },
        Description = "muting rule test.",
        Enabled = true,
        Schedule = new NewRelic.Inputs.AlertMutingRuleScheduleArgs
        {
            EndTime = "2021-01-28T16:30:00",
            Repeat = "WEEKLY",
            RepeatCount = 42,
            StartTime = "2021-01-28T15:30:00",
            TimeZone = "America/Los_Angeles",
            WeeklyRepeatDays = new[]
            {
                "MONDAY",
                "WEDNESDAY",
                "FRIDAY",
            },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewAlertMutingRule(ctx, "foo", &newrelic.AlertMutingRuleArgs{
			Condition: &newrelic.AlertMutingRuleConditionArgs{
				Conditions: newrelic.AlertMutingRuleConditionConditionArray{
					&newrelic.AlertMutingRuleConditionConditionArgs{
						Attribute: pulumi.String("product"),
						Operator:  pulumi.String("EQUALS"),
						Values: pulumi.StringArray{
							pulumi.String("APM"),
						},
					},
					&newrelic.AlertMutingRuleConditionConditionArgs{
						Attribute: pulumi.String("targetId"),
						Operator:  pulumi.String("EQUALS"),
						Values: pulumi.StringArray{
							pulumi.String("Muted"),
						},
					},
				},
				Operator: pulumi.String("AND"),
			},
			Description: pulumi.String("muting rule test."),
			Enabled:     pulumi.Bool(true),
			Schedule: &newrelic.AlertMutingRuleScheduleArgs{
				EndTime:     pulumi.String("2021-01-28T16:30:00"),
				Repeat:      pulumi.String("WEEKLY"),
				RepeatCount: pulumi.Int(42),
				StartTime:   pulumi.String("2021-01-28T15:30:00"),
				TimeZone:    pulumi.String("America/Los_Angeles"),
				WeeklyRepeatDays: pulumi.StringArray{
					pulumi.String("MONDAY"),
					pulumi.String("WEDNESDAY"),
					pulumi.String("FRIDAY"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.newrelic.AlertMutingRule;
import com.pulumi.newrelic.AlertMutingRuleArgs;
import com.pulumi.newrelic.inputs.AlertMutingRuleConditionArgs;
import com.pulumi.newrelic.inputs.AlertMutingRuleScheduleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var foo = new AlertMutingRule("foo", AlertMutingRuleArgs.builder()        
            .condition(AlertMutingRuleConditionArgs.builder()
                .conditions(                
                    AlertMutingRuleConditionConditionArgs.builder()
                        .attribute("product")
                        .operator("EQUALS")
                        .values("APM")
                        .build(),
                    AlertMutingRuleConditionConditionArgs.builder()
                        .attribute("targetId")
                        .operator("EQUALS")
                        .values("Muted")
                        .build())
                .operator("AND")
                .build())
            .description("muting rule test.")
            .enabled(true)
            .schedule(AlertMutingRuleScheduleArgs.builder()
                .endTime("2021-01-28T16:30:00")
                .repeat("WEEKLY")
                .repeatCount(42)
                .startTime("2021-01-28T15:30:00")
                .timeZone("America/Los_Angeles")
                .weeklyRepeatDays(                
                    "MONDAY",
                    "WEDNESDAY",
                    "FRIDAY")
                .build())
            .build());

    }
}
import pulumi
import pulumi_newrelic as newrelic

foo = newrelic.AlertMutingRule("foo",
    condition=newrelic.AlertMutingRuleConditionArgs(
        conditions=[
            newrelic.AlertMutingRuleConditionConditionArgs(
                attribute="product",
                operator="EQUALS",
                values=["APM"],
            ),
            newrelic.AlertMutingRuleConditionConditionArgs(
                attribute="targetId",
                operator="EQUALS",
                values=["Muted"],
            ),
        ],
        operator="AND",
    ),
    description="muting rule test.",
    enabled=True,
    schedule=newrelic.AlertMutingRuleScheduleArgs(
        end_time="2021-01-28T16:30:00",
        repeat="WEEKLY",
        repeat_count=42,
        start_time="2021-01-28T15:30:00",
        time_zone="America/Los_Angeles",
        weekly_repeat_days=[
            "MONDAY",
            "WEDNESDAY",
            "FRIDAY",
        ],
    ))
import * as pulumi from "@pulumi/pulumi";
import * as newrelic from "@pulumi/newrelic";

const foo = new newrelic.AlertMutingRule("foo", {
    condition: {
        conditions: [
            {
                attribute: "product",
                operator: "EQUALS",
                values: ["APM"],
            },
            {
                attribute: "targetId",
                operator: "EQUALS",
                values: ["Muted"],
            },
        ],
        operator: "AND",
    },
    description: "muting rule test.",
    enabled: true,
    schedule: {
        endTime: "2021-01-28T16:30:00",
        repeat: "WEEKLY",
        repeatCount: 42,
        startTime: "2021-01-28T15:30:00",
        timeZone: "America/Los_Angeles",
        weeklyRepeatDays: [
            "MONDAY",
            "WEDNESDAY",
            "FRIDAY",
        ],
    },
});
resources:
  foo:
    type: newrelic:AlertMutingRule
    properties:
      condition:
        conditions:
          - attribute: product
            operator: EQUALS
            values:
              - APM
          - attribute: targetId
            operator: EQUALS
            values:
              - Muted
        operator: AND
      description: muting rule test.
      enabled: true
      schedule:
        endTime: 2021-01-28T16:30:00
        repeat: WEEKLY
        repeatCount: 42
        startTime: 2021-01-28T15:30:00
        timeZone: America/Los_Angeles
        weeklyRepeatDays:
          - MONDAY
          - WEDNESDAY
          - FRIDAY

Create AlertMutingRule Resource

new AlertMutingRule(name: string, args: AlertMutingRuleArgs, opts?: CustomResourceOptions);
@overload
def AlertMutingRule(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    account_id: Optional[int] = None,
                    condition: Optional[AlertMutingRuleConditionArgs] = None,
                    description: Optional[str] = None,
                    enabled: Optional[bool] = None,
                    name: Optional[str] = None,
                    schedule: Optional[AlertMutingRuleScheduleArgs] = None)
@overload
def AlertMutingRule(resource_name: str,
                    args: AlertMutingRuleArgs,
                    opts: Optional[ResourceOptions] = None)
func NewAlertMutingRule(ctx *Context, name string, args AlertMutingRuleArgs, opts ...ResourceOption) (*AlertMutingRule, error)
public AlertMutingRule(string name, AlertMutingRuleArgs args, CustomResourceOptions? opts = null)
public AlertMutingRule(String name, AlertMutingRuleArgs args)
public AlertMutingRule(String name, AlertMutingRuleArgs args, CustomResourceOptions options)
type: newrelic:AlertMutingRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AlertMutingRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AlertMutingRuleArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AlertMutingRuleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AlertMutingRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AlertMutingRuleArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AlertMutingRule Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The AlertMutingRule resource accepts the following input properties:

Condition Pulumi.NewRelic.Inputs.AlertMutingRuleConditionArgs

The condition that defines which incidents to target. See Nested condition blocks below for details.

Enabled bool

Whether the MutingRule is enabled.

AccountId int

The account id of the MutingRule.

Description string

The description of the MutingRule.

Name string

The name of the MutingRule.

Schedule Pulumi.NewRelic.Inputs.AlertMutingRuleScheduleArgs

Specify a schedule for enabling the MutingRule. See Schedule below for details

Condition AlertMutingRuleConditionArgs

The condition that defines which incidents to target. See Nested condition blocks below for details.

Enabled bool

Whether the MutingRule is enabled.

AccountId int

The account id of the MutingRule.

Description string

The description of the MutingRule.

Name string

The name of the MutingRule.

Schedule AlertMutingRuleScheduleArgs

Specify a schedule for enabling the MutingRule. See Schedule below for details

condition AlertMutingRuleConditionArgs

The condition that defines which incidents to target. See Nested condition blocks below for details.

enabled Boolean

Whether the MutingRule is enabled.

accountId Integer

The account id of the MutingRule.

description String

The description of the MutingRule.

name String

The name of the MutingRule.

schedule AlertMutingRuleScheduleArgs

Specify a schedule for enabling the MutingRule. See Schedule below for details

condition AlertMutingRuleConditionArgs

The condition that defines which incidents to target. See Nested condition blocks below for details.

enabled boolean

Whether the MutingRule is enabled.

accountId number

The account id of the MutingRule.

description string

The description of the MutingRule.

name string

The name of the MutingRule.

schedule AlertMutingRuleScheduleArgs

Specify a schedule for enabling the MutingRule. See Schedule below for details

condition AlertMutingRuleConditionArgs

The condition that defines which incidents to target. See Nested condition blocks below for details.

enabled bool

Whether the MutingRule is enabled.

account_id int

The account id of the MutingRule.

description str

The description of the MutingRule.

name str

The name of the MutingRule.

schedule AlertMutingRuleScheduleArgs

Specify a schedule for enabling the MutingRule. See Schedule below for details

condition Property Map

The condition that defines which incidents to target. See Nested condition blocks below for details.

enabled Boolean

Whether the MutingRule is enabled.

accountId Number

The account id of the MutingRule.

description String

The description of the MutingRule.

name String

The name of the MutingRule.

schedule Property Map

Specify a schedule for enabling the MutingRule. See Schedule below for details

Outputs

All input properties are implicitly available as output properties. Additionally, the AlertMutingRule resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing AlertMutingRule Resource

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

public static get(name: string, id: Input<ID>, state?: AlertMutingRuleState, opts?: CustomResourceOptions): AlertMutingRule
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[int] = None,
        condition: Optional[AlertMutingRuleConditionArgs] = None,
        description: Optional[str] = None,
        enabled: Optional[bool] = None,
        name: Optional[str] = None,
        schedule: Optional[AlertMutingRuleScheduleArgs] = None) -> AlertMutingRule
func GetAlertMutingRule(ctx *Context, name string, id IDInput, state *AlertMutingRuleState, opts ...ResourceOption) (*AlertMutingRule, error)
public static AlertMutingRule Get(string name, Input<string> id, AlertMutingRuleState? state, CustomResourceOptions? opts = null)
public static AlertMutingRule get(String name, Output<String> id, AlertMutingRuleState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AccountId int

The account id of the MutingRule.

Condition Pulumi.NewRelic.Inputs.AlertMutingRuleConditionArgs

The condition that defines which incidents to target. See Nested condition blocks below for details.

Description string

The description of the MutingRule.

Enabled bool

Whether the MutingRule is enabled.

Name string

The name of the MutingRule.

Schedule Pulumi.NewRelic.Inputs.AlertMutingRuleScheduleArgs

Specify a schedule for enabling the MutingRule. See Schedule below for details

AccountId int

The account id of the MutingRule.

Condition AlertMutingRuleConditionArgs

The condition that defines which incidents to target. See Nested condition blocks below for details.

Description string

The description of the MutingRule.

Enabled bool

Whether the MutingRule is enabled.

Name string

The name of the MutingRule.

Schedule AlertMutingRuleScheduleArgs

Specify a schedule for enabling the MutingRule. See Schedule below for details

accountId Integer

The account id of the MutingRule.

condition AlertMutingRuleConditionArgs

The condition that defines which incidents to target. See Nested condition blocks below for details.

description String

The description of the MutingRule.

enabled Boolean

Whether the MutingRule is enabled.

name String

The name of the MutingRule.

schedule AlertMutingRuleScheduleArgs

Specify a schedule for enabling the MutingRule. See Schedule below for details

accountId number

The account id of the MutingRule.

condition AlertMutingRuleConditionArgs

The condition that defines which incidents to target. See Nested condition blocks below for details.

description string

The description of the MutingRule.

enabled boolean

Whether the MutingRule is enabled.

name string

The name of the MutingRule.

schedule AlertMutingRuleScheduleArgs

Specify a schedule for enabling the MutingRule. See Schedule below for details

account_id int

The account id of the MutingRule.

condition AlertMutingRuleConditionArgs

The condition that defines which incidents to target. See Nested condition blocks below for details.

description str

The description of the MutingRule.

enabled bool

Whether the MutingRule is enabled.

name str

The name of the MutingRule.

schedule AlertMutingRuleScheduleArgs

Specify a schedule for enabling the MutingRule. See Schedule below for details

accountId Number

The account id of the MutingRule.

condition Property Map

The condition that defines which incidents to target. See Nested condition blocks below for details.

description String

The description of the MutingRule.

enabled Boolean

Whether the MutingRule is enabled.

name String

The name of the MutingRule.

schedule Property Map

Specify a schedule for enabling the MutingRule. See Schedule below for details

Supporting Types

AlertMutingRuleCondition

Conditions List<Pulumi.NewRelic.Inputs.AlertMutingRuleConditionCondition>

The individual MutingRuleConditions within the group. See Nested conditions blocks below for details.

Operator string

The operator used to combine all the MutingRuleConditions within the group. Valid values are AND, OR.

Conditions []AlertMutingRuleConditionCondition

The individual MutingRuleConditions within the group. See Nested conditions blocks below for details.

Operator string

The operator used to combine all the MutingRuleConditions within the group. Valid values are AND, OR.

conditions List<AlertMutingRuleConditionCondition>

The individual MutingRuleConditions within the group. See Nested conditions blocks below for details.

operator String

The operator used to combine all the MutingRuleConditions within the group. Valid values are AND, OR.

conditions AlertMutingRuleConditionCondition[]

The individual MutingRuleConditions within the group. See Nested conditions blocks below for details.

operator string

The operator used to combine all the MutingRuleConditions within the group. Valid values are AND, OR.

conditions Sequence[AlertMutingRuleConditionCondition]

The individual MutingRuleConditions within the group. See Nested conditions blocks below for details.

operator str

The operator used to combine all the MutingRuleConditions within the group. Valid values are AND, OR.

conditions List<Property Map>

The individual MutingRuleConditions within the group. See Nested conditions blocks below for details.

operator String

The operator used to combine all the MutingRuleConditions within the group. Valid values are AND, OR.

AlertMutingRuleConditionCondition

Attribute string

The attribute on an incident. Valid values are accountId, conditionId, conditionName, conditionRunbookUrl, conditionType, entity.guid, nrqlEventType, nrqlQuery, policyId, policyName, product, tags.<NAME>, targetId, targetName

Operator string

The operator used to combine all the MutingRuleConditions within the group. Valid values are AND, OR.

Values List<string>

The value(s) to compare against the attribute's value.

Attribute string

The attribute on an incident. Valid values are accountId, conditionId, conditionName, conditionRunbookUrl, conditionType, entity.guid, nrqlEventType, nrqlQuery, policyId, policyName, product, tags.<NAME>, targetId, targetName

Operator string

The operator used to combine all the MutingRuleConditions within the group. Valid values are AND, OR.

Values []string

The value(s) to compare against the attribute's value.

attribute String

The attribute on an incident. Valid values are accountId, conditionId, conditionName, conditionRunbookUrl, conditionType, entity.guid, nrqlEventType, nrqlQuery, policyId, policyName, product, tags.<NAME>, targetId, targetName

operator String

The operator used to combine all the MutingRuleConditions within the group. Valid values are AND, OR.

values List<String>

The value(s) to compare against the attribute's value.

attribute string

The attribute on an incident. Valid values are accountId, conditionId, conditionName, conditionRunbookUrl, conditionType, entity.guid, nrqlEventType, nrqlQuery, policyId, policyName, product, tags.<NAME>, targetId, targetName

operator string

The operator used to combine all the MutingRuleConditions within the group. Valid values are AND, OR.

values string[]

The value(s) to compare against the attribute's value.

attribute str

The attribute on an incident. Valid values are accountId, conditionId, conditionName, conditionRunbookUrl, conditionType, entity.guid, nrqlEventType, nrqlQuery, policyId, policyName, product, tags.<NAME>, targetId, targetName

operator str

The operator used to combine all the MutingRuleConditions within the group. Valid values are AND, OR.

values Sequence[str]

The value(s) to compare against the attribute's value.

attribute String

The attribute on an incident. Valid values are accountId, conditionId, conditionName, conditionRunbookUrl, conditionType, entity.guid, nrqlEventType, nrqlQuery, policyId, policyName, product, tags.<NAME>, targetId, targetName

operator String

The operator used to combine all the MutingRuleConditions within the group. Valid values are AND, OR.

values List<String>

The value(s) to compare against the attribute's value.

AlertMutingRuleSchedule

TimeZone string
EndRepeat string

The datetime stamp when the muting rule schedule stops repeating. This is in local ISO 8601 format without an offset. Example: '2020-07-10T15:00:00'. Conflicts with repeat_count

EndTime string

The datetime stamp that represents when the muting rule ends. This is in local ISO 8601 format without an offset. Example: '2020-07-15T14:30:00'

Repeat string

The frequency the muting rule schedule repeats. If it does not repeat, omit this field. Options are DAILY, WEEKLY, MONTHLY

RepeatCount int

The number of times the muting rule schedule repeats. This includes the original schedule. For example, a repeatCount of 2 will recur one time. Conflicts with end_repeat

StartTime string

The datetime stamp that represents when the muting rule starts. This is in local ISO 8601 format without an offset. Example: '2020-07-08T14:30:00'

WeeklyRepeatDays List<string>

The day(s) of the week that a muting rule should repeat when the repeat field is set to 'WEEKLY'. Example: ['MONDAY', 'WEDNESDAY']

TimeZone string
EndRepeat string

The datetime stamp when the muting rule schedule stops repeating. This is in local ISO 8601 format without an offset. Example: '2020-07-10T15:00:00'. Conflicts with repeat_count

EndTime string

The datetime stamp that represents when the muting rule ends. This is in local ISO 8601 format without an offset. Example: '2020-07-15T14:30:00'

Repeat string

The frequency the muting rule schedule repeats. If it does not repeat, omit this field. Options are DAILY, WEEKLY, MONTHLY

RepeatCount int

The number of times the muting rule schedule repeats. This includes the original schedule. For example, a repeatCount of 2 will recur one time. Conflicts with end_repeat

StartTime string

The datetime stamp that represents when the muting rule starts. This is in local ISO 8601 format without an offset. Example: '2020-07-08T14:30:00'

WeeklyRepeatDays []string

The day(s) of the week that a muting rule should repeat when the repeat field is set to 'WEEKLY'. Example: ['MONDAY', 'WEDNESDAY']

timeZone String
endRepeat String

The datetime stamp when the muting rule schedule stops repeating. This is in local ISO 8601 format without an offset. Example: '2020-07-10T15:00:00'. Conflicts with repeat_count

endTime String

The datetime stamp that represents when the muting rule ends. This is in local ISO 8601 format without an offset. Example: '2020-07-15T14:30:00'

repeat String

The frequency the muting rule schedule repeats. If it does not repeat, omit this field. Options are DAILY, WEEKLY, MONTHLY

repeatCount Integer

The number of times the muting rule schedule repeats. This includes the original schedule. For example, a repeatCount of 2 will recur one time. Conflicts with end_repeat

startTime String

The datetime stamp that represents when the muting rule starts. This is in local ISO 8601 format without an offset. Example: '2020-07-08T14:30:00'

weeklyRepeatDays List<String>

The day(s) of the week that a muting rule should repeat when the repeat field is set to 'WEEKLY'. Example: ['MONDAY', 'WEDNESDAY']

timeZone string
endRepeat string

The datetime stamp when the muting rule schedule stops repeating. This is in local ISO 8601 format without an offset. Example: '2020-07-10T15:00:00'. Conflicts with repeat_count

endTime string

The datetime stamp that represents when the muting rule ends. This is in local ISO 8601 format without an offset. Example: '2020-07-15T14:30:00'

repeat string

The frequency the muting rule schedule repeats. If it does not repeat, omit this field. Options are DAILY, WEEKLY, MONTHLY

repeatCount number

The number of times the muting rule schedule repeats. This includes the original schedule. For example, a repeatCount of 2 will recur one time. Conflicts with end_repeat

startTime string

The datetime stamp that represents when the muting rule starts. This is in local ISO 8601 format without an offset. Example: '2020-07-08T14:30:00'

weeklyRepeatDays string[]

The day(s) of the week that a muting rule should repeat when the repeat field is set to 'WEEKLY'. Example: ['MONDAY', 'WEDNESDAY']

time_zone str
end_repeat str

The datetime stamp when the muting rule schedule stops repeating. This is in local ISO 8601 format without an offset. Example: '2020-07-10T15:00:00'. Conflicts with repeat_count

end_time str

The datetime stamp that represents when the muting rule ends. This is in local ISO 8601 format without an offset. Example: '2020-07-15T14:30:00'

repeat str

The frequency the muting rule schedule repeats. If it does not repeat, omit this field. Options are DAILY, WEEKLY, MONTHLY

repeat_count int

The number of times the muting rule schedule repeats. This includes the original schedule. For example, a repeatCount of 2 will recur one time. Conflicts with end_repeat

start_time str

The datetime stamp that represents when the muting rule starts. This is in local ISO 8601 format without an offset. Example: '2020-07-08T14:30:00'

weekly_repeat_days Sequence[str]

The day(s) of the week that a muting rule should repeat when the repeat field is set to 'WEEKLY'. Example: ['MONDAY', 'WEDNESDAY']

timeZone String
endRepeat String

The datetime stamp when the muting rule schedule stops repeating. This is in local ISO 8601 format without an offset. Example: '2020-07-10T15:00:00'. Conflicts with repeat_count

endTime String

The datetime stamp that represents when the muting rule ends. This is in local ISO 8601 format without an offset. Example: '2020-07-15T14:30:00'

repeat String

The frequency the muting rule schedule repeats. If it does not repeat, omit this field. Options are DAILY, WEEKLY, MONTHLY

repeatCount Number

The number of times the muting rule schedule repeats. This includes the original schedule. For example, a repeatCount of 2 will recur one time. Conflicts with end_repeat

startTime String

The datetime stamp that represents when the muting rule starts. This is in local ISO 8601 format without an offset. Example: '2020-07-08T14:30:00'

weeklyRepeatDays List<String>

The day(s) of the week that a muting rule should repeat when the repeat field is set to 'WEEKLY'. Example: ['MONDAY', 'WEDNESDAY']

Package Details

Repository
New Relic pulumi/pulumi-newrelic
License
Apache-2.0
Notes

This Pulumi package is based on the newrelic Terraform Provider.