/// import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js'; import _m0 from 'protobufjs/minimal'; import { GpuInterconnectType, GpuCluster } from '../../../../yandex/cloud/compute/v1/gpu_cluster'; import { FieldMask } from '../../../../google/protobuf/field_mask'; import { Operation } from '../../../../yandex/cloud/operation/operation'; import { Instance } from '../../../../yandex/cloud/compute/v1/instance'; import { ListAccessBindingsRequest, ListAccessBindingsResponse, SetAccessBindingsRequest, UpdateAccessBindingsRequest } from '../../../../yandex/cloud/access/access'; export declare const protobufPackage = "yandex.cloud.compute.v1"; export interface GetGpuClusterRequest { /** * ID of the GPU cluster to return. * * To get a GPU cluster ID, make a [GpuClusterService.List] request. */ gpuClusterId: string; } export interface ListGpuClustersRequest { /** * ID of the folder to list GPU 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 [ListGpuClustersResponse.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 * [ListGpuClustersResponse.next_page_token] returned by a previous list request. */ pageToken: string; /** * A filter expression that filters GPU clusters listed in the response. * * The expression must specify: * 1. The field name. Currently you can use filtering only on [GpuCluster.name] field. * 2. An operator. Can be either `=` or `!=` for single values, `IN` or `NOT IN` for lists of values. * 3. The value. 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: `name=my-schedule`. */ filter: string; /** * A sorting expression that sorts GPU clusters listed in the response. * * The expression must specify the field name from [GpuCluster] and `asc`ending or `desc`ending order, * e.g. `createdAt desc`. * * Default value: `id asc`. */ orderBy: string; } export interface ListGpuClustersResponse { /** List of GPU clusters in the specified folder. */ gpuClusters: GpuCluster[]; /** * Token for getting the next page of the list. If the number of results is greater than * the specified [ListGpuClustersRequest.page_size], use `next_page_token` as the value * for the [ListGpuClustersRequest.page_token] parameter in the next list request. * * Each subsequent page will have its own `next_page_token` to continue paging through the results. */ nextPageToken: string; } export interface CreateGpuClusterRequest { /** * ID of the folder to create a GPU cluster in. * * To get a folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request. */ folderId: string; /** * Name of the GPU cluster. * * The name must be unique within the folder. */ name: string; /** Description of the GPU cluster. */ description: string; /** GPU cluster labels as `key:value` pairs. */ labels: { [key: string]: string; }; /** * ID of the availability zone where the GPU cluster resides. * To get a list of available zones use the [yandex.cloud.compute.v1.ZoneService.List] request. */ zoneId: string; /** Type of interconnect to use for this GPU cluster. */ interconnectType: GpuInterconnectType; } export interface CreateGpuClusterRequest_LabelsEntry { key: string; value: string; } export interface CreateGpuClusterMetadata { /** ID of the GPU cluster that is being created. */ gpuClusterId: string; } export interface UpdateGpuClusterRequest { /** * ID of the GPU cluster to update. * * To get the GPU cluster ID, make a [GpuClusterService.List] request. */ gpuClusterId: string; /** Field mask that specifies which attributes of the GPU cluster should be updated. */ updateMask?: FieldMask; /** * New name for the GPU cluster. * * The name must be unique within the folder. */ name: string; /** New description of the GPU cluster. */ description: string; /** * New GPU cluster labels as `key:value` pairs. * * Existing set of labels is completely replaced by the provided set, so if you just want * to add or remove a label: * 1. Get the current set of labels with a [GpuClusterService.Get] request. * 2. Add or remove a label in this set. * 3. Send the new set in this field. */ labels: { [key: string]: string; }; } export interface UpdateGpuClusterRequest_LabelsEntry { key: string; value: string; } export interface UpdateGpuClusterMetadata { /** ID of the GPU cluster that is being updated. */ gpuClusterId: string; } export interface DeleteGpuClusterRequest { /** * ID of the GPU cluster to delete. * * To get a GPU cluster ID, make a [GpuClusterService.List] request. */ gpuClusterId: string; } export interface DeleteGpuClusterMetadata { /** ID of the GPU cluster that is being deleted. */ gpuClusterId: string; } export interface ListGpuClusterOperationsRequest { /** * ID of the GPU cluster to list operations for. * * To get a GPU cluster ID, make a [GpuClusterService.List] request. */ gpuClusterId: 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 [ListGpuClusterOperationsResponse.next_page_token] * that can be used to get the next page of results in subsequent list requests. * * Default value: 100. */ pageSize: number; /** * Page token. To get the next page of results, set [page_token] to the * [ListGpuClusterOperationsResponse.next_page_token] returned by a previous list request. */ pageToken: string; } export interface ListGpuClusterOperationsResponse { /** List of operations for the specified GPU cluster. */ operations: Operation[]; /** * Token for getting the next page of the list. If the number of results is greater than * the specified [ListGpuClusterOperationsRequest.page_size], use `next_page_token` as the value * for the [ListGpuClusterOperationsRequest.page_token] parameter in the next list request. * * Each subsequent page will have its own `next_page_token` to continue paging through the results. */ nextPageToken: string; } export interface ListGpuClusterInstancesRequest { /** * ID of the GPU cluster to list instances in. * * To get a GPU cluster ID, make a [GpuClusterService.List] request. */ gpuClusterId: 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 [ListGpuClusterInstancesResponse.next_page_token] * that can be used to get the next page of results in subsequent list requests. * * Default value: 100. */ pageSize: number; /** * Page token. To get the next page of results, set [page_token] to the * [ListGpuClusterInstancesResponse.next_page_token] returned by a previous list request. */ pageToken: string; /** * A filter expression that filters resources listed in the response. * Currently you can use filtering only on the [Instance.name] field. */ filter: string; } export interface ListGpuClusterInstancesResponse { /** List of instances in the specified GPU cluster. */ instances: Instance[]; /** * Token for getting the next page of the list. If the number of results is greater than * the specified [ListGpuClusterInstancesRequest.page_size], use `next_page_token` as the value * for the [ListGpuClusterInstancesRequest.page_token] parameter in the next list request. * * Each subsequent page will have its own `next_page_token` to continue paging through the results. */ nextPageToken: string; } export declare const GetGpuClusterRequest: { encode(message: GetGpuClusterRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetGpuClusterRequest; fromJSON(object: any): GetGpuClusterRequest; toJSON(message: GetGpuClusterRequest): unknown; fromPartial, never>>(object: I): GetGpuClusterRequest; }; export declare const ListGpuClustersRequest: { encode(message: ListGpuClustersRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListGpuClustersRequest; fromJSON(object: any): ListGpuClustersRequest; toJSON(message: ListGpuClustersRequest): unknown; fromPartial, never>>(object: I): ListGpuClustersRequest; }; export declare const ListGpuClustersResponse: { encode(message: ListGpuClustersResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListGpuClustersResponse; fromJSON(object: any): ListGpuClustersResponse; toJSON(message: ListGpuClustersResponse): unknown; fromPartial, never>) | undefined; status?: import("../../../../yandex/cloud/compute/v1/gpu_cluster").GpuCluster_Status | undefined; zoneId?: string | undefined; interconnectType?: GpuInterconnectType | undefined; } & Record, never>)[] & Record, never>) | undefined; nextPageToken?: string | undefined; } & Record, never>>(object: I): ListGpuClustersResponse; }; export declare const CreateGpuClusterRequest: { encode(message: CreateGpuClusterRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateGpuClusterRequest; fromJSON(object: any): CreateGpuClusterRequest; toJSON(message: CreateGpuClusterRequest): unknown; fromPartial, never>) | undefined; zoneId?: string | undefined; interconnectType?: GpuInterconnectType | undefined; } & Record, never>>(object: I): CreateGpuClusterRequest; }; export declare const CreateGpuClusterRequest_LabelsEntry: { encode(message: CreateGpuClusterRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateGpuClusterRequest_LabelsEntry; fromJSON(object: any): CreateGpuClusterRequest_LabelsEntry; toJSON(message: CreateGpuClusterRequest_LabelsEntry): unknown; fromPartial, never>>(object: I): CreateGpuClusterRequest_LabelsEntry; }; export declare const CreateGpuClusterMetadata: { encode(message: CreateGpuClusterMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateGpuClusterMetadata; fromJSON(object: any): CreateGpuClusterMetadata; toJSON(message: CreateGpuClusterMetadata): unknown; fromPartial, never>>(object: I): CreateGpuClusterMetadata; }; export declare const UpdateGpuClusterRequest: { encode(message: UpdateGpuClusterRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateGpuClusterRequest; fromJSON(object: any): UpdateGpuClusterRequest; toJSON(message: UpdateGpuClusterRequest): 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; } & Record, never>>(object: I): UpdateGpuClusterRequest; }; export declare const UpdateGpuClusterRequest_LabelsEntry: { encode(message: UpdateGpuClusterRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateGpuClusterRequest_LabelsEntry; fromJSON(object: any): UpdateGpuClusterRequest_LabelsEntry; toJSON(message: UpdateGpuClusterRequest_LabelsEntry): unknown; fromPartial, never>>(object: I): UpdateGpuClusterRequest_LabelsEntry; }; export declare const UpdateGpuClusterMetadata: { encode(message: UpdateGpuClusterMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateGpuClusterMetadata; fromJSON(object: any): UpdateGpuClusterMetadata; toJSON(message: UpdateGpuClusterMetadata): unknown; fromPartial, never>>(object: I): UpdateGpuClusterMetadata; }; export declare const DeleteGpuClusterRequest: { encode(message: DeleteGpuClusterRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DeleteGpuClusterRequest; fromJSON(object: any): DeleteGpuClusterRequest; toJSON(message: DeleteGpuClusterRequest): unknown; fromPartial, never>>(object: I): DeleteGpuClusterRequest; }; export declare const DeleteGpuClusterMetadata: { encode(message: DeleteGpuClusterMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DeleteGpuClusterMetadata; fromJSON(object: any): DeleteGpuClusterMetadata; toJSON(message: DeleteGpuClusterMetadata): unknown; fromPartial, never>>(object: I): DeleteGpuClusterMetadata; }; export declare const ListGpuClusterOperationsRequest: { encode(message: ListGpuClusterOperationsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListGpuClusterOperationsRequest; fromJSON(object: any): ListGpuClusterOperationsRequest; toJSON(message: ListGpuClusterOperationsRequest): unknown; fromPartial, never>>(object: I): ListGpuClusterOperationsRequest; }; export declare const ListGpuClusterOperationsResponse: { encode(message: ListGpuClusterOperationsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListGpuClusterOperationsResponse; fromJSON(object: any): ListGpuClusterOperationsResponse; toJSON(message: ListGpuClusterOperationsResponse): 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): ListGpuClusterOperationsResponse; }; export declare const ListGpuClusterInstancesRequest: { encode(message: ListGpuClusterInstancesRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListGpuClusterInstancesRequest; fromJSON(object: any): ListGpuClusterInstancesRequest; toJSON(message: ListGpuClusterInstancesRequest): unknown; fromPartial, never>>(object: I): ListGpuClusterInstancesRequest; }; export declare const ListGpuClusterInstancesResponse: { encode(message: ListGpuClusterInstancesResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListGpuClusterInstancesResponse; fromJSON(object: any): ListGpuClusterInstancesResponse; toJSON(message: ListGpuClusterInstancesResponse): unknown; fromPartial, never>) | undefined; zoneId?: string | undefined; platformId?: string | undefined; resources?: ({ memory?: number | undefined; cores?: number | undefined; coreFraction?: number | undefined; gpus?: number | undefined; } & { memory?: number | undefined; cores?: number | undefined; coreFraction?: number | undefined; gpus?: number | undefined; } & Record, never>) | undefined; status?: import("../../../../yandex/cloud/compute/v1/instance").Instance_Status | undefined; metadata?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; metadataOptions?: ({ gceHttpEndpoint?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined; awsV1HttpEndpoint?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined; gceHttpToken?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined; awsV1HttpToken?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined; } & { gceHttpEndpoint?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined; awsV1HttpEndpoint?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined; gceHttpToken?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined; awsV1HttpToken?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined; } & Record, never>) | undefined; bootDisk?: ({ mode?: import("../../../../yandex/cloud/compute/v1/instance").AttachedDisk_Mode | undefined; deviceName?: string | undefined; autoDelete?: boolean | undefined; diskId?: string | undefined; } & { mode?: import("../../../../yandex/cloud/compute/v1/instance").AttachedDisk_Mode | undefined; deviceName?: string | undefined; autoDelete?: boolean | undefined; diskId?: string | undefined; } & Record, never>) | undefined; secondaryDisks?: ({ mode?: import("../../../../yandex/cloud/compute/v1/instance").AttachedDisk_Mode | undefined; deviceName?: string | undefined; autoDelete?: boolean | undefined; diskId?: string | undefined; }[] & ({ mode?: import("../../../../yandex/cloud/compute/v1/instance").AttachedDisk_Mode | undefined; deviceName?: string | undefined; autoDelete?: boolean | undefined; diskId?: string | undefined; } & { mode?: import("../../../../yandex/cloud/compute/v1/instance").AttachedDisk_Mode | undefined; deviceName?: string | undefined; autoDelete?: boolean | undefined; diskId?: string | undefined; } & Record, never>)[] & Record, never>) | undefined; localDisks?: ({ size?: number | undefined; deviceName?: string | undefined; }[] & ({ size?: number | undefined; deviceName?: string | undefined; } & { size?: number | undefined; deviceName?: string | undefined; } & Record, never>)[] & Record, never>) | undefined; filesystems?: ({ mode?: import("../../../../yandex/cloud/compute/v1/instance").AttachedFilesystem_Mode | undefined; deviceName?: string | undefined; filesystemId?: string | undefined; }[] & ({ mode?: import("../../../../yandex/cloud/compute/v1/instance").AttachedFilesystem_Mode | undefined; deviceName?: string | undefined; filesystemId?: string | undefined; } & { mode?: import("../../../../yandex/cloud/compute/v1/instance").AttachedFilesystem_Mode | undefined; deviceName?: string | undefined; filesystemId?: string | undefined; } & Record, never>)[] & Record, never>) | undefined; networkInterfaces?: ({ index?: string | undefined; macAddress?: string | undefined; subnetId?: string | undefined; primaryV4Address?: { address?: string | undefined; oneToOneNat?: { address?: string | undefined; ipVersion?: import("../../../../yandex/cloud/compute/v1/instance").IpVersion | undefined; dnsRecords?: { fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; }[] | undefined; } | undefined; dnsRecords?: { fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; }[] | undefined; } | undefined; primaryV6Address?: { address?: string | undefined; oneToOneNat?: { address?: string | undefined; ipVersion?: import("../../../../yandex/cloud/compute/v1/instance").IpVersion | undefined; dnsRecords?: { fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; }[] | undefined; } | undefined; dnsRecords?: { fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; }[] | undefined; } | undefined; securityGroupIds?: string[] | undefined; }[] & ({ index?: string | undefined; macAddress?: string | undefined; subnetId?: string | undefined; primaryV4Address?: { address?: string | undefined; oneToOneNat?: { address?: string | undefined; ipVersion?: import("../../../../yandex/cloud/compute/v1/instance").IpVersion | undefined; dnsRecords?: { fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; }[] | undefined; } | undefined; dnsRecords?: { fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; }[] | undefined; } | undefined; primaryV6Address?: { address?: string | undefined; oneToOneNat?: { address?: string | undefined; ipVersion?: import("../../../../yandex/cloud/compute/v1/instance").IpVersion | undefined; dnsRecords?: { fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; }[] | undefined; } | undefined; dnsRecords?: { fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; }[] | undefined; } | undefined; securityGroupIds?: string[] | undefined; } & { index?: string | undefined; macAddress?: string | undefined; subnetId?: string | undefined; primaryV4Address?: ({ address?: string | undefined; oneToOneNat?: { address?: string | undefined; ipVersion?: import("../../../../yandex/cloud/compute/v1/instance").IpVersion | undefined; dnsRecords?: { fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; }[] | undefined; } | undefined; dnsRecords?: { fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; }[] | undefined; } & { address?: string | undefined; oneToOneNat?: ({ address?: string | undefined; ipVersion?: import("../../../../yandex/cloud/compute/v1/instance").IpVersion | undefined; dnsRecords?: { fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; }[] | undefined; } & { address?: string | undefined; ipVersion?: import("../../../../yandex/cloud/compute/v1/instance").IpVersion | undefined; dnsRecords?: ({ fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; }[] & ({ fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; } & { fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; dnsRecords?: ({ fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; }[] & ({ fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; } & { fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; primaryV6Address?: ({ address?: string | undefined; oneToOneNat?: { address?: string | undefined; ipVersion?: import("../../../../yandex/cloud/compute/v1/instance").IpVersion | undefined; dnsRecords?: { fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; }[] | undefined; } | undefined; dnsRecords?: { fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; }[] | undefined; } & { address?: string | undefined; oneToOneNat?: ({ address?: string | undefined; ipVersion?: import("../../../../yandex/cloud/compute/v1/instance").IpVersion | undefined; dnsRecords?: { fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; }[] | undefined; } & { address?: string | undefined; ipVersion?: import("../../../../yandex/cloud/compute/v1/instance").IpVersion | undefined; dnsRecords?: ({ fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; }[] & ({ fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; } & { fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; dnsRecords?: ({ fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; }[] & ({ fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; } & { fqdn?: string | undefined; dnsZoneId?: string | undefined; ttl?: number | undefined; ptr?: boolean | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; securityGroupIds?: (string[] & string[] & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; serialPortSettings?: ({ sshAuthorization?: import("../../../../yandex/cloud/compute/v1/instance").SerialPortSettings_SSHAuthorization | undefined; } & { sshAuthorization?: import("../../../../yandex/cloud/compute/v1/instance").SerialPortSettings_SSHAuthorization | undefined; } & Record, never>) | undefined; gpuSettings?: ({ gpuClusterId?: string | undefined; } & { gpuClusterId?: string | undefined; } & Record, never>) | undefined; fqdn?: string | undefined; schedulingPolicy?: ({ preemptible?: boolean | undefined; } & { preemptible?: boolean | undefined; } & Record, never>) | undefined; serviceAccountId?: string | undefined; networkSettings?: ({ type?: import("../../../../yandex/cloud/compute/v1/instance").NetworkSettings_Type | undefined; } & { type?: import("../../../../yandex/cloud/compute/v1/instance").NetworkSettings_Type | undefined; } & Record, never>) | undefined; placementPolicy?: ({ placementGroupId?: string | undefined; hostAffinityRules?: { key?: string | undefined; op?: import("../../../../yandex/cloud/compute/v1/instance").PlacementPolicy_HostAffinityRule_Operator | undefined; values?: string[] | undefined; }[] | undefined; placementGroupPartition?: number | undefined; } & { placementGroupId?: string | undefined; hostAffinityRules?: ({ key?: string | undefined; op?: import("../../../../yandex/cloud/compute/v1/instance").PlacementPolicy_HostAffinityRule_Operator | undefined; values?: string[] | undefined; }[] & ({ key?: string | undefined; op?: import("../../../../yandex/cloud/compute/v1/instance").PlacementPolicy_HostAffinityRule_Operator | undefined; values?: string[] | undefined; } & { key?: string | undefined; op?: import("../../../../yandex/cloud/compute/v1/instance").PlacementPolicy_HostAffinityRule_Operator | undefined; values?: (string[] & string[] & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; placementGroupPartition?: number | undefined; } & Record, never>) | undefined; hostGroupId?: string | undefined; hostId?: string | undefined; maintenancePolicy?: import("./maintenance").MaintenancePolicy | undefined; maintenanceGracePeriod?: ({ seconds?: number | undefined; nanos?: number | undefined; } & { seconds?: number | undefined; nanos?: number | undefined; } & Record, never>) | undefined; hardwareGeneration?: ({ legacyFeatures?: { pciTopology?: import("./hardware_generation").PCITopology | undefined; } | undefined; generation2Features?: {} | undefined; } & { legacyFeatures?: ({ pciTopology?: import("./hardware_generation").PCITopology | undefined; } & { pciTopology?: import("./hardware_generation").PCITopology | undefined; } & Record, never>) | undefined; generation2Features?: ({} & {} & Record, never>) | undefined; } & Record, never>) | undefined; reservedInstancePoolId?: string | undefined; } & Record, never>)[] & Record, never>) | undefined; nextPageToken?: string | undefined; } & Record, never>>(object: I): ListGpuClusterInstancesResponse; }; /** A set of methods for managing GPU clusters. */ export declare const GpuClusterServiceService: { /** * Returns the specified GPU cluster. * * To get the list of available GPU clusters, make a [List] request. */ readonly get: { readonly path: "/yandex.cloud.compute.v1.GpuClusterService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetGpuClusterRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => GetGpuClusterRequest; readonly responseSerialize: (value: GpuCluster) => Buffer; readonly responseDeserialize: (value: Buffer) => GpuCluster; }; /** Retrieves the list of GPU clusters in the specified folder. */ readonly list: { readonly path: "/yandex.cloud.compute.v1.GpuClusterService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListGpuClustersRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListGpuClustersRequest; readonly responseSerialize: (value: ListGpuClustersResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListGpuClustersResponse; }; /** Creates a GPU cluster in the specified folder. */ readonly create: { readonly path: "/yandex.cloud.compute.v1.GpuClusterService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateGpuClusterRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => CreateGpuClusterRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** * Updates the specified GPU cluster. * * Currently only name, description and labels can be updated. */ readonly update: { readonly path: "/yandex.cloud.compute.v1.GpuClusterService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateGpuClusterRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => UpdateGpuClusterRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** * Deletes the specified GPU cluster. * * GPU cluster can be deleted only if it doesn't have any instances associated with it. */ readonly delete: { readonly path: "/yandex.cloud.compute.v1.GpuClusterService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteGpuClusterRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => DeleteGpuClusterRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Lists operations for the specified GPU cluster. */ readonly listOperations: { readonly path: "/yandex.cloud.compute.v1.GpuClusterService/ListOperations"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListGpuClusterOperationsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListGpuClusterOperationsRequest; readonly responseSerialize: (value: ListGpuClusterOperationsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListGpuClusterOperationsResponse; }; /** List instances created in this GPU cluster. */ readonly listInstances: { readonly path: "/yandex.cloud.compute.v1.GpuClusterService/ListInstances"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListGpuClusterInstancesRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListGpuClusterInstancesRequest; readonly responseSerialize: (value: ListGpuClusterInstancesResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListGpuClusterInstancesResponse; }; /** Lists access bindings for the GPU cluster. */ readonly listAccessBindings: { readonly path: "/yandex.cloud.compute.v1.GpuClusterService/ListAccessBindings"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListAccessBindingsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListAccessBindingsRequest; readonly responseSerialize: (value: ListAccessBindingsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListAccessBindingsResponse; }; /** Sets access bindings for the GPU cluster. */ readonly setAccessBindings: { readonly path: "/yandex.cloud.compute.v1.GpuClusterService/SetAccessBindings"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: SetAccessBindingsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => SetAccessBindingsRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Updates access bindings for the GPU cluster. */ readonly updateAccessBindings: { readonly path: "/yandex.cloud.compute.v1.GpuClusterService/UpdateAccessBindings"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateAccessBindingsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => UpdateAccessBindingsRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; export interface GpuClusterServiceServer extends UntypedServiceImplementation { /** * Returns the specified GPU cluster. * * To get the list of available GPU clusters, make a [List] request. */ get: handleUnaryCall; /** Retrieves the list of GPU clusters in the specified folder. */ list: handleUnaryCall; /** Creates a GPU cluster in the specified folder. */ create: handleUnaryCall; /** * Updates the specified GPU cluster. * * Currently only name, description and labels can be updated. */ update: handleUnaryCall; /** * Deletes the specified GPU cluster. * * GPU cluster can be deleted only if it doesn't have any instances associated with it. */ delete: handleUnaryCall; /** Lists operations for the specified GPU cluster. */ listOperations: handleUnaryCall; /** List instances created in this GPU cluster. */ listInstances: handleUnaryCall; /** Lists access bindings for the GPU cluster. */ listAccessBindings: handleUnaryCall; /** Sets access bindings for the GPU cluster. */ setAccessBindings: handleUnaryCall; /** Updates access bindings for the GPU cluster. */ updateAccessBindings: handleUnaryCall; } export interface GpuClusterServiceClient extends Client { /** * Returns the specified GPU cluster. * * To get the list of available GPU clusters, make a [List] request. */ get(request: GetGpuClusterRequest, callback: (error: ServiceError | null, response: GpuCluster) => void): ClientUnaryCall; get(request: GetGpuClusterRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GpuCluster) => void): ClientUnaryCall; get(request: GetGpuClusterRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: GpuCluster) => void): ClientUnaryCall; /** Retrieves the list of GPU clusters in the specified folder. */ list(request: ListGpuClustersRequest, callback: (error: ServiceError | null, response: ListGpuClustersResponse) => void): ClientUnaryCall; list(request: ListGpuClustersRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListGpuClustersResponse) => void): ClientUnaryCall; list(request: ListGpuClustersRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListGpuClustersResponse) => void): ClientUnaryCall; /** Creates a GPU cluster in the specified folder. */ create(request: CreateGpuClusterRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; create(request: CreateGpuClusterRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; create(request: CreateGpuClusterRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Updates the specified GPU cluster. * * Currently only name, description and labels can be updated. */ update(request: UpdateGpuClusterRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; update(request: UpdateGpuClusterRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; update(request: UpdateGpuClusterRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Deletes the specified GPU cluster. * * GPU cluster can be deleted only if it doesn't have any instances associated with it. */ delete(request: DeleteGpuClusterRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; delete(request: DeleteGpuClusterRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; delete(request: DeleteGpuClusterRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Lists operations for the specified GPU cluster. */ listOperations(request: ListGpuClusterOperationsRequest, callback: (error: ServiceError | null, response: ListGpuClusterOperationsResponse) => void): ClientUnaryCall; listOperations(request: ListGpuClusterOperationsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListGpuClusterOperationsResponse) => void): ClientUnaryCall; listOperations(request: ListGpuClusterOperationsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListGpuClusterOperationsResponse) => void): ClientUnaryCall; /** List instances created in this GPU cluster. */ listInstances(request: ListGpuClusterInstancesRequest, callback: (error: ServiceError | null, response: ListGpuClusterInstancesResponse) => void): ClientUnaryCall; listInstances(request: ListGpuClusterInstancesRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListGpuClusterInstancesResponse) => void): ClientUnaryCall; listInstances(request: ListGpuClusterInstancesRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListGpuClusterInstancesResponse) => void): ClientUnaryCall; /** Lists access bindings for the GPU cluster. */ listAccessBindings(request: ListAccessBindingsRequest, callback: (error: ServiceError | null, response: ListAccessBindingsResponse) => void): ClientUnaryCall; listAccessBindings(request: ListAccessBindingsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListAccessBindingsResponse) => void): ClientUnaryCall; listAccessBindings(request: ListAccessBindingsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListAccessBindingsResponse) => void): ClientUnaryCall; /** Sets access bindings for the GPU cluster. */ setAccessBindings(request: SetAccessBindingsRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; setAccessBindings(request: SetAccessBindingsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; setAccessBindings(request: SetAccessBindingsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Updates access bindings for the GPU cluster. */ updateAccessBindings(request: UpdateAccessBindingsRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; updateAccessBindings(request: UpdateAccessBindingsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; updateAccessBindings(request: UpdateAccessBindingsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; } export declare const GpuClusterServiceClient: { new (address: string, credentials: ChannelCredentials, options?: Partial): GpuClusterServiceClient; service: typeof GpuClusterServiceService; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & Record>, never>; export {};