Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

New Relic

v4.8.0 published on Thursday, Nov 18, 2021 by Pulumi

The New Relic provider for Pulumi can be used to provision any of the cloud resources available in New Relic. The New Relic provider must be configured with credentials to deploy and update resources in New Relic.

Example

const newrelic = require("@pulumi/newrelic")

const policy = new newrelic.AlertPolicy("my-policy");
import * as newrelic from "@pulumi/newrelic";

const policu = new newrelic.AlertPolicy("my-policy");
import pulumi_newrelic as newrelic

policy = newrelic.AlertPolicy("my-policy")
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	newrelic "github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		policy, err := newrelic.NewAlertPolicy(ctx, "my-policy", &newrelic.AlertPolicyArgs{})
		if err != nil {
			return err
		}

		return nil
	})
}

using System.Collections.Generic;
using System.Threading.Tasks;
using Pulumi;
using Pulumi.Newrelic;

class Program
{
    static Task Main() =>
        Deployment.Run(() => {
            var policy = new AlertPolicy("my-policy");
        });
}