/** * 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 { HostMapWidgetDefinitionRequests } from "./HostMapWidgetDefinitionRequests"; import { HostMapWidgetDefinitionStyle } from "./HostMapWidgetDefinitionStyle"; import { HostMapWidgetDefinitionType } from "./HostMapWidgetDefinitionType"; import { WidgetCustomLink } from "./WidgetCustomLink"; import { WidgetNodeType } from "./WidgetNodeType"; import { WidgetTextAlign } from "./WidgetTextAlign"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * The host map widget graphs any metric across your hosts using the same visualization available from the main Host Map page. */ export declare class HostMapWidgetDefinition { /** * List of custom links. */ "customLinks"?: Array; /** * The description of the widget. */ "description"?: string; /** * Deprecated - Only used by the legacy metric-based format. Use `group_by` (infrastructure) or a `group` dimension (DDSQL) inside `requests` instead. */ "group"?: Array; /** * Deprecated - Only used by the legacy metric-based format. Use `no_group_hosts` inside `requests` instead. */ "noGroupHosts"?: boolean; /** * Deprecated - Only used by the legacy metric-based format. Use `no_metric_hosts` inside `requests` instead. */ "noMetricHosts"?: boolean; /** * Which type of node to use in the map. */ "nodeType"?: WidgetNodeType; /** * Notes on the title. */ "notes"?: string; /** * Query definition for the host map widget. Supports three mutually exclusive formats distinguished by `request_type`: the deprecated legacy metric-based format (`fill`/`size`, no `request_type`), the infrastructure-backed format (`request_type: infrastructure_hostmap`), and the DDSQL published-dataset format (`request_type: data_projection`). */ "requests": HostMapWidgetDefinitionRequests; /** * Deprecated - Only used by the legacy metric-based format. Use `filter` inside `requests` instead. */ "scope"?: Array; /** * Deprecated - The style to apply to the legacy metric-based host map widget. Use `HostMapWidgetInfrastructureStyle` instead. */ "style"?: HostMapWidgetDefinitionStyle; /** * Title of the widget. */ "title"?: string; /** * How to align the text on the widget. */ "titleAlign"?: WidgetTextAlign; /** * Size of the title. */ "titleSize"?: string; /** * Type of the host map widget. */ "type": HostMapWidgetDefinitionType; /** * 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(); }