import { Long, unknownFieldsSymbol } from "../../../../runtime/protos/index.js"; import type { Duration, 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 { ResourceMetadata } from "../../common/v1/index.js"; import { GetOperationRequest, Operation, OperationService } from "../../common/v1alpha1/index.js"; /** Represents the `nebius.mk8s.v1alpha1.CreateClusterRequest` protobuf message. */ export interface CreateClusterRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.CreateClusterRequest"; /** 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?: ClusterSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateClusterRequest} messages. */ export declare const CreateClusterRequest: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.GetClusterRequest` protobuf message. */ export interface GetClusterRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.GetClusterRequest"; /** 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 `resource_version` protobuf field. */ resourceVersion: string; } /** Encodes, decodes, converts, and creates {@link GetClusterRequest} messages. */ export declare const GetClusterRequest: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.GetClusterByNameRequest` protobuf message. */ export interface GetClusterByNameRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.GetClusterByNameRequest"; /** 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 `name` protobuf field. */ name: string; } /** Encodes, decodes, converts, and creates {@link GetClusterByNameRequest} messages. */ export declare const GetClusterByNameRequest: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.ListClustersRequest` protobuf message. */ export interface ListClustersRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.ListClustersRequest"; /** 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 IAM container we are listing the resources in. * */ parentId: string; /** * Specifies the maximum number of items to return in the response. * */ pageSize: Long; /** * Token for pagination, allowing the retrieval of the next set of results. * */ pageToken: string; } /** Encodes, decodes, converts, and creates {@link ListClustersRequest} messages. */ export declare const ListClustersRequest: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.ListClustersResponse` protobuf message. */ export interface ListClustersResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.ListClustersResponse"; /** 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: Cluster[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListClustersResponse} messages. */ export declare const ListClustersResponse: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.UpdateClusterRequest` protobuf message. */ export interface UpdateClusterRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.UpdateClusterRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Metadata associated with the instance. * Includes ID of the instance to update. * */ metadata?: ResourceMetadata | undefined; /** * Updated specifications for the instance. * */ spec?: ClusterSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateClusterRequest} messages. */ export declare const UpdateClusterRequest: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.DeleteClusterRequest` protobuf message. */ export interface DeleteClusterRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.DeleteClusterRequest"; /** 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 DeleteClusterRequest} messages. */ export declare const DeleteClusterRequest: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.ListClusterControlPlaneVersionsRequest` protobuf message. */ export interface ListClusterControlPlaneVersionsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.ListClusterControlPlaneVersionsRequest"; /** 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 ListClusterControlPlaneVersionsRequest} messages. */ export declare const ListClusterControlPlaneVersionsRequest: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.ListClusterControlPlaneVersionsResponse` protobuf message. */ export interface ListClusterControlPlaneVersionsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.ListClusterControlPlaneVersionsResponse"; /** 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: ClusterControlPlaneVersion[]; } /** Encodes, decodes, converts, and creates {@link ListClusterControlPlaneVersionsResponse} messages. */ export declare const ListClusterControlPlaneVersionsResponse: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.ClusterControlPlaneVersion` protobuf message. */ export interface ClusterControlPlaneVersion { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.ClusterControlPlaneVersion"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Format of the version includes only MAJOR.MINOR, the same as can be passed to cluster creation API. For example "1.31". * */ version: string; } /** Encodes, decodes, converts, and creates {@link ClusterControlPlaneVersion} messages. */ export declare const ClusterControlPlaneVersion: MessageFns; /** * Defines the gRPC methods for the `nebius.mk8s.v1alpha1.ClusterService` service. * @deprecated Deprecated: Cluster v1alpha1 API is deprecated, please migrate to v1.. */ export type ClusterServiceServiceDescription = typeof ClusterServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.mk8s.v1alpha1.ClusterService` service. * @deprecated Deprecated: Cluster v1alpha1 API is deprecated, please migrate to v1.. */ export declare const ClusterServiceServiceDescription: { readonly get: { readonly path: "/nebius.mk8s.v1alpha1.ClusterService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetClusterRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetClusterRequest; readonly responseSerialize: (value: Cluster) => Buffer; readonly responseDeserialize: (value: Buffer) => Cluster; }; readonly getByName: { readonly path: "/nebius.mk8s.v1alpha1.ClusterService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetClusterByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetClusterByNameRequest; readonly responseSerialize: (value: Cluster) => Buffer; readonly responseDeserialize: (value: Buffer) => Cluster; }; readonly list: { readonly path: "/nebius.mk8s.v1alpha1.ClusterService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListClustersRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListClustersRequest; readonly responseSerialize: (value: ListClustersResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListClustersResponse; }; readonly create: { readonly path: "/nebius.mk8s.v1alpha1.ClusterService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateClusterRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateClusterRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly update: { readonly path: "/nebius.mk8s.v1alpha1.ClusterService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateClusterRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateClusterRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.mk8s.v1alpha1.ClusterService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteClusterRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteClusterRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly listControlPlaneVersions: { readonly path: "/nebius.mk8s.v1alpha1.ClusterService/ListControlPlaneVersions"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListClusterControlPlaneVersionsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListClusterControlPlaneVersionsRequest; readonly responseSerialize: (value: ListClusterControlPlaneVersionsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListClusterControlPlaneVersionsResponse; }; }; /** * Handles server calls for the `nebius.mk8s.v1alpha1.ClusterService` service. * @deprecated Deprecated: Cluster v1alpha1 API is deprecated, please migrate to v1.. */ export interface ClusterServiceServer extends UntypedServiceImplementation { /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `GetByName` RPC. */ getByName: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; /** * Handles the `Create` RPC. */ create: handleUnaryCall; /** * Handles the `Update` RPC. */ update: handleUnaryCall; /** * Handles the `Delete` RPC. */ delete: handleUnaryCall; /** * ListControlPlaneVersions returns all k8s release versions available in Nebius API. * */ listControlPlaneVersions: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.mk8s.v1alpha1.ClusterService` service. * @deprecated Deprecated: Cluster v1alpha1 API is deprecated, please migrate to v1.. */ export interface ClusterServiceBaseClient extends Client { /** * Calls the `Get` RPC. */ get(request: GetClusterRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Cluster) => void): ClientUnaryCall; /** * Calls the `GetByName` RPC. */ getByName(request: GetClusterByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Cluster) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListClustersRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListClustersResponse) => void): ClientUnaryCall; /** * Calls the `Create` RPC. */ create(request: CreateClusterRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Update` RPC. */ update(request: UpdateClusterRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Delete` RPC. */ delete(request: DeleteClusterRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * ListControlPlaneVersions returns all k8s release versions available in Nebius API. * */ listControlPlaneVersions(request: ListClusterControlPlaneVersionsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListClusterControlPlaneVersionsResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.mk8s.v1alpha1.ClusterService` service. * @deprecated Deprecated: Cluster v1alpha1 API is deprecated, please migrate to v1.. */ export declare const ClusterServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): ClusterServiceBaseClient; /** Contains the gRPC service description. */ service: typeof ClusterServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.mk8s.v1alpha1.ClusterService` service. * @deprecated Deprecated: Cluster v1alpha1 API is deprecated, please migrate to v1.. */ export interface ClusterService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.mk8s.v1alpha1.ClusterService"; /** * Calls the `Get` RPC. */ get(request: GetClusterRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetClusterRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetClusterRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetClusterByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetClusterByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetClusterByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListClustersRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListClustersRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListClustersRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Create` RPC. */ create(request: CreateClusterRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateClusterRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateClusterRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateClusterRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateClusterRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateClusterRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteClusterRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteClusterRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteClusterRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * ListControlPlaneVersions returns all k8s release versions available in Nebius API. * */ listControlPlaneVersions(request: ListClusterControlPlaneVersionsRequest): SDKRequestClass; /** * ListControlPlaneVersions returns all k8s release versions available in Nebius API. * */ listControlPlaneVersions(request: ListClusterControlPlaneVersionsRequest, metadata: Metadata): SDKRequestClass; /** * ListControlPlaneVersions returns all k8s release versions available in Nebius API. * */ listControlPlaneVersions(request: ListClusterControlPlaneVersionsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.mk8s.v1alpha1.ClusterService` service through the Nebius SDK. * @deprecated Deprecated: Cluster v1alpha1 API is deprecated, please migrate to v1.. */ export declare class ClusterService implements ClusterService { private sdk; $type: "nebius.mk8s.v1alpha1.ClusterService"; private addr; private spec; /** * @deprecated Deprecated: Cluster v1alpha1 API is deprecated, please migrate to v1.. */ private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Calls the `Get` RPC. */ get(request: GetClusterRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetClusterRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetClusterRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetClusterByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetClusterByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetClusterByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListClustersRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListClustersRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListClustersRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Create` RPC. */ create(request: CreateClusterRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateClusterRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateClusterRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateClusterRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateClusterRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateClusterRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteClusterRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteClusterRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteClusterRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * ListControlPlaneVersions returns all k8s release versions available in Nebius API. * */ listControlPlaneVersions(request: ListClusterControlPlaneVersionsRequest): SDKRequestClass; /** * ListControlPlaneVersions returns all k8s release versions available in Nebius API. * */ listControlPlaneVersions(request: ListClusterControlPlaneVersionsRequest, metadata: Metadata): SDKRequestClass; /** * ListControlPlaneVersions returns all k8s release versions available in Nebius API. * */ listControlPlaneVersions(request: ListClusterControlPlaneVersionsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Represents the `nebius.mk8s.v1alpha1.ClusterStatus.State` protobuf enum. */ export type ClusterStatus_State = EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "RUNNING" | "DELETING">; /** Defines the static values of {@link ClusterStatus_State}. */ export interface ClusterStatus_StateValueMembers { /** * Represents the `STATE_UNSPECIFIED` protobuf enum value. */ readonly STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "RUNNING" | "DELETING">; /** * Represents the `PROVISIONING` protobuf enum value. */ readonly PROVISIONING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "RUNNING" | "DELETING">; /** * Represents the `RUNNING` protobuf enum value. */ readonly RUNNING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "RUNNING" | "DELETING">; /** * Represents the `DELETING` protobuf enum value. */ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "RUNNING" | "DELETING">; } /** Defines the runtime API for {@link ClusterStatus_State}. */ export type ClusterStatus_StateClass = EnumClass<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "RUNNING" | "DELETING"> & ClusterStatus_StateValueMembers; /** Converts and creates {@link ClusterStatus_State} values. */ export declare const ClusterStatus_State: ClusterStatus_StateClass; /** Represents the `nebius.mk8s.v1alpha1.Cluster` protobuf message. */ export interface Cluster { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.Cluster"; /** 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?: ClusterSpec | undefined; /** Contains the `status` protobuf field. */ status?: ClusterStatus | undefined; } /** Encodes, decodes, converts, and creates {@link Cluster} messages. */ export declare const Cluster: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.ClusterSpec` protobuf message. */ export interface ClusterSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.ClusterSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `control_plane` protobuf field. */ controlPlane?: ControlPlaneSpec | undefined; /** * Defines kubernetes network configuration, like IP allocation. * */ kubeNetwork?: KubeNetworkSpec | undefined; } /** Encodes, decodes, converts, and creates {@link ClusterSpec} messages. */ export declare const ClusterSpec: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.ControlPlaneSpec` protobuf message. */ export interface ControlPlaneSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.ControlPlaneSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Version is desired Kubernetes version of the cluster. For now only acceptable format is * `MAJOR.MINOR` like "1.31". Option for patch version update will be added later. * */ version: string; /** * Subnet ID where control plane instances will be located. * */ subnetId: string; /** Contains the `endpoints` protobuf field. */ endpoints?: ControlPlaneEndpointsSpec | undefined; /** * Number of instances in etcd cluster. * 3 by default. * Control plane with `etcd_cluster_size: 3` called "Highly Available" ("HA"), because it's Kubernetes API * will be available despite a failure of one control plane instance. * */ etcdClusterSize: Long; } /** Encodes, decodes, converts, and creates {@link ControlPlaneSpec} messages. */ export declare const ControlPlaneSpec: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.ControlPlaneEndpointsSpec` protobuf message. */ export interface ControlPlaneEndpointsSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.ControlPlaneEndpointsSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * PublicEndpointSpec is a specification of public endpoint for control plane. * */ publicEndpoint?: PublicEndpointSpec | undefined; } /** Encodes, decodes, converts, and creates {@link ControlPlaneEndpointsSpec} messages. */ export declare const ControlPlaneEndpointsSpec: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.PublicEndpointSpec` protobuf message. */ export interface PublicEndpointSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.PublicEndpointSpec"; /** 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 PublicEndpointSpec} messages. */ export declare const PublicEndpointSpec: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.KubeNetworkSpec` protobuf message. */ export interface KubeNetworkSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.KubeNetworkSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * CIDR blocks for Service ClusterIP allocation. * For now, only one value is supported. * Must be a valid CIDR block or prefix length. * In case of prefix length, certain CIDR is auto allocated. * Specified CIDR blocks will be reserved in Cluster.spec.control_plane.subnet_id to prevent address duplication. * Allowed prefix length is from "/12" to "/28". * Empty value treated as ["/16"]. * */ serviceCidrs: string[]; } /** Encodes, decodes, converts, and creates {@link KubeNetworkSpec} messages. */ export declare const KubeNetworkSpec: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.ClusterStatus` protobuf message. */ export interface ClusterStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.ClusterStatus"; /** 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: ClusterStatus_State; /** Contains the `control_plane` protobuf field. */ controlPlane?: ControlPlaneStatus | undefined; /** * Show that changes are in flight * */ reconciling: boolean; } /** Encodes, decodes, converts, and creates {@link ClusterStatus} messages. */ export declare const ClusterStatus: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.ControlPlaneStatus` protobuf message. */ export interface ControlPlaneStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.ControlPlaneStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Version have format `major.minor.patch-nebius-cp.n` like "1.30.0-nebius-cp.3". * */ version: string; /** Contains the `endpoints` protobuf field. */ endpoints?: ControlPlaneStatusEndpoints | undefined; /** * Number of instances in etcd cluster. * */ etcdClusterSize: Long; /** Contains the `auth` protobuf field. */ auth?: ControlPlaneStatusAuth | undefined; } /** Encodes, decodes, converts, and creates {@link ControlPlaneStatus} messages. */ export declare const ControlPlaneStatus: MessageFns; /** * Endpoints of Kubernetes control plane. Kubernetes API can be accessed at `https://endpoint/`. * */ export interface ControlPlaneStatusEndpoints { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.ControlPlaneStatusEndpoints"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * DNS name or IP address accessible from the Internet. * */ publicEndpoint: string; /** * DNS name or IP address accessible from the user VPC. * */ privateEndpoint: string; } /** Encodes, decodes, converts, and creates {@link ControlPlaneStatusEndpoints} messages. */ export declare const ControlPlaneStatusEndpoints: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.ControlPlaneStatusAuth` protobuf message. */ export interface ControlPlaneStatusAuth { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.ControlPlaneStatusAuth"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `cluster_ca_certificate` protobuf field. */ clusterCaCertificate: string; } /** Encodes, decodes, converts, and creates {@link ControlPlaneStatusAuth} messages. */ export declare const ControlPlaneStatusAuth: MessageFns; /** * Represents the `nebius.mk8s.v1alpha1.DiskSpec.DiskType` protobuf enum. */ export type DiskSpec_DiskType = EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "NETWORK_SSD_IO_M3" | "NETWORK_SSD_NON_REPLICATED">; /** 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_IO_M3" | "NETWORK_SSD_NON_REPLICATED">; /** * the list of available types will be clarified later, it is not final version * */ readonly NETWORK_SSD: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "NETWORK_SSD_IO_M3" | "NETWORK_SSD_NON_REPLICATED">; /** * Represents the `NETWORK_HDD` protobuf enum value. */ readonly NETWORK_HDD: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "NETWORK_SSD_IO_M3" | "NETWORK_SSD_NON_REPLICATED">; /** * Represents the `NETWORK_SSD_IO_M3` protobuf enum value. */ readonly NETWORK_SSD_IO_M3: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "NETWORK_SSD_IO_M3" | "NETWORK_SSD_NON_REPLICATED">; /** * Represents the `NETWORK_SSD_NON_REPLICATED` protobuf enum value. */ readonly NETWORK_SSD_NON_REPLICATED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "NETWORK_SSD_IO_M3" | "NETWORK_SSD_NON_REPLICATED">; } /** Defines the runtime API for {@link DiskSpec_DiskType}. */ export type DiskSpec_DiskTypeClass = EnumClass<"UNRECOGNIZED" | "UNSPECIFIED" | "NETWORK_SSD" | "NETWORK_HDD" | "NETWORK_SSD_IO_M3" | "NETWORK_SSD_NON_REPLICATED"> & DiskSpec_DiskTypeValueMembers; /** Converts and creates {@link DiskSpec_DiskType} values. */ export declare const DiskSpec_DiskType: DiskSpec_DiskTypeClass; /** Represents the `nebius.mk8s.v1alpha1.DiskSpec` protobuf message. */ export interface DiskSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.DiskSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `block_size_bytes` protobuf field. */ blockSizeBytes: Long; /** Contains the `type` protobuf field. */ type: DiskSpec_DiskType; /** Contains the selected value for the `size` protobuf oneof. */ size?: { $case: "sizeBytes"; sizeBytes: Long; } | { $case: "sizeKibibytes"; sizeKibibytes: Long; } | { $case: "sizeMebibytes"; sizeMebibytes: Long; } | { $case: "sizeGibibytes"; sizeGibibytes: Long; } | undefined; } /** Encodes, decodes, converts, and creates {@link DiskSpec} messages. */ export declare const DiskSpec: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.ResourcesSpec` protobuf message. */ export interface ResourcesSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.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.mk8s.v1alpha1.CreateNodeGroupRequest` protobuf message. */ export interface CreateNodeGroupRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.CreateNodeGroupRequest"; /** 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?: NodeGroupSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateNodeGroupRequest} messages. */ export declare const CreateNodeGroupRequest: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.GetNodeGroupRequest` protobuf message. */ export interface GetNodeGroupRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.GetNodeGroupRequest"; /** 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 `resource_version` protobuf field. */ resourceVersion: string; } /** Encodes, decodes, converts, and creates {@link GetNodeGroupRequest} messages. */ export declare const GetNodeGroupRequest: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.GetNodeGroupByNameRequest` protobuf message. */ export interface GetNodeGroupByNameRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.GetNodeGroupByNameRequest"; /** 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 `name` protobuf field. */ name: string; } /** Encodes, decodes, converts, and creates {@link GetNodeGroupByNameRequest} messages. */ export declare const GetNodeGroupByNameRequest: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.ListNodeGroupsRequest` protobuf message. */ export interface ListNodeGroupsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.ListNodeGroupsRequest"; /** 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 Cluster. * */ parentId: string; /** * Specifies the maximum number of items to return in the response. * */ pageSize: Long; /** * Token for pagination, allowing the retrieval of the next set of results. * */ pageToken: string; } /** Encodes, decodes, converts, and creates {@link ListNodeGroupsRequest} messages. */ export declare const ListNodeGroupsRequest: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.ListNodeGroupsResponse` protobuf message. */ export interface ListNodeGroupsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.ListNodeGroupsResponse"; /** 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: NodeGroup[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListNodeGroupsResponse} messages. */ export declare const ListNodeGroupsResponse: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.UpdateNodeGroupRequest` protobuf message. */ export interface UpdateNodeGroupRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.UpdateNodeGroupRequest"; /** 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?: NodeGroupSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateNodeGroupRequest} messages. */ export declare const UpdateNodeGroupRequest: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.DeleteNodeGroupRequest` protobuf message. */ export interface DeleteNodeGroupRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.DeleteNodeGroupRequest"; /** 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 DeleteNodeGroupRequest} messages. */ export declare const DeleteNodeGroupRequest: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.UpgradeNodeGroupRequest` protobuf message. */ export interface UpgradeNodeGroupRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.UpgradeNodeGroupRequest"; /** 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 selected value for the `upgrade_type` protobuf oneof. */ upgradeType?: { $case: "latestInfraVersion"; latestInfraVersion: {}; } | undefined; } /** Encodes, decodes, converts, and creates {@link UpgradeNodeGroupRequest} messages. */ export declare const UpgradeNodeGroupRequest: MessageFns; /** * Defines the gRPC methods for the `nebius.mk8s.v1alpha1.NodeGroupService` service. * @deprecated Deprecated: NodeGroup v1alpha1 API is deprecated, please migrate to v1.. */ export type NodeGroupServiceServiceDescription = typeof NodeGroupServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.mk8s.v1alpha1.NodeGroupService` service. * @deprecated Deprecated: NodeGroup v1alpha1 API is deprecated, please migrate to v1.. */ export declare const NodeGroupServiceServiceDescription: { readonly get: { readonly path: "/nebius.mk8s.v1alpha1.NodeGroupService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetNodeGroupRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetNodeGroupRequest; readonly responseSerialize: (value: NodeGroup) => Buffer; readonly responseDeserialize: (value: Buffer) => NodeGroup; }; readonly getByName: { readonly path: "/nebius.mk8s.v1alpha1.NodeGroupService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetNodeGroupByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetNodeGroupByNameRequest; readonly responseSerialize: (value: NodeGroup) => Buffer; readonly responseDeserialize: (value: Buffer) => NodeGroup; }; readonly list: { readonly path: "/nebius.mk8s.v1alpha1.NodeGroupService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListNodeGroupsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListNodeGroupsRequest; readonly responseSerialize: (value: ListNodeGroupsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListNodeGroupsResponse; }; readonly create: { readonly path: "/nebius.mk8s.v1alpha1.NodeGroupService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateNodeGroupRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateNodeGroupRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly update: { readonly path: "/nebius.mk8s.v1alpha1.NodeGroupService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateNodeGroupRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateNodeGroupRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.mk8s.v1alpha1.NodeGroupService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteNodeGroupRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteNodeGroupRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly upgrade: { readonly path: "/nebius.mk8s.v1alpha1.NodeGroupService/Upgrade"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpgradeNodeGroupRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => UpgradeNodeGroupRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.mk8s.v1alpha1.NodeGroupService` service. * @deprecated Deprecated: NodeGroup v1alpha1 API is deprecated, please migrate to v1.. */ export interface NodeGroupServiceServer extends UntypedServiceImplementation { /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `GetByName` RPC. */ getByName: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; /** * Handles the `Create` RPC. */ create: handleUnaryCall; /** * Handles the `Update` RPC. */ update: handleUnaryCall; /** * Handles the `Delete` RPC. */ delete: handleUnaryCall; /** * Handles the `Upgrade` RPC. */ upgrade: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.mk8s.v1alpha1.NodeGroupService` service. * @deprecated Deprecated: NodeGroup v1alpha1 API is deprecated, please migrate to v1.. */ export interface NodeGroupServiceBaseClient extends Client { /** * Calls the `Get` RPC. */ get(request: GetNodeGroupRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: NodeGroup) => void): ClientUnaryCall; /** * Calls the `GetByName` RPC. */ getByName(request: GetNodeGroupByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: NodeGroup) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListNodeGroupsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListNodeGroupsResponse) => void): ClientUnaryCall; /** * Calls the `Create` RPC. */ create(request: CreateNodeGroupRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Update` RPC. */ update(request: UpdateNodeGroupRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Delete` RPC. */ delete(request: DeleteNodeGroupRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Upgrade` RPC. */ upgrade(request: UpgradeNodeGroupRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.mk8s.v1alpha1.NodeGroupService` service. * @deprecated Deprecated: NodeGroup v1alpha1 API is deprecated, please migrate to v1.. */ export declare const NodeGroupServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): NodeGroupServiceBaseClient; /** Contains the gRPC service description. */ service: typeof NodeGroupServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.mk8s.v1alpha1.NodeGroupService` service. * @deprecated Deprecated: NodeGroup v1alpha1 API is deprecated, please migrate to v1.. */ export interface NodeGroupService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.mk8s.v1alpha1.NodeGroupService"; /** * Calls the `Get` RPC. */ get(request: GetNodeGroupRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetNodeGroupRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetNodeGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetNodeGroupByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetNodeGroupByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetNodeGroupByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListNodeGroupsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListNodeGroupsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListNodeGroupsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Create` RPC. */ create(request: CreateNodeGroupRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateNodeGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateNodeGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateNodeGroupRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateNodeGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateNodeGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteNodeGroupRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteNodeGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteNodeGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Upgrade` RPC. */ upgrade(request: UpgradeNodeGroupRequest): SDKRequestClass>; /** * Calls the `Upgrade` RPC. */ upgrade(request: UpgradeNodeGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Upgrade` RPC. */ upgrade(request: UpgradeNodeGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.mk8s.v1alpha1.NodeGroupService` service through the Nebius SDK. * @deprecated Deprecated: NodeGroup v1alpha1 API is deprecated, please migrate to v1.. */ export declare class NodeGroupService implements NodeGroupService { private sdk; $type: "nebius.mk8s.v1alpha1.NodeGroupService"; private addr; private spec; /** * @deprecated Deprecated: NodeGroup v1alpha1 API is deprecated, please migrate to v1.. */ private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Calls the `Get` RPC. */ get(request: GetNodeGroupRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetNodeGroupRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetNodeGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetNodeGroupByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetNodeGroupByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetNodeGroupByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListNodeGroupsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListNodeGroupsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListNodeGroupsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Create` RPC. */ create(request: CreateNodeGroupRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateNodeGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateNodeGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateNodeGroupRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateNodeGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateNodeGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteNodeGroupRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteNodeGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteNodeGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Upgrade` RPC. */ upgrade(request: UpgradeNodeGroupRequest): SDKRequestClass>; /** * Calls the `Upgrade` RPC. */ upgrade(request: UpgradeNodeGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Upgrade` RPC. */ upgrade(request: UpgradeNodeGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Represents the `nebius.mk8s.v1alpha1.ConditionStatus` protobuf enum. */ export type ConditionStatus = EnumInstance<"UNRECOGNIZED" | "CONDITION_STATUS_UNSPECIFIED" | "TRUE" | "FALSE" | "UNKNOWN">; /** Defines the static values of {@link ConditionStatus}. */ export interface ConditionStatusValueMembers { /** * Represents the `CONDITION_STATUS_UNSPECIFIED` protobuf enum value. */ readonly CONDITION_STATUS_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "CONDITION_STATUS_UNSPECIFIED" | "TRUE" | "FALSE" | "UNKNOWN">; /** * Represents the `TRUE` protobuf enum value. */ readonly TRUE: EnumInstance<"UNRECOGNIZED" | "CONDITION_STATUS_UNSPECIFIED" | "TRUE" | "FALSE" | "UNKNOWN">; /** * Represents the `FALSE` protobuf enum value. */ readonly FALSE: EnumInstance<"UNRECOGNIZED" | "CONDITION_STATUS_UNSPECIFIED" | "TRUE" | "FALSE" | "UNKNOWN">; /** * Represents the `UNKNOWN` protobuf enum value. */ readonly UNKNOWN: EnumInstance<"UNRECOGNIZED" | "CONDITION_STATUS_UNSPECIFIED" | "TRUE" | "FALSE" | "UNKNOWN">; } /** Defines the runtime API for {@link ConditionStatus}. */ export type ConditionStatusClass = EnumClass<"UNRECOGNIZED" | "CONDITION_STATUS_UNSPECIFIED" | "TRUE" | "FALSE" | "UNKNOWN"> & ConditionStatusValueMembers; /** Converts and creates {@link ConditionStatus} values. */ export declare const ConditionStatus: ConditionStatusClass; /** * Represents the `nebius.mk8s.v1alpha1.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.mk8s.v1alpha1.NodeTaint.Effect` protobuf enum. */ export type NodeTaint_Effect = EnumInstance<"UNRECOGNIZED" | "EFFECT_UNSPECIFIED" | "NO_EXECUTE" | "NO_SCHEDULE" | "PREFER_NO_SCHEDULE">; /** Defines the static values of {@link NodeTaint_Effect}. */ export interface NodeTaint_EffectValueMembers { /** * Represents the `EFFECT_UNSPECIFIED` protobuf enum value. */ readonly EFFECT_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "EFFECT_UNSPECIFIED" | "NO_EXECUTE" | "NO_SCHEDULE" | "PREFER_NO_SCHEDULE">; /** * Represents the `NO_EXECUTE` protobuf enum value. */ readonly NO_EXECUTE: EnumInstance<"UNRECOGNIZED" | "EFFECT_UNSPECIFIED" | "NO_EXECUTE" | "NO_SCHEDULE" | "PREFER_NO_SCHEDULE">; /** * Represents the `NO_SCHEDULE` protobuf enum value. */ readonly NO_SCHEDULE: EnumInstance<"UNRECOGNIZED" | "EFFECT_UNSPECIFIED" | "NO_EXECUTE" | "NO_SCHEDULE" | "PREFER_NO_SCHEDULE">; /** * Represents the `PREFER_NO_SCHEDULE` protobuf enum value. */ readonly PREFER_NO_SCHEDULE: EnumInstance<"UNRECOGNIZED" | "EFFECT_UNSPECIFIED" | "NO_EXECUTE" | "NO_SCHEDULE" | "PREFER_NO_SCHEDULE">; } /** Defines the runtime API for {@link NodeTaint_Effect}. */ export type NodeTaint_EffectClass = EnumClass<"UNRECOGNIZED" | "EFFECT_UNSPECIFIED" | "NO_EXECUTE" | "NO_SCHEDULE" | "PREFER_NO_SCHEDULE"> & NodeTaint_EffectValueMembers; /** Converts and creates {@link NodeTaint_Effect} values. */ export declare const NodeTaint_Effect: NodeTaint_EffectClass; /** * Represents the `nebius.mk8s.v1alpha1.NodeGroupStatus.State` protobuf enum. */ export type NodeGroupStatus_State = EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "RUNNING" | "DELETING">; /** Defines the static values of {@link NodeGroupStatus_State}. */ export interface NodeGroupStatus_StateValueMembers { /** * Represents the `STATE_UNSPECIFIED` protobuf enum value. */ readonly STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "RUNNING" | "DELETING">; /** * Represents the `PROVISIONING` protobuf enum value. */ readonly PROVISIONING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "RUNNING" | "DELETING">; /** * Represents the `RUNNING` protobuf enum value. */ readonly RUNNING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "RUNNING" | "DELETING">; /** * Represents the `DELETING` protobuf enum value. */ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "RUNNING" | "DELETING">; } /** Defines the runtime API for {@link NodeGroupStatus_State}. */ export type NodeGroupStatus_StateClass = EnumClass<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "RUNNING" | "DELETING"> & NodeGroupStatus_StateValueMembers; /** Converts and creates {@link NodeGroupStatus_State} values. */ export declare const NodeGroupStatus_State: NodeGroupStatus_StateClass; /** * NodeGroup represents Kubernetes node pool * */ export interface NodeGroup { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.NodeGroup"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** the parent_id is an ID of Cluster */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: NodeGroupSpec | undefined; /** Contains the `status` protobuf field. */ status?: NodeGroupStatus | undefined; } /** Encodes, decodes, converts, and creates {@link NodeGroup} messages. */ export declare const NodeGroup: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.NodeGroupSpec` protobuf message. */ export interface NodeGroupSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.NodeGroupSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Version is desired Kubernetes version of the cluster. For now only acceptable format is * `MAJOR.MINOR` like "1.31". Option for patch version update will be added later. * By default the cluster control plane MAJOR.MINOR version will be used. * */ version: string; /** Contains the `template` protobuf field. */ template?: NodeTemplate | undefined; /** Contains the `strategy` protobuf field. */ strategy?: NodeGroupDeploymentStrategy | undefined; /** * Parameters for nodes auto repair. * */ autoRepair?: NodeGroupAutoRepairSpec | undefined; /** Contains the selected value for the `size` protobuf oneof. */ size?: { $case: "fixedNodeCount"; fixedNodeCount: Long; } | { $case: "autoscaling"; autoscaling: NodeGroupAutoscalingSpec; } | undefined; } /** Encodes, decodes, converts, and creates {@link NodeGroupSpec} messages. */ export declare const NodeGroupSpec: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.NodeTemplate` protobuf message. */ export interface NodeTemplate { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.NodeTemplate"; /** 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?: NodeMetadataTemplate | undefined; /** Contains the `taints` protobuf field. */ taints: NodeTaint[]; /** Contains the `resources` protobuf field. */ resources?: ResourcesSpec | undefined; /** Contains the `boot_disk` protobuf field. */ bootDisk?: DiskSpec | undefined; /** * GPU-related settings. * */ gpuSettings?: GpuSettings | undefined; /** * OS version that will be used to create the boot disk of Compute Instances in the NodeGroup. * Supported platform / k8s version / OS / driver presets combinations * - gpu-l40s-a, gpu-l40s-d, gpu-h100-sxm, gpu-h200-sxm, cpu-e1, cpu-e2, cpu-d3: * - drivers_preset: "" * - k8s: 1.30 → "ubuntu22.04" * - k8s: 1.31 → "ubuntu22.04" (default), "ubuntu24.04" * - gpu-l40s-a, gpu-l40s-d, gpu-h100-sxm, gpu-h200-sxm: * - drivers_preset: "cuda12" (CUDA 12.4) * - k8s: 1.30, 1.31 → "ubuntu22.04" * - drivers_preset: "cuda12.4" * - k8s: 1.31 → "ubuntu22.04" * - drivers_preset: "cuda12.8" * - k8s: 1.31 → "ubuntu24.04" * - gpu-b200-sxm: * - drivers_preset: "" * - k8s: 1.30, 1.31 → "ubuntu24.04" * - drivers_preset: "cuda12" (CUDA 12.8) * - k8s: 1.30, 1.31 → "ubuntu24.04" * - drivers_preset: "cuda12.8" * - k8s: 1.31 → "ubuntu24.04" * - gpu-b200-sxm-a: * - drivers_preset: "" * - k8s: 1.31 → "ubuntu24.04" * - drivers_preset: "cuda12.8" * - k8s: 1.31 → "ubuntu24.04" * */ os: string; /** Contains the `gpu_cluster` protobuf field. */ gpuCluster?: GpuClusterSpec | undefined; /** Contains the `network_interfaces` protobuf field. */ networkInterfaces: NetworkInterfaceTemplate[]; /** Contains the `filesystems` protobuf field. */ filesystems: AttachedFilesystemSpec[]; /** * cloud-init user-data. Must contain at least one SSH key. * */ cloudInitUserData: string; /** * the Nebius service account whose credentials will be available on the nodes of the group. With these credentials, it is possible to * make `nebius` CLI or public API requests from the nodes without the need for extra authentication. This service account is also used to * make requests to container registry. * * `resource.serviceaccount.issueAccessToken` permission is required to use this field. * */ serviceAccountId: string; /** * Configures whether the nodes in the group are preemptible. * Set to empty value to enable preemptible nodes. * */ preemptible?: PreemptibleSpec | undefined; } /** Encodes, decodes, converts, and creates {@link NodeTemplate} messages. */ export declare const NodeTemplate: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.NodeMetadataTemplate` protobuf message. */ export interface NodeMetadataTemplate { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.NodeMetadataTemplate"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Labels will be propagated into nodes metadata. * System labels containing "kubernetes.io" and "k8s.io" will not be propagated. * On update labels they will not be updated in nodes right away, only on node group update. * */ labels: { [key: string]: string; }; } /** Encodes, decodes, converts, and creates {@link NodeMetadataTemplate} messages. */ export declare const NodeMetadataTemplate: MessageFns; /** * GPU-related settings. * */ export interface GpuSettings { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.GpuSettings"; /** 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 predefined set of drivers included in the ComputeImage deployed on ComputeInstances that are part of the NodeGroup. * Supported presets for different platform / k8s version combinations: * - gpu-l40s-a, gpu-l40s-d, gpu-h100-sxm, gpu-h200-sxm: * - k8s: 1.30 → "cuda12" (CUDA 12.4) * - k8s: 1.31 → "cuda12" (CUDA 12.4), "cuda12.4", "cuda12.8" * - gpu-b200-sxm: * - k8s: 1.31 → "cuda12" (CUDA 12.8), "cuda12.8" * - gpu-b200-sxm-a: * - k8s: 1.31 → "cuda12.8" * */ driversPreset: string; } /** Encodes, decodes, converts, and creates {@link GpuSettings} messages. */ export declare const GpuSettings: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.GpuClusterSpec` protobuf message. */ export interface GpuClusterSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.GpuClusterSpec"; /** 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 GpuClusterSpec} messages. */ export declare const GpuClusterSpec: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.NetworkInterfaceTemplate` protobuf message. */ export interface NetworkInterfaceTemplate { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.NetworkInterfaceTemplate"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Public IPv4 address associated with the interface. * */ publicIpAddress?: PublicIPAddress | undefined; /** * Subnet ID that will be attached to a node cloud instance network interface. * By default control plane subnet_id used. * Subnet should be located in the same network with control plane and have same parent ID as cluster. * */ subnetId: string; } /** Encodes, decodes, converts, and creates {@link NetworkInterfaceTemplate} messages. */ export declare const NetworkInterfaceTemplate: MessageFns; /** * Describes a public IP address. * */ export interface PublicIPAddress { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.PublicIPAddress"; /** 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 PublicIPAddress} messages. */ export declare const PublicIPAddress: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.AttachedFilesystemSpec` protobuf message. */ export interface AttachedFilesystemSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.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; /** Contains the `device_name` protobuf field. */ deviceName: 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.mk8s.v1alpha1.ExistingFilesystem` protobuf message. */ export interface ExistingFilesystem { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.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.mk8s.v1alpha1.NodeGroupAutoscalingSpec` protobuf message. */ export interface NodeGroupAutoscalingSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.NodeGroupAutoscalingSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `min_node_count` protobuf field. */ minNodeCount: Long; /** Contains the `max_node_count` protobuf field. */ maxNodeCount: Long; } /** Encodes, decodes, converts, and creates {@link NodeGroupAutoscalingSpec} messages. */ export declare const NodeGroupAutoscalingSpec: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.PreemptibleSpec` protobuf message. */ export interface PreemptibleSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.PreemptibleSpec"; /** 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 PreemptibleSpec} messages. */ export declare const PreemptibleSpec: MessageFns; /** * See https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ * */ export interface NodeTaint { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.NodeTaint"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `key` protobuf field. */ key: string; /** Contains the `value` protobuf field. */ value: string; /** Contains the `effect` protobuf field. */ effect: NodeTaint_Effect; } /** Encodes, decodes, converts, and creates {@link NodeTaint} messages. */ export declare const NodeTaint: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.NodeGroupDeploymentStrategy` protobuf message. */ export interface NodeGroupDeploymentStrategy { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.NodeGroupDeploymentStrategy"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * The maximum number of machines that can be unavailable during the update. * Value can be an absolute number (ex: 5) or a percentage of desired * machines (ex: 10%). * Absolute number is calculated from percentage by rounding down. * This can not be 0 if MaxSurge is 0. * Defaults to 0. * Example: when this is set to 30%, the old MachineSet can be scaled * down to 70% of desired machines immediately when the rolling update * starts. Once new machines are ready, old MachineSet can be scaled * down further, followed by scaling up the new MachineSet, ensuring * that the total number of machines available at all times * during the update is at least 70% of desired machines. * */ maxUnavailable?: PercentOrCount | undefined; /** * The maximum number of machines that can be scheduled above the * desired number of machines. * Value can be an absolute number (ex: 5) or a percentage of * desired machines (ex: 10%). * This can not be 0 if MaxUnavailable is 0. * Absolute number is calculated from percentage by rounding up. * Defaults to 1. * Example: when this is set to 30%, the new MachineSet can be scaled * up immediately when the rolling update starts, such that the total * number of old and new machines do not exceed 130% of desired * machines. Once old machines have been killed, new MachineSet can * be scaled up further, ensuring that total number of machines running * at any time during the update is at most 130% of desired machines. * */ maxSurge?: PercentOrCount | undefined; /** * DrainTimeout is the total amount of time that the service will spend on draining a node. * By default, node can be drained without any time limitations. * NOTE: NodeDrainTimeout is different from `kubectl drain --timeout` * */ drainTimeout?: Duration | undefined; } /** Encodes, decodes, converts, and creates {@link NodeGroupDeploymentStrategy} messages. */ export declare const NodeGroupDeploymentStrategy: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.PercentOrCount` protobuf message. */ export interface PercentOrCount { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.PercentOrCount"; /** 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 `value` protobuf oneof. */ value?: { $case: "percent"; percent: Long; } | { $case: "count"; count: Long; } | undefined; } /** Encodes, decodes, converts, and creates {@link PercentOrCount} messages. */ export declare const PercentOrCount: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.NodeGroupAutoRepairSpec` protobuf message. */ export interface NodeGroupAutoRepairSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.NodeGroupAutoRepairSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Conditions that determine whether a node should be auto repaired. * */ conditions: NodeAutoRepairCondition[]; } /** Encodes, decodes, converts, and creates {@link NodeGroupAutoRepairSpec} messages. */ export declare const NodeGroupAutoRepairSpec: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.NodeAutoRepairCondition` protobuf message. */ export interface NodeAutoRepairCondition { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.NodeAutoRepairCondition"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Node condition type. * */ type: string; /** * Node condition status. * */ status: ConditionStatus; /** Contains the selected value for the `trigger` protobuf oneof. */ trigger?: { $case: "timeout"; timeout: Duration; } | { $case: "disabled"; disabled: boolean; } | undefined; } /** Encodes, decodes, converts, and creates {@link NodeAutoRepairCondition} messages. */ export declare const NodeAutoRepairCondition: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.NodeGroupStatus` protobuf message. */ export interface NodeGroupStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.NodeGroupStatus"; /** 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: NodeGroupStatus_State; /** * Version have format `MAJOR.MINOR.PATCH-nebius-node.n` like "1.30.0-nebius-node.10". * */ version: string; /** * Desired total number of nodes that should be in the node group. * It is either fixed_node_count or arbitrary number between min_node_count and max_node_count decided by autoscaler. * */ targetNodeCount: Long; /** * Total number of nodes that are currently in the node group. * Both ready and not ready nodes are counted. * */ nodeCount: Long; /** * Total number of nodes that has outdated node configuration. * These nodes will be replaced by new nodes with up-to-date configuration. * */ outdatedNodeCount: Long; /** * Total number of nodes that successfully joined the cluster and are ready to serve workloads. * Both outdated and up-to-date nodes are counted. * */ readyNodeCount: Long; /** * Show that changes are in flight * */ reconciling: boolean; } /** Encodes, decodes, converts, and creates {@link NodeGroupStatus} messages. */ export declare const NodeGroupStatus: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.ProgressData` protobuf message. */ export interface ProgressData { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.ProgressData"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Problems encountered during the operation execution. * */ problems: Problem[]; } /** Encodes, decodes, converts, and creates {@link ProgressData} messages. */ export declare const ProgressData: MessageFns; /** Represents the `nebius.mk8s.v1alpha1.Problem` protobuf message. */ export interface Problem { /** Contains the fully qualified protobuf type name. */ $type: "nebius.mk8s.v1alpha1.Problem"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Stage on which the problem occurred. * */ stage: string; /** * Message describing the problem. * */ message: string; } /** Encodes, decodes, converts, and creates {@link Problem} messages. */ export declare const Problem: MessageFns; //# sourceMappingURL=index.d.ts.map