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",
    }],
});
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",
    }])
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
	})
}
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",
            },
        },
    });
});
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());
    }
}
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
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- herefor an @here ping,- channelfor @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- CRITICALor- 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- PUTor- 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 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 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 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 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 String
- The unique name of the resource.
- args 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",
        },
    },
});
example, err := logzio.NewGrafanaContactPoint(ctx, "grafanaContactPointResource", &logzio.GrafanaContactPointArgs{
	Emails: logzio.GrafanaContactPointEmailArray{
		&logzio.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: logzio.GrafanaContactPointGooglechatArray{
		&logzio.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: logzio.GrafanaContactPointOpsgenyArray{
		&logzio.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: logzio.GrafanaContactPointPagerdutyArray{
		&logzio.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: logzio.GrafanaContactPointSlackArray{
		&logzio.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: logzio.GrafanaContactPointTeamArray{
		&logzio.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: logzio.GrafanaContactPointVictoropArray{
		&logzio.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: logzio.GrafanaContactPointWebhookArray{
		&logzio.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"),
		},
	},
})
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.0)
        .password("string")
        .settings(Map.of("string", "string"))
        .uid("string")
        .username("string")
        .build())
    .build());
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",
    }])
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",
    }],
});
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
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:
- Emails
List<GrafanaContact Point Email> 
- Googlechats
List<GrafanaContact Point Googlechat> 
- GrafanaContact stringPoint Id 
- Name string
- Opsgenies
List<GrafanaContact Point Opsgeny> 
- Pagerduties
List<GrafanaContact Point Pagerduty> 
- Slacks
List<GrafanaContact Point Slack> 
- Teams
List<GrafanaContact Point Team> 
- Victorops
List<GrafanaContact Point Victorop> 
- Webhooks
List<GrafanaContact Point Webhook> 
- Emails
[]GrafanaContact Point Email Args 
- Googlechats
[]GrafanaContact Point Googlechat Args 
- GrafanaContact stringPoint Id 
- Name string
- Opsgenies
[]GrafanaContact Point Opsgeny Args 
- Pagerduties
[]GrafanaContact Point Pagerduty Args 
- Slacks
[]GrafanaContact Point Slack Args 
- Teams
[]GrafanaContact Point Team Args 
- Victorops
[]GrafanaContact Point Victorop Args 
- Webhooks
[]GrafanaContact Point Webhook Args 
- emails
List<GrafanaContact Point Email> 
- googlechats
List<GrafanaContact Point Googlechat> 
- grafanaContact StringPoint Id 
- name String
- opsgenies
List<GrafanaContact Point Opsgeny> 
- pagerduties
List<GrafanaContact Point Pagerduty> 
- slacks
List<GrafanaContact Point Slack> 
- teams
List<GrafanaContact Point Team> 
- victorops
List<GrafanaContact Point Victorop> 
- webhooks
List<GrafanaContact Point Webhook> 
- emails
GrafanaContact Point Email[] 
- googlechats
GrafanaContact Point Googlechat[] 
- grafanaContact stringPoint Id 
- name string
- opsgenies
GrafanaContact Point Opsgeny[] 
- pagerduties
GrafanaContact Point Pagerduty[] 
- slacks
GrafanaContact Point Slack[] 
- teams
GrafanaContact Point Team[] 
- victorops
GrafanaContact Point Victorop[] 
- webhooks
GrafanaContact Point Webhook[] 
- emails
Sequence[GrafanaContact Point Email Args] 
- googlechats
Sequence[GrafanaContact Point Googlechat Args] 
- grafana_contact_ strpoint_ id 
- name str
- opsgenies
Sequence[GrafanaContact Point Opsgeny Args] 
- pagerduties
Sequence[GrafanaContact Point Pagerduty Args] 
- slacks
Sequence[GrafanaContact Point Slack Args] 
- teams
Sequence[GrafanaContact Point Team Args] 
- victorops
Sequence[GrafanaContact Point Victorop Args] 
- webhooks
Sequence[GrafanaContact Point Webhook Args] 
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) -> GrafanaContactPointfunc 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Emails
List<GrafanaContact Point Email> 
- Googlechats
List<GrafanaContact Point Googlechat> 
- GrafanaContact stringPoint Id 
- Name string
- Opsgenies
List<GrafanaContact Point Opsgeny> 
- Pagerduties
List<GrafanaContact Point Pagerduty> 
- Slacks
List<GrafanaContact Point Slack> 
- Teams
List<GrafanaContact Point Team> 
- Victorops
List<GrafanaContact Point Victorop> 
- Webhooks
List<GrafanaContact Point Webhook> 
- Emails
[]GrafanaContact Point Email Args 
- Googlechats
[]GrafanaContact Point Googlechat Args 
- GrafanaContact stringPoint Id 
- Name string
- Opsgenies
[]GrafanaContact Point Opsgeny Args 
- Pagerduties
[]GrafanaContact Point Pagerduty Args 
- Slacks
[]GrafanaContact Point Slack Args 
- Teams
[]GrafanaContact Point Team Args 
- Victorops
[]GrafanaContact Point Victorop Args 
- Webhooks
[]GrafanaContact Point Webhook Args 
- emails
List<GrafanaContact Point Email> 
- googlechats
List<GrafanaContact Point Googlechat> 
- grafanaContact StringPoint Id 
- name String
- opsgenies
List<GrafanaContact Point Opsgeny> 
- pagerduties
List<GrafanaContact Point Pagerduty> 
- slacks
List<GrafanaContact Point Slack> 
- teams
List<GrafanaContact Point Team> 
- victorops
List<GrafanaContact Point Victorop> 
- webhooks
List<GrafanaContact Point Webhook> 
- emails
GrafanaContact Point Email[] 
- googlechats
GrafanaContact Point Googlechat[] 
- grafanaContact stringPoint Id 
- name string
- opsgenies
GrafanaContact Point Opsgeny[] 
- pagerduties
GrafanaContact Point Pagerduty[] 
- slacks
GrafanaContact Point Slack[] 
- teams
GrafanaContact Point Team[] 
- victorops
GrafanaContact Point Victorop[] 
- webhooks
GrafanaContact Point Webhook[] 
- emails
Sequence[GrafanaContact Point Email Args] 
- googlechats
Sequence[GrafanaContact Point Googlechat Args] 
- grafana_contact_ strpoint_ id 
- name str
- opsgenies
Sequence[GrafanaContact Point Opsgeny Args] 
- pagerduties
Sequence[GrafanaContact Point Pagerduty Args] 
- slacks
Sequence[GrafanaContact Point Slack Args] 
- teams
Sequence[GrafanaContact Point Team Args] 
- victorops
Sequence[GrafanaContact Point Victorop Args] 
- webhooks
Sequence[GrafanaContact Point Webhook Args] 
Supporting Types
GrafanaContactPointEmail, GrafanaContactPointEmailArgs        
- Addresses List<string>
- DisableResolve boolMessage 
- Message string
- Settings Dictionary<string, string>
- SingleEmail bool
- Uid string
- Addresses []string
- DisableResolve boolMessage 
- Message string
- Settings map[string]string
- SingleEmail bool
- Uid string
- addresses List<String>
- disableResolve BooleanMessage 
- message String
- settings Map<String,String>
- singleEmail Boolean
- uid String
- addresses string[]
- disableResolve booleanMessage 
- message string
- settings {[key: string]: string}
- singleEmail boolean
- uid string
- addresses Sequence[str]
- disable_resolve_ boolmessage 
- message str
- settings Mapping[str, str]
- single_email bool
- uid str
- addresses List<String>
- disableResolve BooleanMessage 
- message String
- settings Map<String>
- singleEmail Boolean
- uid String
GrafanaContactPointGooglechat, GrafanaContactPointGooglechatArgs        
- Url string
- DisableResolve boolMessage 
- Message string
- Settings Dictionary<string, string>
- Uid string
- Url string
- DisableResolve boolMessage 
- Message string
- Settings map[string]string
- Uid string
- url String
- disableResolve BooleanMessage 
- message String
- settings Map<String,String>
- uid String
- url string
- disableResolve booleanMessage 
- message string
- settings {[key: string]: string}
- uid string
- url str
- disable_resolve_ boolmessage 
- message str
- settings Mapping[str, str]
- uid str
- url String
- disableResolve BooleanMessage 
- message String
- settings Map<String>
- uid String
GrafanaContactPointOpsgeny, GrafanaContactPointOpsgenyArgs        
- ApiKey string
- ApiUrl string
- AutoClose bool
- DisableResolve boolMessage 
- OverridePriority bool
- string
- Settings Dictionary<string, string>
- Uid string
- ApiKey string
- ApiUrl string
- AutoClose bool
- DisableResolve boolMessage 
- OverridePriority bool
- string
- Settings map[string]string
- Uid string
- apiKey String
- apiUrl String
- autoClose Boolean
- disableResolve BooleanMessage 
- overridePriority Boolean
- String
- settings Map<String,String>
- uid String
- apiKey string
- apiUrl string
- autoClose boolean
- disableResolve booleanMessage 
- overridePriority boolean
- string
- settings {[key: string]: string}
- uid string
- api_key str
- api_url str
- auto_close bool
- disable_resolve_ boolmessage 
- override_priority bool
- str
- settings Mapping[str, str]
- uid str
- apiKey String
- apiUrl String
- autoClose Boolean
- disableResolve BooleanMessage 
- overridePriority Boolean
- String
- settings Map<String>
- uid String
GrafanaContactPointPagerduty, GrafanaContactPointPagerdutyArgs        
- IntegrationKey string
- Class string
- Component string
- DisableResolve boolMessage 
- Group string
- Settings Dictionary<string, string>
- Severity string
- Summary string
- Uid string
- IntegrationKey string
- Class string
- Component string
- DisableResolve boolMessage 
- Group string
- Settings map[string]string
- Severity string
- Summary string
- Uid string
- integrationKey String
- class_ String
- component String
- disableResolve BooleanMessage 
- group String
- settings Map<String,String>
- severity String
- summary String
- uid String
- integrationKey string
- class string
- component string
- disableResolve booleanMessage 
- group string
- settings {[key: string]: string}
- severity string
- summary string
- uid string
- integration_key str
- class_ str
- component str
- disable_resolve_ boolmessage 
- group str
- settings Mapping[str, str]
- severity str
- summary str
- uid str
- integrationKey String
- class String
- component String
- disableResolve BooleanMessage 
- group String
- settings Map<String>
- severity String
- summary String
- uid String
GrafanaContactPointSlack, GrafanaContactPointSlackArgs        
- Recipient string
- DisableResolve boolMessage 
- 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 string
- DisableResolve boolMessage 
- 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 String
- disableResolve BooleanMessage 
- 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 string
- disableResolve booleanMessage 
- 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 str
- disable_resolve_ boolmessage 
- 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 String
- disableResolve BooleanMessage 
- 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 string
- DisableResolve boolMessage 
- Message string
- Settings Dictionary<string, string>
- Uid string
- Url string
- DisableResolve boolMessage 
- Message string
- Settings map[string]string
- Uid string
- url String
- disableResolve BooleanMessage 
- message String
- settings Map<String,String>
- uid String
- url string
- disableResolve booleanMessage 
- message string
- settings {[key: string]: string}
- uid string
- url str
- disable_resolve_ boolmessage 
- message str
- settings Mapping[str, str]
- uid str
- url String
- disableResolve BooleanMessage 
- message String
- settings Map<String>
- uid String
GrafanaContactPointVictorop, GrafanaContactPointVictoropArgs        
- Url string
- DisableResolve boolMessage 
- MessageType string
- Settings Dictionary<string, string>
- Uid string
- Url string
- DisableResolve boolMessage 
- MessageType string
- Settings map[string]string
- Uid string
- url String
- disableResolve BooleanMessage 
- messageType String
- settings Map<String,String>
- uid String
- url string
- disableResolve booleanMessage 
- messageType string
- settings {[key: string]: string}
- uid string
- url str
- disable_resolve_ boolmessage 
- message_type str
- settings Mapping[str, str]
- uid str
- url String
- disableResolve BooleanMessage 
- messageType String
- settings Map<String>
- uid String
GrafanaContactPointWebhook, GrafanaContactPointWebhookArgs        
- Url string
- string
- DisableResolve boolMessage 
- HttpMethod string
- MaxAlerts double
- Password string
- Settings Dictionary<string, string>
- Uid string
- Username string
- Url string
- string
- DisableResolve boolMessage 
- HttpMethod string
- MaxAlerts float64
- Password string
- Settings map[string]string
- Uid string
- Username string
- url String
- String
- disableResolve BooleanMessage 
- httpMethod String
- maxAlerts Double
- password String
- settings Map<String,String>
- uid String
- username String
- url string
- string
- disableResolve booleanMessage 
- httpMethod string
- maxAlerts number
- password string
- settings {[key: string]: string}
- uid string
- username string
- url str
- str
- disable_resolve_ boolmessage 
- http_method str
- max_alerts float
- password str
- settings Mapping[str, str]
- uid str
- username str
- url String
- String
- disableResolve BooleanMessage 
- 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 logzioTerraform Provider.