incident_type_org_settings
Creates, updates, deletes, gets or lists an incident_type_org_settings resource.
Overview
| Name | incident_type_org_settings |
| Type | Resource |
| Id | datadog.service_management.incident_type_org_settings |
Fields
The following fields are returned by SELECT queries:
- get_org_settings_by_incident_type
- list_org_settings
| Name | Datatype | Description |
|---|---|---|
id | string (uuid) | The org settings identifier. (example: 00000000-0000-0000-0000-000000000000) |
attributes | object | Attributes of an incident org settings resource in a response. |
relationships | object | Relationships for an incident org settings resource. |
type | string | Incident org settings resource type. (incident_org_settings) (example: incident_org_settings) |
| Name | Datatype | Description |
|---|---|---|
id | string (uuid) | The org settings identifier. (example: 00000000-0000-0000-0000-000000000000) |
attributes | object | Attributes of an incident org settings resource in a response. |
relationships | object | Relationships for an incident org settings resource. |
type | string | Incident org settings resource type. (incident_org_settings) (example: incident_org_settings) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_org_settings_by_incident_type | select | incident_type_id | include | Get the org settings for a specific incident type. |
list_org_settings | select | page[size], page[offset], include-deleted, include | List 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.
| Name | Datatype | Description |
|---|---|---|
incident_type_id | string (uuid) | The UUID of the incident type. |
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. |
include | string | Comma-separated list of related resources to include in the response. |
include-deleted | boolean | Whether 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_org_settings_by_incident_type
- list_org_settings
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 }}'
;
List org settings for all incident types.
SELECT
id,
attributes,
relationships,
type
FROM datadog.service_management.incident_type_org_settings
WHERE page[size] = '{{ page[size] }}'
AND page[offset] = '{{ page[offset] }}'
AND include-deleted = '{{ include-deleted }}'
AND include = '{{ include }}'
;