{"type":"model","meta":{"id":"/apps/pubhub/media/000-v7-apis/5b3454a4300b838cc17f7b2cdc0690fdd15058d5/c08488fb-7a2d-3d7d-9594-8f650f96122b","info":{"description":"Templates provide a streamlined approach to creating multiple tests (Synthetic/CEA and Endpoint), alert rules, dashboards, labels and other assets within ThousandEyes from a single configuration file.\nTemplates make it easy to configure monitoring for even the most complex monitoring scenarios.\nThe following applies to templates:\n* ThousandEyes provides a pre-defined set of templates for monitoring common services and applications like Office365, Webex, Atlassian, Slack, custom network, HTTP, API, and Web targets.\n* You can easily create tests for monitoring common services and applications such as Office365, Webex, and others using the predefined set of ThousandEyes built-in templates.\n* Users can create their own templates, which are visible to any other users in the account group the template was created in, provided they have the `View Templates Read` permission.\n* Templates support dynamic user inputs, which are values provided by users when a template is deployed. Templates leverage Handlebars templating notation to allow dynamically configuring ThousandEyes resources based on user provided inputs.\n* Templates can be deployed from the UI or the API.\n* Credentials (usernames, passwords, tokens, etc.) may be included in a template only as placeholders whose value is provided by user input when deployed. Creating or updating a template that contains a credentials field in plain text will result in a bad request (ie, HTTP 400).\n* Templates can also use Handlebars temlate notation to reference fields of other assets defined in the template. To support this, assets are created in the order below, which also determines what other assets a given asset can reference\n(ex. Labels cannot reference other assets, Tests can only reference labels, etc.)\n 1. Labels\n 2. Tests\n 3. Endpoint Tests\n 4. Tags\n 5. Alert Rules\n 6. Dashboard Filters\n 7. Dashboards\n\nFor more information about Templates, see the [product documentation](https://docs.thousandeyes.com/product-documentation/internet-and-wan-monitoring/tests/test-templates).\n","title":"Templates API","version":"7.0.34"},"security":[{"BearerAuth":[]}],"tags":[{"name":"Templates"}],"openapi":"3.0.0","servers":[{"description":"ThousandEyes API production URL","url":"https://api.thousandeyes.com/v7"}],"securitySchemes":{"BearerAuth":{"description":"Bearer authentication token","scheme":"bearer","type":"http"}}},"spec":{"description":"Configuration settings for a ThousandEyes Endpoint test. All test fields can be templated with Handlebars \nexpression unless otherwise noted.\n","properties":{"testName":{"anyOf":[{"type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"The name of the test.","$$ref":"#/components/schemas/EndpointTestConfigTemplate_testName"},"description":{"anyOf":[{"type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"The description of the test.","$$ref":"#/components/schemas/EndpointTestConfigTemplate_description"},"testType":{"anyOf":[{"anyOf":[{"enum":["Http","Network"],"example":"Http","type":"string","$$ref":"#/components/schemas/EndpointTestTypeOptionsTemplate"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"The type of Endpoint scheduled test.\n\nPossible values are:\n\n- `Network` - endpoint network test\n- `Http` - endpoint http test\n","$$ref":"#/components/schemas/EndpointTestTypeTemplate"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"The type of Endpoint scheduled test.\n\nPossible values are:\n\n- `Network` - endpoint network test\n- `Http` - endpoint http test\n","$$ref":"#/components/schemas/EndpointTestConfigTemplate_testType"},"testCategory":{"anyOf":[{"enum":["SCHEDULED_TEST","DYNAMIC_APP_TEST"],"example":"SCHEDULED_TEST","type":"string","$$ref":"#/components/schemas/EndpointTestCategoryOptionsTemplate"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Whether the test is `SCHEDULED_TEST` or `DYNAMIC_APP_TEST`.","$$ref":"#/components/schemas/EndpointTestCategoryTemplate"},"flagEnabled":{"anyOf":[{"type":"boolean"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Flag indicating if the test is enabled.","$$ref":"#/components/schemas/EndpointTestConfigTemplate_flagEnabled"},"alertRules":{"anyOf":[{"description":"Alert rules associated with the test config.","items":{"description":"Alert rules to associate with the test.","properties":{"ruleId":{"anyOf":[{"type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"The ID of the Alert rule to associate with test.","$$ref":"#/components/schemas/EndpointAlertRuleConfigTemplate_ruleId"}},"required":["ruleId"],"type":"object","$$ref":"#/components/schemas/EndpointAlertRuleConfigTemplate"},"type":"array"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"$$ref":"#/components/schemas/EndpointTestConfigTemplate_alertRules"},"genericConfig":{"anyOf":[{"description":"Settings common to HTTP and Network tests.","properties":{"interval":{"anyOf":[{"description":"How often the test will run, in seconds.","enum":[60,120,300,600,900,1800,3600],"example":60,"type":"integer","$$ref":"#/components/schemas/EndpointTestIntervalTemplate"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Interval in seconds of when the test runs.","$$ref":"#/components/schemas/EndpointGenericConfigTemplate_interval"},"priority":{"anyOf":[{"type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Define a priority for scheduling. Higher priority value will be scheduled first.","$$ref":"#/components/schemas/EndpointGenericConfigTemplate_priority"}},"required":["interval","priority"],"type":"object","$$ref":"#/components/schemas/EndpointGenericConfigTemplate"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"$$ref":"#/components/schemas/EndpointTestConfigTemplate_genericConfig"},"machineConfig":{"anyOf":[{"description":"Configration that will be used to determine what Endpoint Agents to assign to a test.","properties":{"monitoringSettingsType":{"anyOf":[{"description":"The strategy to use for selecting Endpoint agents to include in a test. Possible values are:\n- `SPECIFIC_AGENTS` - use `agentIds` to select a specific set of agents\n- `ANY_AGENT` - select all agents available\n- `LIST_OF_LABELS` - use `labelIds` to select agents based on a set of matching labels\n","enum":["ANY_AGENT","SPECIFIC_AGENTS","LIST_OF_LABELS"],"example":"ANY_AGENT","type":"string","$$ref":"#/components/schemas/EndpointMonitoringSettingsTypeTemplate"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"$$ref":"#/components/schemas/EndpointAgentSelectionConfigTemplate_monitoringSettingsType"},"agentIds":{"anyOf":[{"items":{"description":"Agent ID","type":"string"},"type":"array"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"An array of agent IDs used to assign specific Endpoint Agents to the test. Used when `monitoringSettingsType` is `SPECIFIC_AGENTS`.","$$ref":"#/components/schemas/EndpointAgentSelectionConfigTemplate_agentIds"},"labelIds":{"anyOf":[{"items":{"description":"An Endpoint label ID.","format":"int64","type":"integer"},"type":"array"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"An array of label IDs used to assign specific Endpoint Agents to the test. Used when `monitoringSettingsType` is `LIST_OF_LABELS`.","$$ref":"#/components/schemas/EndpointAgentSelectionConfigTemplate_labelIds"},"maxMachines":{"anyOf":[{"type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Maximum number of machines assigned to a test.","$$ref":"#/components/schemas/EndpointAgentSelectionConfigTemplate_maxMachines"}},"required":["maxMachines"],"type":"object","$$ref":"#/components/schemas/EndpointAgentSelectionConfigTemplate"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"$$ref":"#/components/schemas/EndpointTestConfigTemplate_machineConfig"},"networkConfig":{"anyOf":[{"description":"Network test settings.","properties":{"flagPing":{"anyOf":[{"description":"Indicates if the test should run ping.","example":true,"type":"boolean"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"$$ref":"#/components/schemas/EndpointNetworkTestConfigTemplate_flagPing"},"flagTraceroute":{"anyOf":[{"description":"Indicates if the test should run traceroute.","example":true,"type":"boolean"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"$$ref":"#/components/schemas/EndpointNetworkTestConfigTemplate_flagTraceroute"},"ipVersion":{"anyOf":[{"description":"IP version the test should use for network tests.","enum":["V4_ONLY","V6_ONLY","V6_PREFER","OS_DEFAULT"],"example":"V4_ONLY","type":"string","$$ref":"#/components/schemas/EndpointIpVersionTemplate"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"IP version the test should use for network tests.","$$ref":"#/components/schemas/EndpointNetworkTestConfigTemplate_ipVersion"},"networkProtocol":{"description":"The protocol to use for ping/traceroute tests.","enum":["UNKNOWN","ICMP","TCP","UDP","PREFER_TCP","AUTODETECT"],"example":"AUTODETECT","type":"string","$$ref":"#/components/schemas/EndpointTestConfigProtocolTemplate"},"pathtraceInSession":{"description":"Used in TCP mode only.","type":"boolean"},"tcpProbeMode":{"description":"Used in TCP mode only.","enum":["UNKNOWN","AUTO","SYN","SACK"],"example":"SACK","type":"string","$$ref":"#/components/schemas/EndpointTcpProbeModeTemplate"},"tcpConnect":{"default":false,"description":"Indicates whether to use TCP Connect when running the ICMP test.","example":false,"type":"boolean"}},"required":["flagPing","flagTraceroute","ipVersion","networkProtocol","pathtraceInSession","tcpConnect","tcpProbeMode"],"type":"object","$$ref":"#/components/schemas/EndpointNetworkTestConfigTemplate"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"$$ref":"#/components/schemas/EndpointTestConfigTemplate_networkConfig"},"server":{"anyOf":[{"description":"Target server information.","properties":{"serverName":{"description":"Server host name or IP.","example":"www.example.com","type":"string"},"port":{"description":"Server port","example":80,"maximum":65535,"minimum":0,"type":"integer"}},"required":["port","serverName"],"type":"object","$$ref":"#/components/schemas/EndpointServerConfigTemplate"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"$$ref":"#/components/schemas/EndpointTestConfigTemplate_server"},"httpConfig":{"anyOf":[{"description":"HTTP test settings.","properties":{"url":{"anyOf":[{"example":"https://meet.google.com","type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"URL to target for the test.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_url"},"targetResponseTime":{"anyOf":[{"format":"int64","type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Target response time in milliseconds.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_targetResponseTime"},"targetFetchTime":{"anyOf":[{"format":"int64","type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Target fetch time in milliseconds.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_targetFetchTime"},"headers":{"anyOf":[{"maxLength":1024,"type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Headers to be used in the HTTP request.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_headers"},"verifyCertHostname":{"anyOf":[{"type":"boolean"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Flag indicating if we are to verify the certificate.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_verifyCertHostname"},"authType":{"anyOf":[{"anyOf":[{"description":"The authentication type.","enum":["NONE","BASIC","NTLM","KERBEROS","OAUTH","LEGACY"],"example":"BASIC","type":"string","$$ref":"#/components/schemas/EndpointAuthTypeEnumTemplate"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"The authentication type.","$$ref":"#/components/schemas/EndpointAuthTypeTemplate"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_authType"},"bytesToDownload":{"anyOf":[{"type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Maximum number of bytes to download on a request. If not present it means no limit.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_bytesToDownload"},"httpTimeLimit":{"anyOf":[{"maximum":60000,"minimum":5000,"type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Maximum amount of time in milliseconds the HTTP Server test will run.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_httpTimeLimit"},"username":{"anyOf":[{"maximum":255,"type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Username if auth enabled.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_username"},"password":{"anyOf":[{"maximum":255,"type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Password if auth enabled.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_password"},"postBody":{"anyOf":[{"type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Request body to be used with the POST request.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_postBody"},"contentRegex":{"anyOf":[{"type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Regular expression used to validate the received content. Must conform with the POSIX Extended Regular Expression Syntax.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_contentRegex"},"sslVersion":{"anyOf":[{"maximum":6,"minimum":0,"type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"SSL Version to be used: \n- `0` - Auto\n- `3` - SSLv3\n- `4` - TLSv1.0\n- `5` - TLSv1.1\n- `6` - TLSv1.2\n","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_sslVersion"},"expectedResponseCode":{"anyOf":[{"type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Expected HTTP response code. If not present 2xx or 3xx are expected.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_expectedResponseCode"},"targetIpOverride":{"anyOf":[{"type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"If set to a valid IP address, this is where the request will\nbe sent regardless of what the agent's DNS resolver says.\n","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_targetIpOverride"},"clientCert":{"anyOf":[{"type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Client PEM certificate used during the request.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_clientCert"},"userAgent":{"anyOf":[{"type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"The user-agent string to be used by the request. It can be any user-agent string. If not provided, the default implementation user-agent is used.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_userAgent"},"maxRedirects":{"anyOf":[{"type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Maximum allowed redirects.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_maxRedirects"},"proxyId":{"anyOf":[{"type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Proxy used by the agent to execute the test.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_proxyId"},"proxyDirect":{"anyOf":[{"type":"boolean"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Indicates if a direct proxy should be used when proxyId is not set.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_proxyDirect"}},"required":["httpTimeLimit","sslVersion","targetFetchTime","targetResponseTime","url","verifyCertHostname"],"type":"object","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"$$ref":"#/components/schemas/EndpointTestConfigTemplate_httpConfig"},"testLabelIds":{"anyOf":[{"description":"A list of label IDs identifying label to be assigned.","items":{"anyOf":[{"type":"number"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"$$ref":"#/components/schemas/NumberTemplate"},"type":"array","$$ref":"#/components/schemas/EndpointTestLabelListTemplate"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"A list of labels to assign to the test. Typically this value will be set using Handlebars\nreference to a user input. Example: `\"testLabelIds\": \"[{{labels.endpointLabel.groupId}}]\"`\n","$$ref":"#/components/schemas/EndpointTestConfigTemplate_testLabelIds"}},"required":["genericConfig","machineConfig","name","networkConfig","testCategory","testType"],"type":"object","$$ref":"#/components/schemas/EndpointTestConfigTemplate","title":"EndpointTestConfigTemplate"}}