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.
Inherited Members
Namespace: Pulumi.NewRelic.Plugins
Assembly: Pulumi.NewRelic.dll
Syntax
public class ApplicationSettings : CustomResource
Constructors
View SourceApplicationSettings(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 SourceAppApdexThreshold
The appex threshold for the New Relic application.
Declaration
public Output<double> AppApdexThreshold { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Double> |
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> |
EndUserApdexThreshold
The user's apdex threshold for the New Relic application.
Declaration
public Output<double> EndUserApdexThreshold { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Double> |
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 SourceGet(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 |