Skip to main content

synthetics_network_tests

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

Overview

Namesynthetics_network_tests
TypeResource
Iddatadog.monitoring.synthetics_network_tests

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe public ID of the Network Path test. (example: abc-def-123)
attributesobjectObject containing details about a Network Path test.
typestringType of response, network_test. (network_test) (default: network_test, example: network_test)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_synthetics_network_testselectpublic_id
create_synthetics_network_testinsertdata
update_synthetics_network_testreplacepublic_id, data

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 Network Path test 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.

SELECT examples

OK

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

INSERT examples

No description available.

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

REPLACE examples

No description available.

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