@datadog/datadog-api-client
Version:
OpenAPI client for Datadog APIs
67 lines (66 loc) • 2.15 kB
TypeScript
/**
* 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 { Annotation } from "./Annotation";
import { ConnectionEnv } from "./ConnectionEnv";
import { InputSchema } from "./InputSchema";
import { OutputSchema } from "./OutputSchema";
import { Step } from "./Step";
import { Trigger } from "./Trigger";
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
/**
* The spec defines what the workflow does.
*/
export declare class Spec {
/**
* A list of annotations used in the workflow. These are like sticky notes for your workflow!
*/
"annotations"?: Array<Annotation>;
/**
* A list of connections or connection groups used in the workflow.
*/
"connectionEnvs"?: Array<ConnectionEnv>;
/**
* Unique identifier used to trigger workflows automatically in Datadog.
*/
"handle"?: string;
/**
* A list of input parameters for the workflow. These can be used as dynamic runtime values in your workflow.
*/
"inputSchema"?: InputSchema;
/**
* A list of output parameters for the workflow.
*/
"outputSchema"?: OutputSchema;
/**
* A `Step` is a sub-component of a workflow. Each `Step` performs an action.
*/
"steps"?: Array<Step>;
/**
* The list of triggers that activate this workflow. At least one trigger is required, and each trigger type may appear at most once.
*/
"triggers"?: Array<Trigger>;
/**
* 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();
}