statuspage_maintenance_updates
Creates, updates, deletes, gets or lists a statuspage_maintenance_updates resource.
Overview
| Name | statuspage_maintenance_updates |
| Type | Resource |
| Id | datadog.service_management.statuspage_maintenance_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 |
|---|---|---|---|---|
patch_maintenance_update | update | page_id, maintenance_id, update_id | Edits the message of a specific maintenance update. Editing is allowed regardless of the parent maintenance's status, including completed and canceled maintenances. |
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 |
|---|---|---|
maintenance_id | string (uuid) | The ID of the maintenance. |
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 maintenance update. |
UPDATE examples
- patch_maintenance_update
Edits the message of a specific maintenance update. Editing is allowed regardless of the parent maintenance's status, including completed and canceled maintenances.
UPDATE datadog.service_management.statuspage_maintenance_updates
SET
data = '{{ data }}'
WHERE
page_id = '{{ page_id }}' --required
AND maintenance_id = '{{ maintenance_id }}' --required
AND update_id = '{{ update_id }}' --required
RETURNING
data;