@nebius/js-sdk 0.2.62 → 0.2.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/cjs/api/nebius/ai/v1/index.d.ts +1353 -1
  2. package/dist/cjs/api/nebius/ai/v1/index.d.ts.map +1 -1
  3. package/dist/cjs/api/nebius/ai/v1/index.js +4151 -2
  4. package/dist/cjs/api/nebius/ai/v1/index.js.map +1 -1
  5. package/dist/cjs/api/nebius/applications/v1alpha1/index.d.ts +1639 -0
  6. package/dist/cjs/api/nebius/applications/v1alpha1/index.d.ts.map +1 -1
  7. package/dist/cjs/api/nebius/applications/v1alpha1/index.js +7660 -1
  8. package/dist/cjs/api/nebius/applications/v1alpha1/index.js.map +1 -1
  9. package/dist/cjs/api/nebius/compute/v1/index.d.ts +4 -1
  10. package/dist/cjs/api/nebius/compute/v1/index.d.ts.map +1 -1
  11. package/dist/cjs/api/nebius/compute/v1/index.js.map +1 -1
  12. package/dist/cjs/api/nebius/mk8s/v1/index.d.ts +31 -0
  13. package/dist/cjs/api/nebius/mk8s/v1/index.d.ts.map +1 -1
  14. package/dist/cjs/api/nebius/mk8s/v1/index.js +195 -1
  15. package/dist/cjs/api/nebius/mk8s/v1/index.js.map +1 -1
  16. package/dist/cjs/api/nebius/msp/mlflow/v1alpha1/index.d.ts +128 -0
  17. package/dist/cjs/api/nebius/msp/mlflow/v1alpha1/index.d.ts.map +1 -1
  18. package/dist/cjs/api/nebius/msp/mlflow/v1alpha1/index.js +261 -1
  19. package/dist/cjs/api/nebius/msp/mlflow/v1alpha1/index.js.map +1 -1
  20. package/dist/cjs/version.d.ts +1 -1
  21. package/dist/cjs/version.js +1 -1
  22. package/dist/esm/api/nebius/ai/v1/index.d.ts +1353 -1
  23. package/dist/esm/api/nebius/ai/v1/index.d.ts.map +1 -1
  24. package/dist/esm/api/nebius/ai/v1/index.js +4149 -1
  25. package/dist/esm/api/nebius/ai/v1/index.js.map +1 -1
  26. package/dist/esm/api/nebius/applications/v1alpha1/index.d.ts +1639 -0
  27. package/dist/esm/api/nebius/applications/v1alpha1/index.d.ts.map +1 -1
  28. package/dist/esm/api/nebius/applications/v1alpha1/index.js +7658 -1
  29. package/dist/esm/api/nebius/applications/v1alpha1/index.js.map +1 -1
  30. package/dist/esm/api/nebius/compute/v1/index.d.ts +4 -1
  31. package/dist/esm/api/nebius/compute/v1/index.d.ts.map +1 -1
  32. package/dist/esm/api/nebius/compute/v1/index.js.map +1 -1
  33. package/dist/esm/api/nebius/mk8s/v1/index.d.ts +31 -0
  34. package/dist/esm/api/nebius/mk8s/v1/index.d.ts.map +1 -1
  35. package/dist/esm/api/nebius/mk8s/v1/index.js +194 -0
  36. package/dist/esm/api/nebius/mk8s/v1/index.js.map +1 -1
  37. package/dist/esm/api/nebius/msp/mlflow/v1alpha1/index.d.ts +128 -0
  38. package/dist/esm/api/nebius/msp/mlflow/v1alpha1/index.d.ts.map +1 -1
  39. package/dist/esm/api/nebius/msp/mlflow/v1alpha1/index.js +260 -0
  40. package/dist/esm/api/nebius/msp/mlflow/v1alpha1/index.js.map +1 -1
  41. package/dist/esm/version.d.ts +1 -1
  42. package/dist/esm/version.js +1 -1
  43. package/package.json +1 -1
