@metal-stack/api 0.0.51 → 0.0.52
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/metalstack/admin/v2/size_imageconstraint_pb.d.ts +293 -0
- package/js/metalstack/admin/v2/size_imageconstraint_pb.js +68 -0
- package/js/metalstack/admin/v2/size_imageconstraint_pb.ts +345 -0
- package/js/metalstack/api/v2/machine_pb.d.ts +27 -3
- package/js/metalstack/api/v2/machine_pb.js +33 -28
- package/js/metalstack/api/v2/machine_pb.ts +59 -31
- package/js/metalstack/api/v2/size_imageconstraint_pb.d.ts +165 -0
- package/js/metalstack/api/v2/size_imageconstraint_pb.js +42 -0
- package/js/metalstack/api/v2/size_imageconstraint_pb.ts +202 -0
- package/js/metalstack/api/v2/size_pb.js +1 -1
- package/js/metalstack/api/v2/size_pb.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/admin/v2/size_imageconstraint.proto (package metalstack.admin.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
|
+
import type { Meta, UpdateMeta } from "../../api/v2/common_pb";
|
|
9
|
+
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
10
|
+
import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined_rules_pb";
|
|
11
|
+
import type { ImageConstraint, SizeImageConstraint, SizeImageConstraintQuery } from "../../api/v2/size_imageconstraint_pb";
|
|
12
|
+
import { file_metalstack_api_v2_size_imageconstraint } from "../../api/v2/size_imageconstraint_pb";
|
|
13
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the file metalstack/admin/v2/size_imageconstraint.proto.
|
|
17
|
+
*/
|
|
18
|
+
export const file_metalstack_admin_v2_size_imageconstraint: GenFile = /*@__PURE__*/
|
|
19
|
+
fileDesc("Ci5tZXRhbHN0YWNrL2FkbWluL3YyL3NpemVfaW1hZ2Vjb25zdHJhaW50LnByb3RvEhNtZXRhbHN0YWNrLmFkbWluLnYyIooCCidTaXplSW1hZ2VDb25zdHJhaW50U2VydmljZUNyZWF0ZVJlcXVlc3QSGQoEc2l6ZRgBIAEoCUILukgIcgbAs66xAgESPQoRaW1hZ2VfY29uc3RyYWludHMYAiADKAsyIi5tZXRhbHN0YWNrLmFwaS52Mi5JbWFnZUNvbnN0cmFpbnQSJQoEbWV0YRgDIAEoCzIXLm1ldGFsc3RhY2suYXBpLnYyLk1ldGESHgoEbmFtZRgEIAEoCUILukgIcgbAs66xAgFIAIgBARIlCgtkZXNjcmlwdGlvbhgFIAEoCUILukgIcgbIs66xAgFIAYgBAUIHCgVfbmFtZUIOCgxfZGVzY3JpcHRpb24icQooU2l6ZUltYWdlQ29uc3RyYWludFNlcnZpY2VDcmVhdGVSZXNwb25zZRJFChVzaXplX2ltYWdlX2NvbnN0cmFpbnQYASABKAsyJi5tZXRhbHN0YWNrLmFwaS52Mi5TaXplSW1hZ2VDb25zdHJhaW50Ip8CCidTaXplSW1hZ2VDb25zdHJhaW50U2VydmljZVVwZGF0ZVJlcXVlc3QSGQoEc2l6ZRgBIAEoCUILukgIcgbAs66xAgESOgoLdXBkYXRlX21ldGEYAiABKAsyHS5tZXRhbHN0YWNrLmFwaS52Mi5VcGRhdGVNZXRhQga6SAPIAQESPQoRaW1hZ2VfY29uc3RyYWludHMYAyADKAsyIi5tZXRhbHN0YWNrLmFwaS52Mi5JbWFnZUNvbnN0cmFpbnQSHgoEbmFtZRgEIAEoCUILukgIcgbAs66xAgFIAIgBARIlCgtkZXNjcmlw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ICA01BWKoCE01ldGFsc3RhY2suQWRtaW4uVjLKAhNNZXRhbHN0YWNrXEFkbWluXFYy4gIfTWV0YWxzdGFja1xBZG1pblxWMlxHUEJNZXRhZGF0YeoCFU1ldGFsc3RhY2s6OkFkbWluOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_size_imageconstraint]);
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* SizeImageConstraintServiceCreateRequest is the request payload for a size image constraint create request
|
|
23
|
+
*
|
|
24
|
+
* @generated from message metalstack.admin.v2.SizeImageConstraintServiceCreateRequest
|
|
25
|
+
*/
|
|
26
|
+
export type SizeImageConstraintServiceCreateRequest = Message<"metalstack.admin.v2.SizeImageConstraintServiceCreateRequest"> & {
|
|
27
|
+
/**
|
|
28
|
+
* Size of the constraint
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: string size = 1;
|
|
31
|
+
*/
|
|
32
|
+
size: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* ImageConstraints to apply to this size
|
|
36
|
+
*
|
|
37
|
+
* @generated from field: repeated metalstack.api.v2.ImageConstraint image_constraints = 2;
|
|
38
|
+
*/
|
|
39
|
+
imageConstraints: ImageConstraint[];
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Meta for this size image constraint
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: metalstack.api.v2.Meta meta = 3;
|
|
45
|
+
*/
|
|
46
|
+
meta?: Meta;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Name of this size image constraint
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: optional string name = 4;
|
|
52
|
+
*/
|
|
53
|
+
name?: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Description of this size image constraint
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: optional string description = 5;
|
|
59
|
+
*/
|
|
60
|
+
description?: string;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Describes the message metalstack.admin.v2.SizeImageConstraintServiceCreateRequest.
|
|
65
|
+
* Use `create(SizeImageConstraintServiceCreateRequestSchema)` to create a new message.
|
|
66
|
+
*/
|
|
67
|
+
export const SizeImageConstraintServiceCreateRequestSchema: GenMessage<SizeImageConstraintServiceCreateRequest> = /*@__PURE__*/
|
|
68
|
+
messageDesc(file_metalstack_admin_v2_size_imageconstraint, 0);
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* SizeImageConstraintServiceCreateResponse is the response payload for a size image constraint create request
|
|
72
|
+
*
|
|
73
|
+
* @generated from message metalstack.admin.v2.SizeImageConstraintServiceCreateResponse
|
|
74
|
+
*/
|
|
75
|
+
export type SizeImageConstraintServiceCreateResponse = Message<"metalstack.admin.v2.SizeImageConstraintServiceCreateResponse"> & {
|
|
76
|
+
/**
|
|
77
|
+
* SizeImageConstraint created
|
|
78
|
+
*
|
|
79
|
+
* @generated from field: metalstack.api.v2.SizeImageConstraint size_image_constraint = 1;
|
|
80
|
+
*/
|
|
81
|
+
sizeImageConstraint?: SizeImageConstraint;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Describes the message metalstack.admin.v2.SizeImageConstraintServiceCreateResponse.
|
|
86
|
+
* Use `create(SizeImageConstraintServiceCreateResponseSchema)` to create a new message.
|
|
87
|
+
*/
|
|
88
|
+
export const SizeImageConstraintServiceCreateResponseSchema: GenMessage<SizeImageConstraintServiceCreateResponse> = /*@__PURE__*/
|
|
89
|
+
messageDesc(file_metalstack_admin_v2_size_imageconstraint, 1);
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* SizeImageConstraintServiceUpdateRequest is the request payload for a size image constraint update request
|
|
93
|
+
*
|
|
94
|
+
* @generated from message metalstack.admin.v2.SizeImageConstraintServiceUpdateRequest
|
|
95
|
+
*/
|
|
96
|
+
export type SizeImageConstraintServiceUpdateRequest = Message<"metalstack.admin.v2.SizeImageConstraintServiceUpdateRequest"> & {
|
|
97
|
+
/**
|
|
98
|
+
* Size of the image constraint to update
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: string size = 1;
|
|
101
|
+
*/
|
|
102
|
+
size: string;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
106
|
+
*
|
|
107
|
+
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
108
|
+
*/
|
|
109
|
+
updateMeta?: UpdateMeta;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* ImageConstraints to apply to this size
|
|
113
|
+
*
|
|
114
|
+
* @generated from field: repeated metalstack.api.v2.ImageConstraint image_constraints = 3;
|
|
115
|
+
*/
|
|
116
|
+
imageConstraints: ImageConstraint[];
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Name of this size image constraint
|
|
120
|
+
*
|
|
121
|
+
* @generated from field: optional string name = 4;
|
|
122
|
+
*/
|
|
123
|
+
name?: string;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Description of this size image constraint
|
|
127
|
+
*
|
|
128
|
+
* @generated from field: optional string description = 5;
|
|
129
|
+
*/
|
|
130
|
+
description?: string;
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Describes the message metalstack.admin.v2.SizeImageConstraintServiceUpdateRequest.
|
|
135
|
+
* Use `create(SizeImageConstraintServiceUpdateRequestSchema)` to create a new message.
|
|
136
|
+
*/
|
|
137
|
+
export const SizeImageConstraintServiceUpdateRequestSchema: GenMessage<SizeImageConstraintServiceUpdateRequest> = /*@__PURE__*/
|
|
138
|
+
messageDesc(file_metalstack_admin_v2_size_imageconstraint, 2);
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* SizeImageConstraintServiceUpdateResponse is the response payload for a size image constraint update request
|
|
142
|
+
*
|
|
143
|
+
* @generated from message metalstack.admin.v2.SizeImageConstraintServiceUpdateResponse
|
|
144
|
+
*/
|
|
145
|
+
export type SizeImageConstraintServiceUpdateResponse = Message<"metalstack.admin.v2.SizeImageConstraintServiceUpdateResponse"> & {
|
|
146
|
+
/**
|
|
147
|
+
* SizeImageConstraint updated
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: metalstack.api.v2.SizeImageConstraint size_image_constraint = 1;
|
|
150
|
+
*/
|
|
151
|
+
sizeImageConstraint?: SizeImageConstraint;
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Describes the message metalstack.admin.v2.SizeImageConstraintServiceUpdateResponse.
|
|
156
|
+
* Use `create(SizeImageConstraintServiceUpdateResponseSchema)` to create a new message.
|
|
157
|
+
*/
|
|
158
|
+
export const SizeImageConstraintServiceUpdateResponseSchema: GenMessage<SizeImageConstraintServiceUpdateResponse> = /*@__PURE__*/
|
|
159
|
+
messageDesc(file_metalstack_admin_v2_size_imageconstraint, 3);
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* SizeImageConstraintServiceDeleteRequest is the request payload for a size image constraint delete request
|
|
163
|
+
*
|
|
164
|
+
* @generated from message metalstack.admin.v2.SizeImageConstraintServiceDeleteRequest
|
|
165
|
+
*/
|
|
166
|
+
export type SizeImageConstraintServiceDeleteRequest = Message<"metalstack.admin.v2.SizeImageConstraintServiceDeleteRequest"> & {
|
|
167
|
+
/**
|
|
168
|
+
* Size of the constraint
|
|
169
|
+
*
|
|
170
|
+
* @generated from field: string size = 1;
|
|
171
|
+
*/
|
|
172
|
+
size: string;
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Describes the message metalstack.admin.v2.SizeImageConstraintServiceDeleteRequest.
|
|
177
|
+
* Use `create(SizeImageConstraintServiceDeleteRequestSchema)` to create a new message.
|
|
178
|
+
*/
|
|
179
|
+
export const SizeImageConstraintServiceDeleteRequestSchema: GenMessage<SizeImageConstraintServiceDeleteRequest> = /*@__PURE__*/
|
|
180
|
+
messageDesc(file_metalstack_admin_v2_size_imageconstraint, 4);
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* SizeImageConstraintServiceDeleteResponse is the response payload for a size image constraint delete request
|
|
184
|
+
*
|
|
185
|
+
* @generated from message metalstack.admin.v2.SizeImageConstraintServiceDeleteResponse
|
|
186
|
+
*/
|
|
187
|
+
export type SizeImageConstraintServiceDeleteResponse = Message<"metalstack.admin.v2.SizeImageConstraintServiceDeleteResponse"> & {
|
|
188
|
+
/**
|
|
189
|
+
* SizeImageConstraint deleted
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: metalstack.api.v2.SizeImageConstraint size_image_constraint = 1;
|
|
192
|
+
*/
|
|
193
|
+
sizeImageConstraint?: SizeImageConstraint;
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Describes the message metalstack.admin.v2.SizeImageConstraintServiceDeleteResponse.
|
|
198
|
+
* Use `create(SizeImageConstraintServiceDeleteResponseSchema)` to create a new message.
|
|
199
|
+
*/
|
|
200
|
+
export const SizeImageConstraintServiceDeleteResponseSchema: GenMessage<SizeImageConstraintServiceDeleteResponse> = /*@__PURE__*/
|
|
201
|
+
messageDesc(file_metalstack_admin_v2_size_imageconstraint, 5);
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* SizeImageConstraintServiceGetRequest is the request payload for a size image constraint get request
|
|
205
|
+
*
|
|
206
|
+
* @generated from message metalstack.admin.v2.SizeImageConstraintServiceGetRequest
|
|
207
|
+
*/
|
|
208
|
+
export type SizeImageConstraintServiceGetRequest = Message<"metalstack.admin.v2.SizeImageConstraintServiceGetRequest"> & {
|
|
209
|
+
/**
|
|
210
|
+
* Size of the constraint
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: string size = 1;
|
|
213
|
+
*/
|
|
214
|
+
size: string;
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Describes the message metalstack.admin.v2.SizeImageConstraintServiceGetRequest.
|
|
219
|
+
* Use `create(SizeImageConstraintServiceGetRequestSchema)` to create a new message.
|
|
220
|
+
*/
|
|
221
|
+
export const SizeImageConstraintServiceGetRequestSchema: GenMessage<SizeImageConstraintServiceGetRequest> = /*@__PURE__*/
|
|
222
|
+
messageDesc(file_metalstack_admin_v2_size_imageconstraint, 6);
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* SizeImageConstraintServiceGetResponse is the response payload for a size image constraint get request
|
|
226
|
+
*
|
|
227
|
+
* @generated from message metalstack.admin.v2.SizeImageConstraintServiceGetResponse
|
|
228
|
+
*/
|
|
229
|
+
export type SizeImageConstraintServiceGetResponse = Message<"metalstack.admin.v2.SizeImageConstraintServiceGetResponse"> & {
|
|
230
|
+
/**
|
|
231
|
+
* SizeImageConstraint get
|
|
232
|
+
*
|
|
233
|
+
* @generated from field: metalstack.api.v2.SizeImageConstraint size_image_constraint = 1;
|
|
234
|
+
*/
|
|
235
|
+
sizeImageConstraint?: SizeImageConstraint;
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Describes the message metalstack.admin.v2.SizeImageConstraintServiceGetResponse.
|
|
240
|
+
* Use `create(SizeImageConstraintServiceGetResponseSchema)` to create a new message.
|
|
241
|
+
*/
|
|
242
|
+
export const SizeImageConstraintServiceGetResponseSchema: GenMessage<SizeImageConstraintServiceGetResponse> = /*@__PURE__*/
|
|
243
|
+
messageDesc(file_metalstack_admin_v2_size_imageconstraint, 7);
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* SizeImageConstraintServiceListRequest is the request payload for a size image constraint list request
|
|
247
|
+
*
|
|
248
|
+
* @generated from message metalstack.admin.v2.SizeImageConstraintServiceListRequest
|
|
249
|
+
*/
|
|
250
|
+
export type SizeImageConstraintServiceListRequest = Message<"metalstack.admin.v2.SizeImageConstraintServiceListRequest"> & {
|
|
251
|
+
/**
|
|
252
|
+
* Query for size image constraints
|
|
253
|
+
*
|
|
254
|
+
* @generated from field: metalstack.api.v2.SizeImageConstraintQuery query = 1;
|
|
255
|
+
*/
|
|
256
|
+
query?: SizeImageConstraintQuery;
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Describes the message metalstack.admin.v2.SizeImageConstraintServiceListRequest.
|
|
261
|
+
* Use `create(SizeImageConstraintServiceListRequestSchema)` to create a new message.
|
|
262
|
+
*/
|
|
263
|
+
export const SizeImageConstraintServiceListRequestSchema: GenMessage<SizeImageConstraintServiceListRequest> = /*@__PURE__*/
|
|
264
|
+
messageDesc(file_metalstack_admin_v2_size_imageconstraint, 8);
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* SizeImageConstraintServiceListResponse is the response payload for a size image constraint list request
|
|
268
|
+
*
|
|
269
|
+
* @generated from message metalstack.admin.v2.SizeImageConstraintServiceListResponse
|
|
270
|
+
*/
|
|
271
|
+
export type SizeImageConstraintServiceListResponse = Message<"metalstack.admin.v2.SizeImageConstraintServiceListResponse"> & {
|
|
272
|
+
/**
|
|
273
|
+
* SizeImageConstraints listed
|
|
274
|
+
*
|
|
275
|
+
* @generated from field: repeated metalstack.api.v2.SizeImageConstraint size_image_constraints = 1;
|
|
276
|
+
*/
|
|
277
|
+
sizeImageConstraints: SizeImageConstraint[];
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Describes the message metalstack.admin.v2.SizeImageConstraintServiceListResponse.
|
|
282
|
+
* Use `create(SizeImageConstraintServiceListResponseSchema)` to create a new message.
|
|
283
|
+
*/
|
|
284
|
+
export const SizeImageConstraintServiceListResponseSchema: GenMessage<SizeImageConstraintServiceListResponse> = /*@__PURE__*/
|
|
285
|
+
messageDesc(file_metalstack_admin_v2_size_imageconstraint, 9);
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* SizeImageConstraintService serves size and image constraint related functions
|
|
289
|
+
*
|
|
290
|
+
* @generated from service metalstack.admin.v2.SizeImageConstraintService
|
|
291
|
+
*/
|
|
292
|
+
export const SizeImageConstraintService: GenService<{
|
|
293
|
+
/**
|
|
294
|
+
* Create a size image constraint
|
|
295
|
+
*
|
|
296
|
+
* @generated from rpc metalstack.admin.v2.SizeImageConstraintService.Create
|
|
297
|
+
*/
|
|
298
|
+
create: {
|
|
299
|
+
methodKind: "unary";
|
|
300
|
+
input: typeof SizeImageConstraintServiceCreateRequestSchema;
|
|
301
|
+
output: typeof SizeImageConstraintServiceCreateResponseSchema;
|
|
302
|
+
},
|
|
303
|
+
/**
|
|
304
|
+
* Update a size image constraint
|
|
305
|
+
*
|
|
306
|
+
* @generated from rpc metalstack.admin.v2.SizeImageConstraintService.Update
|
|
307
|
+
*/
|
|
308
|
+
update: {
|
|
309
|
+
methodKind: "unary";
|
|
310
|
+
input: typeof SizeImageConstraintServiceUpdateRequestSchema;
|
|
311
|
+
output: typeof SizeImageConstraintServiceUpdateResponseSchema;
|
|
312
|
+
},
|
|
313
|
+
/**
|
|
314
|
+
* Delete a size image constraint
|
|
315
|
+
*
|
|
316
|
+
* @generated from rpc metalstack.admin.v2.SizeImageConstraintService.Delete
|
|
317
|
+
*/
|
|
318
|
+
delete: {
|
|
319
|
+
methodKind: "unary";
|
|
320
|
+
input: typeof SizeImageConstraintServiceDeleteRequestSchema;
|
|
321
|
+
output: typeof SizeImageConstraintServiceDeleteResponseSchema;
|
|
322
|
+
},
|
|
323
|
+
/**
|
|
324
|
+
* Get a size image constraint
|
|
325
|
+
*
|
|
326
|
+
* @generated from rpc metalstack.admin.v2.SizeImageConstraintService.Get
|
|
327
|
+
*/
|
|
328
|
+
get: {
|
|
329
|
+
methodKind: "unary";
|
|
330
|
+
input: typeof SizeImageConstraintServiceGetRequestSchema;
|
|
331
|
+
output: typeof SizeImageConstraintServiceGetResponseSchema;
|
|
332
|
+
},
|
|
333
|
+
/**
|
|
334
|
+
* List a size image constraint
|
|
335
|
+
*
|
|
336
|
+
* @generated from rpc metalstack.admin.v2.SizeImageConstraintService.List
|
|
337
|
+
*/
|
|
338
|
+
list: {
|
|
339
|
+
methodKind: "unary";
|
|
340
|
+
input: typeof SizeImageConstraintServiceListRequestSchema;
|
|
341
|
+
output: typeof SizeImageConstraintServiceListResponseSchema;
|
|
342
|
+
},
|
|
343
|
+
}> = /*@__PURE__*/
|
|
344
|
+
serviceDesc(file_metalstack_admin_v2_size_imageconstraint, 0);
|
|
345
|
+
|
|
@@ -144,9 +144,9 @@ export type MachineServiceCreateRequest = Message<"metalstack.api.v2.MachineServ
|
|
|
144
144
|
/**
|
|
145
145
|
* IPs to to attach to this machine additionally
|
|
146
146
|
*
|
|
147
|
-
* @generated from field: repeated
|
|
147
|
+
* @generated from field: repeated metalstack.api.v2.MachineAllocationIp ips = 14;
|
|
148
148
|
*/
|
|
149
|
-
ips:
|
|
149
|
+
ips: MachineAllocationIp[];
|
|
150
150
|
/**
|
|
151
151
|
* PlacementTags by default machines are spread across the racks inside a partition for every project.
|
|
152
152
|
* if placement tags are provided, the machine candidate has an additional anti-affinity to other machines having the same tags
|
|
@@ -193,7 +193,7 @@ export type FirewallSpec = Message<"metalstack.api.v2.FirewallSpec"> & {
|
|
|
193
193
|
/**
|
|
194
194
|
* FirewallRules to be applied if this is a firewall
|
|
195
195
|
*
|
|
196
|
-
* @generated from field: metalstack.api.v2.FirewallRules firewall_rules =
|
|
196
|
+
* @generated from field: metalstack.api.v2.FirewallRules firewall_rules = 1;
|
|
197
197
|
*/
|
|
198
198
|
firewallRules?: FirewallRules;
|
|
199
199
|
};
|
|
@@ -731,6 +731,30 @@ export type MachineAllocationNetwork = Message<"metalstack.api.v2.MachineAllocat
|
|
|
731
731
|
* Use `create(MachineAllocationNetworkSchema)` to create a new message.
|
|
732
732
|
*/
|
|
733
733
|
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>;
|
|
734
758
|
/**
|
|
735
759
|
* FirewallRules can be defined during firewall allocation
|
|
736
760
|
*
|