1. Packages
  2. Grafana Cloud
  3. API Docs
  4. OncallIntegration
Grafana v0.4.2 published on Monday, Apr 15, 2024 by pulumiverse

grafana.OncallIntegration

Explore with Pulumi AI

grafana logo
Grafana v0.4.2 published on Monday, Apr 15, 2024 by pulumiverse

    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,
                          type: Optional[str] = None,
                          name: Optional[str] = None,
                          team_id: Optional[str] = None,
                          templates: Optional[OncallIntegrationTemplatesArgs] = 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 string
    The unique name of the resource.
    args OncallIntegrationArgs
    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 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 string
    The unique name of the resource.
    args OncallIntegrationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OncallIntegrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OncallIntegrationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var oncallIntegrationResource = new Grafana.OncallIntegration("oncallIntegrationResource", new()
    {
        DefaultRoute = new Grafana.Inputs.OncallIntegrationDefaultRouteArgs
        {
            EscalationChainId = "string",
            Id = "string",
            Msteams = new Grafana.Inputs.OncallIntegrationDefaultRouteMsteamsArgs
            {
                Enabled = false,
                Id = "string",
            },
            Slack = new Grafana.Inputs.OncallIntegrationDefaultRouteSlackArgs
            {
                ChannelId = "string",
                Enabled = false,
            },
            Telegram = new Grafana.Inputs.OncallIntegrationDefaultRouteTelegramArgs
            {
                Enabled = false,
                Id = "string",
            },
        },
        Type = "string",
        Name = "string",
        TeamId = "string",
        Templates = new Grafana.Inputs.OncallIntegrationTemplatesArgs
        {
            AcknowledgeSignal = "string",
            Email = new Grafana.Inputs.OncallIntegrationTemplatesEmailArgs
            {
                Message = "string",
                Title = "string",
            },
            GroupingKey = "string",
            MicrosoftTeams = new Grafana.Inputs.OncallIntegrationTemplatesMicrosoftTeamsArgs
            {
                ImageUrl = "string",
                Message = "string",
                Title = "string",
            },
            PhoneCall = new Grafana.Inputs.OncallIntegrationTemplatesPhoneCallArgs
            {
                Title = "string",
            },
            ResolveSignal = "string",
            Slack = new Grafana.Inputs.OncallIntegrationTemplatesSlackArgs
            {
                ImageUrl = "string",
                Message = "string",
                Title = "string",
            },
            Sms = new Grafana.Inputs.OncallIntegrationTemplatesSmsArgs
            {
                Title = "string",
            },
            SourceLink = "string",
            Telegram = new Grafana.Inputs.OncallIntegrationTemplatesTelegramArgs
            {
                ImageUrl = "string",
                Message = "string",
                Title = "string",
            },
            Web = new Grafana.Inputs.OncallIntegrationTemplatesWebArgs
            {
                ImageUrl = "string",
                Message = "string",
                Title = "string",
            },
        },
    });
    
    example, err := grafana.NewOncallIntegration(ctx, "oncallIntegrationResource", &grafana.OncallIntegrationArgs{
    	DefaultRoute: &grafana.OncallIntegrationDefaultRouteArgs{
    		EscalationChainId: pulumi.String("string"),
    		Id:                pulumi.String("string"),
    		Msteams: &grafana.OncallIntegrationDefaultRouteMsteamsArgs{
    			Enabled: pulumi.Bool(false),
    			Id:      pulumi.String("string"),
    		},
    		Slack: &grafana.OncallIntegrationDefaultRouteSlackArgs{
    			ChannelId: pulumi.String("string"),
    			Enabled:   pulumi.Bool(false),
    		},
    		Telegram: &grafana.OncallIntegrationDefaultRouteTelegramArgs{
    			Enabled: pulumi.Bool(false),
    			Id:      pulumi.String("string"),
    		},
    	},
    	Type:   pulumi.String("string"),
    	Name:   pulumi.String("string"),
    	TeamId: pulumi.String("string"),
    	Templates: &grafana.OncallIntegrationTemplatesArgs{
    		AcknowledgeSignal: pulumi.String("string"),
    		Email: &grafana.OncallIntegrationTemplatesEmailArgs{
    			Message: pulumi.String("string"),
    			Title:   pulumi.String("string"),
    		},
    		GroupingKey: pulumi.String("string"),
    		MicrosoftTeams: &grafana.OncallIntegrationTemplatesMicrosoftTeamsArgs{
    			ImageUrl: pulumi.String("string"),
    			Message:  pulumi.String("string"),
    			Title:    pulumi.String("string"),
    		},
    		PhoneCall: &grafana.OncallIntegrationTemplatesPhoneCallArgs{
    			Title: pulumi.String("string"),
    		},
    		ResolveSignal: pulumi.String("string"),
    		Slack: &grafana.OncallIntegrationTemplatesSlackArgs{
    			ImageUrl: pulumi.String("string"),
    			Message:  pulumi.String("string"),
    			Title:    pulumi.String("string"),
    		},
    		Sms: &grafana.OncallIntegrationTemplatesSmsArgs{
    			Title: pulumi.String("string"),
    		},
    		SourceLink: pulumi.String("string"),
    		Telegram: &grafana.OncallIntegrationTemplatesTelegramArgs{
    			ImageUrl: pulumi.String("string"),
    			Message:  pulumi.String("string"),
    			Title:    pulumi.String("string"),
    		},
    		Web: &grafana.OncallIntegrationTemplatesWebArgs{
    			ImageUrl: pulumi.String("string"),
    			Message:  pulumi.String("string"),
    			Title:    pulumi.String("string"),
    		},
    	},
    })
    
    var oncallIntegrationResource = new OncallIntegration("oncallIntegrationResource", OncallIntegrationArgs.builder()        
        .defaultRoute(OncallIntegrationDefaultRouteArgs.builder()
            .escalationChainId("string")
            .id("string")
            .msteams(OncallIntegrationDefaultRouteMsteamsArgs.builder()
                .enabled(false)
                .id("string")
                .build())
            .slack(OncallIntegrationDefaultRouteSlackArgs.builder()
                .channelId("string")
                .enabled(false)
                .build())
            .telegram(OncallIntegrationDefaultRouteTelegramArgs.builder()
                .enabled(false)
                .id("string")
                .build())
            .build())
        .type("string")
        .name("string")
        .teamId("string")
        .templates(OncallIntegrationTemplatesArgs.builder()
            .acknowledgeSignal("string")
            .email(OncallIntegrationTemplatesEmailArgs.builder()
                .message("string")
                .title("string")
                .build())
            .groupingKey("string")
            .microsoftTeams(OncallIntegrationTemplatesMicrosoftTeamsArgs.builder()
                .imageUrl("string")
                .message("string")
                .title("string")
                .build())
            .phoneCall(OncallIntegrationTemplatesPhoneCallArgs.builder()
                .title("string")
                .build())
            .resolveSignal("string")
            .slack(OncallIntegrationTemplatesSlackArgs.builder()
                .imageUrl("string")
                .message("string")
                .title("string")
                .build())
            .sms(OncallIntegrationTemplatesSmsArgs.builder()
                .title("string")
                .build())
            .sourceLink("string")
            .telegram(OncallIntegrationTemplatesTelegramArgs.builder()
                .imageUrl("string")
                .message("string")
                .title("string")
                .build())
            .web(OncallIntegrationTemplatesWebArgs.builder()
                .imageUrl("string")
                .message("string")
                .title("string")
                .build())
            .build())
        .build());
    
    oncall_integration_resource = grafana.OncallIntegration("oncallIntegrationResource",
        default_route=grafana.OncallIntegrationDefaultRouteArgs(
            escalation_chain_id="string",
            id="string",
            msteams=grafana.OncallIntegrationDefaultRouteMsteamsArgs(
                enabled=False,
                id="string",
            ),
            slack=grafana.OncallIntegrationDefaultRouteSlackArgs(
                channel_id="string",
                enabled=False,
            ),
            telegram=grafana.OncallIntegrationDefaultRouteTelegramArgs(
                enabled=False,
                id="string",
            ),
        ),
        type="string",
        name="string",
        team_id="string",
        templates=grafana.OncallIntegrationTemplatesArgs(
            acknowledge_signal="string",
            email=grafana.OncallIntegrationTemplatesEmailArgs(
                message="string",
                title="string",
            ),
            grouping_key="string",
            microsoft_teams=grafana.OncallIntegrationTemplatesMicrosoftTeamsArgs(
                image_url="string",
                message="string",
                title="string",
            ),
            phone_call=grafana.OncallIntegrationTemplatesPhoneCallArgs(
                title="string",
            ),
            resolve_signal="string",
            slack=grafana.OncallIntegrationTemplatesSlackArgs(
                image_url="string",
                message="string",
                title="string",
            ),
            sms=grafana.OncallIntegrationTemplatesSmsArgs(
                title="string",
            ),
            source_link="string",
            telegram=grafana.OncallIntegrationTemplatesTelegramArgs(
                image_url="string",
                message="string",
                title="string",
            ),
            web=grafana.OncallIntegrationTemplatesWebArgs(
                image_url="string",
                message="string",
                title="string",
            ),
        ))
    
    const oncallIntegrationResource = new grafana.OncallIntegration("oncallIntegrationResource", {
        defaultRoute: {
            escalationChainId: "string",
            id: "string",
            msteams: {
                enabled: false,
                id: "string",
            },
            slack: {
                channelId: "string",
                enabled: false,
            },
            telegram: {
                enabled: false,
                id: "string",
            },
        },
        type: "string",
        name: "string",
        teamId: "string",
        templates: {
            acknowledgeSignal: "string",
            email: {
                message: "string",
                title: "string",
            },
            groupingKey: "string",
            microsoftTeams: {
                imageUrl: "string",
                message: "string",
                title: "string",
            },
            phoneCall: {
                title: "string",
            },
            resolveSignal: "string",
            slack: {
                imageUrl: "string",
                message: "string",
                title: "string",
            },
            sms: {
                title: "string",
            },
            sourceLink: "string",
            telegram: {
                imageUrl: "string",
                message: "string",
                title: "string",
            },
            web: {
                imageUrl: "string",
                message: "string",
                title: "string",
            },
        },
    });
    
    type: grafana:OncallIntegration
    properties:
        defaultRoute:
            escalationChainId: string
            id: string
            msteams:
                enabled: false
                id: string
            slack:
                channelId: string
                enabled: false
            telegram:
                enabled: false
                id: string
        name: string
        teamId: string
        templates:
            acknowledgeSignal: string
            email:
                message: string
                title: string
            groupingKey: string
            microsoftTeams:
                imageUrl: string
                message: string
                title: string
            phoneCall:
                title: string
            resolveSignal: string
            slack:
                imageUrl: string
                message: string
                title: string
            sms:
                title: string
            sourceLink: string
            telegram:
                imageUrl: string
                message: string
                title: string
            web:
                imageUrl: string
                message: string
                title: string
        type: string
    

    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

    The OncallIntegration resource accepts the following input properties:

    DefaultRoute Pulumiverse.Grafana.Inputs.OncallIntegrationDefaultRoute
    The Default route for all alerts from the given integration
    Type string
    The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
    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_team datasource.
    Templates Pulumiverse.Grafana.Inputs.OncallIntegrationTemplates
    Jinja2 templates for Alert payload. An empty templates block will be ignored.
    DefaultRoute OncallIntegrationDefaultRouteArgs
    The Default route for all alerts from the given integration
    Type string
    The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
    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_team datasource.
    Templates OncallIntegrationTemplatesArgs
    Jinja2 templates for Alert payload. An empty templates block will be ignored.
    defaultRoute OncallIntegrationDefaultRoute
    The Default route for all alerts from the given integration
    type String
    The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
    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_team datasource.
    templates OncallIntegrationTemplates
    Jinja2 templates for Alert payload. An empty templates block will be ignored.
    defaultRoute OncallIntegrationDefaultRoute
    The Default route for all alerts from the given integration
    type string
    The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
    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_team datasource.
    templates OncallIntegrationTemplates
    Jinja2 templates for Alert payload. An empty templates block will be ignored.
    default_route OncallIntegrationDefaultRouteArgs
    The Default route for all alerts from the given integration
    type str
    The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
    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_team datasource.
    templates OncallIntegrationTemplatesArgs
    Jinja2 templates for Alert payload. An empty templates block will be ignored.
    defaultRoute Property Map
    The Default route for all alerts from the given integration
    type String
    The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
    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_team 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)
    Resource lookup is not supported in YAML
    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.
    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_team datasource.
    Templates Pulumiverse.Grafana.Inputs.OncallIntegrationTemplates
    Jinja2 templates for Alert payload. An empty templates block will be ignored.
    Type string
    The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
    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_team datasource.
    Templates OncallIntegrationTemplatesArgs
    Jinja2 templates for Alert payload. An empty templates block will be ignored.
    Type string
    The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
    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_team datasource.
    templates OncallIntegrationTemplates
    Jinja2 templates for Alert payload. An empty templates block will be ignored.
    type String
    The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
    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_team datasource.
    templates OncallIntegrationTemplates
    Jinja2 templates for Alert payload. An empty templates block will be ignored.
    type string
    The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
    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_team datasource.
    templates OncallIntegrationTemplatesArgs
    Jinja2 templates for Alert payload. An empty templates block will be ignored.
    type str
    The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
    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_team datasource.
    templates Property Map
    Jinja2 templates for Alert payload. An empty templates block will be ignored.
    type String
    The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.

    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.
    Id string
    MS teams channel id. Alerts will be directed to this channel in Microsoft teams.
    Enabled bool
    Enable notification in MS teams.
    Id string
    MS teams channel id. Alerts will be directed to this channel in Microsoft teams.
    enabled Boolean
    Enable notification in MS teams.
    id String
    MS teams channel id. Alerts will be directed to this channel in Microsoft teams.
    enabled boolean
    Enable notification in MS teams.
    id string
    MS teams channel id. Alerts will be directed to this channel in Microsoft teams.
    enabled bool
    Enable notification in MS teams.
    id str
    MS teams channel id. Alerts will be directed to this channel in Microsoft teams.
    enabled Boolean
    Enable notification in MS teams.
    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.
    ChannelId string
    Slack channel id. Alerts will be directed to this channel in Slack.
    Enabled bool
    Enable notification in Slack.
    channelId String
    Slack channel id. Alerts will be directed to this channel in Slack.
    enabled Boolean
    Enable notification in Slack.
    channelId string
    Slack channel id. Alerts will be directed to this channel in Slack.
    enabled boolean
    Enable notification in Slack.
    channel_id str
    Slack channel id. Alerts will be directed to this channel in Slack.
    enabled bool
    Enable notification in Slack.
    channelId String
    Slack channel id. Alerts will be directed to this channel in Slack.
    enabled Boolean
    Enable notification in Slack.

    OncallIntegrationDefaultRouteTelegram, OncallIntegrationDefaultRouteTelegramArgs

    Enabled bool
    Enable notification in Telegram.
    Id string
    Telegram channel id. Alerts will be directed to this channel in Telegram.
    Enabled bool
    Enable notification in Telegram.
    Id string
    Telegram channel id. Alerts will be directed to this channel in Telegram.
    enabled Boolean
    Enable notification in Telegram.
    id String
    Telegram channel id. Alerts will be directed to this channel in Telegram.
    enabled boolean
    Enable notification in Telegram.
    id string
    Telegram channel id. Alerts will be directed to this channel in Telegram.
    enabled bool
    Enable notification in Telegram.
    id str
    Telegram channel id. Alerts will be directed to this channel in Telegram.
    enabled Boolean
    Enable notification in Telegram.
    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.
    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.
    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.
    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.
    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.
    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.
    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.

    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.

    Package Details

    Repository
    grafana pulumiverse/pulumi-grafana
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the grafana Terraform Provider.
    grafana logo
    Grafana v0.4.2 published on Monday, Apr 15, 2024 by pulumiverse