@@ -5,8 +5,1360 @@ import { ChannelCredentials, Client, ClientUnaryCall, ClientOptions, CallOptions
5
5
  import type { SDKInterface } from "../../../../sdk.js";
6
6
  import { Request as SDKRequestClass, type RetryOptions } from "../../../../runtime/request.js";
7
7
  import { Operation as OperationWrapper } from "../../../../runtime/operation.js";
8
- import { GetOperationRequest, Operation, OperationService, ResourceMetadata, ServiceError } from "../../common/v1/index.js";
8
+ import { GetByNameRequest, GetOperationRequest, Operation, OperationService, ResourceMetadata, ServiceError } from "../../common/v1/index.js";
9
9
  import { DiskSpec_DiskType, InstanceStatus_InstanceState } from "../../compute/v1/index.js";
10
+ /**
11
+ * Controls which sensitive values the response includes.
12
+ *
13
+ */
14
+ export type GetDevlabRequest_View = EnumInstance<"UNRECOGNIZED" | "VIEW_UNSPECIFIED" | "SECRET">;
15
+ /** Defines the static values of {@link GetDevlabRequest_View}. */
16
+ export interface GetDevlabRequest_ViewValueMembers {
17
+ /**
18
+ * Masks environment-variable values and omits injected-file content.
19
+ *
20
+ */
21
+ readonly VIEW_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "VIEW_UNSPECIFIED" | "SECRET">;
22
+ /**
23
+ * Includes unmasked environment-variable values and injected-file content.
24
+ * Requires the resource.devlab.getSensitiveData permission.
25
+ *
26
+ */
27
+ readonly SECRET: EnumInstance<"UNRECOGNIZED" | "VIEW_UNSPECIFIED" | "SECRET">;
28
+ }
29
+ /** Defines the runtime API for {@link GetDevlabRequest_View}. */
30
+ export type GetDevlabRequest_ViewClass = EnumClass<"UNRECOGNIZED" | "VIEW_UNSPECIFIED" | "SECRET"> & GetDevlabRequest_ViewValueMembers;
31
+ /** Converts and creates {@link GetDevlabRequest_View} values. */
32
+ export declare const GetDevlabRequest_View: GetDevlabRequest_ViewClass;
33
+ /**
34
+ * A request to retrieve a Devlab by ID.
35
+ *
36
+ */
37
+ export interface GetDevlabRequest {
38
+ /** Contains the fully qualified protobuf type name. */
39
+ $type: "nebius.ai.v1.GetDevlabRequest";
40
+ /** Preserves protobuf fields that this SDK version does not recognize. */
41
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
42
+ /** Returns a safe value for JSON logs. */
43
+ [customJson]?: () => unknown;
44
+ /**
45
+ * The ID of the Devlab to retrieve.
46
+ *
47
+ */
48
+ id: string;
49
+ /**
50
+ * The response view. The default is VIEW_UNSPECIFIED.
51
+ *
52
+ */
53
+ view: GetDevlabRequest_View;
54
+ }
55
+ /** Encodes, decodes, converts, and creates {@link GetDevlabRequest} messages. */
56
+ export declare const GetDevlabRequest: MessageFns<GetDevlabRequest, "nebius.ai.v1.GetDevlabRequest">;
57
+ /**
58
+ * A request to list the Devlabs in a project.
59
+ *
60
+ */
61
+ export interface ListDevlabsRequest {
62
+ /** Contains the fully qualified protobuf type name. */
63
+ $type: "nebius.ai.v1.ListDevlabsRequest";
64
+ /** Preserves protobuf fields that this SDK version does not recognize. */
65
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
66
+ /** Returns a safe value for JSON logs. */
67
+ [customJson]?: () => unknown;
68
+ /**
69
+ * The ID of the project that contains the Devlabs.
70
+ *
71
+ */
72
+ parentId: string;
73
+ /**
74
+ * The maximum number of Devlabs to return. The default and maximum are 100.
75
+ * Values outside the range 1 to 100 use the default.
76
+ *
77
+ */
78
+ pageSize: Long;
79
+ /**
80
+ * The next_page_token from the previous response. Use an empty string for the first page.
81
+ * Keep parent_id unchanged when you request the next page.
82
+ *
83
+ */
84
+ pageToken: string;
85
+ }
86
+ /** Encodes, decodes, converts, and creates {@link ListDevlabsRequest} messages. */
87
+ export declare const ListDevlabsRequest: MessageFns<ListDevlabsRequest, "nebius.ai.v1.ListDevlabsRequest">;
88
+ /**
89
+ * A request to create a Devlab.
90
+ *
91
+ */
92
+ export interface CreateDevlabRequest {
93
+ /** Contains the fully qualified protobuf type name. */
94
+ $type: "nebius.ai.v1.CreateDevlabRequest";
95
+ /** Preserves protobuf fields that this SDK version does not recognize. */
96
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
97
+ /** Returns a safe value for JSON logs. */
98
+ [customJson]?: () => unknown;
99
+ /**
100
+ * The metadata for the new Devlab.
101
+ *
102
+ */
103
+ metadata?: ResourceMetadata | undefined;
104
+ /**
105
+ * The configuration for the new Devlab.
106
+ *
107
+ */
108
+ spec?: DevlabSpec | undefined;
109
+ /**
110
+ * Validates the request without creating the Devlab.
111
+ *
112
+ */
113
+ dryRun: boolean;
114
+ }
115
+ /** Encodes, decodes, converts, and creates {@link CreateDevlabRequest} messages. */
116
+ export declare const CreateDevlabRequest: MessageFns<CreateDevlabRequest, "nebius.ai.v1.CreateDevlabRequest">;
117
+ /**
118
+ * A request to delete a Devlab.
119
+ *
120
+ */
121
+ export interface DeleteDevlabRequest {
122
+ /** Contains the fully qualified protobuf type name. */
123
+ $type: "nebius.ai.v1.DeleteDevlabRequest";
124
+ /** Preserves protobuf fields that this SDK version does not recognize. */
125
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
126
+ /** Returns a safe value for JSON logs. */
127
+ [customJson]?: () => unknown;
128
+ /**
129
+ * The ID of the Devlab to delete.
130
+ *
131
+ */
132
+ id: string;
133
+ }
134
+ /** Encodes, decodes, converts, and creates {@link DeleteDevlabRequest} messages. */
135
+ export declare const DeleteDevlabRequest: MessageFns<DeleteDevlabRequest, "nebius.ai.v1.DeleteDevlabRequest">;
136
+ /**
137
+ * A request to restart a Devlab.
138
+ *
139
+ */
140
+ export interface RestartDevlabRequest {
141
+ /** Contains the fully qualified protobuf type name. */
142
+ $type: "nebius.ai.v1.RestartDevlabRequest";
143
+ /** Preserves protobuf fields that this SDK version does not recognize. */
144
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
145
+ /** Returns a safe value for JSON logs. */
146
+ [customJson]?: () => unknown;
147
+ /**
148
+ * The ID of the Devlab to restart.
149
+ *
150
+ */
151
+ id: string;
152
+ }
153
+ /** Encodes, decodes, converts, and creates {@link RestartDevlabRequest} messages. */
154
+ export declare const RestartDevlabRequest: MessageFns<RestartDevlabRequest, "nebius.ai.v1.RestartDevlabRequest">;
155
+ /**
156
+ * A request to stop a Devlab.
157
+ *
158
+ */
159
+ export interface StopDevlabRequest {
160
+ /** Contains the fully qualified protobuf type name. */
161
+ $type: "nebius.ai.v1.StopDevlabRequest";
162
+ /** Preserves protobuf fields that this SDK version does not recognize. */
163
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
164
+ /** Returns a safe value for JSON logs. */
165
+ [customJson]?: () => unknown;
166
+ /**
167
+ * The ID of the Devlab to stop.
168
+ *
169
+ */
170
+ id: string;
171
+ }
172
+ /** Encodes, decodes, converts, and creates {@link StopDevlabRequest} messages. */
173
+ export declare const StopDevlabRequest: MessageFns<StopDevlabRequest, "nebius.ai.v1.StopDevlabRequest">;
174
+ /**
175
+ * A page of Devlabs from a project.
176
+ *
177
+ */
178
+ export interface ListDevlabsResponse {
179
+ /** Contains the fully qualified protobuf type name. */
180
+ $type: "nebius.ai.v1.ListDevlabsResponse";
181
+ /** Preserves protobuf fields that this SDK version does not recognize. */
182
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
183
+ /** Returns a safe value for JSON logs. */
184
+ [customJson]?: () => unknown;
185
+ /**
186
+ * The Devlabs in this page. The list can contain fewer items than page_size.
187
+ *
188
+ */
189
+ items: Devlab[];
190
+ /**
191
+ * The token for the next page. An empty string indicates the end of the list.
192
+ *
193
+ */
194
+ nextPageToken: string;
195
+ }
196
+ /** Encodes, decodes, converts, and creates {@link ListDevlabsResponse} messages. */
197
+ export declare const ListDevlabsResponse: MessageFns<ListDevlabsResponse, "nebius.ai.v1.ListDevlabsResponse">;
198
+ /**
199
+ * Defines the gRPC methods for the `nebius.ai.v1.DevlabService` service.
200
+ */
201
+ export type DevlabServiceServiceDescription = typeof DevlabServiceServiceDescription;
202
+ /**
203
+ * Describes the gRPC methods for the `nebius.ai.v1.DevlabService` service.
204
+ */
205
+ export declare const DevlabServiceServiceDescription: {
206
+ readonly get: {
207
+ readonly path: "/nebius.ai.v1.DevlabService/Get";
208
+ readonly requestStream: false;
209
+ readonly responseStream: false;
210
+ readonly requestSerialize: (value: GetDevlabRequest) => Buffer<ArrayBuffer>;
211
+ readonly requestDescriptor: () => MessageDescriptor | undefined;
212
+ readonly sendResetMask: false;
213
+ readonly requestDeserialize: (value: Buffer) => GetDevlabRequest;
214
+ readonly responseSerialize: (value: Devlab) => Buffer<ArrayBuffer>;
215
+ readonly responseDeserialize: (value: Buffer) => Devlab;
216
+ };
217
+ readonly getByName: {
218
+ readonly path: "/nebius.ai.v1.DevlabService/GetByName";
219
+ readonly requestStream: false;
220
+ readonly responseStream: false;
221
+ readonly requestSerialize: (value: GetByNameRequest) => Buffer<ArrayBuffer>;
222
+ readonly requestDescriptor: () => MessageDescriptor | undefined;
223
+ readonly sendResetMask: false;
224
+ readonly requestDeserialize: (value: Buffer) => GetByNameRequest;
225
+ readonly responseSerialize: (value: Devlab) => Buffer<ArrayBuffer>;
226
+ readonly responseDeserialize: (value: Buffer) => Devlab;
227
+ };
228
+ readonly list: {
229
+ readonly path: "/nebius.ai.v1.DevlabService/List";
230
+ readonly requestStream: false;
231
+ readonly responseStream: false;
232
+ readonly requestSerialize: (value: ListDevlabsRequest) => Buffer<ArrayBuffer>;
233
+ readonly requestDescriptor: () => MessageDescriptor | undefined;
234
+ readonly sendResetMask: false;
235
+ readonly requestDeserialize: (value: Buffer) => ListDevlabsRequest;
236
+ readonly responseSerialize: (value: ListDevlabsResponse) => Buffer<ArrayBuffer>;
237
+ readonly responseDeserialize: (value: Buffer) => ListDevlabsResponse;
238
+ };
239
+ readonly create: {
240
+ readonly path: "/nebius.ai.v1.DevlabService/Create";
241
+ readonly requestStream: false;
242
+ readonly responseStream: false;
243
+ readonly requestSerialize: (value: CreateDevlabRequest) => Buffer<ArrayBuffer>;
244
+ readonly requestDescriptor: () => MessageDescriptor | undefined;
245
+ readonly sendResetMask: false;
246
+ readonly requestDeserialize: (value: Buffer) => CreateDevlabRequest;
247
+ readonly responseSerialize: (value: Operation) => Buffer<ArrayBuffer>;
248
+ readonly responseDeserialize: (value: Buffer) => Operation;
249
+ };
250
+ readonly delete: {
251
+ readonly path: "/nebius.ai.v1.DevlabService/Delete";
252
+ readonly requestStream: false;
253
+ readonly responseStream: false;
254
+ readonly requestSerialize: (value: DeleteDevlabRequest) => Buffer<ArrayBuffer>;
255
+ readonly requestDescriptor: () => MessageDescriptor | undefined;
256
+ readonly sendResetMask: false;
257
+ readonly requestDeserialize: (value: Buffer) => DeleteDevlabRequest;
258
+ readonly responseSerialize: (value: Operation) => Buffer<ArrayBuffer>;
259
+ readonly responseDeserialize: (value: Buffer) => Operation;
260
+ };
261
+ readonly restart: {
262
+ readonly path: "/nebius.ai.v1.DevlabService/Restart";
263
+ readonly requestStream: false;
264
+ readonly responseStream: false;
265
+ readonly requestSerialize: (value: RestartDevlabRequest) => Buffer<ArrayBuffer>;
266
+ readonly requestDescriptor: () => MessageDescriptor | undefined;
267
+ readonly sendResetMask: false;
268
+ readonly requestDeserialize: (value: Buffer) => RestartDevlabRequest;
269
+ readonly responseSerialize: (value: Operation) => Buffer<ArrayBuffer>;
270
+ readonly responseDeserialize: (value: Buffer) => Operation;
271
+ };
272
+ readonly stop: {
273
+ readonly path: "/nebius.ai.v1.DevlabService/Stop";
274
+ readonly requestStream: false;
275
+ readonly responseStream: false;
276
+ readonly requestSerialize: (value: StopDevlabRequest) => Buffer<ArrayBuffer>;
277
+ readonly requestDescriptor: () => MessageDescriptor | undefined;
278
+ readonly sendResetMask: false;
279
+ readonly requestDeserialize: (value: Buffer) => StopDevlabRequest;
280
+ readonly responseSerialize: (value: Operation) => Buffer<ArrayBuffer>;
281
+ readonly responseDeserialize: (value: Buffer) => Operation;
282
+ };
283
+ };
284
+ /**
285
+ * Handles server calls for the `nebius.ai.v1.DevlabService` service.
286
+ */
287
+ export interface DevlabServiceServer extends UntypedServiceImplementation {
288
+ /**
289
+ * Returns the specified Devlab.
290
+ *
291
+ */
292
+ get: handleUnaryCall<GetDevlabRequest, Devlab>;
293
+ /**
294
+ * Returns the specified Devlab by name.
295
+ *
296
+ */
297
+ getByName: handleUnaryCall<GetByNameRequest, Devlab>;
298
+ /**
299
+ * Retrieves a list of Devlabs.
300
+ *
301
+ */
302
+ list: handleUnaryCall<ListDevlabsRequest, ListDevlabsResponse>;
303
+ /**
304
+ * Creates a Devlab.
305
+ *
306
+ */
307
+ create: handleUnaryCall<CreateDevlabRequest, Operation>;
308
+ /**
309
+ * Deletes a Devlab.
310
+ *
311
+ */
312
+ delete: handleUnaryCall<DeleteDevlabRequest, Operation>;
313
+ /**
314
+ * Restarts a Devlab.
315
+ *
316
+ */
317
+ restart: handleUnaryCall<RestartDevlabRequest, Operation>;
318
+ /**
319
+ * Stops a Devlab.
320
+ *
321
+ */
322
+ stop: handleUnaryCall<StopDevlabRequest, Operation>;
323
+ }
324
+ /**
325
+ * Defines the low-level gRPC client for the `nebius.ai.v1.DevlabService` service.
326
+ */
327
+ export interface DevlabServiceBaseClient extends Client {
328
+ /**
329
+ * Returns the specified Devlab.
330
+ *
331
+ */
332
+ get(request: GetDevlabRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: GrpcServiceError | null, response: Devlab) => void): ClientUnaryCall;
333
+ /**
334
+ * Returns the specified Devlab by name.
335
+ *
336
+ */
337
+ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: GrpcServiceError | null, response: Devlab) => void): ClientUnaryCall;
338
+ /**
339
+ * Retrieves a list of Devlabs.
340
+ *
341
+ */
342
+ list(request: ListDevlabsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: GrpcServiceError | null, response: ListDevlabsResponse) => void): ClientUnaryCall;
343
+ /**
344
+ * Creates a Devlab.
345
+ *
346
+ */
347
+ create(request: CreateDevlabRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall;
348
+ /**
349
+ * Deletes a Devlab.
350
+ *
351
+ */
352
+ delete(request: DeleteDevlabRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall;
353
+ /**
354
+ * Restarts a Devlab.
355
+ *
356
+ */
357
+ restart(request: RestartDevlabRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall;
358
+ /**
359
+ * Stops a Devlab.
360
+ *
361
+ */
362
+ stop(request: StopDevlabRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall;
363
+ }
364
+ /**
365
+ * Creates low-level gRPC clients for the `nebius.ai.v1.DevlabService` service.
366
+ */
367
+ export declare const DevlabServiceBaseClient: {
368
+ /** Creates a low-level client for the service address. */
369
+ new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): DevlabServiceBaseClient;
370
+ /** Contains the gRPC service description. */
371
+ service: typeof DevlabServiceServiceDescription;
372
+ /** Contains the fully qualified protobuf service name. */
373
+ serviceName: string;
374
+ };
375
+ /**
376
+ * Service to create/manage Devlabs.
377
+ *
378
+ */
379
+ export interface DevlabService {
380
+ /** Contains the fully qualified protobuf service name. */
381
+ $type: "nebius.ai.v1.DevlabService";
382
+ /**
383
+ * Returns the specified Devlab.
384
+ *
385
+ */
386
+ get(request: GetDevlabRequest): SDKRequestClass<GetDevlabRequest, Devlab>;
387
+ /**
388
+ * Returns the specified Devlab.
389
+ *
390
+ */
391
+ get(request: GetDevlabRequest, metadata: Metadata): SDKRequestClass<GetDevlabRequest, Devlab>;
392
+ /**
393
+ * Returns the specified Devlab.
394
+ *
395
+ */
396
+ get(request: GetDevlabRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<GetDevlabRequest, Devlab>;
397
+ /**
398
+ * Returns the specified Devlab by name.
399
+ *
400
+ */
401
+ getByName(request: GetByNameRequest): SDKRequestClass<GetByNameRequest, Devlab>;
402
+ /**
403
+ * Returns the specified Devlab by name.
404
+ *
405
+ */
406
+ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass<GetByNameRequest, Devlab>;
407
+ /**
408
+ * Returns the specified Devlab by name.
409
+ *
410
+ */
411
+ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<GetByNameRequest, Devlab>;
412
+ /**
413
+ * Retrieves a list of Devlabs.
414
+ *
415
+ */
416
+ list(request: ListDevlabsRequest): SDKRequestClass<ListDevlabsRequest, ListDevlabsResponse>;
417
+ /**
418
+ * Retrieves a list of Devlabs.
419
+ *
420
+ */
421
+ list(request: ListDevlabsRequest, metadata: Metadata): SDKRequestClass<ListDevlabsRequest, ListDevlabsResponse>;
422
+ /**
423
+ * Retrieves a list of Devlabs.
424
+ *
425
+ */
426
+ list(request: ListDevlabsRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<ListDevlabsRequest, ListDevlabsResponse>;
427
+ /**
428
+ * Creates a Devlab.
429
+ *
430
+ */
431
+ create(request: CreateDevlabRequest): SDKRequestClass<CreateDevlabRequest, OperationWrapper<GetOperationRequest>>;
432
+ /**
433
+ * Creates a Devlab.
434
+ *
435
+ */
436
+ create(request: CreateDevlabRequest, metadata: Metadata): SDKRequestClass<CreateDevlabRequest, OperationWrapper<GetOperationRequest>>;
437
+ /**
438
+ * Creates a Devlab.
439
+ *
440
+ */
441
+ create(request: CreateDevlabRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<CreateDevlabRequest, OperationWrapper<GetOperationRequest>>;
442
+ /**
443
+ * Deletes a Devlab.
444
+ *
445
+ */
446
+ delete(request: DeleteDevlabRequest): SDKRequestClass<DeleteDevlabRequest, OperationWrapper<GetOperationRequest>>;
447
+ /**
448
+ * Deletes a Devlab.
449
+ *
450
+ */
451
+ delete(request: DeleteDevlabRequest, metadata: Metadata): SDKRequestClass<DeleteDevlabRequest, OperationWrapper<GetOperationRequest>>;
452
+ /**
453
+ * Deletes a Devlab.
454
+ *
455
+ */
456
+ delete(request: DeleteDevlabRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<DeleteDevlabRequest, OperationWrapper<GetOperationRequest>>;
457
+ /**
458
+ * Restarts a Devlab.
459
+ *
460
+ */
461
+ restart(request: RestartDevlabRequest): SDKRequestClass<RestartDevlabRequest, OperationWrapper<GetOperationRequest>>;
462
+ /**
463
+ * Restarts a Devlab.
464
+ *
465
+ */
466
+ restart(request: RestartDevlabRequest, metadata: Metadata): SDKRequestClass<RestartDevlabRequest, OperationWrapper<GetOperationRequest>>;
467
+ /**
468
+ * Restarts a Devlab.
469
+ *
470
+ */
471
+ restart(request: RestartDevlabRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<RestartDevlabRequest, OperationWrapper<GetOperationRequest>>;
472
+ /**
473
+ * Stops a Devlab.
474
+ *
475
+ */
476
+ stop(request: StopDevlabRequest): SDKRequestClass<StopDevlabRequest, OperationWrapper<GetOperationRequest>>;
477
+ /**
478
+ * Stops a Devlab.
479
+ *
480
+ */
481
+ stop(request: StopDevlabRequest, metadata: Metadata): SDKRequestClass<StopDevlabRequest, OperationWrapper<GetOperationRequest>>;
482
+ /**
483
+ * Stops a Devlab.
484
+ *
485
+ */
486
+ stop(request: StopDevlabRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<StopDevlabRequest, OperationWrapper<GetOperationRequest>>;
487
+ }
488
+ /**
489
+ * Calls the `nebius.ai.v1.DevlabService` service through the Nebius SDK.
490
+ */
491
+ export declare class DevlabService implements DevlabService {
492
+ private sdk;
493
+ $type: "nebius.ai.v1.DevlabService";
494
+ private addr;
495
+ private spec;
496
+ private apiServiceName;
497
+ /** Creates a client that uses the SDK service address. */
498
+ constructor(sdk: SDKInterface);
499
+ /** Returns the operation service for this service address. */
500
+ getOperationService(): OperationService;
501
+ /**
502
+ * Returns the specified Devlab.
503
+ *
504
+ */
505
+ get(request: GetDevlabRequest): SDKRequestClass<GetDevlabRequest, Devlab>;
506
+ /**
507
+ * Returns the specified Devlab.
508
+ *
509
+ */
510
+ get(request: GetDevlabRequest, metadata: Metadata): SDKRequestClass<GetDevlabRequest, Devlab>;
511
+ /**
512
+ * Returns the specified Devlab.
513
+ *
514
+ */
515
+ get(request: GetDevlabRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<GetDevlabRequest, Devlab>;
516
+ /**
517
+ * Returns the specified Devlab by name.
518
+ *
519
+ */
520
+ getByName(request: GetByNameRequest): SDKRequestClass<GetByNameRequest, Devlab>;
521
+ /**
522
+ * Returns the specified Devlab by name.
523
+ *
524
+ */
525
+ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass<GetByNameRequest, Devlab>;
526
+ /**
527
+ * Returns the specified Devlab by name.
528
+ *
529
+ */
530
+ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<GetByNameRequest, Devlab>;
531
+ /**
532
+ * Retrieves a list of Devlabs.
533
+ *
534
+ */
535
+ list(request: ListDevlabsRequest): SDKRequestClass<ListDevlabsRequest, ListDevlabsResponse>;
536
+ /**
537
+ * Retrieves a list of Devlabs.
538
+ *
539
+ */
540
+ list(request: ListDevlabsRequest, metadata: Metadata): SDKRequestClass<ListDevlabsRequest, ListDevlabsResponse>;
541
+ /**
542
+ * Retrieves a list of Devlabs.
543
+ *
544
+ */
545
+ list(request: ListDevlabsRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<ListDevlabsRequest, ListDevlabsResponse>;
546
+ /**
547
+ * Creates a Devlab.
548
+ *
549
+ */
550
+ create(request: CreateDevlabRequest): SDKRequestClass<CreateDevlabRequest, OperationWrapper<GetOperationRequest>>;
551
+ /**
552
+ * Creates a Devlab.
553
+ *
554
+ */
555
+ create(request: CreateDevlabRequest, metadata: Metadata): SDKRequestClass<CreateDevlabRequest, OperationWrapper<GetOperationRequest>>;
556
+ /**
557
+ * Creates a Devlab.
558
+ *
559
+ */
560
+ create(request: CreateDevlabRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<CreateDevlabRequest, OperationWrapper<GetOperationRequest>>;
561
+ /**
562
+ * Deletes a Devlab.
563
+ *
564
+ */
565
+ delete(request: DeleteDevlabRequest): SDKRequestClass<DeleteDevlabRequest, OperationWrapper<GetOperationRequest>>;
566
+ /**
567
+ * Deletes a Devlab.
568
+ *
569
+ */
570
+ delete(request: DeleteDevlabRequest, metadata: Metadata): SDKRequestClass<DeleteDevlabRequest, OperationWrapper<GetOperationRequest>>;
571
+ /**
572
+ * Deletes a Devlab.
573
+ *
574
+ */
575
+ delete(request: DeleteDevlabRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<DeleteDevlabRequest, OperationWrapper<GetOperationRequest>>;
576
+ /**
577
+ * Restarts a Devlab.
578
+ *
579
+ */
580
+ restart(request: RestartDevlabRequest): SDKRequestClass<RestartDevlabRequest, OperationWrapper<GetOperationRequest>>;
581
+ /**
582
+ * Restarts a Devlab.
583
+ *
584
+ */
585
+ restart(request: RestartDevlabRequest, metadata: Metadata): SDKRequestClass<RestartDevlabRequest, OperationWrapper<GetOperationRequest>>;
586
+ /**
587
+ * Restarts a Devlab.
588
+ *
589
+ */
590
+ restart(request: RestartDevlabRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<RestartDevlabRequest, OperationWrapper<GetOperationRequest>>;
591
+ /**
592
+ * Stops a Devlab.
593
+ *
594
+ */
595
+ stop(request: StopDevlabRequest): SDKRequestClass<StopDevlabRequest, OperationWrapper<GetOperationRequest>>;
596
+ /**
597
+ * Stops a Devlab.
598
+ *
599
+ */
600
+ stop(request: StopDevlabRequest, metadata: Metadata): SDKRequestClass<StopDevlabRequest, OperationWrapper<GetOperationRequest>>;
601
+ /**
602
+ * Stops a Devlab.
603
+ *
604
+ */
605
+ stop(request: StopDevlabRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<StopDevlabRequest, OperationWrapper<GetOperationRequest>>;
606
+ }
607
+ /**
608
+ * Represents protocol of the Devlab's port which will be exposed.
609
+ *
610
+ */
611
+ export type DevlabSpec_Port_Protocol = EnumInstance<"UNRECOGNIZED" | "PROTOCOL_UNSPECIFIED" | "HTTP" | "TCP" | "UDP">;
612
+ /** Defines the static values of {@link DevlabSpec_Port_Protocol}. */
613
+ export interface DevlabSpec_Port_ProtocolValueMembers {
614
+ /**
615
+ * No protocol selected. Specify HTTP, TCP, or UDP.
616
+ *
617
+ */
618
+ readonly PROTOCOL_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "PROTOCOL_UNSPECIFIED" | "HTTP" | "TCP" | "UDP">;
619
+ /**
620
+ * HTTP protocol.
621
+ *
622
+ */
623
+ readonly HTTP: EnumInstance<"UNRECOGNIZED" | "PROTOCOL_UNSPECIFIED" | "HTTP" | "TCP" | "UDP">;
624
+ /**
625
+ * TCP protocol.
626
+ *
627
+ */
628
+ readonly TCP: EnumInstance<"UNRECOGNIZED" | "PROTOCOL_UNSPECIFIED" | "HTTP" | "TCP" | "UDP">;
629
+ /**
630
+ * UDP protocol.
631
+ *
632
+ */
633
+ readonly UDP: EnumInstance<"UNRECOGNIZED" | "PROTOCOL_UNSPECIFIED" | "HTTP" | "TCP" | "UDP">;
634
+ }
635
+ /** Defines the runtime API for {@link DevlabSpec_Port_Protocol}. */
636
+ export type DevlabSpec_Port_ProtocolClass = EnumClass<"UNRECOGNIZED" | "PROTOCOL_UNSPECIFIED" | "HTTP" | "TCP" | "UDP"> & DevlabSpec_Port_ProtocolValueMembers;
637
+ /** Converts and creates {@link DevlabSpec_Port_Protocol} values. */
638
+ export declare const DevlabSpec_Port_Protocol: DevlabSpec_Port_ProtocolClass;
639
+ /**
640
+ * Mode that will be used to mount the volume.
641
+ *
642
+ */
643
+ export type DevlabSpec_VolumeMount_Mode = EnumInstance<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY">;
644
+ /** Defines the static values of {@link DevlabSpec_VolumeMount_Mode}. */
645
+ export interface DevlabSpec_VolumeMount_ModeValueMembers {
646
+ /**
647
+ * No mount mode selected. Specify READ_WRITE or READ_ONLY.
648
+ *
649
+ */
650
+ readonly MODE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY">;
651
+ /**
652
+ * Read-write mode.
653
+ *
654
+ */
655
+ readonly READ_WRITE: EnumInstance<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY">;
656
+ /**
657
+ * Read-only mode.
658
+ *
659
+ */
660
+ readonly READ_ONLY: EnumInstance<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY">;
661
+ }
662
+ /** Defines the runtime API for {@link DevlabSpec_VolumeMount_Mode}. */
663
+ export type DevlabSpec_VolumeMount_ModeClass = EnumClass<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY"> & DevlabSpec_VolumeMount_ModeValueMembers;
664
+ /** Converts and creates {@link DevlabSpec_VolumeMount_Mode} values. */
665
+ export declare const DevlabSpec_VolumeMount_Mode: DevlabSpec_VolumeMount_ModeClass;
666
+ /**
667
+ * Devlab state.
668
+ *
669
+ */
670
+ export type DevlabStatus_State = EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
671
+ /** Defines the static values of {@link DevlabStatus_State}. */
672
+ export interface DevlabStatus_StateValueMembers {
673
+ /**
674
+ * The service did not report the Devlab's state.
675
+ *
676
+ */
677
+ readonly STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
678
+ /**
679
+ * The Devlab is creating resources.
680
+ *
681
+ */
682
+ readonly PROVISIONING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
683
+ /**
684
+ * The Devlab is being started.
685
+ *
686
+ */
687
+ readonly STARTING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
688
+ /**
689
+ * The Devlab is running.
690
+ *
691
+ */
692
+ readonly RUNNING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
693
+ /**
694
+ * The Devlab is being stopped.
695
+ *
696
+ */
697
+ readonly STOPPING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
698
+ /**
699
+ * The Devlab is being deleted.
700
+ *
701
+ */
702
+ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
703
+ /**
704
+ * The Devlab has been stopped.
705
+ *
706
+ */
707
+ readonly STOPPED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
708
+ /**
709
+ * The Devlab has failed.
710
+ *
711
+ */
712
+ readonly FAILED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
713
+ /**
714
+ * The Devlab encountered an error.
715
+ *
716
+ */
717
+ readonly ERROR: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
718
+ /**
719
+ * The Devlab is pulling an image (STARTING -> IMAGE_PULLING -> RUNNING).
720
+ *
721
+ */
722
+ readonly IMAGE_PULLING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
723
+ }
724
+ /** Defines the runtime API for {@link DevlabStatus_State}. */
725
+ export type DevlabStatus_StateClass = EnumClass<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING"> & DevlabStatus_StateValueMembers;
726
+ /** Converts and creates {@link DevlabStatus_State} values. */
727
+ export declare const DevlabStatus_State: DevlabStatus_StateClass;
728
+ /**
729
+ * Devlab instance state.
730
+ *
731
+ */
732
+ export type DevlabInstanceStatus_State = EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
733
+ /** Defines the static values of {@link DevlabInstanceStatus_State}. */
734
+ export interface DevlabInstanceStatus_StateValueMembers {
735
+ /**
736
+ * The service did not report the instance's state.
737
+ *
738
+ */
739
+ readonly STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
740
+ /**
741
+ * The Devlab is creating resources.
742
+ *
743
+ */
744
+ readonly PROVISIONING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
745
+ /**
746
+ * The Devlab is being started.
747
+ *
748
+ */
749
+ readonly STARTING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
750
+ /**
751
+ * The Devlab is running.
752
+ *
753
+ */
754
+ readonly RUNNING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
755
+ /**
756
+ * The Devlab is being stopped.
757
+ *
758
+ */
759
+ readonly STOPPING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
760
+ /**
761
+ * The Devlab is being deleted.
762
+ *
763
+ */
764
+ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
765
+ /**
766
+ * The Devlab has been stopped.
767
+ *
768
+ */
769
+ readonly STOPPED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
770
+ /**
771
+ * The Devlab has failed.
772
+ *
773
+ */
774
+ readonly FAILED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
775
+ /**
776
+ * The Devlab encountered an error.
777
+ *
778
+ */
779
+ readonly ERROR: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
780
+ /**
781
+ * The Devlab is pulling an image (STARTING -> IMAGE_PULLING -> RUNNING).
782
+ *
783
+ */
784
+ readonly IMAGE_PULLING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING">;
785
+ }
786
+ /** Defines the runtime API for {@link DevlabInstanceStatus_State}. */
787
+ export type DevlabInstanceStatus_StateClass = EnumClass<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "PROVISIONING" | "STARTING" | "RUNNING" | "STOPPING" | "DELETING" | "STOPPED" | "FAILED" | "ERROR" | "IMAGE_PULLING"> & DevlabInstanceStatus_StateValueMembers;
788
+ /** Converts and creates {@link DevlabInstanceStatus_State} values. */
789
+ export declare const DevlabInstanceStatus_State: DevlabInstanceStatus_StateClass;
790
+ /**
791
+ * Represents an interactive development environment backed by Serverless infrastructure.
792
+ *
793
+ */
794
+ export interface Devlab {
795
+ /** Contains the fully qualified protobuf type name. */
796
+ $type: "nebius.ai.v1.Devlab";
797
+ /** Preserves protobuf fields that this SDK version does not recognize. */
798
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
799
+ /** Returns a safe value for JSON logs. */
800
+ [customJson]?: () => unknown;
801
+ /**
802
+ * The metadata of the Devlab.
803
+ *
804
+ */
805
+ metadata?: ResourceMetadata | undefined;
806
+ /**
807
+ * The configuration of the Devlab.
808
+ *
809
+ */
810
+ spec?: DevlabSpec | undefined;
811
+ /**
812
+ * The current status of the Devlab.
813
+ *
814
+ */
815
+ status?: DevlabStatus | undefined;
816
+ }
817
+ /** Encodes, decodes, converts, and creates {@link Devlab} messages. */
818
+ export declare const Devlab: MessageFns<Devlab, "nebius.ai.v1.Devlab">;
819
+ /**
820
+ * DevlabSpec defines an interactive workload that will be run.
821
+ *
822
+ */
823
+ export interface DevlabSpec {
824
+ /** Contains the fully qualified protobuf type name. */
825
+ $type: "nebius.ai.v1.DevlabSpec";
826
+ /** Preserves protobuf fields that this SDK version does not recognize. */
827
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
828
+ /** Returns a safe value for JSON logs. */
829
+ [customJson]?: () => unknown;
830
+ /**
831
+ * The Docker image to use for the Devlab's container.
832
+ *
833
+ * Required unless `template` is set: the template declares the image.
834
+ *
835
+ */
836
+ image: string;
837
+ /**
838
+ * Specifies the environment variables for the Devlab's container.
839
+ *
840
+ */
841
+ environmentVariables: DevlabSpec_EnvironmentVariable[];
842
+ /**
843
+ * Specifies the ports that the Devlab exposes.
844
+ *
845
+ */
846
+ ports: DevlabSpec_Port[];
847
+ /**
848
+ * The entrypoint command for the Devlab's container.
849
+ *
850
+ */
851
+ containerCommand: string;
852
+ /**
853
+ * The arguments to pass to the entrypoint command.
854
+ *
855
+ */
856
+ args: string;
857
+ /**
858
+ * The working directory for the Devlab's container.
859
+ *
860
+ */
861
+ workingDir: string;
862
+ /**
863
+ * Extra volumes to be mounted into the Devlab container.
864
+ *
865
+ */
866
+ volumes: DevlabSpec_VolumeMount[];
867
+ /**
868
+ * Registry credentials for private Docker registry.
869
+ *
870
+ */
871
+ registryCredentials?: DevlabSpec_RegistryCredentials | undefined;
872
+ /**
873
+ * Compute platform that the Devlab will be run on.
874
+ *
875
+ */
876
+ platform: string;
877
+ /**
878
+ * Compute preset that the Devlab will be run on.
879
+ *
880
+ */
881
+ preset: string;
882
+ /**
883
+ * Shared memory size in bytes for the Devlab's container.
884
+ *
885
+ */
886
+ shmSizeBytes: Long;
887
+ /**
888
+ * Disk spec for the main disk of the Devlab runtime VM.
889
+ *
890
+ */
891
+ disk?: DevlabSpec_DiskSpec | undefined;
892
+ /**
893
+ * Subnet ID where the Devlab will be deployed.
894
+ *
895
+ */
896
+ subnetId: string;
897
+ /**
898
+ * Whether to assign a public IP to the Devlab runtime VM.
899
+ *
900
+ */
901
+ publicIp: boolean;
902
+ /**
903
+ * Public keys to be authorized for SSH access to the Devlab.
904
+ *
905
+ */
906
+ sshAuthorizedKeys: string[];
907
+ /**
908
+ * Primary workspace storage for user state.
909
+ *
910
+ */
911
+ workspace?: DevlabSpec_Workspace | undefined;
912
+ /**
913
+ * Primary web route exposed through the managed HTTPS endpoint.
914
+ *
915
+ * Required unless `template` is set: the template declares the primary
916
+ * web UI port.
917
+ *
918
+ */
919
+ primaryRoute?: DevlabSpec_PrimaryRoute | undefined;
920
+ /**
921
+ * Template that defines the Devlab's container.
922
+ *
923
+ * When set, the template declares the container shape: image, entrypoint
924
+ * command, arguments, working directory, ports, optional shared memory size,
925
+ * the primary web route, and the default workspace path. The spec must leave
926
+ * image, container command, arguments, working directory, and primary route
927
+ * empty. Environment variables and ports extend the template-declared ones,
928
+ * `workspace.container_path` may override the template default, and
929
+ * `shm_size_bytes` may be set only when the template leaves it unset.
930
+ *
931
+ * The template is consumed at creation time: read methods return the
932
+ * rendered container shape instead of the template reference.
933
+ *
934
+ */
935
+ template?: DevlabSpec_Template | undefined;
936
+ /**
937
+ * Small config files injected into the container before the user process
938
+ * starts. Intended for configs, not datasets. Read methods return target
939
+ * paths. File content is returned only by Get with view SECRET.
940
+ *
941
+ */
942
+ injectedFiles: DevlabSpec_FileInjection[];
943
+ /**
944
+ * The MysteryBox secret that contains the authentication token under the `AUTH_TOKEN` payload key.
945
+ * This field enables an authentication proxy for the Devlab's HTTP ports.
946
+ * The proxy rejects requests without an `Authorization: Bearer <token>` header that contains the matching token.
947
+ * If absent, Serverless does not add this bearer-token check.
948
+ *
949
+ */
950
+ authTokenMysteryboxSecret?: DevlabSpec_MysteryBoxSecretRef | undefined;
951
+ }
952
+ /** Encodes, decodes, converts, and creates {@link DevlabSpec} messages. */
953
+ export declare const DevlabSpec: MessageFns<DevlabSpec, "nebius.ai.v1.DevlabSpec">;
954
+ /**
955
+ * EnvironmentVariable defines an environment variable for the Devlab's container.
956
+ *
957
+ */
958
+ export interface DevlabSpec_EnvironmentVariable {
959
+ /** Contains the fully qualified protobuf type name. */
960
+ $type: "nebius.ai.v1.DevlabSpec.EnvironmentVariable";
961
+ /** Preserves protobuf fields that this SDK version does not recognize. */
962
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
963
+ /** Returns a safe value for JSON logs. */
964
+ [customJson]?: () => unknown;
965
+ /**
966
+ * The name of the environment variable.
967
+ *
968
+ */
969
+ name: string;
970
+ /** Contains the selected value for the `value_source` protobuf oneof. */
971
+ valueSource?: {
972
+ $case: "value";
973
+ value: string;
974
+ } | {
975
+ $case: "mysteryboxSecret";
976
+ mysteryboxSecret: DevlabSpec_MysteryBoxSecretRef;
977
+ } | undefined;
978
+ }
979
+ /** Encodes, decodes, converts, and creates {@link DevlabSpec_EnvironmentVariable} messages. */
980
+ export declare const DevlabSpec_EnvironmentVariable: MessageFns<DevlabSpec_EnvironmentVariable, "nebius.ai.v1.DevlabSpec.EnvironmentVariable">;
981
+ /** Represents the `nebius.ai.v1.DevlabSpec.Port` protobuf message. */
982
+ export interface DevlabSpec_Port {
983
+ /** Contains the fully qualified protobuf type name. */
984
+ $type: "nebius.ai.v1.DevlabSpec.Port";
985
+ /** Preserves protobuf fields that this SDK version does not recognize. */
986
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
987
+ /** Returns a safe value for JSON logs. */
988
+ [customJson]?: () => unknown;
989
+ /**
990
+ * Container port.
991
+ *
992
+ */
993
+ containerPort: number;
994
+ /**
995
+ * Host port.
996
+ *
997
+ * Set to 0 to use the same value as container_port.
998
+ *
999
+ */
1000
+ hostPort: number;
1001
+ /**
1002
+ * Port's protocol.
1003
+ *
1004
+ */
1005
+ protocol: DevlabSpec_Port_Protocol;
1006
+ }
1007
+ /** Encodes, decodes, converts, and creates {@link DevlabSpec_Port} messages. */
1008
+ export declare const DevlabSpec_Port: MessageFns<DevlabSpec_Port, "nebius.ai.v1.DevlabSpec.Port">;
1009
+ /**
1010
+ * VolumeMount represents an extra volume mount for the Devlab container.
1011
+ *
1012
+ */
1013
+ export interface DevlabSpec_VolumeMount {
1014
+ /** Contains the fully qualified protobuf type name. */
1015
+ $type: "nebius.ai.v1.DevlabSpec.VolumeMount";
1016
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1017
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1018
+ /** Returns a safe value for JSON logs. */
1019
+ [customJson]?: () => unknown;
1020
+ /**
1021
+ * Source of the volume mount.
1022
+ *
1023
+ * Can be a name or an ID of Nebius Storage bucket or filesystem,
1024
+ * or an S3 URI (e.g. "s3://bucket-name") when using external S3 storage.
1025
+ *
1026
+ */
1027
+ source: string;
1028
+ /**
1029
+ * Path inside the source volume.
1030
+ *
1031
+ * Optional.
1032
+ *
1033
+ */
1034
+ sourcePath: string;
1035
+ /**
1036
+ * Path inside the Devlab container where the volume is mounted.
1037
+ *
1038
+ * Must be a clean absolute path: root, trailing slashes, empty path
1039
+ * segments, "." and ".." are not allowed.
1040
+ *
1041
+ */
1042
+ containerPath: string;
1043
+ /**
1044
+ * Mount mode.
1045
+ *
1046
+ */
1047
+ mode: DevlabSpec_VolumeMount_Mode;
1048
+ /**
1049
+ * Source Config
1050
+ *
1051
+ */
1052
+ sourceConfig?: {
1053
+ $case: "s3Config";
1054
+ s3Config: DevlabSpec_VolumeMount_S3Config;
1055
+ } | undefined;
1056
+ }
1057
+ /** Encodes, decodes, converts, and creates {@link DevlabSpec_VolumeMount} messages. */
1058
+ export declare const DevlabSpec_VolumeMount: MessageFns<DevlabSpec_VolumeMount, "nebius.ai.v1.DevlabSpec.VolumeMount">;
1059
+ /**
1060
+ * Config for accessing an external S3-compatible storage.
1061
+ *
1062
+ * The bucket name is specified in the `source` field as an S3 URI.
1063
+ *
1064
+ */
1065
+ export interface DevlabSpec_VolumeMount_S3Config {
1066
+ /** Contains the fully qualified protobuf type name. */
1067
+ $type: "nebius.ai.v1.DevlabSpec.VolumeMount.S3Config";
1068
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1069
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1070
+ /** Returns a safe value for JSON logs. */
1071
+ [customJson]?: () => unknown;
1072
+ /**
1073
+ * S3-compatible endpoint URL (e.g. "https://s3.amazonaws.com").
1074
+ *
1075
+ */
1076
+ endpoint: string;
1077
+ /**
1078
+ * S3 region.
1079
+ *
1080
+ */
1081
+ region: string;
1082
+ /**
1083
+ * Reference to a MysteryBox secret containing S3 credentials.
1084
+ *
1085
+ */
1086
+ mysteryboxSecret?: DevlabSpec_MysteryBoxSecretRef | undefined;
1087
+ }
1088
+ /** Encodes, decodes, converts, and creates {@link DevlabSpec_VolumeMount_S3Config} messages. */
1089
+ export declare const DevlabSpec_VolumeMount_S3Config: MessageFns<DevlabSpec_VolumeMount_S3Config, "nebius.ai.v1.DevlabSpec.VolumeMount.S3Config">;
1090
+ /** Represents the `nebius.ai.v1.DevlabSpec.DiskSpec` protobuf message. */
1091
+ export interface DevlabSpec_DiskSpec {
1092
+ /** Contains the fully qualified protobuf type name. */
1093
+ $type: "nebius.ai.v1.DevlabSpec.DiskSpec";
1094
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1095
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1096
+ /** Returns a safe value for JSON logs. */
1097
+ [customJson]?: () => unknown;
1098
+ /**
1099
+ * Disk type.
1100
+ *
1101
+ */
1102
+ type: DiskSpec_DiskType;
1103
+ /**
1104
+ * Disk size in bytes.
1105
+ *
1106
+ */
1107
+ sizeBytes: Long;
1108
+ }
1109
+ /** Encodes, decodes, converts, and creates {@link DevlabSpec_DiskSpec} messages. */
1110
+ export declare const DevlabSpec_DiskSpec: MessageFns<DevlabSpec_DiskSpec, "nebius.ai.v1.DevlabSpec.DiskSpec">;
1111
+ /** Represents the `nebius.ai.v1.DevlabSpec.RegistryCredentials` protobuf message. */
1112
+ export interface DevlabSpec_RegistryCredentials {
1113
+ /** Contains the fully qualified protobuf type name. */
1114
+ $type: "nebius.ai.v1.DevlabSpec.RegistryCredentials";
1115
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1116
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1117
+ /** Returns a safe value for JSON logs. */
1118
+ [customJson]?: () => unknown;
1119
+ /**
1120
+ * Secret version storing the registry credentials.
1121
+ * Must have keys "REGISTRY_USERNAME" and "REGISTRY_PASSWORD".
1122
+ *
1123
+ */
1124
+ mysteryboxSecretVersion: string;
1125
+ }
1126
+ /** Encodes, decodes, converts, and creates {@link DevlabSpec_RegistryCredentials} messages. */
1127
+ export declare const DevlabSpec_RegistryCredentials: MessageFns<DevlabSpec_RegistryCredentials, "nebius.ai.v1.DevlabSpec.RegistryCredentials">;
1128
+ /** Represents the `nebius.ai.v1.DevlabSpec.Workspace` protobuf message. */
1129
+ export interface DevlabSpec_Workspace {
1130
+ /** Contains the fully qualified protobuf type name. */
1131
+ $type: "nebius.ai.v1.DevlabSpec.Workspace";
1132
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1133
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1134
+ /** Returns a safe value for JSON logs. */
1135
+ [customJson]?: () => unknown;
1136
+ /**
1137
+ * Path inside the Devlab container where the workspace is mounted.
1138
+ *
1139
+ * Must be a clean absolute path: root, trailing slashes, empty path
1140
+ * segments, "." and ".." are not allowed.
1141
+ *
1142
+ * Required unless the Devlab is created from a template: the template
1143
+ * declares the default workspace path, and a non-empty value overrides it.
1144
+ *
1145
+ */
1146
+ containerPath: string;
1147
+ }
1148
+ /** Encodes, decodes, converts, and creates {@link DevlabSpec_Workspace} messages. */
1149
+ export declare const DevlabSpec_Workspace: MessageFns<DevlabSpec_Workspace, "nebius.ai.v1.DevlabSpec.Workspace">;
1150
+ /** Represents the `nebius.ai.v1.DevlabSpec.PrimaryRoute` protobuf message. */
1151
+ export interface DevlabSpec_PrimaryRoute {
1152
+ /** Contains the fully qualified protobuf type name. */
1153
+ $type: "nebius.ai.v1.DevlabSpec.PrimaryRoute";
1154
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1155
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1156
+ /** Returns a safe value for JSON logs. */
1157
+ [customJson]?: () => unknown;
1158
+ /**
1159
+ * Container port that serves the primary web UI.
1160
+ *
1161
+ */
1162
+ containerPort: number;
1163
+ }
1164
+ /** Encodes, decodes, converts, and creates {@link DevlabSpec_PrimaryRoute} messages. */
1165
+ export declare const DevlabSpec_PrimaryRoute: MessageFns<DevlabSpec_PrimaryRoute, "nebius.ai.v1.DevlabSpec.PrimaryRoute">;
1166
+ /**
1167
+ * FileInjection materializes a small file inside the container at launch.
1168
+ *
1169
+ */
1170
+ export interface DevlabSpec_FileInjection {
1171
+ /** Contains the fully qualified protobuf type name. */
1172
+ $type: "nebius.ai.v1.DevlabSpec.FileInjection";
1173
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1174
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1175
+ /** Returns a safe value for JSON logs. */
1176
+ [customJson]?: () => unknown;
1177
+ /**
1178
+ * Absolute path inside the container where the content is written.
1179
+ *
1180
+ * Must be a clean absolute path: root, trailing slashes, empty path
1181
+ * segments, "." and ".." are not allowed.
1182
+ *
1183
+ */
1184
+ containerPath: string;
1185
+ /**
1186
+ * File content. On create, must contain between 1 byte and 64 KiB
1187
+ * (one mystery box secret payload).
1188
+ * Returned only by Get with view SECRET.
1189
+ *
1190
+ */
1191
+ content: Uint8Array;
1192
+ }
1193
+ /** Encodes, decodes, converts, and creates {@link DevlabSpec_FileInjection} messages. */
1194
+ export declare const DevlabSpec_FileInjection: MessageFns<DevlabSpec_FileInjection, "nebius.ai.v1.DevlabSpec.FileInjection">;
1195
+ /**
1196
+ * Reference to a VM app template the Devlab's container is rendered from.
1197
+ *
1198
+ */
1199
+ export interface DevlabSpec_Template {
1200
+ /** Contains the fully qualified protobuf type name. */
1201
+ $type: "nebius.ai.v1.DevlabSpec.Template";
1202
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1203
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1204
+ /** Returns a safe value for JSON logs. */
1205
+ [customJson]?: () => unknown;
1206
+ /**
1207
+ * VM app template ID.
1208
+ *
1209
+ */
1210
+ id: string;
1211
+ /**
1212
+ * The values for the template's input fields, keyed by each TemplateInputField.id.
1213
+ * VmAppTemplateService.Get and List return these field definitions in VmAppTemplate.status.input_fields.
1214
+ * Each value must match its field's type:
1215
+ * - STRING: string_value. The value must satisfy the template's pattern, options, or unit format.
1216
+ * - INTEGER: number_value with an integer value within the template's bounds.
1217
+ * - BOOLEAN: bool_value.
1218
+ * - MYSTERYBOX_SECRET_VERSION: string_value with the secret version ID.
1219
+ * null_value and absent entries both omit the input. Required inputs cannot be omitted.
1220
+ * Optional inputs use the defaults from the template's input definition.
1221
+ * Explicit false, 0, and empty strings are values, not omitted inputs. The template's validation still applies.
1222
+ * Object and list values are not supported. Unknown field IDs have no effect.
1223
+ * Read methods do not return this map.
1224
+ *
1225
+ */
1226
+ inputFieldValues: {
1227
+ [key: string]: any;
1228
+ };
1229
+ }
1230
+ /** Encodes, decodes, converts, and creates {@link DevlabSpec_Template} messages. */
1231
+ export declare const DevlabSpec_Template: MessageFns<DevlabSpec_Template, "nebius.ai.v1.DevlabSpec.Template">;
1232
+ /**
1233
+ * Reference to a MysteryBox secret.
1234
+ *
1235
+ */
1236
+ export interface DevlabSpec_MysteryBoxSecretRef {
1237
+ /** Contains the fully qualified protobuf type name. */
1238
+ $type: "nebius.ai.v1.DevlabSpec.MysteryBoxSecretRef";
1239
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1240
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1241
+ /** Returns a safe value for JSON logs. */
1242
+ [customJson]?: () => unknown;
1243
+ /**
1244
+ * MysteryBox secret ID.
1245
+ *
1246
+ */
1247
+ secretId: string;
1248
+ /**
1249
+ * MysteryBox secret version ID.
1250
+ *
1251
+ */
1252
+ versionId: string;
1253
+ }
1254
+ /** Encodes, decodes, converts, and creates {@link DevlabSpec_MysteryBoxSecretRef} messages. */
1255
+ export declare const DevlabSpec_MysteryBoxSecretRef: MessageFns<DevlabSpec_MysteryBoxSecretRef, "nebius.ai.v1.DevlabSpec.MysteryBoxSecretRef">;
1256
+ /**
1257
+ * DevlabStatus represents the status of a Devlab.
1258
+ *
1259
+ */
1260
+ export interface DevlabStatus {
1261
+ /** Contains the fully qualified protobuf type name. */
1262
+ $type: "nebius.ai.v1.DevlabStatus";
1263
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1264
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1265
+ /** Returns a safe value for JSON logs. */
1266
+ [customJson]?: () => unknown;
1267
+ /**
1268
+ * Private endpoints to access the workload.
1269
+ *
1270
+ */
1271
+ privateEndpoints: string[];
1272
+ /**
1273
+ * Managed HTTPS/TLS URLs the workload is reachable at, one per routable port.
1274
+ *
1275
+ * Populated only while the Devlab is RUNNING and its managed tunnel is ready;
1276
+ * empty otherwise. The URLs are not bearer secrets — Tunna/IAM authorizes
1277
+ * access on use — so they are returned to any caller that may read the Devlab.
1278
+ *
1279
+ */
1280
+ publicEndpoints: string[];
1281
+ /**
1282
+ * Status of individual Devlab runtime instances.
1283
+ *
1284
+ */
1285
+ instances: DevlabInstanceStatus[];
1286
+ /**
1287
+ * State of the Devlab.
1288
+ *
1289
+ */
1290
+ state: DevlabStatus_State;
1291
+ /**
1292
+ * Details of the Devlab's state.
1293
+ *
1294
+ */
1295
+ stateDetails?: DevlabStateDetails | undefined;
1296
+ }
1297
+ /** Encodes, decodes, converts, and creates {@link DevlabStatus} messages. */
1298
+ export declare const DevlabStatus: MessageFns<DevlabStatus, "nebius.ai.v1.DevlabStatus">;
1299
+ /**
1300
+ * Devlab state details.
1301
+ *
1302
+ */
1303
+ export interface DevlabStateDetails {
1304
+ /** Contains the fully qualified protobuf type name. */
1305
+ $type: "nebius.ai.v1.DevlabStateDetails";
1306
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1307
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1308
+ /** Returns a safe value for JSON logs. */
1309
+ [customJson]?: () => unknown;
1310
+ /**
1311
+ * Short state description.
1312
+ *
1313
+ */
1314
+ code: string;
1315
+ /**
1316
+ * Detailed human-readable description.
1317
+ *
1318
+ */
1319
+ message: string;
1320
+ }
1321
+ /** Encodes, decodes, converts, and creates {@link DevlabStateDetails} messages. */
1322
+ export declare const DevlabStateDetails: MessageFns<DevlabStateDetails, "nebius.ai.v1.DevlabStateDetails">;
1323
+ /**
1324
+ * DevlabInstanceStatus represents the status of a Devlab runtime instance.
1325
+ *
1326
+ */
1327
+ export interface DevlabInstanceStatus {
1328
+ /** Contains the fully qualified protobuf type name. */
1329
+ $type: "nebius.ai.v1.DevlabInstanceStatus";
1330
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1331
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1332
+ /** Returns a safe value for JSON logs. */
1333
+ [customJson]?: () => unknown;
1334
+ /**
1335
+ * The current state of the Devlab's workload.
1336
+ *
1337
+ */
1338
+ state: DevlabInstanceStatus_State;
1339
+ /**
1340
+ * ID of the compute instance running the Devlab.
1341
+ *
1342
+ */
1343
+ computeInstanceId: string;
1344
+ /**
1345
+ * The current state of the compute instance.
1346
+ *
1347
+ */
1348
+ computeInstanceState: InstanceStatus_InstanceState;
1349
+ /**
1350
+ * Private IP address of the instance.
1351
+ *
1352
+ */
1353
+ privateIp: string;
1354
+ /**
1355
+ * Public IP address of the instance.
1356
+ *
1357
+ */
1358
+ publicIp: string;
1359
+ }
1360
+ /** Encodes, decodes, converts, and creates {@link DevlabInstanceStatus} messages. */
1361
+ export declare const DevlabInstanceStatus: MessageFns<DevlabInstanceStatus, "nebius.ai.v1.DevlabInstanceStatus">;
10
1362
  /**
11
1363
  * Controls whether injected-file content and unmasked inline S3 credential values are included.
12
1364
  *