Skip to main content

rum_teams_ownership_mappings

Creates, updates, deletes, gets or lists a rum_teams_ownership_mappings resource.

Overview

Namerum_teams_ownership_mappings
TypeResource
Iddatadog.digital_experience.rum_teams_ownership_mappings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the teams ownership mapping. (example: 123)
attributesobjectThe attributes of a teams ownership mapping.
typestringThe type of the resource. The value should always be teams_ownership_mappings. (teams_ownership_mappings) (default: teams_ownership_mappings, example: teams_ownership_mappings)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_teams_ownership_mappingselectidGet a specific teams ownership mapping from your organization.
list_teams_ownership_mappingsselectfilter[view_name], filter[team_handle], filter[application_id], filter[service]Get the list of teams ownership mappings for your organization, optionally filtered.
create_teams_ownership_mappinginsertdataCreate a teams ownership mapping for your organization.<br />Returns the teams ownership mapping object from the request body when the request is successful.
delete_teams_ownership_mappingdeleteidDelete a specific teams ownership mapping from 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.

NameDatatypeDescription
idstringThe ID of the teams ownership mapping.
sitestringThe 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.
filter[application_id]arrayFilter mappings by RUM application ID. Each value must be a valid UUID.
filter[service]arrayFilter mappings by RUM application service name.
filter[team_handle]arrayFilter mappings by owning team handle.
filter[view_name]arrayFilter mappings by RUM view name.

SELECT examples

Get a specific teams ownership mapping from your organization.

SELECT
id,
attributes,
type
FROM datadog.digital_experience.rum_teams_ownership_mappings
WHERE id = '{{ id }}' -- required
;

INSERT examples

Create a teams ownership mapping for your organization.<br />Returns the teams ownership mapping object from the request body when the request is successful.

INSERT INTO datadog.digital_experience.rum_teams_ownership_mappings (
data
)
SELECT
'{{ data }}' /* required */
RETURNING
data
;

DELETE examples

Delete a specific teams ownership mapping from your organization.

DELETE FROM datadog.digital_experience.rum_teams_ownership_mappings
WHERE id = '{{ id }}' --required
;