newrelic.AlertMutingRule
Explore with Pulumi AI
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 System.Linq;
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.
New Relic. Inputs. Alert Muting Rule Condition 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 string
The description of the MutingRule.
- Name string
The name of the MutingRule.
- Schedule
Pulumi.
New Relic. Inputs. Alert Muting Rule Schedule Specify a schedule for enabling the MutingRule. See Schedule below for details
- Condition
Alert
Muting Rule Condition Args 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 string
The description of the MutingRule.
- Name string
The name of the MutingRule.
- Schedule
Alert
Muting Rule Schedule Args Specify a schedule for enabling the MutingRule. See Schedule below for details
- condition
Alert
Muting Rule Condition The condition that defines which incidents to target. See Nested condition blocks below for details.
- enabled Boolean
Whether the MutingRule is enabled.
- account
Id Integer The account id of the MutingRule.
- description String
The description of the MutingRule.
- name String
The name of the MutingRule.
- schedule
Alert
Muting Rule Schedule Specify a schedule for enabling the MutingRule. See Schedule below for details
- condition
Alert
Muting Rule Condition The condition that defines which incidents to target. See Nested condition blocks below for details.
- enabled boolean
Whether the MutingRule is enabled.
- account
Id number The account id of the MutingRule.
- description string
The description of the MutingRule.
- name string
The name of the MutingRule.
- schedule
Alert
Muting Rule Schedule Specify a schedule for enabling the MutingRule. See Schedule below for details
- condition
Alert
Muting Rule Condition Args 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
Alert
Muting Rule Schedule Args 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.
- account
Id 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.
- Account
Id int The account id of the MutingRule.
- Condition
Pulumi.
New Relic. Inputs. Alert Muting Rule Condition 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.
New Relic. Inputs. Alert Muting Rule Schedule Specify a schedule for enabling the MutingRule. See Schedule below for details
- Account
Id int The account id of the MutingRule.
- Condition
Alert
Muting Rule Condition Args 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
Alert
Muting Rule Schedule Args Specify a schedule for enabling the MutingRule. See Schedule below for details
- account
Id Integer The account id of the MutingRule.
- condition
Alert
Muting Rule Condition 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
Alert
Muting Rule Schedule Specify a schedule for enabling the MutingRule. See Schedule below for details
- account
Id number The account id of the MutingRule.
- condition
Alert
Muting Rule Condition 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
Alert
Muting Rule Schedule Specify a schedule for enabling the MutingRule. See Schedule below for details
- account_
id int The account id of the MutingRule.
- condition
Alert
Muting Rule Condition Args 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
Alert
Muting Rule Schedule Args Specify a schedule for enabling the MutingRule. See Schedule below for details
- account
Id 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, AlertMutingRuleConditionArgs
- Conditions
List<Pulumi.
New Relic. Inputs. Alert Muting Rule Condition Condition> 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
[]Alert
Muting Rule Condition Condition 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<Alert
Muting Rule Condition Condition> 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
Alert
Muting Rule Condition Condition[] 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[Alert
Muting Rule Condition Condition] 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, AlertMutingRuleConditionConditionArgs
- 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, AlertMutingRuleScheduleArgs
- Time
Zone string - End
Repeat 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
- End
Time 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
- 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 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'
- Weekly
Repeat List<string>Days 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 string - End
Repeat 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
- End
Time 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
- 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 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'
- Weekly
Repeat []stringDays 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 String - end
Repeat 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
- end
Time 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
- repeat
Count 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
- start
Time 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'
- weekly
Repeat List<String>Days 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 string - end
Repeat 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
- end
Time 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
- repeat
Count 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
- start
Time 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'
- weekly
Repeat string[]Days 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_ Sequence[str]days 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 String - end
Repeat 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
- end
Time 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
- repeat
Count 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
- start
Time 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'
- weekly
Repeat List<String>Days 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.