statuspage_degradation_updates
Creates, updates, deletes, gets or lists a statuspage_degradation_updates resource.
Overview
| Name | statuspage_degradation_updates |
| Type | Resource |
| Id | datadog.service_management.statuspage_degradation_updates |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
edit_degradation_update | update | degradation_id, page_id, update_id | include | Edits a specific degradation update. |
soft_delete_degradation_update | delete | degradation_id, page_id, update_id | Soft-deletes a degradation update. |
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 |
|---|---|---|
degradation_id | string (uuid) | The ID of the degradation. |
page_id | string (uuid) | The ID of the status page. |
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. |
update_id | string (uuid) | The ID of the degradation update. |
include | string | Comma-separated list of resources to include. Supported values: created_by_user, last_modified_by_user, degradation, status_page. |
UPDATE examples
- edit_degradation_update
Edits a specific degradation update.
UPDATE datadog.service_management.statuspage_degradation_updates
SET
data = '{{ data }}'
WHERE
degradation_id = '{{ degradation_id }}' --required
AND page_id = '{{ page_id }}' --required
AND update_id = '{{ update_id }}' --required
AND include = '{{ include}}'
RETURNING
data,
included;
DELETE examples
- soft_delete_degradation_update
Soft-deletes a degradation update.
DELETE FROM datadog.service_management.statuspage_degradation_updates
WHERE degradation_id = '{{ degradation_id }}' --required
AND page_id = '{{ page_id }}' --required
AND update_id = '{{ update_id }}' --required
;