@yandex-cloud/nodejs-sdk
Version:
Yandex.Cloud NodeJS SDK
963 lines • 221 kB
TypeScript
/// <reference types="node" />
import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from "@grpc/grpc-js";
import _m0 from "protobufjs/minimal";
import { Parametrization } from "../../../../yandex/cloud/monitoring/v3/parametrization";
import { Dashboard } from "../../../../yandex/cloud/monitoring/v3/dashboard";
import { Widget } from "../../../../yandex/cloud/monitoring/v3/widget";
import { Operation } from "../../../../yandex/cloud/operation/operation";
export declare const protobufPackage = "yandex.cloud.monitoring.v3";
export interface GetDashboardRequest {
$type: "yandex.cloud.monitoring.v3.GetDashboardRequest";
/** Required. Dashboard ID. */
dashboardId: string;
}
export interface ListDashboardsRequest {
$type: "yandex.cloud.monitoring.v3.ListDashboardsRequest";
/** Required. Folder ID. */
folderId: string | undefined;
/**
* The maximum number of dashboards to return.
* If unspecified, at most 100 dashboards will be returned.
* The maximum value is 1000; values above 1000 will be coerced to 1000.
*/
pageSize: number;
/**
* Page token. To get the next page of results, set `page_token` to the
* [ListDashboardResponse.next_page_token] returned by a previous list request.
*/
pageToken: string;
/**
* A filter expression that filters resources listed in the response.
* The expression must specify:
* 1. The field name. Currently you can use filtering only on the [Dashboard.name] field.
* 2. An `=` operator.
* 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
* Example: name="abc"
*/
filter: string;
}
export interface ListDashboardsResponse {
$type: "yandex.cloud.monitoring.v3.ListDashboardsResponse";
/** List of dashboards. */
dashboards: Dashboard[];
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
nextPageToken: string;
}
export interface CreateDashboardRequest {
$type: "yandex.cloud.monitoring.v3.CreateDashboardRequest";
/** Required. Folder ID. */
folderId: string | undefined;
/** Required. Dashboard name. */
name: string;
/** Dashboard description. */
description: string;
/** Resource labels as `key:value` pairs. */
labels: {
[key: string]: string;
};
/** Dashboard title. */
title: string;
/** List of dashboard widgets. */
widgets: Widget[];
/** Dashboard parametrization. */
parametrization?: Parametrization;
}
export interface CreateDashboardRequest_LabelsEntry {
$type: "yandex.cloud.monitoring.v3.CreateDashboardRequest.LabelsEntry";
key: string;
value: string;
}
export interface CreateDashboardMetadata {
$type: "yandex.cloud.monitoring.v3.CreateDashboardMetadata";
/** Dashboard ID. */
dashboardId: string;
}
export interface UpdateDashboardRequest {
$type: "yandex.cloud.monitoring.v3.UpdateDashboardRequest";
/** Required. Dashboard ID. */
dashboardId: string;
/** Required. Dashboard name. */
name: string;
/** Dashboard description. */
description: string;
/**
* Resource labels as `key:value` pairs.
*
* Existing set of `labels` is completely replaced by the provided set.
*/
labels: {
[key: string]: string;
};
/** Dashboard title. */
title: string;
/** List of dashboard widgets. */
widgets: Widget[];
/** Dashboard parametrization. */
parametrization?: Parametrization;
/** The current etag of the dashboard. */
etag: string;
}
export interface UpdateDashboardRequest_LabelsEntry {
$type: "yandex.cloud.monitoring.v3.UpdateDashboardRequest.LabelsEntry";
key: string;
value: string;
}
export interface UpdateDashboardMetadata {
$type: "yandex.cloud.monitoring.v3.UpdateDashboardMetadata";
/** Dashboard ID. */
dashboardId: string;
}
export interface DeleteDashboardRequest {
$type: "yandex.cloud.monitoring.v3.DeleteDashboardRequest";
/** Required. Dashboard ID. */
dashboardId: string;
/** The current etag of the dashboard. */
etag: string;
}
export interface DeleteDashboardMetadata {
$type: "yandex.cloud.monitoring.v3.DeleteDashboardMetadata";
/** Dashboard ID. */
dashboardId: string;
}
export interface ListDashboardOperationsRequest {
$type: "yandex.cloud.monitoring.v3.ListDashboardOperationsRequest";
/** ID of the dashboard to list operations for. */
dashboardId: string;
/**
* The maximum number of results per page to return. If the number of available
* results is larger than [page_size], the service returns a [ListDashboardOperationsResponse.next_page_token]
* that can be used to get the next page of results in subsequent list requests.
*/
pageSize: number;
/**
* Page token. To get the next page of results, set [page_token] to the
* [ListDashboardOperationsResponse.next_page_token] returned by a previous list request.
*/
pageToken: string;
}
export interface ListDashboardOperationsResponse {
$type: "yandex.cloud.monitoring.v3.ListDashboardOperationsResponse";
/** List of operations for the specified dashboard. */
operations: Operation[];
/**
* This token allows you to get the next page of results for list requests. If the number of results
* is larger than [ListDashboardOperationsRequest.page_size], use the [next_page_token] as the value
* for the [ListDashboardOperationsRequest.page_token] query parameter in the next list request.
* Each subsequent list request will have its own [next_page_token] to continue paging through the results.
*/
nextPageToken: string;
}
export declare const GetDashboardRequest: {
$type: "yandex.cloud.monitoring.v3.GetDashboardRequest";
encode(message: GetDashboardRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): GetDashboardRequest;
fromJSON(object: any): GetDashboardRequest;
toJSON(message: GetDashboardRequest): unknown;
fromPartial<I extends {
dashboardId?: string | undefined;
} & {
dashboardId?: string | undefined;
} & Record<Exclude<keyof I, "$type" | "dashboardId">, never>>(object: I): GetDashboardRequest;
};
export declare const ListDashboardsRequest: {
$type: "yandex.cloud.monitoring.v3.ListDashboardsRequest";
encode(message: ListDashboardsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): ListDashboardsRequest;
fromJSON(object: any): ListDashboardsRequest;
toJSON(message: ListDashboardsRequest): unknown;
fromPartial<I extends {
pageSize?: number | undefined;
pageToken?: string | undefined;
filter?: string | undefined;
folderId?: string | undefined;
} & {
pageSize?: number | undefined;
pageToken?: string | undefined;
filter?: string | undefined;
folderId?: string | undefined;
} & Record<Exclude<keyof I, "$type" | "pageSize" | "pageToken" | "filter" | "folderId">, never>>(object: I): ListDashboardsRequest;
};
export declare const ListDashboardsResponse: {
$type: "yandex.cloud.monitoring.v3.ListDashboardsResponse";
encode(message: ListDashboardsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): ListDashboardsResponse;
fromJSON(object: any): ListDashboardsResponse;
toJSON(message: ListDashboardsResponse): unknown;
fromPartial<I extends {
nextPageToken?: string | undefined;
dashboards?: {
description?: string | undefined;
id?: string | undefined;
name?: string | undefined;
createdBy?: string | undefined;
createdAt?: Date | undefined;
modifiedAt?: Date | undefined;
folderId?: string | undefined;
title?: string | undefined;
labels?: {
[x: string]: string | undefined;
[x: number]: string | undefined;
} | undefined;
modifiedBy?: string | undefined;
etag?: string | undefined;
widgets?: {
text?: {
text?: string | undefined;
} | undefined;
title?: {
text?: string | undefined;
size?: import("./title_widget").TitleWidget_TitleSize | undefined;
} | undefined;
position?: {
x?: number | undefined;
y?: number | undefined;
w?: number | undefined;
h?: number | undefined;
} | undefined;
chart?: {
description?: string | undefined;
id?: string | undefined;
title?: string | undefined;
queries?: {
targets?: {
hidden?: boolean | undefined;
query?: string | undefined;
textMode?: boolean | undefined;
}[] | undefined;
downsampling?: {
disabled?: boolean | undefined;
gridAggregation?: import("./downsampling").Downsampling_GridAggregation | undefined;
gapFilling?: import("./downsampling").Downsampling_GapFilling | undefined;
maxPoints?: number | undefined;
gridInterval?: number | undefined;
} | undefined;
} | undefined;
displayLegend?: boolean | undefined;
freeze?: import("./chart_widget").ChartWidget_FreezeDuration | undefined;
visualizationSettings?: {
normalize?: boolean | undefined;
type?: import("./chart_widget").ChartWidget_VisualizationSettings_VisualizationType | undefined;
title?: string | undefined;
interpolate?: import("./chart_widget").ChartWidget_VisualizationSettings_Interpolate | undefined;
aggregation?: import("./chart_widget").ChartWidget_VisualizationSettings_SeriesAggregation | undefined;
colorSchemeSettings?: {
automatic?: {} | undefined;
standard?: {} | undefined;
gradient?: {
greenValue?: string | undefined;
yellowValue?: string | undefined;
redValue?: string | undefined;
violetValue?: string | undefined;
} | undefined;
} | undefined;
heatmapSettings?: {
greenValue?: string | undefined;
yellowValue?: string | undefined;
redValue?: string | undefined;
violetValue?: string | undefined;
} | undefined;
yaxisSettings?: {
left?: {
type?: import("./chart_widget").ChartWidget_VisualizationSettings_YaxisType | undefined;
title?: string | undefined;
min?: string | undefined;
max?: string | undefined;
precision?: number | undefined;
unitFormat?: import("./unit_format").UnitFormat | undefined;
} | undefined;
right?: {
type?: import("./chart_widget").ChartWidget_VisualizationSettings_YaxisType | undefined;
title?: string | undefined;
min?: string | undefined;
max?: string | undefined;
precision?: number | undefined;
unitFormat?: import("./unit_format").UnitFormat | undefined;
} | undefined;
} | undefined;
showLabels?: boolean | undefined;
} | undefined;
seriesOverrides?: {
name?: string | undefined;
settings?: {
type?: import("./chart_widget").ChartWidget_SeriesOverrides_SeriesVisualizationType | undefined;
name?: string | undefined;
color?: string | undefined;
stackName?: string | undefined;
growDown?: boolean | undefined;
yaxisPosition?: import("./chart_widget").ChartWidget_SeriesOverrides_YaxisPosition | undefined;
} | undefined;
targetIndex?: string | undefined;
}[] | undefined;
nameHidingSettings?: {
names?: string[] | undefined;
positive?: boolean | undefined;
} | undefined;
} | undefined;
}[] | undefined;
parametrization?: {
selectors?: string | undefined;
parameters?: {
description?: string | undefined;
name?: string | undefined;
text?: {
defaultValue?: string | undefined;
} | undefined;
title?: string | undefined;
custom?: {
values?: string[] | undefined;
defaultValues?: string[] | undefined;
multiselectable?: boolean | undefined;
} | undefined;
hidden?: boolean | undefined;
labelValues?: {
folderId?: string | undefined;
defaultValues?: string[] | undefined;
selectors?: string | undefined;
labelKey?: string | undefined;
multiselectable?: boolean | undefined;
} | undefined;
integerParameter?: {
defaultValue?: number | undefined;
unitFormat?: import("./unit_format").UnitFormat | undefined;
} | undefined;
doubleParameter?: {
defaultValue?: number | undefined;
unitFormat?: import("./unit_format").UnitFormat | undefined;
} | undefined;
textValues?: {
defaultValues?: string[] | undefined;
} | undefined;
}[] | undefined;
} | undefined;
}[] | undefined;
} & {
nextPageToken?: string | undefined;
dashboards?: ({
description?: string | undefined;
id?: string | undefined;
name?: string | undefined;
createdBy?: string | undefined;
createdAt?: Date | undefined;
modifiedAt?: Date | undefined;
folderId?: string | undefined;
title?: string | undefined;
labels?: {
[x: string]: string | undefined;
[x: number]: string | undefined;
} | undefined;
modifiedBy?: string | undefined;
etag?: string | undefined;
widgets?: {
text?: {
text?: string | undefined;
} | undefined;
title?: {
text?: string | undefined;
size?: import("./title_widget").TitleWidget_TitleSize | undefined;
} | undefined;
position?: {
x?: number | undefined;
y?: number | undefined;
w?: number | undefined;
h?: number | undefined;
} | undefined;
chart?: {
description?: string | undefined;
id?: string | undefined;
title?: string | undefined;
queries?: {
targets?: {
hidden?: boolean | undefined;
query?: string | undefined;
textMode?: boolean | undefined;
}[] | undefined;
downsampling?: {
disabled?: boolean | undefined;
gridAggregation?: import("./downsampling").Downsampling_GridAggregation | undefined;
gapFilling?: import("./downsampling").Downsampling_GapFilling | undefined;
maxPoints?: number | undefined;
gridInterval?: number | undefined;
} | undefined;
} | undefined;
displayLegend?: boolean | undefined;
freeze?: import("./chart_widget").ChartWidget_FreezeDuration | undefined;
visualizationSettings?: {
normalize?: boolean | undefined;
type?: import("./chart_widget").ChartWidget_VisualizationSettings_VisualizationType | undefined;
title?: string | undefined;
interpolate?: import("./chart_widget").ChartWidget_VisualizationSettings_Interpolate | undefined;
aggregation?: import("./chart_widget").ChartWidget_VisualizationSettings_SeriesAggregation | undefined;
colorSchemeSettings?: {
automatic?: {} | undefined;
standard?: {} | undefined;
gradient?: {
greenValue?: string | undefined;
yellowValue?: string | undefined;
redValue?: string | undefined;
violetValue?: string | undefined;
} | undefined;
} | undefined;
heatmapSettings?: {
greenValue?: string | undefined;
yellowValue?: string | undefined;
redValue?: string | undefined;
violetValue?: string | undefined;
} | undefined;
yaxisSettings?: {
left?: {
type?: import("./chart_widget").ChartWidget_VisualizationSettings_YaxisType | undefined;
title?: string | undefined;
min?: string | undefined;
max?: string | undefined;
precision?: number | undefined;
unitFormat?: import("./unit_format").UnitFormat | undefined;
} | undefined;
right?: {
type?: import("./chart_widget").ChartWidget_VisualizationSettings_YaxisType | undefined;
title?: string | undefined;
min?: string | undefined;
max?: string | undefined;
precision?: number | undefined;
unitFormat?: import("./unit_format").UnitFormat | undefined;
} | undefined;
} | undefined;
showLabels?: boolean | undefined;
} | undefined;
seriesOverrides?: {
name?: string | undefined;
settings?: {
type?: import("./chart_widget").ChartWidget_SeriesOverrides_SeriesVisualizationType | undefined;
name?: string | undefined;
color?: string | undefined;
stackName?: string | undefined;
growDown?: boolean | undefined;
yaxisPosition?: import("./chart_widget").ChartWidget_SeriesOverrides_YaxisPosition | undefined;
} | undefined;
targetIndex?: string | undefined;
}[] | undefined;
nameHidingSettings?: {
names?: string[] | undefined;
positive?: boolean | undefined;
} | undefined;
} | undefined;
}[] | undefined;
parametrization?: {
selectors?: string | undefined;
parameters?: {
description?: string | undefined;
name?: string | undefined;
text?: {
defaultValue?: string | undefined;
} | undefined;
title?: string | undefined;
custom?: {
values?: string[] | undefined;
defaultValues?: string[] | undefined;
multiselectable?: boolean | undefined;
} | undefined;
hidden?: boolean | undefined;
labelValues?: {
folderId?: string | undefined;
defaultValues?: string[] | undefined;
selectors?: string | undefined;
labelKey?: string | undefined;
multiselectable?: boolean | undefined;
} | undefined;
integerParameter?: {
defaultValue?: number | undefined;
unitFormat?: import("./unit_format").UnitFormat | undefined;
} | undefined;
doubleParameter?: {
defaultValue?: number | undefined;
unitFormat?: import("./unit_format").UnitFormat | undefined;
} | undefined;
textValues?: {
defaultValues?: string[] | undefined;
} | undefined;
}[] | undefined;
} | undefined;
}[] & ({
description?: string | undefined;
id?: string | undefined;
name?: string | undefined;
createdBy?: string | undefined;
createdAt?: Date | undefined;
modifiedAt?: Date | undefined;
folderId?: string | undefined;
title?: string | undefined;
labels?: {
[x: string]: string | undefined;
[x: number]: string | undefined;
} | undefined;
modifiedBy?: string | undefined;
etag?: string | undefined;
widgets?: {
text?: {
text?: string | undefined;
} | undefined;
title?: {
text?: string | undefined;
size?: import("./title_widget").TitleWidget_TitleSize | undefined;
} | undefined;
position?: {
x?: number | undefined;
y?: number | undefined;
w?: number | undefined;
h?: number | undefined;
} | undefined;
chart?: {
description?: string | undefined;
id?: string | undefined;
title?: string | undefined;
queries?: {
targets?: {
hidden?: boolean | undefined;
query?: string | undefined;
textMode?: boolean | undefined;
}[] | undefined;
downsampling?: {
disabled?: boolean | undefined;
gridAggregation?: import("./downsampling").Downsampling_GridAggregation | undefined;
gapFilling?: import("./downsampling").Downsampling_GapFilling | undefined;
maxPoints?: number | undefined;
gridInterval?: number | undefined;
} | undefined;
} | undefined;
displayLegend?: boolean | undefined;
freeze?: import("./chart_widget").ChartWidget_FreezeDuration | undefined;
visualizationSettings?: {
normalize?: boolean | undefined;
type?: import("./chart_widget").ChartWidget_VisualizationSettings_VisualizationType | undefined;
title?: string | undefined;
interpolate?: import("./chart_widget").ChartWidget_VisualizationSettings_Interpolate | undefined;
aggregation?: import("./chart_widget").ChartWidget_VisualizationSettings_SeriesAggregation | undefined;
colorSchemeSettings?: {
automatic?: {} | undefined;
standard?: {} | undefined;
gradient?: {
greenValue?: string | undefined;
yellowValue?: string | undefined;
redValue?: string | undefined;
violetValue?: string | undefined;
} | undefined;
} | undefined;
heatmapSettings?: {
greenValue?: string | undefined;
yellowValue?: string | undefined;
redValue?: string | undefined;
violetValue?: string | undefined;
} | undefined;
yaxisSettings?: {
left?: {
type?: import("./chart_widget").ChartWidget_VisualizationSettings_YaxisType | undefined;
title?: string | undefined;
min?: string | undefined;
max?: string | undefined;
precision?: number | undefined;
unitFormat?: import("./unit_format").UnitFormat | undefined;
} | undefined;
right?: {
type?: import("./chart_widget").ChartWidget_VisualizationSettings_YaxisType | undefined;
title?: string | undefined;
min?: string | undefined;
max?: string | undefined;
precision?: number | undefined;
unitFormat?: import("./unit_format").UnitFormat | undefined;
} | undefined;
} | undefined;
showLabels?: boolean | undefined;
} | undefined;
seriesOverrides?: {
name?: string | undefined;
settings?: {
type?: import("./chart_widget").ChartWidget_SeriesOverrides_SeriesVisualizationType | undefined;
name?: string | undefined;
color?: string | undefined;
stackName?: string | undefined;
growDown?: boolean | undefined;
yaxisPosition?: import("./chart_widget").ChartWidget_SeriesOverrides_YaxisPosition | undefined;
} | undefined;
targetIndex?: string | undefined;
}[] | undefined;
nameHidingSettings?: {
names?: string[] | undefined;
positive?: boolean | undefined;
} | undefined;
} | undefined;
}[] | undefined;
parametrization?: {
selectors?: string | undefined;
parameters?: {
description?: string | undefined;
name?: string | undefined;
text?: {
defaultValue?: string | undefined;
} | undefined;
title?: string | undefined;
custom?: {
values?: string[] | undefined;
defaultValues?: string[] | undefined;
multiselectable?: boolean | undefined;
} | undefined;
hidden?: boolean | undefined;
labelValues?: {
folderId?: string | undefined;
defaultValues?: string[] | undefined;
selectors?: string | undefined;
labelKey?: string | undefined;
multiselectable?: boolean | undefined;
} | undefined;
integerParameter?: {
defaultValue?: number | undefined;
unitFormat?: import("./unit_format").UnitFormat | undefined;
} | undefined;
doubleParameter?: {
defaultValue?: number | undefined;
unitFormat?: import("./unit_format").UnitFormat | undefined;
} | undefined;
textValues?: {
defaultValues?: string[] | undefined;
} | undefined;
}[] | undefined;
} | undefined;
} & {
description?: string | undefined;
id?: string | undefined;
name?: string | undefined;
createdBy?: string | undefined;
createdAt?: Date | undefined;
modifiedAt?: Date | undefined;
folderId?: string | undefined;
title?: string | undefined;
labels?: ({
[x: string]: string | undefined;
[x: number]: string | undefined;
} & {
[x: string]: string | undefined;
[x: number]: string | undefined;
} & Record<Exclude<keyof I["dashboards"][number]["labels"], string | number>, never>) | undefined;
modifiedBy?: string | undefined;
etag?: string | undefined;
widgets?: ({
text?: {
text?: string | undefined;
} | undefined;
title?: {
text?: string | undefined;
size?: import("./title_widget").TitleWidget_TitleSize | undefined;
} | undefined;
position?: {
x?: number | undefined;
y?: number | undefined;
w?: number | undefined;
h?: number | undefined;
} | undefined;
chart?: {
description?: string | undefined;
id?: string | undefined;
title?: string | undefined;
queries?: {
targets?: {
hidden?: boolean | undefined;
query?: string | undefined;
textMode?: boolean | undefined;
}[] | undefined;
downsampling?: {
disabled?: boolean | undefined;
gridAggregation?: import("./downsampling").Downsampling_GridAggregation | undefined;
gapFilling?: import("./downsampling").Downsampling_GapFilling | undefined;
maxPoints?: number | undefined;
gridInterval?: number | undefined;
} | undefined;
} | undefined;
displayLegend?: boolean | undefined;
freeze?: import("./chart_widget").ChartWidget_FreezeDuration | undefined;
visualizationSettings?: {
normalize?: boolean | undefined;
type?: import("./chart_widget").ChartWidget_VisualizationSettings_VisualizationType | undefined;
title?: string | undefined;
interpolate?: import("./chart_widget").ChartWidget_VisualizationSettings_Interpolate | undefined;
aggregation?: import("./chart_widget").ChartWidget_VisualizationSettings_SeriesAggregation | undefined;
colorSchemeSettings?: {
automatic?: {} | undefined;
standard?: {} | undefined;
gradient?: {
greenValue?: string | undefined;
yellowValue?: string | undefined;
redValue?: string | undefined;
violetValue?: string | undefined;
} | undefined;
} | undefined;
heatmapSettings?: {
greenValue?: string | undefined;
yellowValue?: string | undefined;
redValue?: string | undefined;
violetValue?: string | undefined;
} | undefined;
yaxisSettings?: {
left?: {
type?: import("./chart_widget").ChartWidget_VisualizationSettings_YaxisType | undefined;
title?: string | undefined;
min?: string | undefined;
max?: string | undefined;
precision?: number | undefined;
unitFormat?: import("./unit_format").UnitFormat | undefined;
} | undefined;
right?: {
type?: import("./chart_widget").ChartWidget_VisualizationSettings_YaxisType | undefined;
title?: string | undefined;
min?: string | undefined;
max?: string | undefined;
precision?: number | undefined;
unitFormat?: import("./unit_format").UnitFormat | undefined;
} | undefined;
} | undefined;
showLabels?: boolean | undefined;
} | undefined;
seriesOverrides?: {
name?: string | undefined;
settings?: {
type?: import("./chart_widget").ChartWidget_SeriesOverrides_SeriesVisualizationType | undefined;
name?: string | undefined;
color?: string | undefined;
stackName?: string | undefined;
growDown?: boolean | undefined;
yaxisPosition?: import("./chart_widget").ChartWidget_SeriesOverrides_YaxisPosition | undefined;
} | undefined;
targetIndex?: string | undefined;
}[] | undefined;
nameHidingSettings?: {
names?: string[] | undefined;
positive?: boolean | undefined;
} | undefined;
} | undefined;
}[] & ({
text?: {
text?: string | undefined;
} | undefined;
title?: {
text?: string | undefined;
size?: import("./title_widget").TitleWidget_TitleSize | undefined;
} | undefined;
position?: {
x?: number | undefined;
y?: number | undefined;
w?: number | undefined;
h?: number | undefined;
} | undefined;
chart?: {
description?: string | undefined;
id?: string | undefined;
title?: string | undefined;
queries?: {
targets?: {
hidden?: boolean | undefined;
query?: string | undefined;
textMode?: boolean | undefined;
}[] | undefined;
downsampling?: {
disabled?: boolean | undefined;
gridAggregation?: import("./downsampling").Downsampling_GridAggregation | undefined;
gapFilling?: import("./downsampling").Downsampling_GapFilling | undefined;
maxPoints?: number | undefined;
gridInterval?: number | undefined;
} | undefined;
} | undefined;
displayLegend?: boolean | undefined;
freeze?: import("./chart_widget").ChartWidget_FreezeDuration | undefined;
visualizationSettings?: {
normalize?: boolean | undefined;
type?: import("./chart_widget").ChartWidget_VisualizationSettings_VisualizationType | undefined;
title?: string | undefined;
interpolate?: import("./chart_widget").ChartWidget_VisualizationSettings_Interpolate | undefined;
aggregation?: import("./chart_widget").ChartWidget_VisualizationSettings_SeriesAggregation | undefined;
colorSchemeSettings?: {
automatic?: {} | undefined;
standard?: {} | undefined;
gradient?: {
greenValue?: string | undefined;
yellowValue?: string | undefined;
redValue?: string | undefined;
violetValue?: string | undefined;
} | undefined;
} | undefined;
heatmapSettings?: {
greenValue?: string | undefined;
yellowValue?: string | undefined;
redValue?: string | undefined;
violetValue?: string | undefined;
} | undefined;
yaxisSettings?: {
left?: {
type?: import("./chart_widget").ChartWidget_VisualizationSettings_YaxisType | undefined;
title?: string | undefined;
min?: string | undefined;
max?: string | undefined;
precision?: number | undefined;
unitFormat?: import("./unit_format").UnitFormat | undefined;
} | undefined;
right?: {
type?: import("./chart_widget").ChartWidget_VisualizationSettings_YaxisType | undefined;
title?: string | undefined;
min?: string | undefined;
max?: string | undefined;
precision?: number | undefined;
unitFormat?: import("./unit_format").UnitFormat | undefined;
} | undefined;
} | undefined;
showLabels?: boolean | undefined;
} | undefined;
seriesOverrides?: {
name?: string | undefined;
settings?: {
type?: import("./chart_widget").ChartWidget_SeriesOverrides_SeriesVisualizationType | undefined;
name?: string | undefined;
color?: string | undefined;
stackName?: string | undefined;
growDown?: boolean | undefined;
yaxisPosition?: import("./chart_widget").ChartWidget_SeriesOverrides_YaxisPosition | undefined;
} | undefined;
targetIndex?: string | undefined;
}[] | undefined;
nameHidingSettings?: {
names?: string[] | undefined;
positive?: boolean | undefined;
} | undefined;
} | undefined;
} & {
text?: ({
text?: string | undefined;
} & {
text?: string | undefined;
} & Record<Exclude<keyof I["dashboards"][number]["widgets"][number]["text"], "$type" | "text">, never>) | undefined;
title?: ({
text?: string | undefined;
size?: import("./title_widget").TitleWidget_TitleSize | undefined;
} & {
text?: string | undefined;
size?: import("./title_widget").TitleWidget_TitleSize | undefined;
} & Record<Exclude<keyof I["dashboards"][number]["widgets"][number]["title"], "$type" | "text" | "size">, never>) | undefined;
position?: ({
x?: number | undefined;
y?: number | undefined;
w?: number | undefined;
h?: number | undefined;
} & {
x?: number | undefined;
y?: number | undefined;
w?: number | undefined;
h?: number | undefined;
} & Record<Exclude<keyof I["dashboards"][number]["widgets"][number]["position"], "$type" | "x" | "y" | "w" | "h">, never>) | undefined;
chart?: ({
description?: string | undefined;
id?: string | undefined;
title?: string | undefined;
queries?: {
targets?: {
hidden?: boolean | undefined;
query?: string | undefined;
textMode?: boolean | undefined;
}[] | undefined;
downsampling?: {
disabled?: boolean | undefined;
gridAggregation?: import("./downsampling").Downsampling_GridAggregation | undefined;
gapFilling?: import("./downsampling").Downsampling_GapFilling | undefined;
maxPoints?: number | undefined;
gridInterval?: number | undefined;
} | undefined;
} | undefined;
displayLegend?: boolean | undefined;
freeze?: import("./chart_widget").ChartWidget_FreezeDuration | undefined;
visualizationSettings?: {
normalize?: boolean | undefined;
type?: import("./chart_widget").ChartWidget_VisualizationSettings_VisualizationType | undefined;
title?: string | undefined;
interpolate?: import("./chart_widget").ChartWidget_VisualizationSettings_Interpolate | undefined;
aggregation?: import("./chart_widget").ChartWidget_VisualizationSettings_SeriesAggregation | undefined;
colorSchemeSettings?: {
automatic?: {} | undefined;
standard?: {} | undefined;
gradient?: {
greenValue?: string | undefined;
yellowValue?: string | undefined;
redValue?: string | undefined;
violetValue?: string | undefined;
} | undefined;
} | undefined;
heatmapSettings?: {
greenValue?: string | undefined;
yellowValue?: string | undefined;
redValue?: string | undefined;
violetValue?: string | undefined;
} | undefined;
yaxisSettings?: {
left?: {
type?: import("./chart_widget").ChartWidget_VisualizationSettings_YaxisType | undefined;
title?: string | undefined;
min?: string | undefined;
max?: string | undefined;
precision?: number | undefined;
unitFormat?: import("./unit_format").UnitFormat | undefined;
} | undefined;
right?: {
type?: import("./chart_widget").ChartWidget_VisualizationSettings_YaxisType | undefined;
title?: string | undefined;
min?: string | undefined;
max?: string | undefined;
precision?: number | undefined;
unitFormat?: import("./unit_format").UnitFormat | undefined;
} | undefined;
} | undefined;
showLabels?: boolean | undefined;
} | undefined;
seriesOverrides?: {
name?: string | undefined;
settings?: {
type?: import("./chart_widget").ChartWidget_SeriesOverrides_SeriesVisualizationType | undefined;
name?: string | undefined;
color?: string | undefined;
stackName?: string | undefined;
growDown?: boolean | undefined;
yaxisPosition?: import("./chart_widget").ChartWidget_SeriesOverrides_YaxisPosition | undefined;
} | undefined;
targetIndex?: string | undefined;
}[] | undefined;
nameHidingSettings?: {
names?: string[] | undefined;
positive?: boolean | undefined;
} | undefined;
} & {
description?: string | undefined;
id?: string | undefined;
title?: string | undefined;
queries?: ({
targets?: {
hidden?: boolean | undefined;
query?: string | undefined;
textMode?: boolean | undefined;
}[] | undefined;
downsampling?: {
disabled?: boolean | undefined;
gridAggregation?: import("./downsampling").Downsampling_GridAggregation | undefined;
gapFilling?: import("./downsampling").Downsampling_GapFilling | undefined;
maxPoints?: number | undefined;
gridInterval?: number | undefined;
} | undefined;
} & {
targets?: ({
hidden?: boolean | undefined;
query?: string | undefined;
textMode?: boolean | undefined;
}[] & ({
hidden?: boolean | undefined;
query?: string | undefined;
textMode?: boolean | undefined;
} & {
hidden?: boolean | undefined;
query?: string | undefined;
textMode?: boolean | undefined;
} & Record<Exclude<keyof I["dashboards"][number]["widgets"][number]["chart"]["queries"]["targets"][number], "$type" | "hidden" | "query" | "textMode">, never>)[] & Record<Exclude<keyof I["dashboards"][number]["widgets"][number]["chart"]["queries"]["targets"], "$type" | keyof {
hidden?: boolean | undefined;
query?: string | undefined;
textMode?: boolean | undefined;
}[]>, n