Skip to main content

on_call_page

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

Overview

Nameon_call_page
TypeResource
Iddatadog.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:

NameAccessible byRequired ParamsOptional ParamsDescription
create_on_call_pageinsertTrigger a new On-Call Page.
acknowledge_on_call_pageexecpage_idAcknowledges an On-Call Page.
escalate_on_call_pageexecpage_idEscalates an On-Call Page.
resolve_on_call_pageexecpage_idResolves 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.

NameDatatypeDescription
page_idstring (uuid)The page ID.
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.

INSERT examples

Trigger a new On-Call Page.

INSERT INTO datadog.service_management.on_call_page (
data
)
SELECT
'{{ data }}'
RETURNING
data
;

Lifecycle Methods

EXEC variables use wire (API) names.

Acknowledges an On-Call Page.

EXEC datadog.service_management.on_call_page.acknowledge_on_call_page
@page_id='{{ page_id }}' --required
;