1. Packages
  2. New Relic
  3. API Docs
  4. BrowserApplication
New Relic v5.25.3 published on Tuesday, Jun 25, 2024 by Pulumi

newrelic.BrowserApplication

Explore with Pulumi AI

newrelic logo
New Relic v5.25.3 published on Tuesday, Jun 25, 2024 by Pulumi

    Import

    A browser application can be imported using its GUID, i.e.

    bash

    $ pulumi import newrelic:index/browserApplication:BrowserApplication foo <GUID>
    

    Create BrowserApplication Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BrowserApplication(name: string, args?: BrowserApplicationArgs, opts?: CustomResourceOptions);
    @overload
    def BrowserApplication(resource_name: str,
                           args: Optional[BrowserApplicationArgs] = None,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def BrowserApplication(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           account_id: Optional[str] = None,
                           cookies_enabled: Optional[bool] = None,
                           distributed_tracing_enabled: Optional[bool] = None,
                           loader_type: Optional[str] = None,
                           name: Optional[str] = None)
    func NewBrowserApplication(ctx *Context, name string, args *BrowserApplicationArgs, opts ...ResourceOption) (*BrowserApplication, error)
    public BrowserApplication(string name, BrowserApplicationArgs? args = null, CustomResourceOptions? opts = null)
    public BrowserApplication(String name, BrowserApplicationArgs args)
    public BrowserApplication(String name, BrowserApplicationArgs args, CustomResourceOptions options)
    
    type: newrelic:BrowserApplication
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args BrowserApplicationArgs
    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 BrowserApplicationArgs
    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 BrowserApplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BrowserApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BrowserApplicationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var browserApplicationResource = new NewRelic.BrowserApplication("browserApplicationResource", new()
    {
        AccountId = "string",
        CookiesEnabled = false,
        DistributedTracingEnabled = false,
        LoaderType = "string",
        Name = "string",
    });
    
    example, err := newrelic.NewBrowserApplication(ctx, "browserApplicationResource", &newrelic.BrowserApplicationArgs{
    	AccountId:                 pulumi.String("string"),
    	CookiesEnabled:            pulumi.Bool(false),
    	DistributedTracingEnabled: pulumi.Bool(false),
    	LoaderType:                pulumi.String("string"),
    	Name:                      pulumi.String("string"),
    })
    
    var browserApplicationResource = new BrowserApplication("browserApplicationResource", BrowserApplicationArgs.builder()
        .accountId("string")
        .cookiesEnabled(false)
        .distributedTracingEnabled(false)
        .loaderType("string")
        .name("string")
        .build());
    
    browser_application_resource = newrelic.BrowserApplication("browserApplicationResource",
        account_id="string",
        cookies_enabled=False,
        distributed_tracing_enabled=False,
        loader_type="string",
        name="string")
    
    const browserApplicationResource = new newrelic.BrowserApplication("browserApplicationResource", {
        accountId: "string",
        cookiesEnabled: false,
        distributedTracingEnabled: false,
        loaderType: "string",
        name: "string",
    });
    
    type: newrelic:BrowserApplication
    properties:
        accountId: string
        cookiesEnabled: false
        distributedTracingEnabled: false
        loaderType: string
        name: string
    

    BrowserApplication 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 BrowserApplication resource accepts the following input properties:

    AccountId string
    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.
    CookiesEnabled bool
    Configures cookies. Defaults to true, if not specified.
    DistributedTracingEnabled bool
    Configures distributed tracing in browser apps. Defaults to true, if not specified.
    LoaderType string
    Determines the browser loader configured. Valid values are SPA, PRO, and LITE. The default is SPA. Refer to the browser agent loader documentation for more information on valid loader types.
    Name string
    The name of the browser application.
    AccountId string
    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.
    CookiesEnabled bool
    Configures cookies. Defaults to true, if not specified.
    DistributedTracingEnabled bool
    Configures distributed tracing in browser apps. Defaults to true, if not specified.
    LoaderType string
    Determines the browser loader configured. Valid values are SPA, PRO, and LITE. The default is SPA. Refer to the browser agent loader documentation for more information on valid loader types.
    Name string
    The name of the browser application.
    accountId String
    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.
    cookiesEnabled Boolean
    Configures cookies. Defaults to true, if not specified.
    distributedTracingEnabled Boolean
    Configures distributed tracing in browser apps. Defaults to true, if not specified.
    loaderType String
    Determines the browser loader configured. Valid values are SPA, PRO, and LITE. The default is SPA. Refer to the browser agent loader documentation for more information on valid loader types.
    name String
    The name of the browser application.
    accountId string
    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.
    cookiesEnabled boolean
    Configures cookies. Defaults to true, if not specified.
    distributedTracingEnabled boolean
    Configures distributed tracing in browser apps. Defaults to true, if not specified.
    loaderType string
    Determines the browser loader configured. Valid values are SPA, PRO, and LITE. The default is SPA. Refer to the browser agent loader documentation for more information on valid loader types.
    name string
    The name of the browser application.
    account_id str
    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.
    cookies_enabled bool
    Configures cookies. Defaults to true, if not specified.
    distributed_tracing_enabled bool
    Configures distributed tracing in browser apps. Defaults to true, if not specified.
    loader_type str
    Determines the browser loader configured. Valid values are SPA, PRO, and LITE. The default is SPA. Refer to the browser agent loader documentation for more information on valid loader types.
    name str
    The name of the browser application.
    accountId String
    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.
    cookiesEnabled Boolean
    Configures cookies. Defaults to true, if not specified.
    distributedTracingEnabled Boolean
    Configures distributed tracing in browser apps. Defaults to true, if not specified.
    loaderType String
    Determines the browser loader configured. Valid values are SPA, PRO, and LITE. The default is SPA. Refer to the browser agent loader documentation for more information on valid loader types.
    name String
    The name of the browser application.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BrowserApplication resource produces the following output properties:

    ApplicationId string
    The application ID of the browser application (not to be confused with GUID).
    Guid string
    The GUID of the browser application.
    Id string
    The provider-assigned unique ID for this managed resource.
    JsConfig string
    The JavaScript configuration of the browser application, encoded into a string.
    ApplicationId string
    The application ID of the browser application (not to be confused with GUID).
    Guid string
    The GUID of the browser application.
    Id string
    The provider-assigned unique ID for this managed resource.
    JsConfig string
    The JavaScript configuration of the browser application, encoded into a string.
    applicationId String
    The application ID of the browser application (not to be confused with GUID).
    guid String
    The GUID of the browser application.
    id String
    The provider-assigned unique ID for this managed resource.
    jsConfig String
    The JavaScript configuration of the browser application, encoded into a string.
    applicationId string
    The application ID of the browser application (not to be confused with GUID).
    guid string
    The GUID of the browser application.
    id string
    The provider-assigned unique ID for this managed resource.
    jsConfig string
    The JavaScript configuration of the browser application, encoded into a string.
    application_id str
    The application ID of the browser application (not to be confused with GUID).
    guid str
    The GUID of the browser application.
    id str
    The provider-assigned unique ID for this managed resource.
    js_config str
    The JavaScript configuration of the browser application, encoded into a string.
    applicationId String
    The application ID of the browser application (not to be confused with GUID).
    guid String
    The GUID of the browser application.
    id String
    The provider-assigned unique ID for this managed resource.
    jsConfig String
    The JavaScript configuration of the browser application, encoded into a string.

    Look up Existing BrowserApplication Resource

    Get an existing BrowserApplication 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?: BrowserApplicationState, opts?: CustomResourceOptions): BrowserApplication
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            application_id: Optional[str] = None,
            cookies_enabled: Optional[bool] = None,
            distributed_tracing_enabled: Optional[bool] = None,
            guid: Optional[str] = None,
            js_config: Optional[str] = None,
            loader_type: Optional[str] = None,
            name: Optional[str] = None) -> BrowserApplication
    func GetBrowserApplication(ctx *Context, name string, id IDInput, state *BrowserApplicationState, opts ...ResourceOption) (*BrowserApplication, error)
    public static BrowserApplication Get(string name, Input<string> id, BrowserApplicationState? state, CustomResourceOptions? opts = null)
    public static BrowserApplication get(String name, Output<String> id, BrowserApplicationState 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.
    The following state arguments are supported:
    AccountId string
    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.
    ApplicationId string
    The application ID of the browser application (not to be confused with GUID).
    CookiesEnabled bool
    Configures cookies. Defaults to true, if not specified.
    DistributedTracingEnabled bool
    Configures distributed tracing in browser apps. Defaults to true, if not specified.
    Guid string
    The GUID of the browser application.
    JsConfig string
    The JavaScript configuration of the browser application, encoded into a string.
    LoaderType string
    Determines the browser loader configured. Valid values are SPA, PRO, and LITE. The default is SPA. Refer to the browser agent loader documentation for more information on valid loader types.
    Name string
    The name of the browser application.
    AccountId string
    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.
    ApplicationId string
    The application ID of the browser application (not to be confused with GUID).
    CookiesEnabled bool
    Configures cookies. Defaults to true, if not specified.
    DistributedTracingEnabled bool
    Configures distributed tracing in browser apps. Defaults to true, if not specified.
    Guid string
    The GUID of the browser application.
    JsConfig string
    The JavaScript configuration of the browser application, encoded into a string.
    LoaderType string
    Determines the browser loader configured. Valid values are SPA, PRO, and LITE. The default is SPA. Refer to the browser agent loader documentation for more information on valid loader types.
    Name string
    The name of the browser application.
    accountId String
    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.
    applicationId String
    The application ID of the browser application (not to be confused with GUID).
    cookiesEnabled Boolean
    Configures cookies. Defaults to true, if not specified.
    distributedTracingEnabled Boolean
    Configures distributed tracing in browser apps. Defaults to true, if not specified.
    guid String
    The GUID of the browser application.
    jsConfig String
    The JavaScript configuration of the browser application, encoded into a string.
    loaderType String
    Determines the browser loader configured. Valid values are SPA, PRO, and LITE. The default is SPA. Refer to the browser agent loader documentation for more information on valid loader types.
    name String
    The name of the browser application.
    accountId string
    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.
    applicationId string
    The application ID of the browser application (not to be confused with GUID).
    cookiesEnabled boolean
    Configures cookies. Defaults to true, if not specified.
    distributedTracingEnabled boolean
    Configures distributed tracing in browser apps. Defaults to true, if not specified.
    guid string
    The GUID of the browser application.
    jsConfig string
    The JavaScript configuration of the browser application, encoded into a string.
    loaderType string
    Determines the browser loader configured. Valid values are SPA, PRO, and LITE. The default is SPA. Refer to the browser agent loader documentation for more information on valid loader types.
    name string
    The name of the browser application.
    account_id str
    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.
    application_id str
    The application ID of the browser application (not to be confused with GUID).
    cookies_enabled bool
    Configures cookies. Defaults to true, if not specified.
    distributed_tracing_enabled bool
    Configures distributed tracing in browser apps. Defaults to true, if not specified.
    guid str
    The GUID of the browser application.
    js_config str
    The JavaScript configuration of the browser application, encoded into a string.
    loader_type str
    Determines the browser loader configured. Valid values are SPA, PRO, and LITE. The default is SPA. Refer to the browser agent loader documentation for more information on valid loader types.
    name str
    The name of the browser application.
    accountId String
    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.
    applicationId String
    The application ID of the browser application (not to be confused with GUID).
    cookiesEnabled Boolean
    Configures cookies. Defaults to true, if not specified.
    distributedTracingEnabled Boolean
    Configures distributed tracing in browser apps. Defaults to true, if not specified.
    guid String
    The GUID of the browser application.
    jsConfig String
    The JavaScript configuration of the browser application, encoded into a string.
    loaderType String
    Determines the browser loader configured. Valid values are SPA, PRO, and LITE. The default is SPA. Refer to the browser agent loader documentation for more information on valid loader types.
    name String
    The name of the browser application.

    Package Details

    Repository
    New Relic pulumi/pulumi-newrelic
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the newrelic Terraform Provider.
    newrelic logo
    New Relic v5.25.3 published on Tuesday, Jun 25, 2024 by Pulumi