///
import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js';
import _m0 from 'protobufjs/minimal';
import { NetworkConfig, LoggingConfig, CoordinatorConfig, WorkerConfig, RetryPolicyConfig, Resources, Cluster, FixedScalePolicy, AutoScalePolicy } from '../../../../yandex/cloud/trino/v1/cluster';
import { MaintenanceWindow } from '../../../../yandex/cloud/trino/v1/maintenance';
import { FieldMask } from '../../../../google/protobuf/field_mask';
import { CatalogSpec } from '../../../../yandex/cloud/trino/v1/catalog';
import { Operation } from '../../../../yandex/cloud/operation/operation';
export declare const protobufPackage = "yandex.cloud.trino.v1";
export interface GetClusterRequest {
/** ID of the Trino Cluster resource to return. */
clusterId: string;
}
export interface ListClustersRequest {
/** ID of the folder to list Trino clusters in. */
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. 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_-]+`.
*/
filter: string;
}
export interface ListClustersResponse {
/** List of Trino Cluster resources. */
clusters: Cluster[];
/**
* This token allows you to get the next page of results for list requests. If the number of results
* is larger than [ListClustersRequest.page_size], use the [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 {
/** ID of the folder to create Trino cluster in. */
folderId: string;
/** Name of the Trino cluster. The name must be unique within the folder. */
name: string;
/** Description of the Trino cluster. */
description: string;
/**
* Custom labels for the Trino cluster as `` key:value `` pairs.
* For example: {"env": "prod"}.
*/
labels: {
[key: string]: string;
};
/** Configuration of Trino components. */
trino?: TrinoConfigSpec;
/** Network related configuration options. */
network?: NetworkConfig;
/** Deletion Protection inhibits deletion of the cluster. */
deletionProtection: boolean;
/** Service account used to access Cloud resources. */
serviceAccountId: string;
/** Cloud logging configuration. */
logging?: LoggingConfig;
/** Window of maintenance operations. */
maintenanceWindow?: MaintenanceWindow;
}
export interface CreateClusterRequest_LabelsEntry {
key: string;
value: string;
}
export interface TrinoConfigSpec {
/**
* List of catalogs that enable integration with various data sources.
* Each catalog defines a connection to an external data source that Trino can query.
*/
catalogs: CatalogSpec[];
/** Configuration for the coordinator, specifying computational resources and other settings. */
coordinatorConfig?: CoordinatorConfig;
/** Configuration for worker nodes, including scaling policy and computational resources. */
workerConfig?: WorkerConfig;
/** Configuration for retry policy, specifying the spooling storage destination and other settings. */
retryPolicy?: RetryPolicyConfig;
}
export interface CreateClusterMetadata {
/** ID of the Trino cluster that is being created. */
clusterId: string;
}
export interface UpdateCoordinatorConfig {
/** Configuration for computational resources assigned to the coordinator instance. */
resources?: Resources;
}
export interface UpdateWorkerConfig {
/** Configuration for computational resources for worker instances. */
resources?: Resources;
/** Configuration for scaling policy for worker instances. */
scalePolicy?: UpdateWorkerConfig_WorkerScalePolicy;
}
export interface UpdateWorkerConfig_WorkerScalePolicy {
/** A fixed scaling policy that specifies a fixed number of worker instances. */
fixedScale?: FixedScalePolicy | undefined;
/**
* A scaling policy that dynamically adjusts the number of worker instances
* based on the cluster's workload. The system automatically increases or
* decreases the number of instances within the defined range.
*/
autoScale?: AutoScalePolicy | undefined;
}
export interface UpdateTrinoConfigSpec {
/** Configuration for the coordinator, specifying computational resources and other settings. */
coordinatorConfig?: UpdateCoordinatorConfig;
/** Configuration for worker nodes, including scaling policy and computational resources. */
workerConfig?: UpdateWorkerConfig;
/** Configuration for retry policy, specifying the spooling storage destination and other settings. */
retryPolicy?: RetryPolicyConfig;
}
export interface UpdateNetworkConfigSpec {
/** User security groups. */
securityGroupIds: string[];
}
export interface UpdateClusterRequest {
/** ID of the Trino cluster. */
clusterId: string;
updateMask?: FieldMask;
/** Name of the Trino cluster. The name must be unique within the folder. */
name: string;
/** Description of the Trino cluster. */
description: string;
/**
* Custom labels for the Trino cluster as `` key:value `` pairs.
* For example: {"env": "prod"}.
*/
labels: {
[key: string]: string;
};
/** Deletion Protection inhibits deletion of the cluster. */
deletionProtection: boolean;
/** Configuration of Trino components. */
trino?: UpdateTrinoConfigSpec;
/** Network related configuration options. */
networkSpec?: UpdateNetworkConfigSpec;
/** Service account used to access Cloud resources. */
serviceAccountId: string;
/** Cloud logging configuration. */
logging?: LoggingConfig;
/** Window of maintenance operations. */
maintenanceWindow?: MaintenanceWindow;
}
export interface UpdateClusterRequest_LabelsEntry {
key: string;
value: string;
}
export interface UpdateClusterMetadata {
/** ID of the Trino cluster that is being updated. */
clusterId: string;
}
export interface DeleteClusterRequest {
/** ID of the Trino cluster that is being deleted. */
clusterId: string;
}
export interface DeleteClusterMetadata {
/** ID of the deleting Trino cluster. */
clusterId: string;
}
export interface StartClusterRequest {
/** ID of the Trino cluster that is being started. */
clusterId: string;
}
export interface StartClusterMetadata {
/** ID of the Trino cluster. */
clusterId: string;
}
export interface StopClusterRequest {
/** ID of the Trino cluster that is being stopped. */
clusterId: string;
}
export interface StopClusterMetadata {
/** ID of the Trino cluster. */
clusterId: string;
}
export interface ListClusterOperationsRequest {
/** ID of the Trino Cluster resource to list operations for. */
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 {
/** List of Operation resources for the specified Trino cluster. */
operations: Operation[];
/**
* This token 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 declare const GetClusterRequest: {
encode(message: GetClusterRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetClusterRequest;
fromJSON(object: any): GetClusterRequest;
toJSON(message: GetClusterRequest): unknown;
fromPartial, never>>(object: I): GetClusterRequest;
};
export declare const ListClustersRequest: {
encode(message: ListClustersRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ListClustersRequest;
fromJSON(object: any): ListClustersRequest;
toJSON(message: ListClustersRequest): unknown;
fromPartial, never>>(object: I): ListClustersRequest;
};
export declare const ListClustersResponse: {
encode(message: ListClustersResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ListClustersResponse;
fromJSON(object: any): ListClustersResponse;
toJSON(message: ListClustersResponse): unknown;
fromPartial, never>) | undefined;
monitoring?: ({
name?: string | undefined;
description?: string | undefined;
link?: string | undefined;
}[] & ({
name?: string | undefined;
description?: string | undefined;
link?: string | undefined;
} & {
name?: string | undefined;
description?: string | undefined;
link?: string | undefined;
} & Record, never>)[] & Record, never>) | undefined;
trino?: ({
coordinatorConfig?: {
resources?: {
resourcePresetId?: string | undefined;
} | undefined;
} | undefined;
workerConfig?: {
resources?: {
resourcePresetId?: string | undefined;
} | undefined;
scalePolicy?: {
fixedScale?: {
count?: number | undefined;
} | undefined;
autoScale?: {
minCount?: number | undefined;
maxCount?: number | undefined;
} | undefined;
} | undefined;
} | undefined;
version?: string | undefined;
retryPolicy?: {
policy?: import("../../../../yandex/cloud/trino/v1/cluster").RetryPolicyConfig_RetryPolicy | undefined;
exchangeManager?: {
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
storage?: {
serviceS3?: {} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} & {
coordinatorConfig?: ({
resources?: {
resourcePresetId?: string | undefined;
} | undefined;
} & {
resources?: ({
resourcePresetId?: string | undefined;
} & {
resourcePresetId?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
workerConfig?: ({
resources?: {
resourcePresetId?: string | undefined;
} | undefined;
scalePolicy?: {
fixedScale?: {
count?: number | undefined;
} | undefined;
autoScale?: {
minCount?: number | undefined;
maxCount?: number | undefined;
} | undefined;
} | undefined;
} & {
resources?: ({
resourcePresetId?: string | undefined;
} & {
resourcePresetId?: string | undefined;
} & Record, never>) | undefined;
scalePolicy?: ({
fixedScale?: {
count?: number | undefined;
} | undefined;
autoScale?: {
minCount?: number | undefined;
maxCount?: number | undefined;
} | undefined;
} & {
fixedScale?: ({
count?: number | undefined;
} & {
count?: number | undefined;
} & Record, never>) | undefined;
autoScale?: ({
minCount?: number | undefined;
maxCount?: number | undefined;
} & {
minCount?: number | undefined;
maxCount?: number | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
version?: string | undefined;
retryPolicy?: ({
policy?: import("../../../../yandex/cloud/trino/v1/cluster").RetryPolicyConfig_RetryPolicy | undefined;
exchangeManager?: {
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
storage?: {
serviceS3?: {} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
policy?: import("../../../../yandex/cloud/trino/v1/cluster").RetryPolicyConfig_RetryPolicy | undefined;
exchangeManager?: ({
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
storage?: {
serviceS3?: {} | undefined;
} | undefined;
} & {
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
storage?: ({
serviceS3?: {} | undefined;
} & {
serviceS3?: ({} & {} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
health?: import("../../../../yandex/cloud/trino/v1/cluster").Health | undefined;
status?: import("../../../../yandex/cloud/trino/v1/cluster").Cluster_Status | undefined;
network?: ({
subnetIds?: string[] | undefined;
securityGroupIds?: string[] | undefined;
} & {
subnetIds?: (string[] & string[] & Record, never>) | undefined;
securityGroupIds?: (string[] & string[] & Record, never>) | undefined;
} & Record, never>) | undefined;
deletionProtection?: boolean | undefined;
serviceAccountId?: string | undefined;
logging?: ({
enabled?: boolean | undefined;
folderId?: string | undefined;
logGroupId?: string | undefined;
minLevel?: import("../../logging/v1/log_entry").LogLevel_Level | undefined;
} & {
enabled?: boolean | undefined;
folderId?: string | undefined;
logGroupId?: string | undefined;
minLevel?: import("../../logging/v1/log_entry").LogLevel_Level | undefined;
} & Record, never>) | undefined;
coordinatorUrl?: string | undefined;
maintenanceWindow?: ({
anytime?: {} | undefined;
weeklyMaintenanceWindow?: {
day?: import("../../../../yandex/cloud/trino/v1/maintenance").WeeklyMaintenanceWindow_WeekDay | undefined;
hour?: number | undefined;
} | undefined;
} & {
anytime?: ({} & {} & Record, never>) | undefined;
weeklyMaintenanceWindow?: ({
day?: import("../../../../yandex/cloud/trino/v1/maintenance").WeeklyMaintenanceWindow_WeekDay | undefined;
hour?: number | undefined;
} & {
day?: import("../../../../yandex/cloud/trino/v1/maintenance").WeeklyMaintenanceWindow_WeekDay | undefined;
hour?: number | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
plannedOperation?: ({
info?: string | undefined;
delayedUntil?: Date | undefined;
latestMaintenanceTime?: Date | undefined;
nextMaintenanceWindowTime?: Date | undefined;
} & {
info?: string | undefined;
delayedUntil?: Date | undefined;
latestMaintenanceTime?: Date | undefined;
nextMaintenanceWindowTime?: Date | undefined;
} & Record, never>) | undefined;
} & Record, never>)[] & Record, never>) | undefined;
nextPageToken?: string | undefined;
} & Record, never>>(object: I): ListClustersResponse;
};
export declare const CreateClusterRequest: {
encode(message: CreateClusterRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CreateClusterRequest;
fromJSON(object: any): CreateClusterRequest;
toJSON(message: CreateClusterRequest): unknown;
fromPartial, never>) | undefined;
trino?: ({
catalogs?: {
name?: string | undefined;
connector?: {
hive?: {
metastore?: {
hive?: {
uri?: string | undefined;
} | undefined;
} | undefined;
filesystem?: {
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
iceberg?: {
metastore?: {
hive?: {
uri?: string | undefined;
} | undefined;
} | undefined;
filesystem?: {
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
deltaLake?: {
metastore?: {
hive?: {
uri?: string | undefined;
} | undefined;
} | undefined;
filesystem?: {
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
postgresql?: {
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
connectionManager?: {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
clickhouse?: {
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
connectionManager?: {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
tpch?: {
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
tpcds?: {
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
oracle?: {
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
sqlserver?: {
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} | undefined;
description?: string | undefined;
labels?: {
[x: string]: string | undefined;
} | undefined;
}[] | undefined;
coordinatorConfig?: {
resources?: {
resourcePresetId?: string | undefined;
} | undefined;
} | undefined;
workerConfig?: {
resources?: {
resourcePresetId?: string | undefined;
} | undefined;
scalePolicy?: {
fixedScale?: {
count?: number | undefined;
} | undefined;
autoScale?: {
minCount?: number | undefined;
maxCount?: number | undefined;
} | undefined;
} | undefined;
} | undefined;
retryPolicy?: {
policy?: import("../../../../yandex/cloud/trino/v1/cluster").RetryPolicyConfig_RetryPolicy | undefined;
exchangeManager?: {
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
storage?: {
serviceS3?: {} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} & {
catalogs?: ({
name?: string | undefined;
connector?: {
hive?: {
metastore?: {
hive?: {
uri?: string | undefined;
} | undefined;
} | undefined;
filesystem?: {
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
iceberg?: {
metastore?: {
hive?: {
uri?: string | undefined;
} | undefined;
} | undefined;
filesystem?: {
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
deltaLake?: {
metastore?: {
hive?: {
uri?: string | undefined;
} | undefined;
} | undefined;
filesystem?: {
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
postgresql?: {
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
connectionManager?: {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
clickhouse?: {
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
connectionManager?: {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
tpch?: {
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
tpcds?: {
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
oracle?: {
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
sqlserver?: {
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} | undefined;
description?: string | undefined;
labels?: {
[x: string]: string | undefined;
} | undefined;
}[] & ({
name?: string | undefined;
connector?: {
hive?: {
metastore?: {
hive?: {
uri?: string | undefined;
} | undefined;
} | undefined;
filesystem?: {
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
iceberg?: {
metastore?: {
hive?: {
uri?: string | undefined;
} | undefined;
} | undefined;
filesystem?: {
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
deltaLake?: {
metastore?: {
hive?: {
uri?: string | undefined;
} | undefined;
} | undefined;
filesystem?: {
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
postgresql?: {
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
connectionManager?: {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
clickhouse?: {
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
connectionManager?: {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
tpch?: {
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
tpcds?: {
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
oracle?: {
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
sqlserver?: {
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} | undefined;
description?: string | undefined;
labels?: {
[x: string]: string | undefined;
} | undefined;
} & {
name?: string | undefined;
connector?: ({
hive?: {
metastore?: {
hive?: {
uri?: string | undefined;
} | undefined;
} | undefined;
filesystem?: {
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
iceberg?: {
metastore?: {
hive?: {
uri?: string | undefined;
} | undefined;
} | undefined;
filesystem?: {
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
deltaLake?: {
metastore?: {
hive?: {
uri?: string | undefined;
} | undefined;
} | undefined;
filesystem?: {
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
postgresql?: {
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
connectionManager?: {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
clickhouse?: {
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
connectionManager?: {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
tpch?: {
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
tpcds?: {
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
oracle?: {
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
sqlserver?: {
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} & {
hive?: ({
metastore?: {
hive?: {
uri?: string | undefined;
} | undefined;
} | undefined;
filesystem?: {
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
metastore?: ({
hive?: {
uri?: string | undefined;
} | undefined;
} & {
hive?: ({
uri?: string | undefined;
} & {
uri?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
filesystem?: ({
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} & {
s3?: ({} & {} & Record, never>) | undefined;
externalS3?: ({
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} & {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
iceberg?: ({
metastore?: {
hive?: {
uri?: string | undefined;
} | undefined;
} | undefined;
filesystem?: {
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
metastore?: ({
hive?: {
uri?: string | undefined;
} | undefined;
} & {
hive?: ({
uri?: string | undefined;
} & {
uri?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
filesystem?: ({
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} & {
s3?: ({} & {} & Record, never>) | undefined;
externalS3?: ({
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} & {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
deltaLake?: ({
metastore?: {
hive?: {
uri?: string | undefined;
} | undefined;
} | undefined;
filesystem?: {
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
metastore?: ({
hive?: {
uri?: string | undefined;
} | undefined;
} & {
hive?: ({
uri?: string | undefined;
} & {
uri?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
filesystem?: ({
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} & {
s3?: ({} & {} & Record, never>) | undefined;
externalS3?: ({
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} & {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
postgresql?: ({
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
connectionManager?: {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
connection?: ({
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
connectionManager?: {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} & {
onPremise?: ({
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} & {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} & Record, never>) | undefined;
connectionManager?: ({
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
clickhouse?: ({
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
connectionManager?: {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
connection?: ({
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
connectionManager?: {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} & {
onPremise?: ({
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} & {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} & Record, never>) | undefined;
connectionManager?: ({
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
tpch?: ({
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
tpcds?: ({
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
oracle?: ({
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
connection?: ({
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
} & {
onPremise?: ({
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} & {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
sqlserver?: ({
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
connection?: ({
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
} & {
onPremise?: ({
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} & {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
description?: string | undefined;
labels?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>)[] & Record, never>) | undefined;
coordinatorConfig?: ({
resources?: {
resourcePresetId?: string | undefined;
} | undefined;
} & {
resources?: ({
resourcePresetId?: string | undefined;
} & {
resourcePresetId?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
workerConfig?: ({
resources?: {
resourcePresetId?: string | undefined;
} | undefined;
scalePolicy?: {
fixedScale?: {
count?: number | undefined;
} | undefined;
autoScale?: {
minCount?: number | undefined;
maxCount?: number | undefined;
} | undefined;
} | undefined;
} & {
resources?: ({
resourcePresetId?: string | undefined;
} & {
resourcePresetId?: string | undefined;
} & Record, never>) | undefined;
scalePolicy?: ({
fixedScale?: {
count?: number | undefined;
} | undefined;
autoScale?: {
minCount?: number | undefined;
maxCount?: number | undefined;
} | undefined;
} & {
fixedScale?: ({
count?: number | undefined;
} & {
count?: number | undefined;
} & Record, never>) | undefined;
autoScale?: ({
minCount?: number | undefined;
maxCount?: number | undefined;
} & {
minCount?: number | undefined;
maxCount?: number | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
retryPolicy?: ({
policy?: import("../../../../yandex/cloud/trino/v1/cluster").RetryPolicyConfig_RetryPolicy | undefined;
exchangeManager?: {
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
storage?: {
serviceS3?: {} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
policy?: import("../../../../yandex/cloud/trino/v1/cluster").RetryPolicyConfig_RetryPolicy | undefined;
exchangeManager?: ({
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
storage?: {
serviceS3?: {} | undefined;
} | undefined;
} & {
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
storage?: ({
serviceS3?: {} | undefined;
} & {
serviceS3?: ({} & {} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
network?: ({
subnetIds?: string[] | undefined;
securityGroupIds?: string[] | undefined;
} & {
subnetIds?: (string[] & string[] & Record, never>) | undefined;
securityGroupIds?: (string[] & string[] & Record, never>) | undefined;
} & Record, never>) | undefined;
deletionProtection?: boolean | undefined;
serviceAccountId?: string | undefined;
logging?: ({
enabled?: boolean | undefined;
folderId?: string | undefined;
logGroupId?: string | undefined;
minLevel?: import("../../logging/v1/log_entry").LogLevel_Level | undefined;
} & {
enabled?: boolean | undefined;
folderId?: string | undefined;
logGroupId?: string | undefined;
minLevel?: import("../../logging/v1/log_entry").LogLevel_Level | undefined;
} & Record, never>) | undefined;
maintenanceWindow?: ({
anytime?: {} | undefined;
weeklyMaintenanceWindow?: {
day?: import("../../../../yandex/cloud/trino/v1/maintenance").WeeklyMaintenanceWindow_WeekDay | undefined;
hour?: number | undefined;
} | undefined;
} & {
anytime?: ({} & {} & Record, never>) | undefined;
weeklyMaintenanceWindow?: ({
day?: import("../../../../yandex/cloud/trino/v1/maintenance").WeeklyMaintenanceWindow_WeekDay | undefined;
hour?: number | undefined;
} & {
day?: import("../../../../yandex/cloud/trino/v1/maintenance").WeeklyMaintenanceWindow_WeekDay | undefined;
hour?: number | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>>(object: I): CreateClusterRequest;
};
export declare const CreateClusterRequest_LabelsEntry: {
encode(message: CreateClusterRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CreateClusterRequest_LabelsEntry;
fromJSON(object: any): CreateClusterRequest_LabelsEntry;
toJSON(message: CreateClusterRequest_LabelsEntry): unknown;
fromPartial, never>>(object: I): CreateClusterRequest_LabelsEntry;
};
export declare const TrinoConfigSpec: {
encode(message: TrinoConfigSpec, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): TrinoConfigSpec;
fromJSON(object: any): TrinoConfigSpec;
toJSON(message: TrinoConfigSpec): unknown;
fromPartial, never>) | undefined;
} & Record, never>) | undefined;
filesystem?: ({
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} & {
s3?: ({} & {} & Record, never>) | undefined;
externalS3?: ({
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} & {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
iceberg?: ({
metastore?: {
hive?: {
uri?: string | undefined;
} | undefined;
} | undefined;
filesystem?: {
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
metastore?: ({
hive?: {
uri?: string | undefined;
} | undefined;
} & {
hive?: ({
uri?: string | undefined;
} & {
uri?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
filesystem?: ({
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} & {
s3?: ({} & {} & Record, never>) | undefined;
externalS3?: ({
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} & {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
deltaLake?: ({
metastore?: {
hive?: {
uri?: string | undefined;
} | undefined;
} | undefined;
filesystem?: {
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
metastore?: ({
hive?: {
uri?: string | undefined;
} | undefined;
} & {
hive?: ({
uri?: string | undefined;
} & {
uri?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
filesystem?: ({
s3?: {} | undefined;
externalS3?: {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} | undefined;
} & {
s3?: ({} & {} & Record, never>) | undefined;
externalS3?: ({
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} & {
awsAccessKey?: string | undefined;
awsSecretKey?: string | undefined;
awsEndpoint?: string | undefined;
awsRegion?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
postgresql?: ({
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
connectionManager?: {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
connection?: ({
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
connectionManager?: {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} & {
onPremise?: ({
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} & {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} & Record, never>) | undefined;
connectionManager?: ({
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
clickhouse?: ({
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
connectionManager?: {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
connection?: ({
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
connectionManager?: {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} & {
onPremise?: ({
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} & {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} & Record, never>) | undefined;
connectionManager?: ({
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
connectionId?: string | undefined;
database?: string | undefined;
connectionProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
tpch?: ({
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
tpcds?: ({
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
oracle?: ({
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
connection?: ({
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
} & {
onPremise?: ({
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} & {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
sqlserver?: ({
connection?: {
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
connection?: ({
onPremise?: {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} | undefined;
} & {
onPremise?: ({
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} & {
connectionUrl?: string | undefined;
userName?: string | undefined;
password?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
description?: string | undefined;
labels?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>)[] & Record, never>) | undefined;
coordinatorConfig?: ({
resources?: {
resourcePresetId?: string | undefined;
} | undefined;
} & {
resources?: ({
resourcePresetId?: string | undefined;
} & {
resourcePresetId?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
workerConfig?: ({
resources?: {
resourcePresetId?: string | undefined;
} | undefined;
scalePolicy?: {
fixedScale?: {
count?: number | undefined;
} | undefined;
autoScale?: {
minCount?: number | undefined;
maxCount?: number | undefined;
} | undefined;
} | undefined;
} & {
resources?: ({
resourcePresetId?: string | undefined;
} & {
resourcePresetId?: string | undefined;
} & Record, never>) | undefined;
scalePolicy?: ({
fixedScale?: {
count?: number | undefined;
} | undefined;
autoScale?: {
minCount?: number | undefined;
maxCount?: number | undefined;
} | undefined;
} & {
fixedScale?: ({
count?: number | undefined;
} & {
count?: number | undefined;
} & Record, never>) | undefined;
autoScale?: ({
minCount?: number | undefined;
maxCount?: number | undefined;
} & {
minCount?: number | undefined;
maxCount?: number | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
retryPolicy?: ({
policy?: import("../../../../yandex/cloud/trino/v1/cluster").RetryPolicyConfig_RetryPolicy | undefined;
exchangeManager?: {
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
storage?: {
serviceS3?: {} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
policy?: import("../../../../yandex/cloud/trino/v1/cluster").RetryPolicyConfig_RetryPolicy | undefined;
exchangeManager?: ({
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
storage?: {
serviceS3?: {} | undefined;
} | undefined;
} & {
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
storage?: ({
serviceS3?: {} | undefined;
} & {
serviceS3?: ({} & {} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>>(object: I): TrinoConfigSpec;
};
export declare const CreateClusterMetadata: {
encode(message: CreateClusterMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CreateClusterMetadata;
fromJSON(object: any): CreateClusterMetadata;
toJSON(message: CreateClusterMetadata): unknown;
fromPartial, never>>(object: I): CreateClusterMetadata;
};
export declare const UpdateCoordinatorConfig: {
encode(message: UpdateCoordinatorConfig, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateCoordinatorConfig;
fromJSON(object: any): UpdateCoordinatorConfig;
toJSON(message: UpdateCoordinatorConfig): unknown;
fromPartial, never>) | undefined;
} & Record, never>>(object: I): UpdateCoordinatorConfig;
};
export declare const UpdateWorkerConfig: {
encode(message: UpdateWorkerConfig, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateWorkerConfig;
fromJSON(object: any): UpdateWorkerConfig;
toJSON(message: UpdateWorkerConfig): unknown;
fromPartial, never>) | undefined;
scalePolicy?: ({
fixedScale?: {
count?: number | undefined;
} | undefined;
autoScale?: {
minCount?: number | undefined;
maxCount?: number | undefined;
} | undefined;
} & {
fixedScale?: ({
count?: number | undefined;
} & {
count?: number | undefined;
} & Record, never>) | undefined;
autoScale?: ({
minCount?: number | undefined;
maxCount?: number | undefined;
} & {
minCount?: number | undefined;
maxCount?: number | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>>(object: I): UpdateWorkerConfig;
};
export declare const UpdateWorkerConfig_WorkerScalePolicy: {
encode(message: UpdateWorkerConfig_WorkerScalePolicy, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateWorkerConfig_WorkerScalePolicy;
fromJSON(object: any): UpdateWorkerConfig_WorkerScalePolicy;
toJSON(message: UpdateWorkerConfig_WorkerScalePolicy): unknown;
fromPartial, never>) | undefined;
autoScale?: ({
minCount?: number | undefined;
maxCount?: number | undefined;
} & {
minCount?: number | undefined;
maxCount?: number | undefined;
} & Record, never>) | undefined;
} & Record, never>>(object: I): UpdateWorkerConfig_WorkerScalePolicy;
};
export declare const UpdateTrinoConfigSpec: {
encode(message: UpdateTrinoConfigSpec, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateTrinoConfigSpec;
fromJSON(object: any): UpdateTrinoConfigSpec;
toJSON(message: UpdateTrinoConfigSpec): unknown;
fromPartial, never>) | undefined;
} & Record, never>) | undefined;
workerConfig?: ({
resources?: {
resourcePresetId?: string | undefined;
} | undefined;
scalePolicy?: {
fixedScale?: {
count?: number | undefined;
} | undefined;
autoScale?: {
minCount?: number | undefined;
maxCount?: number | undefined;
} | undefined;
} | undefined;
} & {
resources?: ({
resourcePresetId?: string | undefined;
} & {
resourcePresetId?: string | undefined;
} & Record, never>) | undefined;
scalePolicy?: ({
fixedScale?: {
count?: number | undefined;
} | undefined;
autoScale?: {
minCount?: number | undefined;
maxCount?: number | undefined;
} | undefined;
} & {
fixedScale?: ({
count?: number | undefined;
} & {
count?: number | undefined;
} & Record, never>) | undefined;
autoScale?: ({
minCount?: number | undefined;
maxCount?: number | undefined;
} & {
minCount?: number | undefined;
maxCount?: number | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
retryPolicy?: ({
policy?: import("../../../../yandex/cloud/trino/v1/cluster").RetryPolicyConfig_RetryPolicy | undefined;
exchangeManager?: {
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
storage?: {
serviceS3?: {} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
policy?: import("../../../../yandex/cloud/trino/v1/cluster").RetryPolicyConfig_RetryPolicy | undefined;
exchangeManager?: ({
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
storage?: {
serviceS3?: {} | undefined;
} | undefined;
} & {
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
storage?: ({
serviceS3?: {} | undefined;
} & {
serviceS3?: ({} & {} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>>(object: I): UpdateTrinoConfigSpec;
};
export declare const UpdateNetworkConfigSpec: {
encode(message: UpdateNetworkConfigSpec, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateNetworkConfigSpec;
fromJSON(object: any): UpdateNetworkConfigSpec;
toJSON(message: UpdateNetworkConfigSpec): unknown;
fromPartial, never>) | undefined;
} & Record, never>>(object: I): UpdateNetworkConfigSpec;
};
export declare const UpdateClusterRequest: {
encode(message: UpdateClusterRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateClusterRequest;
fromJSON(object: any): UpdateClusterRequest;
toJSON(message: UpdateClusterRequest): unknown;
fromPartial, never>) | undefined;
} & Record, never>) | undefined;
name?: string | undefined;
description?: string | undefined;
labels?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
deletionProtection?: boolean | undefined;
trino?: ({
coordinatorConfig?: {
resources?: {
resourcePresetId?: string | undefined;
} | undefined;
} | undefined;
workerConfig?: {
resources?: {
resourcePresetId?: string | undefined;
} | undefined;
scalePolicy?: {
fixedScale?: {
count?: number | undefined;
} | undefined;
autoScale?: {
minCount?: number | undefined;
maxCount?: number | undefined;
} | undefined;
} | undefined;
} | undefined;
retryPolicy?: {
policy?: import("../../../../yandex/cloud/trino/v1/cluster").RetryPolicyConfig_RetryPolicy | undefined;
exchangeManager?: {
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
storage?: {
serviceS3?: {} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} | undefined;
} & {
coordinatorConfig?: ({
resources?: {
resourcePresetId?: string | undefined;
} | undefined;
} & {
resources?: ({
resourcePresetId?: string | undefined;
} & {
resourcePresetId?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
workerConfig?: ({
resources?: {
resourcePresetId?: string | undefined;
} | undefined;
scalePolicy?: {
fixedScale?: {
count?: number | undefined;
} | undefined;
autoScale?: {
minCount?: number | undefined;
maxCount?: number | undefined;
} | undefined;
} | undefined;
} & {
resources?: ({
resourcePresetId?: string | undefined;
} & {
resourcePresetId?: string | undefined;
} & Record, never>) | undefined;
scalePolicy?: ({
fixedScale?: {
count?: number | undefined;
} | undefined;
autoScale?: {
minCount?: number | undefined;
maxCount?: number | undefined;
} | undefined;
} & {
fixedScale?: ({
count?: number | undefined;
} & {
count?: number | undefined;
} & Record, never>) | undefined;
autoScale?: ({
minCount?: number | undefined;
maxCount?: number | undefined;
} & {
minCount?: number | undefined;
maxCount?: number | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
retryPolicy?: ({
policy?: import("../../../../yandex/cloud/trino/v1/cluster").RetryPolicyConfig_RetryPolicy | undefined;
exchangeManager?: {
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
storage?: {
serviceS3?: {} | undefined;
} | undefined;
} | undefined;
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
} & {
policy?: import("../../../../yandex/cloud/trino/v1/cluster").RetryPolicyConfig_RetryPolicy | undefined;
exchangeManager?: ({
additionalProperties?: {
[x: string]: string | undefined;
} | undefined;
storage?: {
serviceS3?: {} | undefined;
} | undefined;
} & {
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
storage?: ({
serviceS3?: {} | undefined;
} & {
serviceS3?: ({} & {} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
additionalProperties?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
networkSpec?: ({
securityGroupIds?: string[] | undefined;
} & {
securityGroupIds?: (string[] & string[] & Record, never>) | undefined;
} & Record, never>) | undefined;
serviceAccountId?: string | undefined;
logging?: ({
enabled?: boolean | undefined;
folderId?: string | undefined;
logGroupId?: string | undefined;
minLevel?: import("../../logging/v1/log_entry").LogLevel_Level | undefined;
} & {
enabled?: boolean | undefined;
folderId?: string | undefined;
logGroupId?: string | undefined;
minLevel?: import("../../logging/v1/log_entry").LogLevel_Level | undefined;
} & Record, never>) | undefined;
maintenanceWindow?: ({
anytime?: {} | undefined;
weeklyMaintenanceWindow?: {
day?: import("../../../../yandex/cloud/trino/v1/maintenance").WeeklyMaintenanceWindow_WeekDay | undefined;
hour?: number | undefined;
} | undefined;
} & {
anytime?: ({} & {} & Record, never>) | undefined;
weeklyMaintenanceWindow?: ({
day?: import("../../../../yandex/cloud/trino/v1/maintenance").WeeklyMaintenanceWindow_WeekDay | undefined;
hour?: number | undefined;
} & {
day?: import("../../../../yandex/cloud/trino/v1/maintenance").WeeklyMaintenanceWindow_WeekDay | undefined;
hour?: number | undefined;
} & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>>(object: I): UpdateClusterRequest;
};
export declare const UpdateClusterRequest_LabelsEntry: {
encode(message: UpdateClusterRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateClusterRequest_LabelsEntry;
fromJSON(object: any): UpdateClusterRequest_LabelsEntry;
toJSON(message: UpdateClusterRequest_LabelsEntry): unknown;
fromPartial, never>>(object: I): UpdateClusterRequest_LabelsEntry;
};
export declare const UpdateClusterMetadata: {
encode(message: UpdateClusterMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateClusterMetadata;
fromJSON(object: any): UpdateClusterMetadata;
toJSON(message: UpdateClusterMetadata): unknown;
fromPartial, never>>(object: I): UpdateClusterMetadata;
};
export declare const DeleteClusterRequest: {
encode(message: DeleteClusterRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DeleteClusterRequest;
fromJSON(object: any): DeleteClusterRequest;
toJSON(message: DeleteClusterRequest): unknown;
fromPartial, never>>(object: I): DeleteClusterRequest;
};
export declare const DeleteClusterMetadata: {
encode(message: DeleteClusterMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DeleteClusterMetadata;
fromJSON(object: any): DeleteClusterMetadata;
toJSON(message: DeleteClusterMetadata): unknown;
fromPartial, never>>(object: I): DeleteClusterMetadata;
};
export declare const StartClusterRequest: {
encode(message: StartClusterRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StartClusterRequest;
fromJSON(object: any): StartClusterRequest;
toJSON(message: StartClusterRequest): unknown;
fromPartial, never>>(object: I): StartClusterRequest;
};
export declare const StartClusterMetadata: {
encode(message: StartClusterMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StartClusterMetadata;
fromJSON(object: any): StartClusterMetadata;
toJSON(message: StartClusterMetadata): unknown;
fromPartial, never>>(object: I): StartClusterMetadata;
};
export declare const StopClusterRequest: {
encode(message: StopClusterRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StopClusterRequest;
fromJSON(object: any): StopClusterRequest;
toJSON(message: StopClusterRequest): unknown;
fromPartial, never>>(object: I): StopClusterRequest;
};
export declare const StopClusterMetadata: {
encode(message: StopClusterMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StopClusterMetadata;
fromJSON(object: any): StopClusterMetadata;
toJSON(message: StopClusterMetadata): unknown;
fromPartial, never>>(object: I): StopClusterMetadata;
};
export declare const ListClusterOperationsRequest: {
encode(message: ListClusterOperationsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ListClusterOperationsRequest;
fromJSON(object: any): ListClusterOperationsRequest;
toJSON(message: ListClusterOperationsRequest): unknown;
fromPartial, never>>(object: I): ListClusterOperationsRequest;
};
export declare const ListClusterOperationsResponse: {
encode(message: ListClusterOperationsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ListClusterOperationsResponse;
fromJSON(object: any): ListClusterOperationsResponse;
toJSON(message: ListClusterOperationsResponse): unknown;
fromPartial, never>) | undefined;
error?: ({
code?: number | undefined;
message?: string | undefined;
details?: {
typeUrl?: string | undefined;
value?: Buffer | undefined;
}[] | undefined;
} & {
code?: number | undefined;
message?: string | undefined;
details?: ({
typeUrl?: string | undefined;
value?: Buffer | undefined;
}[] & ({
typeUrl?: string | undefined;
value?: Buffer | undefined;
} & {
typeUrl?: string | undefined;
value?: Buffer | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
response?: ({
typeUrl?: string | undefined;
value?: Buffer | undefined;
} & {
typeUrl?: string | undefined;
value?: Buffer | undefined;
} & Record, never>) | undefined;
} & Record, never>)[] & Record, never>) | undefined;
nextPageToken?: string | undefined;
} & Record, never>>(object: I): ListClusterOperationsResponse;
};
/** A set of methods for managing Trino Cluster resources. */
export declare const ClusterServiceService: {
/** Returns the specified Trino Cluster resource. */
readonly get: {
readonly path: "/yandex.cloud.trino.v1.ClusterService/Get";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: GetClusterRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => GetClusterRequest;
readonly responseSerialize: (value: Cluster) => Buffer;
readonly responseDeserialize: (value: Buffer) => Cluster;
};
/** Retrieves a list of Trino Cluster resources. */
readonly list: {
readonly path: "/yandex.cloud.trino.v1.ClusterService/List";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: ListClustersRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => ListClustersRequest;
readonly responseSerialize: (value: ListClustersResponse) => Buffer;
readonly responseDeserialize: (value: Buffer) => ListClustersResponse;
};
/** Creates a Trino Cluster resource. */
readonly create: {
readonly path: "/yandex.cloud.trino.v1.ClusterService/Create";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: CreateClusterRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => CreateClusterRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Updates configuration of the specified Trino cluster. */
readonly update: {
readonly path: "/yandex.cloud.trino.v1.ClusterService/Update";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: UpdateClusterRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => UpdateClusterRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Deletes the specified Trino Cluster resource. */
readonly delete: {
readonly path: "/yandex.cloud.trino.v1.ClusterService/Delete";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: DeleteClusterRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => DeleteClusterRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Start the specified Trino Cluster resource. */
readonly start: {
readonly path: "/yandex.cloud.trino.v1.ClusterService/Start";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: StartClusterRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => StartClusterRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Stops the specified Trino Cluster resource. */
readonly stop: {
readonly path: "/yandex.cloud.trino.v1.ClusterService/Stop";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: StopClusterRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => StopClusterRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Retrieves the list of Operation resources for the specified cluster. */
readonly listOperations: {
readonly path: "/yandex.cloud.trino.v1.ClusterService/ListOperations";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: ListClusterOperationsRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => ListClusterOperationsRequest;
readonly responseSerialize: (value: ListClusterOperationsResponse) => Buffer;
readonly responseDeserialize: (value: Buffer) => ListClusterOperationsResponse;
};
};
export interface ClusterServiceServer extends UntypedServiceImplementation {
/** Returns the specified Trino Cluster resource. */
get: handleUnaryCall;
/** Retrieves a list of Trino Cluster resources. */
list: handleUnaryCall;
/** Creates a Trino Cluster resource. */
create: handleUnaryCall;
/** Updates configuration of the specified Trino cluster. */
update: handleUnaryCall;
/** Deletes the specified Trino Cluster resource. */
delete: handleUnaryCall;
/** Start the specified Trino Cluster resource. */
start: handleUnaryCall;
/** Stops the specified Trino Cluster resource. */
stop: handleUnaryCall;
/** Retrieves the list of Operation resources for the specified cluster. */
listOperations: handleUnaryCall;
}
export interface ClusterServiceClient extends Client {
/** Returns the specified Trino Cluster resource. */
get(request: GetClusterRequest, callback: (error: ServiceError | null, response: Cluster) => void): ClientUnaryCall;
get(request: GetClusterRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Cluster) => void): ClientUnaryCall;
get(request: GetClusterRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Cluster) => void): ClientUnaryCall;
/** Retrieves a list of Trino Cluster resources. */
list(request: ListClustersRequest, callback: (error: ServiceError | null, response: ListClustersResponse) => void): ClientUnaryCall;
list(request: ListClustersRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListClustersResponse) => void): ClientUnaryCall;
list(request: ListClustersRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListClustersResponse) => void): ClientUnaryCall;
/** Creates a Trino Cluster resource. */
create(request: CreateClusterRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
create(request: CreateClusterRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
create(request: CreateClusterRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
/** Updates configuration of the specified Trino cluster. */
update(request: UpdateClusterRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
update(request: UpdateClusterRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
update(request: UpdateClusterRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
/** Deletes the specified Trino Cluster resource. */
delete(request: DeleteClusterRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
delete(request: DeleteClusterRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
delete(request: DeleteClusterRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
/** Start the specified Trino Cluster resource. */
start(request: StartClusterRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
start(request: StartClusterRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
start(request: StartClusterRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
/** Stops the specified Trino Cluster resource. */
stop(request: StopClusterRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
stop(request: StopClusterRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
stop(request: StopClusterRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
/** Retrieves the list of Operation resources for the specified cluster. */
listOperations(request: ListClusterOperationsRequest, callback: (error: ServiceError | null, response: ListClusterOperationsResponse) => void): ClientUnaryCall;
listOperations(request: ListClusterOperationsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListClusterOperationsResponse) => void): ClientUnaryCall;
listOperations(request: ListClusterOperationsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListClusterOperationsResponse) => void): ClientUnaryCall;
}
export declare const ClusterServiceClient: {
new (address: string, credentials: ChannelCredentials, options?: Partial): ClusterServiceClient;
service: typeof ClusterServiceService;
};
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray