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. (rum_application) (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. (rum_application) (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 | Get the RUM application with given ID in your organization. | |
get_rumapplications | select | List all the RUM applications in your organization. | ||
create_rumapplication | insert | data | Create a new RUM application in your organization. | |
update_rumapplication | update | id, data | Update the RUM application with given ID in your organization. | |
delete_rumapplication | delete | id | 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. |
site | string | The Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both. |
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
;
List all the RUM applications in your organization.
SELECT
id,
attributes,
type
FROM datadog.digital_experience.rum_applications
;
INSERT examples
- create_rumapplication
- Manifest
Create a new RUM application in your organization.
INSERT INTO datadog.digital_experience.rum_applications (
data
)
SELECT
'{{ data }}' /* required */
RETURNING
data
;
# Description fields are for documentation purposes
- name: rum_applications
props:
- name: data
description: |
RUM application creation.
value:
attributes:
name: "{{ name }}"
product_analytics_retention_state: "{{ product_analytics_retention_state }}"
rum_event_processing_state: "{{ rum_event_processing_state }}"
type: "{{ type }}"
type: "{{ type }}"
UPDATE examples
- update_rumapplication
Update the RUM application with given ID in your organization.
UPDATE datadog.digital_experience.rum_applications
SET
data = '{{ data }}'
WHERE
id = '{{ id }}' --required
AND 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
;