UNPKG

@yandex-cloud/nodejs-sdk

Version:
1,074 lines 186 kB
/// <reference types="node" /> import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, handleServerStreamingCall, Client, ClientUnaryCall, Metadata, CallOptions, ClientReadableStream, ServiceError } from "@grpc/grpc-js"; import _m0 from "protobufjs/minimal"; import { Cluster_Environment, Host_Type, Resources, Cluster, Host } from "../../../../../yandex/cloud/mdb/elasticsearch/v1/cluster"; import { MaintenanceWindow } from "../../../../../yandex/cloud/mdb/elasticsearch/v1/maintenance"; import { FieldMask } from "../../../../../google/protobuf/field_mask"; import { UserSpec } from "../../../../../yandex/cloud/mdb/elasticsearch/v1/user"; import { ExtensionSpec } from "../../../../../yandex/cloud/mdb/elasticsearch/v1/extension"; import { Operation } from "../../../../../yandex/cloud/operation/operation"; import { ElasticsearchConfig7 } from "../../../../../yandex/cloud/mdb/elasticsearch/v1/config/elasticsearch"; import { Backup } from "../../../../../yandex/cloud/mdb/elasticsearch/v1/backup"; export declare const protobufPackage = "yandex.cloud.mdb.elasticsearch.v1"; export interface GetClusterRequest { $type: "yandex.cloud.mdb.elasticsearch.v1.GetClusterRequest"; /** * ID of the Elasticsearch cluster to return. * * To get the cluster ID, make a [ClusterService.List] request. */ clusterId: string; } export interface ListClustersRequest { $type: "yandex.cloud.mdb.elasticsearch.v1.ListClustersRequest"; /** * ID of the folder to list Elasticsearch clusters in. * * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request. */ folderId: 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 [ListClustersResponse.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 [ListClustersResponse.next_page_token] returned by the previous list request. */ pageToken: string; /** * A filter expression that filters resources listed in the response. * * The expression must specify: * 1. The field name to filter by. Currently you can only use filtering with the [Cluster.name] field. * 2. An `=` operator. * 3. The value in double quotes (`"`). Must be 1-63 characters long and match the regular expression `[a-zA-Z0-9_-]+`. * * Example of a filter: `name NOT IN 'test,beta'`. */ filter: string; } export interface ListClustersResponse { $type: "yandex.cloud.mdb.elasticsearch.v1.ListClustersResponse"; /** List of Elasticsearch clusters. */ clusters: Cluster[]; /** * Token that allows you to get the next page of results for list requests. * * If the number of results is larger than [ListClustersRequest.page_size], use `next_page_token` as the value * for the [ListClustersRequest.page_token] 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 interface CreateClusterRequest { $type: "yandex.cloud.mdb.elasticsearch.v1.CreateClusterRequest"; /** ID of the folder to create the Elasticsearch cluster in. */ folderId: string; /** Name of the Elasticsearch cluster. The name must be unique within the folder. */ name: string; /** Description of the Elasticsearch cluster. */ description: string; /** * Custom labels for the Elasticsearch cluster as `key:value` pairs. * * For example, "project": "mvp" or "source": "dictionary". */ labels: { [key: string]: string; }; /** Deployment environment of the Elasticsearch cluster. */ environment: Cluster_Environment; /** Elasticsearch and hosts configuration for the cluster. */ configSpec?: ConfigSpec; /** One or more descriptions of users to be created in Elasticsearch cluster. */ userSpecs: UserSpec[]; /** One or more configurations of hosts to be created in the Elasticsearch cluster. */ hostSpecs: HostSpec[]; /** ID of the network to create the Elasticsearch cluster in. */ networkId: string; /** User security groups */ securityGroupIds: string[]; /** ID of the service account used for access to Object Storage. */ serviceAccountId: string; /** Deletion Protection inhibits deletion of the cluster */ deletionProtection: boolean; /** Window of maintenance operations. */ maintenanceWindow?: MaintenanceWindow; /** optional */ extensionSpecs: ExtensionSpec[]; } export interface CreateClusterRequest_LabelsEntry { $type: "yandex.cloud.mdb.elasticsearch.v1.CreateClusterRequest.LabelsEntry"; key: string; value: string; } export interface CreateClusterMetadata { $type: "yandex.cloud.mdb.elasticsearch.v1.CreateClusterMetadata"; /** ID of the Elasticsearch cluster that is being created. */ clusterId: string; } export interface UpdateClusterRequest { $type: "yandex.cloud.mdb.elasticsearch.v1.UpdateClusterRequest"; /** * ID of the Elasticsearch cluster to update. * * To get the Elasticsearch cluster ID, make a [ClusterService.List] request. */ clusterId: string; updateMask?: FieldMask; /** New description of the Elasticsearch cluster. */ description: string; /** * Custom labels for the Elasticsearch cluster as `key:value` pairs. * * For example, "project": "mvp" or "source": "dictionary". * * The new set of labels will completely replace the old ones. * To add a label, request the current set with the [ClusterService.Get] method, then send an [ClusterService.Update] request with the new label added to the set. */ labels: { [key: string]: string; }; /** * New configuration and resources for hosts in the Elasticsearch cluster. * * Use [update_mask] to prevent reverting all cluster settings that are not listed in `config_spec` to their default values. */ configSpec?: ConfigSpecUpdate; /** New name for the Elasticsearch cluster. */ name: string; /** User security groups */ securityGroupIds: string[]; /** ID of the service account used for access to Object Storage. */ serviceAccountId: string; /** Deletion Protection inhibits deletion of the cluster */ deletionProtection: boolean; /** Window of maintenance operations. */ maintenanceWindow?: MaintenanceWindow; } export interface UpdateClusterRequest_LabelsEntry { $type: "yandex.cloud.mdb.elasticsearch.v1.UpdateClusterRequest.LabelsEntry"; key: string; value: string; } export interface UpdateClusterMetadata { $type: "yandex.cloud.mdb.elasticsearch.v1.UpdateClusterMetadata"; /** ID of the Elasticsearch cluster that is being updated. */ clusterId: string; } export interface DeleteClusterRequest { $type: "yandex.cloud.mdb.elasticsearch.v1.DeleteClusterRequest"; /** * ID of the Elasticsearch cluster to delete. * * To get the Elasticsearch cluster ID, make a [ClusterService.List] request. */ clusterId: string; } export interface DeleteClusterMetadata { $type: "yandex.cloud.mdb.elasticsearch.v1.DeleteClusterMetadata"; /** ID of the Elasticsearch cluster that is being deleted. */ clusterId: string; } export interface ListClusterLogsRequest { $type: "yandex.cloud.mdb.elasticsearch.v1.ListClusterLogsRequest"; /** * ID of the Elasticsearch cluster to request logs for. * * To get the Elasticsearch cluster ID, make a [ClusterService.List] request. */ clusterId: string; /** * Columns from the logs table to request. * * If no columns are specified, full log records are returned. */ columnFilter: string[]; /** Start timestamp for the logs request. */ fromTime?: Date; /** End timestamp for the logs request. */ toTime?: Date; /** * The maximum number of results per page to return. * * If the number of available results is larger than `page_size`, the service returns a [ListClusterLogsResponse.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 [ListClusterLogsResponse.next_page_token] returned by the previous list request. */ pageToken: string; /** * The flag that defines behavior of providing the next page token. * * If this flag is set to `true`, this API method will always return [ListClusterLogsResponse.next_page_token], even if current page is empty. */ alwaysNextPageToken: boolean; /** * A filter expression that filters resources listed in the response. * * The expression must specify: * 1. The field name to filter by. Currently filtering can be applied to the `hostname` field. * 2. An `=` operator. * 3. The value in double quotes (`"`). Must be 1-63 characters long and match the regular expression `[a-z0-9.-]{1,61}`. * * Example of a filter: `message.hostname='node1.db.cloud.yandex.net'` */ filter: string; /** Type of the service to request logs about. */ serviceType: ListClusterLogsRequest_ServiceType; } export declare enum ListClusterLogsRequest_ServiceType { SERVICE_TYPE_UNSPECIFIED = 0, ELASTICSEARCH = 1, KIBANA = 2, UNRECOGNIZED = -1 } export declare function listClusterLogsRequest_ServiceTypeFromJSON(object: any): ListClusterLogsRequest_ServiceType; export declare function listClusterLogsRequest_ServiceTypeToJSON(object: ListClusterLogsRequest_ServiceType): string; /** A single log record. */ export interface LogRecord { $type: "yandex.cloud.mdb.elasticsearch.v1.LogRecord"; /** Log record timestamp. */ timestamp?: Date; /** Contents of the log record. */ message: { [key: string]: string; }; } export interface LogRecord_MessageEntry { $type: "yandex.cloud.mdb.elasticsearch.v1.LogRecord.MessageEntry"; key: string; value: string; } export interface ListClusterLogsResponse { $type: "yandex.cloud.mdb.elasticsearch.v1.ListClusterLogsResponse"; /** Requested log records. */ logs: LogRecord[]; /** * Token that allows you to get the next page of results for list requests. * * If the number of results is larger than [ListClusterLogsRequest.page_size], use `next_page_token` as the value for the [ListClusterLogsRequest.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. * * This value is interchangeable with [StreamLogRecord.next_record_token] from StreamLogs method. */ nextPageToken: string; } export interface StreamLogRecord { $type: "yandex.cloud.mdb.elasticsearch.v1.StreamLogRecord"; /** One of the requested log records. */ record?: LogRecord; /** * This token allows you to continue streaming logs starting from the exact same record. * * To continue streaming, specify value of `next_record_token` as value for [StreamClusterLogsRequest.record_token] parameter in the next StreamLogs request. * * This value is interchangeable with [ListClusterLogsResponse.next_page_token] from ListLogs method. */ nextRecordToken: string; } export interface StreamClusterLogsRequest { $type: "yandex.cloud.mdb.elasticsearch.v1.StreamClusterLogsRequest"; /** * ID of the Elasticsearch cluster. * * To get the Elasticsearch cluster ID, make a [ClusterService.List] request. */ clusterId: string; /** * Columns from logs table to get in the response. * * If no columns are specified, full log records are returned. */ columnFilter: string[]; /** Start timestamp for the logs request. */ fromTime?: Date; /** * End timestamp for the logs request. * * If this field is not set, all existing logs will be sent and then the new ones asthey appear. * In essence it has `tail -f` semantics. */ toTime?: Date; /** * Record token. * * Set `record_token` to the [StreamLogRecord.next_record_token] returned by a previous [ClusterService.StreamLogs] request to start streaming from next log record. */ recordToken: string; /** * A filter expression that filters resources listed in the response. * * The expression must specify: * 1. The field name to filter by. Currently filtering can be applied to the `hostname` 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 of a filter: `message.hostname='node1.db.cloud.yandex.net'` */ filter: string; /** Type of the service to request logs about. */ serviceType: StreamClusterLogsRequest_ServiceType; } export declare enum StreamClusterLogsRequest_ServiceType { SERVICE_TYPE_UNSPECIFIED = 0, ELASTICSEARCH = 1, KIBANA = 2, UNRECOGNIZED = -1 } export declare function streamClusterLogsRequest_ServiceTypeFromJSON(object: any): StreamClusterLogsRequest_ServiceType; export declare function streamClusterLogsRequest_ServiceTypeToJSON(object: StreamClusterLogsRequest_ServiceType): string; export interface ListClusterOperationsRequest { $type: "yandex.cloud.mdb.elasticsearch.v1.ListClusterOperationsRequest"; /** * ID of the Elasticsearch cluster to list operations for. * * To get the Elasticsearch cluster ID, make a [ClusterService.List] request. */ clusterId: 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 [ListClusterOperationsResponse.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 [ListClusterOperationsResponse.next_page_token] returned by the previous list request. */ pageToken: string; } export interface ListClusterOperationsResponse { $type: "yandex.cloud.mdb.elasticsearch.v1.ListClusterOperationsResponse"; /** List of operations for the specified Elasticsearch cluster. */ operations: Operation[]; /** * Token that allows you to get the next page of results for list requests. * * If the number of results is larger than [ListClusterOperationsRequest.page_size], use the `next_page_token` as the value for the [ListClusterOperationsRequest.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 interface ListClusterHostsRequest { $type: "yandex.cloud.mdb.elasticsearch.v1.ListClusterHostsRequest"; /** * ID of the Elasticsearch cluster. * * To get the Elasticsearch cluster ID, make a [ClusterService.List] request. */ clusterId: 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 [ListClusterHostsResponse.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 [ListClusterHostsResponse.next_page_token] returned by the previous list request. */ pageToken: string; } export interface ListClusterHostsResponse { $type: "yandex.cloud.mdb.elasticsearch.v1.ListClusterHostsResponse"; /** List of hosts. */ hosts: Host[]; /** * Token that allows you to get the next page of results for list requests. * * If the number of results is larger than [ListClusterHostsRequest.page_size], use the `next_page_token` as the value for the [ListClusterHostsRequest.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 interface MoveClusterRequest { $type: "yandex.cloud.mdb.elasticsearch.v1.MoveClusterRequest"; /** * ID of the Elasticsearch cluster to move. * * To get the Elasticsearch cluster ID, make a [ClusterService.List] request. */ clusterId: string; /** ID of the destination folder. */ destinationFolderId: string; } export interface MoveClusterMetadata { $type: "yandex.cloud.mdb.elasticsearch.v1.MoveClusterMetadata"; /** ID of the Elasticsearch cluster being moved. */ clusterId: string; /** ID of the source folder. */ sourceFolderId: string; /** ID of the destination folder. */ destinationFolderId: string; } export interface StartClusterRequest { $type: "yandex.cloud.mdb.elasticsearch.v1.StartClusterRequest"; /** * ID of the Elasticsearch cluster to start. * * To get the Elasticsearch cluster ID, make a [ClusterService.List] request. */ clusterId: string; } export interface StartClusterMetadata { $type: "yandex.cloud.mdb.elasticsearch.v1.StartClusterMetadata"; /** ID of the Elasticsearch cluster. */ clusterId: string; } export interface StopClusterRequest { $type: "yandex.cloud.mdb.elasticsearch.v1.StopClusterRequest"; /** * ID of the Elasticsearch cluster to stop. * * To get the Elasticsearch cluster ID, make a [ClusterService.List] request. */ clusterId: string; } export interface StopClusterMetadata { $type: "yandex.cloud.mdb.elasticsearch.v1.StopClusterMetadata"; /** ID of the Elasticsearch cluster. */ clusterId: string; } export interface HostSpec { $type: "yandex.cloud.mdb.elasticsearch.v1.HostSpec"; /** ID of the availability zone where the host resides. */ zoneId: string; /** ID of the subnet the host resides in. */ subnetId: string; /** * The flag that defines whether a public IP address is assigned to the host. * * If the value is `true`, then this host is available on the Internet via it's public IP address. */ assignPublicIp: boolean; /** Host type. */ type: Host_Type; /** The shard name to create on the host. */ shardName: string; } export interface ElasticsearchSpec { $type: "yandex.cloud.mdb.elasticsearch.v1.ElasticsearchSpec"; /** Configuration and resource allocation for Elasticsearch data nodes. */ dataNode?: ElasticsearchSpec_DataNode; /** Configuration and resource allocation for Elasticsearch master nodes. */ masterNode?: ElasticsearchSpec_MasterNode; /** Cluster wide plugins */ plugins: string[]; } export interface ElasticsearchSpec_DataNode { $type: "yandex.cloud.mdb.elasticsearch.v1.ElasticsearchSpec.DataNode"; elasticsearchConfig7?: ElasticsearchConfig7 | undefined; /** Resources allocated to Elasticsearch data nodes. */ resources?: Resources; } export interface ElasticsearchSpec_MasterNode { $type: "yandex.cloud.mdb.elasticsearch.v1.ElasticsearchSpec.MasterNode"; /** Resources allocated to Elasticsearch master nodes. */ resources?: Resources; } export interface ConfigSpec { $type: "yandex.cloud.mdb.elasticsearch.v1.ConfigSpec"; /** Elasticsearch version. */ version: string; /** Configuration and resource allocation for Elasticsearch nodes. */ elasticsearchSpec?: ElasticsearchSpec; /** ElasticSearch edition. */ edition: string; /** ElasticSearch admin password. */ adminPassword: string; } export interface ConfigSpecUpdate { $type: "yandex.cloud.mdb.elasticsearch.v1.ConfigSpecUpdate"; /** Elasticsearch version. */ version: string; /** Configuration and resource allocation for Elasticsearch nodes. */ elasticsearchSpec?: ElasticsearchSpec; /** ElasticSearch edition. */ edition: string; /** ElasticSearch admin password. */ adminPassword: string; } export interface AddClusterHostsRequest { $type: "yandex.cloud.mdb.elasticsearch.v1.AddClusterHostsRequest"; /** * ID of the Elasticsearch cluster. * * To get the Elasticsearch cluster ID, make a [ClusterService.List] request. */ clusterId: string; /** One or more configurations of hosts to be added to the Elasticsearch cluster. */ hostSpecs: HostSpec[]; } export interface AddClusterHostsMetadata { $type: "yandex.cloud.mdb.elasticsearch.v1.AddClusterHostsMetadata"; /** ID of the Elasticsearch cluster. */ clusterId: string; /** Names of the host that are being added. */ hostNames: string[]; } export interface DeleteClusterHostsRequest { $type: "yandex.cloud.mdb.elasticsearch.v1.DeleteClusterHostsRequest"; /** * ID of the Elasticsearch cluster. * * To get the Elasticsearch cluster ID, make a [ClusterService.List] request. */ clusterId: string; /** Names of the hosts to delete. */ hostNames: string[]; } export interface DeleteClusterHostsMetadata { $type: "yandex.cloud.mdb.elasticsearch.v1.DeleteClusterHostsMetadata"; /** ID of the Elasticsearch cluster. */ clusterId: string; /** Names of the hosts that are being deleted. */ hostNames: string[]; } export interface RescheduleMaintenanceRequest { $type: "yandex.cloud.mdb.elasticsearch.v1.RescheduleMaintenanceRequest"; /** Required. ID of the Elasticsearch cluster to maintenance reschedule. */ clusterId: string; /** Required. The type of reschedule request. */ rescheduleType: RescheduleMaintenanceRequest_RescheduleType; /** The time for SPECIFIC_TIME reschedule. Limited by two weeks since first time scheduled. */ delayedUntil?: Date; } export declare enum RescheduleMaintenanceRequest_RescheduleType { RESCHEDULE_TYPE_UNSPECIFIED = 0, IMMEDIATE = 1, NEXT_AVAILABLE_WINDOW = 2, SPECIFIC_TIME = 3, UNRECOGNIZED = -1 } export declare function rescheduleMaintenanceRequest_RescheduleTypeFromJSON(object: any): RescheduleMaintenanceRequest_RescheduleType; export declare function rescheduleMaintenanceRequest_RescheduleTypeToJSON(object: RescheduleMaintenanceRequest_RescheduleType): string; export interface RescheduleMaintenanceMetadata { $type: "yandex.cloud.mdb.elasticsearch.v1.RescheduleMaintenanceMetadata"; /** Required. ID of the Elasticsearch cluster. */ clusterId: string; /** Required. New time of the planned maintenance. Can be in the past for rescheduled to "IMMEDIATE". */ delayedUntil?: Date; } export interface RestoreClusterRequest { $type: "yandex.cloud.mdb.elasticsearch.v1.RestoreClusterRequest"; /** Required. ID of the backup to restore from. */ backupId: string; /** Name of the ElasticSearch cluster. The name must be unique within the folder. */ name: string; /** Description of the ElasticSearch cluster. */ description: string; /** * Custom labels for the ElasticSearch cluster as `` key:value `` pairs. Maximum 64 per resource. * For example, "project": "mvp" or "source": "dictionary". */ labels: { [key: string]: string; }; /** Deployment environment of the ElasticSearch cluster. */ environment: Cluster_Environment; /** Configuration and resources for hosts that should be created for the ElasticSearch cluster. */ configSpec?: ConfigSpec; /** Required. Configuration of ElasticSearch hosts. */ hostSpecs: HostSpec[]; /** ID of the network to create the cluster in. */ networkId: string; /** User security groups */ securityGroupIds: string[]; /** ID of the service account used for access to Object Storage. */ serviceAccountId: string; /** Deletion Protection inhibits deletion of the cluster */ deletionProtection: boolean; /** ID of the folder to create the ElasticSearch cluster in. */ folderId: string; /** optional */ extensionSpecs: ExtensionSpec[]; } export interface RestoreClusterRequest_LabelsEntry { $type: "yandex.cloud.mdb.elasticsearch.v1.RestoreClusterRequest.LabelsEntry"; key: string; value: string; } export interface RestoreClusterMetadata { $type: "yandex.cloud.mdb.elasticsearch.v1.RestoreClusterMetadata"; /** Required. ID of the new ElasticSearch cluster. */ clusterId: string; /** Required. ID of the backup used for recovery. */ backupId: string; } export interface BackupClusterRequest { $type: "yandex.cloud.mdb.elasticsearch.v1.BackupClusterRequest"; /** Required. ID of the ElasticSearch cluster to back up. */ clusterId: string; } export interface BackupClusterMetadata { $type: "yandex.cloud.mdb.elasticsearch.v1.BackupClusterMetadata"; /** ID of the ElasticSearch cluster. */ clusterId: string; } export interface ListClusterBackupsRequest { $type: "yandex.cloud.mdb.elasticsearch.v1.ListClusterBackupsRequest"; /** Required. ID of the Elasticsearch cluster. */ clusterId: string; /** * The maximum number of results per page that should be returned. If the number of available * results is larger than `page_size`, the service returns a `next_page_token` that can be used * to get the next page of results in subsequent ListClusterBackups requests. * Acceptable values are 0 to 1000, inclusive. Default value: 100. */ pageSize: number; /** * Page token. Set `page_token` to the `next_page_token` returned by a previous ListClusterBackups * request to get the next page of results. */ pageToken: string; } export interface ListClusterBackupsResponse { $type: "yandex.cloud.mdb.elasticsearch.v1.ListClusterBackupsResponse"; /** Requested list of backups. */ backups: Backup[]; /** * This token allows you to get the next page of results for ListClusterBackups requests, * if the number of results is larger than `page_size` specified in the request. * To get the next page, specify the value of `next_page_token` as a value for * the `page_token` parameter in the next ListClusterBackups request. Subsequent ListClusterBackups * requests will have their own `next_page_token` to continue paging through the results. */ nextPageToken: string; } export declare const GetClusterRequest: { $type: "yandex.cloud.mdb.elasticsearch.v1.GetClusterRequest"; encode(message: GetClusterRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): GetClusterRequest; fromJSON(object: any): GetClusterRequest; toJSON(message: GetClusterRequest): unknown; fromPartial<I extends { clusterId?: string | undefined; } & { clusterId?: string | undefined; } & Record<Exclude<keyof I, "$type" | "clusterId">, never>>(object: I): GetClusterRequest; }; export declare const ListClustersRequest: { $type: "yandex.cloud.mdb.elasticsearch.v1.ListClustersRequest"; encode(message: ListClustersRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): ListClustersRequest; fromJSON(object: any): ListClustersRequest; toJSON(message: ListClustersRequest): 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): ListClustersRequest; }; export declare const ListClustersResponse: { $type: "yandex.cloud.mdb.elasticsearch.v1.ListClustersResponse"; encode(message: ListClustersResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): ListClustersResponse; fromJSON(object: any): ListClustersResponse; toJSON(message: ListClustersResponse): unknown; fromPartial<I extends { nextPageToken?: string | undefined; clusters?: { description?: string | undefined; id?: string | undefined; name?: string | undefined; createdAt?: Date | undefined; status?: import("../../../../../yandex/cloud/mdb/elasticsearch/v1/cluster").Cluster_Status | undefined; config?: { version?: string | undefined; elasticsearch?: { dataNode?: { resources?: { diskTypeId?: string | undefined; diskSize?: number | undefined; resourcePresetId?: string | undefined; } | undefined; elasticsearchConfigSet7?: { effectiveConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; userConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; defaultConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; } | undefined; } | undefined; masterNode?: { resources?: { diskTypeId?: string | undefined; diskSize?: number | undefined; resourcePresetId?: string | undefined; } | undefined; } | undefined; plugins?: string[] | undefined; } | undefined; edition?: string | undefined; } | undefined; folderId?: string | undefined; labels?: { [x: string]: string | undefined; [x: number]: string | undefined; } | undefined; networkId?: string | undefined; securityGroupIds?: string[] | undefined; deletionProtection?: boolean | undefined; serviceAccountId?: string | undefined; health?: import("../../../../../yandex/cloud/mdb/elasticsearch/v1/cluster").Cluster_Health | undefined; monitoring?: { link?: string | undefined; description?: string | undefined; name?: string | undefined; }[] | undefined; maintenanceWindow?: { anytime?: {} | undefined; weeklyMaintenanceWindow?: { hour?: number | undefined; day?: import("../../../../../yandex/cloud/mdb/elasticsearch/v1/maintenance").WeeklyMaintenanceWindow_WeekDay | undefined; } | undefined; } | undefined; environment?: Cluster_Environment | undefined; plannedOperation?: { info?: string | undefined; delayedUntil?: Date | undefined; } | undefined; }[] | undefined; } & { nextPageToken?: string | undefined; clusters?: ({ description?: string | undefined; id?: string | undefined; name?: string | undefined; createdAt?: Date | undefined; status?: import("../../../../../yandex/cloud/mdb/elasticsearch/v1/cluster").Cluster_Status | undefined; config?: { version?: string | undefined; elasticsearch?: { dataNode?: { resources?: { diskTypeId?: string | undefined; diskSize?: number | undefined; resourcePresetId?: string | undefined; } | undefined; elasticsearchConfigSet7?: { effectiveConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; userConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; defaultConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; } | undefined; } | undefined; masterNode?: { resources?: { diskTypeId?: string | undefined; diskSize?: number | undefined; resourcePresetId?: string | undefined; } | undefined; } | undefined; plugins?: string[] | undefined; } | undefined; edition?: string | undefined; } | undefined; folderId?: string | undefined; labels?: { [x: string]: string | undefined; [x: number]: string | undefined; } | undefined; networkId?: string | undefined; securityGroupIds?: string[] | undefined; deletionProtection?: boolean | undefined; serviceAccountId?: string | undefined; health?: import("../../../../../yandex/cloud/mdb/elasticsearch/v1/cluster").Cluster_Health | undefined; monitoring?: { link?: string | undefined; description?: string | undefined; name?: string | undefined; }[] | undefined; maintenanceWindow?: { anytime?: {} | undefined; weeklyMaintenanceWindow?: { hour?: number | undefined; day?: import("../../../../../yandex/cloud/mdb/elasticsearch/v1/maintenance").WeeklyMaintenanceWindow_WeekDay | undefined; } | undefined; } | undefined; environment?: Cluster_Environment | undefined; plannedOperation?: { info?: string | undefined; delayedUntil?: Date | undefined; } | undefined; }[] & ({ description?: string | undefined; id?: string | undefined; name?: string | undefined; createdAt?: Date | undefined; status?: import("../../../../../yandex/cloud/mdb/elasticsearch/v1/cluster").Cluster_Status | undefined; config?: { version?: string | undefined; elasticsearch?: { dataNode?: { resources?: { diskTypeId?: string | undefined; diskSize?: number | undefined; resourcePresetId?: string | undefined; } | undefined; elasticsearchConfigSet7?: { effectiveConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; userConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; defaultConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; } | undefined; } | undefined; masterNode?: { resources?: { diskTypeId?: string | undefined; diskSize?: number | undefined; resourcePresetId?: string | undefined; } | undefined; } | undefined; plugins?: string[] | undefined; } | undefined; edition?: string | undefined; } | undefined; folderId?: string | undefined; labels?: { [x: string]: string | undefined; [x: number]: string | undefined; } | undefined; networkId?: string | undefined; securityGroupIds?: string[] | undefined; deletionProtection?: boolean | undefined; serviceAccountId?: string | undefined; health?: import("../../../../../yandex/cloud/mdb/elasticsearch/v1/cluster").Cluster_Health | undefined; monitoring?: { link?: string | undefined; description?: string | undefined; name?: string | undefined; }[] | undefined; maintenanceWindow?: { anytime?: {} | undefined; weeklyMaintenanceWindow?: { hour?: number | undefined; day?: import("../../../../../yandex/cloud/mdb/elasticsearch/v1/maintenance").WeeklyMaintenanceWindow_WeekDay | undefined; } | undefined; } | undefined; environment?: Cluster_Environment | undefined; plannedOperation?: { info?: string | undefined; delayedUntil?: Date | undefined; } | undefined; } & { description?: string | undefined; id?: string | undefined; name?: string | undefined; createdAt?: Date | undefined; status?: import("../../../../../yandex/cloud/mdb/elasticsearch/v1/cluster").Cluster_Status | undefined; config?: ({ version?: string | undefined; elasticsearch?: { dataNode?: { resources?: { diskTypeId?: string | undefined; diskSize?: number | undefined; resourcePresetId?: string | undefined; } | undefined; elasticsearchConfigSet7?: { effectiveConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; userConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; defaultConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; } | undefined; } | undefined; masterNode?: { resources?: { diskTypeId?: string | undefined; diskSize?: number | undefined; resourcePresetId?: string | undefined; } | undefined; } | undefined; plugins?: string[] | undefined; } | undefined; edition?: string | undefined; } & { version?: string | undefined; elasticsearch?: ({ dataNode?: { resources?: { diskTypeId?: string | undefined; diskSize?: number | undefined; resourcePresetId?: string | undefined; } | undefined; elasticsearchConfigSet7?: { effectiveConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; userConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; defaultConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; } | undefined; } | undefined; masterNode?: { resources?: { diskTypeId?: string | undefined; diskSize?: number | undefined; resourcePresetId?: string | undefined; } | undefined; } | undefined; plugins?: string[] | undefined; } & { dataNode?: ({ resources?: { diskTypeId?: string | undefined; diskSize?: number | undefined; resourcePresetId?: string | undefined; } | undefined; elasticsearchConfigSet7?: { effectiveConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; userConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; defaultConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; } | undefined; } & { resources?: ({ diskTypeId?: string | undefined; diskSize?: number | undefined; resourcePresetId?: string | undefined; } & { diskTypeId?: string | undefined; diskSize?: number | undefined; resourcePresetId?: string | undefined; } & Record<Exclude<keyof I["clusters"][number]["config"]["elasticsearch"]["dataNode"]["resources"], "$type" | "diskTypeId" | "diskSize" | "resourcePresetId">, never>) | undefined; elasticsearchConfigSet7?: ({ effectiveConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; userConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; defaultConfig?: { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } | undefined; } & { effectiveConfig?: ({ fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } & { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } & Record<Exclude<keyof I["clusters"][number]["config"]["elasticsearch"]["dataNode"]["elasticsearchConfigSet7"]["effectiveConfig"], "$type" | "fielddataCacheSize" | "reindexRemoteWhitelist" | "reindexSslCaPath" | "maxClauseCount">, never>) | undefined; userConfig?: ({ fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } & { fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undefined; reindexSslCaPath?: string | undefined; maxClauseCount?: number | undefined; } & Record<Exclude<keyof I["clusters"][number]["config"]["elasticsearch"]["dataNode"]["elasticsearchConfigSet7"]["userConfig"], "$type" | "fielddataCacheSize" | "reindexRemoteWhitelist" | "reindexSslCaPath" | "maxClauseCount">, never>) | undefined; defaultConfig?: ({ fielddataCacheSize?: string | undefined; reindexRemoteWhitelist?: string | undef