UNPKG

@datadog/datadog-api-client

Version:

OpenAPI client for Datadog APIs

57 lines (56 loc) 1.78 kB
/** * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2020-Present Datadog, Inc. */ import { SyntheticsAPIStep } from "./SyntheticsAPIStep"; import { SyntheticsAssertion } from "./SyntheticsAssertion"; import { SyntheticsConfigVariable } from "./SyntheticsConfigVariable"; import { SyntheticsTestRequest } from "./SyntheticsTestRequest"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * Configuration object for a Synthetic API test. */ export declare class SyntheticsAPITestConfig { /** * Array of assertions used for the test. Required for single API tests. */ "assertions"?: Array<SyntheticsAssertion>; /** * Array of variables used for the test. */ "configVariables"?: Array<SyntheticsConfigVariable>; /** * Object describing the Synthetic test request. */ "request"?: SyntheticsTestRequest; /** * When the test subtype is `multi`, the steps of the test. */ "steps"?: Array<SyntheticsAPIStep>; /** * Variables defined from JavaScript code. */ "variablesFromScript"?: string; /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with * the 'additionalProperties' keyword in the OAS document. */ "additionalProperties"?: { [key: string]: any; }; /** * @ignore */ "_unparsed"?: boolean; /** * @ignore */ static readonly attributeTypeMap: AttributeTypeMap; /** * @ignore */ static getAttributeTypeMap(): AttributeTypeMap; constructor(); }