/** * 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 { NotebookTemplateVariableAvailableValuesQuery } from "./NotebookTemplateVariableAvailableValuesQuery"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * Notebook template variable. */ export declare class NotebookTemplateVariable { /** * The list of values that the template variable drop-down is limited to. */ "availableValues"?: Array; /** * Query used to dynamically populate the list of available values for the template variable. */ "availableValuesQuery"?: NotebookTemplateVariableAvailableValuesQuery; /** * Mapping of data source names to template variable values. */ "dataSourceMappings"?: { [key: string]: string; }; /** * (deprecated) The default value for the template variable on notebook load. * Cannot be used in conjunction with `defaults`. */ "_default"?: string; /** * One or many default values for the template variable. Cannot be used in conjunction with `default`. */ "defaults"?: Array; /** * The name of the variable. */ "name": string; /** * The placement of the template variable in the notebook. */ "placement"?: string; /** * The tag prefix associated with the variable. Only tags with this prefix appear in the variable drop-down. */ "prefix"?: string; /** * The type of the template variable. */ "type"?: string; /** * @ignore */ "_unparsed"?: boolean; /** * @ignore */ static readonly attributeTypeMap: AttributeTypeMap; /** * @ignore */ static getAttributeTypeMap(): AttributeTypeMap; constructor(); }