UNPKG

@datadog/datadog-api-client

Version:

OpenAPI client for Datadog APIs

47 lines (46 loc) 1.5 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 { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * Object representing a graph snapshot. */ export declare class GraphSnapshot { /** * A JSON document defining the graph. `graph_def` can be used instead of `metric_query`. * The JSON document uses the [grammar defined here](https://docs.datadoghq.com/graphing/graphing_json/#grammar) * and should be formatted to a single line then URL encoded. */ "graphDef"?: string; /** * The metric query. One of `metric_query` or `graph_def` is required. */ "metricQuery"?: string; /** * URL of your [graph snapshot](https://docs.datadoghq.com/metrics/explorer/#snapshot). */ "snapshotUrl"?: 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(); }