@metal-stack/api 0.0.40-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +111 -0
  3. package/js/Makefile +16 -0
  4. package/js/buf/validate/validate_pb.d.ts +4597 -0
  5. package/js/buf/validate/validate_pb.js +351 -0
  6. package/js/buf/validate/validate_pb.ts +4938 -0
  7. package/js/metalstack/admin/v2/filesystem_pb.d.ts +207 -0
  8. package/js/metalstack/admin/v2/filesystem_pb.js +48 -0
  9. package/js/metalstack/admin/v2/filesystem_pb.ts +248 -0
  10. package/js/metalstack/admin/v2/image_pb.d.ts +242 -0
  11. package/js/metalstack/admin/v2/image_pb.js +59 -0
  12. package/js/metalstack/admin/v2/image_pb.ts +288 -0
  13. package/js/metalstack/admin/v2/ip_pb.d.ts +60 -0
  14. package/js/metalstack/admin/v2/ip_pb.js +26 -0
  15. package/js/metalstack/admin/v2/ip_pb.ts +78 -0
  16. package/js/metalstack/admin/v2/machine_pb.d.ts +113 -0
  17. package/js/metalstack/admin/v2/machine_pb.js +38 -0
  18. package/js/metalstack/admin/v2/machine_pb.ts +140 -0
  19. package/js/metalstack/admin/v2/network_pb.d.ts +407 -0
  20. package/js/metalstack/admin/v2/network_pb.js +68 -0
  21. package/js/metalstack/admin/v2/network_pb.ts +478 -0
  22. package/js/metalstack/admin/v2/partition_pb.d.ts +341 -0
  23. package/js/metalstack/admin/v2/partition_pb.js +58 -0
  24. package/js/metalstack/admin/v2/partition_pb.ts +402 -0
  25. package/js/metalstack/admin/v2/project_pb.d.ts +67 -0
  26. package/js/metalstack/admin/v2/project_pb.js +27 -0
  27. package/js/metalstack/admin/v2/project_pb.ts +87 -0
  28. package/js/metalstack/admin/v2/size_pb.d.ts +183 -0
  29. package/js/metalstack/admin/v2/size_pb.js +48 -0
  30. package/js/metalstack/admin/v2/size_pb.ts +220 -0
  31. package/js/metalstack/admin/v2/switch_pb.d.ts +377 -0
  32. package/js/metalstack/admin/v2/switch_pb.js +79 -0
  33. package/js/metalstack/admin/v2/switch_pb.ts +435 -0
  34. package/js/metalstack/admin/v2/tenant_pb.d.ts +149 -0
  35. package/js/metalstack/admin/v2/tenant_pb.js +38 -0
  36. package/js/metalstack/admin/v2/tenant_pb.ts +182 -0
  37. package/js/metalstack/admin/v2/token_pb.d.ts +164 -0
  38. package/js/metalstack/admin/v2/token_pb.js +47 -0
  39. package/js/metalstack/admin/v2/token_pb.ts +199 -0
  40. package/js/metalstack/admin/v2/vpn_pb.ts +184 -0
  41. package/js/metalstack/api/v2/common_pb.d.ts +407 -0
  42. package/js/metalstack/api/v2/common_pb.js +311 -0
  43. package/js/metalstack/api/v2/common_pb.ts +488 -0
  44. package/js/metalstack/api/v2/filesystem_pb.d.ts +704 -0
  45. package/js/metalstack/api/v2/filesystem_pb.js +259 -0
  46. package/js/metalstack/api/v2/filesystem_pb.ts +819 -0
  47. package/js/metalstack/api/v2/health_pb.d.ts +220 -0
  48. package/js/metalstack/api/v2/health_pb.js +130 -0
  49. package/js/metalstack/api/v2/health_pb.ts +264 -0
  50. package/js/metalstack/api/v2/image_pb.d.ts +368 -0
  51. package/js/metalstack/api/v2/image_pb.js +129 -0
  52. package/js/metalstack/api/v2/image_pb.ts +436 -0
  53. package/js/metalstack/api/v2/ip_pb.d.ts +555 -0
  54. package/js/metalstack/api/v2/ip_pb.js +137 -0
  55. package/js/metalstack/api/v2/ip_pb.ts +650 -0
  56. package/js/metalstack/api/v2/machine_pb.d.ts +1831 -0
  57. package/js/metalstack/api/v2/machine_pb.js +459 -0
  58. package/js/metalstack/api/v2/machine_pb.ts +2155 -0
  59. package/js/metalstack/api/v2/method_pb.d.ts +122 -0
  60. package/js/metalstack/api/v2/method_pb.js +38 -0
  61. package/js/metalstack/api/v2/method_pb.ts +149 -0
  62. package/js/metalstack/api/v2/network_pb.d.ts +820 -0
  63. package/js/metalstack/api/v2/network_pb.js +244 -0
  64. package/js/metalstack/api/v2/network_pb.ts +954 -0
  65. package/js/metalstack/api/v2/partition_pb.d.ts +251 -0
  66. package/js/metalstack/api/v2/partition_pb.js +62 -0
  67. package/js/metalstack/api/v2/partition_pb.ts +300 -0
  68. package/js/metalstack/api/v2/predefined_rules_pb.d.ts +54 -0
  69. package/js/metalstack/api/v2/predefined_rules_pb.js +57 -0
  70. package/js/metalstack/api/v2/predefined_rules_pb.ts +79 -0
  71. package/js/metalstack/api/v2/project_pb.d.ts +862 -0
  72. package/js/metalstack/api/v2/project_pb.js +163 -0
  73. package/js/metalstack/api/v2/project_pb.ts +1001 -0
  74. package/js/metalstack/api/v2/size_pb.d.ts +261 -0
  75. package/js/metalstack/api/v2/size_pb.js +94 -0
  76. package/js/metalstack/api/v2/size_pb.ts +312 -0
  77. package/js/metalstack/api/v2/switch_pb.d.ts +508 -0
  78. package/js/metalstack/api/v2/switch_pb.js +207 -0
  79. package/js/metalstack/api/v2/switch_pb.ts +653 -0
  80. package/js/metalstack/api/v2/tenant_pb.d.ts +864 -0
  81. package/js/metalstack/api/v2/tenant_pb.js +163 -0
  82. package/js/metalstack/api/v2/tenant_pb.ts +1004 -0
  83. package/js/metalstack/api/v2/token_pb.d.ts +540 -0
  84. package/js/metalstack/api/v2/token_pb.js +118 -0
  85. package/js/metalstack/api/v2/token_pb.ts +621 -0
  86. package/js/metalstack/api/v2/user_pb.d.ts +108 -0
  87. package/js/metalstack/api/v2/user_pb.js +34 -0
  88. package/js/metalstack/api/v2/user_pb.ts +139 -0
  89. package/js/metalstack/api/v2/version_pb.d.ts +88 -0
  90. package/js/metalstack/api/v2/version_pb.js +30 -0
  91. package/js/metalstack/api/v2/version_pb.ts +112 -0
  92. package/js/metalstack/api/v2/vpn_pb.ts +72 -0
  93. package/js/metalstack/infra/v2/bmc_pb.d.ts +45 -0
  94. package/js/metalstack/infra/v2/bmc_pb.js +25 -0
  95. package/js/metalstack/infra/v2/bmc_pb.ts +104 -0
  96. package/js/metalstack/infra/v2/event_pb.d.ts +181 -0
  97. package/js/metalstack/infra/v2/event_pb.js +116 -0
  98. package/js/metalstack/infra/v2/event_pb.ts +218 -0
  99. package/js/metalstack/infra/v2/switch_pb.d.ts +223 -0
  100. package/js/metalstack/infra/v2/switch_pb.js +54 -0
  101. package/js/metalstack/infra/v2/switch_pb.ts +228 -0
  102. package/js/tsconfig.json +70 -0
  103. package/package.json +21 -0
