rum_configs
Creates, updates, deletes, gets or lists a rum_configs resource.
Overview
| Name | rum_configs |
| Type | Resource |
| Id | datadog.remote_config.rum_configs |
Fields
The following fields are returned by SELECT queries:
- get_rum_sdk_config
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier of the RUM SDK configuration. (example: abc12345-1234-5678-abcd-ef1234567890) |
attributes | object | Attributes of the RUM SDK configuration. |
meta | object | Metadata associated with a RUM SDK configuration. |
type | string | The type of the resource. The value should always be rum_sdk_config. (rum_sdk_config) (default: rum_sdk_config, example: rum_sdk_config) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_rum_sdk_config | select | config_id | Retrieve a RUM SDK configuration by its identifier. | |
update_rum_sdk_config | replace | config_id, data | Update an existing RUM SDK configuration by its identifier.<br />Returns the updated configuration when successful. |
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 |
|---|---|---|
config_id | string | The ID of the RUM SDK configuration. (example: abc12345-1234-5678-abcd-ef1234567890) |
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_rum_sdk_config
Retrieve a RUM SDK configuration by its identifier.
SELECT
id,
attributes,
meta,
type
FROM datadog.remote_config.rum_configs
WHERE config_id = '{{ config_id }}' -- required
;
REPLACE examples
- update_rum_sdk_config
Update an existing RUM SDK configuration by its identifier.<br />Returns the updated configuration when successful.
REPLACE datadog.remote_config.rum_configs
SET
data = '{{ data }}'
WHERE
config_id = '{{ config_id }}' --required
AND data = '{{ data }}' --required
RETURNING
data;