on_call_page
Creates, updates, deletes, gets or lists an on_call_page resource.
Overview
| Name | on_call_page |
| Type | Resource |
| Id | datadog.service_management.on_call_page |
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_on_call_page | insert | Trigger a new On-Call Page. | ||
acknowledge_on_call_page | exec | page_id | Acknowledges an On-Call Page. | |
escalate_on_call_page | exec | page_id | Escalates an On-Call Page. | |
resolve_on_call_page | exec | page_id | Resolves an On-Call Page. |
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 page ID. |
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. |
INSERT examples
- create_on_call_page
- Manifest
Trigger a new On-Call Page.
INSERT INTO datadog.service_management.on_call_page (
data
)
SELECT
'{{ data }}'
RETURNING
data
;
# Description fields are for documentation purposes
- name: on_call_page
props:
- name: data
description: |
The main request body, including attributes and resource type.
value:
attributes:
description: "{{ description }}"
tags:
- "{{ tags }}"
target:
identifier: "{{ identifier }}"
type: "{{ type }}"
title: "{{ title }}"
urgency: "{{ urgency }}"
type: "{{ type }}"
Lifecycle Methods
EXEC variables use wire (API) names.
- acknowledge_on_call_page
- escalate_on_call_page
- resolve_on_call_page
Acknowledges an On-Call Page.
EXEC datadog.service_management.on_call_page.acknowledge_on_call_page
@page_id='{{ page_id }}' --required
;
Escalates an On-Call Page.
EXEC datadog.service_management.on_call_page.escalate_on_call_page
@page_id='{{ page_id }}' --required
;
Resolves an On-Call Page.
EXEC datadog.service_management.on_call_page.resolve_on_call_page
@page_id='{{ page_id }}' --required
;