@scaleway/sdk-lb 2.4.1 → 2.5.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.
@@ -0,0 +1,463 @@
1
+ //#region src/v1/metadata.gen.ts
2
+ var queriesMetadata = {
3
+ namespace: "lb",
4
+ version: "v1",
5
+ folderName: "lbv1",
6
+ services: [{
7
+ apiClass: "ZonedAPI",
8
+ methods: [
9
+ {
10
+ methodName: "listLbs",
11
+ protoName: "ListLbs",
12
+ paramsType: "ZonedApiListLbsRequest",
13
+ returnType: "ListLbsResponse",
14
+ isList: true,
15
+ paginationType: "offset",
16
+ pageParamKey: "page",
17
+ listItemType: "Lb",
18
+ isPrivate: false,
19
+ description: "\""
20
+ },
21
+ {
22
+ methodName: "getLb",
23
+ protoName: "GetLb",
24
+ paramsType: "ZonedApiGetLbRequest",
25
+ returnType: "Lb",
26
+ isList: false,
27
+ paginationType: "none",
28
+ isPrivate: false,
29
+ description: "\"",
30
+ hasWaiter: true
31
+ },
32
+ {
33
+ methodName: "listIPs",
34
+ protoName: "ListIPs",
35
+ paramsType: "ZonedApiListIPsRequest",
36
+ returnType: "ListIpsResponse",
37
+ isList: true,
38
+ paginationType: "offset",
39
+ pageParamKey: "page",
40
+ listItemType: "Ip",
41
+ isPrivate: false,
42
+ description: "\""
43
+ },
44
+ {
45
+ methodName: "getIp",
46
+ protoName: "GetIp",
47
+ paramsType: "ZonedApiGetIpRequest",
48
+ returnType: "Ip",
49
+ isList: false,
50
+ paginationType: "none",
51
+ isPrivate: false,
52
+ description: "\""
53
+ },
54
+ {
55
+ methodName: "listBackends",
56
+ protoName: "ListBackends",
57
+ paramsType: "ZonedApiListBackendsRequest",
58
+ returnType: "ListBackendsResponse",
59
+ isList: true,
60
+ paginationType: "offset",
61
+ pageParamKey: "page",
62
+ listItemType: "Backend",
63
+ isPrivate: false,
64
+ description: "\""
65
+ },
66
+ {
67
+ methodName: "getBackend",
68
+ protoName: "GetBackend",
69
+ paramsType: "ZonedApiGetBackendRequest",
70
+ returnType: "Backend",
71
+ isList: false,
72
+ paginationType: "none",
73
+ isPrivate: false,
74
+ description: "\""
75
+ },
76
+ {
77
+ methodName: "listFrontends",
78
+ protoName: "ListFrontends",
79
+ paramsType: "ZonedApiListFrontendsRequest",
80
+ returnType: "ListFrontendsResponse",
81
+ isList: true,
82
+ paginationType: "offset",
83
+ pageParamKey: "page",
84
+ listItemType: "Frontend",
85
+ isPrivate: false,
86
+ description: "\""
87
+ },
88
+ {
89
+ methodName: "getFrontend",
90
+ protoName: "GetFrontend",
91
+ paramsType: "ZonedApiGetFrontendRequest",
92
+ returnType: "Frontend",
93
+ isList: false,
94
+ paginationType: "none",
95
+ isPrivate: false,
96
+ description: "\""
97
+ },
98
+ {
99
+ methodName: "listRoutes",
100
+ protoName: "ListRoutes",
101
+ paramsType: "ZonedApiListRoutesRequest",
102
+ returnType: "ListRoutesResponse",
103
+ isList: true,
104
+ paginationType: "offset",
105
+ pageParamKey: "page",
106
+ listItemType: "Route",
107
+ isPrivate: false,
108
+ description: "\""
109
+ },
110
+ {
111
+ methodName: "getRoute",
112
+ protoName: "GetRoute",
113
+ paramsType: "ZonedApiGetRouteRequest",
114
+ returnType: "Route",
115
+ isList: false,
116
+ paginationType: "none",
117
+ isPrivate: false,
118
+ description: "\""
119
+ },
120
+ {
121
+ methodName: "getLbStats",
122
+ protoName: "GetLbStats",
123
+ paramsType: "ZonedApiGetLbStatsRequest",
124
+ returnType: "LbStats",
125
+ isList: false,
126
+ paginationType: "none",
127
+ isPrivate: false,
128
+ description: "\""
129
+ },
130
+ {
131
+ methodName: "listBackendStats",
132
+ protoName: "ListBackendStats",
133
+ paramsType: "ZonedApiListBackendStatsRequest",
134
+ returnType: "ListBackendStatsResponse",
135
+ isList: true,
136
+ paginationType: "offset",
137
+ pageParamKey: "page",
138
+ listItemType: "BackendServerStats",
139
+ isPrivate: false,
140
+ description: "\""
141
+ },
142
+ {
143
+ methodName: "listAcls",
144
+ protoName: "ListAcls",
145
+ paramsType: "ZonedApiListAclsRequest",
146
+ returnType: "ListAclResponse",
147
+ isList: true,
148
+ paginationType: "offset",
149
+ pageParamKey: "page",
150
+ listItemType: "Acl",
151
+ isPrivate: false,
152
+ description: "\""
153
+ },
154
+ {
155
+ methodName: "getAcl",
156
+ protoName: "GetAcl",
157
+ paramsType: "ZonedApiGetAclRequest",
158
+ returnType: "Acl",
159
+ isList: false,
160
+ paginationType: "none",
161
+ isPrivate: false,
162
+ description: "\""
163
+ },
164
+ {
165
+ methodName: "listCertificates",
166
+ protoName: "ListCertificates",
167
+ paramsType: "ZonedApiListCertificatesRequest",
168
+ returnType: "ListCertificatesResponse",
169
+ isList: true,
170
+ paginationType: "offset",
171
+ pageParamKey: "page",
172
+ listItemType: "Certificate",
173
+ isPrivate: false,
174
+ description: "\""
175
+ },
176
+ {
177
+ methodName: "getCertificate",
178
+ protoName: "GetCertificate",
179
+ paramsType: "ZonedApiGetCertificateRequest",
180
+ returnType: "Certificate",
181
+ isList: false,
182
+ paginationType: "none",
183
+ isPrivate: false,
184
+ description: "\"",
185
+ hasWaiter: true
186
+ },
187
+ {
188
+ methodName: "listLbTypes",
189
+ protoName: "ListLbTypes",
190
+ paramsType: "ZonedApiListLbTypesRequest",
191
+ returnType: "ListLbTypesResponse",
192
+ isList: true,
193
+ paginationType: "offset",
194
+ pageParamKey: "page",
195
+ listItemType: "LbType",
196
+ isPrivate: false,
197
+ description: "\""
198
+ },
199
+ {
200
+ methodName: "getSubscriber",
201
+ protoName: "GetSubscriber",
202
+ paramsType: "ZonedApiGetSubscriberRequest",
203
+ returnType: "Subscriber",
204
+ isList: false,
205
+ paginationType: "none",
206
+ isPrivate: false,
207
+ description: "\""
208
+ },
209
+ {
210
+ methodName: "listSubscriber",
211
+ protoName: "ListSubscriber",
212
+ paramsType: "ZonedApiListSubscriberRequest",
213
+ returnType: "ListSubscriberResponse",
214
+ isList: true,
215
+ paginationType: "offset",
216
+ pageParamKey: "page",
217
+ listItemType: "Subscriber",
218
+ isPrivate: false,
219
+ description: "\""
220
+ },
221
+ {
222
+ methodName: "listLbPrivateNetworks",
223
+ protoName: "ListLbPrivateNetworks",
224
+ paramsType: "ZonedApiListLbPrivateNetworksRequest",
225
+ returnType: "ListLbPrivateNetworksResponse",
226
+ isList: true,
227
+ paginationType: "offset",
228
+ pageParamKey: "page",
229
+ listItemType: "PrivateNetwork",
230
+ isPrivate: false,
231
+ description: "\""
232
+ }
233
+ ]
234
+ }, {
235
+ apiClass: "API",
236
+ methods: [
237
+ {
238
+ methodName: "listLbs",
239
+ protoName: "ListLbs",
240
+ paramsType: "ListLbsRequest",
241
+ returnType: "ListLbsResponse",
242
+ isList: true,
243
+ paginationType: "offset",
244
+ pageParamKey: "page",
245
+ listItemType: "Lb",
246
+ isPrivate: false,
247
+ description: "\""
248
+ },
249
+ {
250
+ methodName: "getLb",
251
+ protoName: "GetLb",
252
+ paramsType: "GetLbRequest",
253
+ returnType: "Lb",
254
+ isList: false,
255
+ paginationType: "none",
256
+ isPrivate: false,
257
+ description: "\""
258
+ },
259
+ {
260
+ methodName: "listIPs",
261
+ protoName: "ListIPs",
262
+ paramsType: "ListIPsRequest",
263
+ returnType: "ListIpsResponse",
264
+ isList: true,
265
+ paginationType: "offset",
266
+ pageParamKey: "page",
267
+ listItemType: "Ip",
268
+ isPrivate: false,
269
+ description: "\""
270
+ },
271
+ {
272
+ methodName: "getIp",
273
+ protoName: "GetIp",
274
+ paramsType: "GetIpRequest",
275
+ returnType: "Ip",
276
+ isList: false,
277
+ paginationType: "none",
278
+ isPrivate: false,
279
+ description: "\""
280
+ },
281
+ {
282
+ methodName: "listBackends",
283
+ protoName: "ListBackends",
284
+ paramsType: "ListBackendsRequest",
285
+ returnType: "ListBackendsResponse",
286
+ isList: true,
287
+ paginationType: "offset",
288
+ pageParamKey: "page",
289
+ listItemType: "Backend",
290
+ isPrivate: false,
291
+ description: "\""
292
+ },
293
+ {
294
+ methodName: "getBackend",
295
+ protoName: "GetBackend",
296
+ paramsType: "GetBackendRequest",
297
+ returnType: "Backend",
298
+ isList: false,
299
+ paginationType: "none",
300
+ isPrivate: false,
301
+ description: "\""
302
+ },
303
+ {
304
+ methodName: "listFrontends",
305
+ protoName: "ListFrontends",
306
+ paramsType: "ListFrontendsRequest",
307
+ returnType: "ListFrontendsResponse",
308
+ isList: true,
309
+ paginationType: "offset",
310
+ pageParamKey: "page",
311
+ listItemType: "Frontend",
312
+ isPrivate: false,
313
+ description: "\""
314
+ },
315
+ {
316
+ methodName: "getFrontend",
317
+ protoName: "GetFrontend",
318
+ paramsType: "GetFrontendRequest",
319
+ returnType: "Frontend",
320
+ isList: false,
321
+ paginationType: "none",
322
+ isPrivate: false,
323
+ description: "\""
324
+ },
325
+ {
326
+ methodName: "listRoutes",
327
+ protoName: "ListRoutes",
328
+ paramsType: "ListRoutesRequest",
329
+ returnType: "ListRoutesResponse",
330
+ isList: true,
331
+ paginationType: "offset",
332
+ pageParamKey: "page",
333
+ listItemType: "Route",
334
+ isPrivate: false,
335
+ description: "\""
336
+ },
337
+ {
338
+ methodName: "getRoute",
339
+ protoName: "GetRoute",
340
+ paramsType: "GetRouteRequest",
341
+ returnType: "Route",
342
+ isList: false,
343
+ paginationType: "none",
344
+ isPrivate: false,
345
+ description: "\""
346
+ },
347
+ {
348
+ methodName: "getLbStats",
349
+ protoName: "GetLbStats",
350
+ paramsType: "GetLbStatsRequest",
351
+ returnType: "LbStats",
352
+ isList: false,
353
+ paginationType: "none",
354
+ isPrivate: false,
355
+ description: "\""
356
+ },
357
+ {
358
+ methodName: "listBackendStats",
359
+ protoName: "ListBackendStats",
360
+ paramsType: "ListBackendStatsRequest",
361
+ returnType: "ListBackendStatsResponse",
362
+ isList: true,
363
+ paginationType: "offset",
364
+ pageParamKey: "page",
365
+ listItemType: "BackendServerStats",
366
+ isPrivate: false,
367
+ description: "\""
368
+ },
369
+ {
370
+ methodName: "listAcls",
371
+ protoName: "ListAcls",
372
+ paramsType: "ListAclsRequest",
373
+ returnType: "ListAclResponse",
374
+ isList: true,
375
+ paginationType: "offset",
376
+ pageParamKey: "page",
377
+ listItemType: "Acl",
378
+ isPrivate: false,
379
+ description: "\""
380
+ },
381
+ {
382
+ methodName: "getAcl",
383
+ protoName: "GetAcl",
384
+ paramsType: "GetAclRequest",
385
+ returnType: "Acl",
386
+ isList: false,
387
+ paginationType: "none",
388
+ isPrivate: false,
389
+ description: "\""
390
+ },
391
+ {
392
+ methodName: "listCertificates",
393
+ protoName: "ListCertificates",
394
+ paramsType: "ListCertificatesRequest",
395
+ returnType: "ListCertificatesResponse",
396
+ isList: true,
397
+ paginationType: "offset",
398
+ pageParamKey: "page",
399
+ listItemType: "Certificate",
400
+ isPrivate: false,
401
+ description: "\""
402
+ },
403
+ {
404
+ methodName: "getCertificate",
405
+ protoName: "GetCertificate",
406
+ paramsType: "GetCertificateRequest",
407
+ returnType: "Certificate",
408
+ isList: false,
409
+ paginationType: "none",
410
+ isPrivate: false,
411
+ description: "\""
412
+ },
413
+ {
414
+ methodName: "listLbTypes",
415
+ protoName: "ListLbTypes",
416
+ paramsType: "ListLbTypesRequest",
417
+ returnType: "ListLbTypesResponse",
418
+ isList: true,
419
+ paginationType: "offset",
420
+ pageParamKey: "page",
421
+ listItemType: "LbType",
422
+ isPrivate: false,
423
+ description: "\""
424
+ },
425
+ {
426
+ methodName: "getSubscriber",
427
+ protoName: "GetSubscriber",
428
+ paramsType: "GetSubscriberRequest",
429
+ returnType: "Subscriber",
430
+ isList: false,
431
+ paginationType: "none",
432
+ isPrivate: false,
433
+ description: "\""
434
+ },
435
+ {
436
+ methodName: "listSubscriber",
437
+ protoName: "ListSubscriber",
438
+ paramsType: "ListSubscriberRequest",
439
+ returnType: "ListSubscriberResponse",
440
+ isList: true,
441
+ paginationType: "offset",
442
+ pageParamKey: "page",
443
+ listItemType: "Subscriber",
444
+ isPrivate: false,
445
+ description: "\""
446
+ },
447
+ {
448
+ methodName: "listLbPrivateNetworks",
449
+ protoName: "ListLbPrivateNetworks",
450
+ paramsType: "ListLbPrivateNetworksRequest",
451
+ returnType: "ListLbPrivateNetworksResponse",
452
+ isList: true,
453
+ paginationType: "offset",
454
+ pageParamKey: "page",
455
+ listItemType: "PrivateNetwork",
456
+ isPrivate: false,
457
+ description: "\""
458
+ }
459
+ ]
460
+ }]
461
+ };
462
+ //#endregion
463
+ export { queriesMetadata };
@@ -772,6 +772,14 @@ export interface LbType {
772
772
  * Current stock status for a given Load Balancer type.
773
773
  */
774
774
  stockStatus: LbTypeStock;
775
+ /**
776
+ * Maximum bandwidth for a given Load Balancer type.
777
+ */
778
+ bandwidth: number;
779
+ /**
780
+ * Ability to handle backend servers outside Scaleway for a given Load Balancer type.
781
+ */
782
+ multicloud: boolean;
775
783
  /**
776
784
  * Load Balancer commercial offer type description.
777
785
  */
@@ -1162,7 +1170,7 @@ export type CreateLbRequest = {
1162
1170
  */
1163
1171
  type: string;
1164
1172
  /**
1165
- * Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems. Modern is suitable for services with clients that support TLS 1.3 and do not need backward compatibility. Old is compatible with a small number of very old clients and should be used only as a last resort.
1173
+ * Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems (>= TLS1.2). Modern is suitable for services with clients that support TLS 1.3 and do not need backward compatibility (= TLS1.3). Old is compatible with a small number of very old clients and should be used only as a last resort (>= TLS1.0).
1166
1174
  */
1167
1175
  sslCompatibilityLevel?: SSLCompatibilityLevel;
1168
1176
  };
@@ -2186,7 +2194,7 @@ export type UpdateLbRequest = {
2186
2194
  */
2187
2195
  tags?: string[];
2188
2196
  /**
2189
- * Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems. Modern is suitable for services with clients that support TLS 1.3 and don't need backward compatibility. Old is compatible with a small number of very old clients and should be used only as a last resort.
2197
+ * Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems (>= TLS1.2). Modern is suitable for services with clients that support TLS 1.3 and do not need backward compatibility (= TLS1.3). Old is compatible with a small number of very old clients and should be used only as a last resort (>= TLS1.0).
2190
2198
  */
2191
2199
  sslCompatibilityLevel?: SSLCompatibilityLevel;
2192
2200
  };
@@ -2563,7 +2571,7 @@ export type ZonedApiCreateLbRequest = {
2563
2571
  */
2564
2572
  type: string;
2565
2573
  /**
2566
- * Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems. Modern is suitable for services with clients that support TLS 1.3 and do not need backward compatibility. Old is compatible with a small number of very old clients and should be used only as a last resort.
2574
+ * Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems (>= TLS1.2). Modern is suitable for services with clients that support TLS 1.3 and do not need backward compatibility (= TLS1.3). Old is compatible with a small number of very old clients and should be used only as a last resort (>= TLS1.0).
2567
2575
  */
2568
2576
  sslCompatibilityLevel?: SSLCompatibilityLevel;
2569
2577
  };
@@ -3475,7 +3483,7 @@ export type ZonedApiUpdateLbRequest = {
3475
3483
  */
3476
3484
  tags?: string[];
3477
3485
  /**
3478
- * Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems. Modern is suitable for services with clients that support TLS 1.3 and don't need backward compatibility. Old is compatible with a small number of very old clients and should be used only as a last resort.
3486
+ * Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems (>= TLS1.2). Modern is suitable for services with clients that support TLS 1.3 and do not need backward compatibility (= TLS1.3). Old is compatible with a small number of very old clients and should be used only as a last resort (>= TLS1.0).
3479
3487
  */
3480
3488
  sslCompatibilityLevel?: SSLCompatibilityLevel;
3481
3489
  };
File without changes
@@ -1,8 +1,10 @@
1
1
  import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
+ //#region src/v1/validation-rules.gen.ts
2
3
  var validation_rules_gen_exports = /* @__PURE__ */ __exportAll({
3
4
  HealthCheckHttpConfig: () => HealthCheckHttpConfig,
4
5
  HealthCheckHttpsConfig: () => HealthCheckHttpsConfig
5
6
  });
6
- const HealthCheckHttpConfig = { hostHeader: { pattern: /^[^\s]+$/ } };
7
- const HealthCheckHttpsConfig = { hostHeader: { pattern: /^[^\s]+$/ } };
8
- export { validation_rules_gen_exports };
7
+ var HealthCheckHttpConfig = { hostHeader: { pattern: /^[^\s]+$/ } };
8
+ var HealthCheckHttpsConfig = { hostHeader: { pattern: /^[^\s]+$/ } };
9
+ //#endregion
10
+ export { HealthCheckHttpConfig, HealthCheckHttpsConfig, validation_rules_gen_exports };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-lb",
3
- "version": "2.4.1",
3
+ "version": "2.5.0",
4
4
  "description": "Scaleway SDK lb",
5
5
  "license": "Apache-2.0",
6
6
  "files": [
@@ -26,14 +26,14 @@
26
26
  "node": ">=20.19.6"
27
27
  },
28
28
  "dependencies": {
29
- "@scaleway/random-name": "5.1.2",
30
- "@scaleway/sdk-std": "2.2.1"
29
+ "@scaleway/random-name": "5.1.4",
30
+ "@scaleway/sdk-std": "2.2.2"
31
31
  },
32
32
  "peerDependencies": {
33
- "@scaleway/sdk-client": "^2.2.1"
33
+ "@scaleway/sdk-client": "^2.2.2"
34
34
  },
35
35
  "devDependencies": {
36
- "@scaleway/sdk-client": "^2.2.1"
36
+ "@scaleway/sdk-client": "^2.2.2"
37
37
  },
38
38
  "scripts": {
39
39
  "package:check": "pnpm publint",