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.

Notes

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

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,
        });
    }

}

Coming soon!

import pulumi
import pulumi_newrelic as newrelic

app = newrelic.plugins.ApplicationSettings("app",
    app_apdex_threshold="0.7",
    enable_real_user_monitoring=False,
    end_user_apdex_threshold="0.8")
import * as pulumi from "@pulumi/pulumi";
import * as newrelic from "@pulumi/newrelic";

const app = new newrelic.plugins.ApplicationSettings("app", {
    appApdexThreshold: 0.7,
    enableRealUserMonitoring: false,
    endUserApdexThreshold: 0.8,
});

Create a ApplicationSettings Resource

def ApplicationSettings(resource_name, opts=None, app_apdex_threshold=None, enable_real_user_monitoring=None, end_user_apdex_threshold=None, name=None, __props__=None);
name string
The unique name of the resource.
args ApplicationSettingsArgs
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 ApplicationSettingsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ApplicationSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ApplicationSettings Resource Properties

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

Inputs

The ApplicationSettings resource accepts the following input properties:

AppApdexThreshold double

The appex threshold for the New Relic application.

EnableRealUserMonitoring bool

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

EndUserApdexThreshold double

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

Name string

The name of the application in New Relic APM.

AppApdexThreshold float64

The appex threshold for the New Relic application.

EnableRealUserMonitoring bool

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

EndUserApdexThreshold float64

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

Name string

The name of the application in New Relic APM.

appApdexThreshold number

The appex threshold for the New Relic application.

enableRealUserMonitoring boolean

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

endUserApdexThreshold number

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

name string

The name of the application in New Relic APM.

app_apdex_threshold float

The appex threshold for the New Relic application.

enable_real_user_monitoring bool

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

end_user_apdex_threshold float

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

name str

The name of the application in New Relic APM.

Outputs

All input properties are implicitly available as output properties. Additionally, the ApplicationSettings 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 ApplicationSettings Resource

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

static get(resource_name, id, opts=None, app_apdex_threshold=None, enable_real_user_monitoring=None, end_user_apdex_threshold=None, name=None, __props__=None);
func GetApplicationSettings(ctx *Context, name string, id IDInput, state *ApplicationSettingsState, opts ...ResourceOption) (*ApplicationSettings, 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:

AppApdexThreshold double

The appex threshold for the New Relic application.

EnableRealUserMonitoring bool

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

EndUserApdexThreshold double

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

Name string

The name of the application in New Relic APM.

AppApdexThreshold float64

The appex threshold for the New Relic application.

EnableRealUserMonitoring bool

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

EndUserApdexThreshold float64

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

Name string

The name of the application in New Relic APM.

appApdexThreshold number

The appex threshold for the New Relic application.

enableRealUserMonitoring boolean

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

endUserApdexThreshold number

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

name string

The name of the application in New Relic APM.

app_apdex_threshold float

The appex threshold for the New Relic application.

enable_real_user_monitoring bool

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

end_user_apdex_threshold float

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

name str

The name of the application in New Relic APM.

Package Details

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