Skip to main content

incident_type_org_settings

Creates, updates, deletes, gets or lists an incident_type_org_settings resource.

Overview

Nameincident_type_org_settings
TypeResource
Iddatadog.service_management.incident_type_org_settings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring (uuid)The org settings identifier. (example: 00000000-0000-0000-0000-000000000000)
attributesobjectAttributes of an incident org settings resource in a response.
relationshipsobjectRelationships for an incident org settings resource.
typestringIncident org settings resource type. (incident_org_settings) (example: incident_org_settings)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_org_settings_by_incident_typeselectincident_type_idincludeGet the org settings for a specific incident type.
list_org_settingsselectpage[size], page[offset], include-deleted, includeList org settings for all incident types.

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
incident_type_idstring (uuid)The UUID of the incident type.
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.
includestringComma-separated list of related resources to include in the response.
include-deletedbooleanWhether to include deleted records.
page[offset]integer (int64)The offset for pagination.
page[size]integer (int64)Maximum number of results to return.

SELECT examples

Get the org settings for a specific incident type.

SELECT
id,
attributes,
relationships,
type
FROM datadog.service_management.incident_type_org_settings
WHERE incident_type_id = '{{ incident_type_id }}' -- required
AND include = '{{ include }}'
;