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