1. Packages
  2. Datadog
  3. API Docs
  4. RumApplication
Datadog v4.23.0 published on Wednesday, Sep 27, 2023 by Pulumi

datadog.RumApplication

Explore with Pulumi AI

datadog logo
Datadog v4.23.0 published on Wednesday, Sep 27, 2023 by Pulumi

    Provides a Datadog RUM application resource. This can be used to create and manage Datadog RUM applications.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Datadog = Pulumi.Datadog;
    
    return await Deployment.RunAsync(() => 
    {
        var rumApplication = new Datadog.RumApplication("rumApplication", new()
        {
            Name = "my-application",
            Type = "browser",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datadog.NewRumApplication(ctx, "rumApplication", &datadog.RumApplicationArgs{
    			Name: pulumi.String("my-application"),
    			Type: pulumi.String("browser"),
    		})
    		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.datadog.RumApplication;
    import com.pulumi.datadog.RumApplicationArgs;
    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 rumApplication = new RumApplication("rumApplication", RumApplicationArgs.builder()        
                .name("my-application")
                .type("browser")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_datadog as datadog
    
    rum_application = datadog.RumApplication("rumApplication",
        name="my-application",
        type="browser")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as datadog from "@pulumi/datadog";
    
    const rumApplication = new datadog.RumApplication("rumApplication", {
        name: "my-application",
        type: "browser",
    });
    
    resources:
      rumApplication:
        type: datadog:RumApplication
        properties:
          name: my-application
          type: browser
    

    Create RumApplication Resource

    new RumApplication(name: string, args: RumApplicationArgs, opts?: CustomResourceOptions);
    @overload
    def RumApplication(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       name: Optional[str] = None,
                       type: Optional[str] = None)
    @overload
    def RumApplication(resource_name: str,
                       args: RumApplicationArgs,
                       opts: Optional[ResourceOptions] = None)
    func NewRumApplication(ctx *Context, name string, args RumApplicationArgs, opts ...ResourceOption) (*RumApplication, error)
    public RumApplication(string name, RumApplicationArgs args, CustomResourceOptions? opts = null)
    public RumApplication(String name, RumApplicationArgs args)
    public RumApplication(String name, RumApplicationArgs args, CustomResourceOptions options)
    
    type: datadog:RumApplication
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args RumApplicationArgs
    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 RumApplicationArgs
    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 RumApplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RumApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RumApplicationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Name string

    The name of the RUM application

    Type string

    The RUM application type. Supported values are browser, ios, android, react-native, flutter

    Name string

    The name of the RUM application

    Type string

    The RUM application type. Supported values are browser, ios, android, react-native, flutter

    name String

    The name of the RUM application

    type String

    The RUM application type. Supported values are browser, ios, android, react-native, flutter

    name string

    The name of the RUM application

    type string

    The RUM application type. Supported values are browser, ios, android, react-native, flutter

    name str

    The name of the RUM application

    type str

    The RUM application type. Supported values are browser, ios, android, react-native, flutter

    name String

    The name of the RUM application

    type String

    The RUM application type. Supported values are browser, ios, android, react-native, flutter

    Outputs

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

    ClientToken string

    The client token

    Id string

    The provider-assigned unique ID for this managed resource.

    ClientToken string

    The client token

    Id string

    The provider-assigned unique ID for this managed resource.

    clientToken String

    The client token

    id String

    The provider-assigned unique ID for this managed resource.

    clientToken string

    The client token

    id string

    The provider-assigned unique ID for this managed resource.

    client_token str

    The client token

    id str

    The provider-assigned unique ID for this managed resource.

    clientToken String

    The client token

    id String

    The provider-assigned unique ID for this managed resource.

    Look up Existing RumApplication Resource

    Get an existing RumApplication 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?: RumApplicationState, opts?: CustomResourceOptions): RumApplication
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            client_token: Optional[str] = None,
            name: Optional[str] = None,
            type: Optional[str] = None) -> RumApplication
    func GetRumApplication(ctx *Context, name string, id IDInput, state *RumApplicationState, opts ...ResourceOption) (*RumApplication, error)
    public static RumApplication Get(string name, Input<string> id, RumApplicationState? state, CustomResourceOptions? opts = null)
    public static RumApplication get(String name, Output<String> id, RumApplicationState 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:
    ClientToken string

    The client token

    Name string

    The name of the RUM application

    Type string

    The RUM application type. Supported values are browser, ios, android, react-native, flutter

    ClientToken string

    The client token

    Name string

    The name of the RUM application

    Type string

    The RUM application type. Supported values are browser, ios, android, react-native, flutter

    clientToken String

    The client token

    name String

    The name of the RUM application

    type String

    The RUM application type. Supported values are browser, ios, android, react-native, flutter

    clientToken string

    The client token

    name string

    The name of the RUM application

    type string

    The RUM application type. Supported values are browser, ios, android, react-native, flutter

    client_token str

    The client token

    name str

    The name of the RUM application

    type str

    The RUM application type. Supported values are browser, ios, android, react-native, flutter

    clientToken String

    The client token

    name String

    The name of the RUM application

    type String

    The RUM application type. Supported values are browser, ios, android, react-native, flutter

    Import

     $ pulumi import datadog:index/rumApplication:RumApplication rum_application a1b2c3d4-a1b2-a1b2-a1b2-a1b2c3d4e5f6
    

    Package Details

    Repository
    Datadog pulumi/pulumi-datadog
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the datadog Terraform Provider.

    datadog logo
    Datadog v4.23.0 published on Wednesday, Sep 27, 2023 by Pulumi