Skip to main content

playbook_details

Creates, updates, deletes, gets or lists a playbook_details resource.

Overview​

Nameplaybook_details
TypeResource
Idsumologic.monitors.playbook_details

Fields​

The following fields are returned by SELECT queries:

The single monitor playbook.

NameDatatypeDescription
namestringThe name of the playbook. (example: Test)
playbook_idstringThe id of the playbook. (example: 1) (wire: playbookId)
version_idstringThe version id of the playbook. (example: 1) (wire: versionId)
descriptionstringThe description of the monitor playbook. (example: <p>30 Seconds API Will Take To Respond</p>)
typestringThe type of the playbook. (example: Analytics)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectids, regionGet the details of the playbooks with the specified identifiers.

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
idsarrayA comma-separated list of playbook identifiers. (example: 649074b5b3d402d6e80b0d1d,649074b7b3d402d6e80b0da1,649074b6b3d402d6e80b0d75)
regionstringSumo Logic deployment (au, ca, ch, de, eu, fed, in, jp, kr, us1, us2). Resolved from the SUMOLOGIC_ENVIRONMENT environment variable when it is set (x-stackQL-envVar, the same variable the Terraform provider reads); otherwise defaults to us2. A WHERE region = '...' value always takes precedence. (enum: [au, ca, ch, de, eu, fed, in, jp, kr, us1, us2], default: us2, x-stackQL-envVar: SUMOLOGIC_ENVIRONMENT)

SELECT examples​

Get the details of the playbooks with the specified identifiers.

SELECT
name,
playbook_id,
version_id,
description,
type
FROM sumologic.monitors.playbook_details
WHERE ids = '{{ ids }}' -- required
AND region = '{{ region }}' -- required unless SUMOLOGIC_ENVIRONMENT is set
;