Show / Hide Table of Contents

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

Inheritance
System.Object
Resource
CustomResource
ApplicationSettings
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.NewRelic.Plugins
Assembly: Pulumi.NewRelic.dll
Syntax
public class ApplicationSettings : CustomResource

Constructors

View Source

ApplicationSettings(String, ApplicationSettingsArgs, CustomResourceOptions)

Create a ApplicationSettings resource with the given unique name, arguments, and options.

Declaration
public ApplicationSettings(string name, ApplicationSettingsArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ApplicationSettingsArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AppApdexThreshold

The appex threshold for the New Relic application.

Declaration
public Output<double> AppApdexThreshold { get; }
Property Value
Type Description
Output<System.Double>
View Source

EnableRealUserMonitoring

Enable or disable real user monitoring for the New Relic application.

Declaration
public Output<bool> EnableRealUserMonitoring { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

EndUserApdexThreshold

The user's apdex threshold for the New Relic application.

Declaration
public Output<double> EndUserApdexThreshold { get; }
Property Value
Type Description
Output<System.Double>
View Source

Name

The name of the application in New Relic APM.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, ApplicationSettingsState, CustomResourceOptions)

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

Declaration
public static ApplicationSettings Get(string name, Input<string> id, ApplicationSettingsState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ApplicationSettingsState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
ApplicationSettings
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.