@scaleway/sdk 2.22.0 → 2.24.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.
- package/dist/api/dedibox/index.js +2 -0
- package/dist/api/dedibox/v1/api.gen.js +974 -0
- package/dist/api/dedibox/v1/content.gen.js +31 -0
- package/dist/api/dedibox/v1/index.gen.js +7 -0
- package/dist/api/dedibox/v1/marshalling.gen.js +1198 -0
- package/dist/api/dedibox/v1/validation-rules.gen.js +544 -0
- package/dist/api/iam/v1alpha1/api.gen.js +1 -1
- package/dist/api/iam/v1alpha1/marshalling.gen.js +3 -0
- package/dist/api/jobs/v1alpha1/api.gen.js +2 -2
- package/dist/api/secret/v1beta1/api.gen.js +16 -1
- package/dist/api/secret/v1beta1/index.gen.js +2 -0
- package/dist/api/secret/v1beta1/marshalling.gen.js +2 -1
- package/dist/api/secret/v1beta1/validation-rules.gen.js +10 -0
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +1 -1
- package/dist/api/vpc/v2/api.gen.js +14 -0
- package/dist/api/webhosting/v1alpha1/marshalling.gen.js +1 -0
- package/dist/index.cjs +3219 -319
- package/dist/index.d.ts +4303 -940
- package/dist/index.js +52 -50
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,544 @@
|
|
|
1
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
2
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
3
|
+
|
|
4
|
+
const AttachFailoverIPToMacAddressRequest = {
|
|
5
|
+
ipId: {
|
|
6
|
+
greaterThan: 0
|
|
7
|
+
}
|
|
8
|
+
};
|
|
9
|
+
const AttachFailoverIPsRequest = {
|
|
10
|
+
serverId: {
|
|
11
|
+
greaterThan: 0
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
const BillingApiDownloadInvoiceRequest = {
|
|
15
|
+
invoiceId: {
|
|
16
|
+
greaterThan: 0
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
const BillingApiDownloadRefundRequest = {
|
|
20
|
+
refundId: {
|
|
21
|
+
greaterThan: 0
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
const BillingApiGetInvoiceRequest = {
|
|
25
|
+
invoiceId: {
|
|
26
|
+
greaterThan: 0
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
const BillingApiGetRefundRequest = {
|
|
30
|
+
refundId: {
|
|
31
|
+
greaterThan: 0
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
const BillingApiListInvoicesRequest = {
|
|
35
|
+
page: {
|
|
36
|
+
greaterThan: 0
|
|
37
|
+
},
|
|
38
|
+
pageSize: {
|
|
39
|
+
greaterThan: 0,
|
|
40
|
+
lessThanOrEqual: 100
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
const BillingApiListRefundsRequest = {
|
|
44
|
+
page: {
|
|
45
|
+
greaterThan: 0
|
|
46
|
+
},
|
|
47
|
+
pageSize: {
|
|
48
|
+
greaterThan: 0,
|
|
49
|
+
lessThanOrEqual: 100
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
const CancelServerInstallRequest = {
|
|
53
|
+
serverId: {
|
|
54
|
+
greaterThan: 0
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
const DeleteFailoverIPRequest = {
|
|
58
|
+
ipId: {
|
|
59
|
+
greaterThan: 0
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
const DeleteServerRequest = {
|
|
63
|
+
serverId: {
|
|
64
|
+
greaterThan: 0
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
const DeleteServiceRequest = {
|
|
68
|
+
serviceId: {
|
|
69
|
+
greaterThan: 0
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
const DetachFailoverIPFromMacAddressRequest = {
|
|
73
|
+
ipId: {
|
|
74
|
+
greaterThan: 0
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
const GetBMCAccessRequest = {
|
|
78
|
+
serverId: {
|
|
79
|
+
greaterThan: 0
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
const GetFailoverIPRequest = {
|
|
83
|
+
ipId: {
|
|
84
|
+
greaterThan: 0
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
const GetOSRequest = {
|
|
88
|
+
osId: {
|
|
89
|
+
greaterThan: 0
|
|
90
|
+
},
|
|
91
|
+
serverId: {
|
|
92
|
+
greaterThan: 0
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
const GetOfferRequest = {
|
|
96
|
+
offerId: {
|
|
97
|
+
greaterThan: 0
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
const GetOrderedServiceRequest = {
|
|
101
|
+
orderedServiceId: {
|
|
102
|
+
greaterThan: 0
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
const GetRaidRequest = {
|
|
106
|
+
serverId: {
|
|
107
|
+
greaterThan: 0
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
const GetRescueRequest = {
|
|
111
|
+
serverId: {
|
|
112
|
+
greaterThan: 0
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
const GetServerBackupRequest = {
|
|
116
|
+
serverId: {
|
|
117
|
+
greaterThan: 0
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
const GetServerInstallRequest = {
|
|
121
|
+
serverId: {
|
|
122
|
+
greaterThan: 0
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
const GetServerRequest = {
|
|
126
|
+
serverId: {
|
|
127
|
+
greaterThan: 0
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
const GetServiceRequest = {
|
|
131
|
+
serviceId: {
|
|
132
|
+
greaterThan: 0
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
const IPv6Block = {
|
|
136
|
+
id: {
|
|
137
|
+
greaterThan: 0
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
const IPv6BlockApiCreateIPv6BlockSubnetRequest = {
|
|
141
|
+
blockId: {
|
|
142
|
+
greaterThan: 0
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
const IPv6BlockApiDeleteIPv6BlockRequest = {
|
|
146
|
+
blockId: {
|
|
147
|
+
greaterThan: 0
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
const IPv6BlockApiListIPv6BlockSubnetsAvailableRequest = {
|
|
151
|
+
blockId: {
|
|
152
|
+
greaterThan: 0
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
const IPv6BlockApiUpdateIPv6BlockRequest = {
|
|
156
|
+
blockId: {
|
|
157
|
+
greaterThan: 0
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
const InstallServerRequest = {
|
|
161
|
+
osId: {
|
|
162
|
+
greaterThan: 0
|
|
163
|
+
},
|
|
164
|
+
serverId: {
|
|
165
|
+
greaterThan: 0
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
const ListFailoverIPsRequest = {
|
|
169
|
+
page: {
|
|
170
|
+
greaterThan: 0
|
|
171
|
+
},
|
|
172
|
+
pageSize: {
|
|
173
|
+
greaterThan: 0,
|
|
174
|
+
lessThanOrEqual: 100
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
const ListOSRequest = {
|
|
178
|
+
page: {
|
|
179
|
+
greaterThan: 0
|
|
180
|
+
},
|
|
181
|
+
pageSize: {
|
|
182
|
+
greaterThan: 0,
|
|
183
|
+
lessThanOrEqual: 100
|
|
184
|
+
},
|
|
185
|
+
serverId: {
|
|
186
|
+
greaterThan: 0
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
const ListOffersRequest = {
|
|
190
|
+
page: {
|
|
191
|
+
greaterThan: 0
|
|
192
|
+
},
|
|
193
|
+
pageSize: {
|
|
194
|
+
greaterThan: 0,
|
|
195
|
+
lessThanOrEqual: 100
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
const ListServerDisksRequest = {
|
|
199
|
+
page: {
|
|
200
|
+
greaterThan: 0
|
|
201
|
+
},
|
|
202
|
+
pageSize: {
|
|
203
|
+
greaterThan: 0,
|
|
204
|
+
lessThanOrEqual: 100
|
|
205
|
+
},
|
|
206
|
+
serverId: {
|
|
207
|
+
greaterThan: 0
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
const ListServerEventsRequest = {
|
|
211
|
+
page: {
|
|
212
|
+
greaterThan: 0
|
|
213
|
+
},
|
|
214
|
+
pageSize: {
|
|
215
|
+
greaterThan: 0,
|
|
216
|
+
lessThanOrEqual: 100
|
|
217
|
+
},
|
|
218
|
+
serverId: {
|
|
219
|
+
greaterThan: 0
|
|
220
|
+
}
|
|
221
|
+
};
|
|
222
|
+
const ListServersRequest = {
|
|
223
|
+
page: {
|
|
224
|
+
greaterThan: 0
|
|
225
|
+
},
|
|
226
|
+
pageSize: {
|
|
227
|
+
greaterThan: 0,
|
|
228
|
+
lessThanOrEqual: 100
|
|
229
|
+
}
|
|
230
|
+
};
|
|
231
|
+
const ListServicesRequest = {
|
|
232
|
+
page: {
|
|
233
|
+
greaterThan: 0
|
|
234
|
+
},
|
|
235
|
+
pageSize: {
|
|
236
|
+
greaterThan: 0,
|
|
237
|
+
lessThanOrEqual: 100
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
const ListSubscribableServerOptionsRequest = {
|
|
241
|
+
page: {
|
|
242
|
+
greaterThan: 0
|
|
243
|
+
},
|
|
244
|
+
pageSize: {
|
|
245
|
+
greaterThan: 0,
|
|
246
|
+
lessThanOrEqual: 100
|
|
247
|
+
},
|
|
248
|
+
serverId: {
|
|
249
|
+
greaterThan: 0
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
const RebootServerRequest = {
|
|
253
|
+
serverId: {
|
|
254
|
+
greaterThan: 0
|
|
255
|
+
}
|
|
256
|
+
};
|
|
257
|
+
const RpnApiListRpnServerCapabilitiesRequest = {
|
|
258
|
+
page: {
|
|
259
|
+
greaterThan: 0
|
|
260
|
+
},
|
|
261
|
+
pageSize: {
|
|
262
|
+
greaterThan: 0,
|
|
263
|
+
lessThanOrEqual: 100
|
|
264
|
+
}
|
|
265
|
+
};
|
|
266
|
+
const RpnSanApiAddIpRequest = {
|
|
267
|
+
rpnSanId: {
|
|
268
|
+
greaterThan: 0
|
|
269
|
+
}
|
|
270
|
+
};
|
|
271
|
+
const RpnSanApiDeleteRpnSanRequest = {
|
|
272
|
+
rpnSanId: {
|
|
273
|
+
greaterThan: 0
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
const RpnSanApiGetRpnSanRequest = {
|
|
277
|
+
rpnSanId: {
|
|
278
|
+
greaterThan: 0
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
const RpnSanApiListAvailableIpsRequest = {
|
|
282
|
+
rpnSanId: {
|
|
283
|
+
greaterThan: 0
|
|
284
|
+
}
|
|
285
|
+
};
|
|
286
|
+
const RpnSanApiListIpsRequest = {
|
|
287
|
+
rpnSanId: {
|
|
288
|
+
greaterThan: 0
|
|
289
|
+
}
|
|
290
|
+
};
|
|
291
|
+
const RpnSanApiListRpnSansRequest = {
|
|
292
|
+
page: {
|
|
293
|
+
greaterThan: 0
|
|
294
|
+
},
|
|
295
|
+
pageSize: {
|
|
296
|
+
greaterThan: 0,
|
|
297
|
+
lessThanOrEqual: 100
|
|
298
|
+
}
|
|
299
|
+
};
|
|
300
|
+
const RpnSanApiRemoveIpRequest = {
|
|
301
|
+
rpnSanId: {
|
|
302
|
+
greaterThan: 0
|
|
303
|
+
}
|
|
304
|
+
};
|
|
305
|
+
const RpnV1ApiAcceptRpnInviteRequest = {
|
|
306
|
+
memberId: {
|
|
307
|
+
greaterThan: 0
|
|
308
|
+
}
|
|
309
|
+
};
|
|
310
|
+
const RpnV1ApiAddRpnGroupMembersRequest = {
|
|
311
|
+
groupId: {
|
|
312
|
+
greaterThan: 0
|
|
313
|
+
}
|
|
314
|
+
};
|
|
315
|
+
const RpnV1ApiDeleteRpnGroupMembersRequest = {
|
|
316
|
+
groupId: {
|
|
317
|
+
greaterThan: 0
|
|
318
|
+
}
|
|
319
|
+
};
|
|
320
|
+
const RpnV1ApiDeleteRpnGroupRequest = {
|
|
321
|
+
groupId: {
|
|
322
|
+
greaterThan: 0
|
|
323
|
+
}
|
|
324
|
+
};
|
|
325
|
+
const RpnV1ApiGetRpnGroupRequest = {
|
|
326
|
+
groupId: {
|
|
327
|
+
greaterThan: 0
|
|
328
|
+
}
|
|
329
|
+
};
|
|
330
|
+
const RpnV1ApiLeaveRpnGroupRequest = {
|
|
331
|
+
groupId: {
|
|
332
|
+
greaterThan: 0
|
|
333
|
+
}
|
|
334
|
+
};
|
|
335
|
+
const RpnV1ApiListRpnCapableSanServersRequest = {
|
|
336
|
+
page: {
|
|
337
|
+
greaterThan: 0
|
|
338
|
+
},
|
|
339
|
+
pageSize: {
|
|
340
|
+
greaterThan: 0,
|
|
341
|
+
lessThanOrEqual: 100
|
|
342
|
+
}
|
|
343
|
+
};
|
|
344
|
+
const RpnV1ApiListRpnCapableServersRequest = {
|
|
345
|
+
page: {
|
|
346
|
+
greaterThan: 0
|
|
347
|
+
},
|
|
348
|
+
pageSize: {
|
|
349
|
+
greaterThan: 0,
|
|
350
|
+
lessThanOrEqual: 100
|
|
351
|
+
}
|
|
352
|
+
};
|
|
353
|
+
const RpnV1ApiListRpnGroupMembersRequest = {
|
|
354
|
+
groupId: {
|
|
355
|
+
greaterThan: 0
|
|
356
|
+
},
|
|
357
|
+
page: {
|
|
358
|
+
greaterThan: 0
|
|
359
|
+
},
|
|
360
|
+
pageSize: {
|
|
361
|
+
greaterThan: 0,
|
|
362
|
+
lessThanOrEqual: 100
|
|
363
|
+
}
|
|
364
|
+
};
|
|
365
|
+
const RpnV1ApiListRpnGroupsRequest = {
|
|
366
|
+
page: {
|
|
367
|
+
greaterThan: 0
|
|
368
|
+
},
|
|
369
|
+
pageSize: {
|
|
370
|
+
greaterThan: 0,
|
|
371
|
+
lessThanOrEqual: 100
|
|
372
|
+
}
|
|
373
|
+
};
|
|
374
|
+
const RpnV1ApiListRpnInvitesRequest = {
|
|
375
|
+
page: {
|
|
376
|
+
greaterThan: 0
|
|
377
|
+
},
|
|
378
|
+
pageSize: {
|
|
379
|
+
greaterThan: 0,
|
|
380
|
+
lessThanOrEqual: 100
|
|
381
|
+
}
|
|
382
|
+
};
|
|
383
|
+
const RpnV1ApiRefuseRpnInviteRequest = {
|
|
384
|
+
memberId: {
|
|
385
|
+
greaterThan: 0
|
|
386
|
+
}
|
|
387
|
+
};
|
|
388
|
+
const RpnV1ApiRpnGroupInviteRequest = {
|
|
389
|
+
groupId: {
|
|
390
|
+
greaterThan: 0
|
|
391
|
+
}
|
|
392
|
+
};
|
|
393
|
+
const RpnV1ApiUpdateRpnGroupNameRequest = {
|
|
394
|
+
groupId: {
|
|
395
|
+
greaterThan: 0
|
|
396
|
+
}
|
|
397
|
+
};
|
|
398
|
+
const RpnV2ApiAddRpnV2MembersRequest = {
|
|
399
|
+
groupId: {
|
|
400
|
+
greaterThan: 0
|
|
401
|
+
}
|
|
402
|
+
};
|
|
403
|
+
const RpnV2ApiDeleteRpnV2GroupRequest = {
|
|
404
|
+
groupId: {
|
|
405
|
+
greaterThan: 0
|
|
406
|
+
}
|
|
407
|
+
};
|
|
408
|
+
const RpnV2ApiDeleteRpnV2MembersRequest = {
|
|
409
|
+
groupId: {
|
|
410
|
+
greaterThan: 0
|
|
411
|
+
}
|
|
412
|
+
};
|
|
413
|
+
const RpnV2ApiDisableRpnV2GroupCompatibilityRequest = {
|
|
414
|
+
groupId: {
|
|
415
|
+
greaterThan: 0
|
|
416
|
+
}
|
|
417
|
+
};
|
|
418
|
+
const RpnV2ApiEnableRpnV2GroupCompatibilityRequest = {
|
|
419
|
+
groupId: {
|
|
420
|
+
greaterThan: 0
|
|
421
|
+
}
|
|
422
|
+
};
|
|
423
|
+
const RpnV2ApiGetRpnV2GroupRequest = {
|
|
424
|
+
groupId: {
|
|
425
|
+
greaterThan: 0
|
|
426
|
+
}
|
|
427
|
+
};
|
|
428
|
+
const RpnV2ApiListRpnV2CapableResourcesRequest = {
|
|
429
|
+
page: {
|
|
430
|
+
greaterThan: 0
|
|
431
|
+
},
|
|
432
|
+
pageSize: {
|
|
433
|
+
greaterThan: 0,
|
|
434
|
+
lessThanOrEqual: 100
|
|
435
|
+
}
|
|
436
|
+
};
|
|
437
|
+
const RpnV2ApiListRpnV2GroupLogsRequest = {
|
|
438
|
+
groupId: {
|
|
439
|
+
greaterThan: 0
|
|
440
|
+
},
|
|
441
|
+
page: {
|
|
442
|
+
greaterThan: 0
|
|
443
|
+
},
|
|
444
|
+
pageSize: {
|
|
445
|
+
greaterThan: 0,
|
|
446
|
+
lessThanOrEqual: 100
|
|
447
|
+
}
|
|
448
|
+
};
|
|
449
|
+
const RpnV2ApiListRpnV2GroupsRequest = {
|
|
450
|
+
page: {
|
|
451
|
+
greaterThan: 0
|
|
452
|
+
},
|
|
453
|
+
pageSize: {
|
|
454
|
+
greaterThan: 0,
|
|
455
|
+
lessThanOrEqual: 100
|
|
456
|
+
}
|
|
457
|
+
};
|
|
458
|
+
const RpnV2ApiListRpnV2MembersRequest = {
|
|
459
|
+
groupId: {
|
|
460
|
+
greaterThan: 0
|
|
461
|
+
},
|
|
462
|
+
page: {
|
|
463
|
+
greaterThan: 0
|
|
464
|
+
},
|
|
465
|
+
pageSize: {
|
|
466
|
+
greaterThan: 0,
|
|
467
|
+
lessThanOrEqual: 100
|
|
468
|
+
}
|
|
469
|
+
};
|
|
470
|
+
const RpnV2ApiUpdateRpnV2GroupNameRequest = {
|
|
471
|
+
groupId: {
|
|
472
|
+
greaterThan: 0
|
|
473
|
+
}
|
|
474
|
+
};
|
|
475
|
+
const RpnV2ApiUpdateRpnV2VlanForMembersRequest = {
|
|
476
|
+
groupId: {
|
|
477
|
+
greaterThan: 0
|
|
478
|
+
}
|
|
479
|
+
};
|
|
480
|
+
const StartRescueRequest = {
|
|
481
|
+
serverId: {
|
|
482
|
+
greaterThan: 0
|
|
483
|
+
}
|
|
484
|
+
};
|
|
485
|
+
const StartServerRequest = {
|
|
486
|
+
serverId: {
|
|
487
|
+
greaterThan: 0
|
|
488
|
+
}
|
|
489
|
+
};
|
|
490
|
+
const StopBMCAccessRequest = {
|
|
491
|
+
serverId: {
|
|
492
|
+
greaterThan: 0
|
|
493
|
+
}
|
|
494
|
+
};
|
|
495
|
+
const StopRescueRequest = {
|
|
496
|
+
serverId: {
|
|
497
|
+
greaterThan: 0
|
|
498
|
+
}
|
|
499
|
+
};
|
|
500
|
+
const StopServerRequest = {
|
|
501
|
+
serverId: {
|
|
502
|
+
greaterThan: 0
|
|
503
|
+
}
|
|
504
|
+
};
|
|
505
|
+
const SubscribeServerOptionRequest = {
|
|
506
|
+
optionId: {
|
|
507
|
+
greaterThan: 0
|
|
508
|
+
},
|
|
509
|
+
serverId: {
|
|
510
|
+
greaterThan: 0
|
|
511
|
+
}
|
|
512
|
+
};
|
|
513
|
+
const SubscribeStorageOptionsRequest = {
|
|
514
|
+
serverId: {
|
|
515
|
+
greaterThan: 0
|
|
516
|
+
}
|
|
517
|
+
};
|
|
518
|
+
const UpdateRaidRequest = {
|
|
519
|
+
serverId: {
|
|
520
|
+
greaterThan: 0
|
|
521
|
+
}
|
|
522
|
+
};
|
|
523
|
+
const UpdateReverseRequest = {
|
|
524
|
+
ipId: {
|
|
525
|
+
greaterThan: 0
|
|
526
|
+
}
|
|
527
|
+
};
|
|
528
|
+
const UpdateServerBackupRequest = {
|
|
529
|
+
serverId: {
|
|
530
|
+
greaterThan: 0
|
|
531
|
+
}
|
|
532
|
+
};
|
|
533
|
+
const UpdateServerRequest = {
|
|
534
|
+
serverId: {
|
|
535
|
+
greaterThan: 0
|
|
536
|
+
}
|
|
537
|
+
};
|
|
538
|
+
const UpdateServerTagsRequest = {
|
|
539
|
+
serverId: {
|
|
540
|
+
greaterThan: 0
|
|
541
|
+
}
|
|
542
|
+
};
|
|
543
|
+
|
|
544
|
+
export { AttachFailoverIPToMacAddressRequest, AttachFailoverIPsRequest, BillingApiDownloadInvoiceRequest, BillingApiDownloadRefundRequest, BillingApiGetInvoiceRequest, BillingApiGetRefundRequest, BillingApiListInvoicesRequest, BillingApiListRefundsRequest, CancelServerInstallRequest, DeleteFailoverIPRequest, DeleteServerRequest, DeleteServiceRequest, DetachFailoverIPFromMacAddressRequest, GetBMCAccessRequest, GetFailoverIPRequest, GetOSRequest, GetOfferRequest, GetOrderedServiceRequest, GetRaidRequest, GetRescueRequest, GetServerBackupRequest, GetServerInstallRequest, GetServerRequest, GetServiceRequest, IPv6Block, IPv6BlockApiCreateIPv6BlockSubnetRequest, IPv6BlockApiDeleteIPv6BlockRequest, IPv6BlockApiListIPv6BlockSubnetsAvailableRequest, IPv6BlockApiUpdateIPv6BlockRequest, InstallServerRequest, ListFailoverIPsRequest, ListOSRequest, ListOffersRequest, ListServerDisksRequest, ListServerEventsRequest, ListServersRequest, ListServicesRequest, ListSubscribableServerOptionsRequest, RebootServerRequest, RpnApiListRpnServerCapabilitiesRequest, RpnSanApiAddIpRequest, RpnSanApiDeleteRpnSanRequest, RpnSanApiGetRpnSanRequest, RpnSanApiListAvailableIpsRequest, RpnSanApiListIpsRequest, RpnSanApiListRpnSansRequest, RpnSanApiRemoveIpRequest, RpnV1ApiAcceptRpnInviteRequest, RpnV1ApiAddRpnGroupMembersRequest, RpnV1ApiDeleteRpnGroupMembersRequest, RpnV1ApiDeleteRpnGroupRequest, RpnV1ApiGetRpnGroupRequest, RpnV1ApiLeaveRpnGroupRequest, RpnV1ApiListRpnCapableSanServersRequest, RpnV1ApiListRpnCapableServersRequest, RpnV1ApiListRpnGroupMembersRequest, RpnV1ApiListRpnGroupsRequest, RpnV1ApiListRpnInvitesRequest, RpnV1ApiRefuseRpnInviteRequest, RpnV1ApiRpnGroupInviteRequest, RpnV1ApiUpdateRpnGroupNameRequest, RpnV2ApiAddRpnV2MembersRequest, RpnV2ApiDeleteRpnV2GroupRequest, RpnV2ApiDeleteRpnV2MembersRequest, RpnV2ApiDisableRpnV2GroupCompatibilityRequest, RpnV2ApiEnableRpnV2GroupCompatibilityRequest, RpnV2ApiGetRpnV2GroupRequest, RpnV2ApiListRpnV2CapableResourcesRequest, RpnV2ApiListRpnV2GroupLogsRequest, RpnV2ApiListRpnV2GroupsRequest, RpnV2ApiListRpnV2MembersRequest, RpnV2ApiUpdateRpnV2GroupNameRequest, RpnV2ApiUpdateRpnV2VlanForMembersRequest, StartRescueRequest, StartServerRequest, StopBMCAccessRequest, StopRescueRequest, StopServerRequest, SubscribeServerOptionRequest, SubscribeStorageOptionsRequest, UpdateRaidRequest, UpdateReverseRequest, UpdateServerBackupRequest, UpdateServerRequest, UpdateServerTagsRequest };
|
|
@@ -585,7 +585,7 @@ class API extends API$1 {
|
|
|
585
585
|
pageOfListQuota = (request = {}) => this.client.fetch({
|
|
586
586
|
method: 'GET',
|
|
587
587
|
path: `/iam/v1alpha1/quota`,
|
|
588
|
-
urlParams: urlParams(['order_by', request.orderBy], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
|
|
588
|
+
urlParams: urlParams(['order_by', request.orderBy], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['quotum_names', request.quotumNames])
|
|
589
589
|
}, unmarshalListQuotaResponse);
|
|
590
590
|
|
|
591
591
|
/**
|
|
@@ -112,8 +112,11 @@ const unmarshalQuotum = data => {
|
|
|
112
112
|
throw new TypeError(`Unmarshalling the type 'Quotum' failed as data isn't a dictionary.`);
|
|
113
113
|
}
|
|
114
114
|
return {
|
|
115
|
+
description: data.description,
|
|
115
116
|
limit: data.limit,
|
|
116
117
|
name: data.name,
|
|
118
|
+
prettyName: data.pretty_name,
|
|
119
|
+
unit: data.unit,
|
|
117
120
|
unlimited: data.unlimited
|
|
118
121
|
};
|
|
119
122
|
};
|
|
@@ -40,7 +40,7 @@ class API extends API$1 {
|
|
|
40
40
|
pageOfListJobDefinitions = (request = {}) => this.client.fetch({
|
|
41
41
|
method: 'GET',
|
|
42
42
|
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions`,
|
|
43
|
-
urlParams: urlParams(['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
|
|
43
|
+
urlParams: urlParams(['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
|
|
44
44
|
}, unmarshalListJobDefinitionsResponse);
|
|
45
45
|
|
|
46
46
|
/**
|
|
@@ -115,7 +115,7 @@ class API extends API$1 {
|
|
|
115
115
|
pageOfListJobRuns = (request = {}) => this.client.fetch({
|
|
116
116
|
method: 'GET',
|
|
117
117
|
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-runs`,
|
|
118
|
-
urlParams: urlParams(['job_definition_id', request.jobDefinitionId], ['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
|
|
118
|
+
urlParams: urlParams(['job_definition_id', request.jobDefinitionId], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
|
|
119
119
|
}, unmarshalListJobRunsResponse);
|
|
120
120
|
|
|
121
121
|
/**
|
|
@@ -20,7 +20,8 @@ class API extends API$1 {
|
|
|
20
20
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* Create a secret.
|
|
23
|
+
* Create a secret. Create a secret in a given region specified by the
|
|
24
|
+
* `region` parameter.
|
|
24
25
|
*
|
|
25
26
|
* @param request - The request {@link CreateSecretRequest}
|
|
26
27
|
* @returns A Promise of Secret
|
|
@@ -221,6 +222,20 @@ class API extends API$1 {
|
|
|
221
222
|
path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}/access`
|
|
222
223
|
}, unmarshalAccessSecretVersionResponse);
|
|
223
224
|
|
|
225
|
+
/**
|
|
226
|
+
* Access a secret's version using the secret's name and path. Access
|
|
227
|
+
* sensitive data in a secret's version specified by the `region`,
|
|
228
|
+
* `secret_name`, `secret_path` and `revision` parameters.
|
|
229
|
+
*
|
|
230
|
+
* @param request - The request {@link AccessSecretVersionByPathRequest}
|
|
231
|
+
* @returns A Promise of AccessSecretVersionResponse
|
|
232
|
+
*/
|
|
233
|
+
accessSecretVersionByPath = request => this.client.fetch({
|
|
234
|
+
method: 'GET',
|
|
235
|
+
path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets-by-path/versions/${validatePathParam('revision', request.revision)}/access`,
|
|
236
|
+
urlParams: urlParams(['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['secret_name', request.secretName], ['secret_path', request.secretPath])
|
|
237
|
+
}, unmarshalAccessSecretVersionResponse);
|
|
238
|
+
|
|
224
239
|
/**
|
|
225
240
|
* Enable a version. Make a specific version accessible. You must specify the
|
|
226
241
|
* `region`, `secret_id` and `revision` parameters.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { API } from './api.gen.js';
|
|
2
|
+
import * as validationRules_gen from './validation-rules.gen.js';
|
|
3
|
+
export { validationRules_gen as ValidationRules };
|
|
2
4
|
|
|
3
5
|
// This file was automatically generated. DO NOT EDIT.
|
|
4
6
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
@@ -68,7 +68,8 @@ const unmarshalAccessSecretVersionResponse = data => {
|
|
|
68
68
|
data: data.data,
|
|
69
69
|
dataCrc32: data.data_crc32,
|
|
70
70
|
revision: data.revision,
|
|
71
|
-
secretId: data.secret_id
|
|
71
|
+
secretId: data.secret_id,
|
|
72
|
+
type: data.type
|
|
72
73
|
};
|
|
73
74
|
};
|
|
74
75
|
const unmarshalBrowseSecretsResponseItemFolderDetails = data => {
|
|
@@ -135,7 +135,7 @@ class API extends API$1 {
|
|
|
135
135
|
/**
|
|
136
136
|
* List your Serverless SQL Database backups. List all Serverless SQL Database
|
|
137
137
|
* backups for a given Scaleway Project or Database. By default, the backups
|
|
138
|
-
* returned in the list are ordered by creation date in
|
|
138
|
+
* returned in the list are ordered by creation date in descending order,
|
|
139
139
|
* though this can be modified via the order_by field.
|
|
140
140
|
*
|
|
141
141
|
* @param request - The request {@link ListDatabaseBackupsRequest}
|
|
@@ -173,6 +173,20 @@ class API extends API$1 {
|
|
|
173
173
|
path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/enable-dhcp`
|
|
174
174
|
}, unmarshalPrivateNetwork);
|
|
175
175
|
|
|
176
|
+
/**
|
|
177
|
+
* Enable routing on a VPC. Enable routing on an existing VPC. Note that you
|
|
178
|
+
* will not be able to deactivate it afterwards.
|
|
179
|
+
*
|
|
180
|
+
* @param request - The request {@link EnableRoutingRequest}
|
|
181
|
+
* @returns A Promise of VPC
|
|
182
|
+
*/
|
|
183
|
+
enableRouting = request => this.client.fetch({
|
|
184
|
+
body: '{}',
|
|
185
|
+
headers: jsonContentHeaders,
|
|
186
|
+
method: 'POST',
|
|
187
|
+
path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/vpcs/${validatePathParam('vpcId', request.vpcId)}/enable-routing`
|
|
188
|
+
}, unmarshalVPC);
|
|
189
|
+
|
|
176
190
|
/**
|
|
177
191
|
* Set the subnets of a Private Network. Set subnets for an existing Private
|
|
178
192
|
* Network. Note that the method is PUT and not PATCH. Any existing subnets
|
|
@@ -38,6 +38,7 @@ const unmarshalHosting = data => {
|
|
|
38
38
|
offerEndOfLife: data.offer_end_of_life,
|
|
39
39
|
offerId: data.offer_id,
|
|
40
40
|
offerName: data.offer_name,
|
|
41
|
+
oneTimePassword: data.one_time_password,
|
|
41
42
|
options: unmarshalArrayOfObject(data.options, unmarshalHostingOption),
|
|
42
43
|
organizationId: data.organization_id,
|
|
43
44
|
platformGroup: data.platform_group,
|