@fi-ts/api 0.0.0-pr.32.c2dd3ad0 → 0.0.0-pr.35.7ca861b5

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.
@@ -1,631 +0,0 @@
1
- // @generated by protoc-gen-es v2.14.1 with parameter "target=ts,import_extension=js"
2
- // @generated from file fits/api/vm/v1/vm.proto (package fits.api.vm.v1, syntax proto3)
3
- /* eslint-disable */
4
-
5
- import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
- import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
- import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js";
8
- import type { Labels, Meta, Paging, UpdateLabels, UpdateMeta } from "../../v1/common_pb.js";
9
- import { file_fits_api_v1_common } from "../../v1/common_pb.js";
10
- import { file_fits_api_v1_predefined_rules } from "../../v1/predefined_rules_pb.js";
11
- import type { Message } from "@bufbuild/protobuf";
12
-
13
- /**
14
- * Describes the file fits/api/vm/v1/vm.proto.
15
- */
16
- export const file_fits_api_vm_v1_vm: GenFile = /*@__PURE__*/
17
- fileDesc("ChdmaXRzL2FwaS92bS92MS92bS5wcm90bxIOZml0cy5hcGkudm0udjEi4QEKAlZNEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEh8KBG1ldGEYAiABKAsyES5maXRzLmFwaS52MS5NZXRhEhkKBG5hbWUYAyABKAlCC7pICHIGwLOusQIBEhsKBnRlbmFudBgEIAEoCUILukgIcgbAs66xAgESHgoMcHJvamVjdF91dWlkGAUgASgJQgi6SAVyA7ABARIiCgRzaXplGAYgASgOMhQuZml0cy5hcGkudm0udjEuU2l6ZRImCgZzdGF0dXMYByABKAsyFi5maXRzLmFwaS52bS52MS5TdGF0dXMidwoGU3RhdHVzEiQKBXN0YXRlGAEgASgOMhUuZml0cy5hcGkudm0udjEuU3RhdGUSGQoEaW5mbxgCIAEoCUILukgIcgbIs66xAg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2UygQQKCVZNU2VydmljZRJdCgNHZXQSIy5maXRzLmFwaS52bS52MS5WTVNlcnZpY2VHZXRSZXF1ZXN0GiQuZml0cy5hcGkudm0udjEuVk1TZXJ2aWNlR2V0UmVzcG9uc2UiC8rzGAMBAgPg8xgCEmUKBkNyZWF0ZRImLmZpdHMuYXBpLnZtLnYxLlZNU2VydmljZUNyZWF0ZVJlcXVlc3QaJy5maXRzLmFwaS52bS52MS5WTVNlcnZpY2VDcmVhdGVSZXNwb25zZSIKyvMYAgEC4PMYARJgCgRMaXN0EiQuZml0cy5hcGkudm0udjEuVk1TZXJ2aWNlTGlzdFJlcXVlc3QaJS5maXRzLmFwaS52bS52MS5WTVNlcnZpY2VMaXN0UmVzcG9uc2UiC8rzGAMBAgPg8xgCEmUKBlVwZGF0ZRImLmZpdHMuYXBpLnZtLnYxLlZNU2VydmljZVVwZGF0ZVJlcXVlc3QaJy5maXRzLmFwaS52bS52MS5WTVNlcnZpY2VVcGRhdGVSZXNwb25zZSIKyvMYAgEC4PMYARJlCgZEZWxldGUSJi5maXRzLmFwaS52bS52MS5WTVNlcnZpY2VEZWxldGVSZXF1ZXN0GicuZml0cy5hcGkudm0udjEuVk1TZXJ2aWNlRGVsZXRlUmVzcG9uc2UiCsrzGAIBAuDzGAFCpQEKEmNvbS5maXRzLmFwaS52bS52MUIHVm1Qcm90b1ABWitnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92bS92MTt2bXYxogIDRkFWqgIORml0cy5BcGkuVm0uVjHKAg5GaXRzXEFwaVxWbVxWMeICGkZpdHNcQXBpXFZtXFYxXEdQQk1ldGFkYXRh6gIRRml0czo6QXBpOjpWbTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
18
-
19
- /**
20
- * The VM resource.
21
- *
22
- * @generated from message fits.api.vm.v1.VM
23
- */
24
- export type VM = Message<"fits.api.vm.v1.VM"> & {
25
- /**
26
- * UUID of this VM.
27
- *
28
- * @generated from field: string uuid = 1;
29
- */
30
- uuid: string;
31
-
32
- /**
33
- * Metadata for this VM including labels.
34
- *
35
- * @generated from field: fits.api.v1.Meta meta = 2;
36
- */
37
- meta?: Meta | undefined;
38
-
39
- /**
40
- * Name of the VM.
41
- *
42
- * @generated from field: string name = 3;
43
- */
44
- name: string;
45
-
46
- /**
47
- * FQDN of the VM, derived from the name at creation or generated by the backend.
48
- * Tenant this VM belongs to.
49
- *
50
- * @generated from field: string tenant = 4;
51
- */
52
- tenant: string;
53
-
54
- /**
55
- * UUID of the project this VM belongs to.
56
- *
57
- * @generated from field: string project_uuid = 5;
58
- */
59
- projectUuid: string;
60
-
61
- /**
62
- * Size of the VM.
63
- *
64
- * @generated from field: fits.api.vm.v1.Size size = 6;
65
- */
66
- size: Size;
67
-
68
- /**
69
- * The status of the VM.
70
- *
71
- * @generated from field: fits.api.vm.v1.Status status = 7;
72
- */
73
- status?: Status | undefined;
74
- };
75
-
76
- /**
77
- * Describes the message fits.api.vm.v1.VM.
78
- * Use `create(VMSchema)` to create a new message.
79
- */
80
- export const VMSchema: GenMessage<VM> = /*@__PURE__*/
81
- messageDesc(file_fits_api_vm_v1_vm, 0);
82
-
83
- /**
84
- * The Status of a VM.
85
- *
86
- * @generated from message fits.api.vm.v1.Status
87
- */
88
- export type Status = Message<"fits.api.vm.v1.Status"> & {
89
- /**
90
- * The state of the VM status.
91
- *
92
- * @generated from field: fits.api.vm.v1.State state = 1;
93
- */
94
- state: State;
95
-
96
- /**
97
- * The info details of the current state.
98
- *
99
- * @generated from field: string info = 2;
100
- */
101
- info: string;
102
-
103
- /**
104
- * The current operation running on the VM.
105
- *
106
- * @generated from field: fits.api.vm.v1.Operation operation = 3;
107
- */
108
- operation: Operation;
109
- };
110
-
111
- /**
112
- * Describes the message fits.api.vm.v1.Status.
113
- * Use `create(StatusSchema)` to create a new message.
114
- */
115
- export const StatusSchema: GenMessage<Status> = /*@__PURE__*/
116
- messageDesc(file_fits_api_vm_v1_vm, 1);
117
-
118
- /**
119
- * The VM query parameters to filter the list of results.
120
- *
121
- * @generated from message fits.api.vm.v1.VMQuery
122
- */
123
- export type VMQuery = Message<"fits.api.vm.v1.VMQuery"> & {
124
- /**
125
- * The name of the VMs.
126
- *
127
- * @generated from field: optional string name = 1;
128
- */
129
- name?: string | undefined;
130
-
131
- /**
132
- * The labels each VM should have.
133
- *
134
- * @generated from field: optional fits.api.v1.Labels labels = 2;
135
- */
136
- labels?: Labels | undefined;
137
- };
138
-
139
- /**
140
- * Describes the message fits.api.vm.v1.VMQuery.
141
- * Use `create(VMQuerySchema)` to create a new message.
142
- */
143
- export const VMQuerySchema: GenMessage<VMQuery> = /*@__PURE__*/
144
- messageDesc(file_fits_api_vm_v1_vm, 2);
145
-
146
- /**
147
- * Request to get a VM by UUID.
148
- *
149
- * @generated from message fits.api.vm.v1.VMServiceGetRequest
150
- */
151
- export type VMServiceGetRequest = Message<"fits.api.vm.v1.VMServiceGetRequest"> & {
152
- /**
153
- * UUID of the VM to get.
154
- *
155
- * @generated from field: string uuid = 1;
156
- */
157
- uuid: string;
158
-
159
- /**
160
- * UUID of the project this VM belongs to.
161
- *
162
- * @generated from field: string project_uuid = 2;
163
- */
164
- projectUuid: string;
165
- };
166
-
167
- /**
168
- * Describes the message fits.api.vm.v1.VMServiceGetRequest.
169
- * Use `create(VMServiceGetRequestSchema)` to create a new message.
170
- */
171
- export const VMServiceGetRequestSchema: GenMessage<VMServiceGetRequest> = /*@__PURE__*/
172
- messageDesc(file_fits_api_vm_v1_vm, 3);
173
-
174
- /**
175
- * Response containing the requested VM.
176
- *
177
- * @generated from message fits.api.vm.v1.VMServiceGetResponse
178
- */
179
- export type VMServiceGetResponse = Message<"fits.api.vm.v1.VMServiceGetResponse"> & {
180
- /**
181
- * The VM.
182
- *
183
- * @generated from field: fits.api.vm.v1.VM vm = 1;
184
- */
185
- vm?: VM | undefined;
186
- };
187
-
188
- /**
189
- * Describes the message fits.api.vm.v1.VMServiceGetResponse.
190
- * Use `create(VMServiceGetResponseSchema)` to create a new message.
191
- */
192
- export const VMServiceGetResponseSchema: GenMessage<VMServiceGetResponse> = /*@__PURE__*/
193
- messageDesc(file_fits_api_vm_v1_vm, 4);
194
-
195
- /**
196
- * The request to create a new VM.
197
- *
198
- * @generated from message fits.api.vm.v1.VMServiceCreateRequest
199
- */
200
- export type VMServiceCreateRequest = Message<"fits.api.vm.v1.VMServiceCreateRequest"> & {
201
- /**
202
- * UUID of the project this VM belongs to.
203
- *
204
- * @generated from field: string project_uuid = 1;
205
- */
206
- projectUuid: string;
207
-
208
- /**
209
- * Name of the VM.
210
- *
211
- * @generated from field: string name = 2;
212
- */
213
- name: string;
214
-
215
- /**
216
- * Labels for this VM.
217
- *
218
- * @generated from field: fits.api.v1.Labels labels = 3;
219
- */
220
- labels?: Labels | undefined;
221
-
222
- /**
223
- * Size of the VM.
224
- *
225
- * @generated from field: fits.api.vm.v1.Size size = 4;
226
- */
227
- size: Size;
228
- };
229
-
230
- /**
231
- * Describes the message fits.api.vm.v1.VMServiceCreateRequest.
232
- * Use `create(VMServiceCreateRequestSchema)` to create a new message.
233
- */
234
- export const VMServiceCreateRequestSchema: GenMessage<VMServiceCreateRequest> = /*@__PURE__*/
235
- messageDesc(file_fits_api_vm_v1_vm, 5);
236
-
237
- /**
238
- * The response when creating a new VM.
239
- *
240
- * @generated from message fits.api.vm.v1.VMServiceCreateResponse
241
- */
242
- export type VMServiceCreateResponse = Message<"fits.api.vm.v1.VMServiceCreateResponse"> & {
243
- /**
244
- * The VM just created.
245
- *
246
- * @generated from field: fits.api.vm.v1.VM vm = 1;
247
- */
248
- vm?: VM | undefined;
249
- };
250
-
251
- /**
252
- * Describes the message fits.api.vm.v1.VMServiceCreateResponse.
253
- * Use `create(VMServiceCreateResponseSchema)` to create a new message.
254
- */
255
- export const VMServiceCreateResponseSchema: GenMessage<VMServiceCreateResponse> = /*@__PURE__*/
256
- messageDesc(file_fits_api_vm_v1_vm, 6);
257
-
258
- /**
259
- * The request to list and filter VMs.
260
- *
261
- * @generated from message fits.api.vm.v1.VMServiceListRequest
262
- */
263
- export type VMServiceListRequest = Message<"fits.api.vm.v1.VMServiceListRequest"> & {
264
- /**
265
- * UUID of the project this VM belongs to.
266
- *
267
- * @generated from field: string project_uuid = 1;
268
- */
269
- projectUuid: string;
270
-
271
- /**
272
- * Paging details for the list request.
273
- *
274
- * @generated from field: fits.api.v1.Paging paging = 2;
275
- */
276
- paging?: Paging | undefined;
277
-
278
- /**
279
- * Query defines how to filter the VMs.
280
- *
281
- * @generated from field: fits.api.vm.v1.VMQuery query = 3;
282
- */
283
- query?: VMQuery | undefined;
284
- };
285
-
286
- /**
287
- * Describes the message fits.api.vm.v1.VMServiceListRequest.
288
- * Use `create(VMServiceListRequestSchema)` to create a new message.
289
- */
290
- export const VMServiceListRequestSchema: GenMessage<VMServiceListRequest> = /*@__PURE__*/
291
- messageDesc(file_fits_api_vm_v1_vm, 7);
292
-
293
- /**
294
- * The response when listing VMs.
295
- *
296
- * @generated from message fits.api.vm.v1.VMServiceListResponse
297
- */
298
- export type VMServiceListResponse = Message<"fits.api.vm.v1.VMServiceListResponse"> & {
299
- /**
300
- * VMs is a list of filtered VMs resources.
301
- *
302
- * @generated from field: repeated fits.api.vm.v1.VM vms = 1;
303
- */
304
- vms: VM[];
305
- };
306
-
307
- /**
308
- * Describes the message fits.api.vm.v1.VMServiceListResponse.
309
- * Use `create(VMServiceListResponseSchema)` to create a new message.
310
- */
311
- export const VMServiceListResponseSchema: GenMessage<VMServiceListResponse> = /*@__PURE__*/
312
- messageDesc(file_fits_api_vm_v1_vm, 8);
313
-
314
- /**
315
- * The request to update a VM.
316
- *
317
- * @generated from message fits.api.vm.v1.VMServiceUpdateRequest
318
- */
319
- export type VMServiceUpdateRequest = Message<"fits.api.vm.v1.VMServiceUpdateRequest"> & {
320
- /**
321
- * UUID of the VM to update.
322
- *
323
- * @generated from field: string uuid = 1;
324
- */
325
- uuid: string;
326
-
327
- /**
328
- * UUID of the project this VM belongs to.
329
- *
330
- * @generated from field: string project_uuid = 2;
331
- */
332
- projectUuid: string;
333
-
334
- /**
335
- * UpdateMeta contains the timestamp and strategy to be used in this update request.
336
- *
337
- * @generated from field: fits.api.v1.UpdateMeta update_meta = 3;
338
- */
339
- updateMeta?: UpdateMeta | undefined;
340
-
341
- /**
342
- * The labels to update.
343
- *
344
- * @generated from field: optional fits.api.v1.UpdateLabels labels = 4;
345
- */
346
- labels?: UpdateLabels | undefined;
347
-
348
- /**
349
- * Name of the VM.
350
- *
351
- * @generated from field: optional string name = 5;
352
- */
353
- name?: string | undefined;
354
-
355
- /**
356
- * Size of the VM. The new size must be bigger or equal than before.
357
- * Downgrades are not possible.
358
- *
359
- * @generated from field: optional fits.api.vm.v1.Size size = 6;
360
- */
361
- size?: Size | undefined;
362
- };
363
-
364
- /**
365
- * Describes the message fits.api.vm.v1.VMServiceUpdateRequest.
366
- * Use `create(VMServiceUpdateRequestSchema)` to create a new message.
367
- */
368
- export const VMServiceUpdateRequestSchema: GenMessage<VMServiceUpdateRequest> = /*@__PURE__*/
369
- messageDesc(file_fits_api_vm_v1_vm, 9);
370
-
371
- /**
372
- * The response when updating a VM.
373
- *
374
- * @generated from message fits.api.vm.v1.VMServiceUpdateResponse
375
- */
376
- export type VMServiceUpdateResponse = Message<"fits.api.vm.v1.VMServiceUpdateResponse"> & {
377
- /**
378
- * The updated VM.
379
- *
380
- * @generated from field: fits.api.vm.v1.VM vm = 1;
381
- */
382
- vm?: VM | undefined;
383
- };
384
-
385
- /**
386
- * Describes the message fits.api.vm.v1.VMServiceUpdateResponse.
387
- * Use `create(VMServiceUpdateResponseSchema)` to create a new message.
388
- */
389
- export const VMServiceUpdateResponseSchema: GenMessage<VMServiceUpdateResponse> = /*@__PURE__*/
390
- messageDesc(file_fits_api_vm_v1_vm, 10);
391
-
392
- /**
393
- * The request to delete a VM.
394
- *
395
- * @generated from message fits.api.vm.v1.VMServiceDeleteRequest
396
- */
397
- export type VMServiceDeleteRequest = Message<"fits.api.vm.v1.VMServiceDeleteRequest"> & {
398
- /**
399
- * UUID of the VM to delete.
400
- *
401
- * @generated from field: string uuid = 1;
402
- */
403
- uuid: string;
404
-
405
- /**
406
- * UUID of the project this VM belongs to.
407
- *
408
- * @generated from field: string project_uuid = 2;
409
- */
410
- projectUuid: string;
411
- };
412
-
413
- /**
414
- * Describes the message fits.api.vm.v1.VMServiceDeleteRequest.
415
- * Use `create(VMServiceDeleteRequestSchema)` to create a new message.
416
- */
417
- export const VMServiceDeleteRequestSchema: GenMessage<VMServiceDeleteRequest> = /*@__PURE__*/
418
- messageDesc(file_fits_api_vm_v1_vm, 11);
419
-
420
- /**
421
- * The response after deleting a VM.
422
- * The VM is deleted immediately will not be able to be requested.
423
- *
424
- * @generated from message fits.api.vm.v1.VMServiceDeleteResponse
425
- */
426
- export type VMServiceDeleteResponse = Message<"fits.api.vm.v1.VMServiceDeleteResponse"> & {
427
- };
428
-
429
- /**
430
- * Describes the message fits.api.vm.v1.VMServiceDeleteResponse.
431
- * Use `create(VMServiceDeleteResponseSchema)` to create a new message.
432
- */
433
- export const VMServiceDeleteResponseSchema: GenMessage<VMServiceDeleteResponse> = /*@__PURE__*/
434
- messageDesc(file_fits_api_vm_v1_vm, 12);
435
-
436
- /**
437
- * The health state of the VM.
438
- *
439
- * @generated from enum fits.api.vm.v1.State
440
- */
441
- export enum State {
442
- /**
443
- * STATE_UNSPECIFIED is not specified.
444
- *
445
- * @generated from enum value: STATE_UNSPECIFIED = 0;
446
- */
447
- UNSPECIFIED = 0,
448
-
449
- /**
450
- * STATE_HEALTHY: the VM is healthy.
451
- *
452
- * @generated from enum value: STATE_HEALTHY = 1;
453
- */
454
- HEALTHY = 1,
455
-
456
- /**
457
- * STATE_HEALTHY: there are some health warnings for this VM.
458
- *
459
- * @generated from enum value: STATE_WARNING = 2;
460
- */
461
- WARNING = 2,
462
-
463
- /**
464
- * STATE_ERROR: the VM is unhealthy.
465
- *
466
- * @generated from enum value: STATE_ERROR = 3;
467
- */
468
- ERROR = 3,
469
- }
470
-
471
- /**
472
- * Describes the enum fits.api.vm.v1.State.
473
- */
474
- export const StateSchema: GenEnum<State> = /*@__PURE__*/
475
- enumDesc(file_fits_api_vm_v1_vm, 0);
476
-
477
- /**
478
- * The operation of the VM.
479
- *
480
- * @generated from enum fits.api.vm.v1.Operation
481
- */
482
- export enum Operation {
483
- /**
484
- * OPERATION_UNSPECIFIED is not specified.
485
- *
486
- * @generated from enum value: OPERATION_UNSPECIFIED = 0;
487
- */
488
- UNSPECIFIED = 0,
489
-
490
- /**
491
- * OPERATION_CREATING: the VM hostname is reserved and provisioning has started.
492
- *
493
- * @generated from enum value: OPERATION_CREATING = 1;
494
- */
495
- CREATING = 1,
496
-
497
- /**
498
- * OPERATION_ACTIVE: the VM is active.
499
- *
500
- * @generated from enum value: OPERATION_ACTIVE = 2;
501
- */
502
- ACTIVE = 2,
503
-
504
- /**
505
- * OPERATION_UPDATING: there is an ongoing operation for the VM.
506
- *
507
- * @generated from enum value: OPERATION_UPDATING = 3;
508
- */
509
- UPDATING = 3,
510
-
511
- /**
512
- * OPERATION_DELETED: the VM is deleted.
513
- *
514
- * @generated from enum value: OPERATION_DELETED = 4;
515
- */
516
- DELETED = 4,
517
-
518
- /**
519
- * OPERATION_ERROR: the
520
- *
521
- * @generated from enum value: OPERATION_ERROR = 5;
522
- */
523
- ERROR = 5,
524
- }
525
-
526
- /**
527
- * Describes the enum fits.api.vm.v1.Operation.
528
- */
529
- export const OperationSchema: GenEnum<Operation> = /*@__PURE__*/
530
- enumDesc(file_fits_api_vm_v1_vm, 1);
531
-
532
- /**
533
- * Size specifies the size of the VM machine
534
- *
535
- * @generated from enum fits.api.vm.v1.Size
536
- */
537
- export enum Size {
538
- /**
539
- * SIZE_UNSPECIFIED is not specified.
540
- *
541
- * @generated from enum value: SIZE_UNSPECIFIED = 0;
542
- */
543
- UNSPECIFIED = 0,
544
-
545
- /**
546
- * SIZE_SMALL: small machine size.
547
- *
548
- * @generated from enum value: SIZE_SMALL = 1;
549
- */
550
- SMALL = 1,
551
-
552
- /**
553
- * SIZE_MEDIUM: medium machine size.
554
- *
555
- * @generated from enum value: SIZE_MEDIUM = 2;
556
- */
557
- MEDIUM = 2,
558
-
559
- /**
560
- * SIZE_LARGE: large machine size.
561
- *
562
- * @generated from enum value: SIZE_LARGE = 3;
563
- */
564
- LARGE = 3,
565
- }
566
-
567
- /**
568
- * Describes the enum fits.api.vm.v1.Size.
569
- */
570
- export const SizeSchema: GenEnum<Size> = /*@__PURE__*/
571
- enumDesc(file_fits_api_vm_v1_vm, 2);
572
-
573
- /**
574
- * VMService provides VM operations.
575
- *
576
- * @generated from service fits.api.vm.v1.VMService
577
- */
578
- export const VMService: GenService<{
579
- /**
580
- * Returns the VM with the specified UUID.
581
- *
582
- * @generated from rpc fits.api.vm.v1.VMService.Get
583
- */
584
- get: {
585
- methodKind: "unary";
586
- input: typeof VMServiceGetRequestSchema;
587
- output: typeof VMServiceGetResponseSchema;
588
- },
589
- /**
590
- * Creates a new VM.
591
- *
592
- * @generated from rpc fits.api.vm.v1.VMService.Create
593
- */
594
- create: {
595
- methodKind: "unary";
596
- input: typeof VMServiceCreateRequestSchema;
597
- output: typeof VMServiceCreateResponseSchema;
598
- },
599
- /**
600
- * Returns the list of all VMs.
601
- *
602
- * @generated from rpc fits.api.vm.v1.VMService.List
603
- */
604
- list: {
605
- methodKind: "unary";
606
- input: typeof VMServiceListRequestSchema;
607
- output: typeof VMServiceListResponseSchema;
608
- },
609
- /**
610
- * Updates a VM.
611
- *
612
- * @generated from rpc fits.api.vm.v1.VMService.Update
613
- */
614
- update: {
615
- methodKind: "unary";
616
- input: typeof VMServiceUpdateRequestSchema;
617
- output: typeof VMServiceUpdateResponseSchema;
618
- },
619
- /**
620
- * Deletes a VM immediately.
621
- *
622
- * @generated from rpc fits.api.vm.v1.VMService.Delete
623
- */
624
- delete: {
625
- methodKind: "unary";
626
- input: typeof VMServiceDeleteRequestSchema;
627
- output: typeof VMServiceDeleteResponseSchema;
628
- },
629
- }> = /*@__PURE__*/
630
- serviceDesc(file_fits_api_vm_v1_vm, 0);
631
-