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
new ApplicationSettings(name: string, args: ApplicationSettingsArgs, opts?: CustomResourceOptions);def ApplicationSettings(resource_name, opts=None, app_apdex_threshold=None, enable_real_user_monitoring=None, end_user_apdex_threshold=None, name=None, __props__=None);func NewApplicationSettings(ctx *Context, name string, args ApplicationSettingsArgs, opts ...ResourceOption) (*ApplicationSettings, error)public ApplicationSettings(string name, ApplicationSettingsArgs args, CustomResourceOptions? opts = null)- 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:
- App
Apdex doubleThreshold The appex threshold for the New Relic application.
- Enable
Real boolUser Monitoring Enable or disable real user monitoring for the New Relic application.
- End
User doubleApdex Threshold The user’s apdex threshold for the New Relic application.
- Name string
The name of the application in New Relic APM.
- App
Apdex float64Threshold The appex threshold for the New Relic application.
- Enable
Real boolUser Monitoring Enable or disable real user monitoring for the New Relic application.
- End
User float64Apdex Threshold The user’s apdex threshold for the New Relic application.
- Name string
The name of the application in New Relic APM.
- app
Apdex numberThreshold The appex threshold for the New Relic application.
- enable
Real booleanUser Monitoring Enable or disable real user monitoring for the New Relic application.
- end
User numberApdex Threshold The user’s apdex threshold for the New Relic application.
- name string
The name of the application in New Relic APM.
- app_
apdex_ floatthreshold The appex threshold for the New Relic application.
- enable_
real_ booluser_ monitoring Enable or disable real user monitoring for the New Relic application.
- end_
user_ floatapdex_ threshold 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:
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.
public static get(name: string, id: Input<ID>, state?: ApplicationSettingsState, opts?: CustomResourceOptions): ApplicationSettingsstatic 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)public static ApplicationSettings Get(string name, Input<string> id, ApplicationSettingsState? state, CustomResourceOptions? opts = null)- 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:
- App
Apdex doubleThreshold The appex threshold for the New Relic application.
- Enable
Real boolUser Monitoring Enable or disable real user monitoring for the New Relic application.
- End
User doubleApdex Threshold The user’s apdex threshold for the New Relic application.
- Name string
The name of the application in New Relic APM.
- App
Apdex float64Threshold The appex threshold for the New Relic application.
- Enable
Real boolUser Monitoring Enable or disable real user monitoring for the New Relic application.
- End
User float64Apdex Threshold The user’s apdex threshold for the New Relic application.
- Name string
The name of the application in New Relic APM.
- app
Apdex numberThreshold The appex threshold for the New Relic application.
- enable
Real booleanUser Monitoring Enable or disable real user monitoring for the New Relic application.
- end
User numberApdex Threshold The user’s apdex threshold for the New Relic application.
- name string
The name of the application in New Relic APM.
- app_
apdex_ floatthreshold The appex threshold for the New Relic application.
- enable_
real_ booluser_ monitoring Enable or disable real user monitoring for the New Relic application.
- end_
user_ floatapdex_ threshold 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
newrelicTerraform Provider.