@@ -0,0 +1,1831 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { Labels, Meta, UpdateLabels, UpdateMeta } from "./common_pb";
4
+ import type { FilesystemLayout } from "./filesystem_pb";
5
+ import type { Image } from "./image_pb";
6
+ import type { NATType, NetworkType } from "./network_pb";
7
+ import type { DNSServer, NTPServer, Partition } from "./partition_pb";
8
+ import type { Size } from "./size_pb";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+ /**
11
+ * Describes the file metalstack/api/v2/machine.proto.
12
+ */
13
+ export declare const file_metalstack_api_v2_machine: GenFile;
14
+ /**
15
+ * MachineServiceGetRequest is the request payload for a machine get request
16
+ *
17
+ * @generated from message metalstack.api.v2.MachineServiceGetRequest
18
+ */
19
+ export type MachineServiceGetRequest = Message<"metalstack.api.v2.MachineServiceGetRequest"> & {
20
+ /**
21
+ * UUID of the machine to get
22
+ *
23
+ * @generated from field: string uuid = 1;
24
+ */
25
+ uuid: string;
26
+ /**
27
+ * Project of the machine
28
+ *
29
+ * @generated from field: string project = 2;
30
+ */
31
+ project: string;
32
+ };
33
+ /**
34
+ * Describes the message metalstack.api.v2.MachineServiceGetRequest.
35
+ * Use `create(MachineServiceGetRequestSchema)` to create a new message.
36
+ */
37
+ export declare const MachineServiceGetRequestSchema: GenMessage<MachineServiceGetRequest>;
38
+ /**
39
+ * MachineServiceGetResponse is the request payload for a machine get response
40
+ *
41
+ * @generated from message metalstack.api.v2.MachineServiceGetResponse
42
+ */
43
+ export type MachineServiceGetResponse = Message<"metalstack.api.v2.MachineServiceGetResponse"> & {
44
+ /**
45
+ * Machine is the machine requested
46
+ *
47
+ * @generated from field: metalstack.api.v2.Machine machine = 1;
48
+ */
49
+ machine?: Machine;
50
+ };
51
+ /**
52
+ * Describes the message metalstack.api.v2.MachineServiceGetResponse.
53
+ * Use `create(MachineServiceGetResponseSchema)` to create a new message.
54
+ */
55
+ export declare const MachineServiceGetResponseSchema: GenMessage<MachineServiceGetResponse>;
56
+ /**
57
+ * MachineServiceCreateRequest is the request payload for a machine create request
58
+ *
59
+ * @generated from message metalstack.api.v2.MachineServiceCreateRequest
60
+ */
61
+ export type MachineServiceCreateRequest = Message<"metalstack.api.v2.MachineServiceCreateRequest"> & {
62
+ /**
63
+ * Project of the machine
64
+ *
65
+ * @generated from field: string project = 1;
66
+ */
67
+ project: string;
68
+ /**
69
+ * UUID if this field is set, this specific machine will be allocated if it is not in available state and not currently allocated.
70
+ * this field overrules size and partition
71
+ *
72
+ * @generated from field: optional string uuid = 2;
73
+ */
74
+ uuid?: string;
75
+ /**
76
+ * Name of this machine
77
+ *
78
+ * @generated from field: string name = 3;
79
+ */
80
+ name: string;
81
+ /**
82
+ * Description for this machine
83
+ *
84
+ * @generated from field: optional string description = 4;
85
+ */
86
+ description?: string;
87
+ /**
88
+ * Hostname the hostname for the allocated machine (defaults to metal)
89
+ *
90
+ * @generated from field: optional string hostname = 5;
91
+ */
92
+ hostname?: string;
93
+ /**
94
+ * Partition the partition id to assign this machine to
95
+ *
96
+ * @generated from field: string partition = 6;
97
+ */
98
+ partition: string;
99
+ /**
100
+ * Size of the machine to create
101
+ *
102
+ * @generated from field: string size = 7;
103
+ */
104
+ size: string;
105
+ /**
106
+ * Image which should be installed on this machine
107
+ *
108
+ * @generated from field: string image = 8;
109
+ */
110
+ image: string;
111
+ /**
112
+ * FilesystemLayout which should be applied for the operating system installation
113
+ * Is defaulted by a lookup at the available fsls for this size and image.
114
+ * Can be specified to test new fsls during development of fsls
115
+ *
116
+ * @generated from field: optional string filesystem_layout = 9;
117
+ */
118
+ filesystemLayout?: string;
119
+ /**
120
+ * SSHPublicKeys defines the ssh public key to be installed on the machine to access it via ssh
121
+ *
122
+ * @generated from field: repeated string ssh_public_keys = 10;
123
+ */
124
+ sshPublicKeys: string[];
125
+ /**
126
+ * Userdata contains instructions required to bootstrap the machine
127
+ * AWS limits the max userdata size to 16k, lets allow twice as much
128
+ *
129
+ * @generated from field: optional string userdata = 11;
130
+ */
131
+ userdata?: string;
132
+ /**
133
+ * Labels to be attached to this machine allocation
134
+ *
135
+ * @generated from field: metalstack.api.v2.Labels labels = 12;
136
+ */
137
+ labels?: Labels;
138
+ /**
139
+ * Networks the networks that this machine will be placed in.
140
+ *
141
+ * @generated from field: repeated metalstack.api.v2.MachineAllocationNetwork networks = 13;
142
+ */
143
+ networks: MachineAllocationNetwork[];
144
+ /**
145
+ * IPs to to attach to this machine additionally
146
+ *
147
+ * @generated from field: repeated string ips = 14;
148
+ */
149
+ ips: string[];
150
+ /**
151
+ * PlacementTags by default machines are spread across the racks inside a partition for every project.
152
+ * if placement tags are provided, the machine candidate has an additional anti-affinity to other machines having the same tags
153
+ *
154
+ * @generated from field: repeated string placement_tags = 15;
155
+ */
156
+ placementTags: string[];
157
+ /**
158
+ * DNSServer the dns servers used for the machine
159
+ *
160
+ * @generated from field: repeated metalstack.api.v2.DNSServer dns_server = 16;
161
+ */
162
+ dnsServer: DNSServer[];
163
+ /**
164
+ * NTPServer the ntp servers used for the machine
165
+ *
166
+ * @generated from field: repeated metalstack.api.v2.NTPServer ntp_server = 17;
167
+ */
168
+ ntpServer: NTPServer[];
169
+ /**
170
+ * AllocationType of this machine
171
+ *
172
+ * @generated from field: metalstack.api.v2.MachineAllocationType allocation_type = 18;
173
+ */
174
+ allocationType: MachineAllocationType;
175
+ /**
176
+ * FirewallSpec provides firewall specific parameters if allocationType is firewall
177
+ *
178
+ * @generated from field: metalstack.api.v2.FirewallSpec firewall_spec = 19;
179
+ */
180
+ firewallSpec?: FirewallSpec;
181
+ };
182
+ /**
183
+ * Describes the message metalstack.api.v2.MachineServiceCreateRequest.
184
+ * Use `create(MachineServiceCreateRequestSchema)` to create a new message.
185
+ */
186
+ export declare const MachineServiceCreateRequestSchema: GenMessage<MachineServiceCreateRequest>;
187
+ /**
188
+ * FirewallSpec contains firewall specific firewall creation parameters
189
+ *
190
+ * @generated from message metalstack.api.v2.FirewallSpec
191
+ */
192
+ export type FirewallSpec = Message<"metalstack.api.v2.FirewallSpec"> & {
193
+ /**
194
+ * FirewallRules to be applied if this is a firewall
195
+ *
196
+ * @generated from field: metalstack.api.v2.FirewallRules firewall_rules = 19;
197
+ */
198
+ firewallRules?: FirewallRules;
199
+ };
200
+ /**
201
+ * Describes the message metalstack.api.v2.FirewallSpec.
202
+ * Use `create(FirewallSpecSchema)` to create a new message.
203
+ */
204
+ export declare const FirewallSpecSchema: GenMessage<FirewallSpec>;
205
+ /**
206
+ * MachineServiceCreateResponse is the request payload for a machine create response
207
+ *
208
+ * @generated from message metalstack.api.v2.MachineServiceCreateResponse
209
+ */
210
+ export type MachineServiceCreateResponse = Message<"metalstack.api.v2.MachineServiceCreateResponse"> & {
211
+ /**
212
+ * Machine which was created
213
+ *
214
+ * @generated from field: metalstack.api.v2.Machine machine = 1;
215
+ */
216
+ machine?: Machine;
217
+ };
218
+ /**
219
+ * Describes the message metalstack.api.v2.MachineServiceCreateResponse.
220
+ * Use `create(MachineServiceCreateResponseSchema)` to create a new message.
221
+ */
222
+ export declare const MachineServiceCreateResponseSchema: GenMessage<MachineServiceCreateResponse>;
223
+ /**
224
+ * MachineServiceUpdateRequest is the request payload for a machine update request
225
+ *
226
+ * @generated from message metalstack.api.v2.MachineServiceUpdateRequest
227
+ */
228
+ export type MachineServiceUpdateRequest = Message<"metalstack.api.v2.MachineServiceUpdateRequest"> & {
229
+ /**
230
+ * UUID of the machine to modify
231
+ *
232
+ * @generated from field: string uuid = 1;
233
+ */
234
+ uuid: string;
235
+ /**
236
+ * UpdateMeta contains the timestamp and strategy to be used in this update request
237
+ *
238
+ * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
239
+ */
240
+ updateMeta?: UpdateMeta;
241
+ /**
242
+ * Project of the machine
243
+ *
244
+ * @generated from field: string project = 3;
245
+ */
246
+ project: string;
247
+ /**
248
+ * Description of this machine allocation
249
+ *
250
+ * @generated from field: optional string description = 4;
251
+ */
252
+ description?: string;
253
+ /**
254
+ * Labels to update on this machine allocation
255
+ *
256
+ * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 5;
257
+ */
258
+ labels?: UpdateLabels;
259
+ /**
260
+ * SSHPublicKeys which should be update of this machine allocation
261
+ *
262
+ * @generated from field: repeated string ssh_public_keys = 6;
263
+ */
264
+ sshPublicKeys: string[];
265
+ };
266
+ /**
267
+ * Describes the message metalstack.api.v2.MachineServiceUpdateRequest.
268
+ * Use `create(MachineServiceUpdateRequestSchema)` to create a new message.
269
+ */
270
+ export declare const MachineServiceUpdateRequestSchema: GenMessage<MachineServiceUpdateRequest>;
271
+ /**
272
+ * MachineServiceUpdateResponse is the request payload for a machine update response
273
+ *
274
+ * @generated from message metalstack.api.v2.MachineServiceUpdateResponse
275
+ */
276
+ export type MachineServiceUpdateResponse = Message<"metalstack.api.v2.MachineServiceUpdateResponse"> & {
277
+ /**
278
+ * Machine which was updated
279
+ *
280
+ * @generated from field: metalstack.api.v2.Machine machine = 1;
281
+ */
282
+ machine?: Machine;
283
+ };
284
+ /**
285
+ * Describes the message metalstack.api.v2.MachineServiceUpdateResponse.
286
+ * Use `create(MachineServiceUpdateResponseSchema)` to create a new message.
287
+ */
288
+ export declare const MachineServiceUpdateResponseSchema: GenMessage<MachineServiceUpdateResponse>;
289
+ /**
290
+ * MachineServiceListRequest is the request payload for a machine list request
291
+ *
292
+ * @generated from message metalstack.api.v2.MachineServiceListRequest
293
+ */
294
+ export type MachineServiceListRequest = Message<"metalstack.api.v2.MachineServiceListRequest"> & {
295
+ /**
296
+ * Project of the machines to list
297
+ *
298
+ * @generated from field: string project = 1;
299
+ */
300
+ project: string;
301
+ /**
302
+ * Query to list one ore more machines
303
+ *
304
+ * @generated from field: metalstack.api.v2.MachineQuery query = 2;
305
+ */
306
+ query?: MachineQuery;
307
+ };
308
+ /**
309
+ * Describes the message metalstack.api.v2.MachineServiceListRequest.
310
+ * Use `create(MachineServiceListRequestSchema)` to create a new message.
311
+ */
312
+ export declare const MachineServiceListRequestSchema: GenMessage<MachineServiceListRequest>;
313
+ /**
314
+ * MachineServiceListResponse is the request payload for a machine list response
315
+ *
316
+ * @generated from message metalstack.api.v2.MachineServiceListResponse
317
+ */
318
+ export type MachineServiceListResponse = Message<"metalstack.api.v2.MachineServiceListResponse"> & {
319
+ /**
320
+ * Machines are the machines requested by a list request
321
+ *
322
+ * @generated from field: repeated metalstack.api.v2.Machine machines = 1;
323
+ */
324
+ machines: Machine[];
325
+ };
326
+ /**
327
+ * Describes the message metalstack.api.v2.MachineServiceListResponse.
328
+ * Use `create(MachineServiceListResponseSchema)` to create a new message.
329
+ */
330
+ export declare const MachineServiceListResponseSchema: GenMessage<MachineServiceListResponse>;
331
+ /**
332
+ * MachineServiceDeleteRequest is the request payload for a machine delete request
333
+ *
334
+ * @generated from message metalstack.api.v2.MachineServiceDeleteRequest
335
+ */
336
+ export type MachineServiceDeleteRequest = Message<"metalstack.api.v2.MachineServiceDeleteRequest"> & {
337
+ /**
338
+ * UUID of the machine to delete
339
+ *
340
+ * @generated from field: string uuid = 1;
341
+ */
342
+ uuid: string;
343
+ /**
344
+ * Project of the machine
345
+ *
346
+ * @generated from field: string project = 2;
347
+ */
348
+ project: string;
349
+ };
350
+ /**
351
+ * Describes the message metalstack.api.v2.MachineServiceDeleteRequest.
352
+ * Use `create(MachineServiceDeleteRequestSchema)` to create a new message.
353
+ */
354
+ export declare const MachineServiceDeleteRequestSchema: GenMessage<MachineServiceDeleteRequest>;
355
+ /**
356
+ * MachineServiceDeleteResponse is the request payload for a machine delete response
357
+ *
358
+ * @generated from message metalstack.api.v2.MachineServiceDeleteResponse
359
+ */
360
+ export type MachineServiceDeleteResponse = Message<"metalstack.api.v2.MachineServiceDeleteResponse"> & {
361
+ /**
362
+ * Machine which was deleteds
363
+ *
364
+ * @generated from field: metalstack.api.v2.Machine machine = 1;
365
+ */
366
+ machine?: Machine;
367
+ };
368
+ /**
369
+ * Describes the message metalstack.api.v2.MachineServiceDeleteResponse.
370
+ * Use `create(MachineServiceDeleteResponseSchema)` to create a new message.
371
+ */
372
+ export declare const MachineServiceDeleteResponseSchema: GenMessage<MachineServiceDeleteResponse>;
373
+ /**
374
+ * Machine represents a physical bare metal machine.
375
+ *
376
+ * @generated from message metalstack.api.v2.Machine
377
+ */
378
+ export type Machine = Message<"metalstack.api.v2.Machine"> & {
379
+ /**
380
+ * UUID of this machine
381
+ *
382
+ * @generated from field: string uuid = 1;
383
+ */
384
+ uuid: string;
385
+ /**
386
+ * Meta for this machine
387
+ *
388
+ * @generated from field: metalstack.api.v2.Meta meta = 2;
389
+ */
390
+ meta?: Meta;
391
+ /**
392
+ * Partition where this machine resides
393
+ *
394
+ * @generated from field: metalstack.api.v2.Partition partition = 3;
395
+ */
396
+ partition?: Partition;
397
+ /**
398
+ * Rack where this machine is located
399
+ *
400
+ * @generated from field: string rack = 4;
401
+ */
402
+ rack: string;
403
+ /**
404
+ * Size of this machine
405
+ *
406
+ * @generated from field: metalstack.api.v2.Size size = 5;
407
+ */
408
+ size?: Size;
409
+ /**
410
+ * Hardware specs of this machine
411
+ *
412
+ * @generated from field: metalstack.api.v2.MachineHardware hardware = 6;
413
+ */
414
+ hardware?: MachineHardware;
415
+ /**
416
+ * Bios details for this machine
417
+ *
418
+ * @generated from field: metalstack.api.v2.MachineBios bios = 7;
419
+ */
420
+ bios?: MachineBios;
421
+ /**
422
+ * Allocation details
423
+ *
424
+ * @generated from field: metalstack.api.v2.MachineAllocation allocation = 8;
425
+ */
426
+ allocation?: MachineAllocation;
427
+ /**
428
+ * Status contains several status details related to this machine
429
+ *
430
+ * @generated from field: metalstack.api.v2.MachineStatus status = 9;
431
+ */
432
+ status?: MachineStatus;
433
+ /**
434
+ * MachineRecentProvisioningEvents contains the recent provisioning events
435
+ *
436
+ * @generated from field: metalstack.api.v2.MachineRecentProvisioningEvents recent_provisioning_events = 10;
437
+ */
438
+ recentProvisioningEvents?: MachineRecentProvisioningEvents;
439
+ };
440
+ /**
441
+ * Describes the message metalstack.api.v2.Machine.
442
+ * Use `create(MachineSchema)` to create a new message.
443
+ */
444
+ export declare const MachineSchema: GenMessage<Machine>;
445
+ /**
446
+ * MachineStatus contains several status details related to this machine
447
+ *
448
+ * @generated from message metalstack.api.v2.MachineStatus
449
+ */
450
+ export type MachineStatus = Message<"metalstack.api.v2.MachineStatus"> & {
451
+ /**
452
+ * Condition describes the availability
453
+ *
454
+ * @generated from field: metalstack.api.v2.MachineCondition condition = 1;
455
+ */
456
+ condition?: MachineCondition;
457
+ /**
458
+ * LEDState indicates the state of the indicator LED on this machine
459
+ *
460
+ * @generated from field: metalstack.api.v2.MachineChassisIdentifyLEDState led_state = 2;
461
+ */
462
+ ledState?: MachineChassisIdentifyLEDState;
463
+ /**
464
+ * Liveliness of this machine
465
+ *
466
+ * @generated from field: metalstack.api.v2.MachineLiveliness liveliness = 3;
467
+ */
468
+ liveliness: MachineLiveliness;
469
+ /**
470
+ * MetalHammerVersion the version of metal hammer which put the machine in waiting state
471
+ *
472
+ * @generated from field: string metal_hammer_version = 4;
473
+ */
474
+ metalHammerVersion: string;
475
+ };
476
+ /**
477
+ * Describes the message metalstack.api.v2.MachineStatus.
478
+ * Use `create(MachineStatusSchema)` to create a new message.
479
+ */
480
+ export declare const MachineStatusSchema: GenMessage<MachineStatus>;
481
+ /**
482
+ * MachineCondition describes the availability of this machine
483
+ *
484
+ * @generated from message metalstack.api.v2.MachineCondition
485
+ */
486
+ export type MachineCondition = Message<"metalstack.api.v2.MachineCondition"> & {
487
+ /**
488
+ * State the state of this machine. empty means available for all
489
+ *
490
+ * @generated from field: metalstack.api.v2.MachineState state = 1;
491
+ */
492
+ state: MachineState;
493
+ /**
494
+ * Description a description why this machine is in the given state
495
+ *
496
+ * @generated from field: string description = 2;
497
+ */
498
+ description: string;
499
+ /**
500
+ * Issuer the user that changed the state
501
+ *
502
+ * @generated from field: string issuer = 3;
503
+ */
504
+ issuer: string;
505
+ };
506
+ /**
507
+ * Describes the message metalstack.api.v2.MachineCondition.
508
+ * Use `create(MachineConditionSchema)` to create a new message.
509
+ */
510
+ export declare const MachineConditionSchema: GenMessage<MachineCondition>;
511
+ /**
512
+ * MachineAllocation contains properties if this machine is allocated
513
+ *
514
+ * @generated from message metalstack.api.v2.MachineAllocation
515
+ */
516
+ export type MachineAllocation = Message<"metalstack.api.v2.MachineAllocation"> & {
517
+ /**
518
+ * UUID of this machine allocation
519
+ *
520
+ * @generated from field: string uuid = 1;
521
+ */
522
+ uuid: string;
523
+ /**
524
+ * Meta for this machine allocation
525
+ *
526
+ * @generated from field: metalstack.api.v2.Meta meta = 2;
527
+ */
528
+ meta?: Meta;
529
+ /**
530
+ * Name of this allocation
531
+ *
532
+ * @generated from field: string name = 3;
533
+ */
534
+ name: string;
535
+ /**
536
+ * Description of this allocation
537
+ *
538
+ * @generated from field: string description = 4;
539
+ */
540
+ description: string;
541
+ /**
542
+ * Created By indicates who created this machine allocation
543
+ *
544
+ * @generated from field: string created_by = 5;
545
+ */
546
+ createdBy: string;
547
+ /**
548
+ * Project of the allocation
549
+ *
550
+ * @generated from field: string project = 6;
551
+ */
552
+ project: string;
553
+ /**
554
+ * Image to be used to install on this machine
555
+ *
556
+ * @generated from field: metalstack.api.v2.Image image = 7;
557
+ */
558
+ image?: Image;
559
+ /**
560
+ * FilesystemLayout to create on the disks
561
+ *
562
+ * @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 8;
563
+ */
564
+ filesystemLayout?: FilesystemLayout;
565
+ /**
566
+ * Networks this machine should be attached to
567
+ *
568
+ * @generated from field: repeated metalstack.api.v2.MachineNetwork networks = 9;
569
+ */
570
+ networks: MachineNetwork[];
571
+ /**
572
+ * Hostname of the allocated machine
573
+ *
574
+ * @generated from field: string hostname = 10;
575
+ */
576
+ hostname: string;
577
+ /**
578
+ * SSHPublicKeys which should be installed on this machine
579
+ *
580
+ * @generated from field: repeated string ssh_public_keys = 11;
581
+ */
582
+ sshPublicKeys: string[];
583
+ /**
584
+ * Userdata contains instructions required to bootstrap the machine.
585
+ * AWS limits the max userdata size to 16k, lets allow twice as much
586
+ *
587
+ * @generated from field: string userdata = 12;
588
+ */
589
+ userdata: string;
590
+ /**
591
+ * AllocationType of this machine
592
+ *
593
+ * @generated from field: metalstack.api.v2.MachineAllocationType allocation_type = 13;
594
+ */
595
+ allocationType: MachineAllocationType;
596
+ /**
597
+ * FirewallRules to be applied if this is a firewall
598
+ *
599
+ * @generated from field: metalstack.api.v2.FirewallRules firewall_rules = 14;
600
+ */
601
+ firewallRules?: FirewallRules;
602
+ /**
603
+ * DNSServers for this machine
604
+ *
605
+ * @generated from field: repeated metalstack.api.v2.DNSServer dns_server = 15;
606
+ */
607
+ dnsServer: DNSServer[];
608
+ /**
609
+ * NTPServers for this machine
610
+ *
611
+ * @generated from field: repeated metalstack.api.v2.NTPServer ntp_server = 16;
612
+ */
613
+ ntpServer: NTPServer[];
614
+ /**
615
+ * VPN connection configuration
616
+ *
617
+ * @generated from field: metalstack.api.v2.MachineVPN vpn = 17;
618
+ */
619
+ vpn?: MachineVPN;
620
+ };
621
+ /**
622
+ * Describes the message metalstack.api.v2.MachineAllocation.
623
+ * Use `create(MachineAllocationSchema)` to create a new message.
624
+ */
625
+ export declare const MachineAllocationSchema: GenMessage<MachineAllocation>;
626
+ /**
627
+ * MachineAllocationNetwork defines which network should be attached to a machine and if ips should be autoacquired
628
+ *
629
+ * @generated from message metalstack.api.v2.MachineAllocationNetwork
630
+ */
631
+ export type MachineAllocationNetwork = Message<"metalstack.api.v2.MachineAllocationNetwork"> & {
632
+ /**
633
+ * Network the id of the network that this machine will be placed in
634
+ *
635
+ * @generated from field: string network = 1;
636
+ */
637
+ network: string;
638
+ /**
639
+ * NoAutoAcquireIp will prevent automatic ip acquirement per network if set to true.
640
+ * By default one ip address is acquired per network for the machine
641
+ *
642
+ * @generated from field: optional bool no_auto_acquire_ip = 2;
643
+ */
644
+ noAutoAcquireIp?: boolean;
645
+ };
646
+ /**
647
+ * Describes the message metalstack.api.v2.MachineAllocationNetwork.
648
+ * Use `create(MachineAllocationNetworkSchema)` to create a new message.
649
+ */
650
+ export declare const MachineAllocationNetworkSchema: GenMessage<MachineAllocationNetwork>;
651
+ /**
652
+ * FirewallRules can be defined during firewall allocation
653
+ *
654
+ * @generated from message metalstack.api.v2.FirewallRules
655
+ */
656
+ export type FirewallRules = Message<"metalstack.api.v2.FirewallRules"> & {
657
+ /**
658
+ * Egress list of egress rules to be deployed during firewall allocation
659
+ *
660
+ * @generated from field: repeated metalstack.api.v2.FirewallEgressRule egress = 1;
661
+ */
662
+ egress: FirewallEgressRule[];
663
+ /**
664
+ * Ingress list of ingress rules to be deployed during firewall allocation
665
+ *
666
+ * @generated from field: repeated metalstack.api.v2.FirewallIngressRule ingress = 2;
667
+ */
668
+ ingress: FirewallIngressRule[];
669
+ };
670
+ /**
671
+ * Describes the message metalstack.api.v2.FirewallRules.
672
+ * Use `create(FirewallRulesSchema)` to create a new message.
673
+ */
674
+ export declare const FirewallRulesSchema: GenMessage<FirewallRules>;
675
+ /**
676
+ * FirewallEgressRule defines rules for outgoing traffic
677
+ *
678
+ * @generated from message metalstack.api.v2.FirewallEgressRule
679
+ */
680
+ export type FirewallEgressRule = Message<"metalstack.api.v2.FirewallEgressRule"> & {
681
+ /**
682
+ * Protocol the protocol for the rule, defaults to tcp
683
+ *
684
+ * @generated from field: metalstack.api.v2.IPProtocol protocol = 1;
685
+ */
686
+ protocol: IPProtocol;
687
+ /**
688
+ * Ports the ports affected by this rule
689
+ *
690
+ * @generated from field: repeated uint32 ports = 2;
691
+ */
692
+ ports: number[];
693
+ /**
694
+ * To the destination cidrs affected by this rule
695
+ *
696
+ * @generated from field: repeated string to = 3;
697
+ */
698
+ to: string[];
699
+ /**
700
+ * Comment for this rule
701
+ *
702
+ * @generated from field: string comment = 4;
703
+ */
704
+ comment: string;
705
+ };
706
+ /**
707
+ * Describes the message metalstack.api.v2.FirewallEgressRule.
708
+ * Use `create(FirewallEgressRuleSchema)` to create a new message.
709
+ */
710
+ export declare const FirewallEgressRuleSchema: GenMessage<FirewallEgressRule>;
711
+ /**
712
+ * FirewallIngressRule defines rules for incoming traffic
713
+ *
714
+ * @generated from message metalstack.api.v2.FirewallIngressRule
715
+ */
716
+ export type FirewallIngressRule = Message<"metalstack.api.v2.FirewallIngressRule"> & {
717
+ /**
718
+ * Protocol the protocol for the rule, defaults to tcp
719
+ *
720
+ * @generated from field: metalstack.api.v2.IPProtocol protocol = 1;
721
+ */
722
+ protocol: IPProtocol;
723
+ /**
724
+ * Ports the ports affected by this rule
725
+ *
726
+ * @generated from field: repeated uint32 ports = 2;
727
+ */
728
+ ports: number[];
729
+ /**
730
+ * To the destination cidrs affected by this rule
731
+ *
732
+ * @generated from field: repeated string to = 3;
733
+ */
734
+ to: string[];
735
+ /**
736
+ * From the source cidrs affected by this rule
737
+ *
738
+ * @generated from field: repeated string from = 4;
739
+ */
740
+ from: string[];
741
+ /**
742
+ * Comment for this rule
743
+ *
744
+ * @generated from field: string comment = 5;
745
+ */
746
+ comment: string;
747
+ };
748
+ /**
749
+ * Describes the message metalstack.api.v2.FirewallIngressRule.
750
+ * Use `create(FirewallIngressRuleSchema)` to create a new message.
751
+ */
752
+ export declare const FirewallIngressRuleSchema: GenMessage<FirewallIngressRule>;
753
+ /**
754
+ * MachineNetwork contains details which network should be created on a allocated machine
755
+ *
756
+ * @generated from message metalstack.api.v2.MachineNetwork
757
+ */
758
+ export type MachineNetwork = Message<"metalstack.api.v2.MachineNetwork"> & {
759
+ /**
760
+ * Network the networkID of the allocated machine in this vrf
761
+ *
762
+ * @generated from field: string network = 1;
763
+ */
764
+ network: string;
765
+ /**
766
+ * Prefixes the prefixes of this network
767
+ *
768
+ * @generated from field: repeated string prefixes = 2;
769
+ */
770
+ prefixes: string[];
771
+ /**
772
+ * DestinationPrefixes prefixes that are reachable within this network
773
+ *
774
+ * @generated from field: repeated string destination_prefixes = 3;
775
+ */
776
+ destinationPrefixes: string[];
777
+ /**
778
+ * IPs the ip addresses of the allocated machine in this vrf
779
+ *
780
+ * @generated from field: repeated string ips = 4;
781
+ */
782
+ ips: string[];
783
+ /**
784
+ * NetworkType the type of network of this vrf
785
+ *
786
+ * @generated from field: metalstack.api.v2.NetworkType network_type = 5;
787
+ */
788
+ networkType: NetworkType;
789
+ /**
790
+ * NatType what type of nat if any should be used
791
+ *
792
+ * @generated from field: metalstack.api.v2.NATType nat_type = 6;
793
+ */
794
+ natType: NATType;
795
+ /**
796
+ * VRF the vrf id
797
+ *
798
+ * @generated from field: uint64 vrf = 7;
799
+ */
800
+ vrf: bigint;
801
+ /**
802
+ * ASN the autonomous system number for this network
803
+ *
804
+ * @generated from field: uint32 asn = 8;
805
+ */
806
+ asn: number;
807
+ };
808
+ /**
809
+ * Describes the message metalstack.api.v2.MachineNetwork.
810
+ * Use `create(MachineNetworkSchema)` to create a new message.
811
+ */
812
+ export declare const MachineNetworkSchema: GenMessage<MachineNetwork>;
813
+ /**
814
+ * MachineHardware contains hardware details
815
+ *
816
+ * @generated from message metalstack.api.v2.MachineHardware
817
+ */
818
+ export type MachineHardware = Message<"metalstack.api.v2.MachineHardware"> & {
819
+ /**
820
+ * Memory the total memory of the machine in bytes
821
+ *
822
+ * @generated from field: uint64 memory = 1;
823
+ */
824
+ memory: bigint;
825
+ /**
826
+ * Disks the list of block devices of this machine
827
+ *
828
+ * @generated from field: repeated metalstack.api.v2.MachineBlockDevice disks = 3;
829
+ */
830
+ disks: MachineBlockDevice[];
831
+ /**
832
+ * CPUs the cpu details
833
+ *
834
+ * @generated from field: repeated metalstack.api.v2.MetalCPU cpus = 4;
835
+ */
836
+ cpus: MetalCPU[];
837
+ /**
838
+ * GPUs the gpu details
839
+ *
840
+ * @generated from field: repeated metalstack.api.v2.MetalGPU gpus = 5;
841
+ */
842
+ gpus: MetalGPU[];
843
+ /**
844
+ * Nics the list of network interfaces of this machine
845
+ *
846
+ * @generated from field: repeated metalstack.api.v2.MachineNic nics = 6;
847
+ */
848
+ nics: MachineNic[];
849
+ };
850
+ /**
851
+ * Describes the message metalstack.api.v2.MachineHardware.
852
+ * Use `create(MachineHardwareSchema)` to create a new message.
853
+ */
854
+ export declare const MachineHardwareSchema: GenMessage<MachineHardware>;
855
+ /**
856
+ * MetalCPU contains details of a cpu in this machine
857
+ *
858
+ * @generated from message metalstack.api.v2.MetalCPU
859
+ */
860
+ export type MetalCPU = Message<"metalstack.api.v2.MetalCPU"> & {
861
+ /**
862
+ * Vendor of this cpu
863
+ *
864
+ * @generated from field: string vendor = 1;
865
+ */
866
+ vendor: string;
867
+ /**
868
+ * Model of this cpu
869
+ *
870
+ * @generated from field: string model = 2;
871
+ */
872
+ model: string;
873
+ /**
874
+ * Cores of this cpu
875
+ *
876
+ * @generated from field: uint32 cores = 3;
877
+ */
878
+ cores: number;
879
+ /**
880
+ * Threads of this cpu
881
+ *
882
+ * @generated from field: uint32 threads = 4;
883
+ */
884
+ threads: number;
885
+ };
886
+ /**
887
+ * Describes the message metalstack.api.v2.MetalCPU.
888
+ * Use `create(MetalCPUSchema)` to create a new message.
889
+ */
890
+ export declare const MetalCPUSchema: GenMessage<MetalCPU>;
891
+ /**
892
+ * MetalGPU contains details of a gpu in this machine
893
+ *
894
+ * @generated from message metalstack.api.v2.MetalGPU
895
+ */
896
+ export type MetalGPU = Message<"metalstack.api.v2.MetalGPU"> & {
897
+ /**
898
+ * Vendor of this gpu
899
+ *
900
+ * @generated from field: string vendor = 1;
901
+ */
902
+ vendor: string;
903
+ /**
904
+ * Model of this gpu
905
+ *
906
+ * @generated from field: string model = 2;
907
+ */
908
+ model: string;
909
+ };
910
+ /**
911
+ * Describes the message metalstack.api.v2.MetalGPU.
912
+ * Use `create(MetalGPUSchema)` to create a new message.
913
+ */
914
+ export declare const MetalGPUSchema: GenMessage<MetalGPU>;
915
+ /**
916
+ * MachineNic contains details of a network interface of this machine
917
+ *
918
+ * @generated from message metalstack.api.v2.MachineNic
919
+ */
920
+ export type MachineNic = Message<"metalstack.api.v2.MachineNic"> & {
921
+ /**
922
+ * Mac the macaddress of this interface
923
+ *
924
+ * @generated from field: string mac = 1;
925
+ */
926
+ mac: string;
927
+ /**
928
+ * Name of this interface
929
+ *
930
+ * @generated from field: string name = 2;
931
+ */
932
+ name: string;
933
+ /**
934
+ * Identifier the unique identifier of this network interface
935
+ *
936
+ * @generated from field: string identifier = 3;
937
+ */
938
+ identifier: string;
939
+ /**
940
+ * Vendor of this network card
941
+ *
942
+ * @generated from field: string vendor = 4;
943
+ */
944
+ vendor: string;
945
+ /**
946
+ * Model of this network card
947
+ *
948
+ * @generated from field: string model = 5;
949
+ */
950
+ model: string;
951
+ /**
952
+ * Speed in bits/second of this network card
953
+ *
954
+ * @generated from field: uint64 speed = 6;
955
+ */
956
+ speed: bigint;
957
+ /**
958
+ * Neighbors the neighbors visible to this network interface
959
+ *
960
+ * @generated from field: repeated metalstack.api.v2.MachineNic neighbors = 7;
961
+ */
962
+ neighbors: MachineNic[];
963
+ /**
964
+ * Hostname the nic belongs to
965
+ *
966
+ * @generated from field: string hostname = 8;
967
+ */
968
+ hostname: string;
969
+ };
970
+ /**
971
+ * Describes the message metalstack.api.v2.MachineNic.
972
+ * Use `create(MachineNicSchema)` to create a new message.
973
+ */
974
+ export declare const MachineNicSchema: GenMessage<MachineNic>;
975
+ /**
976
+ * MachineBlockDevice contains details of a block device of this machine
977
+ *
978
+ * @generated from message metalstack.api.v2.MachineBlockDevice
979
+ */
980
+ export type MachineBlockDevice = Message<"metalstack.api.v2.MachineBlockDevice"> & {
981
+ /**
982
+ * Name of this block device
983
+ *
984
+ * @generated from field: string name = 1;
985
+ */
986
+ name: string;
987
+ /**
988
+ * Size of this block device in bytes
989
+ *
990
+ * @generated from field: uint64 size = 2;
991
+ */
992
+ size: bigint;
993
+ };
994
+ /**
995
+ * Describes the message metalstack.api.v2.MachineBlockDevice.
996
+ * Use `create(MachineBlockDeviceSchema)` to create a new message.
997
+ */
998
+ export declare const MachineBlockDeviceSchema: GenMessage<MachineBlockDevice>;
999
+ /**
1000
+ * MachineChassisIdentifyLEDState describes the identifier led state
1001
+ *
1002
+ * @generated from message metalstack.api.v2.MachineChassisIdentifyLEDState
1003
+ */
1004
+ export type MachineChassisIdentifyLEDState = Message<"metalstack.api.v2.MachineChassisIdentifyLEDState"> & {
1005
+ /**
1006
+ * Value the state of this chassis identify LED. empty means LED-OFF
1007
+ *
1008
+ * @generated from field: string value = 1;
1009
+ */
1010
+ value: string;
1011
+ /**
1012
+ * Description a description why this chassis identify LED is in the given state
1013
+ *
1014
+ * @generated from field: string description = 2;
1015
+ */
1016
+ description: string;
1017
+ };
1018
+ /**
1019
+ * Describes the message metalstack.api.v2.MachineChassisIdentifyLEDState.
1020
+ * Use `create(MachineChassisIdentifyLEDStateSchema)` to create a new message.
1021
+ */
1022
+ export declare const MachineChassisIdentifyLEDStateSchema: GenMessage<MachineChassisIdentifyLEDState>;
1023
+ /**
1024
+ * MachineBios contains BIOS details of this machine
1025
+ *
1026
+ * @generated from message metalstack.api.v2.MachineBios
1027
+ */
1028
+ export type MachineBios = Message<"metalstack.api.v2.MachineBios"> & {
1029
+ /**
1030
+ * Version the bios version
1031
+ *
1032
+ * @generated from field: string version = 1;
1033
+ */
1034
+ version: string;
1035
+ /**
1036
+ * Vendor the bios vendor
1037
+ *
1038
+ * @generated from field: string vendor = 2;
1039
+ */
1040
+ vendor: string;
1041
+ /**
1042
+ * Date the bios date as string because every vendor has different ideas howto describe the date
1043
+ *
1044
+ * @generated from field: string date = 3;
1045
+ */
1046
+ date: string;
1047
+ };
1048
+ /**
1049
+ * Describes the message metalstack.api.v2.MachineBios.
1050
+ * Use `create(MachineBiosSchema)` to create a new message.
1051
+ */
1052
+ export declare const MachineBiosSchema: GenMessage<MachineBios>;
1053
+ /**
1054
+ * MachineRecentProvisioningEvents the recent provisioning events for this machine
1055
+ *
1056
+ * @generated from message metalstack.api.v2.MachineRecentProvisioningEvents
1057
+ */
1058
+ export type MachineRecentProvisioningEvents = Message<"metalstack.api.v2.MachineRecentProvisioningEvents"> & {
1059
+ /**
1060
+ * Events the log of recent machine provisioning events
1061
+ *
1062
+ * @generated from field: repeated metalstack.api.v2.MachineProvisioningEvent events = 1;
1063
+ */
1064
+ events: MachineProvisioningEvent[];
1065
+ /**
1066
+ * LastEventTime the time where the last event was received
1067
+ *
1068
+ * @generated from field: google.protobuf.Timestamp last_event_time = 2;
1069
+ */
1070
+ lastEventTime?: Timestamp;
1071
+ /**
1072
+ * LastErrorEvent the last erroneous event received
1073
+ *
1074
+ * @generated from field: metalstack.api.v2.MachineProvisioningEvent last_error_event = 3;
1075
+ */
1076
+ lastErrorEvent?: MachineProvisioningEvent;
1077
+ /**
1078
+ * State can be either CrashLoop, FailedReclaim or something else
1079
+ *
1080
+ * @generated from field: metalstack.api.v2.MachineProvisioningEventState state = 4;
1081
+ */
1082
+ state: MachineProvisioningEventState;
1083
+ };
1084
+ /**
1085
+ * Describes the message metalstack.api.v2.MachineRecentProvisioningEvents.
1086
+ * Use `create(MachineRecentProvisioningEventsSchema)` to create a new message.
1087
+ */
1088
+ export declare const MachineRecentProvisioningEventsSchema: GenMessage<MachineRecentProvisioningEvents>;
1089
+ /**
1090
+ * MachineProvisioningEvent is a event which has occurred during provisioning
1091
+ *
1092
+ * @generated from message metalstack.api.v2.MachineProvisioningEvent
1093
+ */
1094
+ export type MachineProvisioningEvent = Message<"metalstack.api.v2.MachineProvisioningEvent"> & {
1095
+ /**
1096
+ * Time the time that this event was received
1097
+ *
1098
+ * @generated from field: google.protobuf.Timestamp time = 1;
1099
+ */
1100
+ time?: Timestamp;
1101
+ /**
1102
+ * Event the event emitted by the machine
1103
+ *
1104
+ * @generated from field: metalstack.api.v2.MachineProvisioningEventType event = 2;
1105
+ */
1106
+ event: MachineProvisioningEventType;
1107
+ /**
1108
+ * Message an additional message to add to the event
1109
+ *
1110
+ * @generated from field: string message = 3;
1111
+ */
1112
+ message: string;
1113
+ };
1114
+ /**
1115
+ * Describes the message metalstack.api.v2.MachineProvisioningEvent.
1116
+ * Use `create(MachineProvisioningEventSchema)` to create a new message.
1117
+ */
1118
+ export declare const MachineProvisioningEventSchema: GenMessage<MachineProvisioningEvent>;
1119
+ /**
1120
+ * MachineVPN contains configuration data for the VPN connection
1121
+ *
1122
+ * @generated from message metalstack.api.v2.MachineVPN
1123
+ */
1124
+ export type MachineVPN = Message<"metalstack.api.v2.MachineVPN"> & {
1125
+ /**
1126
+ * Address of VPN control plane
1127
+ *
1128
+ * @generated from field: string control_plane_address = 1;
1129
+ */
1130
+ controlPlaneAddress: string;
1131
+ /**
1132
+ * Auth key used to connect to VPN
1133
+ *
1134
+ * @generated from field: string auth_key = 2;
1135
+ */
1136
+ authKey: string;
1137
+ /**
1138
+ * Connected indicate if this machine is connected to the VPN
1139
+ *
1140
+ * TODO add machine ips
1141
+ *
1142
+ * @generated from field: bool connected = 3;
1143
+ */
1144
+ connected: boolean;
1145
+ };
1146
+ /**
1147
+ * Describes the message metalstack.api.v2.MachineVPN.
1148
+ * Use `create(MachineVPNSchema)` to create a new message.
1149
+ */
1150
+ export declare const MachineVPNSchema: GenMessage<MachineVPN>;
1151
+ /**
1152
+ * MachineQuery contains fields which can be specified to list specific machines.
1153
+ *
1154
+ * @generated from message metalstack.api.v2.MachineQuery
1155
+ */
1156
+ export type MachineQuery = Message<"metalstack.api.v2.MachineQuery"> & {
1157
+ /**
1158
+ * UUID of the machine to get
1159
+ *
1160
+ * @generated from field: optional string uuid = 1;
1161
+ */
1162
+ uuid?: string;
1163
+ /**
1164
+ * Name of the machine to get
1165
+ *
1166
+ * @generated from field: optional string name = 2;
1167
+ */
1168
+ name?: string;
1169
+ /**
1170
+ * Partition of the machine to get
1171
+ *
1172
+ * @generated from field: optional string partition = 3;
1173
+ */
1174
+ partition?: string;
1175
+ /**
1176
+ * Size of the machine to get
1177
+ *
1178
+ * @generated from field: optional string size = 4;
1179
+ */
1180
+ size?: string;
1181
+ /**
1182
+ * Rack of the machine to get
1183
+ *
1184
+ * @generated from field: optional string rack = 5;
1185
+ */
1186
+ rack?: string;
1187
+ /**
1188
+ * Labels for which this machine should get filtered
1189
+ *
1190
+ * @generated from field: optional metalstack.api.v2.Labels labels = 6;
1191
+ */
1192
+ labels?: Labels;
1193
+ /**
1194
+ * Allocation specific machine queries
1195
+ *
1196
+ * @generated from field: optional metalstack.api.v2.MachineAllocationQuery allocation = 7;
1197
+ */
1198
+ allocation?: MachineAllocationQuery;
1199
+ /**
1200
+ * Network specific machine queries
1201
+ *
1202
+ * @generated from field: optional metalstack.api.v2.MachineNetworkQuery network = 8;
1203
+ */
1204
+ network?: MachineNetworkQuery;
1205
+ /**
1206
+ * Nic specific machine queries
1207
+ *
1208
+ * @generated from field: optional metalstack.api.v2.MachineNicQuery nic = 9;
1209
+ */
1210
+ nic?: MachineNicQuery;
1211
+ /**
1212
+ * Disk specific machine queries
1213
+ *
1214
+ * @generated from field: optional metalstack.api.v2.MachineDiskQuery disk = 10;
1215
+ */
1216
+ disk?: MachineDiskQuery;
1217
+ /**
1218
+ * IPMI specific machine queries
1219
+ *
1220
+ * @generated from field: optional metalstack.api.v2.MachineIPMIQuery ipmi = 11;
1221
+ */
1222
+ ipmi?: MachineIPMIQuery;
1223
+ /**
1224
+ * FRU specific machine queries
1225
+ *
1226
+ * @generated from field: optional metalstack.api.v2.MachineFRUQuery fru = 12;
1227
+ */
1228
+ fru?: MachineFRUQuery;
1229
+ /**
1230
+ * Hardware specific machine query
1231
+ *
1232
+ * @generated from field: optional metalstack.api.v2.MachineHardwareQuery hardware = 13;
1233
+ */
1234
+ hardware?: MachineHardwareQuery;
1235
+ /**
1236
+ * State this machine has
1237
+ *
1238
+ * @generated from field: optional metalstack.api.v2.MachineState state = 14;
1239
+ */
1240
+ state?: MachineState;
1241
+ };
1242
+ /**
1243
+ * Describes the message metalstack.api.v2.MachineQuery.
1244
+ * Use `create(MachineQuerySchema)` to create a new message.
1245
+ */
1246
+ export declare const MachineQuerySchema: GenMessage<MachineQuery>;
1247
+ /**
1248
+ * MachineAllocationQuery allocation specific query parameters
1249
+ *
1250
+ * @generated from message metalstack.api.v2.MachineAllocationQuery
1251
+ */
1252
+ export type MachineAllocationQuery = Message<"metalstack.api.v2.MachineAllocationQuery"> & {
1253
+ /**
1254
+ * UUID of the allocation of the machine to get
1255
+ *
1256
+ * @generated from field: optional string uuid = 1;
1257
+ */
1258
+ uuid?: string;
1259
+ /**
1260
+ * Name of the machine to get
1261
+ *
1262
+ * @generated from field: optional string name = 2;
1263
+ */
1264
+ name?: string;
1265
+ /**
1266
+ * Project of the machine to get
1267
+ *
1268
+ * @generated from field: optional string project = 3;
1269
+ */
1270
+ project?: string;
1271
+ /**
1272
+ * Image of the machine to get
1273
+ *
1274
+ * @generated from field: optional string image = 4;
1275
+ */
1276
+ image?: string;
1277
+ /**
1278
+ * FilesystemLayout of the machine to get
1279
+ *
1280
+ * @generated from field: optional string filesystem_layout = 5;
1281
+ */
1282
+ filesystemLayout?: string;
1283
+ /**
1284
+ * Hostname of the machine to get
1285
+ *
1286
+ * @generated from field: optional string hostname = 6;
1287
+ */
1288
+ hostname?: string;
1289
+ /**
1290
+ * AllocationType of this machine
1291
+ *
1292
+ * @generated from field: optional metalstack.api.v2.MachineAllocationType allocation_type = 7;
1293
+ */
1294
+ allocationType?: MachineAllocationType;
1295
+ /**
1296
+ * Labels for which this machine allocation should get filtered
1297
+ *
1298
+ * @generated from field: optional metalstack.api.v2.Labels labels = 8;
1299
+ */
1300
+ labels?: Labels;
1301
+ };
1302
+ /**
1303
+ * Describes the message metalstack.api.v2.MachineAllocationQuery.
1304
+ * Use `create(MachineAllocationQuerySchema)` to create a new message.
1305
+ */
1306
+ export declare const MachineAllocationQuerySchema: GenMessage<MachineAllocationQuery>;
1307
+ /**
1308
+ * MachineNetworkQuery network specific machine queries
1309
+ *
1310
+ * @generated from message metalstack.api.v2.MachineNetworkQuery
1311
+ */
1312
+ export type MachineNetworkQuery = Message<"metalstack.api.v2.MachineNetworkQuery"> & {
1313
+ /**
1314
+ * Networks this machine is connected to
1315
+ *
1316
+ * @generated from field: repeated string networks = 1;
1317
+ */
1318
+ networks: string[];
1319
+ /**
1320
+ * Prefixes this machine is connected to
1321
+ *
1322
+ * @generated from field: repeated string prefixes = 2;
1323
+ */
1324
+ prefixes: string[];
1325
+ /**
1326
+ * DestinationPrefixes this machine is connected to
1327
+ *
1328
+ * @generated from field: repeated string destination_prefixes = 3;
1329
+ */
1330
+ destinationPrefixes: string[];
1331
+ /**
1332
+ * IPs this machine has
1333
+ *
1334
+ * @generated from field: repeated string ips = 4;
1335
+ */
1336
+ ips: string[];
1337
+ /**
1338
+ * VRFs this machine is connected to
1339
+ *
1340
+ * @generated from field: repeated uint64 vrfs = 5;
1341
+ */
1342
+ vrfs: bigint[];
1343
+ /**
1344
+ * ASNs this machine is connected to
1345
+ *
1346
+ * @generated from field: repeated uint32 asns = 6;
1347
+ */
1348
+ asns: number[];
1349
+ };
1350
+ /**
1351
+ * Describes the message metalstack.api.v2.MachineNetworkQuery.
1352
+ * Use `create(MachineNetworkQuerySchema)` to create a new message.
1353
+ */
1354
+ export declare const MachineNetworkQuerySchema: GenMessage<MachineNetworkQuery>;
1355
+ /**
1356
+ * MachineNicQuery nic specific machine queries
1357
+ *
1358
+ * @generated from message metalstack.api.v2.MachineNicQuery
1359
+ */
1360
+ export type MachineNicQuery = Message<"metalstack.api.v2.MachineNicQuery"> & {
1361
+ /**
1362
+ * Macs this machine nic has
1363
+ *
1364
+ * @generated from field: repeated string macs = 1;
1365
+ */
1366
+ macs: string[];
1367
+ /**
1368
+ * Names this machine nic has
1369
+ *
1370
+ * @generated from field: repeated string names = 2;
1371
+ */
1372
+ names: string[];
1373
+ /**
1374
+ * NeighborMacs this machine nic has
1375
+ *
1376
+ * @generated from field: repeated string neighbor_macs = 3;
1377
+ */
1378
+ neighborMacs: string[];
1379
+ /**
1380
+ * NeighborNames this machine nic has
1381
+ *
1382
+ * @generated from field: repeated string neighbor_names = 4;
1383
+ */
1384
+ neighborNames: string[];
1385
+ };
1386
+ /**
1387
+ * Describes the message metalstack.api.v2.MachineNicQuery.
1388
+ * Use `create(MachineNicQuerySchema)` to create a new message.
1389
+ */
1390
+ export declare const MachineNicQuerySchema: GenMessage<MachineNicQuery>;
1391
+ /**
1392
+ * MachineDiskQuery disk specific machine queries
1393
+ *
1394
+ * @generated from message metalstack.api.v2.MachineDiskQuery
1395
+ */
1396
+ export type MachineDiskQuery = Message<"metalstack.api.v2.MachineDiskQuery"> & {
1397
+ /**
1398
+ * Names of disks in this machine
1399
+ *
1400
+ * @generated from field: repeated string names = 1;
1401
+ */
1402
+ names: string[];
1403
+ /**
1404
+ * Sizes of disks in this machine
1405
+ *
1406
+ * @generated from field: repeated uint64 sizes = 2;
1407
+ */
1408
+ sizes: bigint[];
1409
+ };
1410
+ /**
1411
+ * Describes the message metalstack.api.v2.MachineDiskQuery.
1412
+ * Use `create(MachineDiskQuerySchema)` to create a new message.
1413
+ */
1414
+ export declare const MachineDiskQuerySchema: GenMessage<MachineDiskQuery>;
1415
+ /**
1416
+ * MachineIPMIQuery machine ipmi specific machine queries
1417
+ *
1418
+ * @generated from message metalstack.api.v2.MachineIPMIQuery
1419
+ */
1420
+ export type MachineIPMIQuery = Message<"metalstack.api.v2.MachineIPMIQuery"> & {
1421
+ /**
1422
+ * Address of the ipmi system of this machine
1423
+ *
1424
+ * @generated from field: optional string address = 1;
1425
+ */
1426
+ address?: string;
1427
+ /**
1428
+ * Mac of the ipmi system of this machine
1429
+ *
1430
+ * @generated from field: optional string mac = 2;
1431
+ */
1432
+ mac?: string;
1433
+ /**
1434
+ * User of the ipmi system of this machine
1435
+ *
1436
+ * @generated from field: optional string user = 3;
1437
+ */
1438
+ user?: string;
1439
+ /**
1440
+ * Interface of the ipmi system of this machine
1441
+ *
1442
+ * @generated from field: optional string interface = 4;
1443
+ */
1444
+ interface?: string;
1445
+ };
1446
+ /**
1447
+ * Describes the message metalstack.api.v2.MachineIPMIQuery.
1448
+ * Use `create(MachineIPMIQuerySchema)` to create a new message.
1449
+ */
1450
+ export declare const MachineIPMIQuerySchema: GenMessage<MachineIPMIQuery>;
1451
+ /**
1452
+ * MachineFRUQuery machine fru specific machine queries
1453
+ *
1454
+ * @generated from message metalstack.api.v2.MachineFRUQuery
1455
+ */
1456
+ export type MachineFRUQuery = Message<"metalstack.api.v2.MachineFRUQuery"> & {
1457
+ /**
1458
+ * ChassisPartNumber of this machine
1459
+ *
1460
+ * @generated from field: optional string chassis_part_number = 1;
1461
+ */
1462
+ chassisPartNumber?: string;
1463
+ /**
1464
+ * ChassisPartSerial of this machine
1465
+ *
1466
+ * @generated from field: optional string chassis_part_serial = 2;
1467
+ */
1468
+ chassisPartSerial?: string;
1469
+ /**
1470
+ * BoardMFG of this machine
1471
+ *
1472
+ * @generated from field: optional string board_mfg = 3;
1473
+ */
1474
+ boardMfg?: string;
1475
+ /**
1476
+ * BoardSerial of this machine
1477
+ *
1478
+ * @generated from field: optional string board_serial = 4;
1479
+ */
1480
+ boardSerial?: string;
1481
+ /**
1482
+ * BoardPartNumber of this machine
1483
+ *
1484
+ * @generated from field: optional string board_part_number = 5;
1485
+ */
1486
+ boardPartNumber?: string;
1487
+ /**
1488
+ * ProductManufacturer of this machine
1489
+ *
1490
+ * @generated from field: optional string product_manufacturer = 6;
1491
+ */
1492
+ productManufacturer?: string;
1493
+ /**
1494
+ * ProductPartNumber of this machine
1495
+ *
1496
+ * @generated from field: optional string product_part_number = 7;
1497
+ */
1498
+ productPartNumber?: string;
1499
+ /**
1500
+ * ProductSerial of this machine
1501
+ *
1502
+ * @generated from field: optional string product_serial = 8;
1503
+ */
1504
+ productSerial?: string;
1505
+ };
1506
+ /**
1507
+ * Describes the message metalstack.api.v2.MachineFRUQuery.
1508
+ * Use `create(MachineFRUQuerySchema)` to create a new message.
1509
+ */
1510
+ export declare const MachineFRUQuerySchema: GenMessage<MachineFRUQuery>;
1511
+ /**
1512
+ * MachineHardwareQuery machine hardware specific machine queries
1513
+ *
1514
+ * @generated from message metalstack.api.v2.MachineHardwareQuery
1515
+ */
1516
+ export type MachineHardwareQuery = Message<"metalstack.api.v2.MachineHardwareQuery"> & {
1517
+ /**
1518
+ * Memory the total memory of the machine in bytes
1519
+ *
1520
+ * @generated from field: optional uint64 memory = 1;
1521
+ */
1522
+ memory?: bigint;
1523
+ /**
1524
+ * CPUCores the number of cpu cores
1525
+ *
1526
+ * @generated from field: optional uint32 cpu_cores = 2;
1527
+ */
1528
+ cpuCores?: number;
1529
+ };
1530
+ /**
1531
+ * Describes the message metalstack.api.v2.MachineHardwareQuery.
1532
+ * Use `create(MachineHardwareQuerySchema)` to create a new message.
1533
+ */
1534
+ export declare const MachineHardwareQuerySchema: GenMessage<MachineHardwareQuery>;
1535
+ /**
1536
+ * IPProtocol defines tcp|udp
1537
+ *
1538
+ * @generated from enum metalstack.api.v2.IPProtocol
1539
+ */
1540
+ export declare enum IPProtocol {
1541
+ /**
1542
+ * IP_PROTOCOL_UNSPECIFIED is not specified
1543
+ *
1544
+ * @generated from enum value: IP_PROTOCOL_UNSPECIFIED = 0;
1545
+ */
1546
+ IP_PROTOCOL_UNSPECIFIED = 0,
1547
+ /**
1548
+ * IP_PROTOCOL_TCP is tcp
1549
+ *
1550
+ * @generated from enum value: IP_PROTOCOL_TCP = 1;
1551
+ */
1552
+ IP_PROTOCOL_TCP = 1,
1553
+ /**
1554
+ * IP_PROTOCOL_UDP is udp
1555
+ *
1556
+ * @generated from enum value: IP_PROTOCOL_UDP = 2;
1557
+ */
1558
+ IP_PROTOCOL_UDP = 2
1559
+ }
1560
+ /**
1561
+ * Describes the enum metalstack.api.v2.IPProtocol.
1562
+ */
1563
+ export declare const IPProtocolSchema: GenEnum<IPProtocol>;
1564
+ /**
1565
+ * MachineState defines if the machine was locked or reserved from a operator
1566
+ *
1567
+ * @generated from enum metalstack.api.v2.MachineState
1568
+ */
1569
+ export declare enum MachineState {
1570
+ /**
1571
+ * MACHINE_STATE_UNSPECIFIED is not specified
1572
+ *
1573
+ * @generated from enum value: MACHINE_STATE_UNSPECIFIED = 0;
1574
+ */
1575
+ UNSPECIFIED = 0,
1576
+ /**
1577
+ * MACHINE_STATE_RESERVED this machine is reserved
1578
+ *
1579
+ * @generated from enum value: MACHINE_STATE_RESERVED = 1;
1580
+ */
1581
+ RESERVED = 1,
1582
+ /**
1583
+ * MACHINE_STATE_LOCKED this machine is locked
1584
+ *
1585
+ * @generated from enum value: MACHINE_STATE_LOCKED = 2;
1586
+ */
1587
+ LOCKED = 2,
1588
+ /**
1589
+ * MACHINE_STATE_LOCKED this machine is available for all
1590
+ *
1591
+ * @generated from enum value: MACHINE_STATE_AVAILABLE = 3;
1592
+ */
1593
+ AVAILABLE = 3
1594
+ }
1595
+ /**
1596
+ * Describes the enum metalstack.api.v2.MachineState.
1597
+ */
1598
+ export declare const MachineStateSchema: GenEnum<MachineState>;
1599
+ /**
1600
+ * MachineProvisioningEventState possible event states
1601
+ *
1602
+ * @generated from enum metalstack.api.v2.MachineProvisioningEventState
1603
+ */
1604
+ export declare enum MachineProvisioningEventState {
1605
+ /**
1606
+ * MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED is not specified
1607
+ *
1608
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED = 0;
1609
+ */
1610
+ UNSPECIFIED = 0,
1611
+ /**
1612
+ * MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP machine is in crash loop
1613
+ *
1614
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP = 1;
1615
+ */
1616
+ CRASHLOOP = 1,
1617
+ /**
1618
+ * MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM machine is in failed reclaim
1619
+ *
1620
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM = 2;
1621
+ */
1622
+ FAILED_RECLAIM = 2
1623
+ }
1624
+ /**
1625
+ * Describes the enum metalstack.api.v2.MachineProvisioningEventState.
1626
+ */
1627
+ export declare const MachineProvisioningEventStateSchema: GenEnum<MachineProvisioningEventState>;
1628
+ /**
1629
+ * MachineProvisioningEventType defines in which phase the machine actually is
1630
+ *
1631
+ * @generated from enum metalstack.api.v2.MachineProvisioningEventType
1632
+ */
1633
+ export declare enum MachineProvisioningEventType {
1634
+ /**
1635
+ * MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED is not specified
1636
+ *
1637
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED = 0;
1638
+ */
1639
+ UNSPECIFIED = 0,
1640
+ /**
1641
+ * MACHINE_PROVISIONING_EVENT_TYPE_ALIVE machine is alive
1642
+ *
1643
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_ALIVE = 1;
1644
+ */
1645
+ ALIVE = 1,
1646
+ /**
1647
+ * MACHINE_PROVISIONING_EVENT_TYPE_CRASHED machine crashed
1648
+ *
1649
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_CRASHED = 2;
1650
+ */
1651
+ CRASHED = 2,
1652
+ /**
1653
+ * MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING machine is pxe booting into metal-hammer
1654
+ *
1655
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING = 3;
1656
+ */
1657
+ PXE_BOOTING = 3,
1658
+ /**
1659
+ * MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT machine got a reboot instruction
1660
+ *
1661
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT = 4;
1662
+ */
1663
+ PLANNED_REBOOT = 4,
1664
+ /**
1665
+ * MACHINE_PROVISIONING_EVENT_TYPE_PREPARING metal-hammer is preparing the machine
1666
+ *
1667
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_PREPARING = 5;
1668
+ */
1669
+ PREPARING = 5,
1670
+ /**
1671
+ * MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING metal-hammer registers machine at the apiserver
1672
+ *
1673
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING = 6;
1674
+ */
1675
+ REGISTERING = 6,
1676
+ /**
1677
+ * MACHINE_PROVISIONING_EVENT_TYPE_WAITING machine is waiting for installation
1678
+ *
1679
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_WAITING = 7;
1680
+ */
1681
+ WAITING = 7,
1682
+ /**
1683
+ * MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING metal-hammer is installing the desired os
1684
+ *
1685
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING = 8;
1686
+ */
1687
+ INSTALLING = 8,
1688
+ /**
1689
+ * MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL metal-hammer completed installation and boots into target os
1690
+ *
1691
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL = 9;
1692
+ */
1693
+ BOOTING_NEW_KERNEL = 9,
1694
+ /**
1695
+ * MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME machine is installed and phones home
1696
+ *
1697
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME = 10;
1698
+ */
1699
+ PHONED_HOME = 10,
1700
+ /**
1701
+ * MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM machine is not allocated, but phones home
1702
+ *
1703
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM = 11;
1704
+ */
1705
+ MACHINE_RECLAIM = 11
1706
+ }
1707
+ /**
1708
+ * Describes the enum metalstack.api.v2.MachineProvisioningEventType.
1709
+ */
1710
+ export declare const MachineProvisioningEventTypeSchema: GenEnum<MachineProvisioningEventType>;
1711
+ /**
1712
+ * MachineLiveliness specifies the liveliness of a machine
1713
+ *
1714
+ * @generated from enum metalstack.api.v2.MachineLiveliness
1715
+ */
1716
+ export declare enum MachineLiveliness {
1717
+ /**
1718
+ * MACHINE_LIVELINESS_UNSPECIFIED is not defined
1719
+ *
1720
+ * @generated from enum value: MACHINE_LIVELINESS_UNSPECIFIED = 0;
1721
+ */
1722
+ UNSPECIFIED = 0,
1723
+ /**
1724
+ * MACHINE_LIVELINESS_ALIVE liveliness is alive
1725
+ *
1726
+ * @generated from enum value: MACHINE_LIVELINESS_ALIVE = 1;
1727
+ */
1728
+ ALIVE = 1,
1729
+ /**
1730
+ * MACHINE_LIVELINESS_DEAD liveliness is dead
1731
+ *
1732
+ * @generated from enum value: MACHINE_LIVELINESS_DEAD = 2;
1733
+ */
1734
+ DEAD = 2,
1735
+ /**
1736
+ * MACHINE_LIVELINESS_UNKNOWN liveliness is unknown
1737
+ *
1738
+ * @generated from enum value: MACHINE_LIVELINESS_UNKNOWN = 3;
1739
+ */
1740
+ UNKNOWN = 3
1741
+ }
1742
+ /**
1743
+ * Describes the enum metalstack.api.v2.MachineLiveliness.
1744
+ */
1745
+ export declare const MachineLivelinessSchema: GenEnum<MachineLiveliness>;
1746
+ /**
1747
+ * MachineAllocationType defines if this is a machine or a firewall
1748
+ *
1749
+ * @generated from enum metalstack.api.v2.MachineAllocationType
1750
+ */
1751
+ export declare enum MachineAllocationType {
1752
+ /**
1753
+ * MACHINE_ALLOCATION_TYPE_UNSPECIFIED is unspecified
1754
+ *
1755
+ * @generated from enum value: MACHINE_ALLOCATION_TYPE_UNSPECIFIED = 0;
1756
+ */
1757
+ UNSPECIFIED = 0,
1758
+ /**
1759
+ * MACHINE_ALLOCATION_TYPE_MACHINE is a machine
1760
+ *
1761
+ * @generated from enum value: MACHINE_ALLOCATION_TYPE_MACHINE = 1;
1762
+ */
1763
+ MACHINE = 1,
1764
+ /**
1765
+ * MACHINE_ALLOCATION_TYPE_FIREWALL is a firewall
1766
+ *
1767
+ * @generated from enum value: MACHINE_ALLOCATION_TYPE_FIREWALL = 2;
1768
+ */
1769
+ FIREWALL = 2
1770
+ }
1771
+ /**
1772
+ * Describes the enum metalstack.api.v2.MachineAllocationType.
1773
+ */
1774
+ export declare const MachineAllocationTypeSchema: GenEnum<MachineAllocationType>;
1775
+ /**
1776
+ * MachineService serves machine related functions
1777
+ *
1778
+ * @generated from service metalstack.api.v2.MachineService
1779
+ */
1780
+ export declare const MachineService: GenService<{
1781
+ /**
1782
+ * Get a machine
1783
+ *
1784
+ * @generated from rpc metalstack.api.v2.MachineService.Get
1785
+ */
1786
+ get: {
1787
+ methodKind: "unary";
1788
+ input: typeof MachineServiceGetRequestSchema;
1789
+ output: typeof MachineServiceGetResponseSchema;
1790
+ };
1791
+ /**
1792
+ * Create a machine
1793
+ *
1794
+ * @generated from rpc metalstack.api.v2.MachineService.Create
1795
+ */
1796
+ create: {
1797
+ methodKind: "unary";
1798
+ input: typeof MachineServiceCreateRequestSchema;
1799
+ output: typeof MachineServiceCreateResponseSchema;
1800
+ };
1801
+ /**
1802
+ * Update a machine
1803
+ *
1804
+ * @generated from rpc metalstack.api.v2.MachineService.Update
1805
+ */
1806
+ update: {
1807
+ methodKind: "unary";
1808
+ input: typeof MachineServiceUpdateRequestSchema;
1809
+ output: typeof MachineServiceUpdateResponseSchema;
1810
+ };
1811
+ /**
1812
+ * List all machines
1813
+ *
1814
+ * @generated from rpc metalstack.api.v2.MachineService.List
1815
+ */
1816
+ list: {
1817
+ methodKind: "unary";
1818
+ input: typeof MachineServiceListRequestSchema;
1819
+ output: typeof MachineServiceListResponseSchema;
1820
+ };
1821
+ /**
1822
+ * Delete a machine
1823
+ *
1824
+ * @generated from rpc metalstack.api.v2.MachineService.Delete
1825
+ */
1826
+ delete: {
1827
+ methodKind: "unary";
1828
+ input: typeof MachineServiceDeleteRequestSchema;
1829
+ output: typeof MachineServiceDeleteResponseSchema;
1830
+ };
1831
+ }>;