rum_teams_ownership_rules
Creates, updates, deletes, gets or lists a rum_teams_ownership_rules resource.
Overview
| Name | rum_teams_ownership_rules |
| Type | Resource |
| Id | datadog.digital_experience.rum_teams_ownership_rules |
Fields
The following fields are returned by SELECT queries:
- list_teams_ownership_rules
| Name | Datatype | Description |
|---|---|---|
id | string | A deterministic identifier derived from the rule's grouping key. This ID cannot be used to delete the rule directly; delete individual mappings using the mapping_id under teams instead. (example: 3b1e2f7a9c4d6e8f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f) |
attributes | object | The attributes of a teams ownership rule. |
type | string | The type of the resource. The value should always be teams_ownership_grouped_mappings. (teams_ownership_grouped_mappings) (default: teams_ownership_grouped_mappings, example: teams_ownership_grouped_mappings) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_teams_ownership_rules | select | filter[view_name], filter[team_handle], filter[application_id], filter[service] | Get the list of teams ownership rules for your organization, optionally filtered.<br />Rules group the underlying mappings by view_name, application_id, service, and match_type,<br />collapsing every team that owns the same view into a single entry. |
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 |
|---|---|---|
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
- list_teams_ownership_rules
Get the list of teams ownership rules for your organization, optionally filtered.<br />Rules group the underlying mappings by view_name, application_id, service, and match_type,<br />collapsing every team that owns the same view into a single entry.
SELECT
id,
attributes,
type
FROM datadog.digital_experience.rum_teams_ownership_rules
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] }}'
;