Want to learn about running containers in Lambda? Join our free hands-on workshop. Register Now

CloudIntegrationNewRelic

Provides a Wavefront Cloud Integration for NewRelic. This allows NewRelic cloud integrations to be created, updated, and deleted.

Example Usage

using Pulumi;
using Wavefront = Pulumi.Wavefront;

class MyStack : Stack
{
    public MyStack()
    {
        var newrelic = new Wavefront.CloudIntegrationNewRelic("newrelic", new Wavefront.CloudIntegrationNewRelicArgs
        {
            ApiKey = "example-api-key",
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-wavefront/sdk/go/wavefront"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := wavefront.NewCloudIntegrationNewRelic(ctx, "newrelic", &wavefront.CloudIntegrationNewRelicArgs{
            ApiKey: pulumi.String("example-api-key"),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_wavefront as wavefront

newrelic = wavefront.CloudIntegrationNewRelic("newrelic", api_key="example-api-key")
import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";

const newrelic = new wavefront.CloudIntegrationNewRelic("newrelic", {
    apiKey: "example-api-key",
});

Create a CloudIntegrationNewRelic Resource

def CloudIntegrationNewRelic(resource_name: str, opts: Optional[ResourceOptions] = None, additional_tags: Optional[Mapping[str, str]] = None, api_key: Optional[str] = None, app_filter_regex: Optional[str] = None, force_save: Optional[bool] = None, host_filter_regex: Optional[str] = None, metric_filters: Optional[Sequence[CloudIntegrationNewRelicMetricFilterArgs]] = None, name: Optional[str] = None, service: Optional[str] = None, service_refresh_rate_in_minutes: Optional[int] = None)
name string
The unique name of the resource.
args CloudIntegrationNewRelicArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args CloudIntegrationNewRelicArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CloudIntegrationNewRelicArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

CloudIntegrationNewRelic Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The CloudIntegrationNewRelic resource accepts the following input properties:

ApiKey string

NewRelic REST api key

Service string

A value denoting which cloud service this service integrates with

AdditionalTags Dictionary<string, string>

A list of point tag key-values to add to every point ingested using this integration

AppFilterRegex string

A regular expression that an application name must match (case-insensitively) iun order to collect metrics

ForceSave bool

Forces this resource to save, even if errors are present

HostFilterRegex string

A regular expression that a host name must match (case-insensitively) in order to collect metrics

MetricFilters List<CloudIntegrationNewRelicMetricFilterArgs>

See Metric Filter

Name string

The human-readable name of this integration

ServiceRefreshRateInMinutes int

How often, in minutes, to refresh the service

ApiKey string

NewRelic REST api key

Service string

A value denoting which cloud service this service integrates with

AdditionalTags map[string]string

A list of point tag key-values to add to every point ingested using this integration

AppFilterRegex string

A regular expression that an application name must match (case-insensitively) iun order to collect metrics

ForceSave bool

Forces this resource to save, even if errors are present

HostFilterRegex string

A regular expression that a host name must match (case-insensitively) in order to collect metrics

MetricFilters []CloudIntegrationNewRelicMetricFilter

See Metric Filter

Name string

The human-readable name of this integration

ServiceRefreshRateInMinutes int

How often, in minutes, to refresh the service

apiKey string

NewRelic REST api key

service string

A value denoting which cloud service this service integrates with

additionalTags {[key: string]: string}

A list of point tag key-values to add to every point ingested using this integration

appFilterRegex string

A regular expression that an application name must match (case-insensitively) iun order to collect metrics

forceSave boolean

Forces this resource to save, even if errors are present

hostFilterRegex string

A regular expression that a host name must match (case-insensitively) in order to collect metrics

metricFilters CloudIntegrationNewRelicMetricFilter[]

See Metric Filter

name string

The human-readable name of this integration

serviceRefreshRateInMinutes number

How often, in minutes, to refresh the service

api_key str

NewRelic REST api key

service str

A value denoting which cloud service this service integrates with

additional_tags Mapping[str, str]

A list of point tag key-values to add to every point ingested using this integration

app_filter_regex str

A regular expression that an application name must match (case-insensitively) iun order to collect metrics

force_save bool

Forces this resource to save, even if errors are present

host_filter_regex str

A regular expression that a host name must match (case-insensitively) in order to collect metrics

metric_filters Sequence[CloudIntegrationNewRelicMetricFilterArgs]

See Metric Filter

name str

The human-readable name of this integration

service_refresh_rate_in_minutes int

How often, in minutes, to refresh the service

Outputs

All input properties are implicitly available as output properties. Additionally, the CloudIntegrationNewRelic resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing CloudIntegrationNewRelic Resource

Get an existing CloudIntegrationNewRelic resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, additional_tags: Optional[Mapping[str, str]] = None, api_key: Optional[str] = None, app_filter_regex: Optional[str] = None, force_save: Optional[bool] = None, host_filter_regex: Optional[str] = None, metric_filters: Optional[Sequence[CloudIntegrationNewRelicMetricFilterArgs]] = None, name: Optional[str] = None, service: Optional[str] = None, service_refresh_rate_in_minutes: Optional[int] = None) -> CloudIntegrationNewRelic
func GetCloudIntegrationNewRelic(ctx *Context, name string, id IDInput, state *CloudIntegrationNewRelicState, opts ...ResourceOption) (*CloudIntegrationNewRelic, error)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

AdditionalTags Dictionary<string, string>

A list of point tag key-values to add to every point ingested using this integration

ApiKey string

NewRelic REST api key

AppFilterRegex string

A regular expression that an application name must match (case-insensitively) iun order to collect metrics

ForceSave bool

Forces this resource to save, even if errors are present

HostFilterRegex string

A regular expression that a host name must match (case-insensitively) in order to collect metrics

MetricFilters List<CloudIntegrationNewRelicMetricFilterArgs>

See Metric Filter

Name string

The human-readable name of this integration

Service string

A value denoting which cloud service this service integrates with

ServiceRefreshRateInMinutes int

How often, in minutes, to refresh the service

AdditionalTags map[string]string

A list of point tag key-values to add to every point ingested using this integration

ApiKey string

NewRelic REST api key

AppFilterRegex string

A regular expression that an application name must match (case-insensitively) iun order to collect metrics

ForceSave bool

Forces this resource to save, even if errors are present

HostFilterRegex string

A regular expression that a host name must match (case-insensitively) in order to collect metrics

MetricFilters []CloudIntegrationNewRelicMetricFilter

See Metric Filter

Name string

The human-readable name of this integration

Service string

A value denoting which cloud service this service integrates with

ServiceRefreshRateInMinutes int

How often, in minutes, to refresh the service

additionalTags {[key: string]: string}

A list of point tag key-values to add to every point ingested using this integration

apiKey string

NewRelic REST api key

appFilterRegex string

A regular expression that an application name must match (case-insensitively) iun order to collect metrics

forceSave boolean

Forces this resource to save, even if errors are present

hostFilterRegex string

A regular expression that a host name must match (case-insensitively) in order to collect metrics

metricFilters CloudIntegrationNewRelicMetricFilter[]

See Metric Filter

name string

The human-readable name of this integration

service string

A value denoting which cloud service this service integrates with

serviceRefreshRateInMinutes number

How often, in minutes, to refresh the service

additional_tags Mapping[str, str]

A list of point tag key-values to add to every point ingested using this integration

api_key str

NewRelic REST api key

app_filter_regex str

A regular expression that an application name must match (case-insensitively) iun order to collect metrics

force_save bool

Forces this resource to save, even if errors are present

host_filter_regex str

A regular expression that a host name must match (case-insensitively) in order to collect metrics

metric_filters Sequence[CloudIntegrationNewRelicMetricFilterArgs]

See Metric Filter

name str

The human-readable name of this integration

service str

A value denoting which cloud service this service integrates with

service_refresh_rate_in_minutes int

How often, in minutes, to refresh the service

Supporting Types

CloudIntegrationNewRelicMetricFilter

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

AppName string

The name of a NewRelic App

MetricFilterRegex string

A regular expression that a metric name must match (case-insensitively) in order to be ingested

AppName string

The name of a NewRelic App

MetricFilterRegex string

A regular expression that a metric name must match (case-insensitively) in order to be ingested

appName string

The name of a NewRelic App

metricFilterRegex string

A regular expression that a metric name must match (case-insensitively) in order to be ingested

app_name str

The name of a NewRelic App

metric_filter_regex str

A regular expression that a metric name must match (case-insensitively) in order to be ingested

Package Details

Repository
https://github.com/pulumi/pulumi-wavefront
License
Apache-2.0
Notes
This Pulumi package is based on the wavefront Terraform Provider.