@fi-ts/api 0.0.1-alpha.0 → 0.0.2
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/buf/validate/validate_pb.ts +1 -1
- package/fits/api/mvm/v1/domain_pb.d.ts +89 -0
- package/fits/api/mvm/v1/domain_pb.js +32 -0
- package/fits/api/mvm/v1/domain_pb.ts +113 -0
- package/fits/api/mvm/v1/ldap_pb.d.ts +89 -0
- package/fits/api/mvm/v1/ldap_pb.js +32 -0
- package/fits/api/mvm/v1/ldap_pb.ts +113 -0
- package/fits/api/mvm/v1/location_pb.d.ts +84 -0
- package/fits/api/mvm/v1/location_pb.js +32 -0
- package/fits/api/mvm/v1/location_pb.ts +107 -0
- package/fits/api/mvm/v1/mvm_pb.d.ts +1451 -0
- package/fits/api/mvm/v1/mvm_pb.js +391 -0
- package/fits/api/mvm/v1/mvm_pb.ts +1679 -0
- package/fits/api/mvm/v1/os_pb.d.ts +111 -0
- package/fits/api/mvm/v1/os_pb.js +62 -0
- package/fits/api/mvm/v1/os_pb.ts +141 -0
- package/fits/api/mvm/v1/vlan_pb.d.ts +125 -0
- package/fits/api/mvm/v1/vlan_pb.js +32 -0
- package/fits/api/mvm/v1/vlan_pb.ts +155 -0
- package/fits/api/v1/common_pb.js +3 -3
- package/fits/api/v1/common_pb.ts +3 -3
- package/fits/api/v1/health_pb.js +2 -2
- package/fits/api/v1/health_pb.ts +2 -2
- package/fits/api/v1/ip_pb.d.ts +1 -1
- package/fits/api/v1/ip_pb.js +4 -4
- package/fits/api/v1/ip_pb.ts +5 -5
- package/fits/api/v1/method_pb.d.ts +2 -2
- package/fits/api/v1/method_pb.js +4 -4
- package/fits/api/v1/method_pb.ts +6 -6
- package/fits/api/v1/predefined_rules_pb.d.ts +37 -1
- package/fits/api/v1/predefined_rules_pb.js +45 -9
- package/fits/api/v1/predefined_rules_pb.ts +58 -10
- package/fits/api/v1/project_pb.d.ts +11 -5
- package/fits/api/v1/project_pb.js +5 -6
- package/fits/api/v1/project_pb.ts +17 -11
- package/fits/api/v1/tenant_pb.d.ts +10 -10
- package/fits/api/v1/tenant_pb.js +5 -6
- package/fits/api/v1/tenant_pb.ts +15 -16
- package/fits/api/v1/token_pb.d.ts +177 -12
- package/fits/api/v1/token_pb.js +46 -16
- package/fits/api/v1/token_pb.ts +210 -28
- package/fits/api/v1/version_pb.js +4 -4
- package/fits/api/v1/version_pb.ts +4 -4
- package/package.json +1 -1
- package/fits/api/v1/partition_pb.d.ts +0 -251
- package/fits/api/v1/partition_pb.js +0 -62
- package/fits/api/v1/partition_pb.ts +0 -300
- package/fits/api/v1/user_pb.d.ts +0 -108
- package/fits/api/v1/user_pb.js +0 -34
- package/fits/api/v1/user_pb.ts +0 -139
- package/fits/api/v1/vpn_pb.d.ts +0 -55
- package/fits/api/v1/vpn_pb.js +0 -14
- package/fits/api/v1/vpn_pb.ts +0 -72
|
@@ -0,0 +1,1451 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Labels, Meta } from "../../v1/common_pb.js";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file fits/api/mvm/v1/mvm.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_fits_api_mvm_v1_mvm: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* Linux-specific MVM details.
|
|
10
|
+
*
|
|
11
|
+
* @generated from message fits.api.mvm.v1.LinuxDetails
|
|
12
|
+
*/
|
|
13
|
+
export type LinuxDetails = Message<"fits.api.mvm.v1.LinuxDetails"> & {
|
|
14
|
+
/**
|
|
15
|
+
* Disks configured on the Linux MVM.
|
|
16
|
+
*
|
|
17
|
+
* @generated from field: repeated fits.api.mvm.v1.LinuxDisk disks = 1;
|
|
18
|
+
*/
|
|
19
|
+
disks: LinuxDisk[];
|
|
20
|
+
/**
|
|
21
|
+
* UUID of the LDAP directory the MVM is integrated with.
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: string ldap_uuid = 2;
|
|
24
|
+
*/
|
|
25
|
+
ldapUuid: string;
|
|
26
|
+
/**
|
|
27
|
+
* Linux-specific FQDN, derived from the name at creation or generated by the backend.
|
|
28
|
+
*
|
|
29
|
+
* @generated from field: string ldap_fqdn = 3;
|
|
30
|
+
*/
|
|
31
|
+
ldapFqdn: string;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message fits.api.mvm.v1.LinuxDetails.
|
|
35
|
+
* Use `create(LinuxDetailsSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export declare const LinuxDetailsSchema: GenMessage<LinuxDetails>;
|
|
38
|
+
/**
|
|
39
|
+
* Windows-specific MVM details.
|
|
40
|
+
*
|
|
41
|
+
* @generated from message fits.api.mvm.v1.WindowsDetails
|
|
42
|
+
*/
|
|
43
|
+
export type WindowsDetails = Message<"fits.api.mvm.v1.WindowsDetails"> & {
|
|
44
|
+
/**
|
|
45
|
+
* Disks configured on the Windows MVM.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: repeated fits.api.mvm.v1.WindowsDisk disks = 1;
|
|
48
|
+
*/
|
|
49
|
+
disks: WindowsDisk[];
|
|
50
|
+
/**
|
|
51
|
+
* UUID of the Windows domain the MVM has joined.
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: string domain_uuid = 2;
|
|
54
|
+
*/
|
|
55
|
+
domainUuid: string;
|
|
56
|
+
/**
|
|
57
|
+
* Windows-specific FQDN, derived from the name at creation or generated by the backend.
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: string domain_fqdn = 3;
|
|
60
|
+
*/
|
|
61
|
+
domainFqdn: string;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Describes the message fits.api.mvm.v1.WindowsDetails.
|
|
65
|
+
* Use `create(WindowsDetailsSchema)` to create a new message.
|
|
66
|
+
*/
|
|
67
|
+
export declare const WindowsDetailsSchema: GenMessage<WindowsDetails>;
|
|
68
|
+
/**
|
|
69
|
+
* A network interface of a MVM. IPv4 only; IPv6 is not yet supported.
|
|
70
|
+
*
|
|
71
|
+
* @generated from message fits.api.mvm.v1.NetworkInterface
|
|
72
|
+
*/
|
|
73
|
+
export type NetworkInterface = Message<"fits.api.mvm.v1.NetworkInterface"> & {
|
|
74
|
+
/**
|
|
75
|
+
* UUID of this interface.
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: string uuid = 1;
|
|
78
|
+
*/
|
|
79
|
+
uuid: string;
|
|
80
|
+
/**
|
|
81
|
+
* UUID of the VLAN.
|
|
82
|
+
*
|
|
83
|
+
* @generated from field: string vlan_uuid = 2;
|
|
84
|
+
*/
|
|
85
|
+
vlanUuid: string;
|
|
86
|
+
/**
|
|
87
|
+
* IPv4 address assigned to this interface.
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: string ipaddress = 3;
|
|
90
|
+
*/
|
|
91
|
+
ipaddress: string;
|
|
92
|
+
/**
|
|
93
|
+
* MAC address of this interface.
|
|
94
|
+
*
|
|
95
|
+
* TODO: add validation
|
|
96
|
+
*
|
|
97
|
+
* @generated from field: string macaddress = 4;
|
|
98
|
+
*/
|
|
99
|
+
macaddress: string;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Describes the message fits.api.mvm.v1.NetworkInterface.
|
|
103
|
+
* Use `create(NetworkInterfaceSchema)` to create a new message.
|
|
104
|
+
*/
|
|
105
|
+
export declare const NetworkInterfaceSchema: GenMessage<NetworkInterface>;
|
|
106
|
+
/**
|
|
107
|
+
* The InitialNetworkInterface needs to be provided at creation of a MVM.
|
|
108
|
+
* It provides the UUID of the target VLAN for the MVM's first network interface.
|
|
109
|
+
* The created MVM comes with a NetworkInterface connected to this VLAN.
|
|
110
|
+
*
|
|
111
|
+
* @generated from message fits.api.mvm.v1.InitialNetworkInterface
|
|
112
|
+
*/
|
|
113
|
+
export type InitialNetworkInterface = Message<"fits.api.mvm.v1.InitialNetworkInterface"> & {
|
|
114
|
+
/**
|
|
115
|
+
* UUID of the VLAN.
|
|
116
|
+
*
|
|
117
|
+
* @generated from field: string vlan_uuid = 1;
|
|
118
|
+
*/
|
|
119
|
+
vlanUuid: string;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* Describes the message fits.api.mvm.v1.InitialNetworkInterface.
|
|
123
|
+
* Use `create(InitialNetworkInterfaceSchema)` to create a new message.
|
|
124
|
+
*/
|
|
125
|
+
export declare const InitialNetworkInterfaceSchema: GenMessage<InitialNetworkInterface>;
|
|
126
|
+
/**
|
|
127
|
+
* ManagedVM is a managed VM instance as returned by the API.
|
|
128
|
+
*
|
|
129
|
+
* @generated from message fits.api.mvm.v1.ManagedVM
|
|
130
|
+
*/
|
|
131
|
+
export type ManagedVM = Message<"fits.api.mvm.v1.ManagedVM"> & {
|
|
132
|
+
/**
|
|
133
|
+
* UUID of this MVM.
|
|
134
|
+
*
|
|
135
|
+
* @generated from field: string uuid = 1;
|
|
136
|
+
*/
|
|
137
|
+
uuid: string;
|
|
138
|
+
/**
|
|
139
|
+
* Metadata for this MVM.
|
|
140
|
+
* TODO: dates are available in the nulink db but not passed through yet.
|
|
141
|
+
*
|
|
142
|
+
* @generated from field: fits.api.v1.Meta meta = 2;
|
|
143
|
+
*/
|
|
144
|
+
meta?: Meta | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* FQDN of the MVM, derived from the name at creation or generated by the backend.
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: string fqdn = 3;
|
|
149
|
+
*/
|
|
150
|
+
fqdn: string;
|
|
151
|
+
/**
|
|
152
|
+
* Tenant this MVM belongs to.
|
|
153
|
+
*
|
|
154
|
+
* @generated from field: string tenant = 4;
|
|
155
|
+
*/
|
|
156
|
+
tenant: string;
|
|
157
|
+
/**
|
|
158
|
+
* UUID of the project this MVM belongs to.
|
|
159
|
+
*
|
|
160
|
+
* @generated from field: string project_uuid = 5;
|
|
161
|
+
*/
|
|
162
|
+
projectUuid: string;
|
|
163
|
+
/**
|
|
164
|
+
* UUID of the OS image installed on the MVM; resolve the title via the OS endpoint.
|
|
165
|
+
*
|
|
166
|
+
* @generated from field: string os_uuid = 6;
|
|
167
|
+
*/
|
|
168
|
+
osUuid: string;
|
|
169
|
+
/**
|
|
170
|
+
* UUID of the datacenter location.
|
|
171
|
+
*
|
|
172
|
+
* @generated from field: string location_uuid = 7;
|
|
173
|
+
*/
|
|
174
|
+
locationUuid: string;
|
|
175
|
+
/**
|
|
176
|
+
* TODO: Contact UUID – not yet implemented; open discussion with FCN (#23).
|
|
177
|
+
*
|
|
178
|
+
* @generated from field: string contact_uuid = 8;
|
|
179
|
+
*/
|
|
180
|
+
contactUuid: string;
|
|
181
|
+
/**
|
|
182
|
+
* Number of CPU cores.
|
|
183
|
+
*
|
|
184
|
+
* @generated from field: uint32 cpu = 9;
|
|
185
|
+
*/
|
|
186
|
+
cpu: number;
|
|
187
|
+
/**
|
|
188
|
+
* RAM in GB.
|
|
189
|
+
*
|
|
190
|
+
* @generated from field: uint32 ram = 10;
|
|
191
|
+
*/
|
|
192
|
+
ram: number;
|
|
193
|
+
/**
|
|
194
|
+
* Whether backup is enabled.
|
|
195
|
+
* TODO: the upstream (nulink) list/get models do not expose this; always false.
|
|
196
|
+
*
|
|
197
|
+
* @generated from field: bool backup = 11;
|
|
198
|
+
*/
|
|
199
|
+
backup: boolean;
|
|
200
|
+
/**
|
|
201
|
+
* Whether the MVM is encrypted.
|
|
202
|
+
*
|
|
203
|
+
* @generated from field: bool encrypted = 12;
|
|
204
|
+
*/
|
|
205
|
+
encrypted: boolean;
|
|
206
|
+
/**
|
|
207
|
+
* Status of the MVM.
|
|
208
|
+
*
|
|
209
|
+
* @generated from field: fits.api.mvm.v1.Status status = 13;
|
|
210
|
+
*/
|
|
211
|
+
status: Status;
|
|
212
|
+
/**
|
|
213
|
+
* Additional information about the current status.
|
|
214
|
+
*
|
|
215
|
+
* @generated from field: string status_info = 14;
|
|
216
|
+
*/
|
|
217
|
+
statusInfo: string;
|
|
218
|
+
/**
|
|
219
|
+
* Availability level.
|
|
220
|
+
*
|
|
221
|
+
* @generated from field: fits.api.mvm.v1.Availability availability = 15;
|
|
222
|
+
*/
|
|
223
|
+
availability: Availability;
|
|
224
|
+
/**
|
|
225
|
+
* Service class.
|
|
226
|
+
*
|
|
227
|
+
* @generated from field: fits.api.mvm.v1.ServiceClass serviceclass = 16;
|
|
228
|
+
*/
|
|
229
|
+
serviceclass: ServiceClass;
|
|
230
|
+
/**
|
|
231
|
+
* OS-specific configuration.
|
|
232
|
+
*
|
|
233
|
+
* @generated from oneof fits.api.mvm.v1.ManagedVM.details
|
|
234
|
+
*/
|
|
235
|
+
details: {
|
|
236
|
+
/**
|
|
237
|
+
* Windows-specific settings (domain + disks).
|
|
238
|
+
*
|
|
239
|
+
* @generated from field: fits.api.mvm.v1.WindowsDetails windows_details = 17;
|
|
240
|
+
*/
|
|
241
|
+
value: WindowsDetails;
|
|
242
|
+
case: "windowsDetails";
|
|
243
|
+
} | {
|
|
244
|
+
/**
|
|
245
|
+
* Linux-specific settings (LDAP + disks).
|
|
246
|
+
*
|
|
247
|
+
* @generated from field: fits.api.mvm.v1.LinuxDetails linux_details = 18;
|
|
248
|
+
*/
|
|
249
|
+
value: LinuxDetails;
|
|
250
|
+
case: "linuxDetails";
|
|
251
|
+
} | {
|
|
252
|
+
case: undefined;
|
|
253
|
+
value?: undefined;
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* Network interfaces attached to the MVM (IPv4 only).
|
|
257
|
+
*
|
|
258
|
+
* @generated from field: repeated fits.api.mvm.v1.NetworkInterface interfaces = 19;
|
|
259
|
+
*/
|
|
260
|
+
interfaces: NetworkInterface[];
|
|
261
|
+
/**
|
|
262
|
+
* Internal reference number provided by the user, e.g. a ticket ID.
|
|
263
|
+
*
|
|
264
|
+
* @generated from field: string order_number = 20;
|
|
265
|
+
*/
|
|
266
|
+
orderNumber: string;
|
|
267
|
+
};
|
|
268
|
+
/**
|
|
269
|
+
* Describes the message fits.api.mvm.v1.ManagedVM.
|
|
270
|
+
* Use `create(ManagedVMSchema)` to create a new message.
|
|
271
|
+
*/
|
|
272
|
+
export declare const ManagedVMSchema: GenMessage<ManagedVM>;
|
|
273
|
+
/**
|
|
274
|
+
* Request to get a MVM by UUID.
|
|
275
|
+
*
|
|
276
|
+
* @generated from message fits.api.mvm.v1.MVMServiceGetRequest
|
|
277
|
+
*/
|
|
278
|
+
export type MVMServiceGetRequest = Message<"fits.api.mvm.v1.MVMServiceGetRequest"> & {
|
|
279
|
+
/**
|
|
280
|
+
* UUID of the MVM.
|
|
281
|
+
*
|
|
282
|
+
* @generated from field: string uuid = 1;
|
|
283
|
+
*/
|
|
284
|
+
uuid: string;
|
|
285
|
+
/**
|
|
286
|
+
* UUID of the project this MVM belongs to.
|
|
287
|
+
*
|
|
288
|
+
* @generated from field: string project_uuid = 2;
|
|
289
|
+
*/
|
|
290
|
+
projectUuid: string;
|
|
291
|
+
};
|
|
292
|
+
/**
|
|
293
|
+
* Describes the message fits.api.mvm.v1.MVMServiceGetRequest.
|
|
294
|
+
* Use `create(MVMServiceGetRequestSchema)` to create a new message.
|
|
295
|
+
*/
|
|
296
|
+
export declare const MVMServiceGetRequestSchema: GenMessage<MVMServiceGetRequest>;
|
|
297
|
+
/**
|
|
298
|
+
* Response containing the requested MVM.
|
|
299
|
+
*
|
|
300
|
+
* @generated from message fits.api.mvm.v1.MVMServiceGetResponse
|
|
301
|
+
*/
|
|
302
|
+
export type MVMServiceGetResponse = Message<"fits.api.mvm.v1.MVMServiceGetResponse"> & {
|
|
303
|
+
/**
|
|
304
|
+
* The MVM.
|
|
305
|
+
*
|
|
306
|
+
* @generated from field: fits.api.mvm.v1.ManagedVM mvm = 1;
|
|
307
|
+
*/
|
|
308
|
+
mvm?: ManagedVM | undefined;
|
|
309
|
+
};
|
|
310
|
+
/**
|
|
311
|
+
* Describes the message fits.api.mvm.v1.MVMServiceGetResponse.
|
|
312
|
+
* Use `create(MVMServiceGetResponseSchema)` to create a new message.
|
|
313
|
+
*/
|
|
314
|
+
export declare const MVMServiceGetResponseSchema: GenMessage<MVMServiceGetResponse>;
|
|
315
|
+
/**
|
|
316
|
+
* Windows-specific create request parts.
|
|
317
|
+
*
|
|
318
|
+
* @generated from message fits.api.mvm.v1.MVMServiceCreateWindowsRequest
|
|
319
|
+
*/
|
|
320
|
+
export type MVMServiceCreateWindowsRequest = Message<"fits.api.mvm.v1.MVMServiceCreateWindowsRequest"> & {
|
|
321
|
+
/**
|
|
322
|
+
* UUID of the Windows domain the MVM should join.
|
|
323
|
+
*
|
|
324
|
+
* @generated from field: string domain_uuid = 1;
|
|
325
|
+
*/
|
|
326
|
+
domainUuid: string;
|
|
327
|
+
/**
|
|
328
|
+
* Disks for the Windows MVM, excluding the OS disk; must contain exactly
|
|
329
|
+
* one system disk plus any number of data disks (see DiskType).
|
|
330
|
+
*
|
|
331
|
+
* @generated from field: repeated fits.api.mvm.v1.WindowsDisk disks = 2;
|
|
332
|
+
*/
|
|
333
|
+
disks: WindowsDisk[];
|
|
334
|
+
};
|
|
335
|
+
/**
|
|
336
|
+
* Describes the message fits.api.mvm.v1.MVMServiceCreateWindowsRequest.
|
|
337
|
+
* Use `create(MVMServiceCreateWindowsRequestSchema)` to create a new message.
|
|
338
|
+
*/
|
|
339
|
+
export declare const MVMServiceCreateWindowsRequestSchema: GenMessage<MVMServiceCreateWindowsRequest>;
|
|
340
|
+
/**
|
|
341
|
+
* Linux-specific create request parts.
|
|
342
|
+
*
|
|
343
|
+
* @generated from message fits.api.mvm.v1.MVMServiceCreateLinuxRequest
|
|
344
|
+
*/
|
|
345
|
+
export type MVMServiceCreateLinuxRequest = Message<"fits.api.mvm.v1.MVMServiceCreateLinuxRequest"> & {
|
|
346
|
+
/**
|
|
347
|
+
* UUID of the LDAP directory the MVM should integrate with.
|
|
348
|
+
*
|
|
349
|
+
* @generated from field: string ldap_uuid = 1;
|
|
350
|
+
*/
|
|
351
|
+
ldapUuid: string;
|
|
352
|
+
/**
|
|
353
|
+
* Disks for the Linux MVM, excluding the OS disk; must contain exactly
|
|
354
|
+
* one system disk plus any number of data disks (see DiskType).
|
|
355
|
+
*
|
|
356
|
+
* @generated from field: repeated fits.api.mvm.v1.LinuxDisk disks = 2;
|
|
357
|
+
*/
|
|
358
|
+
disks: LinuxDisk[];
|
|
359
|
+
};
|
|
360
|
+
/**
|
|
361
|
+
* Describes the message fits.api.mvm.v1.MVMServiceCreateLinuxRequest.
|
|
362
|
+
* Use `create(MVMServiceCreateLinuxRequestSchema)` to create a new message.
|
|
363
|
+
*/
|
|
364
|
+
export declare const MVMServiceCreateLinuxRequestSchema: GenMessage<MVMServiceCreateLinuxRequest>;
|
|
365
|
+
/**
|
|
366
|
+
* Request to create a new MVM instance.
|
|
367
|
+
*
|
|
368
|
+
* @generated from message fits.api.mvm.v1.MVMServiceCreateRequest
|
|
369
|
+
*/
|
|
370
|
+
export type MVMServiceCreateRequest = Message<"fits.api.mvm.v1.MVMServiceCreateRequest"> & {
|
|
371
|
+
/**
|
|
372
|
+
* UUID of the project this MVM belongs to.
|
|
373
|
+
*
|
|
374
|
+
* @generated from field: string project_uuid = 1;
|
|
375
|
+
*/
|
|
376
|
+
projectUuid: string;
|
|
377
|
+
/**
|
|
378
|
+
* Optional name; the FQDN is derived from it.
|
|
379
|
+
*
|
|
380
|
+
* @generated from field: optional string name = 2;
|
|
381
|
+
*/
|
|
382
|
+
name?: string | undefined;
|
|
383
|
+
/**
|
|
384
|
+
* UUID of the operating system image to install.
|
|
385
|
+
*
|
|
386
|
+
* @generated from field: string os_uuid = 3;
|
|
387
|
+
*/
|
|
388
|
+
osUuid: string;
|
|
389
|
+
/**
|
|
390
|
+
* UUID of the datacenter location; the MVM is scheduled into one data center within it.
|
|
391
|
+
*
|
|
392
|
+
* @generated from field: string location_uuid = 4;
|
|
393
|
+
*/
|
|
394
|
+
locationUuid: string;
|
|
395
|
+
/**
|
|
396
|
+
* TODO: Contact UUID – open discussion with FCN; may become a dedicated /contact endpoint.
|
|
397
|
+
*
|
|
398
|
+
* @generated from field: string contact_uuid = 5;
|
|
399
|
+
*/
|
|
400
|
+
contactUuid: string;
|
|
401
|
+
/**
|
|
402
|
+
* Number of CPU cores.
|
|
403
|
+
*
|
|
404
|
+
* @generated from field: uint32 cpu = 6;
|
|
405
|
+
*/
|
|
406
|
+
cpu: number;
|
|
407
|
+
/**
|
|
408
|
+
* RAM in GB. Must be a power of 2.
|
|
409
|
+
*
|
|
410
|
+
* @generated from field: uint32 ram = 7;
|
|
411
|
+
*/
|
|
412
|
+
ram: number;
|
|
413
|
+
/**
|
|
414
|
+
* Customer reference for this operation provided by the user, e.g. a ticket ID.
|
|
415
|
+
*
|
|
416
|
+
* @generated from field: string order_number = 8;
|
|
417
|
+
*/
|
|
418
|
+
orderNumber: string;
|
|
419
|
+
/**
|
|
420
|
+
* Optional key-value labels for accounting purposes.
|
|
421
|
+
* (e.g. contract number, transaction number, technical key, accounting key).
|
|
422
|
+
*
|
|
423
|
+
* @generated from field: fits.api.v1.Labels labels = 9;
|
|
424
|
+
*/
|
|
425
|
+
labels?: Labels | undefined;
|
|
426
|
+
/**
|
|
427
|
+
* Whether backup is enabled.
|
|
428
|
+
*
|
|
429
|
+
* @generated from field: bool backup = 10;
|
|
430
|
+
*/
|
|
431
|
+
backup: boolean;
|
|
432
|
+
/**
|
|
433
|
+
* Whether the MVM should be encrypted.
|
|
434
|
+
*
|
|
435
|
+
* @generated from field: bool encrypted = 11;
|
|
436
|
+
*/
|
|
437
|
+
encrypted: boolean;
|
|
438
|
+
/**
|
|
439
|
+
* Availability level.
|
|
440
|
+
*
|
|
441
|
+
* @generated from field: fits.api.mvm.v1.Availability availability = 12;
|
|
442
|
+
*/
|
|
443
|
+
availability: Availability;
|
|
444
|
+
/**
|
|
445
|
+
* Service class; only certain combinations with availability are valid.
|
|
446
|
+
*
|
|
447
|
+
* @generated from field: fits.api.mvm.v1.ServiceClass serviceclass = 13;
|
|
448
|
+
*/
|
|
449
|
+
serviceclass: ServiceClass;
|
|
450
|
+
/**
|
|
451
|
+
* OS type and its configuration.
|
|
452
|
+
*
|
|
453
|
+
* @generated from oneof fits.api.mvm.v1.MVMServiceCreateRequest.mvmtype
|
|
454
|
+
*/
|
|
455
|
+
mvmtype: {
|
|
456
|
+
/**
|
|
457
|
+
* Windows-specific settings (domain + disk).
|
|
458
|
+
*
|
|
459
|
+
* @generated from field: fits.api.mvm.v1.MVMServiceCreateWindowsRequest windows = 14;
|
|
460
|
+
*/
|
|
461
|
+
value: MVMServiceCreateWindowsRequest;
|
|
462
|
+
case: "windows";
|
|
463
|
+
} | {
|
|
464
|
+
/**
|
|
465
|
+
* Linux-specific settings (LDAP + disk).
|
|
466
|
+
*
|
|
467
|
+
* @generated from field: fits.api.mvm.v1.MVMServiceCreateLinuxRequest linux = 15;
|
|
468
|
+
*/
|
|
469
|
+
value: MVMServiceCreateLinuxRequest;
|
|
470
|
+
case: "linux";
|
|
471
|
+
} | {
|
|
472
|
+
case: undefined;
|
|
473
|
+
value?: undefined;
|
|
474
|
+
};
|
|
475
|
+
/**
|
|
476
|
+
* Provides the target VLAN for the initial network interface.
|
|
477
|
+
*
|
|
478
|
+
* @generated from field: fits.api.mvm.v1.InitialNetworkInterface initial_network_interface = 16;
|
|
479
|
+
*/
|
|
480
|
+
initialNetworkInterface?: InitialNetworkInterface | undefined;
|
|
481
|
+
};
|
|
482
|
+
/**
|
|
483
|
+
* Describes the message fits.api.mvm.v1.MVMServiceCreateRequest.
|
|
484
|
+
* Use `create(MVMServiceCreateRequestSchema)` to create a new message.
|
|
485
|
+
*/
|
|
486
|
+
export declare const MVMServiceCreateRequestSchema: GenMessage<MVMServiceCreateRequest>;
|
|
487
|
+
/**
|
|
488
|
+
* Disk configuration for a Linux MVM. See DiskType for the kinds of disks
|
|
489
|
+
* (os, system, data) and their lifecycle rules.
|
|
490
|
+
*
|
|
491
|
+
* @generated from message fits.api.mvm.v1.LinuxDisk
|
|
492
|
+
*/
|
|
493
|
+
export type LinuxDisk = Message<"fits.api.mvm.v1.LinuxDisk"> & {
|
|
494
|
+
/**
|
|
495
|
+
* UUID of the disk; set for existing disks, unset for new ones.
|
|
496
|
+
*
|
|
497
|
+
* @generated from field: optional string uuid = 1;
|
|
498
|
+
*/
|
|
499
|
+
uuid?: string | undefined;
|
|
500
|
+
/**
|
|
501
|
+
* Label (name) of the disk.
|
|
502
|
+
*
|
|
503
|
+
* @generated from field: string label = 2;
|
|
504
|
+
*/
|
|
505
|
+
label: string;
|
|
506
|
+
/**
|
|
507
|
+
* Whether the disk grows automatically when space runs low.
|
|
508
|
+
*
|
|
509
|
+
* @generated from field: bool auto_extend = 3;
|
|
510
|
+
*/
|
|
511
|
+
autoExtend: boolean;
|
|
512
|
+
/**
|
|
513
|
+
* Size of the disk in GB; defaults to 50 when unset.
|
|
514
|
+
*
|
|
515
|
+
* @generated from field: optional uint64 size = 4;
|
|
516
|
+
*/
|
|
517
|
+
size?: bigint | undefined;
|
|
518
|
+
/**
|
|
519
|
+
* Mount point (e.g. "/data"). Fixed to "/appdata" for the system disk;
|
|
520
|
+
* free-form for data disks.
|
|
521
|
+
*
|
|
522
|
+
* @generated from field: optional string mount_point = 5;
|
|
523
|
+
*/
|
|
524
|
+
mountPoint?: string | undefined;
|
|
525
|
+
/**
|
|
526
|
+
* Kind of the disk; determines which operations are allowed on it.
|
|
527
|
+
* Provided by the client in create/add requests and populated by the
|
|
528
|
+
* API in responses.
|
|
529
|
+
* TODO: talk to FCE that we will provide the disk type in create/add
|
|
530
|
+
* requests.
|
|
531
|
+
*
|
|
532
|
+
* @generated from field: optional fits.api.mvm.v1.DiskType disk_type = 6;
|
|
533
|
+
*/
|
|
534
|
+
diskType?: DiskType | undefined;
|
|
535
|
+
};
|
|
536
|
+
/**
|
|
537
|
+
* Describes the message fits.api.mvm.v1.LinuxDisk.
|
|
538
|
+
* Use `create(LinuxDiskSchema)` to create a new message.
|
|
539
|
+
*/
|
|
540
|
+
export declare const LinuxDiskSchema: GenMessage<LinuxDisk>;
|
|
541
|
+
/**
|
|
542
|
+
* Disk configuration for a Windows MVM. See DiskType for the kinds of
|
|
543
|
+
* disks (os, system, data) and their lifecycle rules.
|
|
544
|
+
*
|
|
545
|
+
* @generated from message fits.api.mvm.v1.WindowsDisk
|
|
546
|
+
*/
|
|
547
|
+
export type WindowsDisk = Message<"fits.api.mvm.v1.WindowsDisk"> & {
|
|
548
|
+
/**
|
|
549
|
+
* UUID of the disk; set for existing disks, unset for new ones.
|
|
550
|
+
*
|
|
551
|
+
* @generated from field: optional string uuid = 1;
|
|
552
|
+
*/
|
|
553
|
+
uuid?: string | undefined;
|
|
554
|
+
/**
|
|
555
|
+
* Label (name) of the disk.
|
|
556
|
+
*
|
|
557
|
+
* @generated from field: string label = 2;
|
|
558
|
+
*/
|
|
559
|
+
label: string;
|
|
560
|
+
/**
|
|
561
|
+
* Whether the disk grows automatically when space runs low.
|
|
562
|
+
*
|
|
563
|
+
* @generated from field: bool auto_extend = 3;
|
|
564
|
+
*/
|
|
565
|
+
autoExtend: boolean;
|
|
566
|
+
/**
|
|
567
|
+
* Size of the disk in GB; defaults to 50 when unset.
|
|
568
|
+
*
|
|
569
|
+
* @generated from field: optional uint64 size = 4;
|
|
570
|
+
*/
|
|
571
|
+
size?: bigint | undefined;
|
|
572
|
+
/**
|
|
573
|
+
* Drive letter (e.g. "D"). Fixed to "F" for the system disk; free-form
|
|
574
|
+
* for data disks.
|
|
575
|
+
*
|
|
576
|
+
* @generated from field: optional string driveletter = 5;
|
|
577
|
+
*/
|
|
578
|
+
driveletter?: string | undefined;
|
|
579
|
+
/**
|
|
580
|
+
* Kind of the disk; determines which operations are allowed on it.
|
|
581
|
+
* Provided by the client in create/add requests and populated by the
|
|
582
|
+
* API in responses.
|
|
583
|
+
* TODO: talk to FCE that we will provide the disk type in create/add
|
|
584
|
+
* requests.
|
|
585
|
+
*
|
|
586
|
+
* @generated from field: optional fits.api.mvm.v1.DiskType disk_type = 6;
|
|
587
|
+
*/
|
|
588
|
+
diskType?: DiskType | undefined;
|
|
589
|
+
};
|
|
590
|
+
/**
|
|
591
|
+
* Describes the message fits.api.mvm.v1.WindowsDisk.
|
|
592
|
+
* Use `create(WindowsDiskSchema)` to create a new message.
|
|
593
|
+
*/
|
|
594
|
+
export declare const WindowsDiskSchema: GenMessage<WindowsDisk>;
|
|
595
|
+
/**
|
|
596
|
+
* Response for Create; an empty response means the MVM was accepted.
|
|
597
|
+
*
|
|
598
|
+
* @generated from message fits.api.mvm.v1.MVMServiceCreateResponse
|
|
599
|
+
*/
|
|
600
|
+
export type MVMServiceCreateResponse = Message<"fits.api.mvm.v1.MVMServiceCreateResponse"> & {};
|
|
601
|
+
/**
|
|
602
|
+
* Describes the message fits.api.mvm.v1.MVMServiceCreateResponse.
|
|
603
|
+
* Use `create(MVMServiceCreateResponseSchema)` to create a new message.
|
|
604
|
+
*/
|
|
605
|
+
export declare const MVMServiceCreateResponseSchema: GenMessage<MVMServiceCreateResponse>;
|
|
606
|
+
/**
|
|
607
|
+
* Request to list MVMs.
|
|
608
|
+
*
|
|
609
|
+
* @generated from message fits.api.mvm.v1.MVMServiceListRequest
|
|
610
|
+
*/
|
|
611
|
+
export type MVMServiceListRequest = Message<"fits.api.mvm.v1.MVMServiceListRequest"> & {
|
|
612
|
+
/**
|
|
613
|
+
* UUID of the project to list MVMs for.
|
|
614
|
+
*
|
|
615
|
+
* @generated from field: string project_uuid = 1;
|
|
616
|
+
*/
|
|
617
|
+
projectUuid: string;
|
|
618
|
+
};
|
|
619
|
+
/**
|
|
620
|
+
* Describes the message fits.api.mvm.v1.MVMServiceListRequest.
|
|
621
|
+
* Use `create(MVMServiceListRequestSchema)` to create a new message.
|
|
622
|
+
*/
|
|
623
|
+
export declare const MVMServiceListRequestSchema: GenMessage<MVMServiceListRequest>;
|
|
624
|
+
/**
|
|
625
|
+
* Response containing the list of MVMs.
|
|
626
|
+
*
|
|
627
|
+
* @generated from message fits.api.mvm.v1.MVMServiceListResponse
|
|
628
|
+
*/
|
|
629
|
+
export type MVMServiceListResponse = Message<"fits.api.mvm.v1.MVMServiceListResponse"> & {
|
|
630
|
+
/**
|
|
631
|
+
* The MVM instances.
|
|
632
|
+
*
|
|
633
|
+
* @generated from field: repeated fits.api.mvm.v1.ManagedVM mvms = 1;
|
|
634
|
+
*/
|
|
635
|
+
mvms: ManagedVM[];
|
|
636
|
+
};
|
|
637
|
+
/**
|
|
638
|
+
* Describes the message fits.api.mvm.v1.MVMServiceListResponse.
|
|
639
|
+
* Use `create(MVMServiceListResponseSchema)` to create a new message.
|
|
640
|
+
*/
|
|
641
|
+
export declare const MVMServiceListResponseSchema: GenMessage<MVMServiceListResponse>;
|
|
642
|
+
/**
|
|
643
|
+
* Request to cancel a MVM instance.
|
|
644
|
+
*
|
|
645
|
+
* @generated from message fits.api.mvm.v1.MVMServiceDeleteRequest
|
|
646
|
+
*/
|
|
647
|
+
export type MVMServiceDeleteRequest = Message<"fits.api.mvm.v1.MVMServiceDeleteRequest"> & {
|
|
648
|
+
/**
|
|
649
|
+
* UUID of the project the MVM belongs to.
|
|
650
|
+
*
|
|
651
|
+
* @generated from field: string project_uuid = 1;
|
|
652
|
+
*/
|
|
653
|
+
projectUuid: string;
|
|
654
|
+
/**
|
|
655
|
+
* UUID of the MVM to delete.
|
|
656
|
+
*
|
|
657
|
+
* @generated from field: string uuid = 2;
|
|
658
|
+
*/
|
|
659
|
+
uuid: string;
|
|
660
|
+
/**
|
|
661
|
+
* Customer reference for this operation.
|
|
662
|
+
*
|
|
663
|
+
* @generated from field: string order_number = 3;
|
|
664
|
+
*/
|
|
665
|
+
orderNumber: string;
|
|
666
|
+
};
|
|
667
|
+
/**
|
|
668
|
+
* Describes the message fits.api.mvm.v1.MVMServiceDeleteRequest.
|
|
669
|
+
* Use `create(MVMServiceDeleteRequestSchema)` to create a new message.
|
|
670
|
+
*/
|
|
671
|
+
export declare const MVMServiceDeleteRequestSchema: GenMessage<MVMServiceDeleteRequest>;
|
|
672
|
+
/**
|
|
673
|
+
* Response for Delete; an empty response means the cancellation was accepted.
|
|
674
|
+
*
|
|
675
|
+
* @generated from message fits.api.mvm.v1.MVMServiceDeleteResponse
|
|
676
|
+
*/
|
|
677
|
+
export type MVMServiceDeleteResponse = Message<"fits.api.mvm.v1.MVMServiceDeleteResponse"> & {};
|
|
678
|
+
/**
|
|
679
|
+
* Describes the message fits.api.mvm.v1.MVMServiceDeleteResponse.
|
|
680
|
+
* Use `create(MVMServiceDeleteResponseSchema)` to create a new message.
|
|
681
|
+
*/
|
|
682
|
+
export declare const MVMServiceDeleteResponseSchema: GenMessage<MVMServiceDeleteResponse>;
|
|
683
|
+
/**
|
|
684
|
+
* Request to validate a MVM create without creating anything.
|
|
685
|
+
*
|
|
686
|
+
* @generated from message fits.api.mvm.v1.MVMServiceValidateCreateRequest
|
|
687
|
+
*/
|
|
688
|
+
export type MVMServiceValidateCreateRequest = Message<"fits.api.mvm.v1.MVMServiceValidateCreateRequest"> & {
|
|
689
|
+
/**
|
|
690
|
+
* The create request to validate.
|
|
691
|
+
*
|
|
692
|
+
* @generated from field: fits.api.mvm.v1.MVMServiceCreateRequest create = 1;
|
|
693
|
+
*/
|
|
694
|
+
create?: MVMServiceCreateRequest | undefined;
|
|
695
|
+
};
|
|
696
|
+
/**
|
|
697
|
+
* Describes the message fits.api.mvm.v1.MVMServiceValidateCreateRequest.
|
|
698
|
+
* Use `create(MVMServiceValidateCreateRequestSchema)` to create a new message.
|
|
699
|
+
*/
|
|
700
|
+
export declare const MVMServiceValidateCreateRequestSchema: GenMessage<MVMServiceValidateCreateRequest>;
|
|
701
|
+
/**
|
|
702
|
+
* Response for ValidateCreate; violations are returned as an InvalidArgument error.
|
|
703
|
+
*
|
|
704
|
+
* @generated from message fits.api.mvm.v1.MVMServiceValidateCreateResponse
|
|
705
|
+
*/
|
|
706
|
+
export type MVMServiceValidateCreateResponse = Message<"fits.api.mvm.v1.MVMServiceValidateCreateResponse"> & {};
|
|
707
|
+
/**
|
|
708
|
+
* Describes the message fits.api.mvm.v1.MVMServiceValidateCreateResponse.
|
|
709
|
+
* Use `create(MVMServiceValidateCreateResponseSchema)` to create a new message.
|
|
710
|
+
*/
|
|
711
|
+
export declare const MVMServiceValidateCreateResponseSchema: GenMessage<MVMServiceValidateCreateResponse>;
|
|
712
|
+
/**
|
|
713
|
+
* Request to validate an AddDisk without ordering anything.
|
|
714
|
+
*
|
|
715
|
+
* @generated from message fits.api.mvm.v1.MVMServiceValidateAddDiskRequest
|
|
716
|
+
*/
|
|
717
|
+
export type MVMServiceValidateAddDiskRequest = Message<"fits.api.mvm.v1.MVMServiceValidateAddDiskRequest"> & {
|
|
718
|
+
/**
|
|
719
|
+
* The add disk request to validate.
|
|
720
|
+
*
|
|
721
|
+
* @generated from field: fits.api.mvm.v1.MVMServiceAddDiskRequest add_disk = 1;
|
|
722
|
+
*/
|
|
723
|
+
addDisk?: MVMServiceAddDiskRequest | undefined;
|
|
724
|
+
};
|
|
725
|
+
/**
|
|
726
|
+
* Describes the message fits.api.mvm.v1.MVMServiceValidateAddDiskRequest.
|
|
727
|
+
* Use `create(MVMServiceValidateAddDiskRequestSchema)` to create a new message.
|
|
728
|
+
*/
|
|
729
|
+
export declare const MVMServiceValidateAddDiskRequestSchema: GenMessage<MVMServiceValidateAddDiskRequest>;
|
|
730
|
+
/**
|
|
731
|
+
* Response for ValidateAddDisk; violations are returned as an InvalidArgument error.
|
|
732
|
+
*
|
|
733
|
+
* @generated from message fits.api.mvm.v1.MVMServiceValidateAddDiskResponse
|
|
734
|
+
*/
|
|
735
|
+
export type MVMServiceValidateAddDiskResponse = Message<"fits.api.mvm.v1.MVMServiceValidateAddDiskResponse"> & {};
|
|
736
|
+
/**
|
|
737
|
+
* Describes the message fits.api.mvm.v1.MVMServiceValidateAddDiskResponse.
|
|
738
|
+
* Use `create(MVMServiceValidateAddDiskResponseSchema)` to create a new message.
|
|
739
|
+
*/
|
|
740
|
+
export declare const MVMServiceValidateAddDiskResponseSchema: GenMessage<MVMServiceValidateAddDiskResponse>;
|
|
741
|
+
/**
|
|
742
|
+
* Request to validate an UpdateDisk without changing anything.
|
|
743
|
+
*
|
|
744
|
+
* @generated from message fits.api.mvm.v1.MVMServiceValidateUpdateDiskRequest
|
|
745
|
+
*/
|
|
746
|
+
export type MVMServiceValidateUpdateDiskRequest = Message<"fits.api.mvm.v1.MVMServiceValidateUpdateDiskRequest"> & {
|
|
747
|
+
/**
|
|
748
|
+
* The update disk request to validate.
|
|
749
|
+
*
|
|
750
|
+
* @generated from field: fits.api.mvm.v1.MVMServiceUpdateDiskRequest update_disk = 1;
|
|
751
|
+
*/
|
|
752
|
+
updateDisk?: MVMServiceUpdateDiskRequest | undefined;
|
|
753
|
+
};
|
|
754
|
+
/**
|
|
755
|
+
* Describes the message fits.api.mvm.v1.MVMServiceValidateUpdateDiskRequest.
|
|
756
|
+
* Use `create(MVMServiceValidateUpdateDiskRequestSchema)` to create a new message.
|
|
757
|
+
*/
|
|
758
|
+
export declare const MVMServiceValidateUpdateDiskRequestSchema: GenMessage<MVMServiceValidateUpdateDiskRequest>;
|
|
759
|
+
/**
|
|
760
|
+
* Response for ValidateUpdateDisk; violations are returned as an InvalidArgument error.
|
|
761
|
+
*
|
|
762
|
+
* @generated from message fits.api.mvm.v1.MVMServiceValidateUpdateDiskResponse
|
|
763
|
+
*/
|
|
764
|
+
export type MVMServiceValidateUpdateDiskResponse = Message<"fits.api.mvm.v1.MVMServiceValidateUpdateDiskResponse"> & {};
|
|
765
|
+
/**
|
|
766
|
+
* Describes the message fits.api.mvm.v1.MVMServiceValidateUpdateDiskResponse.
|
|
767
|
+
* Use `create(MVMServiceValidateUpdateDiskResponseSchema)` to create a new message.
|
|
768
|
+
*/
|
|
769
|
+
export declare const MVMServiceValidateUpdateDiskResponseSchema: GenMessage<MVMServiceValidateUpdateDiskResponse>;
|
|
770
|
+
/**
|
|
771
|
+
* Response for AddDisk.
|
|
772
|
+
*
|
|
773
|
+
* @generated from message fits.api.mvm.v1.MVMServiceAddDiskResponse
|
|
774
|
+
*/
|
|
775
|
+
export type MVMServiceAddDiskResponse = Message<"fits.api.mvm.v1.MVMServiceAddDiskResponse"> & {};
|
|
776
|
+
/**
|
|
777
|
+
* Describes the message fits.api.mvm.v1.MVMServiceAddDiskResponse.
|
|
778
|
+
* Use `create(MVMServiceAddDiskResponseSchema)` to create a new message.
|
|
779
|
+
*/
|
|
780
|
+
export declare const MVMServiceAddDiskResponseSchema: GenMessage<MVMServiceAddDiskResponse>;
|
|
781
|
+
/**
|
|
782
|
+
* Response for UpdateDisk.
|
|
783
|
+
*
|
|
784
|
+
* @generated from message fits.api.mvm.v1.MVMServiceUpdateDiskResponse
|
|
785
|
+
*/
|
|
786
|
+
export type MVMServiceUpdateDiskResponse = Message<"fits.api.mvm.v1.MVMServiceUpdateDiskResponse"> & {};
|
|
787
|
+
/**
|
|
788
|
+
* Describes the message fits.api.mvm.v1.MVMServiceUpdateDiskResponse.
|
|
789
|
+
* Use `create(MVMServiceUpdateDiskResponseSchema)` to create a new message.
|
|
790
|
+
*/
|
|
791
|
+
export declare const MVMServiceUpdateDiskResponseSchema: GenMessage<MVMServiceUpdateDiskResponse>;
|
|
792
|
+
/**
|
|
793
|
+
* Response for DeleteDisk.
|
|
794
|
+
*
|
|
795
|
+
* @generated from message fits.api.mvm.v1.MVMServiceDeleteDiskResponse
|
|
796
|
+
*/
|
|
797
|
+
export type MVMServiceDeleteDiskResponse = Message<"fits.api.mvm.v1.MVMServiceDeleteDiskResponse"> & {};
|
|
798
|
+
/**
|
|
799
|
+
* Describes the message fits.api.mvm.v1.MVMServiceDeleteDiskResponse.
|
|
800
|
+
* Use `create(MVMServiceDeleteDiskResponseSchema)` to create a new message.
|
|
801
|
+
*/
|
|
802
|
+
export declare const MVMServiceDeleteDiskResponseSchema: GenMessage<MVMServiceDeleteDiskResponse>;
|
|
803
|
+
/**
|
|
804
|
+
* Request to order an additional data disk for a MVM.
|
|
805
|
+
*
|
|
806
|
+
* @generated from message fits.api.mvm.v1.MVMServiceAddDiskRequest
|
|
807
|
+
*/
|
|
808
|
+
export type MVMServiceAddDiskRequest = Message<"fits.api.mvm.v1.MVMServiceAddDiskRequest"> & {
|
|
809
|
+
/**
|
|
810
|
+
* UUID of the MVM to attach the disk to.
|
|
811
|
+
*
|
|
812
|
+
* @generated from field: string uuid = 1;
|
|
813
|
+
*/
|
|
814
|
+
uuid: string;
|
|
815
|
+
/**
|
|
816
|
+
* UUID of the project the MVM belongs to.
|
|
817
|
+
*
|
|
818
|
+
* @generated from field: string project_uuid = 2;
|
|
819
|
+
*/
|
|
820
|
+
projectUuid: string;
|
|
821
|
+
/**
|
|
822
|
+
* Customer reference for this operation.
|
|
823
|
+
*
|
|
824
|
+
* @generated from field: string order_number = 3;
|
|
825
|
+
*/
|
|
826
|
+
orderNumber: string;
|
|
827
|
+
/**
|
|
828
|
+
* OS-specific disk specification; must match the MVM's OS type.
|
|
829
|
+
*
|
|
830
|
+
* @generated from oneof fits.api.mvm.v1.MVMServiceAddDiskRequest.disk
|
|
831
|
+
*/
|
|
832
|
+
disk: {
|
|
833
|
+
/**
|
|
834
|
+
* Linux data disk.
|
|
835
|
+
*
|
|
836
|
+
* @generated from field: fits.api.mvm.v1.LinuxDisk linux = 4;
|
|
837
|
+
*/
|
|
838
|
+
value: LinuxDisk;
|
|
839
|
+
case: "linux";
|
|
840
|
+
} | {
|
|
841
|
+
/**
|
|
842
|
+
* Windows data disk.
|
|
843
|
+
*
|
|
844
|
+
* @generated from field: fits.api.mvm.v1.WindowsDisk windows = 5;
|
|
845
|
+
*/
|
|
846
|
+
value: WindowsDisk;
|
|
847
|
+
case: "windows";
|
|
848
|
+
} | {
|
|
849
|
+
case: undefined;
|
|
850
|
+
value?: undefined;
|
|
851
|
+
};
|
|
852
|
+
};
|
|
853
|
+
/**
|
|
854
|
+
* Describes the message fits.api.mvm.v1.MVMServiceAddDiskRequest.
|
|
855
|
+
* Use `create(MVMServiceAddDiskRequestSchema)` to create a new message.
|
|
856
|
+
*/
|
|
857
|
+
export declare const MVMServiceAddDiskRequestSchema: GenMessage<MVMServiceAddDiskRequest>;
|
|
858
|
+
/**
|
|
859
|
+
* Request to change an existing disk; only size and auto-extend are
|
|
860
|
+
* mutable (see DiskType for applicability per disk kind).
|
|
861
|
+
*
|
|
862
|
+
* @generated from message fits.api.mvm.v1.MVMServiceUpdateDiskRequest
|
|
863
|
+
*/
|
|
864
|
+
export type MVMServiceUpdateDiskRequest = Message<"fits.api.mvm.v1.MVMServiceUpdateDiskRequest"> & {
|
|
865
|
+
/**
|
|
866
|
+
* UUID of the MVM the disk belongs to.
|
|
867
|
+
*
|
|
868
|
+
* @generated from field: string uuid = 1;
|
|
869
|
+
*/
|
|
870
|
+
uuid: string;
|
|
871
|
+
/**
|
|
872
|
+
* UUID of the disk to change.
|
|
873
|
+
*
|
|
874
|
+
* @generated from field: string disk_uuid = 2;
|
|
875
|
+
*/
|
|
876
|
+
diskUuid: string;
|
|
877
|
+
/**
|
|
878
|
+
* UUID of the project the MVM belongs to.
|
|
879
|
+
*
|
|
880
|
+
* @generated from field: string project_uuid = 3;
|
|
881
|
+
*/
|
|
882
|
+
projectUuid: string;
|
|
883
|
+
/**
|
|
884
|
+
* Customer reference for this operation.
|
|
885
|
+
*
|
|
886
|
+
* @generated from field: string order_number = 4;
|
|
887
|
+
*/
|
|
888
|
+
orderNumber: string;
|
|
889
|
+
/**
|
|
890
|
+
* New auto-extend behavior; unset keeps the current value.
|
|
891
|
+
*
|
|
892
|
+
* @generated from field: optional bool auto_extend = 5;
|
|
893
|
+
*/
|
|
894
|
+
autoExtend?: boolean | undefined;
|
|
895
|
+
/**
|
|
896
|
+
* New size of the disk in GB; unset keeps the current value.
|
|
897
|
+
*
|
|
898
|
+
* @generated from field: optional uint64 size = 6;
|
|
899
|
+
*/
|
|
900
|
+
size?: bigint | undefined;
|
|
901
|
+
};
|
|
902
|
+
/**
|
|
903
|
+
* Describes the message fits.api.mvm.v1.MVMServiceUpdateDiskRequest.
|
|
904
|
+
* Use `create(MVMServiceUpdateDiskRequestSchema)` to create a new message.
|
|
905
|
+
*/
|
|
906
|
+
export declare const MVMServiceUpdateDiskRequestSchema: GenMessage<MVMServiceUpdateDiskRequest>;
|
|
907
|
+
/**
|
|
908
|
+
* Request to cancel a data disk; OS and system disks are rejected by the
|
|
909
|
+
* upstream.
|
|
910
|
+
*
|
|
911
|
+
* @generated from message fits.api.mvm.v1.MVMServiceDeleteDiskRequest
|
|
912
|
+
*/
|
|
913
|
+
export type MVMServiceDeleteDiskRequest = Message<"fits.api.mvm.v1.MVMServiceDeleteDiskRequest"> & {
|
|
914
|
+
/**
|
|
915
|
+
* UUID of the MVM the disk belongs to.
|
|
916
|
+
*
|
|
917
|
+
* @generated from field: string uuid = 1;
|
|
918
|
+
*/
|
|
919
|
+
uuid: string;
|
|
920
|
+
/**
|
|
921
|
+
* UUID of the disk to cancel.
|
|
922
|
+
*
|
|
923
|
+
* @generated from field: string disk_uuid = 2;
|
|
924
|
+
*/
|
|
925
|
+
diskUuid: string;
|
|
926
|
+
/**
|
|
927
|
+
* UUID of the project the MVM belongs to.
|
|
928
|
+
*
|
|
929
|
+
* @generated from field: string project_uuid = 3;
|
|
930
|
+
*/
|
|
931
|
+
projectUuid: string;
|
|
932
|
+
/**
|
|
933
|
+
* Customer reference for this operation.
|
|
934
|
+
*
|
|
935
|
+
* @generated from field: string order_number = 4;
|
|
936
|
+
*/
|
|
937
|
+
orderNumber: string;
|
|
938
|
+
};
|
|
939
|
+
/**
|
|
940
|
+
* Describes the message fits.api.mvm.v1.MVMServiceDeleteDiskRequest.
|
|
941
|
+
* Use `create(MVMServiceDeleteDiskRequestSchema)` to create a new message.
|
|
942
|
+
*/
|
|
943
|
+
export declare const MVMServiceDeleteDiskRequestSchema: GenMessage<MVMServiceDeleteDiskRequest>;
|
|
944
|
+
/**
|
|
945
|
+
* Response for AddNetworkInterface.
|
|
946
|
+
*
|
|
947
|
+
* @generated from message fits.api.mvm.v1.MVMServiceAddNetworkInterfaceResponse
|
|
948
|
+
*/
|
|
949
|
+
export type MVMServiceAddNetworkInterfaceResponse = Message<"fits.api.mvm.v1.MVMServiceAddNetworkInterfaceResponse"> & {};
|
|
950
|
+
/**
|
|
951
|
+
* Describes the message fits.api.mvm.v1.MVMServiceAddNetworkInterfaceResponse.
|
|
952
|
+
* Use `create(MVMServiceAddNetworkInterfaceResponseSchema)` to create a new message.
|
|
953
|
+
*/
|
|
954
|
+
export declare const MVMServiceAddNetworkInterfaceResponseSchema: GenMessage<MVMServiceAddNetworkInterfaceResponse>;
|
|
955
|
+
/**
|
|
956
|
+
* Response for MoveNetworkInterface.
|
|
957
|
+
*
|
|
958
|
+
* @generated from message fits.api.mvm.v1.MVMServiceMoveNetworkInterfaceResponse
|
|
959
|
+
*/
|
|
960
|
+
export type MVMServiceMoveNetworkInterfaceResponse = Message<"fits.api.mvm.v1.MVMServiceMoveNetworkInterfaceResponse"> & {};
|
|
961
|
+
/**
|
|
962
|
+
* Describes the message fits.api.mvm.v1.MVMServiceMoveNetworkInterfaceResponse.
|
|
963
|
+
* Use `create(MVMServiceMoveNetworkInterfaceResponseSchema)` to create a new message.
|
|
964
|
+
*/
|
|
965
|
+
export declare const MVMServiceMoveNetworkInterfaceResponseSchema: GenMessage<MVMServiceMoveNetworkInterfaceResponse>;
|
|
966
|
+
/**
|
|
967
|
+
* Response for DeleteNetworkInterface.
|
|
968
|
+
*
|
|
969
|
+
* @generated from message fits.api.mvm.v1.MVMServiceDeleteNetworkInterfaceResponse
|
|
970
|
+
*/
|
|
971
|
+
export type MVMServiceDeleteNetworkInterfaceResponse = Message<"fits.api.mvm.v1.MVMServiceDeleteNetworkInterfaceResponse"> & {};
|
|
972
|
+
/**
|
|
973
|
+
* Describes the message fits.api.mvm.v1.MVMServiceDeleteNetworkInterfaceResponse.
|
|
974
|
+
* Use `create(MVMServiceDeleteNetworkInterfaceResponseSchema)` to create a new message.
|
|
975
|
+
*/
|
|
976
|
+
export declare const MVMServiceDeleteNetworkInterfaceResponseSchema: GenMessage<MVMServiceDeleteNetworkInterfaceResponse>;
|
|
977
|
+
/**
|
|
978
|
+
* Request to order an additional network interface for a MVM.
|
|
979
|
+
* Nulink treats interface and IP as a 1:1 relation; move and delete
|
|
980
|
+
* operate on the interface_uuid.
|
|
981
|
+
*
|
|
982
|
+
* @generated from message fits.api.mvm.v1.MVMServiceAddNetworkInterfaceRequest
|
|
983
|
+
*/
|
|
984
|
+
export type MVMServiceAddNetworkInterfaceRequest = Message<"fits.api.mvm.v1.MVMServiceAddNetworkInterfaceRequest"> & {
|
|
985
|
+
/**
|
|
986
|
+
* UUID of the MVM to attach the interface to.
|
|
987
|
+
*
|
|
988
|
+
* @generated from field: string uuid = 1;
|
|
989
|
+
*/
|
|
990
|
+
uuid: string;
|
|
991
|
+
/**
|
|
992
|
+
* UUID of the project the MVM belongs to.
|
|
993
|
+
*
|
|
994
|
+
* @generated from field: string project_uuid = 2;
|
|
995
|
+
*/
|
|
996
|
+
projectUuid: string;
|
|
997
|
+
/**
|
|
998
|
+
* Customer reference for this operation.
|
|
999
|
+
*
|
|
1000
|
+
* @generated from field: string order_number = 3;
|
|
1001
|
+
*/
|
|
1002
|
+
orderNumber: string;
|
|
1003
|
+
};
|
|
1004
|
+
/**
|
|
1005
|
+
* Describes the message fits.api.mvm.v1.MVMServiceAddNetworkInterfaceRequest.
|
|
1006
|
+
* Use `create(MVMServiceAddNetworkInterfaceRequestSchema)` to create a new message.
|
|
1007
|
+
*/
|
|
1008
|
+
export declare const MVMServiceAddNetworkInterfaceRequestSchema: GenMessage<MVMServiceAddNetworkInterfaceRequest>;
|
|
1009
|
+
/**
|
|
1010
|
+
* Request to move a network interface from one MVM to another.
|
|
1011
|
+
*
|
|
1012
|
+
* @generated from message fits.api.mvm.v1.MVMServiceMoveNetworkInterfaceRequest
|
|
1013
|
+
*/
|
|
1014
|
+
export type MVMServiceMoveNetworkInterfaceRequest = Message<"fits.api.mvm.v1.MVMServiceMoveNetworkInterfaceRequest"> & {
|
|
1015
|
+
/**
|
|
1016
|
+
* UUID of the MVM the interface currently belongs to.
|
|
1017
|
+
*
|
|
1018
|
+
* @generated from field: string uuid = 1;
|
|
1019
|
+
*/
|
|
1020
|
+
uuid: string;
|
|
1021
|
+
/**
|
|
1022
|
+
* UUID of the network interface holding the IP.
|
|
1023
|
+
*
|
|
1024
|
+
* @generated from field: string interface_uuid = 2;
|
|
1025
|
+
*/
|
|
1026
|
+
interfaceUuid: string;
|
|
1027
|
+
/**
|
|
1028
|
+
* UUID of the project the MVM belongs to.
|
|
1029
|
+
*
|
|
1030
|
+
* @generated from field: string project_uuid = 3;
|
|
1031
|
+
*/
|
|
1032
|
+
projectUuid: string;
|
|
1033
|
+
/**
|
|
1034
|
+
* Customer reference for this operation.
|
|
1035
|
+
*
|
|
1036
|
+
* @generated from field: string order_number = 4;
|
|
1037
|
+
*/
|
|
1038
|
+
orderNumber: string;
|
|
1039
|
+
/**
|
|
1040
|
+
* UUID of the MVM to move the interface to.
|
|
1041
|
+
*
|
|
1042
|
+
* @generated from field: string target_mvm_uuid = 5;
|
|
1043
|
+
*/
|
|
1044
|
+
targetMvmUuid: string;
|
|
1045
|
+
};
|
|
1046
|
+
/**
|
|
1047
|
+
* Describes the message fits.api.mvm.v1.MVMServiceMoveNetworkInterfaceRequest.
|
|
1048
|
+
* Use `create(MVMServiceMoveNetworkInterfaceRequestSchema)` to create a new message.
|
|
1049
|
+
*/
|
|
1050
|
+
export declare const MVMServiceMoveNetworkInterfaceRequestSchema: GenMessage<MVMServiceMoveNetworkInterfaceRequest>;
|
|
1051
|
+
/**
|
|
1052
|
+
* Request to delete a network interface from a MVM.
|
|
1053
|
+
*
|
|
1054
|
+
* @generated from message fits.api.mvm.v1.MVMServiceDeleteNetworkInterfaceRequest
|
|
1055
|
+
*/
|
|
1056
|
+
export type MVMServiceDeleteNetworkInterfaceRequest = Message<"fits.api.mvm.v1.MVMServiceDeleteNetworkInterfaceRequest"> & {
|
|
1057
|
+
/**
|
|
1058
|
+
* UUID of the MVM the interface belongs to.
|
|
1059
|
+
*
|
|
1060
|
+
* @generated from field: string uuid = 1;
|
|
1061
|
+
*/
|
|
1062
|
+
uuid: string;
|
|
1063
|
+
/**
|
|
1064
|
+
* UUID of the network interface holding the IP.
|
|
1065
|
+
*
|
|
1066
|
+
* @generated from field: string interface_uuid = 2;
|
|
1067
|
+
*/
|
|
1068
|
+
interfaceUuid: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* UUID of the project the MVM belongs to.
|
|
1071
|
+
*
|
|
1072
|
+
* @generated from field: string project_uuid = 3;
|
|
1073
|
+
*/
|
|
1074
|
+
projectUuid: string;
|
|
1075
|
+
/**
|
|
1076
|
+
* Order reference for this operation.
|
|
1077
|
+
* TODO: can this be optional?
|
|
1078
|
+
*
|
|
1079
|
+
* @generated from field: string order_number = 4;
|
|
1080
|
+
*/
|
|
1081
|
+
orderNumber: string;
|
|
1082
|
+
};
|
|
1083
|
+
/**
|
|
1084
|
+
* Describes the message fits.api.mvm.v1.MVMServiceDeleteNetworkInterfaceRequest.
|
|
1085
|
+
* Use `create(MVMServiceDeleteNetworkInterfaceRequestSchema)` to create a new message.
|
|
1086
|
+
*/
|
|
1087
|
+
export declare const MVMServiceDeleteNetworkInterfaceRequestSchema: GenMessage<MVMServiceDeleteNetworkInterfaceRequest>;
|
|
1088
|
+
/**
|
|
1089
|
+
* Request to validate an AddNetworkInterface without ordering anything.
|
|
1090
|
+
*
|
|
1091
|
+
* @generated from message fits.api.mvm.v1.MVMServiceValidateAddNetworkInterfaceRequest
|
|
1092
|
+
*/
|
|
1093
|
+
export type MVMServiceValidateAddNetworkInterfaceRequest = Message<"fits.api.mvm.v1.MVMServiceValidateAddNetworkInterfaceRequest"> & {
|
|
1094
|
+
/**
|
|
1095
|
+
* The add network interface request to validate.
|
|
1096
|
+
*
|
|
1097
|
+
* @generated from field: fits.api.mvm.v1.MVMServiceAddNetworkInterfaceRequest add_network_interface = 1;
|
|
1098
|
+
*/
|
|
1099
|
+
addNetworkInterface?: MVMServiceAddNetworkInterfaceRequest | undefined;
|
|
1100
|
+
};
|
|
1101
|
+
/**
|
|
1102
|
+
* Describes the message fits.api.mvm.v1.MVMServiceValidateAddNetworkInterfaceRequest.
|
|
1103
|
+
* Use `create(MVMServiceValidateAddNetworkInterfaceRequestSchema)` to create a new message.
|
|
1104
|
+
*/
|
|
1105
|
+
export declare const MVMServiceValidateAddNetworkInterfaceRequestSchema: GenMessage<MVMServiceValidateAddNetworkInterfaceRequest>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Response for ValidateAddNetworkInterface; violations are returned as an InvalidArgument error.
|
|
1108
|
+
*
|
|
1109
|
+
* @generated from message fits.api.mvm.v1.MVMServiceValidateAddNetworkInterfaceResponse
|
|
1110
|
+
*/
|
|
1111
|
+
export type MVMServiceValidateAddNetworkInterfaceResponse = Message<"fits.api.mvm.v1.MVMServiceValidateAddNetworkInterfaceResponse"> & {};
|
|
1112
|
+
/**
|
|
1113
|
+
* Describes the message fits.api.mvm.v1.MVMServiceValidateAddNetworkInterfaceResponse.
|
|
1114
|
+
* Use `create(MVMServiceValidateAddNetworkInterfaceResponseSchema)` to create a new message.
|
|
1115
|
+
*/
|
|
1116
|
+
export declare const MVMServiceValidateAddNetworkInterfaceResponseSchema: GenMessage<MVMServiceValidateAddNetworkInterfaceResponse>;
|
|
1117
|
+
/**
|
|
1118
|
+
* Availability specifies the availability level of a MVM; higher value = higher availability.
|
|
1119
|
+
*
|
|
1120
|
+
* @generated from enum fits.api.mvm.v1.Availability
|
|
1121
|
+
*/
|
|
1122
|
+
export declare enum Availability {
|
|
1123
|
+
/**
|
|
1124
|
+
* AVAILABILITY_UNSPECIFIED is not specified.
|
|
1125
|
+
*
|
|
1126
|
+
* @generated from enum value: AVAILABILITY_UNSPECIFIED = 0;
|
|
1127
|
+
*/
|
|
1128
|
+
UNSPECIFIED = 0,
|
|
1129
|
+
/**
|
|
1130
|
+
* AVAILABILITY_V0 is availability level V0.
|
|
1131
|
+
*
|
|
1132
|
+
* @generated from enum value: AVAILABILITY_V0 = 1;
|
|
1133
|
+
*/
|
|
1134
|
+
V0 = 1,
|
|
1135
|
+
/**
|
|
1136
|
+
* AVAILABILITY_V1 is availability level V1.
|
|
1137
|
+
*
|
|
1138
|
+
* @generated from enum value: AVAILABILITY_V1 = 2;
|
|
1139
|
+
*/
|
|
1140
|
+
V1 = 2,
|
|
1141
|
+
/**
|
|
1142
|
+
* AVAILABILITY_V2 is availability level V2.
|
|
1143
|
+
*
|
|
1144
|
+
* @generated from enum value: AVAILABILITY_V2 = 3;
|
|
1145
|
+
*/
|
|
1146
|
+
V2 = 3,
|
|
1147
|
+
/**
|
|
1148
|
+
* AVAILABILITY_V3 is availability level V3.
|
|
1149
|
+
*
|
|
1150
|
+
* @generated from enum value: AVAILABILITY_V3 = 4;
|
|
1151
|
+
*/
|
|
1152
|
+
V3 = 4
|
|
1153
|
+
}
|
|
1154
|
+
/**
|
|
1155
|
+
* Describes the enum fits.api.mvm.v1.Availability.
|
|
1156
|
+
*/
|
|
1157
|
+
export declare const AvailabilitySchema: GenEnum<Availability>;
|
|
1158
|
+
/**
|
|
1159
|
+
* ServiceClass specifies the service tier of a MVM; higher value = higher tier.
|
|
1160
|
+
* Only certain combinations with Availability are valid.
|
|
1161
|
+
*
|
|
1162
|
+
* @generated from enum fits.api.mvm.v1.ServiceClass
|
|
1163
|
+
*/
|
|
1164
|
+
export declare enum ServiceClass {
|
|
1165
|
+
/**
|
|
1166
|
+
* SERVICE_CLASS_UNSPECIFIED is not specified.
|
|
1167
|
+
*
|
|
1168
|
+
* @generated from enum value: SERVICE_CLASS_UNSPECIFIED = 0;
|
|
1169
|
+
*/
|
|
1170
|
+
UNSPECIFIED = 0,
|
|
1171
|
+
/**
|
|
1172
|
+
* SERVICE_CLASS_SZ1 is service class SZ1.
|
|
1173
|
+
*
|
|
1174
|
+
* @generated from enum value: SERVICE_CLASS_SZ1 = 1;
|
|
1175
|
+
*/
|
|
1176
|
+
SZ1 = 1,
|
|
1177
|
+
/**
|
|
1178
|
+
* SERVICE_CLASS_SZ2 is service class SZ2.
|
|
1179
|
+
*
|
|
1180
|
+
* @generated from enum value: SERVICE_CLASS_SZ2 = 2;
|
|
1181
|
+
*/
|
|
1182
|
+
SZ2 = 2,
|
|
1183
|
+
/**
|
|
1184
|
+
* SERVICE_CLASS_SZ3 is service class SZ3.
|
|
1185
|
+
*
|
|
1186
|
+
* @generated from enum value: SERVICE_CLASS_SZ3 = 3;
|
|
1187
|
+
*/
|
|
1188
|
+
SZ3 = 3
|
|
1189
|
+
}
|
|
1190
|
+
/**
|
|
1191
|
+
* Describes the enum fits.api.mvm.v1.ServiceClass.
|
|
1192
|
+
*/
|
|
1193
|
+
export declare const ServiceClassSchema: GenEnum<ServiceClass>;
|
|
1194
|
+
/**
|
|
1195
|
+
* Status specifies the status of a MVM.
|
|
1196
|
+
*
|
|
1197
|
+
* @generated from enum fits.api.mvm.v1.Status
|
|
1198
|
+
*/
|
|
1199
|
+
export declare enum Status {
|
|
1200
|
+
/**
|
|
1201
|
+
* STATUS_UNSPECIFIED is not specified.
|
|
1202
|
+
*
|
|
1203
|
+
* @generated from enum value: STATUS_UNSPECIFIED = 0;
|
|
1204
|
+
*/
|
|
1205
|
+
UNSPECIFIED = 0,
|
|
1206
|
+
/**
|
|
1207
|
+
* STATUS_CREATING: the MVM hostname is reserved and provisioning has started.
|
|
1208
|
+
*
|
|
1209
|
+
* @generated from enum value: STATUS_CREATING = 1;
|
|
1210
|
+
*/
|
|
1211
|
+
CREATING = 1,
|
|
1212
|
+
/**
|
|
1213
|
+
* STATUS_ACTIVE: the MVM is active.
|
|
1214
|
+
*
|
|
1215
|
+
* @generated from enum value: STATUS_ACTIVE = 2;
|
|
1216
|
+
*/
|
|
1217
|
+
ACTIVE = 2,
|
|
1218
|
+
/**
|
|
1219
|
+
* STATUS_UPDATING: there is an ongoing operation for the MVM.
|
|
1220
|
+
*
|
|
1221
|
+
* @generated from enum value: STATUS_UPDATING = 3;
|
|
1222
|
+
*/
|
|
1223
|
+
UPDATING = 3,
|
|
1224
|
+
/**
|
|
1225
|
+
* STATUS_DELETED: the MVM is deleted.
|
|
1226
|
+
*
|
|
1227
|
+
* @generated from enum value: STATUS_DELETED = 4;
|
|
1228
|
+
*/
|
|
1229
|
+
DELETED = 4,
|
|
1230
|
+
/**
|
|
1231
|
+
* STATUS_ERROR: the exact error status is derived from the request type.
|
|
1232
|
+
*
|
|
1233
|
+
* @generated from enum value: STATUS_ERROR = 5;
|
|
1234
|
+
*/
|
|
1235
|
+
ERROR = 5
|
|
1236
|
+
}
|
|
1237
|
+
/**
|
|
1238
|
+
* Describes the enum fits.api.mvm.v1.Status.
|
|
1239
|
+
*/
|
|
1240
|
+
export declare const StatusSchema: GenEnum<Status>;
|
|
1241
|
+
/**
|
|
1242
|
+
* DiskType classifies a MVM disk by its lifecycle rules.
|
|
1243
|
+
* The upstream (nulink) API returns every disk of a MVM, including the
|
|
1244
|
+
* backend-provisioned OS disk, so that oversized OS disks stay billable.
|
|
1245
|
+
*
|
|
1246
|
+
* Lifecycle per kind:
|
|
1247
|
+
* - OS: provisioned by the backend and never part of create/add
|
|
1248
|
+
* requests; resizable via UpdateDisk, never deletable.
|
|
1249
|
+
* - SYSTEM: exactly one per MVM (drive letter F on Windows, mount point
|
|
1250
|
+
* /appdata on Linux), whose letter/mount point is fixed; must be
|
|
1251
|
+
* included in the create request; resizable via UpdateDisk, never
|
|
1252
|
+
* deletable.
|
|
1253
|
+
* - DATA: fully controllable (letter/mount point, size, auto-extend)
|
|
1254
|
+
* and deletable; may be included at creation or added later via
|
|
1255
|
+
* AddDisk.
|
|
1256
|
+
*
|
|
1257
|
+
* Whether auto-extend is supported for OS and SYSTEM disks is not yet
|
|
1258
|
+
* known; only DATA disks are documented as supporting it.
|
|
1259
|
+
*
|
|
1260
|
+
* These rules are enforced by the upstream (nulink) API at creation and
|
|
1261
|
+
* edit time (e.g. duplicate drive letters, deleting a system disk);
|
|
1262
|
+
* fco-api does not re-validate them locally and surfaces upstream
|
|
1263
|
+
* violations as InvalidArgument errors. Use the Validate* RPCs to
|
|
1264
|
+
* pre-check a request against the upstream rules.
|
|
1265
|
+
*
|
|
1266
|
+
* @generated from enum fits.api.mvm.v1.DiskType
|
|
1267
|
+
*/
|
|
1268
|
+
export declare enum DiskType {
|
|
1269
|
+
/**
|
|
1270
|
+
* DISK_TYPE_UNSPECIFIED is not specified.
|
|
1271
|
+
*
|
|
1272
|
+
* @generated from enum value: DISK_TYPE_UNSPECIFIED = 0;
|
|
1273
|
+
*/
|
|
1274
|
+
UNSPECIFIED = 0,
|
|
1275
|
+
/**
|
|
1276
|
+
* DISK_TYPE_OS is the operating system disk; provisioned by the backend,
|
|
1277
|
+
* resizable, never deletable.
|
|
1278
|
+
*
|
|
1279
|
+
* @generated from enum value: DISK_TYPE_OS = 1;
|
|
1280
|
+
*/
|
|
1281
|
+
OS = 1,
|
|
1282
|
+
/**
|
|
1283
|
+
* DISK_TYPE_SYSTEM is the additional system disk (volume F on Windows,
|
|
1284
|
+
* /appdata on Linux); the letter/mount point is fixed, the size is
|
|
1285
|
+
* resizable, never deletable.
|
|
1286
|
+
*
|
|
1287
|
+
* @generated from enum value: DISK_TYPE_SYSTEM = 2;
|
|
1288
|
+
*/
|
|
1289
|
+
SYSTEM = 2,
|
|
1290
|
+
/**
|
|
1291
|
+
* DISK_TYPE_DATA is a user-managed data disk; fully controllable and
|
|
1292
|
+
* deletable.
|
|
1293
|
+
*
|
|
1294
|
+
* @generated from enum value: DISK_TYPE_DATA = 3;
|
|
1295
|
+
*/
|
|
1296
|
+
DATA = 3
|
|
1297
|
+
}
|
|
1298
|
+
/**
|
|
1299
|
+
* Describes the enum fits.api.mvm.v1.DiskType.
|
|
1300
|
+
*/
|
|
1301
|
+
export declare const DiskTypeSchema: GenEnum<DiskType>;
|
|
1302
|
+
/**
|
|
1303
|
+
* MVMService provides managed VM (MVM) operations.
|
|
1304
|
+
*
|
|
1305
|
+
* @generated from service fits.api.mvm.v1.MVMService
|
|
1306
|
+
*/
|
|
1307
|
+
export declare const MVMService: GenService<{
|
|
1308
|
+
/**
|
|
1309
|
+
* Returns the MVM with the specified UUID.
|
|
1310
|
+
*
|
|
1311
|
+
* @generated from rpc fits.api.mvm.v1.MVMService.Get
|
|
1312
|
+
*/
|
|
1313
|
+
get: {
|
|
1314
|
+
methodKind: "unary";
|
|
1315
|
+
input: typeof MVMServiceGetRequestSchema;
|
|
1316
|
+
output: typeof MVMServiceGetResponseSchema;
|
|
1317
|
+
};
|
|
1318
|
+
/**
|
|
1319
|
+
* Creates a new MVM.
|
|
1320
|
+
*
|
|
1321
|
+
* @generated from rpc fits.api.mvm.v1.MVMService.Create
|
|
1322
|
+
*/
|
|
1323
|
+
create: {
|
|
1324
|
+
methodKind: "unary";
|
|
1325
|
+
input: typeof MVMServiceCreateRequestSchema;
|
|
1326
|
+
output: typeof MVMServiceCreateResponseSchema;
|
|
1327
|
+
};
|
|
1328
|
+
/**
|
|
1329
|
+
* Returns the list of all MVMs.
|
|
1330
|
+
*
|
|
1331
|
+
* @generated from rpc fits.api.mvm.v1.MVMService.List
|
|
1332
|
+
*/
|
|
1333
|
+
list: {
|
|
1334
|
+
methodKind: "unary";
|
|
1335
|
+
input: typeof MVMServiceListRequestSchema;
|
|
1336
|
+
output: typeof MVMServiceListResponseSchema;
|
|
1337
|
+
};
|
|
1338
|
+
/**
|
|
1339
|
+
* Deletes a MVM.
|
|
1340
|
+
*
|
|
1341
|
+
* @generated from rpc fits.api.mvm.v1.MVMService.Delete
|
|
1342
|
+
*/
|
|
1343
|
+
delete: {
|
|
1344
|
+
methodKind: "unary";
|
|
1345
|
+
input: typeof MVMServiceDeleteRequestSchema;
|
|
1346
|
+
output: typeof MVMServiceDeleteResponseSchema;
|
|
1347
|
+
};
|
|
1348
|
+
/**
|
|
1349
|
+
* Orders an additional data disk for a MVM. System disks are ordered at
|
|
1350
|
+
* MVM creation and cannot be added later.
|
|
1351
|
+
*
|
|
1352
|
+
* @generated from rpc fits.api.mvm.v1.MVMService.AddDisk
|
|
1353
|
+
*/
|
|
1354
|
+
addDisk: {
|
|
1355
|
+
methodKind: "unary";
|
|
1356
|
+
input: typeof MVMServiceAddDiskRequestSchema;
|
|
1357
|
+
output: typeof MVMServiceAddDiskResponseSchema;
|
|
1358
|
+
};
|
|
1359
|
+
/**
|
|
1360
|
+
* Changes the size or auto-extend behavior of an existing disk; see
|
|
1361
|
+
* DiskType for which operations apply per disk kind.
|
|
1362
|
+
*
|
|
1363
|
+
* @generated from rpc fits.api.mvm.v1.MVMService.UpdateDisk
|
|
1364
|
+
*/
|
|
1365
|
+
updateDisk: {
|
|
1366
|
+
methodKind: "unary";
|
|
1367
|
+
input: typeof MVMServiceUpdateDiskRequestSchema;
|
|
1368
|
+
output: typeof MVMServiceUpdateDiskResponseSchema;
|
|
1369
|
+
};
|
|
1370
|
+
/**
|
|
1371
|
+
* Cancels a data disk. OS and system disks cannot be deleted.
|
|
1372
|
+
*
|
|
1373
|
+
* @generated from rpc fits.api.mvm.v1.MVMService.DeleteDisk
|
|
1374
|
+
*/
|
|
1375
|
+
deleteDisk: {
|
|
1376
|
+
methodKind: "unary";
|
|
1377
|
+
input: typeof MVMServiceDeleteDiskRequestSchema;
|
|
1378
|
+
output: typeof MVMServiceDeleteDiskResponseSchema;
|
|
1379
|
+
};
|
|
1380
|
+
/**
|
|
1381
|
+
* Orders an additional network interface for a MVM.
|
|
1382
|
+
*
|
|
1383
|
+
* @generated from rpc fits.api.mvm.v1.MVMService.AddNetworkInterface
|
|
1384
|
+
*/
|
|
1385
|
+
addNetworkInterface: {
|
|
1386
|
+
methodKind: "unary";
|
|
1387
|
+
input: typeof MVMServiceAddNetworkInterfaceRequestSchema;
|
|
1388
|
+
output: typeof MVMServiceAddNetworkInterfaceResponseSchema;
|
|
1389
|
+
};
|
|
1390
|
+
/**
|
|
1391
|
+
* Moves a network interface from one MVM to another.
|
|
1392
|
+
*
|
|
1393
|
+
* @generated from rpc fits.api.mvm.v1.MVMService.MoveNetworkInterface
|
|
1394
|
+
*/
|
|
1395
|
+
moveNetworkInterface: {
|
|
1396
|
+
methodKind: "unary";
|
|
1397
|
+
input: typeof MVMServiceMoveNetworkInterfaceRequestSchema;
|
|
1398
|
+
output: typeof MVMServiceMoveNetworkInterfaceResponseSchema;
|
|
1399
|
+
};
|
|
1400
|
+
/**
|
|
1401
|
+
* Deletes a network interface from a MVM.
|
|
1402
|
+
*
|
|
1403
|
+
* @generated from rpc fits.api.mvm.v1.MVMService.DeleteNetworkInterface
|
|
1404
|
+
*/
|
|
1405
|
+
deleteNetworkInterface: {
|
|
1406
|
+
methodKind: "unary";
|
|
1407
|
+
input: typeof MVMServiceDeleteNetworkInterfaceRequestSchema;
|
|
1408
|
+
output: typeof MVMServiceDeleteNetworkInterfaceResponseSchema;
|
|
1409
|
+
};
|
|
1410
|
+
/**
|
|
1411
|
+
* Validates a MVM create request without creating anything. Intended for
|
|
1412
|
+
* form pre-checks; the create endpoint validates again before executing.
|
|
1413
|
+
*
|
|
1414
|
+
* @generated from rpc fits.api.mvm.v1.MVMService.ValidateCreate
|
|
1415
|
+
*/
|
|
1416
|
+
validateCreate: {
|
|
1417
|
+
methodKind: "unary";
|
|
1418
|
+
input: typeof MVMServiceValidateCreateRequestSchema;
|
|
1419
|
+
output: typeof MVMServiceValidateCreateResponseSchema;
|
|
1420
|
+
};
|
|
1421
|
+
/**
|
|
1422
|
+
* Validates an AddDisk request without ordering anything.
|
|
1423
|
+
*
|
|
1424
|
+
* @generated from rpc fits.api.mvm.v1.MVMService.ValidateAddDisk
|
|
1425
|
+
*/
|
|
1426
|
+
validateAddDisk: {
|
|
1427
|
+
methodKind: "unary";
|
|
1428
|
+
input: typeof MVMServiceValidateAddDiskRequestSchema;
|
|
1429
|
+
output: typeof MVMServiceValidateAddDiskResponseSchema;
|
|
1430
|
+
};
|
|
1431
|
+
/**
|
|
1432
|
+
* Validates an UpdateDisk request without changing anything.
|
|
1433
|
+
*
|
|
1434
|
+
* @generated from rpc fits.api.mvm.v1.MVMService.ValidateUpdateDisk
|
|
1435
|
+
*/
|
|
1436
|
+
validateUpdateDisk: {
|
|
1437
|
+
methodKind: "unary";
|
|
1438
|
+
input: typeof MVMServiceValidateUpdateDiskRequestSchema;
|
|
1439
|
+
output: typeof MVMServiceValidateUpdateDiskResponseSchema;
|
|
1440
|
+
};
|
|
1441
|
+
/**
|
|
1442
|
+
* Validates an AddNetworkInterface request without ordering anything.
|
|
1443
|
+
*
|
|
1444
|
+
* @generated from rpc fits.api.mvm.v1.MVMService.ValidateAddNetworkInterface
|
|
1445
|
+
*/
|
|
1446
|
+
validateAddNetworkInterface: {
|
|
1447
|
+
methodKind: "unary";
|
|
1448
|
+
input: typeof MVMServiceValidateAddNetworkInterfaceRequestSchema;
|
|
1449
|
+
output: typeof MVMServiceValidateAddNetworkInterfaceResponseSchema;
|
|
1450
|
+
};
|
|
1451
|
+
}>;
|