Skip to main content

synthetics_suites

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

Overview

Namesynthetics_suites
TypeResource
Iddatadog.monitoring.synthetics_suites

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe public ID for the suite. (example: 123-abc-456)
attributesobjectObject containing details about a Synthetic suite.
typestringType for the Synthetics suites responses, suites. (suites) (default: suites, example: suites)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_synthetics_suiteselectpublic_id
search_suitesselectquery, sort, facets_only, start, countSearch for test suites.
create_synthetics_suiteinsertdata
edit_synthetics_suitereplacepublic_id, data
delete_synthetics_suitesexecdata

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
public_idstringThe public ID of the suite to edit.
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.
countinteger (int64)The maximum number of results to return.
facets_onlybooleanIf true, return only facets instead of full test details.
querystringThe search query.
sortstringThe sort order for the results (e.g., name,asc or name,desc).
startinteger (int64)The offset from which to start returning results.

SELECT examples

OK

SELECT
id,
attributes,
type
FROM datadog.monitoring.synthetics_suites
WHERE public_id = '{{ public_id }}' -- required
;

INSERT examples

No description available.

INSERT INTO datadog.monitoring.synthetics_suites (
data
)
SELECT
'{{ data }}' /* required */
RETURNING
data
;

REPLACE examples

No description available.

REPLACE datadog.monitoring.synthetics_suites
SET
data = '{{ data }}'
WHERE
public_id = '{{ public_id }}' --required
AND data = '{{ data }}' --required
RETURNING
data;

Lifecycle Methods

EXEC variables use wire (API) names.

OK

EXEC datadog.monitoring.synthetics_suites.delete_synthetics_suites
@@json=
'{
"data": "{{ data }}"
}'
;