import * as pulumi from "@pulumi/pulumi"; /** * Use this resource to create, update, and delete a standalone New Relic browser application. * * ## Example Usage * * The following Terraform configuration is an example that illustrates the basic use case of creating a standalone browser application. * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as newrelic from "@pulumi/newrelic"; * * const foo = new newrelic.BrowserApplication("foo", { * name: "example-browser-app", * cookiesEnabled: true, * distributedTracingEnabled: true, * loaderType: "SPA", * }); * ``` * * ## Import * * A browser application can be imported using its GUID, i.e. * * ```sh * $ pulumi import newrelic:index/browserApplication:BrowserApplication foo * ``` */ export declare class BrowserApplication extends pulumi.CustomResource { /** * Get an existing BrowserApplication resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: BrowserApplicationState, opts?: pulumi.CustomResourceOptions): BrowserApplication; /** * Returns true if the given object is an instance of BrowserApplication. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is BrowserApplication; /** * The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified. */ readonly accountId: pulumi.Output; /** * The application ID of the browser application (not to be confused with GUID). */ readonly applicationId: pulumi.Output; /** * Configures cookies. Defaults to `true`, if not specified. */ readonly cookiesEnabled: pulumi.Output; /** * Configures distributed tracing in browser apps. Defaults to `true`, if not specified. */ readonly distributedTracingEnabled: pulumi.Output; /** * The GUID of the browser application. */ readonly guid: pulumi.Output; /** * The JavaScript configuration of the browser application, encoded into a string. */ readonly jsConfig: pulumi.Output; /** * Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types. */ readonly loaderType: pulumi.Output; /** * The name of the browser application. */ readonly name: pulumi.Output; /** * Create a BrowserApplication resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: BrowserApplicationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BrowserApplication resources. */ export interface BrowserApplicationState { /** * The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified. */ accountId?: pulumi.Input; /** * The application ID of the browser application (not to be confused with GUID). */ applicationId?: pulumi.Input; /** * Configures cookies. Defaults to `true`, if not specified. */ cookiesEnabled?: pulumi.Input; /** * Configures distributed tracing in browser apps. Defaults to `true`, if not specified. */ distributedTracingEnabled?: pulumi.Input; /** * The GUID of the browser application. */ guid?: pulumi.Input; /** * The JavaScript configuration of the browser application, encoded into a string. */ jsConfig?: pulumi.Input; /** * Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types. */ loaderType?: pulumi.Input; /** * The name of the browser application. */ name?: pulumi.Input; } /** * The set of arguments for constructing a BrowserApplication resource. */ export interface BrowserApplicationArgs { /** * The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified. */ accountId?: pulumi.Input; /** * Configures cookies. Defaults to `true`, if not specified. */ cookiesEnabled?: pulumi.Input; /** * Configures distributed tracing in browser apps. Defaults to `true`, if not specified. */ distributedTracingEnabled?: pulumi.Input; /** * Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types. */ loaderType?: pulumi.Input; /** * The name of the browser application. */ name?: pulumi.Input; } //# sourceMappingURL=browserApplication.d.ts.map