@fi-ts/api 0.0.0-pr.32.a4c11e8e → 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.
- package/fits/api/mvm/v1/location_pb.d.ts +4 -11
- package/fits/api/mvm/v1/location_pb.js +2 -2
- package/fits/api/mvm/v1/location_pb.ts +4 -10
- package/fits/api/mvm/v1/os_pb.d.ts +10 -3
- package/fits/api/mvm/v1/os_pb.js +2 -2
- package/fits/api/mvm/v1/os_pb.ts +9 -3
- package/package.json +1 -1
- package/fits/api/pcvm/v1/vm_pb.d.ts +0 -537
- package/fits/api/pcvm/v1/vm_pb.js +0 -202
- package/fits/api/pcvm/v1/vm_pb.ts +0 -631
|
@@ -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/pcvm/v1/vm.proto (package fits.api.pcvm.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/pcvm/v1/vm.proto.
|
|
15
|
-
*/
|
|
16
|
-
export const file_fits_api_pcvm_v1_vm: GenFile = /*@__PURE__*/
|
|
17
|
-
fileDesc("ChlmaXRzL2FwaS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VhdGVSZXNwb25zZSIKyvMYAgEC4PMYARJ6CgRMaXN0EjEuZml0cy5hcGkucGN2bS52MS5QdWJsaWNDbG91ZFZNU2VydmljZUxpc3RSZXF1ZXN0GjIuZml0cy5hcGkucGN2bS52MS5QdWJsaWNDbG91ZFZNU2VydmljZUxpc3RSZXNwb25zZSILyvMYAwECA+DzGAISfwoGVXBkYXRlEjMuZml0cy5hcGkucGN2bS52MS5QdWJsaWNDbG91ZFZNU2VydmljZVVwZGF0ZVJlcXVlc3QaNC5maXRzLmFwaS5wY3ZtLnYxLlB1YmxpY0Nsb3VkVk1TZXJ2aWNlVXBkYXRlUmVzcG9uc2UiCsrzGAIBAuDzGAESfwoGRGVsZXRlEjMuZml0cy5hcGkucGN2bS52MS5QdWJsaWNDbG91ZFZNU2VydmljZURlbGV0ZVJlcXVlc3QaNC5maXRzLmFwaS5wY3ZtLnYxLlB1YmxpY0Nsb3VkVk1TZXJ2aWNlRGVsZXRlUmVzcG9uc2UiCsrzGAIBAuDzGAFCswEKFGNvbS5maXRzLmFwaS5wY3ZtLnYxQgdWbVByb3RvUAFaL2dpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL3Bjdm0vdjE7cGN2bXYxogIDRkFQqgIQRml0cy5BcGkuUGN2bS5WMcoCEEZpdHNcQXBpXFBjdm1cVjHiAhxGaXRzXEFwaVxQY3ZtXFYxXEdQQk1ldGFkYXRh6gITRml0czo6QXBpOjpQY3ZtOjpWMWIGcHJvdG8z", [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.pcvm.v1.PublicCloudVM
|
|
23
|
-
*/
|
|
24
|
-
export type PublicCloudVM = Message<"fits.api.pcvm.v1.PublicCloudVM"> & {
|
|
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.pcvm.v1.Size size = 6;
|
|
65
|
-
*/
|
|
66
|
-
size: Size;
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* The status of the VM.
|
|
70
|
-
*
|
|
71
|
-
* @generated from field: fits.api.pcvm.v1.Status status = 7;
|
|
72
|
-
*/
|
|
73
|
-
status?: Status | undefined;
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Describes the message fits.api.pcvm.v1.PublicCloudVM.
|
|
78
|
-
* Use `create(PublicCloudVMSchema)` to create a new message.
|
|
79
|
-
*/
|
|
80
|
-
export const PublicCloudVMSchema: GenMessage<PublicCloudVM> = /*@__PURE__*/
|
|
81
|
-
messageDesc(file_fits_api_pcvm_v1_vm, 0);
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* The Status of a VM.
|
|
85
|
-
*
|
|
86
|
-
* @generated from message fits.api.pcvm.v1.Status
|
|
87
|
-
*/
|
|
88
|
-
export type Status = Message<"fits.api.pcvm.v1.Status"> & {
|
|
89
|
-
/**
|
|
90
|
-
* The state of the VM status.
|
|
91
|
-
*
|
|
92
|
-
* @generated from field: fits.api.pcvm.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.pcvm.v1.Operation operation = 3;
|
|
107
|
-
*/
|
|
108
|
-
operation: Operation;
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* Describes the message fits.api.pcvm.v1.Status.
|
|
113
|
-
* Use `create(StatusSchema)` to create a new message.
|
|
114
|
-
*/
|
|
115
|
-
export const StatusSchema: GenMessage<Status> = /*@__PURE__*/
|
|
116
|
-
messageDesc(file_fits_api_pcvm_v1_vm, 1);
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* The VM query parameters to filter the list of results.
|
|
120
|
-
*
|
|
121
|
-
* @generated from message fits.api.pcvm.v1.PublicCloudVMQuery
|
|
122
|
-
*/
|
|
123
|
-
export type PublicCloudVMQuery = Message<"fits.api.pcvm.v1.PublicCloudVMQuery"> & {
|
|
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.pcvm.v1.PublicCloudVMQuery.
|
|
141
|
-
* Use `create(PublicCloudVMQuerySchema)` to create a new message.
|
|
142
|
-
*/
|
|
143
|
-
export const PublicCloudVMQuerySchema: GenMessage<PublicCloudVMQuery> = /*@__PURE__*/
|
|
144
|
-
messageDesc(file_fits_api_pcvm_v1_vm, 2);
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* Request to get a VM by UUID.
|
|
148
|
-
*
|
|
149
|
-
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceGetRequest
|
|
150
|
-
*/
|
|
151
|
-
export type PublicCloudVMServiceGetRequest = Message<"fits.api.pcvm.v1.PublicCloudVMServiceGetRequest"> & {
|
|
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.pcvm.v1.PublicCloudVMServiceGetRequest.
|
|
169
|
-
* Use `create(PublicCloudVMServiceGetRequestSchema)` to create a new message.
|
|
170
|
-
*/
|
|
171
|
-
export const PublicCloudVMServiceGetRequestSchema: GenMessage<PublicCloudVMServiceGetRequest> = /*@__PURE__*/
|
|
172
|
-
messageDesc(file_fits_api_pcvm_v1_vm, 3);
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Response containing the requested VM.
|
|
176
|
-
*
|
|
177
|
-
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceGetResponse
|
|
178
|
-
*/
|
|
179
|
-
export type PublicCloudVMServiceGetResponse = Message<"fits.api.pcvm.v1.PublicCloudVMServiceGetResponse"> & {
|
|
180
|
-
/**
|
|
181
|
-
* The VM.
|
|
182
|
-
*
|
|
183
|
-
* @generated from field: fits.api.pcvm.v1.PublicCloudVM vm = 1;
|
|
184
|
-
*/
|
|
185
|
-
vm?: PublicCloudVM | undefined;
|
|
186
|
-
};
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceGetResponse.
|
|
190
|
-
* Use `create(PublicCloudVMServiceGetResponseSchema)` to create a new message.
|
|
191
|
-
*/
|
|
192
|
-
export const PublicCloudVMServiceGetResponseSchema: GenMessage<PublicCloudVMServiceGetResponse> = /*@__PURE__*/
|
|
193
|
-
messageDesc(file_fits_api_pcvm_v1_vm, 4);
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* The request to create a new VM.
|
|
197
|
-
*
|
|
198
|
-
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceCreateRequest
|
|
199
|
-
*/
|
|
200
|
-
export type PublicCloudVMServiceCreateRequest = Message<"fits.api.pcvm.v1.PublicCloudVMServiceCreateRequest"> & {
|
|
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.pcvm.v1.Size size = 4;
|
|
226
|
-
*/
|
|
227
|
-
size: Size;
|
|
228
|
-
};
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceCreateRequest.
|
|
232
|
-
* Use `create(PublicCloudVMServiceCreateRequestSchema)` to create a new message.
|
|
233
|
-
*/
|
|
234
|
-
export const PublicCloudVMServiceCreateRequestSchema: GenMessage<PublicCloudVMServiceCreateRequest> = /*@__PURE__*/
|
|
235
|
-
messageDesc(file_fits_api_pcvm_v1_vm, 5);
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* The response when creating a new VM.
|
|
239
|
-
*
|
|
240
|
-
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceCreateResponse
|
|
241
|
-
*/
|
|
242
|
-
export type PublicCloudVMServiceCreateResponse = Message<"fits.api.pcvm.v1.PublicCloudVMServiceCreateResponse"> & {
|
|
243
|
-
/**
|
|
244
|
-
* The VM just created.
|
|
245
|
-
*
|
|
246
|
-
* @generated from field: fits.api.pcvm.v1.PublicCloudVM vm = 1;
|
|
247
|
-
*/
|
|
248
|
-
vm?: PublicCloudVM | undefined;
|
|
249
|
-
};
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceCreateResponse.
|
|
253
|
-
* Use `create(PublicCloudVMServiceCreateResponseSchema)` to create a new message.
|
|
254
|
-
*/
|
|
255
|
-
export const PublicCloudVMServiceCreateResponseSchema: GenMessage<PublicCloudVMServiceCreateResponse> = /*@__PURE__*/
|
|
256
|
-
messageDesc(file_fits_api_pcvm_v1_vm, 6);
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* The request to list and filter VMs.
|
|
260
|
-
*
|
|
261
|
-
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceListRequest
|
|
262
|
-
*/
|
|
263
|
-
export type PublicCloudVMServiceListRequest = Message<"fits.api.pcvm.v1.PublicCloudVMServiceListRequest"> & {
|
|
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.pcvm.v1.PublicCloudVMQuery query = 3;
|
|
282
|
-
*/
|
|
283
|
-
query?: PublicCloudVMQuery | undefined;
|
|
284
|
-
};
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceListRequest.
|
|
288
|
-
* Use `create(PublicCloudVMServiceListRequestSchema)` to create a new message.
|
|
289
|
-
*/
|
|
290
|
-
export const PublicCloudVMServiceListRequestSchema: GenMessage<PublicCloudVMServiceListRequest> = /*@__PURE__*/
|
|
291
|
-
messageDesc(file_fits_api_pcvm_v1_vm, 7);
|
|
292
|
-
|
|
293
|
-
/**
|
|
294
|
-
* The response when listing VMs.
|
|
295
|
-
*
|
|
296
|
-
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceListResponse
|
|
297
|
-
*/
|
|
298
|
-
export type PublicCloudVMServiceListResponse = Message<"fits.api.pcvm.v1.PublicCloudVMServiceListResponse"> & {
|
|
299
|
-
/**
|
|
300
|
-
* VMs is a list of filtered VMs resources.
|
|
301
|
-
*
|
|
302
|
-
* @generated from field: repeated fits.api.pcvm.v1.PublicCloudVM vms = 1;
|
|
303
|
-
*/
|
|
304
|
-
vms: PublicCloudVM[];
|
|
305
|
-
};
|
|
306
|
-
|
|
307
|
-
/**
|
|
308
|
-
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceListResponse.
|
|
309
|
-
* Use `create(PublicCloudVMServiceListResponseSchema)` to create a new message.
|
|
310
|
-
*/
|
|
311
|
-
export const PublicCloudVMServiceListResponseSchema: GenMessage<PublicCloudVMServiceListResponse> = /*@__PURE__*/
|
|
312
|
-
messageDesc(file_fits_api_pcvm_v1_vm, 8);
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* The request to update a VM.
|
|
316
|
-
*
|
|
317
|
-
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceUpdateRequest
|
|
318
|
-
*/
|
|
319
|
-
export type PublicCloudVMServiceUpdateRequest = Message<"fits.api.pcvm.v1.PublicCloudVMServiceUpdateRequest"> & {
|
|
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.pcvm.v1.Size size = 6;
|
|
360
|
-
*/
|
|
361
|
-
size?: Size | undefined;
|
|
362
|
-
};
|
|
363
|
-
|
|
364
|
-
/**
|
|
365
|
-
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceUpdateRequest.
|
|
366
|
-
* Use `create(PublicCloudVMServiceUpdateRequestSchema)` to create a new message.
|
|
367
|
-
*/
|
|
368
|
-
export const PublicCloudVMServiceUpdateRequestSchema: GenMessage<PublicCloudVMServiceUpdateRequest> = /*@__PURE__*/
|
|
369
|
-
messageDesc(file_fits_api_pcvm_v1_vm, 9);
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* The response when updating a VM.
|
|
373
|
-
*
|
|
374
|
-
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceUpdateResponse
|
|
375
|
-
*/
|
|
376
|
-
export type PublicCloudVMServiceUpdateResponse = Message<"fits.api.pcvm.v1.PublicCloudVMServiceUpdateResponse"> & {
|
|
377
|
-
/**
|
|
378
|
-
* The updated VM.
|
|
379
|
-
*
|
|
380
|
-
* @generated from field: fits.api.pcvm.v1.PublicCloudVM vm = 1;
|
|
381
|
-
*/
|
|
382
|
-
vm?: PublicCloudVM | undefined;
|
|
383
|
-
};
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceUpdateResponse.
|
|
387
|
-
* Use `create(PublicCloudVMServiceUpdateResponseSchema)` to create a new message.
|
|
388
|
-
*/
|
|
389
|
-
export const PublicCloudVMServiceUpdateResponseSchema: GenMessage<PublicCloudVMServiceUpdateResponse> = /*@__PURE__*/
|
|
390
|
-
messageDesc(file_fits_api_pcvm_v1_vm, 10);
|
|
391
|
-
|
|
392
|
-
/**
|
|
393
|
-
* The request to delete a VM.
|
|
394
|
-
*
|
|
395
|
-
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceDeleteRequest
|
|
396
|
-
*/
|
|
397
|
-
export type PublicCloudVMServiceDeleteRequest = Message<"fits.api.pcvm.v1.PublicCloudVMServiceDeleteRequest"> & {
|
|
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.pcvm.v1.PublicCloudVMServiceDeleteRequest.
|
|
415
|
-
* Use `create(PublicCloudVMServiceDeleteRequestSchema)` to create a new message.
|
|
416
|
-
*/
|
|
417
|
-
export const PublicCloudVMServiceDeleteRequestSchema: GenMessage<PublicCloudVMServiceDeleteRequest> = /*@__PURE__*/
|
|
418
|
-
messageDesc(file_fits_api_pcvm_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.pcvm.v1.PublicCloudVMServiceDeleteResponse
|
|
425
|
-
*/
|
|
426
|
-
export type PublicCloudVMServiceDeleteResponse = Message<"fits.api.pcvm.v1.PublicCloudVMServiceDeleteResponse"> & {
|
|
427
|
-
};
|
|
428
|
-
|
|
429
|
-
/**
|
|
430
|
-
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceDeleteResponse.
|
|
431
|
-
* Use `create(PublicCloudVMServiceDeleteResponseSchema)` to create a new message.
|
|
432
|
-
*/
|
|
433
|
-
export const PublicCloudVMServiceDeleteResponseSchema: GenMessage<PublicCloudVMServiceDeleteResponse> = /*@__PURE__*/
|
|
434
|
-
messageDesc(file_fits_api_pcvm_v1_vm, 12);
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* The health state of the VM.
|
|
438
|
-
*
|
|
439
|
-
* @generated from enum fits.api.pcvm.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.pcvm.v1.State.
|
|
473
|
-
*/
|
|
474
|
-
export const StateSchema: GenEnum<State> = /*@__PURE__*/
|
|
475
|
-
enumDesc(file_fits_api_pcvm_v1_vm, 0);
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
* The operation of the VM.
|
|
479
|
-
*
|
|
480
|
-
* @generated from enum fits.api.pcvm.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.pcvm.v1.Operation.
|
|
528
|
-
*/
|
|
529
|
-
export const OperationSchema: GenEnum<Operation> = /*@__PURE__*/
|
|
530
|
-
enumDesc(file_fits_api_pcvm_v1_vm, 1);
|
|
531
|
-
|
|
532
|
-
/**
|
|
533
|
-
* Size specifies the size of the VM machine
|
|
534
|
-
*
|
|
535
|
-
* @generated from enum fits.api.pcvm.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.pcvm.v1.Size.
|
|
569
|
-
*/
|
|
570
|
-
export const SizeSchema: GenEnum<Size> = /*@__PURE__*/
|
|
571
|
-
enumDesc(file_fits_api_pcvm_v1_vm, 2);
|
|
572
|
-
|
|
573
|
-
/**
|
|
574
|
-
* VMService provides VM operations.
|
|
575
|
-
*
|
|
576
|
-
* @generated from service fits.api.pcvm.v1.PublicCloudVMService
|
|
577
|
-
*/
|
|
578
|
-
export const PublicCloudVMService: GenService<{
|
|
579
|
-
/**
|
|
580
|
-
* Returns the VM with the specified UUID.
|
|
581
|
-
*
|
|
582
|
-
* @generated from rpc fits.api.pcvm.v1.PublicCloudVMService.Get
|
|
583
|
-
*/
|
|
584
|
-
get: {
|
|
585
|
-
methodKind: "unary";
|
|
586
|
-
input: typeof PublicCloudVMServiceGetRequestSchema;
|
|
587
|
-
output: typeof PublicCloudVMServiceGetResponseSchema;
|
|
588
|
-
},
|
|
589
|
-
/**
|
|
590
|
-
* Creates a new VM.
|
|
591
|
-
*
|
|
592
|
-
* @generated from rpc fits.api.pcvm.v1.PublicCloudVMService.Create
|
|
593
|
-
*/
|
|
594
|
-
create: {
|
|
595
|
-
methodKind: "unary";
|
|
596
|
-
input: typeof PublicCloudVMServiceCreateRequestSchema;
|
|
597
|
-
output: typeof PublicCloudVMServiceCreateResponseSchema;
|
|
598
|
-
},
|
|
599
|
-
/**
|
|
600
|
-
* Returns the list of all VMs.
|
|
601
|
-
*
|
|
602
|
-
* @generated from rpc fits.api.pcvm.v1.PublicCloudVMService.List
|
|
603
|
-
*/
|
|
604
|
-
list: {
|
|
605
|
-
methodKind: "unary";
|
|
606
|
-
input: typeof PublicCloudVMServiceListRequestSchema;
|
|
607
|
-
output: typeof PublicCloudVMServiceListResponseSchema;
|
|
608
|
-
},
|
|
609
|
-
/**
|
|
610
|
-
* Updates a VM.
|
|
611
|
-
*
|
|
612
|
-
* @generated from rpc fits.api.pcvm.v1.PublicCloudVMService.Update
|
|
613
|
-
*/
|
|
614
|
-
update: {
|
|
615
|
-
methodKind: "unary";
|
|
616
|
-
input: typeof PublicCloudVMServiceUpdateRequestSchema;
|
|
617
|
-
output: typeof PublicCloudVMServiceUpdateResponseSchema;
|
|
618
|
-
},
|
|
619
|
-
/**
|
|
620
|
-
* Deletes a VM immediately.
|
|
621
|
-
*
|
|
622
|
-
* @generated from rpc fits.api.pcvm.v1.PublicCloudVMService.Delete
|
|
623
|
-
*/
|
|
624
|
-
delete: {
|
|
625
|
-
methodKind: "unary";
|
|
626
|
-
input: typeof PublicCloudVMServiceDeleteRequestSchema;
|
|
627
|
-
output: typeof PublicCloudVMServiceDeleteResponseSchema;
|
|
628
|
-
},
|
|
629
|
-
}> = /*@__PURE__*/
|
|
630
|
-
serviceDesc(file_fits_api_pcvm_v1_vm, 0);
|
|
631
|
-
|