newrelic

package
v4.20.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type AlertChannel

type AlertChannel struct {
	pulumi.CustomResourceState

	// Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntOutput `pulumi:"accountId"`
	// 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.  One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
	Type pulumi.StringOutput `pulumi:"type"`
}

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

## Example Usage ### Email ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewAlertChannel(ctx, "foo", &newrelic.AlertChannelArgs{
			Config: &AlertChannelConfigArgs{
				IncludeJsonAttachment: pulumi.String("true"),
				Recipients:            pulumi.String("foo@example.com"),
			},
			Type: pulumi.String("email"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Additional Examples

##### Slack ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewAlertChannel(ctx, "foo", &newrelic.AlertChannelArgs{
			Config: &AlertChannelConfigArgs{
				Channel: pulumi.String("example-alerts-channel"),
				Url:     pulumi.String("https://hooks.slack.com/services/XXXXXXX/XXXXXXX/XXXXXXXXXX"),
			},
			Type: pulumi.String("slack"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### OpsGenie ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewAlertChannel(ctx, "foo", &newrelic.AlertChannelArgs{
			Config: &AlertChannelConfigArgs{
				ApiKey:     pulumi.String("abc123"),
				Recipients: pulumi.String("user1@domain.com, user2@domain.com"),
				Tags:       pulumi.String("tag1, tag2"),
				Teams:      pulumi.String("team1, team2"),
			},
			Type: pulumi.String("opsgenie"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### PagerDuty ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewAlertChannel(ctx, "foo", &newrelic.AlertChannelArgs{
			Config: &AlertChannelConfigArgs{
				ServiceKey: pulumi.String("abc123"),
			},
			Type: pulumi.String("pagerduty"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### VictorOps ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewAlertChannel(ctx, "foo", &newrelic.AlertChannelArgs{
			Config: &AlertChannelConfigArgs{
				Key:      pulumi.String("abc123"),
				RouteKey: pulumi.String("/example"),
			},
			Type: pulumi.String("victorops"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Webhook ```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewAlertChannel(ctx, "foo", &newrelic.AlertChannelArgs{
			Type: pulumi.String("webhook"),
			Config: &AlertChannelConfigArgs{
				BaseUrl:     pulumi.String("http://www.test.com"),
				PayloadType: pulumi.String("application/json"),
				Payload: pulumi.StringMap{
					"condition_name": pulumi.String(fmt.Sprintf("$CONDITION_NAME")),
					"policy_name":    pulumi.String(fmt.Sprintf("$POLICY_NAME")),
				},
				Headers: pulumi.StringMap{
					"header1": pulumi.Any(value1),
					"header2": pulumi.Any(value2),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Webhook with complex payload ```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewAlertChannel(ctx, "foo", &newrelic.AlertChannelArgs{
			Config: &AlertChannelConfigArgs{
				BaseUrl: pulumi.String("http://www.test.com"),
				PayloadString: pulumi.String(fmt.Sprintf(`{
  "my_custom_values": {
    "condition_name": "$CONDITION_NAME",
    "policy_name": "$POLICY_NAME"
  }
}

`)),

				PayloadType: pulumi.String("application/json"),
			},
			Type: pulumi.String("webhook"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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

func (*AlertChannel) ElementType() reflect.Type

func (*AlertChannel) ToAlertChannelOutput

func (i *AlertChannel) ToAlertChannelOutput() AlertChannelOutput

func (*AlertChannel) ToAlertChannelOutputWithContext

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

type AlertChannelArgs

type AlertChannelArgs struct {
	// Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput
	// 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.  One of: `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

type AlertChannelArray []AlertChannelInput

func (AlertChannelArray) ElementType

func (AlertChannelArray) ElementType() reflect.Type

func (AlertChannelArray) ToAlertChannelArrayOutput

func (i AlertChannelArray) ToAlertChannelArrayOutput() AlertChannelArrayOutput

func (AlertChannelArray) ToAlertChannelArrayOutputWithContext

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

type AlertChannelArrayInput

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

type AlertChannelArrayOutput struct{ *pulumi.OutputState }

func (AlertChannelArrayOutput) ElementType

func (AlertChannelArrayOutput) ElementType() reflect.Type

func (AlertChannelArrayOutput) Index

func (AlertChannelArrayOutput) ToAlertChannelArrayOutput

func (o AlertChannelArrayOutput) ToAlertChannelArrayOutput() AlertChannelArrayOutput

func (AlertChannelArrayOutput) ToAlertChannelArrayOutputWithContext

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"`
	// `true` or `false`. 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"`
	// `true` or `false`. 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

`true` or `false`. 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

`true` or `false`. 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

type AlertChannelInput interface {
	pulumi.Input

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

type AlertChannelMap

type AlertChannelMap map[string]AlertChannelInput

func (AlertChannelMap) ElementType

func (AlertChannelMap) ElementType() reflect.Type

func (AlertChannelMap) ToAlertChannelMapOutput

func (i AlertChannelMap) ToAlertChannelMapOutput() AlertChannelMapOutput

func (AlertChannelMap) ToAlertChannelMapOutputWithContext

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

type AlertChannelMapInput

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

type AlertChannelMapOutput struct{ *pulumi.OutputState }

func (AlertChannelMapOutput) ElementType

func (AlertChannelMapOutput) ElementType() reflect.Type

func (AlertChannelMapOutput) MapIndex

func (AlertChannelMapOutput) ToAlertChannelMapOutput

func (o AlertChannelMapOutput) ToAlertChannelMapOutput() AlertChannelMapOutput

func (AlertChannelMapOutput) ToAlertChannelMapOutputWithContext

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

type AlertChannelOutput

type AlertChannelOutput struct{ *pulumi.OutputState }

func (AlertChannelOutput) AccountId added in v4.15.0

func (o AlertChannelOutput) AccountId() pulumi.IntOutput

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

func (AlertChannelOutput) Config added in v4.15.0

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.

func (AlertChannelOutput) ElementType

func (AlertChannelOutput) ElementType() reflect.Type

func (AlertChannelOutput) Name added in v4.15.0

The name of the channel.

func (AlertChannelOutput) ToAlertChannelOutput

func (o AlertChannelOutput) ToAlertChannelOutput() AlertChannelOutput

func (AlertChannelOutput) ToAlertChannelOutputWithContext

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

func (AlertChannelOutput) Type added in v4.15.0

The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.

type AlertChannelState

type AlertChannelState struct {
	// Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput
	// 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.  One of: `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/v4/go/newrelic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		app, err := newrelic.GetEntity(ctx, &GetEntityArgs{
			Name:   "my-app",
			Type:   pulumi.StringRef("APPLICATION"),
			Domain: pulumi.StringRef("APM"),
		}, 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: AlertConditionTermArray{
				&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

func (*AlertCondition) ElementType() reflect.Type

func (*AlertCondition) ToAlertConditionOutput

func (i *AlertCondition) ToAlertConditionOutput() AlertConditionOutput

func (*AlertCondition) ToAlertConditionOutputWithContext

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

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

type AlertConditionArray []AlertConditionInput

func (AlertConditionArray) ElementType

func (AlertConditionArray) ElementType() reflect.Type

func (AlertConditionArray) ToAlertConditionArrayOutput

func (i AlertConditionArray) ToAlertConditionArrayOutput() AlertConditionArrayOutput

func (AlertConditionArray) ToAlertConditionArrayOutputWithContext

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

type AlertConditionArrayInput

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

type AlertConditionArrayOutput struct{ *pulumi.OutputState }

func (AlertConditionArrayOutput) ElementType

func (AlertConditionArrayOutput) ElementType() reflect.Type

func (AlertConditionArrayOutput) Index

func (AlertConditionArrayOutput) ToAlertConditionArrayOutput

func (o AlertConditionArrayOutput) ToAlertConditionArrayOutput() AlertConditionArrayOutput

func (AlertConditionArrayOutput) ToAlertConditionArrayOutputWithContext

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

type AlertConditionInput

type AlertConditionInput interface {
	pulumi.Input

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

type AlertConditionMap

type AlertConditionMap map[string]AlertConditionInput

func (AlertConditionMap) ElementType

func (AlertConditionMap) ElementType() reflect.Type

func (AlertConditionMap) ToAlertConditionMapOutput

func (i AlertConditionMap) ToAlertConditionMapOutput() AlertConditionMapOutput

func (AlertConditionMap) ToAlertConditionMapOutputWithContext

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

type AlertConditionMapInput

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

type AlertConditionMapOutput struct{ *pulumi.OutputState }

func (AlertConditionMapOutput) ElementType

func (AlertConditionMapOutput) ElementType() reflect.Type

func (AlertConditionMapOutput) MapIndex

func (AlertConditionMapOutput) ToAlertConditionMapOutput

func (o AlertConditionMapOutput) ToAlertConditionMapOutput() AlertConditionMapOutput

func (AlertConditionMapOutput) ToAlertConditionMapOutputWithContext

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

type AlertConditionOutput

type AlertConditionOutput struct{ *pulumi.OutputState }

func (AlertConditionOutput) ConditionScope added in v4.15.0

func (o AlertConditionOutput) ConditionScope() pulumi.StringPtrOutput

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

func (AlertConditionOutput) ElementType

func (AlertConditionOutput) ElementType() reflect.Type

func (AlertConditionOutput) Enabled added in v4.15.0

Whether the condition is enabled or not. Defaults to true.

func (AlertConditionOutput) Entities added in v4.15.0

The instance IDs associated with this condition.

func (AlertConditionOutput) GcMetric added in v4.15.0

A valid Garbage Collection metric e.g. `GC/G1 Young Generation`.

func (AlertConditionOutput) Metric added in v4.15.0

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`

func (AlertConditionOutput) Name added in v4.15.0

The title of the condition. Must be between 1 and 64 characters, inclusive.

func (AlertConditionOutput) PolicyId added in v4.15.0

func (o AlertConditionOutput) PolicyId() pulumi.IntOutput

The ID of the policy where this condition should be used.

func (AlertConditionOutput) RunbookUrl added in v4.15.0

Runbook URL to display in notifications.

func (AlertConditionOutput) Terms added in v4.15.0

A list of terms for this condition. See Terms below for details.

func (AlertConditionOutput) ToAlertConditionOutput

func (o AlertConditionOutput) ToAlertConditionOutput() AlertConditionOutput

func (AlertConditionOutput) ToAlertConditionOutputWithContext

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

func (AlertConditionOutput) Type added in v4.15.0

The type of condition. One of: `apmAppMetric`, `apmJvmMetric`, `apmKtMetric`, `browserMetric`, `mobileMetric`

func (AlertConditionOutput) UserDefinedMetric added in v4.15.0

func (o AlertConditionOutput) UserDefinedMetric() pulumi.StringPtrOutput

A custom metric to be evaluated.

func (AlertConditionOutput) UserDefinedValueFunction added in v4.15.0

func (o AlertConditionOutput) UserDefinedValueFunction() pulumi.StringPtrOutput

One of: `average`, `min`, `max`, `total`, or `sampleSize`.

func (AlertConditionOutput) ViolationCloseTimer added in v4.15.0

func (o AlertConditionOutput) ViolationCloseTimer() pulumi.IntPtrOutput

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

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

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

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewAlertMutingRule(ctx, "foo", &newrelic.AlertMutingRuleArgs{
			Condition: &AlertMutingRuleConditionArgs{
				Conditions: AlertMutingRuleConditionConditionArray{
					&AlertMutingRuleConditionConditionArgs{
						Attribute: pulumi.String("product"),
						Operator:  pulumi.String("EQUALS"),
						Values: pulumi.StringArray{
							pulumi.String("APM"),
						},
					},
					&AlertMutingRuleConditionConditionArgs{
						Attribute: pulumi.String("targetId"),
						Operator:  pulumi.String("EQUALS"),
						Values: pulumi.StringArray{
							pulumi.String("Muted"),
						},
					},
				},
				Operator: pulumi.String("AND"),
			},
			Description: pulumi.String("muting rule test."),
			Enabled:     pulumi.Bool(true),
			Schedule: &AlertMutingRuleScheduleArgs{
				EndTime:     pulumi.String("2021-01-28T16:30:00"),
				Repeat:      pulumi.String("WEEKLY"),
				RepeatCount: pulumi.Int(42),
				StartTime:   pulumi.String("2021-01-28T15:30:00"),
				TimeZone:    pulumi.String("America/Los_Angeles"),
				WeeklyRepeatDays: pulumi.StringArray{
					pulumi.String("MONDAY"),
					pulumi.String("WEDNESDAY"),
					pulumi.String("FRIDAY"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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

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

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

func (*AlertMutingRule) ElementType() reflect.Type

func (*AlertMutingRule) ToAlertMutingRuleOutput

func (i *AlertMutingRule) ToAlertMutingRuleOutput() AlertMutingRuleOutput

func (*AlertMutingRule) ToAlertMutingRuleOutputWithContext

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

type AlertMutingRuleArgs

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

func (AlertMutingRuleArgs) ElementType() reflect.Type

type AlertMutingRuleArray

type AlertMutingRuleArray []AlertMutingRuleInput

func (AlertMutingRuleArray) ElementType

func (AlertMutingRuleArray) ElementType() reflect.Type

func (AlertMutingRuleArray) ToAlertMutingRuleArrayOutput

func (i AlertMutingRuleArray) ToAlertMutingRuleArrayOutput() AlertMutingRuleArrayOutput

func (AlertMutingRuleArray) ToAlertMutingRuleArrayOutputWithContext

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

type AlertMutingRuleArrayInput

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

type AlertMutingRuleArrayOutput struct{ *pulumi.OutputState }

func (AlertMutingRuleArrayOutput) ElementType

func (AlertMutingRuleArrayOutput) ElementType() reflect.Type

func (AlertMutingRuleArrayOutput) Index

func (AlertMutingRuleArrayOutput) ToAlertMutingRuleArrayOutput

func (o AlertMutingRuleArrayOutput) ToAlertMutingRuleArrayOutput() AlertMutingRuleArrayOutput

func (AlertMutingRuleArrayOutput) ToAlertMutingRuleArrayOutputWithContext

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

type AlertMutingRuleCondition

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

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

func (AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionOutput

func (i AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionOutput() AlertMutingRuleConditionOutput

func (AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionOutputWithContext

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

func (AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionPtrOutput

func (i AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionPtrOutput() AlertMutingRuleConditionPtrOutput

func (AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionPtrOutputWithContext

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

type AlertMutingRuleConditionCondition

type AlertMutingRuleConditionCondition struct {
	// The attribute on a violation. Valid values are   `accountId`, `conditionId`, `conditionName`, `conditionRunbookUrl`, `conditionType`, `entity.guid`, `nrqlEventType`, `nrqlQuery`, `policyId`, `policyName`, `product`, `tags.<NAME>`, `targetId`, `targetName`
	Attribute string `pulumi:"attribute"`
	// The operator used to compare the attribute's value with the supplied value(s). Valid values are `ANY`, `CONTAINS`, `ENDS_WITH`, `EQUALS`, `IN`, `IS_BLANK`, `IS_NOT_BLANK`, `NOT_CONTAINS`, `NOT_ENDS_WITH`, `NOT_EQUALS`, `NOT_IN`, `NOT_STARTS_WITH`, `STARTS_WITH`
	Operator string `pulumi:"operator"`
	// The value(s) to compare against the attribute's value.
	Values []string `pulumi:"values"`
}

type AlertMutingRuleConditionConditionArgs

type AlertMutingRuleConditionConditionArgs struct {
	// The attribute on a violation. Valid values are   `accountId`, `conditionId`, `conditionName`, `conditionRunbookUrl`, `conditionType`, `entity.guid`, `nrqlEventType`, `nrqlQuery`, `policyId`, `policyName`, `product`, `tags.<NAME>`, `targetId`, `targetName`
	Attribute pulumi.StringInput `pulumi:"attribute"`
	// The operator used to compare the attribute's value with the supplied value(s). Valid values are `ANY`, `CONTAINS`, `ENDS_WITH`, `EQUALS`, `IN`, `IS_BLANK`, `IS_NOT_BLANK`, `NOT_CONTAINS`, `NOT_ENDS_WITH`, `NOT_EQUALS`, `NOT_IN`, `NOT_STARTS_WITH`, `STARTS_WITH`
	Operator pulumi.StringInput `pulumi:"operator"`
	// The value(s) to compare against the attribute's value.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (AlertMutingRuleConditionConditionArgs) ElementType

func (AlertMutingRuleConditionConditionArgs) ToAlertMutingRuleConditionConditionOutput

func (i AlertMutingRuleConditionConditionArgs) ToAlertMutingRuleConditionConditionOutput() AlertMutingRuleConditionConditionOutput

func (AlertMutingRuleConditionConditionArgs) ToAlertMutingRuleConditionConditionOutputWithContext

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

type AlertMutingRuleConditionConditionArray

type AlertMutingRuleConditionConditionArray []AlertMutingRuleConditionConditionInput

func (AlertMutingRuleConditionConditionArray) ElementType

func (AlertMutingRuleConditionConditionArray) ToAlertMutingRuleConditionConditionArrayOutput

func (i AlertMutingRuleConditionConditionArray) ToAlertMutingRuleConditionConditionArrayOutput() AlertMutingRuleConditionConditionArrayOutput

func (AlertMutingRuleConditionConditionArray) ToAlertMutingRuleConditionConditionArrayOutputWithContext

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

type AlertMutingRuleConditionConditionArrayInput

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

type AlertMutingRuleConditionConditionArrayOutput struct{ *pulumi.OutputState }

func (AlertMutingRuleConditionConditionArrayOutput) ElementType

func (AlertMutingRuleConditionConditionArrayOutput) Index

func (AlertMutingRuleConditionConditionArrayOutput) ToAlertMutingRuleConditionConditionArrayOutput

func (o AlertMutingRuleConditionConditionArrayOutput) ToAlertMutingRuleConditionConditionArrayOutput() AlertMutingRuleConditionConditionArrayOutput

func (AlertMutingRuleConditionConditionArrayOutput) ToAlertMutingRuleConditionConditionArrayOutputWithContext

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

type AlertMutingRuleConditionConditionInput

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

type AlertMutingRuleConditionConditionOutput struct{ *pulumi.OutputState }

func (AlertMutingRuleConditionConditionOutput) Attribute

The attribute on a violation. Valid values are `accountId`, `conditionId`, `conditionName`, `conditionRunbookUrl`, `conditionType`, `entity.guid`, `nrqlEventType`, `nrqlQuery`, `policyId`, `policyName`, `product`, `tags.<NAME>`, `targetId`, `targetName`

func (AlertMutingRuleConditionConditionOutput) ElementType

func (AlertMutingRuleConditionConditionOutput) Operator

The operator used to compare the attribute's value with the supplied value(s). Valid values are `ANY`, `CONTAINS`, `ENDS_WITH`, `EQUALS`, `IN`, `IS_BLANK`, `IS_NOT_BLANK`, `NOT_CONTAINS`, `NOT_ENDS_WITH`, `NOT_EQUALS`, `NOT_IN`, `NOT_STARTS_WITH`, `STARTS_WITH`

func (AlertMutingRuleConditionConditionOutput) ToAlertMutingRuleConditionConditionOutput

func (o AlertMutingRuleConditionConditionOutput) ToAlertMutingRuleConditionConditionOutput() AlertMutingRuleConditionConditionOutput

func (AlertMutingRuleConditionConditionOutput) ToAlertMutingRuleConditionConditionOutputWithContext

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

func (AlertMutingRuleConditionConditionOutput) Values

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

type AlertMutingRuleConditionInput

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

type AlertMutingRuleConditionOutput struct{ *pulumi.OutputState }

func (AlertMutingRuleConditionOutput) Conditions

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

func (AlertMutingRuleConditionOutput) ElementType

func (AlertMutingRuleConditionOutput) Operator

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

func (AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionOutput

func (o AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionOutput() AlertMutingRuleConditionOutput

func (AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionOutputWithContext

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

func (AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionPtrOutput

func (o AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionPtrOutput() AlertMutingRuleConditionPtrOutput

func (AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionPtrOutputWithContext

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

type AlertMutingRuleConditionPtrInput

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

type AlertMutingRuleConditionPtrOutput

type AlertMutingRuleConditionPtrOutput struct{ *pulumi.OutputState }

func (AlertMutingRuleConditionPtrOutput) Conditions

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

func (AlertMutingRuleConditionPtrOutput) Elem

func (AlertMutingRuleConditionPtrOutput) ElementType

func (AlertMutingRuleConditionPtrOutput) Operator

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

func (AlertMutingRuleConditionPtrOutput) ToAlertMutingRuleConditionPtrOutput

func (o AlertMutingRuleConditionPtrOutput) ToAlertMutingRuleConditionPtrOutput() AlertMutingRuleConditionPtrOutput

func (AlertMutingRuleConditionPtrOutput) ToAlertMutingRuleConditionPtrOutputWithContext

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

type AlertMutingRuleInput

type AlertMutingRuleInput interface {
	pulumi.Input

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

type AlertMutingRuleMap

type AlertMutingRuleMap map[string]AlertMutingRuleInput

func (AlertMutingRuleMap) ElementType

func (AlertMutingRuleMap) ElementType() reflect.Type

func (AlertMutingRuleMap) ToAlertMutingRuleMapOutput

func (i AlertMutingRuleMap) ToAlertMutingRuleMapOutput() AlertMutingRuleMapOutput

func (AlertMutingRuleMap) ToAlertMutingRuleMapOutputWithContext

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

type AlertMutingRuleMapInput

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

type AlertMutingRuleMapOutput struct{ *pulumi.OutputState }

func (AlertMutingRuleMapOutput) ElementType

func (AlertMutingRuleMapOutput) ElementType() reflect.Type

func (AlertMutingRuleMapOutput) MapIndex

func (AlertMutingRuleMapOutput) ToAlertMutingRuleMapOutput

func (o AlertMutingRuleMapOutput) ToAlertMutingRuleMapOutput() AlertMutingRuleMapOutput

func (AlertMutingRuleMapOutput) ToAlertMutingRuleMapOutputWithContext

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

type AlertMutingRuleOutput

type AlertMutingRuleOutput struct{ *pulumi.OutputState }

func (AlertMutingRuleOutput) AccountId added in v4.15.0

func (o AlertMutingRuleOutput) AccountId() pulumi.IntOutput

The account id of the MutingRule.

func (AlertMutingRuleOutput) Condition added in v4.15.0

The condition that defines which violations to target. See Nested condition blocks below for details.

func (AlertMutingRuleOutput) Description added in v4.15.0

The description of the MutingRule.

func (AlertMutingRuleOutput) ElementType

func (AlertMutingRuleOutput) ElementType() reflect.Type

func (AlertMutingRuleOutput) Enabled added in v4.15.0

Whether the MutingRule is enabled.

func (AlertMutingRuleOutput) Name added in v4.15.0

The name of the MutingRule.

func (AlertMutingRuleOutput) Schedule added in v4.15.0

Specify a schedule for enabling the MutingRule. See Schedule below for details

func (AlertMutingRuleOutput) ToAlertMutingRuleOutput

func (o AlertMutingRuleOutput) ToAlertMutingRuleOutput() AlertMutingRuleOutput

func (AlertMutingRuleOutput) ToAlertMutingRuleOutputWithContext

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

type AlertMutingRuleSchedule

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

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

func (AlertMutingRuleScheduleArgs) ToAlertMutingRuleScheduleOutput

func (i AlertMutingRuleScheduleArgs) ToAlertMutingRuleScheduleOutput() AlertMutingRuleScheduleOutput

func (AlertMutingRuleScheduleArgs) ToAlertMutingRuleScheduleOutputWithContext

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

func (AlertMutingRuleScheduleArgs) ToAlertMutingRuleSchedulePtrOutput

func (i AlertMutingRuleScheduleArgs) ToAlertMutingRuleSchedulePtrOutput() AlertMutingRuleSchedulePtrOutput

func (AlertMutingRuleScheduleArgs) ToAlertMutingRuleSchedulePtrOutputWithContext

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

type AlertMutingRuleScheduleInput

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

type AlertMutingRuleScheduleOutput struct{ *pulumi.OutputState }

func (AlertMutingRuleScheduleOutput) ElementType

func (AlertMutingRuleScheduleOutput) EndRepeat

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

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

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

func (AlertMutingRuleScheduleOutput) RepeatCount

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

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

func (AlertMutingRuleScheduleOutput) ToAlertMutingRuleScheduleOutput

func (o AlertMutingRuleScheduleOutput) ToAlertMutingRuleScheduleOutput() AlertMutingRuleScheduleOutput

func (AlertMutingRuleScheduleOutput) ToAlertMutingRuleScheduleOutputWithContext

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

func (AlertMutingRuleScheduleOutput) ToAlertMutingRuleSchedulePtrOutput

func (o AlertMutingRuleScheduleOutput) ToAlertMutingRuleSchedulePtrOutput() AlertMutingRuleSchedulePtrOutput

func (AlertMutingRuleScheduleOutput) ToAlertMutingRuleSchedulePtrOutputWithContext

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

func (AlertMutingRuleScheduleOutput) WeeklyRepeatDays

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

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

type AlertMutingRuleSchedulePtrOutput

type AlertMutingRuleSchedulePtrOutput struct{ *pulumi.OutputState }

func (AlertMutingRuleSchedulePtrOutput) Elem

func (AlertMutingRuleSchedulePtrOutput) ElementType

func (AlertMutingRuleSchedulePtrOutput) EndRepeat

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

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

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

func (AlertMutingRuleSchedulePtrOutput) RepeatCount

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

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

func (AlertMutingRuleSchedulePtrOutput) ToAlertMutingRuleSchedulePtrOutput

func (o AlertMutingRuleSchedulePtrOutput) ToAlertMutingRuleSchedulePtrOutput() AlertMutingRuleSchedulePtrOutput

func (AlertMutingRuleSchedulePtrOutput) ToAlertMutingRuleSchedulePtrOutputWithContext

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

func (AlertMutingRuleSchedulePtrOutput) WeeklyRepeatDays

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

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

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/v4/go/newrelic"
"github.com/pulumi/pulumi/sdk/v3/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
	})
}

``` ### Provision multiple notification channels and add those channels to a policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		slackChannel, err := newrelic.NewAlertChannel(ctx, "slackChannel", &newrelic.AlertChannelArgs{
			Type: pulumi.String("slack"),
			Config: &AlertChannelConfigArgs{
				Url:     pulumi.String("https://hooks.slack.com/services/xxxxxxx/yyyyyyyy"),
				Channel: pulumi.String("example-alerts-channel"),
			},
		})
		if err != nil {
			return err
		}
		emailChannel, err := newrelic.NewAlertChannel(ctx, "emailChannel", &newrelic.AlertChannelArgs{
			Type: pulumi.String("email"),
			Config: &AlertChannelConfigArgs{
				Recipients:            pulumi.String("example@testing.com"),
				IncludeJsonAttachment: pulumi.String("1"),
			},
		})
		if err != nil {
			return err
		}
		_, err = newrelic.NewAlertPolicy(ctx, "policyWithChannels", &newrelic.AlertPolicyArgs{
			IncidentPreference: pulumi.String("PER_CONDITION"),
			ChannelIds: pulumi.IntArray{
				slackChannel.ID(),
				emailChannel.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Reference existing notification channels and add those channel to a policy ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		slackChannel, err := newrelic.LookupAlertChannel(ctx, &GetAlertChannelArgs{
			Name: "slack-channel-notification",
		}, nil)
		if err != nil {
			return err
		}
		emailChannel, err := newrelic.LookupAlertChannel(ctx, &GetAlertChannelArgs{
			Name: "test@example.com",
		}, nil)
		if err != nil {
			return err
		}
		_, err = newrelic.NewAlertPolicy(ctx, "policyWithChannels", &newrelic.AlertPolicyArgs{
			IncidentPreference: pulumi.String("PER_CONDITION"),
			ChannelIds: pulumi.IntArray{
				pulumi.String(slackChannel.Id),
				pulumi.String(emailChannel.Id),
			},
		})
		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

func (*AlertPolicy) ElementType() reflect.Type

func (*AlertPolicy) ToAlertPolicyOutput

func (i *AlertPolicy) ToAlertPolicyOutput() AlertPolicyOutput

func (*AlertPolicy) ToAlertPolicyOutputWithContext

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

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

type AlertPolicyArray []AlertPolicyInput

func (AlertPolicyArray) ElementType

func (AlertPolicyArray) ElementType() reflect.Type

func (AlertPolicyArray) ToAlertPolicyArrayOutput

func (i AlertPolicyArray) ToAlertPolicyArrayOutput() AlertPolicyArrayOutput

func (AlertPolicyArray) ToAlertPolicyArrayOutputWithContext

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

type AlertPolicyArrayInput

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

type AlertPolicyArrayOutput struct{ *pulumi.OutputState }

func (AlertPolicyArrayOutput) ElementType

func (AlertPolicyArrayOutput) ElementType() reflect.Type

func (AlertPolicyArrayOutput) Index

func (AlertPolicyArrayOutput) ToAlertPolicyArrayOutput

func (o AlertPolicyArrayOutput) ToAlertPolicyArrayOutput() AlertPolicyArrayOutput

func (AlertPolicyArrayOutput) ToAlertPolicyArrayOutputWithContext

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

type AlertPolicyChannel

type AlertPolicyChannel struct {
	pulumi.CustomResourceState

	// Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntOutput `pulumi:"accountId"`
	// 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/v4/go/newrelic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.LookupAlertPolicy(ctx, &GetAlertPolicyArgs{
			Name: "my-alert-policy",
		}, nil)
		if err != nil {
			return err
		}
		emailChannel, err := newrelic.NewAlertChannel(ctx, "emailChannel", &newrelic.AlertChannelArgs{
			Type: pulumi.String("email"),
			Config: &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: &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

func (*AlertPolicyChannel) ElementType() reflect.Type

func (*AlertPolicyChannel) ToAlertPolicyChannelOutput

func (i *AlertPolicyChannel) ToAlertPolicyChannelOutput() AlertPolicyChannelOutput

func (*AlertPolicyChannel) ToAlertPolicyChannelOutputWithContext

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

type AlertPolicyChannelArgs

type AlertPolicyChannelArgs struct {
	// Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput
	// 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

type AlertPolicyChannelArray []AlertPolicyChannelInput

func (AlertPolicyChannelArray) ElementType

func (AlertPolicyChannelArray) ElementType() reflect.Type

func (AlertPolicyChannelArray) ToAlertPolicyChannelArrayOutput

func (i AlertPolicyChannelArray) ToAlertPolicyChannelArrayOutput() AlertPolicyChannelArrayOutput

func (AlertPolicyChannelArray) ToAlertPolicyChannelArrayOutputWithContext

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

type AlertPolicyChannelArrayInput

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

type AlertPolicyChannelArrayOutput struct{ *pulumi.OutputState }

func (AlertPolicyChannelArrayOutput) ElementType

func (AlertPolicyChannelArrayOutput) Index

func (AlertPolicyChannelArrayOutput) ToAlertPolicyChannelArrayOutput

func (o AlertPolicyChannelArrayOutput) ToAlertPolicyChannelArrayOutput() AlertPolicyChannelArrayOutput

func (AlertPolicyChannelArrayOutput) ToAlertPolicyChannelArrayOutputWithContext

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

type AlertPolicyChannelInput

type AlertPolicyChannelInput interface {
	pulumi.Input

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

type AlertPolicyChannelMap

type AlertPolicyChannelMap map[string]AlertPolicyChannelInput

func (AlertPolicyChannelMap) ElementType

func (AlertPolicyChannelMap) ElementType() reflect.Type

func (AlertPolicyChannelMap) ToAlertPolicyChannelMapOutput

func (i AlertPolicyChannelMap) ToAlertPolicyChannelMapOutput() AlertPolicyChannelMapOutput

func (AlertPolicyChannelMap) ToAlertPolicyChannelMapOutputWithContext

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

type AlertPolicyChannelMapInput

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

type AlertPolicyChannelMapOutput struct{ *pulumi.OutputState }

func (AlertPolicyChannelMapOutput) ElementType

func (AlertPolicyChannelMapOutput) MapIndex

func (AlertPolicyChannelMapOutput) ToAlertPolicyChannelMapOutput

func (o AlertPolicyChannelMapOutput) ToAlertPolicyChannelMapOutput() AlertPolicyChannelMapOutput

func (AlertPolicyChannelMapOutput) ToAlertPolicyChannelMapOutputWithContext

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

type AlertPolicyChannelOutput

type AlertPolicyChannelOutput struct{ *pulumi.OutputState }

func (AlertPolicyChannelOutput) AccountId added in v4.15.0

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

func (AlertPolicyChannelOutput) ChannelIds added in v4.15.0

Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.

func (AlertPolicyChannelOutput) ElementType

func (AlertPolicyChannelOutput) ElementType() reflect.Type

func (AlertPolicyChannelOutput) PolicyId added in v4.15.0

The ID of the policy.

func (AlertPolicyChannelOutput) ToAlertPolicyChannelOutput

func (o AlertPolicyChannelOutput) ToAlertPolicyChannelOutput() AlertPolicyChannelOutput

func (AlertPolicyChannelOutput) ToAlertPolicyChannelOutputWithContext

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

type AlertPolicyChannelState

type AlertPolicyChannelState struct {
	// Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput
	// 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

type AlertPolicyInput interface {
	pulumi.Input

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

type AlertPolicyMap

type AlertPolicyMap map[string]AlertPolicyInput

func (AlertPolicyMap) ElementType

func (AlertPolicyMap) ElementType() reflect.Type

func (AlertPolicyMap) ToAlertPolicyMapOutput

func (i AlertPolicyMap) ToAlertPolicyMapOutput() AlertPolicyMapOutput

func (AlertPolicyMap) ToAlertPolicyMapOutputWithContext

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

type AlertPolicyMapInput

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

type AlertPolicyMapOutput struct{ *pulumi.OutputState }

func (AlertPolicyMapOutput) ElementType

func (AlertPolicyMapOutput) ElementType() reflect.Type

func (AlertPolicyMapOutput) MapIndex

func (AlertPolicyMapOutput) ToAlertPolicyMapOutput

func (o AlertPolicyMapOutput) ToAlertPolicyMapOutput() AlertPolicyMapOutput

func (AlertPolicyMapOutput) ToAlertPolicyMapOutputWithContext

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

type AlertPolicyOutput

type AlertPolicyOutput struct{ *pulumi.OutputState }

func (AlertPolicyOutput) AccountId added in v4.15.0

func (o AlertPolicyOutput) AccountId() pulumi.IntOutput

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

func (AlertPolicyOutput) ChannelIds added in v4.15.0

func (o AlertPolicyOutput) ChannelIds() pulumi.IntArrayOutput

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.

func (AlertPolicyOutput) ElementType

func (AlertPolicyOutput) ElementType() reflect.Type

func (AlertPolicyOutput) IncidentPreference added in v4.15.0

func (o AlertPolicyOutput) IncidentPreference() pulumi.StringPtrOutput

The rollup strategy for the policy. Options include: `PER_POLICY`, `PER_CONDITION`, or `PER_CONDITION_AND_TARGET`. The default is `PER_POLICY`.

func (AlertPolicyOutput) Name added in v4.15.0

The name of the policy.

func (AlertPolicyOutput) ToAlertPolicyOutput

func (o AlertPolicyOutput) ToAlertPolicyOutput() AlertPolicyOutput

func (AlertPolicyOutput) ToAlertPolicyOutputWithContext

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

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

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/v4/go/newrelic"
"github.com/pulumi/pulumi/sdk/v3/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

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

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

func (*ApiAccessKey) ElementType() reflect.Type

func (*ApiAccessKey) ToApiAccessKeyOutput

func (i *ApiAccessKey) ToApiAccessKeyOutput() ApiAccessKeyOutput

func (*ApiAccessKey) ToApiAccessKeyOutputWithContext

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

type ApiAccessKeyArgs

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

func (ApiAccessKeyArgs) ElementType() reflect.Type

type ApiAccessKeyArray

type ApiAccessKeyArray []ApiAccessKeyInput

func (ApiAccessKeyArray) ElementType

func (ApiAccessKeyArray) ElementType() reflect.Type

func (ApiAccessKeyArray) ToApiAccessKeyArrayOutput

func (i ApiAccessKeyArray) ToApiAccessKeyArrayOutput() ApiAccessKeyArrayOutput

func (ApiAccessKeyArray) ToApiAccessKeyArrayOutputWithContext

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

type ApiAccessKeyArrayInput

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

type ApiAccessKeyArrayOutput struct{ *pulumi.OutputState }

func (ApiAccessKeyArrayOutput) ElementType

func (ApiAccessKeyArrayOutput) ElementType() reflect.Type

func (ApiAccessKeyArrayOutput) Index

func (ApiAccessKeyArrayOutput) ToApiAccessKeyArrayOutput

func (o ApiAccessKeyArrayOutput) ToApiAccessKeyArrayOutput() ApiAccessKeyArrayOutput

func (ApiAccessKeyArrayOutput) ToApiAccessKeyArrayOutputWithContext

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

type ApiAccessKeyInput

type ApiAccessKeyInput interface {
	pulumi.Input

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

type ApiAccessKeyMap

type ApiAccessKeyMap map[string]ApiAccessKeyInput

func (ApiAccessKeyMap) ElementType

func (ApiAccessKeyMap) ElementType() reflect.Type

func (ApiAccessKeyMap) ToApiAccessKeyMapOutput

func (i ApiAccessKeyMap) ToApiAccessKeyMapOutput() ApiAccessKeyMapOutput

func (ApiAccessKeyMap) ToApiAccessKeyMapOutputWithContext

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

type ApiAccessKeyMapInput

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

type ApiAccessKeyMapOutput struct{ *pulumi.OutputState }

func (ApiAccessKeyMapOutput) ElementType

func (ApiAccessKeyMapOutput) ElementType() reflect.Type

func (ApiAccessKeyMapOutput) MapIndex

func (ApiAccessKeyMapOutput) ToApiAccessKeyMapOutput

func (o ApiAccessKeyMapOutput) ToApiAccessKeyMapOutput() ApiAccessKeyMapOutput

func (ApiAccessKeyMapOutput) ToApiAccessKeyMapOutputWithContext

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

type ApiAccessKeyOutput

type ApiAccessKeyOutput struct{ *pulumi.OutputState }

func (ApiAccessKeyOutput) AccountId added in v4.15.0

func (o ApiAccessKeyOutput) AccountId() pulumi.IntOutput

The New Relic account ID of the account you wish to create the API access key.

func (ApiAccessKeyOutput) ElementType

func (ApiAccessKeyOutput) ElementType() reflect.Type

func (ApiAccessKeyOutput) IngestType added in v4.15.0

func (o ApiAccessKeyOutput) IngestType() pulumi.StringOutput

Required if `keyType = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.

func (ApiAccessKeyOutput) Key added in v4.15.0

The actual API key. This attribute is masked and not be visible in your terminal, CI, etc.

func (ApiAccessKeyOutput) KeyType added in v4.15.0

What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.

func (ApiAccessKeyOutput) Name added in v4.15.0

The name of the key.

func (ApiAccessKeyOutput) Notes added in v4.15.0

Any notes about this ingest key.

func (ApiAccessKeyOutput) ToApiAccessKeyOutput

func (o ApiAccessKeyOutput) ToApiAccessKeyOutput() ApiAccessKeyOutput

func (ApiAccessKeyOutput) ToApiAccessKeyOutputWithContext

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

func (ApiAccessKeyOutput) UserId added in v4.15.0

func (o ApiAccessKeyOutput) UserId() pulumi.IntOutput

Required if `keyType = USER`. The New Relic user ID yous wish to create the API access key for in an account.

type ApiAccessKeyState

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

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, editable_by_all, editable_by_owner, or
	// read_only. Defaults to editable_by_all.
	Editable pulumi.StringPtrOutput `pulumi:"editable"`
	// A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.
	Filter DashboardFilterPtrOutput `pulumi:"filter"`
	// New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid.
	GridColumnCount pulumi.IntPtrOutput `pulumi:"gridColumnCount"`
	// The icon for the dashboard.
	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.
	Widgets DashboardWidgetArrayOutput `pulumi:"widgets"`
}

New Relic legacy Dashboards reached end of life Wednesday July 28, 2021.

**This resource has been removed.**

For more information, [click here](https://discuss.newrelic.com/t/important-insights-dashboard-api-end-of-life/149357)

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

func (*Dashboard) ElementType() reflect.Type

func (*Dashboard) ToDashboardOutput

func (i *Dashboard) ToDashboardOutput() DashboardOutput

func (*Dashboard) ToDashboardOutputWithContext

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

type DashboardArgs

type DashboardArgs struct {
	// Determines who can edit the dashboard in an account. Valid values are all, editable_by_all, editable_by_owner, or
	// read_only. Defaults to editable_by_all.
	Editable pulumi.StringPtrInput
	// A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.
	Filter DashboardFilterPtrInput
	// New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid.
	GridColumnCount pulumi.IntPtrInput
	// The icon for the dashboard.
	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.
	Widgets DashboardWidgetArrayInput
}

The set of arguments for constructing a Dashboard resource.

func (DashboardArgs) ElementType

func (DashboardArgs) ElementType() reflect.Type

type DashboardArray

type DashboardArray []DashboardInput

func (DashboardArray) ElementType

func (DashboardArray) ElementType() reflect.Type

func (DashboardArray) ToDashboardArrayOutput

func (i DashboardArray) ToDashboardArrayOutput() DashboardArrayOutput

func (DashboardArray) ToDashboardArrayOutputWithContext

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

type DashboardArrayInput

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

type DashboardArrayOutput struct{ *pulumi.OutputState }

func (DashboardArrayOutput) ElementType

func (DashboardArrayOutput) ElementType() reflect.Type

func (DashboardArrayOutput) Index

func (DashboardArrayOutput) ToDashboardArrayOutput

func (o DashboardArrayOutput) ToDashboardArrayOutput() DashboardArrayOutput

func (DashboardArrayOutput) ToDashboardArrayOutputWithContext

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

type DashboardFilter

type DashboardFilter struct {
	Attributes []string `pulumi:"attributes"`
	EventTypes []string `pulumi:"eventTypes"`
}

type DashboardFilterArgs

type DashboardFilterArgs struct {
	Attributes pulumi.StringArrayInput `pulumi:"attributes"`
	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

func (DashboardFilterOutput) ElementType

func (DashboardFilterOutput) ElementType() reflect.Type

func (DashboardFilterOutput) EventTypes

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

func (DashboardFilterPtrOutput) Elem

func (DashboardFilterPtrOutput) ElementType

func (DashboardFilterPtrOutput) ElementType() reflect.Type

func (DashboardFilterPtrOutput) EventTypes

func (DashboardFilterPtrOutput) ToDashboardFilterPtrOutput

func (o DashboardFilterPtrOutput) ToDashboardFilterPtrOutput() DashboardFilterPtrOutput

func (DashboardFilterPtrOutput) ToDashboardFilterPtrOutputWithContext

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

type DashboardInput

type DashboardInput interface {
	pulumi.Input

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

type DashboardMap

type DashboardMap map[string]DashboardInput

func (DashboardMap) ElementType

func (DashboardMap) ElementType() reflect.Type

func (DashboardMap) ToDashboardMapOutput

func (i DashboardMap) ToDashboardMapOutput() DashboardMapOutput

func (DashboardMap) ToDashboardMapOutputWithContext

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

type DashboardMapInput

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

type DashboardMapOutput struct{ *pulumi.OutputState }

func (DashboardMapOutput) ElementType

func (DashboardMapOutput) ElementType() reflect.Type

func (DashboardMapOutput) MapIndex

func (DashboardMapOutput) ToDashboardMapOutput

func (o DashboardMapOutput) ToDashboardMapOutput() DashboardMapOutput

func (DashboardMapOutput) ToDashboardMapOutputWithContext

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

type DashboardOutput

type DashboardOutput struct{ *pulumi.OutputState }

func (DashboardOutput) DashboardUrl added in v4.15.0

func (o DashboardOutput) DashboardUrl() pulumi.StringOutput

The URL for viewing the dashboard.

func (DashboardOutput) Editable added in v4.15.0

func (o DashboardOutput) Editable() pulumi.StringPtrOutput

Determines who can edit the dashboard in an account. Valid values are all, editable_by_all, editable_by_owner, or read_only. Defaults to editable_by_all.

func (DashboardOutput) ElementType

func (DashboardOutput) ElementType() reflect.Type

func (DashboardOutput) Filter added in v4.15.0

A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.

func (DashboardOutput) GridColumnCount added in v4.15.0

func (o DashboardOutput) GridColumnCount() pulumi.IntPtrOutput

New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid.

func (DashboardOutput) Icon added in v4.15.0

The icon for the dashboard.

func (DashboardOutput) Title added in v4.15.0

The title of the dashboard.

func (DashboardOutput) ToDashboardOutput

func (o DashboardOutput) ToDashboardOutput() DashboardOutput

func (DashboardOutput) ToDashboardOutputWithContext

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

func (DashboardOutput) Visibility added in v4.15.0

func (o DashboardOutput) Visibility() pulumi.StringPtrOutput

Determines who can see the dashboard in an account. Valid values are all or owner. Defaults to all.

func (DashboardOutput) Widgets added in v4.15.0

A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition.

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, editable_by_all, editable_by_owner, or
	// read_only. Defaults to editable_by_all.
	Editable pulumi.StringPtrInput
	// A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.
	Filter DashboardFilterPtrInput
	// New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid.
	GridColumnCount pulumi.IntPtrInput
	// The icon for the dashboard.
	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.
	Widgets DashboardWidgetArrayInput
}

func (DashboardState) ElementType

func (DashboardState) ElementType() reflect.Type

type DashboardWidget

type DashboardWidget struct {
	AccountId            *int                         `pulumi:"accountId"`
	Column               int                          `pulumi:"column"`
	CompareWiths         []DashboardWidgetCompareWith `pulumi:"compareWiths"`
	DrilldownDashboardId *int                         `pulumi:"drilldownDashboardId"`
	Duration             *int                         `pulumi:"duration"`
	EndTime              *int                         `pulumi:"endTime"`
	EntityIds            []int                        `pulumi:"entityIds"`
	Facet                *string                      `pulumi:"facet"`
	Height               *int                         `pulumi:"height"`
	Limit                *int                         `pulumi:"limit"`
	Metrics              []DashboardWidgetMetric      `pulumi:"metrics"`
	Notes                *string                      `pulumi:"notes"`
	Nrql                 *string                      `pulumi:"nrql"`
	OrderBy              *string                      `pulumi:"orderBy"`
	RawMetricName        *string                      `pulumi:"rawMetricName"`
	Row                  int                          `pulumi:"row"`
	Source               *string                      `pulumi:"source"`
	ThresholdRed         *float64                     `pulumi:"thresholdRed"`
	ThresholdYellow      *float64                     `pulumi:"thresholdYellow"`
	Title                string                       `pulumi:"title"`
	Visualization        string                       `pulumi:"visualization"`
	WidgetId             *int                         `pulumi:"widgetId"`
	Width                *int                         `pulumi:"width"`
}

type DashboardWidgetArgs

type DashboardWidgetArgs struct {
	AccountId            pulumi.IntPtrInput                   `pulumi:"accountId"`
	Column               pulumi.IntInput                      `pulumi:"column"`
	CompareWiths         DashboardWidgetCompareWithArrayInput `pulumi:"compareWiths"`
	DrilldownDashboardId pulumi.IntPtrInput                   `pulumi:"drilldownDashboardId"`
	Duration             pulumi.IntPtrInput                   `pulumi:"duration"`
	EndTime              pulumi.IntPtrInput                   `pulumi:"endTime"`
	EntityIds            pulumi.IntArrayInput                 `pulumi:"entityIds"`
	Facet                pulumi.StringPtrInput                `pulumi:"facet"`
	Height               pulumi.IntPtrInput                   `pulumi:"height"`
	Limit                pulumi.IntPtrInput                   `pulumi:"limit"`
	Metrics              DashboardWidgetMetricArrayInput      `pulumi:"metrics"`
	Notes                pulumi.StringPtrInput                `pulumi:"notes"`
	Nrql                 pulumi.StringPtrInput                `pulumi:"nrql"`
	OrderBy              pulumi.StringPtrInput                `pulumi:"orderBy"`
	RawMetricName        pulumi.StringPtrInput                `pulumi:"rawMetricName"`
	Row                  pulumi.IntInput                      `pulumi:"row"`
	Source               pulumi.StringPtrInput                `pulumi:"source"`
	ThresholdRed         pulumi.Float64PtrInput               `pulumi:"thresholdRed"`
	ThresholdYellow      pulumi.Float64PtrInput               `pulumi:"thresholdYellow"`
	Title                pulumi.StringInput                   `pulumi:"title"`
	Visualization        pulumi.StringInput                   `pulumi:"visualization"`
	WidgetId             pulumi.IntPtrInput                   `pulumi:"widgetId"`
	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"`
	Name  string `pulumi:"name"`
}

type DashboardWidgetCompareWithPresentationArgs

type DashboardWidgetCompareWithPresentationArgs struct {
	Color pulumi.StringInput `pulumi:"color"`
	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

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 {
	Name   string   `pulumi:"name"`
	Scope  *string  `pulumi:"scope"`
	Units  *string  `pulumi:"units"`
	Values []string `pulumi:"values"`
}

type DashboardWidgetMetricArgs

type DashboardWidgetMetricArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Scope  pulumi.StringPtrInput   `pulumi:"scope"`
	Units  pulumi.StringPtrInput   `pulumi:"units"`
	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

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

type DashboardWidgetOutput

type DashboardWidgetOutput struct{ *pulumi.OutputState }

func (DashboardWidgetOutput) AccountId

func (DashboardWidgetOutput) Column

func (DashboardWidgetOutput) CompareWiths

func (DashboardWidgetOutput) DrilldownDashboardId

func (o DashboardWidgetOutput) DrilldownDashboardId() pulumi.IntPtrOutput

func (DashboardWidgetOutput) Duration

func (DashboardWidgetOutput) ElementType

func (DashboardWidgetOutput) ElementType() reflect.Type

func (DashboardWidgetOutput) EndTime

func (DashboardWidgetOutput) EntityIds

func (DashboardWidgetOutput) Facet

func (DashboardWidgetOutput) Height

func (DashboardWidgetOutput) Limit

func (DashboardWidgetOutput) Metrics

func (DashboardWidgetOutput) Notes

func (DashboardWidgetOutput) Nrql

func (DashboardWidgetOutput) OrderBy

func (DashboardWidgetOutput) RawMetricName

func (o DashboardWidgetOutput) RawMetricName() pulumi.StringPtrOutput

func (DashboardWidgetOutput) Row

func (DashboardWidgetOutput) Source

func (DashboardWidgetOutput) ThresholdRed

func (DashboardWidgetOutput) ThresholdYellow

func (o DashboardWidgetOutput) ThresholdYellow() pulumi.Float64PtrOutput

func (DashboardWidgetOutput) Title

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

func (DashboardWidgetOutput) WidgetId

func (DashboardWidgetOutput) Width

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/v4/go/newrelic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

func (*EntityTags) ElementType() reflect.Type

func (*EntityTags) ToEntityTagsOutput

func (i *EntityTags) ToEntityTagsOutput() EntityTagsOutput

func (*EntityTags) ToEntityTagsOutputWithContext

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

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

type EntityTagsArray []EntityTagsInput

func (EntityTagsArray) ElementType

func (EntityTagsArray) ElementType() reflect.Type

func (EntityTagsArray) ToEntityTagsArrayOutput

func (i EntityTagsArray) ToEntityTagsArrayOutput() EntityTagsArrayOutput

func (EntityTagsArray) ToEntityTagsArrayOutputWithContext

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

type EntityTagsArrayInput

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

type EntityTagsArrayOutput struct{ *pulumi.OutputState }

func (EntityTagsArrayOutput) ElementType

func (EntityTagsArrayOutput) ElementType() reflect.Type

func (EntityTagsArrayOutput) Index

func (EntityTagsArrayOutput) ToEntityTagsArrayOutput

func (o EntityTagsArrayOutput) ToEntityTagsArrayOutput() EntityTagsArrayOutput

func (EntityTagsArrayOutput) ToEntityTagsArrayOutputWithContext

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

type EntityTagsInput

type EntityTagsInput interface {
	pulumi.Input

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

type EntityTagsMap

type EntityTagsMap map[string]EntityTagsInput

func (EntityTagsMap) ElementType

func (EntityTagsMap) ElementType() reflect.Type

func (EntityTagsMap) ToEntityTagsMapOutput

func (i EntityTagsMap) ToEntityTagsMapOutput() EntityTagsMapOutput

func (EntityTagsMap) ToEntityTagsMapOutputWithContext

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

type EntityTagsMapInput

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

type EntityTagsMapOutput struct{ *pulumi.OutputState }

func (EntityTagsMapOutput) ElementType

func (EntityTagsMapOutput) ElementType() reflect.Type

func (EntityTagsMapOutput) MapIndex

func (EntityTagsMapOutput) ToEntityTagsMapOutput

func (o EntityTagsMapOutput) ToEntityTagsMapOutput() EntityTagsMapOutput

func (EntityTagsMapOutput) ToEntityTagsMapOutputWithContext

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

type EntityTagsOutput

type EntityTagsOutput struct{ *pulumi.OutputState }

func (EntityTagsOutput) ElementType

func (EntityTagsOutput) ElementType() reflect.Type

func (EntityTagsOutput) Guid added in v4.15.0

The guid of the entity to tag.

func (EntityTagsOutput) Tags added in v4.15.0

A nested block that describes an entity tag. See Nested tag blocks below for details.

func (EntityTagsOutput) ToEntityTagsOutput

func (o EntityTagsOutput) ToEntityTagsOutput() EntityTagsOutput

func (EntityTagsOutput) ToEntityTagsOutputWithContext

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

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/v4/go/newrelic"
"github.com/pulumi/pulumi/sdk/v3/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

func (*EventsToMetricsRule) ElementType() reflect.Type

func (*EventsToMetricsRule) ToEventsToMetricsRuleOutput

func (i *EventsToMetricsRule) ToEventsToMetricsRuleOutput() EventsToMetricsRuleOutput

func (*EventsToMetricsRule) ToEventsToMetricsRuleOutputWithContext

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

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

type EventsToMetricsRuleArray []EventsToMetricsRuleInput

func (EventsToMetricsRuleArray) ElementType

func (EventsToMetricsRuleArray) ElementType() reflect.Type

func (EventsToMetricsRuleArray) ToEventsToMetricsRuleArrayOutput

func (i EventsToMetricsRuleArray) ToEventsToMetricsRuleArrayOutput() EventsToMetricsRuleArrayOutput

func (EventsToMetricsRuleArray) ToEventsToMetricsRuleArrayOutputWithContext

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

type EventsToMetricsRuleArrayInput

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

type EventsToMetricsRuleArrayOutput struct{ *pulumi.OutputState }

func (EventsToMetricsRuleArrayOutput) ElementType

func (EventsToMetricsRuleArrayOutput) Index

func (EventsToMetricsRuleArrayOutput) ToEventsToMetricsRuleArrayOutput

func (o EventsToMetricsRuleArrayOutput) ToEventsToMetricsRuleArrayOutput() EventsToMetricsRuleArrayOutput

func (EventsToMetricsRuleArrayOutput) ToEventsToMetricsRuleArrayOutputWithContext

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

type EventsToMetricsRuleInput

type EventsToMetricsRuleInput interface {
	pulumi.Input

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

type EventsToMetricsRuleMap

type EventsToMetricsRuleMap map[string]EventsToMetricsRuleInput

func (EventsToMetricsRuleMap) ElementType

func (EventsToMetricsRuleMap) ElementType() reflect.Type

func (EventsToMetricsRuleMap) ToEventsToMetricsRuleMapOutput

func (i EventsToMetricsRuleMap) ToEventsToMetricsRuleMapOutput() EventsToMetricsRuleMapOutput

func (EventsToMetricsRuleMap) ToEventsToMetricsRuleMapOutputWithContext

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

type EventsToMetricsRuleMapInput

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

type EventsToMetricsRuleMapOutput struct{ *pulumi.OutputState }

func (EventsToMetricsRuleMapOutput) ElementType

func (EventsToMetricsRuleMapOutput) MapIndex

func (EventsToMetricsRuleMapOutput) ToEventsToMetricsRuleMapOutput

func (o EventsToMetricsRuleMapOutput) ToEventsToMetricsRuleMapOutput() EventsToMetricsRuleMapOutput

func (EventsToMetricsRuleMapOutput) ToEventsToMetricsRuleMapOutputWithContext

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

type EventsToMetricsRuleOutput

type EventsToMetricsRuleOutput struct{ *pulumi.OutputState }

func (EventsToMetricsRuleOutput) AccountId added in v4.15.0

Account with the event and where the metrics will be put.

func (EventsToMetricsRuleOutput) Description added in v4.15.0

Provides additional information about the rule.

func (EventsToMetricsRuleOutput) ElementType

func (EventsToMetricsRuleOutput) ElementType() reflect.Type

func (EventsToMetricsRuleOutput) Enabled added in v4.15.0

True means this rule is enabled. False means the rule is currently not creating metrics.

func (EventsToMetricsRuleOutput) Name added in v4.15.0

The name of the rule. This must be unique within an account.

func (EventsToMetricsRuleOutput) Nrql added in v4.15.0

Explains how to create metrics from events.

func (EventsToMetricsRuleOutput) RuleId added in v4.15.0

The id, uniquely identifying the rule.

func (EventsToMetricsRuleOutput) ToEventsToMetricsRuleOutput

func (o EventsToMetricsRuleOutput) ToEventsToMetricsRuleOutput() EventsToMetricsRuleOutput

func (EventsToMetricsRuleOutput) ToEventsToMetricsRuleOutputWithContext

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

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 GetAccountOutputArgs added in v4.7.0

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

A collection of arguments for invoking getAccount.

func (GetAccountOutputArgs) ElementType added in v4.7.0

func (GetAccountOutputArgs) ElementType() reflect.Type

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/v4/go/newrelic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

type GetAccountResultOutput added in v4.7.0

type GetAccountResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccount.

func GetAccountOutput added in v4.7.0

func GetAccountOutput(ctx *pulumi.Context, args GetAccountOutputArgs, opts ...pulumi.InvokeOption) GetAccountResultOutput

func (GetAccountResultOutput) AccountId added in v4.7.0

func (GetAccountResultOutput) ElementType added in v4.7.0

func (GetAccountResultOutput) ElementType() reflect.Type

func (GetAccountResultOutput) Id added in v4.7.0

The provider-assigned unique ID for this managed resource.

func (GetAccountResultOutput) Name added in v4.7.0

func (GetAccountResultOutput) Scope added in v4.7.0

func (GetAccountResultOutput) ToGetAccountResultOutput added in v4.7.0

func (o GetAccountResultOutput) ToGetAccountResultOutput() GetAccountResultOutput

func (GetAccountResultOutput) ToGetAccountResultOutputWithContext added in v4.7.0

func (o GetAccountResultOutput) ToGetAccountResultOutputWithContext(ctx context.Context) GetAccountResultOutput

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"`
	PayloadString         *string           `pulumi:"payloadString"`
	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"`
	PayloadString         pulumi.StringPtrInput `pulumi:"payloadString"`
	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) PayloadString added in v4.14.0

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 GetApplicationOutputArgs added in v4.7.0

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

A collection of arguments for invoking getApplication.

func (GetApplicationOutputArgs) ElementType added in v4.7.0

func (GetApplicationOutputArgs) ElementType() reflect.Type

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/v4/go/newrelic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		app, err := newrelic.GetApplication(ctx, &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: AlertConditionTermArray{
				&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 GetApplicationResultOutput added in v4.7.0

type GetApplicationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getApplication.

func GetApplicationOutput added in v4.7.0

func GetApplicationOutput(ctx *pulumi.Context, args GetApplicationOutputArgs, opts ...pulumi.InvokeOption) GetApplicationResultOutput

func (GetApplicationResultOutput) ElementType added in v4.7.0

func (GetApplicationResultOutput) ElementType() reflect.Type

func (GetApplicationResultOutput) HostIds added in v4.7.0

A list of host IDs associated with the application.

func (GetApplicationResultOutput) Id added in v4.7.0

The provider-assigned unique ID for this managed resource.

func (GetApplicationResultOutput) InstanceIds added in v4.7.0

A list of instance IDs associated with the application.

func (GetApplicationResultOutput) Name added in v4.7.0

func (GetApplicationResultOutput) ToGetApplicationResultOutput added in v4.7.0

func (o GetApplicationResultOutput) ToGetApplicationResultOutput() GetApplicationResultOutput

func (GetApplicationResultOutput) ToGetApplicationResultOutputWithContext added in v4.7.0

func (o GetApplicationResultOutput) ToGetApplicationResultOutputWithContext(ctx context.Context) GetApplicationResultOutput

type GetCloudAccountArgs added in v4.12.0

type GetCloudAccountArgs struct {
	// The account ID in New Relic.
	AccountId *int `pulumi:"accountId"`
	// The cloud provider of the account (aws, gcp, azure, etc)
	CloudProvider string `pulumi:"cloudProvider"`
	// The cloud account name in New Relic.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getCloudAccount.

type GetCloudAccountOutputArgs added in v4.12.0

type GetCloudAccountOutputArgs struct {
	// The account ID in New Relic.
	AccountId pulumi.IntPtrInput `pulumi:"accountId"`
	// The cloud provider of the account (aws, gcp, azure, etc)
	CloudProvider pulumi.StringInput `pulumi:"cloudProvider"`
	// The cloud account name in New Relic.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getCloudAccount.

func (GetCloudAccountOutputArgs) ElementType added in v4.12.0

func (GetCloudAccountOutputArgs) ElementType() reflect.Type

type GetCloudAccountResult added in v4.12.0

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

A collection of values returned by getCloudAccount.

func GetCloudAccount added in v4.12.0

func GetCloudAccount(ctx *pulumi.Context, args *GetCloudAccountArgs, opts ...pulumi.InvokeOption) (*GetCloudAccountResult, error)

Use this data source to get information about a specific cloud account linked to New Relic. Accounts can be located by a combination of New Relic Account ID, name and cloud provider (aws, gcp, azure, etc). Name and cloud provider are required attributes. If no accountId is specified on the resource the provider level accountId will be used.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.GetCloudAccount(ctx, &GetCloudAccountArgs{
			AccountId:     pulumi.IntRef(12345),
			CloudProvider: "aws",
			Name:          "my aws account",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetCloudAccountResultOutput added in v4.12.0

type GetCloudAccountResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCloudAccount.

func GetCloudAccountOutput added in v4.12.0

func (GetCloudAccountResultOutput) AccountId added in v4.12.0

func (GetCloudAccountResultOutput) CloudProvider added in v4.12.0

func (GetCloudAccountResultOutput) ElementType added in v4.12.0

func (GetCloudAccountResultOutput) Id added in v4.12.0

The provider-assigned unique ID for this managed resource.

func (GetCloudAccountResultOutput) Name added in v4.12.0

func (GetCloudAccountResultOutput) ToGetCloudAccountResultOutput added in v4.12.0

func (o GetCloudAccountResultOutput) ToGetCloudAccountResultOutput() GetCloudAccountResultOutput

func (GetCloudAccountResultOutput) ToGetCloudAccountResultOutputWithContext added in v4.12.0

func (o GetCloudAccountResultOutput) ToGetCloudAccountResultOutputWithContext(ctx context.Context) GetCloudAccountResultOutput

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"`
	// Ignore case of the `name` when searching for the entity. Defaults to false.
	IgnoreCase *bool `pulumi:"ignoreCase"`
	// 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 GetEntityOutputArgs added in v4.7.0

type GetEntityOutputArgs struct {
	// The entity's domain. Valid values are APM, BROWSER, INFRA, MOBILE, SYNTH, and VIZ. If not specified, all domains are searched.
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// Ignore case of the `name` when searching for the entity. Defaults to false.
	IgnoreCase pulumi.BoolPtrInput `pulumi:"ignoreCase"`
	// The name of the entity in New Relic One.  The first entity matching this name for the given search parameters will be returned.
	Name pulumi.StringInput   `pulumi:"name"`
	Tag  GetEntityTagPtrInput `pulumi:"tag"`
	// The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, and WORKLOAD.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

A collection of arguments for invoking getEntity.

func (GetEntityOutputArgs) ElementType added in v4.7.0

func (GetEntityOutputArgs) ElementType() reflect.Type

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"`
	IgnoreCase              *bool         `pulumi:"ignoreCase"`
	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 GetEntityResultOutput added in v4.7.0

type GetEntityResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEntity.

func GetEntityOutput added in v4.7.0

func GetEntityOutput(ctx *pulumi.Context, args GetEntityOutputArgs, opts ...pulumi.InvokeOption) GetEntityResultOutput

func (GetEntityResultOutput) AccountId added in v4.7.0

func (o GetEntityResultOutput) AccountId() pulumi.IntOutput

The New Relic account ID associated with this entity.

func (GetEntityResultOutput) ApplicationId added in v4.7.0

func (o GetEntityResultOutput) ApplicationId() pulumi.IntOutput

The domain-specific application ID of the entity. Only returned for APM and Browser applications.

func (GetEntityResultOutput) Domain added in v4.7.0

func (GetEntityResultOutput) ElementType added in v4.7.0

func (GetEntityResultOutput) ElementType() reflect.Type

func (GetEntityResultOutput) Guid added in v4.7.0

The unique GUID of the entity.

func (GetEntityResultOutput) Id added in v4.7.0

The provider-assigned unique ID for this managed resource.

func (GetEntityResultOutput) IgnoreCase added in v4.7.0

func (GetEntityResultOutput) Name added in v4.7.0

func (GetEntityResultOutput) ServingApmApplicationId added in v4.7.0

func (o GetEntityResultOutput) ServingApmApplicationId() pulumi.IntOutput

func (GetEntityResultOutput) Tag added in v4.7.0

func (GetEntityResultOutput) ToGetEntityResultOutput added in v4.7.0

func (o GetEntityResultOutput) ToGetEntityResultOutput() GetEntityResultOutput

func (GetEntityResultOutput) ToGetEntityResultOutputWithContext added in v4.7.0

func (o GetEntityResultOutput) ToGetEntityResultOutputWithContext(ctx context.Context) GetEntityResultOutput

func (GetEntityResultOutput) Type added in v4.7.0

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

func (GetEntityTagArgs) ToGetEntityTagPtrOutput added in v4.7.0

func (i GetEntityTagArgs) ToGetEntityTagPtrOutput() GetEntityTagPtrOutput

func (GetEntityTagArgs) ToGetEntityTagPtrOutputWithContext added in v4.7.0

func (i GetEntityTagArgs) ToGetEntityTagPtrOutputWithContext(ctx context.Context) GetEntityTagPtrOutput

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) ToGetEntityTagPtrOutput added in v4.7.0

func (o GetEntityTagOutput) ToGetEntityTagPtrOutput() GetEntityTagPtrOutput

func (GetEntityTagOutput) ToGetEntityTagPtrOutputWithContext added in v4.7.0

func (o GetEntityTagOutput) ToGetEntityTagPtrOutputWithContext(ctx context.Context) GetEntityTagPtrOutput

func (GetEntityTagOutput) Value

type GetEntityTagPtrInput added in v4.7.0

type GetEntityTagPtrInput interface {
	pulumi.Input

	ToGetEntityTagPtrOutput() GetEntityTagPtrOutput
	ToGetEntityTagPtrOutputWithContext(context.Context) GetEntityTagPtrOutput
}

GetEntityTagPtrInput is an input type that accepts GetEntityTagArgs, GetEntityTagPtr and GetEntityTagPtrOutput values. You can construct a concrete instance of `GetEntityTagPtrInput` via:

        GetEntityTagArgs{...}

or:

        nil

func GetEntityTagPtr added in v4.7.0

func GetEntityTagPtr(v *GetEntityTagArgs) GetEntityTagPtrInput

type GetEntityTagPtrOutput added in v4.7.0

type GetEntityTagPtrOutput struct{ *pulumi.OutputState }

func (GetEntityTagPtrOutput) Elem added in v4.7.0

func (GetEntityTagPtrOutput) ElementType added in v4.7.0

func (GetEntityTagPtrOutput) ElementType() reflect.Type

func (GetEntityTagPtrOutput) Key added in v4.7.0

func (GetEntityTagPtrOutput) ToGetEntityTagPtrOutput added in v4.7.0

func (o GetEntityTagPtrOutput) ToGetEntityTagPtrOutput() GetEntityTagPtrOutput

func (GetEntityTagPtrOutput) ToGetEntityTagPtrOutputWithContext added in v4.7.0

func (o GetEntityTagPtrOutput) ToGetEntityTagPtrOutputWithContext(ctx context.Context) GetEntityTagPtrOutput

func (GetEntityTagPtrOutput) Value added in v4.7.0

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 GetKeyTransactionOutputArgs added in v4.7.0

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

A collection of arguments for invoking getKeyTransaction.

func (GetKeyTransactionOutputArgs) ElementType added in v4.7.0

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/v4/go/newrelic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		txn, err := newrelic.GetKeyTransaction(ctx, &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: AlertConditionTermArray{
				&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 GetKeyTransactionResultOutput added in v4.7.0

type GetKeyTransactionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKeyTransaction.

func GetKeyTransactionOutput added in v4.7.0

func (GetKeyTransactionResultOutput) ElementType added in v4.7.0

func (GetKeyTransactionResultOutput) Id added in v4.7.0

The provider-assigned unique ID for this managed resource.

func (GetKeyTransactionResultOutput) Name added in v4.7.0

func (GetKeyTransactionResultOutput) ToGetKeyTransactionResultOutput added in v4.7.0

func (o GetKeyTransactionResultOutput) ToGetKeyTransactionResultOutput() GetKeyTransactionResultOutput

func (GetKeyTransactionResultOutput) ToGetKeyTransactionResultOutputWithContext added in v4.7.0

func (o GetKeyTransactionResultOutput) ToGetKeyTransactionResultOutputWithContext(ctx context.Context) GetKeyTransactionResultOutput

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 (in hours) before a violation is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
	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/v4/go/newrelic"
"github.com/pulumi/pulumi/sdk/v3/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(),
			Description: pulumi.String(fmt.Sprintf("Warning if disk usage goes above 80%v and critical alert if goes above 90%v", "%", "%")),
			Type:        pulumi.String("infra_metric"),
			Event:       pulumi.String("StorageSample"),
			Select:      pulumi.String("diskUsedPercent"),
			Comparison:  pulumi.String("above"),
			Where:       pulumi.String(fmt.Sprintf("(hostname LIKE '%vfrontend%v')", "%", "%")),
			Critical: &InfraAlertConditionCriticalArgs{
				Duration:     pulumi.Int(25),
				Value:        pulumi.Float64(90),
				TimeFunction: pulumi.String("all"),
			},
			Warning: &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(),
			Description:         pulumi.String("Critical alert when the number of database connections goes above 90"),
			Type:                pulumi.String("infra_metric"),
			Event:               pulumi.String("DatastoreSample"),
			Select:              pulumi.String("provider.databaseConnections.Average"),
			Comparison:          pulumi.String("above"),
			Where:               pulumi.String(fmt.Sprintf("(hostname LIKE '%vdb%v')", "%", "%")),
			IntegrationProvider: pulumi.String("RdsDbInstance"),
			Critical: &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(),
			Description:  pulumi.String("Critical alert when ruby isn't running"),
			Type:         pulumi.String("infra_process_running"),
			Comparison:   pulumi.String("equal"),
			Where:        pulumi.String("hostname = 'web01'"),
			ProcessWhere: pulumi.String("commandName = '/usr/bin/ruby'"),
			Critical: &InfraAlertConditionCriticalArgs{
				Duration: pulumi.Int(5),
				Value:    pulumi.Float64(0),
			},
		})
		if err != nil {
			return err
		}
		_, err = newrelic.NewInfraAlertCondition(ctx, "hostNotReporting", &newrelic.InfraAlertConditionArgs{
			PolicyId:    foo.ID(),
			Description: pulumi.String("Critical alert when the host is not reporting"),
			Type:        pulumi.String("infra_host_not_reporting"),
			Where:       pulumi.String(fmt.Sprintf("(hostname LIKE '%vfrontend%v')", "%", "%")),
			Critical: &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

func (*InfraAlertCondition) ElementType() reflect.Type

func (*InfraAlertCondition) ToInfraAlertConditionOutput

func (i *InfraAlertCondition) ToInfraAlertConditionOutput() InfraAlertConditionOutput

func (*InfraAlertCondition) ToInfraAlertConditionOutputWithContext

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

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 (in hours) before a violation is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
	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

type InfraAlertConditionArray []InfraAlertConditionInput

func (InfraAlertConditionArray) ElementType

func (InfraAlertConditionArray) ElementType() reflect.Type

func (InfraAlertConditionArray) ToInfraAlertConditionArrayOutput

func (i InfraAlertConditionArray) ToInfraAlertConditionArrayOutput() InfraAlertConditionArrayOutput

func (InfraAlertConditionArray) ToInfraAlertConditionArrayOutputWithContext

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

type InfraAlertConditionArrayInput

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

type InfraAlertConditionArrayOutput struct{ *pulumi.OutputState }

func (InfraAlertConditionArrayOutput) ElementType

func (InfraAlertConditionArrayOutput) Index

func (InfraAlertConditionArrayOutput) ToInfraAlertConditionArrayOutput

func (o InfraAlertConditionArrayOutput) ToInfraAlertConditionArrayOutput() InfraAlertConditionArrayOutput

func (InfraAlertConditionArrayOutput) ToInfraAlertConditionArrayOutputWithContext

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

type InfraAlertConditionInput interface {
	pulumi.Input

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

type InfraAlertConditionMap

type InfraAlertConditionMap map[string]InfraAlertConditionInput

func (InfraAlertConditionMap) ElementType

func (InfraAlertConditionMap) ElementType() reflect.Type

func (InfraAlertConditionMap) ToInfraAlertConditionMapOutput

func (i InfraAlertConditionMap) ToInfraAlertConditionMapOutput() InfraAlertConditionMapOutput

func (InfraAlertConditionMap) ToInfraAlertConditionMapOutputWithContext

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

type InfraAlertConditionMapInput

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

type InfraAlertConditionMapOutput struct{ *pulumi.OutputState }

func (InfraAlertConditionMapOutput) ElementType

func (InfraAlertConditionMapOutput) MapIndex

func (InfraAlertConditionMapOutput) ToInfraAlertConditionMapOutput

func (o InfraAlertConditionMapOutput) ToInfraAlertConditionMapOutput() InfraAlertConditionMapOutput

func (InfraAlertConditionMapOutput) ToInfraAlertConditionMapOutputWithContext

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

type InfraAlertConditionOutput

type InfraAlertConditionOutput struct{ *pulumi.OutputState }

func (InfraAlertConditionOutput) Comparison added in v4.15.0

The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infraMetric` and `infraProcessRunning` condition types.

func (InfraAlertConditionOutput) CreatedAt added in v4.15.0

The timestamp the alert condition was created.

func (InfraAlertConditionOutput) Critical added in v4.15.0

Identifies the threshold parameters for opening a critical alert violation. See Thresholds below for details.

func (InfraAlertConditionOutput) Description added in v4.15.0

The description of the Infrastructure alert condition.

func (InfraAlertConditionOutput) ElementType

func (InfraAlertConditionOutput) ElementType() reflect.Type

func (InfraAlertConditionOutput) Enabled added in v4.15.0

Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.

func (InfraAlertConditionOutput) Event added in v4.15.0

The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infraMetric` condition type.

func (InfraAlertConditionOutput) IntegrationProvider added in v4.15.0

func (o InfraAlertConditionOutput) IntegrationProvider() pulumi.StringPtrOutput

For alerts on integrations, use this instead of `event`. Supported by the `infraMetric` condition type.

func (InfraAlertConditionOutput) Name added in v4.15.0

The Infrastructure alert condition's name.

func (InfraAlertConditionOutput) PolicyId added in v4.15.0

The ID of the alert policy where this condition should be used.

func (InfraAlertConditionOutput) ProcessWhere added in v4.15.0

Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infraProcessRunning` condition type.

func (InfraAlertConditionOutput) RunbookUrl added in v4.15.0

Runbook URL to display in notifications.

func (InfraAlertConditionOutput) Select added in v4.15.0

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.

func (InfraAlertConditionOutput) ToInfraAlertConditionOutput

func (o InfraAlertConditionOutput) ToInfraAlertConditionOutput() InfraAlertConditionOutput

func (InfraAlertConditionOutput) ToInfraAlertConditionOutputWithContext

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

func (InfraAlertConditionOutput) Type added in v4.15.0

The type of Infrastructure alert condition. Valid values are `infraProcessRunning`, `infraMetric`, and `infraHostNotReporting`.

func (InfraAlertConditionOutput) UpdatedAt added in v4.15.0

The timestamp the alert condition was last updated.

func (InfraAlertConditionOutput) ViolationCloseTimer added in v4.15.0

func (o InfraAlertConditionOutput) ViolationCloseTimer() pulumi.IntPtrOutput

Determines how much time will pass (in hours) before a violation is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.

func (InfraAlertConditionOutput) Warning added in v4.15.0

Identifies the threshold parameters for opening a warning alert violation. See Thresholds below for details.

func (InfraAlertConditionOutput) Where added in v4.15.0

If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.

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 (in hours) before a violation is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
	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 LookupAlertChannelOutputArgs added in v4.7.0

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

A collection of arguments for invoking getAlertChannel.

func (LookupAlertChannelOutputArgs) ElementType added in v4.7.0

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 LookupAlertChannelResultOutput added in v4.7.0

type LookupAlertChannelResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAlertChannel.

func LookupAlertChannelOutput added in v4.7.0

func (LookupAlertChannelResultOutput) Config added in v4.7.0

Alert channel configuration.

func (LookupAlertChannelResultOutput) ElementType added in v4.7.0

func (LookupAlertChannelResultOutput) Id added in v4.7.0

The provider-assigned unique ID for this managed resource.

func (LookupAlertChannelResultOutput) Name added in v4.7.0

func (LookupAlertChannelResultOutput) PolicyIds added in v4.7.0

A list of policy IDs associated with the alert channel.

func (LookupAlertChannelResultOutput) ToLookupAlertChannelResultOutput added in v4.7.0

func (o LookupAlertChannelResultOutput) ToLookupAlertChannelResultOutput() LookupAlertChannelResultOutput

func (LookupAlertChannelResultOutput) ToLookupAlertChannelResultOutputWithContext added in v4.7.0

func (o LookupAlertChannelResultOutput) ToLookupAlertChannelResultOutputWithContext(ctx context.Context) LookupAlertChannelResultOutput

func (LookupAlertChannelResultOutput) Type added in v4.7.0

Alert channel type, either: `email`, `opsgenie`, `pagerduty`, `slack`, `victorops`, or `webhook`.

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 LookupAlertPolicyOutputArgs added in v4.7.0

type LookupAlertPolicyOutputArgs struct {
	AccountId pulumi.IntPtrInput `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 pulumi.StringPtrInput `pulumi:"incidentPreference"`
	// The name of the alert policy in New Relic.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getAlertPolicy.

func (LookupAlertPolicyOutputArgs) ElementType added in v4.7.0

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 LookupAlertPolicyResultOutput added in v4.7.0

type LookupAlertPolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAlertPolicy.

func LookupAlertPolicyOutput added in v4.7.0

func (LookupAlertPolicyResultOutput) AccountId added in v4.7.0

func (LookupAlertPolicyResultOutput) CreatedAt added in v4.7.0

The time the policy was created.

func (LookupAlertPolicyResultOutput) ElementType added in v4.7.0

func (LookupAlertPolicyResultOutput) Id added in v4.7.0

The provider-assigned unique ID for this managed resource.

func (LookupAlertPolicyResultOutput) IncidentPreference added in v4.7.0

func (o LookupAlertPolicyResultOutput) IncidentPreference() pulumi.StringPtrOutput

The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY.

func (LookupAlertPolicyResultOutput) Name added in v4.7.0

func (LookupAlertPolicyResultOutput) ToLookupAlertPolicyResultOutput added in v4.7.0

func (o LookupAlertPolicyResultOutput) ToLookupAlertPolicyResultOutput() LookupAlertPolicyResultOutput

func (LookupAlertPolicyResultOutput) ToLookupAlertPolicyResultOutputWithContext added in v4.7.0

func (o LookupAlertPolicyResultOutput) ToLookupAlertPolicyResultOutputWithContext(ctx context.Context) LookupAlertPolicyResultOutput

func (LookupAlertPolicyResultOutput) UpdatedAt added in v4.7.0

The time the policy was last updated.

type NotificationChannel added in v4.19.0

type NotificationChannel struct {
	pulumi.CustomResourceState

	// The id of the destination.
	DestinationId pulumi.StringOutput `pulumi:"destinationId"`
	// The name of the channel.
	Name pulumi.StringOutput `pulumi:"name"`
	// The type of product.  One of: `ALERTS`, `DISCUSSIONS`, `ERROR_TRACKING`, `IINT`, `NTFC`, `PD` or `SHARING`.
	Product pulumi.StringOutput `pulumi:"product"`
	// A nested block that describes a notification channel properties.  Only one properties block is permitted per notification channel definition.  See Nested properties blocks below for details.
	Properties NotificationChannelPropertyArrayOutput `pulumi:"properties"`
	// The type of channel.  One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `WEBHOOK`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`.
	Type pulumi.StringOutput `pulumi:"type"`
}

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

## Example Usage

##### Webhook ```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewNotificationChannel(ctx, "foo", &newrelic.NotificationChannelArgs{
			DestinationId: pulumi.String("1234"),
			Product:       pulumi.String("IINT"),
			Properties: NotificationChannelPropertyArray{
				&NotificationChannelPropertyArgs{
					Key:   pulumi.String("payload"),
					Label: pulumi.String("Payload Template"),
					Value: pulumi.String(fmt.Sprintf("{\n	\"name\": \"foo\"\n}\n")),
				},
			},
			Type: pulumi.String("WEBHOOK"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` See additional examples. ## Additional Examples

##### ServiceNow ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewNotificationChannel(ctx, "foo", &newrelic.NotificationChannelArgs{
			DestinationId: pulumi.String("1234"),
			Product:       pulumi.String("PD"),
			Properties: NotificationChannelPropertyArray{
				&NotificationChannelPropertyArgs{
					Key:   pulumi.String("description"),
					Value: pulumi.String("General description"),
				},
				&NotificationChannelPropertyArgs{
					Key:   pulumi.String("short_description"),
					Value: pulumi.String("Short description"),
				},
			},
			Type: pulumi.String("SERVICENOW_INCIDENTS"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

##### Email ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewNotificationChannel(ctx, "foo", &newrelic.NotificationChannelArgs{
			DestinationId: pulumi.String("1234"),
			Product:       pulumi.String("ERROR_TRACKING"),
			Type:          pulumi.String("EMAIL"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

##### PagerDuty with account integration ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewNotificationChannel(ctx, "foo", &newrelic.NotificationChannelArgs{
			DestinationId: pulumi.String("1234"),
			Product:       pulumi.String("IINT"),
			Properties: NotificationChannelPropertyArray{
				&NotificationChannelPropertyArgs{
					Key:   pulumi.String("summary"),
					Value: pulumi.String("General summary"),
				},
				&NotificationChannelPropertyArgs{
					Key:   pulumi.String("service"),
					Value: pulumi.String("1234"),
				},
				&NotificationChannelPropertyArgs{
					Key:   pulumi.String("email"),
					Value: pulumi.String("test@test.com"),
				},
			},
			Type: pulumi.String("PAGERDUTY_ACCOUNT_INTEGRATION"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

##### PagerDuty with service integration ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewNotificationChannel(ctx, "foo", &newrelic.NotificationChannelArgs{
			DestinationId: pulumi.String("1234"),
			Product:       pulumi.String("IINT"),
			Properties: NotificationChannelPropertyArray{
				&NotificationChannelPropertyArgs{
					Key:   pulumi.String("summary"),
					Value: pulumi.String("General summary"),
				},
			},
			Type: pulumi.String("PAGERDUTY_SERVICE_INTEGRATION"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

> **NOTE:** Sensitive data such as channel API keys, service keys, etc are not returned from the underlying API for security reasons and may not be set in state when importing.

func GetNotificationChannel added in v4.19.0

func GetNotificationChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NotificationChannelState, opts ...pulumi.ResourceOption) (*NotificationChannel, error)

GetNotificationChannel gets an existing NotificationChannel 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 NewNotificationChannel added in v4.19.0

func NewNotificationChannel(ctx *pulumi.Context,
	name string, args *NotificationChannelArgs, opts ...pulumi.ResourceOption) (*NotificationChannel, error)

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

func (*NotificationChannel) ElementType added in v4.19.0

func (*NotificationChannel) ElementType() reflect.Type

func (*NotificationChannel) ToNotificationChannelOutput added in v4.19.0

func (i *NotificationChannel) ToNotificationChannelOutput() NotificationChannelOutput

func (*NotificationChannel) ToNotificationChannelOutputWithContext added in v4.19.0

func (i *NotificationChannel) ToNotificationChannelOutputWithContext(ctx context.Context) NotificationChannelOutput

type NotificationChannelArgs added in v4.19.0

type NotificationChannelArgs struct {
	// The id of the destination.
	DestinationId pulumi.StringInput
	// The name of the channel.
	Name pulumi.StringPtrInput
	// The type of product.  One of: `ALERTS`, `DISCUSSIONS`, `ERROR_TRACKING`, `IINT`, `NTFC`, `PD` or `SHARING`.
	Product pulumi.StringInput
	// A nested block that describes a notification channel properties.  Only one properties block is permitted per notification channel definition.  See Nested properties blocks below for details.
	Properties NotificationChannelPropertyArrayInput
	// The type of channel.  One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `WEBHOOK`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`.
	Type pulumi.StringInput
}

The set of arguments for constructing a NotificationChannel resource.

func (NotificationChannelArgs) ElementType added in v4.19.0

func (NotificationChannelArgs) ElementType() reflect.Type

type NotificationChannelArray added in v4.19.0

type NotificationChannelArray []NotificationChannelInput

func (NotificationChannelArray) ElementType added in v4.19.0

func (NotificationChannelArray) ElementType() reflect.Type

func (NotificationChannelArray) ToNotificationChannelArrayOutput added in v4.19.0

func (i NotificationChannelArray) ToNotificationChannelArrayOutput() NotificationChannelArrayOutput

func (NotificationChannelArray) ToNotificationChannelArrayOutputWithContext added in v4.19.0

func (i NotificationChannelArray) ToNotificationChannelArrayOutputWithContext(ctx context.Context) NotificationChannelArrayOutput

type NotificationChannelArrayInput added in v4.19.0

type NotificationChannelArrayInput interface {
	pulumi.Input

	ToNotificationChannelArrayOutput() NotificationChannelArrayOutput
	ToNotificationChannelArrayOutputWithContext(context.Context) NotificationChannelArrayOutput
}

NotificationChannelArrayInput is an input type that accepts NotificationChannelArray and NotificationChannelArrayOutput values. You can construct a concrete instance of `NotificationChannelArrayInput` via:

NotificationChannelArray{ NotificationChannelArgs{...} }

type NotificationChannelArrayOutput added in v4.19.0

type NotificationChannelArrayOutput struct{ *pulumi.OutputState }

func (NotificationChannelArrayOutput) ElementType added in v4.19.0

func (NotificationChannelArrayOutput) Index added in v4.19.0

func (NotificationChannelArrayOutput) ToNotificationChannelArrayOutput added in v4.19.0

func (o NotificationChannelArrayOutput) ToNotificationChannelArrayOutput() NotificationChannelArrayOutput

func (NotificationChannelArrayOutput) ToNotificationChannelArrayOutputWithContext added in v4.19.0

func (o NotificationChannelArrayOutput) ToNotificationChannelArrayOutputWithContext(ctx context.Context) NotificationChannelArrayOutput

type NotificationChannelInput added in v4.19.0

type NotificationChannelInput interface {
	pulumi.Input

	ToNotificationChannelOutput() NotificationChannelOutput
	ToNotificationChannelOutputWithContext(ctx context.Context) NotificationChannelOutput
}

type NotificationChannelMap added in v4.19.0

type NotificationChannelMap map[string]NotificationChannelInput

func (NotificationChannelMap) ElementType added in v4.19.0

func (NotificationChannelMap) ElementType() reflect.Type

func (NotificationChannelMap) ToNotificationChannelMapOutput added in v4.19.0

func (i NotificationChannelMap) ToNotificationChannelMapOutput() NotificationChannelMapOutput

func (NotificationChannelMap) ToNotificationChannelMapOutputWithContext added in v4.19.0

func (i NotificationChannelMap) ToNotificationChannelMapOutputWithContext(ctx context.Context) NotificationChannelMapOutput

type NotificationChannelMapInput added in v4.19.0

type NotificationChannelMapInput interface {
	pulumi.Input

	ToNotificationChannelMapOutput() NotificationChannelMapOutput
	ToNotificationChannelMapOutputWithContext(context.Context) NotificationChannelMapOutput
}

NotificationChannelMapInput is an input type that accepts NotificationChannelMap and NotificationChannelMapOutput values. You can construct a concrete instance of `NotificationChannelMapInput` via:

NotificationChannelMap{ "key": NotificationChannelArgs{...} }

type NotificationChannelMapOutput added in v4.19.0

type NotificationChannelMapOutput struct{ *pulumi.OutputState }

func (NotificationChannelMapOutput) ElementType added in v4.19.0

func (NotificationChannelMapOutput) MapIndex added in v4.19.0

func (NotificationChannelMapOutput) ToNotificationChannelMapOutput added in v4.19.0

func (o NotificationChannelMapOutput) ToNotificationChannelMapOutput() NotificationChannelMapOutput

func (NotificationChannelMapOutput) ToNotificationChannelMapOutputWithContext added in v4.19.0

func (o NotificationChannelMapOutput) ToNotificationChannelMapOutputWithContext(ctx context.Context) NotificationChannelMapOutput

type NotificationChannelOutput added in v4.19.0

type NotificationChannelOutput struct{ *pulumi.OutputState }

func (NotificationChannelOutput) DestinationId added in v4.19.0

func (o NotificationChannelOutput) DestinationId() pulumi.StringOutput

The id of the destination.

func (NotificationChannelOutput) ElementType added in v4.19.0

func (NotificationChannelOutput) ElementType() reflect.Type

func (NotificationChannelOutput) Name added in v4.19.0

The name of the channel.

func (NotificationChannelOutput) Product added in v4.19.0

The type of product. One of: `ALERTS`, `DISCUSSIONS`, `ERROR_TRACKING`, `IINT`, `NTFC`, `PD` or `SHARING`.

func (NotificationChannelOutput) Properties added in v4.19.0

A nested block that describes a notification channel properties. Only one properties block is permitted per notification channel definition. See Nested properties blocks below for details.

func (NotificationChannelOutput) ToNotificationChannelOutput added in v4.19.0

func (o NotificationChannelOutput) ToNotificationChannelOutput() NotificationChannelOutput

func (NotificationChannelOutput) ToNotificationChannelOutputWithContext added in v4.19.0

func (o NotificationChannelOutput) ToNotificationChannelOutputWithContext(ctx context.Context) NotificationChannelOutput

func (NotificationChannelOutput) Type added in v4.19.0

The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `WEBHOOK`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`.

type NotificationChannelProperty added in v4.19.0

type NotificationChannelProperty struct {
	DisplayValue *string `pulumi:"displayValue"`
	Key          string  `pulumi:"key"`
	Label        *string `pulumi:"label"`
	Value        string  `pulumi:"value"`
}

type NotificationChannelPropertyArgs added in v4.19.0

type NotificationChannelPropertyArgs struct {
	DisplayValue pulumi.StringPtrInput `pulumi:"displayValue"`
	Key          pulumi.StringInput    `pulumi:"key"`
	Label        pulumi.StringPtrInput `pulumi:"label"`
	Value        pulumi.StringInput    `pulumi:"value"`
}

func (NotificationChannelPropertyArgs) ElementType added in v4.19.0

func (NotificationChannelPropertyArgs) ToNotificationChannelPropertyOutput added in v4.19.0

func (i NotificationChannelPropertyArgs) ToNotificationChannelPropertyOutput() NotificationChannelPropertyOutput

func (NotificationChannelPropertyArgs) ToNotificationChannelPropertyOutputWithContext added in v4.19.0

func (i NotificationChannelPropertyArgs) ToNotificationChannelPropertyOutputWithContext(ctx context.Context) NotificationChannelPropertyOutput

type NotificationChannelPropertyArray added in v4.19.0

type NotificationChannelPropertyArray []NotificationChannelPropertyInput

func (NotificationChannelPropertyArray) ElementType added in v4.19.0

func (NotificationChannelPropertyArray) ToNotificationChannelPropertyArrayOutput added in v4.19.0

func (i NotificationChannelPropertyArray) ToNotificationChannelPropertyArrayOutput() NotificationChannelPropertyArrayOutput

func (NotificationChannelPropertyArray) ToNotificationChannelPropertyArrayOutputWithContext added in v4.19.0

func (i NotificationChannelPropertyArray) ToNotificationChannelPropertyArrayOutputWithContext(ctx context.Context) NotificationChannelPropertyArrayOutput

type NotificationChannelPropertyArrayInput added in v4.19.0

type NotificationChannelPropertyArrayInput interface {
	pulumi.Input

	ToNotificationChannelPropertyArrayOutput() NotificationChannelPropertyArrayOutput
	ToNotificationChannelPropertyArrayOutputWithContext(context.Context) NotificationChannelPropertyArrayOutput
}

NotificationChannelPropertyArrayInput is an input type that accepts NotificationChannelPropertyArray and NotificationChannelPropertyArrayOutput values. You can construct a concrete instance of `NotificationChannelPropertyArrayInput` via:

NotificationChannelPropertyArray{ NotificationChannelPropertyArgs{...} }

type NotificationChannelPropertyArrayOutput added in v4.19.0

type NotificationChannelPropertyArrayOutput struct{ *pulumi.OutputState }

func (NotificationChannelPropertyArrayOutput) ElementType added in v4.19.0

func (NotificationChannelPropertyArrayOutput) Index added in v4.19.0

func (NotificationChannelPropertyArrayOutput) ToNotificationChannelPropertyArrayOutput added in v4.19.0

func (o NotificationChannelPropertyArrayOutput) ToNotificationChannelPropertyArrayOutput() NotificationChannelPropertyArrayOutput

func (NotificationChannelPropertyArrayOutput) ToNotificationChannelPropertyArrayOutputWithContext added in v4.19.0

func (o NotificationChannelPropertyArrayOutput) ToNotificationChannelPropertyArrayOutputWithContext(ctx context.Context) NotificationChannelPropertyArrayOutput

type NotificationChannelPropertyInput added in v4.19.0

type NotificationChannelPropertyInput interface {
	pulumi.Input

	ToNotificationChannelPropertyOutput() NotificationChannelPropertyOutput
	ToNotificationChannelPropertyOutputWithContext(context.Context) NotificationChannelPropertyOutput
}

NotificationChannelPropertyInput is an input type that accepts NotificationChannelPropertyArgs and NotificationChannelPropertyOutput values. You can construct a concrete instance of `NotificationChannelPropertyInput` via:

NotificationChannelPropertyArgs{...}

type NotificationChannelPropertyOutput added in v4.19.0

type NotificationChannelPropertyOutput struct{ *pulumi.OutputState }

func (NotificationChannelPropertyOutput) DisplayValue added in v4.19.0

func (NotificationChannelPropertyOutput) ElementType added in v4.19.0

func (NotificationChannelPropertyOutput) Key added in v4.19.0

func (NotificationChannelPropertyOutput) Label added in v4.19.0

func (NotificationChannelPropertyOutput) ToNotificationChannelPropertyOutput added in v4.19.0

func (o NotificationChannelPropertyOutput) ToNotificationChannelPropertyOutput() NotificationChannelPropertyOutput

func (NotificationChannelPropertyOutput) ToNotificationChannelPropertyOutputWithContext added in v4.19.0

func (o NotificationChannelPropertyOutput) ToNotificationChannelPropertyOutputWithContext(ctx context.Context) NotificationChannelPropertyOutput

func (NotificationChannelPropertyOutput) Value added in v4.19.0

type NotificationChannelState added in v4.19.0

type NotificationChannelState struct {
	// The id of the destination.
	DestinationId pulumi.StringPtrInput
	// The name of the channel.
	Name pulumi.StringPtrInput
	// The type of product.  One of: `ALERTS`, `DISCUSSIONS`, `ERROR_TRACKING`, `IINT`, `NTFC`, `PD` or `SHARING`.
	Product pulumi.StringPtrInput
	// A nested block that describes a notification channel properties.  Only one properties block is permitted per notification channel definition.  See Nested properties blocks below for details.
	Properties NotificationChannelPropertyArrayInput
	// The type of channel.  One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `WEBHOOK`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`.
	Type pulumi.StringPtrInput
}

func (NotificationChannelState) ElementType added in v4.19.0

func (NotificationChannelState) ElementType() reflect.Type

type NotificationDestination added in v4.19.0

type NotificationDestination struct {
	pulumi.CustomResourceState

	// A nested block that describes a notification destination authentication. Only one auth block is permitted per notification destination definition.  See Nested auth blocks below for details.
	Auth pulumi.StringMapOutput `pulumi:"auth"`
	// The name of the destination.
	Name pulumi.StringOutput `pulumi:"name"`
	// A nested block that describes a notification destination properties.  Only one properties block is permitted per notification destination definition.  See Nested properties blocks below for details.
	Properties NotificationDestinationPropertyArrayOutput `pulumi:"properties"`
	// The type of the auth.  One of: `TOKEN` or `BASIC`.
	Type pulumi.StringOutput `pulumi:"type"`
}

Use this resource to create and manage New Relic notification destinations.

## Example Usage

##### Webhook ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewNotificationDestination(ctx, "foo", &newrelic.NotificationDestinationArgs{
			Auth: pulumi.StringMap{
				"password": pulumi.String("1234"),
				"type":     pulumi.String("BASIC"),
				"user":     pulumi.String("user"),
			},
			Properties: NotificationDestinationPropertyArray{
				&NotificationDestinationPropertyArgs{
					Key:   pulumi.String("url"),
					Value: pulumi.String("https://webhook.site/"),
				},
			},
			Type: pulumi.String("WEBHOOK"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` See additional examples. ## Additional Examples

##### ServiceNow

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewNotificationDestination(ctx, "foo", &newrelic.NotificationDestinationArgs{
			Auth: pulumi.StringMap{
				"password": pulumi.String("pass"),
				"type":     pulumi.String("BASIC"),
				"user":     pulumi.String("user"),
			},
			Properties: NotificationDestinationPropertyArray{
				&NotificationDestinationPropertyArgs{
					Key:   pulumi.String("url"),
					Value: pulumi.String("https://service-now.com/"),
				},
				&NotificationDestinationPropertyArgs{
					Key:   pulumi.String("two_way_integration"),
					Value: pulumi.String("true"),
				},
			},
			Type: pulumi.String("SERVICE_NOW"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

##### Email ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewNotificationDestination(ctx, "foo", &newrelic.NotificationDestinationArgs{
			Auth: pulumi.StringMap{
				"prefix": pulumi.String("prefix"),
				"token":  pulumi.String("bearer"),
				"type":   pulumi.String("TOKEN"),
			},
			Properties: NotificationDestinationPropertyArray{
				&NotificationDestinationPropertyArgs{
					Key:   pulumi.String("email"),
					Value: pulumi.String("email@email.com,email2@email.com"),
				},
			},
			Type: pulumi.String("EMAIL"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

##### PagerDuty with service integration ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewNotificationDestination(ctx, "foo", &newrelic.NotificationDestinationArgs{
			Auth: pulumi.StringMap{
				"prefix": pulumi.String("prefix"),
				"token":  pulumi.String("bearer"),
				"type":   pulumi.String("TOKEN"),
			},
			Properties: NotificationDestinationPropertyArray{
				&NotificationDestinationPropertyArgs{
					Key:   pulumi.String("two_way_integration"),
					Value: pulumi.String("true"),
				},
			},
			Type: pulumi.String("PAGERDUTY_SERVICE_INTEGRATION"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

##### PagerDuty with account integration ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewNotificationDestination(ctx, "foo", &newrelic.NotificationDestinationArgs{
			Auth: pulumi.StringMap{
				"prefix": pulumi.String("prefix"),
				"token":  pulumi.String("bearer"),
				"type":   pulumi.String("TOKEN"),
			},
			Type: pulumi.String("PAGERDUTY_ACCOUNT_INTEGRATION"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

> **NOTE:** Sensitive data such as destination API keys, service keys, etc are not returned from the underlying API for security reasons and may not be set in state when importing.

func GetNotificationDestination added in v4.19.0

func GetNotificationDestination(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NotificationDestinationState, opts ...pulumi.ResourceOption) (*NotificationDestination, error)

GetNotificationDestination gets an existing NotificationDestination 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 NewNotificationDestination added in v4.19.0

func NewNotificationDestination(ctx *pulumi.Context,
	name string, args *NotificationDestinationArgs, opts ...pulumi.ResourceOption) (*NotificationDestination, error)

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

func (*NotificationDestination) ElementType added in v4.19.0

func (*NotificationDestination) ElementType() reflect.Type

func (*NotificationDestination) ToNotificationDestinationOutput added in v4.19.0

func (i *NotificationDestination) ToNotificationDestinationOutput() NotificationDestinationOutput

func (*NotificationDestination) ToNotificationDestinationOutputWithContext added in v4.19.0

func (i *NotificationDestination) ToNotificationDestinationOutputWithContext(ctx context.Context) NotificationDestinationOutput

type NotificationDestinationArgs added in v4.19.0

type NotificationDestinationArgs struct {
	// A nested block that describes a notification destination authentication. Only one auth block is permitted per notification destination definition.  See Nested auth blocks below for details.
	Auth pulumi.StringMapInput
	// The name of the destination.
	Name pulumi.StringPtrInput
	// A nested block that describes a notification destination properties.  Only one properties block is permitted per notification destination definition.  See Nested properties blocks below for details.
	Properties NotificationDestinationPropertyArrayInput
	// The type of the auth.  One of: `TOKEN` or `BASIC`.
	Type pulumi.StringInput
}

The set of arguments for constructing a NotificationDestination resource.

func (NotificationDestinationArgs) ElementType added in v4.19.0

type NotificationDestinationArray added in v4.19.0

type NotificationDestinationArray []NotificationDestinationInput

func (NotificationDestinationArray) ElementType added in v4.19.0

func (NotificationDestinationArray) ToNotificationDestinationArrayOutput added in v4.19.0

func (i NotificationDestinationArray) ToNotificationDestinationArrayOutput() NotificationDestinationArrayOutput

func (NotificationDestinationArray) ToNotificationDestinationArrayOutputWithContext added in v4.19.0

func (i NotificationDestinationArray) ToNotificationDestinationArrayOutputWithContext(ctx context.Context) NotificationDestinationArrayOutput

type NotificationDestinationArrayInput added in v4.19.0

type NotificationDestinationArrayInput interface {
	pulumi.Input

	ToNotificationDestinationArrayOutput() NotificationDestinationArrayOutput
	ToNotificationDestinationArrayOutputWithContext(context.Context) NotificationDestinationArrayOutput
}

NotificationDestinationArrayInput is an input type that accepts NotificationDestinationArray and NotificationDestinationArrayOutput values. You can construct a concrete instance of `NotificationDestinationArrayInput` via:

NotificationDestinationArray{ NotificationDestinationArgs{...} }

type NotificationDestinationArrayOutput added in v4.19.0

type NotificationDestinationArrayOutput struct{ *pulumi.OutputState }

func (NotificationDestinationArrayOutput) ElementType added in v4.19.0

func (NotificationDestinationArrayOutput) Index added in v4.19.0

func (NotificationDestinationArrayOutput) ToNotificationDestinationArrayOutput added in v4.19.0

func (o NotificationDestinationArrayOutput) ToNotificationDestinationArrayOutput() NotificationDestinationArrayOutput

func (NotificationDestinationArrayOutput) ToNotificationDestinationArrayOutputWithContext added in v4.19.0

func (o NotificationDestinationArrayOutput) ToNotificationDestinationArrayOutputWithContext(ctx context.Context) NotificationDestinationArrayOutput

type NotificationDestinationInput added in v4.19.0

type NotificationDestinationInput interface {
	pulumi.Input

	ToNotificationDestinationOutput() NotificationDestinationOutput
	ToNotificationDestinationOutputWithContext(ctx context.Context) NotificationDestinationOutput
}

type NotificationDestinationMap added in v4.19.0

type NotificationDestinationMap map[string]NotificationDestinationInput

func (NotificationDestinationMap) ElementType added in v4.19.0

func (NotificationDestinationMap) ElementType() reflect.Type

func (NotificationDestinationMap) ToNotificationDestinationMapOutput added in v4.19.0

func (i NotificationDestinationMap) ToNotificationDestinationMapOutput() NotificationDestinationMapOutput

func (NotificationDestinationMap) ToNotificationDestinationMapOutputWithContext added in v4.19.0

func (i NotificationDestinationMap) ToNotificationDestinationMapOutputWithContext(ctx context.Context) NotificationDestinationMapOutput

type NotificationDestinationMapInput added in v4.19.0

type NotificationDestinationMapInput interface {
	pulumi.Input

	ToNotificationDestinationMapOutput() NotificationDestinationMapOutput
	ToNotificationDestinationMapOutputWithContext(context.Context) NotificationDestinationMapOutput
}

NotificationDestinationMapInput is an input type that accepts NotificationDestinationMap and NotificationDestinationMapOutput values. You can construct a concrete instance of `NotificationDestinationMapInput` via:

NotificationDestinationMap{ "key": NotificationDestinationArgs{...} }

type NotificationDestinationMapOutput added in v4.19.0

type NotificationDestinationMapOutput struct{ *pulumi.OutputState }

func (NotificationDestinationMapOutput) ElementType added in v4.19.0

func (NotificationDestinationMapOutput) MapIndex added in v4.19.0

func (NotificationDestinationMapOutput) ToNotificationDestinationMapOutput added in v4.19.0

func (o NotificationDestinationMapOutput) ToNotificationDestinationMapOutput() NotificationDestinationMapOutput

func (NotificationDestinationMapOutput) ToNotificationDestinationMapOutputWithContext added in v4.19.0

func (o NotificationDestinationMapOutput) ToNotificationDestinationMapOutputWithContext(ctx context.Context) NotificationDestinationMapOutput

type NotificationDestinationOutput added in v4.19.0

type NotificationDestinationOutput struct{ *pulumi.OutputState }

func (NotificationDestinationOutput) Auth added in v4.19.0

A nested block that describes a notification destination authentication. Only one auth block is permitted per notification destination definition. See Nested auth blocks below for details.

func (NotificationDestinationOutput) ElementType added in v4.19.0

func (NotificationDestinationOutput) Name added in v4.19.0

The name of the destination.

func (NotificationDestinationOutput) Properties added in v4.19.0

A nested block that describes a notification destination properties. Only one properties block is permitted per notification destination definition. See Nested properties blocks below for details.

func (NotificationDestinationOutput) ToNotificationDestinationOutput added in v4.19.0

func (o NotificationDestinationOutput) ToNotificationDestinationOutput() NotificationDestinationOutput

func (NotificationDestinationOutput) ToNotificationDestinationOutputWithContext added in v4.19.0

func (o NotificationDestinationOutput) ToNotificationDestinationOutputWithContext(ctx context.Context) NotificationDestinationOutput

func (NotificationDestinationOutput) Type added in v4.19.0

The type of the auth. One of: `TOKEN` or `BASIC`.

type NotificationDestinationProperty added in v4.19.0

type NotificationDestinationProperty struct {
	DisplayValue *string `pulumi:"displayValue"`
	Key          string  `pulumi:"key"`
	Label        *string `pulumi:"label"`
	Value        string  `pulumi:"value"`
}

type NotificationDestinationPropertyArgs added in v4.19.0

type NotificationDestinationPropertyArgs struct {
	DisplayValue pulumi.StringPtrInput `pulumi:"displayValue"`
	Key          pulumi.StringInput    `pulumi:"key"`
	Label        pulumi.StringPtrInput `pulumi:"label"`
	Value        pulumi.StringInput    `pulumi:"value"`
}

func (NotificationDestinationPropertyArgs) ElementType added in v4.19.0

func (NotificationDestinationPropertyArgs) ToNotificationDestinationPropertyOutput added in v4.19.0

func (i NotificationDestinationPropertyArgs) ToNotificationDestinationPropertyOutput() NotificationDestinationPropertyOutput

func (NotificationDestinationPropertyArgs) ToNotificationDestinationPropertyOutputWithContext added in v4.19.0

func (i NotificationDestinationPropertyArgs) ToNotificationDestinationPropertyOutputWithContext(ctx context.Context) NotificationDestinationPropertyOutput

type NotificationDestinationPropertyArray added in v4.19.0

type NotificationDestinationPropertyArray []NotificationDestinationPropertyInput

func (NotificationDestinationPropertyArray) ElementType added in v4.19.0

func (NotificationDestinationPropertyArray) ToNotificationDestinationPropertyArrayOutput added in v4.19.0

func (i NotificationDestinationPropertyArray) ToNotificationDestinationPropertyArrayOutput() NotificationDestinationPropertyArrayOutput

func (NotificationDestinationPropertyArray) ToNotificationDestinationPropertyArrayOutputWithContext added in v4.19.0

func (i NotificationDestinationPropertyArray) ToNotificationDestinationPropertyArrayOutputWithContext(ctx context.Context) NotificationDestinationPropertyArrayOutput

type NotificationDestinationPropertyArrayInput added in v4.19.0

type NotificationDestinationPropertyArrayInput interface {
	pulumi.Input

	ToNotificationDestinationPropertyArrayOutput() NotificationDestinationPropertyArrayOutput
	ToNotificationDestinationPropertyArrayOutputWithContext(context.Context) NotificationDestinationPropertyArrayOutput
}

NotificationDestinationPropertyArrayInput is an input type that accepts NotificationDestinationPropertyArray and NotificationDestinationPropertyArrayOutput values. You can construct a concrete instance of `NotificationDestinationPropertyArrayInput` via:

NotificationDestinationPropertyArray{ NotificationDestinationPropertyArgs{...} }

type NotificationDestinationPropertyArrayOutput added in v4.19.0

type NotificationDestinationPropertyArrayOutput struct{ *pulumi.OutputState }

func (NotificationDestinationPropertyArrayOutput) ElementType added in v4.19.0

func (NotificationDestinationPropertyArrayOutput) Index added in v4.19.0

func (NotificationDestinationPropertyArrayOutput) ToNotificationDestinationPropertyArrayOutput added in v4.19.0

func (o NotificationDestinationPropertyArrayOutput) ToNotificationDestinationPropertyArrayOutput() NotificationDestinationPropertyArrayOutput

func (NotificationDestinationPropertyArrayOutput) ToNotificationDestinationPropertyArrayOutputWithContext added in v4.19.0

func (o NotificationDestinationPropertyArrayOutput) ToNotificationDestinationPropertyArrayOutputWithContext(ctx context.Context) NotificationDestinationPropertyArrayOutput

type NotificationDestinationPropertyInput added in v4.19.0

type NotificationDestinationPropertyInput interface {
	pulumi.Input

	ToNotificationDestinationPropertyOutput() NotificationDestinationPropertyOutput
	ToNotificationDestinationPropertyOutputWithContext(context.Context) NotificationDestinationPropertyOutput
}

NotificationDestinationPropertyInput is an input type that accepts NotificationDestinationPropertyArgs and NotificationDestinationPropertyOutput values. You can construct a concrete instance of `NotificationDestinationPropertyInput` via:

NotificationDestinationPropertyArgs{...}

type NotificationDestinationPropertyOutput added in v4.19.0

type NotificationDestinationPropertyOutput struct{ *pulumi.OutputState }

func (NotificationDestinationPropertyOutput) DisplayValue added in v4.19.0

func (NotificationDestinationPropertyOutput) ElementType added in v4.19.0

func (NotificationDestinationPropertyOutput) Key added in v4.19.0

func (NotificationDestinationPropertyOutput) Label added in v4.19.0

func (NotificationDestinationPropertyOutput) ToNotificationDestinationPropertyOutput added in v4.19.0

func (o NotificationDestinationPropertyOutput) ToNotificationDestinationPropertyOutput() NotificationDestinationPropertyOutput

func (NotificationDestinationPropertyOutput) ToNotificationDestinationPropertyOutputWithContext added in v4.19.0

func (o NotificationDestinationPropertyOutput) ToNotificationDestinationPropertyOutputWithContext(ctx context.Context) NotificationDestinationPropertyOutput

func (NotificationDestinationPropertyOutput) Value added in v4.19.0

type NotificationDestinationState added in v4.19.0

type NotificationDestinationState struct {
	// A nested block that describes a notification destination authentication. Only one auth block is permitted per notification destination definition.  See Nested auth blocks below for details.
	Auth pulumi.StringMapInput
	// The name of the destination.
	Name pulumi.StringPtrInput
	// A nested block that describes a notification destination properties.  Only one properties block is permitted per notification destination definition.  See Nested properties blocks below for details.
	Properties NotificationDestinationPropertyArrayInput
	// The type of the auth.  One of: `TOKEN` or `BASIC`.
	Type pulumi.StringPtrInput
}

func (NotificationDestinationState) ElementType added in v4.19.0

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"`
	// How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use `aggregationDelay` with the `eventFlow` and `cadence` methods. The maximum delay is 1200 seconds (20 minutes) when using `eventFlow` and 3600 seconds (60 minutes) when using `cadence`. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. `aggregationDelay` cannot be set with `nrql.evaluation_offset`.
	AggregationDelay pulumi.StringPtrOutput `pulumi:"aggregationDelay"`
	// Determines when we consider an aggregation window to be complete so that we can evaluate the signal for violations. Possible values are `cadence`, `eventFlow` or `eventTimer`. Default is `eventFlow`. `aggregationMethod` cannot be set with `nrql.evaluation_offset`.
	AggregationMethod pulumi.StringPtrOutput `pulumi:"aggregationMethod"`
	// How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregationTimer` with the `eventTimer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregationTimer` cannot be set with `nrql.evaluation_offset`.
	AggregationTimer pulumi.StringPtrOutput `pulumi:"aggregationTimer"`
	// The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 15 minutes (900 seconds). Default is 60 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"`
	// The unique entity identifier of the NRQL Condition in New Relic.
	EntityGuid pulumi.StringOutput `pulumi:"entityGuid"`
	// 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. Possible values are `none`, `lastValue` or `static`. If `static`, the `fillValue` field will be used for filling gaps in the signal.
	FillOption pulumi.StringPtrOutput `pulumi:"fillOption"`
	// This value will be used for filling gaps in the signal.
	FillValue pulumi.Float64PtrOutput `pulumi:"fillValue"`
	// 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"`
	// 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"`
	// Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slideBy` value is specified in seconds and must be smaller than and a factor of the `aggregationWindow`. `slideBy` cannot be used with `static` NRQL conditions using the `sum` `valueFunction`.
	SlideBy pulumi.IntPtrOutput `pulumi:"slideBy"`
	// **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).
	//
	// Deprecated: 'value_function' is deprecated.  Remove this field and condition will evaluate as 'single_value' by default.  To replicate 'sum' behavior, use 'slide_by'.
	ValueFunction pulumi.StringPtrOutput `pulumi:"valueFunction"`
	// **DEPRECATED:** Use `violationTimeLimitSeconds` instead. 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`, `THIRTY_DAYS` (case insensitive).<br>
	// <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small>
	//
	// Deprecated: use `violation_time_limit_seconds` attribute instead
	ViolationTimeLimit pulumi.StringOutput `pulumi:"violationTimeLimit"`
	// Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days) (inclusive). <br>
	// <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small>
	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.

## Example Usage ## NRQL

The `nrql` block supports the following arguments:

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

## 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 supports the following arguments:

- `operator` - (Optional) Valid values are `above`, `aboveOrEquals`, `below`, `belowOrEquals`, `equals`, or `notEquals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `baseline`, the only valid option here is `above`. - `priority` - (Optional) `critical` or `warning`. Defaults to `critical`. - `threshold` - (Required) The value which will trigger a violation. <br>For _baseline_ NRQL alert conditions, the value must be in the range [1, 1000]. The value is the number of standard deviations from the baseline that the metric must exceed in order to create a violation. - `thresholdDuration` - (Optional) The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds). <br>For _baseline_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-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`.

## Additional Examples

##### Type: `baseline`

[Baseline NRQL alert conditions](https://docs.newrelic.com/docs/alerts/new-relic-alerts/defining-conditions/create-baseline-alert-conditions) are dynamic in nature and adjust to the behavior of your data. The example below demonstrates a baseline NRQL alert condition for alerting when transaction durations are above a specified threshold and dynamically adjusts based on data trends.

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooAlertPolicy, err := newrelic.NewAlertPolicy(ctx, "fooAlertPolicy", nil)
		if err != nil {
			return err
		}
		_, err = newrelic.NewAlertPolicy(ctx, "fooIndex/alertPolicyAlertPolicy", nil)
		if err != nil {
			return err
		}
		_, err = newrelic.NewNrqlAlertCondition(ctx, "fooNrqlAlertCondition", &newrelic.NrqlAlertConditionArgs{
			AccountId:                   pulumi.Int("your_account_id"),
			PolicyId:                    fooAlertPolicy.ID(),
			Type:                        pulumi.String("static"),
			Description:                 pulumi.String("Alert when transactions are taking too long"),
			RunbookUrl:                  pulumi.String("https://www.example.com"),
			Enabled:                     pulumi.Bool(true),
			ViolationTimeLimitSeconds:   pulumi.Int(3600),
			FillOption:                  pulumi.String("static"),
			FillValue:                   pulumi.Float64(1),
			AggregationWindow:           pulumi.Int(60),
			AggregationMethod:           pulumi.String("event_flow"),
			AggregationDelay:            pulumi.String("120"),
			ExpirationDuration:          pulumi.Int(120),
			OpenViolationOnExpiration:   pulumi.Bool(true),
			CloseViolationsOnExpiration: pulumi.Bool(true),
			SlideBy:                     pulumi.Int(30),
			Nrql: &NrqlAlertConditionNrqlArgs{
				Query: pulumi.String("SELECT average(duration) FROM Transaction where appName = 'Your App'"),
			},
			Critical: &NrqlAlertConditionCriticalArgs{
				Operator:             pulumi.String("above"),
				Threshold:            pulumi.Float64(5.5),
				ThresholdDuration:    pulumi.Int(300),
				ThresholdOccurrences: pulumi.String("ALL"),
			},
			Warning: &NrqlAlertConditionWarningArgs{
				Operator:             pulumi.String("above"),
				Threshold:            pulumi.Float64(3.5),
				ThresholdDuration:    pulumi.Int(600),
				ThresholdOccurrences: pulumi.String("ALL"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

<<<<<<< HEAD ## Upgrade from 1.x to 2.x

There have been several deprecations in the `NrqlAlertCondition` resource. Users will need to make some updates in order to have a smooth upgrade.

An example resource from 1.x might look like the following.

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewNrqlAlertCondition(ctx, "nrqlAlertCondition", &newrelic.NrqlAlertConditionArgs{
			PolicyId:           pulumi.Any(newrelic_alert_policy.Z.Id),
			Type:               pulumi.String("static"),
			RunbookUrl:         pulumi.String("https://localhost"),
			Enabled:            pulumi.Bool(true),
			ValueFunction:      pulumi.String("sum"),
			ViolationTimeLimit: pulumi.String("TWENTY_FOUR_HOURS"),
			Critical: &NrqlAlertConditionCriticalArgs{
				Operator:             pulumi.String("above"),
				ThresholdDuration:    pulumi.Int(120),
				Threshold:            pulumi.Float64(3),
				ThresholdOccurrences: pulumi.String("AT_LEAST_ONCE"),
			},
			Nrql: &NrqlAlertConditionNrqlArgs{
				Query: pulumi.String(fmt.Sprintf("SELECT count(*) FROM TransactionError WHERE appName like '%vDummy App%v' FACET appName", "%", "%")),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

After making the appropriate adjustments mentioned in the deprecation warnings, the resource now looks like the following.

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewNrqlAlertCondition(ctx, "nrqlAlertCondition", &newrelic.NrqlAlertConditionArgs{
			PolicyId:                  pulumi.Any(newrelic_alert_policy.Z.Id),
			Type:                      pulumi.String("static"),
			RunbookUrl:                pulumi.String("https://localhost"),
			Enabled:                   pulumi.Bool(true),
			ValueFunction:             pulumi.String("sum"),
			ViolationTimeLimitSeconds: pulumi.Int(86400),
			Terms: NrqlAlertConditionTermArray{
				&NrqlAlertConditionTermArgs{
					Priority:     pulumi.String("critical"),
					Operator:     pulumi.String("above"),
					Threshold:    pulumi.Float64(3),
					Duration:     pulumi.Int(5),
					TimeFunction: pulumi.String("any"),
				},
			},
			Nrql: &NrqlAlertConditionNrqlArgs{
				Query: pulumi.String(fmt.Sprintf("SELECT count(*) FROM TransactionError WHERE appName like '%vDummy App%v' FACET appName", "%", "%")),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

NRQL 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

```

<<<<<<< HEAD ======= >>>>>>> v2.46.1 Users can find the actual values for `policy_id` and `condition_id` from the New Relic One UI under respective policy and condition.

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

func (*NrqlAlertCondition) ElementType() reflect.Type

func (*NrqlAlertCondition) ToNrqlAlertConditionOutput

func (i *NrqlAlertCondition) ToNrqlAlertConditionOutput() NrqlAlertConditionOutput

func (*NrqlAlertCondition) ToNrqlAlertConditionOutputWithContext

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

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
	// How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use `aggregationDelay` with the `eventFlow` and `cadence` methods. The maximum delay is 1200 seconds (20 minutes) when using `eventFlow` and 3600 seconds (60 minutes) when using `cadence`. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. `aggregationDelay` cannot be set with `nrql.evaluation_offset`.
	AggregationDelay pulumi.StringPtrInput
	// Determines when we consider an aggregation window to be complete so that we can evaluate the signal for violations. Possible values are `cadence`, `eventFlow` or `eventTimer`. Default is `eventFlow`. `aggregationMethod` cannot be set with `nrql.evaluation_offset`.
	AggregationMethod pulumi.StringPtrInput
	// How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregationTimer` with the `eventTimer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregationTimer` cannot be set with `nrql.evaluation_offset`.
	AggregationTimer pulumi.StringPtrInput
	// The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 15 minutes (900 seconds). Default is 60 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
	// 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. Possible values are `none`, `lastValue` or `static`. If `static`, the `fillValue` field will be used for filling gaps in the signal.
	FillOption pulumi.StringPtrInput
	// This value will be used for filling gaps in the signal.
	FillValue pulumi.Float64PtrInput
	// 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
	// The ID of the policy where this condition should be used.
	PolicyId pulumi.IntInput
	// Runbook URL to display in notifications.
	RunbookUrl pulumi.StringPtrInput
	// Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slideBy` value is specified in seconds and must be smaller than and a factor of the `aggregationWindow`. `slideBy` cannot be used with `static` NRQL conditions using the `sum` `valueFunction`.
	SlideBy pulumi.IntPtrInput
	// **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).
	//
	// Deprecated: 'value_function' is deprecated.  Remove this field and condition will evaluate as 'single_value' by default.  To replicate 'sum' behavior, use 'slide_by'.
	ValueFunction pulumi.StringPtrInput
	// **DEPRECATED:** Use `violationTimeLimitSeconds` instead. 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`, `THIRTY_DAYS` (case insensitive).<br>
	// <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small>
	//
	// Deprecated: use `violation_time_limit_seconds` attribute instead
	ViolationTimeLimit pulumi.StringPtrInput
	// Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days) (inclusive). <br>
	// <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small>
	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

type NrqlAlertConditionArray []NrqlAlertConditionInput

func (NrqlAlertConditionArray) ElementType

func (NrqlAlertConditionArray) ElementType() reflect.Type

func (NrqlAlertConditionArray) ToNrqlAlertConditionArrayOutput

func (i NrqlAlertConditionArray) ToNrqlAlertConditionArrayOutput() NrqlAlertConditionArrayOutput

func (NrqlAlertConditionArray) ToNrqlAlertConditionArrayOutputWithContext

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

type NrqlAlertConditionArrayInput

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

type NrqlAlertConditionArrayOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionArrayOutput) ElementType

func (NrqlAlertConditionArrayOutput) Index

func (NrqlAlertConditionArrayOutput) ToNrqlAlertConditionArrayOutput

func (o NrqlAlertConditionArrayOutput) ToNrqlAlertConditionArrayOutput() NrqlAlertConditionArrayOutput

func (NrqlAlertConditionArrayOutput) ToNrqlAlertConditionArrayOutputWithContext

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

type NrqlAlertConditionCritical

type NrqlAlertConditionCritical struct {
	// **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).
	//
	// Deprecated: use `threshold_duration` attribute instead
	Duration *int `pulumi:"duration"`
	// Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`.
	Operator *string `pulumi:"operator"`
	// The value which will trigger a violation. Must be `0` or greater.
	Threshold float64 `pulumi:"threshold"`
	// The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds).
	// <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive).
	// <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive).
	// <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive).
	ThresholdDuration *int `pulumi:"thresholdDuration"`
	// The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive).
	ThresholdOccurrences *string `pulumi:"thresholdOccurrences"`
	// **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`.
	//
	// Deprecated: use `threshold_occurrences` attribute instead
	TimeFunction *string `pulumi:"timeFunction"`
}

type NrqlAlertConditionCriticalArgs

type NrqlAlertConditionCriticalArgs struct {
	// **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).
	//
	// Deprecated: use `threshold_duration` attribute instead
	Duration pulumi.IntPtrInput `pulumi:"duration"`
	// Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`.
	Operator pulumi.StringPtrInput `pulumi:"operator"`
	// The value which will trigger a violation. Must be `0` or greater.
	Threshold pulumi.Float64Input `pulumi:"threshold"`
	// The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds).
	// <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive).
	// <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive).
	// <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive).
	ThresholdDuration pulumi.IntPtrInput `pulumi:"thresholdDuration"`
	// The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive).
	ThresholdOccurrences pulumi.StringPtrInput `pulumi:"thresholdOccurrences"`
	// **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`.
	//
	// 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 `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).

Deprecated: use `threshold_duration` attribute instead

func (NrqlAlertConditionCriticalOutput) ElementType

func (NrqlAlertConditionCriticalOutput) Operator

Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`.

func (NrqlAlertConditionCriticalOutput) Threshold

The value which will trigger a violation. Must be `0` or greater.

func (NrqlAlertConditionCriticalOutput) ThresholdDuration

The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds). <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive).

func (NrqlAlertConditionCriticalOutput) ThresholdOccurrences

func (o NrqlAlertConditionCriticalOutput) ThresholdOccurrences() pulumi.StringPtrOutput

The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive).

func (NrqlAlertConditionCriticalOutput) TimeFunction deprecated

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

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

Deprecated: use `threshold_duration` attribute instead

func (NrqlAlertConditionCriticalPtrOutput) Elem

func (NrqlAlertConditionCriticalPtrOutput) ElementType

func (NrqlAlertConditionCriticalPtrOutput) Operator

Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`.

func (NrqlAlertConditionCriticalPtrOutput) Threshold

The value which will trigger a violation. Must be `0` or greater.

func (NrqlAlertConditionCriticalPtrOutput) ThresholdDuration

The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds). <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive).

func (NrqlAlertConditionCriticalPtrOutput) ThresholdOccurrences

The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive).

func (NrqlAlertConditionCriticalPtrOutput) TimeFunction deprecated

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

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

type NrqlAlertConditionInput interface {
	pulumi.Input

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

type NrqlAlertConditionMap

type NrqlAlertConditionMap map[string]NrqlAlertConditionInput

func (NrqlAlertConditionMap) ElementType

func (NrqlAlertConditionMap) ElementType() reflect.Type

func (NrqlAlertConditionMap) ToNrqlAlertConditionMapOutput

func (i NrqlAlertConditionMap) ToNrqlAlertConditionMapOutput() NrqlAlertConditionMapOutput

func (NrqlAlertConditionMap) ToNrqlAlertConditionMapOutputWithContext

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

type NrqlAlertConditionMapInput

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

type NrqlAlertConditionMapOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionMapOutput) ElementType

func (NrqlAlertConditionMapOutput) MapIndex

func (NrqlAlertConditionMapOutput) ToNrqlAlertConditionMapOutput

func (o NrqlAlertConditionMapOutput) ToNrqlAlertConditionMapOutput() NrqlAlertConditionMapOutput

func (NrqlAlertConditionMapOutput) ToNrqlAlertConditionMapOutputWithContext

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

type NrqlAlertConditionNrql

type NrqlAlertConditionNrql struct {
	// 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`.<br>
	// <small>\***Note**: One of `evaluationOffset` _or_ `sinceValue` must be set, but not both.</small>
	//
	// Deprecated: use `aggregation_method` attribute instead
	EvaluationOffset *int `pulumi:"evaluationOffset"`
	// The NRQL query to execute for the condition.
	Query string `pulumi:"query"`
	// **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). <br>
	// <small>\***Note**: One of `evaluationOffset` _or_ `sinceValue` must be set, but not both.</small>
	//
	// Deprecated: use `aggregation_method` attribute instead
	SinceValue *string `pulumi:"sinceValue"`
}

type NrqlAlertConditionNrqlArgs

type NrqlAlertConditionNrqlArgs struct {
	// 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`.<br>
	// <small>\***Note**: One of `evaluationOffset` _or_ `sinceValue` must be set, but not both.</small>
	//
	// Deprecated: use `aggregation_method` attribute instead
	EvaluationOffset pulumi.IntPtrInput `pulumi:"evaluationOffset"`
	// The NRQL query to execute for the condition.
	Query pulumi.StringInput `pulumi:"query"`
	// **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). <br>
	// <small>\***Note**: One of `evaluationOffset` _or_ `sinceValue` must be set, but not both.</small>
	//
	// Deprecated: use `aggregation_method` 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 deprecated

func (o NrqlAlertConditionNrqlOutput) EvaluationOffset() pulumi.IntPtrOutput

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`.<br> <small>\***Note**: One of `evaluationOffset` _or_ `sinceValue` must be set, but not both.</small>

Deprecated: use `aggregation_method` attribute instead

func (NrqlAlertConditionNrqlOutput) Query

The NRQL query to execute for the condition.

func (NrqlAlertConditionNrqlOutput) SinceValue deprecated

**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). <br> <small>\***Note**: One of `evaluationOffset` _or_ `sinceValue` must be set, but not both.</small>

Deprecated: use `aggregation_method` 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 deprecated

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`.<br> <small>\***Note**: One of `evaluationOffset` _or_ `sinceValue` must be set, but not both.</small>

Deprecated: use `aggregation_method` attribute instead

func (NrqlAlertConditionNrqlPtrOutput) Query

The NRQL query to execute for the condition.

func (NrqlAlertConditionNrqlPtrOutput) SinceValue deprecated

**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). <br> <small>\***Note**: One of `evaluationOffset` _or_ `sinceValue` must be set, but not both.</small>

Deprecated: use `aggregation_method` attribute instead

func (NrqlAlertConditionNrqlPtrOutput) ToNrqlAlertConditionNrqlPtrOutput

func (o NrqlAlertConditionNrqlPtrOutput) ToNrqlAlertConditionNrqlPtrOutput() NrqlAlertConditionNrqlPtrOutput

func (NrqlAlertConditionNrqlPtrOutput) ToNrqlAlertConditionNrqlPtrOutputWithContext

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

type NrqlAlertConditionOutput

type NrqlAlertConditionOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionOutput) AccountId added in v4.15.0

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

func (NrqlAlertConditionOutput) AggregationDelay added in v4.15.0

func (o NrqlAlertConditionOutput) AggregationDelay() pulumi.StringPtrOutput

How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use `aggregationDelay` with the `eventFlow` and `cadence` methods. The maximum delay is 1200 seconds (20 minutes) when using `eventFlow` and 3600 seconds (60 minutes) when using `cadence`. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. `aggregationDelay` cannot be set with `nrql.evaluation_offset`.

func (NrqlAlertConditionOutput) AggregationMethod added in v4.15.0

func (o NrqlAlertConditionOutput) AggregationMethod() pulumi.StringPtrOutput

Determines when we consider an aggregation window to be complete so that we can evaluate the signal for violations. Possible values are `cadence`, `eventFlow` or `eventTimer`. Default is `eventFlow`. `aggregationMethod` cannot be set with `nrql.evaluation_offset`.

func (NrqlAlertConditionOutput) AggregationTimer added in v4.15.0

func (o NrqlAlertConditionOutput) AggregationTimer() pulumi.StringPtrOutput

How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregationTimer` with the `eventTimer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregationTimer` cannot be set with `nrql.evaluation_offset`.

func (NrqlAlertConditionOutput) AggregationWindow added in v4.15.0

func (o NrqlAlertConditionOutput) AggregationWindow() pulumi.IntOutput

The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 15 minutes (900 seconds). Default is 60 seconds.

func (NrqlAlertConditionOutput) BaselineDirection added in v4.15.0

func (o NrqlAlertConditionOutput) BaselineDirection() pulumi.StringPtrOutput

The baseline direction of a _baseline_ NRQL alert condition. Valid values are: `lowerOnly`, `upperAndLower`, `upperOnly` (case insensitive).

func (NrqlAlertConditionOutput) CloseViolationsOnExpiration added in v4.15.0

func (o NrqlAlertConditionOutput) CloseViolationsOnExpiration() pulumi.BoolPtrOutput

Whether to close all open violations when the signal expires.

func (NrqlAlertConditionOutput) Critical added in v4.15.0

A list containing the `critical` threshold values. See Terms below for details.

func (NrqlAlertConditionOutput) Description added in v4.15.0

The description of the NRQL alert condition.

func (NrqlAlertConditionOutput) ElementType

func (NrqlAlertConditionOutput) ElementType() reflect.Type

func (NrqlAlertConditionOutput) Enabled added in v4.15.0

Whether to enable the alert condition. Valid values are `true` and `false`. Defaults to `true`.

func (NrqlAlertConditionOutput) EntityGuid added in v4.15.0

The unique entity identifier of the NRQL Condition in New Relic.

func (NrqlAlertConditionOutput) ExpirationDuration added in v4.15.0

func (o NrqlAlertConditionOutput) ExpirationDuration() pulumi.IntPtrOutput

The amount of time (in seconds) to wait before considering the signal expired.

func (NrqlAlertConditionOutput) FillOption added in v4.15.0

Which strategy to use when filling gaps in the signal. Possible values are `none`, `lastValue` or `static`. If `static`, the `fillValue` field will be used for filling gaps in the signal.

func (NrqlAlertConditionOutput) FillValue added in v4.15.0

This value will be used for filling gaps in the signal.

func (NrqlAlertConditionOutput) Name added in v4.15.0

The title of the condition.

func (NrqlAlertConditionOutput) Nrql added in v4.15.0

A NRQL query. See NRQL below for details.

func (NrqlAlertConditionOutput) OpenViolationOnExpiration added in v4.15.0

func (o NrqlAlertConditionOutput) OpenViolationOnExpiration() pulumi.BoolPtrOutput

Whether to create a new violation to capture that the signal expired.

func (NrqlAlertConditionOutput) PolicyId added in v4.15.0

The ID of the policy where this condition should be used.

func (NrqlAlertConditionOutput) RunbookUrl added in v4.15.0

Runbook URL to display in notifications.

func (NrqlAlertConditionOutput) SlideBy added in v4.15.0

Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slideBy` value is specified in seconds and must be smaller than and a factor of the `aggregationWindow`. `slideBy` cannot be used with `static` NRQL conditions using the `sum` `valueFunction`.

func (NrqlAlertConditionOutput) Terms deprecated added in v4.15.0

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

func (NrqlAlertConditionOutput) ToNrqlAlertConditionOutput

func (o NrqlAlertConditionOutput) ToNrqlAlertConditionOutput() NrqlAlertConditionOutput

func (NrqlAlertConditionOutput) ToNrqlAlertConditionOutputWithContext

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

func (NrqlAlertConditionOutput) Type added in v4.15.0

The type of the condition. Valid values are `static`, `baseline`, or `outlier`. Defaults to `static`.

func (NrqlAlertConditionOutput) ValueFunction deprecated added in v4.15.0

Possible values are `singleValue`, `sum` (case insensitive).

Deprecated: 'value_function' is deprecated. Remove this field and condition will evaluate as 'single_value' by default. To replicate 'sum' behavior, use 'slide_by'.

func (NrqlAlertConditionOutput) ViolationTimeLimit deprecated added in v4.15.0

func (o NrqlAlertConditionOutput) ViolationTimeLimit() pulumi.StringOutput

**DEPRECATED:** Use `violationTimeLimitSeconds` instead. 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`, `THIRTY_DAYS` (case insensitive).<br> <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small>

Deprecated: use `violation_time_limit_seconds` attribute instead

func (NrqlAlertConditionOutput) ViolationTimeLimitSeconds added in v4.15.0

func (o NrqlAlertConditionOutput) ViolationTimeLimitSeconds() pulumi.IntPtrOutput

Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days) (inclusive). <br> <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small>

func (NrqlAlertConditionOutput) Warning added in v4.15.0

A list containing the `warning` threshold values. See Terms below for details.

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
	// How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use `aggregationDelay` with the `eventFlow` and `cadence` methods. The maximum delay is 1200 seconds (20 minutes) when using `eventFlow` and 3600 seconds (60 minutes) when using `cadence`. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. `aggregationDelay` cannot be set with `nrql.evaluation_offset`.
	AggregationDelay pulumi.StringPtrInput
	// Determines when we consider an aggregation window to be complete so that we can evaluate the signal for violations. Possible values are `cadence`, `eventFlow` or `eventTimer`. Default is `eventFlow`. `aggregationMethod` cannot be set with `nrql.evaluation_offset`.
	AggregationMethod pulumi.StringPtrInput
	// How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregationTimer` with the `eventTimer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregationTimer` cannot be set with `nrql.evaluation_offset`.
	AggregationTimer pulumi.StringPtrInput
	// The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 15 minutes (900 seconds). Default is 60 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
	// The unique entity identifier of the NRQL Condition in New Relic.
	EntityGuid pulumi.StringPtrInput
	// 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. Possible values are `none`, `lastValue` or `static`. If `static`, the `fillValue` field will be used for filling gaps in the signal.
	FillOption pulumi.StringPtrInput
	// This value will be used for filling gaps in the signal.
	FillValue pulumi.Float64PtrInput
	// 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
	// The ID of the policy where this condition should be used.
	PolicyId pulumi.IntPtrInput
	// Runbook URL to display in notifications.
	RunbookUrl pulumi.StringPtrInput
	// Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slideBy` value is specified in seconds and must be smaller than and a factor of the `aggregationWindow`. `slideBy` cannot be used with `static` NRQL conditions using the `sum` `valueFunction`.
	SlideBy pulumi.IntPtrInput
	// **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).
	//
	// Deprecated: 'value_function' is deprecated.  Remove this field and condition will evaluate as 'single_value' by default.  To replicate 'sum' behavior, use 'slide_by'.
	ValueFunction pulumi.StringPtrInput
	// **DEPRECATED:** Use `violationTimeLimitSeconds` instead. 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`, `THIRTY_DAYS` (case insensitive).<br>
	// <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small>
	//
	// Deprecated: use `violation_time_limit_seconds` attribute instead
	ViolationTimeLimit pulumi.StringPtrInput
	// Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days) (inclusive). <br>
	// <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small>
	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 `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).
	//
	// Deprecated: use `threshold_duration` attribute instead
	Duration *int `pulumi:"duration"`
	// Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`.
	Operator *string `pulumi:"operator"`
	// `critical` or `warning`. Defaults to `critical`.
	Priority *string `pulumi:"priority"`
	// The value which will trigger a violation. Must be `0` or greater.
	Threshold float64 `pulumi:"threshold"`
	// The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds).
	// <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive).
	// <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive).
	// <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive).
	ThresholdDuration *int `pulumi:"thresholdDuration"`
	// The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive).
	ThresholdOccurrences *string `pulumi:"thresholdOccurrences"`
	// **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`.
	//
	// Deprecated: use `threshold_occurrences` attribute instead
	TimeFunction *string `pulumi:"timeFunction"`
}

type NrqlAlertConditionTermArgs

type NrqlAlertConditionTermArgs struct {
	// **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).
	//
	// Deprecated: use `threshold_duration` attribute instead
	Duration pulumi.IntPtrInput `pulumi:"duration"`
	// Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`.
	Operator pulumi.StringPtrInput `pulumi:"operator"`
	// `critical` or `warning`. Defaults to `critical`.
	Priority pulumi.StringPtrInput `pulumi:"priority"`
	// The value which will trigger a violation. Must be `0` or greater.
	Threshold pulumi.Float64Input `pulumi:"threshold"`
	// The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds).
	// <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive).
	// <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive).
	// <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive).
	ThresholdDuration pulumi.IntPtrInput `pulumi:"thresholdDuration"`
	// The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive).
	ThresholdOccurrences pulumi.StringPtrInput `pulumi:"thresholdOccurrences"`
	// **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`.
	//
	// 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 `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).

Deprecated: use `threshold_duration` attribute instead

func (NrqlAlertConditionTermOutput) ElementType

func (NrqlAlertConditionTermOutput) Operator

Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`.

func (NrqlAlertConditionTermOutput) Priority

`critical` or `warning`. Defaults to `critical`.

func (NrqlAlertConditionTermOutput) Threshold

The value which will trigger a violation. Must be `0` or greater.

func (NrqlAlertConditionTermOutput) ThresholdDuration

func (o NrqlAlertConditionTermOutput) ThresholdDuration() pulumi.IntPtrOutput

The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds). <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive).

func (NrqlAlertConditionTermOutput) ThresholdOccurrences

func (o NrqlAlertConditionTermOutput) ThresholdOccurrences() pulumi.StringPtrOutput

The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive).

func (NrqlAlertConditionTermOutput) TimeFunction deprecated

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

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 `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).
	//
	// Deprecated: use `threshold_duration` attribute instead
	Duration *int `pulumi:"duration"`
	// Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`.
	Operator *string `pulumi:"operator"`
	// The value which will trigger a violation. Must be `0` or greater.
	Threshold float64 `pulumi:"threshold"`
	// The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds).
	// <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive).
	// <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive).
	// <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive).
	ThresholdDuration *int `pulumi:"thresholdDuration"`
	// The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive).
	ThresholdOccurrences *string `pulumi:"thresholdOccurrences"`
	// **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`.
	//
	// Deprecated: use `threshold_occurrences` attribute instead
	TimeFunction *string `pulumi:"timeFunction"`
}

type NrqlAlertConditionWarningArgs

type NrqlAlertConditionWarningArgs struct {
	// **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).
	//
	// Deprecated: use `threshold_duration` attribute instead
	Duration pulumi.IntPtrInput `pulumi:"duration"`
	// Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`.
	Operator pulumi.StringPtrInput `pulumi:"operator"`
	// The value which will trigger a violation. Must be `0` or greater.
	Threshold pulumi.Float64Input `pulumi:"threshold"`
	// The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds).
	// <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive).
	// <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive).
	// <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive).
	ThresholdDuration pulumi.IntPtrInput `pulumi:"thresholdDuration"`
	// The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive).
	ThresholdOccurrences pulumi.StringPtrInput `pulumi:"thresholdOccurrences"`
	// **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`.
	//
	// 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 `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).

Deprecated: use `threshold_duration` attribute instead

func (NrqlAlertConditionWarningOutput) ElementType

func (NrqlAlertConditionWarningOutput) Operator

Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`.

func (NrqlAlertConditionWarningOutput) Threshold

The value which will trigger a violation. Must be `0` or greater.

func (NrqlAlertConditionWarningOutput) ThresholdDuration

func (o NrqlAlertConditionWarningOutput) ThresholdDuration() pulumi.IntPtrOutput

The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds). <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive).

func (NrqlAlertConditionWarningOutput) ThresholdOccurrences

func (o NrqlAlertConditionWarningOutput) ThresholdOccurrences() pulumi.StringPtrOutput

The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive).

func (NrqlAlertConditionWarningOutput) TimeFunction deprecated

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

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

Deprecated: use `threshold_duration` attribute instead

func (NrqlAlertConditionWarningPtrOutput) Elem

func (NrqlAlertConditionWarningPtrOutput) ElementType

func (NrqlAlertConditionWarningPtrOutput) Operator

Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`.

func (NrqlAlertConditionWarningPtrOutput) Threshold

The value which will trigger a violation. Must be `0` or greater.

func (NrqlAlertConditionWarningPtrOutput) ThresholdDuration

The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds). <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive).

func (NrqlAlertConditionWarningPtrOutput) ThresholdOccurrences

The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive).

func (NrqlAlertConditionWarningPtrOutput) TimeFunction deprecated

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

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 NrqlDropRule

type NrqlDropRule struct {
	pulumi.CustomResourceState

	// Account where the drop rule will be put. Defaults to the account associated with the API key used.
	AccountId pulumi.IntOutput `pulumi:"accountId"`
	// An action type specifying how to apply the NRQL string (either `dropData`, `dropAttributes`, or `  dropAttributesFromMetricAggregates `).
	Action pulumi.StringOutput `pulumi:"action"`
	// The description of the drop rule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A NRQL string that specifies what data types to drop.
	Nrql pulumi.StringOutput `pulumi:"nrql"`
	// The id, uniquely identifying the rule.
	RuleId pulumi.StringOutput `pulumi:"ruleId"`
}

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewNrqlDropRule(ctx, "foo", &newrelic.NrqlDropRuleArgs{
			AccountId:   pulumi.Int(12345),
			Action:      pulumi.String("drop_data"),
			Description: pulumi.String("Drops all data for MyCustomEvent that comes from the LoadGeneratingApp in the dev environment, because there is too much and we don’t look at it."),
			Nrql:        pulumi.String("SELECT * FROM MyCustomEvent WHERE appName='LoadGeneratingApp' AND environment='development'"),
		})
		if err != nil {
			return err
		}
		_, err = newrelic.NewNrqlDropRule(ctx, "bar", &newrelic.NrqlDropRuleArgs{
			AccountId:   pulumi.Int(12345),
			Action:      pulumi.String("drop_attributes"),
			Description: pulumi.String("Removes the user name and email fields from MyCustomEvent"),
			Nrql:        pulumi.String("SELECT userEmail, userName FROM MyCustomEvent"),
		})
		if err != nil {
			return err
		}
		_, err = newrelic.NewNrqlDropRule(ctx, "baz", &newrelic.NrqlDropRuleArgs{
			AccountId:   pulumi.Int(12345),
			Action:      pulumi.String("drop_attributes_from_metric_aggregates"),
			Description: pulumi.String("Removes containerId from metric aggregates to reduce metric cardinality."),
			Nrql:        pulumi.String("SELECT containerId FROM Metric"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

New Relic NRQL drop rules can be imported using a concatenated string of the format

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

```sh

$ pulumi import newrelic:index/nrqlDropRule:NrqlDropRule foo 12345:34567

```

func GetNrqlDropRule

func GetNrqlDropRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NrqlDropRuleState, opts ...pulumi.ResourceOption) (*NrqlDropRule, error)

GetNrqlDropRule gets an existing NrqlDropRule 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 NewNrqlDropRule

func NewNrqlDropRule(ctx *pulumi.Context,
	name string, args *NrqlDropRuleArgs, opts ...pulumi.ResourceOption) (*NrqlDropRule, error)

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

func (*NrqlDropRule) ElementType

func (*NrqlDropRule) ElementType() reflect.Type

func (*NrqlDropRule) ToNrqlDropRuleOutput

func (i *NrqlDropRule) ToNrqlDropRuleOutput() NrqlDropRuleOutput

func (*NrqlDropRule) ToNrqlDropRuleOutputWithContext

func (i *NrqlDropRule) ToNrqlDropRuleOutputWithContext(ctx context.Context) NrqlDropRuleOutput

type NrqlDropRuleArgs

type NrqlDropRuleArgs struct {
	// Account where the drop rule will be put. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput
	// An action type specifying how to apply the NRQL string (either `dropData`, `dropAttributes`, or `  dropAttributesFromMetricAggregates `).
	Action pulumi.StringInput
	// The description of the drop rule.
	Description pulumi.StringPtrInput
	// A NRQL string that specifies what data types to drop.
	Nrql pulumi.StringInput
}

The set of arguments for constructing a NrqlDropRule resource.

func (NrqlDropRuleArgs) ElementType

func (NrqlDropRuleArgs) ElementType() reflect.Type

type NrqlDropRuleArray

type NrqlDropRuleArray []NrqlDropRuleInput

func (NrqlDropRuleArray) ElementType

func (NrqlDropRuleArray) ElementType() reflect.Type

func (NrqlDropRuleArray) ToNrqlDropRuleArrayOutput

func (i NrqlDropRuleArray) ToNrqlDropRuleArrayOutput() NrqlDropRuleArrayOutput

func (NrqlDropRuleArray) ToNrqlDropRuleArrayOutputWithContext

func (i NrqlDropRuleArray) ToNrqlDropRuleArrayOutputWithContext(ctx context.Context) NrqlDropRuleArrayOutput

type NrqlDropRuleArrayInput

type NrqlDropRuleArrayInput interface {
	pulumi.Input

	ToNrqlDropRuleArrayOutput() NrqlDropRuleArrayOutput
	ToNrqlDropRuleArrayOutputWithContext(context.Context) NrqlDropRuleArrayOutput
}

NrqlDropRuleArrayInput is an input type that accepts NrqlDropRuleArray and NrqlDropRuleArrayOutput values. You can construct a concrete instance of `NrqlDropRuleArrayInput` via:

NrqlDropRuleArray{ NrqlDropRuleArgs{...} }

type NrqlDropRuleArrayOutput

type NrqlDropRuleArrayOutput struct{ *pulumi.OutputState }

func (NrqlDropRuleArrayOutput) ElementType

func (NrqlDropRuleArrayOutput) ElementType() reflect.Type

func (NrqlDropRuleArrayOutput) Index

func (NrqlDropRuleArrayOutput) ToNrqlDropRuleArrayOutput

func (o NrqlDropRuleArrayOutput) ToNrqlDropRuleArrayOutput() NrqlDropRuleArrayOutput

func (NrqlDropRuleArrayOutput) ToNrqlDropRuleArrayOutputWithContext

func (o NrqlDropRuleArrayOutput) ToNrqlDropRuleArrayOutputWithContext(ctx context.Context) NrqlDropRuleArrayOutput

type NrqlDropRuleInput

type NrqlDropRuleInput interface {
	pulumi.Input

	ToNrqlDropRuleOutput() NrqlDropRuleOutput
	ToNrqlDropRuleOutputWithContext(ctx context.Context) NrqlDropRuleOutput
}

type NrqlDropRuleMap

type NrqlDropRuleMap map[string]NrqlDropRuleInput

func (NrqlDropRuleMap) ElementType

func (NrqlDropRuleMap) ElementType() reflect.Type

func (NrqlDropRuleMap) ToNrqlDropRuleMapOutput

func (i NrqlDropRuleMap) ToNrqlDropRuleMapOutput() NrqlDropRuleMapOutput

func (NrqlDropRuleMap) ToNrqlDropRuleMapOutputWithContext

func (i NrqlDropRuleMap) ToNrqlDropRuleMapOutputWithContext(ctx context.Context) NrqlDropRuleMapOutput

type NrqlDropRuleMapInput

type NrqlDropRuleMapInput interface {
	pulumi.Input

	ToNrqlDropRuleMapOutput() NrqlDropRuleMapOutput
	ToNrqlDropRuleMapOutputWithContext(context.Context) NrqlDropRuleMapOutput
}

NrqlDropRuleMapInput is an input type that accepts NrqlDropRuleMap and NrqlDropRuleMapOutput values. You can construct a concrete instance of `NrqlDropRuleMapInput` via:

NrqlDropRuleMap{ "key": NrqlDropRuleArgs{...} }

type NrqlDropRuleMapOutput

type NrqlDropRuleMapOutput struct{ *pulumi.OutputState }

func (NrqlDropRuleMapOutput) ElementType

func (NrqlDropRuleMapOutput) ElementType() reflect.Type

func (NrqlDropRuleMapOutput) MapIndex

func (NrqlDropRuleMapOutput) ToNrqlDropRuleMapOutput

func (o NrqlDropRuleMapOutput) ToNrqlDropRuleMapOutput() NrqlDropRuleMapOutput

func (NrqlDropRuleMapOutput) ToNrqlDropRuleMapOutputWithContext

func (o NrqlDropRuleMapOutput) ToNrqlDropRuleMapOutputWithContext(ctx context.Context) NrqlDropRuleMapOutput

type NrqlDropRuleOutput

type NrqlDropRuleOutput struct{ *pulumi.OutputState }

func (NrqlDropRuleOutput) AccountId added in v4.15.0

func (o NrqlDropRuleOutput) AccountId() pulumi.IntOutput

Account where the drop rule will be put. Defaults to the account associated with the API key used.

func (NrqlDropRuleOutput) Action added in v4.15.0

An action type specifying how to apply the NRQL string (either `dropData`, `dropAttributes`, or ` dropAttributesFromMetricAggregates `).

func (NrqlDropRuleOutput) Description added in v4.15.0

func (o NrqlDropRuleOutput) Description() pulumi.StringPtrOutput

The description of the drop rule.

func (NrqlDropRuleOutput) ElementType

func (NrqlDropRuleOutput) ElementType() reflect.Type

func (NrqlDropRuleOutput) Nrql added in v4.15.0

A NRQL string that specifies what data types to drop.

func (NrqlDropRuleOutput) RuleId added in v4.15.0

The id, uniquely identifying the rule.

func (NrqlDropRuleOutput) ToNrqlDropRuleOutput

func (o NrqlDropRuleOutput) ToNrqlDropRuleOutput() NrqlDropRuleOutput

func (NrqlDropRuleOutput) ToNrqlDropRuleOutputWithContext

func (o NrqlDropRuleOutput) ToNrqlDropRuleOutputWithContext(ctx context.Context) NrqlDropRuleOutput

type NrqlDropRuleState

type NrqlDropRuleState struct {
	// Account where the drop rule will be put. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput
	// An action type specifying how to apply the NRQL string (either `dropData`, `dropAttributes`, or `  dropAttributesFromMetricAggregates `).
	Action pulumi.StringPtrInput
	// The description of the drop rule.
	Description pulumi.StringPtrInput
	// A NRQL string that specifies what data types to drop.
	Nrql pulumi.StringPtrInput
	// The id, uniquely identifying the rule.
	RuleId pulumi.StringPtrInput
}

func (NrqlDropRuleState) ElementType

func (NrqlDropRuleState) ElementType() reflect.Type

type OneDashboard

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>

```

In addition you can use the [New Relic CLI](https://github.com/newrelic/newrelic-cli#readme) to convert existing dashboards to HCL. [Copy your dashboards as JSON using the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/), save it as a file (for example `terraform.json`), and use the following command to convert it to HCL`cat terraform.json | newrelic utils terraform dashboard --label my_dashboard_resource`.

func GetOneDashboard

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

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

func (*OneDashboard) ElementType() reflect.Type

func (*OneDashboard) ToOneDashboardOutput

func (i *OneDashboard) ToOneDashboardOutput() OneDashboardOutput

func (*OneDashboard) ToOneDashboardOutputWithContext

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

type OneDashboardArgs

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

func (OneDashboardArgs) ElementType() reflect.Type

type OneDashboardArray

type OneDashboardArray []OneDashboardInput

func (OneDashboardArray) ElementType

func (OneDashboardArray) ElementType() reflect.Type

func (OneDashboardArray) ToOneDashboardArrayOutput

func (i OneDashboardArray) ToOneDashboardArrayOutput() OneDashboardArrayOutput

func (OneDashboardArray) ToOneDashboardArrayOutputWithContext

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

type OneDashboardArrayInput

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

type OneDashboardArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardArrayOutput) ElementType

func (OneDashboardArrayOutput) ElementType() reflect.Type

func (OneDashboardArrayOutput) Index

func (OneDashboardArrayOutput) ToOneDashboardArrayOutput

func (o OneDashboardArrayOutput) ToOneDashboardArrayOutput() OneDashboardArrayOutput

func (OneDashboardArrayOutput) ToOneDashboardArrayOutputWithContext

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

type OneDashboardInput

type OneDashboardInput interface {
	pulumi.Input

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

type OneDashboardMap

type OneDashboardMap map[string]OneDashboardInput

func (OneDashboardMap) ElementType

func (OneDashboardMap) ElementType() reflect.Type

func (OneDashboardMap) ToOneDashboardMapOutput

func (i OneDashboardMap) ToOneDashboardMapOutput() OneDashboardMapOutput

func (OneDashboardMap) ToOneDashboardMapOutputWithContext

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

type OneDashboardMapInput

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

type OneDashboardMapOutput struct{ *pulumi.OutputState }

func (OneDashboardMapOutput) ElementType

func (OneDashboardMapOutput) ElementType() reflect.Type

func (OneDashboardMapOutput) MapIndex

func (OneDashboardMapOutput) ToOneDashboardMapOutput

func (o OneDashboardMapOutput) ToOneDashboardMapOutput() OneDashboardMapOutput

func (OneDashboardMapOutput) ToOneDashboardMapOutputWithContext

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

type OneDashboardOutput

type OneDashboardOutput struct{ *pulumi.OutputState }

func (OneDashboardOutput) AccountId added in v4.15.0

func (o OneDashboardOutput) AccountId() pulumi.IntOutput

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

func (OneDashboardOutput) Description added in v4.15.0

func (o OneDashboardOutput) Description() pulumi.StringPtrOutput

Brief text describing the dashboard.

func (OneDashboardOutput) ElementType

func (OneDashboardOutput) ElementType() reflect.Type

func (OneDashboardOutput) Guid added in v4.15.0

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

func (OneDashboardOutput) Name added in v4.15.0

The title of the dashboard.

func (OneDashboardOutput) Pages added in v4.15.0

A nested block that describes a page. See Nested page blocks below for details.

func (o OneDashboardOutput) Permalink() pulumi.StringOutput

The URL for viewing the dashboard.

func (OneDashboardOutput) Permissions added in v4.15.0

func (o OneDashboardOutput) Permissions() pulumi.StringPtrOutput

Determines who can see the dashboard in an account. Valid values are `private`, `publicReadOnly`, or `publicReadWrite`. Defaults to `publicReadOnly`.

func (OneDashboardOutput) ToOneDashboardOutput

func (o OneDashboardOutput) ToOneDashboardOutput() OneDashboardOutput

func (OneDashboardOutput) ToOneDashboardOutputWithContext

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

type OneDashboardPage

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 JSON widget.  See Nested widget blocks below for details.
	WidgetJsons []OneDashboardPageWidgetJson `pulumi:"widgetJsons"`
	// (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 Log Table widget.  See Nested widget blocks below for details.
	WidgetLogTables []OneDashboardPageWidgetLogTable `pulumi:"widgetLogTables"`
	// (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 Stacked Bar widget. See Nested widget blocks below for details.
	WidgetStackedBars []OneDashboardPageWidgetStackedBar `pulumi:"widgetStackedBars"`
	// (Optional) A nested block that describes a Table widget.  See Nested widget blocks below for details.
	WidgetTables []OneDashboardPageWidgetTable `pulumi:"widgetTables"`
}

type OneDashboardPageArgs

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 JSON widget.  See Nested widget blocks below for details.
	WidgetJsons OneDashboardPageWidgetJsonArrayInput `pulumi:"widgetJsons"`
	// (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 Log Table widget.  See Nested widget blocks below for details.
	WidgetLogTables OneDashboardPageWidgetLogTableArrayInput `pulumi:"widgetLogTables"`
	// (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 Stacked Bar widget. See Nested widget blocks below for details.
	WidgetStackedBars OneDashboardPageWidgetStackedBarArrayInput `pulumi:"widgetStackedBars"`
	// (Optional) A nested block that describes a Table widget.  See Nested widget blocks below for details.
	WidgetTables OneDashboardPageWidgetTableArrayInput `pulumi:"widgetTables"`
}

func (OneDashboardPageArgs) ElementType

func (OneDashboardPageArgs) ElementType() reflect.Type

func (OneDashboardPageArgs) ToOneDashboardPageOutput

func (i OneDashboardPageArgs) ToOneDashboardPageOutput() OneDashboardPageOutput

func (OneDashboardPageArgs) ToOneDashboardPageOutputWithContext

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

type OneDashboardPageArray

type OneDashboardPageArray []OneDashboardPageInput

func (OneDashboardPageArray) ElementType

func (OneDashboardPageArray) ElementType() reflect.Type

func (OneDashboardPageArray) ToOneDashboardPageArrayOutput

func (i OneDashboardPageArray) ToOneDashboardPageArrayOutput() OneDashboardPageArrayOutput

func (OneDashboardPageArray) ToOneDashboardPageArrayOutputWithContext

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

type OneDashboardPageArrayInput

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

type OneDashboardPageArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageArrayOutput) ElementType

func (OneDashboardPageArrayOutput) Index

func (OneDashboardPageArrayOutput) ToOneDashboardPageArrayOutput

func (o OneDashboardPageArrayOutput) ToOneDashboardPageArrayOutput() OneDashboardPageArrayOutput

func (OneDashboardPageArrayOutput) ToOneDashboardPageArrayOutputWithContext

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

type OneDashboardPageInput

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

type OneDashboardPageOutput struct{ *pulumi.OutputState }

func (OneDashboardPageOutput) Description

Brief text describing the dashboard.

func (OneDashboardPageOutput) ElementType

func (OneDashboardPageOutput) ElementType() reflect.Type

func (OneDashboardPageOutput) Guid

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

func (OneDashboardPageOutput) Name

The title of the dashboard.

func (OneDashboardPageOutput) ToOneDashboardPageOutput

func (o OneDashboardPageOutput) ToOneDashboardPageOutput() OneDashboardPageOutput

func (OneDashboardPageOutput) ToOneDashboardPageOutputWithContext

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

func (OneDashboardPageOutput) WidgetAreas

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

func (OneDashboardPageOutput) WidgetBars

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

func (OneDashboardPageOutput) WidgetBillboards

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

func (OneDashboardPageOutput) WidgetBullets

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

func (OneDashboardPageOutput) WidgetFunnels

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

func (OneDashboardPageOutput) WidgetHeatmaps

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

func (OneDashboardPageOutput) WidgetHistograms

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

func (OneDashboardPageOutput) WidgetJsons

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

func (OneDashboardPageOutput) WidgetLines

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

func (OneDashboardPageOutput) WidgetLogTables added in v4.18.0

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

func (OneDashboardPageOutput) WidgetMarkdowns

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

func (OneDashboardPageOutput) WidgetPies

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

func (OneDashboardPageOutput) WidgetStackedBars added in v4.5.0

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

func (OneDashboardPageOutput) WidgetTables

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

type OneDashboardPageWidgetArea

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"`
	// (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"`
	// (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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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

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"`
	// (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"`
	// (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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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

func (OneDashboardPageWidgetAreaArgs) ToOneDashboardPageWidgetAreaOutput

func (i OneDashboardPageWidgetAreaArgs) ToOneDashboardPageWidgetAreaOutput() OneDashboardPageWidgetAreaOutput

func (OneDashboardPageWidgetAreaArgs) ToOneDashboardPageWidgetAreaOutputWithContext

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

type OneDashboardPageWidgetAreaArray

type OneDashboardPageWidgetAreaArray []OneDashboardPageWidgetAreaInput

func (OneDashboardPageWidgetAreaArray) ElementType

func (OneDashboardPageWidgetAreaArray) ToOneDashboardPageWidgetAreaArrayOutput

func (i OneDashboardPageWidgetAreaArray) ToOneDashboardPageWidgetAreaArrayOutput() OneDashboardPageWidgetAreaArrayOutput

func (OneDashboardPageWidgetAreaArray) ToOneDashboardPageWidgetAreaArrayOutputWithContext

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

type OneDashboardPageWidgetAreaArrayInput

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

type OneDashboardPageWidgetAreaArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetAreaArrayOutput) ElementType

func (OneDashboardPageWidgetAreaArrayOutput) Index

func (OneDashboardPageWidgetAreaArrayOutput) ToOneDashboardPageWidgetAreaArrayOutput

func (o OneDashboardPageWidgetAreaArrayOutput) ToOneDashboardPageWidgetAreaArrayOutput() OneDashboardPageWidgetAreaArrayOutput

func (OneDashboardPageWidgetAreaArrayOutput) ToOneDashboardPageWidgetAreaArrayOutputWithContext

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

type OneDashboardPageWidgetAreaInput

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

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

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

func (OneDashboardPageWidgetAreaNrqlQueryArgs) ToOneDashboardPageWidgetAreaNrqlQueryOutput

func (i OneDashboardPageWidgetAreaNrqlQueryArgs) ToOneDashboardPageWidgetAreaNrqlQueryOutput() OneDashboardPageWidgetAreaNrqlQueryOutput

func (OneDashboardPageWidgetAreaNrqlQueryArgs) ToOneDashboardPageWidgetAreaNrqlQueryOutputWithContext

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

type OneDashboardPageWidgetAreaNrqlQueryArray

type OneDashboardPageWidgetAreaNrqlQueryArray []OneDashboardPageWidgetAreaNrqlQueryInput

func (OneDashboardPageWidgetAreaNrqlQueryArray) ElementType

func (OneDashboardPageWidgetAreaNrqlQueryArray) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutput

func (i OneDashboardPageWidgetAreaNrqlQueryArray) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutput() OneDashboardPageWidgetAreaNrqlQueryArrayOutput

func (OneDashboardPageWidgetAreaNrqlQueryArray) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutputWithContext

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

type OneDashboardPageWidgetAreaNrqlQueryArrayInput

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

type OneDashboardPageWidgetAreaNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetAreaNrqlQueryArrayOutput) ElementType

func (OneDashboardPageWidgetAreaNrqlQueryArrayOutput) Index

func (OneDashboardPageWidgetAreaNrqlQueryArrayOutput) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutput

func (o OneDashboardPageWidgetAreaNrqlQueryArrayOutput) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutput() OneDashboardPageWidgetAreaNrqlQueryArrayOutput

func (OneDashboardPageWidgetAreaNrqlQueryArrayOutput) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutputWithContext

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

type OneDashboardPageWidgetAreaNrqlQueryInput

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

type OneDashboardPageWidgetAreaNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetAreaNrqlQueryOutput) AccountId

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

func (OneDashboardPageWidgetAreaNrqlQueryOutput) ElementType

func (OneDashboardPageWidgetAreaNrqlQueryOutput) Query

(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

func (o OneDashboardPageWidgetAreaNrqlQueryOutput) ToOneDashboardPageWidgetAreaNrqlQueryOutput() OneDashboardPageWidgetAreaNrqlQueryOutput

func (OneDashboardPageWidgetAreaNrqlQueryOutput) ToOneDashboardPageWidgetAreaNrqlQueryOutputWithContext

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

type OneDashboardPageWidgetAreaOutput

type OneDashboardPageWidgetAreaOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetAreaOutput) Column

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

func (OneDashboardPageWidgetAreaOutput) ElementType

func (OneDashboardPageWidgetAreaOutput) Height

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

func (OneDashboardPageWidgetAreaOutput) Id

func (OneDashboardPageWidgetAreaOutput) IgnoreTimeRange added in v4.17.0

(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.

func (OneDashboardPageWidgetAreaOutput) NrqlQueries

(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. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.

func (OneDashboardPageWidgetAreaOutput) Row

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

func (OneDashboardPageWidgetAreaOutput) Title

(Required) A title for the widget.

func (OneDashboardPageWidgetAreaOutput) ToOneDashboardPageWidgetAreaOutput

func (o OneDashboardPageWidgetAreaOutput) ToOneDashboardPageWidgetAreaOutput() OneDashboardPageWidgetAreaOutput

func (OneDashboardPageWidgetAreaOutput) ToOneDashboardPageWidgetAreaOutputWithContext

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

func (OneDashboardPageWidgetAreaOutput) Width

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

type OneDashboardPageWidgetBar

type OneDashboardPageWidgetBar struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column                 int   `pulumi:"column"`
	FilterCurrentDashboard *bool `pulumi:"filterCurrentDashboard"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height *int    `pulumi:"height"`
	Id     *string `pulumi:"id"`
	// (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange   *bool    `pulumi:"ignoreTimeRange"`
	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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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

type OneDashboardPageWidgetBarArgs struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column                 pulumi.IntInput     `pulumi:"column"`
	FilterCurrentDashboard pulumi.BoolPtrInput `pulumi:"filterCurrentDashboard"`
	// (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) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange   pulumi.BoolPtrInput     `pulumi:"ignoreTimeRange"`
	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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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

func (OneDashboardPageWidgetBarArgs) ToOneDashboardPageWidgetBarOutput

func (i OneDashboardPageWidgetBarArgs) ToOneDashboardPageWidgetBarOutput() OneDashboardPageWidgetBarOutput

func (OneDashboardPageWidgetBarArgs) ToOneDashboardPageWidgetBarOutputWithContext

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

type OneDashboardPageWidgetBarArray

type OneDashboardPageWidgetBarArray []OneDashboardPageWidgetBarInput

func (OneDashboardPageWidgetBarArray) ElementType

func (OneDashboardPageWidgetBarArray) ToOneDashboardPageWidgetBarArrayOutput

func (i OneDashboardPageWidgetBarArray) ToOneDashboardPageWidgetBarArrayOutput() OneDashboardPageWidgetBarArrayOutput

func (OneDashboardPageWidgetBarArray) ToOneDashboardPageWidgetBarArrayOutputWithContext

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

type OneDashboardPageWidgetBarArrayInput

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

type OneDashboardPageWidgetBarArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBarArrayOutput) ElementType

func (OneDashboardPageWidgetBarArrayOutput) Index

func (OneDashboardPageWidgetBarArrayOutput) ToOneDashboardPageWidgetBarArrayOutput

func (o OneDashboardPageWidgetBarArrayOutput) ToOneDashboardPageWidgetBarArrayOutput() OneDashboardPageWidgetBarArrayOutput

func (OneDashboardPageWidgetBarArrayOutput) ToOneDashboardPageWidgetBarArrayOutputWithContext

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

type OneDashboardPageWidgetBarInput

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

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

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

func (OneDashboardPageWidgetBarNrqlQueryArgs) ToOneDashboardPageWidgetBarNrqlQueryOutput

func (i OneDashboardPageWidgetBarNrqlQueryArgs) ToOneDashboardPageWidgetBarNrqlQueryOutput() OneDashboardPageWidgetBarNrqlQueryOutput

func (OneDashboardPageWidgetBarNrqlQueryArgs) ToOneDashboardPageWidgetBarNrqlQueryOutputWithContext

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

type OneDashboardPageWidgetBarNrqlQueryArray

type OneDashboardPageWidgetBarNrqlQueryArray []OneDashboardPageWidgetBarNrqlQueryInput

func (OneDashboardPageWidgetBarNrqlQueryArray) ElementType

func (OneDashboardPageWidgetBarNrqlQueryArray) ToOneDashboardPageWidgetBarNrqlQueryArrayOutput

func (i OneDashboardPageWidgetBarNrqlQueryArray) ToOneDashboardPageWidgetBarNrqlQueryArrayOutput() OneDashboardPageWidgetBarNrqlQueryArrayOutput

func (OneDashboardPageWidgetBarNrqlQueryArray) ToOneDashboardPageWidgetBarNrqlQueryArrayOutputWithContext

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

type OneDashboardPageWidgetBarNrqlQueryArrayInput

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

type OneDashboardPageWidgetBarNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBarNrqlQueryArrayOutput) ElementType

func (OneDashboardPageWidgetBarNrqlQueryArrayOutput) Index

func (OneDashboardPageWidgetBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetBarNrqlQueryArrayOutput

func (o OneDashboardPageWidgetBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetBarNrqlQueryArrayOutput() OneDashboardPageWidgetBarNrqlQueryArrayOutput

func (OneDashboardPageWidgetBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetBarNrqlQueryArrayOutputWithContext

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

type OneDashboardPageWidgetBarNrqlQueryInput

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

type OneDashboardPageWidgetBarNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBarNrqlQueryOutput) AccountId

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

func (OneDashboardPageWidgetBarNrqlQueryOutput) ElementType

func (OneDashboardPageWidgetBarNrqlQueryOutput) Query

(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

func (o OneDashboardPageWidgetBarNrqlQueryOutput) ToOneDashboardPageWidgetBarNrqlQueryOutput() OneDashboardPageWidgetBarNrqlQueryOutput

func (OneDashboardPageWidgetBarNrqlQueryOutput) ToOneDashboardPageWidgetBarNrqlQueryOutputWithContext

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

type OneDashboardPageWidgetBarOutput

type OneDashboardPageWidgetBarOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBarOutput) Column

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

func (OneDashboardPageWidgetBarOutput) ElementType

func (OneDashboardPageWidgetBarOutput) FilterCurrentDashboard added in v4.5.0

func (o OneDashboardPageWidgetBarOutput) FilterCurrentDashboard() pulumi.BoolPtrOutput

func (OneDashboardPageWidgetBarOutput) Height

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

func (OneDashboardPageWidgetBarOutput) Id

func (OneDashboardPageWidgetBarOutput) IgnoreTimeRange added in v4.17.0

(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.

func (OneDashboardPageWidgetBarOutput) LinkedEntityGuids

func (OneDashboardPageWidgetBarOutput) NrqlQueries

(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. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.

func (OneDashboardPageWidgetBarOutput) Row

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

func (OneDashboardPageWidgetBarOutput) Title

(Required) A title for the widget.

func (OneDashboardPageWidgetBarOutput) ToOneDashboardPageWidgetBarOutput

func (o OneDashboardPageWidgetBarOutput) ToOneDashboardPageWidgetBarOutput() OneDashboardPageWidgetBarOutput

func (OneDashboardPageWidgetBarOutput) ToOneDashboardPageWidgetBarOutputWithContext

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

func (OneDashboardPageWidgetBarOutput) Width

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

type OneDashboardPageWidgetBillboard

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 *string `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"`
	// (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"`
	// (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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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 *string `pulumi:"warning"`
	// (Optional) Width of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `4`.
	Width *int `pulumi:"width"`
}

type OneDashboardPageWidgetBillboardArgs

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.StringPtrInput `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"`
	// (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"`
	// (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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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.StringPtrInput `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

func (OneDashboardPageWidgetBillboardArgs) ToOneDashboardPageWidgetBillboardOutput

func (i OneDashboardPageWidgetBillboardArgs) ToOneDashboardPageWidgetBillboardOutput() OneDashboardPageWidgetBillboardOutput

func (OneDashboardPageWidgetBillboardArgs) ToOneDashboardPageWidgetBillboardOutputWithContext

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

type OneDashboardPageWidgetBillboardArray

type OneDashboardPageWidgetBillboardArray []OneDashboardPageWidgetBillboardInput

func (OneDashboardPageWidgetBillboardArray) ElementType

func (OneDashboardPageWidgetBillboardArray) ToOneDashboardPageWidgetBillboardArrayOutput

func (i OneDashboardPageWidgetBillboardArray) ToOneDashboardPageWidgetBillboardArrayOutput() OneDashboardPageWidgetBillboardArrayOutput

func (OneDashboardPageWidgetBillboardArray) ToOneDashboardPageWidgetBillboardArrayOutputWithContext

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

type OneDashboardPageWidgetBillboardArrayInput

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

type OneDashboardPageWidgetBillboardArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBillboardArrayOutput) ElementType

func (OneDashboardPageWidgetBillboardArrayOutput) Index

func (OneDashboardPageWidgetBillboardArrayOutput) ToOneDashboardPageWidgetBillboardArrayOutput

func (o OneDashboardPageWidgetBillboardArrayOutput) ToOneDashboardPageWidgetBillboardArrayOutput() OneDashboardPageWidgetBillboardArrayOutput

func (OneDashboardPageWidgetBillboardArrayOutput) ToOneDashboardPageWidgetBillboardArrayOutputWithContext

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

type OneDashboardPageWidgetBillboardInput

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

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

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

func (OneDashboardPageWidgetBillboardNrqlQueryArgs) ToOneDashboardPageWidgetBillboardNrqlQueryOutput

func (i OneDashboardPageWidgetBillboardNrqlQueryArgs) ToOneDashboardPageWidgetBillboardNrqlQueryOutput() OneDashboardPageWidgetBillboardNrqlQueryOutput

func (OneDashboardPageWidgetBillboardNrqlQueryArgs) ToOneDashboardPageWidgetBillboardNrqlQueryOutputWithContext

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

type OneDashboardPageWidgetBillboardNrqlQueryArray

type OneDashboardPageWidgetBillboardNrqlQueryArray []OneDashboardPageWidgetBillboardNrqlQueryInput

func (OneDashboardPageWidgetBillboardNrqlQueryArray) ElementType

func (OneDashboardPageWidgetBillboardNrqlQueryArray) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutput

func (i OneDashboardPageWidgetBillboardNrqlQueryArray) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutput() OneDashboardPageWidgetBillboardNrqlQueryArrayOutput

func (OneDashboardPageWidgetBillboardNrqlQueryArray) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutputWithContext

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

type OneDashboardPageWidgetBillboardNrqlQueryArrayInput

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

type OneDashboardPageWidgetBillboardNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) ElementType

func (OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) Index

func (OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutput

func (o OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutput() OneDashboardPageWidgetBillboardNrqlQueryArrayOutput

func (OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutputWithContext

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

type OneDashboardPageWidgetBillboardNrqlQueryInput

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

type OneDashboardPageWidgetBillboardNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBillboardNrqlQueryOutput) AccountId

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

func (OneDashboardPageWidgetBillboardNrqlQueryOutput) ElementType

func (OneDashboardPageWidgetBillboardNrqlQueryOutput) Query

(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

func (o OneDashboardPageWidgetBillboardNrqlQueryOutput) ToOneDashboardPageWidgetBillboardNrqlQueryOutput() OneDashboardPageWidgetBillboardNrqlQueryOutput

func (OneDashboardPageWidgetBillboardNrqlQueryOutput) ToOneDashboardPageWidgetBillboardNrqlQueryOutputWithContext

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

type OneDashboardPageWidgetBillboardOutput

type OneDashboardPageWidgetBillboardOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBillboardOutput) Column

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

func (OneDashboardPageWidgetBillboardOutput) Critical

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

func (OneDashboardPageWidgetBillboardOutput) ElementType

func (OneDashboardPageWidgetBillboardOutput) Height

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

func (OneDashboardPageWidgetBillboardOutput) Id

func (OneDashboardPageWidgetBillboardOutput) IgnoreTimeRange added in v4.17.0

(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.

func (OneDashboardPageWidgetBillboardOutput) NrqlQueries

(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. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.

func (OneDashboardPageWidgetBillboardOutput) Row

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

func (OneDashboardPageWidgetBillboardOutput) Title

(Required) A title for the widget.

func (OneDashboardPageWidgetBillboardOutput) ToOneDashboardPageWidgetBillboardOutput

func (o OneDashboardPageWidgetBillboardOutput) ToOneDashboardPageWidgetBillboardOutput() OneDashboardPageWidgetBillboardOutput

func (OneDashboardPageWidgetBillboardOutput) ToOneDashboardPageWidgetBillboardOutputWithContext

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

func (OneDashboardPageWidgetBillboardOutput) Warning

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

func (OneDashboardPageWidgetBillboardOutput) Width

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

type OneDashboardPageWidgetBullet

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) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"`
	// (Required) 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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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

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) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"`
	// (Required) Visualization limit for the widget.
	// * `widgetFunnel`
	Limit pulumi.Float64Input `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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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

func (OneDashboardPageWidgetBulletArgs) ToOneDashboardPageWidgetBulletOutput

func (i OneDashboardPageWidgetBulletArgs) ToOneDashboardPageWidgetBulletOutput() OneDashboardPageWidgetBulletOutput

func (OneDashboardPageWidgetBulletArgs) ToOneDashboardPageWidgetBulletOutputWithContext

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

type OneDashboardPageWidgetBulletArray

type OneDashboardPageWidgetBulletArray []OneDashboardPageWidgetBulletInput

func (OneDashboardPageWidgetBulletArray) ElementType

func (OneDashboardPageWidgetBulletArray) ToOneDashboardPageWidgetBulletArrayOutput

func (i OneDashboardPageWidgetBulletArray) ToOneDashboardPageWidgetBulletArrayOutput() OneDashboardPageWidgetBulletArrayOutput

func (OneDashboardPageWidgetBulletArray) ToOneDashboardPageWidgetBulletArrayOutputWithContext

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

type OneDashboardPageWidgetBulletArrayInput

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

type OneDashboardPageWidgetBulletArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBulletArrayOutput) ElementType

func (OneDashboardPageWidgetBulletArrayOutput) Index

func (OneDashboardPageWidgetBulletArrayOutput) ToOneDashboardPageWidgetBulletArrayOutput

func (o OneDashboardPageWidgetBulletArrayOutput) ToOneDashboardPageWidgetBulletArrayOutput() OneDashboardPageWidgetBulletArrayOutput

func (OneDashboardPageWidgetBulletArrayOutput) ToOneDashboardPageWidgetBulletArrayOutputWithContext

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

type OneDashboardPageWidgetBulletInput

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

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

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

func (OneDashboardPageWidgetBulletNrqlQueryArgs) ToOneDashboardPageWidgetBulletNrqlQueryOutput

func (i OneDashboardPageWidgetBulletNrqlQueryArgs) ToOneDashboardPageWidgetBulletNrqlQueryOutput() OneDashboardPageWidgetBulletNrqlQueryOutput

func (OneDashboardPageWidgetBulletNrqlQueryArgs) ToOneDashboardPageWidgetBulletNrqlQueryOutputWithContext

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

type OneDashboardPageWidgetBulletNrqlQueryArray

type OneDashboardPageWidgetBulletNrqlQueryArray []OneDashboardPageWidgetBulletNrqlQueryInput

func (OneDashboardPageWidgetBulletNrqlQueryArray) ElementType

func (OneDashboardPageWidgetBulletNrqlQueryArray) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutput

func (i OneDashboardPageWidgetBulletNrqlQueryArray) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutput() OneDashboardPageWidgetBulletNrqlQueryArrayOutput

func (OneDashboardPageWidgetBulletNrqlQueryArray) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutputWithContext

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

type OneDashboardPageWidgetBulletNrqlQueryArrayInput

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

type OneDashboardPageWidgetBulletNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBulletNrqlQueryArrayOutput) ElementType

func (OneDashboardPageWidgetBulletNrqlQueryArrayOutput) Index

func (OneDashboardPageWidgetBulletNrqlQueryArrayOutput) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutput

func (o OneDashboardPageWidgetBulletNrqlQueryArrayOutput) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutput() OneDashboardPageWidgetBulletNrqlQueryArrayOutput

func (OneDashboardPageWidgetBulletNrqlQueryArrayOutput) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutputWithContext

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

type OneDashboardPageWidgetBulletNrqlQueryInput

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

type OneDashboardPageWidgetBulletNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBulletNrqlQueryOutput) AccountId

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

func (OneDashboardPageWidgetBulletNrqlQueryOutput) ElementType

func (OneDashboardPageWidgetBulletNrqlQueryOutput) Query

(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

func (o OneDashboardPageWidgetBulletNrqlQueryOutput) ToOneDashboardPageWidgetBulletNrqlQueryOutput() OneDashboardPageWidgetBulletNrqlQueryOutput

func (OneDashboardPageWidgetBulletNrqlQueryOutput) ToOneDashboardPageWidgetBulletNrqlQueryOutputWithContext

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

type OneDashboardPageWidgetBulletOutput

type OneDashboardPageWidgetBulletOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetBulletOutput) Column

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

func (OneDashboardPageWidgetBulletOutput) ElementType

func (OneDashboardPageWidgetBulletOutput) Height

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

func (OneDashboardPageWidgetBulletOutput) Id

func (OneDashboardPageWidgetBulletOutput) IgnoreTimeRange added in v4.17.0

(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.

func (OneDashboardPageWidgetBulletOutput) Limit

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

func (OneDashboardPageWidgetBulletOutput) NrqlQueries

(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. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.

func (OneDashboardPageWidgetBulletOutput) Row

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

func (OneDashboardPageWidgetBulletOutput) Title

(Required) A title for the widget.

func (OneDashboardPageWidgetBulletOutput) ToOneDashboardPageWidgetBulletOutput

func (o OneDashboardPageWidgetBulletOutput) ToOneDashboardPageWidgetBulletOutput() OneDashboardPageWidgetBulletOutput

func (OneDashboardPageWidgetBulletOutput) ToOneDashboardPageWidgetBulletOutputWithContext

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

func (OneDashboardPageWidgetBulletOutput) Width

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

type OneDashboardPageWidgetFunnel

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"`
	// (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"`
	// (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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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

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"`
	// (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"`
	// (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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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

func (OneDashboardPageWidgetFunnelArgs) ToOneDashboardPageWidgetFunnelOutput

func (i OneDashboardPageWidgetFunnelArgs) ToOneDashboardPageWidgetFunnelOutput() OneDashboardPageWidgetFunnelOutput

func (OneDashboardPageWidgetFunnelArgs) ToOneDashboardPageWidgetFunnelOutputWithContext

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

type OneDashboardPageWidgetFunnelArray

type OneDashboardPageWidgetFunnelArray []OneDashboardPageWidgetFunnelInput

func (OneDashboardPageWidgetFunnelArray) ElementType

func (OneDashboardPageWidgetFunnelArray) ToOneDashboardPageWidgetFunnelArrayOutput

func (i OneDashboardPageWidgetFunnelArray) ToOneDashboardPageWidgetFunnelArrayOutput() OneDashboardPageWidgetFunnelArrayOutput

func (OneDashboardPageWidgetFunnelArray) ToOneDashboardPageWidgetFunnelArrayOutputWithContext

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

type OneDashboardPageWidgetFunnelArrayInput

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

type OneDashboardPageWidgetFunnelArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetFunnelArrayOutput) ElementType

func (OneDashboardPageWidgetFunnelArrayOutput) Index

func (OneDashboardPageWidgetFunnelArrayOutput) ToOneDashboardPageWidgetFunnelArrayOutput

func (o OneDashboardPageWidgetFunnelArrayOutput) ToOneDashboardPageWidgetFunnelArrayOutput() OneDashboardPageWidgetFunnelArrayOutput

func (OneDashboardPageWidgetFunnelArrayOutput) ToOneDashboardPageWidgetFunnelArrayOutputWithContext

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

type OneDashboardPageWidgetFunnelInput

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

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

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

func (OneDashboardPageWidgetFunnelNrqlQueryArgs) ToOneDashboardPageWidgetFunnelNrqlQueryOutput

func (i OneDashboardPageWidgetFunnelNrqlQueryArgs) ToOneDashboardPageWidgetFunnelNrqlQueryOutput() OneDashboardPageWidgetFunnelNrqlQueryOutput

func (OneDashboardPageWidgetFunnelNrqlQueryArgs) ToOneDashboardPageWidgetFunnelNrqlQueryOutputWithContext

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

type OneDashboardPageWidgetFunnelNrqlQueryArray

type OneDashboardPageWidgetFunnelNrqlQueryArray []OneDashboardPageWidgetFunnelNrqlQueryInput

func (OneDashboardPageWidgetFunnelNrqlQueryArray) ElementType

func (OneDashboardPageWidgetFunnelNrqlQueryArray) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutput

func (i OneDashboardPageWidgetFunnelNrqlQueryArray) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutput() OneDashboardPageWidgetFunnelNrqlQueryArrayOutput

func (OneDashboardPageWidgetFunnelNrqlQueryArray) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutputWithContext

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

type OneDashboardPageWidgetFunnelNrqlQueryArrayInput

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

type OneDashboardPageWidgetFunnelNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) ElementType

func (OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) Index

func (OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutput

func (o OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutput() OneDashboardPageWidgetFunnelNrqlQueryArrayOutput

func (OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutputWithContext

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

type OneDashboardPageWidgetFunnelNrqlQueryInput

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

type OneDashboardPageWidgetFunnelNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetFunnelNrqlQueryOutput) AccountId

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

func (OneDashboardPageWidgetFunnelNrqlQueryOutput) ElementType

func (OneDashboardPageWidgetFunnelNrqlQueryOutput) Query

(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

func (o OneDashboardPageWidgetFunnelNrqlQueryOutput) ToOneDashboardPageWidgetFunnelNrqlQueryOutput() OneDashboardPageWidgetFunnelNrqlQueryOutput

func (OneDashboardPageWidgetFunnelNrqlQueryOutput) ToOneDashboardPageWidgetFunnelNrqlQueryOutputWithContext

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

type OneDashboardPageWidgetFunnelOutput

type OneDashboardPageWidgetFunnelOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetFunnelOutput) Column

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

func (OneDashboardPageWidgetFunnelOutput) ElementType

func (OneDashboardPageWidgetFunnelOutput) Height

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

func (OneDashboardPageWidgetFunnelOutput) Id

func (OneDashboardPageWidgetFunnelOutput) IgnoreTimeRange added in v4.17.0

(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.

func (OneDashboardPageWidgetFunnelOutput) NrqlQueries

(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. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.

func (OneDashboardPageWidgetFunnelOutput) Row

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

func (OneDashboardPageWidgetFunnelOutput) Title

(Required) A title for the widget.

func (OneDashboardPageWidgetFunnelOutput) ToOneDashboardPageWidgetFunnelOutput

func (o OneDashboardPageWidgetFunnelOutput) ToOneDashboardPageWidgetFunnelOutput() OneDashboardPageWidgetFunnelOutput

func (OneDashboardPageWidgetFunnelOutput) ToOneDashboardPageWidgetFunnelOutputWithContext

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

func (OneDashboardPageWidgetFunnelOutput) Width

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

type OneDashboardPageWidgetHeatmap

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"`
	// (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"`
	// (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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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

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"`
	// (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"`
	// (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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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

func (OneDashboardPageWidgetHeatmapArgs) ToOneDashboardPageWidgetHeatmapOutput

func (i OneDashboardPageWidgetHeatmapArgs) ToOneDashboardPageWidgetHeatmapOutput() OneDashboardPageWidgetHeatmapOutput

func (OneDashboardPageWidgetHeatmapArgs) ToOneDashboardPageWidgetHeatmapOutputWithContext

func (i OneDashboardPageWidgetHeatmapArgs) ToOneDashboardPageWidgetHeatmapOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapOutput

type OneDashboardPageWidgetHeatmapArray

type OneDashboardPageWidgetHeatmapArray []OneDashboardPageWidgetHeatmapInput

func (OneDashboardPageWidgetHeatmapArray) ElementType

func (OneDashboardPageWidgetHeatmapArray) ToOneDashboardPageWidgetHeatmapArrayOutput

func (i OneDashboardPageWidgetHeatmapArray) ToOneDashboardPageWidgetHeatmapArrayOutput() OneDashboardPageWidgetHeatmapArrayOutput

func (OneDashboardPageWidgetHeatmapArray) ToOneDashboardPageWidgetHeatmapArrayOutputWithContext

func (i OneDashboardPageWidgetHeatmapArray) ToOneDashboardPageWidgetHeatmapArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapArrayOutput

type OneDashboardPageWidgetHeatmapArrayInput

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

type OneDashboardPageWidgetHeatmapArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetHeatmapArrayOutput) ElementType

func (OneDashboardPageWidgetHeatmapArrayOutput) Index

func (OneDashboardPageWidgetHeatmapArrayOutput) ToOneDashboardPageWidgetHeatmapArrayOutput

func (o OneDashboardPageWidgetHeatmapArrayOutput) ToOneDashboardPageWidgetHeatmapArrayOutput() OneDashboardPageWidgetHeatmapArrayOutput

func (OneDashboardPageWidgetHeatmapArrayOutput) ToOneDashboardPageWidgetHeatmapArrayOutputWithContext

func (o OneDashboardPageWidgetHeatmapArrayOutput) ToOneDashboardPageWidgetHeatmapArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapArrayOutput

type OneDashboardPageWidgetHeatmapInput

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

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

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

func (OneDashboardPageWidgetHeatmapNrqlQueryArgs) ToOneDashboardPageWidgetHeatmapNrqlQueryOutput

func (i OneDashboardPageWidgetHeatmapNrqlQueryArgs) ToOneDashboardPageWidgetHeatmapNrqlQueryOutput() OneDashboardPageWidgetHeatmapNrqlQueryOutput

func (OneDashboardPageWidgetHeatmapNrqlQueryArgs) ToOneDashboardPageWidgetHeatmapNrqlQueryOutputWithContext

func (i OneDashboardPageWidgetHeatmapNrqlQueryArgs) ToOneDashboardPageWidgetHeatmapNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapNrqlQueryOutput

type OneDashboardPageWidgetHeatmapNrqlQueryArray

type OneDashboardPageWidgetHeatmapNrqlQueryArray []OneDashboardPageWidgetHeatmapNrqlQueryInput

func (OneDashboardPageWidgetHeatmapNrqlQueryArray) ElementType

func (OneDashboardPageWidgetHeatmapNrqlQueryArray) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutput

func (i OneDashboardPageWidgetHeatmapNrqlQueryArray) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutput() OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput

func (OneDashboardPageWidgetHeatmapNrqlQueryArray) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutputWithContext

func (i OneDashboardPageWidgetHeatmapNrqlQueryArray) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput

type OneDashboardPageWidgetHeatmapNrqlQueryArrayInput

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

type OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ElementType

func (OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) Index

func (OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutput

func (o OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutput() OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput

func (OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutputWithContext

func (o OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput

type OneDashboardPageWidgetHeatmapNrqlQueryInput

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

type OneDashboardPageWidgetHeatmapNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetHeatmapNrqlQueryOutput) AccountId

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

func (OneDashboardPageWidgetHeatmapNrqlQueryOutput) ElementType

func (OneDashboardPageWidgetHeatmapNrqlQueryOutput) Query

(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

func (o OneDashboardPageWidgetHeatmapNrqlQueryOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryOutput() OneDashboardPageWidgetHeatmapNrqlQueryOutput

func (OneDashboardPageWidgetHeatmapNrqlQueryOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryOutputWithContext

func (o OneDashboardPageWidgetHeatmapNrqlQueryOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapNrqlQueryOutput

type OneDashboardPageWidgetHeatmapOutput

type OneDashboardPageWidgetHeatmapOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetHeatmapOutput) Column

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

func (OneDashboardPageWidgetHeatmapOutput) ElementType

func (OneDashboardPageWidgetHeatmapOutput) Height

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

func (OneDashboardPageWidgetHeatmapOutput) Id

func (OneDashboardPageWidgetHeatmapOutput) IgnoreTimeRange added in v4.17.0

(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.

func (OneDashboardPageWidgetHeatmapOutput) NrqlQueries

(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. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.

func (OneDashboardPageWidgetHeatmapOutput) Row

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

func (OneDashboardPageWidgetHeatmapOutput) Title

(Required) A title for the widget.

func (OneDashboardPageWidgetHeatmapOutput) ToOneDashboardPageWidgetHeatmapOutput

func (o OneDashboardPageWidgetHeatmapOutput) ToOneDashboardPageWidgetHeatmapOutput() OneDashboardPageWidgetHeatmapOutput

func (OneDashboardPageWidgetHeatmapOutput) ToOneDashboardPageWidgetHeatmapOutputWithContext

func (o OneDashboardPageWidgetHeatmapOutput) ToOneDashboardPageWidgetHeatmapOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapOutput

func (OneDashboardPageWidgetHeatmapOutput) Width

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

type OneDashboardPageWidgetHistogram

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"`
	// (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"`
	// (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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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

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"`
	// (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"`
	// (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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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

func (OneDashboardPageWidgetHistogramArgs) ToOneDashboardPageWidgetHistogramOutput

func (i OneDashboardPageWidgetHistogramArgs) ToOneDashboardPageWidgetHistogramOutput() OneDashboardPageWidgetHistogramOutput

func (OneDashboardPageWidgetHistogramArgs) ToOneDashboardPageWidgetHistogramOutputWithContext

func (i OneDashboardPageWidgetHistogramArgs) ToOneDashboardPageWidgetHistogramOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramOutput

type OneDashboardPageWidgetHistogramArray

type OneDashboardPageWidgetHistogramArray []OneDashboardPageWidgetHistogramInput

func (OneDashboardPageWidgetHistogramArray) ElementType

func (OneDashboardPageWidgetHistogramArray) ToOneDashboardPageWidgetHistogramArrayOutput

func (i OneDashboardPageWidgetHistogramArray) ToOneDashboardPageWidgetHistogramArrayOutput() OneDashboardPageWidgetHistogramArrayOutput

func (OneDashboardPageWidgetHistogramArray) ToOneDashboardPageWidgetHistogramArrayOutputWithContext

func (i OneDashboardPageWidgetHistogramArray) ToOneDashboardPageWidgetHistogramArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramArrayOutput

type OneDashboardPageWidgetHistogramArrayInput

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

type OneDashboardPageWidgetHistogramArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetHistogramArrayOutput) ElementType

func (OneDashboardPageWidgetHistogramArrayOutput) Index

func (OneDashboardPageWidgetHistogramArrayOutput) ToOneDashboardPageWidgetHistogramArrayOutput

func (o OneDashboardPageWidgetHistogramArrayOutput) ToOneDashboardPageWidgetHistogramArrayOutput() OneDashboardPageWidgetHistogramArrayOutput

func (OneDashboardPageWidgetHistogramArrayOutput) ToOneDashboardPageWidgetHistogramArrayOutputWithContext

func (o OneDashboardPageWidgetHistogramArrayOutput) ToOneDashboardPageWidgetHistogramArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramArrayOutput

type OneDashboardPageWidgetHistogramInput

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

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

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

func (OneDashboardPageWidgetHistogramNrqlQueryArgs) ToOneDashboardPageWidgetHistogramNrqlQueryOutput

func (i OneDashboardPageWidgetHistogramNrqlQueryArgs) ToOneDashboardPageWidgetHistogramNrqlQueryOutput() OneDashboardPageWidgetHistogramNrqlQueryOutput

func (OneDashboardPageWidgetHistogramNrqlQueryArgs) ToOneDashboardPageWidgetHistogramNrqlQueryOutputWithContext

func (i OneDashboardPageWidgetHistogramNrqlQueryArgs) ToOneDashboardPageWidgetHistogramNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramNrqlQueryOutput

type OneDashboardPageWidgetHistogramNrqlQueryArray

type OneDashboardPageWidgetHistogramNrqlQueryArray []OneDashboardPageWidgetHistogramNrqlQueryInput

func (OneDashboardPageWidgetHistogramNrqlQueryArray) ElementType

func (OneDashboardPageWidgetHistogramNrqlQueryArray) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutput

func (i OneDashboardPageWidgetHistogramNrqlQueryArray) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutput() OneDashboardPageWidgetHistogramNrqlQueryArrayOutput

func (OneDashboardPageWidgetHistogramNrqlQueryArray) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutputWithContext

func (i OneDashboardPageWidgetHistogramNrqlQueryArray) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramNrqlQueryArrayOutput

type OneDashboardPageWidgetHistogramNrqlQueryArrayInput

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

type OneDashboardPageWidgetHistogramNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ElementType

func (OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) Index

func (OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutput

func (o OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutput() OneDashboardPageWidgetHistogramNrqlQueryArrayOutput

func (OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutputWithContext

func (o OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramNrqlQueryArrayOutput

type OneDashboardPageWidgetHistogramNrqlQueryInput

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

type OneDashboardPageWidgetHistogramNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetHistogramNrqlQueryOutput) AccountId

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

func (OneDashboardPageWidgetHistogramNrqlQueryOutput) ElementType

func (OneDashboardPageWidgetHistogramNrqlQueryOutput) Query

(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

func (o OneDashboardPageWidgetHistogramNrqlQueryOutput) ToOneDashboardPageWidgetHistogramNrqlQueryOutput() OneDashboardPageWidgetHistogramNrqlQueryOutput

func (OneDashboardPageWidgetHistogramNrqlQueryOutput) ToOneDashboardPageWidgetHistogramNrqlQueryOutputWithContext

func (o OneDashboardPageWidgetHistogramNrqlQueryOutput) ToOneDashboardPageWidgetHistogramNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramNrqlQueryOutput

type OneDashboardPageWidgetHistogramOutput

type OneDashboardPageWidgetHistogramOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetHistogramOutput) Column

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

func (OneDashboardPageWidgetHistogramOutput) ElementType

func (OneDashboardPageWidgetHistogramOutput) Height

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

func (OneDashboardPageWidgetHistogramOutput) Id

func (OneDashboardPageWidgetHistogramOutput) IgnoreTimeRange added in v4.17.0

(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.

func (OneDashboardPageWidgetHistogramOutput) NrqlQueries

(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. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.

func (OneDashboardPageWidgetHistogramOutput) Row

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

func (OneDashboardPageWidgetHistogramOutput) Title

(Required) A title for the widget.

func (OneDashboardPageWidgetHistogramOutput) ToOneDashboardPageWidgetHistogramOutput

func (o OneDashboardPageWidgetHistogramOutput) ToOneDashboardPageWidgetHistogramOutput() OneDashboardPageWidgetHistogramOutput

func (OneDashboardPageWidgetHistogramOutput) ToOneDashboardPageWidgetHistogramOutputWithContext

func (o OneDashboardPageWidgetHistogramOutput) ToOneDashboardPageWidgetHistogramOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramOutput

func (OneDashboardPageWidgetHistogramOutput) Width

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

type OneDashboardPageWidgetJson

type OneDashboardPageWidgetJson 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) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"`
	// (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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	NrqlQueries []OneDashboardPageWidgetJsonNrqlQuery `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 OneDashboardPageWidgetJsonArgs

type OneDashboardPageWidgetJsonArgs 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) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"`
	// (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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	NrqlQueries OneDashboardPageWidgetJsonNrqlQueryArrayInput `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 (OneDashboardPageWidgetJsonArgs) ElementType

func (OneDashboardPageWidgetJsonArgs) ToOneDashboardPageWidgetJsonOutput

func (i OneDashboardPageWidgetJsonArgs) ToOneDashboardPageWidgetJsonOutput() OneDashboardPageWidgetJsonOutput

func (OneDashboardPageWidgetJsonArgs) ToOneDashboardPageWidgetJsonOutputWithContext

func (i OneDashboardPageWidgetJsonArgs) ToOneDashboardPageWidgetJsonOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonOutput

type OneDashboardPageWidgetJsonArray

type OneDashboardPageWidgetJsonArray []OneDashboardPageWidgetJsonInput

func (OneDashboardPageWidgetJsonArray) ElementType

func (OneDashboardPageWidgetJsonArray) ToOneDashboardPageWidgetJsonArrayOutput

func (i OneDashboardPageWidgetJsonArray) ToOneDashboardPageWidgetJsonArrayOutput() OneDashboardPageWidgetJsonArrayOutput

func (OneDashboardPageWidgetJsonArray) ToOneDashboardPageWidgetJsonArrayOutputWithContext

func (i OneDashboardPageWidgetJsonArray) ToOneDashboardPageWidgetJsonArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonArrayOutput

type OneDashboardPageWidgetJsonArrayInput

type OneDashboardPageWidgetJsonArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetJsonArrayOutput() OneDashboardPageWidgetJsonArrayOutput
	ToOneDashboardPageWidgetJsonArrayOutputWithContext(context.Context) OneDashboardPageWidgetJsonArrayOutput
}

OneDashboardPageWidgetJsonArrayInput is an input type that accepts OneDashboardPageWidgetJsonArray and OneDashboardPageWidgetJsonArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetJsonArrayInput` via:

OneDashboardPageWidgetJsonArray{ OneDashboardPageWidgetJsonArgs{...} }

type OneDashboardPageWidgetJsonArrayOutput

type OneDashboardPageWidgetJsonArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetJsonArrayOutput) ElementType

func (OneDashboardPageWidgetJsonArrayOutput) Index

func (OneDashboardPageWidgetJsonArrayOutput) ToOneDashboardPageWidgetJsonArrayOutput

func (o OneDashboardPageWidgetJsonArrayOutput) ToOneDashboardPageWidgetJsonArrayOutput() OneDashboardPageWidgetJsonArrayOutput

func (OneDashboardPageWidgetJsonArrayOutput) ToOneDashboardPageWidgetJsonArrayOutputWithContext

func (o OneDashboardPageWidgetJsonArrayOutput) ToOneDashboardPageWidgetJsonArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonArrayOutput

type OneDashboardPageWidgetJsonInput

type OneDashboardPageWidgetJsonInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetJsonOutput() OneDashboardPageWidgetJsonOutput
	ToOneDashboardPageWidgetJsonOutputWithContext(context.Context) OneDashboardPageWidgetJsonOutput
}

OneDashboardPageWidgetJsonInput is an input type that accepts OneDashboardPageWidgetJsonArgs and OneDashboardPageWidgetJsonOutput values. You can construct a concrete instance of `OneDashboardPageWidgetJsonInput` via:

OneDashboardPageWidgetJsonArgs{...}

type OneDashboardPageWidgetJsonNrqlQuery

type OneDashboardPageWidgetJsonNrqlQuery 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 OneDashboardPageWidgetJsonNrqlQueryArgs

type OneDashboardPageWidgetJsonNrqlQueryArgs 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 (OneDashboardPageWidgetJsonNrqlQueryArgs) ElementType

func (OneDashboardPageWidgetJsonNrqlQueryArgs) ToOneDashboardPageWidgetJsonNrqlQueryOutput

func (i OneDashboardPageWidgetJsonNrqlQueryArgs) ToOneDashboardPageWidgetJsonNrqlQueryOutput() OneDashboardPageWidgetJsonNrqlQueryOutput

func (OneDashboardPageWidgetJsonNrqlQueryArgs) ToOneDashboardPageWidgetJsonNrqlQueryOutputWithContext

func (i OneDashboardPageWidgetJsonNrqlQueryArgs) ToOneDashboardPageWidgetJsonNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonNrqlQueryOutput

type OneDashboardPageWidgetJsonNrqlQueryArray

type OneDashboardPageWidgetJsonNrqlQueryArray []OneDashboardPageWidgetJsonNrqlQueryInput

func (OneDashboardPageWidgetJsonNrqlQueryArray) ElementType

func (OneDashboardPageWidgetJsonNrqlQueryArray) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutput

func (i OneDashboardPageWidgetJsonNrqlQueryArray) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutput() OneDashboardPageWidgetJsonNrqlQueryArrayOutput

func (OneDashboardPageWidgetJsonNrqlQueryArray) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutputWithContext

func (i OneDashboardPageWidgetJsonNrqlQueryArray) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonNrqlQueryArrayOutput

type OneDashboardPageWidgetJsonNrqlQueryArrayInput

type OneDashboardPageWidgetJsonNrqlQueryArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetJsonNrqlQueryArrayOutput() OneDashboardPageWidgetJsonNrqlQueryArrayOutput
	ToOneDashboardPageWidgetJsonNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetJsonNrqlQueryArrayOutput
}

OneDashboardPageWidgetJsonNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetJsonNrqlQueryArray and OneDashboardPageWidgetJsonNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetJsonNrqlQueryArrayInput` via:

OneDashboardPageWidgetJsonNrqlQueryArray{ OneDashboardPageWidgetJsonNrqlQueryArgs{...} }

type OneDashboardPageWidgetJsonNrqlQueryArrayOutput

type OneDashboardPageWidgetJsonNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetJsonNrqlQueryArrayOutput) ElementType

func (OneDashboardPageWidgetJsonNrqlQueryArrayOutput) Index

func (OneDashboardPageWidgetJsonNrqlQueryArrayOutput) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutput

func (o OneDashboardPageWidgetJsonNrqlQueryArrayOutput) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutput() OneDashboardPageWidgetJsonNrqlQueryArrayOutput

func (OneDashboardPageWidgetJsonNrqlQueryArrayOutput) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutputWithContext

func (o OneDashboardPageWidgetJsonNrqlQueryArrayOutput) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonNrqlQueryArrayOutput

type OneDashboardPageWidgetJsonNrqlQueryInput

type OneDashboardPageWidgetJsonNrqlQueryInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetJsonNrqlQueryOutput() OneDashboardPageWidgetJsonNrqlQueryOutput
	ToOneDashboardPageWidgetJsonNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetJsonNrqlQueryOutput
}

OneDashboardPageWidgetJsonNrqlQueryInput is an input type that accepts OneDashboardPageWidgetJsonNrqlQueryArgs and OneDashboardPageWidgetJsonNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetJsonNrqlQueryInput` via:

OneDashboardPageWidgetJsonNrqlQueryArgs{...}

type OneDashboardPageWidgetJsonNrqlQueryOutput

type OneDashboardPageWidgetJsonNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetJsonNrqlQueryOutput) AccountId

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

func (OneDashboardPageWidgetJsonNrqlQueryOutput) ElementType

func (OneDashboardPageWidgetJsonNrqlQueryOutput) Query

(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 (OneDashboardPageWidgetJsonNrqlQueryOutput) ToOneDashboardPageWidgetJsonNrqlQueryOutput

func (o OneDashboardPageWidgetJsonNrqlQueryOutput) ToOneDashboardPageWidgetJsonNrqlQueryOutput() OneDashboardPageWidgetJsonNrqlQueryOutput

func (OneDashboardPageWidgetJsonNrqlQueryOutput) ToOneDashboardPageWidgetJsonNrqlQueryOutputWithContext

func (o OneDashboardPageWidgetJsonNrqlQueryOutput) ToOneDashboardPageWidgetJsonNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonNrqlQueryOutput

type OneDashboardPageWidgetJsonOutput

type OneDashboardPageWidgetJsonOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetJsonOutput) Column

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

func (OneDashboardPageWidgetJsonOutput) ElementType

func (OneDashboardPageWidgetJsonOutput) Height

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

func (OneDashboardPageWidgetJsonOutput) Id

func (OneDashboardPageWidgetJsonOutput) IgnoreTimeRange added in v4.17.0

(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.

func (OneDashboardPageWidgetJsonOutput) NrqlQueries

(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. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.

func (OneDashboardPageWidgetJsonOutput) Row

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

func (OneDashboardPageWidgetJsonOutput) Title

(Required) A title for the widget.

func (OneDashboardPageWidgetJsonOutput) ToOneDashboardPageWidgetJsonOutput

func (o OneDashboardPageWidgetJsonOutput) ToOneDashboardPageWidgetJsonOutput() OneDashboardPageWidgetJsonOutput

func (OneDashboardPageWidgetJsonOutput) ToOneDashboardPageWidgetJsonOutputWithContext

func (o OneDashboardPageWidgetJsonOutput) ToOneDashboardPageWidgetJsonOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonOutput

func (OneDashboardPageWidgetJsonOutput) Width

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

type OneDashboardPageWidgetLine

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"`
	// (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"`
	// (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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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

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"`
	// (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"`
	// (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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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

func (OneDashboardPageWidgetLineArgs) ToOneDashboardPageWidgetLineOutput

func (i OneDashboardPageWidgetLineArgs) ToOneDashboardPageWidgetLineOutput() OneDashboardPageWidgetLineOutput

func (OneDashboardPageWidgetLineArgs) ToOneDashboardPageWidgetLineOutputWithContext

func (i OneDashboardPageWidgetLineArgs) ToOneDashboardPageWidgetLineOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineOutput

type OneDashboardPageWidgetLineArray

type OneDashboardPageWidgetLineArray []OneDashboardPageWidgetLineInput

func (OneDashboardPageWidgetLineArray) ElementType

func (OneDashboardPageWidgetLineArray) ToOneDashboardPageWidgetLineArrayOutput

func (i OneDashboardPageWidgetLineArray) ToOneDashboardPageWidgetLineArrayOutput() OneDashboardPageWidgetLineArrayOutput

func (OneDashboardPageWidgetLineArray) ToOneDashboardPageWidgetLineArrayOutputWithContext

func (i OneDashboardPageWidgetLineArray) ToOneDashboardPageWidgetLineArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineArrayOutput

type OneDashboardPageWidgetLineArrayInput

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

type OneDashboardPageWidgetLineArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetLineArrayOutput) ElementType

func (OneDashboardPageWidgetLineArrayOutput) Index

func (OneDashboardPageWidgetLineArrayOutput) ToOneDashboardPageWidgetLineArrayOutput

func (o OneDashboardPageWidgetLineArrayOutput) ToOneDashboardPageWidgetLineArrayOutput() OneDashboardPageWidgetLineArrayOutput

func (OneDashboardPageWidgetLineArrayOutput) ToOneDashboardPageWidgetLineArrayOutputWithContext

func (o OneDashboardPageWidgetLineArrayOutput) ToOneDashboardPageWidgetLineArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineArrayOutput

type OneDashboardPageWidgetLineInput

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

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

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

func (OneDashboardPageWidgetLineNrqlQueryArgs) ToOneDashboardPageWidgetLineNrqlQueryOutput

func (i OneDashboardPageWidgetLineNrqlQueryArgs) ToOneDashboardPageWidgetLineNrqlQueryOutput() OneDashboardPageWidgetLineNrqlQueryOutput

func (OneDashboardPageWidgetLineNrqlQueryArgs) ToOneDashboardPageWidgetLineNrqlQueryOutputWithContext

func (i OneDashboardPageWidgetLineNrqlQueryArgs) ToOneDashboardPageWidgetLineNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineNrqlQueryOutput

type OneDashboardPageWidgetLineNrqlQueryArray

type OneDashboardPageWidgetLineNrqlQueryArray []OneDashboardPageWidgetLineNrqlQueryInput

func (OneDashboardPageWidgetLineNrqlQueryArray) ElementType

func (OneDashboardPageWidgetLineNrqlQueryArray) ToOneDashboardPageWidgetLineNrqlQueryArrayOutput

func (i OneDashboardPageWidgetLineNrqlQueryArray) ToOneDashboardPageWidgetLineNrqlQueryArrayOutput() OneDashboardPageWidgetLineNrqlQueryArrayOutput

func (OneDashboardPageWidgetLineNrqlQueryArray) ToOneDashboardPageWidgetLineNrqlQueryArrayOutputWithContext

func (i OneDashboardPageWidgetLineNrqlQueryArray) ToOneDashboardPageWidgetLineNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineNrqlQueryArrayOutput

type OneDashboardPageWidgetLineNrqlQueryArrayInput

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

type OneDashboardPageWidgetLineNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetLineNrqlQueryArrayOutput) ElementType

func (OneDashboardPageWidgetLineNrqlQueryArrayOutput) Index

func (OneDashboardPageWidgetLineNrqlQueryArrayOutput) ToOneDashboardPageWidgetLineNrqlQueryArrayOutput

func (o OneDashboardPageWidgetLineNrqlQueryArrayOutput) ToOneDashboardPageWidgetLineNrqlQueryArrayOutput() OneDashboardPageWidgetLineNrqlQueryArrayOutput

func (OneDashboardPageWidgetLineNrqlQueryArrayOutput) ToOneDashboardPageWidgetLineNrqlQueryArrayOutputWithContext

func (o OneDashboardPageWidgetLineNrqlQueryArrayOutput) ToOneDashboardPageWidgetLineNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineNrqlQueryArrayOutput

type OneDashboardPageWidgetLineNrqlQueryInput

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

type OneDashboardPageWidgetLineNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetLineNrqlQueryOutput) AccountId

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

func (OneDashboardPageWidgetLineNrqlQueryOutput) ElementType

func (OneDashboardPageWidgetLineNrqlQueryOutput) Query

(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

func (o OneDashboardPageWidgetLineNrqlQueryOutput) ToOneDashboardPageWidgetLineNrqlQueryOutput() OneDashboardPageWidgetLineNrqlQueryOutput

func (OneDashboardPageWidgetLineNrqlQueryOutput) ToOneDashboardPageWidgetLineNrqlQueryOutputWithContext

func (o OneDashboardPageWidgetLineNrqlQueryOutput) ToOneDashboardPageWidgetLineNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineNrqlQueryOutput

type OneDashboardPageWidgetLineOutput

type OneDashboardPageWidgetLineOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetLineOutput) Column

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

func (OneDashboardPageWidgetLineOutput) ElementType

func (OneDashboardPageWidgetLineOutput) Height

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

func (OneDashboardPageWidgetLineOutput) Id

func (OneDashboardPageWidgetLineOutput) IgnoreTimeRange added in v4.17.0

(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.

func (OneDashboardPageWidgetLineOutput) NrqlQueries

(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. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.

func (OneDashboardPageWidgetLineOutput) Row

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

func (OneDashboardPageWidgetLineOutput) Title

(Required) A title for the widget.

func (OneDashboardPageWidgetLineOutput) ToOneDashboardPageWidgetLineOutput

func (o OneDashboardPageWidgetLineOutput) ToOneDashboardPageWidgetLineOutput() OneDashboardPageWidgetLineOutput

func (OneDashboardPageWidgetLineOutput) ToOneDashboardPageWidgetLineOutputWithContext

func (o OneDashboardPageWidgetLineOutput) ToOneDashboardPageWidgetLineOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineOutput

func (OneDashboardPageWidgetLineOutput) Width

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

type OneDashboardPageWidgetLogTable added in v4.18.0

type OneDashboardPageWidgetLogTable 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) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"`
	// (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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	NrqlQueries []OneDashboardPageWidgetLogTableNrqlQuery `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 OneDashboardPageWidgetLogTableArgs added in v4.18.0

type OneDashboardPageWidgetLogTableArgs 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) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"`
	// (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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	NrqlQueries OneDashboardPageWidgetLogTableNrqlQueryArrayInput `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 (OneDashboardPageWidgetLogTableArgs) ElementType added in v4.18.0

func (OneDashboardPageWidgetLogTableArgs) ToOneDashboardPageWidgetLogTableOutput added in v4.18.0

func (i OneDashboardPageWidgetLogTableArgs) ToOneDashboardPageWidgetLogTableOutput() OneDashboardPageWidgetLogTableOutput

func (OneDashboardPageWidgetLogTableArgs) ToOneDashboardPageWidgetLogTableOutputWithContext added in v4.18.0

func (i OneDashboardPageWidgetLogTableArgs) ToOneDashboardPageWidgetLogTableOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableOutput

type OneDashboardPageWidgetLogTableArray added in v4.18.0

type OneDashboardPageWidgetLogTableArray []OneDashboardPageWidgetLogTableInput

func (OneDashboardPageWidgetLogTableArray) ElementType added in v4.18.0

func (OneDashboardPageWidgetLogTableArray) ToOneDashboardPageWidgetLogTableArrayOutput added in v4.18.0

func (i OneDashboardPageWidgetLogTableArray) ToOneDashboardPageWidgetLogTableArrayOutput() OneDashboardPageWidgetLogTableArrayOutput

func (OneDashboardPageWidgetLogTableArray) ToOneDashboardPageWidgetLogTableArrayOutputWithContext added in v4.18.0

func (i OneDashboardPageWidgetLogTableArray) ToOneDashboardPageWidgetLogTableArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableArrayOutput

type OneDashboardPageWidgetLogTableArrayInput added in v4.18.0

type OneDashboardPageWidgetLogTableArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetLogTableArrayOutput() OneDashboardPageWidgetLogTableArrayOutput
	ToOneDashboardPageWidgetLogTableArrayOutputWithContext(context.Context) OneDashboardPageWidgetLogTableArrayOutput
}

OneDashboardPageWidgetLogTableArrayInput is an input type that accepts OneDashboardPageWidgetLogTableArray and OneDashboardPageWidgetLogTableArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetLogTableArrayInput` via:

OneDashboardPageWidgetLogTableArray{ OneDashboardPageWidgetLogTableArgs{...} }

type OneDashboardPageWidgetLogTableArrayOutput added in v4.18.0

type OneDashboardPageWidgetLogTableArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetLogTableArrayOutput) ElementType added in v4.18.0

func (OneDashboardPageWidgetLogTableArrayOutput) Index added in v4.18.0

func (OneDashboardPageWidgetLogTableArrayOutput) ToOneDashboardPageWidgetLogTableArrayOutput added in v4.18.0

func (o OneDashboardPageWidgetLogTableArrayOutput) ToOneDashboardPageWidgetLogTableArrayOutput() OneDashboardPageWidgetLogTableArrayOutput

func (OneDashboardPageWidgetLogTableArrayOutput) ToOneDashboardPageWidgetLogTableArrayOutputWithContext added in v4.18.0

func (o OneDashboardPageWidgetLogTableArrayOutput) ToOneDashboardPageWidgetLogTableArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableArrayOutput

type OneDashboardPageWidgetLogTableInput added in v4.18.0

type OneDashboardPageWidgetLogTableInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetLogTableOutput() OneDashboardPageWidgetLogTableOutput
	ToOneDashboardPageWidgetLogTableOutputWithContext(context.Context) OneDashboardPageWidgetLogTableOutput
}

OneDashboardPageWidgetLogTableInput is an input type that accepts OneDashboardPageWidgetLogTableArgs and OneDashboardPageWidgetLogTableOutput values. You can construct a concrete instance of `OneDashboardPageWidgetLogTableInput` via:

OneDashboardPageWidgetLogTableArgs{...}

type OneDashboardPageWidgetLogTableNrqlQuery added in v4.18.0

type OneDashboardPageWidgetLogTableNrqlQuery 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 OneDashboardPageWidgetLogTableNrqlQueryArgs added in v4.18.0

type OneDashboardPageWidgetLogTableNrqlQueryArgs 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 (OneDashboardPageWidgetLogTableNrqlQueryArgs) ElementType added in v4.18.0

func (OneDashboardPageWidgetLogTableNrqlQueryArgs) ToOneDashboardPageWidgetLogTableNrqlQueryOutput added in v4.18.0

func (i OneDashboardPageWidgetLogTableNrqlQueryArgs) ToOneDashboardPageWidgetLogTableNrqlQueryOutput() OneDashboardPageWidgetLogTableNrqlQueryOutput

func (OneDashboardPageWidgetLogTableNrqlQueryArgs) ToOneDashboardPageWidgetLogTableNrqlQueryOutputWithContext added in v4.18.0

func (i OneDashboardPageWidgetLogTableNrqlQueryArgs) ToOneDashboardPageWidgetLogTableNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableNrqlQueryOutput

type OneDashboardPageWidgetLogTableNrqlQueryArray added in v4.18.0

type OneDashboardPageWidgetLogTableNrqlQueryArray []OneDashboardPageWidgetLogTableNrqlQueryInput

func (OneDashboardPageWidgetLogTableNrqlQueryArray) ElementType added in v4.18.0

func (OneDashboardPageWidgetLogTableNrqlQueryArray) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutput added in v4.18.0

func (i OneDashboardPageWidgetLogTableNrqlQueryArray) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutput() OneDashboardPageWidgetLogTableNrqlQueryArrayOutput

func (OneDashboardPageWidgetLogTableNrqlQueryArray) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutputWithContext added in v4.18.0

func (i OneDashboardPageWidgetLogTableNrqlQueryArray) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableNrqlQueryArrayOutput

type OneDashboardPageWidgetLogTableNrqlQueryArrayInput added in v4.18.0

type OneDashboardPageWidgetLogTableNrqlQueryArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutput() OneDashboardPageWidgetLogTableNrqlQueryArrayOutput
	ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetLogTableNrqlQueryArrayOutput
}

OneDashboardPageWidgetLogTableNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetLogTableNrqlQueryArray and OneDashboardPageWidgetLogTableNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetLogTableNrqlQueryArrayInput` via:

OneDashboardPageWidgetLogTableNrqlQueryArray{ OneDashboardPageWidgetLogTableNrqlQueryArgs{...} }

type OneDashboardPageWidgetLogTableNrqlQueryArrayOutput added in v4.18.0

type OneDashboardPageWidgetLogTableNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) ElementType added in v4.18.0

func (OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) Index added in v4.18.0

func (OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutput added in v4.18.0

func (o OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutput() OneDashboardPageWidgetLogTableNrqlQueryArrayOutput

func (OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutputWithContext added in v4.18.0

func (o OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableNrqlQueryArrayOutput

type OneDashboardPageWidgetLogTableNrqlQueryInput added in v4.18.0

type OneDashboardPageWidgetLogTableNrqlQueryInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetLogTableNrqlQueryOutput() OneDashboardPageWidgetLogTableNrqlQueryOutput
	ToOneDashboardPageWidgetLogTableNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetLogTableNrqlQueryOutput
}

OneDashboardPageWidgetLogTableNrqlQueryInput is an input type that accepts OneDashboardPageWidgetLogTableNrqlQueryArgs and OneDashboardPageWidgetLogTableNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetLogTableNrqlQueryInput` via:

OneDashboardPageWidgetLogTableNrqlQueryArgs{...}

type OneDashboardPageWidgetLogTableNrqlQueryOutput added in v4.18.0

type OneDashboardPageWidgetLogTableNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetLogTableNrqlQueryOutput) AccountId added in v4.18.0

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

func (OneDashboardPageWidgetLogTableNrqlQueryOutput) ElementType added in v4.18.0

func (OneDashboardPageWidgetLogTableNrqlQueryOutput) Query added in v4.18.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 (OneDashboardPageWidgetLogTableNrqlQueryOutput) ToOneDashboardPageWidgetLogTableNrqlQueryOutput added in v4.18.0

func (o OneDashboardPageWidgetLogTableNrqlQueryOutput) ToOneDashboardPageWidgetLogTableNrqlQueryOutput() OneDashboardPageWidgetLogTableNrqlQueryOutput

func (OneDashboardPageWidgetLogTableNrqlQueryOutput) ToOneDashboardPageWidgetLogTableNrqlQueryOutputWithContext added in v4.18.0

func (o OneDashboardPageWidgetLogTableNrqlQueryOutput) ToOneDashboardPageWidgetLogTableNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableNrqlQueryOutput

type OneDashboardPageWidgetLogTableOutput added in v4.18.0

type OneDashboardPageWidgetLogTableOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetLogTableOutput) Column added in v4.18.0

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

func (OneDashboardPageWidgetLogTableOutput) ElementType added in v4.18.0

func (OneDashboardPageWidgetLogTableOutput) Height added in v4.18.0

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

func (OneDashboardPageWidgetLogTableOutput) Id added in v4.18.0

func (OneDashboardPageWidgetLogTableOutput) IgnoreTimeRange added in v4.18.0

(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.

func (OneDashboardPageWidgetLogTableOutput) NrqlQueries added in v4.18.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. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.

func (OneDashboardPageWidgetLogTableOutput) Row added in v4.18.0

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

func (OneDashboardPageWidgetLogTableOutput) Title added in v4.18.0

(Required) A title for the widget.

func (OneDashboardPageWidgetLogTableOutput) ToOneDashboardPageWidgetLogTableOutput added in v4.18.0

func (o OneDashboardPageWidgetLogTableOutput) ToOneDashboardPageWidgetLogTableOutput() OneDashboardPageWidgetLogTableOutput

func (OneDashboardPageWidgetLogTableOutput) ToOneDashboardPageWidgetLogTableOutputWithContext added in v4.18.0

func (o OneDashboardPageWidgetLogTableOutput) ToOneDashboardPageWidgetLogTableOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableOutput

func (OneDashboardPageWidgetLogTableOutput) Width added in v4.18.0

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

type OneDashboardPageWidgetMarkdown

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"`
	// (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"`
	// (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.
	// * `widgetStackedBar`
	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

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"`
	// (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"`
	// (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.
	// * `widgetStackedBar`
	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

func (OneDashboardPageWidgetMarkdownArgs) ToOneDashboardPageWidgetMarkdownOutput

func (i OneDashboardPageWidgetMarkdownArgs) ToOneDashboardPageWidgetMarkdownOutput() OneDashboardPageWidgetMarkdownOutput

func (OneDashboardPageWidgetMarkdownArgs) ToOneDashboardPageWidgetMarkdownOutputWithContext

func (i OneDashboardPageWidgetMarkdownArgs) ToOneDashboardPageWidgetMarkdownOutputWithContext(ctx context.Context) OneDashboardPageWidgetMarkdownOutput

type OneDashboardPageWidgetMarkdownArray

type OneDashboardPageWidgetMarkdownArray []OneDashboardPageWidgetMarkdownInput

func (OneDashboardPageWidgetMarkdownArray) ElementType

func (OneDashboardPageWidgetMarkdownArray) ToOneDashboardPageWidgetMarkdownArrayOutput

func (i OneDashboardPageWidgetMarkdownArray) ToOneDashboardPageWidgetMarkdownArrayOutput() OneDashboardPageWidgetMarkdownArrayOutput

func (OneDashboardPageWidgetMarkdownArray) ToOneDashboardPageWidgetMarkdownArrayOutputWithContext

func (i OneDashboardPageWidgetMarkdownArray) ToOneDashboardPageWidgetMarkdownArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetMarkdownArrayOutput

type OneDashboardPageWidgetMarkdownArrayInput

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

type OneDashboardPageWidgetMarkdownArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetMarkdownArrayOutput) ElementType

func (OneDashboardPageWidgetMarkdownArrayOutput) Index

func (OneDashboardPageWidgetMarkdownArrayOutput) ToOneDashboardPageWidgetMarkdownArrayOutput

func (o OneDashboardPageWidgetMarkdownArrayOutput) ToOneDashboardPageWidgetMarkdownArrayOutput() OneDashboardPageWidgetMarkdownArrayOutput

func (OneDashboardPageWidgetMarkdownArrayOutput) ToOneDashboardPageWidgetMarkdownArrayOutputWithContext

func (o OneDashboardPageWidgetMarkdownArrayOutput) ToOneDashboardPageWidgetMarkdownArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetMarkdownArrayOutput

type OneDashboardPageWidgetMarkdownInput

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

type OneDashboardPageWidgetMarkdownOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetMarkdownOutput) Column

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

func (OneDashboardPageWidgetMarkdownOutput) ElementType

func (OneDashboardPageWidgetMarkdownOutput) Height

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

func (OneDashboardPageWidgetMarkdownOutput) Id

func (OneDashboardPageWidgetMarkdownOutput) IgnoreTimeRange added in v4.17.0

(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.

func (OneDashboardPageWidgetMarkdownOutput) Row

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

func (OneDashboardPageWidgetMarkdownOutput) Text

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

func (OneDashboardPageWidgetMarkdownOutput) Title

(Required) A title for the widget.

func (OneDashboardPageWidgetMarkdownOutput) ToOneDashboardPageWidgetMarkdownOutput

func (o OneDashboardPageWidgetMarkdownOutput) ToOneDashboardPageWidgetMarkdownOutput() OneDashboardPageWidgetMarkdownOutput

func (OneDashboardPageWidgetMarkdownOutput) ToOneDashboardPageWidgetMarkdownOutputWithContext

func (o OneDashboardPageWidgetMarkdownOutput) ToOneDashboardPageWidgetMarkdownOutputWithContext(ctx context.Context) OneDashboardPageWidgetMarkdownOutput

func (OneDashboardPageWidgetMarkdownOutput) Width

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

type OneDashboardPageWidgetPy

type OneDashboardPageWidgetPy struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column                 int   `pulumi:"column"`
	FilterCurrentDashboard *bool `pulumi:"filterCurrentDashboard"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height *int    `pulumi:"height"`
	Id     *string `pulumi:"id"`
	// (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange   *bool    `pulumi:"ignoreTimeRange"`
	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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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

type OneDashboardPageWidgetPyArgs struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column                 pulumi.IntInput     `pulumi:"column"`
	FilterCurrentDashboard pulumi.BoolPtrInput `pulumi:"filterCurrentDashboard"`
	// (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) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange   pulumi.BoolPtrInput     `pulumi:"ignoreTimeRange"`
	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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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

func (OneDashboardPageWidgetPyArgs) ToOneDashboardPageWidgetPyOutput

func (i OneDashboardPageWidgetPyArgs) ToOneDashboardPageWidgetPyOutput() OneDashboardPageWidgetPyOutput

func (OneDashboardPageWidgetPyArgs) ToOneDashboardPageWidgetPyOutputWithContext

func (i OneDashboardPageWidgetPyArgs) ToOneDashboardPageWidgetPyOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyOutput

type OneDashboardPageWidgetPyArray

type OneDashboardPageWidgetPyArray []OneDashboardPageWidgetPyInput

func (OneDashboardPageWidgetPyArray) ElementType

func (OneDashboardPageWidgetPyArray) ToOneDashboardPageWidgetPyArrayOutput

func (i OneDashboardPageWidgetPyArray) ToOneDashboardPageWidgetPyArrayOutput() OneDashboardPageWidgetPyArrayOutput

func (OneDashboardPageWidgetPyArray) ToOneDashboardPageWidgetPyArrayOutputWithContext

func (i OneDashboardPageWidgetPyArray) ToOneDashboardPageWidgetPyArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyArrayOutput

type OneDashboardPageWidgetPyArrayInput

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

type OneDashboardPageWidgetPyArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetPyArrayOutput) ElementType

func (OneDashboardPageWidgetPyArrayOutput) Index

func (OneDashboardPageWidgetPyArrayOutput) ToOneDashboardPageWidgetPyArrayOutput

func (o OneDashboardPageWidgetPyArrayOutput) ToOneDashboardPageWidgetPyArrayOutput() OneDashboardPageWidgetPyArrayOutput

func (OneDashboardPageWidgetPyArrayOutput) ToOneDashboardPageWidgetPyArrayOutputWithContext

func (o OneDashboardPageWidgetPyArrayOutput) ToOneDashboardPageWidgetPyArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyArrayOutput

type OneDashboardPageWidgetPyInput

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

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

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

func (OneDashboardPageWidgetPyNrqlQueryArgs) ToOneDashboardPageWidgetPyNrqlQueryOutput

func (i OneDashboardPageWidgetPyNrqlQueryArgs) ToOneDashboardPageWidgetPyNrqlQueryOutput() OneDashboardPageWidgetPyNrqlQueryOutput

func (OneDashboardPageWidgetPyNrqlQueryArgs) ToOneDashboardPageWidgetPyNrqlQueryOutputWithContext

func (i OneDashboardPageWidgetPyNrqlQueryArgs) ToOneDashboardPageWidgetPyNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyNrqlQueryOutput

type OneDashboardPageWidgetPyNrqlQueryArray

type OneDashboardPageWidgetPyNrqlQueryArray []OneDashboardPageWidgetPyNrqlQueryInput

func (OneDashboardPageWidgetPyNrqlQueryArray) ElementType

func (OneDashboardPageWidgetPyNrqlQueryArray) ToOneDashboardPageWidgetPyNrqlQueryArrayOutput

func (i OneDashboardPageWidgetPyNrqlQueryArray) ToOneDashboardPageWidgetPyNrqlQueryArrayOutput() OneDashboardPageWidgetPyNrqlQueryArrayOutput

func (OneDashboardPageWidgetPyNrqlQueryArray) ToOneDashboardPageWidgetPyNrqlQueryArrayOutputWithContext

func (i OneDashboardPageWidgetPyNrqlQueryArray) ToOneDashboardPageWidgetPyNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyNrqlQueryArrayOutput

type OneDashboardPageWidgetPyNrqlQueryArrayInput

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

type OneDashboardPageWidgetPyNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetPyNrqlQueryArrayOutput) ElementType

func (OneDashboardPageWidgetPyNrqlQueryArrayOutput) Index

func (OneDashboardPageWidgetPyNrqlQueryArrayOutput) ToOneDashboardPageWidgetPyNrqlQueryArrayOutput

func (o OneDashboardPageWidgetPyNrqlQueryArrayOutput) ToOneDashboardPageWidgetPyNrqlQueryArrayOutput() OneDashboardPageWidgetPyNrqlQueryArrayOutput

func (OneDashboardPageWidgetPyNrqlQueryArrayOutput) ToOneDashboardPageWidgetPyNrqlQueryArrayOutputWithContext

func (o OneDashboardPageWidgetPyNrqlQueryArrayOutput) ToOneDashboardPageWidgetPyNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyNrqlQueryArrayOutput

type OneDashboardPageWidgetPyNrqlQueryInput

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

type OneDashboardPageWidgetPyNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetPyNrqlQueryOutput) AccountId

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

func (OneDashboardPageWidgetPyNrqlQueryOutput) ElementType

func (OneDashboardPageWidgetPyNrqlQueryOutput) Query

(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

func (o OneDashboardPageWidgetPyNrqlQueryOutput) ToOneDashboardPageWidgetPyNrqlQueryOutput() OneDashboardPageWidgetPyNrqlQueryOutput

func (OneDashboardPageWidgetPyNrqlQueryOutput) ToOneDashboardPageWidgetPyNrqlQueryOutputWithContext

func (o OneDashboardPageWidgetPyNrqlQueryOutput) ToOneDashboardPageWidgetPyNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyNrqlQueryOutput

type OneDashboardPageWidgetPyOutput

type OneDashboardPageWidgetPyOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetPyOutput) Column

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

func (OneDashboardPageWidgetPyOutput) ElementType

func (OneDashboardPageWidgetPyOutput) FilterCurrentDashboard added in v4.5.0

func (o OneDashboardPageWidgetPyOutput) FilterCurrentDashboard() pulumi.BoolPtrOutput

func (OneDashboardPageWidgetPyOutput) Height

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

func (OneDashboardPageWidgetPyOutput) Id

func (OneDashboardPageWidgetPyOutput) IgnoreTimeRange added in v4.17.0

(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.

func (OneDashboardPageWidgetPyOutput) LinkedEntityGuids

func (OneDashboardPageWidgetPyOutput) NrqlQueries

(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. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.

func (OneDashboardPageWidgetPyOutput) Row

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

func (OneDashboardPageWidgetPyOutput) Title

(Required) A title for the widget.

func (OneDashboardPageWidgetPyOutput) ToOneDashboardPageWidgetPyOutput

func (o OneDashboardPageWidgetPyOutput) ToOneDashboardPageWidgetPyOutput() OneDashboardPageWidgetPyOutput

func (OneDashboardPageWidgetPyOutput) ToOneDashboardPageWidgetPyOutputWithContext

func (o OneDashboardPageWidgetPyOutput) ToOneDashboardPageWidgetPyOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyOutput

func (OneDashboardPageWidgetPyOutput) Width

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

type OneDashboardPageWidgetStackedBar added in v4.5.0

type OneDashboardPageWidgetStackedBar 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) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"`
	// (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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	NrqlQueries []OneDashboardPageWidgetStackedBarNrqlQuery `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 OneDashboardPageWidgetStackedBarArgs added in v4.5.0

type OneDashboardPageWidgetStackedBarArgs 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) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"`
	// (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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	NrqlQueries OneDashboardPageWidgetStackedBarNrqlQueryArrayInput `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 (OneDashboardPageWidgetStackedBarArgs) ElementType added in v4.5.0

func (OneDashboardPageWidgetStackedBarArgs) ToOneDashboardPageWidgetStackedBarOutput added in v4.5.0

func (i OneDashboardPageWidgetStackedBarArgs) ToOneDashboardPageWidgetStackedBarOutput() OneDashboardPageWidgetStackedBarOutput

func (OneDashboardPageWidgetStackedBarArgs) ToOneDashboardPageWidgetStackedBarOutputWithContext added in v4.5.0

func (i OneDashboardPageWidgetStackedBarArgs) ToOneDashboardPageWidgetStackedBarOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarOutput

type OneDashboardPageWidgetStackedBarArray added in v4.5.0

type OneDashboardPageWidgetStackedBarArray []OneDashboardPageWidgetStackedBarInput

func (OneDashboardPageWidgetStackedBarArray) ElementType added in v4.5.0

func (OneDashboardPageWidgetStackedBarArray) ToOneDashboardPageWidgetStackedBarArrayOutput added in v4.5.0

func (i OneDashboardPageWidgetStackedBarArray) ToOneDashboardPageWidgetStackedBarArrayOutput() OneDashboardPageWidgetStackedBarArrayOutput

func (OneDashboardPageWidgetStackedBarArray) ToOneDashboardPageWidgetStackedBarArrayOutputWithContext added in v4.5.0

func (i OneDashboardPageWidgetStackedBarArray) ToOneDashboardPageWidgetStackedBarArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarArrayOutput

type OneDashboardPageWidgetStackedBarArrayInput added in v4.5.0

type OneDashboardPageWidgetStackedBarArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetStackedBarArrayOutput() OneDashboardPageWidgetStackedBarArrayOutput
	ToOneDashboardPageWidgetStackedBarArrayOutputWithContext(context.Context) OneDashboardPageWidgetStackedBarArrayOutput
}

OneDashboardPageWidgetStackedBarArrayInput is an input type that accepts OneDashboardPageWidgetStackedBarArray and OneDashboardPageWidgetStackedBarArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetStackedBarArrayInput` via:

OneDashboardPageWidgetStackedBarArray{ OneDashboardPageWidgetStackedBarArgs{...} }

type OneDashboardPageWidgetStackedBarArrayOutput added in v4.5.0

type OneDashboardPageWidgetStackedBarArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetStackedBarArrayOutput) ElementType added in v4.5.0

func (OneDashboardPageWidgetStackedBarArrayOutput) Index added in v4.5.0

func (OneDashboardPageWidgetStackedBarArrayOutput) ToOneDashboardPageWidgetStackedBarArrayOutput added in v4.5.0

func (o OneDashboardPageWidgetStackedBarArrayOutput) ToOneDashboardPageWidgetStackedBarArrayOutput() OneDashboardPageWidgetStackedBarArrayOutput

func (OneDashboardPageWidgetStackedBarArrayOutput) ToOneDashboardPageWidgetStackedBarArrayOutputWithContext added in v4.5.0

func (o OneDashboardPageWidgetStackedBarArrayOutput) ToOneDashboardPageWidgetStackedBarArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarArrayOutput

type OneDashboardPageWidgetStackedBarInput added in v4.5.0

type OneDashboardPageWidgetStackedBarInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetStackedBarOutput() OneDashboardPageWidgetStackedBarOutput
	ToOneDashboardPageWidgetStackedBarOutputWithContext(context.Context) OneDashboardPageWidgetStackedBarOutput
}

OneDashboardPageWidgetStackedBarInput is an input type that accepts OneDashboardPageWidgetStackedBarArgs and OneDashboardPageWidgetStackedBarOutput values. You can construct a concrete instance of `OneDashboardPageWidgetStackedBarInput` via:

OneDashboardPageWidgetStackedBarArgs{...}

type OneDashboardPageWidgetStackedBarNrqlQuery added in v4.5.0

type OneDashboardPageWidgetStackedBarNrqlQuery 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 OneDashboardPageWidgetStackedBarNrqlQueryArgs added in v4.5.0

type OneDashboardPageWidgetStackedBarNrqlQueryArgs 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 (OneDashboardPageWidgetStackedBarNrqlQueryArgs) ElementType added in v4.5.0

func (OneDashboardPageWidgetStackedBarNrqlQueryArgs) ToOneDashboardPageWidgetStackedBarNrqlQueryOutput added in v4.5.0

func (i OneDashboardPageWidgetStackedBarNrqlQueryArgs) ToOneDashboardPageWidgetStackedBarNrqlQueryOutput() OneDashboardPageWidgetStackedBarNrqlQueryOutput

func (OneDashboardPageWidgetStackedBarNrqlQueryArgs) ToOneDashboardPageWidgetStackedBarNrqlQueryOutputWithContext added in v4.5.0

func (i OneDashboardPageWidgetStackedBarNrqlQueryArgs) ToOneDashboardPageWidgetStackedBarNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarNrqlQueryOutput

type OneDashboardPageWidgetStackedBarNrqlQueryArray added in v4.5.0

type OneDashboardPageWidgetStackedBarNrqlQueryArray []OneDashboardPageWidgetStackedBarNrqlQueryInput

func (OneDashboardPageWidgetStackedBarNrqlQueryArray) ElementType added in v4.5.0

func (OneDashboardPageWidgetStackedBarNrqlQueryArray) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutput added in v4.5.0

func (i OneDashboardPageWidgetStackedBarNrqlQueryArray) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutput() OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput

func (OneDashboardPageWidgetStackedBarNrqlQueryArray) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutputWithContext added in v4.5.0

func (i OneDashboardPageWidgetStackedBarNrqlQueryArray) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput

type OneDashboardPageWidgetStackedBarNrqlQueryArrayInput added in v4.5.0

type OneDashboardPageWidgetStackedBarNrqlQueryArrayInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutput() OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput
	ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput
}

OneDashboardPageWidgetStackedBarNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetStackedBarNrqlQueryArray and OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetStackedBarNrqlQueryArrayInput` via:

OneDashboardPageWidgetStackedBarNrqlQueryArray{ OneDashboardPageWidgetStackedBarNrqlQueryArgs{...} }

type OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput added in v4.5.0

type OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) ElementType added in v4.5.0

func (OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) Index added in v4.5.0

func (OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutput added in v4.5.0

func (OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutputWithContext added in v4.5.0

func (o OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput

type OneDashboardPageWidgetStackedBarNrqlQueryInput added in v4.5.0

type OneDashboardPageWidgetStackedBarNrqlQueryInput interface {
	pulumi.Input

	ToOneDashboardPageWidgetStackedBarNrqlQueryOutput() OneDashboardPageWidgetStackedBarNrqlQueryOutput
	ToOneDashboardPageWidgetStackedBarNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetStackedBarNrqlQueryOutput
}

OneDashboardPageWidgetStackedBarNrqlQueryInput is an input type that accepts OneDashboardPageWidgetStackedBarNrqlQueryArgs and OneDashboardPageWidgetStackedBarNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetStackedBarNrqlQueryInput` via:

OneDashboardPageWidgetStackedBarNrqlQueryArgs{...}

type OneDashboardPageWidgetStackedBarNrqlQueryOutput added in v4.5.0

type OneDashboardPageWidgetStackedBarNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetStackedBarNrqlQueryOutput) AccountId added in v4.5.0

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

func (OneDashboardPageWidgetStackedBarNrqlQueryOutput) ElementType added in v4.5.0

func (OneDashboardPageWidgetStackedBarNrqlQueryOutput) Query added in v4.5.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 (OneDashboardPageWidgetStackedBarNrqlQueryOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryOutput added in v4.5.0

func (o OneDashboardPageWidgetStackedBarNrqlQueryOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryOutput() OneDashboardPageWidgetStackedBarNrqlQueryOutput

func (OneDashboardPageWidgetStackedBarNrqlQueryOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryOutputWithContext added in v4.5.0

func (o OneDashboardPageWidgetStackedBarNrqlQueryOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarNrqlQueryOutput

type OneDashboardPageWidgetStackedBarOutput added in v4.5.0

type OneDashboardPageWidgetStackedBarOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetStackedBarOutput) Column added in v4.5.0

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

func (OneDashboardPageWidgetStackedBarOutput) ElementType added in v4.5.0

func (OneDashboardPageWidgetStackedBarOutput) Height added in v4.5.0

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

func (OneDashboardPageWidgetStackedBarOutput) Id added in v4.5.0

func (OneDashboardPageWidgetStackedBarOutput) IgnoreTimeRange added in v4.17.0

(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.

func (OneDashboardPageWidgetStackedBarOutput) NrqlQueries added in v4.5.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. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.

func (OneDashboardPageWidgetStackedBarOutput) Row added in v4.5.0

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

func (OneDashboardPageWidgetStackedBarOutput) Title added in v4.5.0

(Required) A title for the widget.

func (OneDashboardPageWidgetStackedBarOutput) ToOneDashboardPageWidgetStackedBarOutput added in v4.5.0

func (o OneDashboardPageWidgetStackedBarOutput) ToOneDashboardPageWidgetStackedBarOutput() OneDashboardPageWidgetStackedBarOutput

func (OneDashboardPageWidgetStackedBarOutput) ToOneDashboardPageWidgetStackedBarOutputWithContext added in v4.5.0

func (o OneDashboardPageWidgetStackedBarOutput) ToOneDashboardPageWidgetStackedBarOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarOutput

func (OneDashboardPageWidgetStackedBarOutput) Width added in v4.5.0

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

type OneDashboardPageWidgetTable

type OneDashboardPageWidgetTable struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column                 int   `pulumi:"column"`
	FilterCurrentDashboard *bool `pulumi:"filterCurrentDashboard"`
	// (Optional) Height of the widget.  Valid values are `1` to `12` inclusive.  Defaults to `3`.
	Height *int    `pulumi:"height"`
	Id     *string `pulumi:"id"`
	// (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange   *bool    `pulumi:"ignoreTimeRange"`
	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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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

type OneDashboardPageWidgetTableArgs struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column                 pulumi.IntInput     `pulumi:"column"`
	FilterCurrentDashboard pulumi.BoolPtrInput `pulumi:"filterCurrentDashboard"`
	// (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) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
	IgnoreTimeRange   pulumi.BoolPtrInput     `pulumi:"ignoreTimeRange"`
	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.
	// * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
	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

func (OneDashboardPageWidgetTableArgs) ToOneDashboardPageWidgetTableOutput

func (i OneDashboardPageWidgetTableArgs) ToOneDashboardPageWidgetTableOutput() OneDashboardPageWidgetTableOutput

func (OneDashboardPageWidgetTableArgs) ToOneDashboardPageWidgetTableOutputWithContext

func (i OneDashboardPageWidgetTableArgs) ToOneDashboardPageWidgetTableOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableOutput

type OneDashboardPageWidgetTableArray

type OneDashboardPageWidgetTableArray []OneDashboardPageWidgetTableInput

func (OneDashboardPageWidgetTableArray) ElementType

func (OneDashboardPageWidgetTableArray) ToOneDashboardPageWidgetTableArrayOutput

func (i OneDashboardPageWidgetTableArray) ToOneDashboardPageWidgetTableArrayOutput() OneDashboardPageWidgetTableArrayOutput

func (OneDashboardPageWidgetTableArray) ToOneDashboardPageWidgetTableArrayOutputWithContext

func (i OneDashboardPageWidgetTableArray) ToOneDashboardPageWidgetTableArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableArrayOutput

type OneDashboardPageWidgetTableArrayInput

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

type OneDashboardPageWidgetTableArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetTableArrayOutput) ElementType

func (OneDashboardPageWidgetTableArrayOutput) Index

func (OneDashboardPageWidgetTableArrayOutput) ToOneDashboardPageWidgetTableArrayOutput

func (o OneDashboardPageWidgetTableArrayOutput) ToOneDashboardPageWidgetTableArrayOutput() OneDashboardPageWidgetTableArrayOutput

func (OneDashboardPageWidgetTableArrayOutput) ToOneDashboardPageWidgetTableArrayOutputWithContext

func (o OneDashboardPageWidgetTableArrayOutput) ToOneDashboardPageWidgetTableArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableArrayOutput

type OneDashboardPageWidgetTableInput

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

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

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

func (OneDashboardPageWidgetTableNrqlQueryArgs) ToOneDashboardPageWidgetTableNrqlQueryOutput

func (i OneDashboardPageWidgetTableNrqlQueryArgs) ToOneDashboardPageWidgetTableNrqlQueryOutput() OneDashboardPageWidgetTableNrqlQueryOutput

func (OneDashboardPageWidgetTableNrqlQueryArgs) ToOneDashboardPageWidgetTableNrqlQueryOutputWithContext

func (i OneDashboardPageWidgetTableNrqlQueryArgs) ToOneDashboardPageWidgetTableNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableNrqlQueryOutput

type OneDashboardPageWidgetTableNrqlQueryArray

type OneDashboardPageWidgetTableNrqlQueryArray []OneDashboardPageWidgetTableNrqlQueryInput

func (OneDashboardPageWidgetTableNrqlQueryArray) ElementType

func (OneDashboardPageWidgetTableNrqlQueryArray) ToOneDashboardPageWidgetTableNrqlQueryArrayOutput

func (i OneDashboardPageWidgetTableNrqlQueryArray) ToOneDashboardPageWidgetTableNrqlQueryArrayOutput() OneDashboardPageWidgetTableNrqlQueryArrayOutput

func (OneDashboardPageWidgetTableNrqlQueryArray) ToOneDashboardPageWidgetTableNrqlQueryArrayOutputWithContext

func (i OneDashboardPageWidgetTableNrqlQueryArray) ToOneDashboardPageWidgetTableNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableNrqlQueryArrayOutput

type OneDashboardPageWidgetTableNrqlQueryArrayInput

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

type OneDashboardPageWidgetTableNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetTableNrqlQueryArrayOutput) ElementType

func (OneDashboardPageWidgetTableNrqlQueryArrayOutput) Index

func (OneDashboardPageWidgetTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetTableNrqlQueryArrayOutput

func (o OneDashboardPageWidgetTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetTableNrqlQueryArrayOutput() OneDashboardPageWidgetTableNrqlQueryArrayOutput

func (OneDashboardPageWidgetTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetTableNrqlQueryArrayOutputWithContext

func (o OneDashboardPageWidgetTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetTableNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableNrqlQueryArrayOutput

type OneDashboardPageWidgetTableNrqlQueryInput

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

type OneDashboardPageWidgetTableNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetTableNrqlQueryOutput) AccountId

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

func (OneDashboardPageWidgetTableNrqlQueryOutput) ElementType

func (OneDashboardPageWidgetTableNrqlQueryOutput) Query

(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

func (o OneDashboardPageWidgetTableNrqlQueryOutput) ToOneDashboardPageWidgetTableNrqlQueryOutput() OneDashboardPageWidgetTableNrqlQueryOutput

func (OneDashboardPageWidgetTableNrqlQueryOutput) ToOneDashboardPageWidgetTableNrqlQueryOutputWithContext

func (o OneDashboardPageWidgetTableNrqlQueryOutput) ToOneDashboardPageWidgetTableNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableNrqlQueryOutput

type OneDashboardPageWidgetTableOutput

type OneDashboardPageWidgetTableOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetTableOutput) Column

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

func (OneDashboardPageWidgetTableOutput) ElementType

func (OneDashboardPageWidgetTableOutput) FilterCurrentDashboard added in v4.5.0

func (o OneDashboardPageWidgetTableOutput) FilterCurrentDashboard() pulumi.BoolPtrOutput

func (OneDashboardPageWidgetTableOutput) Height

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

func (OneDashboardPageWidgetTableOutput) Id

func (OneDashboardPageWidgetTableOutput) IgnoreTimeRange added in v4.17.0

(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.

func (OneDashboardPageWidgetTableOutput) LinkedEntityGuids

func (OneDashboardPageWidgetTableOutput) NrqlQueries

(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. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.

func (OneDashboardPageWidgetTableOutput) Row

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

func (OneDashboardPageWidgetTableOutput) Title

(Required) A title for the widget.

func (OneDashboardPageWidgetTableOutput) ToOneDashboardPageWidgetTableOutput

func (o OneDashboardPageWidgetTableOutput) ToOneDashboardPageWidgetTableOutput() OneDashboardPageWidgetTableOutput

func (OneDashboardPageWidgetTableOutput) ToOneDashboardPageWidgetTableOutputWithContext

func (o OneDashboardPageWidgetTableOutput) ToOneDashboardPageWidgetTableOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableOutput

func (OneDashboardPageWidgetTableOutput) Width

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

type OneDashboardRaw

type OneDashboardRaw 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 OneDashboardRawPageArrayOutput `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 ### Create A New Relic One Dashboard With RawConfiguration

```go package main

import (

"encoding/json"
"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"facet": map[string]interface{}{
				"showOtherSeries": false,
			},
			"nrqlQueries": []map[string]interface{}{
				map[string]interface{}{
					"accountId": local.AccountID,
					"query":     "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400",
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = newrelic.NewOneDashboardRaw(ctx, "exampledash", &newrelic.OneDashboardRawArgs{
			Pages: OneDashboardRawPageArray{
				&OneDashboardRawPageArgs{
					Name: pulumi.String("Page Name"),
					Widgets: OneDashboardRawPageWidgetArray{
						&OneDashboardRawPageWidgetArgs{
							Title:           pulumi.String("Custom widget"),
							Row:             pulumi.Int(1),
							Column:          pulumi.Int(1),
							Width:           pulumi.Int(1),
							Height:          pulumi.Int(1),
							VisualizationId: pulumi.String("viz.custom"),
							Configuration:   pulumi.String(fmt.Sprintf("      {\n        \"legend\": {\n          \"enabled\": false\n        },\n        \"nrqlQueries\": [\n          {\n            \"accountId\": ` + accountID + `,\n            \"query\": \"SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago    TIMESERIES\"\n          }\n        ],\n        \"yAxisLeft\": {\n          \"max\": 100,\n          \"min\": 50,\n          \"zero\": false\n        }\n      }\n")),
						},
						&OneDashboardRawPageWidgetArgs{
							Title:           pulumi.String("Server CPU"),
							Row:             pulumi.Int(1),
							Column:          pulumi.Int(2),
							Width:           pulumi.Int(1),
							Height:          pulumi.Int(1),
							VisualizationId: pulumi.String("viz.testing"),
							Configuration:   pulumi.String(fmt.Sprintf("      {\n        \"nrqlQueries\": [\n          {\n            \"accountId\": ` + accountID + `,\n            \"query\": \"SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400\"\n          }\n        ]\n      }\n")),
						},
						&OneDashboardRawPageWidgetArgs{
							Title:           pulumi.String("Docker Server CPU"),
							Row:             pulumi.Int(1),
							Column:          pulumi.Int(3),
							Height:          pulumi.Int(1),
							Width:           pulumi.Int(1),
							VisualizationId: pulumi.String("viz.bar"),
							Configuration:   pulumi.String(json0),
							LinkedEntityGuids: pulumi.StringArray{
								pulumi.String("MzI5ODAxNnxWSVp8REFTSEJPQVJEfDI2MTcxNDc"),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetOneDashboardRaw

func GetOneDashboardRaw(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OneDashboardRawState, opts ...pulumi.ResourceOption) (*OneDashboardRaw, error)

GetOneDashboardRaw gets an existing OneDashboardRaw 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 NewOneDashboardRaw

func NewOneDashboardRaw(ctx *pulumi.Context,
	name string, args *OneDashboardRawArgs, opts ...pulumi.ResourceOption) (*OneDashboardRaw, error)

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

func (*OneDashboardRaw) ElementType

func (*OneDashboardRaw) ElementType() reflect.Type

func (*OneDashboardRaw) ToOneDashboardRawOutput

func (i *OneDashboardRaw) ToOneDashboardRawOutput() OneDashboardRawOutput

func (*OneDashboardRaw) ToOneDashboardRawOutputWithContext

func (i *OneDashboardRaw) ToOneDashboardRawOutputWithContext(ctx context.Context) OneDashboardRawOutput

type OneDashboardRawArgs

type OneDashboardRawArgs 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 OneDashboardRawPageArrayInput
	// 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 OneDashboardRaw resource.

func (OneDashboardRawArgs) ElementType

func (OneDashboardRawArgs) ElementType() reflect.Type

type OneDashboardRawArray

type OneDashboardRawArray []OneDashboardRawInput

func (OneDashboardRawArray) ElementType

func (OneDashboardRawArray) ElementType() reflect.Type

func (OneDashboardRawArray) ToOneDashboardRawArrayOutput

func (i OneDashboardRawArray) ToOneDashboardRawArrayOutput() OneDashboardRawArrayOutput

func (OneDashboardRawArray) ToOneDashboardRawArrayOutputWithContext

func (i OneDashboardRawArray) ToOneDashboardRawArrayOutputWithContext(ctx context.Context) OneDashboardRawArrayOutput

type OneDashboardRawArrayInput

type OneDashboardRawArrayInput interface {
	pulumi.Input

	ToOneDashboardRawArrayOutput() OneDashboardRawArrayOutput
	ToOneDashboardRawArrayOutputWithContext(context.Context) OneDashboardRawArrayOutput
}

OneDashboardRawArrayInput is an input type that accepts OneDashboardRawArray and OneDashboardRawArrayOutput values. You can construct a concrete instance of `OneDashboardRawArrayInput` via:

OneDashboardRawArray{ OneDashboardRawArgs{...} }

type OneDashboardRawArrayOutput

type OneDashboardRawArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardRawArrayOutput) ElementType

func (OneDashboardRawArrayOutput) ElementType() reflect.Type

func (OneDashboardRawArrayOutput) Index

func (OneDashboardRawArrayOutput) ToOneDashboardRawArrayOutput

func (o OneDashboardRawArrayOutput) ToOneDashboardRawArrayOutput() OneDashboardRawArrayOutput

func (OneDashboardRawArrayOutput) ToOneDashboardRawArrayOutputWithContext

func (o OneDashboardRawArrayOutput) ToOneDashboardRawArrayOutputWithContext(ctx context.Context) OneDashboardRawArrayOutput

type OneDashboardRawInput

type OneDashboardRawInput interface {
	pulumi.Input

	ToOneDashboardRawOutput() OneDashboardRawOutput
	ToOneDashboardRawOutputWithContext(ctx context.Context) OneDashboardRawOutput
}

type OneDashboardRawMap

type OneDashboardRawMap map[string]OneDashboardRawInput

func (OneDashboardRawMap) ElementType

func (OneDashboardRawMap) ElementType() reflect.Type

func (OneDashboardRawMap) ToOneDashboardRawMapOutput

func (i OneDashboardRawMap) ToOneDashboardRawMapOutput() OneDashboardRawMapOutput

func (OneDashboardRawMap) ToOneDashboardRawMapOutputWithContext

func (i OneDashboardRawMap) ToOneDashboardRawMapOutputWithContext(ctx context.Context) OneDashboardRawMapOutput

type OneDashboardRawMapInput

type OneDashboardRawMapInput interface {
	pulumi.Input

	ToOneDashboardRawMapOutput() OneDashboardRawMapOutput
	ToOneDashboardRawMapOutputWithContext(context.Context) OneDashboardRawMapOutput
}

OneDashboardRawMapInput is an input type that accepts OneDashboardRawMap and OneDashboardRawMapOutput values. You can construct a concrete instance of `OneDashboardRawMapInput` via:

OneDashboardRawMap{ "key": OneDashboardRawArgs{...} }

type OneDashboardRawMapOutput

type OneDashboardRawMapOutput struct{ *pulumi.OutputState }

func (OneDashboardRawMapOutput) ElementType

func (OneDashboardRawMapOutput) ElementType() reflect.Type

func (OneDashboardRawMapOutput) MapIndex

func (OneDashboardRawMapOutput) ToOneDashboardRawMapOutput

func (o OneDashboardRawMapOutput) ToOneDashboardRawMapOutput() OneDashboardRawMapOutput

func (OneDashboardRawMapOutput) ToOneDashboardRawMapOutputWithContext

func (o OneDashboardRawMapOutput) ToOneDashboardRawMapOutputWithContext(ctx context.Context) OneDashboardRawMapOutput

type OneDashboardRawOutput

type OneDashboardRawOutput struct{ *pulumi.OutputState }

func (OneDashboardRawOutput) AccountId added in v4.15.0

func (o OneDashboardRawOutput) AccountId() pulumi.IntOutput

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

func (OneDashboardRawOutput) Description added in v4.15.0

Brief text describing the dashboard.

func (OneDashboardRawOutput) ElementType

func (OneDashboardRawOutput) ElementType() reflect.Type

func (OneDashboardRawOutput) Guid added in v4.15.0

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

func (OneDashboardRawOutput) Name added in v4.15.0

The title of the dashboard.

func (OneDashboardRawOutput) Pages added in v4.15.0

A nested block that describes a page. See Nested page blocks below for details.

The URL for viewing the dashboard.

func (OneDashboardRawOutput) Permissions added in v4.15.0

Determines who can see the dashboard in an account. Valid values are `private`, `publicReadOnly`, or `publicReadWrite`. Defaults to `publicReadOnly`.

func (OneDashboardRawOutput) ToOneDashboardRawOutput

func (o OneDashboardRawOutput) ToOneDashboardRawOutput() OneDashboardRawOutput

func (OneDashboardRawOutput) ToOneDashboardRawOutputWithContext

func (o OneDashboardRawOutput) ToOneDashboardRawOutputWithContext(ctx context.Context) OneDashboardRawOutput

type OneDashboardRawPage

type OneDashboardRawPage 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 a widget. See Nested widget blocks below for details.
	Widgets []OneDashboardRawPageWidget `pulumi:"widgets"`
}

type OneDashboardRawPageArgs

type OneDashboardRawPageArgs 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 a widget. See Nested widget blocks below for details.
	Widgets OneDashboardRawPageWidgetArrayInput `pulumi:"widgets"`
}

func (OneDashboardRawPageArgs) ElementType

func (OneDashboardRawPageArgs) ElementType() reflect.Type

func (OneDashboardRawPageArgs) ToOneDashboardRawPageOutput

func (i OneDashboardRawPageArgs) ToOneDashboardRawPageOutput() OneDashboardRawPageOutput

func (OneDashboardRawPageArgs) ToOneDashboardRawPageOutputWithContext

func (i OneDashboardRawPageArgs) ToOneDashboardRawPageOutputWithContext(ctx context.Context) OneDashboardRawPageOutput

type OneDashboardRawPageArray

type OneDashboardRawPageArray []OneDashboardRawPageInput

func (OneDashboardRawPageArray) ElementType

func (OneDashboardRawPageArray) ElementType() reflect.Type

func (OneDashboardRawPageArray) ToOneDashboardRawPageArrayOutput

func (i OneDashboardRawPageArray) ToOneDashboardRawPageArrayOutput() OneDashboardRawPageArrayOutput

func (OneDashboardRawPageArray) ToOneDashboardRawPageArrayOutputWithContext

func (i OneDashboardRawPageArray) ToOneDashboardRawPageArrayOutputWithContext(ctx context.Context) OneDashboardRawPageArrayOutput

type OneDashboardRawPageArrayInput

type OneDashboardRawPageArrayInput interface {
	pulumi.Input

	ToOneDashboardRawPageArrayOutput() OneDashboardRawPageArrayOutput
	ToOneDashboardRawPageArrayOutputWithContext(context.Context) OneDashboardRawPageArrayOutput
}

OneDashboardRawPageArrayInput is an input type that accepts OneDashboardRawPageArray and OneDashboardRawPageArrayOutput values. You can construct a concrete instance of `OneDashboardRawPageArrayInput` via:

OneDashboardRawPageArray{ OneDashboardRawPageArgs{...} }

type OneDashboardRawPageArrayOutput

type OneDashboardRawPageArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardRawPageArrayOutput) ElementType

func (OneDashboardRawPageArrayOutput) Index

func (OneDashboardRawPageArrayOutput) ToOneDashboardRawPageArrayOutput

func (o OneDashboardRawPageArrayOutput) ToOneDashboardRawPageArrayOutput() OneDashboardRawPageArrayOutput

func (OneDashboardRawPageArrayOutput) ToOneDashboardRawPageArrayOutputWithContext

func (o OneDashboardRawPageArrayOutput) ToOneDashboardRawPageArrayOutputWithContext(ctx context.Context) OneDashboardRawPageArrayOutput

type OneDashboardRawPageInput

type OneDashboardRawPageInput interface {
	pulumi.Input

	ToOneDashboardRawPageOutput() OneDashboardRawPageOutput
	ToOneDashboardRawPageOutputWithContext(context.Context) OneDashboardRawPageOutput
}

OneDashboardRawPageInput is an input type that accepts OneDashboardRawPageArgs and OneDashboardRawPageOutput values. You can construct a concrete instance of `OneDashboardRawPageInput` via:

OneDashboardRawPageArgs{...}

type OneDashboardRawPageOutput

type OneDashboardRawPageOutput struct{ *pulumi.OutputState }

func (OneDashboardRawPageOutput) Description

Brief text describing the dashboard.

func (OneDashboardRawPageOutput) ElementType

func (OneDashboardRawPageOutput) ElementType() reflect.Type

func (OneDashboardRawPageOutput) Guid

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

func (OneDashboardRawPageOutput) Name

The title of the dashboard.

func (OneDashboardRawPageOutput) ToOneDashboardRawPageOutput

func (o OneDashboardRawPageOutput) ToOneDashboardRawPageOutput() OneDashboardRawPageOutput

func (OneDashboardRawPageOutput) ToOneDashboardRawPageOutputWithContext

func (o OneDashboardRawPageOutput) ToOneDashboardRawPageOutputWithContext(ctx context.Context) OneDashboardRawPageOutput

func (OneDashboardRawPageOutput) Widgets

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

type OneDashboardRawPageWidget

type OneDashboardRawPageWidget struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column int `pulumi:"column"`
	// (Required) The configuration of the widget.
	Configuration string `pulumi:"configuration"`
	// (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
	Height *int    `pulumi:"height"`
	Id     *string `pulumi:"id"`
	// (Optional) Related entity GUIDs.
	LinkedEntityGuids []string `pulumi:"linkedEntityGuids"`
	// (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"`
	// (Required) The visualization ID of the widget
	VisualizationId string `pulumi:"visualizationId"`
	// (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
	Width *int `pulumi:"width"`
}

type OneDashboardRawPageWidgetArgs

type OneDashboardRawPageWidgetArgs struct {
	// (Required) Column position of widget from top left, starting at `1`.
	Column pulumi.IntInput `pulumi:"column"`
	// (Required) The configuration of the widget.
	Configuration pulumi.StringInput `pulumi:"configuration"`
	// (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) Related entity GUIDs.
	LinkedEntityGuids pulumi.StringArrayInput `pulumi:"linkedEntityGuids"`
	// (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"`
	// (Required) The visualization ID of the widget
	VisualizationId pulumi.StringInput `pulumi:"visualizationId"`
	// (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
	Width pulumi.IntPtrInput `pulumi:"width"`
}

func (OneDashboardRawPageWidgetArgs) ElementType

func (OneDashboardRawPageWidgetArgs) ToOneDashboardRawPageWidgetOutput

func (i OneDashboardRawPageWidgetArgs) ToOneDashboardRawPageWidgetOutput() OneDashboardRawPageWidgetOutput

func (OneDashboardRawPageWidgetArgs) ToOneDashboardRawPageWidgetOutputWithContext

func (i OneDashboardRawPageWidgetArgs) ToOneDashboardRawPageWidgetOutputWithContext(ctx context.Context) OneDashboardRawPageWidgetOutput

type OneDashboardRawPageWidgetArray

type OneDashboardRawPageWidgetArray []OneDashboardRawPageWidgetInput

func (OneDashboardRawPageWidgetArray) ElementType

func (OneDashboardRawPageWidgetArray) ToOneDashboardRawPageWidgetArrayOutput

func (i OneDashboardRawPageWidgetArray) ToOneDashboardRawPageWidgetArrayOutput() OneDashboardRawPageWidgetArrayOutput

func (OneDashboardRawPageWidgetArray) ToOneDashboardRawPageWidgetArrayOutputWithContext

func (i OneDashboardRawPageWidgetArray) ToOneDashboardRawPageWidgetArrayOutputWithContext(ctx context.Context) OneDashboardRawPageWidgetArrayOutput

type OneDashboardRawPageWidgetArrayInput

type OneDashboardRawPageWidgetArrayInput interface {
	pulumi.Input

	ToOneDashboardRawPageWidgetArrayOutput() OneDashboardRawPageWidgetArrayOutput
	ToOneDashboardRawPageWidgetArrayOutputWithContext(context.Context) OneDashboardRawPageWidgetArrayOutput
}

OneDashboardRawPageWidgetArrayInput is an input type that accepts OneDashboardRawPageWidgetArray and OneDashboardRawPageWidgetArrayOutput values. You can construct a concrete instance of `OneDashboardRawPageWidgetArrayInput` via:

OneDashboardRawPageWidgetArray{ OneDashboardRawPageWidgetArgs{...} }

type OneDashboardRawPageWidgetArrayOutput

type OneDashboardRawPageWidgetArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardRawPageWidgetArrayOutput) ElementType

func (OneDashboardRawPageWidgetArrayOutput) Index

func (OneDashboardRawPageWidgetArrayOutput) ToOneDashboardRawPageWidgetArrayOutput

func (o OneDashboardRawPageWidgetArrayOutput) ToOneDashboardRawPageWidgetArrayOutput() OneDashboardRawPageWidgetArrayOutput

func (OneDashboardRawPageWidgetArrayOutput) ToOneDashboardRawPageWidgetArrayOutputWithContext

func (o OneDashboardRawPageWidgetArrayOutput) ToOneDashboardRawPageWidgetArrayOutputWithContext(ctx context.Context) OneDashboardRawPageWidgetArrayOutput

type OneDashboardRawPageWidgetInput

type OneDashboardRawPageWidgetInput interface {
	pulumi.Input

	ToOneDashboardRawPageWidgetOutput() OneDashboardRawPageWidgetOutput
	ToOneDashboardRawPageWidgetOutputWithContext(context.Context) OneDashboardRawPageWidgetOutput
}

OneDashboardRawPageWidgetInput is an input type that accepts OneDashboardRawPageWidgetArgs and OneDashboardRawPageWidgetOutput values. You can construct a concrete instance of `OneDashboardRawPageWidgetInput` via:

OneDashboardRawPageWidgetArgs{...}

type OneDashboardRawPageWidgetOutput

type OneDashboardRawPageWidgetOutput struct{ *pulumi.OutputState }

func (OneDashboardRawPageWidgetOutput) Column

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

func (OneDashboardRawPageWidgetOutput) Configuration

(Required) The configuration of the widget.

func (OneDashboardRawPageWidgetOutput) ElementType

func (OneDashboardRawPageWidgetOutput) Height

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

func (OneDashboardRawPageWidgetOutput) Id

func (OneDashboardRawPageWidgetOutput) LinkedEntityGuids added in v4.5.0

(Optional) Related entity GUIDs.

func (OneDashboardRawPageWidgetOutput) Row

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

func (OneDashboardRawPageWidgetOutput) Title

(Required) A title for the widget.

func (OneDashboardRawPageWidgetOutput) ToOneDashboardRawPageWidgetOutput

func (o OneDashboardRawPageWidgetOutput) ToOneDashboardRawPageWidgetOutput() OneDashboardRawPageWidgetOutput

func (OneDashboardRawPageWidgetOutput) ToOneDashboardRawPageWidgetOutputWithContext

func (o OneDashboardRawPageWidgetOutput) ToOneDashboardRawPageWidgetOutputWithContext(ctx context.Context) OneDashboardRawPageWidgetOutput

func (OneDashboardRawPageWidgetOutput) VisualizationId

(Required) The visualization ID of the widget

func (OneDashboardRawPageWidgetOutput) Width

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

type OneDashboardRawState

type OneDashboardRawState 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 OneDashboardRawPageArrayInput
	// 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 (OneDashboardRawState) ElementType

func (OneDashboardRawState) ElementType() reflect.Type

type OneDashboardState

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

func (OneDashboardState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	AdminApiKey pulumi.StringPtrOutput `pulumi:"adminApiKey"`
	ApiKey      pulumi.StringPtrOutput `pulumi:"apiKey"`
	// Deprecated: New Relic internal use only. API URLs are now configured based on the configured region.
	ApiUrl     pulumi.StringPtrOutput `pulumi:"apiUrl"`
	CacertFile pulumi.StringPtrOutput `pulumi:"cacertFile"`
	// Deprecated: New Relic internal use only. API URLs are now configured based on the configured region.
	InfrastructureApiUrl pulumi.StringPtrOutput `pulumi:"infrastructureApiUrl"`
	InsightsInsertKey    pulumi.StringPtrOutput `pulumi:"insightsInsertKey"`
	InsightsInsertUrl    pulumi.StringPtrOutput `pulumi:"insightsInsertUrl"`
	InsightsQueryUrl     pulumi.StringPtrOutput `pulumi:"insightsQueryUrl"`
	// Deprecated: New Relic internal use only. API URLs are now configured based on the configured region.
	NerdgraphApiUrl pulumi.StringPtrOutput `pulumi:"nerdgraphApiUrl"`
	// The data center for which your New Relic account is configured. Only one region per provider block is permitted.
	Region pulumi.StringPtrOutput `pulumi:"region"`
	// Deprecated: New Relic internal use only. API URLs are now configured based on the configured region.
	SyntheticsApiUrl pulumi.StringPtrOutput `pulumi:"syntheticsApiUrl"`
}

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

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

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

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) AdminApiKey added in v4.15.0

func (o ProviderOutput) AdminApiKey() pulumi.StringPtrOutput

func (ProviderOutput) ApiKey added in v4.15.0

func (ProviderOutput) ApiUrl deprecated added in v4.15.0

Deprecated: New Relic internal use only. API URLs are now configured based on the configured region.

func (ProviderOutput) CacertFile added in v4.15.0

func (o ProviderOutput) CacertFile() pulumi.StringPtrOutput

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) InfrastructureApiUrl deprecated added in v4.15.0

func (o ProviderOutput) InfrastructureApiUrl() pulumi.StringPtrOutput

Deprecated: New Relic internal use only. API URLs are now configured based on the configured region.

func (ProviderOutput) InsightsInsertKey added in v4.15.0

func (o ProviderOutput) InsightsInsertKey() pulumi.StringPtrOutput

func (ProviderOutput) InsightsInsertUrl added in v4.15.0

func (o ProviderOutput) InsightsInsertUrl() pulumi.StringPtrOutput

func (ProviderOutput) InsightsQueryUrl added in v4.15.0

func (o ProviderOutput) InsightsQueryUrl() pulumi.StringPtrOutput

func (ProviderOutput) NerdgraphApiUrl deprecated added in v4.15.0

func (o ProviderOutput) NerdgraphApiUrl() pulumi.StringPtrOutput

Deprecated: New Relic internal use only. API URLs are now configured based on the configured region.

func (ProviderOutput) Region added in v4.15.0

The data center for which your New Relic account is configured. Only one region per provider block is permitted.

func (ProviderOutput) SyntheticsApiUrl deprecated added in v4.15.0

func (o ProviderOutput) SyntheticsApiUrl() pulumi.StringPtrOutput

Deprecated: New Relic internal use only. API URLs are now configured based on the configured region.

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ServiceLevel added in v4.5.0

type ServiceLevel struct {
	pulumi.CustomResourceState

	// The description of the SLI.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The events that define the NRDB data for the SLI/SLO calculations.
	// See Events below for details.
	Events ServiceLevelEventsOutput `pulumi:"events"`
	// The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
	Guid pulumi.StringOutput `pulumi:"guid"`
	// A short name for the SLI that will help anyone understand what it is about.
	Name pulumi.StringOutput `pulumi:"name"`
	// The objective of the SLI, only one can be defined.
	// See Objective below for details.
	Objective ServiceLevelObjectiveOutput `pulumi:"objective"`
	// The unique entity identifier of the Service Level Indicator in New Relic.
	SliGuid pulumi.StringOutput `pulumi:"sliGuid"`
	// The unique entity identifier of the Service Level Indicator.
	SliId pulumi.StringOutput `pulumi:"sliId"`
}

Use this resource to create, update, and delete New Relic Service Level Indicators and Objectives.

A New Relic User API key is required to provision this resource. Set the `apiKey` attribute in the `provider` block or the `NEW_RELIC_API_KEY` environment variable with your User API key.

Important: - Only roles that provide [permissions](https://docs.newrelic.com/docs/accounts/accounts-billing/new-relic-one-user-management/new-relic-one-user-model-understand-user-structure/) to create events to metric rules can create SLI/SLOs. - Only [Full users](https://docs.newrelic.com/docs/accounts/accounts-billing/new-relic-one-user-management/new-relic-one-user-model-understand-user-structure/#user-type) can view SLI/SLOs.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewServiceLevel(ctx, "foo", &newrelic.ServiceLevelArgs{
			Description: pulumi.String("Proportion of requests that are served faster than a threshold."),
			Events: &ServiceLevelEventsArgs{
				AccountId: pulumi.Int(12345678),
				GoodEvents: &ServiceLevelEventsGoodEventsArgs{
					From:  pulumi.String("Transaction"),
					Where: pulumi.String("appName = 'Example application' AND (transactionType= 'Web') AND duration < 0.1"),
				},
				ValidEvents: &ServiceLevelEventsValidEventsArgs{
					From:  pulumi.String("Transaction"),
					Where: pulumi.String("appName = 'Example application' AND (transactionType='Web')"),
				},
			},
			Guid: pulumi.String("MXxBUE18QVBQTElDQVRJT058MQ"),
			Objective: &ServiceLevelObjectiveArgs{
				Target: pulumi.Float64(99),
				TimeWindow: &ServiceLevelObjectiveTimeWindowArgs{
					Rolling: &ServiceLevelObjectiveTimeWindowRollingArgs{
						Count: pulumi.Int(7),
						Unit:  pulumi.String("DAY"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Additional Example

Service level with tags:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		mySyntheticMonitorServiceLevel, err := newrelic.NewServiceLevel(ctx, "mySyntheticMonitorServiceLevel", &newrelic.ServiceLevelArgs{
			Guid:        pulumi.String("MXxBUE18QVBQTElDQVRJT058MQ"),
			Description: pulumi.String("Proportion of successful synthetic checks."),
			Events: &ServiceLevelEventsArgs{
				AccountId: pulumi.Int(12345678),
				ValidEvents: &ServiceLevelEventsValidEventsArgs{
					From:  pulumi.String("SyntheticCheck"),
					Where: pulumi.String("entityGuid = 'MXxBUE18QVBQTElDQVRJT058MQ'"),
				},
				GoodEvents: &ServiceLevelEventsGoodEventsArgs{
					From:  pulumi.String("SyntheticCheck"),
					Where: pulumi.String("entityGuid = 'MXxBUE18QVBQTElDQVRJT058MQ' AND result='SUCCESS'"),
				},
			},
			Objective: &ServiceLevelObjectiveArgs{
				Target: pulumi.Float64(99),
				TimeWindow: &ServiceLevelObjectiveTimeWindowArgs{
					Rolling: &ServiceLevelObjectiveTimeWindowRollingArgs{
						Count: pulumi.Int(7),
						Unit:  pulumi.String("DAY"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = newrelic.NewEntityTags(ctx, "mySyntheticMonitorServiceLevelTags", &newrelic.EntityTagsArgs{
			Guid: mySyntheticMonitorServiceLevel.SliGuid,
			Tags: EntityTagsTagArray{
				&EntityTagsTagArgs{
					Key: pulumi.String("user_journey"),
					Values: pulumi.StringArray{
						pulumi.String("authentication"),
						pulumi.String("sso"),
					},
				},
				&EntityTagsTagArgs{
					Key: pulumi.String("owner"),
					Values: pulumi.StringArray{
						pulumi.String("identityTeam"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

For up-to-date documentation about the tagging resource, please check EntityTags

## Import

New Relic Service Levels can be imported using a concatenated string of the format

`<account_id>:<sli_id>:<guid>`, where the `guid` is the entity the SLI relates to. Examplebash

```sh

$ pulumi import newrelic:index/serviceLevel:ServiceLevel foo 12345678:4321:MXxBUE18QVBQTElDQVRJT058MQ

```

func GetServiceLevel added in v4.5.0

func GetServiceLevel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceLevelState, opts ...pulumi.ResourceOption) (*ServiceLevel, error)

GetServiceLevel gets an existing ServiceLevel 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 NewServiceLevel added in v4.5.0

func NewServiceLevel(ctx *pulumi.Context,
	name string, args *ServiceLevelArgs, opts ...pulumi.ResourceOption) (*ServiceLevel, error)

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

func (*ServiceLevel) ElementType added in v4.5.0

func (*ServiceLevel) ElementType() reflect.Type

func (*ServiceLevel) ToServiceLevelOutput added in v4.5.0

func (i *ServiceLevel) ToServiceLevelOutput() ServiceLevelOutput

func (*ServiceLevel) ToServiceLevelOutputWithContext added in v4.5.0

func (i *ServiceLevel) ToServiceLevelOutputWithContext(ctx context.Context) ServiceLevelOutput

type ServiceLevelArgs added in v4.5.0

type ServiceLevelArgs struct {
	// The description of the SLI.
	Description pulumi.StringPtrInput
	// The events that define the NRDB data for the SLI/SLO calculations.
	// See Events below for details.
	Events ServiceLevelEventsInput
	// The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
	Guid pulumi.StringInput
	// A short name for the SLI that will help anyone understand what it is about.
	Name pulumi.StringPtrInput
	// The objective of the SLI, only one can be defined.
	// See Objective below for details.
	Objective ServiceLevelObjectiveInput
}

The set of arguments for constructing a ServiceLevel resource.

func (ServiceLevelArgs) ElementType added in v4.5.0

func (ServiceLevelArgs) ElementType() reflect.Type

type ServiceLevelArray added in v4.5.0

type ServiceLevelArray []ServiceLevelInput

func (ServiceLevelArray) ElementType added in v4.5.0

func (ServiceLevelArray) ElementType() reflect.Type

func (ServiceLevelArray) ToServiceLevelArrayOutput added in v4.5.0

func (i ServiceLevelArray) ToServiceLevelArrayOutput() ServiceLevelArrayOutput

func (ServiceLevelArray) ToServiceLevelArrayOutputWithContext added in v4.5.0

func (i ServiceLevelArray) ToServiceLevelArrayOutputWithContext(ctx context.Context) ServiceLevelArrayOutput

type ServiceLevelArrayInput added in v4.5.0

type ServiceLevelArrayInput interface {
	pulumi.Input

	ToServiceLevelArrayOutput() ServiceLevelArrayOutput
	ToServiceLevelArrayOutputWithContext(context.Context) ServiceLevelArrayOutput
}

ServiceLevelArrayInput is an input type that accepts ServiceLevelArray and ServiceLevelArrayOutput values. You can construct a concrete instance of `ServiceLevelArrayInput` via:

ServiceLevelArray{ ServiceLevelArgs{...} }

type ServiceLevelArrayOutput added in v4.5.0

type ServiceLevelArrayOutput struct{ *pulumi.OutputState }

func (ServiceLevelArrayOutput) ElementType added in v4.5.0

func (ServiceLevelArrayOutput) ElementType() reflect.Type

func (ServiceLevelArrayOutput) Index added in v4.5.0

func (ServiceLevelArrayOutput) ToServiceLevelArrayOutput added in v4.5.0

func (o ServiceLevelArrayOutput) ToServiceLevelArrayOutput() ServiceLevelArrayOutput

func (ServiceLevelArrayOutput) ToServiceLevelArrayOutputWithContext added in v4.5.0

func (o ServiceLevelArrayOutput) ToServiceLevelArrayOutputWithContext(ctx context.Context) ServiceLevelArrayOutput

type ServiceLevelEvents added in v4.5.0

type ServiceLevelEvents struct {
	// The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to,
	// and that contains the NRDB data for the SLI/SLO calculations. Note that changing the account ID will force a new resource.
	AccountId int `pulumi:"accountId"`
	// The definition of the bad responses. If you define an SLI from valid and bad events, you must leave the good events argument empty.
	BadEvents *ServiceLevelEventsBadEvents `pulumi:"badEvents"`
	// The definition of good responses. If you define an SLI from valid and good events, you must leave the bad events argument empty.
	GoodEvents *ServiceLevelEventsGoodEvents `pulumi:"goodEvents"`
	// The definition of valid requests.
	ValidEvents ServiceLevelEventsValidEvents `pulumi:"validEvents"`
}

type ServiceLevelEventsArgs added in v4.5.0

type ServiceLevelEventsArgs struct {
	// The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to,
	// and that contains the NRDB data for the SLI/SLO calculations. Note that changing the account ID will force a new resource.
	AccountId pulumi.IntInput `pulumi:"accountId"`
	// The definition of the bad responses. If you define an SLI from valid and bad events, you must leave the good events argument empty.
	BadEvents ServiceLevelEventsBadEventsPtrInput `pulumi:"badEvents"`
	// The definition of good responses. If you define an SLI from valid and good events, you must leave the bad events argument empty.
	GoodEvents ServiceLevelEventsGoodEventsPtrInput `pulumi:"goodEvents"`
	// The definition of valid requests.
	ValidEvents ServiceLevelEventsValidEventsInput `pulumi:"validEvents"`
}

func (ServiceLevelEventsArgs) ElementType added in v4.5.0

func (ServiceLevelEventsArgs) ElementType() reflect.Type

func (ServiceLevelEventsArgs) ToServiceLevelEventsOutput added in v4.5.0

func (i ServiceLevelEventsArgs) ToServiceLevelEventsOutput() ServiceLevelEventsOutput

func (ServiceLevelEventsArgs) ToServiceLevelEventsOutputWithContext added in v4.5.0

func (i ServiceLevelEventsArgs) ToServiceLevelEventsOutputWithContext(ctx context.Context) ServiceLevelEventsOutput

func (ServiceLevelEventsArgs) ToServiceLevelEventsPtrOutput added in v4.5.0

func (i ServiceLevelEventsArgs) ToServiceLevelEventsPtrOutput() ServiceLevelEventsPtrOutput

func (ServiceLevelEventsArgs) ToServiceLevelEventsPtrOutputWithContext added in v4.5.0

func (i ServiceLevelEventsArgs) ToServiceLevelEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsPtrOutput

type ServiceLevelEventsBadEvents added in v4.5.0

type ServiceLevelEventsBadEvents struct {
	// The event type where NRDB data will be fetched from.
	From string `pulumi:"from"`
	// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).
	// a particular entity and were successful).
	// a particular entity and returned an error).
	Where *string `pulumi:"where"`
}

type ServiceLevelEventsBadEventsArgs added in v4.5.0

type ServiceLevelEventsBadEventsArgs struct {
	// The event type where NRDB data will be fetched from.
	From pulumi.StringInput `pulumi:"from"`
	// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).
	// a particular entity and were successful).
	// a particular entity and returned an error).
	Where pulumi.StringPtrInput `pulumi:"where"`
}

func (ServiceLevelEventsBadEventsArgs) ElementType added in v4.5.0

func (ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsOutput added in v4.5.0

func (i ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsOutput() ServiceLevelEventsBadEventsOutput

func (ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsOutputWithContext added in v4.5.0

func (i ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsOutput

func (ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsPtrOutput added in v4.5.0

func (i ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsPtrOutput() ServiceLevelEventsBadEventsPtrOutput

func (ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsPtrOutputWithContext added in v4.5.0

func (i ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsPtrOutput

type ServiceLevelEventsBadEventsInput added in v4.5.0

type ServiceLevelEventsBadEventsInput interface {
	pulumi.Input

	ToServiceLevelEventsBadEventsOutput() ServiceLevelEventsBadEventsOutput
	ToServiceLevelEventsBadEventsOutputWithContext(context.Context) ServiceLevelEventsBadEventsOutput
}

ServiceLevelEventsBadEventsInput is an input type that accepts ServiceLevelEventsBadEventsArgs and ServiceLevelEventsBadEventsOutput values. You can construct a concrete instance of `ServiceLevelEventsBadEventsInput` via:

ServiceLevelEventsBadEventsArgs{...}

type ServiceLevelEventsBadEventsOutput added in v4.5.0

type ServiceLevelEventsBadEventsOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsBadEventsOutput) ElementType added in v4.5.0

func (ServiceLevelEventsBadEventsOutput) From added in v4.5.0

The event type where NRDB data will be fetched from.

func (ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsOutput added in v4.5.0

func (o ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsOutput() ServiceLevelEventsBadEventsOutput

func (ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsOutputWithContext added in v4.5.0

func (o ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsOutput

func (ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsPtrOutput added in v4.5.0

func (o ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsPtrOutput() ServiceLevelEventsBadEventsPtrOutput

func (ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsPtrOutputWithContext added in v4.5.0

func (o ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsPtrOutput

func (ServiceLevelEventsBadEventsOutput) Where added in v4.5.0

A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). a particular entity and were successful). a particular entity and returned an error).

type ServiceLevelEventsBadEventsPtrInput added in v4.5.0

type ServiceLevelEventsBadEventsPtrInput interface {
	pulumi.Input

	ToServiceLevelEventsBadEventsPtrOutput() ServiceLevelEventsBadEventsPtrOutput
	ToServiceLevelEventsBadEventsPtrOutputWithContext(context.Context) ServiceLevelEventsBadEventsPtrOutput
}

ServiceLevelEventsBadEventsPtrInput is an input type that accepts ServiceLevelEventsBadEventsArgs, ServiceLevelEventsBadEventsPtr and ServiceLevelEventsBadEventsPtrOutput values. You can construct a concrete instance of `ServiceLevelEventsBadEventsPtrInput` via:

        ServiceLevelEventsBadEventsArgs{...}

or:

        nil

func ServiceLevelEventsBadEventsPtr added in v4.5.0

type ServiceLevelEventsBadEventsPtrOutput added in v4.5.0

type ServiceLevelEventsBadEventsPtrOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsBadEventsPtrOutput) Elem added in v4.5.0

func (ServiceLevelEventsBadEventsPtrOutput) ElementType added in v4.5.0

func (ServiceLevelEventsBadEventsPtrOutput) From added in v4.5.0

The event type where NRDB data will be fetched from.

func (ServiceLevelEventsBadEventsPtrOutput) ToServiceLevelEventsBadEventsPtrOutput added in v4.5.0

func (o ServiceLevelEventsBadEventsPtrOutput) ToServiceLevelEventsBadEventsPtrOutput() ServiceLevelEventsBadEventsPtrOutput

func (ServiceLevelEventsBadEventsPtrOutput) ToServiceLevelEventsBadEventsPtrOutputWithContext added in v4.5.0

func (o ServiceLevelEventsBadEventsPtrOutput) ToServiceLevelEventsBadEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsPtrOutput

func (ServiceLevelEventsBadEventsPtrOutput) Where added in v4.5.0

A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). a particular entity and were successful). a particular entity and returned an error).

type ServiceLevelEventsGoodEvents added in v4.5.0

type ServiceLevelEventsGoodEvents struct {
	// The event type where NRDB data will be fetched from.
	From string `pulumi:"from"`
	// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).
	// a particular entity and were successful).
	// a particular entity and returned an error).
	Where *string `pulumi:"where"`
}

type ServiceLevelEventsGoodEventsArgs added in v4.5.0

type ServiceLevelEventsGoodEventsArgs struct {
	// The event type where NRDB data will be fetched from.
	From pulumi.StringInput `pulumi:"from"`
	// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).
	// a particular entity and were successful).
	// a particular entity and returned an error).
	Where pulumi.StringPtrInput `pulumi:"where"`
}

func (ServiceLevelEventsGoodEventsArgs) ElementType added in v4.5.0

func (ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsOutput added in v4.5.0

func (i ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsOutput() ServiceLevelEventsGoodEventsOutput

func (ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsOutputWithContext added in v4.5.0

func (i ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsOutput

func (ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsPtrOutput added in v4.5.0

func (i ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsPtrOutput() ServiceLevelEventsGoodEventsPtrOutput

func (ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsPtrOutputWithContext added in v4.5.0

func (i ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsPtrOutput

type ServiceLevelEventsGoodEventsInput added in v4.5.0

type ServiceLevelEventsGoodEventsInput interface {
	pulumi.Input

	ToServiceLevelEventsGoodEventsOutput() ServiceLevelEventsGoodEventsOutput
	ToServiceLevelEventsGoodEventsOutputWithContext(context.Context) ServiceLevelEventsGoodEventsOutput
}

ServiceLevelEventsGoodEventsInput is an input type that accepts ServiceLevelEventsGoodEventsArgs and ServiceLevelEventsGoodEventsOutput values. You can construct a concrete instance of `ServiceLevelEventsGoodEventsInput` via:

ServiceLevelEventsGoodEventsArgs{...}

type ServiceLevelEventsGoodEventsOutput added in v4.5.0

type ServiceLevelEventsGoodEventsOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsGoodEventsOutput) ElementType added in v4.5.0

func (ServiceLevelEventsGoodEventsOutput) From added in v4.5.0

The event type where NRDB data will be fetched from.

func (ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsOutput added in v4.5.0

func (o ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsOutput() ServiceLevelEventsGoodEventsOutput

func (ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsOutputWithContext added in v4.5.0

func (o ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsOutput

func (ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsPtrOutput added in v4.5.0

func (o ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsPtrOutput() ServiceLevelEventsGoodEventsPtrOutput

func (ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsPtrOutputWithContext added in v4.5.0

func (o ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsPtrOutput

func (ServiceLevelEventsGoodEventsOutput) Where added in v4.5.0

A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). a particular entity and were successful). a particular entity and returned an error).

type ServiceLevelEventsGoodEventsPtrInput added in v4.5.0

type ServiceLevelEventsGoodEventsPtrInput interface {
	pulumi.Input

	ToServiceLevelEventsGoodEventsPtrOutput() ServiceLevelEventsGoodEventsPtrOutput
	ToServiceLevelEventsGoodEventsPtrOutputWithContext(context.Context) ServiceLevelEventsGoodEventsPtrOutput
}

ServiceLevelEventsGoodEventsPtrInput is an input type that accepts ServiceLevelEventsGoodEventsArgs, ServiceLevelEventsGoodEventsPtr and ServiceLevelEventsGoodEventsPtrOutput values. You can construct a concrete instance of `ServiceLevelEventsGoodEventsPtrInput` via:

        ServiceLevelEventsGoodEventsArgs{...}

or:

        nil

type ServiceLevelEventsGoodEventsPtrOutput added in v4.5.0

type ServiceLevelEventsGoodEventsPtrOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsGoodEventsPtrOutput) Elem added in v4.5.0

func (ServiceLevelEventsGoodEventsPtrOutput) ElementType added in v4.5.0

func (ServiceLevelEventsGoodEventsPtrOutput) From added in v4.5.0

The event type where NRDB data will be fetched from.

func (ServiceLevelEventsGoodEventsPtrOutput) ToServiceLevelEventsGoodEventsPtrOutput added in v4.5.0

func (o ServiceLevelEventsGoodEventsPtrOutput) ToServiceLevelEventsGoodEventsPtrOutput() ServiceLevelEventsGoodEventsPtrOutput

func (ServiceLevelEventsGoodEventsPtrOutput) ToServiceLevelEventsGoodEventsPtrOutputWithContext added in v4.5.0

func (o ServiceLevelEventsGoodEventsPtrOutput) ToServiceLevelEventsGoodEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsPtrOutput

func (ServiceLevelEventsGoodEventsPtrOutput) Where added in v4.5.0

A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). a particular entity and were successful). a particular entity and returned an error).

type ServiceLevelEventsInput added in v4.5.0

type ServiceLevelEventsInput interface {
	pulumi.Input

	ToServiceLevelEventsOutput() ServiceLevelEventsOutput
	ToServiceLevelEventsOutputWithContext(context.Context) ServiceLevelEventsOutput
}

ServiceLevelEventsInput is an input type that accepts ServiceLevelEventsArgs and ServiceLevelEventsOutput values. You can construct a concrete instance of `ServiceLevelEventsInput` via:

ServiceLevelEventsArgs{...}

type ServiceLevelEventsOutput added in v4.5.0

type ServiceLevelEventsOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsOutput) AccountId added in v4.5.0

The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to, and that contains the NRDB data for the SLI/SLO calculations. Note that changing the account ID will force a new resource.

func (ServiceLevelEventsOutput) BadEvents added in v4.5.0

The definition of the bad responses. If you define an SLI from valid and bad events, you must leave the good events argument empty.

func (ServiceLevelEventsOutput) ElementType added in v4.5.0

func (ServiceLevelEventsOutput) ElementType() reflect.Type

func (ServiceLevelEventsOutput) GoodEvents added in v4.5.0

The definition of good responses. If you define an SLI from valid and good events, you must leave the bad events argument empty.

func (ServiceLevelEventsOutput) ToServiceLevelEventsOutput added in v4.5.0

func (o ServiceLevelEventsOutput) ToServiceLevelEventsOutput() ServiceLevelEventsOutput

func (ServiceLevelEventsOutput) ToServiceLevelEventsOutputWithContext added in v4.5.0

func (o ServiceLevelEventsOutput) ToServiceLevelEventsOutputWithContext(ctx context.Context) ServiceLevelEventsOutput

func (ServiceLevelEventsOutput) ToServiceLevelEventsPtrOutput added in v4.5.0

func (o ServiceLevelEventsOutput) ToServiceLevelEventsPtrOutput() ServiceLevelEventsPtrOutput

func (ServiceLevelEventsOutput) ToServiceLevelEventsPtrOutputWithContext added in v4.5.0

func (o ServiceLevelEventsOutput) ToServiceLevelEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsPtrOutput

func (ServiceLevelEventsOutput) ValidEvents added in v4.5.0

The definition of valid requests.

type ServiceLevelEventsPtrInput added in v4.5.0

type ServiceLevelEventsPtrInput interface {
	pulumi.Input

	ToServiceLevelEventsPtrOutput() ServiceLevelEventsPtrOutput
	ToServiceLevelEventsPtrOutputWithContext(context.Context) ServiceLevelEventsPtrOutput
}

ServiceLevelEventsPtrInput is an input type that accepts ServiceLevelEventsArgs, ServiceLevelEventsPtr and ServiceLevelEventsPtrOutput values. You can construct a concrete instance of `ServiceLevelEventsPtrInput` via:

        ServiceLevelEventsArgs{...}

or:

        nil

func ServiceLevelEventsPtr added in v4.5.0

func ServiceLevelEventsPtr(v *ServiceLevelEventsArgs) ServiceLevelEventsPtrInput

type ServiceLevelEventsPtrOutput added in v4.5.0

type ServiceLevelEventsPtrOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsPtrOutput) AccountId added in v4.5.0

The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to, and that contains the NRDB data for the SLI/SLO calculations. Note that changing the account ID will force a new resource.

func (ServiceLevelEventsPtrOutput) BadEvents added in v4.5.0

The definition of the bad responses. If you define an SLI from valid and bad events, you must leave the good events argument empty.

func (ServiceLevelEventsPtrOutput) Elem added in v4.5.0

func (ServiceLevelEventsPtrOutput) ElementType added in v4.5.0

func (ServiceLevelEventsPtrOutput) GoodEvents added in v4.5.0

The definition of good responses. If you define an SLI from valid and good events, you must leave the bad events argument empty.

func (ServiceLevelEventsPtrOutput) ToServiceLevelEventsPtrOutput added in v4.5.0

func (o ServiceLevelEventsPtrOutput) ToServiceLevelEventsPtrOutput() ServiceLevelEventsPtrOutput

func (ServiceLevelEventsPtrOutput) ToServiceLevelEventsPtrOutputWithContext added in v4.5.0

func (o ServiceLevelEventsPtrOutput) ToServiceLevelEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsPtrOutput

func (ServiceLevelEventsPtrOutput) ValidEvents added in v4.5.0

The definition of valid requests.

type ServiceLevelEventsValidEvents added in v4.5.0

type ServiceLevelEventsValidEvents struct {
	// The event type where NRDB data will be fetched from.
	From string `pulumi:"from"`
	// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).
	// a particular entity and were successful).
	// a particular entity and returned an error).
	Where *string `pulumi:"where"`
}

type ServiceLevelEventsValidEventsArgs added in v4.5.0

type ServiceLevelEventsValidEventsArgs struct {
	// The event type where NRDB data will be fetched from.
	From pulumi.StringInput `pulumi:"from"`
	// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).
	// a particular entity and were successful).
	// a particular entity and returned an error).
	Where pulumi.StringPtrInput `pulumi:"where"`
}

func (ServiceLevelEventsValidEventsArgs) ElementType added in v4.5.0

func (ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsOutput added in v4.5.0

func (i ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsOutput() ServiceLevelEventsValidEventsOutput

func (ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsOutputWithContext added in v4.5.0

func (i ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsOutput

func (ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsPtrOutput added in v4.5.0

func (i ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsPtrOutput() ServiceLevelEventsValidEventsPtrOutput

func (ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsPtrOutputWithContext added in v4.5.0

func (i ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsPtrOutput

type ServiceLevelEventsValidEventsInput added in v4.5.0

type ServiceLevelEventsValidEventsInput interface {
	pulumi.Input

	ToServiceLevelEventsValidEventsOutput() ServiceLevelEventsValidEventsOutput
	ToServiceLevelEventsValidEventsOutputWithContext(context.Context) ServiceLevelEventsValidEventsOutput
}

ServiceLevelEventsValidEventsInput is an input type that accepts ServiceLevelEventsValidEventsArgs and ServiceLevelEventsValidEventsOutput values. You can construct a concrete instance of `ServiceLevelEventsValidEventsInput` via:

ServiceLevelEventsValidEventsArgs{...}

type ServiceLevelEventsValidEventsOutput added in v4.5.0

type ServiceLevelEventsValidEventsOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsValidEventsOutput) ElementType added in v4.5.0

func (ServiceLevelEventsValidEventsOutput) From added in v4.5.0

The event type where NRDB data will be fetched from.

func (ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsOutput added in v4.5.0

func (o ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsOutput() ServiceLevelEventsValidEventsOutput

func (ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsOutputWithContext added in v4.5.0

func (o ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsOutput

func (ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsPtrOutput added in v4.5.0

func (o ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsPtrOutput() ServiceLevelEventsValidEventsPtrOutput

func (ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsPtrOutputWithContext added in v4.5.0

func (o ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsPtrOutput

func (ServiceLevelEventsValidEventsOutput) Where added in v4.5.0

A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). a particular entity and were successful). a particular entity and returned an error).

type ServiceLevelEventsValidEventsPtrInput added in v4.5.0

type ServiceLevelEventsValidEventsPtrInput interface {
	pulumi.Input

	ToServiceLevelEventsValidEventsPtrOutput() ServiceLevelEventsValidEventsPtrOutput
	ToServiceLevelEventsValidEventsPtrOutputWithContext(context.Context) ServiceLevelEventsValidEventsPtrOutput
}

ServiceLevelEventsValidEventsPtrInput is an input type that accepts ServiceLevelEventsValidEventsArgs, ServiceLevelEventsValidEventsPtr and ServiceLevelEventsValidEventsPtrOutput values. You can construct a concrete instance of `ServiceLevelEventsValidEventsPtrInput` via:

        ServiceLevelEventsValidEventsArgs{...}

or:

        nil

type ServiceLevelEventsValidEventsPtrOutput added in v4.5.0

type ServiceLevelEventsValidEventsPtrOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsValidEventsPtrOutput) Elem added in v4.5.0

func (ServiceLevelEventsValidEventsPtrOutput) ElementType added in v4.5.0

func (ServiceLevelEventsValidEventsPtrOutput) From added in v4.5.0

The event type where NRDB data will be fetched from.

func (ServiceLevelEventsValidEventsPtrOutput) ToServiceLevelEventsValidEventsPtrOutput added in v4.5.0

func (o ServiceLevelEventsValidEventsPtrOutput) ToServiceLevelEventsValidEventsPtrOutput() ServiceLevelEventsValidEventsPtrOutput

func (ServiceLevelEventsValidEventsPtrOutput) ToServiceLevelEventsValidEventsPtrOutputWithContext added in v4.5.0

func (o ServiceLevelEventsValidEventsPtrOutput) ToServiceLevelEventsValidEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsPtrOutput

func (ServiceLevelEventsValidEventsPtrOutput) Where added in v4.5.0

A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). a particular entity and were successful). a particular entity and returned an error).

type ServiceLevelInput added in v4.5.0

type ServiceLevelInput interface {
	pulumi.Input

	ToServiceLevelOutput() ServiceLevelOutput
	ToServiceLevelOutputWithContext(ctx context.Context) ServiceLevelOutput
}

type ServiceLevelMap added in v4.5.0

type ServiceLevelMap map[string]ServiceLevelInput

func (ServiceLevelMap) ElementType added in v4.5.0

func (ServiceLevelMap) ElementType() reflect.Type

func (ServiceLevelMap) ToServiceLevelMapOutput added in v4.5.0

func (i ServiceLevelMap) ToServiceLevelMapOutput() ServiceLevelMapOutput

func (ServiceLevelMap) ToServiceLevelMapOutputWithContext added in v4.5.0

func (i ServiceLevelMap) ToServiceLevelMapOutputWithContext(ctx context.Context) ServiceLevelMapOutput

type ServiceLevelMapInput added in v4.5.0

type ServiceLevelMapInput interface {
	pulumi.Input

	ToServiceLevelMapOutput() ServiceLevelMapOutput
	ToServiceLevelMapOutputWithContext(context.Context) ServiceLevelMapOutput
}

ServiceLevelMapInput is an input type that accepts ServiceLevelMap and ServiceLevelMapOutput values. You can construct a concrete instance of `ServiceLevelMapInput` via:

ServiceLevelMap{ "key": ServiceLevelArgs{...} }

type ServiceLevelMapOutput added in v4.5.0

type ServiceLevelMapOutput struct{ *pulumi.OutputState }

func (ServiceLevelMapOutput) ElementType added in v4.5.0

func (ServiceLevelMapOutput) ElementType() reflect.Type

func (ServiceLevelMapOutput) MapIndex added in v4.5.0

func (ServiceLevelMapOutput) ToServiceLevelMapOutput added in v4.5.0

func (o ServiceLevelMapOutput) ToServiceLevelMapOutput() ServiceLevelMapOutput

func (ServiceLevelMapOutput) ToServiceLevelMapOutputWithContext added in v4.5.0

func (o ServiceLevelMapOutput) ToServiceLevelMapOutputWithContext(ctx context.Context) ServiceLevelMapOutput

type ServiceLevelObjective added in v4.5.0

type ServiceLevelObjective struct {
	// The description of the SLI.
	Description *string `pulumi:"description"`
	// A short name for the SLI that will help anyone understand what it is about.
	Name *string `pulumi:"name"`
	// The target of the objective, valid values between `0` and `100`. Up to 5 decimals accepted.
	Target float64 `pulumi:"target"`
	// Time window is the period of the objective.
	TimeWindow ServiceLevelObjectiveTimeWindow `pulumi:"timeWindow"`
}

type ServiceLevelObjectiveArgs added in v4.5.0

type ServiceLevelObjectiveArgs struct {
	// The description of the SLI.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// A short name for the SLI that will help anyone understand what it is about.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The target of the objective, valid values between `0` and `100`. Up to 5 decimals accepted.
	Target pulumi.Float64Input `pulumi:"target"`
	// Time window is the period of the objective.
	TimeWindow ServiceLevelObjectiveTimeWindowInput `pulumi:"timeWindow"`
}

func (ServiceLevelObjectiveArgs) ElementType added in v4.5.0

func (ServiceLevelObjectiveArgs) ElementType() reflect.Type

func (ServiceLevelObjectiveArgs) ToServiceLevelObjectiveOutput added in v4.5.0

func (i ServiceLevelObjectiveArgs) ToServiceLevelObjectiveOutput() ServiceLevelObjectiveOutput

func (ServiceLevelObjectiveArgs) ToServiceLevelObjectiveOutputWithContext added in v4.5.0

func (i ServiceLevelObjectiveArgs) ToServiceLevelObjectiveOutputWithContext(ctx context.Context) ServiceLevelObjectiveOutput

func (ServiceLevelObjectiveArgs) ToServiceLevelObjectivePtrOutput added in v4.12.0

func (i ServiceLevelObjectiveArgs) ToServiceLevelObjectivePtrOutput() ServiceLevelObjectivePtrOutput

func (ServiceLevelObjectiveArgs) ToServiceLevelObjectivePtrOutputWithContext added in v4.12.0

func (i ServiceLevelObjectiveArgs) ToServiceLevelObjectivePtrOutputWithContext(ctx context.Context) ServiceLevelObjectivePtrOutput

type ServiceLevelObjectiveInput added in v4.5.0

type ServiceLevelObjectiveInput interface {
	pulumi.Input

	ToServiceLevelObjectiveOutput() ServiceLevelObjectiveOutput
	ToServiceLevelObjectiveOutputWithContext(context.Context) ServiceLevelObjectiveOutput
}

ServiceLevelObjectiveInput is an input type that accepts ServiceLevelObjectiveArgs and ServiceLevelObjectiveOutput values. You can construct a concrete instance of `ServiceLevelObjectiveInput` via:

ServiceLevelObjectiveArgs{...}

type ServiceLevelObjectiveOutput added in v4.5.0

type ServiceLevelObjectiveOutput struct{ *pulumi.OutputState }

func (ServiceLevelObjectiveOutput) Description added in v4.5.0

The description of the SLI.

func (ServiceLevelObjectiveOutput) ElementType added in v4.5.0

func (ServiceLevelObjectiveOutput) Name added in v4.5.0

A short name for the SLI that will help anyone understand what it is about.

func (ServiceLevelObjectiveOutput) Target added in v4.5.0

The target of the objective, valid values between `0` and `100`. Up to 5 decimals accepted.

func (ServiceLevelObjectiveOutput) TimeWindow added in v4.5.0

Time window is the period of the objective.

func (ServiceLevelObjectiveOutput) ToServiceLevelObjectiveOutput added in v4.5.0

func (o ServiceLevelObjectiveOutput) ToServiceLevelObjectiveOutput() ServiceLevelObjectiveOutput

func (ServiceLevelObjectiveOutput) ToServiceLevelObjectiveOutputWithContext added in v4.5.0

func (o ServiceLevelObjectiveOutput) ToServiceLevelObjectiveOutputWithContext(ctx context.Context) ServiceLevelObjectiveOutput

func (ServiceLevelObjectiveOutput) ToServiceLevelObjectivePtrOutput added in v4.12.0

func (o ServiceLevelObjectiveOutput) ToServiceLevelObjectivePtrOutput() ServiceLevelObjectivePtrOutput

func (ServiceLevelObjectiveOutput) ToServiceLevelObjectivePtrOutputWithContext added in v4.12.0

func (o ServiceLevelObjectiveOutput) ToServiceLevelObjectivePtrOutputWithContext(ctx context.Context) ServiceLevelObjectivePtrOutput

type ServiceLevelObjectivePtrInput added in v4.12.0

type ServiceLevelObjectivePtrInput interface {
	pulumi.Input

	ToServiceLevelObjectivePtrOutput() ServiceLevelObjectivePtrOutput
	ToServiceLevelObjectivePtrOutputWithContext(context.Context) ServiceLevelObjectivePtrOutput
}

ServiceLevelObjectivePtrInput is an input type that accepts ServiceLevelObjectiveArgs, ServiceLevelObjectivePtr and ServiceLevelObjectivePtrOutput values. You can construct a concrete instance of `ServiceLevelObjectivePtrInput` via:

        ServiceLevelObjectiveArgs{...}

or:

        nil

func ServiceLevelObjectivePtr added in v4.12.0

func ServiceLevelObjectivePtr(v *ServiceLevelObjectiveArgs) ServiceLevelObjectivePtrInput

type ServiceLevelObjectivePtrOutput added in v4.12.0

type ServiceLevelObjectivePtrOutput struct{ *pulumi.OutputState }

func (ServiceLevelObjectivePtrOutput) Description added in v4.12.0

The description of the SLI.

func (ServiceLevelObjectivePtrOutput) Elem added in v4.12.0

func (ServiceLevelObjectivePtrOutput) ElementType added in v4.12.0

func (ServiceLevelObjectivePtrOutput) Name added in v4.12.0

A short name for the SLI that will help anyone understand what it is about.

func (ServiceLevelObjectivePtrOutput) Target added in v4.12.0

The target of the objective, valid values between `0` and `100`. Up to 5 decimals accepted.

func (ServiceLevelObjectivePtrOutput) TimeWindow added in v4.12.0

Time window is the period of the objective.

func (ServiceLevelObjectivePtrOutput) ToServiceLevelObjectivePtrOutput added in v4.12.0

func (o ServiceLevelObjectivePtrOutput) ToServiceLevelObjectivePtrOutput() ServiceLevelObjectivePtrOutput

func (ServiceLevelObjectivePtrOutput) ToServiceLevelObjectivePtrOutputWithContext added in v4.12.0

func (o ServiceLevelObjectivePtrOutput) ToServiceLevelObjectivePtrOutputWithContext(ctx context.Context) ServiceLevelObjectivePtrOutput

type ServiceLevelObjectiveTimeWindow added in v4.5.0

type ServiceLevelObjectiveTimeWindow struct {
	// Rolling window.
	Rolling ServiceLevelObjectiveTimeWindowRolling `pulumi:"rolling"`
}

type ServiceLevelObjectiveTimeWindowArgs added in v4.5.0

type ServiceLevelObjectiveTimeWindowArgs struct {
	// Rolling window.
	Rolling ServiceLevelObjectiveTimeWindowRollingInput `pulumi:"rolling"`
}

func (ServiceLevelObjectiveTimeWindowArgs) ElementType added in v4.5.0

func (ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowOutput added in v4.5.0

func (i ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowOutput() ServiceLevelObjectiveTimeWindowOutput

func (ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowOutputWithContext added in v4.5.0

func (i ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowOutput

func (ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowPtrOutput added in v4.12.0

func (i ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowPtrOutput() ServiceLevelObjectiveTimeWindowPtrOutput

func (ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext added in v4.12.0

func (i ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowPtrOutput

type ServiceLevelObjectiveTimeWindowInput added in v4.5.0

type ServiceLevelObjectiveTimeWindowInput interface {
	pulumi.Input

	ToServiceLevelObjectiveTimeWindowOutput() ServiceLevelObjectiveTimeWindowOutput
	ToServiceLevelObjectiveTimeWindowOutputWithContext(context.Context) ServiceLevelObjectiveTimeWindowOutput
}

ServiceLevelObjectiveTimeWindowInput is an input type that accepts ServiceLevelObjectiveTimeWindowArgs and ServiceLevelObjectiveTimeWindowOutput values. You can construct a concrete instance of `ServiceLevelObjectiveTimeWindowInput` via:

ServiceLevelObjectiveTimeWindowArgs{...}

type ServiceLevelObjectiveTimeWindowOutput added in v4.5.0

type ServiceLevelObjectiveTimeWindowOutput struct{ *pulumi.OutputState }

func (ServiceLevelObjectiveTimeWindowOutput) ElementType added in v4.5.0

func (ServiceLevelObjectiveTimeWindowOutput) Rolling added in v4.5.0

Rolling window.

func (ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowOutput added in v4.5.0

func (o ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowOutput() ServiceLevelObjectiveTimeWindowOutput

func (ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowOutputWithContext added in v4.5.0

func (o ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowOutput

func (ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowPtrOutput added in v4.12.0

func (o ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowPtrOutput() ServiceLevelObjectiveTimeWindowPtrOutput

func (ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext added in v4.12.0

func (o ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowPtrOutput

type ServiceLevelObjectiveTimeWindowPtrInput added in v4.12.0

type ServiceLevelObjectiveTimeWindowPtrInput interface {
	pulumi.Input

	ToServiceLevelObjectiveTimeWindowPtrOutput() ServiceLevelObjectiveTimeWindowPtrOutput
	ToServiceLevelObjectiveTimeWindowPtrOutputWithContext(context.Context) ServiceLevelObjectiveTimeWindowPtrOutput
}

ServiceLevelObjectiveTimeWindowPtrInput is an input type that accepts ServiceLevelObjectiveTimeWindowArgs, ServiceLevelObjectiveTimeWindowPtr and ServiceLevelObjectiveTimeWindowPtrOutput values. You can construct a concrete instance of `ServiceLevelObjectiveTimeWindowPtrInput` via:

        ServiceLevelObjectiveTimeWindowArgs{...}

or:

        nil

type ServiceLevelObjectiveTimeWindowPtrOutput added in v4.12.0

type ServiceLevelObjectiveTimeWindowPtrOutput struct{ *pulumi.OutputState }

func (ServiceLevelObjectiveTimeWindowPtrOutput) Elem added in v4.12.0

func (ServiceLevelObjectiveTimeWindowPtrOutput) ElementType added in v4.12.0

func (ServiceLevelObjectiveTimeWindowPtrOutput) Rolling added in v4.12.0

Rolling window.

func (ServiceLevelObjectiveTimeWindowPtrOutput) ToServiceLevelObjectiveTimeWindowPtrOutput added in v4.12.0

func (o ServiceLevelObjectiveTimeWindowPtrOutput) ToServiceLevelObjectiveTimeWindowPtrOutput() ServiceLevelObjectiveTimeWindowPtrOutput

func (ServiceLevelObjectiveTimeWindowPtrOutput) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext added in v4.12.0

func (o ServiceLevelObjectiveTimeWindowPtrOutput) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowPtrOutput

type ServiceLevelObjectiveTimeWindowRolling added in v4.5.0

type ServiceLevelObjectiveTimeWindowRolling struct {
	// Valid values are `1`, `7` and `28`.
	Count int `pulumi:"count"`
	// The only supported value is `DAY`.
	Unit string `pulumi:"unit"`
}

type ServiceLevelObjectiveTimeWindowRollingArgs added in v4.5.0

type ServiceLevelObjectiveTimeWindowRollingArgs struct {
	// Valid values are `1`, `7` and `28`.
	Count pulumi.IntInput `pulumi:"count"`
	// The only supported value is `DAY`.
	Unit pulumi.StringInput `pulumi:"unit"`
}

func (ServiceLevelObjectiveTimeWindowRollingArgs) ElementType added in v4.5.0

func (ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingOutput added in v4.5.0

func (i ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingOutput() ServiceLevelObjectiveTimeWindowRollingOutput

func (ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingOutputWithContext added in v4.5.0

func (i ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingOutput

func (ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingPtrOutput added in v4.12.0

func (i ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingPtrOutput() ServiceLevelObjectiveTimeWindowRollingPtrOutput

func (ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext added in v4.12.0

func (i ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingPtrOutput

type ServiceLevelObjectiveTimeWindowRollingInput added in v4.5.0

type ServiceLevelObjectiveTimeWindowRollingInput interface {
	pulumi.Input

	ToServiceLevelObjectiveTimeWindowRollingOutput() ServiceLevelObjectiveTimeWindowRollingOutput
	ToServiceLevelObjectiveTimeWindowRollingOutputWithContext(context.Context) ServiceLevelObjectiveTimeWindowRollingOutput
}

ServiceLevelObjectiveTimeWindowRollingInput is an input type that accepts ServiceLevelObjectiveTimeWindowRollingArgs and ServiceLevelObjectiveTimeWindowRollingOutput values. You can construct a concrete instance of `ServiceLevelObjectiveTimeWindowRollingInput` via:

ServiceLevelObjectiveTimeWindowRollingArgs{...}

type ServiceLevelObjectiveTimeWindowRollingOutput added in v4.5.0

type ServiceLevelObjectiveTimeWindowRollingOutput struct{ *pulumi.OutputState }

func (ServiceLevelObjectiveTimeWindowRollingOutput) Count added in v4.5.0

Valid values are `1`, `7` and `28`.

func (ServiceLevelObjectiveTimeWindowRollingOutput) ElementType added in v4.5.0

func (ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingOutput added in v4.5.0

func (o ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingOutput() ServiceLevelObjectiveTimeWindowRollingOutput

func (ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingOutputWithContext added in v4.5.0

func (o ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingOutput

func (ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutput added in v4.12.0

func (o ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutput() ServiceLevelObjectiveTimeWindowRollingPtrOutput

func (ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext added in v4.12.0

func (o ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingPtrOutput

func (ServiceLevelObjectiveTimeWindowRollingOutput) Unit added in v4.5.0

The only supported value is `DAY`.

type ServiceLevelObjectiveTimeWindowRollingPtrInput added in v4.12.0

type ServiceLevelObjectiveTimeWindowRollingPtrInput interface {
	pulumi.Input

	ToServiceLevelObjectiveTimeWindowRollingPtrOutput() ServiceLevelObjectiveTimeWindowRollingPtrOutput
	ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext(context.Context) ServiceLevelObjectiveTimeWindowRollingPtrOutput
}

ServiceLevelObjectiveTimeWindowRollingPtrInput is an input type that accepts ServiceLevelObjectiveTimeWindowRollingArgs, ServiceLevelObjectiveTimeWindowRollingPtr and ServiceLevelObjectiveTimeWindowRollingPtrOutput values. You can construct a concrete instance of `ServiceLevelObjectiveTimeWindowRollingPtrInput` via:

        ServiceLevelObjectiveTimeWindowRollingArgs{...}

or:

        nil

type ServiceLevelObjectiveTimeWindowRollingPtrOutput added in v4.12.0

type ServiceLevelObjectiveTimeWindowRollingPtrOutput struct{ *pulumi.OutputState }

func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) Count added in v4.12.0

Valid values are `1`, `7` and `28`.

func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) Elem added in v4.12.0

func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) ElementType added in v4.12.0

func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutput added in v4.12.0

func (o ServiceLevelObjectiveTimeWindowRollingPtrOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutput() ServiceLevelObjectiveTimeWindowRollingPtrOutput

func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext added in v4.12.0

func (o ServiceLevelObjectiveTimeWindowRollingPtrOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingPtrOutput

func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) Unit added in v4.12.0

The only supported value is `DAY`.

type ServiceLevelOutput added in v4.5.0

type ServiceLevelOutput struct{ *pulumi.OutputState }

func (ServiceLevelOutput) Description added in v4.15.0

func (o ServiceLevelOutput) Description() pulumi.StringPtrOutput

The description of the SLI.

func (ServiceLevelOutput) ElementType added in v4.5.0

func (ServiceLevelOutput) ElementType() reflect.Type

func (ServiceLevelOutput) Events added in v4.15.0

The events that define the NRDB data for the SLI/SLO calculations. See Events below for details.

func (ServiceLevelOutput) Guid added in v4.15.0

The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.

func (ServiceLevelOutput) Name added in v4.15.0

A short name for the SLI that will help anyone understand what it is about.

func (ServiceLevelOutput) Objective added in v4.15.0

The objective of the SLI, only one can be defined. See Objective below for details.

func (ServiceLevelOutput) SliGuid added in v4.15.0

The unique entity identifier of the Service Level Indicator in New Relic.

func (ServiceLevelOutput) SliId added in v4.15.0

The unique entity identifier of the Service Level Indicator.

func (ServiceLevelOutput) ToServiceLevelOutput added in v4.5.0

func (o ServiceLevelOutput) ToServiceLevelOutput() ServiceLevelOutput

func (ServiceLevelOutput) ToServiceLevelOutputWithContext added in v4.5.0

func (o ServiceLevelOutput) ToServiceLevelOutputWithContext(ctx context.Context) ServiceLevelOutput

type ServiceLevelState added in v4.5.0

type ServiceLevelState struct {
	// The description of the SLI.
	Description pulumi.StringPtrInput
	// The events that define the NRDB data for the SLI/SLO calculations.
	// See Events below for details.
	Events ServiceLevelEventsPtrInput
	// The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
	Guid pulumi.StringPtrInput
	// A short name for the SLI that will help anyone understand what it is about.
	Name pulumi.StringPtrInput
	// The objective of the SLI, only one can be defined.
	// See Objective below for details.
	Objective ServiceLevelObjectivePtrInput
	// The unique entity identifier of the Service Level Indicator in New Relic.
	SliGuid pulumi.StringPtrInput
	// The unique entity identifier of the Service Level Indicator.
	SliId pulumi.StringPtrInput
}

func (ServiceLevelState) ElementType added in v4.5.0

func (ServiceLevelState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL