
Grafana v0.0.10, May 21 23

Grafana v0.0.10, May 21 23
grafana.OncallIntegration
Explore with Pulumi AI
Create OncallIntegration Resource
new OncallIntegration(name: string, args: OncallIntegrationArgs, opts?: CustomResourceOptions);
@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)
@overload
def OncallIntegration(resource_name: str,
args: OncallIntegrationArgs,
opts: Optional[ResourceOptions] = 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.
- 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.
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:
- Default
Route Lbrlabs.Pulumi Package. Grafana. Inputs. Oncall Integration Default Route Args The Default route for all alerts from the given integration
- Type 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.
- Name string
The name of the service integration.
- Team
Id 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.getOncallTeam
datasource.- Templates
Lbrlabs.
Pulumi Package. Grafana. Inputs. Oncall Integration Templates Args Jinja2 templates for Alert payload.
- Default
Route OncallIntegration Default Route Args The Default route for all alerts from the given integration
- Type 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.
- Name string
The name of the service integration.
- Team
Id 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.getOncallTeam
datasource.- Templates
Oncall
Integration Templates Args Jinja2 templates for Alert payload.
- default
Route OncallIntegration Default Route Args The Default route for all alerts from the given integration
- type 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.
- name String
The name of the service integration.
- team
Id 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.getOncallTeam
datasource.- templates
Oncall
Integration Templates Args Jinja2 templates for Alert payload.
- default
Route OncallIntegration Default Route Args The Default route for all alerts from the given integration
- type 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.
- name string
The name of the service integration.
- team
Id 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.getOncallTeam
datasource.- templates
Oncall
Integration Templates Args Jinja2 templates for Alert payload.
- default_
route OncallIntegration Default Route Args The Default route for all alerts from the given integration
- type 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.
- 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.getOncallTeam
datasource.- templates
Oncall
Integration Templates Args Jinja2 templates for Alert payload.
- default
Route Property Map The Default route for all alerts from the given integration
- type 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.
- name String
The name of the service integration.
- team
Id 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.getOncallTeam
datasource.- templates Property Map
Jinja2 templates for Alert payload.
Outputs
All input properties are implicitly available as output properties. Additionally, the OncallIntegration resource produces the following output properties:
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.
- Default
Route Lbrlabs.Pulumi Package. Grafana. Inputs. Oncall Integration Default Route Args 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.
- Team
Id 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.getOncallTeam
datasource.- Templates
Lbrlabs.
Pulumi Package. Grafana. Inputs. Oncall Integration Templates Args Jinja2 templates for Alert payload.
- Type 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.
- Default
Route OncallIntegration Default Route Args 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.
- Team
Id 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.getOncallTeam
datasource.- Templates
Oncall
Integration Templates Args Jinja2 templates for Alert payload.
- Type 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.
- default
Route OncallIntegration Default Route Args 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.
- team
Id 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.getOncallTeam
datasource.- templates
Oncall
Integration Templates Args Jinja2 templates for Alert payload.
- type 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.
- default
Route OncallIntegration Default Route Args 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.
- team
Id 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.getOncallTeam
datasource.- templates
Oncall
Integration Templates Args Jinja2 templates for Alert payload.
- type 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.
- default_
route OncallIntegration Default Route Args 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.getOncallTeam
datasource.- templates
Oncall
Integration Templates Args Jinja2 templates for Alert payload.
- type 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.
- default
Route 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.
- team
Id 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.getOncallTeam
datasource.- templates Property Map
Jinja2 templates for Alert payload.
- type 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.
Supporting Types
OncallIntegrationDefaultRoute
- Escalation
Chain stringId The ID of the escalation chain.
- Id string
The ID of this resource.
- Msteams
Lbrlabs.
Pulumi Package. Grafana. Inputs. Oncall Integration Default Route Msteams MS teams-specific settings for a route.
- Slack
Lbrlabs.
Pulumi Package. Grafana. Inputs. Oncall Integration Default Route Slack Slack-specific settings for a route.
- Telegram
Lbrlabs.
Pulumi Package. Grafana. Inputs. Oncall Integration Default Route Telegram Telegram-specific settings for a route.
- Escalation
Chain stringId The ID of the escalation chain.
- Id string
The ID of this resource.
- Msteams
Oncall
Integration Default Route Msteams MS teams-specific settings for a route.
- Slack
Oncall
Integration Default Route Slack Slack-specific settings for a route.
- Telegram
Oncall
Integration Default Route Telegram Telegram-specific settings for a route.
- escalation
Chain StringId The ID of the escalation chain.
- id String
The ID of this resource.
- msteams
Oncall
Integration Default Route Msteams MS teams-specific settings for a route.
- slack
Oncall
Integration Default Route Slack Slack-specific settings for a route.
- telegram
Oncall
Integration Default Route Telegram Telegram-specific settings for a route.
- escalation
Chain stringId The ID of the escalation chain.
- id string
The ID of this resource.
- msteams
Oncall
Integration Default Route Msteams MS teams-specific settings for a route.
- slack
Oncall
Integration Default Route Slack Slack-specific settings for a route.
- telegram
Oncall
Integration Default Route Telegram Telegram-specific settings for a route.
- escalation_
chain_ strid The ID of the escalation chain.
- id str
The ID of this resource.
- msteams
Oncall
Integration Default Route Msteams MS teams-specific settings for a route.
- slack
Oncall
Integration Default Route Slack Slack-specific settings for a route.
- telegram
Oncall
Integration Default Route Telegram Telegram-specific settings for a route.
- escalation
Chain StringId The ID of the escalation chain.
- id String
The ID of this resource.
- 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
OncallIntegrationDefaultRouteSlack
- channel_
id str - enabled bool
OncallIntegrationDefaultRouteTelegram
OncallIntegrationTemplates
- Acknowledge
Signal string Template for sending a signal to acknowledge the Incident.
- Email
Lbrlabs.
Pulumi Package. Grafana. Inputs. Oncall Integration Templates Email Templates for Email.
- Grouping
Key string Template for the key by which alerts are grouped.
- Microsoft
Teams Lbrlabs.Pulumi Package. Grafana. Inputs. Oncall Integration Templates Microsoft Teams Templates for Microsoft Teams.
- Phone
Call Lbrlabs.Pulumi Package. Grafana. Inputs. Oncall Integration Templates Phone Call Templates for Phone Call.
- Resolve
Signal string Template for sending a signal to resolve the Incident.
- Slack
Lbrlabs.
Pulumi Package. Grafana. Inputs. Oncall Integration Templates Slack Templates for Slack.
- Sms
Lbrlabs.
Pulumi Package. Grafana. Inputs. Oncall Integration Templates Sms Templates for SMS.
- Source
Link string Template for a source link.
- Telegram
Lbrlabs.
Pulumi Package. Grafana. Inputs. Oncall Integration Templates Telegram Templates for Telegram.
- Web
Lbrlabs.
Pulumi Package. Grafana. Inputs. Oncall Integration Templates Web Templates for Web.
- Acknowledge
Signal string Template for sending a signal to acknowledge the Incident.
- Email
Oncall
Integration Templates Email Templates for Email.
- Grouping
Key string Template for the key by which alerts are grouped.
- Microsoft
Teams OncallIntegration Templates Microsoft Teams Templates for Microsoft Teams.
- Phone
Call OncallIntegration Templates Phone Call Templates for Phone Call.
- Resolve
Signal string Template for sending a signal to resolve the Incident.
- Slack
Oncall
Integration Templates Slack Templates for Slack.
- Sms
Oncall
Integration Templates Sms Templates for SMS.
- Source
Link string Template for a source link.
- Telegram
Oncall
Integration Templates Telegram Templates for Telegram.
- Web
Oncall
Integration Templates Web Templates for Web.
- acknowledge
Signal String Template for sending a signal to acknowledge the Incident.
- email
Oncall
Integration Templates Email Templates for Email.
- grouping
Key String Template for the key by which alerts are grouped.
- microsoft
Teams OncallIntegration Templates Microsoft Teams Templates for Microsoft Teams.
- phone
Call OncallIntegration Templates Phone Call Templates for Phone Call.
- resolve
Signal String Template for sending a signal to resolve the Incident.
- slack
Oncall
Integration Templates Slack Templates for Slack.
- sms
Oncall
Integration Templates Sms Templates for SMS.
- source
Link String Template for a source link.
- telegram
Oncall
Integration Templates Telegram Templates for Telegram.
- web
Oncall
Integration Templates Web Templates for Web.
- acknowledge
Signal string Template for sending a signal to acknowledge the Incident.
- email
Oncall
Integration Templates Email Templates for Email.
- grouping
Key string Template for the key by which alerts are grouped.
- microsoft
Teams OncallIntegration Templates Microsoft Teams Templates for Microsoft Teams.
- phone
Call OncallIntegration Templates Phone Call Templates for Phone Call.
- resolve
Signal string Template for sending a signal to resolve the Incident.
- slack
Oncall
Integration Templates Slack Templates for Slack.
- sms
Oncall
Integration Templates Sms Templates for SMS.
- source
Link string Template for a source link.
- telegram
Oncall
Integration Templates Telegram Templates for Telegram.
- web
Oncall
Integration Templates Web Templates for Web.
- acknowledge_
signal str Template for sending a signal to acknowledge the Incident.
- email
Oncall
Integration Templates Email Templates for Email.
- grouping_
key str Template for the key by which alerts are grouped.
- microsoft_
teams OncallIntegration Templates Microsoft Teams Templates for Microsoft Teams.
- phone_
call OncallIntegration Templates Phone Call Templates for Phone Call.
- resolve_
signal str Template for sending a signal to resolve the Incident.
- slack
Oncall
Integration Templates Slack Templates for Slack.
- sms
Oncall
Integration Templates Sms Templates for SMS.
- source_
link str Template for a source link.
- telegram
Oncall
Integration Templates Telegram Templates for Telegram.
- web
Oncall
Integration Templates Web Templates for Web.
- acknowledge
Signal String Template for sending a signal to acknowledge the Incident.
- email Property Map
Templates for Email.
- grouping
Key String Template for the key by which alerts are grouped.
- microsoft
Teams Property Map Templates for Microsoft Teams.
- phone
Call Property Map Templates for Phone Call.
- resolve
Signal String Template for sending a signal to resolve the Incident.
- slack Property Map
Templates for Slack.
- sms Property Map
Templates for SMS.
- source
Link String Template for a source link.
- telegram Property Map
Templates for Telegram.
- web Property Map
Templates for Web.
OncallIntegrationTemplatesEmail
OncallIntegrationTemplatesMicrosoftTeams
OncallIntegrationTemplatesPhoneCall
- Title string
- Title string
- title String
- title string
- title str
- title String
OncallIntegrationTemplatesSlack
OncallIntegrationTemplatesSms
- Title string
- Title string
- title String
- title string
- title str
- title String
OncallIntegrationTemplatesTelegram
OncallIntegrationTemplatesWeb
Import
$ pulumi import grafana:index/oncallIntegration:OncallIntegration integration_name {{integration_id}}
Package Details
- Repository
- grafana lbrlabs/pulumi-grafana
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
grafana
Terraform Provider.