Show / Hide Table of Contents

Namespace Pulumi.NewRelic.Plugins

Classes

AlertCondition

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

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.
  • threshold - (Required) Must be 0 or greater.
  • time_function - (Required) all or any.

AlertConditionArgs

AlertConditionState

ApplicationSettings

NOTE: Applications are not created by this resource, but are created by a reporting agent.

Use this resource to manage configuration for an application that already exists in New Relic.

Example Usage

using Pulumi;
using NewRelic = Pulumi.NewRelic;

class MyStack : Stack
{
public MyStack()
{
    var app = new NewRelic.Plugins.ApplicationSettings("app", new NewRelic.Plugins.ApplicationSettingsArgs
    {
        AppApdexThreshold = "0.7",
        EnableRealUserMonitoring = false,
        EndUserApdexThreshold = "0.8",
    });
}

}

Notes

NOTE: Applications that have reported data in the last twelve hours cannot be deleted.

ApplicationSettingsArgs

ApplicationSettingsState

GetPlugin

GetPluginArgs

GetPluginComponent

GetPluginComponentArgs

GetPluginComponentResult

GetPluginResult

Workload

Use this resource to create, update, and delete a New Relic One workload.

A New Relic Personal API key is required to provision this resource. Set the provider_api_key attribute in the provider block or the NEWRELIC_PERSONAL_API_KEY environment variable with your Personal API key,

Example Usage

using Pulumi;
using NewRelic = Pulumi.NewRelic;

class MyStack : Stack
{
public MyStack()
{
    var foo = new NewRelic.Plugins.Workload("foo", new NewRelic.Plugins.WorkloadArgs
    {
        AccountId = 12345678,
        EntityGuids = 
        {
            "MjUyMDUyOHxBUE18QVBQTElDQVRJT058MjE1MDM3Nzk1",
        },
        EntitySearchQueries = 
        {
            new NewRelic.Plugins.Inputs.WorkloadEntitySearchQueryArgs
            {
                Query = "name like 'Example application'",
            },
        },
        ScopeAccountIds = 
        {
            12345678,
        },
    });
}

}

WorkloadArgs

WorkloadState

Back to top Copyright 2016-2020, Pulumi Corporation.