rum_teams_ownership_mappings
Creates, updates, deletes, gets or lists a rum_teams_ownership_mappings resource.
Overview
| Name | rum_teams_ownership_mappings |
| Type | Resource |
| Id | datadog.digital_experience.rum_teams_ownership_mappings |
Fields
The following fields are returned by SELECT queries:
- get_teams_ownership_mapping
- list_teams_ownership_mappings
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier of the teams ownership mapping. (example: 123) |
attributes | object | The attributes of a teams ownership mapping. |
type | string | The type of the resource. The value should always be teams_ownership_mappings. (teams_ownership_mappings) (default: teams_ownership_mappings, example: teams_ownership_mappings) |
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier of the teams ownership mapping. (example: 123) |
attributes | object | The attributes of a teams ownership mapping. |
type | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_teams_ownership_mapping | select | id | Get a specific teams ownership mapping from your organization. | |
list_teams_ownership_mappings | select | filter[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_mapping | insert | data | Create 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_mapping | delete | id | Delete 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.
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the teams ownership mapping. |
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. |
filter[application_id] | array | Filter mappings by RUM application ID. Each value must be a valid UUID. |
filter[service] | array | Filter mappings by RUM application service name. |
filter[team_handle] | array | Filter mappings by owning team handle. |
filter[view_name] | array | Filter mappings by RUM view name. |
SELECT examples
- get_teams_ownership_mapping
- list_teams_ownership_mappings
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
;
Get the list of teams ownership mappings for your organization, optionally filtered.
SELECT
id,
attributes,
type
FROM datadog.digital_experience.rum_teams_ownership_mappings
WHERE filter[view_name] = '{{ filter[view_name] }}'
AND filter[team_handle] = '{{ filter[team_handle] }}'
AND filter[application_id] = '{{ filter[application_id] }}'
AND filter[service] = '{{ filter[service] }}'
;
INSERT examples
- create_teams_ownership_mapping
- Manifest
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
;
# Description fields are for documentation purposes
- name: rum_teams_ownership_mappings
props:
- name: data
description: |
The JSON:API data envelope for a teams ownership mapping create request.
value:
attributes:
application_id: "{{ application_id }}"
match_type: "{{ match_type }}"
service: "{{ service }}"
team_handle: "{{ team_handle }}"
view_name: "{{ view_name }}"
type: "{{ type }}"
DELETE examples
- delete_teams_ownership_mapping
Delete a specific teams ownership mapping from your organization.
DELETE FROM datadog.digital_experience.rum_teams_ownership_mappings
WHERE id = '{{ id }}' --required
;