Module types/input
This page documents the language specification for the newrelic package. If you're looking for help working with the inputs, outputs, or functions of newrelic resources in a Pulumi program, please see the resource documentation for examples and API reference.
namespace insights
namespace plugins
APIs
- AlertChannelConfig
- AlertConditionTerm
- DashboardFilter
- DashboardWidget
- DashboardWidgetCompareWith
- DashboardWidgetCompareWithPresentation
- DashboardWidgetMetric
- InfraAlertConditionCritical
- InfraAlertConditionWarning
- NrqlAlertConditionNrql
- NrqlAlertConditionTerm
namespace insights
interface EventEvent
interface EventEventproperty attributes
attributes: pulumi.Input<pulumi.Input<EventEventAttribute>[]>;property timestamp
timestamp?: pulumi.Input<number>;property type
type: pulumi.Input<string>;interface EventEventAttribute
interface EventEventAttributeproperty key
key: pulumi.Input<string>;property type
type?: pulumi.Input<string>;property value
value: pulumi.Input<string>;namespace plugins
interface AlertConditionTerm
interface AlertConditionTermproperty duration
duration: pulumi.Input<number>;property operator
operator?: pulumi.Input<string>;property priority
priority?: pulumi.Input<string>;property threshold
threshold: pulumi.Input<number>;property timeFunction
timeFunction: pulumi.Input<string>;interface WorkloadEntitySearchQuery
interface WorkloadEntitySearchQueryproperty query
query: pulumi.Input<string>;The query.
APIs
interface AlertChannelConfig
interface AlertChannelConfigproperty apiKey
apiKey?: pulumi.Input<string>;The API key for integrating with OpsGenie.
property authPassword
authPassword?: pulumi.Input<string>;Specifies an authentication password for use with a channel. Supported by the webhook channel type.
property authType
authType?: pulumi.Input<string>;Specifies an authentication method for use with a channel. Supported by the webhook channel type. Only HTTP basic authentication is currently supported via the value BASIC.
property authUsername
authUsername?: pulumi.Input<string>;Specifies an authentication username for use with a channel. Supported by the webhook channel type.
property baseUrl
baseUrl?: pulumi.Input<string>;The base URL of the webhook destination.
property channel
channel?: pulumi.Input<string>;The Slack channel to send notifications to.
* opsgenie
property headers
headers?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A map of key/value pairs that represents extra HTTP headers to be sent along with the webhook payload.
property headersString
headersString?: pulumi.Input<string>;Use instead of headers if the desired payload is more complex than a list of key/value pairs (e.g. a set of headers that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with headers.
property includeJsonAttachment
includeJsonAttachment?: pulumi.Input<string>;0 or 1. Flag for whether or not to attach a JSON document containing information about the associated alert to the email that is sent to recipients.
* webhook
property key
key?: pulumi.Input<string>;The key for integrating with VictorOps.
property payload
payload?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A map of key/value pairs that represents the webhook payload. Must provide payloadType if setting this argument.
property payloadString
payloadString?: pulumi.Input<string>;Use instead of payload if the desired payload is more complex than a list of key/value pairs (e.g. a payload that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with payload.
property payloadType
payloadType?: pulumi.Input<string>;Can either be application/json or application/x-www-form-urlencoded. The payloadType argument is required if payload is set.
* pagerduty
property recipients
recipients?: pulumi.Input<string>;A set of recipients for targeting notifications. Multiple values are comma separated.
property region
region?: pulumi.Input<string>;The data center region to store your data. Valid values are US and EU. Default is US.
property routeKey
routeKey?: pulumi.Input<string>;The route key for integrating with VictorOps.
* slack
property serviceKey
serviceKey?: pulumi.Input<string>;Specifies the service key for integrating with Pagerduty.
* victorops
property tags
tags?: pulumi.Input<string>;A set of tags for targeting notifications. Multiple values are comma separated.
property teams
teams?: pulumi.Input<string>;A set of teams for targeting notifications. Multiple values are comma separated.
property url
url?: pulumi.Input<string>;Your organization’s Slack URL.
property userId
userId?: pulumi.Input<string>;interface AlertConditionTerm
interface AlertConditionTermproperty duration
duration: pulumi.Input<number>;property operator
operator?: pulumi.Input<string>;property priority
priority?: pulumi.Input<string>;property threshold
threshold: pulumi.Input<number>;property timeFunction
timeFunction: pulumi.Input<string>;interface DashboardFilter
interface DashboardFilterproperty attributes
attributes?: pulumi.Input<pulumi.Input<string>[]>;property eventTypes
eventTypes: pulumi.Input<pulumi.Input<string>[]>;interface DashboardWidget
interface DashboardWidgetproperty column
column: pulumi.Input<number>;property compareWiths
compareWiths?: pulumi.Input<pulumi.Input<DashboardWidgetCompareWith>[]>;property drilldownDashboardId
drilldownDashboardId?: pulumi.Input<number>;property duration
duration?: pulumi.Input<number>;property endTime
endTime?: pulumi.Input<number>;property entityIds
entityIds?: pulumi.Input<pulumi.Input<number>[]>;property facet
facet?: pulumi.Input<string>;property height
height?: pulumi.Input<number>;property limit
limit?: pulumi.Input<number>;property metrics
metrics?: pulumi.Input<pulumi.Input<DashboardWidgetMetric>[]>;property notes
notes?: pulumi.Input<string>;property nrql
nrql?: pulumi.Input<string>;property orderBy
orderBy?: pulumi.Input<string>;property rawMetricName
rawMetricName?: pulumi.Input<string>;property row
row: pulumi.Input<number>;property source
source?: pulumi.Input<string>;property thresholdRed
thresholdRed?: pulumi.Input<number>;property thresholdYellow
thresholdYellow?: pulumi.Input<number>;property title
title: pulumi.Input<string>;The title of the dashboard.
property visualization
visualization: pulumi.Input<string>;property widgetId
widgetId?: pulumi.Input<number>;property width
width?: pulumi.Input<number>;interface DashboardWidgetCompareWith
interface DashboardWidgetCompareWithproperty offsetDuration
offsetDuration: pulumi.Input<string>;property presentation
presentation: pulumi.Input<DashboardWidgetCompareWithPresentation>;interface DashboardWidgetCompareWithPresentation
interface DashboardWidgetCompareWithPresentationproperty color
color: pulumi.Input<string>;property name
name: pulumi.Input<string>;interface DashboardWidgetMetric
interface DashboardWidgetMetricproperty name
name: pulumi.Input<string>;property scope
scope?: pulumi.Input<string>;property units
units?: pulumi.Input<string>;property values
values?: pulumi.Input<pulumi.Input<string>[]>;interface InfraAlertConditionCritical
interface InfraAlertConditionCriticalproperty duration
duration: pulumi.Input<number>;property timeFunction
timeFunction?: pulumi.Input<string>;property value
value?: pulumi.Input<number>;interface InfraAlertConditionWarning
interface InfraAlertConditionWarningproperty duration
duration: pulumi.Input<number>;property timeFunction
timeFunction?: pulumi.Input<string>;property value
value?: pulumi.Input<number>;interface NrqlAlertConditionNrql
interface NrqlAlertConditionNrqlproperty query
query: pulumi.Input<string>;property sinceValue
sinceValue: pulumi.Input<string>;interface NrqlAlertConditionTerm
interface NrqlAlertConditionTermproperty duration
duration: pulumi.Input<number>;property operator
operator?: pulumi.Input<string>;property priority
priority?: pulumi.Input<string>;property threshold
threshold: pulumi.Input<number>;property timeFunction
timeFunction: pulumi.Input<string>;