Skip to main content

incident_global_settings

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

Overview​

Nameincident_global_settings
TypeResource
Iddatadog.service_management.incident_global_settings

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier for the global incident settings (example: f8b9a915-ed85-48b4-9071-ceba567a3db5)
attributesobjectGlobal incident settings attributes
typestringGlobal incident settings resource type (incidents_global_settings) (example: incidents_global_settings)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_global_incident_settingsselectRetrieve global incident settings for the organization.
update_global_incident_settingsupdatedataUpdate 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.

NameDatatypeDescription
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.

SELECT examples​

Retrieve global incident settings for the organization.

SELECT
id,
attributes,
type
FROM datadog.service_management.incident_global_settings
;

UPDATE examples​

Update global incident settings for the organization.

UPDATE datadog.service_management.incident_global_settings
SET
data = '{{ data }}'
WHERE
data = '{{ data }}' --required
RETURNING
data;