logzio.GrafanaNotificationPolicy
Explore with Pulumi AI
# Grafana Notification Policy Provider
Provides a Logz.io Grafana Notification Policy resource. This can be used to create and manage Grafana notification policies in Logz.io.
Important Note:
Please note that due to the API limitations, ONE resource of Grafana Notification Policy manages the entire policy tree. Deleting the resource will reset your ENTIRE notification policy tree.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.logzio.GrafanaNotificationPolicy;
import com.pulumi.logzio.GrafanaNotificationPolicyArgs;
import com.pulumi.logzio.inputs.GrafanaNotificationPolicyPolicyArgs;
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 testNp = new GrafanaNotificationPolicy("testNp", GrafanaNotificationPolicyArgs.builder()
.contactPoint("grafana-default-email")
.groupBies("p8s_logz_name")
.groupInterval("7m")
.groupWait("50s")
.policies(GrafanaNotificationPolicyPolicyArgs.builder()
.contactPoint("grafana-default-email")
.continue_(true)
.groupInterval("7m")
.groupWait("50s")
.matchers(GrafanaNotificationPolicyPolicyMatcherArgs.builder()
.label("some_label")
.match("=")
.value("some_value")
.build())
.muteTimings("some-mute-timing")
.policies(GrafanaNotificationPolicyPolicyPolicyArgs.builder()
.contactPoint("grafana-default-email")
.matcher(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.repeatInterval("4h")
.build())
.repeatInterval("4h")
.build());
}
}
resources:
testNp:
type: logzio:GrafanaNotificationPolicy
properties:
contactPoint: grafana-default-email
groupBies:
- p8s_logz_name
groupInterval: 7m
groupWait: 50s
policies:
- contactPoint: grafana-default-email
continue: true
groupInterval: 7m
groupWait: 50s
matchers:
- label: some_label
match: =
value: some_value
muteTimings:
- some-mute-timing
policies:
- contactPoint: grafana-default-email
matcher:
- label: another_label
match: =
value: another_value
repeatInterval: 4h
repeatInterval: 4h
Create GrafanaNotificationPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GrafanaNotificationPolicy(name: string, args: GrafanaNotificationPolicyArgs, opts?: CustomResourceOptions);
@overload
def GrafanaNotificationPolicy(resource_name: str,
args: GrafanaNotificationPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GrafanaNotificationPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
contact_point: Optional[str] = None,
group_bies: Optional[Sequence[str]] = None,
grafana_notification_policy_id: Optional[str] = None,
group_interval: Optional[str] = None,
group_wait: Optional[str] = None,
policies: Optional[Sequence[GrafanaNotificationPolicyPolicyArgs]] = None,
repeat_interval: Optional[str] = None)
func NewGrafanaNotificationPolicy(ctx *Context, name string, args GrafanaNotificationPolicyArgs, opts ...ResourceOption) (*GrafanaNotificationPolicy, error)
public GrafanaNotificationPolicy(string name, GrafanaNotificationPolicyArgs args, CustomResourceOptions? opts = null)
public GrafanaNotificationPolicy(String name, GrafanaNotificationPolicyArgs args)
public GrafanaNotificationPolicy(String name, GrafanaNotificationPolicyArgs args, CustomResourceOptions options)
type: logzio:GrafanaNotificationPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GrafanaNotificationPolicyArgs
- 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 GrafanaNotificationPolicyArgs
- 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 GrafanaNotificationPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GrafanaNotificationPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GrafanaNotificationPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var grafanaNotificationPolicyResource = new Logzio.GrafanaNotificationPolicy("grafanaNotificationPolicyResource", new()
{
ContactPoint = "string",
GroupBies = new[]
{
"string",
},
GrafanaNotificationPolicyId = "string",
GroupInterval = "string",
GroupWait = "string",
Policies = new[]
{
new Logzio.Inputs.GrafanaNotificationPolicyPolicyArgs
{
ContactPoint = "string",
Continue = false,
GroupBies = new[]
{
"string",
},
GroupInterval = "string",
GroupWait = "string",
Matchers = new[]
{
new Logzio.Inputs.GrafanaNotificationPolicyPolicyMatcherArgs
{
Label = "string",
Match = "string",
Value = "string",
},
},
MuteTimings = new[]
{
"string",
},
Policies = new[]
{
new Logzio.Inputs.GrafanaNotificationPolicyPolicyPolicyArgs
{
ContactPoint = "string",
Continue = false,
GroupBies = new[]
{
"string",
},
GroupInterval = "string",
GroupWait = "string",
Matchers = new[]
{
new Logzio.Inputs.GrafanaNotificationPolicyPolicyPolicyMatcherArgs
{
Label = "string",
Match = "string",
Value = "string",
},
},
MuteTimings = new[]
{
"string",
},
Policies = new[]
{
new Logzio.Inputs.GrafanaNotificationPolicyPolicyPolicyPolicyArgs
{
ContactPoint = "string",
Continue = false,
GroupBies = new[]
{
"string",
},
GroupInterval = "string",
GroupWait = "string",
Matchers = new[]
{
new Logzio.Inputs.GrafanaNotificationPolicyPolicyPolicyPolicyMatcherArgs
{
Label = "string",
Match = "string",
Value = "string",
},
},
MuteTimings = new[]
{
"string",
},
Policies = new[]
{
new Logzio.Inputs.GrafanaNotificationPolicyPolicyPolicyPolicyPolicyArgs
{
ContactPoint = "string",
GroupBies = new[]
{
"string",
},
Continue = false,
GroupInterval = "string",
GroupWait = "string",
Matchers = new[]
{
new Logzio.Inputs.GrafanaNotificationPolicyPolicyPolicyPolicyPolicyMatcherArgs
{
Label = "string",
Match = "string",
Value = "string",
},
},
MuteTimings = new[]
{
"string",
},
RepeatInterval = "string",
},
},
RepeatInterval = "string",
},
},
RepeatInterval = "string",
},
},
RepeatInterval = "string",
},
},
RepeatInterval = "string",
});
example, err := logzio.NewGrafanaNotificationPolicy(ctx, "grafanaNotificationPolicyResource", &logzio.GrafanaNotificationPolicyArgs{
ContactPoint: pulumi.String("string"),
GroupBies: pulumi.StringArray{
pulumi.String("string"),
},
GrafanaNotificationPolicyId: pulumi.String("string"),
GroupInterval: pulumi.String("string"),
GroupWait: pulumi.String("string"),
Policies: logzio.GrafanaNotificationPolicyPolicyArray{
&logzio.GrafanaNotificationPolicyPolicyArgs{
ContactPoint: pulumi.String("string"),
Continue: pulumi.Bool(false),
GroupBies: pulumi.StringArray{
pulumi.String("string"),
},
GroupInterval: pulumi.String("string"),
GroupWait: pulumi.String("string"),
Matchers: logzio.GrafanaNotificationPolicyPolicyMatcherArray{
&logzio.GrafanaNotificationPolicyPolicyMatcherArgs{
Label: pulumi.String("string"),
Match: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
MuteTimings: pulumi.StringArray{
pulumi.String("string"),
},
Policies: logzio.GrafanaNotificationPolicyPolicyPolicyArray{
&logzio.GrafanaNotificationPolicyPolicyPolicyArgs{
ContactPoint: pulumi.String("string"),
Continue: pulumi.Bool(false),
GroupBies: pulumi.StringArray{
pulumi.String("string"),
},
GroupInterval: pulumi.String("string"),
GroupWait: pulumi.String("string"),
Matchers: logzio.GrafanaNotificationPolicyPolicyPolicyMatcherArray{
&logzio.GrafanaNotificationPolicyPolicyPolicyMatcherArgs{
Label: pulumi.String("string"),
Match: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
MuteTimings: pulumi.StringArray{
pulumi.String("string"),
},
Policies: logzio.GrafanaNotificationPolicyPolicyPolicyPolicyArray{
&logzio.GrafanaNotificationPolicyPolicyPolicyPolicyArgs{
ContactPoint: pulumi.String("string"),
Continue: pulumi.Bool(false),
GroupBies: pulumi.StringArray{
pulumi.String("string"),
},
GroupInterval: pulumi.String("string"),
GroupWait: pulumi.String("string"),
Matchers: logzio.GrafanaNotificationPolicyPolicyPolicyPolicyMatcherArray{
&logzio.GrafanaNotificationPolicyPolicyPolicyPolicyMatcherArgs{
Label: pulumi.String("string"),
Match: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
MuteTimings: pulumi.StringArray{
pulumi.String("string"),
},
Policies: logzio.GrafanaNotificationPolicyPolicyPolicyPolicyPolicyArray{
&logzio.GrafanaNotificationPolicyPolicyPolicyPolicyPolicyArgs{
ContactPoint: pulumi.String("string"),
GroupBies: pulumi.StringArray{
pulumi.String("string"),
},
Continue: pulumi.Bool(false),
GroupInterval: pulumi.String("string"),
GroupWait: pulumi.String("string"),
Matchers: logzio.GrafanaNotificationPolicyPolicyPolicyPolicyPolicyMatcherArray{
&logzio.GrafanaNotificationPolicyPolicyPolicyPolicyPolicyMatcherArgs{
Label: pulumi.String("string"),
Match: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
MuteTimings: pulumi.StringArray{
pulumi.String("string"),
},
RepeatInterval: pulumi.String("string"),
},
},
RepeatInterval: pulumi.String("string"),
},
},
RepeatInterval: pulumi.String("string"),
},
},
RepeatInterval: pulumi.String("string"),
},
},
RepeatInterval: pulumi.String("string"),
})
var grafanaNotificationPolicyResource = new GrafanaNotificationPolicy("grafanaNotificationPolicyResource", GrafanaNotificationPolicyArgs.builder()
.contactPoint("string")
.groupBies("string")
.grafanaNotificationPolicyId("string")
.groupInterval("string")
.groupWait("string")
.policies(GrafanaNotificationPolicyPolicyArgs.builder()
.contactPoint("string")
.continue_(false)
.groupBies("string")
.groupInterval("string")
.groupWait("string")
.matchers(GrafanaNotificationPolicyPolicyMatcherArgs.builder()
.label("string")
.match("string")
.value("string")
.build())
.muteTimings("string")
.policies(GrafanaNotificationPolicyPolicyPolicyArgs.builder()
.contactPoint("string")
.continue_(false)
.groupBies("string")
.groupInterval("string")
.groupWait("string")
.matchers(GrafanaNotificationPolicyPolicyPolicyMatcherArgs.builder()
.label("string")
.match("string")
.value("string")
.build())
.muteTimings("string")
.policies(GrafanaNotificationPolicyPolicyPolicyPolicyArgs.builder()
.contactPoint("string")
.continue_(false)
.groupBies("string")
.groupInterval("string")
.groupWait("string")
.matchers(GrafanaNotificationPolicyPolicyPolicyPolicyMatcherArgs.builder()
.label("string")
.match("string")
.value("string")
.build())
.muteTimings("string")
.policies(GrafanaNotificationPolicyPolicyPolicyPolicyPolicyArgs.builder()
.contactPoint("string")
.groupBies("string")
.continue_(false)
.groupInterval("string")
.groupWait("string")
.matchers(GrafanaNotificationPolicyPolicyPolicyPolicyPolicyMatcherArgs.builder()
.label("string")
.match("string")
.value("string")
.build())
.muteTimings("string")
.repeatInterval("string")
.build())
.repeatInterval("string")
.build())
.repeatInterval("string")
.build())
.repeatInterval("string")
.build())
.repeatInterval("string")
.build());
grafana_notification_policy_resource = logzio.GrafanaNotificationPolicy("grafanaNotificationPolicyResource",
contact_point="string",
group_bies=["string"],
grafana_notification_policy_id="string",
group_interval="string",
group_wait="string",
policies=[{
"contact_point": "string",
"continue_": False,
"group_bies": ["string"],
"group_interval": "string",
"group_wait": "string",
"matchers": [{
"label": "string",
"match": "string",
"value": "string",
}],
"mute_timings": ["string"],
"policies": [{
"contact_point": "string",
"continue_": False,
"group_bies": ["string"],
"group_interval": "string",
"group_wait": "string",
"matchers": [{
"label": "string",
"match": "string",
"value": "string",
}],
"mute_timings": ["string"],
"policies": [{
"contact_point": "string",
"continue_": False,
"group_bies": ["string"],
"group_interval": "string",
"group_wait": "string",
"matchers": [{
"label": "string",
"match": "string",
"value": "string",
}],
"mute_timings": ["string"],
"policies": [{
"contact_point": "string",
"group_bies": ["string"],
"continue_": False,
"group_interval": "string",
"group_wait": "string",
"matchers": [{
"label": "string",
"match": "string",
"value": "string",
}],
"mute_timings": ["string"],
"repeat_interval": "string",
}],
"repeat_interval": "string",
}],
"repeat_interval": "string",
}],
"repeat_interval": "string",
}],
repeat_interval="string")
const grafanaNotificationPolicyResource = new logzio.GrafanaNotificationPolicy("grafanaNotificationPolicyResource", {
contactPoint: "string",
groupBies: ["string"],
grafanaNotificationPolicyId: "string",
groupInterval: "string",
groupWait: "string",
policies: [{
contactPoint: "string",
"continue": false,
groupBies: ["string"],
groupInterval: "string",
groupWait: "string",
matchers: [{
label: "string",
match: "string",
value: "string",
}],
muteTimings: ["string"],
policies: [{
contactPoint: "string",
"continue": false,
groupBies: ["string"],
groupInterval: "string",
groupWait: "string",
matchers: [{
label: "string",
match: "string",
value: "string",
}],
muteTimings: ["string"],
policies: [{
contactPoint: "string",
"continue": false,
groupBies: ["string"],
groupInterval: "string",
groupWait: "string",
matchers: [{
label: "string",
match: "string",
value: "string",
}],
muteTimings: ["string"],
policies: [{
contactPoint: "string",
groupBies: ["string"],
"continue": false,
groupInterval: "string",
groupWait: "string",
matchers: [{
label: "string",
match: "string",
value: "string",
}],
muteTimings: ["string"],
repeatInterval: "string",
}],
repeatInterval: "string",
}],
repeatInterval: "string",
}],
repeatInterval: "string",
}],
repeatInterval: "string",
});
type: logzio:GrafanaNotificationPolicy
properties:
contactPoint: string
grafanaNotificationPolicyId: string
groupBies:
- string
groupInterval: string
groupWait: string
policies:
- contactPoint: string
continue: false
groupBies:
- string
groupInterval: string
groupWait: string
matchers:
- label: string
match: string
value: string
muteTimings:
- string
policies:
- contactPoint: string
continue: false
groupBies:
- string
groupInterval: string
groupWait: string
matchers:
- label: string
match: string
value: string
muteTimings:
- string
policies:
- contactPoint: string
continue: false
groupBies:
- string
groupInterval: string
groupWait: string
matchers:
- label: string
match: string
value: string
muteTimings:
- string
policies:
- contactPoint: string
continue: false
groupBies:
- string
groupInterval: string
groupWait: string
matchers:
- label: string
match: string
value: string
muteTimings:
- string
repeatInterval: string
repeatInterval: string
repeatInterval: string
repeatInterval: string
repeatInterval: string
GrafanaNotificationPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GrafanaNotificationPolicy resource accepts the following input properties:
- Contact
Point string - Group
Bies List<string> - Grafana
Notification stringPolicy Id - (String) The ID of this resource. The provider generates the ID, since it's not generated by the API, and it will always be the same ID, since we only use one resource to manage the entire notification policy tree.
- Group
Interval string - Group
Wait string - Policies
List<Grafana
Notification Policy Policy> - Repeat
Interval string
- Contact
Point string - Group
Bies []string - Grafana
Notification stringPolicy Id - (String) The ID of this resource. The provider generates the ID, since it's not generated by the API, and it will always be the same ID, since we only use one resource to manage the entire notification policy tree.
- Group
Interval string - Group
Wait string - Policies
[]Grafana
Notification Policy Policy Args - Repeat
Interval string
- contact
Point String - group
Bies List<String> - grafana
Notification StringPolicy Id - (String) The ID of this resource. The provider generates the ID, since it's not generated by the API, and it will always be the same ID, since we only use one resource to manage the entire notification policy tree.
- group
Interval String - group
Wait String - policies
List<Grafana
Notification Policy Policy> - repeat
Interval String
- contact
Point string - group
Bies string[] - grafana
Notification stringPolicy Id - (String) The ID of this resource. The provider generates the ID, since it's not generated by the API, and it will always be the same ID, since we only use one resource to manage the entire notification policy tree.
- group
Interval string - group
Wait string - policies
Grafana
Notification Policy Policy[] - repeat
Interval string
- contact_
point str - group_
bies Sequence[str] - grafana_
notification_ strpolicy_ id - (String) The ID of this resource. The provider generates the ID, since it's not generated by the API, and it will always be the same ID, since we only use one resource to manage the entire notification policy tree.
- group_
interval str - group_
wait str - policies
Sequence[Grafana
Notification Policy Policy Args] - repeat_
interval str
- contact
Point String - group
Bies List<String> - grafana
Notification StringPolicy Id - (String) The ID of this resource. The provider generates the ID, since it's not generated by the API, and it will always be the same ID, since we only use one resource to manage the entire notification policy tree.
- group
Interval String - group
Wait String - policies List<Property Map>
- repeat
Interval String
Outputs
All input properties are implicitly available as output properties. Additionally, the GrafanaNotificationPolicy 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 GrafanaNotificationPolicy Resource
Get an existing GrafanaNotificationPolicy 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?: GrafanaNotificationPolicyState, opts?: CustomResourceOptions): GrafanaNotificationPolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
contact_point: Optional[str] = None,
grafana_notification_policy_id: Optional[str] = None,
group_bies: Optional[Sequence[str]] = None,
group_interval: Optional[str] = None,
group_wait: Optional[str] = None,
policies: Optional[Sequence[GrafanaNotificationPolicyPolicyArgs]] = None,
repeat_interval: Optional[str] = None) -> GrafanaNotificationPolicy
func GetGrafanaNotificationPolicy(ctx *Context, name string, id IDInput, state *GrafanaNotificationPolicyState, opts ...ResourceOption) (*GrafanaNotificationPolicy, error)
public static GrafanaNotificationPolicy Get(string name, Input<string> id, GrafanaNotificationPolicyState? state, CustomResourceOptions? opts = null)
public static GrafanaNotificationPolicy get(String name, Output<String> id, GrafanaNotificationPolicyState state, CustomResourceOptions options)
resources: _: type: logzio:GrafanaNotificationPolicy get: id: ${id}
- 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.
- Contact
Point string - Grafana
Notification stringPolicy Id - (String) The ID of this resource. The provider generates the ID, since it's not generated by the API, and it will always be the same ID, since we only use one resource to manage the entire notification policy tree.
- Group
Bies List<string> - Group
Interval string - Group
Wait string - Policies
List<Grafana
Notification Policy Policy> - Repeat
Interval string
- Contact
Point string - Grafana
Notification stringPolicy Id - (String) The ID of this resource. The provider generates the ID, since it's not generated by the API, and it will always be the same ID, since we only use one resource to manage the entire notification policy tree.
- Group
Bies []string - Group
Interval string - Group
Wait string - Policies
[]Grafana
Notification Policy Policy Args - Repeat
Interval string
- contact
Point String - grafana
Notification StringPolicy Id - (String) The ID of this resource. The provider generates the ID, since it's not generated by the API, and it will always be the same ID, since we only use one resource to manage the entire notification policy tree.
- group
Bies List<String> - group
Interval String - group
Wait String - policies
List<Grafana
Notification Policy Policy> - repeat
Interval String
- contact
Point string - grafana
Notification stringPolicy Id - (String) The ID of this resource. The provider generates the ID, since it's not generated by the API, and it will always be the same ID, since we only use one resource to manage the entire notification policy tree.
- group
Bies string[] - group
Interval string - group
Wait string - policies
Grafana
Notification Policy Policy[] - repeat
Interval string
- contact_
point str - grafana_
notification_ strpolicy_ id - (String) The ID of this resource. The provider generates the ID, since it's not generated by the API, and it will always be the same ID, since we only use one resource to manage the entire notification policy tree.
- group_
bies Sequence[str] - group_
interval str - group_
wait str - policies
Sequence[Grafana
Notification Policy Policy Args] - repeat_
interval str
- contact
Point String - grafana
Notification StringPolicy Id - (String) The ID of this resource. The provider generates the ID, since it's not generated by the API, and it will always be the same ID, since we only use one resource to manage the entire notification policy tree.
- group
Bies List<String> - group
Interval String - group
Wait String - policies List<Property Map>
- repeat
Interval String
Supporting Types
GrafanaNotificationPolicyPolicy, GrafanaNotificationPolicyPolicyArgs
- Contact
Point string - The contact point to route notifications that match this rule to.
- Continue bool
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- Group
Bies List<string> - Group
Interval string - Minimum time interval between two notifications for the same group.
- Group
Wait string - Time to wait to buffer alerts of the same group before sending a notification.
- Matchers
List<Grafana
Notification Policy Policy Matcher> - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- Mute
Timings List<string> - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- Policies
List<Grafana
Notification Policy Policy Policy> - Routing rules for specific label sets. See below for nested schema.
- Repeat
Interval string - Minimum time interval for re-sending a notification if an alert is still firing.
- Contact
Point string - The contact point to route notifications that match this rule to.
- Continue bool
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- Group
Bies []string - Group
Interval string - Minimum time interval between two notifications for the same group.
- Group
Wait string - Time to wait to buffer alerts of the same group before sending a notification.
- Matchers
[]Grafana
Notification Policy Policy Matcher - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- Mute
Timings []string - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- Policies
[]Grafana
Notification Policy Policy Policy - Routing rules for specific label sets. See below for nested schema.
- Repeat
Interval string - Minimum time interval for re-sending a notification if an alert is still firing.
- contact
Point String - The contact point to route notifications that match this rule to.
- continue_ Boolean
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- group
Bies List<String> - group
Interval String - Minimum time interval between two notifications for the same group.
- group
Wait String - Time to wait to buffer alerts of the same group before sending a notification.
- matchers
List<Grafana
Notification Policy Policy Matcher> - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- mute
Timings List<String> - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- policies
List<Grafana
Notification Policy Policy Policy> - Routing rules for specific label sets. See below for nested schema.
- repeat
Interval String - Minimum time interval for re-sending a notification if an alert is still firing.
- contact
Point string - The contact point to route notifications that match this rule to.
- continue boolean
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- group
Bies string[] - group
Interval string - Minimum time interval between two notifications for the same group.
- group
Wait string - Time to wait to buffer alerts of the same group before sending a notification.
- matchers
Grafana
Notification Policy Policy Matcher[] - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- mute
Timings string[] - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- policies
Grafana
Notification Policy Policy Policy[] - Routing rules for specific label sets. See below for nested schema.
- repeat
Interval string - Minimum time interval for re-sending a notification if an alert is still firing.
- contact_
point str - The contact point to route notifications that match this rule to.
- continue_ bool
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- group_
bies Sequence[str] - group_
interval str - Minimum time interval between two notifications for the same group.
- group_
wait str - Time to wait to buffer alerts of the same group before sending a notification.
- matchers
Sequence[Grafana
Notification Policy Policy Matcher] - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- mute_
timings Sequence[str] - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- policies
Sequence[Grafana
Notification Policy Policy Policy] - Routing rules for specific label sets. See below for nested schema.
- repeat_
interval str - Minimum time interval for re-sending a notification if an alert is still firing.
- contact
Point String - The contact point to route notifications that match this rule to.
- continue Boolean
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- group
Bies List<String> - group
Interval String - Minimum time interval between two notifications for the same group.
- group
Wait String - Time to wait to buffer alerts of the same group before sending a notification.
- matchers List<Property Map>
- Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- mute
Timings List<String> - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- policies List<Property Map>
- Routing rules for specific label sets. See below for nested schema.
- repeat
Interval String - Minimum time interval for re-sending a notification if an alert is still firing.
GrafanaNotificationPolicyPolicyMatcher, GrafanaNotificationPolicyPolicyMatcherArgs
GrafanaNotificationPolicyPolicyPolicy, GrafanaNotificationPolicyPolicyPolicyArgs
- Contact
Point string - The contact point to route notifications that match this rule to.
- Continue bool
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- Group
Bies List<string> - Group
Interval string - Minimum time interval between two notifications for the same group.
- Group
Wait string - Time to wait to buffer alerts of the same group before sending a notification.
- Matchers
List<Grafana
Notification Policy Policy Policy Matcher> - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- Mute
Timings List<string> - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- Policies
List<Grafana
Notification Policy Policy Policy Policy> - Routing rules for specific label sets. See below for nested schema.
- Repeat
Interval string - Minimum time interval for re-sending a notification if an alert is still firing.
- Contact
Point string - The contact point to route notifications that match this rule to.
- Continue bool
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- Group
Bies []string - Group
Interval string - Minimum time interval between two notifications for the same group.
- Group
Wait string - Time to wait to buffer alerts of the same group before sending a notification.
- Matchers
[]Grafana
Notification Policy Policy Policy Matcher - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- Mute
Timings []string - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- Policies
[]Grafana
Notification Policy Policy Policy Policy - Routing rules for specific label sets. See below for nested schema.
- Repeat
Interval string - Minimum time interval for re-sending a notification if an alert is still firing.
- contact
Point String - The contact point to route notifications that match this rule to.
- continue_ Boolean
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- group
Bies List<String> - group
Interval String - Minimum time interval between two notifications for the same group.
- group
Wait String - Time to wait to buffer alerts of the same group before sending a notification.
- matchers
List<Grafana
Notification Policy Policy Policy Matcher> - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- mute
Timings List<String> - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- policies
List<Grafana
Notification Policy Policy Policy Policy> - Routing rules for specific label sets. See below for nested schema.
- repeat
Interval String - Minimum time interval for re-sending a notification if an alert is still firing.
- contact
Point string - The contact point to route notifications that match this rule to.
- continue boolean
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- group
Bies string[] - group
Interval string - Minimum time interval between two notifications for the same group.
- group
Wait string - Time to wait to buffer alerts of the same group before sending a notification.
- matchers
Grafana
Notification Policy Policy Policy Matcher[] - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- mute
Timings string[] - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- policies
Grafana
Notification Policy Policy Policy Policy[] - Routing rules for specific label sets. See below for nested schema.
- repeat
Interval string - Minimum time interval for re-sending a notification if an alert is still firing.
- contact_
point str - The contact point to route notifications that match this rule to.
- continue_ bool
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- group_
bies Sequence[str] - group_
interval str - Minimum time interval between two notifications for the same group.
- group_
wait str - Time to wait to buffer alerts of the same group before sending a notification.
- matchers
Sequence[Grafana
Notification Policy Policy Policy Matcher] - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- mute_
timings Sequence[str] - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- policies
Sequence[Grafana
Notification Policy Policy Policy Policy] - Routing rules for specific label sets. See below for nested schema.
- repeat_
interval str - Minimum time interval for re-sending a notification if an alert is still firing.
- contact
Point String - The contact point to route notifications that match this rule to.
- continue Boolean
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- group
Bies List<String> - group
Interval String - Minimum time interval between two notifications for the same group.
- group
Wait String - Time to wait to buffer alerts of the same group before sending a notification.
- matchers List<Property Map>
- Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- mute
Timings List<String> - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- policies List<Property Map>
- Routing rules for specific label sets. See below for nested schema.
- repeat
Interval String - Minimum time interval for re-sending a notification if an alert is still firing.
GrafanaNotificationPolicyPolicyPolicyMatcher, GrafanaNotificationPolicyPolicyPolicyMatcherArgs
GrafanaNotificationPolicyPolicyPolicyPolicy, GrafanaNotificationPolicyPolicyPolicyPolicyArgs
- Contact
Point string - The contact point to route notifications that match this rule to.
- Continue bool
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- Group
Bies List<string> - Group
Interval string - Minimum time interval between two notifications for the same group.
- Group
Wait string - Time to wait to buffer alerts of the same group before sending a notification.
- Matchers
List<Grafana
Notification Policy Policy Policy Policy Matcher> - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- Mute
Timings List<string> - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- Policies
List<Grafana
Notification Policy Policy Policy Policy Policy> - Routing rules for specific label sets. See below for nested schema.
- Repeat
Interval string - Minimum time interval for re-sending a notification if an alert is still firing.
- Contact
Point string - The contact point to route notifications that match this rule to.
- Continue bool
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- Group
Bies []string - Group
Interval string - Minimum time interval between two notifications for the same group.
- Group
Wait string - Time to wait to buffer alerts of the same group before sending a notification.
- Matchers
[]Grafana
Notification Policy Policy Policy Policy Matcher - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- Mute
Timings []string - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- Policies
[]Grafana
Notification Policy Policy Policy Policy Policy - Routing rules for specific label sets. See below for nested schema.
- Repeat
Interval string - Minimum time interval for re-sending a notification if an alert is still firing.
- contact
Point String - The contact point to route notifications that match this rule to.
- continue_ Boolean
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- group
Bies List<String> - group
Interval String - Minimum time interval between two notifications for the same group.
- group
Wait String - Time to wait to buffer alerts of the same group before sending a notification.
- matchers
List<Grafana
Notification Policy Policy Policy Policy Matcher> - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- mute
Timings List<String> - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- policies
List<Grafana
Notification Policy Policy Policy Policy Policy> - Routing rules for specific label sets. See below for nested schema.
- repeat
Interval String - Minimum time interval for re-sending a notification if an alert is still firing.
- contact
Point string - The contact point to route notifications that match this rule to.
- continue boolean
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- group
Bies string[] - group
Interval string - Minimum time interval between two notifications for the same group.
- group
Wait string - Time to wait to buffer alerts of the same group before sending a notification.
- matchers
Grafana
Notification Policy Policy Policy Policy Matcher[] - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- mute
Timings string[] - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- policies
Grafana
Notification Policy Policy Policy Policy Policy[] - Routing rules for specific label sets. See below for nested schema.
- repeat
Interval string - Minimum time interval for re-sending a notification if an alert is still firing.
- contact_
point str - The contact point to route notifications that match this rule to.
- continue_ bool
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- group_
bies Sequence[str] - group_
interval str - Minimum time interval between two notifications for the same group.
- group_
wait str - Time to wait to buffer alerts of the same group before sending a notification.
- matchers
Sequence[Grafana
Notification Policy Policy Policy Policy Matcher] - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- mute_
timings Sequence[str] - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- policies
Sequence[Grafana
Notification Policy Policy Policy Policy Policy] - Routing rules for specific label sets. See below for nested schema.
- repeat_
interval str - Minimum time interval for re-sending a notification if an alert is still firing.
- contact
Point String - The contact point to route notifications that match this rule to.
- continue Boolean
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- group
Bies List<String> - group
Interval String - Minimum time interval between two notifications for the same group.
- group
Wait String - Time to wait to buffer alerts of the same group before sending a notification.
- matchers List<Property Map>
- Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- mute
Timings List<String> - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- policies List<Property Map>
- Routing rules for specific label sets. See below for nested schema.
- repeat
Interval String - Minimum time interval for re-sending a notification if an alert is still firing.
GrafanaNotificationPolicyPolicyPolicyPolicyMatcher, GrafanaNotificationPolicyPolicyPolicyPolicyMatcherArgs
GrafanaNotificationPolicyPolicyPolicyPolicyPolicy, GrafanaNotificationPolicyPolicyPolicyPolicyPolicyArgs
- Contact
Point string - The contact point to route notifications that match this rule to.
- Group
Bies List<string> - Continue bool
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- Group
Interval string - Minimum time interval between two notifications for the same group.
- Group
Wait string - Time to wait to buffer alerts of the same group before sending a notification.
- Matchers
List<Grafana
Notification Policy Policy Policy Policy Policy Matcher> - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- Mute
Timings List<string> - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- Repeat
Interval string - Minimum time interval for re-sending a notification if an alert is still firing.
- Contact
Point string - The contact point to route notifications that match this rule to.
- Group
Bies []string - Continue bool
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- Group
Interval string - Minimum time interval between two notifications for the same group.
- Group
Wait string - Time to wait to buffer alerts of the same group before sending a notification.
- Matchers
[]Grafana
Notification Policy Policy Policy Policy Policy Matcher - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- Mute
Timings []string - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- Repeat
Interval string - Minimum time interval for re-sending a notification if an alert is still firing.
- contact
Point String - The contact point to route notifications that match this rule to.
- group
Bies List<String> - continue_ Boolean
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- group
Interval String - Minimum time interval between two notifications for the same group.
- group
Wait String - Time to wait to buffer alerts of the same group before sending a notification.
- matchers
List<Grafana
Notification Policy Policy Policy Policy Policy Matcher> - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- mute
Timings List<String> - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- repeat
Interval String - Minimum time interval for re-sending a notification if an alert is still firing.
- contact
Point string - The contact point to route notifications that match this rule to.
- group
Bies string[] - continue boolean
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- group
Interval string - Minimum time interval between two notifications for the same group.
- group
Wait string - Time to wait to buffer alerts of the same group before sending a notification.
- matchers
Grafana
Notification Policy Policy Policy Policy Policy Matcher[] - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- mute
Timings string[] - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- repeat
Interval string - Minimum time interval for re-sending a notification if an alert is still firing.
- contact_
point str - The contact point to route notifications that match this rule to.
- group_
bies Sequence[str] - continue_ bool
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- group_
interval str - Minimum time interval between two notifications for the same group.
- group_
wait str - Time to wait to buffer alerts of the same group before sending a notification.
- matchers
Sequence[Grafana
Notification Policy Policy Policy Policy Policy Matcher] - Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- mute_
timings Sequence[str] - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- repeat_
interval str - Minimum time interval for re-sending a notification if an alert is still firing.
- contact
Point String - The contact point to route notifications that match this rule to.
- group
Bies List<String> - continue Boolean
- Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
- group
Interval String - Minimum time interval between two notifications for the same group.
- group
Wait String - Time to wait to buffer alerts of the same group before sending a notification.
- matchers List<Property Map>
- Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. See below for nested schema.
- mute
Timings List<String> - A list of mute timing names to apply to alerts that match this policy. Warning - insert names of mute-timing that already exists, otherwise it can cause problems in your system.
- repeat
Interval String - Minimum time interval for re-sending a notification if an alert is still firing.
GrafanaNotificationPolicyPolicyPolicyPolicyPolicyMatcher, GrafanaNotificationPolicyPolicyPolicyPolicyPolicyMatcherArgs
Package Details
- Repository
- logzio logzio/terraform-provider-logzio
- License
- Notes
- This Pulumi package is based on the
logzio
Terraform Provider.