import * as $dara from '@darabonba/typescript'; export declare class ListEnvironmentMetricTargetsResponseBodyDataActiveTargets extends $dara.Model { /** * @remarks * The tags used for service discovery. */ discoveredLabels?: { [key: string]: string; }; /** * @remarks * The URL of the target. * * @example * http://xxx */ globalUrl?: string; /** * @remarks * The health status. * * @example * up */ health?: string; /** * @remarks * The tags. */ labels?: { [key: string]: string; }; /** * @remarks * The last error message. * * @example * Get \\"http://172.16.0.86:9104/metrics\\": dial tcp 172.16.0.86:9104: connect: connection refused */ lastError?: string; /** * @remarks * The last collection time. * * @example * 2023-10-12T07:15:47.306691514Z */ lastScrape?: string; /** * @remarks * The duration of the last collection. * * @example * 0.00127593 */ lastScrapeDuration?: number; /** * @remarks * The amount of metrics in the last collection. * * @example * 122 */ lastScrapeSeries?: number; /** * @remarks * The name of the collection. * * @example * arms-prom/mysql-exporter-mysql-1694429267986-sm/0" */ scrapePool?: string; /** * @remarks * The URL of the collection. * * @example * http://xxxx */ scrapeUrl?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class ListEnvironmentMetricTargetsResponseBodyDataDroppedTargets extends $dara.Model { /** * @remarks * The tags used for service discovery. */ discoveredLabels?: { [key: string]: string; }; /** * @remarks * The URL of the target. * * @example * http://xxx */ globalUrl?: string; /** * @remarks * The health status. * * @example * up */ health?: string; /** * @remarks * The tags. */ labels?: { [key: string]: string; }; /** * @remarks * The last error message. * * @example * Get \\"http://172.16.0.86:9104/metrics\\": dial tcp 172.16.0.86:9104: connect: connection refused */ lastError?: string; /** * @remarks * The last collection time. * * @example * 2023-10-12T07:15:47.306691514Z */ lastScrape?: string; /** * @remarks * The duration of the last collection. * * @example * 0.00127593 */ lastScrapeDuration?: number; /** * @remarks * The amount of metrics in the last collection. * * @example * 122 */ lastScrapeSeries?: number; /** * @remarks * The name of the collection. * * @example * arms-prom/mysql-exporter-mysql-1694429267986-sm/0" */ scrapePool?: string; /** * @remarks * The URL of the collection. * * @example * http://xxxx */ scrapeUrl?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class ListEnvironmentMetricTargetsResponseBodyData extends $dara.Model { /** * @remarks * The active targets. */ activeTargets?: ListEnvironmentMetricTargetsResponseBodyDataActiveTargets[]; /** * @remarks * The deleted targets. */ droppedTargets?: ListEnvironmentMetricTargetsResponseBodyDataDroppedTargets[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class ListEnvironmentMetricTargetsResponseBody extends $dara.Model { /** * @remarks * The status code. The status code 200 indicates that the request was successful. * * @example * 200 */ code?: number; /** * @remarks * The struct returned. */ data?: ListEnvironmentMetricTargetsResponseBodyData; /** * @remarks * The returned message. * * @example * success */ message?: string; /** * @remarks * The request ID. * * @example * 16AF921B-8187-489F-9913-43C808B4**** */ requestId?: string; /** * @remarks * Indicates whether the request was successful. Valid values: * * * `true` * * `false` * * @example * true */ success?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }