newrelic

package
v5.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing New Relic resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

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

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

import (

"github.com/pulumi/pulumi-newrelic/sdk/v5/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: &newrelic.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/v5/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: &newrelic.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/v5/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: &newrelic.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/v5/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: &newrelic.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/v5/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: &newrelic.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/v5/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: &newrelic.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/v5/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: &newrelic.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.
	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.
	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.
	PayloadType *string `pulumi:"payloadType"`
	// Comma delimited list of email addresses.
	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.
	RouteKey *string `pulumi:"routeKey"`
	// Specifies the service key for integrating with Pagerduty.
	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.
	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.
	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.
	PayloadType pulumi.StringPtrInput `pulumi:"payloadType"`
	// Comma delimited list of email addresses.
	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.
	RouteKey pulumi.StringPtrInput `pulumi:"routeKey"`
	// Specifies the service key for integrating with Pagerduty.
	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.

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.

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.

func (AlertChannelConfigOutput) Recipients

Comma delimited list of email addresses.

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.

func (AlertChannelConfigOutput) ServiceKey

Specifies the service key for integrating with Pagerduty.

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.

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.

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.

func (AlertChannelConfigPtrOutput) Recipients

Comma delimited list of email addresses.

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.

func (AlertChannelConfigPtrOutput) ServiceKey

Specifies the service key for integrating with Pagerduty.

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

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

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

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

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`:
	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`, `sampleSize`, `rate` or `percent`.
	UserDefinedValueFunction pulumi.StringPtrOutput `pulumi:"userDefinedValueFunction"`
	// Automatically close instance-based incidents, including JVM health metric incidents, 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.

> **WARNING:** The AlertCondition resource will be deprecated in the near future and will no longer receive product updates. Please use the NrqlAlertCondition resource to avoid being impacted by these changes.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		app, err := newrelic.GetEntity(ctx, &newrelic.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: newrelic.AlertConditionTermArray{
				&newrelic.AlertConditionTermArgs{
					Duration:     pulumi.Int(5),
					Operator:     pulumi.String("below"),
					Priority:     pulumi.String("critical"),
					Threshold:    pulumi.Float64(0.75),
					TimeFunction: pulumi.String("all"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Terms

The `term` mapping supports the following arguments:

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

## Import

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

```sh

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

```

func GetAlertCondition

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

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

func NewAlertCondition

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

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

func (*AlertCondition) ElementType

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`:
	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`, `sampleSize`, `rate` or `percent`.
	UserDefinedValueFunction pulumi.StringPtrInput
	// Automatically close instance-based incidents, including JVM health metric incidents, 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

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

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

func (AlertConditionOutput) Entities

The instance IDs associated with this condition.

func (AlertConditionOutput) GcMetric

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

func (AlertConditionOutput) Metric

The metric field accepts parameters based on the `type` set. One of these metrics based on `type`:

func (AlertConditionOutput) Name

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

func (AlertConditionOutput) PolicyId

func (o AlertConditionOutput) PolicyId() pulumi.IntOutput

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

func (AlertConditionOutput) RunbookUrl

Runbook URL to display in notifications.

func (AlertConditionOutput) Terms

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

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

func (AlertConditionOutput) UserDefinedMetric

func (o AlertConditionOutput) UserDefinedMetric() pulumi.StringPtrOutput

A custom metric to be evaluated.

func (AlertConditionOutput) UserDefinedValueFunction

func (o AlertConditionOutput) UserDefinedValueFunction() pulumi.StringPtrOutput

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

func (AlertConditionOutput) ViolationCloseTimer

func (o AlertConditionOutput) ViolationCloseTimer() pulumi.IntPtrOutput

Automatically close instance-based incidents, including JVM health metric incidents, 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`:
	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`, `sampleSize`, `rate` or `percent`.
	UserDefinedValueFunction pulumi.StringPtrInput
	// Automatically close instance-based incidents, including JVM health metric incidents, 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 incidents 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/v5/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: &newrelic.AlertMutingRuleConditionArgs{
				Conditions: newrelic.AlertMutingRuleConditionConditionArray{
					&newrelic.AlertMutingRuleConditionConditionArgs{
						Attribute: pulumi.String("product"),
						Operator:  pulumi.String("EQUALS"),
						Values: pulumi.StringArray{
							pulumi.String("APM"),
						},
					},
					&newrelic.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: &newrelic.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 incidents 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. Valid values are `AND`, `OR`.
	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. Valid values are `AND`, `OR`.
	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 an incident. 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 combine all the MutingRuleConditions within the group. Valid values are `AND`, `OR`.
	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 an incident. 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 combine all the MutingRuleConditions within the group. Valid values are `AND`, `OR`.
	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 an incident. 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 combine all the MutingRuleConditions within the group. Valid values are `AND`, `OR`.

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. Valid values are `AND`, `OR`.

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. Valid values are `AND`, `OR`.

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

func (o AlertMutingRuleOutput) AccountId() pulumi.IntOutput

The account id of the MutingRule.

func (AlertMutingRuleOutput) Condition

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

func (AlertMutingRuleOutput) Description

The description of the MutingRule.

func (AlertMutingRuleOutput) ElementType

func (AlertMutingRuleOutput) ElementType() reflect.Type

func (AlertMutingRuleOutput) Enabled

Whether the MutingRule is enabled.

func (AlertMutingRuleOutput) Name

The name of the MutingRule.

func (AlertMutingRuleOutput) Schedule

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 incidents 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/v5/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/v5/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: &newrelic.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: &newrelic.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/v5/go/newrelic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		slackChannel, err := newrelic.LookupAlertChannel(ctx, &newrelic.LookupAlertChannelArgs{
			Name: "slack-channel-notification",
		}, nil)
		if err != nil {
			return err
		}
		emailChannel, err := newrelic.LookupAlertChannel(ctx, &newrelic.LookupAlertChannelArgs{
			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"`
}

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		examplePolicy, err := newrelic.LookupAlertPolicy(ctx, &newrelic.LookupAlertPolicyArgs{
			Name: "my-alert-policy",
		}, nil)
		if err != nil {
			return err
		}
		emailChannel, err := newrelic.NewAlertChannel(ctx, "emailChannel", &newrelic.AlertChannelArgs{
			Type: pulumi.String("email"),
			Config: &newrelic.AlertChannelConfigArgs{
				Recipients:            pulumi.String("foo@example.com"),
				IncludeJsonAttachment: pulumi.String("1"),
			},
		})
		if err != nil {
			return err
		}
		slackChannel, err := newrelic.NewAlertChannel(ctx, "slackChannel", &newrelic.AlertChannelArgs{
			Type: pulumi.String("slack"),
			Config: &newrelic.AlertChannelConfigArgs{
				Channel: pulumi.String("#example-channel"),
				Url:     pulumi.String("http://example-org.slack.com"),
			},
		})
		if err != nil {
			return err
		}
		_, err = newrelic.NewAlertPolicyChannel(ctx, "foo", &newrelic.AlertPolicyChannelArgs{
			PolicyId: *pulumi.String(examplePolicy.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

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

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

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

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

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

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

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/v5/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

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

func (o ApiAccessKeyOutput) IngestType() pulumi.StringOutput

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

func (ApiAccessKeyOutput) Key

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

func (ApiAccessKeyOutput) KeyType

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

func (ApiAccessKeyOutput) Name

The name of the key.

func (ApiAccessKeyOutput) Notes

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

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

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

The guid of the entity to tag.

func (EntityTagsOutput) Tags

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/v5/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

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

func (EventsToMetricsRuleOutput) Description

Provides additional information about the rule.

func (EventsToMetricsRuleOutput) ElementType

func (EventsToMetricsRuleOutput) ElementType() reflect.Type

func (EventsToMetricsRuleOutput) Enabled

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

func (EventsToMetricsRuleOutput) Name

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

func (EventsToMetricsRuleOutput) Nrql

Explains how to create metrics from events.

func (EventsToMetricsRuleOutput) RuleId

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

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

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

)

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

```

type GetAccountResultOutput

type GetAccountResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccount.

func (GetAccountResultOutput) AccountId

func (GetAccountResultOutput) ElementType

func (GetAccountResultOutput) ElementType() reflect.Type

func (GetAccountResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAccountResultOutput) Name

func (GetAccountResultOutput) Scope

func (GetAccountResultOutput) ToGetAccountResultOutput

func (o GetAccountResultOutput) ToGetAccountResultOutput() GetAccountResultOutput

func (GetAccountResultOutput) ToGetAccountResultOutputWithContext

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

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

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

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

)

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

```

type GetApplicationResultOutput

type GetApplicationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getApplication.

func (GetApplicationResultOutput) ElementType

func (GetApplicationResultOutput) ElementType() reflect.Type

func (GetApplicationResultOutput) HostIds

A list of host IDs associated with the application.

func (GetApplicationResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetApplicationResultOutput) InstanceIds

A list of instance IDs associated with the application.

func (GetApplicationResultOutput) Name

func (GetApplicationResultOutput) ToGetApplicationResultOutput

func (o GetApplicationResultOutput) ToGetApplicationResultOutput() GetApplicationResultOutput

func (GetApplicationResultOutput) ToGetApplicationResultOutputWithContext

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

type GetCloudAccountArgs

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

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

func (GetCloudAccountOutputArgs) ElementType() reflect.Type

type GetCloudAccountResult

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

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

)

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

```

type GetCloudAccountResultOutput

type GetCloudAccountResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCloudAccount.

func (GetCloudAccountResultOutput) AccountId

func (GetCloudAccountResultOutput) CloudProvider

func (GetCloudAccountResultOutput) ElementType

func (GetCloudAccountResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCloudAccountResultOutput) Name

func (GetCloudAccountResultOutput) ToGetCloudAccountResultOutput

func (o GetCloudAccountResultOutput) ToGetCloudAccountResultOutput() GetCloudAccountResultOutput

func (GetCloudAccountResultOutput) ToGetCloudAccountResultOutputWithContext

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 EXT. 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"`
	// A tag applied to the entity. See Nested tag blocks below for details.
	Tags []GetEntityTag `pulumi:"tags"`
	// The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, SERVICE and WORKLOAD.
	Type *string `pulumi:"type"`
}

A collection of arguments for invoking getEntity.

type GetEntityOutputArgs

type GetEntityOutputArgs struct {
	// The entity's domain. Valid values are APM, BROWSER, INFRA, MOBILE, SYNTH, and EXT. 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"`
	// A tag applied to the entity. See Nested tag blocks below for details.
	Tags GetEntityTagArrayInput `pulumi:"tags"`
	// The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, SERVICE and WORKLOAD.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

A collection of arguments for invoking getEntity.

func (GetEntityOutputArgs) ElementType

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"`
	// The browser-specific ID of the backing APM entity. Only returned for Browser applications.
	ServingApmApplicationId int            `pulumi:"servingApmApplicationId"`
	Tags                    []GetEntityTag `pulumi:"tags"`
	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.

## Additional Examples

> If the entities are not found please try again without providing the `types` field. ### An example of querying OTEL entities

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.GetEntity(ctx, &newrelic.GetEntityArgs{
			Domain: pulumi.StringRef("EXT"),
			Name:   "my-otel-app",
			Tags: []newrelic.GetEntityTag{
				{
					Key:   "accountID",
					Value: "12345",
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

### An example of querying AWS lambda entities

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.GetEntity(ctx, &newrelic.GetEntityArgs{
			Domain: pulumi.StringRef("INFRA"),
			Name:   "my_lambda_trace",
			Tags: []newrelic.GetEntityTag{
				{
					Key:   "accountID",
					Value: "12345",
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetEntityResultOutput

type GetEntityResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEntity.

func (GetEntityResultOutput) AccountId

func (o GetEntityResultOutput) AccountId() pulumi.IntOutput

The New Relic account ID associated with this entity.

func (GetEntityResultOutput) ApplicationId

func (o GetEntityResultOutput) ApplicationId() pulumi.IntOutput

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

func (GetEntityResultOutput) Domain

func (GetEntityResultOutput) ElementType

func (GetEntityResultOutput) ElementType() reflect.Type

func (GetEntityResultOutput) Guid

The unique GUID of the entity.

func (GetEntityResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetEntityResultOutput) IgnoreCase

func (GetEntityResultOutput) Name

func (GetEntityResultOutput) ServingApmApplicationId

func (o GetEntityResultOutput) ServingApmApplicationId() pulumi.IntOutput

The browser-specific ID of the backing APM entity. Only returned for Browser applications.

func (GetEntityResultOutput) Tags added in v5.2.0

func (GetEntityResultOutput) ToGetEntityResultOutput

func (o GetEntityResultOutput) ToGetEntityResultOutput() GetEntityResultOutput

func (GetEntityResultOutput) ToGetEntityResultOutputWithContext

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

func (GetEntityResultOutput) Type

type GetEntityTag

type GetEntityTag struct {
	// The tag key.
	Key string `pulumi:"key"`
	// The tag value.
	Value string `pulumi:"value"`
}

type GetEntityTagArgs

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

func (GetEntityTagArgs) ElementType

func (GetEntityTagArgs) ElementType() reflect.Type

func (GetEntityTagArgs) ToGetEntityTagOutput

func (i GetEntityTagArgs) ToGetEntityTagOutput() GetEntityTagOutput

func (GetEntityTagArgs) ToGetEntityTagOutputWithContext

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

type GetEntityTagArray added in v5.2.0

type GetEntityTagArray []GetEntityTagInput

func (GetEntityTagArray) ElementType added in v5.2.0

func (GetEntityTagArray) ElementType() reflect.Type

func (GetEntityTagArray) ToGetEntityTagArrayOutput added in v5.2.0

func (i GetEntityTagArray) ToGetEntityTagArrayOutput() GetEntityTagArrayOutput

func (GetEntityTagArray) ToGetEntityTagArrayOutputWithContext added in v5.2.0

func (i GetEntityTagArray) ToGetEntityTagArrayOutputWithContext(ctx context.Context) GetEntityTagArrayOutput

type GetEntityTagArrayInput added in v5.2.0

type GetEntityTagArrayInput interface {
	pulumi.Input

	ToGetEntityTagArrayOutput() GetEntityTagArrayOutput
	ToGetEntityTagArrayOutputWithContext(context.Context) GetEntityTagArrayOutput
}

GetEntityTagArrayInput is an input type that accepts GetEntityTagArray and GetEntityTagArrayOutput values. You can construct a concrete instance of `GetEntityTagArrayInput` via:

GetEntityTagArray{ GetEntityTagArgs{...} }

type GetEntityTagArrayOutput added in v5.2.0

type GetEntityTagArrayOutput struct{ *pulumi.OutputState }

func (GetEntityTagArrayOutput) ElementType added in v5.2.0

func (GetEntityTagArrayOutput) ElementType() reflect.Type

func (GetEntityTagArrayOutput) Index added in v5.2.0

func (GetEntityTagArrayOutput) ToGetEntityTagArrayOutput added in v5.2.0

func (o GetEntityTagArrayOutput) ToGetEntityTagArrayOutput() GetEntityTagArrayOutput

func (GetEntityTagArrayOutput) ToGetEntityTagArrayOutputWithContext added in v5.2.0

func (o GetEntityTagArrayOutput) ToGetEntityTagArrayOutputWithContext(ctx context.Context) GetEntityTagArrayOutput

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

The tag key.

func (GetEntityTagOutput) ToGetEntityTagOutput

func (o GetEntityTagOutput) ToGetEntityTagOutput() GetEntityTagOutput

func (GetEntityTagOutput) ToGetEntityTagOutputWithContext

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

func (GetEntityTagOutput) Value

The tag value.

type GetKeyTransactionArgs

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

A collection of arguments for invoking getKeyTransaction.

type GetKeyTransactionOutputArgs

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

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

)

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

```

type GetKeyTransactionResultOutput

type GetKeyTransactionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKeyTransaction.

func (GetKeyTransactionResultOutput) ElementType

func (GetKeyTransactionResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetKeyTransactionResultOutput) Name

func (GetKeyTransactionResultOutput) ToGetKeyTransactionResultOutput

func (o GetKeyTransactionResultOutput) ToGetKeyTransactionResultOutput() GetKeyTransactionResultOutput

func (GetKeyTransactionResultOutput) ToGetKeyTransactionResultOutputWithContext

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

type GetNotificationDestinationProperty added in v5.4.0

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

type GetNotificationDestinationPropertyArgs added in v5.4.0

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

func (GetNotificationDestinationPropertyArgs) ElementType added in v5.4.0

func (GetNotificationDestinationPropertyArgs) ToGetNotificationDestinationPropertyOutput added in v5.4.0

func (i GetNotificationDestinationPropertyArgs) ToGetNotificationDestinationPropertyOutput() GetNotificationDestinationPropertyOutput

func (GetNotificationDestinationPropertyArgs) ToGetNotificationDestinationPropertyOutputWithContext added in v5.4.0

func (i GetNotificationDestinationPropertyArgs) ToGetNotificationDestinationPropertyOutputWithContext(ctx context.Context) GetNotificationDestinationPropertyOutput

type GetNotificationDestinationPropertyArray added in v5.4.0

type GetNotificationDestinationPropertyArray []GetNotificationDestinationPropertyInput

func (GetNotificationDestinationPropertyArray) ElementType added in v5.4.0

func (GetNotificationDestinationPropertyArray) ToGetNotificationDestinationPropertyArrayOutput added in v5.4.0

func (i GetNotificationDestinationPropertyArray) ToGetNotificationDestinationPropertyArrayOutput() GetNotificationDestinationPropertyArrayOutput

func (GetNotificationDestinationPropertyArray) ToGetNotificationDestinationPropertyArrayOutputWithContext added in v5.4.0

func (i GetNotificationDestinationPropertyArray) ToGetNotificationDestinationPropertyArrayOutputWithContext(ctx context.Context) GetNotificationDestinationPropertyArrayOutput

type GetNotificationDestinationPropertyArrayInput added in v5.4.0

type GetNotificationDestinationPropertyArrayInput interface {
	pulumi.Input

	ToGetNotificationDestinationPropertyArrayOutput() GetNotificationDestinationPropertyArrayOutput
	ToGetNotificationDestinationPropertyArrayOutputWithContext(context.Context) GetNotificationDestinationPropertyArrayOutput
}

GetNotificationDestinationPropertyArrayInput is an input type that accepts GetNotificationDestinationPropertyArray and GetNotificationDestinationPropertyArrayOutput values. You can construct a concrete instance of `GetNotificationDestinationPropertyArrayInput` via:

GetNotificationDestinationPropertyArray{ GetNotificationDestinationPropertyArgs{...} }

type GetNotificationDestinationPropertyArrayOutput added in v5.4.0

type GetNotificationDestinationPropertyArrayOutput struct{ *pulumi.OutputState }

func (GetNotificationDestinationPropertyArrayOutput) ElementType added in v5.4.0

func (GetNotificationDestinationPropertyArrayOutput) Index added in v5.4.0

func (GetNotificationDestinationPropertyArrayOutput) ToGetNotificationDestinationPropertyArrayOutput added in v5.4.0

func (o GetNotificationDestinationPropertyArrayOutput) ToGetNotificationDestinationPropertyArrayOutput() GetNotificationDestinationPropertyArrayOutput

func (GetNotificationDestinationPropertyArrayOutput) ToGetNotificationDestinationPropertyArrayOutputWithContext added in v5.4.0

func (o GetNotificationDestinationPropertyArrayOutput) ToGetNotificationDestinationPropertyArrayOutputWithContext(ctx context.Context) GetNotificationDestinationPropertyArrayOutput

type GetNotificationDestinationPropertyInput added in v5.4.0

type GetNotificationDestinationPropertyInput interface {
	pulumi.Input

	ToGetNotificationDestinationPropertyOutput() GetNotificationDestinationPropertyOutput
	ToGetNotificationDestinationPropertyOutputWithContext(context.Context) GetNotificationDestinationPropertyOutput
}

GetNotificationDestinationPropertyInput is an input type that accepts GetNotificationDestinationPropertyArgs and GetNotificationDestinationPropertyOutput values. You can construct a concrete instance of `GetNotificationDestinationPropertyInput` via:

GetNotificationDestinationPropertyArgs{...}

type GetNotificationDestinationPropertyOutput added in v5.4.0

type GetNotificationDestinationPropertyOutput struct{ *pulumi.OutputState }

func (GetNotificationDestinationPropertyOutput) DisplayValue added in v5.4.0

func (GetNotificationDestinationPropertyOutput) ElementType added in v5.4.0

func (GetNotificationDestinationPropertyOutput) Key added in v5.4.0

func (GetNotificationDestinationPropertyOutput) Label added in v5.4.0

func (GetNotificationDestinationPropertyOutput) ToGetNotificationDestinationPropertyOutput added in v5.4.0

func (o GetNotificationDestinationPropertyOutput) ToGetNotificationDestinationPropertyOutput() GetNotificationDestinationPropertyOutput

func (GetNotificationDestinationPropertyOutput) ToGetNotificationDestinationPropertyOutputWithContext added in v5.4.0

func (o GetNotificationDestinationPropertyOutput) ToGetNotificationDestinationPropertyOutputWithContext(ctx context.Context) GetNotificationDestinationPropertyOutput

func (GetNotificationDestinationPropertyOutput) Value added in v5.4.0

type GetTestGrokPatternArgs added in v5.3.0

type GetTestGrokPatternArgs struct {
	// The New Relic account ID to operate on.  This allows you to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
	AccountId *int `pulumi:"accountId"`
	// The Grok pattern to test.
	Grok string `pulumi:"grok"`
	// The log lines to test the Grok pattern against.
	LogLines []string `pulumi:"logLines"`
}

A collection of arguments for invoking getTestGrokPattern.

type GetTestGrokPatternOutputArgs added in v5.3.0

type GetTestGrokPatternOutputArgs struct {
	// The New Relic account ID to operate on.  This allows you to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
	AccountId pulumi.IntPtrInput `pulumi:"accountId"`
	// The Grok pattern to test.
	Grok pulumi.StringInput `pulumi:"grok"`
	// The log lines to test the Grok pattern against.
	LogLines pulumi.StringArrayInput `pulumi:"logLines"`
}

A collection of arguments for invoking getTestGrokPattern.

func (GetTestGrokPatternOutputArgs) ElementType added in v5.3.0

type GetTestGrokPatternResult added in v5.3.0

type GetTestGrokPatternResult struct {
	AccountId *int   `pulumi:"accountId"`
	Grok      string `pulumi:"grok"`
	// The provider-assigned unique ID for this managed resource.
	Id       string   `pulumi:"id"`
	LogLines []string `pulumi:"logLines"`
	// Nested attribute containing information about the test of Grok pattern against a list of log lines.
	TestGroks []GetTestGrokPatternTestGrok `pulumi:"testGroks"`
}

A collection of values returned by getTestGrokPattern.

func GetTestGrokPattern added in v5.3.0

func GetTestGrokPattern(ctx *pulumi.Context, args *GetTestGrokPatternArgs, opts ...pulumi.InvokeOption) (*GetTestGrokPatternResult, error)

## Example Usage

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.GetTestGrokPattern(ctx, &newrelic.GetTestGrokPatternArgs{
			Grok: fmt.Sprintf("%v%vIP:host_ip}", "%", "%{"),
			LogLines: []string{
				"host_ip: 43.3.120.2",
				"bytes_received: 2048",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetTestGrokPatternResultOutput added in v5.3.0

type GetTestGrokPatternResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTestGrokPattern.

func GetTestGrokPatternOutput added in v5.3.0

func (GetTestGrokPatternResultOutput) AccountId added in v5.3.0

func (GetTestGrokPatternResultOutput) ElementType added in v5.3.0

func (GetTestGrokPatternResultOutput) Grok added in v5.3.0

func (GetTestGrokPatternResultOutput) Id added in v5.3.0

The provider-assigned unique ID for this managed resource.

func (GetTestGrokPatternResultOutput) LogLines added in v5.3.0

func (GetTestGrokPatternResultOutput) TestGroks added in v5.3.0

Nested attribute containing information about the test of Grok pattern against a list of log lines.

func (GetTestGrokPatternResultOutput) ToGetTestGrokPatternResultOutput added in v5.3.0

func (o GetTestGrokPatternResultOutput) ToGetTestGrokPatternResultOutput() GetTestGrokPatternResultOutput

func (GetTestGrokPatternResultOutput) ToGetTestGrokPatternResultOutputWithContext added in v5.3.0

func (o GetTestGrokPatternResultOutput) ToGetTestGrokPatternResultOutputWithContext(ctx context.Context) GetTestGrokPatternResultOutput

type GetTestGrokPatternTestGrok added in v5.3.0

type GetTestGrokPatternTestGrok struct {
	// Nested list containing information about any attributes that were extracted.
	Attributes []GetTestGrokPatternTestGrokAttribute `pulumi:"attributes"`
	// The log line that was tested against.
	LogLine string `pulumi:"logLine"`
	// Whether the Grok pattern matched.
	Matched bool `pulumi:"matched"`
}

type GetTestGrokPatternTestGrokArgs added in v5.3.0

type GetTestGrokPatternTestGrokArgs struct {
	// Nested list containing information about any attributes that were extracted.
	Attributes GetTestGrokPatternTestGrokAttributeArrayInput `pulumi:"attributes"`
	// The log line that was tested against.
	LogLine pulumi.StringInput `pulumi:"logLine"`
	// Whether the Grok pattern matched.
	Matched pulumi.BoolInput `pulumi:"matched"`
}

func (GetTestGrokPatternTestGrokArgs) ElementType added in v5.3.0

func (GetTestGrokPatternTestGrokArgs) ToGetTestGrokPatternTestGrokOutput added in v5.3.0

func (i GetTestGrokPatternTestGrokArgs) ToGetTestGrokPatternTestGrokOutput() GetTestGrokPatternTestGrokOutput

func (GetTestGrokPatternTestGrokArgs) ToGetTestGrokPatternTestGrokOutputWithContext added in v5.3.0

func (i GetTestGrokPatternTestGrokArgs) ToGetTestGrokPatternTestGrokOutputWithContext(ctx context.Context) GetTestGrokPatternTestGrokOutput

type GetTestGrokPatternTestGrokArray added in v5.3.0

type GetTestGrokPatternTestGrokArray []GetTestGrokPatternTestGrokInput

func (GetTestGrokPatternTestGrokArray) ElementType added in v5.3.0

func (GetTestGrokPatternTestGrokArray) ToGetTestGrokPatternTestGrokArrayOutput added in v5.3.0

func (i GetTestGrokPatternTestGrokArray) ToGetTestGrokPatternTestGrokArrayOutput() GetTestGrokPatternTestGrokArrayOutput

func (GetTestGrokPatternTestGrokArray) ToGetTestGrokPatternTestGrokArrayOutputWithContext added in v5.3.0

func (i GetTestGrokPatternTestGrokArray) ToGetTestGrokPatternTestGrokArrayOutputWithContext(ctx context.Context) GetTestGrokPatternTestGrokArrayOutput

type GetTestGrokPatternTestGrokArrayInput added in v5.3.0

type GetTestGrokPatternTestGrokArrayInput interface {
	pulumi.Input

	ToGetTestGrokPatternTestGrokArrayOutput() GetTestGrokPatternTestGrokArrayOutput
	ToGetTestGrokPatternTestGrokArrayOutputWithContext(context.Context) GetTestGrokPatternTestGrokArrayOutput
}

GetTestGrokPatternTestGrokArrayInput is an input type that accepts GetTestGrokPatternTestGrokArray and GetTestGrokPatternTestGrokArrayOutput values. You can construct a concrete instance of `GetTestGrokPatternTestGrokArrayInput` via:

GetTestGrokPatternTestGrokArray{ GetTestGrokPatternTestGrokArgs{...} }

type GetTestGrokPatternTestGrokArrayOutput added in v5.3.0

type GetTestGrokPatternTestGrokArrayOutput struct{ *pulumi.OutputState }

func (GetTestGrokPatternTestGrokArrayOutput) ElementType added in v5.3.0

func (GetTestGrokPatternTestGrokArrayOutput) Index added in v5.3.0

func (GetTestGrokPatternTestGrokArrayOutput) ToGetTestGrokPatternTestGrokArrayOutput added in v5.3.0

func (o GetTestGrokPatternTestGrokArrayOutput) ToGetTestGrokPatternTestGrokArrayOutput() GetTestGrokPatternTestGrokArrayOutput

func (GetTestGrokPatternTestGrokArrayOutput) ToGetTestGrokPatternTestGrokArrayOutputWithContext added in v5.3.0

func (o GetTestGrokPatternTestGrokArrayOutput) ToGetTestGrokPatternTestGrokArrayOutputWithContext(ctx context.Context) GetTestGrokPatternTestGrokArrayOutput

type GetTestGrokPatternTestGrokAttribute added in v5.3.0

type GetTestGrokPatternTestGrokAttribute struct {
	// The attribute name.
	Name string `pulumi:"name"`
	// A string representation of the extracted value (which might not be a String).
	Value string `pulumi:"value"`
}

type GetTestGrokPatternTestGrokAttributeArgs added in v5.3.0

type GetTestGrokPatternTestGrokAttributeArgs struct {
	// The attribute name.
	Name pulumi.StringInput `pulumi:"name"`
	// A string representation of the extracted value (which might not be a String).
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetTestGrokPatternTestGrokAttributeArgs) ElementType added in v5.3.0

func (GetTestGrokPatternTestGrokAttributeArgs) ToGetTestGrokPatternTestGrokAttributeOutput added in v5.3.0

func (i GetTestGrokPatternTestGrokAttributeArgs) ToGetTestGrokPatternTestGrokAttributeOutput() GetTestGrokPatternTestGrokAttributeOutput

func (GetTestGrokPatternTestGrokAttributeArgs) ToGetTestGrokPatternTestGrokAttributeOutputWithContext added in v5.3.0

func (i GetTestGrokPatternTestGrokAttributeArgs) ToGetTestGrokPatternTestGrokAttributeOutputWithContext(ctx context.Context) GetTestGrokPatternTestGrokAttributeOutput

type GetTestGrokPatternTestGrokAttributeArray added in v5.3.0

type GetTestGrokPatternTestGrokAttributeArray []GetTestGrokPatternTestGrokAttributeInput

func (GetTestGrokPatternTestGrokAttributeArray) ElementType added in v5.3.0

func (GetTestGrokPatternTestGrokAttributeArray) ToGetTestGrokPatternTestGrokAttributeArrayOutput added in v5.3.0

func (i GetTestGrokPatternTestGrokAttributeArray) ToGetTestGrokPatternTestGrokAttributeArrayOutput() GetTestGrokPatternTestGrokAttributeArrayOutput

func (GetTestGrokPatternTestGrokAttributeArray) ToGetTestGrokPatternTestGrokAttributeArrayOutputWithContext added in v5.3.0

func (i GetTestGrokPatternTestGrokAttributeArray) ToGetTestGrokPatternTestGrokAttributeArrayOutputWithContext(ctx context.Context) GetTestGrokPatternTestGrokAttributeArrayOutput

type GetTestGrokPatternTestGrokAttributeArrayInput added in v5.3.0

type GetTestGrokPatternTestGrokAttributeArrayInput interface {
	pulumi.Input

	ToGetTestGrokPatternTestGrokAttributeArrayOutput() GetTestGrokPatternTestGrokAttributeArrayOutput
	ToGetTestGrokPatternTestGrokAttributeArrayOutputWithContext(context.Context) GetTestGrokPatternTestGrokAttributeArrayOutput
}

GetTestGrokPatternTestGrokAttributeArrayInput is an input type that accepts GetTestGrokPatternTestGrokAttributeArray and GetTestGrokPatternTestGrokAttributeArrayOutput values. You can construct a concrete instance of `GetTestGrokPatternTestGrokAttributeArrayInput` via:

GetTestGrokPatternTestGrokAttributeArray{ GetTestGrokPatternTestGrokAttributeArgs{...} }

type GetTestGrokPatternTestGrokAttributeArrayOutput added in v5.3.0

type GetTestGrokPatternTestGrokAttributeArrayOutput struct{ *pulumi.OutputState }

func (GetTestGrokPatternTestGrokAttributeArrayOutput) ElementType added in v5.3.0

func (GetTestGrokPatternTestGrokAttributeArrayOutput) Index added in v5.3.0

func (GetTestGrokPatternTestGrokAttributeArrayOutput) ToGetTestGrokPatternTestGrokAttributeArrayOutput added in v5.3.0

func (o GetTestGrokPatternTestGrokAttributeArrayOutput) ToGetTestGrokPatternTestGrokAttributeArrayOutput() GetTestGrokPatternTestGrokAttributeArrayOutput

func (GetTestGrokPatternTestGrokAttributeArrayOutput) ToGetTestGrokPatternTestGrokAttributeArrayOutputWithContext added in v5.3.0

func (o GetTestGrokPatternTestGrokAttributeArrayOutput) ToGetTestGrokPatternTestGrokAttributeArrayOutputWithContext(ctx context.Context) GetTestGrokPatternTestGrokAttributeArrayOutput

type GetTestGrokPatternTestGrokAttributeInput added in v5.3.0

type GetTestGrokPatternTestGrokAttributeInput interface {
	pulumi.Input

	ToGetTestGrokPatternTestGrokAttributeOutput() GetTestGrokPatternTestGrokAttributeOutput
	ToGetTestGrokPatternTestGrokAttributeOutputWithContext(context.Context) GetTestGrokPatternTestGrokAttributeOutput
}

GetTestGrokPatternTestGrokAttributeInput is an input type that accepts GetTestGrokPatternTestGrokAttributeArgs and GetTestGrokPatternTestGrokAttributeOutput values. You can construct a concrete instance of `GetTestGrokPatternTestGrokAttributeInput` via:

GetTestGrokPatternTestGrokAttributeArgs{...}

type GetTestGrokPatternTestGrokAttributeOutput added in v5.3.0

type GetTestGrokPatternTestGrokAttributeOutput struct{ *pulumi.OutputState }

func (GetTestGrokPatternTestGrokAttributeOutput) ElementType added in v5.3.0

func (GetTestGrokPatternTestGrokAttributeOutput) Name added in v5.3.0

The attribute name.

func (GetTestGrokPatternTestGrokAttributeOutput) ToGetTestGrokPatternTestGrokAttributeOutput added in v5.3.0

func (o GetTestGrokPatternTestGrokAttributeOutput) ToGetTestGrokPatternTestGrokAttributeOutput() GetTestGrokPatternTestGrokAttributeOutput

func (GetTestGrokPatternTestGrokAttributeOutput) ToGetTestGrokPatternTestGrokAttributeOutputWithContext added in v5.3.0

func (o GetTestGrokPatternTestGrokAttributeOutput) ToGetTestGrokPatternTestGrokAttributeOutputWithContext(ctx context.Context) GetTestGrokPatternTestGrokAttributeOutput

func (GetTestGrokPatternTestGrokAttributeOutput) Value added in v5.3.0

A string representation of the extracted value (which might not be a String).

type GetTestGrokPatternTestGrokInput added in v5.3.0

type GetTestGrokPatternTestGrokInput interface {
	pulumi.Input

	ToGetTestGrokPatternTestGrokOutput() GetTestGrokPatternTestGrokOutput
	ToGetTestGrokPatternTestGrokOutputWithContext(context.Context) GetTestGrokPatternTestGrokOutput
}

GetTestGrokPatternTestGrokInput is an input type that accepts GetTestGrokPatternTestGrokArgs and GetTestGrokPatternTestGrokOutput values. You can construct a concrete instance of `GetTestGrokPatternTestGrokInput` via:

GetTestGrokPatternTestGrokArgs{...}

type GetTestGrokPatternTestGrokOutput added in v5.3.0

type GetTestGrokPatternTestGrokOutput struct{ *pulumi.OutputState }

func (GetTestGrokPatternTestGrokOutput) Attributes added in v5.3.0

Nested list containing information about any attributes that were extracted.

func (GetTestGrokPatternTestGrokOutput) ElementType added in v5.3.0

func (GetTestGrokPatternTestGrokOutput) LogLine added in v5.3.0

The log line that was tested against.

func (GetTestGrokPatternTestGrokOutput) Matched added in v5.3.0

Whether the Grok pattern matched.

func (GetTestGrokPatternTestGrokOutput) ToGetTestGrokPatternTestGrokOutput added in v5.3.0

func (o GetTestGrokPatternTestGrokOutput) ToGetTestGrokPatternTestGrokOutput() GetTestGrokPatternTestGrokOutput

func (GetTestGrokPatternTestGrokOutput) ToGetTestGrokPatternTestGrokOutputWithContext added in v5.3.0

func (o GetTestGrokPatternTestGrokOutput) ToGetTestGrokPatternTestGrokOutputWithContext(ctx context.Context) GetTestGrokPatternTestGrokOutput

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 incident. 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 an incident 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 incident. 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/v5/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: &newrelic.InfraAlertConditionCriticalArgs{
				Duration:     pulumi.Int(25),
				Value:        pulumi.Float64(90),
				TimeFunction: pulumi.String("all"),
			},
			Warning: &newrelic.InfraAlertConditionWarningArgs{
				Duration:     pulumi.Int(10),
				Value:        pulumi.Float64(80),
				TimeFunction: pulumi.String("all"),
			},
		})
		if err != nil {
			return err
		}
		_, err = newrelic.NewInfraAlertCondition(ctx, "highDbConnCount", &newrelic.InfraAlertConditionArgs{
			PolicyId:            foo.ID(),
			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: &newrelic.InfraAlertConditionCriticalArgs{
				Duration:     pulumi.Int(25),
				Value:        pulumi.Float64(90),
				TimeFunction: pulumi.String("all"),
			},
		})
		if err != nil {
			return err
		}
		_, err = newrelic.NewInfraAlertCondition(ctx, "processNotRunning", &newrelic.InfraAlertConditionArgs{
			PolicyId:     foo.ID(),
			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: &newrelic.InfraAlertConditionCriticalArgs{
				Duration: pulumi.Int(5),
				Value:    pulumi.Float64(0),
			},
		})
		if err != nil {
			return err
		}
		_, err = newrelic.NewInfraAlertCondition(ctx, "hostNotReporting", &newrelic.InfraAlertConditionArgs{
			PolicyId:    foo.ID(),
			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: &newrelic.InfraAlertConditionCriticalArgs{
				Duration: pulumi.Int(5),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Thresholds

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

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

## Import

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

```sh

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

```

func GetInfraAlertCondition

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

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

func NewInfraAlertCondition

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

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

func (*InfraAlertCondition) ElementType

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 incident. 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 an incident 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 incident. 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

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

The timestamp the alert condition was created.

func (InfraAlertConditionOutput) Critical

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

func (InfraAlertConditionOutput) Description

The description of the Infrastructure alert condition.

func (InfraAlertConditionOutput) ElementType

func (InfraAlertConditionOutput) ElementType() reflect.Type

func (InfraAlertConditionOutput) Enabled

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

func (InfraAlertConditionOutput) Event

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

func (InfraAlertConditionOutput) IntegrationProvider

func (o InfraAlertConditionOutput) IntegrationProvider() pulumi.StringPtrOutput

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

func (InfraAlertConditionOutput) Name

The Infrastructure alert condition's name.

func (InfraAlertConditionOutput) PolicyId

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

func (InfraAlertConditionOutput) ProcessWhere

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

func (InfraAlertConditionOutput) RunbookUrl

Runbook URL to display in notifications.

func (InfraAlertConditionOutput) Select

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

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

func (InfraAlertConditionOutput) UpdatedAt

The timestamp the alert condition was last updated.

func (InfraAlertConditionOutput) ViolationCloseTimer

func (o InfraAlertConditionOutput) ViolationCloseTimer() pulumi.IntPtrOutput

Determines how much time will pass (in hours) before an incident 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

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

func (InfraAlertConditionOutput) Where

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 incident. 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 an incident 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 incident. 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 LogParsingRule added in v5.3.0

type LogParsingRule struct {
	pulumi.CustomResourceState

	// The account id associated with the obfuscation rule.
	AccountId pulumi.IntOutput `pulumi:"accountId"`
	// The parsing rule will apply to value of this attribute. If field is not provided, value will default to message.
	Attribute pulumi.StringPtrOutput `pulumi:"attribute"`
	// Whether or not this rule is deleted.
	Deleted pulumi.BoolOutput `pulumi:"deleted"`
	// Whether the rule should be applied or not to incoming data.
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// The Grok of what to parse.
	Grok pulumi.StringOutput `pulumi:"grok"`
	// The Lucene to match events to the parsing rule.
	Lucene pulumi.StringOutput `pulumi:"lucene"`
	// Whether the Grok pattern matched.
	Matched pulumi.BoolOutput `pulumi:"matched"`
	// Name of rule.
	Name pulumi.StringOutput `pulumi:"name"`
	// The NRQL to match events to the parsing rule.
	Nrql pulumi.StringOutput `pulumi:"nrql"`
}

Use this resource to create, update and delete New Relic Log Parsing Rule.

## Example Usage

Use this example to create the log parse rule. ```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewLogParsingRule(ctx, "foo", &newrelic.LogParsingRuleArgs{
			Attribute: pulumi.String("message"),
			Enabled:   pulumi.Bool(true),
			Grok:      pulumi.String(fmt.Sprintf("sampleattribute='%v%vNUMBER:test:int}'", "%", "%{")),
			Lucene:    pulumi.String("logtype:linux_messages"),
			Nrql:      pulumi.String("SELECT * FROM Log WHERE logtype = 'linux_messages'"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Additional Example

Use this example to validate a grok pattern and create the log parse rule. More information on grok pattern can be found [here](https://docs.newrelic.com/docs/logs/ui-data/parsing/#grok) ```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		grok, err := newrelic.GetTestGrokPattern(ctx, &newrelic.GetTestGrokPatternArgs{
			Grok: fmt.Sprintf("%vIP:host_ip}", "%{"),
			LogLines: []string{
				"host_ip: 43.3.120.2",
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = newrelic.NewLogParsingRule(ctx, "foo", &newrelic.LogParsingRuleArgs{
			Attribute: pulumi.String("message"),
			Enabled:   pulumi.Bool(true),
			Grok:      *pulumi.String(grok.Grok),
			Lucene:    pulumi.String("logtype:linux_messages"),
			Nrql:      pulumi.String("SELECT * FROM Log WHERE logtype = 'linux_messages'"),
			Matched:   *pulumi.Bool(grok.TestGroks[0].Matched),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

New Relic log parsing rule can be imported using the rule ID, e.g. bash

```sh

$ pulumi import newrelic:index/logParsingRule:LogParsingRule foo 3456789

```

func GetLogParsingRule added in v5.3.0

func GetLogParsingRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LogParsingRuleState, opts ...pulumi.ResourceOption) (*LogParsingRule, error)

GetLogParsingRule gets an existing LogParsingRule 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 NewLogParsingRule added in v5.3.0

func NewLogParsingRule(ctx *pulumi.Context,
	name string, args *LogParsingRuleArgs, opts ...pulumi.ResourceOption) (*LogParsingRule, error)

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

func (*LogParsingRule) ElementType added in v5.3.0

func (*LogParsingRule) ElementType() reflect.Type

func (*LogParsingRule) ToLogParsingRuleOutput added in v5.3.0

func (i *LogParsingRule) ToLogParsingRuleOutput() LogParsingRuleOutput

func (*LogParsingRule) ToLogParsingRuleOutputWithContext added in v5.3.0

func (i *LogParsingRule) ToLogParsingRuleOutputWithContext(ctx context.Context) LogParsingRuleOutput

type LogParsingRuleArgs added in v5.3.0

type LogParsingRuleArgs struct {
	// The account id associated with the obfuscation rule.
	AccountId pulumi.IntPtrInput
	// The parsing rule will apply to value of this attribute. If field is not provided, value will default to message.
	Attribute pulumi.StringPtrInput
	// Whether the rule should be applied or not to incoming data.
	Enabled pulumi.BoolInput
	// The Grok of what to parse.
	Grok pulumi.StringInput
	// The Lucene to match events to the parsing rule.
	Lucene pulumi.StringInput
	// Whether the Grok pattern matched.
	Matched pulumi.BoolPtrInput
	// Name of rule.
	Name pulumi.StringPtrInput
	// The NRQL to match events to the parsing rule.
	Nrql pulumi.StringInput
}

The set of arguments for constructing a LogParsingRule resource.

func (LogParsingRuleArgs) ElementType added in v5.3.0

func (LogParsingRuleArgs) ElementType() reflect.Type

type LogParsingRuleArray added in v5.3.0

type LogParsingRuleArray []LogParsingRuleInput

func (LogParsingRuleArray) ElementType added in v5.3.0

func (LogParsingRuleArray) ElementType() reflect.Type

func (LogParsingRuleArray) ToLogParsingRuleArrayOutput added in v5.3.0

func (i LogParsingRuleArray) ToLogParsingRuleArrayOutput() LogParsingRuleArrayOutput

func (LogParsingRuleArray) ToLogParsingRuleArrayOutputWithContext added in v5.3.0

func (i LogParsingRuleArray) ToLogParsingRuleArrayOutputWithContext(ctx context.Context) LogParsingRuleArrayOutput

type LogParsingRuleArrayInput added in v5.3.0

type LogParsingRuleArrayInput interface {
	pulumi.Input

	ToLogParsingRuleArrayOutput() LogParsingRuleArrayOutput
	ToLogParsingRuleArrayOutputWithContext(context.Context) LogParsingRuleArrayOutput
}

LogParsingRuleArrayInput is an input type that accepts LogParsingRuleArray and LogParsingRuleArrayOutput values. You can construct a concrete instance of `LogParsingRuleArrayInput` via:

LogParsingRuleArray{ LogParsingRuleArgs{...} }

type LogParsingRuleArrayOutput added in v5.3.0

type LogParsingRuleArrayOutput struct{ *pulumi.OutputState }

func (LogParsingRuleArrayOutput) ElementType added in v5.3.0

func (LogParsingRuleArrayOutput) ElementType() reflect.Type

func (LogParsingRuleArrayOutput) Index added in v5.3.0

func (LogParsingRuleArrayOutput) ToLogParsingRuleArrayOutput added in v5.3.0

func (o LogParsingRuleArrayOutput) ToLogParsingRuleArrayOutput() LogParsingRuleArrayOutput

func (LogParsingRuleArrayOutput) ToLogParsingRuleArrayOutputWithContext added in v5.3.0

func (o LogParsingRuleArrayOutput) ToLogParsingRuleArrayOutputWithContext(ctx context.Context) LogParsingRuleArrayOutput

type LogParsingRuleInput added in v5.3.0

type LogParsingRuleInput interface {
	pulumi.Input

	ToLogParsingRuleOutput() LogParsingRuleOutput
	ToLogParsingRuleOutputWithContext(ctx context.Context) LogParsingRuleOutput
}

type LogParsingRuleMap added in v5.3.0

type LogParsingRuleMap map[string]LogParsingRuleInput

func (LogParsingRuleMap) ElementType added in v5.3.0

func (LogParsingRuleMap) ElementType() reflect.Type

func (LogParsingRuleMap) ToLogParsingRuleMapOutput added in v5.3.0

func (i LogParsingRuleMap) ToLogParsingRuleMapOutput() LogParsingRuleMapOutput

func (LogParsingRuleMap) ToLogParsingRuleMapOutputWithContext added in v5.3.0

func (i LogParsingRuleMap) ToLogParsingRuleMapOutputWithContext(ctx context.Context) LogParsingRuleMapOutput

type LogParsingRuleMapInput added in v5.3.0

type LogParsingRuleMapInput interface {
	pulumi.Input

	ToLogParsingRuleMapOutput() LogParsingRuleMapOutput
	ToLogParsingRuleMapOutputWithContext(context.Context) LogParsingRuleMapOutput
}

LogParsingRuleMapInput is an input type that accepts LogParsingRuleMap and LogParsingRuleMapOutput values. You can construct a concrete instance of `LogParsingRuleMapInput` via:

LogParsingRuleMap{ "key": LogParsingRuleArgs{...} }

type LogParsingRuleMapOutput added in v5.3.0

type LogParsingRuleMapOutput struct{ *pulumi.OutputState }

func (LogParsingRuleMapOutput) ElementType added in v5.3.0

func (LogParsingRuleMapOutput) ElementType() reflect.Type

func (LogParsingRuleMapOutput) MapIndex added in v5.3.0

func (LogParsingRuleMapOutput) ToLogParsingRuleMapOutput added in v5.3.0

func (o LogParsingRuleMapOutput) ToLogParsingRuleMapOutput() LogParsingRuleMapOutput

func (LogParsingRuleMapOutput) ToLogParsingRuleMapOutputWithContext added in v5.3.0

func (o LogParsingRuleMapOutput) ToLogParsingRuleMapOutputWithContext(ctx context.Context) LogParsingRuleMapOutput

type LogParsingRuleOutput added in v5.3.0

type LogParsingRuleOutput struct{ *pulumi.OutputState }

func (LogParsingRuleOutput) AccountId added in v5.3.0

func (o LogParsingRuleOutput) AccountId() pulumi.IntOutput

The account id associated with the obfuscation rule.

func (LogParsingRuleOutput) Attribute added in v5.3.0

The parsing rule will apply to value of this attribute. If field is not provided, value will default to message.

func (LogParsingRuleOutput) Deleted added in v5.3.0

Whether or not this rule is deleted.

func (LogParsingRuleOutput) ElementType added in v5.3.0

func (LogParsingRuleOutput) ElementType() reflect.Type

func (LogParsingRuleOutput) Enabled added in v5.3.0

Whether the rule should be applied or not to incoming data.

func (LogParsingRuleOutput) Grok added in v5.3.0

The Grok of what to parse.

func (LogParsingRuleOutput) Lucene added in v5.3.0

The Lucene to match events to the parsing rule.

func (LogParsingRuleOutput) Matched added in v5.3.0

Whether the Grok pattern matched.

func (LogParsingRuleOutput) Name added in v5.3.0

Name of rule.

func (LogParsingRuleOutput) Nrql added in v5.3.0

The NRQL to match events to the parsing rule.

func (LogParsingRuleOutput) ToLogParsingRuleOutput added in v5.3.0

func (o LogParsingRuleOutput) ToLogParsingRuleOutput() LogParsingRuleOutput

func (LogParsingRuleOutput) ToLogParsingRuleOutputWithContext added in v5.3.0

func (o LogParsingRuleOutput) ToLogParsingRuleOutputWithContext(ctx context.Context) LogParsingRuleOutput

type LogParsingRuleState added in v5.3.0

type LogParsingRuleState struct {
	// The account id associated with the obfuscation rule.
	AccountId pulumi.IntPtrInput
	// The parsing rule will apply to value of this attribute. If field is not provided, value will default to message.
	Attribute pulumi.StringPtrInput
	// Whether or not this rule is deleted.
	Deleted pulumi.BoolPtrInput
	// Whether the rule should be applied or not to incoming data.
	Enabled pulumi.BoolPtrInput
	// The Grok of what to parse.
	Grok pulumi.StringPtrInput
	// The Lucene to match events to the parsing rule.
	Lucene pulumi.StringPtrInput
	// Whether the Grok pattern matched.
	Matched pulumi.BoolPtrInput
	// Name of rule.
	Name pulumi.StringPtrInput
	// The NRQL to match events to the parsing rule.
	Nrql pulumi.StringPtrInput
}

func (LogParsingRuleState) ElementType added in v5.3.0

func (LogParsingRuleState) ElementType() reflect.Type

type LookupAlertChannelArgs

type LookupAlertChannelArgs struct {
	// The New Relic account ID to operate on.  This allows you to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
	AccountId *int `pulumi:"accountId"`
	// The name of the alert channel in New Relic.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getAlertChannel.

type LookupAlertChannelOutputArgs

type LookupAlertChannelOutputArgs struct {
	// The New Relic account ID to operate on.  This allows you to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
	AccountId pulumi.IntPtrInput `pulumi:"accountId"`
	// The name of the alert channel in New Relic.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getAlertChannel.

func (LookupAlertChannelOutputArgs) ElementType

type LookupAlertChannelResult

type LookupAlertChannelResult struct {
	AccountId int `pulumi:"accountId"`
	// 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

type LookupAlertChannelResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAlertChannel.

func (LookupAlertChannelResultOutput) AccountId

func (LookupAlertChannelResultOutput) Config

Alert channel configuration.

func (LookupAlertChannelResultOutput) ElementType

func (LookupAlertChannelResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAlertChannelResultOutput) Name

func (LookupAlertChannelResultOutput) PolicyIds

A list of policy IDs associated with the alert channel.

func (LookupAlertChannelResultOutput) ToLookupAlertChannelResultOutput

func (o LookupAlertChannelResultOutput) ToLookupAlertChannelResultOutput() LookupAlertChannelResultOutput

func (LookupAlertChannelResultOutput) ToLookupAlertChannelResultOutputWithContext

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

func (LookupAlertChannelResultOutput) Type

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

type LookupAlertPolicyArgs

type LookupAlertPolicyArgs struct {
	// The New Relic account ID to operate on.  This allows you to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
	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

type LookupAlertPolicyOutputArgs struct {
	// The New Relic account ID to operate on.  This allows you to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
	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

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

type LookupAlertPolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAlertPolicy.

func (LookupAlertPolicyResultOutput) AccountId

func (LookupAlertPolicyResultOutput) CreatedAt

The time the policy was created.

func (LookupAlertPolicyResultOutput) ElementType

func (LookupAlertPolicyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAlertPolicyResultOutput) IncidentPreference

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

func (LookupAlertPolicyResultOutput) ToLookupAlertPolicyResultOutput

func (o LookupAlertPolicyResultOutput) ToLookupAlertPolicyResultOutput() LookupAlertPolicyResultOutput

func (LookupAlertPolicyResultOutput) ToLookupAlertPolicyResultOutputWithContext

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

func (LookupAlertPolicyResultOutput) UpdatedAt

The time the policy was last updated.

type LookupNotificationDestinationArgs added in v5.4.0

type LookupNotificationDestinationArgs struct {
	// The New Relic account ID to operate on.  This allows you to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
	AccountId *int `pulumi:"accountId"`
	// The id of the notification destination in New Relic.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getNotificationDestination.

type LookupNotificationDestinationOutputArgs added in v5.4.0

type LookupNotificationDestinationOutputArgs struct {
	// The New Relic account ID to operate on.  This allows you to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
	AccountId pulumi.IntPtrInput `pulumi:"accountId"`
	// The id of the notification destination in New Relic.
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getNotificationDestination.

func (LookupNotificationDestinationOutputArgs) ElementType added in v5.4.0

type LookupNotificationDestinationResult added in v5.4.0

type LookupNotificationDestinationResult struct {
	AccountId int `pulumi:"accountId"`
	// An indication whether the notification destination is active or not.
	Active bool   `pulumi:"active"`
	Id     string `pulumi:"id"`
	// The name of the notification destination.
	Name string `pulumi:"name"`
	// A nested block that describes a notification destination property.
	Properties []GetNotificationDestinationProperty `pulumi:"properties"`
	// The status of the notification destination.
	Status string `pulumi:"status"`
	// The notification destination type, either: `EMAIL`, `SERVICE_NOW`, `WEBHOOK`, `JIRA`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`, `SLACK` and `SLACK_COLLABORATION`.
	Type string `pulumi:"type"`
}

A collection of values returned by getNotificationDestination.

func LookupNotificationDestination added in v5.4.0

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foo, err := newrelic.LookupNotificationDestination(ctx, &newrelic.LookupNotificationDestinationArgs{
			Id: "1e543419-0c25-456a-9057-fb0eb310e60b",
		}, nil)
		if err != nil {
			return err
		}
		_, err = newrelic.NewNotificationChannel(ctx, "foo-channel", &newrelic.NotificationChannelArgs{
			Type:          pulumi.String("WEBHOOK"),
			DestinationId: *pulumi.String(foo.Id),
			Product:       pulumi.String("IINT"),
			Properties: newrelic.NotificationChannelPropertyArray{
				&newrelic.NotificationChannelPropertyArgs{
					Key:   pulumi.String("payload"),
					Value: pulumi.String("{\n	\"name\": \"foo\"\n}"),
					Label: pulumi.String("Payload Template"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupNotificationDestinationResultOutput added in v5.4.0

type LookupNotificationDestinationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNotificationDestination.

func (LookupNotificationDestinationResultOutput) AccountId added in v5.4.0

func (LookupNotificationDestinationResultOutput) Active added in v5.4.0

An indication whether the notification destination is active or not.

func (LookupNotificationDestinationResultOutput) ElementType added in v5.4.0

func (LookupNotificationDestinationResultOutput) Id added in v5.4.0

func (LookupNotificationDestinationResultOutput) Name added in v5.4.0

The name of the notification destination.

func (LookupNotificationDestinationResultOutput) Properties added in v5.4.0

A nested block that describes a notification destination property.

func (LookupNotificationDestinationResultOutput) Status added in v5.4.0

The status of the notification destination.

func (LookupNotificationDestinationResultOutput) ToLookupNotificationDestinationResultOutput added in v5.4.0

func (o LookupNotificationDestinationResultOutput) ToLookupNotificationDestinationResultOutput() LookupNotificationDestinationResultOutput

func (LookupNotificationDestinationResultOutput) ToLookupNotificationDestinationResultOutputWithContext added in v5.4.0

func (o LookupNotificationDestinationResultOutput) ToLookupNotificationDestinationResultOutputWithContext(ctx context.Context) LookupNotificationDestinationResultOutput

func (LookupNotificationDestinationResultOutput) Type added in v5.4.0

The notification destination type, either: `EMAIL`, `SERVICE_NOW`, `WEBHOOK`, `JIRA`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`, `SLACK` and `SLACK_COLLABORATION`.

type LookupObfuscationExpressionArgs added in v5.2.0

type LookupObfuscationExpressionArgs struct {
	// The account id associated with the obfuscation expression. If left empty will default to account ID specified in provider level configuration.
	AccountId *int `pulumi:"accountId"`
	// Name of expression.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getObfuscationExpression.

type LookupObfuscationExpressionOutputArgs added in v5.2.0

type LookupObfuscationExpressionOutputArgs struct {
	// The account id associated with the obfuscation expression. If left empty will default to account ID specified in provider level configuration.
	AccountId pulumi.IntPtrInput `pulumi:"accountId"`
	// Name of expression.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getObfuscationExpression.

func (LookupObfuscationExpressionOutputArgs) ElementType added in v5.2.0

type LookupObfuscationExpressionResult added in v5.2.0

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

A collection of values returned by getObfuscationExpression.

func LookupObfuscationExpression added in v5.2.0

func LookupObfuscationExpression(ctx *pulumi.Context, args *LookupObfuscationExpressionArgs, opts ...pulumi.InvokeOption) (*LookupObfuscationExpressionResult, error)

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

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		expression, err := newrelic.LookupObfuscationExpression(ctx, &newrelic.LookupObfuscationExpressionArgs{
			AccountId: pulumi.IntRef(123456),
			Name:      "The expression",
		}, nil)
		if err != nil {
			return err
		}
		_, err = newrelic.NewObfuscationRule(ctx, "rule", &newrelic.ObfuscationRuleArgs{
			Description: pulumi.String("description of the rule"),
			Filter:      pulumi.String("hostStatus=running"),
			Enabled:     pulumi.Bool(true),
			Actions: newrelic.ObfuscationRuleActionArray{
				&newrelic.ObfuscationRuleActionArgs{
					Attributes: pulumi.StringArray{
						pulumi.String("message"),
					},
					ExpressionId: *pulumi.String(expression.Id),
					Method:       pulumi.String("MASK"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupObfuscationExpressionResultOutput added in v5.2.0

type LookupObfuscationExpressionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getObfuscationExpression.

func (LookupObfuscationExpressionResultOutput) AccountId added in v5.2.0

func (LookupObfuscationExpressionResultOutput) ElementType added in v5.2.0

func (LookupObfuscationExpressionResultOutput) Id added in v5.2.0

The provider-assigned unique ID for this managed resource.

func (LookupObfuscationExpressionResultOutput) Name added in v5.2.0

func (LookupObfuscationExpressionResultOutput) ToLookupObfuscationExpressionResultOutput added in v5.2.0

func (o LookupObfuscationExpressionResultOutput) ToLookupObfuscationExpressionResultOutput() LookupObfuscationExpressionResultOutput

func (LookupObfuscationExpressionResultOutput) ToLookupObfuscationExpressionResultOutputWithContext added in v5.2.0

func (o LookupObfuscationExpressionResultOutput) ToLookupObfuscationExpressionResultOutputWithContext(ctx context.Context) LookupObfuscationExpressionResultOutput

type NotificationChannel

type NotificationChannel struct {
	pulumi.CustomResourceState

	// Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntOutput `pulumi:"accountId"`
	// Indicates whether the channel is active.
	Active pulumi.BoolPtrOutput `pulumi:"active"`
	// 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: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
	Product pulumi.StringOutput `pulumi:"product"`
	// A nested block that describes a notification channel property. See Nested property blocks below for details.
	Properties NotificationChannelPropertyArrayOutput `pulumi:"properties"`
	// The status of the channel.
	Status pulumi.StringOutput `pulumi:"status"`
	// The type of channel.  One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`.
	Type pulumi.StringOutput `pulumi:"type"`
}

func GetNotificationChannel

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

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

func (*NotificationChannel) ElementType() reflect.Type

func (*NotificationChannel) ToNotificationChannelOutput

func (i *NotificationChannel) ToNotificationChannelOutput() NotificationChannelOutput

func (*NotificationChannel) ToNotificationChannelOutputWithContext

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

type NotificationChannelArgs

type NotificationChannelArgs struct {
	// Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput
	// Indicates whether the channel is active.
	Active pulumi.BoolPtrInput
	// The id of the destination.
	DestinationId pulumi.StringInput
	// The name of the channel.
	Name pulumi.StringPtrInput
	// The type of product.  One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
	Product pulumi.StringInput
	// A nested block that describes a notification channel property. See Nested property blocks below for details.
	Properties NotificationChannelPropertyArrayInput
	// The type of channel.  One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`.
	Type pulumi.StringInput
}

The set of arguments for constructing a NotificationChannel resource.

func (NotificationChannelArgs) ElementType

func (NotificationChannelArgs) ElementType() reflect.Type

type NotificationChannelArray

type NotificationChannelArray []NotificationChannelInput

func (NotificationChannelArray) ElementType

func (NotificationChannelArray) ElementType() reflect.Type

func (NotificationChannelArray) ToNotificationChannelArrayOutput

func (i NotificationChannelArray) ToNotificationChannelArrayOutput() NotificationChannelArrayOutput

func (NotificationChannelArray) ToNotificationChannelArrayOutputWithContext

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

type NotificationChannelArrayInput

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

type NotificationChannelArrayOutput struct{ *pulumi.OutputState }

func (NotificationChannelArrayOutput) ElementType

func (NotificationChannelArrayOutput) Index

func (NotificationChannelArrayOutput) ToNotificationChannelArrayOutput

func (o NotificationChannelArrayOutput) ToNotificationChannelArrayOutput() NotificationChannelArrayOutput

func (NotificationChannelArrayOutput) ToNotificationChannelArrayOutputWithContext

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

type NotificationChannelInput

type NotificationChannelInput interface {
	pulumi.Input

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

type NotificationChannelMap

type NotificationChannelMap map[string]NotificationChannelInput

func (NotificationChannelMap) ElementType

func (NotificationChannelMap) ElementType() reflect.Type

func (NotificationChannelMap) ToNotificationChannelMapOutput

func (i NotificationChannelMap) ToNotificationChannelMapOutput() NotificationChannelMapOutput

func (NotificationChannelMap) ToNotificationChannelMapOutputWithContext

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

type NotificationChannelMapInput

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

type NotificationChannelMapOutput struct{ *pulumi.OutputState }

func (NotificationChannelMapOutput) ElementType

func (NotificationChannelMapOutput) MapIndex

func (NotificationChannelMapOutput) ToNotificationChannelMapOutput

func (o NotificationChannelMapOutput) ToNotificationChannelMapOutput() NotificationChannelMapOutput

func (NotificationChannelMapOutput) ToNotificationChannelMapOutputWithContext

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

type NotificationChannelOutput

type NotificationChannelOutput struct{ *pulumi.OutputState }

func (NotificationChannelOutput) AccountId

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

func (NotificationChannelOutput) Active

Indicates whether the channel is active.

func (NotificationChannelOutput) DestinationId

func (o NotificationChannelOutput) DestinationId() pulumi.StringOutput

The id of the destination.

func (NotificationChannelOutput) ElementType

func (NotificationChannelOutput) ElementType() reflect.Type

func (NotificationChannelOutput) Name

The name of the channel.

func (NotificationChannelOutput) Product

The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).

func (NotificationChannelOutput) Properties

A nested block that describes a notification channel property. See Nested property blocks below for details.

func (NotificationChannelOutput) Status

The status of the channel.

func (NotificationChannelOutput) ToNotificationChannelOutput

func (o NotificationChannelOutput) ToNotificationChannelOutput() NotificationChannelOutput

func (NotificationChannelOutput) ToNotificationChannelOutputWithContext

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

func (NotificationChannelOutput) Type

The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`.

type NotificationChannelProperty

type NotificationChannelProperty struct {
	// The notification property display value.
	DisplayValue *string `pulumi:"displayValue"`
	// The notification property key.
	Key string `pulumi:"key"`
	// The notification property label.
	Label *string `pulumi:"label"`
	// The notification property value.
	Value string `pulumi:"value"`
}

type NotificationChannelPropertyArgs

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

func (NotificationChannelPropertyArgs) ElementType

func (NotificationChannelPropertyArgs) ToNotificationChannelPropertyOutput

func (i NotificationChannelPropertyArgs) ToNotificationChannelPropertyOutput() NotificationChannelPropertyOutput

func (NotificationChannelPropertyArgs) ToNotificationChannelPropertyOutputWithContext

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

type NotificationChannelPropertyArray

type NotificationChannelPropertyArray []NotificationChannelPropertyInput

func (NotificationChannelPropertyArray) ElementType

func (NotificationChannelPropertyArray) ToNotificationChannelPropertyArrayOutput

func (i NotificationChannelPropertyArray) ToNotificationChannelPropertyArrayOutput() NotificationChannelPropertyArrayOutput

func (NotificationChannelPropertyArray) ToNotificationChannelPropertyArrayOutputWithContext

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

type NotificationChannelPropertyArrayInput

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

type NotificationChannelPropertyArrayOutput struct{ *pulumi.OutputState }

func (NotificationChannelPropertyArrayOutput) ElementType

func (NotificationChannelPropertyArrayOutput) Index

func (NotificationChannelPropertyArrayOutput) ToNotificationChannelPropertyArrayOutput

func (o NotificationChannelPropertyArrayOutput) ToNotificationChannelPropertyArrayOutput() NotificationChannelPropertyArrayOutput

func (NotificationChannelPropertyArrayOutput) ToNotificationChannelPropertyArrayOutputWithContext

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

type NotificationChannelPropertyInput

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

type NotificationChannelPropertyOutput struct{ *pulumi.OutputState }

func (NotificationChannelPropertyOutput) DisplayValue

The notification property display value.

func (NotificationChannelPropertyOutput) ElementType

func (NotificationChannelPropertyOutput) Key

The notification property key.

func (NotificationChannelPropertyOutput) Label

The notification property label.

func (NotificationChannelPropertyOutput) ToNotificationChannelPropertyOutput

func (o NotificationChannelPropertyOutput) ToNotificationChannelPropertyOutput() NotificationChannelPropertyOutput

func (NotificationChannelPropertyOutput) ToNotificationChannelPropertyOutputWithContext

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

func (NotificationChannelPropertyOutput) Value

The notification property value.

type NotificationChannelState

type NotificationChannelState struct {
	// Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput
	// Indicates whether the channel is active.
	Active pulumi.BoolPtrInput
	// The id of the destination.
	DestinationId pulumi.StringPtrInput
	// The name of the channel.
	Name pulumi.StringPtrInput
	// The type of product.  One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
	Product pulumi.StringPtrInput
	// A nested block that describes a notification channel property. See Nested property blocks below for details.
	Properties NotificationChannelPropertyArrayInput
	// The status of the channel.
	Status pulumi.StringPtrInput
	// The type of channel.  One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`.
	Type pulumi.StringPtrInput
}

func (NotificationChannelState) ElementType

func (NotificationChannelState) ElementType() reflect.Type

type NotificationDestination

type NotificationDestination struct {
	pulumi.CustomResourceState

	// Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntOutput `pulumi:"accountId"`
	// Indicates whether the destination is active.
	Active pulumi.BoolPtrOutput `pulumi:"active"`
	// A nested block that describes a basic username and password authentication credentials. Only one authBasic block is permitted per notification destination definition.  See Nested authBasic blocks below for details.
	AuthBasic NotificationDestinationAuthBasicPtrOutput `pulumi:"authBasic"`
	// A nested block that describes a token authentication credentials. Only one authToken block is permitted per notification destination definition.  See Nested authToken blocks below for details.
	AuthToken NotificationDestinationAuthTokenPtrOutput `pulumi:"authToken"`
	// The last time a notification was sent.
	LastSent pulumi.StringOutput `pulumi:"lastSent"`
	// The name of the destination.
	Name pulumi.StringOutput `pulumi:"name"`
	// A nested block that describes a notification destination property. See Nested property blocks below for details.
	Properties NotificationDestinationPropertyArrayOutput `pulumi:"properties"`
	// The status of the destination.
	Status pulumi.StringOutput `pulumi:"status"`
	// (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION,
	// PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).
	Type pulumi.StringOutput `pulumi:"type"`
}

func GetNotificationDestination

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

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

func (*NotificationDestination) ElementType() reflect.Type

func (*NotificationDestination) ToNotificationDestinationOutput

func (i *NotificationDestination) ToNotificationDestinationOutput() NotificationDestinationOutput

func (*NotificationDestination) ToNotificationDestinationOutputWithContext

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

type NotificationDestinationArgs

type NotificationDestinationArgs struct {
	// Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput
	// Indicates whether the destination is active.
	Active pulumi.BoolPtrInput
	// A nested block that describes a basic username and password authentication credentials. Only one authBasic block is permitted per notification destination definition.  See Nested authBasic blocks below for details.
	AuthBasic NotificationDestinationAuthBasicPtrInput
	// A nested block that describes a token authentication credentials. Only one authToken block is permitted per notification destination definition.  See Nested authToken blocks below for details.
	AuthToken NotificationDestinationAuthTokenPtrInput
	// The name of the destination.
	Name pulumi.StringPtrInput
	// A nested block that describes a notification destination property. See Nested property blocks below for details.
	Properties NotificationDestinationPropertyArrayInput
	// (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION,
	// PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).
	Type pulumi.StringInput
}

The set of arguments for constructing a NotificationDestination resource.

func (NotificationDestinationArgs) ElementType

type NotificationDestinationArray

type NotificationDestinationArray []NotificationDestinationInput

func (NotificationDestinationArray) ElementType

func (NotificationDestinationArray) ToNotificationDestinationArrayOutput

func (i NotificationDestinationArray) ToNotificationDestinationArrayOutput() NotificationDestinationArrayOutput

func (NotificationDestinationArray) ToNotificationDestinationArrayOutputWithContext

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

type NotificationDestinationArrayInput

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

type NotificationDestinationArrayOutput struct{ *pulumi.OutputState }

func (NotificationDestinationArrayOutput) ElementType

func (NotificationDestinationArrayOutput) Index

func (NotificationDestinationArrayOutput) ToNotificationDestinationArrayOutput

func (o NotificationDestinationArrayOutput) ToNotificationDestinationArrayOutput() NotificationDestinationArrayOutput

func (NotificationDestinationArrayOutput) ToNotificationDestinationArrayOutputWithContext

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

type NotificationDestinationAuthBasic

type NotificationDestinationAuthBasic struct {
	// Specifies an authentication password for use with a destination.
	Password string `pulumi:"password"`
	// The username of the basic auth.
	User string `pulumi:"user"`
}

type NotificationDestinationAuthBasicArgs

type NotificationDestinationAuthBasicArgs struct {
	// Specifies an authentication password for use with a destination.
	Password pulumi.StringInput `pulumi:"password"`
	// The username of the basic auth.
	User pulumi.StringInput `pulumi:"user"`
}

func (NotificationDestinationAuthBasicArgs) ElementType

func (NotificationDestinationAuthBasicArgs) ToNotificationDestinationAuthBasicOutput

func (i NotificationDestinationAuthBasicArgs) ToNotificationDestinationAuthBasicOutput() NotificationDestinationAuthBasicOutput

func (NotificationDestinationAuthBasicArgs) ToNotificationDestinationAuthBasicOutputWithContext

func (i NotificationDestinationAuthBasicArgs) ToNotificationDestinationAuthBasicOutputWithContext(ctx context.Context) NotificationDestinationAuthBasicOutput

func (NotificationDestinationAuthBasicArgs) ToNotificationDestinationAuthBasicPtrOutput

func (i NotificationDestinationAuthBasicArgs) ToNotificationDestinationAuthBasicPtrOutput() NotificationDestinationAuthBasicPtrOutput

func (NotificationDestinationAuthBasicArgs) ToNotificationDestinationAuthBasicPtrOutputWithContext

func (i NotificationDestinationAuthBasicArgs) ToNotificationDestinationAuthBasicPtrOutputWithContext(ctx context.Context) NotificationDestinationAuthBasicPtrOutput

type NotificationDestinationAuthBasicInput

type NotificationDestinationAuthBasicInput interface {
	pulumi.Input

	ToNotificationDestinationAuthBasicOutput() NotificationDestinationAuthBasicOutput
	ToNotificationDestinationAuthBasicOutputWithContext(context.Context) NotificationDestinationAuthBasicOutput
}

NotificationDestinationAuthBasicInput is an input type that accepts NotificationDestinationAuthBasicArgs and NotificationDestinationAuthBasicOutput values. You can construct a concrete instance of `NotificationDestinationAuthBasicInput` via:

NotificationDestinationAuthBasicArgs{...}

type NotificationDestinationAuthBasicOutput

type NotificationDestinationAuthBasicOutput struct{ *pulumi.OutputState }

func (NotificationDestinationAuthBasicOutput) ElementType

func (NotificationDestinationAuthBasicOutput) Password

Specifies an authentication password for use with a destination.

func (NotificationDestinationAuthBasicOutput) ToNotificationDestinationAuthBasicOutput

func (o NotificationDestinationAuthBasicOutput) ToNotificationDestinationAuthBasicOutput() NotificationDestinationAuthBasicOutput

func (NotificationDestinationAuthBasicOutput) ToNotificationDestinationAuthBasicOutputWithContext

func (o NotificationDestinationAuthBasicOutput) ToNotificationDestinationAuthBasicOutputWithContext(ctx context.Context) NotificationDestinationAuthBasicOutput

func (NotificationDestinationAuthBasicOutput) ToNotificationDestinationAuthBasicPtrOutput

func (o NotificationDestinationAuthBasicOutput) ToNotificationDestinationAuthBasicPtrOutput() NotificationDestinationAuthBasicPtrOutput

func (NotificationDestinationAuthBasicOutput) ToNotificationDestinationAuthBasicPtrOutputWithContext

func (o NotificationDestinationAuthBasicOutput) ToNotificationDestinationAuthBasicPtrOutputWithContext(ctx context.Context) NotificationDestinationAuthBasicPtrOutput

func (NotificationDestinationAuthBasicOutput) User

The username of the basic auth.

type NotificationDestinationAuthBasicPtrInput

type NotificationDestinationAuthBasicPtrInput interface {
	pulumi.Input

	ToNotificationDestinationAuthBasicPtrOutput() NotificationDestinationAuthBasicPtrOutput
	ToNotificationDestinationAuthBasicPtrOutputWithContext(context.Context) NotificationDestinationAuthBasicPtrOutput
}

NotificationDestinationAuthBasicPtrInput is an input type that accepts NotificationDestinationAuthBasicArgs, NotificationDestinationAuthBasicPtr and NotificationDestinationAuthBasicPtrOutput values. You can construct a concrete instance of `NotificationDestinationAuthBasicPtrInput` via:

        NotificationDestinationAuthBasicArgs{...}

or:

        nil

type NotificationDestinationAuthBasicPtrOutput

type NotificationDestinationAuthBasicPtrOutput struct{ *pulumi.OutputState }

func (NotificationDestinationAuthBasicPtrOutput) Elem

func (NotificationDestinationAuthBasicPtrOutput) ElementType

func (NotificationDestinationAuthBasicPtrOutput) Password

Specifies an authentication password for use with a destination.

func (NotificationDestinationAuthBasicPtrOutput) ToNotificationDestinationAuthBasicPtrOutput

func (o NotificationDestinationAuthBasicPtrOutput) ToNotificationDestinationAuthBasicPtrOutput() NotificationDestinationAuthBasicPtrOutput

func (NotificationDestinationAuthBasicPtrOutput) ToNotificationDestinationAuthBasicPtrOutputWithContext

func (o NotificationDestinationAuthBasicPtrOutput) ToNotificationDestinationAuthBasicPtrOutputWithContext(ctx context.Context) NotificationDestinationAuthBasicPtrOutput

func (NotificationDestinationAuthBasicPtrOutput) User

The username of the basic auth.

type NotificationDestinationAuthToken

type NotificationDestinationAuthToken struct {
	// The prefix of the token auth.
	Prefix *string `pulumi:"prefix"`
	// Specifies the token for integrating.
	Token string `pulumi:"token"`
}

type NotificationDestinationAuthTokenArgs

type NotificationDestinationAuthTokenArgs struct {
	// The prefix of the token auth.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
	// Specifies the token for integrating.
	Token pulumi.StringInput `pulumi:"token"`
}

func (NotificationDestinationAuthTokenArgs) ElementType

func (NotificationDestinationAuthTokenArgs) ToNotificationDestinationAuthTokenOutput

func (i NotificationDestinationAuthTokenArgs) ToNotificationDestinationAuthTokenOutput() NotificationDestinationAuthTokenOutput

func (NotificationDestinationAuthTokenArgs) ToNotificationDestinationAuthTokenOutputWithContext

func (i NotificationDestinationAuthTokenArgs) ToNotificationDestinationAuthTokenOutputWithContext(ctx context.Context) NotificationDestinationAuthTokenOutput

func (NotificationDestinationAuthTokenArgs) ToNotificationDestinationAuthTokenPtrOutput

func (i NotificationDestinationAuthTokenArgs) ToNotificationDestinationAuthTokenPtrOutput() NotificationDestinationAuthTokenPtrOutput

func (NotificationDestinationAuthTokenArgs) ToNotificationDestinationAuthTokenPtrOutputWithContext

func (i NotificationDestinationAuthTokenArgs) ToNotificationDestinationAuthTokenPtrOutputWithContext(ctx context.Context) NotificationDestinationAuthTokenPtrOutput

type NotificationDestinationAuthTokenInput

type NotificationDestinationAuthTokenInput interface {
	pulumi.Input

	ToNotificationDestinationAuthTokenOutput() NotificationDestinationAuthTokenOutput
	ToNotificationDestinationAuthTokenOutputWithContext(context.Context) NotificationDestinationAuthTokenOutput
}

NotificationDestinationAuthTokenInput is an input type that accepts NotificationDestinationAuthTokenArgs and NotificationDestinationAuthTokenOutput values. You can construct a concrete instance of `NotificationDestinationAuthTokenInput` via:

NotificationDestinationAuthTokenArgs{...}

type NotificationDestinationAuthTokenOutput

type NotificationDestinationAuthTokenOutput struct{ *pulumi.OutputState }

func (NotificationDestinationAuthTokenOutput) ElementType

func (NotificationDestinationAuthTokenOutput) Prefix

The prefix of the token auth.

func (NotificationDestinationAuthTokenOutput) ToNotificationDestinationAuthTokenOutput

func (o NotificationDestinationAuthTokenOutput) ToNotificationDestinationAuthTokenOutput() NotificationDestinationAuthTokenOutput

func (NotificationDestinationAuthTokenOutput) ToNotificationDestinationAuthTokenOutputWithContext

func (o NotificationDestinationAuthTokenOutput) ToNotificationDestinationAuthTokenOutputWithContext(ctx context.Context) NotificationDestinationAuthTokenOutput

func (NotificationDestinationAuthTokenOutput) ToNotificationDestinationAuthTokenPtrOutput

func (o NotificationDestinationAuthTokenOutput) ToNotificationDestinationAuthTokenPtrOutput() NotificationDestinationAuthTokenPtrOutput

func (NotificationDestinationAuthTokenOutput) ToNotificationDestinationAuthTokenPtrOutputWithContext

func (o NotificationDestinationAuthTokenOutput) ToNotificationDestinationAuthTokenPtrOutputWithContext(ctx context.Context) NotificationDestinationAuthTokenPtrOutput

func (NotificationDestinationAuthTokenOutput) Token

Specifies the token for integrating.

type NotificationDestinationAuthTokenPtrInput

type NotificationDestinationAuthTokenPtrInput interface {
	pulumi.Input

	ToNotificationDestinationAuthTokenPtrOutput() NotificationDestinationAuthTokenPtrOutput
	ToNotificationDestinationAuthTokenPtrOutputWithContext(context.Context) NotificationDestinationAuthTokenPtrOutput
}

NotificationDestinationAuthTokenPtrInput is an input type that accepts NotificationDestinationAuthTokenArgs, NotificationDestinationAuthTokenPtr and NotificationDestinationAuthTokenPtrOutput values. You can construct a concrete instance of `NotificationDestinationAuthTokenPtrInput` via:

        NotificationDestinationAuthTokenArgs{...}

or:

        nil

type NotificationDestinationAuthTokenPtrOutput

type NotificationDestinationAuthTokenPtrOutput struct{ *pulumi.OutputState }

func (NotificationDestinationAuthTokenPtrOutput) Elem

func (NotificationDestinationAuthTokenPtrOutput) ElementType

func (NotificationDestinationAuthTokenPtrOutput) Prefix

The prefix of the token auth.

func (NotificationDestinationAuthTokenPtrOutput) ToNotificationDestinationAuthTokenPtrOutput

func (o NotificationDestinationAuthTokenPtrOutput) ToNotificationDestinationAuthTokenPtrOutput() NotificationDestinationAuthTokenPtrOutput

func (NotificationDestinationAuthTokenPtrOutput) ToNotificationDestinationAuthTokenPtrOutputWithContext

func (o NotificationDestinationAuthTokenPtrOutput) ToNotificationDestinationAuthTokenPtrOutputWithContext(ctx context.Context) NotificationDestinationAuthTokenPtrOutput

func (NotificationDestinationAuthTokenPtrOutput) Token

Specifies the token for integrating.

type NotificationDestinationInput

type NotificationDestinationInput interface {
	pulumi.Input

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

type NotificationDestinationMap

type NotificationDestinationMap map[string]NotificationDestinationInput

func (NotificationDestinationMap) ElementType

func (NotificationDestinationMap) ElementType() reflect.Type

func (NotificationDestinationMap) ToNotificationDestinationMapOutput

func (i NotificationDestinationMap) ToNotificationDestinationMapOutput() NotificationDestinationMapOutput

func (NotificationDestinationMap) ToNotificationDestinationMapOutputWithContext

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

type NotificationDestinationMapInput

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

type NotificationDestinationMapOutput struct{ *pulumi.OutputState }

func (NotificationDestinationMapOutput) ElementType

func (NotificationDestinationMapOutput) MapIndex

func (NotificationDestinationMapOutput) ToNotificationDestinationMapOutput

func (o NotificationDestinationMapOutput) ToNotificationDestinationMapOutput() NotificationDestinationMapOutput

func (NotificationDestinationMapOutput) ToNotificationDestinationMapOutputWithContext

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

type NotificationDestinationOutput

type NotificationDestinationOutput struct{ *pulumi.OutputState }

func (NotificationDestinationOutput) AccountId

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

func (NotificationDestinationOutput) Active

Indicates whether the destination is active.

func (NotificationDestinationOutput) AuthBasic

A nested block that describes a basic username and password authentication credentials. Only one authBasic block is permitted per notification destination definition. See Nested authBasic blocks below for details.

func (NotificationDestinationOutput) AuthToken

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

func (NotificationDestinationOutput) ElementType

func (NotificationDestinationOutput) LastSent

The last time a notification was sent.

func (NotificationDestinationOutput) Name

The name of the destination.

func (NotificationDestinationOutput) Properties

A nested block that describes a notification destination property. See Nested property blocks below for details.

func (NotificationDestinationOutput) Status

The status of the destination.

func (NotificationDestinationOutput) ToNotificationDestinationOutput

func (o NotificationDestinationOutput) ToNotificationDestinationOutput() NotificationDestinationOutput

func (NotificationDestinationOutput) ToNotificationDestinationOutputWithContext

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

func (NotificationDestinationOutput) Type

(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).

type NotificationDestinationProperty

type NotificationDestinationProperty struct {
	// The notification property display value.
	DisplayValue *string `pulumi:"displayValue"`
	// The notification property key.
	Key string `pulumi:"key"`
	// The notification property label.
	Label *string `pulumi:"label"`
	// The notification property value.
	Value string `pulumi:"value"`
}

type NotificationDestinationPropertyArgs

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

func (NotificationDestinationPropertyArgs) ElementType

func (NotificationDestinationPropertyArgs) ToNotificationDestinationPropertyOutput

func (i NotificationDestinationPropertyArgs) ToNotificationDestinationPropertyOutput() NotificationDestinationPropertyOutput

func (NotificationDestinationPropertyArgs) ToNotificationDestinationPropertyOutputWithContext

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

type NotificationDestinationPropertyArray

type NotificationDestinationPropertyArray []NotificationDestinationPropertyInput

func (NotificationDestinationPropertyArray) ElementType

func (NotificationDestinationPropertyArray) ToNotificationDestinationPropertyArrayOutput

func (i NotificationDestinationPropertyArray) ToNotificationDestinationPropertyArrayOutput() NotificationDestinationPropertyArrayOutput

func (NotificationDestinationPropertyArray) ToNotificationDestinationPropertyArrayOutputWithContext

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

type NotificationDestinationPropertyArrayInput

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

type NotificationDestinationPropertyArrayOutput struct{ *pulumi.OutputState }

func (NotificationDestinationPropertyArrayOutput) ElementType

func (NotificationDestinationPropertyArrayOutput) Index

func (NotificationDestinationPropertyArrayOutput) ToNotificationDestinationPropertyArrayOutput

func (o NotificationDestinationPropertyArrayOutput) ToNotificationDestinationPropertyArrayOutput() NotificationDestinationPropertyArrayOutput

func (NotificationDestinationPropertyArrayOutput) ToNotificationDestinationPropertyArrayOutputWithContext

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

type NotificationDestinationPropertyInput

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

type NotificationDestinationPropertyOutput struct{ *pulumi.OutputState }

func (NotificationDestinationPropertyOutput) DisplayValue

The notification property display value.

func (NotificationDestinationPropertyOutput) ElementType

func (NotificationDestinationPropertyOutput) Key

The notification property key.

func (NotificationDestinationPropertyOutput) Label

The notification property label.

func (NotificationDestinationPropertyOutput) ToNotificationDestinationPropertyOutput

func (o NotificationDestinationPropertyOutput) ToNotificationDestinationPropertyOutput() NotificationDestinationPropertyOutput

func (NotificationDestinationPropertyOutput) ToNotificationDestinationPropertyOutputWithContext

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

func (NotificationDestinationPropertyOutput) Value

The notification property value.

type NotificationDestinationState

type NotificationDestinationState struct {
	// Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
	AccountId pulumi.IntPtrInput
	// Indicates whether the destination is active.
	Active pulumi.BoolPtrInput
	// A nested block that describes a basic username and password authentication credentials. Only one authBasic block is permitted per notification destination definition.  See Nested authBasic blocks below for details.
	AuthBasic NotificationDestinationAuthBasicPtrInput
	// A nested block that describes a token authentication credentials. Only one authToken block is permitted per notification destination definition.  See Nested authToken blocks below for details.
	AuthToken NotificationDestinationAuthTokenPtrInput
	// The last time a notification was sent.
	LastSent pulumi.StringPtrInput
	// The name of the destination.
	Name pulumi.StringPtrInput
	// A nested block that describes a notification destination property. See Nested property blocks below for details.
	Properties NotificationDestinationPropertyArrayInput
	// The status of the destination.
	Status pulumi.StringPtrInput
	// (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION,
	// PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).
	Type pulumi.StringPtrInput
}

func (NotificationDestinationState) ElementType

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 incidents. 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 900 seconds (15 minutes). 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 incidents 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"`
	// How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes).
	EvaluationDelay pulumi.IntPtrOutput `pulumi:"evaluationDelay"`
	// The amount of time (in seconds) to wait before considering the signal expired. The value must be at least 30 seconds, and no more than 172800 seconds (48 hours).
	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 incident 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 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` or `baseline`. Defaults to `static`.
	Type pulumi.StringPtrOutput `pulumi:"type"`
	// **DEPRECATED:** Use `violationTimeLimitSeconds` instead. Sets a time limit, in hours, that will automatically force-close a long-lasting incident 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 incident 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 incidents 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 an incident. <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 an incident. - `thresholdDuration` - (Optional) The duration, in seconds, that the threshold must violate in order to create an incident. 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-86400 seconds (inclusive). <br>For _static_ NRQL alert conditions, the value must be within 60-86400 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 an incident. 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/v5/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: &newrelic.NrqlAlertConditionNrqlArgs{
				Query: pulumi.String("SELECT average(duration) FROM Transaction where appName = 'Your App'"),
			},
			Critical: &newrelic.NrqlAlertConditionCriticalArgs{
				Operator:             pulumi.String("above"),
				Threshold:            pulumi.Float64(5.5),
				ThresholdDuration:    pulumi.Int(300),
				ThresholdOccurrences: pulumi.String("ALL"),
			},
			Warning: &newrelic.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
	})
}

```

## 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/v5/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),
			ViolationTimeLimit: pulumi.String("TWENTY_FOUR_HOURS"),
			Critical: &newrelic.NrqlAlertConditionCriticalArgs{
				Operator:             pulumi.String("above"),
				ThresholdDuration:    pulumi.Int(120),
				Threshold:            pulumi.Float64(3),
				ThresholdOccurrences: pulumi.String("AT_LEAST_ONCE"),
			},
			Nrql: &newrelic.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/v5/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),
			ViolationTimeLimitSeconds: pulumi.Int(86400),
			Terms: newrelic.NrqlAlertConditionTermArray{
				&newrelic.NrqlAlertConditionTermArgs{
					Priority:     pulumi.String("critical"),
					Operator:     pulumi.String("above"),
					Threshold:    pulumi.Float64(3),
					Duration:     pulumi.Int(5),
					TimeFunction: pulumi.String("any"),
				},
			},
			Nrql: &newrelic.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

```

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 incidents. 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 900 seconds (15 minutes). 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 incidents 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
	// How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes).
	EvaluationDelay pulumi.IntPtrInput
	// The amount of time (in seconds) to wait before considering the signal expired. The value must be at least 30 seconds, and no more than 172800 seconds (48 hours).
	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 incident 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 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` or `baseline`. Defaults to `static`.
	Type pulumi.StringPtrInput
	// **DEPRECATED:** Use `violationTimeLimitSeconds` instead. Sets a time limit, in hours, that will automatically force-close a long-lasting incident 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 incident 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 `threshold_duration` attribute instead
	Duration             *int    `pulumi:"duration"`
	Operator             *string `pulumi:"operator"`
	Threshold            float64 `pulumi:"threshold"`
	ThresholdDuration    *int    `pulumi:"thresholdDuration"`
	ThresholdOccurrences *string `pulumi:"thresholdOccurrences"`
	// Deprecated: use `threshold_occurrences` attribute instead
	TimeFunction *string `pulumi:"timeFunction"`
}

type NrqlAlertConditionCriticalArgs

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

func (NrqlAlertConditionCriticalArgs) ElementType

func (NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalOutput

func (i NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalOutput() NrqlAlertConditionCriticalOutput

func (NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalOutputWithContext

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

func (NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalPtrOutput

func (i NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalPtrOutput() NrqlAlertConditionCriticalPtrOutput

func (NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalPtrOutputWithContext

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

type NrqlAlertConditionCriticalInput

type NrqlAlertConditionCriticalInput interface {
	pulumi.Input

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

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

NrqlAlertConditionCriticalArgs{...}

type NrqlAlertConditionCriticalOutput

type NrqlAlertConditionCriticalOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionCriticalOutput) Duration deprecated

Deprecated: use `threshold_duration` attribute instead

func (NrqlAlertConditionCriticalOutput) ElementType

func (NrqlAlertConditionCriticalOutput) Operator

func (NrqlAlertConditionCriticalOutput) Threshold

func (NrqlAlertConditionCriticalOutput) ThresholdDuration

func (NrqlAlertConditionCriticalOutput) ThresholdOccurrences

func (o NrqlAlertConditionCriticalOutput) ThresholdOccurrences() pulumi.StringPtrOutput

func (NrqlAlertConditionCriticalOutput) TimeFunction deprecated

Deprecated: use `threshold_occurrences` attribute instead

func (NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalOutput

func (o NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalOutput() NrqlAlertConditionCriticalOutput

func (NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalOutputWithContext

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

func (NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalPtrOutput

func (o NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalPtrOutput() NrqlAlertConditionCriticalPtrOutput

func (NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalPtrOutputWithContext

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

type NrqlAlertConditionCriticalPtrInput

type NrqlAlertConditionCriticalPtrInput interface {
	pulumi.Input

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

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

        NrqlAlertConditionCriticalArgs{...}

or:

        nil

type NrqlAlertConditionCriticalPtrOutput

type NrqlAlertConditionCriticalPtrOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionCriticalPtrOutput) Duration deprecated

Deprecated: use `threshold_duration` attribute instead

func (NrqlAlertConditionCriticalPtrOutput) Elem

func (NrqlAlertConditionCriticalPtrOutput) ElementType

func (NrqlAlertConditionCriticalPtrOutput) Operator

func (NrqlAlertConditionCriticalPtrOutput) Threshold

func (NrqlAlertConditionCriticalPtrOutput) ThresholdDuration

func (NrqlAlertConditionCriticalPtrOutput) ThresholdOccurrences

func (NrqlAlertConditionCriticalPtrOutput) TimeFunction deprecated

Deprecated: use `threshold_occurrences` attribute instead

func (NrqlAlertConditionCriticalPtrOutput) ToNrqlAlertConditionCriticalPtrOutput

func (o NrqlAlertConditionCriticalPtrOutput) ToNrqlAlertConditionCriticalPtrOutput() NrqlAlertConditionCriticalPtrOutput

func (NrqlAlertConditionCriticalPtrOutput) ToNrqlAlertConditionCriticalPtrOutputWithContext

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

type NrqlAlertConditionInput

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 {
	// Deprecated: use `aggregation_method` attribute instead
	EvaluationOffset *int   `pulumi:"evaluationOffset"`
	Query            string `pulumi:"query"`
	// Deprecated: use `aggregation_method` attribute instead
	SinceValue *string `pulumi:"sinceValue"`
}

type NrqlAlertConditionNrqlArgs

type NrqlAlertConditionNrqlArgs struct {
	// Deprecated: use `aggregation_method` attribute instead
	EvaluationOffset pulumi.IntPtrInput `pulumi:"evaluationOffset"`
	Query            pulumi.StringInput `pulumi:"query"`
	// 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

Deprecated: use `aggregation_method` attribute instead

func (NrqlAlertConditionNrqlOutput) Query

func (NrqlAlertConditionNrqlOutput) SinceValue deprecated

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

Deprecated: use `aggregation_method` attribute instead

func (NrqlAlertConditionNrqlPtrOutput) Query

func (NrqlAlertConditionNrqlPtrOutput) SinceValue deprecated

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

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

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

func (o NrqlAlertConditionOutput) AggregationMethod() pulumi.StringPtrOutput

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

func (NrqlAlertConditionOutput) AggregationTimer

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

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 900 seconds (15 minutes). Default is 60 seconds.

func (NrqlAlertConditionOutput) BaselineDirection

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

func (o NrqlAlertConditionOutput) CloseViolationsOnExpiration() pulumi.BoolPtrOutput

Whether to close all open incidents when the signal expires.

func (NrqlAlertConditionOutput) Critical

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

func (NrqlAlertConditionOutput) Description

The description of the NRQL alert condition.

func (NrqlAlertConditionOutput) ElementType

func (NrqlAlertConditionOutput) ElementType() reflect.Type

func (NrqlAlertConditionOutput) Enabled

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

func (NrqlAlertConditionOutput) EntityGuid

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

func (NrqlAlertConditionOutput) EvaluationDelay added in v5.4.0

func (o NrqlAlertConditionOutput) EvaluationDelay() pulumi.IntPtrOutput

How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes).

func (NrqlAlertConditionOutput) ExpirationDuration

func (o NrqlAlertConditionOutput) ExpirationDuration() pulumi.IntPtrOutput

The amount of time (in seconds) to wait before considering the signal expired. The value must be at least 30 seconds, and no more than 172800 seconds (48 hours).

func (NrqlAlertConditionOutput) FillOption

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

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

func (NrqlAlertConditionOutput) Name

The title of the condition.

func (NrqlAlertConditionOutput) Nrql

A NRQL query. See NRQL below for details.

func (NrqlAlertConditionOutput) OpenViolationOnExpiration

func (o NrqlAlertConditionOutput) OpenViolationOnExpiration() pulumi.BoolPtrOutput

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

func (NrqlAlertConditionOutput) PolicyId

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

func (NrqlAlertConditionOutput) RunbookUrl

Runbook URL to display in notifications.

func (NrqlAlertConditionOutput) SlideBy

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

func (NrqlAlertConditionOutput) Terms deprecated

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

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

func (NrqlAlertConditionOutput) ViolationTimeLimit deprecated

func (o NrqlAlertConditionOutput) ViolationTimeLimit() pulumi.StringOutput

**DEPRECATED:** Use `violationTimeLimitSeconds` instead. Sets a time limit, in hours, that will automatically force-close a long-lasting incident 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

func (o NrqlAlertConditionOutput) ViolationTimeLimitSeconds() pulumi.IntPtrOutput

Sets a time limit, in seconds, that will automatically force-close a long-lasting incident 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

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 incidents. 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 900 seconds (15 minutes). 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 incidents 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
	// How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes).
	EvaluationDelay pulumi.IntPtrInput
	// The amount of time (in seconds) to wait before considering the signal expired. The value must be at least 30 seconds, and no more than 172800 seconds (48 hours).
	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 incident 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 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` or `baseline`. Defaults to `static`.
	Type pulumi.StringPtrInput
	// **DEPRECATED:** Use `violationTimeLimitSeconds` instead. Sets a time limit, in hours, that will automatically force-close a long-lasting incident 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 incident 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 `threshold_duration` attribute instead
	Duration             *int    `pulumi:"duration"`
	Operator             *string `pulumi:"operator"`
	Priority             *string `pulumi:"priority"`
	Threshold            float64 `pulumi:"threshold"`
	ThresholdDuration    *int    `pulumi:"thresholdDuration"`
	ThresholdOccurrences *string `pulumi:"thresholdOccurrences"`
	// Deprecated: use `threshold_occurrences` attribute instead
	TimeFunction *string `pulumi:"timeFunction"`
}

type NrqlAlertConditionTermArgs

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

func (NrqlAlertConditionTermArgs) ElementType

func (NrqlAlertConditionTermArgs) ElementType() reflect.Type

func (NrqlAlertConditionTermArgs) ToNrqlAlertConditionTermOutput

func (i NrqlAlertConditionTermArgs) ToNrqlAlertConditionTermOutput() NrqlAlertConditionTermOutput

func (NrqlAlertConditionTermArgs) ToNrqlAlertConditionTermOutputWithContext

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

type NrqlAlertConditionTermArray

type NrqlAlertConditionTermArray []NrqlAlertConditionTermInput

func (NrqlAlertConditionTermArray) ElementType

func (NrqlAlertConditionTermArray) ToNrqlAlertConditionTermArrayOutput

func (i NrqlAlertConditionTermArray) ToNrqlAlertConditionTermArrayOutput() NrqlAlertConditionTermArrayOutput

func (NrqlAlertConditionTermArray) ToNrqlAlertConditionTermArrayOutputWithContext

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

type NrqlAlertConditionTermArrayInput

type NrqlAlertConditionTermArrayInput interface {
	pulumi.Input

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

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

NrqlAlertConditionTermArray{ NrqlAlertConditionTermArgs{...} }

type NrqlAlertConditionTermArrayOutput

type NrqlAlertConditionTermArrayOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionTermArrayOutput) ElementType

func (NrqlAlertConditionTermArrayOutput) Index

func (NrqlAlertConditionTermArrayOutput) ToNrqlAlertConditionTermArrayOutput

func (o NrqlAlertConditionTermArrayOutput) ToNrqlAlertConditionTermArrayOutput() NrqlAlertConditionTermArrayOutput

func (NrqlAlertConditionTermArrayOutput) ToNrqlAlertConditionTermArrayOutputWithContext

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

type NrqlAlertConditionTermInput

type NrqlAlertConditionTermInput interface {
	pulumi.Input

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

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

NrqlAlertConditionTermArgs{...}

type NrqlAlertConditionTermOutput

type NrqlAlertConditionTermOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionTermOutput) Duration deprecated

Deprecated: use `threshold_duration` attribute instead

func (NrqlAlertConditionTermOutput) ElementType

func (NrqlAlertConditionTermOutput) Operator

func (NrqlAlertConditionTermOutput) Priority

func (NrqlAlertConditionTermOutput) Threshold

func (NrqlAlertConditionTermOutput) ThresholdDuration

func (o NrqlAlertConditionTermOutput) ThresholdDuration() pulumi.IntPtrOutput

func (NrqlAlertConditionTermOutput) ThresholdOccurrences

func (o NrqlAlertConditionTermOutput) ThresholdOccurrences() pulumi.StringPtrOutput

func (NrqlAlertConditionTermOutput) TimeFunction deprecated

Deprecated: use `threshold_occurrences` attribute instead

func (NrqlAlertConditionTermOutput) ToNrqlAlertConditionTermOutput

func (o NrqlAlertConditionTermOutput) ToNrqlAlertConditionTermOutput() NrqlAlertConditionTermOutput

func (NrqlAlertConditionTermOutput) ToNrqlAlertConditionTermOutputWithContext

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

type NrqlAlertConditionWarning

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

type NrqlAlertConditionWarningArgs

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

func (NrqlAlertConditionWarningArgs) ElementType

func (NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningOutput

func (i NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningOutput() NrqlAlertConditionWarningOutput

func (NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningOutputWithContext

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

func (NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningPtrOutput

func (i NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningPtrOutput() NrqlAlertConditionWarningPtrOutput

func (NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningPtrOutputWithContext

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

type NrqlAlertConditionWarningInput

type NrqlAlertConditionWarningInput interface {
	pulumi.Input

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

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

NrqlAlertConditionWarningArgs{...}

type NrqlAlertConditionWarningOutput

type NrqlAlertConditionWarningOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionWarningOutput) Duration deprecated

Deprecated: use `threshold_duration` attribute instead

func (NrqlAlertConditionWarningOutput) ElementType

func (NrqlAlertConditionWarningOutput) Operator

func (NrqlAlertConditionWarningOutput) Threshold

func (NrqlAlertConditionWarningOutput) ThresholdDuration

func (o NrqlAlertConditionWarningOutput) ThresholdDuration() pulumi.IntPtrOutput

func (NrqlAlertConditionWarningOutput) ThresholdOccurrences

func (o NrqlAlertConditionWarningOutput) ThresholdOccurrences() pulumi.StringPtrOutput

func (NrqlAlertConditionWarningOutput) TimeFunction deprecated

Deprecated: use `threshold_occurrences` attribute instead

func (NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningOutput

func (o NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningOutput() NrqlAlertConditionWarningOutput

func (NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningOutputWithContext

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

func (NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningPtrOutput

func (o NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningPtrOutput() NrqlAlertConditionWarningPtrOutput

func (NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningPtrOutputWithContext

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

type NrqlAlertConditionWarningPtrInput

type NrqlAlertConditionWarningPtrInput interface {
	pulumi.Input

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

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

        NrqlAlertConditionWarningArgs{...}

or:

        nil

type NrqlAlertConditionWarningPtrOutput

type NrqlAlertConditionWarningPtrOutput struct{ *pulumi.OutputState }

func (NrqlAlertConditionWarningPtrOutput) Duration deprecated

Deprecated: use `threshold_duration` attribute instead

func (NrqlAlertConditionWarningPtrOutput) Elem

func (NrqlAlertConditionWarningPtrOutput) ElementType

func (NrqlAlertConditionWarningPtrOutput) Operator

func (NrqlAlertConditionWarningPtrOutput) Threshold

func (NrqlAlertConditionWarningPtrOutput) ThresholdDuration

func (NrqlAlertConditionWarningPtrOutput) ThresholdOccurrences

func (NrqlAlertConditionWarningPtrOutput) TimeFunction deprecated

Deprecated: use `threshold_occurrences` attribute instead

func (NrqlAlertConditionWarningPtrOutput) ToNrqlAlertConditionWarningPtrOutput

func (o NrqlAlertConditionWarningPtrOutput) ToNrqlAlertConditionWarningPtrOutput() NrqlAlertConditionWarningPtrOutput

func (NrqlAlertConditionWarningPtrOutput) ToNrqlAlertConditionWarningPtrOutputWithContext

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

type 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/v5/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

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

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

func (NrqlDropRuleOutput) Description

func (o NrqlDropRuleOutput) Description() pulumi.StringPtrOutput

The description of the drop rule.

func (NrqlDropRuleOutput) ElementType

func (NrqlDropRuleOutput) ElementType() reflect.Type

func (NrqlDropRuleOutput) Nrql

A NRQL string that specifies what data types to drop.

func (NrqlDropRuleOutput) RuleId

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 ObfuscationExpression added in v5.2.0

type ObfuscationExpression struct {
	pulumi.CustomResourceState

	// The account id associated with the obfuscation expression.
	AccountId pulumi.IntOutput `pulumi:"accountId"`
	// Description of expression.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Name of expression.
	Name pulumi.StringOutput `pulumi:"name"`
	// Regex of expression. Must be wrapped in parentheses, e.g. (regex.*).
	Regex pulumi.StringOutput `pulumi:"regex"`
}

Use this resource to create, update and delete New Relic Obfuscation Expressions.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewObfuscationExpression(ctx, "foo", &newrelic.ObfuscationExpressionArgs{
			AccountId:   pulumi.Int(12345),
			Description: pulumi.String("The description"),
			Regex:       pulumi.String("(regex.*)"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

New Relic obfuscation expression can be imported using the expression ID, e.g. bash

```sh

$ pulumi import newrelic:index/obfuscationExpression:ObfuscationExpression foo 34567

```

func GetObfuscationExpression added in v5.2.0

func GetObfuscationExpression(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ObfuscationExpressionState, opts ...pulumi.ResourceOption) (*ObfuscationExpression, error)

GetObfuscationExpression gets an existing ObfuscationExpression 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 NewObfuscationExpression added in v5.2.0

func NewObfuscationExpression(ctx *pulumi.Context,
	name string, args *ObfuscationExpressionArgs, opts ...pulumi.ResourceOption) (*ObfuscationExpression, error)

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

func (*ObfuscationExpression) ElementType added in v5.2.0

func (*ObfuscationExpression) ElementType() reflect.Type

func (*ObfuscationExpression) ToObfuscationExpressionOutput added in v5.2.0

func (i *ObfuscationExpression) ToObfuscationExpressionOutput() ObfuscationExpressionOutput

func (*ObfuscationExpression) ToObfuscationExpressionOutputWithContext added in v5.2.0

func (i *ObfuscationExpression) ToObfuscationExpressionOutputWithContext(ctx context.Context) ObfuscationExpressionOutput

type ObfuscationExpressionArgs added in v5.2.0

type ObfuscationExpressionArgs struct {
	// The account id associated with the obfuscation expression.
	AccountId pulumi.IntPtrInput
	// Description of expression.
	Description pulumi.StringPtrInput
	// Name of expression.
	Name pulumi.StringPtrInput
	// Regex of expression. Must be wrapped in parentheses, e.g. (regex.*).
	Regex pulumi.StringInput
}

The set of arguments for constructing a ObfuscationExpression resource.

func (ObfuscationExpressionArgs) ElementType added in v5.2.0

func (ObfuscationExpressionArgs) ElementType() reflect.Type

type ObfuscationExpressionArray added in v5.2.0

type ObfuscationExpressionArray []ObfuscationExpressionInput

func (ObfuscationExpressionArray) ElementType added in v5.2.0

func (ObfuscationExpressionArray) ElementType() reflect.Type

func (ObfuscationExpressionArray) ToObfuscationExpressionArrayOutput added in v5.2.0

func (i ObfuscationExpressionArray) ToObfuscationExpressionArrayOutput() ObfuscationExpressionArrayOutput

func (ObfuscationExpressionArray) ToObfuscationExpressionArrayOutputWithContext added in v5.2.0

func (i ObfuscationExpressionArray) ToObfuscationExpressionArrayOutputWithContext(ctx context.Context) ObfuscationExpressionArrayOutput

type ObfuscationExpressionArrayInput added in v5.2.0

type ObfuscationExpressionArrayInput interface {
	pulumi.Input

	ToObfuscationExpressionArrayOutput() ObfuscationExpressionArrayOutput
	ToObfuscationExpressionArrayOutputWithContext(context.Context) ObfuscationExpressionArrayOutput
}

ObfuscationExpressionArrayInput is an input type that accepts ObfuscationExpressionArray and ObfuscationExpressionArrayOutput values. You can construct a concrete instance of `ObfuscationExpressionArrayInput` via:

ObfuscationExpressionArray{ ObfuscationExpressionArgs{...} }

type ObfuscationExpressionArrayOutput added in v5.2.0

type ObfuscationExpressionArrayOutput struct{ *pulumi.OutputState }

func (ObfuscationExpressionArrayOutput) ElementType added in v5.2.0

func (ObfuscationExpressionArrayOutput) Index added in v5.2.0

func (ObfuscationExpressionArrayOutput) ToObfuscationExpressionArrayOutput added in v5.2.0

func (o ObfuscationExpressionArrayOutput) ToObfuscationExpressionArrayOutput() ObfuscationExpressionArrayOutput

func (ObfuscationExpressionArrayOutput) ToObfuscationExpressionArrayOutputWithContext added in v5.2.0

func (o ObfuscationExpressionArrayOutput) ToObfuscationExpressionArrayOutputWithContext(ctx context.Context) ObfuscationExpressionArrayOutput

type ObfuscationExpressionInput added in v5.2.0

type ObfuscationExpressionInput interface {
	pulumi.Input

	ToObfuscationExpressionOutput() ObfuscationExpressionOutput
	ToObfuscationExpressionOutputWithContext(ctx context.Context) ObfuscationExpressionOutput
}

type ObfuscationExpressionMap added in v5.2.0

type ObfuscationExpressionMap map[string]ObfuscationExpressionInput

func (ObfuscationExpressionMap) ElementType added in v5.2.0

func (ObfuscationExpressionMap) ElementType() reflect.Type

func (ObfuscationExpressionMap) ToObfuscationExpressionMapOutput added in v5.2.0

func (i ObfuscationExpressionMap) ToObfuscationExpressionMapOutput() ObfuscationExpressionMapOutput

func (ObfuscationExpressionMap) ToObfuscationExpressionMapOutputWithContext added in v5.2.0

func (i ObfuscationExpressionMap) ToObfuscationExpressionMapOutputWithContext(ctx context.Context) ObfuscationExpressionMapOutput

type ObfuscationExpressionMapInput added in v5.2.0

type ObfuscationExpressionMapInput interface {
	pulumi.Input

	ToObfuscationExpressionMapOutput() ObfuscationExpressionMapOutput
	ToObfuscationExpressionMapOutputWithContext(context.Context) ObfuscationExpressionMapOutput
}

ObfuscationExpressionMapInput is an input type that accepts ObfuscationExpressionMap and ObfuscationExpressionMapOutput values. You can construct a concrete instance of `ObfuscationExpressionMapInput` via:

ObfuscationExpressionMap{ "key": ObfuscationExpressionArgs{...} }

type ObfuscationExpressionMapOutput added in v5.2.0

type ObfuscationExpressionMapOutput struct{ *pulumi.OutputState }

func (ObfuscationExpressionMapOutput) ElementType added in v5.2.0

func (ObfuscationExpressionMapOutput) MapIndex added in v5.2.0

func (ObfuscationExpressionMapOutput) ToObfuscationExpressionMapOutput added in v5.2.0

func (o ObfuscationExpressionMapOutput) ToObfuscationExpressionMapOutput() ObfuscationExpressionMapOutput

func (ObfuscationExpressionMapOutput) ToObfuscationExpressionMapOutputWithContext added in v5.2.0

func (o ObfuscationExpressionMapOutput) ToObfuscationExpressionMapOutputWithContext(ctx context.Context) ObfuscationExpressionMapOutput

type ObfuscationExpressionOutput added in v5.2.0

type ObfuscationExpressionOutput struct{ *pulumi.OutputState }

func (ObfuscationExpressionOutput) AccountId added in v5.2.0

The account id associated with the obfuscation expression.

func (ObfuscationExpressionOutput) Description added in v5.2.0

Description of expression.

func (ObfuscationExpressionOutput) ElementType added in v5.2.0

func (ObfuscationExpressionOutput) Name added in v5.2.0

Name of expression.

func (ObfuscationExpressionOutput) Regex added in v5.2.0

Regex of expression. Must be wrapped in parentheses, e.g. (regex.*).

func (ObfuscationExpressionOutput) ToObfuscationExpressionOutput added in v5.2.0

func (o ObfuscationExpressionOutput) ToObfuscationExpressionOutput() ObfuscationExpressionOutput

func (ObfuscationExpressionOutput) ToObfuscationExpressionOutputWithContext added in v5.2.0

func (o ObfuscationExpressionOutput) ToObfuscationExpressionOutputWithContext(ctx context.Context) ObfuscationExpressionOutput

type ObfuscationExpressionState added in v5.2.0

type ObfuscationExpressionState struct {
	// The account id associated with the obfuscation expression.
	AccountId pulumi.IntPtrInput
	// Description of expression.
	Description pulumi.StringPtrInput
	// Name of expression.
	Name pulumi.StringPtrInput
	// Regex of expression. Must be wrapped in parentheses, e.g. (regex.*).
	Regex pulumi.StringPtrInput
}

func (ObfuscationExpressionState) ElementType added in v5.2.0

func (ObfuscationExpressionState) ElementType() reflect.Type

type ObfuscationRule added in v5.2.0

type ObfuscationRule struct {
	pulumi.CustomResourceState

	// The account id associated with the obfuscation rule.
	AccountId pulumi.IntOutput `pulumi:"accountId"`
	// Actions for the rule. The actions will be applied in the order specified by this list.
	Actions ObfuscationRuleActionArrayOutput `pulumi:"actions"`
	// Description of rule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Whether the rule should be applied or not to incoming data.
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// NRQL for determining whether a given log record should have obfuscation actions applied.
	Filter pulumi.StringOutput `pulumi:"filter"`
	// Name of rule.
	Name pulumi.StringOutput `pulumi:"name"`
}

Use this resource to create, update and delete New Relic Obfuscation Rule.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		bar, err := newrelic.NewObfuscationExpression(ctx, "bar", &newrelic.ObfuscationExpressionArgs{
			Description: pulumi.String("description of the expression"),
			Regex:       pulumi.String("(^http)"),
		})
		if err != nil {
			return err
		}
		_, err = newrelic.NewObfuscationRule(ctx, "foo", &newrelic.ObfuscationRuleArgs{
			Description: pulumi.String("description of the rule"),
			Filter:      pulumi.String("hostStatus=running"),
			Enabled:     pulumi.Bool(true),
			Actions: newrelic.ObfuscationRuleActionArray{
				&newrelic.ObfuscationRuleActionArgs{
					Attributes: pulumi.StringArray{
						pulumi.String("message"),
					},
					ExpressionId: bar.ID(),
					Method:       pulumi.String("MASK"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

New Relic obfuscation rule can be imported using the rule ID, e.g. bash

```sh

$ pulumi import newrelic:index/obfuscationRule:ObfuscationRule foo 34567

```

func GetObfuscationRule added in v5.2.0

func GetObfuscationRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ObfuscationRuleState, opts ...pulumi.ResourceOption) (*ObfuscationRule, error)

GetObfuscationRule gets an existing ObfuscationRule 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 NewObfuscationRule added in v5.2.0

func NewObfuscationRule(ctx *pulumi.Context,
	name string, args *ObfuscationRuleArgs, opts ...pulumi.ResourceOption) (*ObfuscationRule, error)

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

func (*ObfuscationRule) ElementType added in v5.2.0

func (*ObfuscationRule) ElementType() reflect.Type

func (*ObfuscationRule) ToObfuscationRuleOutput added in v5.2.0

func (i *ObfuscationRule) ToObfuscationRuleOutput() ObfuscationRuleOutput

func (*ObfuscationRule) ToObfuscationRuleOutputWithContext added in v5.2.0

func (i *ObfuscationRule) ToObfuscationRuleOutputWithContext(ctx context.Context) ObfuscationRuleOutput

type ObfuscationRuleAction added in v5.2.0

type ObfuscationRuleAction struct {
	// Attribute names for action. An empty list applies the action to all the attributes.
	Attributes []string `pulumi:"attributes"`
	// Expression Id for action.
	ExpressionId string `pulumi:"expressionId"`
	// Obfuscation method to use. Methods for replacing obfuscated values are `HASH_SHA256` and `MASK`.
	Method string `pulumi:"method"`
}

type ObfuscationRuleActionArgs added in v5.2.0

type ObfuscationRuleActionArgs struct {
	// Attribute names for action. An empty list applies the action to all the attributes.
	Attributes pulumi.StringArrayInput `pulumi:"attributes"`
	// Expression Id for action.
	ExpressionId pulumi.StringInput `pulumi:"expressionId"`
	// Obfuscation method to use. Methods for replacing obfuscated values are `HASH_SHA256` and `MASK`.
	Method pulumi.StringInput `pulumi:"method"`
}

func (ObfuscationRuleActionArgs) ElementType added in v5.2.0

func (ObfuscationRuleActionArgs) ElementType() reflect.Type

func (ObfuscationRuleActionArgs) ToObfuscationRuleActionOutput added in v5.2.0

func (i ObfuscationRuleActionArgs) ToObfuscationRuleActionOutput() ObfuscationRuleActionOutput

func (ObfuscationRuleActionArgs) ToObfuscationRuleActionOutputWithContext added in v5.2.0

func (i ObfuscationRuleActionArgs) ToObfuscationRuleActionOutputWithContext(ctx context.Context) ObfuscationRuleActionOutput

type ObfuscationRuleActionArray added in v5.2.0

type ObfuscationRuleActionArray []ObfuscationRuleActionInput

func (ObfuscationRuleActionArray) ElementType added in v5.2.0

func (ObfuscationRuleActionArray) ElementType() reflect.Type

func (ObfuscationRuleActionArray) ToObfuscationRuleActionArrayOutput added in v5.2.0

func (i ObfuscationRuleActionArray) ToObfuscationRuleActionArrayOutput() ObfuscationRuleActionArrayOutput

func (ObfuscationRuleActionArray) ToObfuscationRuleActionArrayOutputWithContext added in v5.2.0

func (i ObfuscationRuleActionArray) ToObfuscationRuleActionArrayOutputWithContext(ctx context.Context) ObfuscationRuleActionArrayOutput

type ObfuscationRuleActionArrayInput added in v5.2.0

type ObfuscationRuleActionArrayInput interface {
	pulumi.Input

	ToObfuscationRuleActionArrayOutput() ObfuscationRuleActionArrayOutput
	ToObfuscationRuleActionArrayOutputWithContext(context.Context) ObfuscationRuleActionArrayOutput
}

ObfuscationRuleActionArrayInput is an input type that accepts ObfuscationRuleActionArray and ObfuscationRuleActionArrayOutput values. You can construct a concrete instance of `ObfuscationRuleActionArrayInput` via:

ObfuscationRuleActionArray{ ObfuscationRuleActionArgs{...} }

type ObfuscationRuleActionArrayOutput added in v5.2.0

type ObfuscationRuleActionArrayOutput struct{ *pulumi.OutputState }

func (ObfuscationRuleActionArrayOutput) ElementType added in v5.2.0

func (ObfuscationRuleActionArrayOutput) Index added in v5.2.0

func (ObfuscationRuleActionArrayOutput) ToObfuscationRuleActionArrayOutput added in v5.2.0

func (o ObfuscationRuleActionArrayOutput) ToObfuscationRuleActionArrayOutput() ObfuscationRuleActionArrayOutput

func (ObfuscationRuleActionArrayOutput) ToObfuscationRuleActionArrayOutputWithContext added in v5.2.0

func (o ObfuscationRuleActionArrayOutput) ToObfuscationRuleActionArrayOutputWithContext(ctx context.Context) ObfuscationRuleActionArrayOutput

type ObfuscationRuleActionInput added in v5.2.0

type ObfuscationRuleActionInput interface {
	pulumi.Input

	ToObfuscationRuleActionOutput() ObfuscationRuleActionOutput
	ToObfuscationRuleActionOutputWithContext(context.Context) ObfuscationRuleActionOutput
}

ObfuscationRuleActionInput is an input type that accepts ObfuscationRuleActionArgs and ObfuscationRuleActionOutput values. You can construct a concrete instance of `ObfuscationRuleActionInput` via:

ObfuscationRuleActionArgs{...}

type ObfuscationRuleActionOutput added in v5.2.0

type ObfuscationRuleActionOutput struct{ *pulumi.OutputState }

func (ObfuscationRuleActionOutput) Attributes added in v5.2.0

Attribute names for action. An empty list applies the action to all the attributes.

func (ObfuscationRuleActionOutput) ElementType added in v5.2.0

func (ObfuscationRuleActionOutput) ExpressionId added in v5.2.0

Expression Id for action.

func (ObfuscationRuleActionOutput) Method added in v5.2.0

Obfuscation method to use. Methods for replacing obfuscated values are `HASH_SHA256` and `MASK`.

func (ObfuscationRuleActionOutput) ToObfuscationRuleActionOutput added in v5.2.0

func (o ObfuscationRuleActionOutput) ToObfuscationRuleActionOutput() ObfuscationRuleActionOutput

func (ObfuscationRuleActionOutput) ToObfuscationRuleActionOutputWithContext added in v5.2.0

func (o ObfuscationRuleActionOutput) ToObfuscationRuleActionOutputWithContext(ctx context.Context) ObfuscationRuleActionOutput

type ObfuscationRuleArgs added in v5.2.0

type ObfuscationRuleArgs struct {
	// The account id associated with the obfuscation rule.
	AccountId pulumi.IntPtrInput
	// Actions for the rule. The actions will be applied in the order specified by this list.
	Actions ObfuscationRuleActionArrayInput
	// Description of rule.
	Description pulumi.StringPtrInput
	// Whether the rule should be applied or not to incoming data.
	Enabled pulumi.BoolInput
	// NRQL for determining whether a given log record should have obfuscation actions applied.
	Filter pulumi.StringInput
	// Name of rule.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a ObfuscationRule resource.

func (ObfuscationRuleArgs) ElementType added in v5.2.0

func (ObfuscationRuleArgs) ElementType() reflect.Type

type ObfuscationRuleArray added in v5.2.0

type ObfuscationRuleArray []ObfuscationRuleInput

func (ObfuscationRuleArray) ElementType added in v5.2.0

func (ObfuscationRuleArray) ElementType() reflect.Type

func (ObfuscationRuleArray) ToObfuscationRuleArrayOutput added in v5.2.0

func (i ObfuscationRuleArray) ToObfuscationRuleArrayOutput() ObfuscationRuleArrayOutput

func (ObfuscationRuleArray) ToObfuscationRuleArrayOutputWithContext added in v5.2.0

func (i ObfuscationRuleArray) ToObfuscationRuleArrayOutputWithContext(ctx context.Context) ObfuscationRuleArrayOutput

type ObfuscationRuleArrayInput added in v5.2.0

type ObfuscationRuleArrayInput interface {
	pulumi.Input

	ToObfuscationRuleArrayOutput() ObfuscationRuleArrayOutput
	ToObfuscationRuleArrayOutputWithContext(context.Context) ObfuscationRuleArrayOutput
}

ObfuscationRuleArrayInput is an input type that accepts ObfuscationRuleArray and ObfuscationRuleArrayOutput values. You can construct a concrete instance of `ObfuscationRuleArrayInput` via:

ObfuscationRuleArray{ ObfuscationRuleArgs{...} }

type ObfuscationRuleArrayOutput added in v5.2.0

type ObfuscationRuleArrayOutput struct{ *pulumi.OutputState }

func (ObfuscationRuleArrayOutput) ElementType added in v5.2.0

func (ObfuscationRuleArrayOutput) ElementType() reflect.Type

func (ObfuscationRuleArrayOutput) Index added in v5.2.0

func (ObfuscationRuleArrayOutput) ToObfuscationRuleArrayOutput added in v5.2.0

func (o ObfuscationRuleArrayOutput) ToObfuscationRuleArrayOutput() ObfuscationRuleArrayOutput

func (ObfuscationRuleArrayOutput) ToObfuscationRuleArrayOutputWithContext added in v5.2.0

func (o ObfuscationRuleArrayOutput) ToObfuscationRuleArrayOutputWithContext(ctx context.Context) ObfuscationRuleArrayOutput

type ObfuscationRuleInput added in v5.2.0

type ObfuscationRuleInput interface {
	pulumi.Input

	ToObfuscationRuleOutput() ObfuscationRuleOutput
	ToObfuscationRuleOutputWithContext(ctx context.Context) ObfuscationRuleOutput
}

type ObfuscationRuleMap added in v5.2.0

type ObfuscationRuleMap map[string]ObfuscationRuleInput

func (ObfuscationRuleMap) ElementType added in v5.2.0

func (ObfuscationRuleMap) ElementType() reflect.Type

func (ObfuscationRuleMap) ToObfuscationRuleMapOutput added in v5.2.0

func (i ObfuscationRuleMap) ToObfuscationRuleMapOutput() ObfuscationRuleMapOutput

func (ObfuscationRuleMap) ToObfuscationRuleMapOutputWithContext added in v5.2.0

func (i ObfuscationRuleMap) ToObfuscationRuleMapOutputWithContext(ctx context.Context) ObfuscationRuleMapOutput

type ObfuscationRuleMapInput added in v5.2.0

type ObfuscationRuleMapInput interface {
	pulumi.Input

	ToObfuscationRuleMapOutput() ObfuscationRuleMapOutput
	ToObfuscationRuleMapOutputWithContext(context.Context) ObfuscationRuleMapOutput
}

ObfuscationRuleMapInput is an input type that accepts ObfuscationRuleMap and ObfuscationRuleMapOutput values. You can construct a concrete instance of `ObfuscationRuleMapInput` via:

ObfuscationRuleMap{ "key": ObfuscationRuleArgs{...} }

type ObfuscationRuleMapOutput added in v5.2.0

type ObfuscationRuleMapOutput struct{ *pulumi.OutputState }

func (ObfuscationRuleMapOutput) ElementType added in v5.2.0

func (ObfuscationRuleMapOutput) ElementType() reflect.Type

func (ObfuscationRuleMapOutput) MapIndex added in v5.2.0

func (ObfuscationRuleMapOutput) ToObfuscationRuleMapOutput added in v5.2.0

func (o ObfuscationRuleMapOutput) ToObfuscationRuleMapOutput() ObfuscationRuleMapOutput

func (ObfuscationRuleMapOutput) ToObfuscationRuleMapOutputWithContext added in v5.2.0

func (o ObfuscationRuleMapOutput) ToObfuscationRuleMapOutputWithContext(ctx context.Context) ObfuscationRuleMapOutput

type ObfuscationRuleOutput added in v5.2.0

type ObfuscationRuleOutput struct{ *pulumi.OutputState }

func (ObfuscationRuleOutput) AccountId added in v5.2.0

func (o ObfuscationRuleOutput) AccountId() pulumi.IntOutput

The account id associated with the obfuscation rule.

func (ObfuscationRuleOutput) Actions added in v5.2.0

Actions for the rule. The actions will be applied in the order specified by this list.

func (ObfuscationRuleOutput) Description added in v5.2.0

Description of rule.

func (ObfuscationRuleOutput) ElementType added in v5.2.0

func (ObfuscationRuleOutput) ElementType() reflect.Type

func (ObfuscationRuleOutput) Enabled added in v5.2.0

Whether the rule should be applied or not to incoming data.

func (ObfuscationRuleOutput) Filter added in v5.2.0

NRQL for determining whether a given log record should have obfuscation actions applied.

func (ObfuscationRuleOutput) Name added in v5.2.0

Name of rule.

func (ObfuscationRuleOutput) ToObfuscationRuleOutput added in v5.2.0

func (o ObfuscationRuleOutput) ToObfuscationRuleOutput() ObfuscationRuleOutput

func (ObfuscationRuleOutput) ToObfuscationRuleOutputWithContext added in v5.2.0

func (o ObfuscationRuleOutput) ToObfuscationRuleOutputWithContext(ctx context.Context) ObfuscationRuleOutput

type ObfuscationRuleState added in v5.2.0

type ObfuscationRuleState struct {
	// The account id associated with the obfuscation rule.
	AccountId pulumi.IntPtrInput
	// Actions for the rule. The actions will be applied in the order specified by this list.
	Actions ObfuscationRuleActionArrayInput
	// Description of rule.
	Description pulumi.StringPtrInput
	// Whether the rule should be applied or not to incoming data.
	Enabled pulumi.BoolPtrInput
	// NRQL for determining whether a given log record should have obfuscation actions applied.
	Filter pulumi.StringPtrInput
	// Name of rule.
	Name pulumi.StringPtrInput
}

func (ObfuscationRuleState) ElementType added in v5.2.0

func (ObfuscationRuleState) 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"`
	// A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
	Variables OneDashboardVariableArrayOutput `pulumi:"variables"`
}

> **NOTE:** The OneDashboardJson resource is preferred for configuring dashboards in New Relic. This resource does not support the latest dashboard features and will receive less investment compared to newrelic_one_dashboard_json.

## Example Usage ## Additional Examples

## Import

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

```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
	// A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
	Variables OneDashboardVariableArrayInput
}

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 OneDashboardJson added in v5.1.0

type OneDashboardJson struct {
	pulumi.CustomResourceState

	// The New Relic account ID where you want to create the dashboard.
	AccountId pulumi.IntOutput `pulumi:"accountId"`
	// The unique entity identifier of the dashboard in New Relic.
	Guid pulumi.StringOutput `pulumi:"guid"`
	// The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
	Json pulumi.StringOutput `pulumi:"json"`
	// The URL for viewing the dashboard.
	Permalink pulumi.StringOutput `pulumi:"permalink"`
	// The date and time when the dashboard was last updated.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
}

func GetOneDashboardJson added in v5.1.0

func GetOneDashboardJson(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OneDashboardJsonState, opts ...pulumi.ResourceOption) (*OneDashboardJson, error)

GetOneDashboardJson gets an existing OneDashboardJson 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 NewOneDashboardJson added in v5.1.0

func NewOneDashboardJson(ctx *pulumi.Context,
	name string, args *OneDashboardJsonArgs, opts ...pulumi.ResourceOption) (*OneDashboardJson, error)

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

func (*OneDashboardJson) ElementType added in v5.1.0

func (*OneDashboardJson) ElementType() reflect.Type

func (*OneDashboardJson) ToOneDashboardJsonOutput added in v5.1.0

func (i *OneDashboardJson) ToOneDashboardJsonOutput() OneDashboardJsonOutput

func (*OneDashboardJson) ToOneDashboardJsonOutputWithContext added in v5.1.0

func (i *OneDashboardJson) ToOneDashboardJsonOutputWithContext(ctx context.Context) OneDashboardJsonOutput

type OneDashboardJsonArgs added in v5.1.0

type OneDashboardJsonArgs struct {
	// The New Relic account ID where you want to create the dashboard.
	AccountId pulumi.IntPtrInput
	// The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
	Json pulumi.StringInput
}

The set of arguments for constructing a OneDashboardJson resource.

func (OneDashboardJsonArgs) ElementType added in v5.1.0

func (OneDashboardJsonArgs) ElementType() reflect.Type

type OneDashboardJsonArray added in v5.1.0

type OneDashboardJsonArray []OneDashboardJsonInput

func (OneDashboardJsonArray) ElementType added in v5.1.0

func (OneDashboardJsonArray) ElementType() reflect.Type

func (OneDashboardJsonArray) ToOneDashboardJsonArrayOutput added in v5.1.0

func (i OneDashboardJsonArray) ToOneDashboardJsonArrayOutput() OneDashboardJsonArrayOutput

func (OneDashboardJsonArray) ToOneDashboardJsonArrayOutputWithContext added in v5.1.0

func (i OneDashboardJsonArray) ToOneDashboardJsonArrayOutputWithContext(ctx context.Context) OneDashboardJsonArrayOutput

type OneDashboardJsonArrayInput added in v5.1.0

type OneDashboardJsonArrayInput interface {
	pulumi.Input

	ToOneDashboardJsonArrayOutput() OneDashboardJsonArrayOutput
	ToOneDashboardJsonArrayOutputWithContext(context.Context) OneDashboardJsonArrayOutput
}

OneDashboardJsonArrayInput is an input type that accepts OneDashboardJsonArray and OneDashboardJsonArrayOutput values. You can construct a concrete instance of `OneDashboardJsonArrayInput` via:

OneDashboardJsonArray{ OneDashboardJsonArgs{...} }

type OneDashboardJsonArrayOutput added in v5.1.0

type OneDashboardJsonArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardJsonArrayOutput) ElementType added in v5.1.0

func (OneDashboardJsonArrayOutput) Index added in v5.1.0

func (OneDashboardJsonArrayOutput) ToOneDashboardJsonArrayOutput added in v5.1.0

func (o OneDashboardJsonArrayOutput) ToOneDashboardJsonArrayOutput() OneDashboardJsonArrayOutput

func (OneDashboardJsonArrayOutput) ToOneDashboardJsonArrayOutputWithContext added in v5.1.0

func (o OneDashboardJsonArrayOutput) ToOneDashboardJsonArrayOutputWithContext(ctx context.Context) OneDashboardJsonArrayOutput

type OneDashboardJsonInput added in v5.1.0

type OneDashboardJsonInput interface {
	pulumi.Input

	ToOneDashboardJsonOutput() OneDashboardJsonOutput
	ToOneDashboardJsonOutputWithContext(ctx context.Context) OneDashboardJsonOutput
}

type OneDashboardJsonMap added in v5.1.0

type OneDashboardJsonMap map[string]OneDashboardJsonInput

func (OneDashboardJsonMap) ElementType added in v5.1.0

func (OneDashboardJsonMap) ElementType() reflect.Type

func (OneDashboardJsonMap) ToOneDashboardJsonMapOutput added in v5.1.0

func (i OneDashboardJsonMap) ToOneDashboardJsonMapOutput() OneDashboardJsonMapOutput

func (OneDashboardJsonMap) ToOneDashboardJsonMapOutputWithContext added in v5.1.0

func (i OneDashboardJsonMap) ToOneDashboardJsonMapOutputWithContext(ctx context.Context) OneDashboardJsonMapOutput

type OneDashboardJsonMapInput added in v5.1.0

type OneDashboardJsonMapInput interface {
	pulumi.Input

	ToOneDashboardJsonMapOutput() OneDashboardJsonMapOutput
	ToOneDashboardJsonMapOutputWithContext(context.Context) OneDashboardJsonMapOutput
}

OneDashboardJsonMapInput is an input type that accepts OneDashboardJsonMap and OneDashboardJsonMapOutput values. You can construct a concrete instance of `OneDashboardJsonMapInput` via:

OneDashboardJsonMap{ "key": OneDashboardJsonArgs{...} }

type OneDashboardJsonMapOutput added in v5.1.0

type OneDashboardJsonMapOutput struct{ *pulumi.OutputState }

func (OneDashboardJsonMapOutput) ElementType added in v5.1.0

func (OneDashboardJsonMapOutput) ElementType() reflect.Type

func (OneDashboardJsonMapOutput) MapIndex added in v5.1.0

func (OneDashboardJsonMapOutput) ToOneDashboardJsonMapOutput added in v5.1.0

func (o OneDashboardJsonMapOutput) ToOneDashboardJsonMapOutput() OneDashboardJsonMapOutput

func (OneDashboardJsonMapOutput) ToOneDashboardJsonMapOutputWithContext added in v5.1.0

func (o OneDashboardJsonMapOutput) ToOneDashboardJsonMapOutputWithContext(ctx context.Context) OneDashboardJsonMapOutput

type OneDashboardJsonOutput added in v5.1.0

type OneDashboardJsonOutput struct{ *pulumi.OutputState }

func (OneDashboardJsonOutput) AccountId added in v5.1.0

func (o OneDashboardJsonOutput) AccountId() pulumi.IntOutput

The New Relic account ID where you want to create the dashboard.

func (OneDashboardJsonOutput) ElementType added in v5.1.0

func (OneDashboardJsonOutput) ElementType() reflect.Type

func (OneDashboardJsonOutput) Guid added in v5.1.0

The unique entity identifier of the dashboard in New Relic.

func (OneDashboardJsonOutput) Json added in v5.1.0

The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)

The URL for viewing the dashboard.

func (OneDashboardJsonOutput) ToOneDashboardJsonOutput added in v5.1.0

func (o OneDashboardJsonOutput) ToOneDashboardJsonOutput() OneDashboardJsonOutput

func (OneDashboardJsonOutput) ToOneDashboardJsonOutputWithContext added in v5.1.0

func (o OneDashboardJsonOutput) ToOneDashboardJsonOutputWithContext(ctx context.Context) OneDashboardJsonOutput

func (OneDashboardJsonOutput) UpdatedAt added in v5.1.0

The date and time when the dashboard was last updated.

type OneDashboardJsonState added in v5.1.0

type OneDashboardJsonState struct {
	// The New Relic account ID where you want to create the dashboard.
	AccountId pulumi.IntPtrInput
	// The unique entity identifier of the dashboard in New Relic.
	Guid pulumi.StringPtrInput
	// The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
	Json pulumi.StringPtrInput
	// The URL for viewing the dashboard.
	Permalink pulumi.StringPtrInput
	// The date and time when the dashboard was last updated.
	UpdatedAt pulumi.StringPtrInput
}

func (OneDashboardJsonState) ElementType added in v5.1.0

func (OneDashboardJsonState) ElementType() reflect.Type

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

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

func (o OneDashboardOutput) Description() pulumi.StringPtrOutput

Brief text describing the dashboard.

func (OneDashboardOutput) ElementType

func (OneDashboardOutput) ElementType() reflect.Type

func (OneDashboardOutput) Guid

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

func (OneDashboardOutput) Name

The title of the dashboard.

func (OneDashboardOutput) Pages

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

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

func (OneDashboardOutput) Variables added in v5.2.0

A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.

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"`
	WidgetAreas       []OneDashboardPageWidgetArea       `pulumi:"widgetAreas"`
	WidgetBars        []OneDashboardPageWidgetBar        `pulumi:"widgetBars"`
	WidgetBillboards  []OneDashboardPageWidgetBillboard  `pulumi:"widgetBillboards"`
	WidgetBullets     []OneDashboardPageWidgetBullet     `pulumi:"widgetBullets"`
	WidgetFunnels     []OneDashboardPageWidgetFunnel     `pulumi:"widgetFunnels"`
	WidgetHeatmaps    []OneDashboardPageWidgetHeatmap    `pulumi:"widgetHeatmaps"`
	WidgetHistograms  []OneDashboardPageWidgetHistogram  `pulumi:"widgetHistograms"`
	WidgetJsons       []OneDashboardPageWidgetJson       `pulumi:"widgetJsons"`
	WidgetLines       []OneDashboardPageWidgetLine       `pulumi:"widgetLines"`
	WidgetLogTables   []OneDashboardPageWidgetLogTable   `pulumi:"widgetLogTables"`
	WidgetMarkdowns   []OneDashboardPageWidgetMarkdown   `pulumi:"widgetMarkdowns"`
	WidgetPies        []OneDashboardPageWidgetPy         `pulumi:"widgetPies"`
	WidgetStackedBars []OneDashboardPageWidgetStackedBar `pulumi:"widgetStackedBars"`
	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"`
	WidgetAreas       OneDashboardPageWidgetAreaArrayInput       `pulumi:"widgetAreas"`
	WidgetBars        OneDashboardPageWidgetBarArrayInput        `pulumi:"widgetBars"`
	WidgetBillboards  OneDashboardPageWidgetBillboardArrayInput  `pulumi:"widgetBillboards"`
	WidgetBullets     OneDashboardPageWidgetBulletArrayInput     `pulumi:"widgetBullets"`
	WidgetFunnels     OneDashboardPageWidgetFunnelArrayInput     `pulumi:"widgetFunnels"`
	WidgetHeatmaps    OneDashboardPageWidgetHeatmapArrayInput    `pulumi:"widgetHeatmaps"`
	WidgetHistograms  OneDashboardPageWidgetHistogramArrayInput  `pulumi:"widgetHistograms"`
	WidgetJsons       OneDashboardPageWidgetJsonArrayInput       `pulumi:"widgetJsons"`
	WidgetLines       OneDashboardPageWidgetLineArrayInput       `pulumi:"widgetLines"`
	WidgetLogTables   OneDashboardPageWidgetLogTableArrayInput   `pulumi:"widgetLogTables"`
	WidgetMarkdowns   OneDashboardPageWidgetMarkdownArrayInput   `pulumi:"widgetMarkdowns"`
	WidgetPies        OneDashboardPageWidgetPyArrayInput         `pulumi:"widgetPies"`
	WidgetStackedBars OneDashboardPageWidgetStackedBarArrayInput `pulumi:"widgetStackedBars"`
	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

func (OneDashboardPageOutput) WidgetBars

func (OneDashboardPageOutput) WidgetBillboards

func (OneDashboardPageOutput) WidgetBullets

func (OneDashboardPageOutput) WidgetFunnels

func (OneDashboardPageOutput) WidgetHeatmaps

func (OneDashboardPageOutput) WidgetHistograms

func (OneDashboardPageOutput) WidgetJsons

func (OneDashboardPageOutput) WidgetLines

func (OneDashboardPageOutput) WidgetLogTables

func (OneDashboardPageOutput) WidgetMarkdowns

func (OneDashboardPageOutput) WidgetPies

func (OneDashboardPageOutput) WidgetStackedBars

func (OneDashboardPageOutput) WidgetTables

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"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries []OneDashboardPageWidgetAreaNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries OneDashboardPageWidgetAreaNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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

(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

(Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.

func (OneDashboardPageWidgetAreaOutput) Row

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

func (OneDashboardPageWidgetAreaOutput) Title

(Optional) A human-friendly display string for this value.

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"`
	// (Optional) Use this item to filter the current dashboard.
	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"`
	// (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	LinkedEntityGuids []string `pulumi:"linkedEntityGuids"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries []OneDashboardPageWidgetBarNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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"`
	// (Optional) Use this item to filter the current dashboard.
	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"`
	// (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	LinkedEntityGuids pulumi.StringArrayInput `pulumi:"linkedEntityGuids"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries OneDashboardPageWidgetBarNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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

func (o OneDashboardPageWidgetBarOutput) FilterCurrentDashboard() pulumi.BoolPtrOutput

(Optional) Use this item to filter the current dashboard.

func (OneDashboardPageWidgetBarOutput) Height

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

func (OneDashboardPageWidgetBarOutput) Id

func (OneDashboardPageWidgetBarOutput) IgnoreTimeRange

(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

(Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.

func (OneDashboardPageWidgetBarOutput) NrqlQueries

(Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.

func (OneDashboardPageWidgetBarOutput) Row

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

func (OneDashboardPageWidgetBarOutput) Title

(Optional) A human-friendly display string for this value.

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"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries []OneDashboardPageWidgetBillboardNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	Title string `pulumi:"title"`
	// (Optional) Threshold above which the displayed value will be styled with a yellow color.
	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"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries OneDashboardPageWidgetBillboardNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	Title pulumi.StringInput `pulumi:"title"`
	// (Optional) Threshold above which the displayed value will be styled with a yellow color.
	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

(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

(Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.

func (OneDashboardPageWidgetBillboardOutput) Row

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

func (OneDashboardPageWidgetBillboardOutput) Title

(Optional) A human-friendly display string for this value.

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.

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.
	Limit float64 `pulumi:"limit"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries []OneDashboardPageWidgetBulletNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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.
	Limit pulumi.Float64Input `pulumi:"limit"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries OneDashboardPageWidgetBulletNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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

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

func (OneDashboardPageWidgetBulletOutput) NrqlQueries

(Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.

func (OneDashboardPageWidgetBulletOutput) Row

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

func (OneDashboardPageWidgetBulletOutput) Title

(Optional) A human-friendly display string for this value.

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"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries []OneDashboardPageWidgetFunnelNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries OneDashboardPageWidgetFunnelNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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

(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

(Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.

func (OneDashboardPageWidgetFunnelOutput) Row

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

func (OneDashboardPageWidgetFunnelOutput) Title

(Optional) A human-friendly display string for this value.

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) Use this item to filter the current dashboard.
	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"`
	// (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	LinkedEntityGuids []string `pulumi:"linkedEntityGuids"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries []OneDashboardPageWidgetHeatmapNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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) Use this item to filter the current dashboard.
	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"`
	// (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	LinkedEntityGuids pulumi.StringArrayInput `pulumi:"linkedEntityGuids"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries OneDashboardPageWidgetHeatmapNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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) FilterCurrentDashboard added in v5.1.0

func (o OneDashboardPageWidgetHeatmapOutput) FilterCurrentDashboard() pulumi.BoolPtrOutput

(Optional) Use this item to filter the current dashboard.

func (OneDashboardPageWidgetHeatmapOutput) Height

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

func (OneDashboardPageWidgetHeatmapOutput) Id

func (OneDashboardPageWidgetHeatmapOutput) IgnoreTimeRange

(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) LinkedEntityGuids added in v5.1.0

(Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.

func (OneDashboardPageWidgetHeatmapOutput) NrqlQueries

(Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.

func (OneDashboardPageWidgetHeatmapOutput) Row

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

func (OneDashboardPageWidgetHeatmapOutput) Title

(Optional) A human-friendly display string for this value.

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"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries []OneDashboardPageWidgetHistogramNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries OneDashboardPageWidgetHistogramNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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

(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

(Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.

func (OneDashboardPageWidgetHistogramOutput) Row

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

func (OneDashboardPageWidgetHistogramOutput) Title

(Optional) A human-friendly display string for this value.

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"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries []OneDashboardPageWidgetJsonNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries OneDashboardPageWidgetJsonNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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

(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

(Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.

func (OneDashboardPageWidgetJsonOutput) Row

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

func (OneDashboardPageWidgetJsonOutput) Title

(Optional) A human-friendly display string for this value.

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"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries []OneDashboardPageWidgetLineNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries OneDashboardPageWidgetLineNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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

(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

(Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.

func (OneDashboardPageWidgetLineOutput) Row

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

func (OneDashboardPageWidgetLineOutput) Title

(Optional) A human-friendly display string for this value.

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

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"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries []OneDashboardPageWidgetLogTableNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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

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"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries OneDashboardPageWidgetLogTableNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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

func (OneDashboardPageWidgetLogTableArgs) ToOneDashboardPageWidgetLogTableOutput

func (i OneDashboardPageWidgetLogTableArgs) ToOneDashboardPageWidgetLogTableOutput() OneDashboardPageWidgetLogTableOutput

func (OneDashboardPageWidgetLogTableArgs) ToOneDashboardPageWidgetLogTableOutputWithContext

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

type OneDashboardPageWidgetLogTableArray

type OneDashboardPageWidgetLogTableArray []OneDashboardPageWidgetLogTableInput

func (OneDashboardPageWidgetLogTableArray) ElementType

func (OneDashboardPageWidgetLogTableArray) ToOneDashboardPageWidgetLogTableArrayOutput

func (i OneDashboardPageWidgetLogTableArray) ToOneDashboardPageWidgetLogTableArrayOutput() OneDashboardPageWidgetLogTableArrayOutput

func (OneDashboardPageWidgetLogTableArray) ToOneDashboardPageWidgetLogTableArrayOutputWithContext

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

type OneDashboardPageWidgetLogTableArrayInput

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

type OneDashboardPageWidgetLogTableArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetLogTableArrayOutput) ElementType

func (OneDashboardPageWidgetLogTableArrayOutput) Index

func (OneDashboardPageWidgetLogTableArrayOutput) ToOneDashboardPageWidgetLogTableArrayOutput

func (o OneDashboardPageWidgetLogTableArrayOutput) ToOneDashboardPageWidgetLogTableArrayOutput() OneDashboardPageWidgetLogTableArrayOutput

func (OneDashboardPageWidgetLogTableArrayOutput) ToOneDashboardPageWidgetLogTableArrayOutputWithContext

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

type OneDashboardPageWidgetLogTableInput

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

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

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

func (OneDashboardPageWidgetLogTableNrqlQueryArgs) ToOneDashboardPageWidgetLogTableNrqlQueryOutput

func (i OneDashboardPageWidgetLogTableNrqlQueryArgs) ToOneDashboardPageWidgetLogTableNrqlQueryOutput() OneDashboardPageWidgetLogTableNrqlQueryOutput

func (OneDashboardPageWidgetLogTableNrqlQueryArgs) ToOneDashboardPageWidgetLogTableNrqlQueryOutputWithContext

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

type OneDashboardPageWidgetLogTableNrqlQueryArray

type OneDashboardPageWidgetLogTableNrqlQueryArray []OneDashboardPageWidgetLogTableNrqlQueryInput

func (OneDashboardPageWidgetLogTableNrqlQueryArray) ElementType

func (OneDashboardPageWidgetLogTableNrqlQueryArray) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutput

func (i OneDashboardPageWidgetLogTableNrqlQueryArray) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutput() OneDashboardPageWidgetLogTableNrqlQueryArrayOutput

func (OneDashboardPageWidgetLogTableNrqlQueryArray) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutputWithContext

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

type OneDashboardPageWidgetLogTableNrqlQueryArrayInput

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

type OneDashboardPageWidgetLogTableNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) ElementType

func (OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) Index

func (OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutput

func (o OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutput() OneDashboardPageWidgetLogTableNrqlQueryArrayOutput

func (OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutputWithContext

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

type OneDashboardPageWidgetLogTableNrqlQueryInput

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

type OneDashboardPageWidgetLogTableNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetLogTableNrqlQueryOutput) AccountId

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

func (OneDashboardPageWidgetLogTableNrqlQueryOutput) ElementType

func (OneDashboardPageWidgetLogTableNrqlQueryOutput) 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 (OneDashboardPageWidgetLogTableNrqlQueryOutput) ToOneDashboardPageWidgetLogTableNrqlQueryOutput

func (o OneDashboardPageWidgetLogTableNrqlQueryOutput) ToOneDashboardPageWidgetLogTableNrqlQueryOutput() OneDashboardPageWidgetLogTableNrqlQueryOutput

func (OneDashboardPageWidgetLogTableNrqlQueryOutput) ToOneDashboardPageWidgetLogTableNrqlQueryOutputWithContext

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

type OneDashboardPageWidgetLogTableOutput

type OneDashboardPageWidgetLogTableOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetLogTableOutput) Column

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

func (OneDashboardPageWidgetLogTableOutput) ElementType

func (OneDashboardPageWidgetLogTableOutput) Height

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

func (OneDashboardPageWidgetLogTableOutput) Id

func (OneDashboardPageWidgetLogTableOutput) IgnoreTimeRange

(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

(Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.

func (OneDashboardPageWidgetLogTableOutput) Row

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

func (OneDashboardPageWidgetLogTableOutput) Title

(Optional) A human-friendly display string for this value.

func (OneDashboardPageWidgetLogTableOutput) ToOneDashboardPageWidgetLogTableOutput

func (o OneDashboardPageWidgetLogTableOutput) ToOneDashboardPageWidgetLogTableOutput() OneDashboardPageWidgetLogTableOutput

func (OneDashboardPageWidgetLogTableOutput) ToOneDashboardPageWidgetLogTableOutputWithContext

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

func (OneDashboardPageWidgetLogTableOutput) Width

(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.
	Text *string `pulumi:"text"`
	// (Optional) A human-friendly display string for this value.
	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.
	Text pulumi.StringPtrInput `pulumi:"text"`
	// (Optional) A human-friendly display string for this value.
	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

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

func (OneDashboardPageWidgetMarkdownOutput) Title

(Optional) A human-friendly display string for this value.

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"`
	// (Optional) Use this item to filter the current dashboard.
	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"`
	// (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	LinkedEntityGuids []string `pulumi:"linkedEntityGuids"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries []OneDashboardPageWidgetPyNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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"`
	// (Optional) Use this item to filter the current dashboard.
	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"`
	// (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	LinkedEntityGuids pulumi.StringArrayInput `pulumi:"linkedEntityGuids"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries OneDashboardPageWidgetPyNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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

func (o OneDashboardPageWidgetPyOutput) FilterCurrentDashboard() pulumi.BoolPtrOutput

(Optional) Use this item to filter the current dashboard.

func (OneDashboardPageWidgetPyOutput) Height

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

func (OneDashboardPageWidgetPyOutput) Id

func (OneDashboardPageWidgetPyOutput) IgnoreTimeRange

(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

(Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.

func (OneDashboardPageWidgetPyOutput) NrqlQueries

(Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.

func (OneDashboardPageWidgetPyOutput) Row

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

func (OneDashboardPageWidgetPyOutput) Title

(Optional) A human-friendly display string for this value.

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

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"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries []OneDashboardPageWidgetStackedBarNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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

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"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries OneDashboardPageWidgetStackedBarNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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

func (OneDashboardPageWidgetStackedBarArgs) ToOneDashboardPageWidgetStackedBarOutput

func (i OneDashboardPageWidgetStackedBarArgs) ToOneDashboardPageWidgetStackedBarOutput() OneDashboardPageWidgetStackedBarOutput

func (OneDashboardPageWidgetStackedBarArgs) ToOneDashboardPageWidgetStackedBarOutputWithContext

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

type OneDashboardPageWidgetStackedBarArray

type OneDashboardPageWidgetStackedBarArray []OneDashboardPageWidgetStackedBarInput

func (OneDashboardPageWidgetStackedBarArray) ElementType

func (OneDashboardPageWidgetStackedBarArray) ToOneDashboardPageWidgetStackedBarArrayOutput

func (i OneDashboardPageWidgetStackedBarArray) ToOneDashboardPageWidgetStackedBarArrayOutput() OneDashboardPageWidgetStackedBarArrayOutput

func (OneDashboardPageWidgetStackedBarArray) ToOneDashboardPageWidgetStackedBarArrayOutputWithContext

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

type OneDashboardPageWidgetStackedBarArrayInput

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

type OneDashboardPageWidgetStackedBarArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetStackedBarArrayOutput) ElementType

func (OneDashboardPageWidgetStackedBarArrayOutput) Index

func (OneDashboardPageWidgetStackedBarArrayOutput) ToOneDashboardPageWidgetStackedBarArrayOutput

func (o OneDashboardPageWidgetStackedBarArrayOutput) ToOneDashboardPageWidgetStackedBarArrayOutput() OneDashboardPageWidgetStackedBarArrayOutput

func (OneDashboardPageWidgetStackedBarArrayOutput) ToOneDashboardPageWidgetStackedBarArrayOutputWithContext

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

type OneDashboardPageWidgetStackedBarInput

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

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

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

func (OneDashboardPageWidgetStackedBarNrqlQueryArgs) ToOneDashboardPageWidgetStackedBarNrqlQueryOutput

func (i OneDashboardPageWidgetStackedBarNrqlQueryArgs) ToOneDashboardPageWidgetStackedBarNrqlQueryOutput() OneDashboardPageWidgetStackedBarNrqlQueryOutput

func (OneDashboardPageWidgetStackedBarNrqlQueryArgs) ToOneDashboardPageWidgetStackedBarNrqlQueryOutputWithContext

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

type OneDashboardPageWidgetStackedBarNrqlQueryArray

type OneDashboardPageWidgetStackedBarNrqlQueryArray []OneDashboardPageWidgetStackedBarNrqlQueryInput

func (OneDashboardPageWidgetStackedBarNrqlQueryArray) ElementType

func (OneDashboardPageWidgetStackedBarNrqlQueryArray) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutput

func (i OneDashboardPageWidgetStackedBarNrqlQueryArray) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutput() OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput

func (OneDashboardPageWidgetStackedBarNrqlQueryArray) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutputWithContext

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

type OneDashboardPageWidgetStackedBarNrqlQueryArrayInput

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

type OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) ElementType

func (OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) Index

func (OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutput

func (OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutputWithContext

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

type OneDashboardPageWidgetStackedBarNrqlQueryInput

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

type OneDashboardPageWidgetStackedBarNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetStackedBarNrqlQueryOutput) AccountId

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

func (OneDashboardPageWidgetStackedBarNrqlQueryOutput) ElementType

func (OneDashboardPageWidgetStackedBarNrqlQueryOutput) 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 (OneDashboardPageWidgetStackedBarNrqlQueryOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryOutput

func (o OneDashboardPageWidgetStackedBarNrqlQueryOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryOutput() OneDashboardPageWidgetStackedBarNrqlQueryOutput

func (OneDashboardPageWidgetStackedBarNrqlQueryOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryOutputWithContext

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

type OneDashboardPageWidgetStackedBarOutput

type OneDashboardPageWidgetStackedBarOutput struct{ *pulumi.OutputState }

func (OneDashboardPageWidgetStackedBarOutput) Column

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

func (OneDashboardPageWidgetStackedBarOutput) ElementType

func (OneDashboardPageWidgetStackedBarOutput) Height

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

func (OneDashboardPageWidgetStackedBarOutput) Id

func (OneDashboardPageWidgetStackedBarOutput) IgnoreTimeRange

(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

(Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.

func (OneDashboardPageWidgetStackedBarOutput) Row

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

func (OneDashboardPageWidgetStackedBarOutput) Title

(Optional) A human-friendly display string for this value.

func (OneDashboardPageWidgetStackedBarOutput) ToOneDashboardPageWidgetStackedBarOutput

func (o OneDashboardPageWidgetStackedBarOutput) ToOneDashboardPageWidgetStackedBarOutput() OneDashboardPageWidgetStackedBarOutput

func (OneDashboardPageWidgetStackedBarOutput) ToOneDashboardPageWidgetStackedBarOutputWithContext

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

func (OneDashboardPageWidgetStackedBarOutput) Width

(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"`
	// (Optional) Use this item to filter the current dashboard.
	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"`
	// (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	LinkedEntityGuids []string `pulumi:"linkedEntityGuids"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries []OneDashboardPageWidgetTableNrqlQuery `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row int `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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"`
	// (Optional) Use this item to filter the current dashboard.
	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"`
	// (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	LinkedEntityGuids pulumi.StringArrayInput `pulumi:"linkedEntityGuids"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQueries OneDashboardPageWidgetTableNrqlQueryArrayInput `pulumi:"nrqlQueries"`
	// (Required) Row position of widget from top left, starting at `1`.
	Row pulumi.IntInput `pulumi:"row"`
	// (Optional) A human-friendly display string for this value.
	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

func (o OneDashboardPageWidgetTableOutput) FilterCurrentDashboard() pulumi.BoolPtrOutput

(Optional) Use this item to filter the current dashboard.

func (OneDashboardPageWidgetTableOutput) Height

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

func (OneDashboardPageWidgetTableOutput) Id

func (OneDashboardPageWidgetTableOutput) IgnoreTimeRange

(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

(Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.

func (OneDashboardPageWidgetTableOutput) NrqlQueries

(Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.

func (OneDashboardPageWidgetTableOutput) Row

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

func (OneDashboardPageWidgetTableOutput) Title

(Optional) A human-friendly display string for this value.

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

> **NOTE:** The OneDashboardJson resource is preferred for configuring dashboards in New Relic. This resource does not support the latest dashboard features and will receive less investment compared to newrelic_one_dashboard_json.

## Example Usage ### Create A New Relic One Dashboard With RawConfiguration

```go package main

import (

"encoding/json"
"fmt"

"github.com/pulumi/pulumi-newrelic/sdk/v5/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: newrelic.OneDashboardRawPageArray{
				&newrelic.OneDashboardRawPageArgs{
					Name: pulumi.String("Page Name"),
					Widgets: newrelic.OneDashboardRawPageWidgetArray{
						&newrelic.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")),
						},
						&newrelic.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")),
						},
						&newrelic.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

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

Brief text describing the dashboard.

func (OneDashboardRawOutput) ElementType

func (OneDashboardRawOutput) ElementType() reflect.Type

func (OneDashboardRawOutput) Guid

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

func (OneDashboardRawOutput) Name

The title of the dashboard.

func (OneDashboardRawOutput) Pages

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

The URL for viewing the dashboard.

func (OneDashboardRawOutput) Permissions

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

(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
	// A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
	Variables OneDashboardVariableArrayInput
}

func (OneDashboardState) ElementType

func (OneDashboardState) ElementType() reflect.Type

type OneDashboardVariable added in v5.2.0

type OneDashboardVariable struct {
	// (Optional) A list of default values for this variable.
	DefaultValues []string `pulumi:"defaultValues"`
	// (Optional) Indicates whether this variable supports multiple selection or not. Only applies to variables of type `nrql` or `enum`.
	IsMultiSelection *bool `pulumi:"isMultiSelection"`
	// (Optional) List of possible values for variables of type `enum`. See Nested item blocks below for details.
	Items []OneDashboardVariableItem `pulumi:"items"`
	// The title of the dashboard.
	Name string `pulumi:"name"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQuery *OneDashboardVariableNrqlQuery `pulumi:"nrqlQuery"`
	// (Optional) Indicates the strategy to apply when replacing a variable in a NRQL query. One of `default`, `identifier`, `number` or `string`.
	ReplacementStrategy string `pulumi:"replacementStrategy"`
	// (Optional) A human-friendly display string for this value.
	Title string `pulumi:"title"`
	// (Required) Specifies the data type of the variable and where its possible values may come from. One of `enum`, `nrql` or `string`
	Type string `pulumi:"type"`
}

type OneDashboardVariableArgs added in v5.2.0

type OneDashboardVariableArgs struct {
	// (Optional) A list of default values for this variable.
	DefaultValues pulumi.StringArrayInput `pulumi:"defaultValues"`
	// (Optional) Indicates whether this variable supports multiple selection or not. Only applies to variables of type `nrql` or `enum`.
	IsMultiSelection pulumi.BoolPtrInput `pulumi:"isMultiSelection"`
	// (Optional) List of possible values for variables of type `enum`. See Nested item blocks below for details.
	Items OneDashboardVariableItemArrayInput `pulumi:"items"`
	// The title of the dashboard.
	Name pulumi.StringInput `pulumi:"name"`
	// (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
	NrqlQuery OneDashboardVariableNrqlQueryPtrInput `pulumi:"nrqlQuery"`
	// (Optional) Indicates the strategy to apply when replacing a variable in a NRQL query. One of `default`, `identifier`, `number` or `string`.
	ReplacementStrategy pulumi.StringInput `pulumi:"replacementStrategy"`
	// (Optional) A human-friendly display string for this value.
	Title pulumi.StringInput `pulumi:"title"`
	// (Required) Specifies the data type of the variable and where its possible values may come from. One of `enum`, `nrql` or `string`
	Type pulumi.StringInput `pulumi:"type"`
}

func (OneDashboardVariableArgs) ElementType added in v5.2.0

func (OneDashboardVariableArgs) ElementType() reflect.Type

func (OneDashboardVariableArgs) ToOneDashboardVariableOutput added in v5.2.0

func (i OneDashboardVariableArgs) ToOneDashboardVariableOutput() OneDashboardVariableOutput

func (OneDashboardVariableArgs) ToOneDashboardVariableOutputWithContext added in v5.2.0

func (i OneDashboardVariableArgs) ToOneDashboardVariableOutputWithContext(ctx context.Context) OneDashboardVariableOutput

type OneDashboardVariableArray added in v5.2.0

type OneDashboardVariableArray []OneDashboardVariableInput

func (OneDashboardVariableArray) ElementType added in v5.2.0

func (OneDashboardVariableArray) ElementType() reflect.Type

func (OneDashboardVariableArray) ToOneDashboardVariableArrayOutput added in v5.2.0

func (i OneDashboardVariableArray) ToOneDashboardVariableArrayOutput() OneDashboardVariableArrayOutput

func (OneDashboardVariableArray) ToOneDashboardVariableArrayOutputWithContext added in v5.2.0

func (i OneDashboardVariableArray) ToOneDashboardVariableArrayOutputWithContext(ctx context.Context) OneDashboardVariableArrayOutput

type OneDashboardVariableArrayInput added in v5.2.0

type OneDashboardVariableArrayInput interface {
	pulumi.Input

	ToOneDashboardVariableArrayOutput() OneDashboardVariableArrayOutput
	ToOneDashboardVariableArrayOutputWithContext(context.Context) OneDashboardVariableArrayOutput
}

OneDashboardVariableArrayInput is an input type that accepts OneDashboardVariableArray and OneDashboardVariableArrayOutput values. You can construct a concrete instance of `OneDashboardVariableArrayInput` via:

OneDashboardVariableArray{ OneDashboardVariableArgs{...} }

type OneDashboardVariableArrayOutput added in v5.2.0

type OneDashboardVariableArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardVariableArrayOutput) ElementType added in v5.2.0

func (OneDashboardVariableArrayOutput) Index added in v5.2.0

func (OneDashboardVariableArrayOutput) ToOneDashboardVariableArrayOutput added in v5.2.0

func (o OneDashboardVariableArrayOutput) ToOneDashboardVariableArrayOutput() OneDashboardVariableArrayOutput

func (OneDashboardVariableArrayOutput) ToOneDashboardVariableArrayOutputWithContext added in v5.2.0

func (o OneDashboardVariableArrayOutput) ToOneDashboardVariableArrayOutputWithContext(ctx context.Context) OneDashboardVariableArrayOutput

type OneDashboardVariableInput added in v5.2.0

type OneDashboardVariableInput interface {
	pulumi.Input

	ToOneDashboardVariableOutput() OneDashboardVariableOutput
	ToOneDashboardVariableOutputWithContext(context.Context) OneDashboardVariableOutput
}

OneDashboardVariableInput is an input type that accepts OneDashboardVariableArgs and OneDashboardVariableOutput values. You can construct a concrete instance of `OneDashboardVariableInput` via:

OneDashboardVariableArgs{...}

type OneDashboardVariableItem added in v5.2.0

type OneDashboardVariableItem struct {
	// (Optional) A human-friendly display string for this value.
	Title *string `pulumi:"title"`
	// (Required) A possible variable value
	Value string `pulumi:"value"`
}

type OneDashboardVariableItemArgs added in v5.2.0

type OneDashboardVariableItemArgs struct {
	// (Optional) A human-friendly display string for this value.
	Title pulumi.StringPtrInput `pulumi:"title"`
	// (Required) A possible variable value
	Value pulumi.StringInput `pulumi:"value"`
}

func (OneDashboardVariableItemArgs) ElementType added in v5.2.0

func (OneDashboardVariableItemArgs) ToOneDashboardVariableItemOutput added in v5.2.0

func (i OneDashboardVariableItemArgs) ToOneDashboardVariableItemOutput() OneDashboardVariableItemOutput

func (OneDashboardVariableItemArgs) ToOneDashboardVariableItemOutputWithContext added in v5.2.0

func (i OneDashboardVariableItemArgs) ToOneDashboardVariableItemOutputWithContext(ctx context.Context) OneDashboardVariableItemOutput

type OneDashboardVariableItemArray added in v5.2.0

type OneDashboardVariableItemArray []OneDashboardVariableItemInput

func (OneDashboardVariableItemArray) ElementType added in v5.2.0

func (OneDashboardVariableItemArray) ToOneDashboardVariableItemArrayOutput added in v5.2.0

func (i OneDashboardVariableItemArray) ToOneDashboardVariableItemArrayOutput() OneDashboardVariableItemArrayOutput

func (OneDashboardVariableItemArray) ToOneDashboardVariableItemArrayOutputWithContext added in v5.2.0

func (i OneDashboardVariableItemArray) ToOneDashboardVariableItemArrayOutputWithContext(ctx context.Context) OneDashboardVariableItemArrayOutput

type OneDashboardVariableItemArrayInput added in v5.2.0

type OneDashboardVariableItemArrayInput interface {
	pulumi.Input

	ToOneDashboardVariableItemArrayOutput() OneDashboardVariableItemArrayOutput
	ToOneDashboardVariableItemArrayOutputWithContext(context.Context) OneDashboardVariableItemArrayOutput
}

OneDashboardVariableItemArrayInput is an input type that accepts OneDashboardVariableItemArray and OneDashboardVariableItemArrayOutput values. You can construct a concrete instance of `OneDashboardVariableItemArrayInput` via:

OneDashboardVariableItemArray{ OneDashboardVariableItemArgs{...} }

type OneDashboardVariableItemArrayOutput added in v5.2.0

type OneDashboardVariableItemArrayOutput struct{ *pulumi.OutputState }

func (OneDashboardVariableItemArrayOutput) ElementType added in v5.2.0

func (OneDashboardVariableItemArrayOutput) Index added in v5.2.0

func (OneDashboardVariableItemArrayOutput) ToOneDashboardVariableItemArrayOutput added in v5.2.0

func (o OneDashboardVariableItemArrayOutput) ToOneDashboardVariableItemArrayOutput() OneDashboardVariableItemArrayOutput

func (OneDashboardVariableItemArrayOutput) ToOneDashboardVariableItemArrayOutputWithContext added in v5.2.0

func (o OneDashboardVariableItemArrayOutput) ToOneDashboardVariableItemArrayOutputWithContext(ctx context.Context) OneDashboardVariableItemArrayOutput

type OneDashboardVariableItemInput added in v5.2.0

type OneDashboardVariableItemInput interface {
	pulumi.Input

	ToOneDashboardVariableItemOutput() OneDashboardVariableItemOutput
	ToOneDashboardVariableItemOutputWithContext(context.Context) OneDashboardVariableItemOutput
}

OneDashboardVariableItemInput is an input type that accepts OneDashboardVariableItemArgs and OneDashboardVariableItemOutput values. You can construct a concrete instance of `OneDashboardVariableItemInput` via:

OneDashboardVariableItemArgs{...}

type OneDashboardVariableItemOutput added in v5.2.0

type OneDashboardVariableItemOutput struct{ *pulumi.OutputState }

func (OneDashboardVariableItemOutput) ElementType added in v5.2.0

func (OneDashboardVariableItemOutput) Title added in v5.2.0

(Optional) A human-friendly display string for this value.

func (OneDashboardVariableItemOutput) ToOneDashboardVariableItemOutput added in v5.2.0

func (o OneDashboardVariableItemOutput) ToOneDashboardVariableItemOutput() OneDashboardVariableItemOutput

func (OneDashboardVariableItemOutput) ToOneDashboardVariableItemOutputWithContext added in v5.2.0

func (o OneDashboardVariableItemOutput) ToOneDashboardVariableItemOutputWithContext(ctx context.Context) OneDashboardVariableItemOutput

func (OneDashboardVariableItemOutput) Value added in v5.2.0

(Required) A possible variable value

type OneDashboardVariableNrqlQuery added in v5.2.0

type OneDashboardVariableNrqlQuery struct {
	AccountIds []int `pulumi:"accountIds"`
	// (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 OneDashboardVariableNrqlQueryArgs added in v5.2.0

type OneDashboardVariableNrqlQueryArgs struct {
	AccountIds pulumi.IntArrayInput `pulumi:"accountIds"`
	// (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 (OneDashboardVariableNrqlQueryArgs) ElementType added in v5.2.0

func (OneDashboardVariableNrqlQueryArgs) ToOneDashboardVariableNrqlQueryOutput added in v5.2.0

func (i OneDashboardVariableNrqlQueryArgs) ToOneDashboardVariableNrqlQueryOutput() OneDashboardVariableNrqlQueryOutput

func (OneDashboardVariableNrqlQueryArgs) ToOneDashboardVariableNrqlQueryOutputWithContext added in v5.2.0

func (i OneDashboardVariableNrqlQueryArgs) ToOneDashboardVariableNrqlQueryOutputWithContext(ctx context.Context) OneDashboardVariableNrqlQueryOutput

func (OneDashboardVariableNrqlQueryArgs) ToOneDashboardVariableNrqlQueryPtrOutput added in v5.2.0

func (i OneDashboardVariableNrqlQueryArgs) ToOneDashboardVariableNrqlQueryPtrOutput() OneDashboardVariableNrqlQueryPtrOutput

func (OneDashboardVariableNrqlQueryArgs) ToOneDashboardVariableNrqlQueryPtrOutputWithContext added in v5.2.0

func (i OneDashboardVariableNrqlQueryArgs) ToOneDashboardVariableNrqlQueryPtrOutputWithContext(ctx context.Context) OneDashboardVariableNrqlQueryPtrOutput

type OneDashboardVariableNrqlQueryInput added in v5.2.0

type OneDashboardVariableNrqlQueryInput interface {
	pulumi.Input

	ToOneDashboardVariableNrqlQueryOutput() OneDashboardVariableNrqlQueryOutput
	ToOneDashboardVariableNrqlQueryOutputWithContext(context.Context) OneDashboardVariableNrqlQueryOutput
}

OneDashboardVariableNrqlQueryInput is an input type that accepts OneDashboardVariableNrqlQueryArgs and OneDashboardVariableNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardVariableNrqlQueryInput` via:

OneDashboardVariableNrqlQueryArgs{...}

type OneDashboardVariableNrqlQueryOutput added in v5.2.0

type OneDashboardVariableNrqlQueryOutput struct{ *pulumi.OutputState }

func (OneDashboardVariableNrqlQueryOutput) AccountIds added in v5.2.0

func (OneDashboardVariableNrqlQueryOutput) ElementType added in v5.2.0

func (OneDashboardVariableNrqlQueryOutput) Query added in v5.2.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 (OneDashboardVariableNrqlQueryOutput) ToOneDashboardVariableNrqlQueryOutput added in v5.2.0

func (o OneDashboardVariableNrqlQueryOutput) ToOneDashboardVariableNrqlQueryOutput() OneDashboardVariableNrqlQueryOutput

func (OneDashboardVariableNrqlQueryOutput) ToOneDashboardVariableNrqlQueryOutputWithContext added in v5.2.0

func (o OneDashboardVariableNrqlQueryOutput) ToOneDashboardVariableNrqlQueryOutputWithContext(ctx context.Context) OneDashboardVariableNrqlQueryOutput

func (OneDashboardVariableNrqlQueryOutput) ToOneDashboardVariableNrqlQueryPtrOutput added in v5.2.0

func (o OneDashboardVariableNrqlQueryOutput) ToOneDashboardVariableNrqlQueryPtrOutput() OneDashboardVariableNrqlQueryPtrOutput

func (OneDashboardVariableNrqlQueryOutput) ToOneDashboardVariableNrqlQueryPtrOutputWithContext added in v5.2.0

func (o OneDashboardVariableNrqlQueryOutput) ToOneDashboardVariableNrqlQueryPtrOutputWithContext(ctx context.Context) OneDashboardVariableNrqlQueryPtrOutput

type OneDashboardVariableNrqlQueryPtrInput added in v5.2.0

type OneDashboardVariableNrqlQueryPtrInput interface {
	pulumi.Input

	ToOneDashboardVariableNrqlQueryPtrOutput() OneDashboardVariableNrqlQueryPtrOutput
	ToOneDashboardVariableNrqlQueryPtrOutputWithContext(context.Context) OneDashboardVariableNrqlQueryPtrOutput
}

OneDashboardVariableNrqlQueryPtrInput is an input type that accepts OneDashboardVariableNrqlQueryArgs, OneDashboardVariableNrqlQueryPtr and OneDashboardVariableNrqlQueryPtrOutput values. You can construct a concrete instance of `OneDashboardVariableNrqlQueryPtrInput` via:

        OneDashboardVariableNrqlQueryArgs{...}

or:

        nil

type OneDashboardVariableNrqlQueryPtrOutput added in v5.2.0

type OneDashboardVariableNrqlQueryPtrOutput struct{ *pulumi.OutputState }

func (OneDashboardVariableNrqlQueryPtrOutput) AccountIds added in v5.2.0

func (OneDashboardVariableNrqlQueryPtrOutput) Elem added in v5.2.0

func (OneDashboardVariableNrqlQueryPtrOutput) ElementType added in v5.2.0

func (OneDashboardVariableNrqlQueryPtrOutput) Query added in v5.2.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 (OneDashboardVariableNrqlQueryPtrOutput) ToOneDashboardVariableNrqlQueryPtrOutput added in v5.2.0

func (o OneDashboardVariableNrqlQueryPtrOutput) ToOneDashboardVariableNrqlQueryPtrOutput() OneDashboardVariableNrqlQueryPtrOutput

func (OneDashboardVariableNrqlQueryPtrOutput) ToOneDashboardVariableNrqlQueryPtrOutputWithContext added in v5.2.0

func (o OneDashboardVariableNrqlQueryPtrOutput) ToOneDashboardVariableNrqlQueryPtrOutputWithContext(ctx context.Context) OneDashboardVariableNrqlQueryPtrOutput

type OneDashboardVariableOutput added in v5.2.0

type OneDashboardVariableOutput struct{ *pulumi.OutputState }

func (OneDashboardVariableOutput) DefaultValues added in v5.2.0

(Optional) A list of default values for this variable.

func (OneDashboardVariableOutput) ElementType added in v5.2.0

func (OneDashboardVariableOutput) ElementType() reflect.Type

func (OneDashboardVariableOutput) IsMultiSelection added in v5.2.0

func (o OneDashboardVariableOutput) IsMultiSelection() pulumi.BoolPtrOutput

(Optional) Indicates whether this variable supports multiple selection or not. Only applies to variables of type `nrql` or `enum`.

func (OneDashboardVariableOutput) Items added in v5.2.0

(Optional) List of possible values for variables of type `enum`. See Nested item blocks below for details.

func (OneDashboardVariableOutput) Name added in v5.2.0

The title of the dashboard.

func (OneDashboardVariableOutput) NrqlQuery added in v5.2.0

(Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.

func (OneDashboardVariableOutput) ReplacementStrategy added in v5.2.0

func (o OneDashboardVariableOutput) ReplacementStrategy() pulumi.StringOutput

(Optional) Indicates the strategy to apply when replacing a variable in a NRQL query. One of `default`, `identifier`, `number` or `string`.

func (OneDashboardVariableOutput) Title added in v5.2.0

(Optional) A human-friendly display string for this value.

func (OneDashboardVariableOutput) ToOneDashboardVariableOutput added in v5.2.0

func (o OneDashboardVariableOutput) ToOneDashboardVariableOutput() OneDashboardVariableOutput

func (OneDashboardVariableOutput) ToOneDashboardVariableOutputWithContext added in v5.2.0

func (o OneDashboardVariableOutput) ToOneDashboardVariableOutputWithContext(ctx context.Context) OneDashboardVariableOutput

func (OneDashboardVariableOutput) Type added in v5.2.0

(Required) Specifies the data type of the variable and where its possible values may come from. One of `enum`, `nrql` or `string`

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	AdminApiKey pulumi.StringPtrOutput `pulumi:"adminApiKey"`
	ApiKey      pulumi.StringOutput    `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.StringInput
	// 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

func (o ProviderOutput) AdminApiKey() pulumi.StringPtrOutput

func (ProviderOutput) ApiKey

func (o ProviderOutput) ApiKey() pulumi.StringOutput

func (ProviderOutput) ApiUrl deprecated

Deprecated: New Relic internal use only. API URLs are now configured based on the configured region.

func (ProviderOutput) CacertFile

func (o ProviderOutput) CacertFile() pulumi.StringPtrOutput

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) InfrastructureApiUrl deprecated

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

func (o ProviderOutput) InsightsInsertKey() pulumi.StringPtrOutput

func (ProviderOutput) InsightsInsertUrl

func (o ProviderOutput) InsightsInsertUrl() pulumi.StringPtrOutput

func (ProviderOutput) InsightsQueryUrl

func (o ProviderOutput) InsightsQueryUrl() pulumi.StringPtrOutput

func (ProviderOutput) NerdgraphApiUrl deprecated

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

The data center for which your New Relic account is configured. Only one region per provider block is permitted.

func (ProviderOutput) SyntheticsApiUrl deprecated

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

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/v5/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: &newrelic.ServiceLevelEventsArgs{
				AccountId: pulumi.Int(12345678),
				GoodEvents: &newrelic.ServiceLevelEventsGoodEventsArgs{
					From:  pulumi.String("Transaction"),
					Where: pulumi.String("appName = 'Example application' AND (transactionType= 'Web') AND duration < 0.1"),
				},
				ValidEvents: &newrelic.ServiceLevelEventsValidEventsArgs{
					From:  pulumi.String("Transaction"),
					Where: pulumi.String("appName = 'Example application' AND (transactionType='Web')"),
				},
			},
			Guid: pulumi.String("MXxBUE18QVBQTElDQVRJT058MQ"),
			Objective: &newrelic.ServiceLevelObjectiveArgs{
				Target: pulumi.Float64(99),
				TimeWindow: &newrelic.ServiceLevelObjectiveTimeWindowArgs{
					Rolling: &newrelic.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/v5/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: &newrelic.ServiceLevelEventsArgs{
				AccountId: pulumi.Int(12345678),
				ValidEvents: &newrelic.ServiceLevelEventsValidEventsArgs{
					From:  pulumi.String("SyntheticCheck"),
					Where: pulumi.String("entityGuid = 'MXxBUE18QVBQTElDQVRJT058MQ'"),
				},
				GoodEvents: &newrelic.ServiceLevelEventsGoodEventsArgs{
					From:  pulumi.String("SyntheticCheck"),
					Where: pulumi.String("entityGuid = 'MXxBUE18QVBQTElDQVRJT058MQ' AND result='SUCCESS'"),
				},
			},
			Objective: &newrelic.ServiceLevelObjectiveArgs{
				Target: pulumi.Float64(99),
				TimeWindow: &newrelic.ServiceLevelObjectiveTimeWindowArgs{
					Rolling: &newrelic.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: newrelic.EntityTagsTagArray{
				&newrelic.EntityTagsTagArgs{
					Key: pulumi.String("user_journey"),
					Values: pulumi.StringArray{
						pulumi.String("authentication"),
						pulumi.String("sso"),
					},
				},
				&newrelic.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

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

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

func (*ServiceLevel) ElementType() reflect.Type

func (*ServiceLevel) ToServiceLevelOutput

func (i *ServiceLevel) ToServiceLevelOutput() ServiceLevelOutput

func (*ServiceLevel) ToServiceLevelOutputWithContext

func (i *ServiceLevel) ToServiceLevelOutputWithContext(ctx context.Context) ServiceLevelOutput

type ServiceLevelArgs

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

func (ServiceLevelArgs) ElementType() reflect.Type

type ServiceLevelArray

type ServiceLevelArray []ServiceLevelInput

func (ServiceLevelArray) ElementType

func (ServiceLevelArray) ElementType() reflect.Type

func (ServiceLevelArray) ToServiceLevelArrayOutput

func (i ServiceLevelArray) ToServiceLevelArrayOutput() ServiceLevelArrayOutput

func (ServiceLevelArray) ToServiceLevelArrayOutputWithContext

func (i ServiceLevelArray) ToServiceLevelArrayOutputWithContext(ctx context.Context) ServiceLevelArrayOutput

type ServiceLevelArrayInput

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

type ServiceLevelArrayOutput struct{ *pulumi.OutputState }

func (ServiceLevelArrayOutput) ElementType

func (ServiceLevelArrayOutput) ElementType() reflect.Type

func (ServiceLevelArrayOutput) Index

func (ServiceLevelArrayOutput) ToServiceLevelArrayOutput

func (o ServiceLevelArrayOutput) ToServiceLevelArrayOutput() ServiceLevelArrayOutput

func (ServiceLevelArrayOutput) ToServiceLevelArrayOutputWithContext

func (o ServiceLevelArrayOutput) ToServiceLevelArrayOutputWithContext(ctx context.Context) ServiceLevelArrayOutput

type ServiceLevelEvents

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

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

func (ServiceLevelEventsArgs) ElementType() reflect.Type

func (ServiceLevelEventsArgs) ToServiceLevelEventsOutput

func (i ServiceLevelEventsArgs) ToServiceLevelEventsOutput() ServiceLevelEventsOutput

func (ServiceLevelEventsArgs) ToServiceLevelEventsOutputWithContext

func (i ServiceLevelEventsArgs) ToServiceLevelEventsOutputWithContext(ctx context.Context) ServiceLevelEventsOutput

func (ServiceLevelEventsArgs) ToServiceLevelEventsPtrOutput

func (i ServiceLevelEventsArgs) ToServiceLevelEventsPtrOutput() ServiceLevelEventsPtrOutput

func (ServiceLevelEventsArgs) ToServiceLevelEventsPtrOutputWithContext

func (i ServiceLevelEventsArgs) ToServiceLevelEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsPtrOutput

type ServiceLevelEventsBadEvents

type ServiceLevelEventsBadEvents struct {
	// The event type where NRDB data will be fetched from.
	From string `pulumi:"from"`
	// The NRQL SELECT clause to aggregate events.
	Select *ServiceLevelEventsBadEventsSelect `pulumi:"select"`
	// 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

type ServiceLevelEventsBadEventsArgs struct {
	// The event type where NRDB data will be fetched from.
	From pulumi.StringInput `pulumi:"from"`
	// The NRQL SELECT clause to aggregate events.
	Select ServiceLevelEventsBadEventsSelectPtrInput `pulumi:"select"`
	// 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

func (ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsOutput

func (i ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsOutput() ServiceLevelEventsBadEventsOutput

func (ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsOutputWithContext

func (i ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsOutput

func (ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsPtrOutput

func (i ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsPtrOutput() ServiceLevelEventsBadEventsPtrOutput

func (ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsPtrOutputWithContext

func (i ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsPtrOutput

type ServiceLevelEventsBadEventsInput

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

type ServiceLevelEventsBadEventsOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsBadEventsOutput) ElementType

func (ServiceLevelEventsBadEventsOutput) From

The event type where NRDB data will be fetched from.

func (ServiceLevelEventsBadEventsOutput) Select added in v5.2.0

The NRQL SELECT clause to aggregate events.

func (ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsOutput

func (o ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsOutput() ServiceLevelEventsBadEventsOutput

func (ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsOutputWithContext

func (o ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsOutput

func (ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsPtrOutput

func (o ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsPtrOutput() ServiceLevelEventsBadEventsPtrOutput

func (ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsPtrOutputWithContext

func (o ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsPtrOutput

func (ServiceLevelEventsBadEventsOutput) Where

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

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

type ServiceLevelEventsBadEventsPtrOutput

type ServiceLevelEventsBadEventsPtrOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsBadEventsPtrOutput) Elem

func (ServiceLevelEventsBadEventsPtrOutput) ElementType

func (ServiceLevelEventsBadEventsPtrOutput) From

The event type where NRDB data will be fetched from.

func (ServiceLevelEventsBadEventsPtrOutput) Select added in v5.2.0

The NRQL SELECT clause to aggregate events.

func (ServiceLevelEventsBadEventsPtrOutput) ToServiceLevelEventsBadEventsPtrOutput

func (o ServiceLevelEventsBadEventsPtrOutput) ToServiceLevelEventsBadEventsPtrOutput() ServiceLevelEventsBadEventsPtrOutput

func (ServiceLevelEventsBadEventsPtrOutput) ToServiceLevelEventsBadEventsPtrOutputWithContext

func (o ServiceLevelEventsBadEventsPtrOutput) ToServiceLevelEventsBadEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsPtrOutput

func (ServiceLevelEventsBadEventsPtrOutput) Where

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 ServiceLevelEventsBadEventsSelect added in v5.2.0

type ServiceLevelEventsBadEventsSelect struct {
	// The event attribute to use in the SELECT clause.
	Attribute *string `pulumi:"attribute"`
	// The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
	Function string `pulumi:"function"`
}

type ServiceLevelEventsBadEventsSelectArgs added in v5.2.0

type ServiceLevelEventsBadEventsSelectArgs struct {
	// The event attribute to use in the SELECT clause.
	Attribute pulumi.StringPtrInput `pulumi:"attribute"`
	// The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
	Function pulumi.StringInput `pulumi:"function"`
}

func (ServiceLevelEventsBadEventsSelectArgs) ElementType added in v5.2.0

func (ServiceLevelEventsBadEventsSelectArgs) ToServiceLevelEventsBadEventsSelectOutput added in v5.2.0

func (i ServiceLevelEventsBadEventsSelectArgs) ToServiceLevelEventsBadEventsSelectOutput() ServiceLevelEventsBadEventsSelectOutput

func (ServiceLevelEventsBadEventsSelectArgs) ToServiceLevelEventsBadEventsSelectOutputWithContext added in v5.2.0

func (i ServiceLevelEventsBadEventsSelectArgs) ToServiceLevelEventsBadEventsSelectOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsSelectOutput

func (ServiceLevelEventsBadEventsSelectArgs) ToServiceLevelEventsBadEventsSelectPtrOutput added in v5.2.0

func (i ServiceLevelEventsBadEventsSelectArgs) ToServiceLevelEventsBadEventsSelectPtrOutput() ServiceLevelEventsBadEventsSelectPtrOutput

func (ServiceLevelEventsBadEventsSelectArgs) ToServiceLevelEventsBadEventsSelectPtrOutputWithContext added in v5.2.0

func (i ServiceLevelEventsBadEventsSelectArgs) ToServiceLevelEventsBadEventsSelectPtrOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsSelectPtrOutput

type ServiceLevelEventsBadEventsSelectInput added in v5.2.0

type ServiceLevelEventsBadEventsSelectInput interface {
	pulumi.Input

	ToServiceLevelEventsBadEventsSelectOutput() ServiceLevelEventsBadEventsSelectOutput
	ToServiceLevelEventsBadEventsSelectOutputWithContext(context.Context) ServiceLevelEventsBadEventsSelectOutput
}

ServiceLevelEventsBadEventsSelectInput is an input type that accepts ServiceLevelEventsBadEventsSelectArgs and ServiceLevelEventsBadEventsSelectOutput values. You can construct a concrete instance of `ServiceLevelEventsBadEventsSelectInput` via:

ServiceLevelEventsBadEventsSelectArgs{...}

type ServiceLevelEventsBadEventsSelectOutput added in v5.2.0

type ServiceLevelEventsBadEventsSelectOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsBadEventsSelectOutput) Attribute added in v5.2.0

The event attribute to use in the SELECT clause.

func (ServiceLevelEventsBadEventsSelectOutput) ElementType added in v5.2.0

func (ServiceLevelEventsBadEventsSelectOutput) Function added in v5.2.0

The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.

func (ServiceLevelEventsBadEventsSelectOutput) ToServiceLevelEventsBadEventsSelectOutput added in v5.2.0

func (o ServiceLevelEventsBadEventsSelectOutput) ToServiceLevelEventsBadEventsSelectOutput() ServiceLevelEventsBadEventsSelectOutput

func (ServiceLevelEventsBadEventsSelectOutput) ToServiceLevelEventsBadEventsSelectOutputWithContext added in v5.2.0

func (o ServiceLevelEventsBadEventsSelectOutput) ToServiceLevelEventsBadEventsSelectOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsSelectOutput

func (ServiceLevelEventsBadEventsSelectOutput) ToServiceLevelEventsBadEventsSelectPtrOutput added in v5.2.0

func (o ServiceLevelEventsBadEventsSelectOutput) ToServiceLevelEventsBadEventsSelectPtrOutput() ServiceLevelEventsBadEventsSelectPtrOutput

func (ServiceLevelEventsBadEventsSelectOutput) ToServiceLevelEventsBadEventsSelectPtrOutputWithContext added in v5.2.0

func (o ServiceLevelEventsBadEventsSelectOutput) ToServiceLevelEventsBadEventsSelectPtrOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsSelectPtrOutput

type ServiceLevelEventsBadEventsSelectPtrInput added in v5.2.0

type ServiceLevelEventsBadEventsSelectPtrInput interface {
	pulumi.Input

	ToServiceLevelEventsBadEventsSelectPtrOutput() ServiceLevelEventsBadEventsSelectPtrOutput
	ToServiceLevelEventsBadEventsSelectPtrOutputWithContext(context.Context) ServiceLevelEventsBadEventsSelectPtrOutput
}

ServiceLevelEventsBadEventsSelectPtrInput is an input type that accepts ServiceLevelEventsBadEventsSelectArgs, ServiceLevelEventsBadEventsSelectPtr and ServiceLevelEventsBadEventsSelectPtrOutput values. You can construct a concrete instance of `ServiceLevelEventsBadEventsSelectPtrInput` via:

        ServiceLevelEventsBadEventsSelectArgs{...}

or:

        nil

type ServiceLevelEventsBadEventsSelectPtrOutput added in v5.2.0

type ServiceLevelEventsBadEventsSelectPtrOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsBadEventsSelectPtrOutput) Attribute added in v5.2.0

The event attribute to use in the SELECT clause.

func (ServiceLevelEventsBadEventsSelectPtrOutput) Elem added in v5.2.0

func (ServiceLevelEventsBadEventsSelectPtrOutput) ElementType added in v5.2.0

func (ServiceLevelEventsBadEventsSelectPtrOutput) Function added in v5.2.0

The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.

func (ServiceLevelEventsBadEventsSelectPtrOutput) ToServiceLevelEventsBadEventsSelectPtrOutput added in v5.2.0

func (o ServiceLevelEventsBadEventsSelectPtrOutput) ToServiceLevelEventsBadEventsSelectPtrOutput() ServiceLevelEventsBadEventsSelectPtrOutput

func (ServiceLevelEventsBadEventsSelectPtrOutput) ToServiceLevelEventsBadEventsSelectPtrOutputWithContext added in v5.2.0

func (o ServiceLevelEventsBadEventsSelectPtrOutput) ToServiceLevelEventsBadEventsSelectPtrOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsSelectPtrOutput

type ServiceLevelEventsGoodEvents

type ServiceLevelEventsGoodEvents struct {
	// The event type where NRDB data will be fetched from.
	From string `pulumi:"from"`
	// The NRQL SELECT clause to aggregate events.
	Select *ServiceLevelEventsGoodEventsSelect `pulumi:"select"`
	// 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

type ServiceLevelEventsGoodEventsArgs struct {
	// The event type where NRDB data will be fetched from.
	From pulumi.StringInput `pulumi:"from"`
	// The NRQL SELECT clause to aggregate events.
	Select ServiceLevelEventsGoodEventsSelectPtrInput `pulumi:"select"`
	// 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

func (ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsOutput

func (i ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsOutput() ServiceLevelEventsGoodEventsOutput

func (ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsOutputWithContext

func (i ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsOutput

func (ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsPtrOutput

func (i ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsPtrOutput() ServiceLevelEventsGoodEventsPtrOutput

func (ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsPtrOutputWithContext

func (i ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsPtrOutput

type ServiceLevelEventsGoodEventsInput

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

type ServiceLevelEventsGoodEventsOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsGoodEventsOutput) ElementType

func (ServiceLevelEventsGoodEventsOutput) From

The event type where NRDB data will be fetched from.

func (ServiceLevelEventsGoodEventsOutput) Select added in v5.2.0

The NRQL SELECT clause to aggregate events.

func (ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsOutput

func (o ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsOutput() ServiceLevelEventsGoodEventsOutput

func (ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsOutputWithContext

func (o ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsOutput

func (ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsPtrOutput

func (o ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsPtrOutput() ServiceLevelEventsGoodEventsPtrOutput

func (ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsPtrOutputWithContext

func (o ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsPtrOutput

func (ServiceLevelEventsGoodEventsOutput) Where

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

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

type ServiceLevelEventsGoodEventsPtrOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsGoodEventsPtrOutput) Elem

func (ServiceLevelEventsGoodEventsPtrOutput) ElementType

func (ServiceLevelEventsGoodEventsPtrOutput) From

The event type where NRDB data will be fetched from.

func (ServiceLevelEventsGoodEventsPtrOutput) Select added in v5.2.0

The NRQL SELECT clause to aggregate events.

func (ServiceLevelEventsGoodEventsPtrOutput) ToServiceLevelEventsGoodEventsPtrOutput

func (o ServiceLevelEventsGoodEventsPtrOutput) ToServiceLevelEventsGoodEventsPtrOutput() ServiceLevelEventsGoodEventsPtrOutput

func (ServiceLevelEventsGoodEventsPtrOutput) ToServiceLevelEventsGoodEventsPtrOutputWithContext

func (o ServiceLevelEventsGoodEventsPtrOutput) ToServiceLevelEventsGoodEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsPtrOutput

func (ServiceLevelEventsGoodEventsPtrOutput) Where

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 ServiceLevelEventsGoodEventsSelect added in v5.2.0

type ServiceLevelEventsGoodEventsSelect struct {
	// The event attribute to use in the SELECT clause.
	Attribute *string `pulumi:"attribute"`
	// The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
	Function string `pulumi:"function"`
}

type ServiceLevelEventsGoodEventsSelectArgs added in v5.2.0

type ServiceLevelEventsGoodEventsSelectArgs struct {
	// The event attribute to use in the SELECT clause.
	Attribute pulumi.StringPtrInput `pulumi:"attribute"`
	// The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
	Function pulumi.StringInput `pulumi:"function"`
}

func (ServiceLevelEventsGoodEventsSelectArgs) ElementType added in v5.2.0

func (ServiceLevelEventsGoodEventsSelectArgs) ToServiceLevelEventsGoodEventsSelectOutput added in v5.2.0

func (i ServiceLevelEventsGoodEventsSelectArgs) ToServiceLevelEventsGoodEventsSelectOutput() ServiceLevelEventsGoodEventsSelectOutput

func (ServiceLevelEventsGoodEventsSelectArgs) ToServiceLevelEventsGoodEventsSelectOutputWithContext added in v5.2.0

func (i ServiceLevelEventsGoodEventsSelectArgs) ToServiceLevelEventsGoodEventsSelectOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsSelectOutput

func (ServiceLevelEventsGoodEventsSelectArgs) ToServiceLevelEventsGoodEventsSelectPtrOutput added in v5.2.0

func (i ServiceLevelEventsGoodEventsSelectArgs) ToServiceLevelEventsGoodEventsSelectPtrOutput() ServiceLevelEventsGoodEventsSelectPtrOutput

func (ServiceLevelEventsGoodEventsSelectArgs) ToServiceLevelEventsGoodEventsSelectPtrOutputWithContext added in v5.2.0

func (i ServiceLevelEventsGoodEventsSelectArgs) ToServiceLevelEventsGoodEventsSelectPtrOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsSelectPtrOutput

type ServiceLevelEventsGoodEventsSelectInput added in v5.2.0

type ServiceLevelEventsGoodEventsSelectInput interface {
	pulumi.Input

	ToServiceLevelEventsGoodEventsSelectOutput() ServiceLevelEventsGoodEventsSelectOutput
	ToServiceLevelEventsGoodEventsSelectOutputWithContext(context.Context) ServiceLevelEventsGoodEventsSelectOutput
}

ServiceLevelEventsGoodEventsSelectInput is an input type that accepts ServiceLevelEventsGoodEventsSelectArgs and ServiceLevelEventsGoodEventsSelectOutput values. You can construct a concrete instance of `ServiceLevelEventsGoodEventsSelectInput` via:

ServiceLevelEventsGoodEventsSelectArgs{...}

type ServiceLevelEventsGoodEventsSelectOutput added in v5.2.0

type ServiceLevelEventsGoodEventsSelectOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsGoodEventsSelectOutput) Attribute added in v5.2.0

The event attribute to use in the SELECT clause.

func (ServiceLevelEventsGoodEventsSelectOutput) ElementType added in v5.2.0

func (ServiceLevelEventsGoodEventsSelectOutput) Function added in v5.2.0

The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.

func (ServiceLevelEventsGoodEventsSelectOutput) ToServiceLevelEventsGoodEventsSelectOutput added in v5.2.0

func (o ServiceLevelEventsGoodEventsSelectOutput) ToServiceLevelEventsGoodEventsSelectOutput() ServiceLevelEventsGoodEventsSelectOutput

func (ServiceLevelEventsGoodEventsSelectOutput) ToServiceLevelEventsGoodEventsSelectOutputWithContext added in v5.2.0

func (o ServiceLevelEventsGoodEventsSelectOutput) ToServiceLevelEventsGoodEventsSelectOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsSelectOutput

func (ServiceLevelEventsGoodEventsSelectOutput) ToServiceLevelEventsGoodEventsSelectPtrOutput added in v5.2.0

func (o ServiceLevelEventsGoodEventsSelectOutput) ToServiceLevelEventsGoodEventsSelectPtrOutput() ServiceLevelEventsGoodEventsSelectPtrOutput

func (ServiceLevelEventsGoodEventsSelectOutput) ToServiceLevelEventsGoodEventsSelectPtrOutputWithContext added in v5.2.0

func (o ServiceLevelEventsGoodEventsSelectOutput) ToServiceLevelEventsGoodEventsSelectPtrOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsSelectPtrOutput

type ServiceLevelEventsGoodEventsSelectPtrInput added in v5.2.0

type ServiceLevelEventsGoodEventsSelectPtrInput interface {
	pulumi.Input

	ToServiceLevelEventsGoodEventsSelectPtrOutput() ServiceLevelEventsGoodEventsSelectPtrOutput
	ToServiceLevelEventsGoodEventsSelectPtrOutputWithContext(context.Context) ServiceLevelEventsGoodEventsSelectPtrOutput
}

ServiceLevelEventsGoodEventsSelectPtrInput is an input type that accepts ServiceLevelEventsGoodEventsSelectArgs, ServiceLevelEventsGoodEventsSelectPtr and ServiceLevelEventsGoodEventsSelectPtrOutput values. You can construct a concrete instance of `ServiceLevelEventsGoodEventsSelectPtrInput` via:

        ServiceLevelEventsGoodEventsSelectArgs{...}

or:

        nil

type ServiceLevelEventsGoodEventsSelectPtrOutput added in v5.2.0

type ServiceLevelEventsGoodEventsSelectPtrOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsGoodEventsSelectPtrOutput) Attribute added in v5.2.0

The event attribute to use in the SELECT clause.

func (ServiceLevelEventsGoodEventsSelectPtrOutput) Elem added in v5.2.0

func (ServiceLevelEventsGoodEventsSelectPtrOutput) ElementType added in v5.2.0

func (ServiceLevelEventsGoodEventsSelectPtrOutput) Function added in v5.2.0

The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.

func (ServiceLevelEventsGoodEventsSelectPtrOutput) ToServiceLevelEventsGoodEventsSelectPtrOutput added in v5.2.0

func (o ServiceLevelEventsGoodEventsSelectPtrOutput) ToServiceLevelEventsGoodEventsSelectPtrOutput() ServiceLevelEventsGoodEventsSelectPtrOutput

func (ServiceLevelEventsGoodEventsSelectPtrOutput) ToServiceLevelEventsGoodEventsSelectPtrOutputWithContext added in v5.2.0

func (o ServiceLevelEventsGoodEventsSelectPtrOutput) ToServiceLevelEventsGoodEventsSelectPtrOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsSelectPtrOutput

type ServiceLevelEventsInput

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

type ServiceLevelEventsOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsOutput) AccountId

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

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

func (ServiceLevelEventsOutput) ElementType() reflect.Type

func (ServiceLevelEventsOutput) GoodEvents

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

func (o ServiceLevelEventsOutput) ToServiceLevelEventsOutput() ServiceLevelEventsOutput

func (ServiceLevelEventsOutput) ToServiceLevelEventsOutputWithContext

func (o ServiceLevelEventsOutput) ToServiceLevelEventsOutputWithContext(ctx context.Context) ServiceLevelEventsOutput

func (ServiceLevelEventsOutput) ToServiceLevelEventsPtrOutput

func (o ServiceLevelEventsOutput) ToServiceLevelEventsPtrOutput() ServiceLevelEventsPtrOutput

func (ServiceLevelEventsOutput) ToServiceLevelEventsPtrOutputWithContext

func (o ServiceLevelEventsOutput) ToServiceLevelEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsPtrOutput

func (ServiceLevelEventsOutput) ValidEvents

The definition of valid requests.

type ServiceLevelEventsPtrInput

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

type ServiceLevelEventsPtrOutput

type ServiceLevelEventsPtrOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsPtrOutput) AccountId

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

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

func (ServiceLevelEventsPtrOutput) ElementType

func (ServiceLevelEventsPtrOutput) GoodEvents

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

func (o ServiceLevelEventsPtrOutput) ToServiceLevelEventsPtrOutput() ServiceLevelEventsPtrOutput

func (ServiceLevelEventsPtrOutput) ToServiceLevelEventsPtrOutputWithContext

func (o ServiceLevelEventsPtrOutput) ToServiceLevelEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsPtrOutput

func (ServiceLevelEventsPtrOutput) ValidEvents

The definition of valid requests.

type ServiceLevelEventsValidEvents

type ServiceLevelEventsValidEvents struct {
	// The event type where NRDB data will be fetched from.
	From string `pulumi:"from"`
	// The NRQL SELECT clause to aggregate events.
	Select *ServiceLevelEventsValidEventsSelect `pulumi:"select"`
	// 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

type ServiceLevelEventsValidEventsArgs struct {
	// The event type where NRDB data will be fetched from.
	From pulumi.StringInput `pulumi:"from"`
	// The NRQL SELECT clause to aggregate events.
	Select ServiceLevelEventsValidEventsSelectPtrInput `pulumi:"select"`
	// 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

func (ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsOutput

func (i ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsOutput() ServiceLevelEventsValidEventsOutput

func (ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsOutputWithContext

func (i ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsOutput

func (ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsPtrOutput

func (i ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsPtrOutput() ServiceLevelEventsValidEventsPtrOutput

func (ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsPtrOutputWithContext

func (i ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsPtrOutput

type ServiceLevelEventsValidEventsInput

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

type ServiceLevelEventsValidEventsOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsValidEventsOutput) ElementType

func (ServiceLevelEventsValidEventsOutput) From

The event type where NRDB data will be fetched from.

func (ServiceLevelEventsValidEventsOutput) Select added in v5.2.0

The NRQL SELECT clause to aggregate events.

func (ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsOutput

func (o ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsOutput() ServiceLevelEventsValidEventsOutput

func (ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsOutputWithContext

func (o ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsOutput

func (ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsPtrOutput

func (o ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsPtrOutput() ServiceLevelEventsValidEventsPtrOutput

func (ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsPtrOutputWithContext

func (o ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsPtrOutput

func (ServiceLevelEventsValidEventsOutput) Where

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

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

type ServiceLevelEventsValidEventsPtrOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsValidEventsPtrOutput) Elem

func (ServiceLevelEventsValidEventsPtrOutput) ElementType

func (ServiceLevelEventsValidEventsPtrOutput) From

The event type where NRDB data will be fetched from.

func (ServiceLevelEventsValidEventsPtrOutput) Select added in v5.2.0

The NRQL SELECT clause to aggregate events.

func (ServiceLevelEventsValidEventsPtrOutput) ToServiceLevelEventsValidEventsPtrOutput

func (o ServiceLevelEventsValidEventsPtrOutput) ToServiceLevelEventsValidEventsPtrOutput() ServiceLevelEventsValidEventsPtrOutput

func (ServiceLevelEventsValidEventsPtrOutput) ToServiceLevelEventsValidEventsPtrOutputWithContext

func (o ServiceLevelEventsValidEventsPtrOutput) ToServiceLevelEventsValidEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsPtrOutput

func (ServiceLevelEventsValidEventsPtrOutput) Where

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 ServiceLevelEventsValidEventsSelect added in v5.2.0

type ServiceLevelEventsValidEventsSelect struct {
	// The event attribute to use in the SELECT clause.
	Attribute *string `pulumi:"attribute"`
	// The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
	Function string `pulumi:"function"`
}

type ServiceLevelEventsValidEventsSelectArgs added in v5.2.0

type ServiceLevelEventsValidEventsSelectArgs struct {
	// The event attribute to use in the SELECT clause.
	Attribute pulumi.StringPtrInput `pulumi:"attribute"`
	// The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
	Function pulumi.StringInput `pulumi:"function"`
}

func (ServiceLevelEventsValidEventsSelectArgs) ElementType added in v5.2.0

func (ServiceLevelEventsValidEventsSelectArgs) ToServiceLevelEventsValidEventsSelectOutput added in v5.2.0

func (i ServiceLevelEventsValidEventsSelectArgs) ToServiceLevelEventsValidEventsSelectOutput() ServiceLevelEventsValidEventsSelectOutput

func (ServiceLevelEventsValidEventsSelectArgs) ToServiceLevelEventsValidEventsSelectOutputWithContext added in v5.2.0

func (i ServiceLevelEventsValidEventsSelectArgs) ToServiceLevelEventsValidEventsSelectOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsSelectOutput

func (ServiceLevelEventsValidEventsSelectArgs) ToServiceLevelEventsValidEventsSelectPtrOutput added in v5.2.0

func (i ServiceLevelEventsValidEventsSelectArgs) ToServiceLevelEventsValidEventsSelectPtrOutput() ServiceLevelEventsValidEventsSelectPtrOutput

func (ServiceLevelEventsValidEventsSelectArgs) ToServiceLevelEventsValidEventsSelectPtrOutputWithContext added in v5.2.0

func (i ServiceLevelEventsValidEventsSelectArgs) ToServiceLevelEventsValidEventsSelectPtrOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsSelectPtrOutput

type ServiceLevelEventsValidEventsSelectInput added in v5.2.0

type ServiceLevelEventsValidEventsSelectInput interface {
	pulumi.Input

	ToServiceLevelEventsValidEventsSelectOutput() ServiceLevelEventsValidEventsSelectOutput
	ToServiceLevelEventsValidEventsSelectOutputWithContext(context.Context) ServiceLevelEventsValidEventsSelectOutput
}

ServiceLevelEventsValidEventsSelectInput is an input type that accepts ServiceLevelEventsValidEventsSelectArgs and ServiceLevelEventsValidEventsSelectOutput values. You can construct a concrete instance of `ServiceLevelEventsValidEventsSelectInput` via:

ServiceLevelEventsValidEventsSelectArgs{...}

type ServiceLevelEventsValidEventsSelectOutput added in v5.2.0

type ServiceLevelEventsValidEventsSelectOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsValidEventsSelectOutput) Attribute added in v5.2.0

The event attribute to use in the SELECT clause.

func (ServiceLevelEventsValidEventsSelectOutput) ElementType added in v5.2.0

func (ServiceLevelEventsValidEventsSelectOutput) Function added in v5.2.0

The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.

func (ServiceLevelEventsValidEventsSelectOutput) ToServiceLevelEventsValidEventsSelectOutput added in v5.2.0

func (o ServiceLevelEventsValidEventsSelectOutput) ToServiceLevelEventsValidEventsSelectOutput() ServiceLevelEventsValidEventsSelectOutput

func (ServiceLevelEventsValidEventsSelectOutput) ToServiceLevelEventsValidEventsSelectOutputWithContext added in v5.2.0

func (o ServiceLevelEventsValidEventsSelectOutput) ToServiceLevelEventsValidEventsSelectOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsSelectOutput

func (ServiceLevelEventsValidEventsSelectOutput) ToServiceLevelEventsValidEventsSelectPtrOutput added in v5.2.0

func (o ServiceLevelEventsValidEventsSelectOutput) ToServiceLevelEventsValidEventsSelectPtrOutput() ServiceLevelEventsValidEventsSelectPtrOutput

func (ServiceLevelEventsValidEventsSelectOutput) ToServiceLevelEventsValidEventsSelectPtrOutputWithContext added in v5.2.0

func (o ServiceLevelEventsValidEventsSelectOutput) ToServiceLevelEventsValidEventsSelectPtrOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsSelectPtrOutput

type ServiceLevelEventsValidEventsSelectPtrInput added in v5.2.0

type ServiceLevelEventsValidEventsSelectPtrInput interface {
	pulumi.Input

	ToServiceLevelEventsValidEventsSelectPtrOutput() ServiceLevelEventsValidEventsSelectPtrOutput
	ToServiceLevelEventsValidEventsSelectPtrOutputWithContext(context.Context) ServiceLevelEventsValidEventsSelectPtrOutput
}

ServiceLevelEventsValidEventsSelectPtrInput is an input type that accepts ServiceLevelEventsValidEventsSelectArgs, ServiceLevelEventsValidEventsSelectPtr and ServiceLevelEventsValidEventsSelectPtrOutput values. You can construct a concrete instance of `ServiceLevelEventsValidEventsSelectPtrInput` via:

        ServiceLevelEventsValidEventsSelectArgs{...}

or:

        nil

type ServiceLevelEventsValidEventsSelectPtrOutput added in v5.2.0

type ServiceLevelEventsValidEventsSelectPtrOutput struct{ *pulumi.OutputState }

func (ServiceLevelEventsValidEventsSelectPtrOutput) Attribute added in v5.2.0

The event attribute to use in the SELECT clause.

func (ServiceLevelEventsValidEventsSelectPtrOutput) Elem added in v5.2.0

func (ServiceLevelEventsValidEventsSelectPtrOutput) ElementType added in v5.2.0

func (ServiceLevelEventsValidEventsSelectPtrOutput) Function added in v5.2.0

The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.

func (ServiceLevelEventsValidEventsSelectPtrOutput) ToServiceLevelEventsValidEventsSelectPtrOutput added in v5.2.0

func (o ServiceLevelEventsValidEventsSelectPtrOutput) ToServiceLevelEventsValidEventsSelectPtrOutput() ServiceLevelEventsValidEventsSelectPtrOutput

func (ServiceLevelEventsValidEventsSelectPtrOutput) ToServiceLevelEventsValidEventsSelectPtrOutputWithContext added in v5.2.0

func (o ServiceLevelEventsValidEventsSelectPtrOutput) ToServiceLevelEventsValidEventsSelectPtrOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsSelectPtrOutput

type ServiceLevelInput

type ServiceLevelInput interface {
	pulumi.Input

	ToServiceLevelOutput() ServiceLevelOutput
	ToServiceLevelOutputWithContext(ctx context.Context) ServiceLevelOutput
}

type ServiceLevelMap

type ServiceLevelMap map[string]ServiceLevelInput

func (ServiceLevelMap) ElementType

func (ServiceLevelMap) ElementType() reflect.Type

func (ServiceLevelMap) ToServiceLevelMapOutput

func (i ServiceLevelMap) ToServiceLevelMapOutput() ServiceLevelMapOutput

func (ServiceLevelMap) ToServiceLevelMapOutputWithContext

func (i ServiceLevelMap) ToServiceLevelMapOutputWithContext(ctx context.Context) ServiceLevelMapOutput

type ServiceLevelMapInput

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

type ServiceLevelMapOutput struct{ *pulumi.OutputState }

func (ServiceLevelMapOutput) ElementType

func (ServiceLevelMapOutput) ElementType() reflect.Type

func (ServiceLevelMapOutput) MapIndex

func (ServiceLevelMapOutput) ToServiceLevelMapOutput

func (o ServiceLevelMapOutput) ToServiceLevelMapOutput() ServiceLevelMapOutput

func (ServiceLevelMapOutput) ToServiceLevelMapOutputWithContext

func (o ServiceLevelMapOutput) ToServiceLevelMapOutputWithContext(ctx context.Context) ServiceLevelMapOutput

type ServiceLevelObjective

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

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

func (ServiceLevelObjectiveArgs) ElementType() reflect.Type

func (ServiceLevelObjectiveArgs) ToServiceLevelObjectiveOutput

func (i ServiceLevelObjectiveArgs) ToServiceLevelObjectiveOutput() ServiceLevelObjectiveOutput

func (ServiceLevelObjectiveArgs) ToServiceLevelObjectiveOutputWithContext

func (i ServiceLevelObjectiveArgs) ToServiceLevelObjectiveOutputWithContext(ctx context.Context) ServiceLevelObjectiveOutput

func (ServiceLevelObjectiveArgs) ToServiceLevelObjectivePtrOutput

func (i ServiceLevelObjectiveArgs) ToServiceLevelObjectivePtrOutput() ServiceLevelObjectivePtrOutput

func (ServiceLevelObjectiveArgs) ToServiceLevelObjectivePtrOutputWithContext

func (i ServiceLevelObjectiveArgs) ToServiceLevelObjectivePtrOutputWithContext(ctx context.Context) ServiceLevelObjectivePtrOutput

type ServiceLevelObjectiveInput

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

type ServiceLevelObjectiveOutput struct{ *pulumi.OutputState }

func (ServiceLevelObjectiveOutput) Description

The description of the SLI.

func (ServiceLevelObjectiveOutput) ElementType

func (ServiceLevelObjectiveOutput) Name

A short name for the SLI that will help anyone understand what it is about.

func (ServiceLevelObjectiveOutput) Target

The target of the objective, valid values between `0` and `100`. Up to 5 decimals accepted.

func (ServiceLevelObjectiveOutput) TimeWindow

Time window is the period of the objective.

func (ServiceLevelObjectiveOutput) ToServiceLevelObjectiveOutput

func (o ServiceLevelObjectiveOutput) ToServiceLevelObjectiveOutput() ServiceLevelObjectiveOutput

func (ServiceLevelObjectiveOutput) ToServiceLevelObjectiveOutputWithContext

func (o ServiceLevelObjectiveOutput) ToServiceLevelObjectiveOutputWithContext(ctx context.Context) ServiceLevelObjectiveOutput

func (ServiceLevelObjectiveOutput) ToServiceLevelObjectivePtrOutput

func (o ServiceLevelObjectiveOutput) ToServiceLevelObjectivePtrOutput() ServiceLevelObjectivePtrOutput

func (ServiceLevelObjectiveOutput) ToServiceLevelObjectivePtrOutputWithContext

func (o ServiceLevelObjectiveOutput) ToServiceLevelObjectivePtrOutputWithContext(ctx context.Context) ServiceLevelObjectivePtrOutput

type ServiceLevelObjectivePtrInput

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

type ServiceLevelObjectivePtrOutput

type ServiceLevelObjectivePtrOutput struct{ *pulumi.OutputState }

func (ServiceLevelObjectivePtrOutput) Description

The description of the SLI.

func (ServiceLevelObjectivePtrOutput) Elem

func (ServiceLevelObjectivePtrOutput) ElementType

func (ServiceLevelObjectivePtrOutput) Name

A short name for the SLI that will help anyone understand what it is about.

func (ServiceLevelObjectivePtrOutput) Target

The target of the objective, valid values between `0` and `100`. Up to 5 decimals accepted.

func (ServiceLevelObjectivePtrOutput) TimeWindow

Time window is the period of the objective.

func (ServiceLevelObjectivePtrOutput) ToServiceLevelObjectivePtrOutput

func (o ServiceLevelObjectivePtrOutput) ToServiceLevelObjectivePtrOutput() ServiceLevelObjectivePtrOutput

func (ServiceLevelObjectivePtrOutput) ToServiceLevelObjectivePtrOutputWithContext

func (o ServiceLevelObjectivePtrOutput) ToServiceLevelObjectivePtrOutputWithContext(ctx context.Context) ServiceLevelObjectivePtrOutput

type ServiceLevelObjectiveTimeWindow

type ServiceLevelObjectiveTimeWindow struct {
	// Rolling window.
	Rolling ServiceLevelObjectiveTimeWindowRolling `pulumi:"rolling"`
}

type ServiceLevelObjectiveTimeWindowArgs

type ServiceLevelObjectiveTimeWindowArgs struct {
	// Rolling window.
	Rolling ServiceLevelObjectiveTimeWindowRollingInput `pulumi:"rolling"`
}

func (ServiceLevelObjectiveTimeWindowArgs) ElementType

func (ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowOutput

func (i ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowOutput() ServiceLevelObjectiveTimeWindowOutput

func (ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowOutputWithContext

func (i ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowOutput

func (ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowPtrOutput

func (i ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowPtrOutput() ServiceLevelObjectiveTimeWindowPtrOutput

func (ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext

func (i ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowPtrOutput

type ServiceLevelObjectiveTimeWindowInput

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

type ServiceLevelObjectiveTimeWindowOutput struct{ *pulumi.OutputState }

func (ServiceLevelObjectiveTimeWindowOutput) ElementType

func (ServiceLevelObjectiveTimeWindowOutput) Rolling

Rolling window.

func (ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowOutput

func (o ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowOutput() ServiceLevelObjectiveTimeWindowOutput

func (ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowOutputWithContext

func (o ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowOutput

func (ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowPtrOutput

func (o ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowPtrOutput() ServiceLevelObjectiveTimeWindowPtrOutput

func (ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext

func (o ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowPtrOutput

type ServiceLevelObjectiveTimeWindowPtrInput

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

type ServiceLevelObjectiveTimeWindowPtrOutput struct{ *pulumi.OutputState }

func (ServiceLevelObjectiveTimeWindowPtrOutput) Elem

func (ServiceLevelObjectiveTimeWindowPtrOutput) ElementType

func (ServiceLevelObjectiveTimeWindowPtrOutput) Rolling

Rolling window.

func (ServiceLevelObjectiveTimeWindowPtrOutput) ToServiceLevelObjectiveTimeWindowPtrOutput

func (o ServiceLevelObjectiveTimeWindowPtrOutput) ToServiceLevelObjectiveTimeWindowPtrOutput() ServiceLevelObjectiveTimeWindowPtrOutput

func (ServiceLevelObjectiveTimeWindowPtrOutput) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext

func (o ServiceLevelObjectiveTimeWindowPtrOutput) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowPtrOutput

type ServiceLevelObjectiveTimeWindowRolling

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

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

func (ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingOutput

func (i ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingOutput() ServiceLevelObjectiveTimeWindowRollingOutput

func (ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingOutputWithContext

func (i ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingOutput

func (ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingPtrOutput

func (i ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingPtrOutput() ServiceLevelObjectiveTimeWindowRollingPtrOutput

func (ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext

func (i ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingPtrOutput

type ServiceLevelObjectiveTimeWindowRollingInput

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

type ServiceLevelObjectiveTimeWindowRollingOutput struct{ *pulumi.OutputState }

func (ServiceLevelObjectiveTimeWindowRollingOutput) Count

Valid values are `1`, `7` and `28`.

func (ServiceLevelObjectiveTimeWindowRollingOutput) ElementType

func (ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingOutput

func (o ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingOutput() ServiceLevelObjectiveTimeWindowRollingOutput

func (ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingOutputWithContext

func (o ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingOutput

func (ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutput

func (o ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutput() ServiceLevelObjectiveTimeWindowRollingPtrOutput

func (ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext

func (o ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingPtrOutput

func (ServiceLevelObjectiveTimeWindowRollingOutput) Unit

The only supported value is `DAY`.

type ServiceLevelObjectiveTimeWindowRollingPtrInput

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

type ServiceLevelObjectiveTimeWindowRollingPtrOutput struct{ *pulumi.OutputState }

func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) Count

Valid values are `1`, `7` and `28`.

func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) Elem

func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) ElementType

func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutput

func (o ServiceLevelObjectiveTimeWindowRollingPtrOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutput() ServiceLevelObjectiveTimeWindowRollingPtrOutput

func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext

func (o ServiceLevelObjectiveTimeWindowRollingPtrOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingPtrOutput

func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) Unit

The only supported value is `DAY`.

type ServiceLevelOutput

type ServiceLevelOutput struct{ *pulumi.OutputState }

func (ServiceLevelOutput) Description

func (o ServiceLevelOutput) Description() pulumi.StringPtrOutput

The description of the SLI.

func (ServiceLevelOutput) ElementType

func (ServiceLevelOutput) ElementType() reflect.Type

func (ServiceLevelOutput) Events

The events that define the NRDB data for the SLI/SLO calculations. See Events below for details.

func (ServiceLevelOutput) Guid

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

A short name for the SLI that will help anyone understand what it is about.

func (ServiceLevelOutput) Objective

The objective of the SLI, only one can be defined. See Objective below for details.

func (ServiceLevelOutput) SliGuid

The unique entity identifier of the Service Level Indicator in New Relic.

func (ServiceLevelOutput) SliId

The unique entity identifier of the Service Level Indicator.

func (ServiceLevelOutput) ToServiceLevelOutput

func (o ServiceLevelOutput) ToServiceLevelOutput() ServiceLevelOutput

func (ServiceLevelOutput) ToServiceLevelOutputWithContext

func (o ServiceLevelOutput) ToServiceLevelOutputWithContext(ctx context.Context) ServiceLevelOutput

type ServiceLevelState

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

func (ServiceLevelState) ElementType() reflect.Type

type Workflow

type Workflow struct {
	pulumi.CustomResourceState

	// Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
	AccountId pulumi.IntOutput `pulumi:"accountId"`
	// Notification configuration. See Nested destination blocks below for details.
	Destinations WorkflowDestinationArrayOutput `pulumi:"destinations"`
	// **DEPRECATED** Whether destinations are enabled. Please use `enabled` instead:
	// these two are different flags, but they are functionally identical. Defaults to true.
	//
	// Deprecated: Please use 'enabled' instead
	DestinationsEnabled pulumi.BoolPtrOutput `pulumi:"destinationsEnabled"`
	// Whether workflow is enabled. Defaults to true.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Workflow's enrichments. See Nested enrichments blocks below for details.
	Enrichments WorkflowEnrichmentsPtrOutput `pulumi:"enrichments"`
	// Whether enrichments are enabled. Defaults to true.
	EnrichmentsEnabled pulumi.BoolPtrOutput `pulumi:"enrichmentsEnabled"`
	// Workflow entity GUID
	Guid pulumi.StringOutput `pulumi:"guid"`
	// A filter used to identify issues handled by this workflow. See Nested issuesFilter blocks below for details.
	IssuesFilter WorkflowIssuesFilterOutput `pulumi:"issuesFilter"`
	// The last time notification was sent for this workflow.
	LastRun pulumi.StringOutput `pulumi:"lastRun"`
	// How to handle muted issues. See Muting Rules below for details.
	MutingRulesHandling pulumi.StringOutput `pulumi:"mutingRulesHandling"`
	// The name of the workflow.
	Name pulumi.StringOutput `pulumi:"name"`
	// The id of the workflow.
	WorkflowId pulumi.StringOutput `pulumi:"workflowId"`
}

Use this resource to create and manage New Relic workflows.

## Example Usage

##### Workflow ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewWorkflow(ctx, "foo", &newrelic.WorkflowArgs{
			MutingRulesHandling: pulumi.String("NOTIFY_ALL_ISSUES"),
			IssuesFilter: &newrelic.WorkflowIssuesFilterArgs{
				Name: pulumi.String("filter-name"),
				Type: pulumi.String("FILTER"),
				Predicates: newrelic.WorkflowIssuesFilterPredicateArray{
					&newrelic.WorkflowIssuesFilterPredicateArgs{
						Attribute: pulumi.String("accumulations.tag.team"),
						Operator:  pulumi.String("EXACTLY_MATCHES"),
						Values: pulumi.StringArray{
							pulumi.String("growth"),
						},
					},
				},
			},
			Destinations: newrelic.WorkflowDestinationArray{
				&newrelic.WorkflowDestinationArgs{
					ChannelId: pulumi.Any(newrelic_notification_channel.Some_channel.Id),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Policy-Based Workflow Example

This scenario describes one of most common ways of using workflows by defining a set of policies the workflow handles

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewAlertPolicy(ctx, "my-policy", nil)
		if err != nil {
			return err
		}
		_, err = newrelic.NewNotificationDestination(ctx, "webhook-destination", &newrelic.NotificationDestinationArgs{
			Type: pulumi.String("WEBHOOK"),
			Properties: newrelic.NotificationDestinationPropertyArray{
				&newrelic.NotificationDestinationPropertyArgs{
					Key:   pulumi.String("url"),
					Value: pulumi.String("https://example.com"),
				},
			},
			AuthBasic: &newrelic.NotificationDestinationAuthBasicArgs{
				User:     pulumi.String("username"),
				Password: pulumi.String("password"),
			},
		})
		if err != nil {
			return err
		}
		_, err = newrelic.NewNotificationChannel(ctx, "webhook-channel", &newrelic.NotificationChannelArgs{
			Type:          pulumi.String("WEBHOOK"),
			DestinationId: webhook_destination.ID(),
			Product:       pulumi.String("IINT"),
			Properties: newrelic.NotificationChannelPropertyArray{
				&newrelic.NotificationChannelPropertyArgs{
					Key:   pulumi.String("payload"),
					Value: pulumi.String("{}"),
					Label: pulumi.String("Payload Template"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = newrelic.NewWorkflow(ctx, "workflow-example", &newrelic.WorkflowArgs{
			MutingRulesHandling: pulumi.String("NOTIFY_ALL_ISSUES"),
			IssuesFilter: &newrelic.WorkflowIssuesFilterArgs{
				Name: pulumi.String("Filter-name"),
				Type: pulumi.String("FILTER"),
				Predicates: newrelic.WorkflowIssuesFilterPredicateArray{
					&newrelic.WorkflowIssuesFilterPredicateArgs{
						Attribute: pulumi.String("labels.policyIds"),
						Operator:  pulumi.String("EXACTLY_MATCHES"),
						Values: pulumi.StringArray{
							my_policy.ID(),
						},
					},
				},
			},
			Destinations: newrelic.WorkflowDestinationArray{
				&newrelic.WorkflowDestinationArgs{
					ChannelId: webhook_channel.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### An example of a workflow with enrichments

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewWorkflow(ctx, "workflow-example", &newrelic.WorkflowArgs{
			MutingRulesHandling: pulumi.String("NOTIFY_ALL_ISSUES"),
			IssuesFilter: &newrelic.WorkflowIssuesFilterArgs{
				Name: pulumi.String("Filter-name"),
				Type: pulumi.String("FILTER"),
				Predicates: newrelic.WorkflowIssuesFilterPredicateArray{
					&newrelic.WorkflowIssuesFilterPredicateArgs{
						Attribute: pulumi.String("accumulations.tag.team"),
						Operator:  pulumi.String("EXACTLY_MATCHES"),
						Values: pulumi.StringArray{
							pulumi.String("my_team"),
						},
					},
				},
			},
			Enrichments: &newrelic.WorkflowEnrichmentsArgs{
				Nrqls: newrelic.WorkflowEnrichmentsNrqlArray{
					&newrelic.WorkflowEnrichmentsNrqlArgs{
						Name: pulumi.String("Log Count"),
						Configurations: newrelic.WorkflowEnrichmentsNrqlConfigurationArray{
							&newrelic.WorkflowEnrichmentsNrqlConfigurationArgs{
								Query: pulumi.String(fmt.Sprintf("SELECT count(*) FROM Log WHERE message like '%verror%v' since 10 minutes ago", "%", "%")),
							},
						},
					},
				},
			},
			Destinations: newrelic.WorkflowDestinationArray{
				&newrelic.WorkflowDestinationArgs{
					ChannelId: pulumi.Any(newrelic_notification_channel.WebhookChannel.Id),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### An example of a workflow with notification triggers

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := newrelic.NewWorkflow(ctx, "workflow-example", &newrelic.WorkflowArgs{
			MutingRulesHandling: pulumi.String("NOTIFY_ALL_ISSUES"),
			IssuesFilter: &newrelic.WorkflowIssuesFilterArgs{
				Name: pulumi.String("Filter-name"),
				Type: pulumi.String("FILTER"),
				Predicates: newrelic.WorkflowIssuesFilterPredicateArray{
					&newrelic.WorkflowIssuesFilterPredicateArgs{
						Attribute: pulumi.String("accumulations.tag.team"),
						Operator:  pulumi.String("EXACTLY_MATCHES"),
						Values: pulumi.StringArray{
							pulumi.String("my_team"),
						},
					},
				},
			},
			Destinations: newrelic.WorkflowDestinationArray{
				&newrelic.WorkflowDestinationArgs{
					ChannelId: pulumi.Any(newrelic_notification_channel.WebhookChannel.Id),
					NotificationTriggers: pulumi.StringArray{
						pulumi.String("ACTIVATED"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Additional Information

More details about the workflows can be found [here](https://docs.newrelic.com/docs/alerts-applied-intelligence/applied-intelligence/incident-workflows/incident-workflows/).

## v3.3 changes

In version v3.3 we renamed the following arguments:

- `workflowEnabled` changed to `enabled`. - `destinationConfiguration` changed to `destination`. - `predicates` changed to `predicate`. - Enrichment's `configurations` changed to `configuration`.

## Import

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

```sh

$ pulumi import newrelic:index/workflow:Workflow foo <id>

```

You can find the workflow ID from the workflow table by clicking on ... at the end of the row and choosing `Copy workflow id to clipboard`.

func GetWorkflow

func GetWorkflow(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WorkflowState, opts ...pulumi.ResourceOption) (*Workflow, error)

GetWorkflow gets an existing Workflow 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 NewWorkflow

func NewWorkflow(ctx *pulumi.Context,
	name string, args *WorkflowArgs, opts ...pulumi.ResourceOption) (*Workflow, error)

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

func (*Workflow) ElementType

func (*Workflow) ElementType() reflect.Type

func (*Workflow) ToWorkflowOutput

func (i *Workflow) ToWorkflowOutput() WorkflowOutput

func (*Workflow) ToWorkflowOutputWithContext

func (i *Workflow) ToWorkflowOutputWithContext(ctx context.Context) WorkflowOutput

type WorkflowArgs

type WorkflowArgs struct {
	// Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
	AccountId pulumi.IntPtrInput
	// Notification configuration. See Nested destination blocks below for details.
	Destinations WorkflowDestinationArrayInput
	// **DEPRECATED** Whether destinations are enabled. Please use `enabled` instead:
	// these two are different flags, but they are functionally identical. Defaults to true.
	//
	// Deprecated: Please use 'enabled' instead
	DestinationsEnabled pulumi.BoolPtrInput
	// Whether workflow is enabled. Defaults to true.
	Enabled pulumi.BoolPtrInput
	// Workflow's enrichments. See Nested enrichments blocks below for details.
	Enrichments WorkflowEnrichmentsPtrInput
	// Whether enrichments are enabled. Defaults to true.
	EnrichmentsEnabled pulumi.BoolPtrInput
	// A filter used to identify issues handled by this workflow. See Nested issuesFilter blocks below for details.
	IssuesFilter WorkflowIssuesFilterInput
	// How to handle muted issues. See Muting Rules below for details.
	MutingRulesHandling pulumi.StringInput
	// The name of the workflow.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a Workflow resource.

func (WorkflowArgs) ElementType

func (WorkflowArgs) ElementType() reflect.Type

type WorkflowArray

type WorkflowArray []WorkflowInput

func (WorkflowArray) ElementType

func (WorkflowArray) ElementType() reflect.Type

func (WorkflowArray) ToWorkflowArrayOutput

func (i WorkflowArray) ToWorkflowArrayOutput() WorkflowArrayOutput

func (WorkflowArray) ToWorkflowArrayOutputWithContext

func (i WorkflowArray) ToWorkflowArrayOutputWithContext(ctx context.Context) WorkflowArrayOutput

type WorkflowArrayInput

type WorkflowArrayInput interface {
	pulumi.Input

	ToWorkflowArrayOutput() WorkflowArrayOutput
	ToWorkflowArrayOutputWithContext(context.Context) WorkflowArrayOutput
}

WorkflowArrayInput is an input type that accepts WorkflowArray and WorkflowArrayOutput values. You can construct a concrete instance of `WorkflowArrayInput` via:

WorkflowArray{ WorkflowArgs{...} }

type WorkflowArrayOutput

type WorkflowArrayOutput struct{ *pulumi.OutputState }

func (WorkflowArrayOutput) ElementType

func (WorkflowArrayOutput) ElementType() reflect.Type

func (WorkflowArrayOutput) Index

func (WorkflowArrayOutput) ToWorkflowArrayOutput

func (o WorkflowArrayOutput) ToWorkflowArrayOutput() WorkflowArrayOutput

func (WorkflowArrayOutput) ToWorkflowArrayOutputWithContext

func (o WorkflowArrayOutput) ToWorkflowArrayOutputWithContext(ctx context.Context) WorkflowArrayOutput

type WorkflowDestination added in v5.1.0

type WorkflowDestination struct {
	// Id of a notificationChannel to use for notifications. Please note that you have to use a
	// **notification** channel, not an `alertChannel`.
	ChannelId string `pulumi:"channelId"`
	// The name of the workflow.
	Name *string `pulumi:"name"`
	// Issue events to notify on. The value is a list of possible issue events. See Notification Triggers below for details.
	NotificationTriggers []string `pulumi:"notificationTriggers"`
	// Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future.
	Type *string `pulumi:"type"`
}

type WorkflowDestinationArgs added in v5.1.0

type WorkflowDestinationArgs struct {
	// Id of a notificationChannel to use for notifications. Please note that you have to use a
	// **notification** channel, not an `alertChannel`.
	ChannelId pulumi.StringInput `pulumi:"channelId"`
	// The name of the workflow.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Issue events to notify on. The value is a list of possible issue events. See Notification Triggers below for details.
	NotificationTriggers pulumi.StringArrayInput `pulumi:"notificationTriggers"`
	// Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (WorkflowDestinationArgs) ElementType added in v5.1.0

func (WorkflowDestinationArgs) ElementType() reflect.Type

func (WorkflowDestinationArgs) ToWorkflowDestinationOutput added in v5.1.0

func (i WorkflowDestinationArgs) ToWorkflowDestinationOutput() WorkflowDestinationOutput

func (WorkflowDestinationArgs) ToWorkflowDestinationOutputWithContext added in v5.1.0

func (i WorkflowDestinationArgs) ToWorkflowDestinationOutputWithContext(ctx context.Context) WorkflowDestinationOutput

type WorkflowDestinationArray added in v5.1.0

type WorkflowDestinationArray []WorkflowDestinationInput

func (WorkflowDestinationArray) ElementType added in v5.1.0

func (WorkflowDestinationArray) ElementType() reflect.Type

func (WorkflowDestinationArray) ToWorkflowDestinationArrayOutput added in v5.1.0

func (i WorkflowDestinationArray) ToWorkflowDestinationArrayOutput() WorkflowDestinationArrayOutput

func (WorkflowDestinationArray) ToWorkflowDestinationArrayOutputWithContext added in v5.1.0

func (i WorkflowDestinationArray) ToWorkflowDestinationArrayOutputWithContext(ctx context.Context) WorkflowDestinationArrayOutput

type WorkflowDestinationArrayInput added in v5.1.0

type WorkflowDestinationArrayInput interface {
	pulumi.Input

	ToWorkflowDestinationArrayOutput() WorkflowDestinationArrayOutput
	ToWorkflowDestinationArrayOutputWithContext(context.Context) WorkflowDestinationArrayOutput
}

WorkflowDestinationArrayInput is an input type that accepts WorkflowDestinationArray and WorkflowDestinationArrayOutput values. You can construct a concrete instance of `WorkflowDestinationArrayInput` via:

WorkflowDestinationArray{ WorkflowDestinationArgs{...} }

type WorkflowDestinationArrayOutput added in v5.1.0

type WorkflowDestinationArrayOutput struct{ *pulumi.OutputState }

func (WorkflowDestinationArrayOutput) ElementType added in v5.1.0

func (WorkflowDestinationArrayOutput) Index added in v5.1.0

func (WorkflowDestinationArrayOutput) ToWorkflowDestinationArrayOutput added in v5.1.0

func (o WorkflowDestinationArrayOutput) ToWorkflowDestinationArrayOutput() WorkflowDestinationArrayOutput

func (WorkflowDestinationArrayOutput) ToWorkflowDestinationArrayOutputWithContext added in v5.1.0

func (o WorkflowDestinationArrayOutput) ToWorkflowDestinationArrayOutputWithContext(ctx context.Context) WorkflowDestinationArrayOutput

type WorkflowDestinationInput added in v5.1.0

type WorkflowDestinationInput interface {
	pulumi.Input

	ToWorkflowDestinationOutput() WorkflowDestinationOutput
	ToWorkflowDestinationOutputWithContext(context.Context) WorkflowDestinationOutput
}

WorkflowDestinationInput is an input type that accepts WorkflowDestinationArgs and WorkflowDestinationOutput values. You can construct a concrete instance of `WorkflowDestinationInput` via:

WorkflowDestinationArgs{...}

type WorkflowDestinationOutput added in v5.1.0

type WorkflowDestinationOutput struct{ *pulumi.OutputState }

func (WorkflowDestinationOutput) ChannelId added in v5.1.0

Id of a notificationChannel to use for notifications. Please note that you have to use a **notification** channel, not an `alertChannel`.

func (WorkflowDestinationOutput) ElementType added in v5.1.0

func (WorkflowDestinationOutput) ElementType() reflect.Type

func (WorkflowDestinationOutput) Name added in v5.1.0

The name of the workflow.

func (WorkflowDestinationOutput) NotificationTriggers added in v5.3.0

func (o WorkflowDestinationOutput) NotificationTriggers() pulumi.StringArrayOutput

Issue events to notify on. The value is a list of possible issue events. See Notification Triggers below for details.

func (WorkflowDestinationOutput) ToWorkflowDestinationOutput added in v5.1.0

func (o WorkflowDestinationOutput) ToWorkflowDestinationOutput() WorkflowDestinationOutput

func (WorkflowDestinationOutput) ToWorkflowDestinationOutputWithContext added in v5.1.0

func (o WorkflowDestinationOutput) ToWorkflowDestinationOutputWithContext(ctx context.Context) WorkflowDestinationOutput

func (WorkflowDestinationOutput) Type added in v5.1.0

Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future.

type WorkflowEnrichments

type WorkflowEnrichments struct {
	// a wrapper block
	Nrqls []WorkflowEnrichmentsNrql `pulumi:"nrqls"`
}

type WorkflowEnrichmentsArgs

type WorkflowEnrichmentsArgs struct {
	// a wrapper block
	Nrqls WorkflowEnrichmentsNrqlArrayInput `pulumi:"nrqls"`
}

func (WorkflowEnrichmentsArgs) ElementType

func (WorkflowEnrichmentsArgs) ElementType() reflect.Type

func (WorkflowEnrichmentsArgs) ToWorkflowEnrichmentsOutput

func (i WorkflowEnrichmentsArgs) ToWorkflowEnrichmentsOutput() WorkflowEnrichmentsOutput

func (WorkflowEnrichmentsArgs) ToWorkflowEnrichmentsOutputWithContext

func (i WorkflowEnrichmentsArgs) ToWorkflowEnrichmentsOutputWithContext(ctx context.Context) WorkflowEnrichmentsOutput

func (WorkflowEnrichmentsArgs) ToWorkflowEnrichmentsPtrOutput

func (i WorkflowEnrichmentsArgs) ToWorkflowEnrichmentsPtrOutput() WorkflowEnrichmentsPtrOutput

func (WorkflowEnrichmentsArgs) ToWorkflowEnrichmentsPtrOutputWithContext

func (i WorkflowEnrichmentsArgs) ToWorkflowEnrichmentsPtrOutputWithContext(ctx context.Context) WorkflowEnrichmentsPtrOutput

type WorkflowEnrichmentsInput

type WorkflowEnrichmentsInput interface {
	pulumi.Input

	ToWorkflowEnrichmentsOutput() WorkflowEnrichmentsOutput
	ToWorkflowEnrichmentsOutputWithContext(context.Context) WorkflowEnrichmentsOutput
}

WorkflowEnrichmentsInput is an input type that accepts WorkflowEnrichmentsArgs and WorkflowEnrichmentsOutput values. You can construct a concrete instance of `WorkflowEnrichmentsInput` via:

WorkflowEnrichmentsArgs{...}

type WorkflowEnrichmentsNrql

type WorkflowEnrichmentsNrql struct {
	// Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
	AccountId *int `pulumi:"accountId"`
	// Another wrapper block
	Configurations []WorkflowEnrichmentsNrqlConfiguration `pulumi:"configurations"`
	EnrichmentId   *string                                `pulumi:"enrichmentId"`
	// The name of the workflow.
	Name string `pulumi:"name"`
	// Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future.
	Type *string `pulumi:"type"`
}

type WorkflowEnrichmentsNrqlArgs

type WorkflowEnrichmentsNrqlArgs struct {
	// Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
	AccountId pulumi.IntPtrInput `pulumi:"accountId"`
	// Another wrapper block
	Configurations WorkflowEnrichmentsNrqlConfigurationArrayInput `pulumi:"configurations"`
	EnrichmentId   pulumi.StringPtrInput                          `pulumi:"enrichmentId"`
	// The name of the workflow.
	Name pulumi.StringInput `pulumi:"name"`
	// Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (WorkflowEnrichmentsNrqlArgs) ElementType

func (WorkflowEnrichmentsNrqlArgs) ToWorkflowEnrichmentsNrqlOutput

func (i WorkflowEnrichmentsNrqlArgs) ToWorkflowEnrichmentsNrqlOutput() WorkflowEnrichmentsNrqlOutput

func (WorkflowEnrichmentsNrqlArgs) ToWorkflowEnrichmentsNrqlOutputWithContext

func (i WorkflowEnrichmentsNrqlArgs) ToWorkflowEnrichmentsNrqlOutputWithContext(ctx context.Context) WorkflowEnrichmentsNrqlOutput

type WorkflowEnrichmentsNrqlArray

type WorkflowEnrichmentsNrqlArray []WorkflowEnrichmentsNrqlInput

func (WorkflowEnrichmentsNrqlArray) ElementType

func (WorkflowEnrichmentsNrqlArray) ToWorkflowEnrichmentsNrqlArrayOutput

func (i WorkflowEnrichmentsNrqlArray) ToWorkflowEnrichmentsNrqlArrayOutput() WorkflowEnrichmentsNrqlArrayOutput

func (WorkflowEnrichmentsNrqlArray) ToWorkflowEnrichmentsNrqlArrayOutputWithContext

func (i WorkflowEnrichmentsNrqlArray) ToWorkflowEnrichmentsNrqlArrayOutputWithContext(ctx context.Context) WorkflowEnrichmentsNrqlArrayOutput

type WorkflowEnrichmentsNrqlArrayInput

type WorkflowEnrichmentsNrqlArrayInput interface {
	pulumi.Input

	ToWorkflowEnrichmentsNrqlArrayOutput() WorkflowEnrichmentsNrqlArrayOutput
	ToWorkflowEnrichmentsNrqlArrayOutputWithContext(context.Context) WorkflowEnrichmentsNrqlArrayOutput
}

WorkflowEnrichmentsNrqlArrayInput is an input type that accepts WorkflowEnrichmentsNrqlArray and WorkflowEnrichmentsNrqlArrayOutput values. You can construct a concrete instance of `WorkflowEnrichmentsNrqlArrayInput` via:

WorkflowEnrichmentsNrqlArray{ WorkflowEnrichmentsNrqlArgs{...} }

type WorkflowEnrichmentsNrqlArrayOutput

type WorkflowEnrichmentsNrqlArrayOutput struct{ *pulumi.OutputState }

func (WorkflowEnrichmentsNrqlArrayOutput) ElementType

func (WorkflowEnrichmentsNrqlArrayOutput) Index

func (WorkflowEnrichmentsNrqlArrayOutput) ToWorkflowEnrichmentsNrqlArrayOutput

func (o WorkflowEnrichmentsNrqlArrayOutput) ToWorkflowEnrichmentsNrqlArrayOutput() WorkflowEnrichmentsNrqlArrayOutput

func (WorkflowEnrichmentsNrqlArrayOutput) ToWorkflowEnrichmentsNrqlArrayOutputWithContext

func (o WorkflowEnrichmentsNrqlArrayOutput) ToWorkflowEnrichmentsNrqlArrayOutputWithContext(ctx context.Context) WorkflowEnrichmentsNrqlArrayOutput

type WorkflowEnrichmentsNrqlConfiguration

type WorkflowEnrichmentsNrqlConfiguration struct {
	// An NRQL query to run
	Query string `pulumi:"query"`
}

type WorkflowEnrichmentsNrqlConfigurationArgs

type WorkflowEnrichmentsNrqlConfigurationArgs struct {
	// An NRQL query to run
	Query pulumi.StringInput `pulumi:"query"`
}

func (WorkflowEnrichmentsNrqlConfigurationArgs) ElementType

func (WorkflowEnrichmentsNrqlConfigurationArgs) ToWorkflowEnrichmentsNrqlConfigurationOutput

func (i WorkflowEnrichmentsNrqlConfigurationArgs) ToWorkflowEnrichmentsNrqlConfigurationOutput() WorkflowEnrichmentsNrqlConfigurationOutput

func (WorkflowEnrichmentsNrqlConfigurationArgs) ToWorkflowEnrichmentsNrqlConfigurationOutputWithContext

func (i WorkflowEnrichmentsNrqlConfigurationArgs) ToWorkflowEnrichmentsNrqlConfigurationOutputWithContext(ctx context.Context) WorkflowEnrichmentsNrqlConfigurationOutput

type WorkflowEnrichmentsNrqlConfigurationArray

type WorkflowEnrichmentsNrqlConfigurationArray []WorkflowEnrichmentsNrqlConfigurationInput

func (WorkflowEnrichmentsNrqlConfigurationArray) ElementType

func (WorkflowEnrichmentsNrqlConfigurationArray) ToWorkflowEnrichmentsNrqlConfigurationArrayOutput

func (i WorkflowEnrichmentsNrqlConfigurationArray) ToWorkflowEnrichmentsNrqlConfigurationArrayOutput() WorkflowEnrichmentsNrqlConfigurationArrayOutput

func (WorkflowEnrichmentsNrqlConfigurationArray) ToWorkflowEnrichmentsNrqlConfigurationArrayOutputWithContext

func (i WorkflowEnrichmentsNrqlConfigurationArray) ToWorkflowEnrichmentsNrqlConfigurationArrayOutputWithContext(ctx context.Context) WorkflowEnrichmentsNrqlConfigurationArrayOutput

type WorkflowEnrichmentsNrqlConfigurationArrayInput

type WorkflowEnrichmentsNrqlConfigurationArrayInput interface {
	pulumi.Input

	ToWorkflowEnrichmentsNrqlConfigurationArrayOutput() WorkflowEnrichmentsNrqlConfigurationArrayOutput
	ToWorkflowEnrichmentsNrqlConfigurationArrayOutputWithContext(context.Context) WorkflowEnrichmentsNrqlConfigurationArrayOutput
}

WorkflowEnrichmentsNrqlConfigurationArrayInput is an input type that accepts WorkflowEnrichmentsNrqlConfigurationArray and WorkflowEnrichmentsNrqlConfigurationArrayOutput values. You can construct a concrete instance of `WorkflowEnrichmentsNrqlConfigurationArrayInput` via:

WorkflowEnrichmentsNrqlConfigurationArray{ WorkflowEnrichmentsNrqlConfigurationArgs{...} }

type WorkflowEnrichmentsNrqlConfigurationArrayOutput

type WorkflowEnrichmentsNrqlConfigurationArrayOutput struct{ *pulumi.OutputState }

func (WorkflowEnrichmentsNrqlConfigurationArrayOutput) ElementType

func (WorkflowEnrichmentsNrqlConfigurationArrayOutput) Index

func (WorkflowEnrichmentsNrqlConfigurationArrayOutput) ToWorkflowEnrichmentsNrqlConfigurationArrayOutput

func (o WorkflowEnrichmentsNrqlConfigurationArrayOutput) ToWorkflowEnrichmentsNrqlConfigurationArrayOutput() WorkflowEnrichmentsNrqlConfigurationArrayOutput

func (WorkflowEnrichmentsNrqlConfigurationArrayOutput) ToWorkflowEnrichmentsNrqlConfigurationArrayOutputWithContext

func (o WorkflowEnrichmentsNrqlConfigurationArrayOutput) ToWorkflowEnrichmentsNrqlConfigurationArrayOutputWithContext(ctx context.Context) WorkflowEnrichmentsNrqlConfigurationArrayOutput

type WorkflowEnrichmentsNrqlConfigurationInput

type WorkflowEnrichmentsNrqlConfigurationInput interface {
	pulumi.Input

	ToWorkflowEnrichmentsNrqlConfigurationOutput() WorkflowEnrichmentsNrqlConfigurationOutput
	ToWorkflowEnrichmentsNrqlConfigurationOutputWithContext(context.Context) WorkflowEnrichmentsNrqlConfigurationOutput
}

WorkflowEnrichmentsNrqlConfigurationInput is an input type that accepts WorkflowEnrichmentsNrqlConfigurationArgs and WorkflowEnrichmentsNrqlConfigurationOutput values. You can construct a concrete instance of `WorkflowEnrichmentsNrqlConfigurationInput` via:

WorkflowEnrichmentsNrqlConfigurationArgs{...}

type WorkflowEnrichmentsNrqlConfigurationOutput

type WorkflowEnrichmentsNrqlConfigurationOutput struct{ *pulumi.OutputState }

func (WorkflowEnrichmentsNrqlConfigurationOutput) ElementType

func (WorkflowEnrichmentsNrqlConfigurationOutput) Query

An NRQL query to run

func (WorkflowEnrichmentsNrqlConfigurationOutput) ToWorkflowEnrichmentsNrqlConfigurationOutput

func (o WorkflowEnrichmentsNrqlConfigurationOutput) ToWorkflowEnrichmentsNrqlConfigurationOutput() WorkflowEnrichmentsNrqlConfigurationOutput

func (WorkflowEnrichmentsNrqlConfigurationOutput) ToWorkflowEnrichmentsNrqlConfigurationOutputWithContext

func (o WorkflowEnrichmentsNrqlConfigurationOutput) ToWorkflowEnrichmentsNrqlConfigurationOutputWithContext(ctx context.Context) WorkflowEnrichmentsNrqlConfigurationOutput

type WorkflowEnrichmentsNrqlInput

type WorkflowEnrichmentsNrqlInput interface {
	pulumi.Input

	ToWorkflowEnrichmentsNrqlOutput() WorkflowEnrichmentsNrqlOutput
	ToWorkflowEnrichmentsNrqlOutputWithContext(context.Context) WorkflowEnrichmentsNrqlOutput
}

WorkflowEnrichmentsNrqlInput is an input type that accepts WorkflowEnrichmentsNrqlArgs and WorkflowEnrichmentsNrqlOutput values. You can construct a concrete instance of `WorkflowEnrichmentsNrqlInput` via:

WorkflowEnrichmentsNrqlArgs{...}

type WorkflowEnrichmentsNrqlOutput

type WorkflowEnrichmentsNrqlOutput struct{ *pulumi.OutputState }

func (WorkflowEnrichmentsNrqlOutput) AccountId

Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.

func (WorkflowEnrichmentsNrqlOutput) Configurations

Another wrapper block

func (WorkflowEnrichmentsNrqlOutput) ElementType

func (WorkflowEnrichmentsNrqlOutput) EnrichmentId

func (WorkflowEnrichmentsNrqlOutput) Name

The name of the workflow.

func (WorkflowEnrichmentsNrqlOutput) ToWorkflowEnrichmentsNrqlOutput

func (o WorkflowEnrichmentsNrqlOutput) ToWorkflowEnrichmentsNrqlOutput() WorkflowEnrichmentsNrqlOutput

func (WorkflowEnrichmentsNrqlOutput) ToWorkflowEnrichmentsNrqlOutputWithContext

func (o WorkflowEnrichmentsNrqlOutput) ToWorkflowEnrichmentsNrqlOutputWithContext(ctx context.Context) WorkflowEnrichmentsNrqlOutput

func (WorkflowEnrichmentsNrqlOutput) Type

Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future.

type WorkflowEnrichmentsOutput

type WorkflowEnrichmentsOutput struct{ *pulumi.OutputState }

func (WorkflowEnrichmentsOutput) ElementType

func (WorkflowEnrichmentsOutput) ElementType() reflect.Type

func (WorkflowEnrichmentsOutput) Nrqls

a wrapper block

func (WorkflowEnrichmentsOutput) ToWorkflowEnrichmentsOutput

func (o WorkflowEnrichmentsOutput) ToWorkflowEnrichmentsOutput() WorkflowEnrichmentsOutput

func (WorkflowEnrichmentsOutput) ToWorkflowEnrichmentsOutputWithContext

func (o WorkflowEnrichmentsOutput) ToWorkflowEnrichmentsOutputWithContext(ctx context.Context) WorkflowEnrichmentsOutput

func (WorkflowEnrichmentsOutput) ToWorkflowEnrichmentsPtrOutput

func (o WorkflowEnrichmentsOutput) ToWorkflowEnrichmentsPtrOutput() WorkflowEnrichmentsPtrOutput

func (WorkflowEnrichmentsOutput) ToWorkflowEnrichmentsPtrOutputWithContext

func (o WorkflowEnrichmentsOutput) ToWorkflowEnrichmentsPtrOutputWithContext(ctx context.Context) WorkflowEnrichmentsPtrOutput

type WorkflowEnrichmentsPtrInput

type WorkflowEnrichmentsPtrInput interface {
	pulumi.Input

	ToWorkflowEnrichmentsPtrOutput() WorkflowEnrichmentsPtrOutput
	ToWorkflowEnrichmentsPtrOutputWithContext(context.Context) WorkflowEnrichmentsPtrOutput
}

WorkflowEnrichmentsPtrInput is an input type that accepts WorkflowEnrichmentsArgs, WorkflowEnrichmentsPtr and WorkflowEnrichmentsPtrOutput values. You can construct a concrete instance of `WorkflowEnrichmentsPtrInput` via:

        WorkflowEnrichmentsArgs{...}

or:

        nil

type WorkflowEnrichmentsPtrOutput

type WorkflowEnrichmentsPtrOutput struct{ *pulumi.OutputState }

func (WorkflowEnrichmentsPtrOutput) Elem

func (WorkflowEnrichmentsPtrOutput) ElementType

func (WorkflowEnrichmentsPtrOutput) Nrqls

a wrapper block

func (WorkflowEnrichmentsPtrOutput) ToWorkflowEnrichmentsPtrOutput

func (o WorkflowEnrichmentsPtrOutput) ToWorkflowEnrichmentsPtrOutput() WorkflowEnrichmentsPtrOutput

func (WorkflowEnrichmentsPtrOutput) ToWorkflowEnrichmentsPtrOutputWithContext

func (o WorkflowEnrichmentsPtrOutput) ToWorkflowEnrichmentsPtrOutputWithContext(ctx context.Context) WorkflowEnrichmentsPtrOutput

type WorkflowInput

type WorkflowInput interface {
	pulumi.Input

	ToWorkflowOutput() WorkflowOutput
	ToWorkflowOutputWithContext(ctx context.Context) WorkflowOutput
}

type WorkflowIssuesFilter

type WorkflowIssuesFilter struct {
	FilterId *string `pulumi:"filterId"`
	// The name of the workflow.
	Name string `pulumi:"name"`
	// A condition an issue event should satisfy to be processed by the workflow
	Predicates []WorkflowIssuesFilterPredicate `pulumi:"predicates"`
	// Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future.
	Type string `pulumi:"type"`
}

type WorkflowIssuesFilterArgs

type WorkflowIssuesFilterArgs struct {
	FilterId pulumi.StringPtrInput `pulumi:"filterId"`
	// The name of the workflow.
	Name pulumi.StringInput `pulumi:"name"`
	// A condition an issue event should satisfy to be processed by the workflow
	Predicates WorkflowIssuesFilterPredicateArrayInput `pulumi:"predicates"`
	// Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future.
	Type pulumi.StringInput `pulumi:"type"`
}

func (WorkflowIssuesFilterArgs) ElementType

func (WorkflowIssuesFilterArgs) ElementType() reflect.Type

func (WorkflowIssuesFilterArgs) ToWorkflowIssuesFilterOutput

func (i WorkflowIssuesFilterArgs) ToWorkflowIssuesFilterOutput() WorkflowIssuesFilterOutput

func (WorkflowIssuesFilterArgs) ToWorkflowIssuesFilterOutputWithContext

func (i WorkflowIssuesFilterArgs) ToWorkflowIssuesFilterOutputWithContext(ctx context.Context) WorkflowIssuesFilterOutput

func (WorkflowIssuesFilterArgs) ToWorkflowIssuesFilterPtrOutput

func (i WorkflowIssuesFilterArgs) ToWorkflowIssuesFilterPtrOutput() WorkflowIssuesFilterPtrOutput

func (WorkflowIssuesFilterArgs) ToWorkflowIssuesFilterPtrOutputWithContext

func (i WorkflowIssuesFilterArgs) ToWorkflowIssuesFilterPtrOutputWithContext(ctx context.Context) WorkflowIssuesFilterPtrOutput

type WorkflowIssuesFilterInput

type WorkflowIssuesFilterInput interface {
	pulumi.Input

	ToWorkflowIssuesFilterOutput() WorkflowIssuesFilterOutput
	ToWorkflowIssuesFilterOutputWithContext(context.Context) WorkflowIssuesFilterOutput
}

WorkflowIssuesFilterInput is an input type that accepts WorkflowIssuesFilterArgs and WorkflowIssuesFilterOutput values. You can construct a concrete instance of `WorkflowIssuesFilterInput` via:

WorkflowIssuesFilterArgs{...}

type WorkflowIssuesFilterOutput

type WorkflowIssuesFilterOutput struct{ *pulumi.OutputState }

func (WorkflowIssuesFilterOutput) ElementType

func (WorkflowIssuesFilterOutput) ElementType() reflect.Type

func (WorkflowIssuesFilterOutput) FilterId

func (WorkflowIssuesFilterOutput) Name

The name of the workflow.

func (WorkflowIssuesFilterOutput) Predicates

A condition an issue event should satisfy to be processed by the workflow

func (WorkflowIssuesFilterOutput) ToWorkflowIssuesFilterOutput

func (o WorkflowIssuesFilterOutput) ToWorkflowIssuesFilterOutput() WorkflowIssuesFilterOutput

func (WorkflowIssuesFilterOutput) ToWorkflowIssuesFilterOutputWithContext

func (o WorkflowIssuesFilterOutput) ToWorkflowIssuesFilterOutputWithContext(ctx context.Context) WorkflowIssuesFilterOutput

func (WorkflowIssuesFilterOutput) ToWorkflowIssuesFilterPtrOutput

func (o WorkflowIssuesFilterOutput) ToWorkflowIssuesFilterPtrOutput() WorkflowIssuesFilterPtrOutput

func (WorkflowIssuesFilterOutput) ToWorkflowIssuesFilterPtrOutputWithContext

func (o WorkflowIssuesFilterOutput) ToWorkflowIssuesFilterPtrOutputWithContext(ctx context.Context) WorkflowIssuesFilterPtrOutput

func (WorkflowIssuesFilterOutput) Type

Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future.

type WorkflowIssuesFilterPredicate

type WorkflowIssuesFilterPredicate struct {
	// Issue event attribute to check
	Attribute string `pulumi:"attribute"`
	// An operator to use to compare the attribute with the provided `values`, see supported operators below
	Operator string `pulumi:"operator"`
	// The `attribute` must match **any** of the values in this list
	Values []string `pulumi:"values"`
}

type WorkflowIssuesFilterPredicateArgs

type WorkflowIssuesFilterPredicateArgs struct {
	// Issue event attribute to check
	Attribute pulumi.StringInput `pulumi:"attribute"`
	// An operator to use to compare the attribute with the provided `values`, see supported operators below
	Operator pulumi.StringInput `pulumi:"operator"`
	// The `attribute` must match **any** of the values in this list
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (WorkflowIssuesFilterPredicateArgs) ElementType

func (WorkflowIssuesFilterPredicateArgs) ToWorkflowIssuesFilterPredicateOutput

func (i WorkflowIssuesFilterPredicateArgs) ToWorkflowIssuesFilterPredicateOutput() WorkflowIssuesFilterPredicateOutput

func (WorkflowIssuesFilterPredicateArgs) ToWorkflowIssuesFilterPredicateOutputWithContext

func (i WorkflowIssuesFilterPredicateArgs) ToWorkflowIssuesFilterPredicateOutputWithContext(ctx context.Context) WorkflowIssuesFilterPredicateOutput

type WorkflowIssuesFilterPredicateArray

type WorkflowIssuesFilterPredicateArray []WorkflowIssuesFilterPredicateInput

func (WorkflowIssuesFilterPredicateArray) ElementType

func (WorkflowIssuesFilterPredicateArray) ToWorkflowIssuesFilterPredicateArrayOutput

func (i WorkflowIssuesFilterPredicateArray) ToWorkflowIssuesFilterPredicateArrayOutput() WorkflowIssuesFilterPredicateArrayOutput

func (WorkflowIssuesFilterPredicateArray) ToWorkflowIssuesFilterPredicateArrayOutputWithContext

func (i WorkflowIssuesFilterPredicateArray) ToWorkflowIssuesFilterPredicateArrayOutputWithContext(ctx context.Context) WorkflowIssuesFilterPredicateArrayOutput

type WorkflowIssuesFilterPredicateArrayInput

type WorkflowIssuesFilterPredicateArrayInput interface {
	pulumi.Input

	ToWorkflowIssuesFilterPredicateArrayOutput() WorkflowIssuesFilterPredicateArrayOutput
	ToWorkflowIssuesFilterPredicateArrayOutputWithContext(context.Context) WorkflowIssuesFilterPredicateArrayOutput
}

WorkflowIssuesFilterPredicateArrayInput is an input type that accepts WorkflowIssuesFilterPredicateArray and WorkflowIssuesFilterPredicateArrayOutput values. You can construct a concrete instance of `WorkflowIssuesFilterPredicateArrayInput` via:

WorkflowIssuesFilterPredicateArray{ WorkflowIssuesFilterPredicateArgs{...} }

type WorkflowIssuesFilterPredicateArrayOutput

type WorkflowIssuesFilterPredicateArrayOutput struct{ *pulumi.OutputState }

func (WorkflowIssuesFilterPredicateArrayOutput) ElementType

func (WorkflowIssuesFilterPredicateArrayOutput) Index

func (WorkflowIssuesFilterPredicateArrayOutput) ToWorkflowIssuesFilterPredicateArrayOutput

func (o WorkflowIssuesFilterPredicateArrayOutput) ToWorkflowIssuesFilterPredicateArrayOutput() WorkflowIssuesFilterPredicateArrayOutput

func (WorkflowIssuesFilterPredicateArrayOutput) ToWorkflowIssuesFilterPredicateArrayOutputWithContext

func (o WorkflowIssuesFilterPredicateArrayOutput) ToWorkflowIssuesFilterPredicateArrayOutputWithContext(ctx context.Context) WorkflowIssuesFilterPredicateArrayOutput

type WorkflowIssuesFilterPredicateInput

type WorkflowIssuesFilterPredicateInput interface {
	pulumi.Input

	ToWorkflowIssuesFilterPredicateOutput() WorkflowIssuesFilterPredicateOutput
	ToWorkflowIssuesFilterPredicateOutputWithContext(context.Context) WorkflowIssuesFilterPredicateOutput
}

WorkflowIssuesFilterPredicateInput is an input type that accepts WorkflowIssuesFilterPredicateArgs and WorkflowIssuesFilterPredicateOutput values. You can construct a concrete instance of `WorkflowIssuesFilterPredicateInput` via:

WorkflowIssuesFilterPredicateArgs{...}

type WorkflowIssuesFilterPredicateOutput

type WorkflowIssuesFilterPredicateOutput struct{ *pulumi.OutputState }

func (WorkflowIssuesFilterPredicateOutput) Attribute

Issue event attribute to check

func (WorkflowIssuesFilterPredicateOutput) ElementType

func (WorkflowIssuesFilterPredicateOutput) Operator

An operator to use to compare the attribute with the provided `values`, see supported operators below

func (WorkflowIssuesFilterPredicateOutput) ToWorkflowIssuesFilterPredicateOutput

func (o WorkflowIssuesFilterPredicateOutput) ToWorkflowIssuesFilterPredicateOutput() WorkflowIssuesFilterPredicateOutput

func (WorkflowIssuesFilterPredicateOutput) ToWorkflowIssuesFilterPredicateOutputWithContext

func (o WorkflowIssuesFilterPredicateOutput) ToWorkflowIssuesFilterPredicateOutputWithContext(ctx context.Context) WorkflowIssuesFilterPredicateOutput

func (WorkflowIssuesFilterPredicateOutput) Values

The `attribute` must match **any** of the values in this list

type WorkflowIssuesFilterPtrInput

type WorkflowIssuesFilterPtrInput interface {
	pulumi.Input

	ToWorkflowIssuesFilterPtrOutput() WorkflowIssuesFilterPtrOutput
	ToWorkflowIssuesFilterPtrOutputWithContext(context.Context) WorkflowIssuesFilterPtrOutput
}

WorkflowIssuesFilterPtrInput is an input type that accepts WorkflowIssuesFilterArgs, WorkflowIssuesFilterPtr and WorkflowIssuesFilterPtrOutput values. You can construct a concrete instance of `WorkflowIssuesFilterPtrInput` via:

        WorkflowIssuesFilterArgs{...}

or:

        nil

type WorkflowIssuesFilterPtrOutput

type WorkflowIssuesFilterPtrOutput struct{ *pulumi.OutputState }

func (WorkflowIssuesFilterPtrOutput) Elem

func (WorkflowIssuesFilterPtrOutput) ElementType

func (WorkflowIssuesFilterPtrOutput) FilterId

func (WorkflowIssuesFilterPtrOutput) Name

The name of the workflow.

func (WorkflowIssuesFilterPtrOutput) Predicates

A condition an issue event should satisfy to be processed by the workflow

func (WorkflowIssuesFilterPtrOutput) ToWorkflowIssuesFilterPtrOutput

func (o WorkflowIssuesFilterPtrOutput) ToWorkflowIssuesFilterPtrOutput() WorkflowIssuesFilterPtrOutput

func (WorkflowIssuesFilterPtrOutput) ToWorkflowIssuesFilterPtrOutputWithContext

func (o WorkflowIssuesFilterPtrOutput) ToWorkflowIssuesFilterPtrOutputWithContext(ctx context.Context) WorkflowIssuesFilterPtrOutput

func (WorkflowIssuesFilterPtrOutput) Type

Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future.

type WorkflowMap

type WorkflowMap map[string]WorkflowInput

func (WorkflowMap) ElementType

func (WorkflowMap) ElementType() reflect.Type

func (WorkflowMap) ToWorkflowMapOutput

func (i WorkflowMap) ToWorkflowMapOutput() WorkflowMapOutput

func (WorkflowMap) ToWorkflowMapOutputWithContext

func (i WorkflowMap) ToWorkflowMapOutputWithContext(ctx context.Context) WorkflowMapOutput

type WorkflowMapInput

type WorkflowMapInput interface {
	pulumi.Input

	ToWorkflowMapOutput() WorkflowMapOutput
	ToWorkflowMapOutputWithContext(context.Context) WorkflowMapOutput
}

WorkflowMapInput is an input type that accepts WorkflowMap and WorkflowMapOutput values. You can construct a concrete instance of `WorkflowMapInput` via:

WorkflowMap{ "key": WorkflowArgs{...} }

type WorkflowMapOutput

type WorkflowMapOutput struct{ *pulumi.OutputState }

func (WorkflowMapOutput) ElementType

func (WorkflowMapOutput) ElementType() reflect.Type

func (WorkflowMapOutput) MapIndex

func (WorkflowMapOutput) ToWorkflowMapOutput

func (o WorkflowMapOutput) ToWorkflowMapOutput() WorkflowMapOutput

func (WorkflowMapOutput) ToWorkflowMapOutputWithContext

func (o WorkflowMapOutput) ToWorkflowMapOutputWithContext(ctx context.Context) WorkflowMapOutput

type WorkflowOutput

type WorkflowOutput struct{ *pulumi.OutputState }

func (WorkflowOutput) AccountId

func (o WorkflowOutput) AccountId() pulumi.IntOutput

Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.

func (WorkflowOutput) Destinations added in v5.1.0

Notification configuration. See Nested destination blocks below for details.

func (WorkflowOutput) DestinationsEnabled deprecated

func (o WorkflowOutput) DestinationsEnabled() pulumi.BoolPtrOutput

**DEPRECATED** Whether destinations are enabled. Please use `enabled` instead: these two are different flags, but they are functionally identical. Defaults to true.

Deprecated: Please use 'enabled' instead

func (WorkflowOutput) ElementType

func (WorkflowOutput) ElementType() reflect.Type

func (WorkflowOutput) Enabled added in v5.1.0

func (o WorkflowOutput) Enabled() pulumi.BoolPtrOutput

Whether workflow is enabled. Defaults to true.

func (WorkflowOutput) Enrichments

Workflow's enrichments. See Nested enrichments blocks below for details.

func (WorkflowOutput) EnrichmentsEnabled

func (o WorkflowOutput) EnrichmentsEnabled() pulumi.BoolPtrOutput

Whether enrichments are enabled. Defaults to true.

func (WorkflowOutput) Guid added in v5.5.0

Workflow entity GUID

func (WorkflowOutput) IssuesFilter

func (o WorkflowOutput) IssuesFilter() WorkflowIssuesFilterOutput

A filter used to identify issues handled by this workflow. See Nested issuesFilter blocks below for details.

func (WorkflowOutput) LastRun

func (o WorkflowOutput) LastRun() pulumi.StringOutput

The last time notification was sent for this workflow.

func (WorkflowOutput) MutingRulesHandling

func (o WorkflowOutput) MutingRulesHandling() pulumi.StringOutput

How to handle muted issues. See Muting Rules below for details.

func (WorkflowOutput) Name

The name of the workflow.

func (WorkflowOutput) ToWorkflowOutput

func (o WorkflowOutput) ToWorkflowOutput() WorkflowOutput

func (WorkflowOutput) ToWorkflowOutputWithContext

func (o WorkflowOutput) ToWorkflowOutputWithContext(ctx context.Context) WorkflowOutput

func (WorkflowOutput) WorkflowId

func (o WorkflowOutput) WorkflowId() pulumi.StringOutput

The id of the workflow.

type WorkflowState

type WorkflowState struct {
	// Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
	AccountId pulumi.IntPtrInput
	// Notification configuration. See Nested destination blocks below for details.
	Destinations WorkflowDestinationArrayInput
	// **DEPRECATED** Whether destinations are enabled. Please use `enabled` instead:
	// these two are different flags, but they are functionally identical. Defaults to true.
	//
	// Deprecated: Please use 'enabled' instead
	DestinationsEnabled pulumi.BoolPtrInput
	// Whether workflow is enabled. Defaults to true.
	Enabled pulumi.BoolPtrInput
	// Workflow's enrichments. See Nested enrichments blocks below for details.
	Enrichments WorkflowEnrichmentsPtrInput
	// Whether enrichments are enabled. Defaults to true.
	EnrichmentsEnabled pulumi.BoolPtrInput
	// Workflow entity GUID
	Guid pulumi.StringPtrInput
	// A filter used to identify issues handled by this workflow. See Nested issuesFilter blocks below for details.
	IssuesFilter WorkflowIssuesFilterPtrInput
	// The last time notification was sent for this workflow.
	LastRun pulumi.StringPtrInput
	// How to handle muted issues. See Muting Rules below for details.
	MutingRulesHandling pulumi.StringPtrInput
	// The name of the workflow.
	Name pulumi.StringPtrInput
	// The id of the workflow.
	WorkflowId pulumi.StringPtrInput
}

func (WorkflowState) ElementType

func (WorkflowState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL