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

logzio.GrafanaContactPoint

Explore with Pulumi AI

# Grafana Contact Point

Provides a Logz.io Grafana Contact Point resource. This can be used to create and manage Logz.io Grafana Contact Points.

  • Learn more about grafana contact points in the Logz.io Docs.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as logzio from "@pulumi/logzio";

const config = new pulumi.Config();
const apiToken = config.require("apiToken");
const testCpEmail = new logzio.GrafanaContactPoint("testCpEmail", {emails: [{
    addresses: [
        "example@example.com",
        "example2@example.com",
    ],
    disableResolveMessage: false,
    singleEmail: true,
    message: "{{ len .Alerts.Firing }} firing.",
}]});
const testCpGooglechat = new logzio.GrafanaContactPoint("testCpGooglechat", {googlechats: [{
    url: "some.url",
    disableResolveMessage: false,
    message: "{{ len .Alerts.Firing }} firing.",
}]});
const testCpOpsgenie = new logzio.GrafanaContactPoint("testCpOpsgenie", {opsgenies: [{
    disableResolveMessage: false,
    apiUrl: "some.url",
    apiKey: "some_api_key",
    autoClose: false,
    overridePriority: true,
    sendTagsAs: "both",
}]});
const testCpPagerduty = new logzio.GrafanaContactPoint("testCpPagerduty", {pagerduties: [{
    integrationKey: "some-key",
    "class": "some-class",
    component: "some-component",
    group: "some-group",
    severity: "info",
    disableResolveMessage: false,
}]});
const testCpSlack = new logzio.GrafanaContactPoint("testCpSlack", {slacks: [{
    token: "some-token",
    title: "some-title",
    text: "{{ len .Alerts.Firing }} firing.",
    mentionChannel: "here",
    recipient: "me",
    disableResolveMessage: false,
}]});
const testCpTeams = new logzio.GrafanaContactPoint("testCpTeams", {teams: [{
    url: "url",
    message: "message",
    disableResolveMessage: false,
}]});
const testCpVictorops = new logzio.GrafanaContactPoint("testCpVictorops", {victorops: [{
    url: "url",
    messageType: "CRITICAL",
    disableResolveMessage: false,
}]});
const testCpWebhook = new logzio.GrafanaContactPoint("testCpWebhook", {
    webhooks: [{
        url: "url",
        disableResolveMessage: false,
    }],
    opsgenies: [{
        disableResolveMessage: false,
        apiUrl: "some.url",
        apiKey: "some_api_key",
        autoClose: false,
        overridePriority: true,
        sendTagsAs: "both",
    }],
});
Copy
import pulumi
import pulumi_logzio as logzio

config = pulumi.Config()
api_token = config.require("apiToken")
test_cp_email = logzio.GrafanaContactPoint("testCpEmail", emails=[{
    "addresses": [
        "example@example.com",
        "example2@example.com",
    ],
    "disable_resolve_message": False,
    "single_email": True,
    "message": "{{ len .Alerts.Firing }} firing.",
}])
test_cp_googlechat = logzio.GrafanaContactPoint("testCpGooglechat", googlechats=[{
    "url": "some.url",
    "disable_resolve_message": False,
    "message": "{{ len .Alerts.Firing }} firing.",
}])
test_cp_opsgenie = logzio.GrafanaContactPoint("testCpOpsgenie", opsgenies=[{
    "disable_resolve_message": False,
    "api_url": "some.url",
    "api_key": "some_api_key",
    "auto_close": False,
    "override_priority": True,
    "send_tags_as": "both",
}])
test_cp_pagerduty = logzio.GrafanaContactPoint("testCpPagerduty", pagerduties=[{
    "integration_key": "some-key",
    "class_": "some-class",
    "component": "some-component",
    "group": "some-group",
    "severity": "info",
    "disable_resolve_message": False,
}])
test_cp_slack = logzio.GrafanaContactPoint("testCpSlack", slacks=[{
    "token": "some-token",
    "title": "some-title",
    "text": "{{ len .Alerts.Firing }} firing.",
    "mention_channel": "here",
    "recipient": "me",
    "disable_resolve_message": False,
}])
test_cp_teams = logzio.GrafanaContactPoint("testCpTeams", teams=[{
    "url": "url",
    "message": "message",
    "disable_resolve_message": False,
}])
test_cp_victorops = logzio.GrafanaContactPoint("testCpVictorops", victorops=[{
    "url": "url",
    "message_type": "CRITICAL",
    "disable_resolve_message": False,
}])
test_cp_webhook = logzio.GrafanaContactPoint("testCpWebhook",
    webhooks=[{
        "url": "url",
        "disable_resolve_message": False,
    }],
    opsgenies=[{
        "disable_resolve_message": False,
        "api_url": "some.url",
        "api_key": "some_api_key",
        "auto_close": False,
        "override_priority": True,
        "send_tags_as": "both",
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/logzio/logzio"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		apiToken := cfg.Require("apiToken")
		_, err := logzio.NewGrafanaContactPoint(ctx, "testCpEmail", &logzio.GrafanaContactPointArgs{
			Emails: logzio.GrafanaContactPointEmailArray{
				&logzio.GrafanaContactPointEmailArgs{
					Addresses: pulumi.StringArray{
						pulumi.String("example@example.com"),
						pulumi.String("example2@example.com"),
					},
					DisableResolveMessage: pulumi.Bool(false),
					SingleEmail:           pulumi.Bool(true),
					Message:               pulumi.String("{{ len .Alerts.Firing }} firing."),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = logzio.NewGrafanaContactPoint(ctx, "testCpGooglechat", &logzio.GrafanaContactPointArgs{
			Googlechats: logzio.GrafanaContactPointGooglechatArray{
				&logzio.GrafanaContactPointGooglechatArgs{
					Url:                   pulumi.String("some.url"),
					DisableResolveMessage: pulumi.Bool(false),
					Message:               pulumi.String("{{ len .Alerts.Firing }} firing."),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = logzio.NewGrafanaContactPoint(ctx, "testCpOpsgenie", &logzio.GrafanaContactPointArgs{
			Opsgenies: logzio.GrafanaContactPointOpsgenyArray{
				&logzio.GrafanaContactPointOpsgenyArgs{
					DisableResolveMessage: pulumi.Bool(false),
					ApiUrl:                pulumi.String("some.url"),
					ApiKey:                pulumi.String("some_api_key"),
					AutoClose:             pulumi.Bool(false),
					OverridePriority:      pulumi.Bool(true),
					SendTagsAs:            pulumi.String("both"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = logzio.NewGrafanaContactPoint(ctx, "testCpPagerduty", &logzio.GrafanaContactPointArgs{
			Pagerduties: logzio.GrafanaContactPointPagerdutyArray{
				&logzio.GrafanaContactPointPagerdutyArgs{
					IntegrationKey:        pulumi.String("some-key"),
					Class:                 pulumi.String("some-class"),
					Component:             pulumi.String("some-component"),
					Group:                 pulumi.String("some-group"),
					Severity:              pulumi.String("info"),
					DisableResolveMessage: pulumi.Bool(false),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = logzio.NewGrafanaContactPoint(ctx, "testCpSlack", &logzio.GrafanaContactPointArgs{
			Slacks: logzio.GrafanaContactPointSlackArray{
				&logzio.GrafanaContactPointSlackArgs{
					Token:                 pulumi.String("some-token"),
					Title:                 pulumi.String("some-title"),
					Text:                  pulumi.String("{{ len .Alerts.Firing }} firing."),
					MentionChannel:        pulumi.String("here"),
					Recipient:             pulumi.String("me"),
					DisableResolveMessage: pulumi.Bool(false),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = logzio.NewGrafanaContactPoint(ctx, "testCpTeams", &logzio.GrafanaContactPointArgs{
			Teams: logzio.GrafanaContactPointTeamArray{
				&logzio.GrafanaContactPointTeamArgs{
					Url:                   pulumi.String("url"),
					Message:               pulumi.String("message"),
					DisableResolveMessage: pulumi.Bool(false),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = logzio.NewGrafanaContactPoint(ctx, "testCpVictorops", &logzio.GrafanaContactPointArgs{
			Victorops: logzio.GrafanaContactPointVictoropArray{
				&logzio.GrafanaContactPointVictoropArgs{
					Url:                   pulumi.String("url"),
					MessageType:           pulumi.String("CRITICAL"),
					DisableResolveMessage: pulumi.Bool(false),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = logzio.NewGrafanaContactPoint(ctx, "testCpWebhook", &logzio.GrafanaContactPointArgs{
			Webhooks: logzio.GrafanaContactPointWebhookArray{
				&logzio.GrafanaContactPointWebhookArgs{
					Url:                   pulumi.String("url"),
					DisableResolveMessage: pulumi.Bool(false),
				},
			},
			Opsgenies: logzio.GrafanaContactPointOpsgenyArray{
				&logzio.GrafanaContactPointOpsgenyArgs{
					DisableResolveMessage: pulumi.Bool(false),
					ApiUrl:                pulumi.String("some.url"),
					ApiKey:                pulumi.String("some_api_key"),
					AutoClose:             pulumi.Bool(false),
					OverridePriority:      pulumi.Bool(true),
					SendTagsAs:            pulumi.String("both"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Logzio = Pulumi.Logzio;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var apiToken = config.Require("apiToken");
    var testCpEmail = new Logzio.GrafanaContactPoint("testCpEmail", new()
    {
        Emails = new[]
        {
            new Logzio.Inputs.GrafanaContactPointEmailArgs
            {
                Addresses = new[]
                {
                    "example@example.com",
                    "example2@example.com",
                },
                DisableResolveMessage = false,
                SingleEmail = true,
                Message = "{{ len .Alerts.Firing }} firing.",
            },
        },
    });

    var testCpGooglechat = new Logzio.GrafanaContactPoint("testCpGooglechat", new()
    {
        Googlechats = new[]
        {
            new Logzio.Inputs.GrafanaContactPointGooglechatArgs
            {
                Url = "some.url",
                DisableResolveMessage = false,
                Message = "{{ len .Alerts.Firing }} firing.",
            },
        },
    });

    var testCpOpsgenie = new Logzio.GrafanaContactPoint("testCpOpsgenie", new()
    {
        Opsgenies = new[]
        {
            new Logzio.Inputs.GrafanaContactPointOpsgenyArgs
            {
                DisableResolveMessage = false,
                ApiUrl = "some.url",
                ApiKey = "some_api_key",
                AutoClose = false,
                OverridePriority = true,
                SendTagsAs = "both",
            },
        },
    });

    var testCpPagerduty = new Logzio.GrafanaContactPoint("testCpPagerduty", new()
    {
        Pagerduties = new[]
        {
            new Logzio.Inputs.GrafanaContactPointPagerdutyArgs
            {
                IntegrationKey = "some-key",
                Class = "some-class",
                Component = "some-component",
                Group = "some-group",
                Severity = "info",
                DisableResolveMessage = false,
            },
        },
    });

    var testCpSlack = new Logzio.GrafanaContactPoint("testCpSlack", new()
    {
        Slacks = new[]
        {
            new Logzio.Inputs.GrafanaContactPointSlackArgs
            {
                Token = "some-token",
                Title = "some-title",
                Text = "{{ len .Alerts.Firing }} firing.",
                MentionChannel = "here",
                Recipient = "me",
                DisableResolveMessage = false,
            },
        },
    });

    var testCpTeams = new Logzio.GrafanaContactPoint("testCpTeams", new()
    {
        Teams = new[]
        {
            new Logzio.Inputs.GrafanaContactPointTeamArgs
            {
                Url = "url",
                Message = "message",
                DisableResolveMessage = false,
            },
        },
    });

    var testCpVictorops = new Logzio.GrafanaContactPoint("testCpVictorops", new()
    {
        Victorops = new[]
        {
            new Logzio.Inputs.GrafanaContactPointVictoropArgs
            {
                Url = "url",
                MessageType = "CRITICAL",
                DisableResolveMessage = false,
            },
        },
    });

    var testCpWebhook = new Logzio.GrafanaContactPoint("testCpWebhook", new()
    {
        Webhooks = new[]
        {
            new Logzio.Inputs.GrafanaContactPointWebhookArgs
            {
                Url = "url",
                DisableResolveMessage = false,
            },
        },
        Opsgenies = new[]
        {
            new Logzio.Inputs.GrafanaContactPointOpsgenyArgs
            {
                DisableResolveMessage = false,
                ApiUrl = "some.url",
                ApiKey = "some_api_key",
                AutoClose = false,
                OverridePriority = true,
                SendTagsAs = "both",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.logzio.GrafanaContactPoint;
import com.pulumi.logzio.GrafanaContactPointArgs;
import com.pulumi.logzio.inputs.GrafanaContactPointEmailArgs;
import com.pulumi.logzio.inputs.GrafanaContactPointGooglechatArgs;
import com.pulumi.logzio.inputs.GrafanaContactPointOpsgenyArgs;
import com.pulumi.logzio.inputs.GrafanaContactPointPagerdutyArgs;
import com.pulumi.logzio.inputs.GrafanaContactPointSlackArgs;
import com.pulumi.logzio.inputs.GrafanaContactPointTeamArgs;
import com.pulumi.logzio.inputs.GrafanaContactPointVictoropArgs;
import com.pulumi.logzio.inputs.GrafanaContactPointWebhookArgs;
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) {
        final var config = ctx.config();
        final var apiToken = config.get("apiToken");
        var testCpEmail = new GrafanaContactPoint("testCpEmail", GrafanaContactPointArgs.builder()
            .emails(GrafanaContactPointEmailArgs.builder()
                .addresses(                
                    "example@example.com",
                    "example2@example.com")
                .disableResolveMessage(false)
                .singleEmail(true)
                .message("{{ len .Alerts.Firing }} firing.")
                .build())
            .build());

        var testCpGooglechat = new GrafanaContactPoint("testCpGooglechat", GrafanaContactPointArgs.builder()
            .googlechats(GrafanaContactPointGooglechatArgs.builder()
                .url("some.url")
                .disableResolveMessage(false)
                .message("{{ len .Alerts.Firing }} firing.")
                .build())
            .build());

        var testCpOpsgenie = new GrafanaContactPoint("testCpOpsgenie", GrafanaContactPointArgs.builder()
            .opsgenies(GrafanaContactPointOpsgenyArgs.builder()
                .disableResolveMessage(false)
                .apiUrl("some.url")
                .apiKey("some_api_key")
                .autoClose(false)
                .overridePriority(true)
                .sendTagsAs("both")
                .build())
            .build());

        var testCpPagerduty = new GrafanaContactPoint("testCpPagerduty", GrafanaContactPointArgs.builder()
            .pagerduties(GrafanaContactPointPagerdutyArgs.builder()
                .integrationKey("some-key")
                .class_("some-class")
                .component("some-component")
                .group("some-group")
                .severity("info")
                .disableResolveMessage(false)
                .build())
            .build());

        var testCpSlack = new GrafanaContactPoint("testCpSlack", GrafanaContactPointArgs.builder()
            .slacks(GrafanaContactPointSlackArgs.builder()
                .token("some-token")
                .title("some-title")
                .text("{{ len .Alerts.Firing }} firing.")
                .mentionChannel("here")
                .recipient("me")
                .disableResolveMessage(false)
                .build())
            .build());

        var testCpTeams = new GrafanaContactPoint("testCpTeams", GrafanaContactPointArgs.builder()
            .teams(GrafanaContactPointTeamArgs.builder()
                .url("url")
                .message("message")
                .disableResolveMessage(false)
                .build())
            .build());

        var testCpVictorops = new GrafanaContactPoint("testCpVictorops", GrafanaContactPointArgs.builder()
            .victorops(GrafanaContactPointVictoropArgs.builder()
                .url("url")
                .messageType("CRITICAL")
                .disableResolveMessage(false)
                .build())
            .build());

        var testCpWebhook = new GrafanaContactPoint("testCpWebhook", GrafanaContactPointArgs.builder()
            .webhooks(GrafanaContactPointWebhookArgs.builder()
                .url("url")
                .disableResolveMessage(false)
                .build())
            .opsgenies(GrafanaContactPointOpsgenyArgs.builder()
                .disableResolveMessage(false)
                .apiUrl("some.url")
                .apiKey("some_api_key")
                .autoClose(false)
                .overridePriority(true)
                .sendTagsAs("both")
                .build())
            .build());

    }
}
Copy
configuration:
  apiToken:
    type: string
resources:
  testCpEmail:
    type: logzio:GrafanaContactPoint
    properties:
      emails:
        - addresses:
            - example@example.com
            - example2@example.com
          disableResolveMessage: false
          singleEmail: true
          message: '{{ len .Alerts.Firing }} firing.'
  testCpGooglechat:
    type: logzio:GrafanaContactPoint
    properties:
      googlechats:
        - url: some.url
          disableResolveMessage: false
          message: '{{ len .Alerts.Firing }} firing.'
  testCpOpsgenie:
    type: logzio:GrafanaContactPoint
    properties:
      opsgenies:
        - disableResolveMessage: false
          apiUrl: some.url
          apiKey: some_api_key
          autoClose: false
          overridePriority: true
          sendTagsAs: both
  testCpPagerduty:
    type: logzio:GrafanaContactPoint
    properties:
      pagerduties:
        - integrationKey: some-key
          class: some-class
          component: some-component
          group: some-group
          severity: info
          disableResolveMessage: false
  testCpSlack:
    type: logzio:GrafanaContactPoint
    properties:
      slacks:
        - token: some-token
          title: some-title
          text: '{{ len .Alerts.Firing }} firing.'
          mentionChannel: here
          recipient: me
          disableResolveMessage: false
  testCpTeams:
    type: logzio:GrafanaContactPoint
    properties:
      teams:
        - url: url
          message: message
          disableResolveMessage: false
  testCpVictorops:
    type: logzio:GrafanaContactPoint
    properties:
      victorops:
        - url: url
          messageType: CRITICAL
          disableResolveMessage: false
  testCpWebhook:
    type: logzio:GrafanaContactPoint
    properties:
      webhooks:
        - url: url
          disableResolveMessage: false
      opsgenies:
        - disableResolveMessage: false
          apiUrl: some.url
          apiKey: some_api_key
          autoClose: false
          overridePriority: true
          sendTagsAs: both
Copy

Attribute Reference

  • id - (String) The ID of this resource.

Nested schema for email:

Argument Reference

Required:

  • addresses - (List of String) The addresses to send emails to.

Optional:

  • single_email - (Boolean) Whether to send a single email CC’ing all addresses, rather than a separate email to each address. Defaults to false.
  • message - (String) The templated content of the email. Defaults to ``.
  • disable_resolve_message - (Boolean) Whether to disable sending resolve messages. Defaults to false.
  • settings - (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].

Attribute Reference

  • uid - (String) The UID of the contact point.

Nested schema for googlechat:

Required:

  • url - (String, Sensitive) The Google Chat webhook URL.

Optional:

  • message - (String) The templated content of the message.
  • disable_resolve_message - (Boolean) Whether to disable sending resolve messages. Defaults to false.
  • settings - (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].

Attribute Reference

  • uid - (String) The UID of the contact point.

Nested schema for opsgenie:

Required:

  • api_key - (String, Sensitive) The OpsGenie API key to use.

Optional:

  • api_url - (String) Allows customization of the OpsGenie API URL.
  • auto_close - (Boolean) Whether to auto-close alerts in OpsGenie when they resolve in the Alertmanager.
  • override_priority - (Boolean) Whether to allow the alert priority to be configured via the value of the og_priority annotation on the alert.
  • send_tags_as - (String) Whether to send annotations to OpsGenie as Tags, Details, or both. Supported values are tags, details, both, or empty to use the default behavior of Tags.
  • disable_resolve_message - (Boolean) Whether to disable sending resolve messages. Defaults to false.
  • settings - (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].

Attribute Reference

  • uid - (String) The UID of the contact point.

Nested schema for pagerduty:

Required:

  • integration_key - (String, Sensitive) The PagerDuty API key.

Optional:

  • class - (String) The class or type of event.
  • component - (String) The component being affected by the event.
  • group - (String) The group to which the provided component belongs to.
  • summary - (String) The templated summary message of the event.
  • severity - (String) The PagerDuty event severity level. Can be one of info, warning, error, critical.
  • disable_resolve_message - (Boolean) Whether to disable sending resolve messages. Defaults to false.
  • settings - (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].

Attribute Reference

  • uid - (String) The UID of the contact point.

Nested schema for slack:

Required:

  • recipient - (String) Channel, private group, or IM channel (can be an encoded ID or a name) to send messages to.

Optional:

  • endpoint_url - (String) Use this to override the Slack API endpoint URL to send requests to.
  • mention_channel - (String) Describes how to ping the slack channel that messages are being sent to. Options are here for an @here ping, channel for @channel, or empty for no ping.
  • mention_groups - (String) Comma-separated list of groups to mention in the message.
  • mention_users - (String) Comma-separated list of users to mention in the message.
  • text - (String) Templated content of the message.
  • title - (String) Templated title of the message.
  • token - (String, Sensitive) A Slack API token,for sending messages directly without the webhook method.
  • url - (String, Sensitive) A Slack webhook URL,for sending messages via the webhook method.
  • username - (String) Username for the bot to use.
  • disable_resolve_message - (Boolean) Whether to disable sending resolve messages. Defaults to false.
  • settings - (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].

Attribute Reference

  • uid - (String) The UID of the contact point.

Nested schema for teams:

Required:

  • url - (String, Sensitive) A Teams webhook URL.

Optional:

  • message - (String) The templated message content to send.
  • disable_resolve_message - (Boolean) Whether to disable sending resolve messages. Defaults to false.
  • settings - (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].

Attribute Reference

  • uid - (String) The UID of the contact point.

Nested schema for victorops:

Required:

  • url - (String) The VictorOps webhook URL.

Optional:

  • message_type - (String) The VictorOps alert state - typically either CRITICAL or WARNING.
  • disable_resolve_message - (Boolean) Whether to disable sending resolve messages. Defaults to false.
  • settings - (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].

Attribute Reference

  • uid - (String) The UID of the contact point.

Nested schema for webhook:

Required:

  • url - (String) The URL to send webhook requests to.

Optional:

  • http_method - (String) The HTTP method to use in the request. Can be either PUT or POST.
  • max_alerts - (Number) The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.
  • password - (String, Sensitive) The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.
  • username - (String) The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.
  • disable_resolve_message - (Boolean) Whether to disable sending resolve messages. Defaults to false.
  • settings - (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].

Attribute Reference

  • uid - (String) The UID of the contact point.

Create GrafanaContactPoint Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new GrafanaContactPoint(name: string, args?: GrafanaContactPointArgs, opts?: CustomResourceOptions);
@overload
def GrafanaContactPoint(resource_name: str,
                        args: Optional[GrafanaContactPointArgs] = None,
                        opts: Optional[ResourceOptions] = None)

@overload
def GrafanaContactPoint(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        emails: Optional[Sequence[GrafanaContactPointEmailArgs]] = None,
                        googlechats: Optional[Sequence[GrafanaContactPointGooglechatArgs]] = None,
                        grafana_contact_point_id: Optional[str] = None,
                        name: Optional[str] = None,
                        opsgenies: Optional[Sequence[GrafanaContactPointOpsgenyArgs]] = None,
                        pagerduties: Optional[Sequence[GrafanaContactPointPagerdutyArgs]] = None,
                        slacks: Optional[Sequence[GrafanaContactPointSlackArgs]] = None,
                        teams: Optional[Sequence[GrafanaContactPointTeamArgs]] = None,
                        victorops: Optional[Sequence[GrafanaContactPointVictoropArgs]] = None,
                        webhooks: Optional[Sequence[GrafanaContactPointWebhookArgs]] = None)
func NewGrafanaContactPoint(ctx *Context, name string, args *GrafanaContactPointArgs, opts ...ResourceOption) (*GrafanaContactPoint, error)
public GrafanaContactPoint(string name, GrafanaContactPointArgs? args = null, CustomResourceOptions? opts = null)
public GrafanaContactPoint(String name, GrafanaContactPointArgs args)
public GrafanaContactPoint(String name, GrafanaContactPointArgs args, CustomResourceOptions options)
type: logzio:GrafanaContactPoint
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 GrafanaContactPointArgs
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 GrafanaContactPointArgs
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 GrafanaContactPointArgs
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 GrafanaContactPointArgs
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. GrafanaContactPointArgs
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 grafanaContactPointResource = new Logzio.GrafanaContactPoint("grafanaContactPointResource", new()
{
    Emails = new[]
    {
        new Logzio.Inputs.GrafanaContactPointEmailArgs
        {
            Addresses = new[]
            {
                "string",
            },
            DisableResolveMessage = false,
            Message = "string",
            Settings = 
            {
                { "string", "string" },
            },
            SingleEmail = false,
            Uid = "string",
        },
    },
    Googlechats = new[]
    {
        new Logzio.Inputs.GrafanaContactPointGooglechatArgs
        {
            Url = "string",
            DisableResolveMessage = false,
            Message = "string",
            Settings = 
            {
                { "string", "string" },
            },
            Uid = "string",
        },
    },
    GrafanaContactPointId = "string",
    Name = "string",
    Opsgenies = new[]
    {
        new Logzio.Inputs.GrafanaContactPointOpsgenyArgs
        {
            ApiKey = "string",
            ApiUrl = "string",
            AutoClose = false,
            DisableResolveMessage = false,
            OverridePriority = false,
            SendTagsAs = "string",
            Settings = 
            {
                { "string", "string" },
            },
            Uid = "string",
        },
    },
    Pagerduties = new[]
    {
        new Logzio.Inputs.GrafanaContactPointPagerdutyArgs
        {
            IntegrationKey = "string",
            Class = "string",
            Component = "string",
            DisableResolveMessage = false,
            Group = "string",
            Settings = 
            {
                { "string", "string" },
            },
            Severity = "string",
            Summary = "string",
            Uid = "string",
        },
    },
    Slacks = new[]
    {
        new Logzio.Inputs.GrafanaContactPointSlackArgs
        {
            Recipient = "string",
            Settings = 
            {
                { "string", "string" },
            },
            MentionChannel = "string",
            MentionGroups = "string",
            MentionUsers = "string",
            EndpointUrl = "string",
            DisableResolveMessage = false,
            Text = "string",
            Title = "string",
            Token = "string",
            Uid = "string",
            Url = "string",
            Username = "string",
        },
    },
    Teams = new[]
    {
        new Logzio.Inputs.GrafanaContactPointTeamArgs
        {
            Url = "string",
            DisableResolveMessage = false,
            Message = "string",
            Settings = 
            {
                { "string", "string" },
            },
            Uid = "string",
        },
    },
    Victorops = new[]
    {
        new Logzio.Inputs.GrafanaContactPointVictoropArgs
        {
            Url = "string",
            DisableResolveMessage = false,
            MessageType = "string",
            Settings = 
            {
                { "string", "string" },
            },
            Uid = "string",
        },
    },
    Webhooks = new[]
    {
        new Logzio.Inputs.GrafanaContactPointWebhookArgs
        {
            Url = "string",
            AuthorizationCredentials = "string",
            DisableResolveMessage = false,
            HttpMethod = "string",
            MaxAlerts = 0,
            Password = "string",
            Settings = 
            {
                { "string", "string" },
            },
            Uid = "string",
            Username = "string",
        },
    },
});
Copy
example, err := logzio.NewGrafanaContactPoint(ctx, "grafanaContactPointResource", &logzio.GrafanaContactPointArgs{
Emails: .GrafanaContactPointEmailArray{
&.GrafanaContactPointEmailArgs{
Addresses: pulumi.StringArray{
pulumi.String("string"),
},
DisableResolveMessage: pulumi.Bool(false),
Message: pulumi.String("string"),
Settings: pulumi.StringMap{
"string": pulumi.String("string"),
},
SingleEmail: pulumi.Bool(false),
Uid: pulumi.String("string"),
},
},
Googlechats: .GrafanaContactPointGooglechatArray{
&.GrafanaContactPointGooglechatArgs{
Url: pulumi.String("string"),
DisableResolveMessage: pulumi.Bool(false),
Message: pulumi.String("string"),
Settings: pulumi.StringMap{
"string": pulumi.String("string"),
},
Uid: pulumi.String("string"),
},
},
GrafanaContactPointId: pulumi.String("string"),
Name: pulumi.String("string"),
Opsgenies: .GrafanaContactPointOpsgenyArray{
&.GrafanaContactPointOpsgenyArgs{
ApiKey: pulumi.String("string"),
ApiUrl: pulumi.String("string"),
AutoClose: pulumi.Bool(false),
DisableResolveMessage: pulumi.Bool(false),
OverridePriority: pulumi.Bool(false),
SendTagsAs: pulumi.String("string"),
Settings: pulumi.StringMap{
"string": pulumi.String("string"),
},
Uid: pulumi.String("string"),
},
},
Pagerduties: .GrafanaContactPointPagerdutyArray{
&.GrafanaContactPointPagerdutyArgs{
IntegrationKey: pulumi.String("string"),
Class: pulumi.String("string"),
Component: pulumi.String("string"),
DisableResolveMessage: pulumi.Bool(false),
Group: pulumi.String("string"),
Settings: pulumi.StringMap{
"string": pulumi.String("string"),
},
Severity: pulumi.String("string"),
Summary: pulumi.String("string"),
Uid: pulumi.String("string"),
},
},
Slacks: .GrafanaContactPointSlackArray{
&.GrafanaContactPointSlackArgs{
Recipient: pulumi.String("string"),
Settings: pulumi.StringMap{
"string": pulumi.String("string"),
},
MentionChannel: pulumi.String("string"),
MentionGroups: pulumi.String("string"),
MentionUsers: pulumi.String("string"),
EndpointUrl: pulumi.String("string"),
DisableResolveMessage: pulumi.Bool(false),
Text: pulumi.String("string"),
Title: pulumi.String("string"),
Token: pulumi.String("string"),
Uid: pulumi.String("string"),
Url: pulumi.String("string"),
Username: pulumi.String("string"),
},
},
Teams: .GrafanaContactPointTeamArray{
&.GrafanaContactPointTeamArgs{
Url: pulumi.String("string"),
DisableResolveMessage: pulumi.Bool(false),
Message: pulumi.String("string"),
Settings: pulumi.StringMap{
"string": pulumi.String("string"),
},
Uid: pulumi.String("string"),
},
},
Victorops: .GrafanaContactPointVictoropArray{
&.GrafanaContactPointVictoropArgs{
Url: pulumi.String("string"),
DisableResolveMessage: pulumi.Bool(false),
MessageType: pulumi.String("string"),
Settings: pulumi.StringMap{
"string": pulumi.String("string"),
},
Uid: pulumi.String("string"),
},
},
Webhooks: .GrafanaContactPointWebhookArray{
&.GrafanaContactPointWebhookArgs{
Url: pulumi.String("string"),
AuthorizationCredentials: pulumi.String("string"),
DisableResolveMessage: pulumi.Bool(false),
HttpMethod: pulumi.String("string"),
MaxAlerts: pulumi.Float64(0),
Password: pulumi.String("string"),
Settings: pulumi.StringMap{
"string": pulumi.String("string"),
},
Uid: pulumi.String("string"),
Username: pulumi.String("string"),
},
},
})
Copy
var grafanaContactPointResource = new GrafanaContactPoint("grafanaContactPointResource", GrafanaContactPointArgs.builder()
    .emails(GrafanaContactPointEmailArgs.builder()
        .addresses("string")
        .disableResolveMessage(false)
        .message("string")
        .settings(Map.of("string", "string"))
        .singleEmail(false)
        .uid("string")
        .build())
    .googlechats(GrafanaContactPointGooglechatArgs.builder()
        .url("string")
        .disableResolveMessage(false)
        .message("string")
        .settings(Map.of("string", "string"))
        .uid("string")
        .build())
    .grafanaContactPointId("string")
    .name("string")
    .opsgenies(GrafanaContactPointOpsgenyArgs.builder()
        .apiKey("string")
        .apiUrl("string")
        .autoClose(false)
        .disableResolveMessage(false)
        .overridePriority(false)
        .sendTagsAs("string")
        .settings(Map.of("string", "string"))
        .uid("string")
        .build())
    .pagerduties(GrafanaContactPointPagerdutyArgs.builder()
        .integrationKey("string")
        .class_("string")
        .component("string")
        .disableResolveMessage(false)
        .group("string")
        .settings(Map.of("string", "string"))
        .severity("string")
        .summary("string")
        .uid("string")
        .build())
    .slacks(GrafanaContactPointSlackArgs.builder()
        .recipient("string")
        .settings(Map.of("string", "string"))
        .mentionChannel("string")
        .mentionGroups("string")
        .mentionUsers("string")
        .endpointUrl("string")
        .disableResolveMessage(false)
        .text("string")
        .title("string")
        .token("string")
        .uid("string")
        .url("string")
        .username("string")
        .build())
    .teams(GrafanaContactPointTeamArgs.builder()
        .url("string")
        .disableResolveMessage(false)
        .message("string")
        .settings(Map.of("string", "string"))
        .uid("string")
        .build())
    .victorops(GrafanaContactPointVictoropArgs.builder()
        .url("string")
        .disableResolveMessage(false)
        .messageType("string")
        .settings(Map.of("string", "string"))
        .uid("string")
        .build())
    .webhooks(GrafanaContactPointWebhookArgs.builder()
        .url("string")
        .authorizationCredentials("string")
        .disableResolveMessage(false)
        .httpMethod("string")
        .maxAlerts(0)
        .password("string")
        .settings(Map.of("string", "string"))
        .uid("string")
        .username("string")
        .build())
    .build());
Copy
grafana_contact_point_resource = logzio.GrafanaContactPoint("grafanaContactPointResource",
    emails=[{
        "addresses": ["string"],
        "disable_resolve_message": False,
        "message": "string",
        "settings": {
            "string": "string",
        },
        "single_email": False,
        "uid": "string",
    }],
    googlechats=[{
        "url": "string",
        "disable_resolve_message": False,
        "message": "string",
        "settings": {
            "string": "string",
        },
        "uid": "string",
    }],
    grafana_contact_point_id="string",
    name="string",
    opsgenies=[{
        "api_key": "string",
        "api_url": "string",
        "auto_close": False,
        "disable_resolve_message": False,
        "override_priority": False,
        "send_tags_as": "string",
        "settings": {
            "string": "string",
        },
        "uid": "string",
    }],
    pagerduties=[{
        "integration_key": "string",
        "class_": "string",
        "component": "string",
        "disable_resolve_message": False,
        "group": "string",
        "settings": {
            "string": "string",
        },
        "severity": "string",
        "summary": "string",
        "uid": "string",
    }],
    slacks=[{
        "recipient": "string",
        "settings": {
            "string": "string",
        },
        "mention_channel": "string",
        "mention_groups": "string",
        "mention_users": "string",
        "endpoint_url": "string",
        "disable_resolve_message": False,
        "text": "string",
        "title": "string",
        "token": "string",
        "uid": "string",
        "url": "string",
        "username": "string",
    }],
    teams=[{
        "url": "string",
        "disable_resolve_message": False,
        "message": "string",
        "settings": {
            "string": "string",
        },
        "uid": "string",
    }],
    victorops=[{
        "url": "string",
        "disable_resolve_message": False,
        "message_type": "string",
        "settings": {
            "string": "string",
        },
        "uid": "string",
    }],
    webhooks=[{
        "url": "string",
        "authorization_credentials": "string",
        "disable_resolve_message": False,
        "http_method": "string",
        "max_alerts": 0,
        "password": "string",
        "settings": {
            "string": "string",
        },
        "uid": "string",
        "username": "string",
    }])
Copy
const grafanaContactPointResource = new logzio.GrafanaContactPoint("grafanaContactPointResource", {
    emails: [{
        addresses: ["string"],
        disableResolveMessage: false,
        message: "string",
        settings: {
            string: "string",
        },
        singleEmail: false,
        uid: "string",
    }],
    googlechats: [{
        url: "string",
        disableResolveMessage: false,
        message: "string",
        settings: {
            string: "string",
        },
        uid: "string",
    }],
    grafanaContactPointId: "string",
    name: "string",
    opsgenies: [{
        apiKey: "string",
        apiUrl: "string",
        autoClose: false,
        disableResolveMessage: false,
        overridePriority: false,
        sendTagsAs: "string",
        settings: {
            string: "string",
        },
        uid: "string",
    }],
    pagerduties: [{
        integrationKey: "string",
        "class": "string",
        component: "string",
        disableResolveMessage: false,
        group: "string",
        settings: {
            string: "string",
        },
        severity: "string",
        summary: "string",
        uid: "string",
    }],
    slacks: [{
        recipient: "string",
        settings: {
            string: "string",
        },
        mentionChannel: "string",
        mentionGroups: "string",
        mentionUsers: "string",
        endpointUrl: "string",
        disableResolveMessage: false,
        text: "string",
        title: "string",
        token: "string",
        uid: "string",
        url: "string",
        username: "string",
    }],
    teams: [{
        url: "string",
        disableResolveMessage: false,
        message: "string",
        settings: {
            string: "string",
        },
        uid: "string",
    }],
    victorops: [{
        url: "string",
        disableResolveMessage: false,
        messageType: "string",
        settings: {
            string: "string",
        },
        uid: "string",
    }],
    webhooks: [{
        url: "string",
        authorizationCredentials: "string",
        disableResolveMessage: false,
        httpMethod: "string",
        maxAlerts: 0,
        password: "string",
        settings: {
            string: "string",
        },
        uid: "string",
        username: "string",
    }],
});
Copy
type: logzio:GrafanaContactPoint
properties:
    emails:
        - addresses:
            - string
          disableResolveMessage: false
          message: string
          settings:
            string: string
          singleEmail: false
          uid: string
    googlechats:
        - disableResolveMessage: false
          message: string
          settings:
            string: string
          uid: string
          url: string
    grafanaContactPointId: string
    name: string
    opsgenies:
        - apiKey: string
          apiUrl: string
          autoClose: false
          disableResolveMessage: false
          overridePriority: false
          sendTagsAs: string
          settings:
            string: string
          uid: string
    pagerduties:
        - class: string
          component: string
          disableResolveMessage: false
          group: string
          integrationKey: string
          settings:
            string: string
          severity: string
          summary: string
          uid: string
    slacks:
        - disableResolveMessage: false
          endpointUrl: string
          mentionChannel: string
          mentionGroups: string
          mentionUsers: string
          recipient: string
          settings:
            string: string
          text: string
          title: string
          token: string
          uid: string
          url: string
          username: string
    teams:
        - disableResolveMessage: false
          message: string
          settings:
            string: string
          uid: string
          url: string
    victorops:
        - disableResolveMessage: false
          messageType: string
          settings:
            string: string
          uid: string
          url: string
    webhooks:
        - authorizationCredentials: string
          disableResolveMessage: false
          httpMethod: string
          maxAlerts: 0
          password: string
          settings:
            string: string
          uid: string
          url: string
          username: string
Copy

GrafanaContactPoint 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 GrafanaContactPoint resource accepts the following input properties:

Outputs

All input properties are implicitly available as output properties. Additionally, the GrafanaContactPoint 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 GrafanaContactPoint Resource

Get an existing GrafanaContactPoint 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?: GrafanaContactPointState, opts?: CustomResourceOptions): GrafanaContactPoint
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        emails: Optional[Sequence[GrafanaContactPointEmailArgs]] = None,
        googlechats: Optional[Sequence[GrafanaContactPointGooglechatArgs]] = None,
        grafana_contact_point_id: Optional[str] = None,
        name: Optional[str] = None,
        opsgenies: Optional[Sequence[GrafanaContactPointOpsgenyArgs]] = None,
        pagerduties: Optional[Sequence[GrafanaContactPointPagerdutyArgs]] = None,
        slacks: Optional[Sequence[GrafanaContactPointSlackArgs]] = None,
        teams: Optional[Sequence[GrafanaContactPointTeamArgs]] = None,
        victorops: Optional[Sequence[GrafanaContactPointVictoropArgs]] = None,
        webhooks: Optional[Sequence[GrafanaContactPointWebhookArgs]] = None) -> GrafanaContactPoint
func GetGrafanaContactPoint(ctx *Context, name string, id IDInput, state *GrafanaContactPointState, opts ...ResourceOption) (*GrafanaContactPoint, error)
public static GrafanaContactPoint Get(string name, Input<string> id, GrafanaContactPointState? state, CustomResourceOptions? opts = null)
public static GrafanaContactPoint get(String name, Output<String> id, GrafanaContactPointState state, CustomResourceOptions options)
resources:  _:    type: logzio:GrafanaContactPoint    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:

Supporting Types

GrafanaContactPointEmail
, GrafanaContactPointEmailArgs

Addresses This property is required. List<string>
DisableResolveMessage bool
Message string
Settings Dictionary<string, string>
SingleEmail bool
Uid string
Addresses This property is required. []string
DisableResolveMessage bool
Message string
Settings map[string]string
SingleEmail bool
Uid string
addresses This property is required. List<String>
disableResolveMessage Boolean
message String
settings Map<String,String>
singleEmail Boolean
uid String
addresses This property is required. string[]
disableResolveMessage boolean
message string
settings {[key: string]: string}
singleEmail boolean
uid string
addresses This property is required. Sequence[str]
disable_resolve_message bool
message str
settings Mapping[str, str]
single_email bool
uid str
addresses This property is required. List<String>
disableResolveMessage Boolean
message String
settings Map<String>
singleEmail Boolean
uid String

GrafanaContactPointGooglechat
, GrafanaContactPointGooglechatArgs

Url This property is required. string
DisableResolveMessage bool
Message string
Settings Dictionary<string, string>
Uid string
Url This property is required. string
DisableResolveMessage bool
Message string
Settings map[string]string
Uid string
url This property is required. String
disableResolveMessage Boolean
message String
settings Map<String,String>
uid String
url This property is required. string
disableResolveMessage boolean
message string
settings {[key: string]: string}
uid string
url This property is required. str
disable_resolve_message bool
message str
settings Mapping[str, str]
uid str
url This property is required. String
disableResolveMessage Boolean
message String
settings Map<String>
uid String

GrafanaContactPointOpsgeny
, GrafanaContactPointOpsgenyArgs

ApiKey This property is required. string
ApiUrl string
AutoClose bool
DisableResolveMessage bool
OverridePriority bool
SendTagsAs string
Settings Dictionary<string, string>
Uid string
ApiKey This property is required. string
ApiUrl string
AutoClose bool
DisableResolveMessage bool
OverridePriority bool
SendTagsAs string
Settings map[string]string
Uid string
apiKey This property is required. String
apiUrl String
autoClose Boolean
disableResolveMessage Boolean
overridePriority Boolean
sendTagsAs String
settings Map<String,String>
uid String
apiKey This property is required. string
apiUrl string
autoClose boolean
disableResolveMessage boolean
overridePriority boolean
sendTagsAs string
settings {[key: string]: string}
uid string
api_key This property is required. str
api_url str
auto_close bool
disable_resolve_message bool
override_priority bool
send_tags_as str
settings Mapping[str, str]
uid str
apiKey This property is required. String
apiUrl String
autoClose Boolean
disableResolveMessage Boolean
overridePriority Boolean
sendTagsAs String
settings Map<String>
uid String

GrafanaContactPointPagerduty
, GrafanaContactPointPagerdutyArgs

IntegrationKey This property is required. string
Class string
Component string
DisableResolveMessage bool
Group string
Settings Dictionary<string, string>
Severity string
Summary string
Uid string
IntegrationKey This property is required. string
Class string
Component string
DisableResolveMessage bool
Group string
Settings map[string]string
Severity string
Summary string
Uid string
integrationKey This property is required. String
class_ String
component String
disableResolveMessage Boolean
group String
settings Map<String,String>
severity String
summary String
uid String
integrationKey This property is required. string
class string
component string
disableResolveMessage boolean
group string
settings {[key: string]: string}
severity string
summary string
uid string
integration_key This property is required. str
class_ str
component str
disable_resolve_message bool
group str
settings Mapping[str, str]
severity str
summary str
uid str
integrationKey This property is required. String
class String
component String
disableResolveMessage Boolean
group String
settings Map<String>
severity String
summary String
uid String

GrafanaContactPointSlack
, GrafanaContactPointSlackArgs

Recipient This property is required. string
DisableResolveMessage bool
EndpointUrl string
MentionChannel string
MentionGroups string
MentionUsers string
Settings Dictionary<string, string>
Text string
Title string
Token string
Uid string
Url string
Username string
Recipient This property is required. string
DisableResolveMessage bool
EndpointUrl string
MentionChannel string
MentionGroups string
MentionUsers string
Settings map[string]string
Text string
Title string
Token string
Uid string
Url string
Username string
recipient This property is required. String
disableResolveMessage Boolean
endpointUrl String
mentionChannel String
mentionGroups String
mentionUsers String
settings Map<String,String>
text String
title String
token String
uid String
url String
username String
recipient This property is required. string
disableResolveMessage boolean
endpointUrl string
mentionChannel string
mentionGroups string
mentionUsers string
settings {[key: string]: string}
text string
title string
token string
uid string
url string
username string
recipient This property is required. str
disable_resolve_message bool
endpoint_url str
mention_channel str
mention_groups str
mention_users str
settings Mapping[str, str]
text str
title str
token str
uid str
url str
username str
recipient This property is required. String
disableResolveMessage Boolean
endpointUrl String
mentionChannel String
mentionGroups String
mentionUsers String
settings Map<String>
text String
title String
token String
uid String
url String
username String

GrafanaContactPointTeam
, GrafanaContactPointTeamArgs

Url This property is required. string
DisableResolveMessage bool
Message string
Settings Dictionary<string, string>
Uid string
Url This property is required. string
DisableResolveMessage bool
Message string
Settings map[string]string
Uid string
url This property is required. String
disableResolveMessage Boolean
message String
settings Map<String,String>
uid String
url This property is required. string
disableResolveMessage boolean
message string
settings {[key: string]: string}
uid string
url This property is required. str
disable_resolve_message bool
message str
settings Mapping[str, str]
uid str
url This property is required. String
disableResolveMessage Boolean
message String
settings Map<String>
uid String

GrafanaContactPointVictorop
, GrafanaContactPointVictoropArgs

Url This property is required. string
DisableResolveMessage bool
MessageType string
Settings Dictionary<string, string>
Uid string
Url This property is required. string
DisableResolveMessage bool
MessageType string
Settings map[string]string
Uid string
url This property is required. String
disableResolveMessage Boolean
messageType String
settings Map<String,String>
uid String
url This property is required. string
disableResolveMessage boolean
messageType string
settings {[key: string]: string}
uid string
url This property is required. str
disable_resolve_message bool
message_type str
settings Mapping[str, str]
uid str
url This property is required. String
disableResolveMessage Boolean
messageType String
settings Map<String>
uid String

GrafanaContactPointWebhook
, GrafanaContactPointWebhookArgs

Url This property is required. string
AuthorizationCredentials string
DisableResolveMessage bool
HttpMethod string
MaxAlerts double
Password string
Settings Dictionary<string, string>
Uid string
Username string
Url This property is required. string
AuthorizationCredentials string
DisableResolveMessage bool
HttpMethod string
MaxAlerts float64
Password string
Settings map[string]string
Uid string
Username string
url This property is required. String
authorizationCredentials String
disableResolveMessage Boolean
httpMethod String
maxAlerts Double
password String
settings Map<String,String>
uid String
username String
url This property is required. string
authorizationCredentials string
disableResolveMessage boolean
httpMethod string
maxAlerts number
password string
settings {[key: string]: string}
uid string
username string
url This property is required. str
authorization_credentials str
disable_resolve_message bool
http_method str
max_alerts float
password str
settings Mapping[str, str]
uid str
username str
url This property is required. String
authorizationCredentials String
disableResolveMessage Boolean
httpMethod String
maxAlerts Number
password String
settings Map<String>
uid String
username String

Import

contact point as resource

You can import contact point as follows:

terraform import logzio_grafana_contact_point.my_cp <CONTACT-POINT-NAME>

To learn more about importing existing cloud resources, see Importing resources.

Package Details

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