1. Packages
  2. Grafana Cloud
  3. API Docs
  4. OncallIntegration
Grafana v0.16.3 published on Monday, Apr 7, 2025 by pulumiverse

grafana.OncallIntegration

Explore with Pulumi AI

Deprecated: grafana.index/oncallintegration.OncallIntegration has been deprecated in favor of grafana.oncall/integration.Integration

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumiverse/grafana";

const test_acc_integration = new grafana.oncall.Integration("test-acc-integration", {
    name: "my integration",
    type: "grafana",
    defaultRoute: {},
});
// Also it's possible to manage integration templates.
// Check docs to see all available templates.
const integrationWithTemplates = new grafana.oncall.Integration("integration_with_templates", {
    name: "integration_with_templates",
    type: "webhook",
    defaultRoute: {},
    templates: {
        groupingKey: "{{ payload.group_id }}",
        slack: {
            title: "Slack title",
            message: `This is example of multiline template
{{ payload.message }}
`,
            imageUrl: "{{ payload.image_url }}",
        },
    },
});
Copy
import pulumi
import pulumiverse_grafana as grafana

test_acc_integration = grafana.on_call.Integration("test-acc-integration",
    name="my integration",
    type="grafana",
    default_route={})
# Also it's possible to manage integration templates.
# Check docs to see all available templates.
integration_with_templates = grafana.on_call.Integration("integration_with_templates",
    name="integration_with_templates",
    type="webhook",
    default_route={},
    templates={
        "grouping_key": "{{ payload.group_id }}",
        "slack": {
            "title": "Slack title",
            "message": """This is example of multiline template
{{ payload.message }}
""",
            "image_url": "{{ payload.image_url }}",
        },
    })
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/oncall"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oncall.NewIntegration(ctx, "test-acc-integration", &oncall.IntegrationArgs{
			Name:         pulumi.String("my integration"),
			Type:         pulumi.String("grafana"),
			DefaultRoute: &oncall.IntegrationDefaultRouteArgs{},
		})
		if err != nil {
			return err
		}
		// Also it's possible to manage integration templates.
		// Check docs to see all available templates.
		_, err = oncall.NewIntegration(ctx, "integration_with_templates", &oncall.IntegrationArgs{
			Name:         pulumi.String("integration_with_templates"),
			Type:         pulumi.String("webhook"),
			DefaultRoute: &oncall.IntegrationDefaultRouteArgs{},
			Templates: &oncall.IntegrationTemplatesArgs{
				GroupingKey: pulumi.String("{{ payload.group_id }}"),
				Slack: &oncall.IntegrationTemplatesSlackArgs{
					Title:    pulumi.String("Slack title"),
					Message:  pulumi.String("This is example of multiline template\n{{ payload.message }}\n"),
					ImageUrl: pulumi.String("{{ payload.image_url }}"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumiverse.Grafana;

return await Deployment.RunAsync(() => 
{
    var test_acc_integration = new Grafana.OnCall.Integration("test-acc-integration", new()
    {
        Name = "my integration",
        Type = "grafana",
        DefaultRoute = null,
    });

    // Also it's possible to manage integration templates.
    // Check docs to see all available templates.
    var integrationWithTemplates = new Grafana.OnCall.Integration("integration_with_templates", new()
    {
        Name = "integration_with_templates",
        Type = "webhook",
        DefaultRoute = null,
        Templates = new Grafana.OnCall.Inputs.IntegrationTemplatesArgs
        {
            GroupingKey = "{{ payload.group_id }}",
            Slack = new Grafana.OnCall.Inputs.IntegrationTemplatesSlackArgs
            {
                Title = "Slack title",
                Message = @"This is example of multiline template
{{ payload.message }}
",
                ImageUrl = "{{ payload.image_url }}",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.onCall.Integration;
import com.pulumi.grafana.onCall.IntegrationArgs;
import com.pulumi.grafana.onCall.inputs.IntegrationDefaultRouteArgs;
import com.pulumi.grafana.onCall.inputs.IntegrationTemplatesArgs;
import com.pulumi.grafana.onCall.inputs.IntegrationTemplatesSlackArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var test_acc_integration = new Integration("test-acc-integration", IntegrationArgs.builder()
            .name("my integration")
            .type("grafana")
            .defaultRoute()
            .build());

        // Also it's possible to manage integration templates.
        // Check docs to see all available templates.
        var integrationWithTemplates = new Integration("integrationWithTemplates", IntegrationArgs.builder()
            .name("integration_with_templates")
            .type("webhook")
            .defaultRoute()
            .templates(IntegrationTemplatesArgs.builder()
                .groupingKey("{{ payload.group_id }}")
                .slack(IntegrationTemplatesSlackArgs.builder()
                    .title("Slack title")
                    .message("""
This is example of multiline template
{{ payload.message }}
                    """)
                    .imageUrl("{{ payload.image_url }}")
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  test-acc-integration:
    type: grafana:onCall:Integration
    properties:
      name: my integration
      type: grafana
      defaultRoute: {}
  # Also it's possible to manage integration templates.
  # Check docs to see all available templates.
  integrationWithTemplates:
    type: grafana:onCall:Integration
    name: integration_with_templates
    properties:
      name: integration_with_templates
      type: webhook
      defaultRoute: {}
      templates:
        groupingKey: '{{ payload.group_id }}'
        slack:
          title: Slack title
          message: |
            This is example of multiline template
            {{ payload.message }}            
          imageUrl: '{{ payload.image_url }}'
Copy

Create OncallIntegration Resource

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

Constructor syntax

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

@overload
def OncallIntegration(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      default_route: Optional[OncallIntegrationDefaultRouteArgs] = None,
                      name: Optional[str] = None,
                      team_id: Optional[str] = None,
                      templates: Optional[OncallIntegrationTemplatesArgs] = None,
                      type: Optional[str] = None)
func NewOncallIntegration(ctx *Context, name string, args OncallIntegrationArgs, opts ...ResourceOption) (*OncallIntegration, error)
public OncallIntegration(string name, OncallIntegrationArgs args, CustomResourceOptions? opts = null)
public OncallIntegration(String name, OncallIntegrationArgs args)
public OncallIntegration(String name, OncallIntegrationArgs args, CustomResourceOptions options)
type: grafana:OncallIntegration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. OncallIntegrationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. OncallIntegrationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. OncallIntegrationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. OncallIntegrationArgs
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. OncallIntegrationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

DefaultRoute This property is required. Pulumiverse.Grafana.Inputs.OncallIntegrationDefaultRoute
The Default route for all alerts from the given integration
Type
This property is required.
Changes to this property will trigger replacement.
string
The type of integration. Can be grafana, grafanaalerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazonsns, curler, sentry, formattedwebhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentryplatform, zabbix, prtg, slackchannel, inboundemail, direct_paging, jira, zendesk.
Name string
The name of the service integration.
TeamId string
The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana.onCall.getTeam datasource.
Templates Pulumiverse.Grafana.Inputs.OncallIntegrationTemplates
Jinja2 templates for Alert payload. An empty templates block will be ignored.
DefaultRoute This property is required. OncallIntegrationDefaultRouteArgs
The Default route for all alerts from the given integration
Type
This property is required.
Changes to this property will trigger replacement.
string
The type of integration. Can be grafana, grafanaalerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazonsns, curler, sentry, formattedwebhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentryplatform, zabbix, prtg, slackchannel, inboundemail, direct_paging, jira, zendesk.
Name string
The name of the service integration.
TeamId string
The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana.onCall.getTeam datasource.
Templates OncallIntegrationTemplatesArgs
Jinja2 templates for Alert payload. An empty templates block will be ignored.
defaultRoute This property is required. OncallIntegrationDefaultRoute
The Default route for all alerts from the given integration
type
This property is required.
Changes to this property will trigger replacement.
String
The type of integration. Can be grafana, grafanaalerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazonsns, curler, sentry, formattedwebhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentryplatform, zabbix, prtg, slackchannel, inboundemail, direct_paging, jira, zendesk.
name String
The name of the service integration.
teamId String
The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana.onCall.getTeam datasource.
templates OncallIntegrationTemplates
Jinja2 templates for Alert payload. An empty templates block will be ignored.
defaultRoute This property is required. OncallIntegrationDefaultRoute
The Default route for all alerts from the given integration
type
This property is required.
Changes to this property will trigger replacement.
string
The type of integration. Can be grafana, grafanaalerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazonsns, curler, sentry, formattedwebhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentryplatform, zabbix, prtg, slackchannel, inboundemail, direct_paging, jira, zendesk.
name string
The name of the service integration.
teamId string
The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana.onCall.getTeam datasource.
templates OncallIntegrationTemplates
Jinja2 templates for Alert payload. An empty templates block will be ignored.
default_route This property is required. OncallIntegrationDefaultRouteArgs
The Default route for all alerts from the given integration
type
This property is required.
Changes to this property will trigger replacement.
str
The type of integration. Can be grafana, grafanaalerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazonsns, curler, sentry, formattedwebhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentryplatform, zabbix, prtg, slackchannel, inboundemail, direct_paging, jira, zendesk.
name str
The name of the service integration.
team_id str
The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana.onCall.getTeam datasource.
templates OncallIntegrationTemplatesArgs
Jinja2 templates for Alert payload. An empty templates block will be ignored.
defaultRoute This property is required. Property Map
The Default route for all alerts from the given integration
type
This property is required.
Changes to this property will trigger replacement.
String
The type of integration. Can be grafana, grafanaalerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazonsns, curler, sentry, formattedwebhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentryplatform, zabbix, prtg, slackchannel, inboundemail, direct_paging, jira, zendesk.
name String
The name of the service integration.
teamId String
The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana.onCall.getTeam datasource.
templates Property Map
Jinja2 templates for Alert payload. An empty templates block will be ignored.

Outputs

All input properties are implicitly available as output properties. Additionally, the OncallIntegration resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Link string
The link for using in an integrated tool.
Id string
The provider-assigned unique ID for this managed resource.
Link string
The link for using in an integrated tool.
id String
The provider-assigned unique ID for this managed resource.
link String
The link for using in an integrated tool.
id string
The provider-assigned unique ID for this managed resource.
link string
The link for using in an integrated tool.
id str
The provider-assigned unique ID for this managed resource.
link str
The link for using in an integrated tool.
id String
The provider-assigned unique ID for this managed resource.
link String
The link for using in an integrated tool.

Look up Existing OncallIntegration Resource

Get an existing OncallIntegration 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?: OncallIntegrationState, opts?: CustomResourceOptions): OncallIntegration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        default_route: Optional[OncallIntegrationDefaultRouteArgs] = None,
        link: Optional[str] = None,
        name: Optional[str] = None,
        team_id: Optional[str] = None,
        templates: Optional[OncallIntegrationTemplatesArgs] = None,
        type: Optional[str] = None) -> OncallIntegration
func GetOncallIntegration(ctx *Context, name string, id IDInput, state *OncallIntegrationState, opts ...ResourceOption) (*OncallIntegration, error)
public static OncallIntegration Get(string name, Input<string> id, OncallIntegrationState? state, CustomResourceOptions? opts = null)
public static OncallIntegration get(String name, Output<String> id, OncallIntegrationState state, CustomResourceOptions options)
resources:  _:    type: grafana:OncallIntegration    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:
DefaultRoute Pulumiverse.Grafana.Inputs.OncallIntegrationDefaultRoute
The Default route for all alerts from the given integration
Link string
The link for using in an integrated tool.
Name string
The name of the service integration.
TeamId string
The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana.onCall.getTeam datasource.
Templates Pulumiverse.Grafana.Inputs.OncallIntegrationTemplates
Jinja2 templates for Alert payload. An empty templates block will be ignored.
Type Changes to this property will trigger replacement. string
The type of integration. Can be grafana, grafanaalerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazonsns, curler, sentry, formattedwebhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentryplatform, zabbix, prtg, slackchannel, inboundemail, direct_paging, jira, zendesk.
DefaultRoute OncallIntegrationDefaultRouteArgs
The Default route for all alerts from the given integration
Link string
The link for using in an integrated tool.
Name string
The name of the service integration.
TeamId string
The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana.onCall.getTeam datasource.
Templates OncallIntegrationTemplatesArgs
Jinja2 templates for Alert payload. An empty templates block will be ignored.
Type Changes to this property will trigger replacement. string
The type of integration. Can be grafana, grafanaalerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazonsns, curler, sentry, formattedwebhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentryplatform, zabbix, prtg, slackchannel, inboundemail, direct_paging, jira, zendesk.
defaultRoute OncallIntegrationDefaultRoute
The Default route for all alerts from the given integration
link String
The link for using in an integrated tool.
name String
The name of the service integration.
teamId String
The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana.onCall.getTeam datasource.
templates OncallIntegrationTemplates
Jinja2 templates for Alert payload. An empty templates block will be ignored.
type Changes to this property will trigger replacement. String
The type of integration. Can be grafana, grafanaalerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazonsns, curler, sentry, formattedwebhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentryplatform, zabbix, prtg, slackchannel, inboundemail, direct_paging, jira, zendesk.
defaultRoute OncallIntegrationDefaultRoute
The Default route for all alerts from the given integration
link string
The link for using in an integrated tool.
name string
The name of the service integration.
teamId string
The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana.onCall.getTeam datasource.
templates OncallIntegrationTemplates
Jinja2 templates for Alert payload. An empty templates block will be ignored.
type Changes to this property will trigger replacement. string
The type of integration. Can be grafana, grafanaalerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazonsns, curler, sentry, formattedwebhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentryplatform, zabbix, prtg, slackchannel, inboundemail, direct_paging, jira, zendesk.
default_route OncallIntegrationDefaultRouteArgs
The Default route for all alerts from the given integration
link str
The link for using in an integrated tool.
name str
The name of the service integration.
team_id str
The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana.onCall.getTeam datasource.
templates OncallIntegrationTemplatesArgs
Jinja2 templates for Alert payload. An empty templates block will be ignored.
type Changes to this property will trigger replacement. str
The type of integration. Can be grafana, grafanaalerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazonsns, curler, sentry, formattedwebhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentryplatform, zabbix, prtg, slackchannel, inboundemail, direct_paging, jira, zendesk.
defaultRoute Property Map
The Default route for all alerts from the given integration
link String
The link for using in an integrated tool.
name String
The name of the service integration.
teamId String
The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana.onCall.getTeam datasource.
templates Property Map
Jinja2 templates for Alert payload. An empty templates block will be ignored.
type Changes to this property will trigger replacement. String
The type of integration. Can be grafana, grafanaalerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazonsns, curler, sentry, formattedwebhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentryplatform, zabbix, prtg, slackchannel, inboundemail, direct_paging, jira, zendesk.

Supporting Types

OncallIntegrationDefaultRoute
, OncallIntegrationDefaultRouteArgs

EscalationChainId string
The ID of the escalation chain.
Id string
Msteams Pulumiverse.Grafana.Inputs.OncallIntegrationDefaultRouteMsteams
MS teams-specific settings for a route.
Slack Pulumiverse.Grafana.Inputs.OncallIntegrationDefaultRouteSlack
Slack-specific settings for a route.
Telegram Pulumiverse.Grafana.Inputs.OncallIntegrationDefaultRouteTelegram
Telegram-specific settings for a route.
EscalationChainId string
The ID of the escalation chain.
Id string
Msteams OncallIntegrationDefaultRouteMsteams
MS teams-specific settings for a route.
Slack OncallIntegrationDefaultRouteSlack
Slack-specific settings for a route.
Telegram OncallIntegrationDefaultRouteTelegram
Telegram-specific settings for a route.
escalationChainId String
The ID of the escalation chain.
id String
msteams OncallIntegrationDefaultRouteMsteams
MS teams-specific settings for a route.
slack OncallIntegrationDefaultRouteSlack
Slack-specific settings for a route.
telegram OncallIntegrationDefaultRouteTelegram
Telegram-specific settings for a route.
escalationChainId string
The ID of the escalation chain.
id string
msteams OncallIntegrationDefaultRouteMsteams
MS teams-specific settings for a route.
slack OncallIntegrationDefaultRouteSlack
Slack-specific settings for a route.
telegram OncallIntegrationDefaultRouteTelegram
Telegram-specific settings for a route.
escalation_chain_id str
The ID of the escalation chain.
id str
msteams OncallIntegrationDefaultRouteMsteams
MS teams-specific settings for a route.
slack OncallIntegrationDefaultRouteSlack
Slack-specific settings for a route.
telegram OncallIntegrationDefaultRouteTelegram
Telegram-specific settings for a route.
escalationChainId String
The ID of the escalation chain.
id String
msteams Property Map
MS teams-specific settings for a route.
slack Property Map
Slack-specific settings for a route.
telegram Property Map
Telegram-specific settings for a route.

OncallIntegrationDefaultRouteMsteams
, OncallIntegrationDefaultRouteMsteamsArgs

Enabled bool
Enable notification in MS teams. Defaults to true.
Id string
MS teams channel id. Alerts will be directed to this channel in Microsoft teams.
Enabled bool
Enable notification in MS teams. Defaults to true.
Id string
MS teams channel id. Alerts will be directed to this channel in Microsoft teams.
enabled Boolean
Enable notification in MS teams. Defaults to true.
id String
MS teams channel id. Alerts will be directed to this channel in Microsoft teams.
enabled boolean
Enable notification in MS teams. Defaults to true.
id string
MS teams channel id. Alerts will be directed to this channel in Microsoft teams.
enabled bool
Enable notification in MS teams. Defaults to true.
id str
MS teams channel id. Alerts will be directed to this channel in Microsoft teams.
enabled Boolean
Enable notification in MS teams. Defaults to true.
id String
MS teams channel id. Alerts will be directed to this channel in Microsoft teams.

OncallIntegrationDefaultRouteSlack
, OncallIntegrationDefaultRouteSlackArgs

ChannelId string
Slack channel id. Alerts will be directed to this channel in Slack.
Enabled bool
Enable notification in Slack. Defaults to true.
ChannelId string
Slack channel id. Alerts will be directed to this channel in Slack.
Enabled bool
Enable notification in Slack. Defaults to true.
channelId String
Slack channel id. Alerts will be directed to this channel in Slack.
enabled Boolean
Enable notification in Slack. Defaults to true.
channelId string
Slack channel id. Alerts will be directed to this channel in Slack.
enabled boolean
Enable notification in Slack. Defaults to true.
channel_id str
Slack channel id. Alerts will be directed to this channel in Slack.
enabled bool
Enable notification in Slack. Defaults to true.
channelId String
Slack channel id. Alerts will be directed to this channel in Slack.
enabled Boolean
Enable notification in Slack. Defaults to true.

OncallIntegrationDefaultRouteTelegram
, OncallIntegrationDefaultRouteTelegramArgs

Enabled bool
Enable notification in Telegram. Defaults to true.
Id string
Telegram channel id. Alerts will be directed to this channel in Telegram.
Enabled bool
Enable notification in Telegram. Defaults to true.
Id string
Telegram channel id. Alerts will be directed to this channel in Telegram.
enabled Boolean
Enable notification in Telegram. Defaults to true.
id String
Telegram channel id. Alerts will be directed to this channel in Telegram.
enabled boolean
Enable notification in Telegram. Defaults to true.
id string
Telegram channel id. Alerts will be directed to this channel in Telegram.
enabled bool
Enable notification in Telegram. Defaults to true.
id str
Telegram channel id. Alerts will be directed to this channel in Telegram.
enabled Boolean
Enable notification in Telegram. Defaults to true.
id String
Telegram channel id. Alerts will be directed to this channel in Telegram.

OncallIntegrationTemplates
, OncallIntegrationTemplatesArgs

AcknowledgeSignal string
Template for sending a signal to acknowledge the Incident.
Email Pulumiverse.Grafana.Inputs.OncallIntegrationTemplatesEmail
Templates for Email.
GroupingKey string
Template for the key by which alerts are grouped.
MicrosoftTeams Pulumiverse.Grafana.Inputs.OncallIntegrationTemplatesMicrosoftTeams
Templates for Microsoft Teams. NOTE: Microsoft Teams templates are only available on Grafana Cloud.
MobileApp Pulumiverse.Grafana.Inputs.OncallIntegrationTemplatesMobileApp
Templates for Mobile app push notifications.
PhoneCall Pulumiverse.Grafana.Inputs.OncallIntegrationTemplatesPhoneCall
Templates for Phone Call.
ResolveSignal string
Template for sending a signal to resolve the Incident.
Slack Pulumiverse.Grafana.Inputs.OncallIntegrationTemplatesSlack
Templates for Slack.
Sms Pulumiverse.Grafana.Inputs.OncallIntegrationTemplatesSms
Templates for SMS.
SourceLink string
Template for a source link.
Telegram Pulumiverse.Grafana.Inputs.OncallIntegrationTemplatesTelegram
Templates for Telegram.
Web Pulumiverse.Grafana.Inputs.OncallIntegrationTemplatesWeb
Templates for Web.
AcknowledgeSignal string
Template for sending a signal to acknowledge the Incident.
Email OncallIntegrationTemplatesEmail
Templates for Email.
GroupingKey string
Template for the key by which alerts are grouped.
MicrosoftTeams OncallIntegrationTemplatesMicrosoftTeams
Templates for Microsoft Teams. NOTE: Microsoft Teams templates are only available on Grafana Cloud.
MobileApp OncallIntegrationTemplatesMobileApp
Templates for Mobile app push notifications.
PhoneCall OncallIntegrationTemplatesPhoneCall
Templates for Phone Call.
ResolveSignal string
Template for sending a signal to resolve the Incident.
Slack OncallIntegrationTemplatesSlack
Templates for Slack.
Sms OncallIntegrationTemplatesSms
Templates for SMS.
SourceLink string
Template for a source link.
Telegram OncallIntegrationTemplatesTelegram
Templates for Telegram.
Web OncallIntegrationTemplatesWeb
Templates for Web.
acknowledgeSignal String
Template for sending a signal to acknowledge the Incident.
email OncallIntegrationTemplatesEmail
Templates for Email.
groupingKey String
Template for the key by which alerts are grouped.
microsoftTeams OncallIntegrationTemplatesMicrosoftTeams
Templates for Microsoft Teams. NOTE: Microsoft Teams templates are only available on Grafana Cloud.
mobileApp OncallIntegrationTemplatesMobileApp
Templates for Mobile app push notifications.
phoneCall OncallIntegrationTemplatesPhoneCall
Templates for Phone Call.
resolveSignal String
Template for sending a signal to resolve the Incident.
slack OncallIntegrationTemplatesSlack
Templates for Slack.
sms OncallIntegrationTemplatesSms
Templates for SMS.
sourceLink String
Template for a source link.
telegram OncallIntegrationTemplatesTelegram
Templates for Telegram.
web OncallIntegrationTemplatesWeb
Templates for Web.
acknowledgeSignal string
Template for sending a signal to acknowledge the Incident.
email OncallIntegrationTemplatesEmail
Templates for Email.
groupingKey string
Template for the key by which alerts are grouped.
microsoftTeams OncallIntegrationTemplatesMicrosoftTeams
Templates for Microsoft Teams. NOTE: Microsoft Teams templates are only available on Grafana Cloud.
mobileApp OncallIntegrationTemplatesMobileApp
Templates for Mobile app push notifications.
phoneCall OncallIntegrationTemplatesPhoneCall
Templates for Phone Call.
resolveSignal string
Template for sending a signal to resolve the Incident.
slack OncallIntegrationTemplatesSlack
Templates for Slack.
sms OncallIntegrationTemplatesSms
Templates for SMS.
sourceLink string
Template for a source link.
telegram OncallIntegrationTemplatesTelegram
Templates for Telegram.
web OncallIntegrationTemplatesWeb
Templates for Web.
acknowledge_signal str
Template for sending a signal to acknowledge the Incident.
email OncallIntegrationTemplatesEmail
Templates for Email.
grouping_key str
Template for the key by which alerts are grouped.
microsoft_teams OncallIntegrationTemplatesMicrosoftTeams
Templates for Microsoft Teams. NOTE: Microsoft Teams templates are only available on Grafana Cloud.
mobile_app OncallIntegrationTemplatesMobileApp
Templates for Mobile app push notifications.
phone_call OncallIntegrationTemplatesPhoneCall
Templates for Phone Call.
resolve_signal str
Template for sending a signal to resolve the Incident.
slack OncallIntegrationTemplatesSlack
Templates for Slack.
sms OncallIntegrationTemplatesSms
Templates for SMS.
source_link str
Template for a source link.
telegram OncallIntegrationTemplatesTelegram
Templates for Telegram.
web OncallIntegrationTemplatesWeb
Templates for Web.
acknowledgeSignal String
Template for sending a signal to acknowledge the Incident.
email Property Map
Templates for Email.
groupingKey String
Template for the key by which alerts are grouped.
microsoftTeams Property Map
Templates for Microsoft Teams. NOTE: Microsoft Teams templates are only available on Grafana Cloud.
mobileApp Property Map
Templates for Mobile app push notifications.
phoneCall Property Map
Templates for Phone Call.
resolveSignal String
Template for sending a signal to resolve the Incident.
slack Property Map
Templates for Slack.
sms Property Map
Templates for SMS.
sourceLink String
Template for a source link.
telegram Property Map
Templates for Telegram.
web Property Map
Templates for Web.

OncallIntegrationTemplatesEmail
, OncallIntegrationTemplatesEmailArgs

Message string
Template for Alert message.
Title string
Template for Alert title.
Message string
Template for Alert message.
Title string
Template for Alert title.
message String
Template for Alert message.
title String
Template for Alert title.
message string
Template for Alert message.
title string
Template for Alert title.
message str
Template for Alert message.
title str
Template for Alert title.
message String
Template for Alert message.
title String
Template for Alert title.

OncallIntegrationTemplatesMicrosoftTeams
, OncallIntegrationTemplatesMicrosoftTeamsArgs

ImageUrl string
Template for Alert image url.
Message string
Template for Alert message.
Title string
Template for Alert title.
ImageUrl string
Template for Alert image url.
Message string
Template for Alert message.
Title string
Template for Alert title.
imageUrl String
Template for Alert image url.
message String
Template for Alert message.
title String
Template for Alert title.
imageUrl string
Template for Alert image url.
message string
Template for Alert message.
title string
Template for Alert title.
image_url str
Template for Alert image url.
message str
Template for Alert message.
title str
Template for Alert title.
imageUrl String
Template for Alert image url.
message String
Template for Alert message.
title String
Template for Alert title.

OncallIntegrationTemplatesMobileApp
, OncallIntegrationTemplatesMobileAppArgs

Message string
Template for Alert message.
Title string
Template for Alert title.
Message string
Template for Alert message.
Title string
Template for Alert title.
message String
Template for Alert message.
title String
Template for Alert title.
message string
Template for Alert message.
title string
Template for Alert title.
message str
Template for Alert message.
title str
Template for Alert title.
message String
Template for Alert message.
title String
Template for Alert title.

OncallIntegrationTemplatesPhoneCall
, OncallIntegrationTemplatesPhoneCallArgs

Title string
Template for Alert title.
Title string
Template for Alert title.
title String
Template for Alert title.
title string
Template for Alert title.
title str
Template for Alert title.
title String
Template for Alert title.

OncallIntegrationTemplatesSlack
, OncallIntegrationTemplatesSlackArgs

ImageUrl string
Template for Alert image url.
Message string
Template for Alert message.
Title string
Template for Alert title.
ImageUrl string
Template for Alert image url.
Message string
Template for Alert message.
Title string
Template for Alert title.
imageUrl String
Template for Alert image url.
message String
Template for Alert message.
title String
Template for Alert title.
imageUrl string
Template for Alert image url.
message string
Template for Alert message.
title string
Template for Alert title.
image_url str
Template for Alert image url.
message str
Template for Alert message.
title str
Template for Alert title.
imageUrl String
Template for Alert image url.
message String
Template for Alert message.
title String
Template for Alert title.

OncallIntegrationTemplatesSms
, OncallIntegrationTemplatesSmsArgs

Title string
Template for Alert title.
Title string
Template for Alert title.
title String
Template for Alert title.
title string
Template for Alert title.
title str
Template for Alert title.
title String
Template for Alert title.

OncallIntegrationTemplatesTelegram
, OncallIntegrationTemplatesTelegramArgs

ImageUrl string
Template for Alert image url.
Message string
Template for Alert message.
Title string
Template for Alert title.
ImageUrl string
Template for Alert image url.
Message string
Template for Alert message.
Title string
Template for Alert title.
imageUrl String
Template for Alert image url.
message String
Template for Alert message.
title String
Template for Alert title.
imageUrl string
Template for Alert image url.
message string
Template for Alert message.
title string
Template for Alert title.
image_url str
Template for Alert image url.
message str
Template for Alert message.
title str
Template for Alert title.
imageUrl String
Template for Alert image url.
message String
Template for Alert message.
title String
Template for Alert title.

OncallIntegrationTemplatesWeb
, OncallIntegrationTemplatesWebArgs

ImageUrl string
Template for Alert image url.
Message string
Template for Alert message.
Title string
Template for Alert title.
ImageUrl string
Template for Alert image url.
Message string
Template for Alert message.
Title string
Template for Alert title.
imageUrl String
Template for Alert image url.
message String
Template for Alert message.
title String
Template for Alert title.
imageUrl string
Template for Alert image url.
message string
Template for Alert message.
title string
Template for Alert title.
image_url str
Template for Alert image url.
message str
Template for Alert message.
title str
Template for Alert title.
imageUrl String
Template for Alert image url.
message String
Template for Alert message.
title String
Template for Alert title.

Import

$ pulumi import grafana:index/oncallIntegration:OncallIntegration name "{{ id }}"
Copy

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

Package Details

Repository
grafana pulumiverse/pulumi-grafana
License
Apache-2.0
Notes
This Pulumi package is based on the grafana Terraform Provider.