statuspage_degradation_backfills
Creates, updates, deletes, gets or lists a statuspage_degradation_backfills resource.
Overview
| Name | statuspage_degradation_backfills |
| Type | Resource |
| Id | datadog.service_management.statuspage_degradation_backfills |
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 |
|---|---|---|---|---|
create_backfilled_degradation | insert | page_id | include | Creates a backfilled degradation with predefined updates. |
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 |
|---|---|---|
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. |
include | string | Comma-separated list of resources to include. Supported values: created_by_user, last_modified_by_user, status_page. |
INSERT examples
- create_backfilled_degradation
- Manifest
Creates a backfilled degradation with predefined updates.
INSERT INTO datadog.service_management.statuspage_degradation_backfills (
data,
page_id,
include
)
SELECT
'{{ data }}',
'{{ page_id }}',
'{{ include }}'
RETURNING
data,
included
;
# Description fields are for documentation purposes
- name: statuspage_degradation_backfills
props:
- name: page_id
value: "{{ page_id }}"
description: Required parameter for the statuspage_degradation_backfills resource.
- name: data
description: |
The data object for creating a backfilled degradation.
value:
attributes:
title: "{{ title }}"
updates:
- components_affected: "{{ components_affected }}"
description: "{{ description }}"
started_at: "{{ started_at }}"
status: "{{ status }}"
relationships:
template:
data:
id: "{{ id }}"
type: "{{ type }}"
type: "{{ type }}"
- name: include
value: "{{ include }}"
description: Comma-separated list of resources to include. Supported values: created_by_user, last_modified_by_user, status_page.
description: Comma-separated list of resources to include. Supported values: created_by_user, last_modified_by_user, status_page.