incident_global_settings
Creates, updates, deletes, gets or lists an incident_global_settings resource.
Overview
| Name | incident_global_settings |
| Type | Resource |
| Id | datadog.service_management.incident_global_settings |
Fields
The following fields are returned by SELECT queries:
- get_global_incident_settings
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for the global incident settings (example: f8b9a915-ed85-48b4-9071-ceba567a3db5) |
attributes | object | Global incident settings attributes |
type | string | Global incident settings resource type (incidents_global_settings) (example: incidents_global_settings) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_global_incident_settings | select | Retrieve global incident settings for the organization. | ||
update_global_incident_settings | update | data | Update global incident settings for the 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 |
|---|---|---|
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. |
SELECT examples
- get_global_incident_settings
Retrieve global incident settings for the organization.
SELECT
id,
attributes,
type
FROM datadog.service_management.incident_global_settings
;
UPDATE examples
- update_global_incident_settings
Update global incident settings for the organization.
UPDATE datadog.service_management.incident_global_settings
SET
data = '{{ data }}'
WHERE
data = '{{ data }}' --required
RETURNING
data;