newrelic

package
v3.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing New Relic resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v3.11.0

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package.

Types

type AlertChannel

type AlertChannel struct {
	pulumi.CustomResourceState

	// A nested block that describes an alert channel configuration.  Only one config block is permitted per alert channel definition.  See Nested config blocks below for details.
	Config AlertChannelConfigPtrOutput `pulumi:"config"`
	// The name of the channel.
	Name pulumi.StringOutput `pulumi:"name"`
	// The type of channel.  Accepted values are 'email', 'slack', 'opsgenie', 'pagerduty', 'victorops', or 'webhook'.
	Type pulumi.StringOutput `pulumi:"type"`
}

Use this resource to create and manage New Relic alert channels.

## Import

Alert channels can be imported using the `id`, e.g. bash

```sh

$ pulumi import newrelic:index/alertChannel:AlertChannel main <id>

```

func GetAlertChannel

func GetAlertChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AlertChannelState, opts ...pulumi.ResourceOption) (*AlertChannel, error)

GetAlertChannel gets an existing AlertChannel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAlertChannel

func NewAlertChannel(ctx *pulumi.Context,
	name string, args *AlertChannelArgs, opts ...pulumi.ResourceOption) (*AlertChannel, error)

NewAlertChannel registers a new resource with the given unique name, arguments, and options.

func (*AlertChannel) ElementType added in v3.8.4

func (*AlertChannel) ElementType() reflect.Type

func (*AlertChannel) ToAlertChannelOutput added in v3.8.4

func (i *AlertChannel) ToAlertChannelOutput() AlertChannelOutput

func (*AlertChannel) ToAlertChannelOutputWithContext added in v3.8.4

func (i *AlertChannel) ToAlertChannelOutputWithContext(ctx context.Context) AlertChannelOutput

func (*AlertChannel) ToAlertChannelPtrOutput added in v3.13.1

func (i *AlertChannel) ToAlertChannelPtrOutput() AlertChannelPtrOutput

func (*AlertChannel) ToAlertChannelPtrOutputWithContext added in v3.13.1

func (i *AlertChannel) ToAlertChannelPtrOutputWithContext(ctx context.Context) AlertChannelPtrOutput

type AlertChannelArgs

type AlertChannelArgs struct {
	// A nested block that describes an alert channel configuration.  Only one config block is permitted per alert channel definition.  See Nested config blocks below for details.
	Config AlertChannelConfigPtrInput
	// The name of the channel.
	Name pulumi.StringPtrInput
	// The type of channel.  Accepted values are 'email', 'slack', 'opsgenie', 'pagerduty', 'victorops', or 'webhook'.
	Type pulumi.StringInput
}

The set of arguments for constructing a AlertChannel resource.

func (AlertChannelArgs) ElementType

func (AlertChannelArgs) ElementType() reflect.Type

type AlertChannelArray added in v3.13.1

type AlertChannelArray []AlertChannelInput

func (AlertChannelArray) ElementType added in v3.13.1

func (AlertChannelArray) ElementType() reflect.Type

func (AlertChannelArray) ToAlertChannelArrayOutput added in v3.13.1

func (i AlertChannelArray) ToAlertChannelArrayOutput() AlertChannelArrayOutput

func (AlertChannelArray) ToAlertChannelArrayOutputWithContext added in v3.13.1

func (i AlertChannelArray) ToAlertChannelArrayOutputWithContext(ctx context.Context) AlertChannelArrayOutput

type AlertChannelArrayInput added in v3.13.1

type AlertChannelArrayInput interface {
	pulumi.Input

	ToAlertChannelArrayOutput() AlertChannelArrayOutput
	ToAlertChannelArrayOutputWithContext(context.Context) AlertChannelArrayOutput
}

AlertChannelArrayInput is an input type that accepts AlertChannelArray and AlertChannelArrayOutput values. You can construct a concrete instance of `AlertChannelArrayInput` via:

AlertChannelArray{ AlertChannelArgs{...} }

type AlertChannelArrayOutput added in v3.13.1

type AlertChannelArrayOutput struct{ *pulumi.OutputState }

func (AlertChannelArrayOutput) ElementType added in v3.13.1

func (AlertChannelArrayOutput) ElementType() reflect.Type

func (AlertChannelArrayOutput) Index added in v3.13.1

func (AlertChannelArrayOutput) ToAlertChannelArrayOutput added in v3.13.1

func (o AlertChannelArrayOutput) ToAlertChannelArrayOutput() AlertChannelArrayOutput

func (AlertChannelArrayOutput) ToAlertChannelArrayOutputWithContext added in v3.13.1

func (o AlertChannelArrayOutput) ToAlertChannelArrayOutputWithContext(ctx context.Context) AlertChannelArrayOutput

type AlertChannelConfig

type AlertChannelConfig struct {
	// The API key for integrating with OpsGenie.
	ApiKey *string `pulumi:"apiKey"`
	// Specifies an authentication password for use with a channel.  Supported by the `webhook` channel type.
	AuthPassword *string `pulumi:"authPassword"`
	// 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`.
	AuthType *string `pulumi:"authType"`
	// Specifies an authentication username for use with a channel.  Supported by the `webhook` channel type.
	AuthUsername *string `pulumi:"authUsername"`
	// The base URL of the webhook destination.
	BaseUrl *string `pulumi:"baseUrl"`
	// The Slack channel to send notifications to.
	// * `opsgenie`
	Channel *string `pulumi:"channel"`
	// A map of key/value pairs that represents extra HTTP headers to be sent along with the webhook payload.
	Headers map[string]string `pulumi:"headers"`
	// 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`.
	HeadersString *string `pulumi:"headersString"`
	// `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`
	IncludeJsonAttachment *string `pulumi:"includeJsonAttachment"`
	// The key for integrating with VictorOps.
	Key *string `pulumi:"key"`
	// A map of key/value pairs that represents the webhook payload.  Must provide `payloadType` if setting this argument.
	Payload map[string]string `pulumi:"payload"`
	// 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`.
	PayloadString *string `pulumi:"payloadString"`
	// Can either be `application/json` or `application/x-www-form-urlencoded`. The `payloadType` argument is _required_ if `payload` is set.
	// * `pagerduty`
	PayloadType *string `pulumi:"payloadType"`
	// A set of recipients for targeting notifications.  Multiple values are comma separated.
	Recipients *string `pulumi:"recipients"`
	// The data center region to store your data.  Valid values are `US` and `EU`.  Default is `US`.
	Region *string `pulumi:"region"`
	// The route key for integrating with VictorOps.
	// * `slack`
	RouteKey *string `pulumi:"routeKey"`
	// Specifies the service key for integrating with Pagerduty.
	// * `victorops`
	ServiceKey *string `pulumi:"serviceKey"`
	// A set of tags for targeting notifications. Multiple values are comma separated.
	Tags *string `pulumi:"tags"`
	// A set of teams for targeting notifications. Multiple values are comma separated.
	Teams *string `pulumi:"teams"`
	// [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack).
	Url    *string `pulumi:"url"`
	UserId *string `pulumi:"userId"`
}

type AlertChannelConfigArgs

type AlertChannelConfigArgs struct {
	// The API key for integrating with OpsGenie.
	ApiKey pulumi.StringPtrInput `pulumi:"apiKey"`
	// Specifies an authentication password for use with a channel.  Supported by the `webhook` channel type.
	AuthPassword pulumi.StringPtrInput `pulumi:"authPassword"`
	// 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`.
	AuthType pulumi.StringPtrInput `pulumi:"authType"`
	// Specifies an authentication username for use with a channel.  Supported by the `webhook` channel type.
	AuthUsername pulumi.StringPtrInput `pulumi:"authUsername"`
	// The base URL of the webhook destination.
	BaseUrl pulumi.StringPtrInput `pulumi:"baseUrl"`
	// The Slack channel to send notifications to.
	// * `opsgenie`
	Channel pulumi.StringPtrInput `pulumi:"channel"`
	// A map of key/value pairs that represents extra HTTP headers to be sent along with the webhook payload.
	Headers pulumi.StringMapInput `pulumi:"headers"`
	// 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`.
	HeadersString pulumi.StringPtrInput `pulumi:"headersString"`
	// `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`
	IncludeJsonAttachment pulumi.StringPtrInput `pulumi:"includeJsonAttachment"`
	// The key for integrating with VictorOps.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// A map of key/value pairs that represents the webhook payload.  Must provide `payloadType` if setting this argument.
	Payload pulumi.StringMapInput `pulumi:"payload"`
	// 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`.
	PayloadString pulumi.StringPtrInput `pulumi:"payloadString"`
	// Can either be `application/json` or `application/x-www-form-urlencoded`. The `payloadType` argument is _required_ if `payload` is set.
	// * `pagerduty`
	PayloadType pulumi.StringPtrInput `pulumi:"payloadType"`
	// A set of recipients for targeting notifications.  Multiple values are comma separated.
	Recipients pulumi.StringPtrInput `pulumi:"recipients"`
	// The data center region to store your data.  Valid values are `US` and `EU`.  Default is `US`.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// The route key for integrating with VictorOps.
	// * `slack`
	RouteKey pulumi.StringPtrInput `pulumi:"routeKey"`
	// Specifies the service key for integrating with Pagerduty.
	// * `victorops`
	ServiceKey pulumi.StringPtrInput `pulumi:"serviceKey"`
	// A set of tags for targeting notifications. Multiple values are comma separated.
	Tags pulumi.StringPtrInput `pulumi:"tags"`
	// A set of teams for targeting notifications. Multiple values are comma separated.
	Teams pulumi.StringPtrInput `pulumi:"teams"`
	// [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack).
	Url    pulumi.StringPtrInput `pulumi:"url"`
	UserId pulumi.StringPtrInput `pulumi:"userId"`
}

func (AlertChannelConfigArgs) ElementType

func (AlertChannelConfigArgs) ElementType() reflect.Type

func (AlertChannelConfigArgs) ToAlertChannelConfigOutput

func (i AlertChannelConfigArgs) ToAlertChannelConfigOutput() AlertChannelConfigOutput

func (AlertChannelConfigArgs) ToAlertChannelConfigOutputWithContext

func (i AlertChannelConfigArgs) ToAlertChannelConfigOutputWithContext(ctx context.Context) AlertChannelConfigOutput

func (AlertChannelConfigArgs) ToAlertChannelConfigPtrOutput

func (i AlertChannelConfigArgs) ToAlertChannelConfigPtrOutput() AlertChannelConfigPtrOutput

func (AlertChannelConfigArgs) ToAlertChannelConfigPtrOutputWithContext

func (i AlertChannelConfigArgs) ToAlertChannelConfigPtrOutputWithContext(ctx context.Context) AlertChannelConfigPtrOutput

type AlertChannelConfigInput

type AlertChannelConfigInput interface {
	pulumi.Input

	ToAlertChannelConfigOutput() AlertChannelConfigOutput
	ToAlertChannelConfigOutputWithContext(context.Context) AlertChannelConfigOutput
}

AlertChannelConfigInput is an input type that accepts AlertChannelConfigArgs and AlertChannelConfigOutput values. You can construct a concrete instance of `AlertChannelConfigInput` via:

AlertChannelConfigArgs{...}

type AlertChannelConfigOutput

type AlertChannelConfigOutput struct{ *pulumi.OutputState }

func (AlertChannelConfigOutput) ApiKey

The API key for integrating with OpsGenie.

func (AlertChannelConfigOutput) AuthPassword

Specifies an authentication password for use with a channel. Supported by the `webhook` channel type.

func (AlertChannelConfigOutput) AuthType

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`.

func (AlertChannelConfigOutput) AuthUsername

Specifies an authentication username for use with a channel. Supported by the `webhook` channel type.

func (AlertChannelConfigOutput) BaseUrl

The base URL of the webhook destination.

func (AlertChannelConfigOutput) Channel

The Slack channel to send notifications to. * `opsgenie`

func (AlertChannelConfigOutput) ElementType

func (AlertChannelConfigOutput) ElementType() reflect.Type

func (AlertChannelConfigOutput) Headers

A map of key/value pairs that represents extra HTTP headers to be sent along with the webhook payload.

func (AlertChannelConfigOutput) HeadersString

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`.

func (AlertChannelConfigOutput) IncludeJsonAttachment

func (o AlertChannelConfigOutput) IncludeJsonAttachment() pulumi.StringPtrOutput

`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`

func (AlertChannelConfigOutput) Key

The key for integrating with VictorOps.

func (AlertChannelConfigOutput) Payload

A map of key/value pairs that represents the webhook payload. Must provide `payloadType` if setting this argument.

func (AlertChannelConfigOutput) PayloadString

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`.

func (AlertChannelConfigOutput) PayloadType

Can either be `application/json` or `application/x-www-form-urlencoded`. The `payloadType` argument is _required_ if `payload` is set. * `pagerduty`

func (AlertChannelConfigOutput) Recipients

A set of recipients for targeting notifications. Multiple values are comma separated.

func (AlertChannelConfigOutput) Region

The data center region to store your data. Valid values are `US` and `EU`. Default is `US`.

func (AlertChannelConfigOutput) RouteKey

The route key for integrating with VictorOps. * `slack`

func (AlertChannelConfigOutput) ServiceKey

Specifies the service key for integrating with Pagerduty. * `victorops`

func (AlertChannelConfigOutput) Tags

A set of tags for targeting notifications. Multiple values are comma separated.

func (AlertChannelConfigOutput) Teams

A set of teams for targeting notifications. Multiple values are comma separated.

func (AlertChannelConfigOutput) ToAlertChannelConfigOutput

func (o AlertChannelConfigOutput) ToAlertChannelConfigOutput() AlertChannelConfigOutput

func (AlertChannelConfigOutput) ToAlertChannelConfigOutputWithContext

func (o AlertChannelConfigOutput) ToAlertChannelConfigOutputWithContext(ctx context.Context) AlertChannelConfigOutput

func (AlertChannelConfigOutput) ToAlertChannelConfigPtrOutput

func (o AlertChannelConfigOutput) ToAlertChannelConfigPtrOutput() AlertChannelConfigPtrOutput

func (AlertChannelConfigOutput) ToAlertChannelConfigPtrOutputWithContext

func (o AlertChannelConfigOutput) ToAlertChannelConfigPtrOutputWithContext(ctx context.Context) AlertChannelConfigPtrOutput

func (AlertChannelConfigOutput) UserId

type AlertChannelConfigPtrInput

type AlertChannelConfigPtrInput interface {
	pulumi.Input

	ToAlertChannelConfigPtrOutput() AlertChannelConfigPtrOutput
	ToAlertChannelConfigPtrOutputWithContext(context.Context) AlertChannelConfigPtrOutput
}

AlertChannelConfigPtrInput is an input type that accepts AlertChannelConfigArgs, AlertChannelConfigPtr and AlertChannelConfigPtrOutput values. You can construct a concrete instance of `AlertChannelConfigPtrInput` via:

        AlertChannelConfigArgs{...}

or:

        nil

type AlertChannelConfigPtrOutput

type AlertChannelConfigPtrOutput struct{ *pulumi.OutputState }

func (AlertChannelConfigPtrOutput) ApiKey

The API key for integrating with OpsGenie.

func (AlertChannelConfigPtrOutput) AuthPassword

Specifies an authentication password for use with a channel. Supported by the `webhook` channel type.

func (AlertChannelConfigPtrOutput) AuthType

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`.

func (AlertChannelConfigPtrOutput) AuthUsername

Specifies an authentication username for use with a channel. Supported by the `webhook` channel type.

func (AlertChannelConfigPtrOutput) BaseUrl

The base URL of the webhook destination.

func (AlertChannelConfigPtrOutput) Channel

The Slack channel to send notifications to. * `opsgenie`

func (AlertChannelConfigPtrOutput) Elem

func (AlertChannelConfigPtrOutput) ElementType

func (AlertChannelConfigPtrOutput) Headers

A map of key/value pairs that represents extra HTTP headers to be sent along with the webhook payload.

func (AlertChannelConfigPtrOutput) HeadersString

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`.

func (AlertChannelConfigPtrOutput) IncludeJsonAttachment

func (o AlertChannelConfigPtrOutput) IncludeJsonAttachment() pulumi.StringPtrOutput

`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`

func (AlertChannelConfigPtrOutput) Key

The key for integrating with VictorOps.

func (AlertChannelConfigPtrOutput) Payload

A map of key/value pairs that represents the webhook payload. Must provide `payloadType` if setting this argument.

func (AlertChannelConfigPtrOutput) PayloadString

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`.

func (AlertChannelConfigPtrOutput) PayloadType

Can either be `application/json` or `application/x-www-form-urlencoded`. The `payloadType` argument is _required_ if `payload` is set. * `pagerduty`

func (AlertChannelConfigPtrOutput) Recipients

A set of recipients for targeting notifications. Multiple values are comma separated.

func (AlertChannelConfigPtrOutput) Region

The data center region to store your data. Valid values are `US` and `EU`. Default is `US`.

func (AlertChannelConfigPtrOutput) RouteKey

The route key for integrating with VictorOps. * `slack`

func (AlertChannelConfigPtrOutput) ServiceKey

Specifies the service key for integrating with Pagerduty. * `victorops`

func (AlertChannelConfigPtrOutput) Tags

A set of tags for targeting notifications. Multiple values are comma separated.

func (AlertChannelConfigPtrOutput) Teams

A set of teams for targeting notifications. Multiple values are comma separated.

func (AlertChannelConfigPtrOutput) ToAlertChannelConfigPtrOutput

func (o AlertChannelConfigPtrOutput) ToAlertChannelConfigPtrOutput() AlertChannelConfigPtrOutput

func (AlertChannelConfigPtrOutput) ToAlertChannelConfigPtrOutputWithContext

func (o AlertChannelConfigPtrOutput) ToAlertChannelConfigPtrOutputWithContext(ctx context.Context) AlertChannelConfigPtrOutput

func (AlertChannelConfigPtrOutput) UserId

type AlertChannelInput added in v3.8.4

type AlertChannelInput interface {
	pulumi.Input

	ToAlertChannelOutput() AlertChannelOutput
	ToAlertChannelOutputWithContext(ctx context.Context) AlertChannelOutput
}

type AlertChannelMap added in v3.13.1

type AlertChannelMap map[string]AlertChannelInput

func (AlertChannelMap) ElementType added in v3.13.1

func (AlertChannelMap) ElementType() reflect.Type

func (AlertChannelMap) ToAlertChannelMapOutput added in v3.13.1

func (i AlertChannelMap) ToAlertChannelMapOutput() AlertChannelMapOutput

func (AlertChannelMap) ToAlertChannelMapOutputWithContext added in v3.13.1

func (i AlertChannelMap) ToAlertChannelMapOutputWithContext(ctx context.Context) AlertChannelMapOutput

type AlertChannelMapInput added in v3.13.1

type AlertChannelMapInput interface {
	pulumi.Input

	ToAlertChannelMapOutput() AlertChannelMapOutput
	ToAlertChannelMapOutputWithContext(context.Context) AlertChannelMapOutput
}

AlertChannelMapInput is an input type that accepts AlertChannelMap and AlertChannelMapOutput values. You can construct a concrete instance of `AlertChannelMapInput` via:

AlertChannelMap{ "key": AlertChannelArgs{...} }

type AlertChannelMapOutput added in v3.13.1

type AlertChannelMapOutput struct{ *pulumi.OutputState }

func (AlertChannelMapOutput) ElementType added in v3.13.1

func (AlertChannelMapOutput) ElementType() reflect.Type

func (AlertChannelMapOutput) MapIndex added in v3.13.1

func (AlertChannelMapOutput) ToAlertChannelMapOutput added in v3.13.1

func (o AlertChannelMapOutput) ToAlertChannelMapOutput() AlertChannelMapOutput

func (AlertChannelMapOutput) ToAlertChannelMapOutputWithContext added in v3.13.1

func (o AlertChannelMapOutput) ToAlertChannelMapOutputWithContext(ctx context.Context) AlertChannelMapOutput

type AlertChannelOutput added in v3.8.4

type AlertChannelOutput struct {
	*pulumi.OutputState
}

func (AlertChannelOutput) ElementType added in v3.8.4

func (AlertChannelOutput) ElementType() reflect.Type

func (AlertChannelOutput) ToAlertChannelOutput added in v3.8.4

func (o AlertChannelOutput) ToAlertChannelOutput() AlertChannelOutput

func (AlertChannelOutput) ToAlertChannelOutputWithContext added in v3.8.4

func (o AlertChannelOutput) ToAlertChannelOutputWithContext(ctx context.Context) AlertChannelOutput

func (AlertChannelOutput) ToAlertChannelPtrOutput added in v3.13.1

func (o AlertChannelOutput) ToAlertChannelPtrOutput() AlertChannelPtrOutput

func (AlertChannelOutput) ToAlertChannelPtrOutputWithContext added in v3.13.1

func (o AlertChannelOutput) ToAlertChannelPtrOutputWithContext(ctx context.Context) AlertChannelPtrOutput

type AlertChannelPtrInput added in v3.13.1

type AlertChannelPtrInput interface {
	pulumi.Input

	ToAlertChannelPtrOutput() AlertChannelPtrOutput
	ToAlertChannelPtrOutputWithContext(ctx context.Context) AlertChannelPtrOutput
}

type AlertChannelPtrOutput added in v3.13.1

type AlertChannelPtrOutput struct {
	*pulumi.OutputState
}

func (AlertChannelPtrOutput) ElementType added in v3.13.1

func (AlertChannelPtrOutput) ElementType() reflect.Type

func (AlertChannelPtrOutput) ToAlertChannelPtrOutput added in v3.13.1

func (o AlertChannelPtrOutput) ToAlertChannelPtrOutput() AlertChannelPtrOutput

func (AlertChannelPtrOutput) ToAlertChannelPtrOutputWithContext added in v3.13.1

func (o AlertChannelPtrOutput) ToAlertChannelPtrOutputWithContext(ctx context.Context) AlertChannelPtrOutput

type AlertChannelState

type AlertChannelState struct {
	// A nested block that describes an alert channel configuration.  Only one config block is permitted per alert channel definition.  See Nested config blocks below for details.
	Config AlertChannelConfigPtrInput
	// The name of the channel.
	Name pulumi.StringPtrInput
	// The type of channel.  Accepted values are 'email', 'slack', 'opsgenie', 'pagerduty', 'victorops', or 'webhook'.
	Type pulumi.StringPtrInput
}

func (AlertChannelState) ElementType

func (AlertChannelState) ElementType() reflect.Type

type AlertCondition

type AlertCondition struct {
	pulumi.CustomResourceState

	// `application` or `instance`.  Choose `application` for most scenarios.  If you are using the JVM plugin in New Relic, the `instance` setting allows your condition to trigger [for specific app instances](https://docs.newrelic.com/docs/alerts/new-relic-alerts/defining-conditions/scope-alert-thresholds-specific-instances).
	ConditionScope pulumi.StringPtrOutput `pulumi:"conditionScope"`
	// Whether the condition is enabled or not. Defaults to true.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The instance IDs associated with this condition.
	Entities pulumi.IntArrayOutput `pulumi:"entities"`
	// A valid Garbage Collection metric e.g. `GC/G1 Young Generation`.
	GcMetric pulumi.StringPtrOutput `pulumi:"gcMetric"`
	// The metric field accepts parameters based on the `type` set. One of these metrics based on `type`:
	// * `apmAppMetric`
	// * `apdex`
	// * `errorPercentage`
	// * `responseTimeBackground`
	// * `responseTimeWeb`
	// * `throughputBackground`
	// * `throughputWeb`
	// * `userDefined`
	// * `apmJvmMetric`
	// * `cpuUtilizationTime`
	// * `deadlockedThreads`
	// * `gcCpuTime`
	// * `heapMemoryUsage`
	// * `apmKtMetric`
	// * `apdex`
	// * `errorCount`
	// * `errorPercentage`
	// * `responseTime`
	// * `throughput`
	// * `browserMetric`
	// * `ajaxResponseTime`
	// * `ajaxThroughput`
	// * `domProcessing`
	// * `endUserApdex`
	// * `network`
	// * `pageRendering`
	// * `pageViewThroughput`
	// * `pageViewsWithJsErrors`
	// * `requestQueuing`
	// * `totalPageLoad`
	// * `userDefined`
	// * `webApplication`
	// * `mobileMetric`
	// * `database`
	// * `images`
	// * `json`
	// * `mobileCrashRate`
	// * `networkErrorPercentage`
	// * `network`
	// * `statusErrorPercentage`
	// * `userDefined`
	// * `viewLoading`
	Metric pulumi.StringOutput `pulumi:"metric"`
	// The title of the condition. Must be between 1 and 64 characters, inclusive.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the policy where this condition should be used.
	PolicyId pulumi.IntOutput `pulumi:"policyId"`
	// Runbook URL to display in notifications.
	RunbookUrl pulumi.StringPtrOutput `pulumi:"runbookUrl"`
	// A list of terms for this condition. See Terms below for details.
	Terms AlertConditionTermArrayOutput `pulumi:"terms"`
	// The type of condition. One of: `apmAppMetric`, `apmJvmMetric`, `apmKtMetric`, `browserMetric`, `mobileMetric`
	Type pulumi.StringOutput `pulumi:"type"`
	// A custom metric to be evaluated.
	UserDefinedMetric pulumi.StringPtrOutput `pulumi:"userDefinedMetric"`
	// One of: `average`, `min`, `max`, `total`, or `sampleSize`.
	UserDefinedValueFunction pulumi.StringPtrOutput `pulumi:"userDefinedValueFunction"`
	// Automatically close instance-based violations, including JVM health metric violations, after the number of hours specified. Must be: `1`, `2`, `4`, `8`, `12` or `24`.
	ViolationCloseTimer pulumi.IntPtrOutput `pulumi:"violationCloseTimer"`
}

Use this resource to create and manage alert conditions for APM, Browser, and Mobile in New Relic.

> **NOTE:** The NrqlAlertCondition resource is preferred for configuring alerts conditions. In most cases feature parity can be achieved with a NRQL query. Other condition types may be deprecated in the future and receive fewer product updates.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-newrelic/sdk/v3/go/newrelic"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "APPLICATION"
		opt1 := "APM"
		app, err := newrelic.GetEntity(ctx, &newrelic.GetEntityArgs{
			Name:   "my-app",
			Type:   &opt0,
			Domain: &opt1,
		}, nil)
		if err != nil {
			return err
		}
		fooAlertPolicy, err := newrelic.NewAlertPolicy(ctx, "fooAlertPolicy", nil)
		if err != nil {
			return err
		}
		_, err = newrelic.NewAlertCondition(ctx, "fooAlertCondition", &newrelic.AlertConditionArgs{
			PolicyId: fooAlertPolicy.ID(),
			Type:     pulumi.String("apm_app_metric"),
			Entities: pulumi.IntArray{
				pulumi.Int(app.ApplicationId),
			},
			Metric:         pulumi.String("apdex"),
			RunbookUrl:     pulumi.String("https://www.example.com"),
			ConditionScope: pulumi.String("application"),
			Terms: newrelic.AlertConditionTermArray{
				&newrelic.AlertConditionTermArgs{
					Duration:     pulumi.Int(5),
					Operator:     pulumi.String("below"),
					Priority:     pulumi.String("critical"),
					Threshold:    pulumi.Float64(0.75),
					TimeFunction: pulumi.String("all"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Terms

The `term` mapping supports the following arguments:

  • `duration` - (Required) In minutes, must be in the range of `5` to `120`, inclusive.
  • `operator` - (Optional) `above`, `below`, or `equal`. Defaults to `equal`.
  • `priority` - (Optional) `critical` or `warning`. Defaults to `critical`. Terms must include at least one `critical` priority term
  • `threshold` - (Required) Must be 0 or greater.
  • `timeFunction` - (Required) `all` or `any`.

## Import

Alert conditions can be imported using notation `alert_policy_id:alert_condition_id`, e.g.

```sh

$ pulumi import newrelic:index/alertCondition:AlertCondition main 123456:6789012345

```

func GetAlertCondition

func GetAlertCondition(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AlertConditionState, opts ...pulumi.ResourceOption) (*AlertCondition, error)

GetAlertCondition gets an existing AlertCondition resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAlertCondition

func NewAlertCondition(ctx *pulumi.Context,
	name string, args *AlertConditionArgs, opts ...pulumi.ResourceOption) (*AlertCondition, error)

NewAlertCondition registers a new resource with the given unique name, arguments, and options.

func (*AlertCondition) ElementType added in v3.8.4

func (*AlertCondition) ElementType() reflect.Type

func (*AlertCondition) ToAlertConditionOutput added in v3.8.4

func (i *AlertCondition) ToAlertConditionOutput() AlertConditionOutput

func (*AlertCondition) ToAlertConditionOutputWithContext added in v3.8.4

func (i *AlertCondition) ToAlertConditionOutputWithContext(ctx context.Context) AlertConditionOutput

func (*AlertCondition) ToAlertConditionPtrOutput added in v3.13.1

func (i *AlertCondition) ToAlertConditionPtrOutput() AlertConditionPtrOutput

func (*AlertCondition) ToAlertConditionPtrOutputWithContext added in v3.13.1

func (i *AlertCondition) ToAlertConditionPtrOutputWithContext(ctx context.Context) AlertConditionPtrOutput

type AlertConditionArgs

type AlertConditionArgs struct {
	// `application` or `instance`.  Choose `application` for most scenarios.  If you are using the JVM plugin in New Relic, the `instance` setting allows your condition to trigger [for specific app instances](https://docs.newrelic.com/docs/alerts/new-relic-alerts/defining-conditions/scope-alert-thresholds-specific-instances).
	ConditionScope pulumi.StringPtrInput
	// Whether the condition is enabled or not. Defaults to true.
	Enabled pulumi.BoolPtrInput
	// The instance IDs associated with this condition.
	Entities pulumi.IntArrayInput
	// A valid Garbage Collection metric e.g. `GC/G1 Young Generation`.
	GcMetric pulumi.StringPtrInput
	// The metric field accepts parameters based on the `type` set. One of these metrics based on `type`:
	// * `apmAppMetric`
	// * `apdex`
	// * `errorPercentage`
	// * `responseTimeBackground`
	// * `responseTimeWeb`
	// * `throughputBackground`
	// * `throughputWeb`
	// * `userDefined`
	// * `apmJvmMetric`
	// * `cpuUtilizationTime`
	// * `deadlockedThreads`
	// * `gcCpuTime`
	// * `heapMemoryUsage`
	// * `apmKtMetric`
	// * `apdex`
	// * `errorCount`
	// * `errorPercentage`
	// * `responseTime`
	// * `throughput`
	// * `browserMetric`
	// * `ajaxResponseTime`
	// * `ajaxThroughput`
	// * `domProcessing`
	// * `endUserApdex`
	// * `network`
	// * `pageRendering`
	// * `pageViewThroughput`
	// * `pageViewsWithJsErrors`
	// * `requestQueuing`
	// * `totalPageLoad`
	// * `userDefined`
	// * `webApplication`
	// * `mobileMetric`
	// * `database`
	// * `images`
	// * `json`
	// * `mobileCrashRate`
	// * `networkErrorPercentage`
	// * `network`
	// * `statusErrorPercentage`
	// * `userDefined`
	// * `viewLoading`
	Metric pulumi.StringInput
	// The title of the condition. Must be between 1 and 64 characters, inclusive.
	Name pulumi.StringPtrInput
	// The ID of the policy where this condition should be used.
	PolicyId pulumi.IntInput
	// Runbook URL to display in notifications.
	RunbookUrl pulumi.StringPtrInput
	// A list of terms for this condition. See Terms below for details.
	Terms AlertConditionTermArrayInput
	// The type of condition. One of: `apmAppMetric`, `apmJvmMetric`, `apmKtMetric`, `browserMetric`, `mobileMetric`
	Type pulumi.StringInput
	// A custom metric to be evaluated.
	UserDefinedMetric pulumi.StringPtrInput
	// One of: `average`, `min`, `max`, `total`, or `sampleSize`.
	UserDefinedValueFunction pulumi.StringPtrInput
	// Automatically close instance-based violations, including JVM health metric violations, after the number of hours specified. Must be: `1`, `2`, `4`, `8`, `12` or `24`.
	ViolationCloseTimer pulumi.IntPtrInput
}

The set of arguments for constructing a AlertCondition resource.

func (AlertConditionArgs) ElementType

func (AlertConditionArgs) ElementType() reflect.Type

type AlertConditionArray added in v3.13.1

type AlertConditionArray []AlertConditionInput

func (AlertConditionArray) ElementType added in v3.13.1

func (AlertConditionArray) ElementType() reflect.Type

func (AlertConditionArray) ToAlertConditionArrayOutput added in v3.13.1

func (i AlertConditionArray) ToAlertConditionArrayOutput() AlertConditionArrayOutput

func (AlertConditionArray) ToAlertConditionArrayOutputWithContext added in v3.13.1

func (i AlertConditionArray) ToAlertConditionArrayOutputWithContext(ctx context.Context) AlertConditionArrayOutput

type AlertConditionArrayInput added in v3.13.1

type AlertConditionArrayInput interface {
	pulumi.Input

	ToAlertConditionArrayOutput() AlertConditionArrayOutput
	ToAlertConditionArrayOutputWithContext(context.Context) AlertConditionArrayOutput
}

AlertConditionArrayInput is an input type that accepts AlertConditionArray and AlertConditionArrayOutput values. You can construct a concrete instance of `AlertConditionArrayInput` via:

AlertConditionArray{ AlertConditionArgs{...} }

type AlertConditionArrayOutput added in v3.13.1

type AlertConditionArrayOutput struct{ *pulumi.OutputState }

func (AlertConditionArrayOutput) ElementType added in v3.13.1

func (AlertConditionArrayOutput) ElementType() reflect.Type

func (AlertConditionArrayOutput) Index added in v3.13.1

func (AlertConditionArrayOutput) ToAlertConditionArrayOutput added in v3.13.1

func (o AlertConditionArrayOutput) ToAlertConditionArrayOutput() AlertConditionArrayOutput

func (AlertConditionArrayOutput) ToAlertConditionArrayOutputWithContext added in v3.13.1

func (o AlertConditionArrayOutput) ToAlertConditionArrayOutputWithContext(ctx context.Context) AlertConditionArrayOutput

type AlertConditionInput added in v3.8.4

type AlertConditionInput interface {
	pulumi.Input

	ToAlertConditionOutput() AlertConditionOutput
	ToAlertConditionOutputWithContext(ctx context.Context) AlertConditionOutput
}

type AlertConditionMap added in v3.13.1

type AlertConditionMap map[string]AlertConditionInput

func (AlertConditionMap) ElementType added in v3.13.1

func (AlertConditionMap) ElementType() reflect.Type

func (AlertConditionMap) ToAlertConditionMapOutput added in v3.13.1

func (i AlertConditionMap) ToAlertConditionMapOutput() AlertConditionMapOutput

func (AlertConditionMap) ToAlertConditionMapOutputWithContext added in v3.13.1

func (i AlertConditionMap) ToAlertConditionMapOutputWithContext(ctx context.Context) AlertConditionMapOutput

type AlertConditionMapInput added in v3.13.1

type AlertConditionMapInput interface {
	pulumi.Input

	ToAlertConditionMapOutput() AlertConditionMapOutput
	ToAlertConditionMapOutputWithContext(context.Context) AlertConditionMapOutput
}

AlertConditionMapInput is an input type that accepts AlertConditionMap and AlertConditionMapOutput values. You can construct a concrete instance of `AlertConditionMapInput` via:

AlertConditionMap{ "key": AlertConditionArgs{...} }

type AlertConditionMapOutput added in v3.13.1

type AlertConditionMapOutput struct{ *pulumi.OutputState }

func (AlertConditionMapOutput) ElementType added in v3.13.1

func (AlertConditionMapOutput) ElementType() reflect.Type

func (AlertConditionMapOutput) MapIndex added in v3.13.1

func (AlertConditionMapOutput) ToAlertConditionMapOutput added in v3.13.1

func (o AlertConditionMapOutput) ToAlertConditionMapOutput() AlertConditionMapOutput

func (AlertConditionMapOutput) ToAlertConditionMapOutputWithContext added in v3.13.1

func (o AlertConditionMapOutput) ToAlertConditionMapOutputWithContext(ctx context.Context) AlertConditionMapOutput

type AlertConditionOutput added in v3.8.4

type AlertConditionOutput struct {
	*pulumi.OutputState
}

func (AlertConditionOutput) ElementType added in v3.8.4

func (AlertConditionOutput) ElementType() reflect.Type

func (AlertConditionOutput) ToAlertConditionOutput added in v3.8.4

func (o AlertConditionOutput) ToAlertConditionOutput() AlertConditionOutput

func (AlertConditionOutput) ToAlertConditionOutputWithContext added in v3.8.4

func (o AlertConditionOutput) ToAlertConditionOutputWithContext(ctx context.Context) AlertConditionOutput

func (AlertConditionOutput) ToAlertConditionPtrOutput added in v3.13.1

func (o AlertConditionOutput) ToAlertConditionPtrOutput() AlertConditionPtrOutput

func (AlertConditionOutput) ToAlertConditionPtrOutputWithContext added in v3.13.1

func (o AlertConditionOutput) ToAlertConditionPtrOutputWithContext(ctx context.Context) AlertConditionPtrOutput

type AlertConditionPtrInput added in v3.13.1

type AlertConditionPtrInput interface {
	pulumi.Input

	ToAlertConditionPtrOutput() AlertConditionPtrOutput
	ToAlertConditionPtrOutputWithContext(ctx context.Context) AlertConditionPtrOutput
}

type AlertConditionPtrOutput added in v3.13.1

type AlertConditionPtrOutput struct {
	*pulumi.OutputState
}

func (AlertConditionPtrOutput) ElementType added in v3.13.1

func (AlertConditionPtrOutput) ElementType() reflect.Type

func (AlertConditionPtrOutput) ToAlertConditionPtrOutput added in v3.13.1

func (o AlertConditionPtrOutput) ToAlertConditionPtrOutput() AlertConditionPtrOutput

func (AlertConditionPtrOutput) ToAlertConditionPtrOutputWithContext added in v3.13.1

func (o AlertConditionPtrOutput) ToAlertConditionPtrOutputWithContext(ctx context.Context) AlertConditionPtrOutput

type AlertConditionState

type AlertConditionState struct {
	// `application` or `instance`.  Choose `application` for most scenarios.  If you are using the JVM plugin in New Relic, the `instance` setting allows your condition to trigger [for specific app instances](https://docs.newrelic.com/docs/alerts/new-relic-alerts/defining-conditions/scope-alert-thresholds-specific-instances).
	ConditionScope pulumi.StringPtrInput
	// Whether the condition is enabled or not. Defaults to true.
	Enabled pulumi.BoolPtrInput
	// The instance IDs associated with this condition.
	Entities pulumi.IntArrayInput
	// A valid Garbage Collection metric e.g. `GC/G1 Young Generation`.
	GcMetric pulumi.StringPtrInput
	// The metric field accepts parameters based on the `type` set. One of these metrics based on `type`:
	// * `apmAppMetric`
	// * `apdex`
	// * `errorPercentage`
	// * `responseTimeBackground`
	// * `responseTimeWeb`
	// * `throughputBackground`
	// * `throughputWeb`
	// * `userDefined`
	// * `apmJvmMetric`
	// * `cpuUtilizationTime`
	// * `deadlockedThreads`
	// * `gcCpuTime`
	// * `heapMemoryUsage`
	// * `apmKtMetric`
	// * `apdex`
	// * `errorCount`
	// * `errorPercentage`
	// * `responseTime`
	// * `throughput`
	// * `browserMetric`
	// * `ajaxResponseTime`
	// * `ajaxThroughput`
	// * `domProcessing`
	// * `endUserApdex`
	// * `network`
	// * `pageRendering`
	// * `pageViewThroughput`
	// * `pageViewsWithJsErrors`
	// * `requestQueuing`
	// * `totalPageLoad`
	// * `userDefined`
	// * `webApplication`
	// * `mobileMetric`
	// * `database`
	// * `images`
	// * `json`
	// * `mobileCrashRate`
	// * `networkErrorPercentage`
	// * `network`
	// * `statusErrorPercentage`
	// * `userDefined`
	// * `viewLoading`
	Metric pulumi.StringPtrInput
	// The title of the condition. Must be between 1 and 64 characters, inclusive.
	Name pulumi.StringPtrInput
	// The ID of the policy where this condition should be used.
	PolicyId pulumi.IntPtrInput
	// Runbook URL to display in notifications.
	RunbookUrl pulumi.StringPtrInput
	// A list of terms for this condition. See Terms below for details.
	Terms AlertConditionTermArrayInput
	// The type of condition. One of: `apmAppMetric`, `apmJvmMetric`, `apmKtMetric`, `browserMetric`, `mobileMetric`
	Type pulumi.StringPtrInput
	// A custom metric to be evaluated.
	UserDefinedMetric pulumi.StringPtrInput
	// One of: `average`, `min`, `max`, `total`, or `sampleSize`.
	UserDefinedValueFunction pulumi.StringPtrInput
	// Automatically close instance-based violations, including JVM health metric violations, after the number of hours specified. Must be: `1`, `2`, `4`, `8`, `12` or `24`.
	ViolationCloseTimer pulumi.IntPtrInput
}

func (AlertConditionState) ElementType

func (AlertConditionState) ElementType() reflect.Type

type AlertConditionTerm

type AlertConditionTerm struct {
	Duration     int     `pulumi:"duration"`
	Operator     *string `pulumi:"operator"`
	Priority     *string `pulumi:"priority"`
	Threshold    float64 `pulumi:"threshold"`
	TimeFunction string  `pulumi:"timeFunction"`
}

type AlertConditionTermArgs

type AlertConditionTermArgs struct {
	Duration     pulumi.IntInput       `pulumi:"duration"`
	Operator     pulumi.StringPtrInput `pulumi:"operator"`
	Priority     pulumi.StringPtrInput `pulumi:"priority"`
	Threshold    pulumi.Float64Input   `pulumi:"threshold"`
	TimeFunction pulumi.StringInput    `pulumi:"timeFunction"`
}

func (AlertConditionTermArgs) ElementType

func (AlertConditionTermArgs) ElementType() reflect.Type

func (AlertConditionTermArgs) ToAlertConditionTermOutput

func (i AlertConditionTermArgs) ToAlertConditionTermOutput() AlertConditionTermOutput

func (AlertConditionTermArgs) ToAlertConditionTermOutputWithContext

func (i AlertConditionTermArgs) ToAlertConditionTermOutputWithContext(ctx context.Context) AlertConditionTermOutput

type AlertConditionTermArray

type AlertConditionTermArray []AlertConditionTermInput

func (AlertConditionTermArray) ElementType

func (AlertConditionTermArray) ElementType() reflect.Type

func (AlertConditionTermArray) ToAlertConditionTermArrayOutput

func (i AlertConditionTermArray) ToAlertConditionTermArrayOutput() AlertConditionTermArrayOutput

func (AlertConditionTermArray) ToAlertConditionTermArrayOutputWithContext

func (i AlertConditionTermArray) ToAlertConditionTermArrayOutputWithContext(ctx context.Context) AlertConditionTermArrayOutput

type AlertConditionTermArrayInput

type AlertConditionTermArrayInput interface {
	pulumi.Input

	ToAlertConditionTermArrayOutput() AlertConditionTermArrayOutput
	ToAlertConditionTermArrayOutputWithContext(context.Context) AlertConditionTermArrayOutput
}

AlertConditionTermArrayInput is an input type that accepts AlertConditionTermArray and AlertConditionTermArrayOutput values. You can construct a concrete instance of `AlertConditionTermArrayInput` via:

AlertConditionTermArray{ AlertConditionTermArgs{...} }

type AlertConditionTermArrayOutput

type AlertConditionTermArrayOutput struct{ *pulumi.OutputState }

func (AlertConditionTermArrayOutput) ElementType

func (AlertConditionTermArrayOutput) Index

func (AlertConditionTermArrayOutput) ToAlertConditionTermArrayOutput

func (o AlertConditionTermArrayOutput) ToAlertConditionTermArrayOutput() AlertConditionTermArrayOutput

func (AlertConditionTermArrayOutput) ToAlertConditionTermArrayOutputWithContext

func (o AlertConditionTermArrayOutput) ToAlertConditionTermArrayOutputWithContext(ctx context.Context) AlertConditionTermArrayOutput

type AlertConditionTermInput

type AlertConditionTermInput interface {
	pulumi.Input

	ToAlertConditionTermOutput() AlertConditionTermOutput
	ToAlertConditionTermOutputWithContext(context.Context) AlertConditionTermOutput
}

AlertConditionTermInput is an input type that accepts AlertConditionTermArgs and AlertConditionTermOutput values. You can construct a concrete instance of `AlertConditionTermInput` via:

AlertConditionTermArgs{...}

type AlertConditionTermOutput

type AlertConditionTermOutput struct{ *pulumi.OutputState }

func (AlertConditionTermOutput) Duration

func (AlertConditionTermOutput) ElementType

func (AlertConditionTermOutput) ElementType() reflect.Type

func (AlertConditionTermOutput) Operator

func (AlertConditionTermOutput) Priority

func (AlertConditionTermOutput) Threshold

func (AlertConditionTermOutput) TimeFunction

func (o AlertConditionTermOutput) TimeFunction() pulumi.StringOutput

func (AlertConditionTermOutput) ToAlertConditionTermOutput

func (o AlertConditionTermOutput) ToAlertConditionTermOutput() AlertConditionTermOutput

func (AlertConditionTermOutput) ToAlertConditionTermOutputWithContext

func (o AlertConditionTermOutput) ToAlertConditionTermOutputWithContext(ctx context.Context) AlertConditionTermOutput

type AlertMutingRule added in v3.3.0

type AlertMutingRule struct {
	pulumi.CustomResourceState

	// The account id of the MutingRule.
	AccountId pulumi.IntOutput `pulumi:"accountId"`
	// The condition that defines which violations to target. See Nested condition blocks below for details.
	Condition AlertMutingRuleConditionOutput `pulumi:"condition"`
	// The description of the MutingRule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Whether the MutingRule is enabled.
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// The name of the MutingRule.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specify a schedule for enabling the MutingRule. See Schedule below for details
	Schedule AlertMutingRuleSchedulePtrOutput `pulumi:"schedule"`
}

## Import

Alert conditions can be imported using a composite ID of `<account_id>:<muting_rule_id>`, e.g.

```sh

$ pulumi import newrelic:index/alertMutingRule:AlertMutingRule foo 538291:6789035

```

func GetAlertMutingRule added in v3.3.0

func GetAlertMutingRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AlertMutingRuleState, opts ...pulumi.ResourceOption) (*AlertMutingRule, error)

GetAlertMutingRule gets an existing AlertMutingRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAlertMutingRule added in v3.3.0

func NewAlertMutingRule(ctx *pulumi.Context,
	name string, args *AlertMutingRuleArgs, opts ...pulumi.ResourceOption) (*AlertMutingRule, error)

NewAlertMutingRule registers a new resource with the given unique name, arguments, and options.

func (*AlertMutingRule) ElementType added in v3.8.4

func (*AlertMutingRule) ElementType() reflect.Type

func (*AlertMutingRule) ToAlertMutingRuleOutput added in v3.8.4

func (i *AlertMutingRule) ToAlertMutingRuleOutput() AlertMutingRuleOutput

func (*AlertMutingRule) ToAlertMutingRuleOutputWithContext added in v3.8.4

func (i *AlertMutingRule) ToAlertMutingRuleOutputWithContext(ctx context.Context) AlertMutingRuleOutput

func (*AlertMutingRule) ToAlertMutingRulePtrOutput added in v3.13.1

func (i *AlertMutingRule) ToAlertMutingRulePtrOutput() AlertMutingRulePtrOutput

func (*AlertMutingRule) ToAlertMutingRulePtrOutputWithContext added in v3.13.1

func (i *AlertMutingRule) ToAlertMutingRulePtrOutputWithContext(ctx context.Context) AlertMutingRulePtrOutput

type AlertMutingRuleArgs added in v3.3.0

type AlertMutingRuleArgs struct {
	// The account id of the MutingRule.
	AccountId pulumi.IntPtrInput
	// The condition that defines which violations to target. See Nested condition blocks below for details.
	Condition AlertMutingRuleConditionInput
	// The description of the MutingRule.
	Description pulumi.StringPtrInput
	// Whether the MutingRule is enabled.
	Enabled pulumi.BoolInput
	// The name of the MutingRule.
	Name pulumi.StringPtrInput
	// Specify a schedule for enabling the MutingRule. See Schedule below for details
	Schedule AlertMutingRuleSchedulePtrInput
}

The set of arguments for constructing a AlertMutingRule resource.

func (AlertMutingRuleArgs) ElementType added in v3.3.0

func (AlertMutingRuleArgs) ElementType() reflect.Type

type AlertMutingRuleArray added in v3.13.1

type AlertMutingRuleArray []AlertMutingRuleInput

func (AlertMutingRuleArray) ElementType added in v3.13.1

func (AlertMutingRuleArray) ElementType() reflect.Type

func (AlertMutingRuleArray) ToAlertMutingRuleArrayOutput added in v3.13.1

func (i AlertMutingRuleArray) ToAlertMutingRuleArrayOutput() AlertMutingRuleArrayOutput

func (AlertMutingRuleArray) ToAlertMutingRuleArrayOutputWithContext added in v3.13.1

func (i AlertMutingRuleArray) ToAlertMutingRuleArrayOutputWithContext(ctx context.Context) AlertMutingRuleArrayOutput

type AlertMutingRuleArrayInput added in v3.13.1

type AlertMutingRuleArrayInput interface {
	pulumi.Input

	ToAlertMutingRuleArrayOutput() AlertMutingRuleArrayOutput
	ToAlertMutingRuleArrayOutputWithContext(context.Context) AlertMutingRuleArrayOutput
}

AlertMutingRuleArrayInput is an input type that accepts AlertMutingRuleArray and AlertMutingRuleArrayOutput values. You can construct a concrete instance of `AlertMutingRuleArrayInput` via:

AlertMutingRuleArray{ AlertMutingRuleArgs{...} }

type AlertMutingRuleArrayOutput added in v3.13.1

type AlertMutingRuleArrayOutput struct{ *pulumi.OutputState }

func (AlertMutingRuleArrayOutput) ElementType added in v3.13.1

func (AlertMutingRuleArrayOutput) ElementType() reflect.Type

func (AlertMutingRuleArrayOutput) Index added in v3.13.1

func (AlertMutingRuleArrayOutput) ToAlertMutingRuleArrayOutput added in v3.13.1

func (o AlertMutingRuleArrayOutput) ToAlertMutingRuleArrayOutput() AlertMutingRuleArrayOutput

func (AlertMutingRuleArrayOutput) ToAlertMutingRuleArrayOutputWithContext added in v3.13.1

func (o AlertMutingRuleArrayOutput) ToAlertMutingRuleArrayOutputWithContext(ctx context.Context) AlertMutingRuleArrayOutput

type AlertMutingRuleCondition added in v3.3.0

type AlertMutingRuleCondition struct {
	// The individual MutingRuleConditions within the group. See Nested conditions blocks below for details.
	Conditions []AlertMutingRuleConditionCondition `pulumi:"conditions"`
	// The operator used to combine all the MutingRuleConditions within the group.
	Operator string `pulumi:"operator"`
}

type AlertMutingRuleConditionArgs added in v3.3.0

type AlertMutingRuleConditionArgs struct {
	// The individual MutingRuleConditions within the group. See Nested conditions blocks below for details.
	Conditions AlertMutingRuleConditionConditionArrayInput `pulumi:"conditions"`
	// The operator used to combine all the MutingRuleConditions within the group.
	Operator pulumi.StringInput `pulumi:"operator"`
}

func (AlertMutingRuleConditionArgs) ElementType added in v3.3.0

func (AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionOutput added in v3.3.0

func (i AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionOutput() AlertMutingRuleConditionOutput

func (AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionOutputWithContext added in v3.3.0

func (i AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionOutputWithContext(ctx context.Context) AlertMutingRuleConditionOutput

func (AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionPtrOutput added in v3.3.0

func (i AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionPtrOutput() AlertMutingRuleConditionPtrOutput

func (AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionPtrOutputWithContext added in v3.3.0

func (i AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionPtrOutputWithContext(ctx context.Context) AlertMutingRuleConditionPtrOutput

type AlertMutingRuleConditionCondition added in v3.3.0

type AlertMutingRuleConditionCondition struct {
	// The attribute on a violation.
	Attribute string `pulumi:"attribute"`
	// The operator used to compare the attribute's value with the supplied value(s)
	Operator string `pulumi:"operator"`
	// The value(s) to compare against the attribute's value.
	Values []string `pulumi:"values"`
}

type AlertMutingRuleConditionConditionArgs added in v3.3.0

type AlertMutingRuleConditionConditionArgs struct {
	// The attribute on a violation.
	Attribute pulumi.StringInput `pulumi:"attribute"`
	// The operator used to compare the attribute's value with the supplied value(s)
	Operator pulumi.StringInput `pulumi:"operator"`
	// The value(s) to compare against the attribute's value.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (AlertMutingRuleConditionConditionArgs) ElementType added in v3.3.0

func (AlertMutingRuleConditionConditionArgs) ToAlertMutingRuleConditionConditionOutput added in v3.3.0

func (i AlertMutingRuleConditionConditionArgs) ToAlertMutingRuleConditionConditionOutput() AlertMutingRuleConditionConditionOutput

func (AlertMutingRuleConditionConditionArgs) ToAlertMutingRuleConditionConditionOutputWithContext added in v3.3.0

func (i AlertMutingRuleConditionConditionArgs) ToAlertMutingRuleConditionConditionOutputWithContext(ctx context.Context) AlertMutingRuleConditionConditionOutput

type AlertMutingRuleConditionConditionArray added in v3.3.0

type AlertMutingRuleConditionConditionArray []AlertMutingRuleConditionConditionInput

func (AlertMutingRuleConditionConditionArray) ElementType added in v3.3.0

func (AlertMutingRuleConditionConditionArray) ToAlertMutingRuleConditionConditionArrayOutput added in v3.3.0

func (i AlertMutingRuleConditionConditionArray) ToAlertMutingRuleConditionConditionArrayOutput() AlertMutingRuleConditionConditionArrayOutput

func (AlertMutingRuleConditionConditionArray) ToAlertMutingRuleConditionConditionArrayOutputWithContext added in v3.3.0

func (i AlertMutingRuleConditionConditionArray) ToAlertMutingRuleConditionConditionArrayOutputWithContext(ctx context.Context) AlertMutingRuleConditionConditionArrayOutput

type AlertMutingRuleConditionConditionArrayInput added in v3.3.0

type AlertMutingRuleConditionConditionArrayInput interface {
	pulumi.Input

	ToAlertMutingRuleConditionConditionArrayOutput() AlertMutingRuleConditionConditionArrayOutput
	ToAlertMutingRuleConditionConditionArrayOutputWithContext(context.Context) AlertMutingRuleConditionConditionArrayOutput
}

AlertMutingRuleConditionConditionArrayInput is an input type that accepts AlertMutingRuleConditionConditionArray and AlertMutingRuleConditionConditionArrayOutput values. You can construct a concrete instance of `AlertMutingRuleConditionConditionArrayInput` via:

AlertMutingRuleConditionConditionArray{ AlertMutingRuleConditionConditionArgs{...} }

type AlertMutingRuleConditionConditionArrayOutput added in v3.3.0

type AlertMutingRuleConditionConditionArrayOutput struct{ *pulumi.OutputState }

func (AlertMutingRuleConditionConditionArrayOutput) ElementType added in v3.3.0

func (AlertMutingRuleConditionConditionArrayOutput) Index added in v3.3.0

func (AlertMutingRuleConditionConditionArrayOutput) ToAlertMutingRuleConditionConditionArrayOutput added in v3.3.0

func (o AlertMutingRuleConditionConditionArrayOutput) ToAlertMutingRuleConditionConditionArrayOutput() AlertMutingRuleConditionConditionArrayOutput

func (AlertMutingRuleConditionConditionArrayOutput) ToAlertMutingRuleConditionConditionArrayOutputWithContext added in v3.3.0

func (o AlertMutingRuleConditionConditionArrayOutput) ToAlertMutingRuleConditionConditionArrayOutputWithContext(ctx context.Context) AlertMutingRuleConditionConditionArrayOutput

type AlertMutingRuleConditionConditionInput added in v3.3.0

type AlertMutingRuleConditionConditionInput interface {
	pulumi.Input

	ToAlertMutingRuleConditionConditionOutput() AlertMutingRuleConditionConditionOutput
	ToAlertMutingRuleConditionConditionOutputWithContext(context.Context) AlertMutingRuleConditionConditionOutput
}

AlertMutingRuleConditionConditionInput is an input type that accepts AlertMutingRuleConditionConditionArgs and AlertMutingRuleConditionConditionOutput values. You can construct a concrete instance of `AlertMutingRuleConditionConditionInput` via:

AlertMutingRuleConditionConditionArgs{...}

type AlertMutingRuleConditionConditionOutput added in v3.3.0

type AlertMutingRuleConditionConditionOutput struct{ *pulumi.OutputState }

func (AlertMutingRuleConditionConditionOutput) Attribute added in v3.3.0

The attribute on a violation.

func (AlertMutingRuleConditionConditionOutput) ElementType added in v3.3.0

func (AlertMutingRuleConditionConditionOutput) Operator added in v3.3.0

The operator used to compare the attribute's value with the supplied value(s)

func (AlertMutingRuleConditionConditionOutput) ToAlertMutingRuleConditionConditionOutput added in v3.3.0

func (o AlertMutingRuleConditionConditionOutput) ToAlertMutingRuleConditionConditionOutput() AlertMutingRuleConditionConditionOutput

func (AlertMutingRuleConditionConditionOutput) ToAlertMutingRuleConditionConditionOutputWithContext added in v3.3.0

func (o AlertMutingRuleConditionConditionOutput) ToAlertMutingRuleConditionConditionOutputWithContext(ctx context.Context) AlertMutingRuleConditionConditionOutput

func (AlertMutingRuleConditionConditionOutput) Values added in v3.3.0

The value(s) to compare against the attribute's value.

type AlertMutingRuleConditionInput added in v3.3.0

type AlertMutingRuleConditionInput interface {
	pulumi.Input

	ToAlertMutingRuleConditionOutput() AlertMutingRuleConditionOutput
	ToAlertMutingRuleConditionOutputWithContext(context.Context) AlertMutingRuleConditionOutput
}

AlertMutingRuleConditionInput is an input type that accepts AlertMutingRuleConditionArgs and AlertMutingRuleConditionOutput values. You can construct a concrete instance of `AlertMutingRuleConditionInput` via:

AlertMutingRuleConditionArgs{...}

type AlertMutingRuleConditionOutput added in v3.3.0

type AlertMutingRuleConditionOutput struct{ *pulumi.OutputState }

func (AlertMutingRuleConditionOutput) Conditions added in v3.3.0

The individual MutingRuleConditions within the group. See Nested conditions blocks below for details.

func (AlertMutingRuleConditionOutput) ElementType added in v3.3.0

func (AlertMutingRuleConditionOutput) Operator added in v3.3.0

The operator used to combine all the MutingRuleConditions within the group.

func (AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionOutput added in v3.3.0

func (o AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionOutput() AlertMutingRuleConditionOutput

func (AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionOutputWithContext added in v3.3.0

func (o AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionOutputWithContext(ctx context.Context) AlertMutingRuleConditionOutput

func (AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionPtrOutput added in v3.3.0

func (o AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionPtrOutput() AlertMutingRuleConditionPtrOutput

func (AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionPtrOutputWithContext added in v3.3.0

func (o AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionPtrOutputWithContext(ctx context.Context) AlertMutingRuleConditionPtrOutput

type AlertMutingRuleConditionPtrInput added in v3.3.0

type AlertMutingRuleConditionPtrInput interface {
	pulumi.Input

	ToAlertMutingRuleConditionPtrOutput() AlertMutingRuleConditionPtrOutput
	ToAlertMutingRuleConditionPtrOutputWithContext(context.Context) AlertMutingRuleConditionPtrOutput
}

AlertMutingRuleConditionPtrInput is an input type that accepts AlertMutingRuleConditionArgs, AlertMutingRuleConditionPtr and AlertMutingRuleConditionPtrOutput values. You can construct a concrete instance of `AlertMutingRuleConditionPtrInput` via:

        AlertMutingRuleConditionArgs{...}

or:

        nil

func AlertMutingRuleConditionPtr added in v3.3.0

func AlertMutingRuleConditionPtr(v *AlertMutingRuleConditionArgs) AlertMutingRuleConditionPtrInput

type AlertMutingRuleConditionPtrOutput added in v3.3.0

type AlertMutingRuleConditionPtrOutput struct{ *pulumi.OutputState }

func (AlertMutingRuleConditionPtrOutput) Conditions added in v3.3.0

The individual MutingRuleConditions within the group. See Nested conditions blocks below for details.

func (AlertMutingRuleConditionPtrOutput) Elem added in v3.3.0

func (AlertMutingRuleConditionPtrOutput) ElementType added in v3.3.0

func (AlertMutingRuleConditionPtrOutput) Operator added in v3.3.0

The operator used to combine all the MutingRuleConditions within the group.

func (AlertMutingRuleConditionPtrOutput) ToAlertMutingRuleConditionPtrOutput added in v3.3.0

func (o AlertMutingRuleConditionPtrOutput) ToAlertMutingRuleConditionPtrOutput() AlertMutingRuleConditionPtrOutput

func (AlertMutingRuleConditionPtrOutput) ToAlertMutingRuleConditionPtrOutputWithContext added in v3.3.0

func (o AlertMutingRuleConditionPtrOutput) ToAlertMutingRuleConditionPtrOutputWithContext(ctx context.Context) AlertMutingRuleConditionPtrOutput

type AlertMutingRuleInput added in v3.8.4

type AlertMutingRuleInput interface {
	pulumi.Input

	ToAlertMutingRuleOutput() AlertMutingRuleOutput
	ToAlertMutingRuleOutputWithContext(ctx context.Context) AlertMutingRuleOutput
}

type AlertMutingRuleMap added in v3.13.1

type AlertMutingRuleMap map[string]AlertMutingRuleInput

func (AlertMutingRuleMap) ElementType added in v3.13.1

func (AlertMutingRuleMap) ElementType() reflect.Type

func (AlertMutingRuleMap) ToAlertMutingRuleMapOutput added in v3.13.1

func (i AlertMutingRuleMap) ToAlertMutingRuleMapOutput() AlertMutingRuleMapOutput

func (AlertMutingRuleMap) ToAlertMutingRuleMapOutputWithContext added in v3.13.1

func (i AlertMutingRuleMap) ToAlertMutingRuleMapOutputWithContext(ctx context.Context) AlertMutingRuleMapOutput

type AlertMutingRuleMapInput added in v3.13.1

type AlertMutingRuleMapInput interface {
	pulumi.Input

	ToAlertMutingRuleMapOutput() AlertMutingRuleMapOutput
	ToAlertMutingRuleMapOutputWithContext(context.Context) AlertMutingRuleMapOutput
}

AlertMutingRuleMapInput is an input type that accepts AlertMutingRuleMap and AlertMutingRuleMapOutput values. You can construct a concrete instance of `AlertMutingRuleMapInput` via:

AlertMutingRuleMap{ "key": AlertMutingRuleArgs{...} }

type AlertMutingRuleMapOutput added in v3.13.1

type AlertMutingRuleMapOutput struct{ *pulumi.OutputState }

func (AlertMutingRuleMapOutput) ElementType added in v3.13.1

func (AlertMutingRuleMapOutput) ElementType() reflect.Type

func (AlertMutingRuleMapOutput) MapIndex added in v3.13.1

func (AlertMutingRuleMapOutput) ToAlertMutingRuleMapOutput added in v3.13.1

func (o AlertMutingRuleMapOutput) ToAlertMutingRuleMapOutput() AlertMutingRuleMapOutput

func (AlertMutingRuleMapOutput) ToAlertMutingRuleMapOutputWithContext added in v3.13.1

func (o AlertMutingRuleMapOutput) ToAlertMutingRuleMapOutputWithContext(ctx context.Context) AlertMutingRuleMapOutput

type AlertMutingRuleOutput added in v3.8.4

type AlertMutingRuleOutput struct {
	*pulumi.OutputState
}

func (AlertMutingRuleOutput) ElementType added in v3.8.4

func (AlertMutingRuleOutput) ElementType() reflect.Type

func (AlertMutingRuleOutput) ToAlertMutingRuleOutput added in v3.8.4

func (o AlertMutingRuleOutput) ToAlertMutingRuleOutput() AlertMutingRuleOutput

func (AlertMutingRuleOutput) ToAlertMutingRuleOutputWithContext added in v3.8.4

func (o AlertMutingRuleOutput) ToAlertMutingRuleOutputWithContext(ctx context.Context) AlertMutingRuleOutput

func (AlertMutingRuleOutput) ToAlertMutingRulePtrOutput added in v3.13.1

func (o AlertMutingRuleOutput) ToAlertMutingRulePtrOutput() AlertMutingRulePtrOutput

func (AlertMutingRuleOutput) ToAlertMutingRulePtrOutputWithContext added in v3.13.1

func (o AlertMutingRuleOutput) ToAlertMutingRulePtrOutputWithContext(ctx context.Context) AlertMutingRulePtrOutput

type AlertMutingRulePtrInput added in v3.13.1

type AlertMutingRulePtrInput interface {
	pulumi.Input

	ToAlertMutingRulePtrOutput() AlertMutingRulePtrOutput
	ToAlertMutingRulePtrOutputWithContext(ctx context.Context) AlertMutingRulePtrOutput
}

type AlertMutingRulePtrOutput added in v3.13.1

type AlertMutingRulePtrOutput struct {
	*pulumi.OutputState
}

func (AlertMutingRulePtrOutput) ElementType added in v3.13.1

func (AlertMutingRulePtrOutput) ElementType() reflect.Type

func (AlertMutingRulePtrOutput) ToAlertMutingRulePtrOutput added in v3.13.1

func (o AlertMutingRulePtrOutput) ToAlertMutingRulePtrOutput() AlertMutingRulePtrOutput

func (AlertMutingRulePtrOutput) ToAlertMutingRulePtrOutputWithContext added in v3.13.1

func (o AlertMutingRulePtrOutput) ToAlertMutingRulePtrOutputWithContext(ctx context.Context) AlertMutingRulePtrOutput

type AlertMutingRuleSchedule added in v3.13.0

type AlertMutingRuleSchedule struct {
	// The datetime stamp when the muting rule schedule stops repeating. This is in local ISO 8601 format without an offset. Example: '2020-07-10T15:00:00'. Conflicts with `repeatCount`
	EndRepeat *string `pulumi:"endRepeat"`
	// The datetime stamp that represents when the muting rule ends. This is in local ISO 8601 format without an offset. Example: '2020-07-15T14:30:00'
	EndTime *string `pulumi:"endTime"`
	// The frequency the muting rule schedule repeats. If it does not repeat, omit this field. Options are DAILY, WEEKLY, MONTHLY
	Repeat *string `pulumi:"repeat"`
	// The number of times the muting rule schedule repeats. This includes the original schedule. For example, a repeatCount of 2 will recur one time. Conflicts with `endRepeat`
	RepeatCount *int `pulumi:"repeatCount"`
	// The datetime stamp that represents when the muting rule starts. This is in local ISO 8601 format without an offset. Example: '2020-07-08T14:30:00'
	StartTime *string `pulumi:"startTime"`
	TimeZone  string  `pulumi:"timeZone"`
	// The day(s) of the week that a muting rule should repeat when the repeat field is set to 'WEEKLY'. Example: ['MONDAY', 'WEDNESDAY']
	WeeklyRepeatDays []string `pulumi:"weeklyRepeatDays"`
}

type AlertMutingRuleScheduleArgs added in v3.13.0

type AlertMutingRuleScheduleArgs struct {
	// The datetime stamp when the muting rule schedule stops repeating. This is in local ISO 8601 format without an offset. Example: '2020-07-10T15:00:00'. Conflicts with `repeatCount`
	EndRepeat pulumi.StringPtrInput `pulumi:"endRepeat"`
	// The datetime stamp that represents when the muting rule ends. This is in local ISO 8601 format without an offset. Example: '2020-07-15T14:30:00'
	EndTime pulumi.StringPtrInput `pulumi:"endTime"`
	// The frequency the muting rule schedule repeats. If it does not repeat, omit this field. Options are DAILY, WEEKLY, MONTHLY
	Repeat pulumi.StringPtrInput `pulumi:"repeat"`
	// The number of times the muting rule schedule repeats. This includes the original schedule. For example, a repeatCount of 2 will recur one time. Conflicts with `endRepeat`
	RepeatCount pulumi.IntPtrInput `pulumi:"repeatCount"`
	// The datetime stamp that represents when the muting rule starts. This is in local ISO 8601 format without an offset. Example: '2020-07-08T14:30:00'
	StartTime pulumi.StringPtrInput `pulumi:"startTime"`
	TimeZone  pulumi.StringInput    `pulumi:"timeZone"`
	// The day(s) of the week that a muting rule should repeat when the repeat field is set to 'WEEKLY'. Example: ['MONDAY', 'WEDNESDAY']
	WeeklyRepeatDays pulumi.StringArrayInput `pulumi:"weeklyRepeatDays"`
}

func (AlertMutingRuleScheduleArgs) ElementType added in v3.13.0

func (AlertMutingRuleScheduleArgs) ToAlertMutingRuleScheduleOutput added in v3.13.0

func (i AlertMutingRuleScheduleArgs) ToAlertMutingRuleScheduleOutput() AlertMutingRuleScheduleOutput

func (AlertMutingRuleScheduleArgs) ToAlertMutingRuleScheduleOutputWithContext added in v3.13.0

func (i AlertMutingRuleScheduleArgs) ToAlertMutingRuleScheduleOutputWithContext(ctx context.Context) AlertMutingRuleScheduleOutput

func (AlertMutingRuleScheduleArgs) ToAlertMutingRuleSchedulePtrOutput added in v3.13.0

func (i AlertMutingRuleScheduleArgs) ToAlertMutingRuleSchedulePtrOutput() AlertMutingRuleSchedulePtrOutput

func (AlertMutingRuleScheduleArgs) ToAlertMutingRuleSchedulePtrOutputWithContext added in v3.13.0

func (i AlertMutingRuleScheduleArgs) ToAlertMutingRuleSchedulePtrOutputWithContext(ctx context.Context) AlertMutingRuleSchedulePtrOutput

type AlertMutingRuleScheduleInput added in v3.13.0

type AlertMutingRuleScheduleInput interface {
	pulumi.Input

	ToAlertMutingRuleScheduleOutput() AlertMutingRuleScheduleOutput
	ToAlertMutingRuleScheduleOutputWithContext(context.Context) AlertMutingRuleScheduleOutput
}

AlertMutingRuleScheduleInput is an input type that accepts AlertMutingRuleScheduleArgs and AlertMutingRuleScheduleOutput values. You can construct a concrete instance of `AlertMutingRuleScheduleInput` via:

AlertMutingRuleScheduleArgs{...}

type AlertMutingRuleScheduleOutput added in v3.13.0

type AlertMutingRuleScheduleOutput struct{ *pulumi.OutputState }

func (AlertMutingRuleScheduleOutput) ElementType added in v3.13.0

func (AlertMutingRuleScheduleOutput) EndRepeat added in v3.13.0

The datetime stamp when the muting rule schedule stops repeating. This is in local ISO 8601 format without an offset. Example: '2020-07-10T15:00:00'. Conflicts with `repeatCount`

func (AlertMutingRuleScheduleOutput) EndTime added in v3.13.0

The datetime stamp that represents when the muting rule ends. This is in local ISO 8601 format without an offset. Example: '2020-07-15T14:30:00'

func (AlertMutingRuleScheduleOutput) Repeat added in v3.13.0

The frequency the muting rule schedule repeats. If it does not repeat, omit this field. Options are DAILY, WEEKLY, MONTHLY

func (AlertMutingRuleScheduleOutput) RepeatCount added in v3.13.0

The number of times the muting rule schedule repeats. This includes the original schedule. For example, a repeatCount of 2 will recur one time. Conflicts with `endRepeat`

func (AlertMutingRuleScheduleOutput) StartTime added in v3.13.0

The datetime stamp that represents when the muting rule starts. This is in local ISO 8601 format without an offset. Example: '2020-07-08T14:30:00'

func (AlertMutingRuleScheduleOutput) TimeZone added in v3.13.0

func (AlertMutingRuleScheduleOutput) ToAlertMutingRuleScheduleOutput added in v3.13.0

func (o AlertMutingRuleScheduleOutput) ToAlertMutingRuleScheduleOutput() AlertMutingRuleScheduleOutput

func (AlertMutingRuleScheduleOutput) ToAlertMutingRuleScheduleOutputWithContext added in v3.13.0

func (o AlertMutingRuleScheduleOutput) ToAlertMutingRuleScheduleOutputWithContext(ctx context.Context) AlertMutingRuleScheduleOutput

func (AlertMutingRuleScheduleOutput) ToAlertMutingRuleSchedulePtrOutput added in v3.13.0

func (o AlertMutingRuleScheduleOutput) ToAlertMutingRuleSchedulePtrOutput() AlertMutingRuleSchedulePtrOutput

func (AlertMutingRuleScheduleOutput) ToAlertMutingRuleSchedulePtrOutputWithContext added in v3.13.0

func (o AlertMutingRuleScheduleOutput) ToAlertMutingRuleSchedulePtrOutputWithContext(ctx context.Context) AlertMutingRuleSchedulePtrOutput

func (AlertMutingRuleScheduleOutput) WeeklyRepeatDays added in v3.13.0

The day(s) of the week that a muting rule should repeat when the repeat field is set to 'WEEKLY'. Example: ['MONDAY', 'WEDNESDAY']

type AlertMutingRuleSchedulePtrInput added in v3.13.0

type AlertMutingRuleSchedulePtrInput interface {
	pulumi.Input

	ToAlertMutingRuleSchedulePtrOutput() AlertMutingRuleSchedulePtrOutput
	ToAlertMutingRuleSchedulePtrOutputWithContext(context.Context) AlertMutingRuleSchedulePtrOutput
}

AlertMutingRuleSchedulePtrInput is an input type that accepts AlertMutingRuleScheduleArgs, AlertMutingRuleSchedulePtr and AlertMutingRuleSchedulePtrOutput values. You can construct a concrete instance of `AlertMutingRuleSchedulePtrInput` via:

        AlertMutingRuleScheduleArgs{...}

or:

        nil

func AlertMutingRuleSchedulePtr added in v3.13.0

func AlertMutingRuleSchedulePtr(v *AlertMutingRuleScheduleArgs) AlertMutingRuleSchedulePtrInput

type AlertMutingRuleSchedulePtrOutput added in v3.13.0

type AlertMutingRuleSchedulePtrOutput struct{ *pulumi.OutputState }

func (AlertMutingRuleSchedulePtrOutput) Elem added in v3.13.0

func (AlertMutingRuleSchedulePtrOutput) ElementType added in v3.13.0

func (AlertMutingRuleSchedulePtrOutput) EndRepeat added in v3.13.0

The datetime stamp when the muting rule schedule stops repeating. This is in local ISO 8601 format without an offset. Example: '2020-07-10T15:00:00'. Conflicts with `repeatCount`

func (AlertMutingRuleSchedulePtrOutput) EndTime added in v3.13.0

The datetime stamp that represents when the muting rule ends. This is in local ISO 8601 format without an offset. Example: '2020-07-15T14:30:00'

func (AlertMutingRuleSchedulePtrOutput) Repeat added in v3.13.0

The frequency the muting rule schedule repeats. If it does not repeat, omit this field. Options are DAILY, WEEKLY, MONTHLY

func (AlertMutingRuleSchedulePtrOutput) RepeatCount added in v3.13.0

The number of times the muting rule schedule repeats. This includes the original schedule. For example, a repeatCount of 2 will recur one time. Conflicts with `endRepeat`

func (AlertMutingRuleSchedulePtrOutput) StartTime added in v3.13.0

The datetime stamp that represents when the muting rule starts. This is in local ISO 8601 format without an offset. Example: '2020-07-08T14:30:00'

func (AlertMutingRuleSchedulePtrOutput) TimeZone added in v3.13.0

func (AlertMutingRuleSchedulePtrOutput) ToAlertMutingRuleSchedulePtrOutput added in v3.13.0

func (o AlertMutingRuleSchedulePtrOutput) ToAlertMutingRuleSchedulePtrOutput() AlertMutingRuleSchedulePtrOutput

func (AlertMutingRuleSchedulePtrOutput) ToAlertMutingRuleSchedulePtrOutputWithContext added in v3.13.0

func (o AlertMutingRuleSchedulePtrOutput) ToAlertMutingRuleSchedulePtrOutputWithContext(ctx context.Context) AlertMutingRuleSchedulePtrOutput

func (AlertMutingRuleSchedulePtrOutput) WeeklyRepeatDays added in v3.13.0

The day(s) of the week that a muting rule should repeat when the repeat field is set to 'WEEKLY'. Example: ['MONDAY', 'WEDNESDAY']

type AlertMutingRuleState added in v3.3.0

type AlertMutingRuleState struct {
	// The account id of the MutingRule.
	AccountId pulumi.IntPtrInput
	// The condition that defines which violations to target. See Nested condition blocks below for details.
	Condition AlertMutingRuleConditionPtrInput
	// The description of the MutingRule.
	Description pulumi.StringPtrInput
	// Whether the MutingRule is enabled.
	Enabled pulumi.BoolPtrInput
	// The name of the MutingRule.
	Name pulumi.StringPtrInput
	// Specify a schedule for enabling the MutingRule. See Schedule below for details
	Schedule AlertMutingRuleSchedulePtrInput
}

func (AlertMutingRuleState) ElementType added in v3.3.0

func (AlertMutingRuleState) ElementType() reflect.Type

type AlertPolicy

type AlertPolicy struct {
	pulumi.CustomResourceState

	// The New Relic account ID to operate on.  This allows the user to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
	AccountId pulumi.IntOutput `pulumi:"accountId"`
	// An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs _cannot_ be imported.
	ChannelIds pulumi.IntArrayOutput `pulumi:"channelIds"`
	// The rollup strategy for the policy.  Options include: `PER_POLICY`, `PER_CONDITION`, or `PER_CONDITION_AND_TARGET`.  The default is `PER_POLICY`.
	IncidentPreference pulumi.StringPtrOutput `pulumi:"incidentPreference"`
	// The name of the policy.
	Name pulumi.StringOutput `pulumi:"name"`
}

Use this resource to create and manage New Relic alert policies.

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-newrelic/sdk/v3/go/newrelic"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewAlertPolicy(ctx, "foo", &newrelic.AlertPolicyArgs{
			IncidentPreference: pulumi.String("PER_POLICY"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Alert policies can be imported using a composite ID of `<id>:<account_id>`, where `account_id` is the account number scoped to the alert policy resource. Example import

```sh

$ pulumi import newrelic:index/alertPolicy:AlertPolicy foo 23423556:4593020

```

Please note that channel IDs (`channel_ids`) _cannot_ be imported due channels being a separate resource. However, to add channels to an imported alert policy, you can import the policy, add the `channel_ids` attribute with the associated channel IDs, then run `terraform apply`. This will result in the original alert policy being destroyed and a new alert policy being created along with the channels being added to the policy.

func GetAlertPolicy

func GetAlertPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AlertPolicyState, opts ...pulumi.ResourceOption) (*AlertPolicy, error)

GetAlertPolicy gets an existing AlertPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAlertPolicy

func NewAlertPolicy(ctx *pulumi.Context,
	name string, args *AlertPolicyArgs, opts ...pulumi.ResourceOption) (*AlertPolicy, error)

NewAlertPolicy registers a new resource with the given unique name, arguments, and options.

func (*AlertPolicy) ElementType added in v3.8.4

func (*AlertPolicy) ElementType() reflect.Type

func (*AlertPolicy) ToAlertPolicyOutput added in v3.8.4

func (i *AlertPolicy) ToAlertPolicyOutput() AlertPolicyOutput

func (*AlertPolicy) ToAlertPolicyOutputWithContext added in v3.8.4

func (i *AlertPolicy) ToAlertPolicyOutputWithContext(ctx context.Context) AlertPolicyOutput

func (*AlertPolicy) ToAlertPolicyPtrOutput added in v3.13.1

func (i *AlertPolicy) ToAlertPolicyPtrOutput() AlertPolicyPtrOutput

func (*AlertPolicy) ToAlertPolicyPtrOutputWithContext added in v3.13.1

func (i *AlertPolicy) ToAlertPolicyPtrOutputWithContext(ctx context.Context) AlertPolicyPtrOutput

type AlertPolicyArgs

type AlertPolicyArgs struct {
	// The New Relic account ID to operate on.  This allows the user to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
	AccountId pulumi.IntPtrInput
	// An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs _cannot_ be imported.
	ChannelIds pulumi.IntArrayInput
	// The rollup strategy for the policy.  Options include: `PER_POLICY`, `PER_CONDITION`, or `PER_CONDITION_AND_TARGET`.  The default is `PER_POLICY`.
	IncidentPreference pulumi.StringPtrInput
	// The name of the policy.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a AlertPolicy resource.

func (AlertPolicyArgs) ElementType

func (AlertPolicyArgs) ElementType() reflect.Type

type AlertPolicyArray added in v3.13.1

type AlertPolicyArray []AlertPolicyInput

func (AlertPolicyArray) ElementType added in v3.13.1

func (AlertPolicyArray) ElementType() reflect.Type

func (AlertPolicyArray) ToAlertPolicyArrayOutput added in v3.13.1

func (i AlertPolicyArray) ToAlertPolicyArrayOutput() AlertPolicyArrayOutput

func (AlertPolicyArray) ToAlertPolicyArrayOutputWithContext added in v3.13.1

func (i AlertPolicyArray) ToAlertPolicyArrayOutputWithContext(ctx context.Context) AlertPolicyArrayOutput

type AlertPolicyArrayInput added in v3.13.1

type AlertPolicyArrayInput interface {
	pulumi.Input

	ToAlertPolicyArrayOutput() AlertPolicyArrayOutput
	ToAlertPolicyArrayOutputWithContext(context.Context) AlertPolicyArrayOutput
}

AlertPolicyArrayInput is an input type that accepts AlertPolicyArray and AlertPolicyArrayOutput values. You can construct a concrete instance of `AlertPolicyArrayInput` via:

AlertPolicyArray{ AlertPolicyArgs{...} }

type AlertPolicyArrayOutput added in v3.13.1

type AlertPolicyArrayOutput struct{ *pulumi.OutputState }

func (AlertPolicyArrayOutput) ElementType added in v3.13.1

func (AlertPolicyArrayOutput) ElementType() reflect.Type

func (AlertPolicyArrayOutput) Index added in v3.13.1

func (AlertPolicyArrayOutput) ToAlertPolicyArrayOutput added in v3.13.1

func (o AlertPolicyArrayOutput) ToAlertPolicyArrayOutput() AlertPolicyArrayOutput

func (AlertPolicyArrayOutput) ToAlertPolicyArrayOutputWithContext added in v3.13.1

func (o AlertPolicyArrayOutput) ToAlertPolicyArrayOutputWithContext(ctx context.Context) AlertPolicyArrayOutput

type AlertPolicyChannel

type AlertPolicyChannel struct {
	pulumi.CustomResourceState

	// Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
	ChannelIds pulumi.IntArrayOutput `pulumi:"channelIds"`
	// The ID of the policy.
	PolicyId pulumi.IntOutput `pulumi:"policyId"`
}

Use this resource to map alert policies to alert channels in New Relic.

## Example Usage

The example below will apply multiple alert channels to an existing New Relic alert policy.

```go package main

import (

"github.com/pulumi/pulumi-newrelic/sdk/v3/go/newrelic"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.LookupAlertPolicy(ctx, &newrelic.LookupAlertPolicyArgs{
			Name: "my-alert-policy",
		}, nil)
		if err != nil {
			return err
		}
		emailChannel, err := newrelic.NewAlertChannel(ctx, "emailChannel", &newrelic.AlertChannelArgs{
			Type: pulumi.String("email"),
			Config: &newrelic.AlertChannelConfigArgs{
				Recipients:            pulumi.String("foo@example.com"),
				IncludeJsonAttachment: pulumi.String("1"),
			},
		})
		if err != nil {
			return err
		}
		slackChannel, err := newrelic.NewAlertChannel(ctx, "slackChannel", &newrelic.AlertChannelArgs{
			Type: pulumi.String("slack"),
			Config: &newrelic.AlertChannelConfigArgs{
				Channel: pulumi.String("#example-channel"),
				Url:     pulumi.String("http://example-org.slack.com"),
			},
		})
		if err != nil {
			return err
		}
		_, err = newrelic.NewAlertPolicyChannel(ctx, "foo", &newrelic.AlertPolicyChannelArgs{
			PolicyId: pulumi.Any(newrelic_alert_policy.Example_policy.Id),
			ChannelIds: pulumi.IntArray{
				emailChannel.ID(),
				slackChannel.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Alert policy channels can be imported using the following notation`<policyID>:<channelID>:<channelID>`, e.g.

```sh

$ pulumi import newrelic:index/alertPolicyChannel:AlertPolicyChannel foo 123456:3462754:2938324

```

When importing `newrelic_alert_policy_channel` resource, the attribute `channel_ids`\* will be set in your Terraform state. You can import multiple channels as long as those channel IDs are included as part of the import ID hash.

func GetAlertPolicyChannel

func GetAlertPolicyChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AlertPolicyChannelState, opts ...pulumi.ResourceOption) (*AlertPolicyChannel, error)

GetAlertPolicyChannel gets an existing AlertPolicyChannel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAlertPolicyChannel

func NewAlertPolicyChannel(ctx *pulumi.Context,
	name string, args *AlertPolicyChannelArgs, opts ...pulumi.ResourceOption) (*AlertPolicyChannel, error)

NewAlertPolicyChannel registers a new resource with the given unique name, arguments, and options.

func (*AlertPolicyChannel) ElementType added in v3.8.4

func (*AlertPolicyChannel) ElementType() reflect.Type

func (*AlertPolicyChannel) ToAlertPolicyChannelOutput added in v3.8.4

func (i *AlertPolicyChannel) ToAlertPolicyChannelOutput() AlertPolicyChannelOutput

func (*AlertPolicyChannel) ToAlertPolicyChannelOutputWithContext added in v3.8.4

func (i *AlertPolicyChannel) ToAlertPolicyChannelOutputWithContext(ctx context.Context) AlertPolicyChannelOutput

func (*AlertPolicyChannel) ToAlertPolicyChannelPtrOutput added in v3.13.1

func (i *AlertPolicyChannel) ToAlertPolicyChannelPtrOutput() AlertPolicyChannelPtrOutput

func (*AlertPolicyChannel) ToAlertPolicyChannelPtrOutputWithContext added in v3.13.1

func (i *AlertPolicyChannel) ToAlertPolicyChannelPtrOutputWithContext(ctx context.Context) AlertPolicyChannelPtrOutput

type AlertPolicyChannelArgs

type AlertPolicyChannelArgs struct {
	// Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
	ChannelIds pulumi.IntArrayInput
	// The ID of the policy.
	PolicyId pulumi.IntInput
}

The set of arguments for constructing a AlertPolicyChannel resource.

func (AlertPolicyChannelArgs) ElementType

func (AlertPolicyChannelArgs) ElementType() reflect.Type

type AlertPolicyChannelArray added in v3.13.1

type AlertPolicyChannelArray []AlertPolicyChannelInput

func (AlertPolicyChannelArray) ElementType added in v3.13.1

func (AlertPolicyChannelArray) ElementType() reflect.Type

func (AlertPolicyChannelArray) ToAlertPolicyChannelArrayOutput added in v3.13.1

func (i AlertPolicyChannelArray) ToAlertPolicyChannelArrayOutput() AlertPolicyChannelArrayOutput

func (AlertPolicyChannelArray) ToAlertPolicyChannelArrayOutputWithContext added in v3.13.1

func (i AlertPolicyChannelArray) ToAlertPolicyChannelArrayOutputWithContext(ctx context.Context) AlertPolicyChannelArrayOutput

type AlertPolicyChannelArrayInput added in v3.13.1

type AlertPolicyChannelArrayInput interface {
	pulumi.Input

	ToAlertPolicyChannelArrayOutput() AlertPolicyChannelArrayOutput
	ToAlertPolicyChannelArrayOutputWithContext(context.Context) AlertPolicyChannelArrayOutput
}

AlertPolicyChannelArrayInput is an input type that accepts AlertPolicyChannelArray and AlertPolicyChannelArrayOutput values. You can construct a concrete instance of `AlertPolicyChannelArrayInput` via:

AlertPolicyChannelArray{ AlertPolicyChannelArgs{...} }

type AlertPolicyChannelArrayOutput added in v3.13.1

type AlertPolicyChannelArrayOutput struct{ *pulumi.OutputState }

func (AlertPolicyChannelArrayOutput) ElementType added in v3.13.1

func (AlertPolicyChannelArrayOutput) Index added in v3.13.1

func (AlertPolicyChannelArrayOutput) ToAlertPolicyChannelArrayOutput added in v3.13.1

func (o AlertPolicyChannelArrayOutput) ToAlertPolicyChannelArrayOutput() AlertPolicyChannelArrayOutput

func (AlertPolicyChannelArrayOutput) ToAlertPolicyChannelArrayOutputWithContext added in v3.13.1

func (o AlertPolicyChannelArrayOutput) ToAlertPolicyChannelArrayOutputWithContext(ctx context.Context) AlertPolicyChannelArrayOutput

type AlertPolicyChannelInput added in v3.8.4

type AlertPolicyChannelInput interface {
	pulumi.Input

	ToAlertPolicyChannelOutput() AlertPolicyChannelOutput
	ToAlertPolicyChannelOutputWithContext(ctx context.Context) AlertPolicyChannelOutput
}

type AlertPolicyChannelMap added in v3.13.1

type AlertPolicyChannelMap map[string]AlertPolicyChannelInput

func (AlertPolicyChannelMap) ElementType added in v3.13.1

func (AlertPolicyChannelMap) ElementType() reflect.Type

func (AlertPolicyChannelMap) ToAlertPolicyChannelMapOutput added in v3.13.1

func (i AlertPolicyChannelMap) ToAlertPolicyChannelMapOutput() AlertPolicyChannelMapOutput

func (AlertPolicyChannelMap) ToAlertPolicyChannelMapOutputWithContext added in v3.13.1

func (i AlertPolicyChannelMap) ToAlertPolicyChannelMapOutputWithContext(ctx context.Context) AlertPolicyChannelMapOutput

type AlertPolicyChannelMapInput added in v3.13.1

type AlertPolicyChannelMapInput interface {
	pulumi.Input

	ToAlertPolicyChannelMapOutput() AlertPolicyChannelMapOutput
	ToAlertPolicyChannelMapOutputWithContext(context.Context) AlertPolicyChannelMapOutput
}

AlertPolicyChannelMapInput is an input type that accepts AlertPolicyChannelMap and AlertPolicyChannelMapOutput values. You can construct a concrete instance of `AlertPolicyChannelMapInput` via:

AlertPolicyChannelMap{ "key": AlertPolicyChannelArgs{...} }

type AlertPolicyChannelMapOutput added in v3.13.1

type AlertPolicyChannelMapOutput struct{ *pulumi.OutputState }

func (AlertPolicyChannelMapOutput) ElementType added in v3.13.1

func (AlertPolicyChannelMapOutput) MapIndex added in v3.13.1

func (AlertPolicyChannelMapOutput) ToAlertPolicyChannelMapOutput added in v3.13.1

func (o AlertPolicyChannelMapOutput) ToAlertPolicyChannelMapOutput() AlertPolicyChannelMapOutput

func (AlertPolicyChannelMapOutput) ToAlertPolicyChannelMapOutputWithContext added in v3.13.1

func (o AlertPolicyChannelMapOutput) ToAlertPolicyChannelMapOutputWithContext(ctx context.Context) AlertPolicyChannelMapOutput

type AlertPolicyChannelOutput added in v3.8.4

type AlertPolicyChannelOutput struct {
	*pulumi.OutputState
}

func (AlertPolicyChannelOutput) ElementType added in v3.8.4

func (AlertPolicyChannelOutput) ElementType() reflect.Type

func (AlertPolicyChannelOutput) ToAlertPolicyChannelOutput added in v3.8.4

func (o AlertPolicyChannelOutput) ToAlertPolicyChannelOutput() AlertPolicyChannelOutput

func (AlertPolicyChannelOutput) ToAlertPolicyChannelOutputWithContext added in v3.8.4

func (o AlertPolicyChannelOutput) ToAlertPolicyChannelOutputWithContext(ctx context.Context) AlertPolicyChannelOutput

func (AlertPolicyChannelOutput) ToAlertPolicyChannelPtrOutput added in v3.13.1

func (o AlertPolicyChannelOutput) ToAlertPolicyChannelPtrOutput() AlertPolicyChannelPtrOutput

func (AlertPolicyChannelOutput) ToAlertPolicyChannelPtrOutputWithContext added in v3.13.1

func (o AlertPolicyChannelOutput) ToAlertPolicyChannelPtrOutputWithContext(ctx context.Context) AlertPolicyChannelPtrOutput

type AlertPolicyChannelPtrInput added in v3.13.1

type AlertPolicyChannelPtrInput interface {
	pulumi.Input

	ToAlertPolicyChannelPtrOutput() AlertPolicyChannelPtrOutput
	ToAlertPolicyChannelPtrOutputWithContext(ctx context.Context) AlertPolicyChannelPtrOutput
}

type AlertPolicyChannelPtrOutput added in v3.13.1

type AlertPolicyChannelPtrOutput struct {
	*pulumi.OutputState
}

func (AlertPolicyChannelPtrOutput) ElementType added in v3.13.1

func (AlertPolicyChannelPtrOutput) ToAlertPolicyChannelPtrOutput added in v3.13.1

func (o AlertPolicyChannelPtrOutput) ToAlertPolicyChannelPtrOutput() AlertPolicyChannelPtrOutput

func (AlertPolicyChannelPtrOutput) ToAlertPolicyChannelPtrOutputWithContext added in v3.13.1

func (o AlertPolicyChannelPtrOutput) ToAlertPolicyChannelPtrOutputWithContext(ctx context.Context) AlertPolicyChannelPtrOutput

type AlertPolicyChannelState

type AlertPolicyChannelState struct {
	// Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
	ChannelIds pulumi.IntArrayInput
	// The ID of the policy.
	PolicyId pulumi.IntPtrInput
}

func (AlertPolicyChannelState) ElementType

func (AlertPolicyChannelState) ElementType() reflect.Type

type AlertPolicyInput added in v3.8.4

type AlertPolicyInput interface {
	pulumi.Input

	ToAlertPolicyOutput() AlertPolicyOutput
	ToAlertPolicyOutputWithContext(ctx context.Context) AlertPolicyOutput
}

type AlertPolicyMap added in v3.13.1

type AlertPolicyMap map[string]AlertPolicyInput

func (AlertPolicyMap) ElementType added in v3.13.1

func (AlertPolicyMap) ElementType() reflect.Type

func (AlertPolicyMap) ToAlertPolicyMapOutput added in v3.13.1

func (i AlertPolicyMap) ToAlertPolicyMapOutput() AlertPolicyMapOutput

func (AlertPolicyMap) ToAlertPolicyMapOutputWithContext added in v3.13.1

func (i AlertPolicyMap) ToAlertPolicyMapOutputWithContext(ctx context.Context) AlertPolicyMapOutput

type AlertPolicyMapInput added in v3.13.1

type AlertPolicyMapInput interface {
	pulumi.Input

	ToAlertPolicyMapOutput() AlertPolicyMapOutput
	ToAlertPolicyMapOutputWithContext(context.Context) AlertPolicyMapOutput
}

AlertPolicyMapInput is an input type that accepts AlertPolicyMap and AlertPolicyMapOutput values. You can construct a concrete instance of `AlertPolicyMapInput` via:

AlertPolicyMap{ "key": AlertPolicyArgs{...} }

type AlertPolicyMapOutput added in v3.13.1

type AlertPolicyMapOutput struct{ *pulumi.OutputState }

func (AlertPolicyMapOutput) ElementType added in v3.13.1

func (AlertPolicyMapOutput) ElementType() reflect.Type

func (AlertPolicyMapOutput) MapIndex added in v3.13.1

func (AlertPolicyMapOutput) ToAlertPolicyMapOutput added in v3.13.1

func (o AlertPolicyMapOutput) ToAlertPolicyMapOutput() AlertPolicyMapOutput

func (AlertPolicyMapOutput) ToAlertPolicyMapOutputWithContext added in v3.13.1

func (o AlertPolicyMapOutput) ToAlertPolicyMapOutputWithContext(ctx context.Context) AlertPolicyMapOutput

type AlertPolicyOutput added in v3.8.4

type AlertPolicyOutput struct {
	*pulumi.OutputState
}

func (AlertPolicyOutput) ElementType added in v3.8.4

func (AlertPolicyOutput) ElementType() reflect.Type

func (AlertPolicyOutput) ToAlertPolicyOutput added in v3.8.4

func (o AlertPolicyOutput) ToAlertPolicyOutput() AlertPolicyOutput

func (AlertPolicyOutput) ToAlertPolicyOutputWithContext added in v3.8.4

func (o AlertPolicyOutput) ToAlertPolicyOutputWithContext(ctx context.Context) AlertPolicyOutput

func (AlertPolicyOutput) ToAlertPolicyPtrOutput added in v3.13.1

func (o AlertPolicyOutput) ToAlertPolicyPtrOutput() AlertPolicyPtrOutput

func (AlertPolicyOutput) ToAlertPolicyPtrOutputWithContext added in v3.13.1

func (o AlertPolicyOutput) ToAlertPolicyPtrOutputWithContext(ctx context.Context) AlertPolicyPtrOutput

type AlertPolicyPtrInput added in v3.13.1

type AlertPolicyPtrInput interface {
	pulumi.Input

	ToAlertPolicyPtrOutput() AlertPolicyPtrOutput
	ToAlertPolicyPtrOutputWithContext(ctx context.Context) AlertPolicyPtrOutput
}

type AlertPolicyPtrOutput added in v3.13.1

type AlertPolicyPtrOutput struct {
	*pulumi.OutputState
}

func (AlertPolicyPtrOutput) ElementType added in v3.13.1

func (AlertPolicyPtrOutput) ElementType() reflect.Type

func (AlertPolicyPtrOutput) ToAlertPolicyPtrOutput added in v3.13.1

func (o AlertPolicyPtrOutput) ToAlertPolicyPtrOutput() AlertPolicyPtrOutput

func (AlertPolicyPtrOutput) ToAlertPolicyPtrOutputWithContext added in v3.13.1

func (o AlertPolicyPtrOutput) ToAlertPolicyPtrOutputWithContext(ctx context.Context) AlertPolicyPtrOutput

type AlertPolicyState

type AlertPolicyState struct {
	// The New Relic account ID to operate on.  This allows the user to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
	AccountId pulumi.IntPtrInput
	// An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs _cannot_ be imported.
	ChannelIds pulumi.IntArrayInput
	// The rollup strategy for the policy.  Options include: `PER_POLICY`, `PER_CONDITION`, or `PER_CONDITION_AND_TARGET`.  The default is `PER_POLICY`.
	IncidentPreference pulumi.StringPtrInput
	// The name of the policy.
	Name pulumi.StringPtrInput
}

func (AlertPolicyState) ElementType

func (AlertPolicyState) ElementType() reflect.Type

type ApiAccessKey added in v3.3.0

type ApiAccessKey struct {
	pulumi.CustomResourceState

	// The New Relic account ID of the account you wish to create the API access key.
	AccountId pulumi.IntOutput `pulumi:"accountId"`
	// Required if `keyType = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
	IngestType pulumi.StringOutput `pulumi:"ingestType"`
	// The actual API key. This attribute is masked and not be visible in your terminal, CI, etc.
	Key pulumi.StringOutput `pulumi:"key"`
	// What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
	KeyType pulumi.StringOutput `pulumi:"keyType"`
	// The name of the key.
	Name pulumi.StringOutput `pulumi:"name"`
	// Any notes about this ingest key.
	Notes pulumi.StringOutput `pulumi:"notes"`
	// Required if `keyType = USER`. The New Relic user ID yous wish to create the API access key for in an account.
	UserId pulumi.IntOutput `pulumi:"userId"`
}

Use this resource to programmatically create and manage the following types of keys: - [User API keys](https://docs.newrelic.com/docs/apis/get-started/intro-apis/types-new-relic-api-keys#user-api-key) - License (or ingest) keys, including:

Please visit the New Relic article ['Use NerdGraph to manage license keys and User API keys'](https://docs.newrelic.com/docs/apis/nerdgraph/examples/use-nerdgraph-manage-license-keys-user-keys) for more information.

> **IMPORTANT!** Please be very careful when updating existing `ApiAccessKey` resources as only `newrelic_api_access_key.name` and `newrelic_api_access_key.notes` are updatable. All other resource attributes will force a resource recreation which will invalidate the previous API key(s).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-newrelic/sdk/v3/go/newrelic"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewApiAccessKey(ctx, "foobar", &newrelic.ApiAccessKeyArgs{
			AccountId:  pulumi.Int(1234567),
			IngestType: pulumi.String("LICENSE"),
			KeyType:    pulumi.String("INGEST"),
			Notes:      pulumi.String("To be used with service X"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Existing API access keys can be imported using a composite ID of `<api_access_key_id>:<key_type>`. `<key_type>` will be either `INGEST` or `USER`. For example

```sh

$ pulumi import newrelic:index/apiAccessKey:ApiAccessKey foobar "1234567:INGEST"

```

func GetApiAccessKey added in v3.3.0

func GetApiAccessKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApiAccessKeyState, opts ...pulumi.ResourceOption) (*ApiAccessKey, error)

GetApiAccessKey gets an existing ApiAccessKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApiAccessKey added in v3.3.0

func NewApiAccessKey(ctx *pulumi.Context,
	name string, args *ApiAccessKeyArgs, opts ...pulumi.ResourceOption) (*ApiAccessKey, error)

NewApiAccessKey registers a new resource with the given unique name, arguments, and options.

func (*ApiAccessKey) ElementType added in v3.8.4

func (*ApiAccessKey) ElementType() reflect.Type

func (*ApiAccessKey) ToApiAccessKeyOutput added in v3.8.4

func (i *ApiAccessKey) ToApiAccessKeyOutput() ApiAccessKeyOutput

func (*ApiAccessKey) ToApiAccessKeyOutputWithContext added in v3.8.4

func (i *ApiAccessKey) ToApiAccessKeyOutputWithContext(ctx context.Context) ApiAccessKeyOutput

func (*ApiAccessKey) ToApiAccessKeyPtrOutput added in v3.13.1

func (i *ApiAccessKey) ToApiAccessKeyPtrOutput() ApiAccessKeyPtrOutput

func (*ApiAccessKey) ToApiAccessKeyPtrOutputWithContext added in v3.13.1

func (i *ApiAccessKey) ToApiAccessKeyPtrOutputWithContext(ctx context.Context) ApiAccessKeyPtrOutput

type ApiAccessKeyArgs added in v3.3.0

type ApiAccessKeyArgs struct {
	// The New Relic account ID of the account you wish to create the API access key.
	AccountId pulumi.IntInput
	// Required if `keyType = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
	IngestType pulumi.StringPtrInput
	// What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
	KeyType pulumi.StringInput
	// The name of the key.
	Name pulumi.StringPtrInput
	// Any notes about this ingest key.
	Notes pulumi.StringPtrInput
	// Required if `keyType = USER`. The New Relic user ID yous wish to create the API access key for in an account.
	UserId pulumi.IntPtrInput
}

The set of arguments for constructing a ApiAccessKey resource.

func (ApiAccessKeyArgs) ElementType added in v3.3.0

func (ApiAccessKeyArgs) ElementType() reflect.Type

type ApiAccessKeyArray added in v3.13.1

type ApiAccessKeyArray []ApiAccessKeyInput

func (ApiAccessKeyArray) ElementType added in v3.13.1

func (ApiAccessKeyArray) ElementType() reflect.Type

func (ApiAccessKeyArray) ToApiAccessKeyArrayOutput added in v3.13.1

func (i ApiAccessKeyArray) ToApiAccessKeyArrayOutput() ApiAccessKeyArrayOutput

func (ApiAccessKeyArray) ToApiAccessKeyArrayOutputWithContext added in v3.13.1

func (i ApiAccessKeyArray) ToApiAccessKeyArrayOutputWithContext(ctx context.Context) ApiAccessKeyArrayOutput

type ApiAccessKeyArrayInput added in v3.13.1

type ApiAccessKeyArrayInput interface {
	pulumi.Input

	ToApiAccessKeyArrayOutput() ApiAccessKeyArrayOutput
	ToApiAccessKeyArrayOutputWithContext(context.Context) ApiAccessKeyArrayOutput
}

ApiAccessKeyArrayInput is an input type that accepts ApiAccessKeyArray and ApiAccessKeyArrayOutput values. You can construct a concrete instance of `ApiAccessKeyArrayInput` via:

ApiAccessKeyArray{ ApiAccessKeyArgs{...} }

type ApiAccessKeyArrayOutput added in v3.13.1

type ApiAccessKeyArrayOutput struct{ *pulumi.OutputState }

func (ApiAccessKeyArrayOutput) ElementType added in v3.13.1

func (ApiAccessKeyArrayOutput) ElementType() reflect.Type

func (ApiAccessKeyArrayOutput) Index added in v3.13.1

func (ApiAccessKeyArrayOutput) ToApiAccessKeyArrayOutput added in v3.13.1

func (o ApiAccessKeyArrayOutput) ToApiAccessKeyArrayOutput() ApiAccessKeyArrayOutput

func (ApiAccessKeyArrayOutput) ToApiAccessKeyArrayOutputWithContext added in v3.13.1

func (o ApiAccessKeyArrayOutput) ToApiAccessKeyArrayOutputWithContext(ctx context.Context) ApiAccessKeyArrayOutput

type ApiAccessKeyInput added in v3.8.4

type ApiAccessKeyInput interface {
	pulumi.Input

	ToApiAccessKeyOutput() ApiAccessKeyOutput
	ToApiAccessKeyOutputWithContext(ctx context.Context) ApiAccessKeyOutput
}

type ApiAccessKeyMap added in v3.13.1

type ApiAccessKeyMap map[string]ApiAccessKeyInput

func (ApiAccessKeyMap) ElementType added in v3.13.1

func (ApiAccessKeyMap) ElementType() reflect.Type

func (ApiAccessKeyMap) ToApiAccessKeyMapOutput added in v3.13.1

func (i ApiAccessKeyMap) ToApiAccessKeyMapOutput() ApiAccessKeyMapOutput

func (ApiAccessKeyMap) ToApiAccessKeyMapOutputWithContext added in v3.13.1

func (i ApiAccessKeyMap) ToApiAccessKeyMapOutputWithContext(ctx context.Context) ApiAccessKeyMapOutput

type ApiAccessKeyMapInput added in v3.13.1

type ApiAccessKeyMapInput interface {
	pulumi.Input

	ToApiAccessKeyMapOutput() ApiAccessKeyMapOutput
	ToApiAccessKeyMapOutputWithContext(context.Context) ApiAccessKeyMapOutput
}

ApiAccessKeyMapInput is an input type that accepts ApiAccessKeyMap and ApiAccessKeyMapOutput values. You can construct a concrete instance of `ApiAccessKeyMapInput` via:

ApiAccessKeyMap{ "key": ApiAccessKeyArgs{...} }

type ApiAccessKeyMapOutput added in v3.13.1

type ApiAccessKeyMapOutput struct{ *pulumi.OutputState }

func (ApiAccessKeyMapOutput) ElementType added in v3.13.1

func (ApiAccessKeyMapOutput) ElementType() reflect.Type

func (ApiAccessKeyMapOutput) MapIndex added in v3.13.1

func (ApiAccessKeyMapOutput) ToApiAccessKeyMapOutput added in v3.13.1

func (o ApiAccessKeyMapOutput) ToApiAccessKeyMapOutput() ApiAccessKeyMapOutput

func (ApiAccessKeyMapOutput) ToApiAccessKeyMapOutputWithContext added in v3.13.1

func (o ApiAccessKeyMapOutput) ToApiAccessKeyMapOutputWithContext(ctx context.Context) ApiAccessKeyMapOutput

type ApiAccessKeyOutput added in v3.8.4

type ApiAccessKeyOutput struct {
	*pulumi.OutputState
}

func (ApiAccessKeyOutput) ElementType added in v3.8.4

func (ApiAccessKeyOutput) ElementType() reflect.Type

func (ApiAccessKeyOutput) ToApiAccessKeyOutput added in v3.8.4

func (o ApiAccessKeyOutput) ToApiAccessKeyOutput() ApiAccessKeyOutput

func (ApiAccessKeyOutput) ToApiAccessKeyOutputWithContext added in v3.8.4

func (o ApiAccessKeyOutput) ToApiAccessKeyOutputWithContext(ctx context.Context) ApiAccessKeyOutput

func (ApiAccessKeyOutput) ToApiAccessKeyPtrOutput added in v3.13.1

func (o ApiAccessKeyOutput) ToApiAccessKeyPtrOutput() ApiAccessKeyPtrOutput

func (ApiAccessKeyOutput) ToApiAccessKeyPtrOutputWithContext added in v3.13.1

func (o ApiAccessKeyOutput) ToApiAccessKeyPtrOutputWithContext(ctx context.Context) ApiAccessKeyPtrOutput

type ApiAccessKeyPtrInput added in v3.13.1

type ApiAccessKeyPtrInput interface {
	pulumi.Input

	ToApiAccessKeyPtrOutput() ApiAccessKeyPtrOutput
	ToApiAccessKeyPtrOutputWithContext(ctx context.Context) ApiAccessKeyPtrOutput
}

type ApiAccessKeyPtrOutput added in v3.13.1

type ApiAccessKeyPtrOutput struct {
	*pulumi.OutputState
}

func (ApiAccessKeyPtrOutput) ElementType added in v3.13.1

func (ApiAccessKeyPtrOutput) ElementType() reflect.Type

func (ApiAccessKeyPtrOutput) ToApiAccessKeyPtrOutput added in v3.13.1

func (o ApiAccessKeyPtrOutput) ToApiAccessKeyPtrOutput() ApiAccessKeyPtrOutput

func (ApiAccessKeyPtrOutput) ToApiAccessKeyPtrOutputWithContext added in v3.13.1

func (o ApiAccessKeyPtrOutput) ToApiAccessKeyPtrOutputWithContext(ctx context.Context) ApiAccessKeyPtrOutput

type ApiAccessKeyState added in v3.3.0

type ApiAccessKeyState struct {
	// The New Relic account ID of the account you wish to create the API access key.
	AccountId pulumi.IntPtrInput
	// Required if `keyType = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
	IngestType pulumi.StringPtrInput
	// The actual API key. This attribute is masked and not be visible in your terminal, CI, etc.
	Key pulumi.StringPtrInput
	// What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
	KeyType pulumi.StringPtrInput
	// The name of the key.
	Name pulumi.StringPtrInput
	// Any notes about this ingest key.
	Notes pulumi.StringPtrInput
	// Required if `keyType = USER`. The New Relic user ID yous wish to create the API access key for in an account.
	UserId pulumi.IntPtrInput
}

func (ApiAccessKeyState) ElementType added in v3.3.0

func (ApiAccessKeyState) ElementType() reflect.Type

type Dashboard

type Dashboard struct {
	pulumi.CustomResourceState

	// The URL for viewing the dashboard.
	DashboardUrl pulumi.StringOutput `pulumi:"dashboardUrl"`
	// Determines who can edit the dashboard in an account. Valid values are `all`,  `editableByAll`, `editableByOwner`, or `readOnly`.  Defaults to `editableByAll`.
	Editable pulumi.StringPtrOutput `pulumi:"editable"`
	// A nested block that describes a dashboard filter.  Exactly one nested `filter` block is allowed. See Nested filter block below for details.
	Filter DashboardFilterPtrOutput `pulumi:"filter"`
	// The number of columns to use when organizing and displaying widgets. New Relic One supports a 3 column grid and a 12 column grid. New Relic Insights supports a 3 column grid.
	GridColumnCount pulumi.IntPtrOutput `pulumi:"gridColumnCount"`
	// The icon for the dashboard.  Valid values are `adjust`, `archive`, `bar-chart`, `bell`, `bolt`, `bug`, `bullhorn`, `bullseye`, `clock-o`, `cloud`, `cog`, `comments-o`, `crosshairs`, `dashboard`, `envelope`, `fire`, `flag`, `flask`, `globe`, `heart`, `leaf`, `legal`, `life-ring`, `line-chart`, `magic`, `mobile`, `money`, `none`, `paper-plane`, `pie-chart`, `puzzle-piece`, `road`, `rocket`, `shopping-cart`, `sitemap`, `sliders`, `tablet`, `thumbs-down`, `thumbs-up`, `trophy`, `usd`, `user`, and `users`.  Defaults to `bar-chart`.
	Icon pulumi.StringPtrOutput `pulumi:"icon"`
	// The title of the dashboard.
	Title pulumi.StringOutput `pulumi:"title"`
	// Determines who can see the dashboard in an account. Valid values are `all` or `owner`.  Defaults to `all`.
	Visibility pulumi.StringPtrOutput `pulumi:"visibility"`
	// A nested block that describes a visualization.  Up to 300 `widget` blocks are allowed in a dashboard definition. See Nested widget blocks below for details.
	Widgets DashboardWidgetArrayOutput `pulumi:"widgets"`
}

Use this resource to create and manage New Relic dashboards.

## Example Usage ### Create A New Relic Dashboard

```go package main

import (

"github.com/pulumi/pulumi-newrelic/sdk/v3/go/newrelic"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "APPLICATION"
		opt1 := "APM"
		myApplication, err := newrelic.GetEntity(ctx, &newrelic.GetEntityArgs{
			Name:   "My Application",
			Type:   &opt0,
			Domain: &opt1,
		}, nil)
		if err != nil {
			return err
		}
		_, err = newrelic.NewDashboard(ctx, "exampledash", &newrelic.DashboardArgs{
			Title: pulumi.String("New Relic Terraform Example"),
			Filter: &newrelic.DashboardFilterArgs{
				EventTypes: pulumi.StringArray{
					pulumi.String("Transaction"),
				},
				Attributes: pulumi.StringArray{
					pulumi.String("appName"),
					pulumi.String("name"),
				},
			},
			Widgets: newrelic.DashboardWidgetArray{
				&newrelic.DashboardWidgetArgs{
					Title:         pulumi.String("Requests per minute"),
					Visualization: pulumi.String("billboard"),
					Nrql:          pulumi.String("SELECT rate(count(*), 1 minute) FROM Transaction"),
					Row:           pulumi.Int(1),
					Column:        pulumi.Int(1),
				},
				&newrelic.DashboardWidgetArgs{
					Title:         pulumi.String("Error rate"),
					Visualization: pulumi.String("gauge"),
					Nrql:          pulumi.String("SELECT percentage(count(*), WHERE error IS True) FROM Transaction"),
					ThresholdRed:  pulumi.Float64(2.5),
					Row:           pulumi.Int(1),
					Column:        pulumi.Int(2),
				},
				&newrelic.DashboardWidgetArgs{
					Title:         pulumi.String("Average transaction duration, by application"),
					Visualization: pulumi.String("facet_bar_chart"),
					Nrql:          pulumi.String("SELECT average(duration) FROM Transaction FACET appName"),
					Row:           pulumi.Int(1),
					Column:        pulumi.Int(3),
				},
				&newrelic.DashboardWidgetArgs{
					Title:         pulumi.String("Apdex, top 5 by host"),
					Duration:      pulumi.Int(1800000),
					Visualization: pulumi.String("metric_line_chart"),
					EntityIds: pulumi.IntArray{
						pulumi.Int(myApplication.ApplicationId),
					},
					Metrics: newrelic.DashboardWidgetMetricArray{
						&newrelic.DashboardWidgetMetricArgs{
							Name: pulumi.String("Apdex"),
							Values: pulumi.StringArray{
								pulumi.String("score"),
							},
						},
					},
					Facet:   pulumi.String("host"),
					Limit:   pulumi.Int(5),
					OrderBy: pulumi.String("score"),
					Row:     pulumi.Int(2),
					Column:  pulumi.Int(1),
				},
				&newrelic.DashboardWidgetArgs{
					Title:         pulumi.String("Requests per minute, by transaction"),
					Visualization: pulumi.String("facet_table"),
					Nrql:          pulumi.String("SELECT rate(count(*), 1 minute) FROM Transaction FACET name"),
					Row:           pulumi.Int(2),
					Column:        pulumi.Int(2),
				},
				&newrelic.DashboardWidgetArgs{
					Title:         pulumi.String("Dashboard Note"),
					Visualization: pulumi.String("markdown"),
					Source:        pulumi.String("### Helpful Links\n\n* [New Relic One](https://one.newrelic.com)\n* [Developer Portal](https://developer.newrelic.com)"),
					Row:           pulumi.Int(2),
					Column:        pulumi.Int(3),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` See additional examples. ## Additional Examples

### Create cross-account widgets in your dashboard.

The example below shows how you can display data for an application from a primary account and an application from a subaccount. In order to create cross-account widgets, you must use an API key from a user with admin permissions in the primary account. Please see the `widget` attribute documentation for more details.

```go package main

import (

"github.com/pulumi/pulumi-newrelic/sdk/v3/go/newrelic"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "APPLICATION"
		opt1 := "APM"
		primaryAccountApplication, err := newrelic.GetEntity(ctx, &newrelic.GetEntityArgs{
			Name:   "Main Account Application Name",
			Type:   &opt0,
			Domain: &opt1,
		}, nil)
		if err != nil {
			return err
		}
		opt2 := "APPLICATION"
		opt3 := "APM"
		subaccountApplication, err := newrelic.GetEntity(ctx, &newrelic.GetEntityArgs{
			Name:   "Subaccount Application Name",
			Type:   &opt2,
			Domain: &opt3,
		}, nil)
		if err != nil {
			return err
		}
		_, err = newrelic.NewDashboard(ctx, "crossAccountWidgetExample", &newrelic.DashboardArgs{
			Title: pulumi.String("tf-test-cross-account-widget-dashboard"),
			Filter: &newrelic.DashboardFilterArgs{
				EventTypes: pulumi.StringArray{
					pulumi.String("Transaction"),
				},
				Attributes: pulumi.StringArray{
					pulumi.String("appName"),
					pulumi.String("envName"),
				},
			},
			GridColumnCount: pulumi.Int(12),
			Widgets: newrelic.DashboardWidgetArray{
				&newrelic.DashboardWidgetArgs{
					Title:         pulumi.String("Apdex (primary account)"),
					Row:           pulumi.Int(1),
					Column:        pulumi.Int(1),
					Width:         pulumi.Int(6),
					Height:        pulumi.Int(3),
					Visualization: pulumi.String("metric_line_chart"),
					Duration:      pulumi.Int(1800000),
					Metrics: newrelic.DashboardWidgetMetricArray{
						&newrelic.DashboardWidgetMetricArgs{
							Name: pulumi.String("Apdex"),
							Values: pulumi.StringArray{
								pulumi.String("score"),
							},
						},
					},
					EntityIds: pulumi.IntArray{
						pulumi.Int(primaryAccountApplication.ApplicationId),
					},
				},
				&newrelic.DashboardWidgetArgs{
					AccountId:     pulumi.Any(_var.Subaccount_id),
					Title:         pulumi.String("Apdex (subaccount)"),
					Row:           pulumi.Int(1),
					Column:        pulumi.Int(7),
					Width:         pulumi.Int(6),
					Height:        pulumi.Int(3),
					Visualization: pulumi.String("metric_line_chart"),
					Duration:      pulumi.Int(1800000),
					Metrics: newrelic.DashboardWidgetMetricArray{
						&newrelic.DashboardWidgetMetricArgs{
							Name: pulumi.String("Apdex"),
							Values: pulumi.StringArray{
								pulumi.String("score"),
							},
						},
					},
					EntityIds: pulumi.IntArray{
						pulumi.Int(subaccountApplication.ApplicationId),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

New Relic dashboards can be imported using their ID, e.g.

```sh

$ pulumi import newrelic:index/dashboard:Dashboard my_dashboard 8675309

```

~> **NOTE** Due to API restrictions, importing a dashboard resource will set the `grid_column_count` attribute to `3`. If your dashboard is a New Relic One dashboard _and_ uses a 12 column grid, you will need to make sure `grid_column_count` is set to `12` in your configuration, then run `terraform apply` after importing to sync remote state with Terraform state. Also note, cross-account widgets cannot be imported due to API restrictions.

func GetDashboard

func GetDashboard(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DashboardState, opts ...pulumi.ResourceOption) (*Dashboard, error)

GetDashboard gets an existing Dashboard resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDashboard

func NewDashboard(ctx *pulumi.Context,
	name string, args *DashboardArgs, opts ...pulumi.ResourceOption) (*Dashboard, error)

NewDashboard registers a new resource with the given unique name, arguments, and options.

func (*Dashboard) ElementType added in v3.8.4

func (*Dashboard) ElementType() reflect.Type

func (*Dashboard) ToDashboardOutput added in v3.8.4

func (i *Dashboard) ToDashboardOutput() DashboardOutput

func (*Dashboard) ToDashboardOutputWithContext added in v3.8.4

func (i *Dashboard) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput

func (*Dashboard) ToDashboardPtrOutput added in v3.13.1

func (i *Dashboard) ToDashboardPtrOutput() DashboardPtrOutput

func (*Dashboard) ToDashboardPtrOutputWithContext added in v3.13.1

func (i *Dashboard) ToDashboardPtrOutputWithContext(ctx context.Context) DashboardPtrOutput

type DashboardArgs

type DashboardArgs struct {
	// Determines who can edit the dashboard in an account. Valid values are `all`,  `editableByAll`, `editableByOwner`, or `readOnly`.  Defaults to `editableByAll`.
	Editable pulumi.StringPtrInput
	// A nested block that describes a dashboard filter.  Exactly one nested `filter` block is allowed. See Nested filter block below for details.
	Filter DashboardFilterPtrInput
	// The number of columns to use when organizing and displaying widgets. New Relic One supports a 3 column grid and a 12 column grid. New Relic Insights supports a 3 column grid.
	GridColumnCount pulumi.IntPtrInput
	// The icon for the dashboard.  Valid values are `adjust`, `archive`, `bar-chart`, `bell`, `bolt`, `bug`, `bullhorn`, `bullseye`, `clock-o`, `cloud`, `cog`, `comments-o`, `crosshairs`, `dashboard`, `envelope`, `fire`, `flag`, `flask`, `globe`, `heart`, `leaf`, `legal`, `life-ring`, `line-chart`, `magic`, `mobile`, `money`, `none`, `paper-plane`, `pie-chart`, `puzzle-piece`, `road`, `rocket`, `shopping-cart`, `sitemap`, `sliders`, `tablet`, `thumbs-down`, `thumbs-up`, `trophy`, `usd`, `user`, and `users`.  Defaults to `bar-chart`.
	Icon pulumi.StringPtrInput
	// The title of the dashboard.
	Title pulumi.StringInput
	// Determines who can see the dashboard in an account. Valid values are `all` or `owner`.  Defaults to `all`.
	Visibility pulumi.StringPtrInput
	// A nested block that describes a visualization.  Up to 300 `widget` blocks are allowed in a dashboard definition. See Nested widget blocks below for details.
	Widgets DashboardWidgetArrayInput
}

The set of arguments for constructing a Dashboard resource.

func (DashboardArgs) ElementType

func (DashboardArgs) ElementType() reflect.Type

type DashboardArray added in v3.13.1

type DashboardArray []DashboardInput

func (DashboardArray) ElementType added in v3.13.1

func (DashboardArray) ElementType() reflect.Type

func (DashboardArray) ToDashboardArrayOutput added in v3.13.1

func (i DashboardArray) ToDashboardArrayOutput() DashboardArrayOutput

func (DashboardArray) ToDashboardArrayOutputWithContext added in v3.13.1

func (i DashboardArray) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput

type DashboardArrayInput added in v3.13.1

type DashboardArrayInput interface {
	pulumi.Input

	ToDashboardArrayOutput() DashboardArrayOutput
	ToDashboardArrayOutputWithContext(context.Context) DashboardArrayOutput
}

DashboardArrayInput is an input type that accepts DashboardArray and DashboardArrayOutput values. You can construct a concrete instance of `DashboardArrayInput` via:

DashboardArray{ DashboardArgs{...} }

type DashboardArrayOutput added in v3.13.1

type DashboardArrayOutput struct{ *pulumi.OutputState }

func (DashboardArrayOutput) ElementType added in v3.13.1

func (DashboardArrayOutput) ElementType() reflect.Type

func (DashboardArrayOutput) Index added in v3.13.1

func (DashboardArrayOutput) ToDashboardArrayOutput added in v3.13.1

func (o DashboardArrayOutput) ToDashboardArrayOutput() DashboardArrayOutput

func (DashboardArrayOutput) ToDashboardArrayOutputWithContext added in v3.13.1

func (o DashboardArrayOutput) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput

type DashboardFilter

type DashboardFilter struct {
	// (Optional) A list of attributes belonging to the specified event types to enable filtering for.
	Attributes []string `pulumi:"attributes"`
	// (Optional) A list of event types to enable filtering for.
	EventTypes []string `pulumi:"eventTypes"`
}

type DashboardFilterArgs

type DashboardFilterArgs struct {
	// (Optional) A list of attributes belonging to the specified event types to enable filtering for.
	Attributes pulumi.StringArrayInput `pulumi:"attributes"`
	// (Optional) A list of event types to enable filtering for.
	EventTypes pulumi.StringArrayInput `pulumi:"eventTypes"`
}

func (DashboardFilterArgs) ElementType

func (DashboardFilterArgs) ElementType() reflect.Type

func (DashboardFilterArgs) ToDashboardFilterOutput

func (i DashboardFilterArgs) ToDashboardFilterOutput() DashboardFilterOutput

func (DashboardFilterArgs) ToDashboardFilterOutputWithContext

func (i DashboardFilterArgs) ToDashboardFilterOutputWithContext(ctx context.Context) DashboardFilterOutput

func (DashboardFilterArgs) ToDashboardFilterPtrOutput

func (i DashboardFilterArgs) ToDashboardFilterPtrOutput() DashboardFilterPtrOutput

func (DashboardFilterArgs) ToDashboardFilterPtrOutputWithContext

func (i DashboardFilterArgs) ToDashboardFilterPtrOutputWithContext(ctx context.Context) DashboardFilterPtrOutput

type DashboardFilterInput

type DashboardFilterInput interface {
	pulumi.Input

	ToDashboardFilterOutput() DashboardFilterOutput
	ToDashboardFilterOutputWithContext(context.Context) DashboardFilterOutput
}

DashboardFilterInput is an input type that accepts DashboardFilterArgs and DashboardFilterOutput values. You can construct a concrete instance of `DashboardFilterInput` via:

DashboardFilterArgs{...}

type DashboardFilterOutput

type DashboardFilterOutput struct{ *pulumi.OutputState }

func (DashboardFilterOutput) Attributes

(Optional) A list of attributes belonging to the specified event types to enable filtering for.

func (DashboardFilterOutput) ElementType

func (DashboardFilterOutput) ElementType() reflect.Type

func (DashboardFilterOutput) EventTypes

(Optional) A list of event types to enable filtering for.

func (DashboardFilterOutput) ToDashboardFilterOutput

func (o DashboardFilterOutput) ToDashboardFilterOutput() DashboardFilterOutput

func (DashboardFilterOutput) ToDashboardFilterOutputWithContext

func (o DashboardFilterOutput) ToDashboardFilterOutputWithContext(ctx context.Context) DashboardFilterOutput

func (DashboardFilterOutput) ToDashboardFilterPtrOutput

func (o DashboardFilterOutput) ToDashboardFilterPtrOutput() DashboardFilterPtrOutput

func (DashboardFilterOutput) ToDashboardFilterPtrOutputWithContext

func (o DashboardFilterOutput) ToDashboardFilterPtrOutputWithContext(ctx context.Context) DashboardFilterPtrOutput

type DashboardFilterPtrInput

type DashboardFilterPtrInput interface {
	pulumi.Input

	ToDashboardFilterPtrOutput() DashboardFilterPtrOutput
	ToDashboardFilterPtrOutputWithContext(context.Context) DashboardFilterPtrOutput
}

DashboardFilterPtrInput is an input type that accepts DashboardFilterArgs, DashboardFilterPtr and DashboardFilterPtrOutput values. You can construct a concrete instance of `DashboardFilterPtrInput` via:

        DashboardFilterArgs{...}

or:

        nil

type DashboardFilterPtrOutput

type DashboardFilterPtrOutput struct{ *pulumi.OutputState }

func (DashboardFilterPtrOutput) Attributes

(Optional) A list of attributes belonging to the specified event types to enable filtering for.

func (DashboardFilterPtrOutput) Elem

func (DashboardFilterPtrOutput) ElementType

func (DashboardFilterPtrOutput) ElementType() reflect.Type

func (DashboardFilterPtrOutput) EventTypes

(Optional) A list of event types to enable filtering for.

func (DashboardFilterPtrOutput) ToDashboardFilterPtrOutput

func (o DashboardFilterPtrOutput) ToDashboardFilterPtrOutput() DashboardFilterPtrOutput

func (DashboardFilterPtrOutput) ToDashboardFilterPtrOutputWithContext

func (o DashboardFilterPtrOutput) ToDashboardFilterPtrOutputWithContext(ctx context.Context) DashboardFilterPtrOutput

type DashboardInput added in v3.8.4

type DashboardInput interface {
	pulumi.Input

	ToDashboardOutput() DashboardOutput
	ToDashboardOutputWithContext(ctx context.Context) DashboardOutput
}

type DashboardMap added in v3.13.1

type DashboardMap map[string]DashboardInput

func (DashboardMap) ElementType added in v3.13.1

func (DashboardMap) ElementType() reflect.Type

func (DashboardMap) ToDashboardMapOutput added in v3.13.1

func (i DashboardMap) ToDashboardMapOutput() DashboardMapOutput

func (DashboardMap) ToDashboardMapOutputWithContext added in v3.13.1

func (i DashboardMap) ToDashboardMapOutputWithContext(ctx context.Context) DashboardMapOutput

type DashboardMapInput added in v3.13.1

type DashboardMapInput interface {
	pulumi.Input

	ToDashboardMapOutput() DashboardMapOutput
	ToDashboardMapOutputWithContext(context.Context) DashboardMapOutput
}

DashboardMapInput is an input type that accepts DashboardMap and DashboardMapOutput values. You can construct a concrete instance of `DashboardMapInput` via:

DashboardMap{ "key": DashboardArgs{...} }

type DashboardMapOutput added in v3.13.1

type DashboardMapOutput struct{ *pulumi.OutputState }

func (DashboardMapOutput) ElementType added in v3.13.1

func (DashboardMapOutput) ElementType() reflect.Type

func (DashboardMapOutput) MapIndex added in v3.13.1

func (DashboardMapOutput) ToDashboardMapOutput added in v3.13.1

func (o DashboardMapOutput) ToDashboardMapOutput() DashboardMapOutput

func (DashboardMapOutput) ToDashboardMapOutputWithContext added in v3.13.1

func (o DashboardMapOutput) ToDashboardMapOutputWithContext(ctx context.Context) DashboardMapOutput

type DashboardOutput added in v3.8.4

type DashboardOutput struct {
	*pulumi.OutputState
}

func (DashboardOutput) ElementType added in v3.8.4

func (DashboardOutput) ElementType() reflect.Type

func (DashboardOutput) ToDashboardOutput added in v3.8.4

func (o DashboardOutput) ToDashboardOutput() DashboardOutput

func (DashboardOutput) ToDashboardOutputWithContext added in v3.8.4

func (o DashboardOutput) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput

func (DashboardOutput) ToDashboardPtrOutput added in v3.13.1

func (o DashboardOutput) ToDashboardPtrOutput() DashboardPtrOutput

func (DashboardOutput) ToDashboardPtrOutputWithContext added in v3.13.1

func (o DashboardOutput) ToDashboardPtrOutputWithContext(ctx context.Context) DashboardPtrOutput

type DashboardPtrInput added in v3.13.1

type DashboardPtrInput interface {
	pulumi.Input

	ToDashboardPtrOutput() DashboardPtrOutput
	ToDashboardPtrOutputWithContext(ctx context.Context) DashboardPtrOutput
}

type DashboardPtrOutput added in v3.13.1

type DashboardPtrOutput struct {
	*pulumi.OutputState
}

func (DashboardPtrOutput) ElementType added in v3.13.1

func (DashboardPtrOutput) ElementType() reflect.Type

func (DashboardPtrOutput) ToDashboardPtrOutput added in v3.13.1

func (o DashboardPtrOutput) ToDashboardPtrOutput() DashboardPtrOutput

func (DashboardPtrOutput) ToDashboardPtrOutputWithContext added in v3.13.1

func (o DashboardPtrOutput) ToDashboardPtrOutputWithContext(ctx context.Context) DashboardPtrOutput

type DashboardState

type DashboardState struct {
	// The URL for viewing the dashboard.
	DashboardUrl pulumi.StringPtrInput
	// Determines who can edit the dashboard in an account. Valid values are `all`,  `editableByAll`, `editableByOwner`, or `readOnly`.  Defaults to `editableByAll`.
	Editable pulumi.StringPtrInput
	// A nested block that describes a dashboard filter.  Exactly one nested `filter` block is allowed. See Nested filter block below for details.
	Filter DashboardFilterPtrInput
	// The number of columns to use when organizing and displaying widgets. New Relic One supports a 3 column grid and a 12 column grid. New Relic Insights supports a 3 column grid.
	GridColumnCount pulumi.IntPtrInput
	// The icon for the dashboard.  Valid values are `adjust`, `archive`, `bar-chart`, `bell`, `bolt`, `bug`, `bullhorn`, `bullseye`, `clock-o`, `cloud`, `cog`, `comments-o`, `crosshairs`, `dashboard`, `envelope`, `fire`, `flag`, `flask`, `globe`, `heart`, `leaf`, `legal`, `life-ring`, `line-chart`, `magic`, `mobile`, `money`, `none`, `paper-plane`, `pie-chart`, `puzzle-piece`, `road`, `rocket`, `shopping-cart`, `sitemap`, `sliders`, `tablet`, `thumbs-down`, `thumbs-up`, `trophy`, `usd`, `user`, and `users`.  Defaults to `bar-chart`.
	Icon pulumi.StringPtrInput
	// The title of the dashboard.
	Title pulumi.StringPtrInput
	// Determines who can see the dashboard in an account. Valid values are `all` or `owner`.  Defaults to `all`.
	Visibility pulumi.StringPtrInput
	// A nested block that describes a visualization.  Up to 300 `widget` blocks are allowed in a dashboard definition. See Nested widget blocks below for details.
	Widgets DashboardWidgetArrayInput
}

func (DashboardState) ElementType

func (DashboardState) ElementType() reflect.Type

type DashboardWidget

type DashboardWidget struct {
	// (Optional) The account ID to use when querying data. If `accountId` is omitted, the widget will use the account ID associated with the API key used in your provider configuration. You can also use `accountId` to configure cross-account widgets or simply to be explicit about which account the widget will be pulling data from.
	AccountId *int `pulumi:"accountId"`
	// (Required) Column position of widget from top left, starting at `1`.
	Column       int                          `pulumi:"column"`
	CompareWiths []DashboardWidgetCompareWith `pulumi:"compareWiths"`
	// (Optional) The ID of a dashboard to link to from the widget's facets.
	// * `attributeSheet`, `comparisonLineChart`, `eventFeed`, `eventTable`, `funnel`, `histogram`, `lineChart`, `rawJson`, `singleEvent`, or `uniquesList`:
	DrilldownDashboardId *int `pulumi:"drilldownDashboardId"`
	// (Required) The duration, in ms, of the time window represented in the chart.
	Duration *int `pulumi:"duration"`
	// (Optional) The end time of the time window represented in the chart in epoch time.  When not set, the time window will end at the current time.
	EndTime *int `pulumi:"endTime"`
	// (Required) A collection of entity IDs to display data. These are typically application IDs.
	EntityIds []int `pulumi:"entityIds"`
	// (Optional) Can be set to "host" to facet the metric data by host.
	Facet *string `pulumi:"facet"`
	// (Optional) Height of the widget.  Valid values are `1` to `3` inclusive.  Defaults to `1`.
	Height *int `pulumi:"height"`
	// (Optional) The limit of distinct data series to display.  Requires `orderBy` to be set.
	Limit *int `pulumi:"limit"`
	// (Required) A nested block that describes a metric.  Nested `metric` blocks support the following arguments:
	Metrics []DashboardWidgetMetric `pulumi:"metrics"`
	// (Optional) Description of the widget.
	Notes *string `pulumi:"notes"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	// * `markdown`:
	Nrql *string `pulumi:"nrql"`
	// (Optional) Set the order of the results.  Required when using `limit`.
	// * `applicationBreakdown`:
	OrderBy       *string `pulumi:"orderBy"`
	RawMetricName *string `pulumi:"rawMetricName"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Required) The markdown source to be rendered in the widget.
	// * `metricLineChart`:
	Source *string `pulumi:"source"`
	// (Required) Threshold above which the displayed value will be styled with a red color.
	ThresholdRed *float64 `pulumi:"thresholdRed"`
	// (Optional) Threshold above which the displayed value will be styled with a yellow color.
	// * `facetBarChart`, `facetPieChart`, `facetTable`, `facetedAreaChart`, `facetedLineChart`, or `heatmap`:
	ThresholdYellow *float64 `pulumi:"thresholdYellow"`
	// The title of the dashboard.
	Title string `pulumi:"title"`
	// (Required) How the widget visualizes data.  Valid values are `billboard`, `gauge`, `billboardComparison`, `facetBarChart`, `facetedLineChart`, `facetPieChart`, `facetTable`, `facetedAreaChart`, `heatmap`, `attributeSheet`, `singleEvent`, `histogram`, `funnel`, `rawJson`, `eventFeed`, `eventTable`, `uniquesList`, `lineChart`, `comparisonLineChart`, `markdown`, and `metricLineChart`.
	Visualization string `pulumi:"visualization"`
	WidgetId      *int   `pulumi:"widgetId"`
	// (Optional) Width of the widget.  Valid values are `1` to `3` inclusive.  Defaults to `1`.
	Width *int `pulumi:"width"`
}

type DashboardWidgetArgs

type DashboardWidgetArgs struct {
	// (Optional) The account ID to use when querying data. If `accountId` is omitted, the widget will use the account ID associated with the API key used in your provider configuration. You can also use `accountId` to configure cross-account widgets or simply to be explicit about which account the widget will be pulling data from.
	AccountId pulumi.IntPtrInput `pulumi:"accountId"`
	// (Required) Column position of widget from top left, starting at `1`.
	Column       pulumi.IntInput                      `pulumi:"column"`
	CompareWiths DashboardWidgetCompareWithArrayInput `pulumi:"compareWiths"`
	// (Optional) The ID of a dashboard to link to from the widget's facets.
	// * `attributeSheet`, `comparisonLineChart`, `eventFeed`, `eventTable`, `funnel`, `histogram`, `lineChart`, `rawJson`, `singleEvent`, or `uniquesList`:
	DrilldownDashboardId pulumi.IntPtrInput `pulumi:"drilldownDashboardId"`
	// (Required) The duration, in ms, of the time window represented in the chart.
	Duration pulumi.IntPtrInput `pulumi:"duration"`
	// (Optional) The end time of the time window represented in the chart in epoch time.  When not set, the time window will end at the current time.
	EndTime pulumi.IntPtrInput `pulumi:"endTime"`
	// (Required) A collection of entity IDs to display data. These are typically application IDs.
	EntityIds pulumi.IntArrayInput `pulumi:"entityIds"`
	// (Optional) Can be set to "host" to facet the metric data by host.
	Facet pulumi.StringPtrInput `pulumi:"facet"`
	// (Optional) Height of the widget.  Valid values are `1` to `3` inclusive.  Defaults to `1`.
	Height pulumi.IntPtrInput `pulumi:"height"`
	// (Optional) The limit of distinct data series to display.  Requires `orderBy` to be set.
	Limit pulumi.IntPtrInput `pulumi:"limit"`
	// (Required) A nested block that describes a metric.  Nested `metric` blocks support the following arguments:
	Metrics DashboardWidgetMetricArrayInput `pulumi:"metrics"`
	// (Optional) Description of the widget.
	Notes pulumi.StringPtrInput `pulumi:"notes"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	// * `markdown`:
	Nrql pulumi.StringPtrInput `pulumi:"nrql"`
	// (Optional) Set the order of the results.  Required when using `limit`.
	// * `applicationBreakdown`:
	OrderBy       pulumi.StringPtrInput `pulumi:"orderBy"`
	RawMetricName pulumi.StringPtrInput `pulumi:"rawMetricName"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Required) The markdown source to be rendered in the widget.
	// * `metricLineChart`:
	Source pulumi.StringPtrInput `pulumi:"source"`
	// (Required) Threshold above which the displayed value will be styled with a red color.
	ThresholdRed pulumi.Float64PtrInput `pulumi:"thresholdRed"`
	// (Optional) Threshold above which the displayed value will be styled with a yellow color.
	// * `facetBarChart`, `facetPieChart`, `facetTable`, `facetedAreaChart`, `facetedLineChart`, or `heatmap`:
	ThresholdYellow pulumi.Float64PtrInput `pulumi:"thresholdYellow"`
	// The title of the dashboard.
	Title pulumi.StringInput `pulumi:"title"`
	// (Required) How the widget visualizes data.  Valid values are `billboard`, `gauge`, `billboardComparison`, `facetBarChart`, `facetedLineChart`, `facetPieChart`, `facetTable`, `facetedAreaChart`, `heatmap`, `attributeSheet`, `singleEvent`, `histogram`, `funnel`, `rawJson`, `eventFeed`, `eventTable`, `uniquesList`, `lineChart`, `comparisonLineChart`, `markdown`, and `metricLineChart`.
	Visualization pulumi.StringInput `pulumi:"visualization"`
	WidgetId      pulumi.IntPtrInput `pulumi:"widgetId"`
	// (Optional) Width of the widget.  Valid values are `1` to `3` inclusive.  Defaults to `1`.
	Width pulumi.IntPtrInput `pulumi:"width"`
}

func (DashboardWidgetArgs) ElementType

func (DashboardWidgetArgs) ElementType() reflect.Type

func (DashboardWidgetArgs) ToDashboardWidgetOutput

func (i DashboardWidgetArgs) ToDashboardWidgetOutput() DashboardWidgetOutput

func (DashboardWidgetArgs) ToDashboardWidgetOutputWithContext

func (i DashboardWidgetArgs) ToDashboardWidgetOutputWithContext(ctx context.Context) DashboardWidgetOutput

type DashboardWidgetArray

type DashboardWidgetArray []DashboardWidgetInput

func (DashboardWidgetArray) ElementType

func (DashboardWidgetArray) ElementType() reflect.Type

func (DashboardWidgetArray) ToDashboardWidgetArrayOutput

func (i DashboardWidgetArray) ToDashboardWidgetArrayOutput() DashboardWidgetArrayOutput

func (DashboardWidgetArray) ToDashboardWidgetArrayOutputWithContext

func (i DashboardWidgetArray) ToDashboardWidgetArrayOutputWithContext(ctx context.Context) DashboardWidgetArrayOutput

type DashboardWidgetArrayInput

type DashboardWidgetArrayInput interface {
	pulumi.Input

	ToDashboardWidgetArrayOutput() DashboardWidgetArrayOutput
	ToDashboardWidgetArrayOutputWithContext(context.Context) DashboardWidgetArrayOutput
}

DashboardWidgetArrayInput is an input type that accepts DashboardWidgetArray and DashboardWidgetArrayOutput values. You can construct a concrete instance of `DashboardWidgetArrayInput` via:

DashboardWidgetArray{ DashboardWidgetArgs{...} }

type DashboardWidgetArrayOutput

type DashboardWidgetArrayOutput struct{ *pulumi.OutputState }

func (DashboardWidgetArrayOutput) ElementType

func (DashboardWidgetArrayOutput) ElementType() reflect.Type

func (DashboardWidgetArrayOutput) Index

func (DashboardWidgetArrayOutput) ToDashboardWidgetArrayOutput

func (o DashboardWidgetArrayOutput) ToDashboardWidgetArrayOutput() DashboardWidgetArrayOutput

func (DashboardWidgetArrayOutput) ToDashboardWidgetArrayOutputWithContext

func (o DashboardWidgetArrayOutput) ToDashboardWidgetArrayOutputWithContext(ctx context.Context) DashboardWidgetArrayOutput

type DashboardWidgetCompareWith

type DashboardWidgetCompareWith struct {
	OffsetDuration string                                 `pulumi:"offsetDuration"`
	Presentation   DashboardWidgetCompareWithPresentation `pulumi:"presentation"`
}

type DashboardWidgetCompareWithArgs

type DashboardWidgetCompareWithArgs struct {
	OffsetDuration pulumi.StringInput                          `pulumi:"offsetDuration"`
	Presentation   DashboardWidgetCompareWithPresentationInput `pulumi:"presentation"`
}

func (DashboardWidgetCompareWithArgs) ElementType

func (DashboardWidgetCompareWithArgs) ToDashboardWidgetCompareWithOutput

func (i DashboardWidgetCompareWithArgs) ToDashboardWidgetCompareWithOutput() DashboardWidgetCompareWithOutput

func (DashboardWidgetCompareWithArgs) ToDashboardWidgetCompareWithOutputWithContext

func (i DashboardWidgetCompareWithArgs) ToDashboardWidgetCompareWithOutputWithContext(ctx context.Context) DashboardWidgetCompareWithOutput

type DashboardWidgetCompareWithArray

type DashboardWidgetCompareWithArray []DashboardWidgetCompareWithInput

func (DashboardWidgetCompareWithArray) ElementType

func (DashboardWidgetCompareWithArray) ToDashboardWidgetCompareWithArrayOutput

func (i DashboardWidgetCompareWithArray) ToDashboardWidgetCompareWithArrayOutput() DashboardWidgetCompareWithArrayOutput

func (DashboardWidgetCompareWithArray) ToDashboardWidgetCompareWithArrayOutputWithContext

func (i DashboardWidgetCompareWithArray) ToDashboardWidgetCompareWithArrayOutputWithContext(ctx context.Context) DashboardWidgetCompareWithArrayOutput

type DashboardWidgetCompareWithArrayInput

type DashboardWidgetCompareWithArrayInput interface {
	pulumi.Input

	ToDashboardWidgetCompareWithArrayOutput() DashboardWidgetCompareWithArrayOutput
	ToDashboardWidgetCompareWithArrayOutputWithContext(context.Context) DashboardWidgetCompareWithArrayOutput
}

DashboardWidgetCompareWithArrayInput is an input type that accepts DashboardWidgetCompareWithArray and DashboardWidgetCompareWithArrayOutput values. You can construct a concrete instance of `DashboardWidgetCompareWithArrayInput` via:

DashboardWidgetCompareWithArray{ DashboardWidgetCompareWithArgs{...} }

type DashboardWidgetCompareWithArrayOutput

type DashboardWidgetCompareWithArrayOutput struct{ *pulumi.OutputState }

func (DashboardWidgetCompareWithArrayOutput) ElementType

func (DashboardWidgetCompareWithArrayOutput) Index

func (DashboardWidgetCompareWithArrayOutput) ToDashboardWidgetCompareWithArrayOutput

func (o DashboardWidgetCompareWithArrayOutput) ToDashboardWidgetCompareWithArrayOutput() DashboardWidgetCompareWithArrayOutput

func (DashboardWidgetCompareWithArrayOutput) ToDashboardWidgetCompareWithArrayOutputWithContext

func (o DashboardWidgetCompareWithArrayOutput) ToDashboardWidgetCompareWithArrayOutputWithContext(ctx context.Context) DashboardWidgetCompareWithArrayOutput

type DashboardWidgetCompareWithInput

type DashboardWidgetCompareWithInput interface {
	pulumi.Input

	ToDashboardWidgetCompareWithOutput() DashboardWidgetCompareWithOutput
	ToDashboardWidgetCompareWithOutputWithContext(context.Context) DashboardWidgetCompareWithOutput
}

DashboardWidgetCompareWithInput is an input type that accepts DashboardWidgetCompareWithArgs and DashboardWidgetCompareWithOutput values. You can construct a concrete instance of `DashboardWidgetCompareWithInput` via:

DashboardWidgetCompareWithArgs{...}

type DashboardWidgetCompareWithOutput

type DashboardWidgetCompareWithOutput struct{ *pulumi.OutputState }

func (DashboardWidgetCompareWithOutput) ElementType

func (DashboardWidgetCompareWithOutput) OffsetDuration

func (DashboardWidgetCompareWithOutput) Presentation

func (DashboardWidgetCompareWithOutput) ToDashboardWidgetCompareWithOutput

func (o DashboardWidgetCompareWithOutput) ToDashboardWidgetCompareWithOutput() DashboardWidgetCompareWithOutput

func (DashboardWidgetCompareWithOutput) ToDashboardWidgetCompareWithOutputWithContext

func (o DashboardWidgetCompareWithOutput) ToDashboardWidgetCompareWithOutputWithContext(ctx context.Context) DashboardWidgetCompareWithOutput

type DashboardWidgetCompareWithPresentation

type DashboardWidgetCompareWithPresentation struct {
	Color string `pulumi:"color"`
	// (Required) The metric name to display.
	Name string `pulumi:"name"`
}

type DashboardWidgetCompareWithPresentationArgs

type DashboardWidgetCompareWithPresentationArgs struct {
	Color pulumi.StringInput `pulumi:"color"`
	// (Required) The metric name to display.
	Name pulumi.StringInput `pulumi:"name"`
}

func (DashboardWidgetCompareWithPresentationArgs) ElementType

func (DashboardWidgetCompareWithPresentationArgs) ToDashboardWidgetCompareWithPresentationOutput

func (i DashboardWidgetCompareWithPresentationArgs) ToDashboardWidgetCompareWithPresentationOutput() DashboardWidgetCompareWithPresentationOutput

func (DashboardWidgetCompareWithPresentationArgs) ToDashboardWidgetCompareWithPresentationOutputWithContext

func (i DashboardWidgetCompareWithPresentationArgs) ToDashboardWidgetCompareWithPresentationOutputWithContext(ctx context.Context) DashboardWidgetCompareWithPresentationOutput

type DashboardWidgetCompareWithPresentationInput

type DashboardWidgetCompareWithPresentationInput interface {
	pulumi.Input

	ToDashboardWidgetCompareWithPresentationOutput() DashboardWidgetCompareWithPresentationOutput
	ToDashboardWidgetCompareWithPresentationOutputWithContext(context.Context) DashboardWidgetCompareWithPresentationOutput
}

DashboardWidgetCompareWithPresentationInput is an input type that accepts DashboardWidgetCompareWithPresentationArgs and DashboardWidgetCompareWithPresentationOutput values. You can construct a concrete instance of `DashboardWidgetCompareWithPresentationInput` via:

DashboardWidgetCompareWithPresentationArgs{...}

type DashboardWidgetCompareWithPresentationOutput

type DashboardWidgetCompareWithPresentationOutput struct{ *pulumi.OutputState }

func (DashboardWidgetCompareWithPresentationOutput) Color

func (DashboardWidgetCompareWithPresentationOutput) ElementType

func (DashboardWidgetCompareWithPresentationOutput) Name

(Required) The metric name to display.

func (DashboardWidgetCompareWithPresentationOutput) ToDashboardWidgetCompareWithPresentationOutput

func (o DashboardWidgetCompareWithPresentationOutput) ToDashboardWidgetCompareWithPresentationOutput() DashboardWidgetCompareWithPresentationOutput

func (DashboardWidgetCompareWithPresentationOutput) ToDashboardWidgetCompareWithPresentationOutputWithContext

func (o DashboardWidgetCompareWithPresentationOutput) ToDashboardWidgetCompareWithPresentationOutputWithContext(ctx context.Context) DashboardWidgetCompareWithPresentationOutput

type DashboardWidgetInput

type DashboardWidgetInput interface {
	pulumi.Input

	ToDashboardWidgetOutput() DashboardWidgetOutput
	ToDashboardWidgetOutputWithContext(context.Context) DashboardWidgetOutput
}

DashboardWidgetInput is an input type that accepts DashboardWidgetArgs and DashboardWidgetOutput values. You can construct a concrete instance of `DashboardWidgetInput` via:

DashboardWidgetArgs{...}

type DashboardWidgetMetric

type DashboardWidgetMetric struct {
	// (Required) The metric name to display.
	Name  string  `pulumi:"name"`
	Scope *string `pulumi:"scope"`
	Units *string `pulumi:"units"`
	// (Required) The metric values to display.
	Values []string `pulumi:"values"`
}

type DashboardWidgetMetricArgs

type DashboardWidgetMetricArgs struct {
	// (Required) The metric name to display.
	Name  pulumi.StringInput    `pulumi:"name"`
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	Units pulumi.StringPtrInput `pulumi:"units"`
	// (Required) The metric values to display.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (DashboardWidgetMetricArgs) ElementType

func (DashboardWidgetMetricArgs) ElementType() reflect.Type

func (DashboardWidgetMetricArgs) ToDashboardWidgetMetricOutput

func (i DashboardWidgetMetricArgs) ToDashboardWidgetMetricOutput() DashboardWidgetMetricOutput

func (DashboardWidgetMetricArgs) ToDashboardWidgetMetricOutputWithContext

func (i DashboardWidgetMetricArgs) ToDashboardWidgetMetricOutputWithContext(ctx context.Context) DashboardWidgetMetricOutput

type DashboardWidgetMetricArray

type DashboardWidgetMetricArray []DashboardWidgetMetricInput

func (DashboardWidgetMetricArray) ElementType

func (DashboardWidgetMetricArray) ElementType() reflect.Type

func (DashboardWidgetMetricArray) ToDashboardWidgetMetricArrayOutput

func (i DashboardWidgetMetricArray) ToDashboardWidgetMetricArrayOutput() DashboardWidgetMetricArrayOutput

func (DashboardWidgetMetricArray) ToDashboardWidgetMetricArrayOutputWithContext

func (i DashboardWidgetMetricArray) ToDashboardWidgetMetricArrayOutputWithContext(ctx context.Context) DashboardWidgetMetricArrayOutput

type DashboardWidgetMetricArrayInput

type DashboardWidgetMetricArrayInput interface {
	pulumi.Input

	ToDashboardWidgetMetricArrayOutput() DashboardWidgetMetricArrayOutput
	ToDashboardWidgetMetricArrayOutputWithContext(context.Context) DashboardWidgetMetricArrayOutput
}

DashboardWidgetMetricArrayInput is an input type that accepts DashboardWidgetMetricArray and DashboardWidgetMetricArrayOutput values. You can construct a concrete instance of `DashboardWidgetMetricArrayInput` via:

DashboardWidgetMetricArray{ DashboardWidgetMetricArgs{...} }

type DashboardWidgetMetricArrayOutput

type DashboardWidgetMetricArrayOutput struct{ *pulumi.OutputState }

func (DashboardWidgetMetricArrayOutput) ElementType

func (DashboardWidgetMetricArrayOutput) Index

func (DashboardWidgetMetricArrayOutput) ToDashboardWidgetMetricArrayOutput

func (o DashboardWidgetMetricArrayOutput) ToDashboardWidgetMetricArrayOutput() DashboardWidgetMetricArrayOutput

func (DashboardWidgetMetricArrayOutput) ToDashboardWidgetMetricArrayOutputWithContext

func (o DashboardWidgetMetricArrayOutput) ToDashboardWidgetMetricArrayOutputWithContext(ctx context.Context) DashboardWidgetMetricArrayOutput

type DashboardWidgetMetricInput

type DashboardWidgetMetricInput interface {
	pulumi.Input

	ToDashboardWidgetMetricOutput() DashboardWidgetMetricOutput
	ToDashboardWidgetMetricOutputWithContext(context.Context) DashboardWidgetMetricOutput
}

DashboardWidgetMetricInput is an input type that accepts DashboardWidgetMetricArgs and DashboardWidgetMetricOutput values. You can construct a concrete instance of `DashboardWidgetMetricInput` via:

DashboardWidgetMetricArgs{...}

type DashboardWidgetMetricOutput

type DashboardWidgetMetricOutput struct{ *pulumi.OutputState }

func (DashboardWidgetMetricOutput) ElementType

func (DashboardWidgetMetricOutput) Name

(Required) The metric name to display.

func (DashboardWidgetMetricOutput) Scope

func (DashboardWidgetMetricOutput) ToDashboardWidgetMetricOutput

func (o DashboardWidgetMetricOutput) ToDashboardWidgetMetricOutput() DashboardWidgetMetricOutput

func (DashboardWidgetMetricOutput) ToDashboardWidgetMetricOutputWithContext

func (o DashboardWidgetMetricOutput) ToDashboardWidgetMetricOutputWithContext(ctx context.Context) DashboardWidgetMetricOutput

func (DashboardWidgetMetricOutput) Units

func (DashboardWidgetMetricOutput) Values

(Required) The metric values to display.

type DashboardWidgetOutput

type DashboardWidgetOutput struct{ *pulumi.OutputState }

func (DashboardWidgetOutput) AccountId added in v3.5.0

(Optional) The account ID to use when querying data. If `accountId` is omitted, the widget will use the account ID associated with the API key used in your provider configuration. You can also use `accountId` to configure cross-account widgets or simply to be explicit about which account the widget will be pulling data from.

func (DashboardWidgetOutput) Column

(Required) Column position of widget from top left, starting at `1`.

func (DashboardWidgetOutput) CompareWiths

func (DashboardWidgetOutput) DrilldownDashboardId

func (o DashboardWidgetOutput) DrilldownDashboardId() pulumi.IntPtrOutput

(Optional) The ID of a dashboard to link to from the widget's facets. * `attributeSheet`, `comparisonLineChart`, `eventFeed`, `eventTable`, `funnel`, `histogram`, `lineChart`, `rawJson`, `singleEvent`, or `uniquesList`:

func (DashboardWidgetOutput) Duration

(Required) The duration, in ms, of the time window represented in the chart.

func (DashboardWidgetOutput) ElementType

func (DashboardWidgetOutput) ElementType() reflect.Type

func (DashboardWidgetOutput) EndTime

(Optional) The end time of the time window represented in the chart in epoch time. When not set, the time window will end at the current time.

func (DashboardWidgetOutput) EntityIds

(Required) A collection of entity IDs to display data. These are typically application IDs.

func (DashboardWidgetOutput) Facet

(Optional) Can be set to "host" to facet the metric data by host.

func (DashboardWidgetOutput) Height

(Optional) Height of the widget. Valid values are `1` to `3` inclusive. Defaults to `1`.

func (DashboardWidgetOutput) Limit

(Optional) The limit of distinct data series to display. Requires `orderBy` to be set.

func (DashboardWidgetOutput) Metrics

(Required) A nested block that describes a metric. Nested `metric` blocks support the following arguments:

func (DashboardWidgetOutput) Notes

(Optional) Description of the widget.

func (DashboardWidgetOutput) Nrql

(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. * `markdown`:

func (DashboardWidgetOutput) OrderBy

(Optional) Set the order of the results. Required when using `limit`. * `applicationBreakdown`:

func (DashboardWidgetOutput) RawMetricName

func (o DashboardWidgetOutput) RawMetricName() pulumi.StringPtrOutput

func (DashboardWidgetOutput) Row

(Required) Row position of widget from top left, starting at `1`.

func (DashboardWidgetOutput) Source

(Required) The markdown source to be rendered in the widget. * `metricLineChart`:

func (DashboardWidgetOutput) ThresholdRed

(Required) Threshold above which the displayed value will be styled with a red color.

func (DashboardWidgetOutput) ThresholdYellow

func (o DashboardWidgetOutput) ThresholdYellow() pulumi.Float64PtrOutput

(Optional) Threshold above which the displayed value will be styled with a yellow color. * `facetBarChart`, `facetPieChart`, `facetTable`, `facetedAreaChart`, `facetedLineChart`, or `heatmap`:

func (DashboardWidgetOutput) Title

The title of the dashboard.

func (DashboardWidgetOutput) ToDashboardWidgetOutput

func (o DashboardWidgetOutput) ToDashboardWidgetOutput() DashboardWidgetOutput

func (DashboardWidgetOutput) ToDashboardWidgetOutputWithContext

func (o DashboardWidgetOutput) ToDashboardWidgetOutputWithContext(ctx context.Context) DashboardWidgetOutput

func (DashboardWidgetOutput) Visualization

func (o DashboardWidgetOutput) Visualization() pulumi.StringOutput

(Required) How the widget visualizes data. Valid values are `billboard`, `gauge`, `billboardComparison`, `facetBarChart`, `facetedLineChart`, `facetPieChart`, `facetTable`, `facetedAreaChart`, `heatmap`, `attributeSheet`, `singleEvent`, `histogram`, `funnel`, `rawJson`, `eventFeed`, `eventTable`, `uniquesList`, `lineChart`, `comparisonLineChart`, `markdown`, and `metricLineChart`.

func (DashboardWidgetOutput) WidgetId

func (DashboardWidgetOutput) Width

(Optional) Width of the widget. Valid values are `1` to `3` inclusive. Defaults to `1`.

type EntityTags

type EntityTags struct {
	pulumi.CustomResourceState

	// The guid of the entity to tag.
	Guid pulumi.StringOutput `pulumi:"guid"`
	// A nested block that describes an entity tag. See Nested tag blocks below for details.
	Tags EntityTagsTagArrayOutput `pulumi:"tags"`
}

Use this resource to create, update, and delete tags for a New Relic One entity.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-newrelic/sdk/v3/go/newrelic"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "APPLICATION"
		opt1 := "APM"
		fooEntity, err := newrelic.GetEntity(ctx, &newrelic.GetEntityArgs{
			Name:   "Example application",
			Type:   &opt0,
			Domain: &opt1,
		}, nil)
		if err != nil {
			return err
		}
		_, err = newrelic.NewEntityTags(ctx, "fooEntityTags", &newrelic.EntityTagsArgs{
			Guid: pulumi.String(fooEntity.Guid),
			Tags: newrelic.EntityTagsTagArray{
				&newrelic.EntityTagsTagArgs{
					Key: pulumi.String("my-key"),
					Values: pulumi.StringArray{
						pulumi.String("my-value"),
						pulumi.String("my-other-value"),
					},
				},
				&newrelic.EntityTagsTagArgs{
					Key: pulumi.String("my-key-2"),
					Values: pulumi.StringArray{
						pulumi.String("my-value-2"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

New Relic One entity tags can be imported using a concatenated string of the format

`<guid>`, e.g. bash

```sh

$ pulumi import newrelic:index/entityTags:EntityTags foo MjUyMDUyOHxBUE18QVBRTElDQVRJT058MjE1MDM3Nzk1

```

func GetEntityTags

func GetEntityTags(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EntityTagsState, opts ...pulumi.ResourceOption) (*EntityTags, error)

GetEntityTags gets an existing EntityTags resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEntityTags

func NewEntityTags(ctx *pulumi.Context,
	name string, args *EntityTagsArgs, opts ...pulumi.ResourceOption) (*EntityTags, error)

NewEntityTags registers a new resource with the given unique name, arguments, and options.

func (*EntityTags) ElementType added in v3.8.4

func (*EntityTags) ElementType() reflect.Type

func (*EntityTags) ToEntityTagsOutput added in v3.8.4

func (i *EntityTags) ToEntityTagsOutput() EntityTagsOutput

func (*EntityTags) ToEntityTagsOutputWithContext added in v3.8.4

func (i *EntityTags) ToEntityTagsOutputWithContext(ctx context.Context) EntityTagsOutput

func (*EntityTags) ToEntityTagsPtrOutput added in v3.13.1

func (i *EntityTags) ToEntityTagsPtrOutput() EntityTagsPtrOutput

func (*EntityTags) ToEntityTagsPtrOutputWithContext added in v3.13.1

func (i *EntityTags) ToEntityTagsPtrOutputWithContext(ctx context.Context) EntityTagsPtrOutput

type EntityTagsArgs

type EntityTagsArgs struct {
	// The guid of the entity to tag.
	Guid pulumi.StringInput
	// A nested block that describes an entity tag. See Nested tag blocks below for details.
	Tags EntityTagsTagArrayInput
}

The set of arguments for constructing a EntityTags resource.

func (EntityTagsArgs) ElementType

func (EntityTagsArgs) ElementType() reflect.Type

type EntityTagsArray added in v3.13.1

type EntityTagsArray []EntityTagsInput

func (EntityTagsArray) ElementType added in v3.13.1

func (EntityTagsArray) ElementType() reflect.Type

func (EntityTagsArray) ToEntityTagsArrayOutput added in v3.13.1

func (i EntityTagsArray) ToEntityTagsArrayOutput() EntityTagsArrayOutput

func (EntityTagsArray) ToEntityTagsArrayOutputWithContext added in v3.13.1

func (i EntityTagsArray) ToEntityTagsArrayOutputWithContext(ctx context.Context) EntityTagsArrayOutput

type EntityTagsArrayInput added in v3.13.1

type EntityTagsArrayInput interface {
	pulumi.Input

	ToEntityTagsArrayOutput() EntityTagsArrayOutput
	ToEntityTagsArrayOutputWithContext(context.Context) EntityTagsArrayOutput
}

EntityTagsArrayInput is an input type that accepts EntityTagsArray and EntityTagsArrayOutput values. You can construct a concrete instance of `EntityTagsArrayInput` via:

EntityTagsArray{ EntityTagsArgs{...} }

type EntityTagsArrayOutput added in v3.13.1

type EntityTagsArrayOutput struct{ *pulumi.OutputState }

func (EntityTagsArrayOutput) ElementType added in v3.13.1

func (EntityTagsArrayOutput) ElementType() reflect.Type

func (EntityTagsArrayOutput) Index added in v3.13.1

func (EntityTagsArrayOutput) ToEntityTagsArrayOutput added in v3.13.1

func (o EntityTagsArrayOutput) ToEntityTagsArrayOutput() EntityTagsArrayOutput

func (EntityTagsArrayOutput) ToEntityTagsArrayOutputWithContext added in v3.13.1

func (o EntityTagsArrayOutput) ToEntityTagsArrayOutputWithContext(ctx context.Context) EntityTagsArrayOutput

type EntityTagsInput added in v3.8.4

type EntityTagsInput interface {
	pulumi.Input

	ToEntityTagsOutput() EntityTagsOutput
	ToEntityTagsOutputWithContext(ctx context.Context) EntityTagsOutput
}

type EntityTagsMap added in v3.13.1

type EntityTagsMap map[string]EntityTagsInput

func (EntityTagsMap) ElementType added in v3.13.1

func (EntityTagsMap) ElementType() reflect.Type

func (EntityTagsMap) ToEntityTagsMapOutput added in v3.13.1

func (i EntityTagsMap) ToEntityTagsMapOutput() EntityTagsMapOutput

func (EntityTagsMap) ToEntityTagsMapOutputWithContext added in v3.13.1

func (i EntityTagsMap) ToEntityTagsMapOutputWithContext(ctx context.Context) EntityTagsMapOutput

type EntityTagsMapInput added in v3.13.1

type EntityTagsMapInput interface {
	pulumi.Input

	ToEntityTagsMapOutput() EntityTagsMapOutput
	ToEntityTagsMapOutputWithContext(context.Context) EntityTagsMapOutput
}

EntityTagsMapInput is an input type that accepts EntityTagsMap and EntityTagsMapOutput values. You can construct a concrete instance of `EntityTagsMapInput` via:

EntityTagsMap{ "key": EntityTagsArgs{...} }

type EntityTagsMapOutput added in v3.13.1

type EntityTagsMapOutput struct{ *pulumi.OutputState }

func (EntityTagsMapOutput) ElementType added in v3.13.1

func (EntityTagsMapOutput) ElementType() reflect.Type

func (EntityTagsMapOutput) MapIndex added in v3.13.1

func (EntityTagsMapOutput) ToEntityTagsMapOutput added in v3.13.1

func (o EntityTagsMapOutput) ToEntityTagsMapOutput() EntityTagsMapOutput

func (EntityTagsMapOutput) ToEntityTagsMapOutputWithContext added in v3.13.1

func (o EntityTagsMapOutput) ToEntityTagsMapOutputWithContext(ctx context.Context) EntityTagsMapOutput

type EntityTagsOutput added in v3.8.4

type EntityTagsOutput struct {
	*pulumi.OutputState
}

func (EntityTagsOutput) ElementType added in v3.8.4

func (EntityTagsOutput) ElementType() reflect.Type

func (EntityTagsOutput) ToEntityTagsOutput added in v3.8.4

func (o EntityTagsOutput) ToEntityTagsOutput() EntityTagsOutput

func (EntityTagsOutput) ToEntityTagsOutputWithContext added in v3.8.4

func (o EntityTagsOutput) ToEntityTagsOutputWithContext(ctx context.Context) EntityTagsOutput

func (EntityTagsOutput) ToEntityTagsPtrOutput added in v3.13.1

func (o EntityTagsOutput) ToEntityTagsPtrOutput() EntityTagsPtrOutput

func (EntityTagsOutput) ToEntityTagsPtrOutputWithContext added in v3.13.1

func (o EntityTagsOutput) ToEntityTagsPtrOutputWithContext(ctx context.Context) EntityTagsPtrOutput

type EntityTagsPtrInput added in v3.13.1

type EntityTagsPtrInput interface {
	pulumi.Input

	ToEntityTagsPtrOutput() EntityTagsPtrOutput
	ToEntityTagsPtrOutputWithContext(ctx context.Context) EntityTagsPtrOutput
}

type EntityTagsPtrOutput added in v3.13.1

type EntityTagsPtrOutput struct {
	*pulumi.OutputState
}

func (EntityTagsPtrOutput) ElementType added in v3.13.1

func (EntityTagsPtrOutput) ElementType() reflect.Type

func (EntityTagsPtrOutput) ToEntityTagsPtrOutput added in v3.13.1

func (o EntityTagsPtrOutput) ToEntityTagsPtrOutput() EntityTagsPtrOutput

func (EntityTagsPtrOutput) ToEntityTagsPtrOutputWithContext added in v3.13.1

func (o EntityTagsPtrOutput) ToEntityTagsPtrOutputWithContext(ctx context.Context) EntityTagsPtrOutput

type EntityTagsState

type EntityTagsState struct {
	// The guid of the entity to tag.
	Guid pulumi.StringPtrInput
	// A nested block that describes an entity tag. See Nested tag blocks below for details.
	Tags EntityTagsTagArrayInput
}

func (EntityTagsState) ElementType

func (EntityTagsState) ElementType() reflect.Type

type EntityTagsTag

type EntityTagsTag struct {
	// The tag key.
	Key string `pulumi:"key"`
	// The tag values.
	Values []string `pulumi:"values"`
}

type EntityTagsTagArgs

type EntityTagsTagArgs struct {
	// The tag key.
	Key pulumi.StringInput `pulumi:"key"`
	// The tag values.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (EntityTagsTagArgs) ElementType

func (EntityTagsTagArgs) ElementType() reflect.Type

func (EntityTagsTagArgs) ToEntityTagsTagOutput

func (i EntityTagsTagArgs) ToEntityTagsTagOutput() EntityTagsTagOutput

func (EntityTagsTagArgs) ToEntityTagsTagOutputWithContext

func (i EntityTagsTagArgs) ToEntityTagsTagOutputWithContext(ctx context.Context) EntityTagsTagOutput

type EntityTagsTagArray

type EntityTagsTagArray []EntityTagsTagInput

func (EntityTagsTagArray) ElementType

func (EntityTagsTagArray) ElementType() reflect.Type

func (EntityTagsTagArray) ToEntityTagsTagArrayOutput

func (i EntityTagsTagArray) ToEntityTagsTagArrayOutput() EntityTagsTagArrayOutput

func (EntityTagsTagArray) ToEntityTagsTagArrayOutputWithContext

func (i EntityTagsTagArray) ToEntityTagsTagArrayOutputWithContext(ctx context.Context) EntityTagsTagArrayOutput

type EntityTagsTagArrayInput

type EntityTagsTagArrayInput interface {
	pulumi.Input

	ToEntityTagsTagArrayOutput() EntityTagsTagArrayOutput
	ToEntityTagsTagArrayOutputWithContext(context.Context) EntityTagsTagArrayOutput
}

EntityTagsTagArrayInput is an input type that accepts EntityTagsTagArray and EntityTagsTagArrayOutput values. You can construct a concrete instance of `EntityTagsTagArrayInput` via:

EntityTagsTagArray{ EntityTagsTagArgs{...} }

type EntityTagsTagArrayOutput

type EntityTagsTagArrayOutput struct{ *pulumi.OutputState }

func (EntityTagsTagArrayOutput) ElementType

func (EntityTagsTagArrayOutput) ElementType() reflect.Type

func (EntityTagsTagArrayOutput) Index

func (EntityTagsTagArrayOutput) ToEntityTagsTagArrayOutput

func (o EntityTagsTagArrayOutput) ToEntityTagsTagArrayOutput() EntityTagsTagArrayOutput

func (EntityTagsTagArrayOutput) ToEntityTagsTagArrayOutputWithContext

func (o EntityTagsTagArrayOutput) ToEntityTagsTagArrayOutputWithContext(ctx context.Context) EntityTagsTagArrayOutput

type EntityTagsTagInput

type EntityTagsTagInput interface {
	pulumi.Input

	ToEntityTagsTagOutput() EntityTagsTagOutput
	ToEntityTagsTagOutputWithContext(context.Context) EntityTagsTagOutput
}

EntityTagsTagInput is an input type that accepts EntityTagsTagArgs and EntityTagsTagOutput values. You can construct a concrete instance of `EntityTagsTagInput` via:

EntityTagsTagArgs{...}

type EntityTagsTagOutput

type EntityTagsTagOutput struct{ *pulumi.OutputState }

func (EntityTagsTagOutput) ElementType

func (EntityTagsTagOutput) ElementType() reflect.Type

func (EntityTagsTagOutput) Key

The tag key.

func (EntityTagsTagOutput) ToEntityTagsTagOutput

func (o EntityTagsTagOutput) ToEntityTagsTagOutput() EntityTagsTagOutput

func (EntityTagsTagOutput) ToEntityTagsTagOutputWithContext

func (o EntityTagsTagOutput) ToEntityTagsTagOutputWithContext(ctx context.Context) EntityTagsTagOutput

func (EntityTagsTagOutput) Values

The tag values.

type EventsToMetricsRule

type EventsToMetricsRule struct {
	pulumi.CustomResourceState

	// Account with the event and where the metrics will be put.
	AccountId pulumi.IntOutput `pulumi:"accountId"`
	// Provides additional information about the rule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// True means this rule is enabled. False means the rule is currently not creating metrics.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The name of the rule. This must be unique within an account.
	Name pulumi.StringOutput `pulumi:"name"`
	// Explains how to create metrics from events.
	Nrql pulumi.StringOutput `pulumi:"nrql"`
	// The id, uniquely identifying the rule.
	RuleId pulumi.StringOutput `pulumi:"ruleId"`
}

Use this resource to create, update, and delete New Relic Events to Metrics rules.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-newrelic/sdk/v3/go/newrelic"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewEventsToMetricsRule(ctx, "foo", &newrelic.EventsToMetricsRuleArgs{
			AccountId:   pulumi.Int(12345),
			Description: pulumi.String("Example description"),
			Nrql:        pulumi.String("SELECT uniqueCount(account_id) AS ``Transaction.account_id`` FROM Transaction FACET appName, name"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

New Relic Events to Metrics rules can be imported using a concatenated string of the format

`<account_id>:<rule_id>`, e.g. bash

```sh

$ pulumi import newrelic:index/eventsToMetricsRule:EventsToMetricsRule foo 12345:34567

```

func GetEventsToMetricsRule

func GetEventsToMetricsRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventsToMetricsRuleState, opts ...pulumi.ResourceOption) (*EventsToMetricsRule, error)

GetEventsToMetricsRule gets an existing EventsToMetricsRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventsToMetricsRule

func NewEventsToMetricsRule(ctx *pulumi.Context,
	name string, args *EventsToMetricsRuleArgs, opts ...pulumi.ResourceOption) (*EventsToMetricsRule, error)

NewEventsToMetricsRule registers a new resource with the given unique name, arguments, and options.

func (*EventsToMetricsRule) ElementType added in v3.8.4

func (*EventsToMetricsRule) ElementType() reflect.Type

func (*EventsToMetricsRule) ToEventsToMetricsRuleOutput added in v3.8.4

func (i *EventsToMetricsRule) ToEventsToMetricsRuleOutput() EventsToMetricsRuleOutput

func (*EventsToMetricsRule) ToEventsToMetricsRuleOutputWithContext added in v3.8.4

func (i *EventsToMetricsRule) ToEventsToMetricsRuleOutputWithContext(ctx context.Context) EventsToMetricsRuleOutput

func (*EventsToMetricsRule) ToEventsToMetricsRulePtrOutput added in v3.13.1

func (i *EventsToMetricsRule) ToEventsToMetricsRulePtrOutput() EventsToMetricsRulePtrOutput

func (*EventsToMetricsRule) ToEventsToMetricsRulePtrOutputWithContext added in v3.13.1

func (i *EventsToMetricsRule) ToEventsToMetricsRulePtrOutputWithContext(ctx context.Context) EventsToMetricsRulePtrOutput

type EventsToMetricsRuleArgs

type EventsToMetricsRuleArgs struct {
	// Account with the event and where the metrics will be put.
	AccountId pulumi.IntPtrInput
	// Provides additional information about the rule.
	Description pulumi.StringPtrInput
	// True means this rule is enabled. False means the rule is currently not creating metrics.
	Enabled pulumi.BoolPtrInput
	// The name of the rule. This must be unique within an account.
	Name pulumi.StringPtrInput
	// Explains how to create metrics from events.
	Nrql pulumi.StringInput
}

The set of arguments for constructing a EventsToMetricsRule resource.

func (EventsToMetricsRuleArgs) ElementType

func (EventsToMetricsRuleArgs) ElementType() reflect.Type

type EventsToMetricsRuleArray added in v3.13.1

type EventsToMetricsRuleArray []EventsToMetricsRuleInput

func (EventsToMetricsRuleArray) ElementType added in v3.13.1

func (EventsToMetricsRuleArray) ElementType() reflect.Type

func (EventsToMetricsRuleArray) ToEventsToMetricsRuleArrayOutput added in v3.13.1

func (i EventsToMetricsRuleArray) ToEventsToMetricsRuleArrayOutput() EventsToMetricsRuleArrayOutput

func (EventsToMetricsRuleArray) ToEventsToMetricsRuleArrayOutputWithContext added in v3.13.1

func (i EventsToMetricsRuleArray) ToEventsToMetricsRuleArrayOutputWithContext(ctx context.Context) EventsToMetricsRuleArrayOutput

type EventsToMetricsRuleArrayInput added in v3.13.1

type EventsToMetricsRuleArrayInput interface {
	pulumi.Input

	ToEventsToMetricsRuleArrayOutput() EventsToMetricsRuleArrayOutput
	ToEventsToMetricsRuleArrayOutputWithContext(context.Context) EventsToMetricsRuleArrayOutput
}

EventsToMetricsRuleArrayInput is an input type that accepts EventsToMetricsRuleArray and EventsToMetricsRuleArrayOutput values. You can construct a concrete instance of `EventsToMetricsRuleArrayInput` via:

EventsToMetricsRuleArray{ EventsToMetricsRuleArgs{...} }

type EventsToMetricsRuleArrayOutput added in v3.13.1

type EventsToMetricsRuleArrayOutput struct{ *pulumi.OutputState }

func (EventsToMetricsRuleArrayOutput) ElementType added in v3.13.1

func (EventsToMetricsRuleArrayOutput) Index added in v3.13.1

func (EventsToMetricsRuleArrayOutput) ToEventsToMetricsRuleArrayOutput added in v3.13.1

func (o EventsToMetricsRuleArrayOutput) ToEventsToMetricsRuleArrayOutput() EventsToMetricsRuleArrayOutput

func (EventsToMetricsRuleArrayOutput) ToEventsToMetricsRuleArrayOutputWithContext added in v3.13.1

func (o EventsToMetricsRuleArrayOutput) ToEventsToMetricsRuleArrayOutputWithContext(ctx context.Context) EventsToMetricsRuleArrayOutput

type EventsToMetricsRuleInput added in v3.8.4

type EventsToMetricsRuleInput interface {
	pulumi.Input

	ToEventsToMetricsRuleOutput() EventsToMetricsRuleOutput
	ToEventsToMetricsRuleOutputWithContext(ctx context.Context) EventsToMetricsRuleOutput
}

type EventsToMetricsRuleMap added in v3.13.1

type EventsToMetricsRuleMap map[string]EventsToMetricsRuleInput

func (EventsToMetricsRuleMap) ElementType added in v3.13.1

func (EventsToMetricsRuleMap) ElementType() reflect.Type

func (EventsToMetricsRuleMap) ToEventsToMetricsRuleMapOutput added in v3.13.1

func (i EventsToMetricsRuleMap) ToEventsToMetricsRuleMapOutput() EventsToMetricsRuleMapOutput

func (EventsToMetricsRuleMap) ToEventsToMetricsRuleMapOutputWithContext added in v3.13.1

func (i EventsToMetricsRuleMap) ToEventsToMetricsRuleMapOutputWithContext(ctx context.Context) EventsToMetricsRuleMapOutput

type EventsToMetricsRuleMapInput added in v3.13.1

type EventsToMetricsRuleMapInput interface {
	pulumi.Input

	ToEventsToMetricsRuleMapOutput() EventsToMetricsRuleMapOutput
	ToEventsToMetricsRuleMapOutputWithContext(context.Context) EventsToMetricsRuleMapOutput
}

EventsToMetricsRuleMapInput is an input type that accepts EventsToMetricsRuleMap and EventsToMetricsRuleMapOutput values. You can construct a concrete instance of `EventsToMetricsRuleMapInput` via:

EventsToMetricsRuleMap{ "key": EventsToMetricsRuleArgs{...} }

type EventsToMetricsRuleMapOutput added in v3.13.1

type EventsToMetricsRuleMapOutput struct{ *pulumi.OutputState }

func (EventsToMetricsRuleMapOutput) ElementType added in v3.13.1

func (EventsToMetricsRuleMapOutput) MapIndex added in v3.13.1

func (EventsToMetricsRuleMapOutput) ToEventsToMetricsRuleMapOutput added in v3.13.1

func (o EventsToMetricsRuleMapOutput) ToEventsToMetricsRuleMapOutput() EventsToMetricsRuleMapOutput

func (EventsToMetricsRuleMapOutput) ToEventsToMetricsRuleMapOutputWithContext added in v3.13.1

func (o EventsToMetricsRuleMapOutput) ToEventsToMetricsRuleMapOutputWithContext(ctx context.Context) EventsToMetricsRuleMapOutput

type EventsToMetricsRuleOutput added in v3.8.4

type EventsToMetricsRuleOutput struct {
	*pulumi.OutputState
}

func (EventsToMetricsRuleOutput) ElementType added in v3.8.4

func (EventsToMetricsRuleOutput) ElementType() reflect.Type

func (EventsToMetricsRuleOutput) ToEventsToMetricsRuleOutput added in v3.8.4

func (o EventsToMetricsRuleOutput) ToEventsToMetricsRuleOutput() EventsToMetricsRuleOutput

func (EventsToMetricsRuleOutput) ToEventsToMetricsRuleOutputWithContext added in v3.8.4

func (o EventsToMetricsRuleOutput) ToEventsToMetricsRuleOutputWithContext(ctx context.Context) EventsToMetricsRuleOutput

func (EventsToMetricsRuleOutput) ToEventsToMetricsRulePtrOutput added in v3.13.1

func (o EventsToMetricsRuleOutput) ToEventsToMetricsRulePtrOutput() EventsToMetricsRulePtrOutput

func (EventsToMetricsRuleOutput) ToEventsToMetricsRulePtrOutputWithContext added in v3.13.1

func (o EventsToMetricsRuleOutput) ToEventsToMetricsRulePtrOutputWithContext(ctx context.Context) EventsToMetricsRulePtrOutput

type EventsToMetricsRulePtrInput added in v3.13.1

type EventsToMetricsRulePtrInput interface {
	pulumi.Input

	ToEventsToMetricsRulePtrOutput() EventsToMetricsRulePtrOutput
	ToEventsToMetricsRulePtrOutputWithContext(ctx context.Context) EventsToMetricsRulePtrOutput
}

type EventsToMetricsRulePtrOutput added in v3.13.1

type EventsToMetricsRulePtrOutput struct {
	*pulumi.OutputState
}

func (EventsToMetricsRulePtrOutput) ElementType added in v3.13.1

func (EventsToMetricsRulePtrOutput) ToEventsToMetricsRulePtrOutput added in v3.13.1

func (o EventsToMetricsRulePtrOutput) ToEventsToMetricsRulePtrOutput() EventsToMetricsRulePtrOutput

func (EventsToMetricsRulePtrOutput) ToEventsToMetricsRulePtrOutputWithContext added in v3.13.1

func (o EventsToMetricsRulePtrOutput) ToEventsToMetricsRulePtrOutputWithContext(ctx context.Context) EventsToMetricsRulePtrOutput

type EventsToMetricsRuleState

type EventsToMetricsRuleState struct {
	// Account with the event and where the metrics will be put.
	AccountId pulumi.IntPtrInput
	// Provides additional information about the rule.
	Description pulumi.StringPtrInput
	// True means this rule is enabled. False means the rule is currently not creating metrics.
	Enabled pulumi.BoolPtrInput
	// The name of the rule. This must be unique within an account.
	Name pulumi.StringPtrInput
	// Explains how to create metrics from events.
	Nrql pulumi.StringPtrInput
	// The id, uniquely identifying the rule.
	RuleId pulumi.StringPtrInput
}

func (EventsToMetricsRuleState) ElementType

func (EventsToMetricsRuleState) ElementType() reflect.Type

type GetAccountArgs

type GetAccountArgs struct {
	// The account ID in New Relic.
	AccountId *int `pulumi:"accountId"`
	// The account name in New Relic.
	Name *string `pulumi:"name"`
	// The scope of the account in New Relic.  Valid values are "global" and "inRegion".  Defaults to "inRegion".
	Scope *string `pulumi:"scope"`
}

A collection of arguments for invoking getAccount.

type GetAccountResult

type GetAccountResult struct {
	AccountId *int `pulumi:"accountId"`
	// The provider-assigned unique ID for this managed resource.
	Id    string  `pulumi:"id"`
	Name  *string `pulumi:"name"`
	Scope *string `pulumi:"scope"`
}

A collection of values returned by getAccount.

func GetAccount

func GetAccount(ctx *pulumi.Context, args *GetAccountArgs, opts ...pulumi.InvokeOption) (*GetAccountResult, error)

Use this data source to get information about a specific account in New Relic. Accounts can be located by ID or name. Exactly one of the two attributes is required.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-newrelic/sdk/v3/go/newrelic"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "global"
		_, err := newrelic.GetAccount(ctx, &newrelic.GetAccountArgs{
			Scope: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetAlertChannelConfig

type GetAlertChannelConfig struct {
	ApiKey                *string           `pulumi:"apiKey"`
	AuthPassword          *string           `pulumi:"authPassword"`
	AuthType              *string           `pulumi:"authType"`
	AuthUsername          *string           `pulumi:"authUsername"`
	BaseUrl               *string           `pulumi:"baseUrl"`
	Channel               *string           `pulumi:"channel"`
	Headers               map[string]string `pulumi:"headers"`
	IncludeJsonAttachment *string           `pulumi:"includeJsonAttachment"`
	Key                   *string           `pulumi:"key"`
	Payload               map[string]string `pulumi:"payload"`
	PayloadType           *string           `pulumi:"payloadType"`
	Recipients            *string           `pulumi:"recipients"`
	Region                *string           `pulumi:"region"`
	RouteKey              *string           `pulumi:"routeKey"`
	ServiceKey            *string           `pulumi:"serviceKey"`
	Tags                  *string           `pulumi:"tags"`
	Teams                 *string           `pulumi:"teams"`
	Url                   *string           `pulumi:"url"`
	UserId                *string           `pulumi:"userId"`
}

type GetAlertChannelConfigArgs

type GetAlertChannelConfigArgs struct {
	ApiKey                pulumi.StringPtrInput `pulumi:"apiKey"`
	AuthPassword          pulumi.StringPtrInput `pulumi:"authPassword"`
	AuthType              pulumi.StringPtrInput `pulumi:"authType"`
	AuthUsername          pulumi.StringPtrInput `pulumi:"authUsername"`
	BaseUrl               pulumi.StringPtrInput `pulumi:"baseUrl"`
	Channel               pulumi.StringPtrInput `pulumi:"channel"`
	Headers               pulumi.StringMapInput `pulumi:"headers"`
	IncludeJsonAttachment pulumi.StringPtrInput `pulumi:"includeJsonAttachment"`
	Key                   pulumi.StringPtrInput `pulumi:"key"`
	Payload               pulumi.StringMapInput `pulumi:"payload"`
	PayloadType           pulumi.StringPtrInput `pulumi:"payloadType"`
	Recipients            pulumi.StringPtrInput `pulumi:"recipients"`
	Region                pulumi.StringPtrInput `pulumi:"region"`
	RouteKey              pulumi.StringPtrInput `pulumi:"routeKey"`
	ServiceKey            pulumi.StringPtrInput `pulumi:"serviceKey"`
	Tags                  pulumi.StringPtrInput `pulumi:"tags"`
	Teams                 pulumi.StringPtrInput `pulumi:"teams"`
	Url                   pulumi.StringPtrInput `pulumi:"url"`
	UserId                pulumi.StringPtrInput `pulumi:"userId"`
}

func (GetAlertChannelConfigArgs) ElementType

func (GetAlertChannelConfigArgs) ElementType() reflect.Type

func (GetAlertChannelConfigArgs) ToGetAlertChannelConfigOutput

func (i GetAlertChannelConfigArgs) ToGetAlertChannelConfigOutput() GetAlertChannelConfigOutput

func (GetAlertChannelConfigArgs) ToGetAlertChannelConfigOutputWithContext

func (i GetAlertChannelConfigArgs) ToGetAlertChannelConfigOutputWithContext(ctx context.Context) GetAlertChannelConfigOutput

type GetAlertChannelConfigInput

type GetAlertChannelConfigInput interface {
	pulumi.Input

	ToGetAlertChannelConfigOutput() GetAlertChannelConfigOutput
	ToGetAlertChannelConfigOutputWithContext(context.Context) GetAlertChannelConfigOutput
}

GetAlertChannelConfigInput is an input type that accepts GetAlertChannelConfigArgs and GetAlertChannelConfigOutput values. You can construct a concrete instance of `GetAlertChannelConfigInput` via:

GetAlertChannelConfigArgs{...}

type GetAlertChannelConfigOutput

type GetAlertChannelConfigOutput struct{ *pulumi.OutputState }

func (GetAlertChannelConfigOutput) ApiKey

func (GetAlertChannelConfigOutput) AuthPassword

func (GetAlertChannelConfigOutput) AuthType

func (GetAlertChannelConfigOutput) AuthUsername

func (GetAlertChannelConfigOutput) BaseUrl

func (GetAlertChannelConfigOutput) Channel

func (GetAlertChannelConfigOutput) ElementType

func (GetAlertChannelConfigOutput) Headers

func (GetAlertChannelConfigOutput) IncludeJsonAttachment

func (o GetAlertChannelConfigOutput) IncludeJsonAttachment() pulumi.StringPtrOutput

func (GetAlertChannelConfigOutput) Key

func (GetAlertChannelConfigOutput) Payload

func (GetAlertChannelConfigOutput) PayloadType

func (GetAlertChannelConfigOutput) Recipients

func (GetAlertChannelConfigOutput) Region

func (GetAlertChannelConfigOutput) RouteKey

func (GetAlertChannelConfigOutput) ServiceKey

func (GetAlertChannelConfigOutput) Tags

func (GetAlertChannelConfigOutput) Teams

func (GetAlertChannelConfigOutput) ToGetAlertChannelConfigOutput

func (o GetAlertChannelConfigOutput) ToGetAlertChannelConfigOutput() GetAlertChannelConfigOutput

func (GetAlertChannelConfigOutput) ToGetAlertChannelConfigOutputWithContext

func (o GetAlertChannelConfigOutput) ToGetAlertChannelConfigOutputWithContext(ctx context.Context) GetAlertChannelConfigOutput

func (GetAlertChannelConfigOutput) Url

func (GetAlertChannelConfigOutput) UserId

type GetApplicationArgs

type GetApplicationArgs struct {
	// The name of the application in New Relic.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getApplication.

type GetApplicationResult

type GetApplicationResult struct {
	// A list of host IDs associated with the application.
	HostIds []int `pulumi:"hostIds"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of instance IDs associated with the application.
	InstanceIds []int  `pulumi:"instanceIds"`
	Name        string `pulumi:"name"`
}

A collection of values returned by getApplication.

func GetApplication

func GetApplication(ctx *pulumi.Context, args *GetApplicationArgs, opts ...pulumi.InvokeOption) (*GetApplicationResult, error)

#### DEPRECATED! Use at your own risk. Use the `getEntity` data source instead. This feature may be removed in the next major release.

Use this data source to get information about a specific application in New Relic that already exists.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-newrelic/sdk/v3/go/newrelic"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		app, err := newrelic.GetApplication(ctx, &newrelic.GetApplicationArgs{
			Name: "my-app",
		}, nil)
		if err != nil {
			return err
		}
		fooAlertPolicy, err := newrelic.NewAlertPolicy(ctx, "fooAlertPolicy", nil)
		if err != nil {
			return err
		}
		_, err = newrelic.NewAlertCondition(ctx, "fooAlertCondition", &newrelic.AlertConditionArgs{
			PolicyId: fooAlertPolicy.ID(),
			Type:     pulumi.String("apm_app_metric"),
			Entities: pulumi.IntArray{
				pulumi.String(app.Id),
			},
			Metric:     pulumi.String("apdex"),
			RunbookUrl: pulumi.String("https://www.example.com"),
			Terms: newrelic.AlertConditionTermArray{
				&newrelic.AlertConditionTermArgs{
					Duration:     pulumi.Int(5),
					Operator:     pulumi.String("below"),
					Priority:     pulumi.String("critical"),
					Threshold:    pulumi.Float64(0.75),
					TimeFunction: pulumi.String("all"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetEntityArgs

type GetEntityArgs struct {
	// The entity's domain. Valid values are APM, BROWSER, INFRA, MOBILE, SYNTH, and VIZ. If not specified, all domains are searched.
	Domain *string `pulumi:"domain"`
	// The name of the entity in New Relic One.  The first entity matching this name for the given search parameters will be returned.
	Name string        `pulumi:"name"`
	Tag  *GetEntityTag `pulumi:"tag"`
	// The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, and WORKLOAD.
	Type *string `pulumi:"type"`
}

A collection of arguments for invoking getEntity.

type GetEntityResult

type GetEntityResult struct {
	// The New Relic account ID associated with this entity.
	AccountId int `pulumi:"accountId"`
	// The domain-specific application ID of the entity. Only returned for APM and Browser applications.
	ApplicationId int    `pulumi:"applicationId"`
	Domain        string `pulumi:"domain"`
	// The unique GUID of the entity.
	Guid string `pulumi:"guid"`
	// The provider-assigned unique ID for this managed resource.
	Id                      string        `pulumi:"id"`
	Name                    string        `pulumi:"name"`
	ServingApmApplicationId int           `pulumi:"servingApmApplicationId"`
	Tag                     *GetEntityTag `pulumi:"tag"`
	Type                    string        `pulumi:"type"`
}

A collection of values returned by getEntity.

func GetEntity

func GetEntity(ctx *pulumi.Context, args *GetEntityArgs, opts ...pulumi.InvokeOption) (*GetEntityResult, error)

Use this data source to get information about a specific entity in New Relic One that already exists.

type GetEntityTag

type GetEntityTag struct {
	Key   string `pulumi:"key"`
	Value string `pulumi:"value"`
}

type GetEntityTagArgs

type GetEntityTagArgs struct {
	Key   pulumi.StringInput `pulumi:"key"`
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetEntityTagArgs) ElementType

func (GetEntityTagArgs) ElementType() reflect.Type

func (GetEntityTagArgs) ToGetEntityTagOutput

func (i GetEntityTagArgs) ToGetEntityTagOutput() GetEntityTagOutput

func (GetEntityTagArgs) ToGetEntityTagOutputWithContext

func (i GetEntityTagArgs) ToGetEntityTagOutputWithContext(ctx context.Context) GetEntityTagOutput

type GetEntityTagInput

type GetEntityTagInput interface {
	pulumi.Input

	ToGetEntityTagOutput() GetEntityTagOutput
	ToGetEntityTagOutputWithContext(context.Context) GetEntityTagOutput
}

GetEntityTagInput is an input type that accepts GetEntityTagArgs and GetEntityTagOutput values. You can construct a concrete instance of `GetEntityTagInput` via:

GetEntityTagArgs{...}

type GetEntityTagOutput

type GetEntityTagOutput struct{ *pulumi.OutputState }

func (GetEntityTagOutput) ElementType

func (GetEntityTagOutput) ElementType() reflect.Type

func (GetEntityTagOutput) Key

func (GetEntityTagOutput) ToGetEntityTagOutput

func (o GetEntityTagOutput) ToGetEntityTagOutput() GetEntityTagOutput

func (GetEntityTagOutput) ToGetEntityTagOutputWithContext

func (o GetEntityTagOutput) ToGetEntityTagOutputWithContext(ctx context.Context) GetEntityTagOutput

func (GetEntityTagOutput) Value

type GetKeyTransactionArgs

type GetKeyTransactionArgs struct {
	// The name of the key transaction in New Relic.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getKeyTransaction.

type GetKeyTransactionResult

type GetKeyTransactionResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
}

A collection of values returned by getKeyTransaction.

func GetKeyTransaction

func GetKeyTransaction(ctx *pulumi.Context, args *GetKeyTransactionArgs, opts ...pulumi.InvokeOption) (*GetKeyTransactionResult, error)

Use this data source to get information about a specific key transaction in New Relic that already exists.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-newrelic/sdk/v3/go/newrelic"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		txn, err := newrelic.GetKeyTransaction(ctx, &newrelic.GetKeyTransactionArgs{
			Name: "txn",
		}, nil)
		if err != nil {
			return err
		}
		fooAlertPolicy, err := newrelic.NewAlertPolicy(ctx, "fooAlertPolicy", nil)
		if err != nil {
			return err
		}
		_, err = newrelic.NewAlertCondition(ctx, "fooAlertCondition", &newrelic.AlertConditionArgs{
			PolicyId: fooAlertPolicy.ID(),
			Type:     pulumi.String("apm_kt_metric"),
			Entities: pulumi.IntArray{
				pulumi.String(txn.Id),
			},
			Metric:     pulumi.String("error_percentage"),
			RunbookUrl: pulumi.String("https://www.example.com"),
			Terms: newrelic.AlertConditionTermArray{
				&newrelic.AlertConditionTermArgs{
					Duration:     pulumi.Int(5),
					Operator:     pulumi.String("below"),
					Priority:     pulumi.String("critical"),
					Threshold:    pulumi.Float64(0.75),
					TimeFunction: pulumi.String("all"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type InfraAlertCondition

type InfraAlertCondition struct {
	pulumi.CustomResourceState

	// The operator used to evaluate the threshold value.  Valid values are `above`, `below`, and `equal`.  Supported by the `infraMetric` and `infraProcessRunning` condition types.
	Comparison pulumi.StringPtrOutput `pulumi:"comparison"`
	// The timestamp the alert condition was created.
	CreatedAt pulumi.IntOutput `pulumi:"createdAt"`
	// Identifies the threshold parameters for opening a critical alert violation. See Thresholds below for details.
	Critical InfraAlertConditionCriticalPtrOutput `pulumi:"critical"`
	// The description of the Infrastructure alert condition.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Whether the condition is turned on or off.  Valid values are `true` and `false`.  Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The metric event; for example, `SystemSample` or `StorageSample`.  Supported by the `infraMetric` condition type.
	Event pulumi.StringOutput `pulumi:"event"`
	// For alerts on integrations, use this instead of `event`.  Supported by the `infraMetric` condition type.
	IntegrationProvider pulumi.StringPtrOutput `pulumi:"integrationProvider"`
	// The Infrastructure alert condition's name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the alert policy where this condition should be used.
	PolicyId pulumi.IntOutput `pulumi:"policyId"`
	// Any filters applied to processes; for example: `commandName = 'java'`.  Required by the `infraProcessRunning` condition type.
	ProcessWhere pulumi.StringPtrOutput `pulumi:"processWhere"`
	// Runbook URL to display in notifications.
	RunbookUrl pulumi.StringPtrOutput `pulumi:"runbookUrl"`
	// The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`.  The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues.  Supported by the `infraMetric` condition type.
	Select pulumi.StringPtrOutput `pulumi:"select"`
	// The type of Infrastructure alert condition.  Valid values are  `infraProcessRunning`, `infraMetric`, and `infraHostNotReporting`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The timestamp the alert condition was last updated.
	UpdatedAt pulumi.IntOutput `pulumi:"updatedAt"`
	// Determines how much time will pass before a violation is automatically closed. Setting the time limit to 0 prevents a violation from being force-closed.
	ViolationCloseTimer pulumi.IntPtrOutput `pulumi:"violationCloseTimer"`
	// Identifies the threshold parameters for opening a warning alert violation. See Thresholds below for details.
	Warning InfraAlertConditionWarningPtrOutput `pulumi:"warning"`
	// If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
	Where pulumi.StringPtrOutput `pulumi:"where"`
}

Use this resource to create and manage Infrastructure alert conditions in New Relic.

> **NOTE:** The NrqlAlertCondition resource is preferred for configuring alerts conditions. In most cases feature parity can be achieved with a NRQL query. Other condition types may be deprecated in the future and receive fewer product updates.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-newrelic/sdk/v3/go/newrelic"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foo, err := newrelic.NewAlertPolicy(ctx, "foo", nil)
		if err != nil {
			return err
		}
		_, err = newrelic.NewInfraAlertCondition(ctx, "highDiskUsage", &newrelic.InfraAlertConditionArgs{
			PolicyId:   foo.ID(),
			Type:       pulumi.String("infra_metric"),
			Event:      pulumi.String("StorageSample"),
			Select:     pulumi.String("diskUsedPercent"),
			Comparison: pulumi.String("above"),
			Where:      pulumi.String(fmt.Sprintf("%v%v%v%v%v", "(hostname LIKE '", "%", "frontend", "%", "')")),
			Critical: &newrelic.InfraAlertConditionCriticalArgs{
				Duration:     pulumi.Int(25),
				Value:        pulumi.Float64(90),
				TimeFunction: pulumi.String("all"),
			},
			Warning: &newrelic.InfraAlertConditionWarningArgs{
				Duration:     pulumi.Int(10),
				Value:        pulumi.Float64(80),
				TimeFunction: pulumi.String("all"),
			},
		})
		if err != nil {
			return err
		}
		_, err = newrelic.NewInfraAlertCondition(ctx, "highDbConnCount", &newrelic.InfraAlertConditionArgs{
			PolicyId:            foo.ID(),
			Type:                pulumi.String("infra_metric"),
			Event:               pulumi.String("DatastoreSample"),
			Select:              pulumi.String("provider.databaseConnections.Average"),
			Comparison:          pulumi.String("above"),
			Where:               pulumi.String(fmt.Sprintf("%v%v%v%v%v", "(hostname LIKE '", "%", "db", "%", "')")),
			IntegrationProvider: pulumi.String("RdsDbInstance"),
			Critical: &newrelic.InfraAlertConditionCriticalArgs{
				Duration:     pulumi.Int(25),
				Value:        pulumi.Float64(90),
				TimeFunction: pulumi.String("all"),
			},
		})
		if err != nil {
			return err
		}
		_, err = newrelic.NewInfraAlertCondition(ctx, "processNotRunning", &newrelic.InfraAlertConditionArgs{
			PolicyId:     foo.ID(),
			Type:         pulumi.String("infra_process_running"),
			Comparison:   pulumi.String("equal"),
			Where:        pulumi.String("hostname = 'web01'"),
			ProcessWhere: pulumi.String("commandName = '/usr/bin/ruby'"),
			Critical: &newrelic.InfraAlertConditionCriticalArgs{
				Duration: pulumi.Int(5),
				Value:    pulumi.Float64(0),
			},
		})
		if err != nil {
			return err
		}
		_, err = newrelic.NewInfraAlertCondition(ctx, "hostNotReporting", &newrelic.InfraAlertConditionArgs{
			PolicyId: foo.ID(),
			Type:     pulumi.String("infra_host_not_reporting"),
			Where:    pulumi.String(fmt.Sprintf("%v%v%v%v%v", "(hostname LIKE '", "%", "frontend", "%", "')")),
			Critical: &newrelic.InfraAlertConditionCriticalArgs{
				Duration: pulumi.Int(5),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Thresholds

The `critical` and `warning` threshold mapping supports the following arguments:

  • `duration` - (Required) Identifies the number of minutes the threshold must be passed or met for the alert to trigger. Threshold durations must be between 1 and 60 minutes (inclusive).
  • `value` - (Optional) Threshold value, computed against the `comparison` operator. Supported by `infraMetric` and `infraProcessRunning` alert condition types.
  • `timeFunction` - (Optional) Indicates if the condition needs to be sustained or to just break the threshold once; `all` or `any`. Supported by the `infraMetric` alert condition type.

## Import

Infrastructure alert conditions can be imported using a composite ID of `<policy_id>:<condition_id>`, e.g.

```sh

$ pulumi import newrelic:index/infraAlertCondition:InfraAlertCondition main 12345:67890

```

func GetInfraAlertCondition

func GetInfraAlertCondition(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InfraAlertConditionState, opts ...pulumi.ResourceOption) (*InfraAlertCondition, error)

GetInfraAlertCondition gets an existing InfraAlertCondition resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInfraAlertCondition

func NewInfraAlertCondition(ctx *pulumi.Context,
	name string, args *InfraAlertConditionArgs, opts ...pulumi.ResourceOption) (*InfraAlertCondition, error)

NewInfraAlertCondition registers a new resource with the given unique name, arguments, and options.

func (*InfraAlertCondition) ElementType added in v3.8.4

func (*InfraAlertCondition) ElementType() reflect.Type

func (*InfraAlertCondition) ToInfraAlertConditionOutput added in v3.8.4

func (i *InfraAlertCondition) ToInfraAlertConditionOutput() InfraAlertConditionOutput

func (*InfraAlertCondition) ToInfraAlertConditionOutputWithContext added in v3.8.4

func (i *InfraAlertCondition) ToInfraAlertConditionOutputWithContext(ctx context.Context) InfraAlertConditionOutput

func (*InfraAlertCondition) ToInfraAlertConditionPtrOutput added in v3.13.1

func (i *InfraAlertCondition) ToInfraAlertConditionPtrOutput() InfraAlertConditionPtrOutput

func (*InfraAlertCondition) ToInfraAlertConditionPtrOutputWithContext added in v3.13.1

func (i *InfraAlertCondition) ToInfraAlertConditionPtrOutputWithContext(ctx context.Context) InfraAlertConditionPtrOutput

type InfraAlertConditionArgs

type InfraAlertConditionArgs struct {
	// The operator used to evaluate the threshold value.  Valid values are `above`, `below`, and `equal`.  Supported by the `infraMetric` and `infraProcessRunning` condition types.
	Comparison pulumi.StringPtrInput
	// Identifies the threshold parameters for opening a critical alert violation. See Thresholds below for details.
	Critical InfraAlertConditionCriticalPtrInput
	// The description of the Infrastructure alert condition.
	Description pulumi.StringPtrInput
	// Whether the condition is turned on or off.  Valid values are `true` and `false`.  Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The metric event; for example, `SystemSample` or `StorageSample`.  Supported by the `infraMetric` condition type.
	Event pulumi.StringPtrInput
	// For alerts on integrations, use this instead of `event`.  Supported by the `infraMetric` condition type.
	IntegrationProvider pulumi.StringPtrInput
	// The Infrastructure alert condition's name.
	Name pulumi.StringPtrInput
	// The ID of the alert policy where this condition should be used.
	PolicyId pulumi.IntInput
	// Any filters applied to processes; for example: `commandName = 'java'`.  Required by the `infraProcessRunning` condition type.
	ProcessWhere pulumi.StringPtrInput
	// Runbook URL to display in notifications.
	RunbookUrl pulumi.StringPtrInput
	// The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`.  The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues.  Supported by the `infraMetric` condition type.
	Select pulumi.StringPtrInput
	// The type of Infrastructure alert condition.  Valid values are  `infraProcessRunning`, `infraMetric`, and `infraHostNotReporting`.
	Type pulumi.StringInput
	// Determines how much time will pass before a violation is automatically closed. Setting the time limit to 0 prevents a violation from being force-closed.
	ViolationCloseTimer pulumi.IntPtrInput
	// Identifies the threshold parameters for opening a warning alert violation. See Thresholds below for details.
	Warning InfraAlertConditionWarningPtrInput
	// If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
	Where pulumi.StringPtrInput
}

The set of arguments for constructing a InfraAlertCondition resource.

func (InfraAlertConditionArgs) ElementType

func (InfraAlertConditionArgs) ElementType() reflect.Type

type InfraAlertConditionArray added in v3.13.1

type InfraAlertConditionArray []InfraAlertConditionInput

func (InfraAlertConditionArray) ElementType added in v3.13.1

func (InfraAlertConditionArray) ElementType() reflect.Type

func (InfraAlertConditionArray) ToInfraAlertConditionArrayOutput added in v3.13.1

func (i InfraAlertConditionArray) ToInfraAlertConditionArrayOutput() InfraAlertConditionArrayOutput

func (InfraAlertConditionArray) ToInfraAlertConditionArrayOutputWithContext added in v3.13.1

func (i InfraAlertConditionArray) ToInfraAlertConditionArrayOutputWithContext(ctx context.Context) InfraAlertConditionArrayOutput

type InfraAlertConditionArrayInput added in v3.13.1

type InfraAlertConditionArrayInput interface {
	pulumi.Input

	ToInfraAlertConditionArrayOutput() InfraAlertConditionArrayOutput
	ToInfraAlertConditionArrayOutputWithContext(context.Context) InfraAlertConditionArrayOutput
}

InfraAlertConditionArrayInput is an input type that accepts InfraAlertConditionArray and InfraAlertConditionArrayOutput values. You can construct a concrete instance of `InfraAlertConditionArrayInput` via:

InfraAlertConditionArray{ InfraAlertConditionArgs{...} }

type InfraAlertConditionArrayOutput added in v3.13.1

type InfraAlertConditionArrayOutput struct{ *pulumi.OutputState }

func (InfraAlertConditionArrayOutput) ElementType added in v3.13.1

func (InfraAlertConditionArrayOutput) Index added in v3.13.1

func (InfraAlertConditionArrayOutput) ToInfraAlertConditionArrayOutput added in v3.13.1

func (o InfraAlertConditionArrayOutput) ToInfraAlertConditionArrayOutput() InfraAlertConditionArrayOutput

func (InfraAlertConditionArrayOutput) ToInfraAlertConditionArrayOutputWithContext added in v3.13.1

func (o InfraAlertConditionArrayOutput) ToInfraAlertConditionArrayOutputWithContext(ctx context.Context) InfraAlertConditionArrayOutput

type InfraAlertConditionCritical

type InfraAlertConditionCritical struct {
	Duration     int      `pulumi:"duration"`
	TimeFunction *string  `pulumi:"timeFunction"`
	Value        *float64 `pulumi:"value"`
}

type InfraAlertConditionCriticalArgs

type InfraAlertConditionCriticalArgs struct {
	Duration     pulumi.IntInput        `pulumi:"duration"`
	TimeFunction pulumi.StringPtrInput  `pulumi:"timeFunction"`
	Value        pulumi.Float64PtrInput `pulumi:"value"`
}

func (InfraAlertConditionCriticalArgs) ElementType

func (InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalOutput

func (i InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalOutput() InfraAlertConditionCriticalOutput

func (InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalOutputWithContext

func (i InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalOutputWithContext(ctx context.Context) InfraAlertConditionCriticalOutput

func (InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalPtrOutput

func (i InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalPtrOutput() InfraAlertConditionCriticalPtrOutput

func (InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalPtrOutputWithContext

func (i InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalPtrOutputWithContext(ctx context.Context) InfraAlertConditionCriticalPtrOutput

type InfraAlertConditionCriticalInput

type InfraAlertConditionCriticalInput interface {
	pulumi.Input

	ToInfraAlertConditionCriticalOutput() InfraAlertConditionCriticalOutput
	ToInfraAlertConditionCriticalOutputWithContext(context.Context) InfraAlertConditionCriticalOutput
}

InfraAlertConditionCriticalInput is an input type that accepts InfraAlertConditionCriticalArgs and InfraAlertConditionCriticalOutput values. You can construct a concrete instance of `InfraAlertConditionCriticalInput` via:

InfraAlertConditionCriticalArgs{...}

type InfraAlertConditionCriticalOutput

type InfraAlertConditionCriticalOutput struct{ *pulumi.OutputState }

func (InfraAlertConditionCriticalOutput) Duration

func (InfraAlertConditionCriticalOutput) ElementType

func (InfraAlertConditionCriticalOutput) TimeFunction

func (InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalOutput

func (o InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalOutput() InfraAlertConditionCriticalOutput

func (InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalOutputWithContext

func (o InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalOutputWithContext(ctx context.Context) InfraAlertConditionCriticalOutput

func (InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalPtrOutput

func (o InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalPtrOutput() InfraAlertConditionCriticalPtrOutput

func (InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalPtrOutputWithContext

func (o InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalPtrOutputWithContext(ctx context.Context) InfraAlertConditionCriticalPtrOutput

func (InfraAlertConditionCriticalOutput) Value

type InfraAlertConditionCriticalPtrInput

type InfraAlertConditionCriticalPtrInput interface {
	pulumi.Input

	ToInfraAlertConditionCriticalPtrOutput() InfraAlertConditionCriticalPtrOutput
	ToInfraAlertConditionCriticalPtrOutputWithContext(context.Context) InfraAlertConditionCriticalPtrOutput
}

InfraAlertConditionCriticalPtrInput is an input type that accepts InfraAlertConditionCriticalArgs, InfraAlertConditionCriticalPtr and InfraAlertConditionCriticalPtrOutput values. You can construct a concrete instance of `InfraAlertConditionCriticalPtrInput` via:

        InfraAlertConditionCriticalArgs{...}

or:

        nil

type InfraAlertConditionCriticalPtrOutput

type InfraAlertConditionCriticalPtrOutput struct{ *pulumi.OutputState }

func (InfraAlertConditionCriticalPtrOutput) Duration

func (InfraAlertConditionCriticalPtrOutput) Elem

func (InfraAlertConditionCriticalPtrOutput) ElementType

func (InfraAlertConditionCriticalPtrOutput) TimeFunction

func (InfraAlertConditionCriticalPtrOutput) ToInfraAlertConditionCriticalPtrOutput

func (o InfraAlertConditionCriticalPtrOutput) ToInfraAlertConditionCriticalPtrOutput() InfraAlertConditionCriticalPtrOutput

func (InfraAlertConditionCriticalPtrOutput) ToInfraAlertConditionCriticalPtrOutputWithContext

func (o InfraAlertConditionCriticalPtrOutput) ToInfraAlertConditionCriticalPtrOutputWithContext(ctx context.Context) InfraAlertConditionCriticalPtrOutput

func (InfraAlertConditionCriticalPtrOutput) Value

type InfraAlertConditionInput added in v3.8.4

type InfraAlertConditionInput interface {
	pulumi.Input

	ToInfraAlertConditionOutput() InfraAlertConditionOutput
	ToInfraAlertConditionOutputWithContext(ctx context.Context) InfraAlertConditionOutput
}

type InfraAlertConditionMap added in v3.13.1

type InfraAlertConditionMap map[string]InfraAlertConditionInput

func (InfraAlertConditionMap) ElementType added in v3.13.1

func (InfraAlertConditionMap) ElementType() reflect.Type

func (InfraAlertConditionMap) ToInfraAlertConditionMapOutput added in v3.13.1

func (i InfraAlertConditionMap) ToInfraAlertConditionMapOutput() InfraAlertConditionMapOutput

func (InfraAlertConditionMap) ToInfraAlertConditionMapOutputWithContext added in v3.13.1

func (i InfraAlertConditionMap) ToInfraAlertConditionMapOutputWithContext(ctx context.Context) InfraAlertConditionMapOutput

type InfraAlertConditionMapInput added in v3.13.1

type InfraAlertConditionMapInput interface {
	pulumi.Input

	ToInfraAlertConditionMapOutput() InfraAlertConditionMapOutput
	ToInfraAlertConditionMapOutputWithContext(context.Context) InfraAlertConditionMapOutput
}

InfraAlertConditionMapInput is an input type that accepts InfraAlertConditionMap and InfraAlertConditionMapOutput values. You can construct a concrete instance of `InfraAlertConditionMapInput` via:

InfraAlertConditionMap{ "key": InfraAlertConditionArgs{...} }

type InfraAlertConditionMapOutput added in v3.13.1

type InfraAlertConditionMapOutput struct{ *pulumi.OutputState }

func (InfraAlertConditionMapOutput) ElementType added in v3.13.1

func (InfraAlertConditionMapOutput) MapIndex added in v3.13.1

func (InfraAlertConditionMapOutput) ToInfraAlertConditionMapOutput added in v3.13.1

func (o InfraAlertConditionMapOutput) ToInfraAlertConditionMapOutput() InfraAlertConditionMapOutput

func (InfraAlertConditionMapOutput) ToInfraAlertConditionMapOutputWithContext added in v3.13.1

func (o InfraAlertConditionMapOutput) ToInfraAlertConditionMapOutputWithContext(ctx context.Context) InfraAlertConditionMapOutput

type InfraAlertConditionOutput added in v3.8.4

type InfraAlertConditionOutput struct {
	*pulumi.OutputState
}

func (InfraAlertConditionOutput) ElementType added in v3.8.4

func (InfraAlertConditionOutput) ElementType() reflect.Type

func (InfraAlertConditionOutput) ToInfraAlertConditionOutput added in v3.8.4

func (o InfraAlertConditionOutput) ToInfraAlertConditionOutput() InfraAlertConditionOutput

func (InfraAlertConditionOutput) ToInfraAlertConditionOutputWithContext added in v3.8.4

func (o InfraAlertConditionOutput) ToInfraAlertConditionOutputWithContext(ctx context.Context) InfraAlertConditionOutput

func (InfraAlertConditionOutput) ToInfraAlertConditionPtrOutput added in v3.13.1

func (o InfraAlertConditionOutput) ToInfraAlertConditionPtrOutput() InfraAlertConditionPtrOutput

func (InfraAlertConditionOutput) ToInfraAlertConditionPtrOutputWithContext added in v3.13.1

func (o InfraAlertConditionOutput) ToInfraAlertConditionPtrOutputWithContext(ctx context.Context) InfraAlertConditionPtrOutput

type InfraAlertConditionPtrInput added in v3.13.1

type InfraAlertConditionPtrInput interface {
	pulumi.Input

	ToInfraAlertConditionPtrOutput() InfraAlertConditionPtrOutput
	ToInfraAlertConditionPtrOutputWithContext(ctx context.Context) InfraAlertConditionPtrOutput
}

type InfraAlertConditionPtrOutput added in v3.13.1

type InfraAlertConditionPtrOutput struct {
	*pulumi.OutputState
}

func (InfraAlertConditionPtrOutput) ElementType added in v3.13.1

func (InfraAlertConditionPtrOutput) ToInfraAlertConditionPtrOutput added in v3.13.1

func (o InfraAlertConditionPtrOutput) ToInfraAlertConditionPtrOutput() InfraAlertConditionPtrOutput

func (InfraAlertConditionPtrOutput) ToInfraAlertConditionPtrOutputWithContext added in v3.13.1

func (o InfraAlertConditionPtrOutput) ToInfraAlertConditionPtrOutputWithContext(ctx context.Context) InfraAlertConditionPtrOutput

type InfraAlertConditionState

type InfraAlertConditionState struct {
	// The operator used to evaluate the threshold value.  Valid values are `above`, `below`, and `equal`.  Supported by the `infraMetric` and `infraProcessRunning` condition types.
	Comparison pulumi.StringPtrInput
	// The timestamp the alert condition was created.
	CreatedAt pulumi.IntPtrInput
	// Identifies the threshold parameters for opening a critical alert violation. See Thresholds below for details.
	Critical InfraAlertConditionCriticalPtrInput
	// The description of the Infrastructure alert condition.
	Description pulumi.StringPtrInput
	// Whether the condition is turned on or off.  Valid values are `true` and `false`.  Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The metric event; for example, `SystemSample` or `StorageSample`.  Supported by the `infraMetric` condition type.
	Event pulumi.StringPtrInput
	// For alerts on integrations, use this instead of `event`.  Supported by the `infraMetric` condition type.
	IntegrationProvider pulumi.StringPtrInput
	// The Infrastructure alert condition's name.
	Name pulumi.StringPtrInput
	// The ID of the alert policy where this condition should be used.
	PolicyId pulumi.IntPtrInput
	// Any filters applied to processes; for example: `commandName = 'java'`.  Required by the `infraProcessRunning` condition type.
	ProcessWhere pulumi.StringPtrInput
	// Runbook URL to display in notifications.
	RunbookUrl pulumi.StringPtrInput
	// The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`.  The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues.  Supported by the `infraMetric` condition type.
	Select pulumi.StringPtrInput
	// The type of Infrastructure alert condition.  Valid values are  `infraProcessRunning`, `infraMetric`, and `infraHostNotReporting`.
	Type pulumi.StringPtrInput
	// The timestamp the alert condition was last updated.
	UpdatedAt pulumi.IntPtrInput
	// Determines how much time will pass before a violation is automatically closed. Setting the time limit to 0 prevents a violation from being force-closed.
	ViolationCloseTimer pulumi.IntPtrInput
	// Identifies the threshold parameters for opening a warning alert violation. See Thresholds below for details.
	Warning InfraAlertConditionWarningPtrInput
	// If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
	Where pulumi.StringPtrInput
}

func (InfraAlertConditionState) ElementType

func (InfraAlertConditionState) ElementType() reflect.Type

type InfraAlertConditionWarning

type InfraAlertConditionWarning struct {
	Duration     int      `pulumi:"duration"`
	TimeFunction *string  `pulumi:"timeFunction"`
	Value        *float64 `pulumi:"value"`
}

type InfraAlertConditionWarningArgs

type InfraAlertConditionWarningArgs struct {
	Duration     pulumi.IntInput        `pulumi:"duration"`
	TimeFunction pulumi.StringPtrInput  `pulumi:"timeFunction"`
	Value        pulumi.Float64PtrInput `pulumi:"value"`
}

func (InfraAlertConditionWarningArgs) ElementType

func (InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningOutput

func (i InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningOutput() InfraAlertConditionWarningOutput

func (InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningOutputWithContext

func (i InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningOutputWithContext(ctx context.Context) InfraAlertConditionWarningOutput

func (InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningPtrOutput

func (i InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningPtrOutput() InfraAlertConditionWarningPtrOutput

func (InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningPtrOutputWithContext

func (i InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningPtrOutputWithContext(ctx context.Context) InfraAlertConditionWarningPtrOutput

type InfraAlertConditionWarningInput

type InfraAlertConditionWarningInput interface {
	pulumi.Input

	ToInfraAlertConditionWarningOutput() InfraAlertConditionWarningOutput
	ToInfraAlertConditionWarningOutputWithContext(context.Context) InfraAlertConditionWarningOutput
}

InfraAlertConditionWarningInput is an input type that accepts InfraAlertConditionWarningArgs and InfraAlertConditionWarningOutput values. You can construct a concrete instance of `InfraAlertConditionWarningInput` via:

InfraAlertConditionWarningArgs{...}

type InfraAlertConditionWarningOutput

type InfraAlertConditionWarningOutput struct{ *pulumi.OutputState }

func (InfraAlertConditionWarningOutput) Duration

func (InfraAlertConditionWarningOutput) ElementType

func (InfraAlertConditionWarningOutput) TimeFunction

func (InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningOutput

func (o InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningOutput() InfraAlertConditionWarningOutput

func (InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningOutputWithContext

func (o InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningOutputWithContext(ctx context.Context) InfraAlertConditionWarningOutput

func (InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningPtrOutput

func (o InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningPtrOutput() InfraAlertConditionWarningPtrOutput

func (InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningPtrOutputWithContext

func (o InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningPtrOutputWithContext(ctx context.Context) InfraAlertConditionWarningPtrOutput

func (InfraAlertConditionWarningOutput) Value

type InfraAlertConditionWarningPtrInput

type InfraAlertConditionWarningPtrInput interface {
	pulumi.Input

	ToInfraAlertConditionWarningPtrOutput() InfraAlertConditionWarningPtrOutput
	ToInfraAlertConditionWarningPtrOutputWithContext(context.Context) InfraAlertConditionWarningPtrOutput
}

InfraAlertConditionWarningPtrInput is an input type that accepts InfraAlertConditionWarningArgs, InfraAlertConditionWarningPtr and InfraAlertConditionWarningPtrOutput values. You can construct a concrete instance of `InfraAlertConditionWarningPtrInput` via:

        InfraAlertConditionWarningArgs{...}

or:

        nil

type InfraAlertConditionWarningPtrOutput

type InfraAlertConditionWarningPtrOutput struct{ *pulumi.OutputState }

func (InfraAlertConditionWarningPtrOutput) Duration

func (InfraAlertConditionWarningPtrOutput) Elem

func (InfraAlertConditionWarningPtrOutput) ElementType

func (InfraAlertConditionWarningPtrOutput) TimeFunction

func (InfraAlertConditionWarningPtrOutput) ToInfraAlertConditionWarningPtrOutput

func (o InfraAlertConditionWarningPtrOutput) ToInfraAlertConditionWarningPtrOutput() InfraAlertConditionWarningPtrOutput

func (InfraAlertConditionWarningPtrOutput) ToInfraAlertConditionWarningPtrOutputWithContext

func (o InfraAlertConditionWarningPtrOutput) ToInfraAlertConditionWarningPtrOutputWithContext(ctx context.Context) InfraAlertConditionWarningPtrOutput

func (InfraAlertConditionWarningPtrOutput) Value

type LookupAlertChannelArgs

type LookupAlertChannelArgs struct {
	// The name of the alert channel in New Relic.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getAlertChannel.

type LookupAlertChannelResult

type LookupAlertChannelResult struct {
	// Alert channel configuration.
	Config GetAlertChannelConfig `pulumi:"config"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// A list of policy IDs associated with the alert channel.
	PolicyIds []int `pulumi:"policyIds"`
	// Alert channel type, either: `email`, `opsgenie`, `pagerduty`, `slack`, `victorops`, or `webhook`.
	Type string `pulumi:"type"`
}

A collection of values returned by getAlertChannel.

func LookupAlertChannel

func LookupAlertChannel(ctx *pulumi.Context, args *LookupAlertChannelArgs, opts ...pulumi.InvokeOption) (*LookupAlertChannelResult, error)

Use this data source to get information about a specific alert channel in New Relic that already exists.

type LookupAlertPolicyArgs

type LookupAlertPolicyArgs struct {
	AccountId *int `pulumi:"accountId"`
	// The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY.
	IncidentPreference *string `pulumi:"incidentPreference"`
	// The name of the alert policy in New Relic.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getAlertPolicy.

type LookupAlertPolicyResult

type LookupAlertPolicyResult struct {
	AccountId int `pulumi:"accountId"`
	// The time the policy was created.
	CreatedAt string `pulumi:"createdAt"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY.
	IncidentPreference *string `pulumi:"incidentPreference"`
	Name               string  `pulumi:"name"`
	// The time the policy was last updated.
	UpdatedAt string `pulumi:"updatedAt"`
}

A collection of values returned by getAlertPolicy.

func LookupAlertPolicy

func LookupAlertPolicy(ctx *pulumi.Context, args *LookupAlertPolicyArgs, opts ...pulumi.InvokeOption) (*LookupAlertPolicyResult, error)

Use this data source to get information about a specific alert policy in New Relic that already exists.

type NrqlAlertCondition

type NrqlAlertCondition struct {
	pulumi.CustomResourceState

	// The New Relic account ID of the account you wish to create the condition. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
	AccountId pulumi.IntOutput `pulumi:"accountId"`
	// The duration of the time window used to evaluate the NRQL query, in seconds.
	AggregationWindow pulumi.IntOutput `pulumi:"aggregationWindow"`
	// The baseline direction of a _baseline_ NRQL alert condition. Valid values are: `lowerOnly`, `upperAndLower`, `upperOnly` (case insensitive).
	BaselineDirection pulumi.StringPtrOutput `pulumi:"baselineDirection"`
	// Whether to close all open violations when the signal expires.
	CloseViolationsOnExpiration pulumi.BoolPtrOutput `pulumi:"closeViolationsOnExpiration"`
	// A list containing the `critical` threshold values. See Terms below for details.
	Critical NrqlAlertConditionCriticalPtrOutput `pulumi:"critical"`
	// The description of the NRQL alert condition.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Whether to enable the alert condition. Valid values are `true` and `false`. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Number of expected groups when using `outlier` detection.
	ExpectedGroups pulumi.IntPtrOutput `pulumi:"expectedGroups"`
	// The amount of time (in seconds) to wait before considering the signal expired.
	ExpirationDuration pulumi.IntPtrOutput `pulumi:"expirationDuration"`
	// Which strategy to use when filling gaps in the signal. If static, the 'fill value' will be used for filling gaps in the
	// signal. Valid values are: 'NONE', 'LAST_VALUE', or 'STATIC' (case insensitive).
	FillOption pulumi.StringPtrOutput `pulumi:"fillOption"`
	// If using the 'static' fill option, this value will be used for filling gaps in the signal.
	FillValue pulumi.Float64PtrOutput `pulumi:"fillValue"`
	// **DEPRECATED:** Use `openViolationOnGroupOverlap` instead, but use the inverse value of your boolean - e.g. if `ignoreOverlap = false`, use `openViolationOnGroupOverlap = true`. This argument sets whether to trigger a violation when groups overlap. If set to `true` overlapping groups will not trigger a violation. This argument is only applicable in `outlier` conditions.
	//
	// Deprecated: use `open_violation_on_group_overlap` attribute instead, but use the inverse of your boolean - e.g. if ignore_overlap = false, use open_violation_on_group_overlap = true
	IgnoreOverlap pulumi.BoolPtrOutput `pulumi:"ignoreOverlap"`
	// The title of the condition.
	Name pulumi.StringOutput `pulumi:"name"`
	// A NRQL query. See NRQL below for details.
	Nrql NrqlAlertConditionNrqlOutput `pulumi:"nrql"`
	// Whether to create a new violation to capture that the signal expired.
	OpenViolationOnExpiration pulumi.BoolPtrOutput `pulumi:"openViolationOnExpiration"`
	// Whether or not to trigger a violation when groups overlap. Set to `true` if you want to trigger a violation when groups overlap. This argument is only applicable in `outlier` conditions.
	OpenViolationOnGroupOverlap pulumi.BoolPtrOutput `pulumi:"openViolationOnGroupOverlap"`
	// The ID of the policy where this condition should be used.
	PolicyId pulumi.IntOutput `pulumi:"policyId"`
	// Runbook URL to display in notifications.
	RunbookUrl pulumi.StringPtrOutput `pulumi:"runbookUrl"`
	// **DEPRECATED** Use `critical`, and `warning` instead.  A list of terms for this condition. See Terms below for details.
	//
	// Deprecated: use `critical` and `warning` attributes instead
	Terms NrqlAlertConditionTermArrayOutput `pulumi:"terms"`
	// The type of the condition. Valid values are `static`, `baseline`, or `outlier`. Defaults to `static`.
	Type pulumi.StringPtrOutput `pulumi:"type"`
	// Possible values are `singleValue`, `sum` (case insensitive). Defaults to `singleValue`.
	ValueFunction pulumi.StringPtrOutput `pulumi:"valueFunction"`
	// Sets a time limit, in hours, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are `ONE_HOUR`, `TWO_HOURS`, `FOUR_HOURS`, `EIGHT_HOURS`, `TWELVE_HOURS`, `TWENTY_FOUR_HOURS` (case insensitive).
	//
	// Deprecated: use `violation_time_limit_seconds` attribute instead
	ViolationTimeLimit pulumi.StringOutput `pulumi:"violationTimeLimit"`
	// **DEPRECATED:** Use `violationTimeLimit` instead. Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are `3600`, `7200`, `14400`, `28800`, `43200`, and `86400`.
	ViolationTimeLimitSeconds pulumi.IntPtrOutput `pulumi:"violationTimeLimitSeconds"`
	// A list containing the `warning` threshold values. See Terms below for details.
	Warning NrqlAlertConditionWarningPtrOutput `pulumi:"warning"`
}

Use this resource to create and manage NRQL alert conditions in New Relic.

## NRQL

The `nrql` block supports the following arguments:

- `query` - (Required) The NRQL query to execute for the condition. - `evaluationOffset` - (Optional) Represented in minutes and must be within 1-20 minutes (inclusive). NRQL queries are evaluated in one-minute time windows. The start time depends on this value. It's recommended to set this to 3 minutes. An offset of less than 3 minutes will trigger violations sooner, but you may see more false positives and negatives due to data latency. With `evaluationOffset` set to 3 minutes, the NRQL time window applied to your query will be: `SINCE 3 minutes ago UNTIL 2 minutes ago`. - `sinceValue` - (Optional) **DEPRECATED:** Use `evaluationOffset` instead. The value to be used in the `SINCE <X> minutes ago` clause for the NRQL query. Must be between 1-20 (inclusive).

## Terms

> **NOTE:** The direct use of the `term` has been deprecated, and users should use `critical` and `warning` instead. What follows now applies to the named priority attributes for `critical` and `warning`, but for those attributes the priority is not allowed.

NRQL alert conditions support up to two terms. At least one `term` must have `priority` set to `critical` and the second optional `term` must have `priority` set to `warning`.

The `term` block the following arguments:

- `duration` - (Required) In minutes, must be in the range of `1` to `120`, inclusive. - `operator` - (Optional) `above`, `below`, or `equal`. Defaults to `equal`. Note that when using a `type` of `outlier`, the only valid option here is `above`. - `priority` - (Optional) `critical` or `warning`. Defaults to `critical`. - `threshold` - (Required) The value which will trigger a violation. Must be `0` or greater. - `thresholdDuration` - (Optional) The duration of time, in seconds, that the threshold must violate for in order to create a violation. Value must be a multiple of 60. <br>For _baseline_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). <br>For _static_ NRQL alert conditions, the value must be within 120-7200 seconds (inclusive).

- `thresholdOccurrences` - (Optional) The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive). - `duration` - (Optional) **DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create a violation. Must be within 1-120 (inclusive). - `timeFunction` - (Optional) **DEPRECATED:** Use `thresholdOccurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`.

## Import

Alert conditions can be imported using a composite ID of `<policy_id>:<condition_id>:<conditionType>`, e.g. // For `baseline` conditions

```sh

$ pulumi import newrelic:index/nrqlAlertCondition:NrqlAlertCondition foo 538291:6789035:baseline

```

// For `static` conditions

```sh

$ pulumi import newrelic:index/nrqlAlertCondition:NrqlAlertCondition foo 538291:6789035:static

```

// For `outlier` conditions

```sh

$ pulumi import newrelic:index/nrqlAlertCondition:NrqlAlertCondition foo 538291:6789035:outlier

```

The actual values for `policy_id` and `condition_id` can be retrieved from the following New Relic URL when viewing the NRQL alert condition you want to import<small>alerts.newrelic.com/accounts/**\<account_id\>**/policies/**\<policy_id\>**/conditions/**\<condition_id\>**/edit</small>

func GetNrqlAlertCondition

func GetNrqlAlertCondition(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NrqlAlertConditionState, opts ...pulumi.ResourceOption) (*NrqlAlertCondition, error)

GetNrqlAlertCondition gets an existing NrqlAlertCondition resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNrqlAlertCondition

func NewNrqlAlertCondition(ctx *pulumi.Context,
	name string, args *NrqlAlertConditionArgs, opts ...pulumi.ResourceOption) (*NrqlAlertCondition, error)

NewNrqlAlertCondition registers a new resource with the given unique name, arguments, and options.

func (*NrqlAlertCondition) ElementType added in v3.8.4

func (*NrqlAlertCondition) ElementType() reflect.Type

func (*NrqlAlertCondition) ToNrqlAlertConditionOutput added in v3.8.4

func (i *NrqlAlertCondition) ToNrqlAlertConditionOutput() NrqlAlertConditionOutput

func (*NrqlAlertCondition) ToNrqlAlertConditionOutputWithContext added in v3.8.4

func (i *NrqlAlertCondition) ToNrqlAlertConditionOutputWithContext(ctx context.Context) NrqlAlertConditionOutput

func (*NrqlAlertCondition) ToNrqlAlertConditionPtrOutput added in v3.13.1

func (i *NrqlAlertCondition) ToNrqlAlertConditionPtrOutput() NrqlAlertConditionPtrOutput

func (*NrqlAlertCondition) ToNrqlAlertConditionPtrOutputWithContext added in v3.13.1

func (i *NrqlAlertCondition) ToNrqlAlertConditionPtrOutputWithContext(ctx context.Context) NrqlAlertConditionPtrOutput

type NrqlAlertConditionArgs

type NrqlAlertConditionArgs struct {
	// The New Relic account ID of the account you wish to create the condition. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
	AccountId pulumi.IntPtrInput
	// The duration of the time window used to evaluate the NRQL query, in seconds.
	AggregationWindow pulumi.IntPtrInput
	// The baseline direction of a _baseline_ NRQL alert condition. Valid values are: `lowerOnly`, `upperAndLower`, `upperOnly` (case insensitive).
	BaselineDirection pulumi.StringPtrInput
	// Whether to close all open violations when the signal expires.
	CloseViolationsOnExpiration pulumi.BoolPtrInput
	// A list containing the `critical` threshold values. See Terms below for details.
	Critical NrqlAlertConditionCriticalPtrInput
	// The description of the NRQL alert condition.
	Description pulumi.StringPtrInput
	// Whether to enable the alert condition. Valid values are `true` and `false`. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// Number of expected groups when using `outlier` detection.
	ExpectedGroups pulumi.IntPtrInput
	// The amount of time (in seconds) to wait before considering the signal expired.
	ExpirationDuration pulumi.IntPtrInput
	// Which strategy to use when filling gaps in the signal. If static, the 'fill value' will be used for filling gaps in the
	// signal. Valid values are: 'NONE', 'LAST_VALUE', or 'STATIC' (case insensitive).
	FillOption pulumi.StringPtrInput
	// If using the 'static' fill option, this value will be used for filling gaps in the signal.
	FillValue pulumi.Float64PtrInput
	// **DEPRECATED:** Use `openViolationOnGroupOverlap` instead, but use the inverse value of your boolean - e.g. if `ignoreOverlap = false`, use `openViolationOnGroupOverlap = true`. This argument sets whether to trigger a violation when groups overlap. If set to `true` overlapping groups will not trigger a violation. This argument is only applicable in `outlier` conditions.
	//
	// Deprecated: use `open_violation_on_group_overlap` attribute instead, but use the inverse of your boolean - e.g. if ignore_overlap = false, use open_violation_on_group_overlap = true
	IgnoreOverlap pulumi.BoolPtrInput
	// The title of the condition.
	Name pulumi.StringPtrInput
	// A NRQL query. See NRQL below for details.
	Nrql NrqlAlertConditionNrqlInput
	// Whether to create a new violation to capture that the signal expired.
	OpenViolationOnExpiration pulumi.BoolPtrInput
	// Whether or not to trigger a violation when groups overlap. Set to `true` if you want to trigger a violation when groups overlap. This argument is only applicable in `outlier` conditions.
	OpenViolationOnGroupOverlap pulumi.BoolPtrInput
	// The ID of the policy where this condition should be used.
	PolicyId pulumi.IntInput
	// Runbook URL to display in notifications.
	RunbookUrl pulumi.StringPtrInput
	// **DEPRECATED** Use `critical`, and `warning` instead.  A list of terms for this condition. See Terms below for details.
	//
	// Deprecated: use `critical` and `warning` attributes instead
	Terms NrqlAlertConditionTermArrayInput
	// The type of the condition. Valid values are `static`, `baseline`, or `outlier`. Defaults to `static`.
	Type pulumi.StringPtrInput
	// Possible values are `singleValue`, `sum` (case insensitive). Defaults to `singleValue`.
	ValueFunction pulumi.StringPtrInput
	// Sets a time limit, in hours, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are `ONE_HOUR`, `TWO_HOURS`, `FOUR_HOURS`, `EIGHT_HOURS`, `TWELVE_HOURS`, `TWENTY_FOUR_HOURS` (case insensitive).
	//
	// Deprecated: use `violation_time_limit_seconds` attribute instead
	ViolationTimeLimit pulumi.StringPtrInput
	// **DEPRECATED:** Use `violationTimeLimit` instead. Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are `3600`, `7200`, `14400`, `28800`, `43200`, and `86400`.
	ViolationTimeLimitSeconds pulumi.IntPtrInput
	// A list containing the `warning` threshold values. See Terms below for details.
	Warning NrqlAlertConditionWarningPtrInput
}

The set of arguments for constructing a NrqlAlertCondition resource.

func (NrqlAlertConditionArgs) ElementType

func (NrqlAlertConditionArgs) ElementType() reflect.Type

type NrqlAlertConditionArray added in v3.13.1

type NrqlAlertConditionArray []NrqlAlertConditionInput

func (NrqlAlertConditionArray) ElementType added in v3.13.1

func (NrqlAlertConditionArray) ElementType() reflect.Type

func (NrqlAlertConditionArray) ToNrqlAlertConditionArrayOutput added in v3.13.1

func (i NrqlAlertConditionArray) ToNrqlAlertConditionArrayOutput() NrqlAlertConditionArrayOutput

func (NrqlAlertConditionArray) ToNrqlAlertConditionArrayOutputWithContext added in v3.13.1

func (i NrqlAlertConditionArray) ToNrqlAlertConditionArrayOutputWithContext(ctx context.Context) NrqlAlertConditionArrayOutput

type NrqlAlertConditionArrayInput added in v3.13.1

type NrqlAlertConditionArrayInput interface {
	pulumi.Input

	ToNrqlAlertConditionArrayOutput() NrqlAlertConditionArrayOutput
	ToNrqlAlertConditionArrayOutputWithContext(context.Context) NrqlAlertConditionArrayOutput
}

NrqlAlertConditionArrayInput is an input type that accepts NrqlAlertConditionArray and NrqlAlertConditionArrayOutput values. You can construct a concrete instance of `NrqlAlertConditionArrayInput` via:

NrqlAlertConditionArray{ NrqlAlertConditionArgs{...} }

type NrqlAlertConditionArrayOutput added in v3.13.1

type NrqlAlertConditionArrayOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionArrayOutput) ElementType added in v3.13.1

func (NrqlAlertConditionArrayOutput) Index added in v3.13.1

func (NrqlAlertConditionArrayOutput) ToNrqlAlertConditionArrayOutput added in v3.13.1

func (o NrqlAlertConditionArrayOutput) ToNrqlAlertConditionArrayOutput() NrqlAlertConditionArrayOutput

func (NrqlAlertConditionArrayOutput) ToNrqlAlertConditionArrayOutputWithContext added in v3.13.1

func (o NrqlAlertConditionArrayOutput) ToNrqlAlertConditionArrayOutputWithContext(ctx context.Context) NrqlAlertConditionArrayOutput

type NrqlAlertConditionCritical

type NrqlAlertConditionCritical struct {
	// Deprecated: use `threshold_duration` attribute instead
	Duration             *int    `pulumi:"duration"`
	Operator             *string `pulumi:"operator"`
	Threshold            float64 `pulumi:"threshold"`
	ThresholdDuration    *int    `pulumi:"thresholdDuration"`
	ThresholdOccurrences *string `pulumi:"thresholdOccurrences"`
	// Deprecated: use `threshold_occurrences` attribute instead
	TimeFunction *string `pulumi:"timeFunction"`
}

type NrqlAlertConditionCriticalArgs

type NrqlAlertConditionCriticalArgs struct {
	// Deprecated: use `threshold_duration` attribute instead
	Duration             pulumi.IntPtrInput    `pulumi:"duration"`
	Operator             pulumi.StringPtrInput `pulumi:"operator"`
	Threshold            pulumi.Float64Input   `pulumi:"threshold"`
	ThresholdDuration    pulumi.IntPtrInput    `pulumi:"thresholdDuration"`
	ThresholdOccurrences pulumi.StringPtrInput `pulumi:"thresholdOccurrences"`
	// Deprecated: use `threshold_occurrences` attribute instead
	TimeFunction pulumi.StringPtrInput `pulumi:"timeFunction"`
}

func (NrqlAlertConditionCriticalArgs) ElementType

func (NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalOutput

func (i NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalOutput() NrqlAlertConditionCriticalOutput

func (NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalOutputWithContext

func (i NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalOutputWithContext(ctx context.Context) NrqlAlertConditionCriticalOutput

func (NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalPtrOutput

func (i NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalPtrOutput() NrqlAlertConditionCriticalPtrOutput

func (NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalPtrOutputWithContext

func (i NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalPtrOutputWithContext(ctx context.Context) NrqlAlertConditionCriticalPtrOutput

type NrqlAlertConditionCriticalInput

type NrqlAlertConditionCriticalInput interface {
	pulumi.Input

	ToNrqlAlertConditionCriticalOutput() NrqlAlertConditionCriticalOutput
	ToNrqlAlertConditionCriticalOutputWithContext(context.Context) NrqlAlertConditionCriticalOutput
}

NrqlAlertConditionCriticalInput is an input type that accepts NrqlAlertConditionCriticalArgs and NrqlAlertConditionCriticalOutput values. You can construct a concrete instance of `NrqlAlertConditionCriticalInput` via:

NrqlAlertConditionCriticalArgs{...}

type NrqlAlertConditionCriticalOutput

type NrqlAlertConditionCriticalOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionCriticalOutput) Duration deprecated

Deprecated: use `threshold_duration` attribute instead

func (NrqlAlertConditionCriticalOutput) ElementType

func (NrqlAlertConditionCriticalOutput) Operator

func (NrqlAlertConditionCriticalOutput) Threshold

func (NrqlAlertConditionCriticalOutput) ThresholdDuration

func (NrqlAlertConditionCriticalOutput) ThresholdOccurrences

func (o NrqlAlertConditionCriticalOutput) ThresholdOccurrences() pulumi.StringPtrOutput

func (NrqlAlertConditionCriticalOutput) TimeFunction deprecated

Deprecated: use `threshold_occurrences` attribute instead

func (NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalOutput

func (o NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalOutput() NrqlAlertConditionCriticalOutput

func (NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalOutputWithContext

func (o NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalOutputWithContext(ctx context.Context) NrqlAlertConditionCriticalOutput

func (NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalPtrOutput

func (o NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalPtrOutput() NrqlAlertConditionCriticalPtrOutput

func (NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalPtrOutputWithContext

func (o NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalPtrOutputWithContext(ctx context.Context) NrqlAlertConditionCriticalPtrOutput

type NrqlAlertConditionCriticalPtrInput

type NrqlAlertConditionCriticalPtrInput interface {
	pulumi.Input

	ToNrqlAlertConditionCriticalPtrOutput() NrqlAlertConditionCriticalPtrOutput
	ToNrqlAlertConditionCriticalPtrOutputWithContext(context.Context) NrqlAlertConditionCriticalPtrOutput
}

NrqlAlertConditionCriticalPtrInput is an input type that accepts NrqlAlertConditionCriticalArgs, NrqlAlertConditionCriticalPtr and NrqlAlertConditionCriticalPtrOutput values. You can construct a concrete instance of `NrqlAlertConditionCriticalPtrInput` via:

        NrqlAlertConditionCriticalArgs{...}

or:

        nil

type NrqlAlertConditionCriticalPtrOutput

type NrqlAlertConditionCriticalPtrOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionCriticalPtrOutput) Duration deprecated

Deprecated: use `threshold_duration` attribute instead

func (NrqlAlertConditionCriticalPtrOutput) Elem

func (NrqlAlertConditionCriticalPtrOutput) ElementType

func (NrqlAlertConditionCriticalPtrOutput) Operator

func (NrqlAlertConditionCriticalPtrOutput) Threshold

func (NrqlAlertConditionCriticalPtrOutput) ThresholdDuration

func (NrqlAlertConditionCriticalPtrOutput) ThresholdOccurrences

func (NrqlAlertConditionCriticalPtrOutput) TimeFunction deprecated

Deprecated: use `threshold_occurrences` attribute instead

func (NrqlAlertConditionCriticalPtrOutput) ToNrqlAlertConditionCriticalPtrOutput

func (o NrqlAlertConditionCriticalPtrOutput) ToNrqlAlertConditionCriticalPtrOutput() NrqlAlertConditionCriticalPtrOutput

func (NrqlAlertConditionCriticalPtrOutput) ToNrqlAlertConditionCriticalPtrOutputWithContext

func (o NrqlAlertConditionCriticalPtrOutput) ToNrqlAlertConditionCriticalPtrOutputWithContext(ctx context.Context) NrqlAlertConditionCriticalPtrOutput

type NrqlAlertConditionInput added in v3.8.4

type NrqlAlertConditionInput interface {
	pulumi.Input

	ToNrqlAlertConditionOutput() NrqlAlertConditionOutput
	ToNrqlAlertConditionOutputWithContext(ctx context.Context) NrqlAlertConditionOutput
}

type NrqlAlertConditionMap added in v3.13.1

type NrqlAlertConditionMap map[string]NrqlAlertConditionInput

func (NrqlAlertConditionMap) ElementType added in v3.13.1

func (NrqlAlertConditionMap) ElementType() reflect.Type

func (NrqlAlertConditionMap) ToNrqlAlertConditionMapOutput added in v3.13.1

func (i NrqlAlertConditionMap) ToNrqlAlertConditionMapOutput() NrqlAlertConditionMapOutput

func (NrqlAlertConditionMap) ToNrqlAlertConditionMapOutputWithContext added in v3.13.1

func (i NrqlAlertConditionMap) ToNrqlAlertConditionMapOutputWithContext(ctx context.Context) NrqlAlertConditionMapOutput

type NrqlAlertConditionMapInput added in v3.13.1

type NrqlAlertConditionMapInput interface {
	pulumi.Input

	ToNrqlAlertConditionMapOutput() NrqlAlertConditionMapOutput
	ToNrqlAlertConditionMapOutputWithContext(context.Context) NrqlAlertConditionMapOutput
}

NrqlAlertConditionMapInput is an input type that accepts NrqlAlertConditionMap and NrqlAlertConditionMapOutput values. You can construct a concrete instance of `NrqlAlertConditionMapInput` via:

NrqlAlertConditionMap{ "key": NrqlAlertConditionArgs{...} }

type NrqlAlertConditionMapOutput added in v3.13.1

type NrqlAlertConditionMapOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionMapOutput) ElementType added in v3.13.1

func (NrqlAlertConditionMapOutput) MapIndex added in v3.13.1

func (NrqlAlertConditionMapOutput) ToNrqlAlertConditionMapOutput added in v3.13.1

func (o NrqlAlertConditionMapOutput) ToNrqlAlertConditionMapOutput() NrqlAlertConditionMapOutput

func (NrqlAlertConditionMapOutput) ToNrqlAlertConditionMapOutputWithContext added in v3.13.1

func (o NrqlAlertConditionMapOutput) ToNrqlAlertConditionMapOutputWithContext(ctx context.Context) NrqlAlertConditionMapOutput

type NrqlAlertConditionNrql

type NrqlAlertConditionNrql struct {
	EvaluationOffset *int   `pulumi:"evaluationOffset"`
	Query            string `pulumi:"query"`
	// Deprecated: use `evaluation_offset` attribute instead
	SinceValue *string `pulumi:"sinceValue"`
}

type NrqlAlertConditionNrqlArgs

type NrqlAlertConditionNrqlArgs struct {
	EvaluationOffset pulumi.IntPtrInput `pulumi:"evaluationOffset"`
	Query            pulumi.StringInput `pulumi:"query"`
	// Deprecated: use `evaluation_offset` attribute instead
	SinceValue pulumi.StringPtrInput `pulumi:"sinceValue"`
}

func (NrqlAlertConditionNrqlArgs) ElementType

func (NrqlAlertConditionNrqlArgs) ElementType() reflect.Type

func (NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlOutput

func (i NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlOutput() NrqlAlertConditionNrqlOutput

func (NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlOutputWithContext

func (i NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlOutputWithContext(ctx context.Context) NrqlAlertConditionNrqlOutput

func (NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlPtrOutput

func (i NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlPtrOutput() NrqlAlertConditionNrqlPtrOutput

func (NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlPtrOutputWithContext

func (i NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlPtrOutputWithContext(ctx context.Context) NrqlAlertConditionNrqlPtrOutput

type NrqlAlertConditionNrqlInput

type NrqlAlertConditionNrqlInput interface {
	pulumi.Input

	ToNrqlAlertConditionNrqlOutput() NrqlAlertConditionNrqlOutput
	ToNrqlAlertConditionNrqlOutputWithContext(context.Context) NrqlAlertConditionNrqlOutput
}

NrqlAlertConditionNrqlInput is an input type that accepts NrqlAlertConditionNrqlArgs and NrqlAlertConditionNrqlOutput values. You can construct a concrete instance of `NrqlAlertConditionNrqlInput` via:

NrqlAlertConditionNrqlArgs{...}

type NrqlAlertConditionNrqlOutput

type NrqlAlertConditionNrqlOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionNrqlOutput) ElementType

func (NrqlAlertConditionNrqlOutput) EvaluationOffset

func (o NrqlAlertConditionNrqlOutput) EvaluationOffset() pulumi.IntPtrOutput

func (NrqlAlertConditionNrqlOutput) Query

func (NrqlAlertConditionNrqlOutput) SinceValue deprecated

Deprecated: use `evaluation_offset` attribute instead

func (NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlOutput

func (o NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlOutput() NrqlAlertConditionNrqlOutput

func (NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlOutputWithContext

func (o NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlOutputWithContext(ctx context.Context) NrqlAlertConditionNrqlOutput

func (NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlPtrOutput

func (o NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlPtrOutput() NrqlAlertConditionNrqlPtrOutput

func (NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlPtrOutputWithContext

func (o NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlPtrOutputWithContext(ctx context.Context) NrqlAlertConditionNrqlPtrOutput

type NrqlAlertConditionNrqlPtrInput

type NrqlAlertConditionNrqlPtrInput interface {
	pulumi.Input

	ToNrqlAlertConditionNrqlPtrOutput() NrqlAlertConditionNrqlPtrOutput
	ToNrqlAlertConditionNrqlPtrOutputWithContext(context.Context) NrqlAlertConditionNrqlPtrOutput
}

NrqlAlertConditionNrqlPtrInput is an input type that accepts NrqlAlertConditionNrqlArgs, NrqlAlertConditionNrqlPtr and NrqlAlertConditionNrqlPtrOutput values. You can construct a concrete instance of `NrqlAlertConditionNrqlPtrInput` via:

        NrqlAlertConditionNrqlArgs{...}

or:

        nil

type NrqlAlertConditionNrqlPtrOutput

type NrqlAlertConditionNrqlPtrOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionNrqlPtrOutput) Elem

func (NrqlAlertConditionNrqlPtrOutput) ElementType

func (NrqlAlertConditionNrqlPtrOutput) EvaluationOffset

func (NrqlAlertConditionNrqlPtrOutput) Query

func (NrqlAlertConditionNrqlPtrOutput) SinceValue deprecated

Deprecated: use `evaluation_offset` attribute instead

func (NrqlAlertConditionNrqlPtrOutput) ToNrqlAlertConditionNrqlPtrOutput

func (o NrqlAlertConditionNrqlPtrOutput) ToNrqlAlertConditionNrqlPtrOutput() NrqlAlertConditionNrqlPtrOutput

func (NrqlAlertConditionNrqlPtrOutput) ToNrqlAlertConditionNrqlPtrOutputWithContext

func (o NrqlAlertConditionNrqlPtrOutput) ToNrqlAlertConditionNrqlPtrOutputWithContext(ctx context.Context) NrqlAlertConditionNrqlPtrOutput

type NrqlAlertConditionOutput added in v3.8.4

type NrqlAlertConditionOutput struct {
	*pulumi.OutputState
}

func (NrqlAlertConditionOutput) ElementType added in v3.8.4

func (NrqlAlertConditionOutput) ElementType() reflect.Type

func (NrqlAlertConditionOutput) ToNrqlAlertConditionOutput added in v3.8.4

func (o NrqlAlertConditionOutput) ToNrqlAlertConditionOutput() NrqlAlertConditionOutput

func (NrqlAlertConditionOutput) ToNrqlAlertConditionOutputWithContext added in v3.8.4

func (o NrqlAlertConditionOutput) ToNrqlAlertConditionOutputWithContext(ctx context.Context) NrqlAlertConditionOutput

func (NrqlAlertConditionOutput) ToNrqlAlertConditionPtrOutput added in v3.13.1

func (o NrqlAlertConditionOutput) ToNrqlAlertConditionPtrOutput() NrqlAlertConditionPtrOutput

func (NrqlAlertConditionOutput) ToNrqlAlertConditionPtrOutputWithContext added in v3.13.1

func (o NrqlAlertConditionOutput) ToNrqlAlertConditionPtrOutputWithContext(ctx context.Context) NrqlAlertConditionPtrOutput

type NrqlAlertConditionPtrInput added in v3.13.1

type NrqlAlertConditionPtrInput interface {
	pulumi.Input

	ToNrqlAlertConditionPtrOutput() NrqlAlertConditionPtrOutput
	ToNrqlAlertConditionPtrOutputWithContext(ctx context.Context) NrqlAlertConditionPtrOutput
}

type NrqlAlertConditionPtrOutput added in v3.13.1

type NrqlAlertConditionPtrOutput struct {
	*pulumi.OutputState
}

func (NrqlAlertConditionPtrOutput) ElementType added in v3.13.1

func (NrqlAlertConditionPtrOutput) ToNrqlAlertConditionPtrOutput added in v3.13.1

func (o NrqlAlertConditionPtrOutput) ToNrqlAlertConditionPtrOutput() NrqlAlertConditionPtrOutput

func (NrqlAlertConditionPtrOutput) ToNrqlAlertConditionPtrOutputWithContext added in v3.13.1

func (o NrqlAlertConditionPtrOutput) ToNrqlAlertConditionPtrOutputWithContext(ctx context.Context) NrqlAlertConditionPtrOutput

type NrqlAlertConditionState

type NrqlAlertConditionState struct {
	// The New Relic account ID of the account you wish to create the condition. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
	AccountId pulumi.IntPtrInput
	// The duration of the time window used to evaluate the NRQL query, in seconds.
	AggregationWindow pulumi.IntPtrInput
	// The baseline direction of a _baseline_ NRQL alert condition. Valid values are: `lowerOnly`, `upperAndLower`, `upperOnly` (case insensitive).
	BaselineDirection pulumi.StringPtrInput
	// Whether to close all open violations when the signal expires.
	CloseViolationsOnExpiration pulumi.BoolPtrInput
	// A list containing the `critical` threshold values. See Terms below for details.
	Critical NrqlAlertConditionCriticalPtrInput
	// The description of the NRQL alert condition.
	Description pulumi.StringPtrInput
	// Whether to enable the alert condition. Valid values are `true` and `false`. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// Number of expected groups when using `outlier` detection.
	ExpectedGroups pulumi.IntPtrInput
	// The amount of time (in seconds) to wait before considering the signal expired.
	ExpirationDuration pulumi.IntPtrInput
	// Which strategy to use when filling gaps in the signal. If static, the 'fill value' will be used for filling gaps in the
	// signal. Valid values are: 'NONE', 'LAST_VALUE', or 'STATIC' (case insensitive).
	FillOption pulumi.StringPtrInput
	// If using the 'static' fill option, this value will be used for filling gaps in the signal.
	FillValue pulumi.Float64PtrInput
	// **DEPRECATED:** Use `openViolationOnGroupOverlap` instead, but use the inverse value of your boolean - e.g. if `ignoreOverlap = false`, use `openViolationOnGroupOverlap = true`. This argument sets whether to trigger a violation when groups overlap. If set to `true` overlapping groups will not trigger a violation. This argument is only applicable in `outlier` conditions.
	//
	// Deprecated: use `open_violation_on_group_overlap` attribute instead, but use the inverse of your boolean - e.g. if ignore_overlap = false, use open_violation_on_group_overlap = true
	IgnoreOverlap pulumi.BoolPtrInput
	// The title of the condition.
	Name pulumi.StringPtrInput
	// A NRQL query. See NRQL below for details.
	Nrql NrqlAlertConditionNrqlPtrInput
	// Whether to create a new violation to capture that the signal expired.
	OpenViolationOnExpiration pulumi.BoolPtrInput
	// Whether or not to trigger a violation when groups overlap. Set to `true` if you want to trigger a violation when groups overlap. This argument is only applicable in `outlier` conditions.
	OpenViolationOnGroupOverlap pulumi.BoolPtrInput
	// The ID of the policy where this condition should be used.
	PolicyId pulumi.IntPtrInput
	// Runbook URL to display in notifications.
	RunbookUrl pulumi.StringPtrInput
	// **DEPRECATED** Use `critical`, and `warning` instead.  A list of terms for this condition. See Terms below for details.
	//
	// Deprecated: use `critical` and `warning` attributes instead
	Terms NrqlAlertConditionTermArrayInput
	// The type of the condition. Valid values are `static`, `baseline`, or `outlier`. Defaults to `static`.
	Type pulumi.StringPtrInput
	// Possible values are `singleValue`, `sum` (case insensitive). Defaults to `singleValue`.
	ValueFunction pulumi.StringPtrInput
	// Sets a time limit, in hours, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are `ONE_HOUR`, `TWO_HOURS`, `FOUR_HOURS`, `EIGHT_HOURS`, `TWELVE_HOURS`, `TWENTY_FOUR_HOURS` (case insensitive).
	//
	// Deprecated: use `violation_time_limit_seconds` attribute instead
	ViolationTimeLimit pulumi.StringPtrInput
	// **DEPRECATED:** Use `violationTimeLimit` instead. Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are `3600`, `7200`, `14400`, `28800`, `43200`, and `86400`.
	ViolationTimeLimitSeconds pulumi.IntPtrInput
	// A list containing the `warning` threshold values. See Terms below for details.
	Warning NrqlAlertConditionWarningPtrInput
}

func (NrqlAlertConditionState) ElementType

func (NrqlAlertConditionState) ElementType() reflect.Type

type NrqlAlertConditionTerm

type NrqlAlertConditionTerm struct {
	// Deprecated: use `threshold_duration` attribute instead
	Duration             *int    `pulumi:"duration"`
	Operator             *string `pulumi:"operator"`
	Priority             *string `pulumi:"priority"`
	Threshold            float64 `pulumi:"threshold"`
	ThresholdDuration    *int    `pulumi:"thresholdDuration"`
	ThresholdOccurrences *string `pulumi:"thresholdOccurrences"`
	// Deprecated: use `threshold_occurrences` attribute instead
	TimeFunction *string `pulumi:"timeFunction"`
}

type NrqlAlertConditionTermArgs

type NrqlAlertConditionTermArgs struct {
	// Deprecated: use `threshold_duration` attribute instead
	Duration             pulumi.IntPtrInput    `pulumi:"duration"`
	Operator             pulumi.StringPtrInput `pulumi:"operator"`
	Priority             pulumi.StringPtrInput `pulumi:"priority"`
	Threshold            pulumi.Float64Input   `pulumi:"threshold"`
	ThresholdDuration    pulumi.IntPtrInput    `pulumi:"thresholdDuration"`
	ThresholdOccurrences pulumi.StringPtrInput `pulumi:"thresholdOccurrences"`
	// Deprecated: use `threshold_occurrences` attribute instead
	TimeFunction pulumi.StringPtrInput `pulumi:"timeFunction"`
}

func (NrqlAlertConditionTermArgs) ElementType

func (NrqlAlertConditionTermArgs) ElementType() reflect.Type

func (NrqlAlertConditionTermArgs) ToNrqlAlertConditionTermOutput

func (i NrqlAlertConditionTermArgs) ToNrqlAlertConditionTermOutput() NrqlAlertConditionTermOutput

func (NrqlAlertConditionTermArgs) ToNrqlAlertConditionTermOutputWithContext

func (i NrqlAlertConditionTermArgs) ToNrqlAlertConditionTermOutputWithContext(ctx context.Context) NrqlAlertConditionTermOutput

type NrqlAlertConditionTermArray

type NrqlAlertConditionTermArray []NrqlAlertConditionTermInput

func (NrqlAlertConditionTermArray) ElementType

func (NrqlAlertConditionTermArray) ToNrqlAlertConditionTermArrayOutput

func (i NrqlAlertConditionTermArray) ToNrqlAlertConditionTermArrayOutput() NrqlAlertConditionTermArrayOutput

func (NrqlAlertConditionTermArray) ToNrqlAlertConditionTermArrayOutputWithContext

func (i NrqlAlertConditionTermArray) ToNrqlAlertConditionTermArrayOutputWithContext(ctx context.Context) NrqlAlertConditionTermArrayOutput

type NrqlAlertConditionTermArrayInput

type NrqlAlertConditionTermArrayInput interface {
	pulumi.Input

	ToNrqlAlertConditionTermArrayOutput() NrqlAlertConditionTermArrayOutput
	ToNrqlAlertConditionTermArrayOutputWithContext(context.Context) NrqlAlertConditionTermArrayOutput
}

NrqlAlertConditionTermArrayInput is an input type that accepts NrqlAlertConditionTermArray and NrqlAlertConditionTermArrayOutput values. You can construct a concrete instance of `NrqlAlertConditionTermArrayInput` via:

NrqlAlertConditionTermArray{ NrqlAlertConditionTermArgs{...} }

type NrqlAlertConditionTermArrayOutput

type NrqlAlertConditionTermArrayOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionTermArrayOutput) ElementType

func (NrqlAlertConditionTermArrayOutput) Index

func (NrqlAlertConditionTermArrayOutput) ToNrqlAlertConditionTermArrayOutput

func (o NrqlAlertConditionTermArrayOutput) ToNrqlAlertConditionTermArrayOutput() NrqlAlertConditionTermArrayOutput

func (NrqlAlertConditionTermArrayOutput) ToNrqlAlertConditionTermArrayOutputWithContext

func (o NrqlAlertConditionTermArrayOutput) ToNrqlAlertConditionTermArrayOutputWithContext(ctx context.Context) NrqlAlertConditionTermArrayOutput

type NrqlAlertConditionTermInput

type NrqlAlertConditionTermInput interface {
	pulumi.Input

	ToNrqlAlertConditionTermOutput() NrqlAlertConditionTermOutput
	ToNrqlAlertConditionTermOutputWithContext(context.Context) NrqlAlertConditionTermOutput
}

NrqlAlertConditionTermInput is an input type that accepts NrqlAlertConditionTermArgs and NrqlAlertConditionTermOutput values. You can construct a concrete instance of `NrqlAlertConditionTermInput` via:

NrqlAlertConditionTermArgs{...}

type NrqlAlertConditionTermOutput

type NrqlAlertConditionTermOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionTermOutput) Duration deprecated

Deprecated: use `threshold_duration` attribute instead

func (NrqlAlertConditionTermOutput) ElementType

func (NrqlAlertConditionTermOutput) Operator

func (NrqlAlertConditionTermOutput) Priority

func (NrqlAlertConditionTermOutput) Threshold

func (NrqlAlertConditionTermOutput) ThresholdDuration

func (o NrqlAlertConditionTermOutput) ThresholdDuration() pulumi.IntPtrOutput

func (NrqlAlertConditionTermOutput) ThresholdOccurrences

func (o NrqlAlertConditionTermOutput) ThresholdOccurrences() pulumi.StringPtrOutput

func (NrqlAlertConditionTermOutput) TimeFunction deprecated

Deprecated: use `threshold_occurrences` attribute instead

func (NrqlAlertConditionTermOutput) ToNrqlAlertConditionTermOutput

func (o NrqlAlertConditionTermOutput) ToNrqlAlertConditionTermOutput() NrqlAlertConditionTermOutput

func (NrqlAlertConditionTermOutput) ToNrqlAlertConditionTermOutputWithContext

func (o NrqlAlertConditionTermOutput) ToNrqlAlertConditionTermOutputWithContext(ctx context.Context) NrqlAlertConditionTermOutput

type NrqlAlertConditionWarning

type NrqlAlertConditionWarning struct {
	// Deprecated: use `threshold_duration` attribute instead
	Duration             *int    `pulumi:"duration"`
	Operator             *string `pulumi:"operator"`
	Threshold            float64 `pulumi:"threshold"`
	ThresholdDuration    *int    `pulumi:"thresholdDuration"`
	ThresholdOccurrences *string `pulumi:"thresholdOccurrences"`
	// Deprecated: use `threshold_occurrences` attribute instead
	TimeFunction *string `pulumi:"timeFunction"`
}

type NrqlAlertConditionWarningArgs

type NrqlAlertConditionWarningArgs struct {
	// Deprecated: use `threshold_duration` attribute instead
	Duration             pulumi.IntPtrInput    `pulumi:"duration"`
	Operator             pulumi.StringPtrInput `pulumi:"operator"`
	Threshold            pulumi.Float64Input   `pulumi:"threshold"`
	ThresholdDuration    pulumi.IntPtrInput    `pulumi:"thresholdDuration"`
	ThresholdOccurrences pulumi.StringPtrInput `pulumi:"thresholdOccurrences"`
	// Deprecated: use `threshold_occurrences` attribute instead
	TimeFunction pulumi.StringPtrInput `pulumi:"timeFunction"`
}

func (NrqlAlertConditionWarningArgs) ElementType

func (NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningOutput

func (i NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningOutput() NrqlAlertConditionWarningOutput

func (NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningOutputWithContext

func (i NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningOutputWithContext(ctx context.Context) NrqlAlertConditionWarningOutput

func (NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningPtrOutput

func (i NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningPtrOutput() NrqlAlertConditionWarningPtrOutput

func (NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningPtrOutputWithContext

func (i NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningPtrOutputWithContext(ctx context.Context) NrqlAlertConditionWarningPtrOutput

type NrqlAlertConditionWarningInput

type NrqlAlertConditionWarningInput interface {
	pulumi.Input

	ToNrqlAlertConditionWarningOutput() NrqlAlertConditionWarningOutput
	ToNrqlAlertConditionWarningOutputWithContext(context.Context) NrqlAlertConditionWarningOutput
}

NrqlAlertConditionWarningInput is an input type that accepts NrqlAlertConditionWarningArgs and NrqlAlertConditionWarningOutput values. You can construct a concrete instance of `NrqlAlertConditionWarningInput` via:

NrqlAlertConditionWarningArgs{...}

type NrqlAlertConditionWarningOutput

type NrqlAlertConditionWarningOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionWarningOutput) Duration deprecated

Deprecated: use `threshold_duration` attribute instead

func (NrqlAlertConditionWarningOutput) ElementType

func (NrqlAlertConditionWarningOutput) Operator

func (NrqlAlertConditionWarningOutput) Threshold

func (NrqlAlertConditionWarningOutput) ThresholdDuration

func (o NrqlAlertConditionWarningOutput) ThresholdDuration() pulumi.IntPtrOutput

func (NrqlAlertConditionWarningOutput) ThresholdOccurrences

func (o NrqlAlertConditionWarningOutput) ThresholdOccurrences() pulumi.StringPtrOutput

func (NrqlAlertConditionWarningOutput) TimeFunction deprecated

Deprecated: use `threshold_occurrences` attribute instead

func (NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningOutput

func (o NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningOutput() NrqlAlertConditionWarningOutput

func (NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningOutputWithContext

func (o NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningOutputWithContext(ctx context.Context) NrqlAlertConditionWarningOutput

func (NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningPtrOutput

func (o NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningPtrOutput() NrqlAlertConditionWarningPtrOutput

func (NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningPtrOutputWithContext

func (o NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningPtrOutputWithContext(ctx context.Context) NrqlAlertConditionWarningPtrOutput

type NrqlAlertConditionWarningPtrInput

type NrqlAlertConditionWarningPtrInput interface {
	pulumi.Input

	ToNrqlAlertConditionWarningPtrOutput() NrqlAlertConditionWarningPtrOutput
	ToNrqlAlertConditionWarningPtrOutputWithContext(context.Context) NrqlAlertConditionWarningPtrOutput
}

NrqlAlertConditionWarningPtrInput is an input type that accepts NrqlAlertConditionWarningArgs, NrqlAlertConditionWarningPtr and NrqlAlertConditionWarningPtrOutput values. You can construct a concrete instance of `NrqlAlertConditionWarningPtrInput` via:

        NrqlAlertConditionWarningArgs{...}

or:

        nil

type NrqlAlertConditionWarningPtrOutput

type NrqlAlertConditionWarningPtrOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionWarningPtrOutput) Duration deprecated

Deprecated: use `threshold_duration` attribute instead

func (NrqlAlertConditionWarningPtrOutput) Elem

func (NrqlAlertConditionWarningPtrOutput) ElementType

func (NrqlAlertConditionWarningPtrOutput) Operator

func (NrqlAlertConditionWarningPtrOutput) Threshold

func (NrqlAlertConditionWarningPtrOutput) ThresholdDuration

func (NrqlAlertConditionWarningPtrOutput) ThresholdOccurrences

func (NrqlAlertConditionWarningPtrOutput) TimeFunction deprecated

Deprecated: use `threshold_occurrences` attribute instead

func (NrqlAlertConditionWarningPtrOutput) ToNrqlAlertConditionWarningPtrOutput

func (o NrqlAlertConditionWarningPtrOutput) ToNrqlAlertConditionWarningPtrOutput() NrqlAlertConditionWarningPtrOutput

func (NrqlAlertConditionWarningPtrOutput) ToNrqlAlertConditionWarningPtrOutputWithContext

func (o NrqlAlertConditionWarningPtrOutput) ToNrqlAlertConditionWarningPtrOutputWithContext(ctx context.Context) NrqlAlertConditionWarningPtrOutput

type OneDashboard added in v3.10.0

type OneDashboard struct {
	pulumi.CustomResourceState

	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntOutput `pulumi:"accountId"`
	// Brief text describing the dashboard.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The unique entity identifier of the dashboard page in New Relic.
	Guid pulumi.StringOutput `pulumi:"guid"`
	// The title of the dashboard.
	Name pulumi.StringOutput `pulumi:"name"`
	// A nested block that describes a page. See Nested page blocks below for details.
	Pages OneDashboardPageArrayOutput `pulumi:"pages"`
	// The URL for viewing the dashboard.
	Permalink pulumi.StringOutput `pulumi:"permalink"`
	// Determines who can see the dashboard in an account. Valid values are `private`, `publicReadOnly`, or `publicReadWrite`.  Defaults to `publicReadOnly`.
	Permissions pulumi.StringPtrOutput `pulumi:"permissions"`
}

## Example Usage ## Additional Examples

## Import

New Relic dashboards can be imported using their GUID, e.g.

```sh

$ pulumi import newrelic:index/oneDashboard:OneDashboard my_dashboard <Dashboard GUID>

```

func GetOneDashboard added in v3.10.0

func GetOneDashboard(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OneDashboardState, opts ...pulumi.ResourceOption) (*OneDashboard, error)

GetOneDashboard gets an existing OneDashboard resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewOneDashboard added in v3.10.0

func NewOneDashboard(ctx *pulumi.Context,
	name string, args *OneDashboardArgs, opts ...pulumi.ResourceOption) (*OneDashboard, error)

NewOneDashboard registers a new resource with the given unique name, arguments, and options.

func (*OneDashboard) ElementType added in v3.10.0

func (*OneDashboard) ElementType() reflect.Type

func (*OneDashboard) ToOneDashboardOutput added in v3.10.0

func (i *OneDashboard) ToOneDashboardOutput() OneDashboardOutput

func (*OneDashboard) ToOneDashboardOutputWithContext added in v3.10.0

func (i *OneDashboard) ToOneDashboardOutputWithContext(ctx context.Context) OneDashboardOutput

func (*OneDashboard) ToOneDashboardPtrOutput added in v3.13.1

func (i *OneDashboard) ToOneDashboardPtrOutput() OneDashboardPtrOutput

func (*OneDashboard) ToOneDashboardPtrOutputWithContext added in v3.13.1

func (i *OneDashboard) ToOneDashboardPtrOutputWithContext(ctx context.Context) OneDashboardPtrOutput

type OneDashboardArgs added in v3.10.0

type OneDashboardArgs struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput
	// Brief text describing the dashboard.
	Description pulumi.StringPtrInput
	// The title of the dashboard.
	Name pulumi.StringPtrInput
	// A nested block that describes a page. See Nested page blocks below for details.
	Pages OneDashboardPageArrayInput
	// Determines who can see the dashboard in an account. Valid values are `private`, `publicReadOnly`, or `publicReadWrite`.  Defaults to `publicReadOnly`.
	Permissions pulumi.StringPtrInput
}

The set of arguments for constructing a OneDashboard resource.

func (OneDashboardArgs) ElementType added in v3.10.0

func (OneDashboardArgs) ElementType() reflect.Type

type OneDashboardArray added in v3.13.1

type OneDashboardArray []OneDashboardInput

func (OneDashboardArray) ElementType added in v3.13.1

func (OneDashboardArray) ElementType() reflect.Type

func (OneDashboardArray) ToOneDashboardArrayOutput added in v3.13.1

func (i OneDashboardArray) ToOneDashboardArrayOutput() OneDashboardArrayOutput

func (OneDashboardArray) ToOneDashboardArrayOutputWithContext added in v3.13.1

func (i OneDashboardArray) ToOneDashboardArrayOutputWithContext(ctx context.Context) OneDashboardArrayOutput

type OneDashboardArrayInput added in v3.13.1

type OneDashboardArrayInput interface {
	pulumi.Input

	ToOneDashboardArrayOutput() OneDashboardArrayOutput
	ToOneDashboardArrayOutputWithContext(context.Context) OneDashboardArrayOutput
}

OneDashboardArrayInput is an input type that accepts OneDashboardArray and OneDashboardArrayOutput values. You can construct a concrete instance of `OneDashboardArrayInput` via:

OneDashboardArray{ OneDashboardArgs{...} }

type OneDashboardArrayOutput added in v3.13.1

type OneDashboardArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardArrayOutput) ElementType added in v3.13.1

func (OneDashboardArrayOutput) ElementType() reflect.Type

func (OneDashboardArrayOutput) Index added in v3.13.1

func (OneDashboardArrayOutput) ToOneDashboardArrayOutput added in v3.13.1

func (o OneDashboardArrayOutput) ToOneDashboardArrayOutput() OneDashboardArrayOutput

func (OneDashboardArrayOutput) ToOneDashboardArrayOutputWithContext added in v3.13.1

func (o OneDashboardArrayOutput) ToOneDashboardArrayOutputWithContext(ctx context.Context) OneDashboardArrayOutput

type OneDashboardInput added in v3.10.0

type OneDashboardInput interface {
	pulumi.Input

	ToOneDashboardOutput() OneDashboardOutput
	ToOneDashboardOutputWithContext(ctx context.Context) OneDashboardOutput
}

type OneDashboardMap added in v3.13.1

type OneDashboardMap map[string]OneDashboardInput

func (OneDashboardMap) ElementType added in v3.13.1

func (OneDashboardMap) ElementType() reflect.Type

func (OneDashboardMap) ToOneDashboardMapOutput added in v3.13.1

func (i OneDashboardMap) ToOneDashboardMapOutput() OneDashboardMapOutput

func (OneDashboardMap) ToOneDashboardMapOutputWithContext added in v3.13.1

func (i OneDashboardMap) ToOneDashboardMapOutputWithContext(ctx context.Context) OneDashboardMapOutput

type OneDashboardMapInput added in v3.13.1

type OneDashboardMapInput interface {
	pulumi.Input

	ToOneDashboardMapOutput() OneDashboardMapOutput
	ToOneDashboardMapOutputWithContext(context.Context) OneDashboardMapOutput
}

OneDashboardMapInput is an input type that accepts OneDashboardMap and OneDashboardMapOutput values. You can construct a concrete instance of `OneDashboardMapInput` via:

OneDashboardMap{ "key": OneDashboardArgs{...} }

type OneDashboardMapOutput added in v3.13.1

type OneDashboardMapOutput struct{ *pulumi.OutputState }

func (OneDashboardMapOutput) ElementType added in v3.13.1

func (OneDashboardMapOutput) ElementType() reflect.Type

func (OneDashboardMapOutput) MapIndex added in v3.13.1

func (OneDashboardMapOutput) ToOneDashboardMapOutput added in v3.13.1

func (o OneDashboardMapOutput) ToOneDashboardMapOutput() OneDashboardMapOutput

func (OneDashboardMapOutput) ToOneDashboardMapOutputWithContext added in v3.13.1

func (o OneDashboardMapOutput) ToOneDashboardMapOutputWithContext(ctx context.Context) OneDashboardMapOutput

type OneDashboardOutput added in v3.10.0

type OneDashboardOutput struct {
	*pulumi.OutputState
}

func (OneDashboardOutput) ElementType added in v3.10.0

func (OneDashboardOutput) ElementType() reflect.Type

func (OneDashboardOutput) ToOneDashboardOutput added in v3.10.0

func (o OneDashboardOutput) ToOneDashboardOutput() OneDashboardOutput

func (OneDashboardOutput) ToOneDashboardOutputWithContext added in v3.10.0

func (o OneDashboardOutput) ToOneDashboardOutputWithContext(ctx context.Context) OneDashboardOutput

func (OneDashboardOutput) ToOneDashboardPtrOutput added in v3.13.1

func (o OneDashboardOutput) ToOneDashboardPtrOutput() OneDashboardPtrOutput

func (OneDashboardOutput) ToOneDashboardPtrOutputWithContext added in v3.13.1

func (o OneDashboardOutput) ToOneDashboardPtrOutputWithContext(ctx context.Context) OneDashboardPtrOutput

type OneDashboardPage added in v3.10.0

type OneDashboardPage struct {
	// Brief text describing the dashboard.
	Description *string `pulumi:"description"`
	// The unique entity identifier of the dashboard page in New Relic.
	Guid *string `pulumi:"guid"`
	// The title of the dashboard.
	Name string `pulumi:"name"`
	// (Optional) A nested block that describes an Area widget.  See Nested widget blocks below for details.
	WidgetAreas []OneDashboardPageWidgetArea `pulumi:"widgetAreas"`
	// (Optional) A nested block that describes a Bar widget.  See Nested widget blocks below for details.
	WidgetBars []OneDashboardPageWidgetBar `pulumi:"widgetBars"`
	// (Optional) A nested block that describes a Billboard widget.  See Nested widget blocks below for details.
	WidgetBillboards []OneDashboardPageWidgetBillboard `pulumi:"widgetBillboards"`
	// (Optional) A nested block that describes a Bullet widget.  See Nested widget blocks below for details.
	WidgetBullets []OneDashboardPageWidgetBullet `pulumi:"widgetBullets"`
	// (Optional) A nested block that describes a Funnel widget.  See Nested widget blocks below for details.
	WidgetFunnels []OneDashboardPageWidgetFunnel `pulumi:"widgetFunnels"`
	// (Optional) A nested block that describes a Heatmap widget.  See Nested widget blocks below for details.
	WidgetHeatmaps []OneDashboardPageWidgetHeatmap `pulumi:"widgetHeatmaps"`
	// (Optional) A nested block that describes a Histogram widget.  See Nested widget blocks below for details.
	WidgetHistograms []OneDashboardPageWidgetHistogram `pulumi:"widgetHistograms"`
	// (Optional) A nested block that describes a Line widget.  See Nested widget blocks below for details.
	WidgetLines []OneDashboardPageWidgetLine `pulumi:"widgetLines"`
	// (Optional) A nested block that describes a Markdown widget.  See Nested widget blocks below for details.
	WidgetMarkdowns []OneDashboardPageWidgetMarkdown `pulumi:"widgetMarkdowns"`
	// (Optional) A nested block that describes a Pie widget.  See Nested widget blocks below for details.
	WidgetPies []OneDashboardPageWidgetPy `pulumi:"widgetPies"`
	// (Optional) A nested block that describes a Table widget.  See Nested widget blocks below for details.
	WidgetTables []OneDashboardPageWidgetTable `pulumi:"widgetTables"`
}

type OneDashboardPageArgs added in v3.10.0

type OneDashboardPageArgs struct {
	// Brief text describing the dashboard.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The unique entity identifier of the dashboard page in New Relic.
	Guid pulumi.StringPtrInput `pulumi:"guid"`
	// The title of the dashboard.
	Name pulumi.StringInput `pulumi:"name"`
	// (Optional) A nested block that describes an Area widget.  See Nested widget blocks below for details.
	WidgetAreas OneDashboardPageWidgetAreaArrayInput `pulumi:"widgetAreas"`
	// (Optional) A nested block that describes a Bar widget.  See Nested widget blocks below for details.
	WidgetBars OneDashboardPageWidgetBarArrayInput `pulumi:"widgetBars"`
	// (Optional) A nested block that describes a Billboard widget.  See Nested widget blocks below for details.
	WidgetBillboards OneDashboardPageWidgetBillboardArrayInput `pulumi:"widgetBillboards"`
	// (Optional) A nested block that describes a Bullet widget.  See Nested widget blocks below for details.
	WidgetBullets OneDashboardPageWidgetBulletArrayInput `pulumi:"widgetBullets"`
	// (Optional) A nested block that describes a Funnel widget.  See Nested widget blocks below for details.
	WidgetFunnels OneDashboardPageWidgetFunnelArrayInput `pulumi:"widgetFunnels"`
	// (Optional) A nested block that describes a Heatmap widget.  See Nested widget blocks below for details.
	WidgetHeatmaps OneDashboardPageWidgetHeatmapArrayInput `pulumi:"widgetHeatmaps"`
	// (Optional) A nested block that describes a Histogram widget.  See Nested widget blocks below for details.
	WidgetHistograms OneDashboardPageWidgetHistogramArrayInput `pulumi:"widgetHistograms"`
	// (Optional) A nested block that describes a Line widget.  See Nested widget blocks below for details.
	WidgetLines OneDashboardPageWidgetLineArrayInput `pulumi:"widgetLines"`
	// (Optional) A nested block that describes a Markdown widget.  See Nested widget blocks below for details.
	WidgetMarkdowns OneDashboardPageWidgetMarkdownArrayInput `pulumi:"widgetMarkdowns"`
	// (Optional) A nested block that describes a Pie widget.  See Nested widget blocks below for details.
	WidgetPies OneDashboardPageWidgetPyArrayInput `pulumi:"widgetPies"`
	// (Optional) A nested block that describes a Table widget.  See Nested widget blocks below for details.
	WidgetTables OneDashboardPageWidgetTableArrayInput `pulumi:"widgetTables"`
}

func (OneDashboardPageArgs) ElementType added in v3.10.0

func (OneDashboardPageArgs) ElementType() reflect.Type

func (OneDashboardPageArgs) ToOneDashboardPageOutput added in v3.10.0

func (i OneDashboardPageArgs) ToOneDashboardPageOutput() OneDashboardPageOutput

func (OneDashboardPageArgs) ToOneDashboardPageOutputWithContext added in v3.10.0

func (i OneDashboardPageArgs) ToOneDashboardPageOutputWithContext(ctx context.Context) OneDashboardPageOutput

type OneDashboardPageArray added in v3.10.0

type OneDashboardPageArray []OneDashboardPageInput

func (OneDashboardPageArray) ElementType added in v3.10.0

func (OneDashboardPageArray) ElementType() reflect.Type

func (OneDashboardPageArray) ToOneDashboardPageArrayOutput added in v3.10.0

func (i OneDashboardPageArray) ToOneDashboardPageArrayOutput() OneDashboardPageArrayOutput

func (OneDashboardPageArray) ToOneDashboardPageArrayOutputWithContext added in v3.10.0

func (i OneDashboardPageArray) ToOneDashboardPageArrayOutputWithContext(ctx context.Context) OneDashboardPageArrayOutput

type OneDashboardPageArrayInput added in v3.10.0

type OneDashboardPageArrayInput interface {
	pulumi.Input

	ToOneDashboardPageArrayOutput() OneDashboardPageArrayOutput
	ToOneDashboardPageArrayOutputWithContext(context.Context) OneDashboardPageArrayOutput
}

OneDashboardPageArrayInput is an input type that accepts OneDashboardPageArray and OneDashboardPageArrayOutput values. You can construct a concrete instance of `OneDashboardPageArrayInput` via:

OneDashboardPageArray{ OneDashboardPageArgs{...} }

type OneDashboardPageArrayOutput added in v3.10.0

type OneDashboardPageArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageArrayOutput) ElementType added in v3.10.0

func (OneDashboardPageArrayOutput) Index added in v3.10.0

func (OneDashboardPageArrayOutput) ToOneDashboardPageArrayOutput added in v3.10.0

func (o OneDashboardPageArrayOutput) ToOneDashboardPageArrayOutput() OneDashboardPageArrayOutput

func (OneDashboardPageArrayOutput) ToOneDashboardPageArrayOutputWithContext added in v3.10.0

func (o OneDashboardPageArrayOutput) ToOneDashboardPageArrayOutputWithContext(ctx context.Context) OneDashboardPageArrayOutput

type OneDashboardPageInput added in v3.10.0

type OneDashboardPageInput interface {
	pulumi.Input

	ToOneDashboardPageOutput() OneDashboardPageOutput
	ToOneDashboardPageOutputWithContext(context.Context) OneDashboardPageOutput
}

OneDashboardPageInput is an input type that accepts OneDashboardPageArgs and OneDashboardPageOutput values. You can construct a concrete instance of `OneDashboardPageInput` via:

OneDashboardPageArgs{...}

type OneDashboardPageOutput added in v3.10.0

type OneDashboardPageOutput struct{ *pulumi.OutputState }

func (OneDashboardPageOutput) Description added in v3.10.0

Brief text describing the dashboard.

func (OneDashboardPageOutput) ElementType added in v3.10.0

func (OneDashboardPageOutput) ElementType() reflect.Type

func (OneDashboardPageOutput) Guid added in v3.10.0

The unique entity identifier of the dashboard page in New Relic.

func (OneDashboardPageOutput) Name added in v3.10.0

The title of the dashboard.

func (OneDashboardPageOutput) ToOneDashboardPageOutput added in v3.10.0

func (o OneDashboardPageOutput) ToOneDashboardPageOutput() OneDashboardPageOutput

func (OneDashboardPageOutput) ToOneDashboardPageOutputWithContext added in v3.10.0

func (o OneDashboardPageOutput) ToOneDashboardPageOutputWithContext(ctx context.Context) OneDashboardPageOutput

func (OneDashboardPageOutput) WidgetAreas added in v3.10.0

(Optional) A nested block that describes an Area widget. See Nested widget blocks below for details.

func (OneDashboardPageOutput) WidgetBars added in v3.10.0

(Optional) A nested block that describes a Bar widget. See Nested widget blocks below for details.

func (OneDashboardPageOutput) WidgetBillboards added in v3.10.0

(Optional) A nested block that describes a Billboard widget. See Nested widget blocks below for details.

func (OneDashboardPageOutput) WidgetBullets added in v3.14.0

(Optional) A nested block that describes a Bullet widget. See Nested widget blocks below for details.

func (OneDashboardPageOutput) WidgetFunnels added in v3.14.0

(Optional) A nested block that describes a Funnel widget. See Nested widget blocks below for details.

func (OneDashboardPageOutput) WidgetHeatmaps added in v3.14.0

(Optional) A nested block that describes a Heatmap widget. See Nested widget blocks below for details.

func (OneDashboardPageOutput) WidgetHistograms added in v3.14.0

(Optional) A nested block that describes a Histogram widget. See Nested widget blocks below for details.

func (OneDashboardPageOutput) WidgetLines added in v3.10.0

(Optional) A nested block that describes a Line widget. See Nested widget blocks below for details.

func (OneDashboardPageOutput) WidgetMarkdowns added in v3.10.0

(Optional) A nested block that describes a Markdown widget. See Nested widget blocks below for details.

func (OneDashboardPageOutput) WidgetPies added in v3.10.0

(Optional) A nested block that describes a Pie widget. See Nested widget blocks below for details.

func (OneDashboardPageOutput) WidgetTables added in v3.10.0

(Optional) A nested block that describes a Table widget. See Nested widget blocks below for details.

type OneDashboardPageWidgetArea added in v3.10.0

type OneDashboardPageWidgetArea struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column int `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height *int    `pulumi:"height"`
	Id     *string `pulumi:"id"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries []OneDashboardPageWidgetAreaNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Required) A title for the widget.
	Title string `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width *int `pulumi:"width"`
}

type OneDashboardPageWidgetAreaArgs added in v3.10.0

type OneDashboardPageWidgetAreaArgs struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column pulumi.IntInput `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height pulumi.IntPtrInput    `pulumi:"height"`
	Id     pulumi.StringPtrInput `pulumi:"id"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries OneDashboardPageWidgetAreaNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Required) A title for the widget.
	Title pulumi.StringInput `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width pulumi.IntPtrInput `pulumi:"width"`
}

func (OneDashboardPageWidgetAreaArgs) ElementType added in v3.10.0

func (OneDashboardPageWidgetAreaArgs) ToOneDashboardPageWidgetAreaOutput added in v3.10.0

func (i OneDashboardPageWidgetAreaArgs) ToOneDashboardPageWidgetAreaOutput() OneDashboardPageWidgetAreaOutput

func (OneDashboardPageWidgetAreaArgs) ToOneDashboardPageWidgetAreaOutputWithContext added in v3.10.0

func (i OneDashboardPageWidgetAreaArgs) ToOneDashboardPageWidgetAreaOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaOutput

type OneDashboardPageWidgetAreaArray added in v3.10.0

type OneDashboardPageWidgetAreaArray []OneDashboardPageWidgetAreaInput

func (OneDashboardPageWidgetAreaArray) ElementType added in v3.10.0

func (OneDashboardPageWidgetAreaArray) ToOneDashboardPageWidgetAreaArrayOutput added in v3.10.0

func (i OneDashboardPageWidgetAreaArray) ToOneDashboardPageWidgetAreaArrayOutput() OneDashboardPageWidgetAreaArrayOutput

func (OneDashboardPageWidgetAreaArray) ToOneDashboardPageWidgetAreaArrayOutputWithContext added in v3.10.0

func (i OneDashboardPageWidgetAreaArray) ToOneDashboardPageWidgetAreaArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaArrayOutput

type OneDashboardPageWidgetAreaArrayInput added in v3.10.0

type OneDashboardPageWidgetAreaArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetAreaArrayOutput() OneDashboardPageWidgetAreaArrayOutput
	ToOneDashboardPageWidgetAreaArrayOutputWithContext(context.Context) OneDashboardPageWidgetAreaArrayOutput
}

OneDashboardPageWidgetAreaArrayInput is an input type that accepts OneDashboardPageWidgetAreaArray and OneDashboardPageWidgetAreaArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetAreaArrayInput` via:

OneDashboardPageWidgetAreaArray{ OneDashboardPageWidgetAreaArgs{...} }

type OneDashboardPageWidgetAreaArrayOutput added in v3.10.0

type OneDashboardPageWidgetAreaArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetAreaArrayOutput) ElementType added in v3.10.0

func (OneDashboardPageWidgetAreaArrayOutput) Index added in v3.10.0

func (OneDashboardPageWidgetAreaArrayOutput) ToOneDashboardPageWidgetAreaArrayOutput added in v3.10.0

func (o OneDashboardPageWidgetAreaArrayOutput) ToOneDashboardPageWidgetAreaArrayOutput() OneDashboardPageWidgetAreaArrayOutput

func (OneDashboardPageWidgetAreaArrayOutput) ToOneDashboardPageWidgetAreaArrayOutputWithContext added in v3.10.0

func (o OneDashboardPageWidgetAreaArrayOutput) ToOneDashboardPageWidgetAreaArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaArrayOutput

type OneDashboardPageWidgetAreaInput added in v3.10.0

type OneDashboardPageWidgetAreaInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetAreaOutput() OneDashboardPageWidgetAreaOutput
	ToOneDashboardPageWidgetAreaOutputWithContext(context.Context) OneDashboardPageWidgetAreaOutput
}

OneDashboardPageWidgetAreaInput is an input type that accepts OneDashboardPageWidgetAreaArgs and OneDashboardPageWidgetAreaOutput values. You can construct a concrete instance of `OneDashboardPageWidgetAreaInput` via:

OneDashboardPageWidgetAreaArgs{...}

type OneDashboardPageWidgetAreaNrqlQuery added in v3.10.1

type OneDashboardPageWidgetAreaNrqlQuery struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId *int `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query string `pulumi:"query"`
}

type OneDashboardPageWidgetAreaNrqlQueryArgs added in v3.10.1

type OneDashboardPageWidgetAreaNrqlQueryArgs struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query pulumi.StringInput `pulumi:"query"`
}

func (OneDashboardPageWidgetAreaNrqlQueryArgs) ElementType added in v3.10.1

func (OneDashboardPageWidgetAreaNrqlQueryArgs) ToOneDashboardPageWidgetAreaNrqlQueryOutput added in v3.10.1

func (i OneDashboardPageWidgetAreaNrqlQueryArgs) ToOneDashboardPageWidgetAreaNrqlQueryOutput() OneDashboardPageWidgetAreaNrqlQueryOutput

func (OneDashboardPageWidgetAreaNrqlQueryArgs) ToOneDashboardPageWidgetAreaNrqlQueryOutputWithContext added in v3.10.1

func (i OneDashboardPageWidgetAreaNrqlQueryArgs) ToOneDashboardPageWidgetAreaNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaNrqlQueryOutput

type OneDashboardPageWidgetAreaNrqlQueryArray added in v3.10.1

type OneDashboardPageWidgetAreaNrqlQueryArray []OneDashboardPageWidgetAreaNrqlQueryInput

func (OneDashboardPageWidgetAreaNrqlQueryArray) ElementType added in v3.10.1

func (OneDashboardPageWidgetAreaNrqlQueryArray) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutput added in v3.10.1

func (i OneDashboardPageWidgetAreaNrqlQueryArray) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutput() OneDashboardPageWidgetAreaNrqlQueryArrayOutput

func (OneDashboardPageWidgetAreaNrqlQueryArray) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutputWithContext added in v3.10.1

func (i OneDashboardPageWidgetAreaNrqlQueryArray) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaNrqlQueryArrayOutput

type OneDashboardPageWidgetAreaNrqlQueryArrayInput added in v3.10.1

type OneDashboardPageWidgetAreaNrqlQueryArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetAreaNrqlQueryArrayOutput() OneDashboardPageWidgetAreaNrqlQueryArrayOutput
	ToOneDashboardPageWidgetAreaNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetAreaNrqlQueryArrayOutput
}

OneDashboardPageWidgetAreaNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetAreaNrqlQueryArray and OneDashboardPageWidgetAreaNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetAreaNrqlQueryArrayInput` via:

OneDashboardPageWidgetAreaNrqlQueryArray{ OneDashboardPageWidgetAreaNrqlQueryArgs{...} }

type OneDashboardPageWidgetAreaNrqlQueryArrayOutput added in v3.10.1

type OneDashboardPageWidgetAreaNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetAreaNrqlQueryArrayOutput) ElementType added in v3.10.1

func (OneDashboardPageWidgetAreaNrqlQueryArrayOutput) Index added in v3.10.1

func (OneDashboardPageWidgetAreaNrqlQueryArrayOutput) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutput added in v3.10.1

func (o OneDashboardPageWidgetAreaNrqlQueryArrayOutput) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutput() OneDashboardPageWidgetAreaNrqlQueryArrayOutput

func (OneDashboardPageWidgetAreaNrqlQueryArrayOutput) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutputWithContext added in v3.10.1

func (o OneDashboardPageWidgetAreaNrqlQueryArrayOutput) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaNrqlQueryArrayOutput

type OneDashboardPageWidgetAreaNrqlQueryInput added in v3.10.1

type OneDashboardPageWidgetAreaNrqlQueryInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetAreaNrqlQueryOutput() OneDashboardPageWidgetAreaNrqlQueryOutput
	ToOneDashboardPageWidgetAreaNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetAreaNrqlQueryOutput
}

OneDashboardPageWidgetAreaNrqlQueryInput is an input type that accepts OneDashboardPageWidgetAreaNrqlQueryArgs and OneDashboardPageWidgetAreaNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetAreaNrqlQueryInput` via:

OneDashboardPageWidgetAreaNrqlQueryArgs{...}

type OneDashboardPageWidgetAreaNrqlQueryOutput added in v3.10.1

type OneDashboardPageWidgetAreaNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetAreaNrqlQueryOutput) AccountId added in v3.10.1

Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.

func (OneDashboardPageWidgetAreaNrqlQueryOutput) ElementType added in v3.10.1

func (OneDashboardPageWidgetAreaNrqlQueryOutput) Query added in v3.10.1

(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.

func (OneDashboardPageWidgetAreaNrqlQueryOutput) ToOneDashboardPageWidgetAreaNrqlQueryOutput added in v3.10.1

func (o OneDashboardPageWidgetAreaNrqlQueryOutput) ToOneDashboardPageWidgetAreaNrqlQueryOutput() OneDashboardPageWidgetAreaNrqlQueryOutput

func (OneDashboardPageWidgetAreaNrqlQueryOutput) ToOneDashboardPageWidgetAreaNrqlQueryOutputWithContext added in v3.10.1

func (o OneDashboardPageWidgetAreaNrqlQueryOutput) ToOneDashboardPageWidgetAreaNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaNrqlQueryOutput

type OneDashboardPageWidgetAreaOutput added in v3.10.0

type OneDashboardPageWidgetAreaOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetAreaOutput) Column added in v3.10.0

(Required) Column position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetAreaOutput) ElementType added in v3.10.0

func (OneDashboardPageWidgetAreaOutput) Height added in v3.10.0

(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.

func (OneDashboardPageWidgetAreaOutput) Id added in v3.10.0

func (OneDashboardPageWidgetAreaOutput) NrqlQueries added in v3.10.1

(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.

func (OneDashboardPageWidgetAreaOutput) Row added in v3.10.0

(Required) Row position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetAreaOutput) Title added in v3.10.0

(Required) A title for the widget.

func (OneDashboardPageWidgetAreaOutput) ToOneDashboardPageWidgetAreaOutput added in v3.10.0

func (o OneDashboardPageWidgetAreaOutput) ToOneDashboardPageWidgetAreaOutput() OneDashboardPageWidgetAreaOutput

func (OneDashboardPageWidgetAreaOutput) ToOneDashboardPageWidgetAreaOutputWithContext added in v3.10.0

func (o OneDashboardPageWidgetAreaOutput) ToOneDashboardPageWidgetAreaOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaOutput

func (OneDashboardPageWidgetAreaOutput) Width added in v3.10.0

(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.

type OneDashboardPageWidgetBar added in v3.10.0

type OneDashboardPageWidgetBar struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column int `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height            *int     `pulumi:"height"`
	Id                *string  `pulumi:"id"`
	LinkedEntityGuids []string `pulumi:"linkedEntityGuids"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries []OneDashboardPageWidgetBarNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Required) A title for the widget.
	Title string `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width *int `pulumi:"width"`
}

type OneDashboardPageWidgetBarArgs added in v3.10.0

type OneDashboardPageWidgetBarArgs struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column pulumi.IntInput `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height            pulumi.IntPtrInput      `pulumi:"height"`
	Id                pulumi.StringPtrInput   `pulumi:"id"`
	LinkedEntityGuids pulumi.StringArrayInput `pulumi:"linkedEntityGuids"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries OneDashboardPageWidgetBarNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Required) A title for the widget.
	Title pulumi.StringInput `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width pulumi.IntPtrInput `pulumi:"width"`
}

func (OneDashboardPageWidgetBarArgs) ElementType added in v3.10.0

func (OneDashboardPageWidgetBarArgs) ToOneDashboardPageWidgetBarOutput added in v3.10.0

func (i OneDashboardPageWidgetBarArgs) ToOneDashboardPageWidgetBarOutput() OneDashboardPageWidgetBarOutput

func (OneDashboardPageWidgetBarArgs) ToOneDashboardPageWidgetBarOutputWithContext added in v3.10.0

func (i OneDashboardPageWidgetBarArgs) ToOneDashboardPageWidgetBarOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarOutput

type OneDashboardPageWidgetBarArray added in v3.10.0

type OneDashboardPageWidgetBarArray []OneDashboardPageWidgetBarInput

func (OneDashboardPageWidgetBarArray) ElementType added in v3.10.0

func (OneDashboardPageWidgetBarArray) ToOneDashboardPageWidgetBarArrayOutput added in v3.10.0

func (i OneDashboardPageWidgetBarArray) ToOneDashboardPageWidgetBarArrayOutput() OneDashboardPageWidgetBarArrayOutput

func (OneDashboardPageWidgetBarArray) ToOneDashboardPageWidgetBarArrayOutputWithContext added in v3.10.0

func (i OneDashboardPageWidgetBarArray) ToOneDashboardPageWidgetBarArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarArrayOutput

type OneDashboardPageWidgetBarArrayInput added in v3.10.0

type OneDashboardPageWidgetBarArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetBarArrayOutput() OneDashboardPageWidgetBarArrayOutput
	ToOneDashboardPageWidgetBarArrayOutputWithContext(context.Context) OneDashboardPageWidgetBarArrayOutput
}

OneDashboardPageWidgetBarArrayInput is an input type that accepts OneDashboardPageWidgetBarArray and OneDashboardPageWidgetBarArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBarArrayInput` via:

OneDashboardPageWidgetBarArray{ OneDashboardPageWidgetBarArgs{...} }

type OneDashboardPageWidgetBarArrayOutput added in v3.10.0

type OneDashboardPageWidgetBarArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBarArrayOutput) ElementType added in v3.10.0

func (OneDashboardPageWidgetBarArrayOutput) Index added in v3.10.0

func (OneDashboardPageWidgetBarArrayOutput) ToOneDashboardPageWidgetBarArrayOutput added in v3.10.0

func (o OneDashboardPageWidgetBarArrayOutput) ToOneDashboardPageWidgetBarArrayOutput() OneDashboardPageWidgetBarArrayOutput

func (OneDashboardPageWidgetBarArrayOutput) ToOneDashboardPageWidgetBarArrayOutputWithContext added in v3.10.0

func (o OneDashboardPageWidgetBarArrayOutput) ToOneDashboardPageWidgetBarArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarArrayOutput

type OneDashboardPageWidgetBarInput added in v3.10.0

type OneDashboardPageWidgetBarInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetBarOutput() OneDashboardPageWidgetBarOutput
	ToOneDashboardPageWidgetBarOutputWithContext(context.Context) OneDashboardPageWidgetBarOutput
}

OneDashboardPageWidgetBarInput is an input type that accepts OneDashboardPageWidgetBarArgs and OneDashboardPageWidgetBarOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBarInput` via:

OneDashboardPageWidgetBarArgs{...}

type OneDashboardPageWidgetBarNrqlQuery added in v3.10.1

type OneDashboardPageWidgetBarNrqlQuery struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId *int `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query string `pulumi:"query"`
}

type OneDashboardPageWidgetBarNrqlQueryArgs added in v3.10.1

type OneDashboardPageWidgetBarNrqlQueryArgs struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query pulumi.StringInput `pulumi:"query"`
}

func (OneDashboardPageWidgetBarNrqlQueryArgs) ElementType added in v3.10.1

func (OneDashboardPageWidgetBarNrqlQueryArgs) ToOneDashboardPageWidgetBarNrqlQueryOutput added in v3.10.1

func (i OneDashboardPageWidgetBarNrqlQueryArgs) ToOneDashboardPageWidgetBarNrqlQueryOutput() OneDashboardPageWidgetBarNrqlQueryOutput

func (OneDashboardPageWidgetBarNrqlQueryArgs) ToOneDashboardPageWidgetBarNrqlQueryOutputWithContext added in v3.10.1

func (i OneDashboardPageWidgetBarNrqlQueryArgs) ToOneDashboardPageWidgetBarNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarNrqlQueryOutput

type OneDashboardPageWidgetBarNrqlQueryArray added in v3.10.1

type OneDashboardPageWidgetBarNrqlQueryArray []OneDashboardPageWidgetBarNrqlQueryInput

func (OneDashboardPageWidgetBarNrqlQueryArray) ElementType added in v3.10.1

func (OneDashboardPageWidgetBarNrqlQueryArray) ToOneDashboardPageWidgetBarNrqlQueryArrayOutput added in v3.10.1

func (i OneDashboardPageWidgetBarNrqlQueryArray) ToOneDashboardPageWidgetBarNrqlQueryArrayOutput() OneDashboardPageWidgetBarNrqlQueryArrayOutput

func (OneDashboardPageWidgetBarNrqlQueryArray) ToOneDashboardPageWidgetBarNrqlQueryArrayOutputWithContext added in v3.10.1

func (i OneDashboardPageWidgetBarNrqlQueryArray) ToOneDashboardPageWidgetBarNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarNrqlQueryArrayOutput

type OneDashboardPageWidgetBarNrqlQueryArrayInput added in v3.10.1

type OneDashboardPageWidgetBarNrqlQueryArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetBarNrqlQueryArrayOutput() OneDashboardPageWidgetBarNrqlQueryArrayOutput
	ToOneDashboardPageWidgetBarNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetBarNrqlQueryArrayOutput
}

OneDashboardPageWidgetBarNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetBarNrqlQueryArray and OneDashboardPageWidgetBarNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBarNrqlQueryArrayInput` via:

OneDashboardPageWidgetBarNrqlQueryArray{ OneDashboardPageWidgetBarNrqlQueryArgs{...} }

type OneDashboardPageWidgetBarNrqlQueryArrayOutput added in v3.10.1

type OneDashboardPageWidgetBarNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBarNrqlQueryArrayOutput) ElementType added in v3.10.1

func (OneDashboardPageWidgetBarNrqlQueryArrayOutput) Index added in v3.10.1

func (OneDashboardPageWidgetBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetBarNrqlQueryArrayOutput added in v3.10.1

func (o OneDashboardPageWidgetBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetBarNrqlQueryArrayOutput() OneDashboardPageWidgetBarNrqlQueryArrayOutput

func (OneDashboardPageWidgetBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetBarNrqlQueryArrayOutputWithContext added in v3.10.1

func (o OneDashboardPageWidgetBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetBarNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarNrqlQueryArrayOutput

type OneDashboardPageWidgetBarNrqlQueryInput added in v3.10.1

type OneDashboardPageWidgetBarNrqlQueryInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetBarNrqlQueryOutput() OneDashboardPageWidgetBarNrqlQueryOutput
	ToOneDashboardPageWidgetBarNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetBarNrqlQueryOutput
}

OneDashboardPageWidgetBarNrqlQueryInput is an input type that accepts OneDashboardPageWidgetBarNrqlQueryArgs and OneDashboardPageWidgetBarNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBarNrqlQueryInput` via:

OneDashboardPageWidgetBarNrqlQueryArgs{...}

type OneDashboardPageWidgetBarNrqlQueryOutput added in v3.10.1

type OneDashboardPageWidgetBarNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBarNrqlQueryOutput) AccountId added in v3.10.1

Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.

func (OneDashboardPageWidgetBarNrqlQueryOutput) ElementType added in v3.10.1

func (OneDashboardPageWidgetBarNrqlQueryOutput) Query added in v3.10.1

(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.

func (OneDashboardPageWidgetBarNrqlQueryOutput) ToOneDashboardPageWidgetBarNrqlQueryOutput added in v3.10.1

func (o OneDashboardPageWidgetBarNrqlQueryOutput) ToOneDashboardPageWidgetBarNrqlQueryOutput() OneDashboardPageWidgetBarNrqlQueryOutput

func (OneDashboardPageWidgetBarNrqlQueryOutput) ToOneDashboardPageWidgetBarNrqlQueryOutputWithContext added in v3.10.1

func (o OneDashboardPageWidgetBarNrqlQueryOutput) ToOneDashboardPageWidgetBarNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarNrqlQueryOutput

type OneDashboardPageWidgetBarOutput added in v3.10.0

type OneDashboardPageWidgetBarOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBarOutput) Column added in v3.10.0

(Required) Column position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetBarOutput) ElementType added in v3.10.0

func (OneDashboardPageWidgetBarOutput) Height added in v3.10.0

(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.

func (OneDashboardPageWidgetBarOutput) Id added in v3.10.0

func (OneDashboardPageWidgetBarOutput) LinkedEntityGuids added in v3.12.0

func (OneDashboardPageWidgetBarOutput) NrqlQueries added in v3.10.1

(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.

func (OneDashboardPageWidgetBarOutput) Row added in v3.10.0

(Required) Row position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetBarOutput) Title added in v3.10.0

(Required) A title for the widget.

func (OneDashboardPageWidgetBarOutput) ToOneDashboardPageWidgetBarOutput added in v3.10.0

func (o OneDashboardPageWidgetBarOutput) ToOneDashboardPageWidgetBarOutput() OneDashboardPageWidgetBarOutput

func (OneDashboardPageWidgetBarOutput) ToOneDashboardPageWidgetBarOutputWithContext added in v3.10.0

func (o OneDashboardPageWidgetBarOutput) ToOneDashboardPageWidgetBarOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarOutput

func (OneDashboardPageWidgetBarOutput) Width added in v3.10.0

(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.

type OneDashboardPageWidgetBillboard added in v3.10.0

type OneDashboardPageWidgetBillboard struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column int `pulumi:"column"`
	// (Optional) Threshold above which the displayed value will be styled with a red color.
	Critical *float64 `pulumi:"critical"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height *int    `pulumi:"height"`
	Id     *string `pulumi:"id"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries []OneDashboardPageWidgetBillboardNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Required) A title for the widget.
	Title string `pulumi:"title"`
	// (Optional) Threshold above which the displayed value will be styled with a yellow color.
	// * `widgetBullet`
	Warning *float64 `pulumi:"warning"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width *int `pulumi:"width"`
}

type OneDashboardPageWidgetBillboardArgs added in v3.10.0

type OneDashboardPageWidgetBillboardArgs struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column pulumi.IntInput `pulumi:"column"`
	// (Optional) Threshold above which the displayed value will be styled with a red color.
	Critical pulumi.Float64PtrInput `pulumi:"critical"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height pulumi.IntPtrInput    `pulumi:"height"`
	Id     pulumi.StringPtrInput `pulumi:"id"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries OneDashboardPageWidgetBillboardNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Required) A title for the widget.
	Title pulumi.StringInput `pulumi:"title"`
	// (Optional) Threshold above which the displayed value will be styled with a yellow color.
	// * `widgetBullet`
	Warning pulumi.Float64PtrInput `pulumi:"warning"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width pulumi.IntPtrInput `pulumi:"width"`
}

func (OneDashboardPageWidgetBillboardArgs) ElementType added in v3.10.0

func (OneDashboardPageWidgetBillboardArgs) ToOneDashboardPageWidgetBillboardOutput added in v3.10.0

func (i OneDashboardPageWidgetBillboardArgs) ToOneDashboardPageWidgetBillboardOutput() OneDashboardPageWidgetBillboardOutput

func (OneDashboardPageWidgetBillboardArgs) ToOneDashboardPageWidgetBillboardOutputWithContext added in v3.10.0

func (i OneDashboardPageWidgetBillboardArgs) ToOneDashboardPageWidgetBillboardOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardOutput

type OneDashboardPageWidgetBillboardArray added in v3.10.0

type OneDashboardPageWidgetBillboardArray []OneDashboardPageWidgetBillboardInput

func (OneDashboardPageWidgetBillboardArray) ElementType added in v3.10.0

func (OneDashboardPageWidgetBillboardArray) ToOneDashboardPageWidgetBillboardArrayOutput added in v3.10.0

func (i OneDashboardPageWidgetBillboardArray) ToOneDashboardPageWidgetBillboardArrayOutput() OneDashboardPageWidgetBillboardArrayOutput

func (OneDashboardPageWidgetBillboardArray) ToOneDashboardPageWidgetBillboardArrayOutputWithContext added in v3.10.0

func (i OneDashboardPageWidgetBillboardArray) ToOneDashboardPageWidgetBillboardArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardArrayOutput

type OneDashboardPageWidgetBillboardArrayInput added in v3.10.0

type OneDashboardPageWidgetBillboardArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetBillboardArrayOutput() OneDashboardPageWidgetBillboardArrayOutput
	ToOneDashboardPageWidgetBillboardArrayOutputWithContext(context.Context) OneDashboardPageWidgetBillboardArrayOutput
}

OneDashboardPageWidgetBillboardArrayInput is an input type that accepts OneDashboardPageWidgetBillboardArray and OneDashboardPageWidgetBillboardArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBillboardArrayInput` via:

OneDashboardPageWidgetBillboardArray{ OneDashboardPageWidgetBillboardArgs{...} }

type OneDashboardPageWidgetBillboardArrayOutput added in v3.10.0

type OneDashboardPageWidgetBillboardArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBillboardArrayOutput) ElementType added in v3.10.0

func (OneDashboardPageWidgetBillboardArrayOutput) Index added in v3.10.0

func (OneDashboardPageWidgetBillboardArrayOutput) ToOneDashboardPageWidgetBillboardArrayOutput added in v3.10.0

func (o OneDashboardPageWidgetBillboardArrayOutput) ToOneDashboardPageWidgetBillboardArrayOutput() OneDashboardPageWidgetBillboardArrayOutput

func (OneDashboardPageWidgetBillboardArrayOutput) ToOneDashboardPageWidgetBillboardArrayOutputWithContext added in v3.10.0

func (o OneDashboardPageWidgetBillboardArrayOutput) ToOneDashboardPageWidgetBillboardArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardArrayOutput

type OneDashboardPageWidgetBillboardInput added in v3.10.0

type OneDashboardPageWidgetBillboardInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetBillboardOutput() OneDashboardPageWidgetBillboardOutput
	ToOneDashboardPageWidgetBillboardOutputWithContext(context.Context) OneDashboardPageWidgetBillboardOutput
}

OneDashboardPageWidgetBillboardInput is an input type that accepts OneDashboardPageWidgetBillboardArgs and OneDashboardPageWidgetBillboardOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBillboardInput` via:

OneDashboardPageWidgetBillboardArgs{...}

type OneDashboardPageWidgetBillboardNrqlQuery added in v3.10.1

type OneDashboardPageWidgetBillboardNrqlQuery struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId *int `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query string `pulumi:"query"`
}

type OneDashboardPageWidgetBillboardNrqlQueryArgs added in v3.10.1

type OneDashboardPageWidgetBillboardNrqlQueryArgs struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query pulumi.StringInput `pulumi:"query"`
}

func (OneDashboardPageWidgetBillboardNrqlQueryArgs) ElementType added in v3.10.1

func (OneDashboardPageWidgetBillboardNrqlQueryArgs) ToOneDashboardPageWidgetBillboardNrqlQueryOutput added in v3.10.1

func (i OneDashboardPageWidgetBillboardNrqlQueryArgs) ToOneDashboardPageWidgetBillboardNrqlQueryOutput() OneDashboardPageWidgetBillboardNrqlQueryOutput

func (OneDashboardPageWidgetBillboardNrqlQueryArgs) ToOneDashboardPageWidgetBillboardNrqlQueryOutputWithContext added in v3.10.1

func (i OneDashboardPageWidgetBillboardNrqlQueryArgs) ToOneDashboardPageWidgetBillboardNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardNrqlQueryOutput

type OneDashboardPageWidgetBillboardNrqlQueryArray added in v3.10.1

type OneDashboardPageWidgetBillboardNrqlQueryArray []OneDashboardPageWidgetBillboardNrqlQueryInput

func (OneDashboardPageWidgetBillboardNrqlQueryArray) ElementType added in v3.10.1

func (OneDashboardPageWidgetBillboardNrqlQueryArray) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutput added in v3.10.1

func (i OneDashboardPageWidgetBillboardNrqlQueryArray) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutput() OneDashboardPageWidgetBillboardNrqlQueryArrayOutput

func (OneDashboardPageWidgetBillboardNrqlQueryArray) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutputWithContext added in v3.10.1

func (i OneDashboardPageWidgetBillboardNrqlQueryArray) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardNrqlQueryArrayOutput

type OneDashboardPageWidgetBillboardNrqlQueryArrayInput added in v3.10.1

type OneDashboardPageWidgetBillboardNrqlQueryArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutput() OneDashboardPageWidgetBillboardNrqlQueryArrayOutput
	ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetBillboardNrqlQueryArrayOutput
}

OneDashboardPageWidgetBillboardNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetBillboardNrqlQueryArray and OneDashboardPageWidgetBillboardNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBillboardNrqlQueryArrayInput` via:

OneDashboardPageWidgetBillboardNrqlQueryArray{ OneDashboardPageWidgetBillboardNrqlQueryArgs{...} }

type OneDashboardPageWidgetBillboardNrqlQueryArrayOutput added in v3.10.1

type OneDashboardPageWidgetBillboardNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) ElementType added in v3.10.1

func (OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) Index added in v3.10.1

func (OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutput added in v3.10.1

func (o OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutput() OneDashboardPageWidgetBillboardNrqlQueryArrayOutput

func (OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutputWithContext added in v3.10.1

func (o OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardNrqlQueryArrayOutput

type OneDashboardPageWidgetBillboardNrqlQueryInput added in v3.10.1

type OneDashboardPageWidgetBillboardNrqlQueryInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetBillboardNrqlQueryOutput() OneDashboardPageWidgetBillboardNrqlQueryOutput
	ToOneDashboardPageWidgetBillboardNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetBillboardNrqlQueryOutput
}

OneDashboardPageWidgetBillboardNrqlQueryInput is an input type that accepts OneDashboardPageWidgetBillboardNrqlQueryArgs and OneDashboardPageWidgetBillboardNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBillboardNrqlQueryInput` via:

OneDashboardPageWidgetBillboardNrqlQueryArgs{...}

type OneDashboardPageWidgetBillboardNrqlQueryOutput added in v3.10.1

type OneDashboardPageWidgetBillboardNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBillboardNrqlQueryOutput) AccountId added in v3.10.1

Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.

func (OneDashboardPageWidgetBillboardNrqlQueryOutput) ElementType added in v3.10.1

func (OneDashboardPageWidgetBillboardNrqlQueryOutput) Query added in v3.10.1

(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.

func (OneDashboardPageWidgetBillboardNrqlQueryOutput) ToOneDashboardPageWidgetBillboardNrqlQueryOutput added in v3.10.1

func (o OneDashboardPageWidgetBillboardNrqlQueryOutput) ToOneDashboardPageWidgetBillboardNrqlQueryOutput() OneDashboardPageWidgetBillboardNrqlQueryOutput

func (OneDashboardPageWidgetBillboardNrqlQueryOutput) ToOneDashboardPageWidgetBillboardNrqlQueryOutputWithContext added in v3.10.1

func (o OneDashboardPageWidgetBillboardNrqlQueryOutput) ToOneDashboardPageWidgetBillboardNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardNrqlQueryOutput

type OneDashboardPageWidgetBillboardOutput added in v3.10.0

type OneDashboardPageWidgetBillboardOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBillboardOutput) Column added in v3.10.0

(Required) Column position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetBillboardOutput) Critical added in v3.10.0

(Optional) Threshold above which the displayed value will be styled with a red color.

func (OneDashboardPageWidgetBillboardOutput) ElementType added in v3.10.0

func (OneDashboardPageWidgetBillboardOutput) Height added in v3.10.0

(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.

func (OneDashboardPageWidgetBillboardOutput) Id added in v3.10.0

func (OneDashboardPageWidgetBillboardOutput) NrqlQueries added in v3.10.1

(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.

func (OneDashboardPageWidgetBillboardOutput) Row added in v3.10.0

(Required) Row position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetBillboardOutput) Title added in v3.10.0

(Required) A title for the widget.

func (OneDashboardPageWidgetBillboardOutput) ToOneDashboardPageWidgetBillboardOutput added in v3.10.0

func (o OneDashboardPageWidgetBillboardOutput) ToOneDashboardPageWidgetBillboardOutput() OneDashboardPageWidgetBillboardOutput

func (OneDashboardPageWidgetBillboardOutput) ToOneDashboardPageWidgetBillboardOutputWithContext added in v3.10.0

func (o OneDashboardPageWidgetBillboardOutput) ToOneDashboardPageWidgetBillboardOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardOutput

func (OneDashboardPageWidgetBillboardOutput) Warning added in v3.10.0

(Optional) Threshold above which the displayed value will be styled with a yellow color. * `widgetBullet`

func (OneDashboardPageWidgetBillboardOutput) Width added in v3.10.0

(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.

type OneDashboardPageWidgetBullet added in v3.14.0

type OneDashboardPageWidgetBullet struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column int `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height *int    `pulumi:"height"`
	Id     *string `pulumi:"id"`
	// (Optional) Visualization limit for the widget.
	// * `widgetFunnel`
	Limit *float64 `pulumi:"limit"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries []OneDashboardPageWidgetBulletNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Required) A title for the widget.
	Title string `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width *int `pulumi:"width"`
}

type OneDashboardPageWidgetBulletArgs added in v3.14.0

type OneDashboardPageWidgetBulletArgs struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column pulumi.IntInput `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height pulumi.IntPtrInput    `pulumi:"height"`
	Id     pulumi.StringPtrInput `pulumi:"id"`
	// (Optional) Visualization limit for the widget.
	// * `widgetFunnel`
	Limit pulumi.Float64PtrInput `pulumi:"limit"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries OneDashboardPageWidgetBulletNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Required) A title for the widget.
	Title pulumi.StringInput `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width pulumi.IntPtrInput `pulumi:"width"`
}

func (OneDashboardPageWidgetBulletArgs) ElementType added in v3.14.0

func (OneDashboardPageWidgetBulletArgs) ToOneDashboardPageWidgetBulletOutput added in v3.14.0

func (i OneDashboardPageWidgetBulletArgs) ToOneDashboardPageWidgetBulletOutput() OneDashboardPageWidgetBulletOutput

func (OneDashboardPageWidgetBulletArgs) ToOneDashboardPageWidgetBulletOutputWithContext added in v3.14.0

func (i OneDashboardPageWidgetBulletArgs) ToOneDashboardPageWidgetBulletOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletOutput

type OneDashboardPageWidgetBulletArray added in v3.14.0

type OneDashboardPageWidgetBulletArray []OneDashboardPageWidgetBulletInput

func (OneDashboardPageWidgetBulletArray) ElementType added in v3.14.0

func (OneDashboardPageWidgetBulletArray) ToOneDashboardPageWidgetBulletArrayOutput added in v3.14.0

func (i OneDashboardPageWidgetBulletArray) ToOneDashboardPageWidgetBulletArrayOutput() OneDashboardPageWidgetBulletArrayOutput

func (OneDashboardPageWidgetBulletArray) ToOneDashboardPageWidgetBulletArrayOutputWithContext added in v3.14.0

func (i OneDashboardPageWidgetBulletArray) ToOneDashboardPageWidgetBulletArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletArrayOutput

type OneDashboardPageWidgetBulletArrayInput added in v3.14.0

type OneDashboardPageWidgetBulletArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetBulletArrayOutput() OneDashboardPageWidgetBulletArrayOutput
	ToOneDashboardPageWidgetBulletArrayOutputWithContext(context.Context) OneDashboardPageWidgetBulletArrayOutput
}

OneDashboardPageWidgetBulletArrayInput is an input type that accepts OneDashboardPageWidgetBulletArray and OneDashboardPageWidgetBulletArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBulletArrayInput` via:

OneDashboardPageWidgetBulletArray{ OneDashboardPageWidgetBulletArgs{...} }

type OneDashboardPageWidgetBulletArrayOutput added in v3.14.0

type OneDashboardPageWidgetBulletArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBulletArrayOutput) ElementType added in v3.14.0

func (OneDashboardPageWidgetBulletArrayOutput) Index added in v3.14.0

func (OneDashboardPageWidgetBulletArrayOutput) ToOneDashboardPageWidgetBulletArrayOutput added in v3.14.0

func (o OneDashboardPageWidgetBulletArrayOutput) ToOneDashboardPageWidgetBulletArrayOutput() OneDashboardPageWidgetBulletArrayOutput

func (OneDashboardPageWidgetBulletArrayOutput) ToOneDashboardPageWidgetBulletArrayOutputWithContext added in v3.14.0

func (o OneDashboardPageWidgetBulletArrayOutput) ToOneDashboardPageWidgetBulletArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletArrayOutput

type OneDashboardPageWidgetBulletInput added in v3.14.0

type OneDashboardPageWidgetBulletInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetBulletOutput() OneDashboardPageWidgetBulletOutput
	ToOneDashboardPageWidgetBulletOutputWithContext(context.Context) OneDashboardPageWidgetBulletOutput
}

OneDashboardPageWidgetBulletInput is an input type that accepts OneDashboardPageWidgetBulletArgs and OneDashboardPageWidgetBulletOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBulletInput` via:

OneDashboardPageWidgetBulletArgs{...}

type OneDashboardPageWidgetBulletNrqlQuery added in v3.14.0

type OneDashboardPageWidgetBulletNrqlQuery struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId *int `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query string `pulumi:"query"`
}

type OneDashboardPageWidgetBulletNrqlQueryArgs added in v3.14.0

type OneDashboardPageWidgetBulletNrqlQueryArgs struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query pulumi.StringInput `pulumi:"query"`
}

func (OneDashboardPageWidgetBulletNrqlQueryArgs) ElementType added in v3.14.0

func (OneDashboardPageWidgetBulletNrqlQueryArgs) ToOneDashboardPageWidgetBulletNrqlQueryOutput added in v3.14.0

func (i OneDashboardPageWidgetBulletNrqlQueryArgs) ToOneDashboardPageWidgetBulletNrqlQueryOutput() OneDashboardPageWidgetBulletNrqlQueryOutput

func (OneDashboardPageWidgetBulletNrqlQueryArgs) ToOneDashboardPageWidgetBulletNrqlQueryOutputWithContext added in v3.14.0

func (i OneDashboardPageWidgetBulletNrqlQueryArgs) ToOneDashboardPageWidgetBulletNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletNrqlQueryOutput

type OneDashboardPageWidgetBulletNrqlQueryArray added in v3.14.0

type OneDashboardPageWidgetBulletNrqlQueryArray []OneDashboardPageWidgetBulletNrqlQueryInput

func (OneDashboardPageWidgetBulletNrqlQueryArray) ElementType added in v3.14.0

func (OneDashboardPageWidgetBulletNrqlQueryArray) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutput added in v3.14.0

func (i OneDashboardPageWidgetBulletNrqlQueryArray) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutput() OneDashboardPageWidgetBulletNrqlQueryArrayOutput

func (OneDashboardPageWidgetBulletNrqlQueryArray) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutputWithContext added in v3.14.0

func (i OneDashboardPageWidgetBulletNrqlQueryArray) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletNrqlQueryArrayOutput

type OneDashboardPageWidgetBulletNrqlQueryArrayInput added in v3.14.0

type OneDashboardPageWidgetBulletNrqlQueryArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetBulletNrqlQueryArrayOutput() OneDashboardPageWidgetBulletNrqlQueryArrayOutput
	ToOneDashboardPageWidgetBulletNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetBulletNrqlQueryArrayOutput
}

OneDashboardPageWidgetBulletNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetBulletNrqlQueryArray and OneDashboardPageWidgetBulletNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBulletNrqlQueryArrayInput` via:

OneDashboardPageWidgetBulletNrqlQueryArray{ OneDashboardPageWidgetBulletNrqlQueryArgs{...} }

type OneDashboardPageWidgetBulletNrqlQueryArrayOutput added in v3.14.0

type OneDashboardPageWidgetBulletNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBulletNrqlQueryArrayOutput) ElementType added in v3.14.0

func (OneDashboardPageWidgetBulletNrqlQueryArrayOutput) Index added in v3.14.0

func (OneDashboardPageWidgetBulletNrqlQueryArrayOutput) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutput added in v3.14.0

func (o OneDashboardPageWidgetBulletNrqlQueryArrayOutput) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutput() OneDashboardPageWidgetBulletNrqlQueryArrayOutput

func (OneDashboardPageWidgetBulletNrqlQueryArrayOutput) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutputWithContext added in v3.14.0

func (o OneDashboardPageWidgetBulletNrqlQueryArrayOutput) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletNrqlQueryArrayOutput

type OneDashboardPageWidgetBulletNrqlQueryInput added in v3.14.0

type OneDashboardPageWidgetBulletNrqlQueryInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetBulletNrqlQueryOutput() OneDashboardPageWidgetBulletNrqlQueryOutput
	ToOneDashboardPageWidgetBulletNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetBulletNrqlQueryOutput
}

OneDashboardPageWidgetBulletNrqlQueryInput is an input type that accepts OneDashboardPageWidgetBulletNrqlQueryArgs and OneDashboardPageWidgetBulletNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBulletNrqlQueryInput` via:

OneDashboardPageWidgetBulletNrqlQueryArgs{...}

type OneDashboardPageWidgetBulletNrqlQueryOutput added in v3.14.0

type OneDashboardPageWidgetBulletNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBulletNrqlQueryOutput) AccountId added in v3.14.0

Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.

func (OneDashboardPageWidgetBulletNrqlQueryOutput) ElementType added in v3.14.0

func (OneDashboardPageWidgetBulletNrqlQueryOutput) Query added in v3.14.0

(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.

func (OneDashboardPageWidgetBulletNrqlQueryOutput) ToOneDashboardPageWidgetBulletNrqlQueryOutput added in v3.14.0

func (o OneDashboardPageWidgetBulletNrqlQueryOutput) ToOneDashboardPageWidgetBulletNrqlQueryOutput() OneDashboardPageWidgetBulletNrqlQueryOutput

func (OneDashboardPageWidgetBulletNrqlQueryOutput) ToOneDashboardPageWidgetBulletNrqlQueryOutputWithContext added in v3.14.0

func (o OneDashboardPageWidgetBulletNrqlQueryOutput) ToOneDashboardPageWidgetBulletNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletNrqlQueryOutput

type OneDashboardPageWidgetBulletOutput added in v3.14.0

type OneDashboardPageWidgetBulletOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBulletOutput) Column added in v3.14.0

(Required) Column position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetBulletOutput) ElementType added in v3.14.0

func (OneDashboardPageWidgetBulletOutput) Height added in v3.14.0

(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.

func (OneDashboardPageWidgetBulletOutput) Id added in v3.14.0

func (OneDashboardPageWidgetBulletOutput) Limit added in v3.14.0

(Optional) Visualization limit for the widget. * `widgetFunnel`

func (OneDashboardPageWidgetBulletOutput) NrqlQueries added in v3.14.0

(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.

func (OneDashboardPageWidgetBulletOutput) Row added in v3.14.0

(Required) Row position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetBulletOutput) Title added in v3.14.0

(Required) A title for the widget.

func (OneDashboardPageWidgetBulletOutput) ToOneDashboardPageWidgetBulletOutput added in v3.14.0

func (o OneDashboardPageWidgetBulletOutput) ToOneDashboardPageWidgetBulletOutput() OneDashboardPageWidgetBulletOutput

func (OneDashboardPageWidgetBulletOutput) ToOneDashboardPageWidgetBulletOutputWithContext added in v3.14.0

func (o OneDashboardPageWidgetBulletOutput) ToOneDashboardPageWidgetBulletOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletOutput

func (OneDashboardPageWidgetBulletOutput) Width added in v3.14.0

(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.

type OneDashboardPageWidgetFunnel added in v3.14.0

type OneDashboardPageWidgetFunnel struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column int `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height *int    `pulumi:"height"`
	Id     *string `pulumi:"id"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries []OneDashboardPageWidgetFunnelNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Required) A title for the widget.
	Title string `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width *int `pulumi:"width"`
}

type OneDashboardPageWidgetFunnelArgs added in v3.14.0

type OneDashboardPageWidgetFunnelArgs struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column pulumi.IntInput `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height pulumi.IntPtrInput    `pulumi:"height"`
	Id     pulumi.StringPtrInput `pulumi:"id"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries OneDashboardPageWidgetFunnelNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Required) A title for the widget.
	Title pulumi.StringInput `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width pulumi.IntPtrInput `pulumi:"width"`
}

func (OneDashboardPageWidgetFunnelArgs) ElementType added in v3.14.0

func (OneDashboardPageWidgetFunnelArgs) ToOneDashboardPageWidgetFunnelOutput added in v3.14.0

func (i OneDashboardPageWidgetFunnelArgs) ToOneDashboardPageWidgetFunnelOutput() OneDashboardPageWidgetFunnelOutput

func (OneDashboardPageWidgetFunnelArgs) ToOneDashboardPageWidgetFunnelOutputWithContext added in v3.14.0

func (i OneDashboardPageWidgetFunnelArgs) ToOneDashboardPageWidgetFunnelOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelOutput

type OneDashboardPageWidgetFunnelArray added in v3.14.0

type OneDashboardPageWidgetFunnelArray []OneDashboardPageWidgetFunnelInput

func (OneDashboardPageWidgetFunnelArray) ElementType added in v3.14.0

func (OneDashboardPageWidgetFunnelArray) ToOneDashboardPageWidgetFunnelArrayOutput added in v3.14.0

func (i OneDashboardPageWidgetFunnelArray) ToOneDashboardPageWidgetFunnelArrayOutput() OneDashboardPageWidgetFunnelArrayOutput

func (OneDashboardPageWidgetFunnelArray) ToOneDashboardPageWidgetFunnelArrayOutputWithContext added in v3.14.0

func (i OneDashboardPageWidgetFunnelArray) ToOneDashboardPageWidgetFunnelArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelArrayOutput

type OneDashboardPageWidgetFunnelArrayInput added in v3.14.0

type OneDashboardPageWidgetFunnelArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetFunnelArrayOutput() OneDashboardPageWidgetFunnelArrayOutput
	ToOneDashboardPageWidgetFunnelArrayOutputWithContext(context.Context) OneDashboardPageWidgetFunnelArrayOutput
}

OneDashboardPageWidgetFunnelArrayInput is an input type that accepts OneDashboardPageWidgetFunnelArray and OneDashboardPageWidgetFunnelArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetFunnelArrayInput` via:

OneDashboardPageWidgetFunnelArray{ OneDashboardPageWidgetFunnelArgs{...} }

type OneDashboardPageWidgetFunnelArrayOutput added in v3.14.0

type OneDashboardPageWidgetFunnelArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetFunnelArrayOutput) ElementType added in v3.14.0

func (OneDashboardPageWidgetFunnelArrayOutput) Index added in v3.14.0

func (OneDashboardPageWidgetFunnelArrayOutput) ToOneDashboardPageWidgetFunnelArrayOutput added in v3.14.0

func (o OneDashboardPageWidgetFunnelArrayOutput) ToOneDashboardPageWidgetFunnelArrayOutput() OneDashboardPageWidgetFunnelArrayOutput

func (OneDashboardPageWidgetFunnelArrayOutput) ToOneDashboardPageWidgetFunnelArrayOutputWithContext added in v3.14.0

func (o OneDashboardPageWidgetFunnelArrayOutput) ToOneDashboardPageWidgetFunnelArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelArrayOutput

type OneDashboardPageWidgetFunnelInput added in v3.14.0

type OneDashboardPageWidgetFunnelInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetFunnelOutput() OneDashboardPageWidgetFunnelOutput
	ToOneDashboardPageWidgetFunnelOutputWithContext(context.Context) OneDashboardPageWidgetFunnelOutput
}

OneDashboardPageWidgetFunnelInput is an input type that accepts OneDashboardPageWidgetFunnelArgs and OneDashboardPageWidgetFunnelOutput values. You can construct a concrete instance of `OneDashboardPageWidgetFunnelInput` via:

OneDashboardPageWidgetFunnelArgs{...}

type OneDashboardPageWidgetFunnelNrqlQuery added in v3.14.0

type OneDashboardPageWidgetFunnelNrqlQuery struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId *int `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query string `pulumi:"query"`
}

type OneDashboardPageWidgetFunnelNrqlQueryArgs added in v3.14.0

type OneDashboardPageWidgetFunnelNrqlQueryArgs struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query pulumi.StringInput `pulumi:"query"`
}

func (OneDashboardPageWidgetFunnelNrqlQueryArgs) ElementType added in v3.14.0

func (OneDashboardPageWidgetFunnelNrqlQueryArgs) ToOneDashboardPageWidgetFunnelNrqlQueryOutput added in v3.14.0

func (i OneDashboardPageWidgetFunnelNrqlQueryArgs) ToOneDashboardPageWidgetFunnelNrqlQueryOutput() OneDashboardPageWidgetFunnelNrqlQueryOutput

func (OneDashboardPageWidgetFunnelNrqlQueryArgs) ToOneDashboardPageWidgetFunnelNrqlQueryOutputWithContext added in v3.14.0

func (i OneDashboardPageWidgetFunnelNrqlQueryArgs) ToOneDashboardPageWidgetFunnelNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelNrqlQueryOutput

type OneDashboardPageWidgetFunnelNrqlQueryArray added in v3.14.0

type OneDashboardPageWidgetFunnelNrqlQueryArray []OneDashboardPageWidgetFunnelNrqlQueryInput

func (OneDashboardPageWidgetFunnelNrqlQueryArray) ElementType added in v3.14.0

func (OneDashboardPageWidgetFunnelNrqlQueryArray) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutput added in v3.14.0

func (i OneDashboardPageWidgetFunnelNrqlQueryArray) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutput() OneDashboardPageWidgetFunnelNrqlQueryArrayOutput

func (OneDashboardPageWidgetFunnelNrqlQueryArray) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutputWithContext added in v3.14.0

func (i OneDashboardPageWidgetFunnelNrqlQueryArray) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelNrqlQueryArrayOutput

type OneDashboardPageWidgetFunnelNrqlQueryArrayInput added in v3.14.0

type OneDashboardPageWidgetFunnelNrqlQueryArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutput() OneDashboardPageWidgetFunnelNrqlQueryArrayOutput
	ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetFunnelNrqlQueryArrayOutput
}

OneDashboardPageWidgetFunnelNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetFunnelNrqlQueryArray and OneDashboardPageWidgetFunnelNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetFunnelNrqlQueryArrayInput` via:

OneDashboardPageWidgetFunnelNrqlQueryArray{ OneDashboardPageWidgetFunnelNrqlQueryArgs{...} }

type OneDashboardPageWidgetFunnelNrqlQueryArrayOutput added in v3.14.0

type OneDashboardPageWidgetFunnelNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) ElementType added in v3.14.0

func (OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) Index added in v3.14.0

func (OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutput added in v3.14.0

func (o OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutput() OneDashboardPageWidgetFunnelNrqlQueryArrayOutput

func (OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutputWithContext added in v3.14.0

func (o OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelNrqlQueryArrayOutput

type OneDashboardPageWidgetFunnelNrqlQueryInput added in v3.14.0

type OneDashboardPageWidgetFunnelNrqlQueryInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetFunnelNrqlQueryOutput() OneDashboardPageWidgetFunnelNrqlQueryOutput
	ToOneDashboardPageWidgetFunnelNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetFunnelNrqlQueryOutput
}

OneDashboardPageWidgetFunnelNrqlQueryInput is an input type that accepts OneDashboardPageWidgetFunnelNrqlQueryArgs and OneDashboardPageWidgetFunnelNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetFunnelNrqlQueryInput` via:

OneDashboardPageWidgetFunnelNrqlQueryArgs{...}

type OneDashboardPageWidgetFunnelNrqlQueryOutput added in v3.14.0

type OneDashboardPageWidgetFunnelNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetFunnelNrqlQueryOutput) AccountId added in v3.14.0

Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.

func (OneDashboardPageWidgetFunnelNrqlQueryOutput) ElementType added in v3.14.0

func (OneDashboardPageWidgetFunnelNrqlQueryOutput) Query added in v3.14.0

(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.

func (OneDashboardPageWidgetFunnelNrqlQueryOutput) ToOneDashboardPageWidgetFunnelNrqlQueryOutput added in v3.14.0

func (o OneDashboardPageWidgetFunnelNrqlQueryOutput) ToOneDashboardPageWidgetFunnelNrqlQueryOutput() OneDashboardPageWidgetFunnelNrqlQueryOutput

func (OneDashboardPageWidgetFunnelNrqlQueryOutput) ToOneDashboardPageWidgetFunnelNrqlQueryOutputWithContext added in v3.14.0

func (o OneDashboardPageWidgetFunnelNrqlQueryOutput) ToOneDashboardPageWidgetFunnelNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelNrqlQueryOutput

type OneDashboardPageWidgetFunnelOutput added in v3.14.0

type OneDashboardPageWidgetFunnelOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetFunnelOutput) Column added in v3.14.0

(Required) Column position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetFunnelOutput) ElementType added in v3.14.0

func (OneDashboardPageWidgetFunnelOutput) Height added in v3.14.0

(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.

func (OneDashboardPageWidgetFunnelOutput) Id added in v3.14.0

func (OneDashboardPageWidgetFunnelOutput) NrqlQueries added in v3.14.0

(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.

func (OneDashboardPageWidgetFunnelOutput) Row added in v3.14.0

(Required) Row position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetFunnelOutput) Title added in v3.14.0

(Required) A title for the widget.

func (OneDashboardPageWidgetFunnelOutput) ToOneDashboardPageWidgetFunnelOutput added in v3.14.0

func (o OneDashboardPageWidgetFunnelOutput) ToOneDashboardPageWidgetFunnelOutput() OneDashboardPageWidgetFunnelOutput

func (OneDashboardPageWidgetFunnelOutput) ToOneDashboardPageWidgetFunnelOutputWithContext added in v3.14.0

func (o OneDashboardPageWidgetFunnelOutput) ToOneDashboardPageWidgetFunnelOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelOutput

func (OneDashboardPageWidgetFunnelOutput) Width added in v3.14.0

(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.

type OneDashboardPageWidgetHeatmap added in v3.14.0

type OneDashboardPageWidgetHeatmap struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column int `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height *int    `pulumi:"height"`
	Id     *string `pulumi:"id"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries []OneDashboardPageWidgetHeatmapNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Required) A title for the widget.
	Title string `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width *int `pulumi:"width"`
}

type OneDashboardPageWidgetHeatmapArgs added in v3.14.0

type OneDashboardPageWidgetHeatmapArgs struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column pulumi.IntInput `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height pulumi.IntPtrInput    `pulumi:"height"`
	Id     pulumi.StringPtrInput `pulumi:"id"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries OneDashboardPageWidgetHeatmapNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Required) A title for the widget.
	Title pulumi.StringInput `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width pulumi.IntPtrInput `pulumi:"width"`
}

func (OneDashboardPageWidgetHeatmapArgs) ElementType added in v3.14.0

func (OneDashboardPageWidgetHeatmapArgs) ToOneDashboardPageWidgetHeatmapOutput added in v3.14.0

func (i OneDashboardPageWidgetHeatmapArgs) ToOneDashboardPageWidgetHeatmapOutput() OneDashboardPageWidgetHeatmapOutput

func (OneDashboardPageWidgetHeatmapArgs) ToOneDashboardPageWidgetHeatmapOutputWithContext added in v3.14.0

func (i OneDashboardPageWidgetHeatmapArgs) ToOneDashboardPageWidgetHeatmapOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapOutput

type OneDashboardPageWidgetHeatmapArray added in v3.14.0

type OneDashboardPageWidgetHeatmapArray []OneDashboardPageWidgetHeatmapInput

func (OneDashboardPageWidgetHeatmapArray) ElementType added in v3.14.0

func (OneDashboardPageWidgetHeatmapArray) ToOneDashboardPageWidgetHeatmapArrayOutput added in v3.14.0

func (i OneDashboardPageWidgetHeatmapArray) ToOneDashboardPageWidgetHeatmapArrayOutput() OneDashboardPageWidgetHeatmapArrayOutput

func (OneDashboardPageWidgetHeatmapArray) ToOneDashboardPageWidgetHeatmapArrayOutputWithContext added in v3.14.0

func (i OneDashboardPageWidgetHeatmapArray) ToOneDashboardPageWidgetHeatmapArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapArrayOutput

type OneDashboardPageWidgetHeatmapArrayInput added in v3.14.0

type OneDashboardPageWidgetHeatmapArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetHeatmapArrayOutput() OneDashboardPageWidgetHeatmapArrayOutput
	ToOneDashboardPageWidgetHeatmapArrayOutputWithContext(context.Context) OneDashboardPageWidgetHeatmapArrayOutput
}

OneDashboardPageWidgetHeatmapArrayInput is an input type that accepts OneDashboardPageWidgetHeatmapArray and OneDashboardPageWidgetHeatmapArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetHeatmapArrayInput` via:

OneDashboardPageWidgetHeatmapArray{ OneDashboardPageWidgetHeatmapArgs{...} }

type OneDashboardPageWidgetHeatmapArrayOutput added in v3.14.0

type OneDashboardPageWidgetHeatmapArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetHeatmapArrayOutput) ElementType added in v3.14.0

func (OneDashboardPageWidgetHeatmapArrayOutput) Index added in v3.14.0

func (OneDashboardPageWidgetHeatmapArrayOutput) ToOneDashboardPageWidgetHeatmapArrayOutput added in v3.14.0

func (o OneDashboardPageWidgetHeatmapArrayOutput) ToOneDashboardPageWidgetHeatmapArrayOutput() OneDashboardPageWidgetHeatmapArrayOutput

func (OneDashboardPageWidgetHeatmapArrayOutput) ToOneDashboardPageWidgetHeatmapArrayOutputWithContext added in v3.14.0

func (o OneDashboardPageWidgetHeatmapArrayOutput) ToOneDashboardPageWidgetHeatmapArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapArrayOutput

type OneDashboardPageWidgetHeatmapInput added in v3.14.0

type OneDashboardPageWidgetHeatmapInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetHeatmapOutput() OneDashboardPageWidgetHeatmapOutput
	ToOneDashboardPageWidgetHeatmapOutputWithContext(context.Context) OneDashboardPageWidgetHeatmapOutput
}

OneDashboardPageWidgetHeatmapInput is an input type that accepts OneDashboardPageWidgetHeatmapArgs and OneDashboardPageWidgetHeatmapOutput values. You can construct a concrete instance of `OneDashboardPageWidgetHeatmapInput` via:

OneDashboardPageWidgetHeatmapArgs{...}

type OneDashboardPageWidgetHeatmapNrqlQuery added in v3.14.0

type OneDashboardPageWidgetHeatmapNrqlQuery struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId *int `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query string `pulumi:"query"`
}

type OneDashboardPageWidgetHeatmapNrqlQueryArgs added in v3.14.0

type OneDashboardPageWidgetHeatmapNrqlQueryArgs struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query pulumi.StringInput `pulumi:"query"`
}

func (OneDashboardPageWidgetHeatmapNrqlQueryArgs) ElementType added in v3.14.0

func (OneDashboardPageWidgetHeatmapNrqlQueryArgs) ToOneDashboardPageWidgetHeatmapNrqlQueryOutput added in v3.14.0

func (i OneDashboardPageWidgetHeatmapNrqlQueryArgs) ToOneDashboardPageWidgetHeatmapNrqlQueryOutput() OneDashboardPageWidgetHeatmapNrqlQueryOutput

func (OneDashboardPageWidgetHeatmapNrqlQueryArgs) ToOneDashboardPageWidgetHeatmapNrqlQueryOutputWithContext added in v3.14.0

func (i OneDashboardPageWidgetHeatmapNrqlQueryArgs) ToOneDashboardPageWidgetHeatmapNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapNrqlQueryOutput

type OneDashboardPageWidgetHeatmapNrqlQueryArray added in v3.14.0

type OneDashboardPageWidgetHeatmapNrqlQueryArray []OneDashboardPageWidgetHeatmapNrqlQueryInput

func (OneDashboardPageWidgetHeatmapNrqlQueryArray) ElementType added in v3.14.0

func (OneDashboardPageWidgetHeatmapNrqlQueryArray) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutput added in v3.14.0

func (i OneDashboardPageWidgetHeatmapNrqlQueryArray) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutput() OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput

func (OneDashboardPageWidgetHeatmapNrqlQueryArray) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutputWithContext added in v3.14.0

func (i OneDashboardPageWidgetHeatmapNrqlQueryArray) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput

type OneDashboardPageWidgetHeatmapNrqlQueryArrayInput added in v3.14.0

type OneDashboardPageWidgetHeatmapNrqlQueryArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutput() OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput
	ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput
}

OneDashboardPageWidgetHeatmapNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetHeatmapNrqlQueryArray and OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetHeatmapNrqlQueryArrayInput` via:

OneDashboardPageWidgetHeatmapNrqlQueryArray{ OneDashboardPageWidgetHeatmapNrqlQueryArgs{...} }

type OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput added in v3.14.0

type OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ElementType added in v3.14.0

func (OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) Index added in v3.14.0

func (OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutput added in v3.14.0

func (o OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutput() OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput

func (OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutputWithContext added in v3.14.0

func (o OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput

type OneDashboardPageWidgetHeatmapNrqlQueryInput added in v3.14.0

type OneDashboardPageWidgetHeatmapNrqlQueryInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetHeatmapNrqlQueryOutput() OneDashboardPageWidgetHeatmapNrqlQueryOutput
	ToOneDashboardPageWidgetHeatmapNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetHeatmapNrqlQueryOutput
}

OneDashboardPageWidgetHeatmapNrqlQueryInput is an input type that accepts OneDashboardPageWidgetHeatmapNrqlQueryArgs and OneDashboardPageWidgetHeatmapNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetHeatmapNrqlQueryInput` via:

OneDashboardPageWidgetHeatmapNrqlQueryArgs{...}

type OneDashboardPageWidgetHeatmapNrqlQueryOutput added in v3.14.0

type OneDashboardPageWidgetHeatmapNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetHeatmapNrqlQueryOutput) AccountId added in v3.14.0

Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.

func (OneDashboardPageWidgetHeatmapNrqlQueryOutput) ElementType added in v3.14.0

func (OneDashboardPageWidgetHeatmapNrqlQueryOutput) Query added in v3.14.0

(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.

func (OneDashboardPageWidgetHeatmapNrqlQueryOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryOutput added in v3.14.0

func (o OneDashboardPageWidgetHeatmapNrqlQueryOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryOutput() OneDashboardPageWidgetHeatmapNrqlQueryOutput

func (OneDashboardPageWidgetHeatmapNrqlQueryOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryOutputWithContext added in v3.14.0

func (o OneDashboardPageWidgetHeatmapNrqlQueryOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapNrqlQueryOutput

type OneDashboardPageWidgetHeatmapOutput added in v3.14.0

type OneDashboardPageWidgetHeatmapOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetHeatmapOutput) Column added in v3.14.0

(Required) Column position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetHeatmapOutput) ElementType added in v3.14.0

func (OneDashboardPageWidgetHeatmapOutput) Height added in v3.14.0

(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.

func (OneDashboardPageWidgetHeatmapOutput) Id added in v3.14.0

func (OneDashboardPageWidgetHeatmapOutput) NrqlQueries added in v3.14.0

(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.

func (OneDashboardPageWidgetHeatmapOutput) Row added in v3.14.0

(Required) Row position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetHeatmapOutput) Title added in v3.14.0

(Required) A title for the widget.

func (OneDashboardPageWidgetHeatmapOutput) ToOneDashboardPageWidgetHeatmapOutput added in v3.14.0

func (o OneDashboardPageWidgetHeatmapOutput) ToOneDashboardPageWidgetHeatmapOutput() OneDashboardPageWidgetHeatmapOutput

func (OneDashboardPageWidgetHeatmapOutput) ToOneDashboardPageWidgetHeatmapOutputWithContext added in v3.14.0

func (o OneDashboardPageWidgetHeatmapOutput) ToOneDashboardPageWidgetHeatmapOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapOutput

func (OneDashboardPageWidgetHeatmapOutput) Width added in v3.14.0

(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.

type OneDashboardPageWidgetHistogram added in v3.14.0

type OneDashboardPageWidgetHistogram struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column int `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height *int    `pulumi:"height"`
	Id     *string `pulumi:"id"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries []OneDashboardPageWidgetHistogramNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Required) A title for the widget.
	Title string `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width *int `pulumi:"width"`
}

type OneDashboardPageWidgetHistogramArgs added in v3.14.0

type OneDashboardPageWidgetHistogramArgs struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column pulumi.IntInput `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height pulumi.IntPtrInput    `pulumi:"height"`
	Id     pulumi.StringPtrInput `pulumi:"id"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries OneDashboardPageWidgetHistogramNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Required) A title for the widget.
	Title pulumi.StringInput `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width pulumi.IntPtrInput `pulumi:"width"`
}

func (OneDashboardPageWidgetHistogramArgs) ElementType added in v3.14.0

func (OneDashboardPageWidgetHistogramArgs) ToOneDashboardPageWidgetHistogramOutput added in v3.14.0

func (i OneDashboardPageWidgetHistogramArgs) ToOneDashboardPageWidgetHistogramOutput() OneDashboardPageWidgetHistogramOutput

func (OneDashboardPageWidgetHistogramArgs) ToOneDashboardPageWidgetHistogramOutputWithContext added in v3.14.0

func (i OneDashboardPageWidgetHistogramArgs) ToOneDashboardPageWidgetHistogramOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramOutput

type OneDashboardPageWidgetHistogramArray added in v3.14.0

type OneDashboardPageWidgetHistogramArray []OneDashboardPageWidgetHistogramInput

func (OneDashboardPageWidgetHistogramArray) ElementType added in v3.14.0

func (OneDashboardPageWidgetHistogramArray) ToOneDashboardPageWidgetHistogramArrayOutput added in v3.14.0

func (i OneDashboardPageWidgetHistogramArray) ToOneDashboardPageWidgetHistogramArrayOutput() OneDashboardPageWidgetHistogramArrayOutput

func (OneDashboardPageWidgetHistogramArray) ToOneDashboardPageWidgetHistogramArrayOutputWithContext added in v3.14.0

func (i OneDashboardPageWidgetHistogramArray) ToOneDashboardPageWidgetHistogramArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramArrayOutput

type OneDashboardPageWidgetHistogramArrayInput added in v3.14.0

type OneDashboardPageWidgetHistogramArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetHistogramArrayOutput() OneDashboardPageWidgetHistogramArrayOutput
	ToOneDashboardPageWidgetHistogramArrayOutputWithContext(context.Context) OneDashboardPageWidgetHistogramArrayOutput
}

OneDashboardPageWidgetHistogramArrayInput is an input type that accepts OneDashboardPageWidgetHistogramArray and OneDashboardPageWidgetHistogramArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetHistogramArrayInput` via:

OneDashboardPageWidgetHistogramArray{ OneDashboardPageWidgetHistogramArgs{...} }

type OneDashboardPageWidgetHistogramArrayOutput added in v3.14.0

type OneDashboardPageWidgetHistogramArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetHistogramArrayOutput) ElementType added in v3.14.0

func (OneDashboardPageWidgetHistogramArrayOutput) Index added in v3.14.0

func (OneDashboardPageWidgetHistogramArrayOutput) ToOneDashboardPageWidgetHistogramArrayOutput added in v3.14.0

func (o OneDashboardPageWidgetHistogramArrayOutput) ToOneDashboardPageWidgetHistogramArrayOutput() OneDashboardPageWidgetHistogramArrayOutput

func (OneDashboardPageWidgetHistogramArrayOutput) ToOneDashboardPageWidgetHistogramArrayOutputWithContext added in v3.14.0

func (o OneDashboardPageWidgetHistogramArrayOutput) ToOneDashboardPageWidgetHistogramArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramArrayOutput

type OneDashboardPageWidgetHistogramInput added in v3.14.0

type OneDashboardPageWidgetHistogramInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetHistogramOutput() OneDashboardPageWidgetHistogramOutput
	ToOneDashboardPageWidgetHistogramOutputWithContext(context.Context) OneDashboardPageWidgetHistogramOutput
}

OneDashboardPageWidgetHistogramInput is an input type that accepts OneDashboardPageWidgetHistogramArgs and OneDashboardPageWidgetHistogramOutput values. You can construct a concrete instance of `OneDashboardPageWidgetHistogramInput` via:

OneDashboardPageWidgetHistogramArgs{...}

type OneDashboardPageWidgetHistogramNrqlQuery added in v3.14.0

type OneDashboardPageWidgetHistogramNrqlQuery struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId *int `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query string `pulumi:"query"`
}

type OneDashboardPageWidgetHistogramNrqlQueryArgs added in v3.14.0

type OneDashboardPageWidgetHistogramNrqlQueryArgs struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query pulumi.StringInput `pulumi:"query"`
}

func (OneDashboardPageWidgetHistogramNrqlQueryArgs) ElementType added in v3.14.0

func (OneDashboardPageWidgetHistogramNrqlQueryArgs) ToOneDashboardPageWidgetHistogramNrqlQueryOutput added in v3.14.0

func (i OneDashboardPageWidgetHistogramNrqlQueryArgs) ToOneDashboardPageWidgetHistogramNrqlQueryOutput() OneDashboardPageWidgetHistogramNrqlQueryOutput

func (OneDashboardPageWidgetHistogramNrqlQueryArgs) ToOneDashboardPageWidgetHistogramNrqlQueryOutputWithContext added in v3.14.0

func (i OneDashboardPageWidgetHistogramNrqlQueryArgs) ToOneDashboardPageWidgetHistogramNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramNrqlQueryOutput

type OneDashboardPageWidgetHistogramNrqlQueryArray added in v3.14.0

type OneDashboardPageWidgetHistogramNrqlQueryArray []OneDashboardPageWidgetHistogramNrqlQueryInput

func (OneDashboardPageWidgetHistogramNrqlQueryArray) ElementType added in v3.14.0

func (OneDashboardPageWidgetHistogramNrqlQueryArray) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutput added in v3.14.0

func (i OneDashboardPageWidgetHistogramNrqlQueryArray) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutput() OneDashboardPageWidgetHistogramNrqlQueryArrayOutput

func (OneDashboardPageWidgetHistogramNrqlQueryArray) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutputWithContext added in v3.14.0

func (i OneDashboardPageWidgetHistogramNrqlQueryArray) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramNrqlQueryArrayOutput

type OneDashboardPageWidgetHistogramNrqlQueryArrayInput added in v3.14.0

type OneDashboardPageWidgetHistogramNrqlQueryArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutput() OneDashboardPageWidgetHistogramNrqlQueryArrayOutput
	ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetHistogramNrqlQueryArrayOutput
}

OneDashboardPageWidgetHistogramNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetHistogramNrqlQueryArray and OneDashboardPageWidgetHistogramNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetHistogramNrqlQueryArrayInput` via:

OneDashboardPageWidgetHistogramNrqlQueryArray{ OneDashboardPageWidgetHistogramNrqlQueryArgs{...} }

type OneDashboardPageWidgetHistogramNrqlQueryArrayOutput added in v3.14.0

type OneDashboardPageWidgetHistogramNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ElementType added in v3.14.0

func (OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) Index added in v3.14.0

func (OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutput added in v3.14.0

func (o OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutput() OneDashboardPageWidgetHistogramNrqlQueryArrayOutput

func (OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutputWithContext added in v3.14.0

func (o OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramNrqlQueryArrayOutput

type OneDashboardPageWidgetHistogramNrqlQueryInput added in v3.14.0

type OneDashboardPageWidgetHistogramNrqlQueryInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetHistogramNrqlQueryOutput() OneDashboardPageWidgetHistogramNrqlQueryOutput
	ToOneDashboardPageWidgetHistogramNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetHistogramNrqlQueryOutput
}

OneDashboardPageWidgetHistogramNrqlQueryInput is an input type that accepts OneDashboardPageWidgetHistogramNrqlQueryArgs and OneDashboardPageWidgetHistogramNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetHistogramNrqlQueryInput` via:

OneDashboardPageWidgetHistogramNrqlQueryArgs{...}

type OneDashboardPageWidgetHistogramNrqlQueryOutput added in v3.14.0

type OneDashboardPageWidgetHistogramNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetHistogramNrqlQueryOutput) AccountId added in v3.14.0

Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.

func (OneDashboardPageWidgetHistogramNrqlQueryOutput) ElementType added in v3.14.0

func (OneDashboardPageWidgetHistogramNrqlQueryOutput) Query added in v3.14.0

(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.

func (OneDashboardPageWidgetHistogramNrqlQueryOutput) ToOneDashboardPageWidgetHistogramNrqlQueryOutput added in v3.14.0

func (o OneDashboardPageWidgetHistogramNrqlQueryOutput) ToOneDashboardPageWidgetHistogramNrqlQueryOutput() OneDashboardPageWidgetHistogramNrqlQueryOutput

func (OneDashboardPageWidgetHistogramNrqlQueryOutput) ToOneDashboardPageWidgetHistogramNrqlQueryOutputWithContext added in v3.14.0

func (o OneDashboardPageWidgetHistogramNrqlQueryOutput) ToOneDashboardPageWidgetHistogramNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramNrqlQueryOutput

type OneDashboardPageWidgetHistogramOutput added in v3.14.0

type OneDashboardPageWidgetHistogramOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetHistogramOutput) Column added in v3.14.0

(Required) Column position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetHistogramOutput) ElementType added in v3.14.0

func (OneDashboardPageWidgetHistogramOutput) Height added in v3.14.0

(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.

func (OneDashboardPageWidgetHistogramOutput) Id added in v3.14.0

func (OneDashboardPageWidgetHistogramOutput) NrqlQueries added in v3.14.0

(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.

func (OneDashboardPageWidgetHistogramOutput) Row added in v3.14.0

(Required) Row position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetHistogramOutput) Title added in v3.14.0

(Required) A title for the widget.

func (OneDashboardPageWidgetHistogramOutput) ToOneDashboardPageWidgetHistogramOutput added in v3.14.0

func (o OneDashboardPageWidgetHistogramOutput) ToOneDashboardPageWidgetHistogramOutput() OneDashboardPageWidgetHistogramOutput

func (OneDashboardPageWidgetHistogramOutput) ToOneDashboardPageWidgetHistogramOutputWithContext added in v3.14.0

func (o OneDashboardPageWidgetHistogramOutput) ToOneDashboardPageWidgetHistogramOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramOutput

func (OneDashboardPageWidgetHistogramOutput) Width added in v3.14.0

(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.

type OneDashboardPageWidgetLine added in v3.10.0

type OneDashboardPageWidgetLine struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column int `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height *int    `pulumi:"height"`
	Id     *string `pulumi:"id"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries []OneDashboardPageWidgetLineNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Required) A title for the widget.
	Title string `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width *int `pulumi:"width"`
}

type OneDashboardPageWidgetLineArgs added in v3.10.0

type OneDashboardPageWidgetLineArgs struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column pulumi.IntInput `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height pulumi.IntPtrInput    `pulumi:"height"`
	Id     pulumi.StringPtrInput `pulumi:"id"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries OneDashboardPageWidgetLineNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Required) A title for the widget.
	Title pulumi.StringInput `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width pulumi.IntPtrInput `pulumi:"width"`
}

func (OneDashboardPageWidgetLineArgs) ElementType added in v3.10.0

func (OneDashboardPageWidgetLineArgs) ToOneDashboardPageWidgetLineOutput added in v3.10.0

func (i OneDashboardPageWidgetLineArgs) ToOneDashboardPageWidgetLineOutput() OneDashboardPageWidgetLineOutput

func (OneDashboardPageWidgetLineArgs) ToOneDashboardPageWidgetLineOutputWithContext added in v3.10.0

func (i OneDashboardPageWidgetLineArgs) ToOneDashboardPageWidgetLineOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineOutput

type OneDashboardPageWidgetLineArray added in v3.10.0

type OneDashboardPageWidgetLineArray []OneDashboardPageWidgetLineInput

func (OneDashboardPageWidgetLineArray) ElementType added in v3.10.0

func (OneDashboardPageWidgetLineArray) ToOneDashboardPageWidgetLineArrayOutput added in v3.10.0

func (i OneDashboardPageWidgetLineArray) ToOneDashboardPageWidgetLineArrayOutput() OneDashboardPageWidgetLineArrayOutput

func (OneDashboardPageWidgetLineArray) ToOneDashboardPageWidgetLineArrayOutputWithContext added in v3.10.0

func (i OneDashboardPageWidgetLineArray) ToOneDashboardPageWidgetLineArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineArrayOutput

type OneDashboardPageWidgetLineArrayInput added in v3.10.0

type OneDashboardPageWidgetLineArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetLineArrayOutput() OneDashboardPageWidgetLineArrayOutput
	ToOneDashboardPageWidgetLineArrayOutputWithContext(context.Context) OneDashboardPageWidgetLineArrayOutput
}

OneDashboardPageWidgetLineArrayInput is an input type that accepts OneDashboardPageWidgetLineArray and OneDashboardPageWidgetLineArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetLineArrayInput` via:

OneDashboardPageWidgetLineArray{ OneDashboardPageWidgetLineArgs{...} }

type OneDashboardPageWidgetLineArrayOutput added in v3.10.0

type OneDashboardPageWidgetLineArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetLineArrayOutput) ElementType added in v3.10.0

func (OneDashboardPageWidgetLineArrayOutput) Index added in v3.10.0

func (OneDashboardPageWidgetLineArrayOutput) ToOneDashboardPageWidgetLineArrayOutput added in v3.10.0

func (o OneDashboardPageWidgetLineArrayOutput) ToOneDashboardPageWidgetLineArrayOutput() OneDashboardPageWidgetLineArrayOutput

func (OneDashboardPageWidgetLineArrayOutput) ToOneDashboardPageWidgetLineArrayOutputWithContext added in v3.10.0

func (o OneDashboardPageWidgetLineArrayOutput) ToOneDashboardPageWidgetLineArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineArrayOutput

type OneDashboardPageWidgetLineInput added in v3.10.0

type OneDashboardPageWidgetLineInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetLineOutput() OneDashboardPageWidgetLineOutput
	ToOneDashboardPageWidgetLineOutputWithContext(context.Context) OneDashboardPageWidgetLineOutput
}

OneDashboardPageWidgetLineInput is an input type that accepts OneDashboardPageWidgetLineArgs and OneDashboardPageWidgetLineOutput values. You can construct a concrete instance of `OneDashboardPageWidgetLineInput` via:

OneDashboardPageWidgetLineArgs{...}

type OneDashboardPageWidgetLineNrqlQuery added in v3.10.1

type OneDashboardPageWidgetLineNrqlQuery struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId *int `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query string `pulumi:"query"`
}

type OneDashboardPageWidgetLineNrqlQueryArgs added in v3.10.1

type OneDashboardPageWidgetLineNrqlQueryArgs struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query pulumi.StringInput `pulumi:"query"`
}

func (OneDashboardPageWidgetLineNrqlQueryArgs) ElementType added in v3.10.1

func (OneDashboardPageWidgetLineNrqlQueryArgs) ToOneDashboardPageWidgetLineNrqlQueryOutput added in v3.10.1

func (i OneDashboardPageWidgetLineNrqlQueryArgs) ToOneDashboardPageWidgetLineNrqlQueryOutput() OneDashboardPageWidgetLineNrqlQueryOutput

func (OneDashboardPageWidgetLineNrqlQueryArgs) ToOneDashboardPageWidgetLineNrqlQueryOutputWithContext added in v3.10.1

func (i OneDashboardPageWidgetLineNrqlQueryArgs) ToOneDashboardPageWidgetLineNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineNrqlQueryOutput

type OneDashboardPageWidgetLineNrqlQueryArray added in v3.10.1

type OneDashboardPageWidgetLineNrqlQueryArray []OneDashboardPageWidgetLineNrqlQueryInput

func (OneDashboardPageWidgetLineNrqlQueryArray) ElementType added in v3.10.1

func (OneDashboardPageWidgetLineNrqlQueryArray) ToOneDashboardPageWidgetLineNrqlQueryArrayOutput added in v3.10.1

func (i OneDashboardPageWidgetLineNrqlQueryArray) ToOneDashboardPageWidgetLineNrqlQueryArrayOutput() OneDashboardPageWidgetLineNrqlQueryArrayOutput

func (OneDashboardPageWidgetLineNrqlQueryArray) ToOneDashboardPageWidgetLineNrqlQueryArrayOutputWithContext added in v3.10.1

func (i OneDashboardPageWidgetLineNrqlQueryArray) ToOneDashboardPageWidgetLineNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineNrqlQueryArrayOutput

type OneDashboardPageWidgetLineNrqlQueryArrayInput added in v3.10.1

type OneDashboardPageWidgetLineNrqlQueryArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetLineNrqlQueryArrayOutput() OneDashboardPageWidgetLineNrqlQueryArrayOutput
	ToOneDashboardPageWidgetLineNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetLineNrqlQueryArrayOutput
}

OneDashboardPageWidgetLineNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetLineNrqlQueryArray and OneDashboardPageWidgetLineNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetLineNrqlQueryArrayInput` via:

OneDashboardPageWidgetLineNrqlQueryArray{ OneDashboardPageWidgetLineNrqlQueryArgs{...} }

type OneDashboardPageWidgetLineNrqlQueryArrayOutput added in v3.10.1

type OneDashboardPageWidgetLineNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetLineNrqlQueryArrayOutput) ElementType added in v3.10.1

func (OneDashboardPageWidgetLineNrqlQueryArrayOutput) Index added in v3.10.1

func (OneDashboardPageWidgetLineNrqlQueryArrayOutput) ToOneDashboardPageWidgetLineNrqlQueryArrayOutput added in v3.10.1

func (o OneDashboardPageWidgetLineNrqlQueryArrayOutput) ToOneDashboardPageWidgetLineNrqlQueryArrayOutput() OneDashboardPageWidgetLineNrqlQueryArrayOutput

func (OneDashboardPageWidgetLineNrqlQueryArrayOutput) ToOneDashboardPageWidgetLineNrqlQueryArrayOutputWithContext added in v3.10.1

func (o OneDashboardPageWidgetLineNrqlQueryArrayOutput) ToOneDashboardPageWidgetLineNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineNrqlQueryArrayOutput

type OneDashboardPageWidgetLineNrqlQueryInput added in v3.10.1

type OneDashboardPageWidgetLineNrqlQueryInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetLineNrqlQueryOutput() OneDashboardPageWidgetLineNrqlQueryOutput
	ToOneDashboardPageWidgetLineNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetLineNrqlQueryOutput
}

OneDashboardPageWidgetLineNrqlQueryInput is an input type that accepts OneDashboardPageWidgetLineNrqlQueryArgs and OneDashboardPageWidgetLineNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetLineNrqlQueryInput` via:

OneDashboardPageWidgetLineNrqlQueryArgs{...}

type OneDashboardPageWidgetLineNrqlQueryOutput added in v3.10.1

type OneDashboardPageWidgetLineNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetLineNrqlQueryOutput) AccountId added in v3.10.1

Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.

func (OneDashboardPageWidgetLineNrqlQueryOutput) ElementType added in v3.10.1

func (OneDashboardPageWidgetLineNrqlQueryOutput) Query added in v3.10.1

(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.

func (OneDashboardPageWidgetLineNrqlQueryOutput) ToOneDashboardPageWidgetLineNrqlQueryOutput added in v3.10.1

func (o OneDashboardPageWidgetLineNrqlQueryOutput) ToOneDashboardPageWidgetLineNrqlQueryOutput() OneDashboardPageWidgetLineNrqlQueryOutput

func (OneDashboardPageWidgetLineNrqlQueryOutput) ToOneDashboardPageWidgetLineNrqlQueryOutputWithContext added in v3.10.1

func (o OneDashboardPageWidgetLineNrqlQueryOutput) ToOneDashboardPageWidgetLineNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineNrqlQueryOutput

type OneDashboardPageWidgetLineOutput added in v3.10.0

type OneDashboardPageWidgetLineOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetLineOutput) Column added in v3.10.0

(Required) Column position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetLineOutput) ElementType added in v3.10.0

func (OneDashboardPageWidgetLineOutput) Height added in v3.10.0

(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.

func (OneDashboardPageWidgetLineOutput) Id added in v3.10.0

func (OneDashboardPageWidgetLineOutput) NrqlQueries added in v3.10.1

(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.

func (OneDashboardPageWidgetLineOutput) Row added in v3.10.0

(Required) Row position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetLineOutput) Title added in v3.10.0

(Required) A title for the widget.

func (OneDashboardPageWidgetLineOutput) ToOneDashboardPageWidgetLineOutput added in v3.10.0

func (o OneDashboardPageWidgetLineOutput) ToOneDashboardPageWidgetLineOutput() OneDashboardPageWidgetLineOutput

func (OneDashboardPageWidgetLineOutput) ToOneDashboardPageWidgetLineOutputWithContext added in v3.10.0

func (o OneDashboardPageWidgetLineOutput) ToOneDashboardPageWidgetLineOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineOutput

func (OneDashboardPageWidgetLineOutput) Width added in v3.10.0

(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.

type OneDashboardPageWidgetMarkdown added in v3.10.0

type OneDashboardPageWidgetMarkdown struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column int `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height *int    `pulumi:"height"`
	Id     *string `pulumi:"id"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Required) The markdown source to be rendered in the widget.
	// * `widgetPie`
	Text *string `pulumi:"text"`
	// (Required) A title for the widget.
	Title string `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width *int `pulumi:"width"`
}

type OneDashboardPageWidgetMarkdownArgs added in v3.10.0

type OneDashboardPageWidgetMarkdownArgs struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column pulumi.IntInput `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height pulumi.IntPtrInput    `pulumi:"height"`
	Id     pulumi.StringPtrInput `pulumi:"id"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Required) The markdown source to be rendered in the widget.
	// * `widgetPie`
	Text pulumi.StringPtrInput `pulumi:"text"`
	// (Required) A title for the widget.
	Title pulumi.StringInput `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width pulumi.IntPtrInput `pulumi:"width"`
}

func (OneDashboardPageWidgetMarkdownArgs) ElementType added in v3.10.0

func (OneDashboardPageWidgetMarkdownArgs) ToOneDashboardPageWidgetMarkdownOutput added in v3.10.0

func (i OneDashboardPageWidgetMarkdownArgs) ToOneDashboardPageWidgetMarkdownOutput() OneDashboardPageWidgetMarkdownOutput

func (OneDashboardPageWidgetMarkdownArgs) ToOneDashboardPageWidgetMarkdownOutputWithContext added in v3.10.0

func (i OneDashboardPageWidgetMarkdownArgs) ToOneDashboardPageWidgetMarkdownOutputWithContext(ctx context.Context) OneDashboardPageWidgetMarkdownOutput

type OneDashboardPageWidgetMarkdownArray added in v3.10.0

type OneDashboardPageWidgetMarkdownArray []OneDashboardPageWidgetMarkdownInput

func (OneDashboardPageWidgetMarkdownArray) ElementType added in v3.10.0

func (OneDashboardPageWidgetMarkdownArray) ToOneDashboardPageWidgetMarkdownArrayOutput added in v3.10.0

func (i OneDashboardPageWidgetMarkdownArray) ToOneDashboardPageWidgetMarkdownArrayOutput() OneDashboardPageWidgetMarkdownArrayOutput

func (OneDashboardPageWidgetMarkdownArray) ToOneDashboardPageWidgetMarkdownArrayOutputWithContext added in v3.10.0

func (i OneDashboardPageWidgetMarkdownArray) ToOneDashboardPageWidgetMarkdownArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetMarkdownArrayOutput

type OneDashboardPageWidgetMarkdownArrayInput added in v3.10.0

type OneDashboardPageWidgetMarkdownArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetMarkdownArrayOutput() OneDashboardPageWidgetMarkdownArrayOutput
	ToOneDashboardPageWidgetMarkdownArrayOutputWithContext(context.Context) OneDashboardPageWidgetMarkdownArrayOutput
}

OneDashboardPageWidgetMarkdownArrayInput is an input type that accepts OneDashboardPageWidgetMarkdownArray and OneDashboardPageWidgetMarkdownArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetMarkdownArrayInput` via:

OneDashboardPageWidgetMarkdownArray{ OneDashboardPageWidgetMarkdownArgs{...} }

type OneDashboardPageWidgetMarkdownArrayOutput added in v3.10.0

type OneDashboardPageWidgetMarkdownArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetMarkdownArrayOutput) ElementType added in v3.10.0

func (OneDashboardPageWidgetMarkdownArrayOutput) Index added in v3.10.0

func (OneDashboardPageWidgetMarkdownArrayOutput) ToOneDashboardPageWidgetMarkdownArrayOutput added in v3.10.0

func (o OneDashboardPageWidgetMarkdownArrayOutput) ToOneDashboardPageWidgetMarkdownArrayOutput() OneDashboardPageWidgetMarkdownArrayOutput

func (OneDashboardPageWidgetMarkdownArrayOutput) ToOneDashboardPageWidgetMarkdownArrayOutputWithContext added in v3.10.0

func (o OneDashboardPageWidgetMarkdownArrayOutput) ToOneDashboardPageWidgetMarkdownArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetMarkdownArrayOutput

type OneDashboardPageWidgetMarkdownInput added in v3.10.0

type OneDashboardPageWidgetMarkdownInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetMarkdownOutput() OneDashboardPageWidgetMarkdownOutput
	ToOneDashboardPageWidgetMarkdownOutputWithContext(context.Context) OneDashboardPageWidgetMarkdownOutput
}

OneDashboardPageWidgetMarkdownInput is an input type that accepts OneDashboardPageWidgetMarkdownArgs and OneDashboardPageWidgetMarkdownOutput values. You can construct a concrete instance of `OneDashboardPageWidgetMarkdownInput` via:

OneDashboardPageWidgetMarkdownArgs{...}

type OneDashboardPageWidgetMarkdownOutput added in v3.10.0

type OneDashboardPageWidgetMarkdownOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetMarkdownOutput) Column added in v3.10.0

(Required) Column position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetMarkdownOutput) ElementType added in v3.10.0

func (OneDashboardPageWidgetMarkdownOutput) Height added in v3.10.0

(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.

func (OneDashboardPageWidgetMarkdownOutput) Id added in v3.10.0

func (OneDashboardPageWidgetMarkdownOutput) Row added in v3.10.0

(Required) Row position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetMarkdownOutput) Text added in v3.10.0

(Required) The markdown source to be rendered in the widget. * `widgetPie`

func (OneDashboardPageWidgetMarkdownOutput) Title added in v3.10.0

(Required) A title for the widget.

func (OneDashboardPageWidgetMarkdownOutput) ToOneDashboardPageWidgetMarkdownOutput added in v3.10.0

func (o OneDashboardPageWidgetMarkdownOutput) ToOneDashboardPageWidgetMarkdownOutput() OneDashboardPageWidgetMarkdownOutput

func (OneDashboardPageWidgetMarkdownOutput) ToOneDashboardPageWidgetMarkdownOutputWithContext added in v3.10.0

func (o OneDashboardPageWidgetMarkdownOutput) ToOneDashboardPageWidgetMarkdownOutputWithContext(ctx context.Context) OneDashboardPageWidgetMarkdownOutput

func (OneDashboardPageWidgetMarkdownOutput) Width added in v3.10.0

(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.

type OneDashboardPageWidgetPy added in v3.10.0

type OneDashboardPageWidgetPy struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column int `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height            *int     `pulumi:"height"`
	Id                *string  `pulumi:"id"`
	LinkedEntityGuids []string `pulumi:"linkedEntityGuids"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries []OneDashboardPageWidgetPyNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Required) A title for the widget.
	Title string `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width *int `pulumi:"width"`
}

type OneDashboardPageWidgetPyArgs added in v3.10.0

type OneDashboardPageWidgetPyArgs struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column pulumi.IntInput `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height            pulumi.IntPtrInput      `pulumi:"height"`
	Id                pulumi.StringPtrInput   `pulumi:"id"`
	LinkedEntityGuids pulumi.StringArrayInput `pulumi:"linkedEntityGuids"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries OneDashboardPageWidgetPyNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Required) A title for the widget.
	Title pulumi.StringInput `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width pulumi.IntPtrInput `pulumi:"width"`
}

func (OneDashboardPageWidgetPyArgs) ElementType added in v3.10.0

func (OneDashboardPageWidgetPyArgs) ToOneDashboardPageWidgetPyOutput added in v3.10.0

func (i OneDashboardPageWidgetPyArgs) ToOneDashboardPageWidgetPyOutput() OneDashboardPageWidgetPyOutput

func (OneDashboardPageWidgetPyArgs) ToOneDashboardPageWidgetPyOutputWithContext added in v3.10.0

func (i OneDashboardPageWidgetPyArgs) ToOneDashboardPageWidgetPyOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyOutput

type OneDashboardPageWidgetPyArray added in v3.10.0

type OneDashboardPageWidgetPyArray []OneDashboardPageWidgetPyInput

func (OneDashboardPageWidgetPyArray) ElementType added in v3.10.0

func (OneDashboardPageWidgetPyArray) ToOneDashboardPageWidgetPyArrayOutput added in v3.10.0

func (i OneDashboardPageWidgetPyArray) ToOneDashboardPageWidgetPyArrayOutput() OneDashboardPageWidgetPyArrayOutput

func (OneDashboardPageWidgetPyArray) ToOneDashboardPageWidgetPyArrayOutputWithContext added in v3.10.0

func (i OneDashboardPageWidgetPyArray) ToOneDashboardPageWidgetPyArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyArrayOutput

type OneDashboardPageWidgetPyArrayInput added in v3.10.0

type OneDashboardPageWidgetPyArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetPyArrayOutput() OneDashboardPageWidgetPyArrayOutput
	ToOneDashboardPageWidgetPyArrayOutputWithContext(context.Context) OneDashboardPageWidgetPyArrayOutput
}

OneDashboardPageWidgetPyArrayInput is an input type that accepts OneDashboardPageWidgetPyArray and OneDashboardPageWidgetPyArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetPyArrayInput` via:

OneDashboardPageWidgetPyArray{ OneDashboardPageWidgetPyArgs{...} }

type OneDashboardPageWidgetPyArrayOutput added in v3.10.0

type OneDashboardPageWidgetPyArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetPyArrayOutput) ElementType added in v3.10.0

func (OneDashboardPageWidgetPyArrayOutput) Index added in v3.10.0

func (OneDashboardPageWidgetPyArrayOutput) ToOneDashboardPageWidgetPyArrayOutput added in v3.10.0

func (o OneDashboardPageWidgetPyArrayOutput) ToOneDashboardPageWidgetPyArrayOutput() OneDashboardPageWidgetPyArrayOutput

func (OneDashboardPageWidgetPyArrayOutput) ToOneDashboardPageWidgetPyArrayOutputWithContext added in v3.10.0

func (o OneDashboardPageWidgetPyArrayOutput) ToOneDashboardPageWidgetPyArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyArrayOutput

type OneDashboardPageWidgetPyInput added in v3.10.0

type OneDashboardPageWidgetPyInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetPyOutput() OneDashboardPageWidgetPyOutput
	ToOneDashboardPageWidgetPyOutputWithContext(context.Context) OneDashboardPageWidgetPyOutput
}

OneDashboardPageWidgetPyInput is an input type that accepts OneDashboardPageWidgetPyArgs and OneDashboardPageWidgetPyOutput values. You can construct a concrete instance of `OneDashboardPageWidgetPyInput` via:

OneDashboardPageWidgetPyArgs{...}

type OneDashboardPageWidgetPyNrqlQuery added in v3.10.1

type OneDashboardPageWidgetPyNrqlQuery struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId *int `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query string `pulumi:"query"`
}

type OneDashboardPageWidgetPyNrqlQueryArgs added in v3.10.1

type OneDashboardPageWidgetPyNrqlQueryArgs struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query pulumi.StringInput `pulumi:"query"`
}

func (OneDashboardPageWidgetPyNrqlQueryArgs) ElementType added in v3.10.1

func (OneDashboardPageWidgetPyNrqlQueryArgs) ToOneDashboardPageWidgetPyNrqlQueryOutput added in v3.10.1

func (i OneDashboardPageWidgetPyNrqlQueryArgs) ToOneDashboardPageWidgetPyNrqlQueryOutput() OneDashboardPageWidgetPyNrqlQueryOutput

func (OneDashboardPageWidgetPyNrqlQueryArgs) ToOneDashboardPageWidgetPyNrqlQueryOutputWithContext added in v3.10.1

func (i OneDashboardPageWidgetPyNrqlQueryArgs) ToOneDashboardPageWidgetPyNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyNrqlQueryOutput

type OneDashboardPageWidgetPyNrqlQueryArray added in v3.10.1

type OneDashboardPageWidgetPyNrqlQueryArray []OneDashboardPageWidgetPyNrqlQueryInput

func (OneDashboardPageWidgetPyNrqlQueryArray) ElementType added in v3.10.1

func (OneDashboardPageWidgetPyNrqlQueryArray) ToOneDashboardPageWidgetPyNrqlQueryArrayOutput added in v3.10.1

func (i OneDashboardPageWidgetPyNrqlQueryArray) ToOneDashboardPageWidgetPyNrqlQueryArrayOutput() OneDashboardPageWidgetPyNrqlQueryArrayOutput

func (OneDashboardPageWidgetPyNrqlQueryArray) ToOneDashboardPageWidgetPyNrqlQueryArrayOutputWithContext added in v3.10.1

func (i OneDashboardPageWidgetPyNrqlQueryArray) ToOneDashboardPageWidgetPyNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyNrqlQueryArrayOutput

type OneDashboardPageWidgetPyNrqlQueryArrayInput added in v3.10.1

type OneDashboardPageWidgetPyNrqlQueryArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetPyNrqlQueryArrayOutput() OneDashboardPageWidgetPyNrqlQueryArrayOutput
	ToOneDashboardPageWidgetPyNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetPyNrqlQueryArrayOutput
}

OneDashboardPageWidgetPyNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetPyNrqlQueryArray and OneDashboardPageWidgetPyNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetPyNrqlQueryArrayInput` via:

OneDashboardPageWidgetPyNrqlQueryArray{ OneDashboardPageWidgetPyNrqlQueryArgs{...} }

type OneDashboardPageWidgetPyNrqlQueryArrayOutput added in v3.10.1

type OneDashboardPageWidgetPyNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetPyNrqlQueryArrayOutput) ElementType added in v3.10.1

func (OneDashboardPageWidgetPyNrqlQueryArrayOutput) Index added in v3.10.1

func (OneDashboardPageWidgetPyNrqlQueryArrayOutput) ToOneDashboardPageWidgetPyNrqlQueryArrayOutput added in v3.10.1

func (o OneDashboardPageWidgetPyNrqlQueryArrayOutput) ToOneDashboardPageWidgetPyNrqlQueryArrayOutput() OneDashboardPageWidgetPyNrqlQueryArrayOutput

func (OneDashboardPageWidgetPyNrqlQueryArrayOutput) ToOneDashboardPageWidgetPyNrqlQueryArrayOutputWithContext added in v3.10.1

func (o OneDashboardPageWidgetPyNrqlQueryArrayOutput) ToOneDashboardPageWidgetPyNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyNrqlQueryArrayOutput

type OneDashboardPageWidgetPyNrqlQueryInput added in v3.10.1

type OneDashboardPageWidgetPyNrqlQueryInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetPyNrqlQueryOutput() OneDashboardPageWidgetPyNrqlQueryOutput
	ToOneDashboardPageWidgetPyNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetPyNrqlQueryOutput
}

OneDashboardPageWidgetPyNrqlQueryInput is an input type that accepts OneDashboardPageWidgetPyNrqlQueryArgs and OneDashboardPageWidgetPyNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetPyNrqlQueryInput` via:

OneDashboardPageWidgetPyNrqlQueryArgs{...}

type OneDashboardPageWidgetPyNrqlQueryOutput added in v3.10.1

type OneDashboardPageWidgetPyNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetPyNrqlQueryOutput) AccountId added in v3.10.1

Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.

func (OneDashboardPageWidgetPyNrqlQueryOutput) ElementType added in v3.10.1

func (OneDashboardPageWidgetPyNrqlQueryOutput) Query added in v3.10.1

(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.

func (OneDashboardPageWidgetPyNrqlQueryOutput) ToOneDashboardPageWidgetPyNrqlQueryOutput added in v3.10.1

func (o OneDashboardPageWidgetPyNrqlQueryOutput) ToOneDashboardPageWidgetPyNrqlQueryOutput() OneDashboardPageWidgetPyNrqlQueryOutput

func (OneDashboardPageWidgetPyNrqlQueryOutput) ToOneDashboardPageWidgetPyNrqlQueryOutputWithContext added in v3.10.1

func (o OneDashboardPageWidgetPyNrqlQueryOutput) ToOneDashboardPageWidgetPyNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyNrqlQueryOutput

type OneDashboardPageWidgetPyOutput added in v3.10.0

type OneDashboardPageWidgetPyOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetPyOutput) Column added in v3.10.0

(Required) Column position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetPyOutput) ElementType added in v3.10.0

func (OneDashboardPageWidgetPyOutput) Height added in v3.10.0

(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.

func (OneDashboardPageWidgetPyOutput) Id added in v3.10.0

func (OneDashboardPageWidgetPyOutput) LinkedEntityGuids added in v3.12.0

func (OneDashboardPageWidgetPyOutput) NrqlQueries added in v3.10.1

(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.

func (OneDashboardPageWidgetPyOutput) Row added in v3.10.0

(Required) Row position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetPyOutput) Title added in v3.10.0

(Required) A title for the widget.

func (OneDashboardPageWidgetPyOutput) ToOneDashboardPageWidgetPyOutput added in v3.10.0

func (o OneDashboardPageWidgetPyOutput) ToOneDashboardPageWidgetPyOutput() OneDashboardPageWidgetPyOutput

func (OneDashboardPageWidgetPyOutput) ToOneDashboardPageWidgetPyOutputWithContext added in v3.10.0

func (o OneDashboardPageWidgetPyOutput) ToOneDashboardPageWidgetPyOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyOutput

func (OneDashboardPageWidgetPyOutput) Width added in v3.10.0

(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.

type OneDashboardPageWidgetTable added in v3.10.0

type OneDashboardPageWidgetTable struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column int `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height            *int     `pulumi:"height"`
	Id                *string  `pulumi:"id"`
	LinkedEntityGuids []string `pulumi:"linkedEntityGuids"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries []OneDashboardPageWidgetTableNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Required) A title for the widget.
	Title string `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width *int `pulumi:"width"`
}

type OneDashboardPageWidgetTableArgs added in v3.10.0

type OneDashboardPageWidgetTableArgs struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column pulumi.IntInput `pulumi:"column"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height            pulumi.IntPtrInput      `pulumi:"height"`
	Id                pulumi.StringPtrInput   `pulumi:"id"`
	LinkedEntityGuids pulumi.StringArrayInput `pulumi:"linkedEntityGuids"`
	// (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
	// * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	NrqlQueries OneDashboardPageWidgetTableNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Required) A title for the widget.
	Title pulumi.StringInput `pulumi:"title"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width pulumi.IntPtrInput `pulumi:"width"`
}

func (OneDashboardPageWidgetTableArgs) ElementType added in v3.10.0

func (OneDashboardPageWidgetTableArgs) ToOneDashboardPageWidgetTableOutput added in v3.10.0

func (i OneDashboardPageWidgetTableArgs) ToOneDashboardPageWidgetTableOutput() OneDashboardPageWidgetTableOutput

func (OneDashboardPageWidgetTableArgs) ToOneDashboardPageWidgetTableOutputWithContext added in v3.10.0

func (i OneDashboardPageWidgetTableArgs) ToOneDashboardPageWidgetTableOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableOutput

type OneDashboardPageWidgetTableArray added in v3.10.0

type OneDashboardPageWidgetTableArray []OneDashboardPageWidgetTableInput

func (OneDashboardPageWidgetTableArray) ElementType added in v3.10.0

func (OneDashboardPageWidgetTableArray) ToOneDashboardPageWidgetTableArrayOutput added in v3.10.0

func (i OneDashboardPageWidgetTableArray) ToOneDashboardPageWidgetTableArrayOutput() OneDashboardPageWidgetTableArrayOutput

func (OneDashboardPageWidgetTableArray) ToOneDashboardPageWidgetTableArrayOutputWithContext added in v3.10.0

func (i OneDashboardPageWidgetTableArray) ToOneDashboardPageWidgetTableArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableArrayOutput

type OneDashboardPageWidgetTableArrayInput added in v3.10.0

type OneDashboardPageWidgetTableArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetTableArrayOutput() OneDashboardPageWidgetTableArrayOutput
	ToOneDashboardPageWidgetTableArrayOutputWithContext(context.Context) OneDashboardPageWidgetTableArrayOutput
}

OneDashboardPageWidgetTableArrayInput is an input type that accepts OneDashboardPageWidgetTableArray and OneDashboardPageWidgetTableArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetTableArrayInput` via:

OneDashboardPageWidgetTableArray{ OneDashboardPageWidgetTableArgs{...} }

type OneDashboardPageWidgetTableArrayOutput added in v3.10.0

type OneDashboardPageWidgetTableArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetTableArrayOutput) ElementType added in v3.10.0

func (OneDashboardPageWidgetTableArrayOutput) Index added in v3.10.0

func (OneDashboardPageWidgetTableArrayOutput) ToOneDashboardPageWidgetTableArrayOutput added in v3.10.0

func (o OneDashboardPageWidgetTableArrayOutput) ToOneDashboardPageWidgetTableArrayOutput() OneDashboardPageWidgetTableArrayOutput

func (OneDashboardPageWidgetTableArrayOutput) ToOneDashboardPageWidgetTableArrayOutputWithContext added in v3.10.0

func (o OneDashboardPageWidgetTableArrayOutput) ToOneDashboardPageWidgetTableArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableArrayOutput

type OneDashboardPageWidgetTableInput added in v3.10.0

type OneDashboardPageWidgetTableInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetTableOutput() OneDashboardPageWidgetTableOutput
	ToOneDashboardPageWidgetTableOutputWithContext(context.Context) OneDashboardPageWidgetTableOutput
}

OneDashboardPageWidgetTableInput is an input type that accepts OneDashboardPageWidgetTableArgs and OneDashboardPageWidgetTableOutput values. You can construct a concrete instance of `OneDashboardPageWidgetTableInput` via:

OneDashboardPageWidgetTableArgs{...}

type OneDashboardPageWidgetTableNrqlQuery added in v3.10.1

type OneDashboardPageWidgetTableNrqlQuery struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId *int `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query string `pulumi:"query"`
}

type OneDashboardPageWidgetTableNrqlQueryArgs added in v3.10.1

type OneDashboardPageWidgetTableNrqlQueryArgs struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput `pulumi:"accountId"`
	// (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
	Query pulumi.StringInput `pulumi:"query"`
}

func (OneDashboardPageWidgetTableNrqlQueryArgs) ElementType added in v3.10.1

func (OneDashboardPageWidgetTableNrqlQueryArgs) ToOneDashboardPageWidgetTableNrqlQueryOutput added in v3.10.1

func (i OneDashboardPageWidgetTableNrqlQueryArgs) ToOneDashboardPageWidgetTableNrqlQueryOutput() OneDashboardPageWidgetTableNrqlQueryOutput

func (OneDashboardPageWidgetTableNrqlQueryArgs) ToOneDashboardPageWidgetTableNrqlQueryOutputWithContext added in v3.10.1

func (i OneDashboardPageWidgetTableNrqlQueryArgs) ToOneDashboardPageWidgetTableNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableNrqlQueryOutput

type OneDashboardPageWidgetTableNrqlQueryArray added in v3.10.1

type OneDashboardPageWidgetTableNrqlQueryArray []OneDashboardPageWidgetTableNrqlQueryInput

func (OneDashboardPageWidgetTableNrqlQueryArray) ElementType added in v3.10.1

func (OneDashboardPageWidgetTableNrqlQueryArray) ToOneDashboardPageWidgetTableNrqlQueryArrayOutput added in v3.10.1

func (i OneDashboardPageWidgetTableNrqlQueryArray) ToOneDashboardPageWidgetTableNrqlQueryArrayOutput() OneDashboardPageWidgetTableNrqlQueryArrayOutput

func (OneDashboardPageWidgetTableNrqlQueryArray) ToOneDashboardPageWidgetTableNrqlQueryArrayOutputWithContext added in v3.10.1

func (i OneDashboardPageWidgetTableNrqlQueryArray) ToOneDashboardPageWidgetTableNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableNrqlQueryArrayOutput

type OneDashboardPageWidgetTableNrqlQueryArrayInput added in v3.10.1

type OneDashboardPageWidgetTableNrqlQueryArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetTableNrqlQueryArrayOutput() OneDashboardPageWidgetTableNrqlQueryArrayOutput
	ToOneDashboardPageWidgetTableNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetTableNrqlQueryArrayOutput
}

OneDashboardPageWidgetTableNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetTableNrqlQueryArray and OneDashboardPageWidgetTableNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetTableNrqlQueryArrayInput` via:

OneDashboardPageWidgetTableNrqlQueryArray{ OneDashboardPageWidgetTableNrqlQueryArgs{...} }

type OneDashboardPageWidgetTableNrqlQueryArrayOutput added in v3.10.1

type OneDashboardPageWidgetTableNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetTableNrqlQueryArrayOutput) ElementType added in v3.10.1

func (OneDashboardPageWidgetTableNrqlQueryArrayOutput) Index added in v3.10.1

func (OneDashboardPageWidgetTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetTableNrqlQueryArrayOutput added in v3.10.1

func (o OneDashboardPageWidgetTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetTableNrqlQueryArrayOutput() OneDashboardPageWidgetTableNrqlQueryArrayOutput

func (OneDashboardPageWidgetTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetTableNrqlQueryArrayOutputWithContext added in v3.10.1

func (o OneDashboardPageWidgetTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetTableNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableNrqlQueryArrayOutput

type OneDashboardPageWidgetTableNrqlQueryInput added in v3.10.1

type OneDashboardPageWidgetTableNrqlQueryInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetTableNrqlQueryOutput() OneDashboardPageWidgetTableNrqlQueryOutput
	ToOneDashboardPageWidgetTableNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetTableNrqlQueryOutput
}

OneDashboardPageWidgetTableNrqlQueryInput is an input type that accepts OneDashboardPageWidgetTableNrqlQueryArgs and OneDashboardPageWidgetTableNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetTableNrqlQueryInput` via:

OneDashboardPageWidgetTableNrqlQueryArgs{...}

type OneDashboardPageWidgetTableNrqlQueryOutput added in v3.10.1

type OneDashboardPageWidgetTableNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetTableNrqlQueryOutput) AccountId added in v3.10.1

Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.

func (OneDashboardPageWidgetTableNrqlQueryOutput) ElementType added in v3.10.1

func (OneDashboardPageWidgetTableNrqlQueryOutput) Query added in v3.10.1

(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.

func (OneDashboardPageWidgetTableNrqlQueryOutput) ToOneDashboardPageWidgetTableNrqlQueryOutput added in v3.10.1

func (o OneDashboardPageWidgetTableNrqlQueryOutput) ToOneDashboardPageWidgetTableNrqlQueryOutput() OneDashboardPageWidgetTableNrqlQueryOutput

func (OneDashboardPageWidgetTableNrqlQueryOutput) ToOneDashboardPageWidgetTableNrqlQueryOutputWithContext added in v3.10.1

func (o OneDashboardPageWidgetTableNrqlQueryOutput) ToOneDashboardPageWidgetTableNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableNrqlQueryOutput

type OneDashboardPageWidgetTableOutput added in v3.10.0

type OneDashboardPageWidgetTableOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetTableOutput) Column added in v3.10.0

(Required) Column position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetTableOutput) ElementType added in v3.10.0

func (OneDashboardPageWidgetTableOutput) Height added in v3.10.0

(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.

func (OneDashboardPageWidgetTableOutput) Id added in v3.10.0

func (OneDashboardPageWidgetTableOutput) LinkedEntityGuids added in v3.14.0

func (OneDashboardPageWidgetTableOutput) NrqlQueries added in v3.10.1

(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.

func (OneDashboardPageWidgetTableOutput) Row added in v3.10.0

(Required) Row position of widget from top left, starting at `1`.

func (OneDashboardPageWidgetTableOutput) Title added in v3.10.0

(Required) A title for the widget.

func (OneDashboardPageWidgetTableOutput) ToOneDashboardPageWidgetTableOutput added in v3.10.0

func (o OneDashboardPageWidgetTableOutput) ToOneDashboardPageWidgetTableOutput() OneDashboardPageWidgetTableOutput

func (OneDashboardPageWidgetTableOutput) ToOneDashboardPageWidgetTableOutputWithContext added in v3.10.0

func (o OneDashboardPageWidgetTableOutput) ToOneDashboardPageWidgetTableOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableOutput

func (OneDashboardPageWidgetTableOutput) Width added in v3.10.0

(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.

type OneDashboardPtrInput added in v3.13.1

type OneDashboardPtrInput interface {
	pulumi.Input

	ToOneDashboardPtrOutput() OneDashboardPtrOutput
	ToOneDashboardPtrOutputWithContext(ctx context.Context) OneDashboardPtrOutput
}

type OneDashboardPtrOutput added in v3.13.1

type OneDashboardPtrOutput struct {
	*pulumi.OutputState
}

func (OneDashboardPtrOutput) ElementType added in v3.13.1

func (OneDashboardPtrOutput) ElementType() reflect.Type

func (OneDashboardPtrOutput) ToOneDashboardPtrOutput added in v3.13.1

func (o OneDashboardPtrOutput) ToOneDashboardPtrOutput() OneDashboardPtrOutput

func (OneDashboardPtrOutput) ToOneDashboardPtrOutputWithContext added in v3.13.1

func (o OneDashboardPtrOutput) ToOneDashboardPtrOutputWithContext(ctx context.Context) OneDashboardPtrOutput

type OneDashboardState added in v3.10.0

type OneDashboardState struct {
	// Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput
	// Brief text describing the dashboard.
	Description pulumi.StringPtrInput
	// The unique entity identifier of the dashboard page in New Relic.
	Guid pulumi.StringPtrInput
	// The title of the dashboard.
	Name pulumi.StringPtrInput
	// A nested block that describes a page. See Nested page blocks below for details.
	Pages OneDashboardPageArrayInput
	// The URL for viewing the dashboard.
	Permalink pulumi.StringPtrInput
	// Determines who can see the dashboard in an account. Valid values are `private`, `publicReadOnly`, or `publicReadWrite`.  Defaults to `publicReadOnly`.
	Permissions pulumi.StringPtrInput
}

func (OneDashboardState) ElementType added in v3.10.0

func (OneDashboardState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState
}

The provider type for the newrelic package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

func (*Provider) ElementType added in v3.8.4

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput added in v3.8.4

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext added in v3.8.4

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (*Provider) ToProviderPtrOutput added in v3.13.1

func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput

func (*Provider) ToProviderPtrOutputWithContext added in v3.13.1

func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type ProviderArgs

type ProviderArgs struct {
	AccountId   pulumi.IntPtrInput
	AdminApiKey pulumi.StringPtrInput
	ApiKey      pulumi.StringPtrInput
	// Deprecated: New Relic internal use only. API URLs are now configured based on the configured region.
	ApiUrl     pulumi.StringPtrInput
	CacertFile pulumi.StringPtrInput
	// Deprecated: New Relic internal use only. API URLs are now configured based on the configured region.
	InfrastructureApiUrl pulumi.StringPtrInput
	InsecureSkipVerify   pulumi.BoolPtrInput
	InsightsInsertKey    pulumi.StringPtrInput
	InsightsInsertUrl    pulumi.StringPtrInput
	InsightsQueryUrl     pulumi.StringPtrInput
	// Deprecated: New Relic internal use only. API URLs are now configured based on the configured region.
	NerdgraphApiUrl pulumi.StringPtrInput
	// The data center for which your New Relic account is configured. Only one region per provider block is permitted.
	Region pulumi.StringPtrInput
	// Deprecated: New Relic internal use only. API URLs are now configured based on the configured region.
	SyntheticsApiUrl pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput added in v3.8.4

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput added in v3.8.4

type ProviderOutput struct {
	*pulumi.OutputState
}

func (ProviderOutput) ElementType added in v3.8.4

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput added in v3.8.4

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext added in v3.8.4

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (ProviderOutput) ToProviderPtrOutput added in v3.13.1

func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderOutput) ToProviderPtrOutputWithContext added in v3.13.1

func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type ProviderPtrInput added in v3.13.1

type ProviderPtrInput interface {
	pulumi.Input

	ToProviderPtrOutput() ProviderPtrOutput
	ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
}

type ProviderPtrOutput added in v3.13.1

type ProviderPtrOutput struct {
	*pulumi.OutputState
}

func (ProviderPtrOutput) ElementType added in v3.13.1

func (ProviderPtrOutput) ElementType() reflect.Type

func (ProviderPtrOutput) ToProviderPtrOutput added in v3.13.1

func (o ProviderPtrOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderPtrOutput) ToProviderPtrOutputWithContext added in v3.13.1

func (o ProviderPtrOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL