Datadog Synthetics

List global variables

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Get the list of all Synthetics global variables.

Inputs

Champ

Type

Description

<any-key>

Outputs

Expand All

Champ

Type

Description

variables

[object]

Array of Synthetic global variables.

description [required]

string

Description of the global variable.

id

string

Unique identifier of the global variable.

name [required]

string

Name of the global variable.

tags [required]

[string]

Tags of the global variable.

tag_value [required]

object

A map of tags where both the keys and the values are strings. If a key has multiple values, the last value wins.

tag_value_list [required]

object

A map of tags where the keys are strings and the values are lists of strings.

value [required]

object

Value of the global variable.

secure

boolean

Determines if the value of the variable is hidden.

value

string

Value of the global variable.

parse_test_public_id

string

A Synthetic test ID to use as a test to generate the variable value.

parse_test_options

object

Parser options to use for retrieving a Synthetics global variable from a Synthetics Test.

type [required]

enum

Property of the Synthetics Test Response to use for a Synthetics global variable. Allowed enum values: http_body,http_header

field

string

When type is http_header, name of the header to use to extract the value.

parser [required]

object

Details of the parser to use for the global variable.

type [required]

enum

Type of parser for a Synthetics global variable from a synthetics test. Allowed enum values: raw,json_path,regex,x_path

value

string

Regex or JSON path used for the parser.

attributes

object

Attributes of the global variable.

restricted_roles

string

A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.