datadog.RumApplication
Explore with Pulumi AI
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:
Outputs
All input properties are implicitly available as output properties. Additionally, the RumApplication resource produces the following output properties:
- Client
Token string The client token
- Id string
The provider-assigned unique ID for this managed resource.
- Client
Token string The client token
- Id string
The provider-assigned unique ID for this managed resource.
- client
Token String The client token
- id String
The provider-assigned unique ID for this managed resource.
- client
Token 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.
- client
Token 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.
- Client
Token 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 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 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 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
- client
Token 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.