@metal-stack/api 0.0.60 → 0.0.62
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/js/buf/validate/validate_pb.d.ts +9 -9
- package/js/buf/validate/validate_pb.ts +10 -10
- package/js/metalstack/admin/v2/audit_pb.d.ts +3 -3
- package/js/metalstack/admin/v2/audit_pb.js +1 -1
- package/js/metalstack/admin/v2/audit_pb.ts +4 -4
- package/js/metalstack/admin/v2/component_pb.d.ts +3 -3
- package/js/metalstack/admin/v2/component_pb.js +1 -1
- package/js/metalstack/admin/v2/component_pb.ts +4 -4
- package/js/metalstack/admin/v2/filesystem_pb.d.ts +8 -8
- package/js/metalstack/admin/v2/filesystem_pb.js +1 -1
- package/js/metalstack/admin/v2/filesystem_pb.ts +9 -9
- package/js/metalstack/admin/v2/image_pb.d.ts +10 -10
- package/js/metalstack/admin/v2/image_pb.js +1 -1
- package/js/metalstack/admin/v2/image_pb.ts +11 -11
- package/js/metalstack/admin/v2/ip_pb.d.ts +1 -1
- package/js/metalstack/admin/v2/ip_pb.js +1 -1
- package/js/metalstack/admin/v2/ip_pb.ts +2 -2
- package/js/metalstack/admin/v2/machine_pb.d.ts +5 -5
- package/js/metalstack/admin/v2/machine_pb.js +1 -1
- package/js/metalstack/admin/v2/machine_pb.ts +6 -6
- package/js/metalstack/admin/v2/network_pb.d.ts +26 -26
- package/js/metalstack/admin/v2/network_pb.js +2 -2
- package/js/metalstack/admin/v2/network_pb.ts +28 -28
- package/js/metalstack/admin/v2/partition_pb.d.ts +11 -11
- package/js/metalstack/admin/v2/partition_pb.js +1 -1
- package/js/metalstack/admin/v2/partition_pb.ts +12 -12
- package/js/metalstack/admin/v2/project_pb.d.ts +2 -2
- package/js/metalstack/admin/v2/project_pb.js +1 -1
- package/js/metalstack/admin/v2/project_pb.ts +3 -3
- package/js/metalstack/admin/v2/size_imageconstraint_pb.d.ts +11 -11
- package/js/metalstack/admin/v2/size_imageconstraint_pb.js +1 -1
- package/js/metalstack/admin/v2/size_imageconstraint_pb.ts +12 -12
- package/js/metalstack/admin/v2/size_pb.d.ts +8 -8
- package/js/metalstack/admin/v2/size_pb.js +1 -1
- package/js/metalstack/admin/v2/size_pb.ts +9 -9
- package/js/metalstack/admin/v2/size_reservation_pb.d.ts +10 -10
- package/js/metalstack/admin/v2/size_reservation_pb.js +1 -1
- package/js/metalstack/admin/v2/size_reservation_pb.ts +11 -11
- package/js/metalstack/admin/v2/switch_pb.d.ts +16 -16
- package/js/metalstack/admin/v2/switch_pb.js +1 -1
- package/js/metalstack/admin/v2/switch_pb.ts +17 -17
- package/js/metalstack/admin/v2/task_pb.d.ts +10 -10
- package/js/metalstack/admin/v2/task_pb.js +1 -1
- package/js/metalstack/admin/v2/task_pb.ts +11 -11
- package/js/metalstack/admin/v2/tenant_pb.d.ts +9 -9
- package/js/metalstack/admin/v2/tenant_pb.js +1 -1
- package/js/metalstack/admin/v2/tenant_pb.ts +10 -10
- package/js/metalstack/admin/v2/token_pb.d.ts +4 -4
- package/js/metalstack/admin/v2/token_pb.js +1 -1
- package/js/metalstack/admin/v2/token_pb.ts +5 -5
- package/js/metalstack/admin/v2/vpn_pb.d.ts +4 -4
- package/js/metalstack/admin/v2/vpn_pb.js +1 -1
- package/js/metalstack/admin/v2/vpn_pb.ts +5 -5
- package/js/metalstack/api/v2/audit_pb.d.ts +18 -18
- package/js/metalstack/api/v2/audit_pb.js +1 -1
- package/js/metalstack/api/v2/audit_pb.ts +19 -19
- package/js/metalstack/api/v2/common_pb.d.ts +9 -9
- package/js/metalstack/api/v2/common_pb.js +5 -4
- package/js/metalstack/api/v2/common_pb.ts +12 -11
- package/js/metalstack/api/v2/component_pb.d.ts +8 -8
- package/js/metalstack/api/v2/component_pb.js +1 -1
- package/js/metalstack/api/v2/component_pb.ts +9 -9
- package/js/metalstack/api/v2/filesystem_pb.d.ts +13 -13
- package/js/metalstack/api/v2/filesystem_pb.js +2 -2
- package/js/metalstack/api/v2/filesystem_pb.ts +15 -15
- package/js/metalstack/api/v2/health_pb.d.ts +1 -1
- package/js/metalstack/api/v2/health_pb.js +1 -1
- package/js/metalstack/api/v2/health_pb.ts +2 -2
- package/js/metalstack/api/v2/image_pb.d.ts +18 -18
- package/js/metalstack/api/v2/image_pb.js +2 -2
- package/js/metalstack/api/v2/image_pb.ts +20 -20
- package/js/metalstack/api/v2/ip_pb.d.ts +31 -31
- package/js/metalstack/api/v2/ip_pb.js +1 -1
- package/js/metalstack/api/v2/ip_pb.ts +32 -32
- package/js/metalstack/api/v2/machine_pb.d.ts +116 -139
- package/js/metalstack/api/v2/machine_pb.js +33 -38
- package/js/metalstack/api/v2/machine_pb.ts +145 -173
- package/js/metalstack/api/v2/method_pb.d.ts +2 -2
- package/js/metalstack/api/v2/method_pb.js +2 -2
- package/js/metalstack/api/v2/method_pb.ts +4 -4
- package/js/metalstack/api/v2/network_pb.d.ts +52 -52
- package/js/metalstack/api/v2/network_pb.js +2 -2
- package/js/metalstack/api/v2/network_pb.ts +54 -54
- package/js/metalstack/api/v2/partition_pb.d.ts +6 -6
- package/js/metalstack/api/v2/partition_pb.js +2 -2
- package/js/metalstack/api/v2/partition_pb.ts +8 -8
- package/js/metalstack/api/v2/predefined_rules_pb.d.ts +13 -1
- package/js/metalstack/api/v2/predefined_rules_pb.js +14 -2
- package/js/metalstack/api/v2/predefined_rules_pb.ts +19 -3
- package/js/metalstack/api/v2/project_pb.d.ts +24 -24
- package/js/metalstack/api/v2/project_pb.js +2 -2
- package/js/metalstack/api/v2/project_pb.ts +26 -26
- package/js/metalstack/api/v2/size_imageconstraint_pb.d.ts +6 -6
- package/js/metalstack/api/v2/size_imageconstraint_pb.js +2 -2
- package/js/metalstack/api/v2/size_imageconstraint_pb.ts +8 -8
- package/js/metalstack/api/v2/size_pb.d.ts +10 -10
- package/js/metalstack/api/v2/size_pb.js +2 -2
- package/js/metalstack/api/v2/size_pb.ts +12 -12
- package/js/metalstack/api/v2/size_reservation_pb.d.ts +10 -10
- package/js/metalstack/api/v2/size_reservation_pb.js +1 -1
- package/js/metalstack/api/v2/size_reservation_pb.ts +11 -11
- package/js/metalstack/api/v2/switch_pb.d.ts +26 -26
- package/js/metalstack/api/v2/switch_pb.js +1 -1
- package/js/metalstack/api/v2/switch_pb.ts +27 -27
- package/js/metalstack/api/v2/tenant_pb.d.ts +24 -24
- package/js/metalstack/api/v2/tenant_pb.js +2 -2
- package/js/metalstack/api/v2/tenant_pb.ts +26 -26
- package/js/metalstack/api/v2/token_pb.d.ts +18 -18
- package/js/metalstack/api/v2/token_pb.js +2 -2
- package/js/metalstack/api/v2/token_pb.ts +20 -20
- package/js/metalstack/api/v2/user_pb.d.ts +2 -2
- package/js/metalstack/api/v2/user_pb.js +2 -2
- package/js/metalstack/api/v2/user_pb.ts +4 -4
- package/js/metalstack/api/v2/version_pb.d.ts +1 -1
- package/js/metalstack/api/v2/version_pb.js +1 -1
- package/js/metalstack/api/v2/version_pb.ts +2 -2
- package/js/metalstack/api/v2/vpn_pb.d.ts +1 -1
- package/js/metalstack/api/v2/vpn_pb.js +1 -1
- package/js/metalstack/api/v2/vpn_pb.ts +2 -2
- package/js/metalstack/infra/v2/bmc_pb.d.ts +2 -2
- package/js/metalstack/infra/v2/bmc_pb.js +1 -1
- package/js/metalstack/infra/v2/bmc_pb.ts +3 -3
- package/js/metalstack/infra/v2/boot_pb.d.ts +6 -6
- package/js/metalstack/infra/v2/boot_pb.js +1 -1
- package/js/metalstack/infra/v2/boot_pb.ts +7 -7
- package/js/metalstack/infra/v2/component_pb.d.ts +3 -3
- package/js/metalstack/infra/v2/component_pb.js +1 -1
- package/js/metalstack/infra/v2/component_pb.ts +4 -4
- package/js/metalstack/infra/v2/event_pb.d.ts +1 -1
- package/js/metalstack/infra/v2/event_pb.js +1 -1
- package/js/metalstack/infra/v2/event_pb.ts +2 -2
- package/js/metalstack/infra/v2/switch_pb.d.ts +7 -7
- package/js/metalstack/infra/v2/switch_pb.js +1 -1
- package/js/metalstack/infra/v2/switch_pb.ts +8 -8
- package/package.json +1 -1
|
@@ -46,7 +46,7 @@ export type MachineServiceGetResponse = Message<"metalstack.api.v2.MachineServic
|
|
|
46
46
|
*
|
|
47
47
|
* @generated from field: metalstack.api.v2.Machine machine = 1;
|
|
48
48
|
*/
|
|
49
|
-
machine?: Machine;
|
|
49
|
+
machine?: Machine | undefined;
|
|
50
50
|
};
|
|
51
51
|
/**
|
|
52
52
|
* Describes the message metalstack.api.v2.MachineServiceGetResponse.
|
|
@@ -67,11 +67,12 @@ export type MachineServiceCreateRequest = Message<"metalstack.api.v2.MachineServ
|
|
|
67
67
|
project: string;
|
|
68
68
|
/**
|
|
69
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
|
|
70
|
+
* this field overrules size and partition.
|
|
71
|
+
* Can only be used with ADMIN_ROLE_EDITOR
|
|
71
72
|
*
|
|
72
73
|
* @generated from field: optional string uuid = 2;
|
|
73
74
|
*/
|
|
74
|
-
uuid?: string;
|
|
75
|
+
uuid?: string | undefined;
|
|
75
76
|
/**
|
|
76
77
|
* Name of this machine
|
|
77
78
|
*
|
|
@@ -83,27 +84,33 @@ export type MachineServiceCreateRequest = Message<"metalstack.api.v2.MachineServ
|
|
|
83
84
|
*
|
|
84
85
|
* @generated from field: optional string description = 4;
|
|
85
86
|
*/
|
|
86
|
-
description?: string;
|
|
87
|
+
description?: string | undefined;
|
|
87
88
|
/**
|
|
88
89
|
* Hostname the hostname for the allocated machine (defaults to metal)
|
|
89
90
|
*
|
|
90
91
|
* @generated from field: optional string hostname = 5;
|
|
91
92
|
*/
|
|
92
|
-
hostname?: string;
|
|
93
|
+
hostname?: string | undefined;
|
|
93
94
|
/**
|
|
94
|
-
* Partition the partition id to assign this machine to
|
|
95
|
+
* Partition the partition id to assign this machine to, must be omitted if uuid is given
|
|
95
96
|
*
|
|
96
|
-
* @generated from field: string partition = 6;
|
|
97
|
+
* @generated from field: optional string partition = 6;
|
|
97
98
|
*/
|
|
98
|
-
partition
|
|
99
|
+
partition?: string | undefined;
|
|
99
100
|
/**
|
|
100
|
-
* Size of the machine to create
|
|
101
|
+
* Size of the machine to create, must be omitted if uuid is given
|
|
101
102
|
*
|
|
102
|
-
* @generated from field: string size = 7;
|
|
103
|
+
* @generated from field: optional string size = 7;
|
|
103
104
|
*/
|
|
104
|
-
size
|
|
105
|
+
size?: string | undefined;
|
|
105
106
|
/**
|
|
106
107
|
* Image which should be installed on this machine
|
|
108
|
+
* The image can be specified either in the fully qualified form, e.g. including os, major, minor and patch
|
|
109
|
+
* - debian-13.0.20260402
|
|
110
|
+
* or in a simplified form which omits the patch version
|
|
111
|
+
* - debian-13.0
|
|
112
|
+
* If the fully qualified form is specified, exactly this image is taken regardless of the image classification
|
|
113
|
+
* if the short form is given, only the most recent images which has image classification supported is used.
|
|
107
114
|
*
|
|
108
115
|
* @generated from field: string image = 8;
|
|
109
116
|
*/
|
|
@@ -115,7 +122,7 @@ export type MachineServiceCreateRequest = Message<"metalstack.api.v2.MachineServ
|
|
|
115
122
|
*
|
|
116
123
|
* @generated from field: optional string filesystem_layout = 9;
|
|
117
124
|
*/
|
|
118
|
-
filesystemLayout?: string;
|
|
125
|
+
filesystemLayout?: string | undefined;
|
|
119
126
|
/**
|
|
120
127
|
* SSHPublicKeys defines the ssh public key to be installed on the machine to access it via ssh
|
|
121
128
|
*
|
|
@@ -128,56 +135,50 @@ export type MachineServiceCreateRequest = Message<"metalstack.api.v2.MachineServ
|
|
|
128
135
|
*
|
|
129
136
|
* @generated from field: optional string userdata = 11;
|
|
130
137
|
*/
|
|
131
|
-
userdata?: string;
|
|
138
|
+
userdata?: string | undefined;
|
|
132
139
|
/**
|
|
133
140
|
* Labels to be attached to this machine allocation
|
|
134
141
|
*
|
|
135
142
|
* @generated from field: metalstack.api.v2.Labels labels = 12;
|
|
136
143
|
*/
|
|
137
|
-
labels?: Labels;
|
|
144
|
+
labels?: Labels | undefined;
|
|
138
145
|
/**
|
|
139
146
|
* Networks the networks that this machine will be placed in.
|
|
140
147
|
*
|
|
141
148
|
* @generated from field: repeated metalstack.api.v2.MachineAllocationNetwork networks = 13;
|
|
142
149
|
*/
|
|
143
150
|
networks: MachineAllocationNetwork[];
|
|
144
|
-
/**
|
|
145
|
-
* IPs to to attach to this machine additionally
|
|
146
|
-
*
|
|
147
|
-
* @generated from field: repeated metalstack.api.v2.MachineAllocationIp ips = 14;
|
|
148
|
-
*/
|
|
149
|
-
ips: MachineAllocationIp[];
|
|
150
151
|
/**
|
|
151
152
|
* PlacementTags by default machines are spread across the racks inside a partition for every project.
|
|
152
153
|
* if placement tags are provided, the machine candidate has an additional anti-affinity to other machines having the same tags
|
|
153
154
|
*
|
|
154
|
-
* @generated from field: repeated string placement_tags =
|
|
155
|
+
* @generated from field: repeated string placement_tags = 14;
|
|
155
156
|
*/
|
|
156
157
|
placementTags: string[];
|
|
157
158
|
/**
|
|
158
159
|
* DNSServer the dns servers used for the machine
|
|
159
160
|
*
|
|
160
|
-
* @generated from field: repeated metalstack.api.v2.DNSServer dns_servers =
|
|
161
|
+
* @generated from field: repeated metalstack.api.v2.DNSServer dns_servers = 15;
|
|
161
162
|
*/
|
|
162
163
|
dnsServers: DNSServer[];
|
|
163
164
|
/**
|
|
164
165
|
* NTPServer the ntp servers used for the machine
|
|
165
166
|
*
|
|
166
|
-
* @generated from field: repeated metalstack.api.v2.NTPServer ntp_servers =
|
|
167
|
+
* @generated from field: repeated metalstack.api.v2.NTPServer ntp_servers = 16;
|
|
167
168
|
*/
|
|
168
169
|
ntpServers: NTPServer[];
|
|
169
170
|
/**
|
|
170
171
|
* AllocationType of this machine
|
|
171
172
|
*
|
|
172
|
-
* @generated from field: metalstack.api.v2.MachineAllocationType allocation_type =
|
|
173
|
+
* @generated from field: metalstack.api.v2.MachineAllocationType allocation_type = 17;
|
|
173
174
|
*/
|
|
174
175
|
allocationType: MachineAllocationType;
|
|
175
176
|
/**
|
|
176
177
|
* FirewallSpec provides firewall specific parameters if allocationType is firewall
|
|
177
178
|
*
|
|
178
|
-
* @generated from field: metalstack.api.v2.FirewallSpec firewall_spec =
|
|
179
|
+
* @generated from field: metalstack.api.v2.FirewallSpec firewall_spec = 18;
|
|
179
180
|
*/
|
|
180
|
-
firewallSpec?: FirewallSpec;
|
|
181
|
+
firewallSpec?: FirewallSpec | undefined;
|
|
181
182
|
};
|
|
182
183
|
/**
|
|
183
184
|
* Describes the message metalstack.api.v2.MachineServiceCreateRequest.
|
|
@@ -195,7 +196,7 @@ export type FirewallSpec = Message<"metalstack.api.v2.FirewallSpec"> & {
|
|
|
195
196
|
*
|
|
196
197
|
* @generated from field: metalstack.api.v2.FirewallRules firewall_rules = 1;
|
|
197
198
|
*/
|
|
198
|
-
firewallRules?: FirewallRules;
|
|
199
|
+
firewallRules?: FirewallRules | undefined;
|
|
199
200
|
};
|
|
200
201
|
/**
|
|
201
202
|
* Describes the message metalstack.api.v2.FirewallSpec.
|
|
@@ -213,7 +214,7 @@ export type MachineServiceCreateResponse = Message<"metalstack.api.v2.MachineSer
|
|
|
213
214
|
*
|
|
214
215
|
* @generated from field: metalstack.api.v2.Machine machine = 1;
|
|
215
216
|
*/
|
|
216
|
-
machine?: Machine;
|
|
217
|
+
machine?: Machine | undefined;
|
|
217
218
|
};
|
|
218
219
|
/**
|
|
219
220
|
* Describes the message metalstack.api.v2.MachineServiceCreateResponse.
|
|
@@ -237,7 +238,7 @@ export type MachineServiceUpdateRequest = Message<"metalstack.api.v2.MachineServ
|
|
|
237
238
|
*
|
|
238
239
|
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
239
240
|
*/
|
|
240
|
-
updateMeta?: UpdateMeta;
|
|
241
|
+
updateMeta?: UpdateMeta | undefined;
|
|
241
242
|
/**
|
|
242
243
|
* Project of the machine
|
|
243
244
|
*
|
|
@@ -249,13 +250,13 @@ export type MachineServiceUpdateRequest = Message<"metalstack.api.v2.MachineServ
|
|
|
249
250
|
*
|
|
250
251
|
* @generated from field: optional string description = 4;
|
|
251
252
|
*/
|
|
252
|
-
description?: string;
|
|
253
|
+
description?: string | undefined;
|
|
253
254
|
/**
|
|
254
255
|
* Labels to update on this machine allocation
|
|
255
256
|
*
|
|
256
257
|
* @generated from field: optional metalstack.api.v2.UpdateLabels labels = 5;
|
|
257
258
|
*/
|
|
258
|
-
labels?: UpdateLabels;
|
|
259
|
+
labels?: UpdateLabels | undefined;
|
|
259
260
|
/**
|
|
260
261
|
* SSHPublicKeys which should be update of this machine allocation
|
|
261
262
|
*
|
|
@@ -279,7 +280,7 @@ export type MachineServiceUpdateResponse = Message<"metalstack.api.v2.MachineSer
|
|
|
279
280
|
*
|
|
280
281
|
* @generated from field: metalstack.api.v2.Machine machine = 1;
|
|
281
282
|
*/
|
|
282
|
-
machine?: Machine;
|
|
283
|
+
machine?: Machine | undefined;
|
|
283
284
|
};
|
|
284
285
|
/**
|
|
285
286
|
* Describes the message metalstack.api.v2.MachineServiceUpdateResponse.
|
|
@@ -303,7 +304,7 @@ export type MachineServiceListRequest = Message<"metalstack.api.v2.MachineServic
|
|
|
303
304
|
*
|
|
304
305
|
* @generated from field: metalstack.api.v2.MachineQuery query = 2;
|
|
305
306
|
*/
|
|
306
|
-
query?: MachineQuery;
|
|
307
|
+
query?: MachineQuery | undefined;
|
|
307
308
|
};
|
|
308
309
|
/**
|
|
309
310
|
* Describes the message metalstack.api.v2.MachineServiceListRequest.
|
|
@@ -363,7 +364,7 @@ export type MachineServiceDeleteResponse = Message<"metalstack.api.v2.MachineSer
|
|
|
363
364
|
*
|
|
364
365
|
* @generated from field: metalstack.api.v2.Machine machine = 1;
|
|
365
366
|
*/
|
|
366
|
-
machine?: Machine;
|
|
367
|
+
machine?: Machine | undefined;
|
|
367
368
|
};
|
|
368
369
|
/**
|
|
369
370
|
* Describes the message metalstack.api.v2.MachineServiceDeleteResponse.
|
|
@@ -452,7 +453,7 @@ export type MachineServiceGetBMCResponse = Message<"metalstack.api.v2.MachineSer
|
|
|
452
453
|
*
|
|
453
454
|
* @generated from field: metalstack.api.v2.MachineBMCReport bmc = 2;
|
|
454
455
|
*/
|
|
455
|
-
bmc?: MachineBMCReport;
|
|
456
|
+
bmc?: MachineBMCReport | undefined;
|
|
456
457
|
};
|
|
457
458
|
/**
|
|
458
459
|
* Describes the message metalstack.api.v2.MachineServiceGetBMCResponse.
|
|
@@ -476,13 +477,13 @@ export type Machine = Message<"metalstack.api.v2.Machine"> & {
|
|
|
476
477
|
*
|
|
477
478
|
* @generated from field: metalstack.api.v2.Meta meta = 2;
|
|
478
479
|
*/
|
|
479
|
-
meta?: Meta;
|
|
480
|
+
meta?: Meta | undefined;
|
|
480
481
|
/**
|
|
481
482
|
* Partition where this machine resides
|
|
482
483
|
*
|
|
483
484
|
* @generated from field: metalstack.api.v2.Partition partition = 3;
|
|
484
485
|
*/
|
|
485
|
-
partition?: Partition;
|
|
486
|
+
partition?: Partition | undefined;
|
|
486
487
|
/**
|
|
487
488
|
* Rack where this machine is located
|
|
488
489
|
*
|
|
@@ -494,31 +495,31 @@ export type Machine = Message<"metalstack.api.v2.Machine"> & {
|
|
|
494
495
|
*
|
|
495
496
|
* @generated from field: metalstack.api.v2.Size size = 5;
|
|
496
497
|
*/
|
|
497
|
-
size?: Size;
|
|
498
|
+
size?: Size | undefined;
|
|
498
499
|
/**
|
|
499
500
|
* Hardware specs of this machine
|
|
500
501
|
*
|
|
501
502
|
* @generated from field: metalstack.api.v2.MachineHardware hardware = 6;
|
|
502
503
|
*/
|
|
503
|
-
hardware?: MachineHardware;
|
|
504
|
+
hardware?: MachineHardware | undefined;
|
|
504
505
|
/**
|
|
505
506
|
* Allocation details
|
|
506
507
|
*
|
|
507
508
|
* @generated from field: metalstack.api.v2.MachineAllocation allocation = 7;
|
|
508
509
|
*/
|
|
509
|
-
allocation?: MachineAllocation;
|
|
510
|
+
allocation?: MachineAllocation | undefined;
|
|
510
511
|
/**
|
|
511
512
|
* Status contains several status details related to this machine
|
|
512
513
|
*
|
|
513
514
|
* @generated from field: metalstack.api.v2.MachineStatus status = 8;
|
|
514
515
|
*/
|
|
515
|
-
status?: MachineStatus;
|
|
516
|
+
status?: MachineStatus | undefined;
|
|
516
517
|
/**
|
|
517
518
|
* MachineRecentProvisioningEvents contains the recent provisioning events
|
|
518
519
|
*
|
|
519
520
|
* @generated from field: metalstack.api.v2.MachineRecentProvisioningEvents recent_provisioning_events = 9;
|
|
520
521
|
*/
|
|
521
|
-
recentProvisioningEvents?: MachineRecentProvisioningEvents;
|
|
522
|
+
recentProvisioningEvents?: MachineRecentProvisioningEvents | undefined;
|
|
522
523
|
};
|
|
523
524
|
/**
|
|
524
525
|
* Describes the message metalstack.api.v2.Machine.
|
|
@@ -536,13 +537,13 @@ export type MachineStatus = Message<"metalstack.api.v2.MachineStatus"> & {
|
|
|
536
537
|
*
|
|
537
538
|
* @generated from field: metalstack.api.v2.MachineCondition condition = 1;
|
|
538
539
|
*/
|
|
539
|
-
condition?: MachineCondition;
|
|
540
|
+
condition?: MachineCondition | undefined;
|
|
540
541
|
/**
|
|
541
542
|
* LEDState indicates the state of the indicator LED on this machine
|
|
542
543
|
*
|
|
543
544
|
* @generated from field: metalstack.api.v2.MachineChassisIdentifyLEDState led_state = 2;
|
|
544
545
|
*/
|
|
545
|
-
ledState?: MachineChassisIdentifyLEDState;
|
|
546
|
+
ledState?: MachineChassisIdentifyLEDState | undefined;
|
|
546
547
|
/**
|
|
547
548
|
* Liveliness of this machine
|
|
548
549
|
*
|
|
@@ -608,7 +609,7 @@ export type MachineAllocation = Message<"metalstack.api.v2.MachineAllocation"> &
|
|
|
608
609
|
*
|
|
609
610
|
* @generated from field: metalstack.api.v2.Meta meta = 2;
|
|
610
611
|
*/
|
|
611
|
-
meta?: Meta;
|
|
612
|
+
meta?: Meta | undefined;
|
|
612
613
|
/**
|
|
613
614
|
* Name of this allocation
|
|
614
615
|
*
|
|
@@ -638,13 +639,13 @@ export type MachineAllocation = Message<"metalstack.api.v2.MachineAllocation"> &
|
|
|
638
639
|
*
|
|
639
640
|
* @generated from field: metalstack.api.v2.Image image = 7;
|
|
640
641
|
*/
|
|
641
|
-
image?: Image;
|
|
642
|
+
image?: Image | undefined;
|
|
642
643
|
/**
|
|
643
644
|
* FilesystemLayout to create on the disks
|
|
644
645
|
*
|
|
645
646
|
* @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 8;
|
|
646
647
|
*/
|
|
647
|
-
filesystemLayout?: FilesystemLayout;
|
|
648
|
+
filesystemLayout?: FilesystemLayout | undefined;
|
|
648
649
|
/**
|
|
649
650
|
* Networks this machine should be attached to
|
|
650
651
|
*
|
|
@@ -681,7 +682,7 @@ export type MachineAllocation = Message<"metalstack.api.v2.MachineAllocation"> &
|
|
|
681
682
|
*
|
|
682
683
|
* @generated from field: metalstack.api.v2.FirewallRules firewall_rules = 14;
|
|
683
684
|
*/
|
|
684
|
-
firewallRules?: FirewallRules;
|
|
685
|
+
firewallRules?: FirewallRules | undefined;
|
|
685
686
|
/**
|
|
686
687
|
* DNSServers for this machine
|
|
687
688
|
*
|
|
@@ -699,7 +700,7 @@ export type MachineAllocation = Message<"metalstack.api.v2.MachineAllocation"> &
|
|
|
699
700
|
*
|
|
700
701
|
* @generated from field: metalstack.api.v2.MachineVPN vpn = 17;
|
|
701
702
|
*/
|
|
702
|
-
vpn?: MachineVPN;
|
|
703
|
+
vpn?: MachineVPN | undefined;
|
|
703
704
|
};
|
|
704
705
|
/**
|
|
705
706
|
* Describes the message metalstack.api.v2.MachineAllocation.
|
|
@@ -719,42 +720,18 @@ export type MachineAllocationNetwork = Message<"metalstack.api.v2.MachineAllocat
|
|
|
719
720
|
*/
|
|
720
721
|
network: string;
|
|
721
722
|
/**
|
|
722
|
-
*
|
|
723
|
-
*
|
|
723
|
+
* IPs to to attach to this machine additionally
|
|
724
|
+
* If none given, one ip address is acquired per network for the machine
|
|
724
725
|
*
|
|
725
|
-
* @generated from field:
|
|
726
|
+
* @generated from field: repeated string ips = 2;
|
|
726
727
|
*/
|
|
727
|
-
|
|
728
|
+
ips: string[];
|
|
728
729
|
};
|
|
729
730
|
/**
|
|
730
731
|
* Describes the message metalstack.api.v2.MachineAllocationNetwork.
|
|
731
732
|
* Use `create(MachineAllocationNetworkSchema)` to create a new message.
|
|
732
733
|
*/
|
|
733
734
|
export declare const MachineAllocationNetworkSchema: GenMessage<MachineAllocationNetwork>;
|
|
734
|
-
/**
|
|
735
|
-
* MachineAllocationIp defines a ip and a optional namespace which should be attached to this machine during create
|
|
736
|
-
*
|
|
737
|
-
* @generated from message metalstack.api.v2.MachineAllocationIp
|
|
738
|
-
*/
|
|
739
|
-
export type MachineAllocationIp = Message<"metalstack.api.v2.MachineAllocationIp"> & {
|
|
740
|
-
/**
|
|
741
|
-
* IP to to attach to this machine additionally
|
|
742
|
-
*
|
|
743
|
-
* @generated from field: string ip = 1;
|
|
744
|
-
*/
|
|
745
|
-
ip: string;
|
|
746
|
-
/**
|
|
747
|
-
* Namespace where this ip was created, usually the project of the namespaced tenant network.
|
|
748
|
-
*
|
|
749
|
-
* @generated from field: optional string namespace = 2;
|
|
750
|
-
*/
|
|
751
|
-
namespace?: string;
|
|
752
|
-
};
|
|
753
|
-
/**
|
|
754
|
-
* Describes the message metalstack.api.v2.MachineAllocationIp.
|
|
755
|
-
* Use `create(MachineAllocationIpSchema)` to create a new message.
|
|
756
|
-
*/
|
|
757
|
-
export declare const MachineAllocationIpSchema: GenMessage<MachineAllocationIp>;
|
|
758
735
|
/**
|
|
759
736
|
* FirewallRules can be defined during firewall allocation
|
|
760
737
|
*
|
|
@@ -916,7 +893,7 @@ export type MachineNetwork = Message<"metalstack.api.v2.MachineNetwork"> & {
|
|
|
916
893
|
*
|
|
917
894
|
* @generated from field: optional string project = 9;
|
|
918
895
|
*/
|
|
919
|
-
project?: string;
|
|
896
|
+
project?: string | undefined;
|
|
920
897
|
};
|
|
921
898
|
/**
|
|
922
899
|
* Describes the message metalstack.api.v2.MachineNetwork.
|
|
@@ -1144,25 +1121,25 @@ export type MachineBMCReport = Message<"metalstack.api.v2.MachineBMCReport"> & {
|
|
|
1144
1121
|
*
|
|
1145
1122
|
* @generated from field: metalstack.api.v2.MachineBMC bmc = 1;
|
|
1146
1123
|
*/
|
|
1147
|
-
bmc?: MachineBMC;
|
|
1124
|
+
bmc?: MachineBMC | undefined;
|
|
1148
1125
|
/**
|
|
1149
1126
|
* Bios contains bios details
|
|
1150
1127
|
*
|
|
1151
1128
|
* @generated from field: metalstack.api.v2.MachineBios bios = 2;
|
|
1152
1129
|
*/
|
|
1153
|
-
bios?: MachineBios;
|
|
1130
|
+
bios?: MachineBios | undefined;
|
|
1154
1131
|
/**
|
|
1155
1132
|
* Fru containers field replaceable unit details
|
|
1156
1133
|
*
|
|
1157
1134
|
* @generated from field: metalstack.api.v2.MachineFRU fru = 3;
|
|
1158
1135
|
*/
|
|
1159
|
-
fru?: MachineFRU;
|
|
1136
|
+
fru?: MachineFRU | undefined;
|
|
1160
1137
|
/**
|
|
1161
1138
|
* PowerMetric contains the power statistics of the machine
|
|
1162
1139
|
*
|
|
1163
1140
|
* @generated from field: metalstack.api.v2.MachinePowerMetric power_metric = 4;
|
|
1164
1141
|
*/
|
|
1165
|
-
powerMetric?: MachinePowerMetric;
|
|
1142
|
+
powerMetric?: MachinePowerMetric | undefined;
|
|
1166
1143
|
/**
|
|
1167
1144
|
* PowerSupplies contains details about all power supplies and their state
|
|
1168
1145
|
*
|
|
@@ -1174,13 +1151,13 @@ export type MachineBMCReport = Message<"metalstack.api.v2.MachineBMCReport"> & {
|
|
|
1174
1151
|
*
|
|
1175
1152
|
* @generated from field: metalstack.api.v2.MachineChassisIdentifyLEDState led_state = 6;
|
|
1176
1153
|
*/
|
|
1177
|
-
ledState?: MachineChassisIdentifyLEDState;
|
|
1154
|
+
ledState?: MachineChassisIdentifyLEDState | undefined;
|
|
1178
1155
|
/**
|
|
1179
1156
|
* UpdatedAt contains the date when this data was last updated
|
|
1180
1157
|
*
|
|
1181
1158
|
* @generated from field: google.protobuf.Timestamp updated_at = 7;
|
|
1182
1159
|
*/
|
|
1183
|
-
updatedAt?: Timestamp;
|
|
1160
|
+
updatedAt?: Timestamp | undefined;
|
|
1184
1161
|
};
|
|
1185
1162
|
/**
|
|
1186
1163
|
* Describes the message metalstack.api.v2.MachineBMCReport.
|
|
@@ -1282,49 +1259,49 @@ export type MachineFRU = Message<"metalstack.api.v2.MachineFRU"> & {
|
|
|
1282
1259
|
*
|
|
1283
1260
|
* @generated from field: optional string chassis_part_number = 1;
|
|
1284
1261
|
*/
|
|
1285
|
-
chassisPartNumber?: string;
|
|
1262
|
+
chassisPartNumber?: string | undefined;
|
|
1286
1263
|
/**
|
|
1287
1264
|
* ChassisPartSerial is the serial number of the machine chassis
|
|
1288
1265
|
*
|
|
1289
1266
|
* @generated from field: optional string chassis_part_serial = 2;
|
|
1290
1267
|
*/
|
|
1291
|
-
chassisPartSerial?: string;
|
|
1268
|
+
chassisPartSerial?: string | undefined;
|
|
1292
1269
|
/**
|
|
1293
1270
|
* BoardMfg is the short description of the mainboard
|
|
1294
1271
|
*
|
|
1295
1272
|
* @generated from field: optional string board_mfg = 3;
|
|
1296
1273
|
*/
|
|
1297
|
-
boardMfg?: string;
|
|
1274
|
+
boardMfg?: string | undefined;
|
|
1298
1275
|
/**
|
|
1299
1276
|
* BoardMfgSerial is the serial number of the mainboard
|
|
1300
1277
|
*
|
|
1301
1278
|
* @generated from field: optional string board_mfg_serial = 4;
|
|
1302
1279
|
*/
|
|
1303
|
-
boardMfgSerial?: string;
|
|
1280
|
+
boardMfgSerial?: string | undefined;
|
|
1304
1281
|
/**
|
|
1305
1282
|
* BoardPartNumber is the part number of the mainboard
|
|
1306
1283
|
*
|
|
1307
1284
|
* @generated from field: optional string board_part_number = 5;
|
|
1308
1285
|
*/
|
|
1309
|
-
boardPartNumber?: string;
|
|
1286
|
+
boardPartNumber?: string | undefined;
|
|
1310
1287
|
/**
|
|
1311
1288
|
* ProductManufacturer is the manufacturer of the machine
|
|
1312
1289
|
*
|
|
1313
1290
|
* @generated from field: optional string product_manufacturer = 6;
|
|
1314
1291
|
*/
|
|
1315
|
-
productManufacturer?: string;
|
|
1292
|
+
productManufacturer?: string | undefined;
|
|
1316
1293
|
/**
|
|
1317
1294
|
* ProductPartNumber is the part number of the machine
|
|
1318
1295
|
*
|
|
1319
1296
|
* @generated from field: optional string product_part_number = 7;
|
|
1320
1297
|
*/
|
|
1321
|
-
productPartNumber?: string;
|
|
1298
|
+
productPartNumber?: string | undefined;
|
|
1322
1299
|
/**
|
|
1323
1300
|
* ProductSerial is the serial number of the machine
|
|
1324
1301
|
*
|
|
1325
1302
|
* @generated from field: optional string product_serial = 8;
|
|
1326
1303
|
*/
|
|
1327
|
-
productSerial?: string;
|
|
1304
|
+
productSerial?: string | undefined;
|
|
1328
1305
|
};
|
|
1329
1306
|
/**
|
|
1330
1307
|
* Describes the message metalstack.api.v2.MachineFRU.
|
|
@@ -1417,13 +1394,13 @@ export type MachineRecentProvisioningEvents = Message<"metalstack.api.v2.Machine
|
|
|
1417
1394
|
*
|
|
1418
1395
|
* @generated from field: google.protobuf.Timestamp last_event_time = 2;
|
|
1419
1396
|
*/
|
|
1420
|
-
lastEventTime?: Timestamp;
|
|
1397
|
+
lastEventTime?: Timestamp | undefined;
|
|
1421
1398
|
/**
|
|
1422
1399
|
* LastErrorEvent the last erroneous event received
|
|
1423
1400
|
*
|
|
1424
1401
|
* @generated from field: metalstack.api.v2.MachineProvisioningEvent last_error_event = 3;
|
|
1425
1402
|
*/
|
|
1426
|
-
lastErrorEvent?: MachineProvisioningEvent;
|
|
1403
|
+
lastErrorEvent?: MachineProvisioningEvent | undefined;
|
|
1427
1404
|
/**
|
|
1428
1405
|
* State can be either CrashLoop, FailedReclaim or something else
|
|
1429
1406
|
*
|
|
@@ -1447,7 +1424,7 @@ export type MachineProvisioningEvent = Message<"metalstack.api.v2.MachineProvisi
|
|
|
1447
1424
|
*
|
|
1448
1425
|
* @generated from field: google.protobuf.Timestamp time = 1;
|
|
1449
1426
|
*/
|
|
1450
|
-
time?: Timestamp;
|
|
1427
|
+
time?: Timestamp | undefined;
|
|
1451
1428
|
/**
|
|
1452
1429
|
* Event the event emitted by the machine
|
|
1453
1430
|
*
|
|
@@ -1513,106 +1490,106 @@ export type MachineQuery = Message<"metalstack.api.v2.MachineQuery"> & {
|
|
|
1513
1490
|
*
|
|
1514
1491
|
* @generated from field: optional string uuid = 1;
|
|
1515
1492
|
*/
|
|
1516
|
-
uuid?: string;
|
|
1493
|
+
uuid?: string | undefined;
|
|
1517
1494
|
/**
|
|
1518
1495
|
* Name of the machine to get
|
|
1519
1496
|
*
|
|
1520
1497
|
* @generated from field: optional string name = 2;
|
|
1521
1498
|
*/
|
|
1522
|
-
name?: string;
|
|
1499
|
+
name?: string | undefined;
|
|
1523
1500
|
/**
|
|
1524
1501
|
* Partition of the machine to get
|
|
1525
1502
|
*
|
|
1526
1503
|
* @generated from field: optional string partition = 3;
|
|
1527
1504
|
*/
|
|
1528
|
-
partition?: string;
|
|
1505
|
+
partition?: string | undefined;
|
|
1529
1506
|
/**
|
|
1530
1507
|
* Size of the machine to get
|
|
1531
1508
|
*
|
|
1532
1509
|
* @generated from field: optional string size = 4;
|
|
1533
1510
|
*/
|
|
1534
|
-
size?: string;
|
|
1511
|
+
size?: string | undefined;
|
|
1535
1512
|
/**
|
|
1536
1513
|
* Rack of the machine to get
|
|
1537
1514
|
*
|
|
1538
1515
|
* @generated from field: optional string rack = 5;
|
|
1539
1516
|
*/
|
|
1540
|
-
rack?: string;
|
|
1517
|
+
rack?: string | undefined;
|
|
1541
1518
|
/**
|
|
1542
1519
|
* Labels for which this machine should get filtered
|
|
1543
1520
|
*
|
|
1544
1521
|
* @generated from field: optional metalstack.api.v2.Labels labels = 6;
|
|
1545
1522
|
*/
|
|
1546
|
-
labels?: Labels;
|
|
1523
|
+
labels?: Labels | undefined;
|
|
1547
1524
|
/**
|
|
1548
1525
|
* Allocation specific machine queries
|
|
1549
1526
|
*
|
|
1550
1527
|
* @generated from field: optional metalstack.api.v2.MachineAllocationQuery allocation = 7;
|
|
1551
1528
|
*/
|
|
1552
|
-
allocation?: MachineAllocationQuery;
|
|
1529
|
+
allocation?: MachineAllocationQuery | undefined;
|
|
1553
1530
|
/**
|
|
1554
1531
|
* Network specific machine queries
|
|
1555
1532
|
*
|
|
1556
1533
|
* @generated from field: optional metalstack.api.v2.MachineNetworkQuery network = 8;
|
|
1557
1534
|
*/
|
|
1558
|
-
network?: MachineNetworkQuery;
|
|
1535
|
+
network?: MachineNetworkQuery | undefined;
|
|
1559
1536
|
/**
|
|
1560
1537
|
* Nic specific machine queries
|
|
1561
1538
|
*
|
|
1562
1539
|
* @generated from field: optional metalstack.api.v2.MachineNicQuery nic = 9;
|
|
1563
1540
|
*/
|
|
1564
|
-
nic?: MachineNicQuery;
|
|
1541
|
+
nic?: MachineNicQuery | undefined;
|
|
1565
1542
|
/**
|
|
1566
1543
|
* Disk specific machine queries
|
|
1567
1544
|
*
|
|
1568
1545
|
* @generated from field: optional metalstack.api.v2.MachineDiskQuery disk = 10;
|
|
1569
1546
|
*/
|
|
1570
|
-
disk?: MachineDiskQuery;
|
|
1547
|
+
disk?: MachineDiskQuery | undefined;
|
|
1571
1548
|
/**
|
|
1572
1549
|
* Bmc specific machine queries
|
|
1573
1550
|
*
|
|
1574
1551
|
* @generated from field: optional metalstack.api.v2.MachineBMCQuery bmc = 11;
|
|
1575
1552
|
*/
|
|
1576
|
-
bmc?: MachineBMCQuery;
|
|
1553
|
+
bmc?: MachineBMCQuery | undefined;
|
|
1577
1554
|
/**
|
|
1578
1555
|
* Fru specific machine queries
|
|
1579
1556
|
*
|
|
1580
1557
|
* @generated from field: optional metalstack.api.v2.MachineFRUQuery fru = 12;
|
|
1581
1558
|
*/
|
|
1582
|
-
fru?: MachineFRUQuery;
|
|
1559
|
+
fru?: MachineFRUQuery | undefined;
|
|
1583
1560
|
/**
|
|
1584
1561
|
* Hardware specific machine query
|
|
1585
1562
|
*
|
|
1586
1563
|
* @generated from field: optional metalstack.api.v2.MachineHardwareQuery hardware = 13;
|
|
1587
1564
|
*/
|
|
1588
|
-
hardware?: MachineHardwareQuery;
|
|
1565
|
+
hardware?: MachineHardwareQuery | undefined;
|
|
1589
1566
|
/**
|
|
1590
1567
|
* State this machine has
|
|
1591
1568
|
*
|
|
1592
1569
|
* @generated from field: optional metalstack.api.v2.MachineState state = 14;
|
|
1593
1570
|
*/
|
|
1594
|
-
state?: MachineState;
|
|
1571
|
+
state?: MachineState | undefined;
|
|
1595
1572
|
/**
|
|
1596
1573
|
* Waiting if set to true, only waiting machines are returned.
|
|
1597
1574
|
* Only useful for admins.
|
|
1598
1575
|
*
|
|
1599
1576
|
* @generated from field: optional bool waiting = 15;
|
|
1600
1577
|
*/
|
|
1601
|
-
waiting?: boolean;
|
|
1578
|
+
waiting?: boolean | undefined;
|
|
1602
1579
|
/**
|
|
1603
1580
|
* Preallocated if set to true, only machines which are preallocated are returned.
|
|
1604
1581
|
* Only useful for admins.
|
|
1605
1582
|
*
|
|
1606
1583
|
* @generated from field: optional bool preallocated = 16;
|
|
1607
1584
|
*/
|
|
1608
|
-
preallocated?: boolean;
|
|
1585
|
+
preallocated?: boolean | undefined;
|
|
1609
1586
|
/**
|
|
1610
1587
|
* NotAllocated if set to true, only machines which are not allocated are returned.
|
|
1611
1588
|
* Only useful for admins.
|
|
1612
1589
|
*
|
|
1613
1590
|
* @generated from field: optional bool not_allocated = 17;
|
|
1614
1591
|
*/
|
|
1615
|
-
notAllocated?: boolean;
|
|
1592
|
+
notAllocated?: boolean | undefined;
|
|
1616
1593
|
};
|
|
1617
1594
|
/**
|
|
1618
1595
|
* Describes the message metalstack.api.v2.MachineQuery.
|
|
@@ -1630,55 +1607,55 @@ export type MachineAllocationQuery = Message<"metalstack.api.v2.MachineAllocatio
|
|
|
1630
1607
|
*
|
|
1631
1608
|
* @generated from field: optional string uuid = 1;
|
|
1632
1609
|
*/
|
|
1633
|
-
uuid?: string;
|
|
1610
|
+
uuid?: string | undefined;
|
|
1634
1611
|
/**
|
|
1635
1612
|
* Name of the machine to get
|
|
1636
1613
|
*
|
|
1637
1614
|
* @generated from field: optional string name = 2;
|
|
1638
1615
|
*/
|
|
1639
|
-
name?: string;
|
|
1616
|
+
name?: string | undefined;
|
|
1640
1617
|
/**
|
|
1641
1618
|
* Project of the machine to get
|
|
1642
1619
|
*
|
|
1643
1620
|
* @generated from field: optional string project = 3;
|
|
1644
1621
|
*/
|
|
1645
|
-
project?: string;
|
|
1622
|
+
project?: string | undefined;
|
|
1646
1623
|
/**
|
|
1647
1624
|
* Image of the machine to get
|
|
1648
1625
|
*
|
|
1649
1626
|
* @generated from field: optional string image = 4;
|
|
1650
1627
|
*/
|
|
1651
|
-
image?: string;
|
|
1628
|
+
image?: string | undefined;
|
|
1652
1629
|
/**
|
|
1653
1630
|
* FilesystemLayout of the machine to get
|
|
1654
1631
|
*
|
|
1655
1632
|
* @generated from field: optional string filesystem_layout = 5;
|
|
1656
1633
|
*/
|
|
1657
|
-
filesystemLayout?: string;
|
|
1634
|
+
filesystemLayout?: string | undefined;
|
|
1658
1635
|
/**
|
|
1659
1636
|
* Hostname of the machine to get
|
|
1660
1637
|
*
|
|
1661
1638
|
* @generated from field: optional string hostname = 6;
|
|
1662
1639
|
*/
|
|
1663
|
-
hostname?: string;
|
|
1640
|
+
hostname?: string | undefined;
|
|
1664
1641
|
/**
|
|
1665
1642
|
* AllocationType of this machine
|
|
1666
1643
|
*
|
|
1667
1644
|
* @generated from field: optional metalstack.api.v2.MachineAllocationType allocation_type = 7;
|
|
1668
1645
|
*/
|
|
1669
|
-
allocationType?: MachineAllocationType;
|
|
1646
|
+
allocationType?: MachineAllocationType | undefined;
|
|
1670
1647
|
/**
|
|
1671
1648
|
* Labels for which this machine allocation should get filtered
|
|
1672
1649
|
*
|
|
1673
1650
|
* @generated from field: optional metalstack.api.v2.Labels labels = 8;
|
|
1674
1651
|
*/
|
|
1675
|
-
labels?: Labels;
|
|
1652
|
+
labels?: Labels | undefined;
|
|
1676
1653
|
/**
|
|
1677
1654
|
* VPN query if this machine has a vpn configuration
|
|
1678
1655
|
*
|
|
1679
1656
|
* @generated from field: optional metalstack.api.v2.MachineVPN vpn = 9;
|
|
1680
1657
|
*/
|
|
1681
|
-
vpn?: MachineVPN;
|
|
1658
|
+
vpn?: MachineVPN | undefined;
|
|
1682
1659
|
};
|
|
1683
1660
|
/**
|
|
1684
1661
|
* Describes the message metalstack.api.v2.MachineAllocationQuery.
|
|
@@ -1804,25 +1781,25 @@ export type MachineBMCQuery = Message<"metalstack.api.v2.MachineBMCQuery"> & {
|
|
|
1804
1781
|
*
|
|
1805
1782
|
* @generated from field: optional string address = 1;
|
|
1806
1783
|
*/
|
|
1807
|
-
address?: string;
|
|
1784
|
+
address?: string | undefined;
|
|
1808
1785
|
/**
|
|
1809
1786
|
* Mac of the ipmi system of this machine
|
|
1810
1787
|
*
|
|
1811
1788
|
* @generated from field: optional string mac = 2;
|
|
1812
1789
|
*/
|
|
1813
|
-
mac?: string;
|
|
1790
|
+
mac?: string | undefined;
|
|
1814
1791
|
/**
|
|
1815
1792
|
* User of the ipmi system of this machine
|
|
1816
1793
|
*
|
|
1817
1794
|
* @generated from field: optional string user = 3;
|
|
1818
1795
|
*/
|
|
1819
|
-
user?: string;
|
|
1796
|
+
user?: string | undefined;
|
|
1820
1797
|
/**
|
|
1821
1798
|
* Interface of the ipmi system of this machine
|
|
1822
1799
|
*
|
|
1823
1800
|
* @generated from field: optional string interface = 4;
|
|
1824
1801
|
*/
|
|
1825
|
-
interface?: string;
|
|
1802
|
+
interface?: string | undefined;
|
|
1826
1803
|
};
|
|
1827
1804
|
/**
|
|
1828
1805
|
* Describes the message metalstack.api.v2.MachineBMCQuery.
|
|
@@ -1840,49 +1817,49 @@ export type MachineFRUQuery = Message<"metalstack.api.v2.MachineFRUQuery"> & {
|
|
|
1840
1817
|
*
|
|
1841
1818
|
* @generated from field: optional string chassis_part_number = 1;
|
|
1842
1819
|
*/
|
|
1843
|
-
chassisPartNumber?: string;
|
|
1820
|
+
chassisPartNumber?: string | undefined;
|
|
1844
1821
|
/**
|
|
1845
1822
|
* ChassisPartSerial of this machine
|
|
1846
1823
|
*
|
|
1847
1824
|
* @generated from field: optional string chassis_part_serial = 2;
|
|
1848
1825
|
*/
|
|
1849
|
-
chassisPartSerial?: string;
|
|
1826
|
+
chassisPartSerial?: string | undefined;
|
|
1850
1827
|
/**
|
|
1851
1828
|
* BoardMFG of this machine
|
|
1852
1829
|
*
|
|
1853
1830
|
* @generated from field: optional string board_mfg = 3;
|
|
1854
1831
|
*/
|
|
1855
|
-
boardMfg?: string;
|
|
1832
|
+
boardMfg?: string | undefined;
|
|
1856
1833
|
/**
|
|
1857
1834
|
* BoardSerial of this machine
|
|
1858
1835
|
*
|
|
1859
1836
|
* @generated from field: optional string board_serial = 4;
|
|
1860
1837
|
*/
|
|
1861
|
-
boardSerial?: string;
|
|
1838
|
+
boardSerial?: string | undefined;
|
|
1862
1839
|
/**
|
|
1863
1840
|
* BoardPartNumber of this machine
|
|
1864
1841
|
*
|
|
1865
1842
|
* @generated from field: optional string board_part_number = 5;
|
|
1866
1843
|
*/
|
|
1867
|
-
boardPartNumber?: string;
|
|
1844
|
+
boardPartNumber?: string | undefined;
|
|
1868
1845
|
/**
|
|
1869
1846
|
* ProductManufacturer of this machine
|
|
1870
1847
|
*
|
|
1871
1848
|
* @generated from field: optional string product_manufacturer = 6;
|
|
1872
1849
|
*/
|
|
1873
|
-
productManufacturer?: string;
|
|
1850
|
+
productManufacturer?: string | undefined;
|
|
1874
1851
|
/**
|
|
1875
1852
|
* ProductPartNumber of this machine
|
|
1876
1853
|
*
|
|
1877
1854
|
* @generated from field: optional string product_part_number = 7;
|
|
1878
1855
|
*/
|
|
1879
|
-
productPartNumber?: string;
|
|
1856
|
+
productPartNumber?: string | undefined;
|
|
1880
1857
|
/**
|
|
1881
1858
|
* ProductSerial of this machine
|
|
1882
1859
|
*
|
|
1883
1860
|
* @generated from field: optional string product_serial = 8;
|
|
1884
1861
|
*/
|
|
1885
|
-
productSerial?: string;
|
|
1862
|
+
productSerial?: string | undefined;
|
|
1886
1863
|
};
|
|
1887
1864
|
/**
|
|
1888
1865
|
* Describes the message metalstack.api.v2.MachineFRUQuery.
|
|
@@ -1900,13 +1877,13 @@ export type MachineHardwareQuery = Message<"metalstack.api.v2.MachineHardwareQue
|
|
|
1900
1877
|
*
|
|
1901
1878
|
* @generated from field: optional uint64 memory = 1;
|
|
1902
1879
|
*/
|
|
1903
|
-
memory?: bigint;
|
|
1880
|
+
memory?: bigint | undefined;
|
|
1904
1881
|
/**
|
|
1905
1882
|
* CPUCores the number of cpu cores
|
|
1906
1883
|
*
|
|
1907
1884
|
* @generated from field: optional uint32 cpu_cores = 2;
|
|
1908
1885
|
*/
|
|
1909
|
-
cpuCores?: number;
|
|
1886
|
+
cpuCores?: number | undefined;
|
|
1910
1887
|
};
|
|
1911
1888
|
/**
|
|
1912
1889
|
* Describes the message metalstack.api.v2.MachineHardwareQuery.
|
|
@@ -1955,13 +1932,13 @@ export declare enum MachineState {
|
|
|
1955
1932
|
*/
|
|
1956
1933
|
UNSPECIFIED = 0,
|
|
1957
1934
|
/**
|
|
1958
|
-
*
|
|
1935
|
+
* MACHINE_STATE_TAINTED this machine is tainted, i.e. this machine is not considered during random machine allocation, but still by specifying the uuid
|
|
1959
1936
|
*
|
|
1960
|
-
* @generated from enum value:
|
|
1937
|
+
* @generated from enum value: MACHINE_STATE_TAINTED = 1;
|
|
1961
1938
|
*/
|
|
1962
|
-
|
|
1939
|
+
TAINTED = 1,
|
|
1963
1940
|
/**
|
|
1964
|
-
* MACHINE_STATE_LOCKED this machine is locked
|
|
1941
|
+
* MACHINE_STATE_LOCKED this machine is locked, i.e. this machine cannot be allocated or deleted
|
|
1965
1942
|
*
|
|
1966
1943
|
* @generated from enum value: MACHINE_STATE_LOCKED = 2;
|
|
1967
1944
|
*/
|