rum_applications
Creates, updates, deletes, gets or lists a rum_applications resource.
Overview
| Name | rum_applications |
| Type | Resource |
| Id | datadog.digital_experience.rum_applications |
Fields
The following fields are returned by SELECT queries:
- get_rumapplication
- get_rumapplications
| Name | Datatype | Description |
|---|---|---|
id | string | RUM application ID. (example: abcd1234-0000-0000-abcd-1234abcd5678) |
attributes | object | RUM application attributes. |
type | string | RUM application response type. (default: rum_application, example: rum_application) |
| Name | Datatype | Description |
|---|---|---|
id | string | RUM application ID. (example: abcd1234-0000-0000-abcd-1234abcd5678) |
attributes | object | RUM application list attributes. |
type | string | RUM application list type. (default: rum_application, example: rum_application) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_rumapplication | select | id, region | Get the RUM application with given ID in your organization. | |
get_rumapplications | select | region | List all the RUM applications in your organization. | |
create_rumapplication | insert | region, data__data | Create a new RUM application in your organization. | |
update_rumapplication | update | id, region, data__data | Update the RUM application with given ID in your organization. | |
delete_rumapplication | delete | id, region | Delete an existing RUM application in your organization. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
id | string | RUM application ID. |
region | string | (default: datadoghq.com) |
SELECT examples
- get_rumapplication
- get_rumapplications
Get the RUM application with given ID in your organization.
SELECT
id,
attributes,
type
FROM datadog.digital_experience.rum_applications
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;
List all the RUM applications in your organization.
SELECT
id,
attributes,
type
FROM datadog.digital_experience.rum_applications
WHERE region = '{{ region }}' -- required
;
INSERT examples
- create_rumapplication
- Manifest
Create a new RUM application in your organization.
INSERT INTO datadog.digital_experience.rum_applications (
data__data,
region
)
SELECT
'{{ data }}' /* required */,
'{{ region }}'
RETURNING
data
;
# Description fields are for documentation purposes
- name: rum_applications
props:
- name: region
value: string
description: Required parameter for the rum_applications resource.
- name: data
value: object
description: |
RUM application creation.
UPDATE examples
- update_rumapplication
Update the RUM application with given ID in your organization.
UPDATE datadog.digital_experience.rum_applications
SET
data__data = '{{ data }}'
WHERE
id = '{{ id }}' --required
AND region = '{{ region }}' --required
AND data__data = '{{ data }}' --required
RETURNING
data;
DELETE examples
- delete_rumapplication
Delete an existing RUM application in your organization.
DELETE FROM datadog.digital_experience.rum_applications
WHERE id = '{{ id }}' --required
AND region = '{{ region }}' --required
;