import { Long, unknownFieldsSymbol } from "../../../../runtime/protos/index.js"; import type { Dayjs, MessageDescriptor, MessageFns, EnumInstance, EnumClass } from "../../../../runtime/protos/index.js"; import { customJson } from "../../../../runtime/util/logging.js"; import { ChannelCredentials, Client, ClientUnaryCall, ClientOptions, CallOptions, Metadata, ServiceError as GrpcServiceError, handleUnaryCall, UntypedServiceImplementation } from "@grpc/grpc-js"; import type { SDKInterface } from "../../../../sdk.js"; import { Request as SDKRequestClass, type RetryOptions } from "../../../../runtime/request.js"; import { Operation as OperationWrapper } from "../../../../runtime/operation.js"; import { Status } from "../../../google/rpc/index.js"; import { GetByNameRequest, GetOperationRequest, ListOperationsResponse, Operation, OperationService, ResourceMetadata } from "../../common/v1/index.js"; /** Represents the `nebius.compute.v1.GetDiskRequest` protobuf message. */ export interface GetDiskRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.GetDiskRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetDiskRequest} messages. */ export declare const GetDiskRequest: MessageFns; /** Represents the `nebius.compute.v1.ListDisksRequest` protobuf message. */ export interface ListDisksRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListDisksRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; /** @deprecated Deprecated, will be removed on 2025-06-16: it is not implemented, filtering could be done on client side. */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListDisksRequest} messages. */ export declare const ListDisksRequest: MessageFns; /** Represents the `nebius.compute.v1.CreateDiskRequest` protobuf message. */ export interface CreateDiskRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.CreateDiskRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: DiskSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateDiskRequest} messages. */ export declare const CreateDiskRequest: MessageFns; /** Represents the `nebius.compute.v1.UpdateDiskRequest` protobuf message. */ export interface UpdateDiskRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.UpdateDiskRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: DiskSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateDiskRequest} messages. */ export declare const UpdateDiskRequest: MessageFns; /** Represents the `nebius.compute.v1.DeleteDiskRequest` protobuf message. */ export interface DeleteDiskRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.DeleteDiskRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteDiskRequest} messages. */ export declare const DeleteDiskRequest: MessageFns; /** Represents the `nebius.compute.v1.ListDisksResponse` protobuf message. */ export interface ListDisksResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListDisksResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: Disk[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListDisksResponse} messages. */ export declare const ListDisksResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.compute.v1.DiskService` service. */ export type DiskServiceServiceDescription = typeof DiskServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.compute.v1.DiskService` service. */ export declare const DiskServiceServiceDescription: { readonly get: { readonly path: "/nebius.compute.v1.DiskService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetDiskRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetDiskRequest; readonly responseSerialize: (value: Disk) => Buffer; readonly responseDeserialize: (value: Buffer) => Disk; }; readonly getByName: { readonly path: "/nebius.compute.v1.DiskService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetByNameRequest; readonly responseSerialize: (value: Disk) => Buffer; readonly responseDeserialize: (value: Buffer) => Disk; }; readonly list: { readonly path: "/nebius.compute.v1.DiskService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListDisksRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListDisksRequest; readonly responseSerialize: (value: ListDisksResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListDisksResponse; }; readonly create: { readonly path: "/nebius.compute.v1.DiskService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateDiskRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateDiskRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly update: { readonly path: "/nebius.compute.v1.DiskService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateDiskRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateDiskRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.compute.v1.DiskService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteDiskRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteDiskRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly listOperationsByParent: { readonly path: "/nebius.compute.v1.DiskService/ListOperationsByParent"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListOperationsByParentRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListOperationsByParentRequest; readonly responseSerialize: (value: ListOperationsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListOperationsResponse; }; }; /** * Handles server calls for the `nebius.compute.v1.DiskService` service. */ export interface DiskServiceServer extends UntypedServiceImplementation { /** * Retrieves information about a disk by its ID. * */ get: handleUnaryCall; /** * Retrieves information about a disk by its parent and name. * */ getByName: handleUnaryCall; /** * Lists all disks within a specified parent. * */ list: handleUnaryCall; /** * Creates a new disk with the specified configuration. * For details, see https://docs.nebius.com/compute/storage/manage * */ create: handleUnaryCall; /** * Updates an existing disk with new configuration parameters. * For details, see https://docs.nebius.com/compute/storage/manage#parameters * */ update: handleUnaryCall; /** * Deletes a disk by its ID. * */ delete: handleUnaryCall; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.compute.v1.DiskService` service. */ export interface DiskServiceBaseClient extends Client { /** * Retrieves information about a disk by its ID. * */ get(request: GetDiskRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Disk) => void): ClientUnaryCall; /** * Retrieves information about a disk by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Disk) => void): ClientUnaryCall; /** * Lists all disks within a specified parent. * */ list(request: ListDisksRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListDisksResponse) => void): ClientUnaryCall; /** * Creates a new disk with the specified configuration. * For details, see https://docs.nebius.com/compute/storage/manage * */ create(request: CreateDiskRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Updates an existing disk with new configuration parameters. * For details, see https://docs.nebius.com/compute/storage/manage#parameters * */ update(request: UpdateDiskRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Deletes a disk by its ID. * */ delete(request: DeleteDiskRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListOperationsResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.compute.v1.DiskService` service. */ export declare const DiskServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): DiskServiceBaseClient; /** Contains the gRPC service description. */ service: typeof DiskServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.compute.v1.DiskService` service. */ export interface DiskService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.compute.v1.DiskService"; /** * Retrieves information about a disk by its ID. * */ get(request: GetDiskRequest): SDKRequestClass; /** * Retrieves information about a disk by its ID. * */ get(request: GetDiskRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves information about a disk by its ID. * */ get(request: GetDiskRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves information about a disk by its parent and name. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Retrieves information about a disk by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves information about a disk by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists all disks within a specified parent. * */ list(request: ListDisksRequest): SDKRequestClass; /** * Lists all disks within a specified parent. * */ list(request: ListDisksRequest, metadata: Metadata): SDKRequestClass; /** * Lists all disks within a specified parent. * */ list(request: ListDisksRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates a new disk with the specified configuration. * For details, see https://docs.nebius.com/compute/storage/manage * */ create(request: CreateDiskRequest): SDKRequestClass>; /** * Creates a new disk with the specified configuration. * For details, see https://docs.nebius.com/compute/storage/manage * */ create(request: CreateDiskRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a new disk with the specified configuration. * For details, see https://docs.nebius.com/compute/storage/manage * */ create(request: CreateDiskRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Updates an existing disk with new configuration parameters. * For details, see https://docs.nebius.com/compute/storage/manage#parameters * */ update(request: UpdateDiskRequest): SDKRequestClass>; /** * Updates an existing disk with new configuration parameters. * For details, see https://docs.nebius.com/compute/storage/manage#parameters * */ update(request: UpdateDiskRequest, metadata: Metadata): SDKRequestClass>; /** * Updates an existing disk with new configuration parameters. * For details, see https://docs.nebius.com/compute/storage/manage#parameters * */ update(request: UpdateDiskRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes a disk by its ID. * */ delete(request: DeleteDiskRequest): SDKRequestClass>; /** * Deletes a disk by its ID. * */ delete(request: DeleteDiskRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes a disk by its ID. * */ delete(request: DeleteDiskRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.compute.v1.DiskService` service through the Nebius SDK. */ export declare class DiskService implements DiskService { private sdk; $type: "nebius.compute.v1.DiskService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Retrieves information about a disk by its ID. * */ get(request: GetDiskRequest): SDKRequestClass; /** * Retrieves information about a disk by its ID. * */ get(request: GetDiskRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves information about a disk by its ID. * */ get(request: GetDiskRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves information about a disk by its parent and name. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Retrieves information about a disk by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves information about a disk by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists all disks within a specified parent. * */ list(request: ListDisksRequest): SDKRequestClass; /** * Lists all disks within a specified parent. * */ list(request: ListDisksRequest, metadata: Metadata): SDKRequestClass; /** * Lists all disks within a specified parent. * */ list(request: ListDisksRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates a new disk with the specified configuration. * For details, see https://docs.nebius.com/compute/storage/manage * */ create(request: CreateDiskRequest): SDKRequestClass>; /** * Creates a new disk with the specified configuration. * For details, see https://docs.nebius.com/compute/storage/manage * */ create(request: CreateDiskRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a new disk with the specified configuration. * For details, see https://docs.nebius.com/compute/storage/manage * */ create(request: CreateDiskRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Updates an existing disk with new configuration parameters. * For details, see https://docs.nebius.com/compute/storage/manage#parameters * */ update(request: UpdateDiskRequest): SDKRequestClass>; /** * Updates an existing disk with new configuration parameters. * For details, see https://docs.nebius.com/compute/storage/manage#parameters * */ update(request: UpdateDiskRequest, metadata: Metadata): SDKRequestClass>; /** * Updates an existing disk with new configuration parameters. * For details, see https://docs.nebius.com/compute/storage/manage#parameters * */ update(request: UpdateDiskRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes a disk by its ID. * */ delete(request: DeleteDiskRequest): SDKRequestClass>; /** * Deletes a disk by its ID. * */ delete(request: DeleteDiskRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes a disk by its ID. * */ delete(request: DeleteDiskRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** Represents the `nebius.compute.v1.GetDiskSnapshotRequest` protobuf message. */ export interface GetDiskSnapshotRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.GetDiskSnapshotRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetDiskSnapshotRequest} messages. */ export declare const GetDiskSnapshotRequest: MessageFns; /** Represents the `nebius.compute.v1.ListDiskSnapshotsRequest` protobuf message. */ export interface ListDiskSnapshotsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListDiskSnapshotsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Identifier of the parent resource * */ parentId: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; } /** Encodes, decodes, converts, and creates {@link ListDiskSnapshotsRequest} messages. */ export declare const ListDiskSnapshotsRequest: MessageFns; /** Represents the `nebius.compute.v1.ListDiskSnapshotsResponse` protobuf message. */ export interface ListDiskSnapshotsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListDiskSnapshotsResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: DiskSnapshot[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListDiskSnapshotsResponse} messages. */ export declare const ListDiskSnapshotsResponse: MessageFns; /** Represents the `nebius.compute.v1.ListDiskSnapshotsByDiskRequest` protobuf message. */ export interface ListDiskSnapshotsByDiskRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListDiskSnapshotsByDiskRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * ID of computedisk resource * */ diskId: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; } /** Encodes, decodes, converts, and creates {@link ListDiskSnapshotsByDiskRequest} messages. */ export declare const ListDiskSnapshotsByDiskRequest: MessageFns; /** Represents the `nebius.compute.v1.ListDiskSnapshotsByDiskResponse` protobuf message. */ export interface ListDiskSnapshotsByDiskResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListDiskSnapshotsByDiskResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: DiskSnapshot[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListDiskSnapshotsByDiskResponse} messages. */ export declare const ListDiskSnapshotsByDiskResponse: MessageFns; /** Represents the `nebius.compute.v1.CreateDiskSnapshotRequest` protobuf message. */ export interface CreateDiskSnapshotRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.CreateDiskSnapshotRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: DiskSnapshotSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateDiskSnapshotRequest} messages. */ export declare const CreateDiskSnapshotRequest: MessageFns; /** Represents the `nebius.compute.v1.UpdateDiskSnapshotRequest` protobuf message. */ export interface UpdateDiskSnapshotRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.UpdateDiskSnapshotRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: DiskSnapshotSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateDiskSnapshotRequest} messages. */ export declare const UpdateDiskSnapshotRequest: MessageFns; /** Represents the `nebius.compute.v1.DeleteDiskSnapshotRequest` protobuf message. */ export interface DeleteDiskSnapshotRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.DeleteDiskSnapshotRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteDiskSnapshotRequest} messages. */ export declare const DeleteDiskSnapshotRequest: MessageFns; /** * Defines the gRPC methods for the `nebius.compute.v1.DiskSnapshotService` service. */ export type DiskSnapshotServiceServiceDescription = typeof DiskSnapshotServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.compute.v1.DiskSnapshotService` service. */ export declare const DiskSnapshotServiceServiceDescription: { readonly get: { readonly path: "/nebius.compute.v1.DiskSnapshotService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetDiskSnapshotRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetDiskSnapshotRequest; readonly responseSerialize: (value: DiskSnapshot) => Buffer; readonly responseDeserialize: (value: Buffer) => DiskSnapshot; }; readonly getByName: { readonly path: "/nebius.compute.v1.DiskSnapshotService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetByNameRequest; readonly responseSerialize: (value: DiskSnapshot) => Buffer; readonly responseDeserialize: (value: Buffer) => DiskSnapshot; }; readonly list: { readonly path: "/nebius.compute.v1.DiskSnapshotService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListDiskSnapshotsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListDiskSnapshotsRequest; readonly responseSerialize: (value: ListDiskSnapshotsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListDiskSnapshotsResponse; }; readonly listByDisk: { readonly path: "/nebius.compute.v1.DiskSnapshotService/ListByDisk"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListDiskSnapshotsByDiskRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListDiskSnapshotsByDiskRequest; readonly responseSerialize: (value: ListDiskSnapshotsByDiskResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListDiskSnapshotsByDiskResponse; }; readonly create: { readonly path: "/nebius.compute.v1.DiskSnapshotService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateDiskSnapshotRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateDiskSnapshotRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly update: { readonly path: "/nebius.compute.v1.DiskSnapshotService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateDiskSnapshotRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateDiskSnapshotRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.compute.v1.DiskSnapshotService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteDiskSnapshotRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteDiskSnapshotRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.compute.v1.DiskSnapshotService` service. */ export interface DiskSnapshotServiceServer extends UntypedServiceImplementation { /** * Retrieves detailed information about a specific snapshot by its ID. * */ get: handleUnaryCall; /** * Retrieves information about a snapshot by its parent and name. * */ getByName: handleUnaryCall; /** * Lists all snapshots in a specific parent resource. * */ list: handleUnaryCall; /** * Lists all snapshots with a specific source disk. * */ listByDisk: handleUnaryCall; /** * Creates a new snapshot resource of a disk. * */ create: handleUnaryCall; /** * Updates an existing snapshot with new configuration parameters. * */ update: handleUnaryCall; /** * Deletes snapshot. * */ delete: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.compute.v1.DiskSnapshotService` service. */ export interface DiskSnapshotServiceBaseClient extends Client { /** * Retrieves detailed information about a specific snapshot by its ID. * */ get(request: GetDiskSnapshotRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: DiskSnapshot) => void): ClientUnaryCall; /** * Retrieves information about a snapshot by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: DiskSnapshot) => void): ClientUnaryCall; /** * Lists all snapshots in a specific parent resource. * */ list(request: ListDiskSnapshotsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListDiskSnapshotsResponse) => void): ClientUnaryCall; /** * Lists all snapshots with a specific source disk. * */ listByDisk(request: ListDiskSnapshotsByDiskRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListDiskSnapshotsByDiskResponse) => void): ClientUnaryCall; /** * Creates a new snapshot resource of a disk. * */ create(request: CreateDiskSnapshotRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Updates an existing snapshot with new configuration parameters. * */ update(request: UpdateDiskSnapshotRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Deletes snapshot. * */ delete(request: DeleteDiskSnapshotRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.compute.v1.DiskSnapshotService` service. */ export declare const DiskSnapshotServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): DiskSnapshotServiceBaseClient; /** Contains the gRPC service description. */ service: typeof DiskSnapshotServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Disk snapshot service specification * */ export interface DiskSnapshotService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.compute.v1.DiskSnapshotService"; /** * Retrieves detailed information about a specific snapshot by its ID. * */ get(request: GetDiskSnapshotRequest): SDKRequestClass; /** * Retrieves detailed information about a specific snapshot by its ID. * */ get(request: GetDiskSnapshotRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves detailed information about a specific snapshot by its ID. * */ get(request: GetDiskSnapshotRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves information about a snapshot by its parent and name. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Retrieves information about a snapshot by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves information about a snapshot by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists all snapshots in a specific parent resource. * */ list(request: ListDiskSnapshotsRequest): SDKRequestClass; /** * Lists all snapshots in a specific parent resource. * */ list(request: ListDiskSnapshotsRequest, metadata: Metadata): SDKRequestClass; /** * Lists all snapshots in a specific parent resource. * */ list(request: ListDiskSnapshotsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists all snapshots with a specific source disk. * */ listByDisk(request: ListDiskSnapshotsByDiskRequest): SDKRequestClass; /** * Lists all snapshots with a specific source disk. * */ listByDisk(request: ListDiskSnapshotsByDiskRequest, metadata: Metadata): SDKRequestClass; /** * Lists all snapshots with a specific source disk. * */ listByDisk(request: ListDiskSnapshotsByDiskRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates a new snapshot resource of a disk. * */ create(request: CreateDiskSnapshotRequest): SDKRequestClass>; /** * Creates a new snapshot resource of a disk. * */ create(request: CreateDiskSnapshotRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a new snapshot resource of a disk. * */ create(request: CreateDiskSnapshotRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Updates an existing snapshot with new configuration parameters. * */ update(request: UpdateDiskSnapshotRequest): SDKRequestClass>; /** * Updates an existing snapshot with new configuration parameters. * */ update(request: UpdateDiskSnapshotRequest, metadata: Metadata): SDKRequestClass>; /** * Updates an existing snapshot with new configuration parameters. * */ update(request: UpdateDiskSnapshotRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes snapshot. * */ delete(request: DeleteDiskSnapshotRequest): SDKRequestClass>; /** * Deletes snapshot. * */ delete(request: DeleteDiskSnapshotRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes snapshot. * */ delete(request: DeleteDiskSnapshotRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.compute.v1.DiskSnapshotService` service through the Nebius SDK. */ export declare class DiskSnapshotService implements DiskSnapshotService { private sdk; $type: "nebius.compute.v1.DiskSnapshotService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Retrieves detailed information about a specific snapshot by its ID. * */ get(request: GetDiskSnapshotRequest): SDKRequestClass; /** * Retrieves detailed information about a specific snapshot by its ID. * */ get(request: GetDiskSnapshotRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves detailed information about a specific snapshot by its ID. * */ get(request: GetDiskSnapshotRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves information about a snapshot by its parent and name. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Retrieves information about a snapshot by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves information about a snapshot by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists all snapshots in a specific parent resource. * */ list(request: ListDiskSnapshotsRequest): SDKRequestClass; /** * Lists all snapshots in a specific parent resource. * */ list(request: ListDiskSnapshotsRequest, metadata: Metadata): SDKRequestClass; /** * Lists all snapshots in a specific parent resource. * */ list(request: ListDiskSnapshotsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists all snapshots with a specific source disk. * */ listByDisk(request: ListDiskSnapshotsByDiskRequest): SDKRequestClass; /** * Lists all snapshots with a specific source disk. * */ listByDisk(request: ListDiskSnapshotsByDiskRequest, metadata: Metadata): SDKRequestClass; /** * Lists all snapshots with a specific source disk. * */ listByDisk(request: ListDiskSnapshotsByDiskRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates a new snapshot resource of a disk. * */ create(request: CreateDiskSnapshotRequest): SDKRequestClass>; /** * Creates a new snapshot resource of a disk. * */ create(request: CreateDiskSnapshotRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a new snapshot resource of a disk. * */ create(request: CreateDiskSnapshotRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Updates an existing snapshot with new configuration parameters. * */ update(request: UpdateDiskSnapshotRequest): SDKRequestClass>; /** * Updates an existing snapshot with new configuration parameters. * */ update(request: UpdateDiskSnapshotRequest, metadata: Metadata): SDKRequestClass>; /** * Updates an existing snapshot with new configuration parameters. * */ update(request: UpdateDiskSnapshotRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes snapshot. * */ delete(request: DeleteDiskSnapshotRequest): SDKRequestClass>; /** * Deletes snapshot. * */ delete(request: DeleteDiskSnapshotRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes snapshot. * */ delete(request: DeleteDiskSnapshotRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * All possible states for DiskSnapshot resource * */ export type DiskSnapshotStatus_State = EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "DELETING" | "ERROR">; /** Defines the static values of {@link DiskSnapshotStatus_State}. */ export interface DiskSnapshotStatus_StateValueMembers { /** * Represents the `UNSPECIFIED` protobuf enum value. */ readonly UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "DELETING" | "ERROR">; /** * Represents the `CREATING` protobuf enum value. */ readonly CREATING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "DELETING" | "ERROR">; /** * Represents the `READY` protobuf enum value. */ readonly READY: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "DELETING" | "ERROR">; /** * Represents the `DELETING` protobuf enum value. */ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "DELETING" | "ERROR">; /** * Represents the `ERROR` protobuf enum value. */ readonly ERROR: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "DELETING" | "ERROR">; } /** Defines the runtime API for {@link DiskSnapshotStatus_State}. */ export type DiskSnapshotStatus_StateClass = EnumClass<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "DELETING" | "ERROR"> & DiskSnapshotStatus_StateValueMembers; /** Converts and creates {@link DiskSnapshotStatus_State} values. */ export declare const DiskSnapshotStatus_State: DiskSnapshotStatus_StateClass; /** * Right now UNDEFINED is an alias for AMD64, but that might change in the future * */ export type DiskSnapshotStatus_CPUArchitecture = EnumInstance<"UNRECOGNIZED" | "UNDEFINED" | "AMD64" | "ARM64">; /** Defines the static values of {@link DiskSnapshotStatus_CPUArchitecture}. */ export interface DiskSnapshotStatus_CPUArchitectureValueMembers { /** * Represents the `UNDEFINED` protobuf enum value. */ readonly UNDEFINED: EnumInstance<"UNRECOGNIZED" | "UNDEFINED" | "AMD64" | "ARM64">; /** * Represents the `AMD64` protobuf enum value. */ readonly AMD64: EnumInstance<"UNRECOGNIZED" | "UNDEFINED" | "AMD64" | "ARM64">; /** * Represents the `ARM64` protobuf enum value. */ readonly ARM64: EnumInstance<"UNRECOGNIZED" | "UNDEFINED" | "AMD64" | "ARM64">; } /** Defines the runtime API for {@link DiskSnapshotStatus_CPUArchitecture}. */ export type DiskSnapshotStatus_CPUArchitectureClass = EnumClass<"UNRECOGNIZED" | "UNDEFINED" | "AMD64" | "ARM64"> & DiskSnapshotStatus_CPUArchitectureValueMembers; /** Converts and creates {@link DiskSnapshotStatus_CPUArchitecture} values. */ export declare const DiskSnapshotStatus_CPUArchitecture: DiskSnapshotStatus_CPUArchitectureClass; /** * DiskSnapshot resource * */ export interface DiskSnapshot { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.DiskSnapshot"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: DiskSnapshotSpec | undefined; /** Contains the `status` protobuf field. */ status?: DiskSnapshotStatus | undefined; } /** Encodes, decodes, converts, and creates {@link DiskSnapshot} messages. */ export declare const DiskSnapshot: MessageFns; /** Represents the `nebius.compute.v1.DiskSnapshotSpec` protobuf message. */ export interface DiskSnapshotSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.DiskSnapshotSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Identifier of the source disk. May become stale if the disk is deleted. * */ sourceDiskId: string; /** * Arbitrary information about this snapshot provided by user. * */ description: string; } /** Encodes, decodes, converts, and creates {@link DiskSnapshotSpec} messages. */ export declare const DiskSnapshotSpec: MessageFns; /** Represents the `nebius.compute.v1.DiskSnapshotStatus` protobuf message. */ export interface DiskSnapshotStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.DiskSnapshotStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `state` protobuf field. */ state: DiskSnapshotStatus_State; /** * Logical size of the snapshot content. * This is the size of a disk that would be created from this snapshot. * */ contentSizeBytes: Long; /** * Physical storage used by this snapshot in the snapshot backend. * This value is used for billing and quota and may change over time as the snapshot chain evolves * (e.g., when earlier snapshots are deleted and data gets re-attributed). * Currently is equal to content_size_bytes, as incremental snapshots are not supported yet. * */ storageSizeBytes: Long; /** * Indicates which resources prevent the disk snapshot from being deleted. * */ lockState?: DiskSnapshotStatus_LockState | undefined; /** * CPU architecture associated with the source disk. * Not set if the architecture is unknown. * */ sourceCpuArchitecture: DiskSnapshotStatus_CPUArchitecture; } /** Encodes, decodes, converts, and creates {@link DiskSnapshotStatus} messages. */ export declare const DiskSnapshotStatus: MessageFns; /** Represents the `nebius.compute.v1.DiskSnapshotStatus.LockState` protobuf message. */ export interface DiskSnapshotStatus_LockState { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.DiskSnapshotStatus.LockState"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * The snapshot is locked for deletion while disk is being created from this snapshot. * Here is the list of these disks. * */ disks: string[]; } /** Encodes, decodes, converts, and creates {@link DiskSnapshotStatus_LockState} messages. */ export declare const DiskSnapshotStatus_LockState: MessageFns; /** * the list of available types will be clarified later, it is not final version * */ export type DiskSpec_DiskType = EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "NETWORK_SSD_NON_REPLICATED" | "NETWORK_SSD_IO_M3">; /** Defines the static values of {@link DiskSpec_DiskType}. */ export interface DiskSpec_DiskTypeValueMembers { /** * Represents the `UNSPECIFIED` protobuf enum value. */ readonly UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "NETWORK_SSD_NON_REPLICATED" | "NETWORK_SSD_IO_M3">; /** * Represents the `NETWORK_SSD` protobuf enum value. */ readonly NETWORK_SSD: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "NETWORK_SSD_NON_REPLICATED" | "NETWORK_SSD_IO_M3">; /** * Represents the `NETWORK_HDD` protobuf enum value. */ readonly NETWORK_HDD: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "NETWORK_SSD_NON_REPLICATED" | "NETWORK_SSD_IO_M3">; /** * Represents the `NETWORK_SSD_NON_REPLICATED` protobuf enum value. */ readonly NETWORK_SSD_NON_REPLICATED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "NETWORK_SSD_NON_REPLICATED" | "NETWORK_SSD_IO_M3">; /** * Represents the `NETWORK_SSD_IO_M3` protobuf enum value. */ readonly NETWORK_SSD_IO_M3: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "NETWORK_SSD_NON_REPLICATED" | "NETWORK_SSD_IO_M3">; } /** Defines the runtime API for {@link DiskSpec_DiskType}. */ export type DiskSpec_DiskTypeClass = EnumClass<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "NETWORK_SSD_NON_REPLICATED" | "NETWORK_SSD_IO_M3"> & DiskSpec_DiskTypeValueMembers; /** Converts and creates {@link DiskSpec_DiskType} values. */ export declare const DiskSpec_DiskType: DiskSpec_DiskTypeClass; /** * Represents the `nebius.compute.v1.DiskStatus.State` protobuf enum. */ export type DiskStatus_State = EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR" | "BROKEN">; /** Defines the static values of {@link DiskStatus_State}. */ export interface DiskStatus_StateValueMembers { /** * Represents the `UNSPECIFIED` protobuf enum value. */ readonly UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR" | "BROKEN">; /** * Represents the `CREATING` protobuf enum value. */ readonly CREATING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR" | "BROKEN">; /** * Represents the `READY` protobuf enum value. */ readonly READY: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR" | "BROKEN">; /** * Represents the `UPDATING` protobuf enum value. */ readonly UPDATING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR" | "BROKEN">; /** * Represents the `DELETING` protobuf enum value. */ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR" | "BROKEN">; /** * Indicates that error happened during disk creation, and the disk cannot be recovered. * */ readonly ERROR: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR" | "BROKEN">; /** * Indicates that an error has occurred during the disk's life cycle, and the disk is broken or unhealthy, but can still be recovered. * */ readonly BROKEN: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR" | "BROKEN">; } /** Defines the runtime API for {@link DiskStatus_State}. */ export type DiskStatus_StateClass = EnumClass<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR" | "BROKEN"> & DiskStatus_StateValueMembers; /** Converts and creates {@link DiskStatus_State} values. */ export declare const DiskStatus_State: DiskStatus_StateClass; /** * Represents the `nebius.compute.v1.DiskStatus.SourceImageCPUArchitecture` protobuf enum. */ export type DiskStatus_SourceImageCPUArchitecture = EnumInstance<"UNRECOGNIZED" | "SOURCE_IMAGE_CPU_UNSPECIFIED" | "AMD64" | "ARM64">; /** Defines the static values of {@link DiskStatus_SourceImageCPUArchitecture}. */ export interface DiskStatus_SourceImageCPUArchitectureValueMembers { /** * Represents the `SOURCE_IMAGE_CPU_UNSPECIFIED` protobuf enum value. */ readonly SOURCE_IMAGE_CPU_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "SOURCE_IMAGE_CPU_UNSPECIFIED" | "AMD64" | "ARM64">; /** * Represents the `AMD64` protobuf enum value. */ readonly AMD64: EnumInstance<"UNRECOGNIZED" | "SOURCE_IMAGE_CPU_UNSPECIFIED" | "AMD64" | "ARM64">; /** * Represents the `ARM64` protobuf enum value. */ readonly ARM64: EnumInstance<"UNRECOGNIZED" | "SOURCE_IMAGE_CPU_UNSPECIFIED" | "AMD64" | "ARM64">; } /** Defines the runtime API for {@link DiskStatus_SourceImageCPUArchitecture}. */ export type DiskStatus_SourceImageCPUArchitectureClass = EnumClass<"UNRECOGNIZED" | "SOURCE_IMAGE_CPU_UNSPECIFIED" | "AMD64" | "ARM64"> & DiskStatus_SourceImageCPUArchitectureValueMembers; /** Converts and creates {@link DiskStatus_SourceImageCPUArchitecture} values. */ export declare const DiskStatus_SourceImageCPUArchitecture: DiskStatus_SourceImageCPUArchitectureClass; /** * Represents the `nebius.compute.v1.DiskEncryption.DiskEncryptionType` protobuf enum. */ export type DiskEncryption_DiskEncryptionType = EnumInstance<"UNRECOGNIZED" | "DISK_ENCRYPTION_UNSPECIFIED" | "DISK_ENCRYPTION_MANAGED">; /** Defines the static values of {@link DiskEncryption_DiskEncryptionType}. */ export interface DiskEncryption_DiskEncryptionTypeValueMembers { /** * No encryption is applied unless explicitly specified. * */ readonly DISK_ENCRYPTION_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "DISK_ENCRYPTION_UNSPECIFIED" | "DISK_ENCRYPTION_MANAGED">; /** * Enables encryption using the platform's default root key from KMS. * Available for disks with NETWORK_SSD_NON_REPLICATED and NETWORK_SSD_IO_M3 types only. * */ readonly DISK_ENCRYPTION_MANAGED: EnumInstance<"UNRECOGNIZED" | "DISK_ENCRYPTION_UNSPECIFIED" | "DISK_ENCRYPTION_MANAGED">; } /** Defines the runtime API for {@link DiskEncryption_DiskEncryptionType}. */ export type DiskEncryption_DiskEncryptionTypeClass = EnumClass<"UNRECOGNIZED" | "DISK_ENCRYPTION_UNSPECIFIED" | "DISK_ENCRYPTION_MANAGED"> & DiskEncryption_DiskEncryptionTypeValueMembers; /** Converts and creates {@link DiskEncryption_DiskEncryptionType} values. */ export declare const DiskEncryption_DiskEncryptionType: DiskEncryption_DiskEncryptionTypeClass; /** Represents the `nebius.compute.v1.Disk` protobuf message. */ export interface Disk { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.Disk"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: DiskSpec | undefined; /** Contains the `status` protobuf field. */ status?: DiskStatus | undefined; } /** Encodes, decodes, converts, and creates {@link Disk} messages. */ export declare const Disk: MessageFns; /** Represents the `nebius.compute.v1.DiskSpec` protobuf message. */ export interface DiskSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.DiskSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Block size in bytes. * The block size must be a power of two between 4096 bytes (4 KiB) and 131072 bytes (128 KiB). * The default value is 4096 bytes (4 KiB). * */ blockSizeBytes: Long; /** * The type of disk defines the performance and reliability characteristics of the block device. * For details, see https://docs.nebius.com/compute/storage/types#disks-types * */ type: DiskSpec_DiskType; /** * Defines how data on the disk is encrypted. By default, no encryption is applied. * */ diskEncryption?: DiskEncryption | undefined; /** * Prevents deletion whilst set * */ forbidDeletion: boolean; /** * Size of the disk. The size must be within the limits for the selected disk type. * For current limits, see https://docs.nebius.com/compute/storage/types#disks-types-comparison * */ size?: { $case: "sizeBytes"; sizeBytes: Long; } | { $case: "sizeKibibytes"; sizeKibibytes: Long; } | { $case: "sizeMebibytes"; sizeMebibytes: Long; } | { $case: "sizeGibibytes"; sizeGibibytes: Long; } | undefined; /** * Source for disk creation. * Boot disk must be created from an image https://docs.nebius.com/compute/storage/manage#boot * Additional disks can be created as an empty volume https://docs.nebius.com/compute/storage/manage#additional * */ source?: { $case: "sourceImageId"; sourceImageId: string; } | { $case: "sourceImageFamily"; sourceImageFamily: SourceImageFamily; } | { $case: "sourceSnapshotId"; sourceSnapshotId: string; } | undefined; } /** Encodes, decodes, converts, and creates {@link DiskSpec} messages. */ export declare const DiskSpec: MessageFns; /** Represents the `nebius.compute.v1.SourceImageFamily` protobuf message. */ export interface SourceImageFamily { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.SourceImageFamily"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `image_family` protobuf field. */ imageFamily: string; /** Contains the `parent_id` protobuf field. */ parentId: string; } /** Encodes, decodes, converts, and creates {@link SourceImageFamily} messages. */ export declare const SourceImageFamily: MessageFns; /** Represents the `nebius.compute.v1.DiskStatus` protobuf message. */ export interface DiskStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.DiskStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `state` protobuf field. */ state: DiskStatus_State; /** Contains the `state_description` protobuf field. */ stateDescription: string; /** * Current read-write owner (instance ID). * May refer to an instance in any state, including stopped * (this semantics is preserved for backward compatibility). * Reassigned on disk detach, instance deletion, or ownership transfer. * Ownership transfer occurs when this disk is explicitly attached to another instance * or when a VM with this disk attached starts while the current owner is stopped. * */ readWriteAttachment: string; /** Contains the `read_only_attachments` protobuf field. */ readOnlyAttachments: string[]; /** Contains the `source_image_id` protobuf field. */ sourceImageId: string; /** Contains the `size_bytes` protobuf field. */ sizeBytes: Long; /** * Indicates whether there is an ongoing operation * */ reconciling: boolean; /** Contains the `block_size_bytes` protobuf field. */ blockSizeBytes: Long; /** Contains the `source_image_cpu_architecture` protobuf field. */ sourceImageCpuArchitecture: DiskStatus_SourceImageCPUArchitecture; /** * Indicates resources that prevent the disk from being attached as read-write. * */ lockState?: DiskStatus_LockState | undefined; /** * Indicates whether the disk is deleted along with an instance. * Set only for disks declared in the instance spec. * If set, the value is the instance ID that manages this disk's lifecycle (the disk is deleted when that instance is deleted). * To change this value, update the instance specification (see AttachedDiskSpec.type). * */ managedBy: string; } /** Encodes, decodes, converts, and creates {@link DiskStatus} messages. */ export declare const DiskStatus: MessageFns; /** Represents the `nebius.compute.v1.DiskStatus.LockState` protobuf message. */ export interface DiskStatus_LockState { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.DiskStatus.LockState"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Disk is locked for deletion and for read-write operations while image is being created. * Here is the list of these images. * */ images: string[]; /** * Disk is locked only for deletion while snapshot is being created. * Here is the list of these snapshots. * */ snapshots: string[]; } /** Encodes, decodes, converts, and creates {@link DiskStatus_LockState} messages. */ export declare const DiskStatus_LockState: MessageFns; /** Represents the `nebius.compute.v1.DiskEncryption` protobuf message. */ export interface DiskEncryption { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.DiskEncryption"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `type` protobuf field. */ type: DiskEncryption_DiskEncryptionType; } /** Encodes, decodes, converts, and creates {@link DiskEncryption} messages. */ export declare const DiskEncryption: MessageFns; /** Represents the `nebius.compute.v1.GetFilesystemRequest` protobuf message. */ export interface GetFilesystemRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.GetFilesystemRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetFilesystemRequest} messages. */ export declare const GetFilesystemRequest: MessageFns; /** Represents the `nebius.compute.v1.ListFilesystemsRequest` protobuf message. */ export interface ListFilesystemsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListFilesystemsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; /** @deprecated Deprecated, will be removed on 2025-06-16: it is not implemented, filtering could be done on client side. */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListFilesystemsRequest} messages. */ export declare const ListFilesystemsRequest: MessageFns; /** Represents the `nebius.compute.v1.CreateFilesystemRequest` protobuf message. */ export interface CreateFilesystemRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.CreateFilesystemRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: FilesystemSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateFilesystemRequest} messages. */ export declare const CreateFilesystemRequest: MessageFns; /** Represents the `nebius.compute.v1.UpdateFilesystemRequest` protobuf message. */ export interface UpdateFilesystemRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.UpdateFilesystemRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: FilesystemSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateFilesystemRequest} messages. */ export declare const UpdateFilesystemRequest: MessageFns; /** Represents the `nebius.compute.v1.DeleteFilesystemRequest` protobuf message. */ export interface DeleteFilesystemRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.DeleteFilesystemRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteFilesystemRequest} messages. */ export declare const DeleteFilesystemRequest: MessageFns; /** Represents the `nebius.compute.v1.ListFilesystemsResponse` protobuf message. */ export interface ListFilesystemsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListFilesystemsResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: Filesystem[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListFilesystemsResponse} messages. */ export declare const ListFilesystemsResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.compute.v1.FilesystemService` service. */ export type FilesystemServiceServiceDescription = typeof FilesystemServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.compute.v1.FilesystemService` service. */ export declare const FilesystemServiceServiceDescription: { readonly get: { readonly path: "/nebius.compute.v1.FilesystemService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetFilesystemRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetFilesystemRequest; readonly responseSerialize: (value: Filesystem) => Buffer; readonly responseDeserialize: (value: Buffer) => Filesystem; }; readonly getByName: { readonly path: "/nebius.compute.v1.FilesystemService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetByNameRequest; readonly responseSerialize: (value: Filesystem) => Buffer; readonly responseDeserialize: (value: Buffer) => Filesystem; }; readonly list: { readonly path: "/nebius.compute.v1.FilesystemService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListFilesystemsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListFilesystemsRequest; readonly responseSerialize: (value: ListFilesystemsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListFilesystemsResponse; }; readonly create: { readonly path: "/nebius.compute.v1.FilesystemService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateFilesystemRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateFilesystemRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly update: { readonly path: "/nebius.compute.v1.FilesystemService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateFilesystemRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateFilesystemRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.compute.v1.FilesystemService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteFilesystemRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteFilesystemRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly listOperationsByParent: { readonly path: "/nebius.compute.v1.FilesystemService/ListOperationsByParent"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListOperationsByParentRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListOperationsByParentRequest; readonly responseSerialize: (value: ListOperationsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListOperationsResponse; }; }; /** * Handles server calls for the `nebius.compute.v1.FilesystemService` service. */ export interface FilesystemServiceServer extends UntypedServiceImplementation { /** * Retrieves information about a filesystem by its ID. * */ get: handleUnaryCall; /** * Retrieves information about a filesystem by its parent and name. * */ getByName: handleUnaryCall; /** * Lists all filesystems within a specified parent. * */ list: handleUnaryCall; /** * Creates a new filesystem with the specified configuration. * For details, see https://docs.nebius.com/compute/storage/manage * */ create: handleUnaryCall; /** * Updates an existing filesystem with new configuration parameters. * For details, see https://docs.nebius.com/compute/storage/manage#parameters * */ update: handleUnaryCall; /** * Deletes a disk by its ID. * */ delete: handleUnaryCall; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.compute.v1.FilesystemService` service. */ export interface FilesystemServiceBaseClient extends Client { /** * Retrieves information about a filesystem by its ID. * */ get(request: GetFilesystemRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Filesystem) => void): ClientUnaryCall; /** * Retrieves information about a filesystem by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Filesystem) => void): ClientUnaryCall; /** * Lists all filesystems within a specified parent. * */ list(request: ListFilesystemsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListFilesystemsResponse) => void): ClientUnaryCall; /** * Creates a new filesystem with the specified configuration. * For details, see https://docs.nebius.com/compute/storage/manage * */ create(request: CreateFilesystemRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Updates an existing filesystem with new configuration parameters. * For details, see https://docs.nebius.com/compute/storage/manage#parameters * */ update(request: UpdateFilesystemRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Deletes a disk by its ID. * */ delete(request: DeleteFilesystemRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListOperationsResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.compute.v1.FilesystemService` service. */ export declare const FilesystemServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): FilesystemServiceBaseClient; /** Contains the gRPC service description. */ service: typeof FilesystemServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.compute.v1.FilesystemService` service. */ export interface FilesystemService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.compute.v1.FilesystemService"; /** * Retrieves information about a filesystem by its ID. * */ get(request: GetFilesystemRequest): SDKRequestClass; /** * Retrieves information about a filesystem by its ID. * */ get(request: GetFilesystemRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves information about a filesystem by its ID. * */ get(request: GetFilesystemRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves information about a filesystem by its parent and name. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Retrieves information about a filesystem by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves information about a filesystem by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists all filesystems within a specified parent. * */ list(request: ListFilesystemsRequest): SDKRequestClass; /** * Lists all filesystems within a specified parent. * */ list(request: ListFilesystemsRequest, metadata: Metadata): SDKRequestClass; /** * Lists all filesystems within a specified parent. * */ list(request: ListFilesystemsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates a new filesystem with the specified configuration. * For details, see https://docs.nebius.com/compute/storage/manage * */ create(request: CreateFilesystemRequest): SDKRequestClass>; /** * Creates a new filesystem with the specified configuration. * For details, see https://docs.nebius.com/compute/storage/manage * */ create(request: CreateFilesystemRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a new filesystem with the specified configuration. * For details, see https://docs.nebius.com/compute/storage/manage * */ create(request: CreateFilesystemRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Updates an existing filesystem with new configuration parameters. * For details, see https://docs.nebius.com/compute/storage/manage#parameters * */ update(request: UpdateFilesystemRequest): SDKRequestClass>; /** * Updates an existing filesystem with new configuration parameters. * For details, see https://docs.nebius.com/compute/storage/manage#parameters * */ update(request: UpdateFilesystemRequest, metadata: Metadata): SDKRequestClass>; /** * Updates an existing filesystem with new configuration parameters. * For details, see https://docs.nebius.com/compute/storage/manage#parameters * */ update(request: UpdateFilesystemRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes a disk by its ID. * */ delete(request: DeleteFilesystemRequest): SDKRequestClass>; /** * Deletes a disk by its ID. * */ delete(request: DeleteFilesystemRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes a disk by its ID. * */ delete(request: DeleteFilesystemRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.compute.v1.FilesystemService` service through the Nebius SDK. */ export declare class FilesystemService implements FilesystemService { private sdk; $type: "nebius.compute.v1.FilesystemService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Retrieves information about a filesystem by its ID. * */ get(request: GetFilesystemRequest): SDKRequestClass; /** * Retrieves information about a filesystem by its ID. * */ get(request: GetFilesystemRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves information about a filesystem by its ID. * */ get(request: GetFilesystemRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves information about a filesystem by its parent and name. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Retrieves information about a filesystem by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves information about a filesystem by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists all filesystems within a specified parent. * */ list(request: ListFilesystemsRequest): SDKRequestClass; /** * Lists all filesystems within a specified parent. * */ list(request: ListFilesystemsRequest, metadata: Metadata): SDKRequestClass; /** * Lists all filesystems within a specified parent. * */ list(request: ListFilesystemsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates a new filesystem with the specified configuration. * For details, see https://docs.nebius.com/compute/storage/manage * */ create(request: CreateFilesystemRequest): SDKRequestClass>; /** * Creates a new filesystem with the specified configuration. * For details, see https://docs.nebius.com/compute/storage/manage * */ create(request: CreateFilesystemRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a new filesystem with the specified configuration. * For details, see https://docs.nebius.com/compute/storage/manage * */ create(request: CreateFilesystemRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Updates an existing filesystem with new configuration parameters. * For details, see https://docs.nebius.com/compute/storage/manage#parameters * */ update(request: UpdateFilesystemRequest): SDKRequestClass>; /** * Updates an existing filesystem with new configuration parameters. * For details, see https://docs.nebius.com/compute/storage/manage#parameters * */ update(request: UpdateFilesystemRequest, metadata: Metadata): SDKRequestClass>; /** * Updates an existing filesystem with new configuration parameters. * For details, see https://docs.nebius.com/compute/storage/manage#parameters * */ update(request: UpdateFilesystemRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes a disk by its ID. * */ delete(request: DeleteFilesystemRequest): SDKRequestClass>; /** * Deletes a disk by its ID. * */ delete(request: DeleteFilesystemRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes a disk by its ID. * */ delete(request: DeleteFilesystemRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Represents the `nebius.compute.v1.FilesystemSpec.FilesystemType` protobuf enum. */ export type FilesystemSpec_FilesystemType = EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "WEKA" | "VAST">; /** Defines the static values of {@link FilesystemSpec_FilesystemType}. */ export interface FilesystemSpec_FilesystemTypeValueMembers { /** * Represents the `UNSPECIFIED` protobuf enum value. */ readonly UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "WEKA" | "VAST">; /** * the list of available types will be clarified later, it is not final version * */ readonly NETWORK_SSD: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "WEKA" | "VAST">; /** * Represents the `NETWORK_HDD` protobuf enum value. */ readonly NETWORK_HDD: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "WEKA" | "VAST">; /** * Represents the `WEKA` protobuf enum value. */ readonly WEKA: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "WEKA" | "VAST">; /** * Represents the `VAST` protobuf enum value. */ readonly VAST: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "WEKA" | "VAST">; } /** Defines the runtime API for {@link FilesystemSpec_FilesystemType}. */ export type FilesystemSpec_FilesystemTypeClass = EnumClass<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "WEKA" | "VAST"> & FilesystemSpec_FilesystemTypeValueMembers; /** Converts and creates {@link FilesystemSpec_FilesystemType} values. */ export declare const FilesystemSpec_FilesystemType: FilesystemSpec_FilesystemTypeClass; /** * Represents the `nebius.compute.v1.FilesystemStatus.State` protobuf enum. */ export type FilesystemStatus_State = EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR">; /** Defines the static values of {@link FilesystemStatus_State}. */ export interface FilesystemStatus_StateValueMembers { /** * Represents the `UNSPECIFIED` protobuf enum value. */ readonly UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR">; /** * Represents the `CREATING` protobuf enum value. */ readonly CREATING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR">; /** * Represents the `READY` protobuf enum value. */ readonly READY: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR">; /** * Represents the `UPDATING` protobuf enum value. */ readonly UPDATING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR">; /** * Represents the `DELETING` protobuf enum value. */ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR">; /** * Represents the `ERROR` protobuf enum value. */ readonly ERROR: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR">; } /** Defines the runtime API for {@link FilesystemStatus_State}. */ export type FilesystemStatus_StateClass = EnumClass<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR"> & FilesystemStatus_StateValueMembers; /** Converts and creates {@link FilesystemStatus_State} values. */ export declare const FilesystemStatus_State: FilesystemStatus_StateClass; /** Represents the `nebius.compute.v1.Filesystem` protobuf message. */ export interface Filesystem { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.Filesystem"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: FilesystemSpec | undefined; /** Contains the `status` protobuf field. */ status?: FilesystemStatus | undefined; } /** Encodes, decodes, converts, and creates {@link Filesystem} messages. */ export declare const Filesystem: MessageFns; /** Represents the `nebius.compute.v1.FilesystemSpec` protobuf message. */ export interface FilesystemSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.FilesystemSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Block size in bytes. * The block size must be a power of two between 4096 bytes (4 KiB) and 131072 bytes (128 KiB). * The default value is 4096 bytes (4 KiB). * */ blockSizeBytes: Long; /** * The Shared Filesystem type determines its limits and performance characteristics. * For details, see https://docs.nebius.com/compute/storage/types#filesystems-types * */ type: FilesystemSpec_FilesystemType; /** * Prevents deletion whilst set * */ forbidDeletion: boolean; /** * Size of the disk. Only one size unit can be specified. * The size must be within the limits for the selected disk type. * For current limits, see https://docs.nebius.com/compute/storage/types#disks-types-comparison * */ size?: { $case: "sizeBytes"; sizeBytes: Long; } | { $case: "sizeKibibytes"; sizeKibibytes: Long; } | { $case: "sizeMebibytes"; sizeMebibytes: Long; } | { $case: "sizeGibibytes"; sizeGibibytes: Long; } | undefined; } /** Encodes, decodes, converts, and creates {@link FilesystemSpec} messages. */ export declare const FilesystemSpec: MessageFns; /** Represents the `nebius.compute.v1.FilesystemStatus` protobuf message. */ export interface FilesystemStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.FilesystemStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `state` protobuf field. */ state: FilesystemStatus_State; /** Contains the `state_description` protobuf field. */ stateDescription: string; /** Contains the `read_write_attachments` protobuf field. */ readWriteAttachments: string[]; /** Contains the `read_only_attachments` protobuf field. */ readOnlyAttachments: string[]; /** Contains the `size_bytes` protobuf field. */ sizeBytes: Long; /** * Indicates whether there is an ongoing operation * */ reconciling: boolean; /** Contains the `block_size_bytes` protobuf field. */ blockSizeBytes: Long; } /** Encodes, decodes, converts, and creates {@link FilesystemStatus} messages. */ export declare const FilesystemStatus: MessageFns; /** Represents the `nebius.compute.v1.GetGpuClusterRequest` protobuf message. */ export interface GetGpuClusterRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.GetGpuClusterRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetGpuClusterRequest} messages. */ export declare const GetGpuClusterRequest: MessageFns; /** Represents the `nebius.compute.v1.ListGpuClustersRequest` protobuf message. */ export interface ListGpuClustersRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListGpuClustersRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; /** @deprecated Deprecated, will be removed on 2025-06-16: it is not implemented, filtering could be done on client side. */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListGpuClustersRequest} messages. */ export declare const ListGpuClustersRequest: MessageFns; /** Represents the `nebius.compute.v1.CreateGpuClusterRequest` protobuf message. */ export interface CreateGpuClusterRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.CreateGpuClusterRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: GpuClusterSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateGpuClusterRequest} messages. */ export declare const CreateGpuClusterRequest: MessageFns; /** Represents the `nebius.compute.v1.UpdateGpuClusterRequest` protobuf message. */ export interface UpdateGpuClusterRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.UpdateGpuClusterRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: GpuClusterSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateGpuClusterRequest} messages. */ export declare const UpdateGpuClusterRequest: MessageFns; /** Represents the `nebius.compute.v1.DeleteGpuClusterRequest` protobuf message. */ export interface DeleteGpuClusterRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.DeleteGpuClusterRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteGpuClusterRequest} messages. */ export declare const DeleteGpuClusterRequest: MessageFns; /** Represents the `nebius.compute.v1.ListGpuClustersResponse` protobuf message. */ export interface ListGpuClustersResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListGpuClustersResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: GpuCluster[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListGpuClustersResponse} messages. */ export declare const ListGpuClustersResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.compute.v1.GpuClusterService` service. */ export type GpuClusterServiceServiceDescription = typeof GpuClusterServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.compute.v1.GpuClusterService` service. */ export declare const GpuClusterServiceServiceDescription: { readonly get: { readonly path: "/nebius.compute.v1.GpuClusterService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetGpuClusterRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetGpuClusterRequest; readonly responseSerialize: (value: GpuCluster) => Buffer; readonly responseDeserialize: (value: Buffer) => GpuCluster; }; readonly getByName: { readonly path: "/nebius.compute.v1.GpuClusterService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetByNameRequest; readonly responseSerialize: (value: GpuCluster) => Buffer; readonly responseDeserialize: (value: Buffer) => GpuCluster; }; readonly list: { readonly path: "/nebius.compute.v1.GpuClusterService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListGpuClustersRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListGpuClustersRequest; readonly responseSerialize: (value: ListGpuClustersResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListGpuClustersResponse; }; readonly create: { readonly path: "/nebius.compute.v1.GpuClusterService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateGpuClusterRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateGpuClusterRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly update: { readonly path: "/nebius.compute.v1.GpuClusterService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateGpuClusterRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateGpuClusterRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.compute.v1.GpuClusterService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteGpuClusterRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteGpuClusterRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly listOperationsByParent: { readonly path: "/nebius.compute.v1.GpuClusterService/ListOperationsByParent"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListOperationsByParentRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListOperationsByParentRequest; readonly responseSerialize: (value: ListOperationsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListOperationsResponse; }; }; /** * Handles server calls for the `nebius.compute.v1.GpuClusterService` service. */ export interface GpuClusterServiceServer extends UntypedServiceImplementation { /** * Retrieves the specified GPU Cluster by its ID. * */ get: handleUnaryCall; /** * Retrieves the specified GPU Cluster by its parent and name. * */ getByName: handleUnaryCall; /** * Lists GPU Clusters in the specified parent. * */ list: handleUnaryCall; /** * Creates a new GPU Cluster. * For details, see https://docs.nebius.com/compute/clusters/gpu#create-cluster * */ create: handleUnaryCall; /** * Modifies the configuration of an existing GPU Cluster. * */ update: handleUnaryCall; /** * Deletes a GPU Cluster by its ID. * */ delete: handleUnaryCall; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.compute.v1.GpuClusterService` service. */ export interface GpuClusterServiceBaseClient extends Client { /** * Retrieves the specified GPU Cluster by its ID. * */ get(request: GetGpuClusterRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: GpuCluster) => void): ClientUnaryCall; /** * Retrieves the specified GPU Cluster by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: GpuCluster) => void): ClientUnaryCall; /** * Lists GPU Clusters in the specified parent. * */ list(request: ListGpuClustersRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListGpuClustersResponse) => void): ClientUnaryCall; /** * Creates a new GPU Cluster. * For details, see https://docs.nebius.com/compute/clusters/gpu#create-cluster * */ create(request: CreateGpuClusterRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Modifies the configuration of an existing GPU Cluster. * */ update(request: UpdateGpuClusterRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Deletes a GPU Cluster by its ID. * */ delete(request: DeleteGpuClusterRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListOperationsResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.compute.v1.GpuClusterService` service. */ export declare const GpuClusterServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): GpuClusterServiceBaseClient; /** Contains the gRPC service description. */ service: typeof GpuClusterServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.compute.v1.GpuClusterService` service. */ export interface GpuClusterService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.compute.v1.GpuClusterService"; /** * Retrieves the specified GPU Cluster by its ID. * */ get(request: GetGpuClusterRequest): SDKRequestClass; /** * Retrieves the specified GPU Cluster by its ID. * */ get(request: GetGpuClusterRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves the specified GPU Cluster by its ID. * */ get(request: GetGpuClusterRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves the specified GPU Cluster by its parent and name. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Retrieves the specified GPU Cluster by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves the specified GPU Cluster by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists GPU Clusters in the specified parent. * */ list(request: ListGpuClustersRequest): SDKRequestClass; /** * Lists GPU Clusters in the specified parent. * */ list(request: ListGpuClustersRequest, metadata: Metadata): SDKRequestClass; /** * Lists GPU Clusters in the specified parent. * */ list(request: ListGpuClustersRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates a new GPU Cluster. * For details, see https://docs.nebius.com/compute/clusters/gpu#create-cluster * */ create(request: CreateGpuClusterRequest): SDKRequestClass>; /** * Creates a new GPU Cluster. * For details, see https://docs.nebius.com/compute/clusters/gpu#create-cluster * */ create(request: CreateGpuClusterRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a new GPU Cluster. * For details, see https://docs.nebius.com/compute/clusters/gpu#create-cluster * */ create(request: CreateGpuClusterRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Modifies the configuration of an existing GPU Cluster. * */ update(request: UpdateGpuClusterRequest): SDKRequestClass>; /** * Modifies the configuration of an existing GPU Cluster. * */ update(request: UpdateGpuClusterRequest, metadata: Metadata): SDKRequestClass>; /** * Modifies the configuration of an existing GPU Cluster. * */ update(request: UpdateGpuClusterRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes a GPU Cluster by its ID. * */ delete(request: DeleteGpuClusterRequest): SDKRequestClass>; /** * Deletes a GPU Cluster by its ID. * */ delete(request: DeleteGpuClusterRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes a GPU Cluster by its ID. * */ delete(request: DeleteGpuClusterRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.compute.v1.GpuClusterService` service through the Nebius SDK. */ export declare class GpuClusterService implements GpuClusterService { private sdk; $type: "nebius.compute.v1.GpuClusterService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Retrieves the specified GPU Cluster by its ID. * */ get(request: GetGpuClusterRequest): SDKRequestClass; /** * Retrieves the specified GPU Cluster by its ID. * */ get(request: GetGpuClusterRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves the specified GPU Cluster by its ID. * */ get(request: GetGpuClusterRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves the specified GPU Cluster by its parent and name. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Retrieves the specified GPU Cluster by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves the specified GPU Cluster by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists GPU Clusters in the specified parent. * */ list(request: ListGpuClustersRequest): SDKRequestClass; /** * Lists GPU Clusters in the specified parent. * */ list(request: ListGpuClustersRequest, metadata: Metadata): SDKRequestClass; /** * Lists GPU Clusters in the specified parent. * */ list(request: ListGpuClustersRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates a new GPU Cluster. * For details, see https://docs.nebius.com/compute/clusters/gpu#create-cluster * */ create(request: CreateGpuClusterRequest): SDKRequestClass>; /** * Creates a new GPU Cluster. * For details, see https://docs.nebius.com/compute/clusters/gpu#create-cluster * */ create(request: CreateGpuClusterRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a new GPU Cluster. * For details, see https://docs.nebius.com/compute/clusters/gpu#create-cluster * */ create(request: CreateGpuClusterRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Modifies the configuration of an existing GPU Cluster. * */ update(request: UpdateGpuClusterRequest): SDKRequestClass>; /** * Modifies the configuration of an existing GPU Cluster. * */ update(request: UpdateGpuClusterRequest, metadata: Metadata): SDKRequestClass>; /** * Modifies the configuration of an existing GPU Cluster. * */ update(request: UpdateGpuClusterRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes a GPU Cluster by its ID. * */ delete(request: DeleteGpuClusterRequest): SDKRequestClass>; /** * Deletes a GPU Cluster by its ID. * */ delete(request: DeleteGpuClusterRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes a GPU Cluster by its ID. * */ delete(request: DeleteGpuClusterRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** Represents the `nebius.compute.v1.GpuCluster` protobuf message. */ export interface GpuCluster { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.GpuCluster"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: GpuClusterSpec | undefined; /** Contains the `status` protobuf field. */ status?: GpuClusterStatus | undefined; } /** Encodes, decodes, converts, and creates {@link GpuCluster} messages. */ export declare const GpuCluster: MessageFns; /** Represents the `nebius.compute.v1.GpuClusterSpec` protobuf message. */ export interface GpuClusterSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.GpuClusterSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * The identifier of the physical InfiniBand fabric to connect GPU instances to. * For details, see https://docs.nebius.com/compute/clusters/gpu#fabrics * */ infinibandFabric: string; } /** Encodes, decodes, converts, and creates {@link GpuClusterSpec} messages. */ export declare const GpuClusterSpec: MessageFns; /** Represents the `nebius.compute.v1.GpuClusterStatus` protobuf message. */ export interface GpuClusterStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.GpuClusterStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * IDs of Compute instances that belong to this GPU cluster. * */ instances: string[]; /** * Indicates whether there is an ongoing operation * */ reconciling: boolean; /** Contains the selected value for the `topology` protobuf oneof. */ topology?: { $case: "infinibandTopologyPath"; infinibandTopologyPath: GpuClusterStatusInfinibandTopologyPath; } | undefined; } /** Encodes, decodes, converts, and creates {@link GpuClusterStatus} messages. */ export declare const GpuClusterStatus: MessageFns; /** Represents the `nebius.compute.v1.GpuClusterStatusInfinibandTopologyPath` protobuf message. */ export interface GpuClusterStatusInfinibandTopologyPath { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.GpuClusterStatusInfinibandTopologyPath"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `instances` protobuf field. */ instances: GpuClusterStatusInfinibandTopologyPathInstance[]; } /** Encodes, decodes, converts, and creates {@link GpuClusterStatusInfinibandTopologyPath} messages. */ export declare const GpuClusterStatusInfinibandTopologyPath: MessageFns; /** Represents the `nebius.compute.v1.GpuClusterStatusInfinibandTopologyPathInstance` protobuf message. */ export interface GpuClusterStatusInfinibandTopologyPathInstance { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.GpuClusterStatusInfinibandTopologyPathInstance"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `instance_id` protobuf field. */ instanceId: string; /** Contains the `path` protobuf field. */ path: string[]; } /** Encodes, decodes, converts, and creates {@link GpuClusterStatusInfinibandTopologyPathInstance} messages. */ export declare const GpuClusterStatusInfinibandTopologyPathInstance: MessageFns; /** Represents the `nebius.compute.v1.GetImageRequest` protobuf message. */ export interface GetImageRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.GetImageRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetImageRequest} messages. */ export declare const GetImageRequest: MessageFns; /** Represents the `nebius.compute.v1.GetImageLatestByFamilyRequest` protobuf message. */ export interface GetImageLatestByFamilyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.GetImageLatestByFamilyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `image_family` protobuf field. */ imageFamily: string; /** * default 'project-{region}public-images' * */ parentId: string; } /** Encodes, decodes, converts, and creates {@link GetImageLatestByFamilyRequest} messages. */ export declare const GetImageLatestByFamilyRequest: MessageFns; /** Represents the `nebius.compute.v1.ListImagesRequest` protobuf message. */ export interface ListImagesRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListImagesRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; /** @deprecated Deprecated, will be removed on 2025-06-16: it is not implemented, filtering could be done on client side. */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListImagesRequest} messages. */ export declare const ListImagesRequest: MessageFns; /** Represents the `nebius.compute.v1.CreateImageRequest` protobuf message. */ export interface CreateImageRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.CreateImageRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: ImageSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateImageRequest} messages. */ export declare const CreateImageRequest: MessageFns; /** Represents the `nebius.compute.v1.UpdateImageRequest` protobuf message. */ export interface UpdateImageRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.UpdateImageRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: ImageSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateImageRequest} messages. */ export declare const UpdateImageRequest: MessageFns; /** Represents the `nebius.compute.v1.DeleteImageRequest` protobuf message. */ export interface DeleteImageRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.DeleteImageRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteImageRequest} messages. */ export declare const DeleteImageRequest: MessageFns; /** Represents the `nebius.compute.v1.ListImagesResponse` protobuf message. */ export interface ListImagesResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListImagesResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: Image[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListImagesResponse} messages. */ export declare const ListImagesResponse: MessageFns; /** Represents the `nebius.compute.v1.ListPublicRequest` protobuf message. */ export interface ListPublicRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListPublicRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Region name (eu-north2, us-central1, eu-west1, etc.) * For details, see https://docs.nebius.com/overview/regions * */ region: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; } /** Encodes, decodes, converts, and creates {@link ListPublicRequest} messages. */ export declare const ListPublicRequest: MessageFns; /** * Defines the gRPC methods for the `nebius.compute.v1.ImageService` service. */ export type ImageServiceServiceDescription = typeof ImageServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.compute.v1.ImageService` service. */ export declare const ImageServiceServiceDescription: { readonly get: { readonly path: "/nebius.compute.v1.ImageService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetImageRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetImageRequest; readonly responseSerialize: (value: Image) => Buffer; readonly responseDeserialize: (value: Buffer) => Image; }; readonly getByName: { readonly path: "/nebius.compute.v1.ImageService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetByNameRequest; readonly responseSerialize: (value: Image) => Buffer; readonly responseDeserialize: (value: Buffer) => Image; }; readonly getLatestByFamily: { readonly path: "/nebius.compute.v1.ImageService/GetLatestByFamily"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetImageLatestByFamilyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetImageLatestByFamilyRequest; readonly responseSerialize: (value: Image) => Buffer; readonly responseDeserialize: (value: Buffer) => Image; }; readonly list: { readonly path: "/nebius.compute.v1.ImageService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListImagesRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListImagesRequest; readonly responseSerialize: (value: ListImagesResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListImagesResponse; }; readonly create: { readonly path: "/nebius.compute.v1.ImageService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateImageRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateImageRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly update: { readonly path: "/nebius.compute.v1.ImageService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateImageRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateImageRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.compute.v1.ImageService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteImageRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteImageRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly listOperationsByParent: { readonly path: "/nebius.compute.v1.ImageService/ListOperationsByParent"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListOperationsByParentRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListOperationsByParentRequest; readonly responseSerialize: (value: ListOperationsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListOperationsResponse; }; readonly listPublic: { readonly path: "/nebius.compute.v1.ImageService/ListPublic"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListPublicRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListPublicRequest; readonly responseSerialize: (value: ListImagesResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListImagesResponse; }; }; /** * Handles server calls for the `nebius.compute.v1.ImageService` service. */ export interface ImageServiceServer extends UntypedServiceImplementation { /** * Retrieves detailed information about a specific image by its ID. * */ get: handleUnaryCall; /** * Retrieves detailed information about a specific image by its parent and name. * */ getByName: handleUnaryCall; /** * Retrieves the most recent image from a specified family. * Image families are used to organize related images and ensure easy access to the latest version. * */ getLatestByFamily: handleUnaryCall; /** * Lists all images in a specific parent resource. * */ list: handleUnaryCall; /** * Creates a new image resource. * */ create: handleUnaryCall; /** * Updates an existing image resource. Only specific fields can be updated, such as labels and name. * */ update: handleUnaryCall; /** * Deletes an existing image resource by its ID. * */ delete: handleUnaryCall; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent: handleUnaryCall; /** * Lists all public images available in a specific region. Regions doc https://docs.nebius.com/overview/regions * Public images can contain specific labels in metadata like: * "os_name: Ubuntu", "os_version: 22.04 LTS", "linux_kernel: 5.15", "cuda_toolkit: 13.0" * "nvidia_gpu_drivers: 550", "networking_package: OFED 23.10" * */ listPublic: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.compute.v1.ImageService` service. */ export interface ImageServiceBaseClient extends Client { /** * Retrieves detailed information about a specific image by its ID. * */ get(request: GetImageRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Image) => void): ClientUnaryCall; /** * Retrieves detailed information about a specific image by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Image) => void): ClientUnaryCall; /** * Retrieves the most recent image from a specified family. * Image families are used to organize related images and ensure easy access to the latest version. * */ getLatestByFamily(request: GetImageLatestByFamilyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Image) => void): ClientUnaryCall; /** * Lists all images in a specific parent resource. * */ list(request: ListImagesRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListImagesResponse) => void): ClientUnaryCall; /** * Creates a new image resource. * */ create(request: CreateImageRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Updates an existing image resource. Only specific fields can be updated, such as labels and name. * */ update(request: UpdateImageRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Deletes an existing image resource by its ID. * */ delete(request: DeleteImageRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListOperationsResponse) => void): ClientUnaryCall; /** * Lists all public images available in a specific region. Regions doc https://docs.nebius.com/overview/regions * Public images can contain specific labels in metadata like: * "os_name: Ubuntu", "os_version: 22.04 LTS", "linux_kernel: 5.15", "cuda_toolkit: 13.0" * "nvidia_gpu_drivers: 550", "networking_package: OFED 23.10" * */ listPublic(request: ListPublicRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListImagesResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.compute.v1.ImageService` service. */ export declare const ImageServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): ImageServiceBaseClient; /** Contains the gRPC service description. */ service: typeof ImageServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.compute.v1.ImageService` service. */ export interface ImageService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.compute.v1.ImageService"; /** * Retrieves detailed information about a specific image by its ID. * */ get(request: GetImageRequest): SDKRequestClass; /** * Retrieves detailed information about a specific image by its ID. * */ get(request: GetImageRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves detailed information about a specific image by its ID. * */ get(request: GetImageRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves detailed information about a specific image by its parent and name. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Retrieves detailed information about a specific image by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves detailed information about a specific image by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves the most recent image from a specified family. * Image families are used to organize related images and ensure easy access to the latest version. * */ getLatestByFamily(request: GetImageLatestByFamilyRequest): SDKRequestClass; /** * Retrieves the most recent image from a specified family. * Image families are used to organize related images and ensure easy access to the latest version. * */ getLatestByFamily(request: GetImageLatestByFamilyRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves the most recent image from a specified family. * Image families are used to organize related images and ensure easy access to the latest version. * */ getLatestByFamily(request: GetImageLatestByFamilyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists all images in a specific parent resource. * */ list(request: ListImagesRequest): SDKRequestClass; /** * Lists all images in a specific parent resource. * */ list(request: ListImagesRequest, metadata: Metadata): SDKRequestClass; /** * Lists all images in a specific parent resource. * */ list(request: ListImagesRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates a new image resource. * */ create(request: CreateImageRequest): SDKRequestClass>; /** * Creates a new image resource. * */ create(request: CreateImageRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a new image resource. * */ create(request: CreateImageRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Updates an existing image resource. Only specific fields can be updated, such as labels and name. * */ update(request: UpdateImageRequest): SDKRequestClass>; /** * Updates an existing image resource. Only specific fields can be updated, such as labels and name. * */ update(request: UpdateImageRequest, metadata: Metadata): SDKRequestClass>; /** * Updates an existing image resource. Only specific fields can be updated, such as labels and name. * */ update(request: UpdateImageRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes an existing image resource by its ID. * */ delete(request: DeleteImageRequest): SDKRequestClass>; /** * Deletes an existing image resource by its ID. * */ delete(request: DeleteImageRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes an existing image resource by its ID. * */ delete(request: DeleteImageRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists all public images available in a specific region. Regions doc https://docs.nebius.com/overview/regions * Public images can contain specific labels in metadata like: * "os_name: Ubuntu", "os_version: 22.04 LTS", "linux_kernel: 5.15", "cuda_toolkit: 13.0" * "nvidia_gpu_drivers: 550", "networking_package: OFED 23.10" * */ listPublic(request: ListPublicRequest): SDKRequestClass; /** * Lists all public images available in a specific region. Regions doc https://docs.nebius.com/overview/regions * Public images can contain specific labels in metadata like: * "os_name: Ubuntu", "os_version: 22.04 LTS", "linux_kernel: 5.15", "cuda_toolkit: 13.0" * "nvidia_gpu_drivers: 550", "networking_package: OFED 23.10" * */ listPublic(request: ListPublicRequest, metadata: Metadata): SDKRequestClass; /** * Lists all public images available in a specific region. Regions doc https://docs.nebius.com/overview/regions * Public images can contain specific labels in metadata like: * "os_name: Ubuntu", "os_version: 22.04 LTS", "linux_kernel: 5.15", "cuda_toolkit: 13.0" * "nvidia_gpu_drivers: 550", "networking_package: OFED 23.10" * */ listPublic(request: ListPublicRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.compute.v1.ImageService` service through the Nebius SDK. */ export declare class ImageService implements ImageService { private sdk; $type: "nebius.compute.v1.ImageService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Retrieves detailed information about a specific image by its ID. * */ get(request: GetImageRequest): SDKRequestClass; /** * Retrieves detailed information about a specific image by its ID. * */ get(request: GetImageRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves detailed information about a specific image by its ID. * */ get(request: GetImageRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves detailed information about a specific image by its parent and name. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Retrieves detailed information about a specific image by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves detailed information about a specific image by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves the most recent image from a specified family. * Image families are used to organize related images and ensure easy access to the latest version. * */ getLatestByFamily(request: GetImageLatestByFamilyRequest): SDKRequestClass; /** * Retrieves the most recent image from a specified family. * Image families are used to organize related images and ensure easy access to the latest version. * */ getLatestByFamily(request: GetImageLatestByFamilyRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves the most recent image from a specified family. * Image families are used to organize related images and ensure easy access to the latest version. * */ getLatestByFamily(request: GetImageLatestByFamilyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists all images in a specific parent resource. * */ list(request: ListImagesRequest): SDKRequestClass; /** * Lists all images in a specific parent resource. * */ list(request: ListImagesRequest, metadata: Metadata): SDKRequestClass; /** * Lists all images in a specific parent resource. * */ list(request: ListImagesRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates a new image resource. * */ create(request: CreateImageRequest): SDKRequestClass>; /** * Creates a new image resource. * */ create(request: CreateImageRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a new image resource. * */ create(request: CreateImageRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Updates an existing image resource. Only specific fields can be updated, such as labels and name. * */ update(request: UpdateImageRequest): SDKRequestClass>; /** * Updates an existing image resource. Only specific fields can be updated, such as labels and name. * */ update(request: UpdateImageRequest, metadata: Metadata): SDKRequestClass>; /** * Updates an existing image resource. Only specific fields can be updated, such as labels and name. * */ update(request: UpdateImageRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes an existing image resource by its ID. * */ delete(request: DeleteImageRequest): SDKRequestClass>; /** * Deletes an existing image resource by its ID. * */ delete(request: DeleteImageRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes an existing image resource by its ID. * */ delete(request: DeleteImageRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists all public images available in a specific region. Regions doc https://docs.nebius.com/overview/regions * Public images can contain specific labels in metadata like: * "os_name: Ubuntu", "os_version: 22.04 LTS", "linux_kernel: 5.15", "cuda_toolkit: 13.0" * "nvidia_gpu_drivers: 550", "networking_package: OFED 23.10" * */ listPublic(request: ListPublicRequest): SDKRequestClass; /** * Lists all public images available in a specific region. Regions doc https://docs.nebius.com/overview/regions * Public images can contain specific labels in metadata like: * "os_name: Ubuntu", "os_version: 22.04 LTS", "linux_kernel: 5.15", "cuda_toolkit: 13.0" * "nvidia_gpu_drivers: 550", "networking_package: OFED 23.10" * */ listPublic(request: ListPublicRequest, metadata: Metadata): SDKRequestClass; /** * Lists all public images available in a specific region. Regions doc https://docs.nebius.com/overview/regions * Public images can contain specific labels in metadata like: * "os_name: Ubuntu", "os_version: 22.04 LTS", "linux_kernel: 5.15", "cuda_toolkit: 13.0" * "nvidia_gpu_drivers: 550", "networking_package: OFED 23.10" * */ listPublic(request: ListPublicRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Represents the `nebius.compute.v1.ImageSpec.CPUArchitecture` protobuf enum. */ export type ImageSpec_CPUArchitecture = EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "AMD64" | "ARM64">; /** Defines the static values of {@link ImageSpec_CPUArchitecture}. */ export interface ImageSpec_CPUArchitectureValueMembers { /** * Represents the `UNSPECIFIED` protobuf enum value. */ readonly UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "AMD64" | "ARM64">; /** * Represents the `AMD64` protobuf enum value. */ readonly AMD64: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "AMD64" | "ARM64">; /** * Represents the `ARM64` protobuf enum value. */ readonly ARM64: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "AMD64" | "ARM64">; } /** Defines the runtime API for {@link ImageSpec_CPUArchitecture}. */ export type ImageSpec_CPUArchitectureClass = EnumClass<"UNRECOGNIZED" | "UNSPECIFIED" | "AMD64" | "ARM64"> & ImageSpec_CPUArchitectureValueMembers; /** Converts and creates {@link ImageSpec_CPUArchitecture} values. */ export declare const ImageSpec_CPUArchitecture: ImageSpec_CPUArchitectureClass; /** * Represents the `nebius.compute.v1.ImageStatus.State` protobuf enum. */ export type ImageStatus_State = EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR">; /** Defines the static values of {@link ImageStatus_State}. */ export interface ImageStatus_StateValueMembers { /** * Represents the `UNSPECIFIED` protobuf enum value. */ readonly UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR">; /** * Represents the `CREATING` protobuf enum value. */ readonly CREATING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR">; /** * Represents the `READY` protobuf enum value. */ readonly READY: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR">; /** * Represents the `UPDATING` protobuf enum value. */ readonly UPDATING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR">; /** * Represents the `DELETING` protobuf enum value. */ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR">; /** * Represents the `ERROR` protobuf enum value. */ readonly ERROR: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR">; } /** Defines the runtime API for {@link ImageStatus_State}. */ export type ImageStatus_StateClass = EnumClass<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "READY" | "UPDATING" | "DELETING" | "ERROR"> & ImageStatus_StateValueMembers; /** Converts and creates {@link ImageStatus_State} values. */ export declare const ImageStatus_State: ImageStatus_StateClass; /** Represents the `nebius.compute.v1.Image` protobuf message. */ export interface Image { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.Image"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: ImageSpec | undefined; /** Contains the `status` protobuf field. */ status?: ImageStatus | undefined; } /** Encodes, decodes, converts, and creates {@link Image} messages. */ export declare const Image: MessageFns; /** Represents the `nebius.compute.v1.ImageSpec` protobuf message. */ export interface ImageSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ImageSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `description` protobuf field. */ description: string; /** Contains the `image_family` protobuf field. */ imageFamily: string; /** * part of identifier into the image family * */ version: string; /** * CPU architecture supported by the image * */ cpuArchitecture: ImageSpec_CPUArchitecture; /** * human readable name for image family * */ imageFamilyHumanReadable: string; /** * list of platforms where this image is recommended to use * */ recommendedPlatforms: string[]; /** * list of platforms where this image is not supported with explanation * */ unsupportedPlatforms: { [key: string]: string; }; /** * Platform presets that cannot use this image. Each item includes the reason. * */ unsupportedPresets: ImageSpec_UnsupportedPreset[]; /** Contains the selected value for the `source` protobuf oneof. */ source?: { $case: "sourceDiskId"; sourceDiskId: string; } | { $case: "sourceStorage"; sourceStorage: ImageSpec_SourceStorage; } | { $case: "sourceDiskSnapshotId"; sourceDiskSnapshotId: string; } | undefined; } /** Encodes, decodes, converts, and creates {@link ImageSpec} messages. */ export declare const ImageSpec: MessageFns; /** Represents the `nebius.compute.v1.ImageSpec.SourceStorage` protobuf message. */ export interface ImageSpec_SourceStorage { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ImageSpec.SourceStorage"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `bucket_name` protobuf field. */ bucketName: string; /** Contains the `object_name` protobuf field. */ objectName: string; } /** Encodes, decodes, converts, and creates {@link ImageSpec_SourceStorage} messages. */ export declare const ImageSpec_SourceStorage: MessageFns; /** Represents the `nebius.compute.v1.ImageSpec.UnsupportedPreset` protobuf message. */ export interface ImageSpec_UnsupportedPreset { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ImageSpec.UnsupportedPreset"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `platform` protobuf field. */ platform: string; /** Contains the `preset` protobuf field. */ preset: string; /** Contains the `reason` protobuf field. */ reason: string; } /** Encodes, decodes, converts, and creates {@link ImageSpec_UnsupportedPreset} messages. */ export declare const ImageSpec_UnsupportedPreset: MessageFns; /** Represents the `nebius.compute.v1.ImageStatus` protobuf message. */ export interface ImageStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ImageStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `state` protobuf field. */ state: ImageStatus_State; /** Contains the `state_description` protobuf field. */ stateDescription: string; /** Contains the `storage_size_bytes` protobuf field. */ storageSizeBytes: Long; /** Contains the `min_disk_size_bytes` protobuf field. */ minDiskSizeBytes: Long; /** * Indicates whether there is an ongoing operation * */ reconciling: boolean; /** Contains the `image_family_deprecation` protobuf field. */ imageFamilyDeprecation?: ImageStatus_ImageFamilyDeprecationStatus | undefined; } /** Encodes, decodes, converts, and creates {@link ImageStatus} messages. */ export declare const ImageStatus: MessageFns; /** * Impossible create a disk using image family after the deprecation time, but still possible to create disk using image id. * */ export interface ImageStatus_ImageFamilyDeprecationStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ImageStatus.ImageFamilyDeprecationStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `deprecated_at` protobuf field. */ deprecatedAt?: Dayjs | undefined; /** Contains the `message` protobuf field. */ message: string; } /** Encodes, decodes, converts, and creates {@link ImageStatus_ImageFamilyDeprecationStatus} messages. */ export declare const ImageStatus_ImageFamilyDeprecationStatus: MessageFns; /** Represents the `nebius.compute.v1.GetInstanceRequest` protobuf message. */ export interface GetInstanceRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.GetInstanceRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetInstanceRequest} messages. */ export declare const GetInstanceRequest: MessageFns; /** Represents the `nebius.compute.v1.ListInstancesRequest` protobuf message. */ export interface ListInstancesRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListInstancesRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; } /** Encodes, decodes, converts, and creates {@link ListInstancesRequest} messages. */ export declare const ListInstancesRequest: MessageFns; /** Represents the `nebius.compute.v1.CreateInstanceRequest` protobuf message. */ export interface CreateInstanceRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.CreateInstanceRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: InstanceSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateInstanceRequest} messages. */ export declare const CreateInstanceRequest: MessageFns; /** Represents the `nebius.compute.v1.UpdateInstanceRequest` protobuf message. */ export interface UpdateInstanceRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.UpdateInstanceRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: InstanceSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateInstanceRequest} messages. */ export declare const UpdateInstanceRequest: MessageFns; /** Represents the `nebius.compute.v1.DeleteInstanceRequest` protobuf message. */ export interface DeleteInstanceRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.DeleteInstanceRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteInstanceRequest} messages. */ export declare const DeleteInstanceRequest: MessageFns; /** Represents the `nebius.compute.v1.ListInstancesResponse` protobuf message. */ export interface ListInstancesResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListInstancesResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: Instance[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListInstancesResponse} messages. */ export declare const ListInstancesResponse: MessageFns; /** Represents the `nebius.compute.v1.StartInstanceRequest` protobuf message. */ export interface StartInstanceRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.StartInstanceRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link StartInstanceRequest} messages. */ export declare const StartInstanceRequest: MessageFns; /** Represents the `nebius.compute.v1.StopInstanceRequest` protobuf message. */ export interface StopInstanceRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.StopInstanceRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link StopInstanceRequest} messages. */ export declare const StopInstanceRequest: MessageFns; /** Represents the `nebius.compute.v1.ListInstancesByNVLInstanceGroupRequest` protobuf message. */ export interface ListInstancesByNVLInstanceGroupRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListInstancesByNVLInstanceGroupRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * ID of the NVL instance group whose instances will be listed. * */ nvlInstanceGroupId: string; /** * Maximum number of instances to return in a single page. * */ pageSize: Long; /** * Page token returned by a previous call, used to fetch the next page. * */ pageToken: string; } /** Encodes, decodes, converts, and creates {@link ListInstancesByNVLInstanceGroupRequest} messages. */ export declare const ListInstancesByNVLInstanceGroupRequest: MessageFns; /** Represents the `nebius.compute.v1.BatchGetRequest` protobuf message. */ export interface BatchGetRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.BatchGetRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * List of instances to fetch. * */ instanceIds: string[]; } /** Encodes, decodes, converts, and creates {@link BatchGetRequest} messages. */ export declare const BatchGetRequest: MessageFns; /** Represents the `nebius.compute.v1.BatchGetResponse` protobuf message. */ export interface BatchGetResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.BatchGetResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Map where key is instance id from original request array. * */ items: { [key: string]: BatchGetResponse_BatchGetResult; }; } /** Encodes, decodes, converts, and creates {@link BatchGetResponse} messages. */ export declare const BatchGetResponse: MessageFns; /** Represents the `nebius.compute.v1.BatchGetResponse.BatchGetResult` protobuf message. */ export interface BatchGetResponse_BatchGetResult { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.BatchGetResponse.BatchGetResult"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the selected value for the `result` protobuf oneof. */ result?: { $case: "instance"; instance: Instance; } | { $case: "error"; error: Status; } | undefined; } /** Encodes, decodes, converts, and creates {@link BatchGetResponse_BatchGetResult} messages. */ export declare const BatchGetResponse_BatchGetResult: MessageFns; /** * Defines the gRPC methods for the `nebius.compute.v1.InstanceService` service. */ export type InstanceServiceServiceDescription = typeof InstanceServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.compute.v1.InstanceService` service. */ export declare const InstanceServiceServiceDescription: { readonly get: { readonly path: "/nebius.compute.v1.InstanceService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetInstanceRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetInstanceRequest; readonly responseSerialize: (value: Instance) => Buffer; readonly responseDeserialize: (value: Buffer) => Instance; }; readonly getByName: { readonly path: "/nebius.compute.v1.InstanceService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetByNameRequest; readonly responseSerialize: (value: Instance) => Buffer; readonly responseDeserialize: (value: Buffer) => Instance; }; readonly batchGet: { readonly path: "/nebius.compute.v1.InstanceService/BatchGet"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: BatchGetRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => BatchGetRequest; readonly responseSerialize: (value: BatchGetResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => BatchGetResponse; }; readonly list: { readonly path: "/nebius.compute.v1.InstanceService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListInstancesRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListInstancesRequest; readonly responseSerialize: (value: ListInstancesResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListInstancesResponse; }; readonly listInstancesByNVLInstanceGroup: { readonly path: "/nebius.compute.v1.InstanceService/ListInstancesByNVLInstanceGroup"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListInstancesByNVLInstanceGroupRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListInstancesByNVLInstanceGroupRequest; readonly responseSerialize: (value: ListInstancesResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListInstancesResponse; }; readonly create: { readonly path: "/nebius.compute.v1.InstanceService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateInstanceRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateInstanceRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly update: { readonly path: "/nebius.compute.v1.InstanceService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateInstanceRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateInstanceRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.compute.v1.InstanceService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteInstanceRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteInstanceRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly start: { readonly path: "/nebius.compute.v1.InstanceService/Start"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: StartInstanceRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => StartInstanceRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly stop: { readonly path: "/nebius.compute.v1.InstanceService/Stop"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: StopInstanceRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => StopInstanceRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly listOperationsByParent: { readonly path: "/nebius.compute.v1.InstanceService/ListOperationsByParent"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListOperationsByParentRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListOperationsByParentRequest; readonly responseSerialize: (value: ListOperationsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListOperationsResponse; }; }; /** * Handles server calls for the `nebius.compute.v1.InstanceService` service. */ export interface InstanceServiceServer extends UntypedServiceImplementation { /** * Retrieves detailed information about a specific VM instance by its ID. * */ get: handleUnaryCall; /** * Retrieves detailed information about a specific VM instance by its parent and name. * */ getByName: handleUnaryCall; /** * Retrieves detailed information about specific VMs by their IDs. * If instance cannot be retrieved (e.g. not found) error is returned in place of instance instead. * */ batchGet: handleUnaryCall; /** * Lists all VM instances within a specified parent. * */ list: handleUnaryCall; /** * Lists all VM instances that belong to the specified NVL instance group. * */ listInstancesByNVLInstanceGroup: handleUnaryCall; /** * Creates a new VM instance based on the provided specification. * For details, see https://docs.nebius.com/compute/virtual-machines/manage * */ create: handleUnaryCall; /** * Updates an existing VM instance with new configuration parameters. * */ update: handleUnaryCall; /** * Deletes a VM instance by its ID. Also deletes all the managed disks, declared in the instance spec. * Fails if cannot delete any of the managed disks. * */ delete: handleUnaryCall; /** * Starts a stopped VM instance. * */ start: handleUnaryCall; /** * Stops a running VM instance. * */ stop: handleUnaryCall; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.compute.v1.InstanceService` service. */ export interface InstanceServiceBaseClient extends Client { /** * Retrieves detailed information about a specific VM instance by its ID. * */ get(request: GetInstanceRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Instance) => void): ClientUnaryCall; /** * Retrieves detailed information about a specific VM instance by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Instance) => void): ClientUnaryCall; /** * Retrieves detailed information about specific VMs by their IDs. * If instance cannot be retrieved (e.g. not found) error is returned in place of instance instead. * */ batchGet(request: BatchGetRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: BatchGetResponse) => void): ClientUnaryCall; /** * Lists all VM instances within a specified parent. * */ list(request: ListInstancesRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListInstancesResponse) => void): ClientUnaryCall; /** * Lists all VM instances that belong to the specified NVL instance group. * */ listInstancesByNVLInstanceGroup(request: ListInstancesByNVLInstanceGroupRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListInstancesResponse) => void): ClientUnaryCall; /** * Creates a new VM instance based on the provided specification. * For details, see https://docs.nebius.com/compute/virtual-machines/manage * */ create(request: CreateInstanceRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Updates an existing VM instance with new configuration parameters. * */ update(request: UpdateInstanceRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Deletes a VM instance by its ID. Also deletes all the managed disks, declared in the instance spec. * Fails if cannot delete any of the managed disks. * */ delete(request: DeleteInstanceRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Starts a stopped VM instance. * */ start(request: StartInstanceRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Stops a running VM instance. * */ stop(request: StopInstanceRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListOperationsResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.compute.v1.InstanceService` service. */ export declare const InstanceServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): InstanceServiceBaseClient; /** Contains the gRPC service description. */ service: typeof InstanceServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.compute.v1.InstanceService` service. */ export interface InstanceService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.compute.v1.InstanceService"; /** * Retrieves detailed information about a specific VM instance by its ID. * */ get(request: GetInstanceRequest): SDKRequestClass; /** * Retrieves detailed information about a specific VM instance by its ID. * */ get(request: GetInstanceRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves detailed information about a specific VM instance by its ID. * */ get(request: GetInstanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves detailed information about a specific VM instance by its parent and name. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Retrieves detailed information about a specific VM instance by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves detailed information about a specific VM instance by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves detailed information about specific VMs by their IDs. * If instance cannot be retrieved (e.g. not found) error is returned in place of instance instead. * */ batchGet(request: BatchGetRequest): SDKRequestClass; /** * Retrieves detailed information about specific VMs by their IDs. * If instance cannot be retrieved (e.g. not found) error is returned in place of instance instead. * */ batchGet(request: BatchGetRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves detailed information about specific VMs by their IDs. * If instance cannot be retrieved (e.g. not found) error is returned in place of instance instead. * */ batchGet(request: BatchGetRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists all VM instances within a specified parent. * */ list(request: ListInstancesRequest): SDKRequestClass; /** * Lists all VM instances within a specified parent. * */ list(request: ListInstancesRequest, metadata: Metadata): SDKRequestClass; /** * Lists all VM instances within a specified parent. * */ list(request: ListInstancesRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists all VM instances that belong to the specified NVL instance group. * */ listInstancesByNVLInstanceGroup(request: ListInstancesByNVLInstanceGroupRequest): SDKRequestClass; /** * Lists all VM instances that belong to the specified NVL instance group. * */ listInstancesByNVLInstanceGroup(request: ListInstancesByNVLInstanceGroupRequest, metadata: Metadata): SDKRequestClass; /** * Lists all VM instances that belong to the specified NVL instance group. * */ listInstancesByNVLInstanceGroup(request: ListInstancesByNVLInstanceGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates a new VM instance based on the provided specification. * For details, see https://docs.nebius.com/compute/virtual-machines/manage * */ create(request: CreateInstanceRequest): SDKRequestClass>; /** * Creates a new VM instance based on the provided specification. * For details, see https://docs.nebius.com/compute/virtual-machines/manage * */ create(request: CreateInstanceRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a new VM instance based on the provided specification. * For details, see https://docs.nebius.com/compute/virtual-machines/manage * */ create(request: CreateInstanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Updates an existing VM instance with new configuration parameters. * */ update(request: UpdateInstanceRequest): SDKRequestClass>; /** * Updates an existing VM instance with new configuration parameters. * */ update(request: UpdateInstanceRequest, metadata: Metadata): SDKRequestClass>; /** * Updates an existing VM instance with new configuration parameters. * */ update(request: UpdateInstanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes a VM instance by its ID. Also deletes all the managed disks, declared in the instance spec. * Fails if cannot delete any of the managed disks. * */ delete(request: DeleteInstanceRequest): SDKRequestClass>; /** * Deletes a VM instance by its ID. Also deletes all the managed disks, declared in the instance spec. * Fails if cannot delete any of the managed disks. * */ delete(request: DeleteInstanceRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes a VM instance by its ID. Also deletes all the managed disks, declared in the instance spec. * Fails if cannot delete any of the managed disks. * */ delete(request: DeleteInstanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Starts a stopped VM instance. * */ start(request: StartInstanceRequest): SDKRequestClass>; /** * Starts a stopped VM instance. * */ start(request: StartInstanceRequest, metadata: Metadata): SDKRequestClass>; /** * Starts a stopped VM instance. * */ start(request: StartInstanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Stops a running VM instance. * */ stop(request: StopInstanceRequest): SDKRequestClass>; /** * Stops a running VM instance. * */ stop(request: StopInstanceRequest, metadata: Metadata): SDKRequestClass>; /** * Stops a running VM instance. * */ stop(request: StopInstanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.compute.v1.InstanceService` service through the Nebius SDK. */ export declare class InstanceService implements InstanceService { private sdk; $type: "nebius.compute.v1.InstanceService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Retrieves detailed information about a specific VM instance by its ID. * */ get(request: GetInstanceRequest): SDKRequestClass; /** * Retrieves detailed information about a specific VM instance by its ID. * */ get(request: GetInstanceRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves detailed information about a specific VM instance by its ID. * */ get(request: GetInstanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves detailed information about a specific VM instance by its parent and name. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Retrieves detailed information about a specific VM instance by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves detailed information about a specific VM instance by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves detailed information about specific VMs by their IDs. * If instance cannot be retrieved (e.g. not found) error is returned in place of instance instead. * */ batchGet(request: BatchGetRequest): SDKRequestClass; /** * Retrieves detailed information about specific VMs by their IDs. * If instance cannot be retrieved (e.g. not found) error is returned in place of instance instead. * */ batchGet(request: BatchGetRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves detailed information about specific VMs by their IDs. * If instance cannot be retrieved (e.g. not found) error is returned in place of instance instead. * */ batchGet(request: BatchGetRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists all VM instances within a specified parent. * */ list(request: ListInstancesRequest): SDKRequestClass; /** * Lists all VM instances within a specified parent. * */ list(request: ListInstancesRequest, metadata: Metadata): SDKRequestClass; /** * Lists all VM instances within a specified parent. * */ list(request: ListInstancesRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists all VM instances that belong to the specified NVL instance group. * */ listInstancesByNVLInstanceGroup(request: ListInstancesByNVLInstanceGroupRequest): SDKRequestClass; /** * Lists all VM instances that belong to the specified NVL instance group. * */ listInstancesByNVLInstanceGroup(request: ListInstancesByNVLInstanceGroupRequest, metadata: Metadata): SDKRequestClass; /** * Lists all VM instances that belong to the specified NVL instance group. * */ listInstancesByNVLInstanceGroup(request: ListInstancesByNVLInstanceGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates a new VM instance based on the provided specification. * For details, see https://docs.nebius.com/compute/virtual-machines/manage * */ create(request: CreateInstanceRequest): SDKRequestClass>; /** * Creates a new VM instance based on the provided specification. * For details, see https://docs.nebius.com/compute/virtual-machines/manage * */ create(request: CreateInstanceRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a new VM instance based on the provided specification. * For details, see https://docs.nebius.com/compute/virtual-machines/manage * */ create(request: CreateInstanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Updates an existing VM instance with new configuration parameters. * */ update(request: UpdateInstanceRequest): SDKRequestClass>; /** * Updates an existing VM instance with new configuration parameters. * */ update(request: UpdateInstanceRequest, metadata: Metadata): SDKRequestClass>; /** * Updates an existing VM instance with new configuration parameters. * */ update(request: UpdateInstanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes a VM instance by its ID. Also deletes all the managed disks, declared in the instance spec. * Fails if cannot delete any of the managed disks. * */ delete(request: DeleteInstanceRequest): SDKRequestClass>; /** * Deletes a VM instance by its ID. Also deletes all the managed disks, declared in the instance spec. * Fails if cannot delete any of the managed disks. * */ delete(request: DeleteInstanceRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes a VM instance by its ID. Also deletes all the managed disks, declared in the instance spec. * Fails if cannot delete any of the managed disks. * */ delete(request: DeleteInstanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Starts a stopped VM instance. * */ start(request: StartInstanceRequest): SDKRequestClass>; /** * Starts a stopped VM instance. * */ start(request: StartInstanceRequest, metadata: Metadata): SDKRequestClass>; /** * Starts a stopped VM instance. * */ start(request: StartInstanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Stops a running VM instance. * */ stop(request: StopInstanceRequest): SDKRequestClass>; /** * Stops a running VM instance. * */ stop(request: StopInstanceRequest, metadata: Metadata): SDKRequestClass>; /** * Stops a running VM instance. * */ stop(request: StopInstanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata): SDKRequestClass; /** * Lists all operations that were performed within a specific parent resource. * */ listOperationsByParent(request: ListOperationsByParentRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Represents the `nebius.compute.v1.InstanceRecoveryPolicy` protobuf enum. */ export type InstanceRecoveryPolicy = EnumInstance<"UNRECOGNIZED" | "RECOVER" | "FAIL" | "ALWAYS">; /** Defines the static values of {@link InstanceRecoveryPolicy}. */ export interface InstanceRecoveryPolicyValueMembers { /** * Represents the `RECOVER` protobuf enum value. */ readonly RECOVER: EnumInstance<"UNRECOGNIZED" | "RECOVER" | "FAIL" | "ALWAYS">; /** * Represents the `FAIL` protobuf enum value. */ readonly FAIL: EnumInstance<"UNRECOGNIZED" | "RECOVER" | "FAIL" | "ALWAYS">; /** * Represents the `ALWAYS` protobuf enum value. */ readonly ALWAYS: EnumInstance<"UNRECOGNIZED" | "RECOVER" | "FAIL" | "ALWAYS">; } /** Defines the runtime API for {@link InstanceRecoveryPolicy}. */ export type InstanceRecoveryPolicyClass = EnumClass<"UNRECOGNIZED" | "RECOVER" | "FAIL" | "ALWAYS"> & InstanceRecoveryPolicyValueMembers; /** Converts and creates {@link InstanceRecoveryPolicy} values. */ export declare const InstanceRecoveryPolicy: InstanceRecoveryPolicyClass; /** * Represents the `nebius.compute.v1.PreemptibleSpec.PreemptionPolicy` protobuf enum. */ export type PreemptibleSpec_PreemptionPolicy = EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "STOP">; /** Defines the static values of {@link PreemptibleSpec_PreemptionPolicy}. */ export interface PreemptibleSpec_PreemptionPolicyValueMembers { /** * Represents the `UNSPECIFIED` protobuf enum value. */ readonly UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "STOP">; /** * Represents the `STOP` protobuf enum value. */ readonly STOP: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "STOP">; } /** Defines the runtime API for {@link PreemptibleSpec_PreemptionPolicy}. */ export type PreemptibleSpec_PreemptionPolicyClass = EnumClass<"UNRECOGNIZED" | "UNSPECIFIED" | "STOP"> & PreemptibleSpec_PreemptionPolicyValueMembers; /** Converts and creates {@link PreemptibleSpec_PreemptionPolicy} values. */ export declare const PreemptibleSpec_PreemptionPolicy: PreemptibleSpec_PreemptionPolicyClass; /** * Represents the `nebius.compute.v1.AttachedDiskSpec.AttachMode` protobuf enum. */ export type AttachedDiskSpec_AttachMode = EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "READ_ONLY" | "READ_WRITE">; /** Defines the static values of {@link AttachedDiskSpec_AttachMode}. */ export interface AttachedDiskSpec_AttachModeValueMembers { /** * Represents the `UNSPECIFIED` protobuf enum value. */ readonly UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "READ_ONLY" | "READ_WRITE">; /** * Represents the `READ_ONLY` protobuf enum value. */ readonly READ_ONLY: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "READ_ONLY" | "READ_WRITE">; /** * Represents the `READ_WRITE` protobuf enum value. */ readonly READ_WRITE: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "READ_ONLY" | "READ_WRITE">; } /** Defines the runtime API for {@link AttachedDiskSpec_AttachMode}. */ export type AttachedDiskSpec_AttachModeClass = EnumClass<"UNRECOGNIZED" | "UNSPECIFIED" | "READ_ONLY" | "READ_WRITE"> & AttachedDiskSpec_AttachModeValueMembers; /** Converts and creates {@link AttachedDiskSpec_AttachMode} values. */ export declare const AttachedDiskSpec_AttachMode: AttachedDiskSpec_AttachModeClass; /** * Represents the `nebius.compute.v1.AttachedFilesystemSpec.AttachMode` protobuf enum. */ export type AttachedFilesystemSpec_AttachMode = EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "READ_ONLY" | "READ_WRITE">; /** Defines the static values of {@link AttachedFilesystemSpec_AttachMode}. */ export interface AttachedFilesystemSpec_AttachModeValueMembers { /** * Represents the `UNSPECIFIED` protobuf enum value. */ readonly UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "READ_ONLY" | "READ_WRITE">; /** * Represents the `READ_ONLY` protobuf enum value. */ readonly READ_ONLY: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "READ_ONLY" | "READ_WRITE">; /** * Represents the `READ_WRITE` protobuf enum value. */ readonly READ_WRITE: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "READ_ONLY" | "READ_WRITE">; } /** Defines the runtime API for {@link AttachedFilesystemSpec_AttachMode}. */ export type AttachedFilesystemSpec_AttachModeClass = EnumClass<"UNRECOGNIZED" | "UNSPECIFIED" | "READ_ONLY" | "READ_WRITE"> & AttachedFilesystemSpec_AttachModeValueMembers; /** Converts and creates {@link AttachedFilesystemSpec_AttachMode} values. */ export declare const AttachedFilesystemSpec_AttachMode: AttachedFilesystemSpec_AttachModeClass; /** * Represents the `nebius.compute.v1.InstanceStatus.InstanceState` protobuf enum. */ export type InstanceStatus_InstanceState = EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "UPDATING" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "DELETING" | "ERROR">; /** Defines the static values of {@link InstanceStatus_InstanceState}. */ export interface InstanceStatus_InstanceStateValueMembers { /** * Represents the `UNSPECIFIED` protobuf enum value. */ readonly UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "UPDATING" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "DELETING" | "ERROR">; /** * Represents the `CREATING` protobuf enum value. */ readonly CREATING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "UPDATING" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "DELETING" | "ERROR">; /** * Represents the `UPDATING` protobuf enum value. */ readonly UPDATING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "UPDATING" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "DELETING" | "ERROR">; /** * Represents the `STARTING` protobuf enum value. */ readonly STARTING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "UPDATING" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "DELETING" | "ERROR">; /** * Represents the `RUNNING` protobuf enum value. */ readonly RUNNING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "UPDATING" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "DELETING" | "ERROR">; /** * Represents the `STOPPING` protobuf enum value. */ readonly STOPPING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "UPDATING" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "DELETING" | "ERROR">; /** * Represents the `STOPPED` protobuf enum value. */ readonly STOPPED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "UPDATING" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "DELETING" | "ERROR">; /** * Represents the `DELETING` protobuf enum value. */ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "UPDATING" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "DELETING" | "ERROR">; /** * Represents the `ERROR` protobuf enum value. */ readonly ERROR: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "UPDATING" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "DELETING" | "ERROR">; } /** Defines the runtime API for {@link InstanceStatus_InstanceState}. */ export type InstanceStatus_InstanceStateClass = EnumClass<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "UPDATING" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "DELETING" | "ERROR"> & InstanceStatus_InstanceStateValueMembers; /** Converts and creates {@link InstanceStatus_InstanceState} values. */ export declare const InstanceStatus_InstanceState: InstanceStatus_InstanceStateClass; /** * Represents the `nebius.compute.v1.ReservationPolicy.Policy` protobuf enum. */ export type ReservationPolicy_Policy = EnumInstance<"UNRECOGNIZED" | "AUTO" | "FORBID" | "STRICT">; /** Defines the static values of {@link ReservationPolicy_Policy}. */ export interface ReservationPolicy_PolicyValueMembers { /** * 1) Will try to launch instance in any reservation_ids if provided. * 2) Will try to launch instance in any of the available capacity block. * 3) Will try to launch instance in PAYG if 1 & 2 are not satisfied. * */ readonly AUTO: EnumInstance<"UNRECOGNIZED" | "AUTO" | "FORBID" | "STRICT">; /** * The instance is launched only using on-demand (PAYG) capacity. * No attempt is made to find or use a Capacity Block. * It's an error to provide reservation_ids with policy = FORBID * */ readonly FORBID: EnumInstance<"UNRECOGNIZED" | "AUTO" | "FORBID" | "STRICT">; /** * 1) Will try to launch the instance in Capacity Blocks from reservation_ids if provided. * 2) If reservation_ids are not provided will try to launch instance in suitable & available Capacity Block. * 3) Fail otherwise. * */ readonly STRICT: EnumInstance<"UNRECOGNIZED" | "AUTO" | "FORBID" | "STRICT">; } /** Defines the runtime API for {@link ReservationPolicy_Policy}. */ export type ReservationPolicy_PolicyClass = EnumClass<"UNRECOGNIZED" | "AUTO" | "FORBID" | "STRICT"> & ReservationPolicy_PolicyValueMembers; /** Converts and creates {@link ReservationPolicy_Policy} values. */ export declare const ReservationPolicy_Policy: ReservationPolicy_PolicyClass; /** Represents the `nebius.compute.v1.Instance` protobuf message. */ export interface Instance { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.Instance"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: InstanceSpec | undefined; /** Contains the `status` protobuf field. */ status?: InstanceStatus | undefined; } /** Encodes, decodes, converts, and creates {@link Instance} messages. */ export declare const Instance: MessageFns; /** Represents the `nebius.compute.v1.InstanceSpec` protobuf message. */ export interface InstanceSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.InstanceSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Unique identifier of the service account associated with this instance. * For details, see https://docs.nebius.com/iam/service-accounts/manage * */ serviceAccountId: string; /** * Specification of compute resources allocated to the instance. * For details, see https://docs.nebius.com/compute/virtual-machines/types * */ resources?: ResourcesSpec | undefined; /** * If you want to interconnect several instances in a GPU cluster via NVIDIA InfiniBand, * set the ID of an existing GPU cluster. * You can only add the VM to the cluster when creating the VM. * For details, see https://docs.nebius.com/compute/clusters/gpu * */ gpuCluster?: InstanceGpuClusterSpec | undefined; /** * List of network interfaces attached to the instance. * */ networkInterfaces: NetworkInterfaceSpec[]; /** * Specified boot disk attached to the instance. * */ bootDisk?: AttachedDiskSpec | undefined; /** * List of additional data disks attached to the instance beyond the boot disk. * */ secondaryDisks: AttachedDiskSpec[]; /** * List of Shared Filesystems attached to the instance. * */ filesystems: AttachedFilesystemSpec[]; /** * Data in cloud-init format for customizing instance initialization. * For details, see https://docs.nebius.com/compute/virtual-machines/manage#user-data * */ cloudInitUserData: string; /** * Indicates whether the instance should be stopped. * */ stopped: boolean; /** * Recovery policy defines how the instance will be treated in case of a failure. * Common source of failure is a host failure, but it can be any other failure. * Instance undergoing a guest shutdown (poweroff, etc.) will be subject to recovery policy, meaning that it could * be restarted and billed accordingly. Stop instance via API or UI to stop it to avoid recovering. * - If set to RECOVER, instance will be restarted, if possible. It could be restarted on the same host or on another host. * - If set to FAIL, instance will be stopped and not restarted. * - If set to ALWAYS, keep retrying recovery indefinitely until the instance is recovered. Available only for instances in * nvlinstancegroup * */ recoveryPolicy: InstanceRecoveryPolicy; /** * Set this field to create a preemptible VM, or omit it to create a regular VM. * For details, see https://docs.nebius.com/compute/virtual-machines/preemptible * A preemptible VM cannot be converted to a regular VM or vice versa. Once set, this field cannot be removed; if the * VM was created without it, the field cannot be added later. * */ preemptible?: PreemptibleSpec | undefined; /** * Instance's hostname. Used to generate default DNS record in format `..compute.internal.` * or `..compute.internal.` if hostname is not specified. * */ hostname: string; /** * NVLink Instance Group ID associated with the VM * */ nvlInstanceGroupId: string; /** Contains the `reservation_policy` protobuf field. */ reservationPolicy?: ReservationPolicy | undefined; /** * Local disks are meaningfully different from regular (remote) disks: * they are provided by the underlying host and are tied to a particular VM run. * Local disk data is not preserved across Stop-Start initiated via Compute API. * Local disks are not provided by default. To get them, explicitly request them via this field. * Availability depends on the selected platform, preset and region. * Changing this field will result in disks change and content loss, but only after stop and start the instance. * */ localDisks?: LocalDisksSpec | undefined; } /** Encodes, decodes, converts, and creates {@link InstanceSpec} messages. */ export declare const InstanceSpec: MessageFns; /** Represents the `nebius.compute.v1.PreemptibleSpec` protobuf message. */ export interface PreemptibleSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.PreemptibleSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Specifies what happens when the VM is preempted. The only supported value is STOP: * Compute stops the VM without deleting or restarting it. * */ onPreemption: PreemptibleSpec_PreemptionPolicy; /** @deprecated Deprecated, will be removed on 2026-05-11: it is deprecated and doesn't affect preemption behavior anymore.. */ priority: number; } /** Encodes, decodes, converts, and creates {@link PreemptibleSpec} messages. */ export declare const PreemptibleSpec: MessageFns; /** Represents the `nebius.compute.v1.ResourcesSpec` protobuf message. */ export interface ResourcesSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ResourcesSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `platform` protobuf field. */ platform: string; /** Contains the selected value for the `size` protobuf oneof. */ size?: { $case: "preset"; preset: string; } | undefined; } /** Encodes, decodes, converts, and creates {@link ResourcesSpec} messages. */ export declare const ResourcesSpec: MessageFns; /** Represents the `nebius.compute.v1.InstanceGpuClusterSpec` protobuf message. */ export interface InstanceGpuClusterSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.InstanceGpuClusterSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * If you want to interconnect several instances in a GPU cluster via NVIDIA InfiniBand, * set the ID of an existing GPU cluster. * You can only add the VM to the cluster when creating the VM. * For details, see https://docs.nebius.com/compute/clusters/gpu * */ id: string; } /** Encodes, decodes, converts, and creates {@link InstanceGpuClusterSpec} messages. */ export declare const InstanceGpuClusterSpec: MessageFns; /** Represents the `nebius.compute.v1.AttachedDiskSpec` protobuf message. */ export interface AttachedDiskSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.AttachedDiskSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `attach_mode` protobuf field. */ attachMode: AttachedDiskSpec_AttachMode; /** * Specifies the user-defined identifier, allowing to use '/dev/disk/by-id/virtio-{device_id}' as a device path in mount command. * */ deviceId: string; /** Contains the selected value for the `type` protobuf oneof. */ type?: { $case: "existingDisk"; existingDisk: ExistingDisk; } | { $case: "managedDisk"; managedDisk: ManagedDisk; } | undefined; } /** Encodes, decodes, converts, and creates {@link AttachedDiskSpec} messages. */ export declare const AttachedDiskSpec: MessageFns; /** Represents the `nebius.compute.v1.ExistingDisk` protobuf message. */ export interface ExistingDisk { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ExistingDisk"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link ExistingDisk} messages. */ export declare const ExistingDisk: MessageFns; /** Represents the `nebius.compute.v1.ManagedDisk` protobuf message. */ export interface ManagedDisk { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ManagedDisk"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Name of a dependent disk. * Use it to convert an ExistingDisk to a dependent disk. * Changing the name will replace the disk and cause data loss. * */ name: string; /** * Labels associated with disk resource. * */ labels: { [key: string]: string; }; /** * Specification of a dependent disk to be created. * */ spec?: DiskSpec | undefined; } /** Encodes, decodes, converts, and creates {@link ManagedDisk} messages. */ export declare const ManagedDisk: MessageFns; /** Represents the `nebius.compute.v1.ExistingFilesystem` protobuf message. */ export interface ExistingFilesystem { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ExistingFilesystem"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link ExistingFilesystem} messages. */ export declare const ExistingFilesystem: MessageFns; /** Represents the `nebius.compute.v1.AttachedFilesystemSpec` protobuf message. */ export interface AttachedFilesystemSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.AttachedFilesystemSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `attach_mode` protobuf field. */ attachMode: AttachedFilesystemSpec_AttachMode; /** * Specifies the user-defined identifier, allowing to use it as a device in mount command. * */ mountTag: string; /** Contains the selected value for the `type` protobuf oneof. */ type?: { $case: "existingFilesystem"; existingFilesystem: ExistingFilesystem; } | undefined; } /** Encodes, decodes, converts, and creates {@link AttachedFilesystemSpec} messages. */ export declare const AttachedFilesystemSpec: MessageFns; /** Represents the `nebius.compute.v1.InstanceStatus` protobuf message. */ export interface InstanceStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.InstanceStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `state` protobuf field. */ state: InstanceStatus_InstanceState; /** Contains the `network_interfaces` protobuf field. */ networkInterfaces: NetworkInterfaceStatus[]; /** * Indicates whether there is an ongoing operation * */ reconciling: boolean; /** * Identifier of the maintenance event associated with the instance, if any. * */ maintenanceEventId: string; /** Contains the `reservation_id` protobuf field. */ reservationId: string; /** * Status of the requested disk attachments. * */ diskAttachments: DiskAttachmentStatus[]; /** Contains the selected value for the `gpu_cluster_topology` protobuf oneof. */ gpuClusterTopology?: { $case: "infinibandTopologyPath"; infinibandTopologyPath: InstanceStatusInfinibandTopologyPath; } | undefined; } /** Encodes, decodes, converts, and creates {@link InstanceStatus} messages. */ export declare const InstanceStatus: MessageFns; /** Represents the `nebius.compute.v1.DiskAttachmentStatus` protobuf message. */ export interface DiskAttachmentStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.DiskAttachmentStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Disk ID. * - For ExistingDisk, this is the referenced disk ID. * - For ManagedDisk, may be empty while the attachment intent is still pending. * */ id: string; /** * Disk name used to match this status entry with the desired attachment * from the instance specification. * * Consistency: * - For ManagedDisk, this value is derived from the instance spec (ManagedDisk.name). * - For ExistingDisk, this value is derived from the disk resource name and may lag behind * in case of renaming. It is updated asynchronously and is eventually consistent. * */ name: string; /** * Indicates whether this attachment is managed by the instance lifecycle. * If true, the disk is expected to be deleted when the instance is deleted. * If false, the disk is preserved and only detached on instance deletion. * */ isManaged: boolean; } /** Encodes, decodes, converts, and creates {@link DiskAttachmentStatus} messages. */ export declare const DiskAttachmentStatus: MessageFns; /** Represents the `nebius.compute.v1.InstanceStatusInfinibandTopologyPath` protobuf message. */ export interface InstanceStatusInfinibandTopologyPath { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.InstanceStatusInfinibandTopologyPath"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `path` protobuf field. */ path: string[]; } /** Encodes, decodes, converts, and creates {@link InstanceStatusInfinibandTopologyPath} messages. */ export declare const InstanceStatusInfinibandTopologyPath: MessageFns; /** Represents the `nebius.compute.v1.ReservationPolicy` protobuf message. */ export interface ReservationPolicy { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ReservationPolicy"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `policy` protobuf field. */ policy: ReservationPolicy_Policy; /** * Capacity block groups, order matters * */ reservationIds: string[]; } /** Encodes, decodes, converts, and creates {@link ReservationPolicy} messages. */ export declare const ReservationPolicy: MessageFns; /** Represents the `nebius.compute.v1.LocalDisksSpec` protobuf message. */ export interface LocalDisksSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.LocalDisksSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the selected value for the `request` protobuf oneof. */ request?: { $case: "passthroughGroup"; passthroughGroup: PassthroughGroupRequest; } | undefined; } /** Encodes, decodes, converts, and creates {@link LocalDisksSpec} messages. */ export declare const LocalDisksSpec: MessageFns; /** Represents the `nebius.compute.v1.PassthroughGroupRequest` protobuf message. */ export interface PassthroughGroupRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.PassthroughGroupRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Passthrough local disks from the underlying host. * * Devices are expected to appear in the guest as NVMe devices (nvme0, nvme1, ...), * but the exact number depends on the preset. * Enabled only when this field is explicitly set. * */ requested: boolean; } /** Encodes, decodes, converts, and creates {@link PassthroughGroupRequest} messages. */ export declare const PassthroughGroupRequest: MessageFns; /** Represents the `nebius.compute.v1.MaintenanceEvent` protobuf message. */ export interface MaintenanceEvent { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.MaintenanceEvent"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; /** Contains the `spec` protobuf field. */ spec?: MaintenanceEventSpec | undefined; /** Contains the `status` protobuf field. */ status?: MaintenanceEventStatus | undefined; } /** Encodes, decodes, converts, and creates {@link MaintenanceEvent} messages. */ export declare const MaintenanceEvent: MessageFns; /** Represents the `nebius.compute.v1.MaintenanceEventSpec` protobuf message. */ export interface MaintenanceEventSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.MaintenanceEventSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** If the maintenance event is planned or not */ isPlanned: boolean; } /** Encodes, decodes, converts, and creates {@link MaintenanceEventSpec} messages. */ export declare const MaintenanceEventSpec: MessageFns; /** Represents the `nebius.compute.v1.MaintenanceEventStatus` protobuf message. */ export interface MaintenanceEventStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.MaintenanceEventStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `maintenance_id` protobuf field. */ maintenanceId: string; /** Time when the maintenance event is created */ createdAt?: Dayjs | undefined; /** Time when the maintenance event is finished */ finishedAt?: Dayjs | undefined; /** Time when the instance will be force stopped */ slaDeadlineTs?: Dayjs | undefined; /** Ticket key, can be transformed into url where support is talking with the client */ supportCenterTicketId: string; /** Reason of the maintenance */ maintenanceReason: string; } /** Encodes, decodes, converts, and creates {@link MaintenanceEventStatus} messages. */ export declare const MaintenanceEventStatus: MessageFns; /** Represents the `nebius.compute.v1.GetMaintenanceEventByInstanceRequest` protobuf message. */ export interface GetMaintenanceEventByInstanceRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.GetMaintenanceEventByInstanceRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `instance_id` protobuf field. */ instanceId: string; } /** Encodes, decodes, converts, and creates {@link GetMaintenanceEventByInstanceRequest} messages. */ export declare const GetMaintenanceEventByInstanceRequest: MessageFns; /** Represents the `nebius.compute.v1.ListMaintenanceEventsRequest` protobuf message. */ export interface ListMaintenanceEventsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListMaintenanceEventsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Parent ID of maintenance events. * */ parentId: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; } /** Encodes, decodes, converts, and creates {@link ListMaintenanceEventsRequest} messages. */ export declare const ListMaintenanceEventsRequest: MessageFns; /** Represents the `nebius.compute.v1.ListMaintenanceEventsResponse` protobuf message. */ export interface ListMaintenanceEventsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListMaintenanceEventsResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: MaintenanceEvent[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListMaintenanceEventsResponse} messages. */ export declare const ListMaintenanceEventsResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.compute.v1.MaintenanceService` service. */ export type MaintenanceServiceServiceDescription = typeof MaintenanceServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.compute.v1.MaintenanceService` service. */ export declare const MaintenanceServiceServiceDescription: { readonly getByInstance: { readonly path: "/nebius.compute.v1.MaintenanceService/GetByInstance"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetMaintenanceEventByInstanceRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetMaintenanceEventByInstanceRequest; readonly responseSerialize: (value: MaintenanceEvent) => Buffer; readonly responseDeserialize: (value: Buffer) => MaintenanceEvent; }; readonly listActive: { readonly path: "/nebius.compute.v1.MaintenanceService/ListActive"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListMaintenanceEventsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListMaintenanceEventsRequest; readonly responseSerialize: (value: ListMaintenanceEventsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListMaintenanceEventsResponse; }; }; /** * Handles server calls for the `nebius.compute.v1.MaintenanceService` service. */ export interface MaintenanceServiceServer extends UntypedServiceImplementation { /** * Returns only active maintenance event for the instance * */ getByInstance: handleUnaryCall; /** * Returns all unfinished maintenance events for the parent * */ listActive: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.compute.v1.MaintenanceService` service. */ export interface MaintenanceServiceBaseClient extends Client { /** * Returns only active maintenance event for the instance * */ getByInstance(request: GetMaintenanceEventByInstanceRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: MaintenanceEvent) => void): ClientUnaryCall; /** * Returns all unfinished maintenance events for the parent * */ listActive(request: ListMaintenanceEventsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListMaintenanceEventsResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.compute.v1.MaintenanceService` service. */ export declare const MaintenanceServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): MaintenanceServiceBaseClient; /** Contains the gRPC service description. */ service: typeof MaintenanceServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.compute.v1.MaintenanceService` service. */ export interface MaintenanceService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.compute.v1.MaintenanceService"; /** * Returns only active maintenance event for the instance * */ getByInstance(request: GetMaintenanceEventByInstanceRequest): SDKRequestClass; /** * Returns only active maintenance event for the instance * */ getByInstance(request: GetMaintenanceEventByInstanceRequest, metadata: Metadata): SDKRequestClass; /** * Returns only active maintenance event for the instance * */ getByInstance(request: GetMaintenanceEventByInstanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Returns all unfinished maintenance events for the parent * */ listActive(request: ListMaintenanceEventsRequest): SDKRequestClass; /** * Returns all unfinished maintenance events for the parent * */ listActive(request: ListMaintenanceEventsRequest, metadata: Metadata): SDKRequestClass; /** * Returns all unfinished maintenance events for the parent * */ listActive(request: ListMaintenanceEventsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.compute.v1.MaintenanceService` service through the Nebius SDK. */ export declare class MaintenanceService implements MaintenanceService { private sdk; $type: "nebius.compute.v1.MaintenanceService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** * Returns only active maintenance event for the instance * */ getByInstance(request: GetMaintenanceEventByInstanceRequest): SDKRequestClass; /** * Returns only active maintenance event for the instance * */ getByInstance(request: GetMaintenanceEventByInstanceRequest, metadata: Metadata): SDKRequestClass; /** * Returns only active maintenance event for the instance * */ getByInstance(request: GetMaintenanceEventByInstanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Returns all unfinished maintenance events for the parent * */ listActive(request: ListMaintenanceEventsRequest): SDKRequestClass; /** * Returns all unfinished maintenance events for the parent * */ listActive(request: ListMaintenanceEventsRequest, metadata: Metadata): SDKRequestClass; /** * Returns all unfinished maintenance events for the parent * */ listActive(request: ListMaintenanceEventsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Describes the specification of a network interface. * */ export interface NetworkInterfaceSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.NetworkInterfaceSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Subnet ID * */ subnetId: string; /** * Interface name * Value of this field configures the name of the network interface inside VM's OS. * Longer values will persist in the specification but will be truncated to 15 symbols before being passed to VM configuration. * */ name: string; /** * Private IPv4 address associated with the interface. * */ ipAddress?: IPAddress | undefined; /** * Public IPv4 address associated with the interface. * */ publicIpAddress?: PublicIPAddress | undefined; /** * Assign ranges of IP addresses as aliases * */ aliases: IPAlias[]; /** * Security groups associated with the network interface. * If an empty list is provided, the default security group for the network will be used. * Effective security groups can be seen in the status. * */ securityGroups: SecurityGroup[]; } /** Encodes, decodes, converts, and creates {@link NetworkInterfaceSpec} messages. */ export declare const NetworkInterfaceSpec: MessageFns; /** * Describes an IPv4 address. * */ export interface IPAddress { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.IPAddress"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Allocation identifier if it was created before. * */ allocationId: string; } /** Encodes, decodes, converts, and creates {@link IPAddress} messages. */ export declare const IPAddress: MessageFns; /** * Describes a public IP address. * */ export interface PublicIPAddress { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.PublicIPAddress"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * If false - Allocation will be created/deleted during NetworkInterface.Allocate/NetworkInterface.Deallocate * If true - Allocation will be created/deleted during NetworkInterface.Create/NetworkInterface.Delete * False by default * */ static: boolean; /** * Describes different methods of public IP address allocation. * */ allocation?: { $case: "allocationId"; allocationId: string; } | undefined; } /** Encodes, decodes, converts, and creates {@link PublicIPAddress} messages. */ export declare const PublicIPAddress: MessageFns; /** Represents the `nebius.compute.v1.IPAlias` protobuf message. */ export interface IPAlias { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.IPAlias"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * ID of allocation * */ allocationId: string; } /** Encodes, decodes, converts, and creates {@link IPAlias} messages. */ export declare const IPAlias: MessageFns; /** * Describes the status of a network interface. * */ export interface NetworkInterfaceStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.NetworkInterfaceStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * The index of the network interface * */ index: number; /** * Name for interface. * Unique within instance's network interfaces * */ name: string; /** * Effective Private IPv4 address * */ ipAddress?: IPAddressStatus | undefined; /** * Effective Public IPv4 address * */ publicIpAddress?: PublicIPAddressStatus | undefined; /** * Effective IP Aliases * */ aliases?: IPAliasesStatus | undefined; /** * MAC address * */ macAddress: string; /** * FQDN of the interface * */ fqdn: string; /** * Effective security groups associated with the network interface. * */ securityGroups: SecurityGroupStatus[]; } /** Encodes, decodes, converts, and creates {@link NetworkInterfaceStatus} messages. */ export declare const NetworkInterfaceStatus: MessageFns; /** Represents the `nebius.compute.v1.IPAddressStatus` protobuf message. */ export interface IPAddressStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.IPAddressStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Effective private IPv4 address assigned to the interface. * */ address: string; /** * Allocation identifier. * */ allocationId: string; } /** Encodes, decodes, converts, and creates {@link IPAddressStatus} messages. */ export declare const IPAddressStatus: MessageFns; /** Represents the `nebius.compute.v1.PublicIPAddressStatus` protobuf message. */ export interface PublicIPAddressStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.PublicIPAddressStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Effective public IPv4 address assigned to the interface. * */ address: string; /** * Allocation identifier. * */ allocationId: string; /** * If false - Allocation will be created/deleted during NetworkInterface.Allocate/NetworkInterface.Deallocate * If true - Allocation will be created/deleted during NetworkInterface.Create/NetworkInterface.Delete * False by default * */ static: boolean; } /** Encodes, decodes, converts, and creates {@link PublicIPAddressStatus} messages. */ export declare const PublicIPAddressStatus: MessageFns; /** Represents the `nebius.compute.v1.IPAliasesStatus` protobuf message. */ export interface IPAliasesStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.IPAliasesStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `cidrs` protobuf field. */ cidrs: string[]; } /** Encodes, decodes, converts, and creates {@link IPAliasesStatus} messages. */ export declare const IPAliasesStatus: MessageFns; /** Represents the `nebius.compute.v1.SecurityGroup` protobuf message. */ export interface SecurityGroup { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.SecurityGroup"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Security group identifier * */ id: string; } /** Encodes, decodes, converts, and creates {@link SecurityGroup} messages. */ export declare const SecurityGroup: MessageFns; /** Represents the `nebius.compute.v1.SecurityGroupStatus` protobuf message. */ export interface SecurityGroupStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.SecurityGroupStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Security group identifier * */ id: string; } /** Encodes, decodes, converts, and creates {@link SecurityGroupStatus} messages. */ export declare const SecurityGroupStatus: MessageFns; /** Represents the `nebius.compute.v1.NodeSetUnhealthyRequest` protobuf message. */ export interface NodeSetUnhealthyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.NodeSetUnhealthyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `instance_id` protobuf field. */ instanceId: string; /** Contains the `health_check_info` protobuf field. */ healthCheckInfo?: NodeSetUnhealthyRequest_HealthCheckInfo | undefined; /** * If set to true, the call performs the authorization and limit checks, but does not mark node unhealthy. * False by default * */ dryRun: boolean; } /** Encodes, decodes, converts, and creates {@link NodeSetUnhealthyRequest} messages. */ export declare const NodeSetUnhealthyRequest: MessageFns; /** Represents the `nebius.compute.v1.NodeSetUnhealthyRequest.HealthCheckInfo` protobuf message. */ export interface NodeSetUnhealthyRequest_HealthCheckInfo { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.NodeSetUnhealthyRequest.HealthCheckInfo"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Time when the unhealthy node was observed * */ observedAt?: Dayjs | undefined; /** * Identifies specific GPU check that failed in soperator (key for observability) * */ checkId: string; /** * Human-readable description of the error for further investigation * */ description: string; } /** Encodes, decodes, converts, and creates {@link NodeSetUnhealthyRequest_HealthCheckInfo} messages. */ export declare const NodeSetUnhealthyRequest_HealthCheckInfo: MessageFns; /** Represents the `nebius.compute.v1.NodeSetUnhealthyResponse` protobuf message. */ export interface NodeSetUnhealthyResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.NodeSetUnhealthyResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; } /** Encodes, decodes, converts, and creates {@link NodeSetUnhealthyResponse} messages. */ export declare const NodeSetUnhealthyResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.compute.v1.NodeService` service. */ export type NodeServiceServiceDescription = typeof NodeServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.compute.v1.NodeService` service. */ export declare const NodeServiceServiceDescription: { readonly setUnhealthy: { readonly path: "/nebius.compute.v1.NodeService/SetUnhealthy"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: NodeSetUnhealthyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => NodeSetUnhealthyRequest; readonly responseSerialize: (value: NodeSetUnhealthyResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => NodeSetUnhealthyResponse; }; }; /** * Handles server calls for the `nebius.compute.v1.NodeService` service. */ export interface NodeServiceServer extends UntypedServiceImplementation { /** * SetUnhealthy marks the node underlying the Compute VM as unhealthy, which has the following effect: * * 1. Scheduler makes the best effort not to assign new VMs to the unhealthy node, * but in case of no capacity, the VM can be assigned to an unhealthy node. * 2. The existing VMs continue to work on the node, but after stop/start via * Compute API they most probably will be assigned to a different node. * * To use this rpc one needs to obtain `compute.node.setUnhealthy` permission * for the VM's parent container. The permission is granted to the TSA inside the VM. * */ setUnhealthy: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.compute.v1.NodeService` service. */ export interface NodeServiceBaseClient extends Client { /** * SetUnhealthy marks the node underlying the Compute VM as unhealthy, which has the following effect: * * 1. Scheduler makes the best effort not to assign new VMs to the unhealthy node, * but in case of no capacity, the VM can be assigned to an unhealthy node. * 2. The existing VMs continue to work on the node, but after stop/start via * Compute API they most probably will be assigned to a different node. * * To use this rpc one needs to obtain `compute.node.setUnhealthy` permission * for the VM's parent container. The permission is granted to the TSA inside the VM. * */ setUnhealthy(request: NodeSetUnhealthyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: NodeSetUnhealthyResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.compute.v1.NodeService` service. */ export declare const NodeServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): NodeServiceBaseClient; /** Contains the gRPC service description. */ service: typeof NodeServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.compute.v1.NodeService` service. */ export interface NodeService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.compute.v1.NodeService"; /** * SetUnhealthy marks the node underlying the Compute VM as unhealthy, which has the following effect: * * 1. Scheduler makes the best effort not to assign new VMs to the unhealthy node, * but in case of no capacity, the VM can be assigned to an unhealthy node. * 2. The existing VMs continue to work on the node, but after stop/start via * Compute API they most probably will be assigned to a different node. * * To use this rpc one needs to obtain `compute.node.setUnhealthy` permission * for the VM's parent container. The permission is granted to the TSA inside the VM. * */ setUnhealthy(request: NodeSetUnhealthyRequest): SDKRequestClass; /** * SetUnhealthy marks the node underlying the Compute VM as unhealthy, which has the following effect: * * 1. Scheduler makes the best effort not to assign new VMs to the unhealthy node, * but in case of no capacity, the VM can be assigned to an unhealthy node. * 2. The existing VMs continue to work on the node, but after stop/start via * Compute API they most probably will be assigned to a different node. * * To use this rpc one needs to obtain `compute.node.setUnhealthy` permission * for the VM's parent container. The permission is granted to the TSA inside the VM. * */ setUnhealthy(request: NodeSetUnhealthyRequest, metadata: Metadata): SDKRequestClass; /** * SetUnhealthy marks the node underlying the Compute VM as unhealthy, which has the following effect: * * 1. Scheduler makes the best effort not to assign new VMs to the unhealthy node, * but in case of no capacity, the VM can be assigned to an unhealthy node. * 2. The existing VMs continue to work on the node, but after stop/start via * Compute API they most probably will be assigned to a different node. * * To use this rpc one needs to obtain `compute.node.setUnhealthy` permission * for the VM's parent container. The permission is granted to the TSA inside the VM. * */ setUnhealthy(request: NodeSetUnhealthyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.compute.v1.NodeService` service through the Nebius SDK. */ export declare class NodeService implements NodeService { private sdk; $type: "nebius.compute.v1.NodeService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** * SetUnhealthy marks the node underlying the Compute VM as unhealthy, which has the following effect: * * 1. Scheduler makes the best effort not to assign new VMs to the unhealthy node, * but in case of no capacity, the VM can be assigned to an unhealthy node. * 2. The existing VMs continue to work on the node, but after stop/start via * Compute API they most probably will be assigned to a different node. * * To use this rpc one needs to obtain `compute.node.setUnhealthy` permission * for the VM's parent container. The permission is granted to the TSA inside the VM. * */ setUnhealthy(request: NodeSetUnhealthyRequest): SDKRequestClass; /** * SetUnhealthy marks the node underlying the Compute VM as unhealthy, which has the following effect: * * 1. Scheduler makes the best effort not to assign new VMs to the unhealthy node, * but in case of no capacity, the VM can be assigned to an unhealthy node. * 2. The existing VMs continue to work on the node, but after stop/start via * Compute API they most probably will be assigned to a different node. * * To use this rpc one needs to obtain `compute.node.setUnhealthy` permission * for the VM's parent container. The permission is granted to the TSA inside the VM. * */ setUnhealthy(request: NodeSetUnhealthyRequest, metadata: Metadata): SDKRequestClass; /** * SetUnhealthy marks the node underlying the Compute VM as unhealthy, which has the following effect: * * 1. Scheduler makes the best effort not to assign new VMs to the unhealthy node, * but in case of no capacity, the VM can be assigned to an unhealthy node. * 2. The existing VMs continue to work on the node, but after stop/start via * Compute API they most probably will be assigned to a different node. * * To use this rpc one needs to obtain `compute.node.setUnhealthy` permission * for the VM's parent container. The permission is granted to the TSA inside the VM. * */ setUnhealthy(request: NodeSetUnhealthyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** Represents the `nebius.compute.v1.CreateNVLInstanceGroupRequest` protobuf message. */ export interface CreateNVLInstanceGroupRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.CreateNVLInstanceGroupRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: NVLInstanceGroupSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateNVLInstanceGroupRequest} messages. */ export declare const CreateNVLInstanceGroupRequest: MessageFns; /** Represents the `nebius.compute.v1.UpdateNVLInstanceGroupRequest` protobuf message. */ export interface UpdateNVLInstanceGroupRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.UpdateNVLInstanceGroupRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: NVLInstanceGroupSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateNVLInstanceGroupRequest} messages. */ export declare const UpdateNVLInstanceGroupRequest: MessageFns; /** Represents the `nebius.compute.v1.GetNVLInstanceGroupRequest` protobuf message. */ export interface GetNVLInstanceGroupRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.GetNVLInstanceGroupRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetNVLInstanceGroupRequest} messages. */ export declare const GetNVLInstanceGroupRequest: MessageFns; /** Represents the `nebius.compute.v1.ListNVLInstanceGroupsRequest` protobuf message. */ export interface ListNVLInstanceGroupsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListNVLInstanceGroupsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Identifier of the parent project for the NVL InstanceGroup. * */ parentId: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; } /** Encodes, decodes, converts, and creates {@link ListNVLInstanceGroupsRequest} messages. */ export declare const ListNVLInstanceGroupsRequest: MessageFns; /** Represents the `nebius.compute.v1.ListNVLInstanceGroupsResponse` protobuf message. */ export interface ListNVLInstanceGroupsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListNVLInstanceGroupsResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: NVLInstanceGroup[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListNVLInstanceGroupsResponse} messages. */ export declare const ListNVLInstanceGroupsResponse: MessageFns; /** Represents the `nebius.compute.v1.DeleteNVLInstanceGroupRequest` protobuf message. */ export interface DeleteNVLInstanceGroupRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.DeleteNVLInstanceGroupRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteNVLInstanceGroupRequest} messages. */ export declare const DeleteNVLInstanceGroupRequest: MessageFns; /** * Defines the gRPC methods for the `nebius.compute.v1.NVLInstanceGroupService` service. */ export type NVLInstanceGroupServiceServiceDescription = typeof NVLInstanceGroupServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.compute.v1.NVLInstanceGroupService` service. */ export declare const NVLInstanceGroupServiceServiceDescription: { readonly create: { readonly path: "/nebius.compute.v1.NVLInstanceGroupService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateNVLInstanceGroupRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateNVLInstanceGroupRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly get: { readonly path: "/nebius.compute.v1.NVLInstanceGroupService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetNVLInstanceGroupRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetNVLInstanceGroupRequest; readonly responseSerialize: (value: NVLInstanceGroup) => Buffer; readonly responseDeserialize: (value: Buffer) => NVLInstanceGroup; }; readonly getByName: { readonly path: "/nebius.compute.v1.NVLInstanceGroupService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetByNameRequest; readonly responseSerialize: (value: NVLInstanceGroup) => Buffer; readonly responseDeserialize: (value: Buffer) => NVLInstanceGroup; }; readonly list: { readonly path: "/nebius.compute.v1.NVLInstanceGroupService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListNVLInstanceGroupsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListNVLInstanceGroupsRequest; readonly responseSerialize: (value: ListNVLInstanceGroupsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListNVLInstanceGroupsResponse; }; readonly update: { readonly path: "/nebius.compute.v1.NVLInstanceGroupService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateNVLInstanceGroupRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateNVLInstanceGroupRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.compute.v1.NVLInstanceGroupService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteNVLInstanceGroupRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteNVLInstanceGroupRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.compute.v1.NVLInstanceGroupService` service. */ export interface NVLInstanceGroupServiceServer extends UntypedServiceImplementation { /** * Create creates a new NVL InstanceGroup. * */ create: handleUnaryCall; /** * Get retrieves the specified NVL InstanceGroup by its ID. * */ get: handleUnaryCall; /** * GetByName retrieves the specified NVL InstanceGroup by its parent and name. * */ getByName: handleUnaryCall; /** * List lists all NVL InstanceGroups in the specified parent. * */ list: handleUnaryCall; /** * Update modifies the specified NVL InstanceGroup by its ID. * */ update: handleUnaryCall; /** * Delete deletes the specified NVL InstanceGroup by its ID. * */ delete: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.compute.v1.NVLInstanceGroupService` service. */ export interface NVLInstanceGroupServiceBaseClient extends Client { /** * Create creates a new NVL InstanceGroup. * */ create(request: CreateNVLInstanceGroupRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Get retrieves the specified NVL InstanceGroup by its ID. * */ get(request: GetNVLInstanceGroupRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: NVLInstanceGroup) => void): ClientUnaryCall; /** * GetByName retrieves the specified NVL InstanceGroup by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: NVLInstanceGroup) => void): ClientUnaryCall; /** * List lists all NVL InstanceGroups in the specified parent. * */ list(request: ListNVLInstanceGroupsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListNVLInstanceGroupsResponse) => void): ClientUnaryCall; /** * Update modifies the specified NVL InstanceGroup by its ID. * */ update(request: UpdateNVLInstanceGroupRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Delete deletes the specified NVL InstanceGroup by its ID. * */ delete(request: DeleteNVLInstanceGroupRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.compute.v1.NVLInstanceGroupService` service. */ export declare const NVLInstanceGroupServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): NVLInstanceGroupServiceBaseClient; /** Contains the gRPC service description. */ service: typeof NVLInstanceGroupServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Service for managing NVLink InstanceGroups. * */ export interface NVLInstanceGroupService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.compute.v1.NVLInstanceGroupService"; /** * Create creates a new NVL InstanceGroup. * */ create(request: CreateNVLInstanceGroupRequest): SDKRequestClass>; /** * Create creates a new NVL InstanceGroup. * */ create(request: CreateNVLInstanceGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Create creates a new NVL InstanceGroup. * */ create(request: CreateNVLInstanceGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Get retrieves the specified NVL InstanceGroup by its ID. * */ get(request: GetNVLInstanceGroupRequest): SDKRequestClass; /** * Get retrieves the specified NVL InstanceGroup by its ID. * */ get(request: GetNVLInstanceGroupRequest, metadata: Metadata): SDKRequestClass; /** * Get retrieves the specified NVL InstanceGroup by its ID. * */ get(request: GetNVLInstanceGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * GetByName retrieves the specified NVL InstanceGroup by its parent and name. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * GetByName retrieves the specified NVL InstanceGroup by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * GetByName retrieves the specified NVL InstanceGroup by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * List lists all NVL InstanceGroups in the specified parent. * */ list(request: ListNVLInstanceGroupsRequest): SDKRequestClass; /** * List lists all NVL InstanceGroups in the specified parent. * */ list(request: ListNVLInstanceGroupsRequest, metadata: Metadata): SDKRequestClass; /** * List lists all NVL InstanceGroups in the specified parent. * */ list(request: ListNVLInstanceGroupsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Update modifies the specified NVL InstanceGroup by its ID. * */ update(request: UpdateNVLInstanceGroupRequest): SDKRequestClass>; /** * Update modifies the specified NVL InstanceGroup by its ID. * */ update(request: UpdateNVLInstanceGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Update modifies the specified NVL InstanceGroup by its ID. * */ update(request: UpdateNVLInstanceGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Delete deletes the specified NVL InstanceGroup by its ID. * */ delete(request: DeleteNVLInstanceGroupRequest): SDKRequestClass>; /** * Delete deletes the specified NVL InstanceGroup by its ID. * */ delete(request: DeleteNVLInstanceGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Delete deletes the specified NVL InstanceGroup by its ID. * */ delete(request: DeleteNVLInstanceGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.compute.v1.NVLInstanceGroupService` service through the Nebius SDK. */ export declare class NVLInstanceGroupService implements NVLInstanceGroupService { private sdk; $type: "nebius.compute.v1.NVLInstanceGroupService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Create creates a new NVL InstanceGroup. * */ create(request: CreateNVLInstanceGroupRequest): SDKRequestClass>; /** * Create creates a new NVL InstanceGroup. * */ create(request: CreateNVLInstanceGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Create creates a new NVL InstanceGroup. * */ create(request: CreateNVLInstanceGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Get retrieves the specified NVL InstanceGroup by its ID. * */ get(request: GetNVLInstanceGroupRequest): SDKRequestClass; /** * Get retrieves the specified NVL InstanceGroup by its ID. * */ get(request: GetNVLInstanceGroupRequest, metadata: Metadata): SDKRequestClass; /** * Get retrieves the specified NVL InstanceGroup by its ID. * */ get(request: GetNVLInstanceGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * GetByName retrieves the specified NVL InstanceGroup by its parent and name. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * GetByName retrieves the specified NVL InstanceGroup by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * GetByName retrieves the specified NVL InstanceGroup by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * List lists all NVL InstanceGroups in the specified parent. * */ list(request: ListNVLInstanceGroupsRequest): SDKRequestClass; /** * List lists all NVL InstanceGroups in the specified parent. * */ list(request: ListNVLInstanceGroupsRequest, metadata: Metadata): SDKRequestClass; /** * List lists all NVL InstanceGroups in the specified parent. * */ list(request: ListNVLInstanceGroupsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Update modifies the specified NVL InstanceGroup by its ID. * */ update(request: UpdateNVLInstanceGroupRequest): SDKRequestClass>; /** * Update modifies the specified NVL InstanceGroup by its ID. * */ update(request: UpdateNVLInstanceGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Update modifies the specified NVL InstanceGroup by its ID. * */ update(request: UpdateNVLInstanceGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Delete deletes the specified NVL InstanceGroup by its ID. * */ delete(request: DeleteNVLInstanceGroupRequest): SDKRequestClass>; /** * Delete deletes the specified NVL InstanceGroup by its ID. * */ delete(request: DeleteNVLInstanceGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Delete deletes the specified NVL InstanceGroup by its ID. * */ delete(request: DeleteNVLInstanceGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Type of the NVLink InstanceGroup. * */ export type NVLInstanceGroupSpec_NVLInstanceGroupType = EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "GB200" | "GB300">; /** Defines the static values of {@link NVLInstanceGroupSpec_NVLInstanceGroupType}. */ export interface NVLInstanceGroupSpec_NVLInstanceGroupTypeValueMembers { /** * Represents the `UNSPECIFIED` protobuf enum value. */ readonly UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "GB200" | "GB300">; /** * Represents the `GB200` protobuf enum value. */ readonly GB200: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "GB200" | "GB300">; /** * Represents the `GB300` protobuf enum value. */ readonly GB300: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "GB200" | "GB300">; } /** Defines the runtime API for {@link NVLInstanceGroupSpec_NVLInstanceGroupType}. */ export type NVLInstanceGroupSpec_NVLInstanceGroupTypeClass = EnumClass<"UNRECOGNIZED" | "UNSPECIFIED" | "GB200" | "GB300"> & NVLInstanceGroupSpec_NVLInstanceGroupTypeValueMembers; /** Converts and creates {@link NVLInstanceGroupSpec_NVLInstanceGroupType} values. */ export declare const NVLInstanceGroupSpec_NVLInstanceGroupType: NVLInstanceGroupSpec_NVLInstanceGroupTypeClass; /** * Represents an NVLink InstanceGroup. * */ export interface NVLInstanceGroup { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.NVLInstanceGroup"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: NVLInstanceGroupSpec | undefined; /** Contains the `status` protobuf field. */ status?: NVLInstanceGroupStatus | undefined; } /** Encodes, decodes, converts, and creates {@link NVLInstanceGroup} messages. */ export declare const NVLInstanceGroup: MessageFns; /** Represents the `nebius.compute.v1.NVLInstanceGroupSpec` protobuf message. */ export interface NVLInstanceGroupSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.NVLInstanceGroupSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Type of the NVLink InstanceGroup (corresponds to the Compute platform) * */ type: NVLInstanceGroupSpec_NVLInstanceGroupType; /** * Maximum number of instances in the NVLink InstanceGroup * */ size: Long; } /** Encodes, decodes, converts, and creates {@link NVLInstanceGroupSpec} messages. */ export declare const NVLInstanceGroupSpec: MessageFns; /** Represents the `nebius.compute.v1.NVLInstanceGroupStatus` protobuf message. */ export interface NVLInstanceGroupStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.NVLInstanceGroupStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Instances that are associated with this NVLink InstanceGroup * */ instances: { [key: string]: NVLInstanceGroupStatus_InstanceInfo; }; /** * Indicates whether there is an ongoing operation with any VM in the InstanceGroup * */ reconciling: boolean; } /** Encodes, decodes, converts, and creates {@link NVLInstanceGroupStatus} messages. */ export declare const NVLInstanceGroupStatus: MessageFns; /** Represents the `nebius.compute.v1.NVLInstanceGroupStatus.InstanceInfo` protobuf message. */ export interface NVLInstanceGroupStatus_InstanceInfo { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.NVLInstanceGroupStatus.InstanceInfo"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Current state of the instance. * */ instanceState: InstanceStatus_InstanceState; } /** Encodes, decodes, converts, and creates {@link NVLInstanceGroupStatus_InstanceInfo} messages. */ export declare const NVLInstanceGroupStatus_InstanceInfo: MessageFns; /** Represents the `nebius.compute.v1.ListOperationsByParentRequest` protobuf message. */ export interface ListOperationsByParentRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListOperationsByParentRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * ID of the parent to list operations for resource type at. * */ parentId: string; /** * Page size. [1...1000]. Optional, if not specified, a reasonable default will be chosen by the service. * */ pageSize: Long; /** * Listing continuation token. Empty to start listing from the first page. * */ pageToken: string; } /** Encodes, decodes, converts, and creates {@link ListOperationsByParentRequest} messages. */ export declare const ListOperationsByParentRequest: MessageFns; /** Represents the `nebius.compute.v1.ListPlatformsRequest` protobuf message. */ export interface ListPlatformsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListPlatformsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; /** Contains the `parent_id` protobuf field. */ parentId: string; } /** Encodes, decodes, converts, and creates {@link ListPlatformsRequest} messages. */ export declare const ListPlatformsRequest: MessageFns; /** Represents the `nebius.compute.v1.ListPlatformsResponse` protobuf message. */ export interface ListPlatformsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.ListPlatformsResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: Platform[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListPlatformsResponse} messages. */ export declare const ListPlatformsResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.compute.v1.PlatformService` service. */ export type PlatformServiceServiceDescription = typeof PlatformServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.compute.v1.PlatformService` service. */ export declare const PlatformServiceServiceDescription: { readonly getByName: { readonly path: "/nebius.compute.v1.PlatformService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetByNameRequest; readonly responseSerialize: (value: Platform) => Buffer; readonly responseDeserialize: (value: Buffer) => Platform; }; readonly list: { readonly path: "/nebius.compute.v1.PlatformService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListPlatformsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListPlatformsRequest; readonly responseSerialize: (value: ListPlatformsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListPlatformsResponse; }; }; /** * Handles server calls for the `nebius.compute.v1.PlatformService` service. */ export interface PlatformServiceServer extends UntypedServiceImplementation { /** * Retrieves detailed information about a specific compute platform by its parent and name. * */ getByName: handleUnaryCall; /** * Lists all compute platforms within a specified parent. * */ list: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.compute.v1.PlatformService` service. */ export interface PlatformServiceBaseClient extends Client { /** * Retrieves detailed information about a specific compute platform by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Platform) => void): ClientUnaryCall; /** * Lists all compute platforms within a specified parent. * */ list(request: ListPlatformsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListPlatformsResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.compute.v1.PlatformService` service. */ export declare const PlatformServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): PlatformServiceBaseClient; /** Contains the gRPC service description. */ service: typeof PlatformServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.compute.v1.PlatformService` service. */ export interface PlatformService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.compute.v1.PlatformService"; /** * Retrieves detailed information about a specific compute platform by its parent and name. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Retrieves detailed information about a specific compute platform by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves detailed information about a specific compute platform by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists all compute platforms within a specified parent. * */ list(request: ListPlatformsRequest): SDKRequestClass; /** * Lists all compute platforms within a specified parent. * */ list(request: ListPlatformsRequest, metadata: Metadata): SDKRequestClass; /** * Lists all compute platforms within a specified parent. * */ list(request: ListPlatformsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.compute.v1.PlatformService` service through the Nebius SDK. */ export declare class PlatformService implements PlatformService { private sdk; $type: "nebius.compute.v1.PlatformService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** * Retrieves detailed information about a specific compute platform by its parent and name. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Retrieves detailed information about a specific compute platform by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves detailed information about a specific compute platform by its parent and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists all compute platforms within a specified parent. * */ list(request: ListPlatformsRequest): SDKRequestClass; /** * Lists all compute platforms within a specified parent. * */ list(request: ListPlatformsRequest, metadata: Metadata): SDKRequestClass; /** * Lists all compute platforms within a specified parent. * */ list(request: ListPlatformsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** Represents the `nebius.compute.v1.Platform` protobuf message. */ export interface Platform { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.Platform"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: PlatformSpec | undefined; /** Contains the `status` protobuf field. */ status?: PlatformStatus | undefined; } /** Encodes, decodes, converts, and creates {@link Platform} messages. */ export declare const Platform: MessageFns; /** Represents the `nebius.compute.v1.PlatformSpec` protobuf message. */ export interface PlatformSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.PlatformSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `presets` protobuf field. */ presets: Preset[]; /** Contains the `gpu_count_quota_type` protobuf field. */ gpuCountQuotaType: string; /** Contains the `human_readable_name` protobuf field. */ humanReadableName: string; /** Contains the `allow_preset_change` protobuf field. */ allowPresetChange: boolean; /** Contains the `short_human_readable_name` protobuf field. */ shortHumanReadableName: string; /** @deprecated Deprecated, will be removed on 2026-02-10: Use field 'gpu_memory_gigabytes' instead. */ gpuMemoryGibibytes: number; /** Contains the `gpu_memory_gigabytes` protobuf field. */ gpuMemoryGigabytes: number; } /** Encodes, decodes, converts, and creates {@link PlatformSpec} messages. */ export declare const PlatformSpec: MessageFns; /** Represents the `nebius.compute.v1.Preset` protobuf message. */ export interface Preset { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.Preset"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `name` protobuf field. */ name: string; /** Contains the `resources` protobuf field. */ resources?: PresetResources | undefined; /** Contains the `allow_gpu_clustering` protobuf field. */ allowGpuClustering: boolean; } /** Encodes, decodes, converts, and creates {@link Preset} messages. */ export declare const Preset: MessageFns; /** Represents the `nebius.compute.v1.PresetResources` protobuf message. */ export interface PresetResources { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.PresetResources"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `vcpu_count` protobuf field. */ vcpuCount: number; /** Contains the `memory_gibibytes` protobuf field. */ memoryGibibytes: number; /** Contains the `gpu_count` protobuf field. */ gpuCount: number; /** @deprecated Deprecated, will be removed on 2026-01-10: Use field 'platform.spec.gpu_memory_gibibytes' instead. */ gpuMemoryGibibytes: number; } /** Encodes, decodes, converts, and creates {@link PresetResources} messages. */ export declare const PresetResources: MessageFns; /** Represents the `nebius.compute.v1.PlatformStatus` protobuf message. */ export interface PlatformStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.compute.v1.PlatformStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `allowed_for_preemptibles` protobuf field. */ allowedForPreemptibles: boolean; } /** Encodes, decodes, converts, and creates {@link PlatformStatus} messages. */ export declare const PlatformStatus: MessageFns; //# sourceMappingURL=index.d.ts.map