1. Packages
  2. Logzio Provider
  3. API Docs
  4. GrafanaNotificationPolicy
logzio 1.17.1 published on Monday, Apr 14, 2025 by logzio

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());

    }
}
Copy
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
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. GrafanaNotificationPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. GrafanaNotificationPolicyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. GrafanaNotificationPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
});
Copy
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: .GrafanaNotificationPolicyPolicyArray{
&.GrafanaNotificationPolicyPolicyArgs{
ContactPoint: pulumi.String("string"),
Continue: pulumi.Bool(false),
GroupBies: pulumi.StringArray{
pulumi.String("string"),
},
GroupInterval: pulumi.String("string"),
GroupWait: pulumi.String("string"),
Matchers: .GrafanaNotificationPolicyPolicyMatcherArray{
&.GrafanaNotificationPolicyPolicyMatcherArgs{
Label: pulumi.String("string"),
Match: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
MuteTimings: pulumi.StringArray{
pulumi.String("string"),
},
Policies: .GrafanaNotificationPolicyPolicyPolicyArray{
&.GrafanaNotificationPolicyPolicyPolicyArgs{
ContactPoint: pulumi.String("string"),
Continue: pulumi.Bool(false),
GroupBies: pulumi.StringArray{
pulumi.String("string"),
},
GroupInterval: pulumi.String("string"),
GroupWait: pulumi.String("string"),
Matchers: .GrafanaNotificationPolicyPolicyPolicyMatcherArray{
&.GrafanaNotificationPolicyPolicyPolicyMatcherArgs{
Label: pulumi.String("string"),
Match: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
MuteTimings: pulumi.StringArray{
pulumi.String("string"),
},
Policies: .GrafanaNotificationPolicyPolicyPolicyPolicyArray{
&.GrafanaNotificationPolicyPolicyPolicyPolicyArgs{
ContactPoint: pulumi.String("string"),
Continue: pulumi.Bool(false),
GroupBies: pulumi.StringArray{
pulumi.String("string"),
},
GroupInterval: pulumi.String("string"),
GroupWait: pulumi.String("string"),
Matchers: .GrafanaNotificationPolicyPolicyPolicyPolicyMatcherArray{
&.GrafanaNotificationPolicyPolicyPolicyPolicyMatcherArgs{
Label: pulumi.String("string"),
Match: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
MuteTimings: pulumi.StringArray{
pulumi.String("string"),
},
Policies: .GrafanaNotificationPolicyPolicyPolicyPolicyPolicyArray{
&.GrafanaNotificationPolicyPolicyPolicyPolicyPolicyArgs{
ContactPoint: pulumi.String("string"),
GroupBies: pulumi.StringArray{
pulumi.String("string"),
},
Continue: pulumi.Bool(false),
GroupInterval: pulumi.String("string"),
GroupWait: pulumi.String("string"),
Matchers: .GrafanaNotificationPolicyPolicyPolicyPolicyPolicyMatcherArray{
&.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"),
})
Copy
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());
Copy
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")
Copy
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",
});
Copy
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
Copy

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:

ContactPoint This property is required. string
GroupBies This property is required. List<string>
GrafanaNotificationPolicyId string
(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.
GroupInterval string
GroupWait string
Policies List<GrafanaNotificationPolicyPolicy>
RepeatInterval string
ContactPoint This property is required. string
GroupBies This property is required. []string
GrafanaNotificationPolicyId string
(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.
GroupInterval string
GroupWait string
Policies []GrafanaNotificationPolicyPolicyArgs
RepeatInterval string
contactPoint This property is required. String
groupBies This property is required. List<String>
grafanaNotificationPolicyId String
(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.
groupInterval String
groupWait String
policies List<GrafanaNotificationPolicyPolicy>
repeatInterval String
contactPoint This property is required. string
groupBies This property is required. string[]
grafanaNotificationPolicyId string
(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.
groupInterval string
groupWait string
policies GrafanaNotificationPolicyPolicy[]
repeatInterval string
contact_point This property is required. str
group_bies This property is required. Sequence[str]
grafana_notification_policy_id str
(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[GrafanaNotificationPolicyPolicyArgs]
repeat_interval str
contactPoint This property is required. String
groupBies This property is required. List<String>
grafanaNotificationPolicyId String
(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.
groupInterval String
groupWait String
policies List<Property Map>
repeatInterval 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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
ContactPoint string
GrafanaNotificationPolicyId string
(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.
GroupBies List<string>
GroupInterval string
GroupWait string
Policies List<GrafanaNotificationPolicyPolicy>
RepeatInterval string
ContactPoint string
GrafanaNotificationPolicyId string
(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.
GroupBies []string
GroupInterval string
GroupWait string
Policies []GrafanaNotificationPolicyPolicyArgs
RepeatInterval string
contactPoint String
grafanaNotificationPolicyId String
(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.
groupBies List<String>
groupInterval String
groupWait String
policies List<GrafanaNotificationPolicyPolicy>
repeatInterval String
contactPoint string
grafanaNotificationPolicyId string
(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.
groupBies string[]
groupInterval string
groupWait string
policies GrafanaNotificationPolicyPolicy[]
repeatInterval string
contact_point str
grafana_notification_policy_id str
(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[GrafanaNotificationPolicyPolicyArgs]
repeat_interval str
contactPoint String
grafanaNotificationPolicyId String
(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.
groupBies List<String>
groupInterval String
groupWait String
policies List<Property Map>
repeatInterval String

Supporting Types

GrafanaNotificationPolicyPolicy
, GrafanaNotificationPolicyPolicyArgs

ContactPoint This property is required. 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.
GroupBies List<string>
GroupInterval string
Minimum time interval between two notifications for the same group.
GroupWait string
Time to wait to buffer alerts of the same group before sending a notification.
Matchers List<GrafanaNotificationPolicyPolicyMatcher>
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.
MuteTimings 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<GrafanaNotificationPolicyPolicyPolicy>
Routing rules for specific label sets. See below for nested schema.
RepeatInterval string
Minimum time interval for re-sending a notification if an alert is still firing.
ContactPoint This property is required. 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.
GroupBies []string
GroupInterval string
Minimum time interval between two notifications for the same group.
GroupWait string
Time to wait to buffer alerts of the same group before sending a notification.
Matchers []GrafanaNotificationPolicyPolicyMatcher
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.
MuteTimings []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 []GrafanaNotificationPolicyPolicyPolicy
Routing rules for specific label sets. See below for nested schema.
RepeatInterval string
Minimum time interval for re-sending a notification if an alert is still firing.
contactPoint This property is required. 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.
groupBies List<String>
groupInterval String
Minimum time interval between two notifications for the same group.
groupWait String
Time to wait to buffer alerts of the same group before sending a notification.
matchers List<GrafanaNotificationPolicyPolicyMatcher>
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.
muteTimings 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<GrafanaNotificationPolicyPolicyPolicy>
Routing rules for specific label sets. See below for nested schema.
repeatInterval String
Minimum time interval for re-sending a notification if an alert is still firing.
contactPoint This property is required. 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.
groupBies string[]
groupInterval string
Minimum time interval between two notifications for the same group.
groupWait string
Time to wait to buffer alerts of the same group before sending a notification.
matchers GrafanaNotificationPolicyPolicyMatcher[]
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.
muteTimings 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 GrafanaNotificationPolicyPolicyPolicy[]
Routing rules for specific label sets. See below for nested schema.
repeatInterval string
Minimum time interval for re-sending a notification if an alert is still firing.
contact_point This property is required. 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[GrafanaNotificationPolicyPolicyMatcher]
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[GrafanaNotificationPolicyPolicyPolicy]
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.
contactPoint This property is required. 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.
groupBies List<String>
groupInterval String
Minimum time interval between two notifications for the same group.
groupWait 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.
muteTimings 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.
repeatInterval String
Minimum time interval for re-sending a notification if an alert is still firing.

GrafanaNotificationPolicyPolicyMatcher
, GrafanaNotificationPolicyPolicyMatcherArgs

Label This property is required. string
The name of the label to match against.
Match This property is required. string
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
Value This property is required. string
The label value to match against.
Label This property is required. string
The name of the label to match against.
Match This property is required. string
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
Value This property is required. string
The label value to match against.
label This property is required. String
The name of the label to match against.
match This property is required. String
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
value This property is required. String
The label value to match against.
label This property is required. string
The name of the label to match against.
match This property is required. string
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
value This property is required. string
The label value to match against.
label This property is required. str
The name of the label to match against.
match This property is required. str
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
value This property is required. str
The label value to match against.
label This property is required. String
The name of the label to match against.
match This property is required. String
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
value This property is required. String
The label value to match against.

GrafanaNotificationPolicyPolicyPolicy
, GrafanaNotificationPolicyPolicyPolicyArgs

ContactPoint This property is required. 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.
GroupBies List<string>
GroupInterval string
Minimum time interval between two notifications for the same group.
GroupWait string
Time to wait to buffer alerts of the same group before sending a notification.
Matchers List<GrafanaNotificationPolicyPolicyPolicyMatcher>
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.
MuteTimings 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<GrafanaNotificationPolicyPolicyPolicyPolicy>
Routing rules for specific label sets. See below for nested schema.
RepeatInterval string
Minimum time interval for re-sending a notification if an alert is still firing.
ContactPoint This property is required. 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.
GroupBies []string
GroupInterval string
Minimum time interval between two notifications for the same group.
GroupWait string
Time to wait to buffer alerts of the same group before sending a notification.
Matchers []GrafanaNotificationPolicyPolicyPolicyMatcher
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.
MuteTimings []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 []GrafanaNotificationPolicyPolicyPolicyPolicy
Routing rules for specific label sets. See below for nested schema.
RepeatInterval string
Minimum time interval for re-sending a notification if an alert is still firing.
contactPoint This property is required. 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.
groupBies List<String>
groupInterval String
Minimum time interval between two notifications for the same group.
groupWait String
Time to wait to buffer alerts of the same group before sending a notification.
matchers List<GrafanaNotificationPolicyPolicyPolicyMatcher>
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.
muteTimings 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<GrafanaNotificationPolicyPolicyPolicyPolicy>
Routing rules for specific label sets. See below for nested schema.
repeatInterval String
Minimum time interval for re-sending a notification if an alert is still firing.
contactPoint This property is required. 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.
groupBies string[]
groupInterval string
Minimum time interval between two notifications for the same group.
groupWait string
Time to wait to buffer alerts of the same group before sending a notification.
matchers GrafanaNotificationPolicyPolicyPolicyMatcher[]
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.
muteTimings 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 GrafanaNotificationPolicyPolicyPolicyPolicy[]
Routing rules for specific label sets. See below for nested schema.
repeatInterval string
Minimum time interval for re-sending a notification if an alert is still firing.
contact_point This property is required. 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[GrafanaNotificationPolicyPolicyPolicyMatcher]
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[GrafanaNotificationPolicyPolicyPolicyPolicy]
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.
contactPoint This property is required. 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.
groupBies List<String>
groupInterval String
Minimum time interval between two notifications for the same group.
groupWait 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.
muteTimings 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.
repeatInterval String
Minimum time interval for re-sending a notification if an alert is still firing.

GrafanaNotificationPolicyPolicyPolicyMatcher
, GrafanaNotificationPolicyPolicyPolicyMatcherArgs

Label This property is required. string
The name of the label to match against.
Match This property is required. string
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
Value This property is required. string
The label value to match against.
Label This property is required. string
The name of the label to match against.
Match This property is required. string
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
Value This property is required. string
The label value to match against.
label This property is required. String
The name of the label to match against.
match This property is required. String
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
value This property is required. String
The label value to match against.
label This property is required. string
The name of the label to match against.
match This property is required. string
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
value This property is required. string
The label value to match against.
label This property is required. str
The name of the label to match against.
match This property is required. str
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
value This property is required. str
The label value to match against.
label This property is required. String
The name of the label to match against.
match This property is required. String
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
value This property is required. String
The label value to match against.

GrafanaNotificationPolicyPolicyPolicyPolicy
, GrafanaNotificationPolicyPolicyPolicyPolicyArgs

ContactPoint This property is required. 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.
GroupBies List<string>
GroupInterval string
Minimum time interval between two notifications for the same group.
GroupWait string
Time to wait to buffer alerts of the same group before sending a notification.
Matchers List<GrafanaNotificationPolicyPolicyPolicyPolicyMatcher>
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.
MuteTimings 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<GrafanaNotificationPolicyPolicyPolicyPolicyPolicy>
Routing rules for specific label sets. See below for nested schema.
RepeatInterval string
Minimum time interval for re-sending a notification if an alert is still firing.
ContactPoint This property is required. 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.
GroupBies []string
GroupInterval string
Minimum time interval between two notifications for the same group.
GroupWait string
Time to wait to buffer alerts of the same group before sending a notification.
Matchers []GrafanaNotificationPolicyPolicyPolicyPolicyMatcher
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.
MuteTimings []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 []GrafanaNotificationPolicyPolicyPolicyPolicyPolicy
Routing rules for specific label sets. See below for nested schema.
RepeatInterval string
Minimum time interval for re-sending a notification if an alert is still firing.
contactPoint This property is required. 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.
groupBies List<String>
groupInterval String
Minimum time interval between two notifications for the same group.
groupWait String
Time to wait to buffer alerts of the same group before sending a notification.
matchers List<GrafanaNotificationPolicyPolicyPolicyPolicyMatcher>
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.
muteTimings 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<GrafanaNotificationPolicyPolicyPolicyPolicyPolicy>
Routing rules for specific label sets. See below for nested schema.
repeatInterval String
Minimum time interval for re-sending a notification if an alert is still firing.
contactPoint This property is required. 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.
groupBies string[]
groupInterval string
Minimum time interval between two notifications for the same group.
groupWait string
Time to wait to buffer alerts of the same group before sending a notification.
matchers GrafanaNotificationPolicyPolicyPolicyPolicyMatcher[]
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.
muteTimings 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 GrafanaNotificationPolicyPolicyPolicyPolicyPolicy[]
Routing rules for specific label sets. See below for nested schema.
repeatInterval string
Minimum time interval for re-sending a notification if an alert is still firing.
contact_point This property is required. 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[GrafanaNotificationPolicyPolicyPolicyPolicyMatcher]
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[GrafanaNotificationPolicyPolicyPolicyPolicyPolicy]
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.
contactPoint This property is required. 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.
groupBies List<String>
groupInterval String
Minimum time interval between two notifications for the same group.
groupWait 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.
muteTimings 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.
repeatInterval String
Minimum time interval for re-sending a notification if an alert is still firing.

GrafanaNotificationPolicyPolicyPolicyPolicyMatcher
, GrafanaNotificationPolicyPolicyPolicyPolicyMatcherArgs

Label This property is required. string
The name of the label to match against.
Match This property is required. string
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
Value This property is required. string
The label value to match against.
Label This property is required. string
The name of the label to match against.
Match This property is required. string
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
Value This property is required. string
The label value to match against.
label This property is required. String
The name of the label to match against.
match This property is required. String
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
value This property is required. String
The label value to match against.
label This property is required. string
The name of the label to match against.
match This property is required. string
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
value This property is required. string
The label value to match against.
label This property is required. str
The name of the label to match against.
match This property is required. str
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
value This property is required. str
The label value to match against.
label This property is required. String
The name of the label to match against.
match This property is required. String
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
value This property is required. String
The label value to match against.

GrafanaNotificationPolicyPolicyPolicyPolicyPolicy
, GrafanaNotificationPolicyPolicyPolicyPolicyPolicyArgs

ContactPoint This property is required. string
The contact point to route notifications that match this rule to.
GroupBies This property is required. 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.
GroupInterval string
Minimum time interval between two notifications for the same group.
GroupWait string
Time to wait to buffer alerts of the same group before sending a notification.
Matchers List<GrafanaNotificationPolicyPolicyPolicyPolicyPolicyMatcher>
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.
MuteTimings 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.
RepeatInterval string
Minimum time interval for re-sending a notification if an alert is still firing.
ContactPoint This property is required. string
The contact point to route notifications that match this rule to.
GroupBies This property is required. []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.
GroupInterval string
Minimum time interval between two notifications for the same group.
GroupWait string
Time to wait to buffer alerts of the same group before sending a notification.
Matchers []GrafanaNotificationPolicyPolicyPolicyPolicyPolicyMatcher
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.
MuteTimings []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.
RepeatInterval string
Minimum time interval for re-sending a notification if an alert is still firing.
contactPoint This property is required. String
The contact point to route notifications that match this rule to.
groupBies This property is required. 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.
groupInterval String
Minimum time interval between two notifications for the same group.
groupWait String
Time to wait to buffer alerts of the same group before sending a notification.
matchers List<GrafanaNotificationPolicyPolicyPolicyPolicyPolicyMatcher>
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.
muteTimings 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.
repeatInterval String
Minimum time interval for re-sending a notification if an alert is still firing.
contactPoint This property is required. string
The contact point to route notifications that match this rule to.
groupBies This property is required. 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.
groupInterval string
Minimum time interval between two notifications for the same group.
groupWait string
Time to wait to buffer alerts of the same group before sending a notification.
matchers GrafanaNotificationPolicyPolicyPolicyPolicyPolicyMatcher[]
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.
muteTimings 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.
repeatInterval string
Minimum time interval for re-sending a notification if an alert is still firing.
contact_point This property is required. str
The contact point to route notifications that match this rule to.
group_bies This property is required. 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[GrafanaNotificationPolicyPolicyPolicyPolicyPolicyMatcher]
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.
contactPoint This property is required. String
The contact point to route notifications that match this rule to.
groupBies This property is required. 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.
groupInterval String
Minimum time interval between two notifications for the same group.
groupWait 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.
muteTimings 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.
repeatInterval String
Minimum time interval for re-sending a notification if an alert is still firing.

GrafanaNotificationPolicyPolicyPolicyPolicyPolicyMatcher
, GrafanaNotificationPolicyPolicyPolicyPolicyPolicyMatcherArgs

Label This property is required. string
The name of the label to match against.
Match This property is required. string
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
Value This property is required. string
The label value to match against.
Label This property is required. string
The name of the label to match against.
Match This property is required. string
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
Value This property is required. string
The label value to match against.
label This property is required. String
The name of the label to match against.
match This property is required. String
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
value This property is required. String
The label value to match against.
label This property is required. string
The name of the label to match against.
match This property is required. string
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
value This property is required. string
The label value to match against.
label This property is required. str
The name of the label to match against.
match This property is required. str
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
value This property is required. str
The label value to match against.
label This property is required. String
The name of the label to match against.
match This property is required. String
The operator to apply when matching values of the given label. Allowed operators are = (for equality), != (for negated equality), =~ (for regex equality), and !~ (for negated regex equality).
value This property is required. String
The label value to match against.

Package Details

Repository
logzio logzio/terraform-provider-logzio
License
Notes
This Pulumi package is based on the logzio Terraform Provider.