newrelic.plugins.ApplicationSettings
Explore with Pulumi AI
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 System.Collections.Generic;
using System.Linq;
using Pulumi;
using NewRelic = Pulumi.NewRelic;
return await Deployment.RunAsync(() =>
{
var app = new NewRelic.Plugins.ApplicationSettings("app", new()
{
AppApdexThreshold = 0.7,
EnableRealUserMonitoring = false,
EndUserApdexThreshold = 0.8,
});
});
package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic/plugins"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := plugins.NewApplicationSettings(ctx, "app", &plugins.ApplicationSettingsArgs{
AppApdexThreshold: pulumi.Float64(0.7),
EnableRealUserMonitoring: pulumi.Bool(false),
EndUserApdexThreshold: pulumi.Float64(0.8),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.newrelic.plugins.ApplicationSettings;
import com.pulumi.newrelic.plugins.ApplicationSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var app = new ApplicationSettings("app", ApplicationSettingsArgs.builder()
.appApdexThreshold("0.7")
.enableRealUserMonitoring(false)
.endUserApdexThreshold("0.8")
.build());
}
}
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,
});
resources:
app:
type: newrelic:plugins:ApplicationSettings
properties:
appApdexThreshold: '0.7'
enableRealUserMonitoring: false
endUserApdexThreshold: '0.8'
Create ApplicationSettings Resource
new ApplicationSettings(name: string, args: ApplicationSettingsArgs, opts?: CustomResourceOptions);
@overload
def ApplicationSettings(resource_name: str,
opts: Optional[ResourceOptions] = None,
app_apdex_threshold: Optional[float] = None,
enable_real_user_monitoring: Optional[bool] = None,
end_user_apdex_threshold: Optional[float] = None,
name: Optional[str] = None)
@overload
def ApplicationSettings(resource_name: str,
args: ApplicationSettingsArgs,
opts: Optional[ResourceOptions] = None)
func NewApplicationSettings(ctx *Context, name string, args ApplicationSettingsArgs, opts ...ResourceOption) (*ApplicationSettings, error)
public ApplicationSettings(string name, ApplicationSettingsArgs args, CustomResourceOptions? opts = null)
public ApplicationSettings(String name, ApplicationSettingsArgs args)
public ApplicationSettings(String name, ApplicationSettingsArgs args, CustomResourceOptions options)
type: newrelic:plugins:ApplicationSettings
properties: # The arguments to resource properties.
options: # 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.
- resource_name str
- The unique name of the resource.
- args ApplicationSettingsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control 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.
- name String
- The unique name of the resource.
- args ApplicationSettingsArgs
- The arguments to resource properties.
- options 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 Architecture and Concepts 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.
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- 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.
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- 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 DoubleThreshold The appex threshold for the New Relic application.
- enable
Real BooleanUser Monitoring Enable or disable real user monitoring for the New Relic application.
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- 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 numberThreshold The appex threshold for the New Relic application.
- enable
Real booleanUser Monitoring Enable or disable real user monitoring for the New Relic application.
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- 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.
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- 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.
- 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.
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- 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.
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 string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up 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): ApplicationSettings
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
app_apdex_threshold: Optional[float] = None,
enable_real_user_monitoring: Optional[bool] = None,
end_user_apdex_threshold: Optional[float] = None,
name: Optional[str] = None) -> ApplicationSettings
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)
public static ApplicationSettings get(String name, Output<String> id, ApplicationSettingsState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- 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.
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- 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.
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- 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 DoubleThreshold The appex threshold for the New Relic application.
- enable
Real BooleanUser Monitoring Enable or disable real user monitoring for the New Relic application.
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- 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 numberThreshold The appex threshold for the New Relic application.
- enable
Real booleanUser Monitoring Enable or disable real user monitoring for the New Relic application.
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- 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.
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- 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.
- 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.
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- 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.
Import
Applications can be imported using notation application_id
, e.g.
$ pulumi import newrelic:plugins/applicationSettings:ApplicationSettings main 6789012345
Package Details
- Repository
- New Relic pulumi/pulumi-newrelic
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
newrelic
Terraform Provider.