@scaleway/sdk 2.72.0 → 2.74.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/account/v3/api.gen.cjs +13 -32
- package/dist/api/account/v3/api.gen.d.ts +17 -36
- package/dist/api/account/v3/api.gen.js +13 -32
- package/dist/api/account/v3/index.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.cjs +94 -65
- package/dist/api/account/v3/marshalling.gen.js +94 -65
- package/dist/api/account/v3/types.gen.d.ts +224 -104
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
- package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
- package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
- package/dist/api/baremetal/v1/api.gen.cjs +28 -61
- package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
- package/dist/api/baremetal/v1/api.gen.js +28 -61
- package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
- package/dist/api/baremetal/v3/api.gen.cjs +7 -14
- package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
- package/dist/api/baremetal/v3/api.gen.js +7 -14
- package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
- package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
- package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
- package/dist/api/billing/v2beta1/api.gen.js +11 -20
- package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
- package/dist/api/block/v1/api.gen.cjs +37 -55
- package/dist/api/block/v1/api.gen.d.ts +19 -37
- package/dist/api/block/v1/api.gen.js +37 -55
- package/dist/api/block/v1/types.gen.d.ts +306 -125
- package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
- package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
- package/dist/api/block/v1alpha1/api.gen.js +45 -64
- package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
- package/dist/api/cockpit/v1/api.gen.cjs +132 -156
- package/dist/api/cockpit/v1/api.gen.d.ts +66 -113
- package/dist/api/cockpit/v1/api.gen.js +133 -157
- package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.cjs +23 -0
- package/dist/api/cockpit/v1/marshalling.gen.d.ts +3 -1
- package/dist/api/cockpit/v1/marshalling.gen.js +23 -0
- package/dist/api/cockpit/v1/types.gen.d.ts +628 -246
- package/dist/api/container/v1beta1/api.gen.cjs +7 -14
- package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
- package/dist/api/container/v1beta1/api.gen.js +7 -14
- package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
- package/dist/api/dedibox/v1/api.gen.cjs +45 -69
- package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
- package/dist/api/dedibox/v1/api.gen.js +45 -69
- package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
- package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
- package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
- package/dist/api/domain/v2beta1/api.gen.js +119 -178
- package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
- package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
- package/dist/api/edge_services/v1beta1/api.gen.cjs +41 -22
- package/dist/api/edge_services/v1beta1/api.gen.d.ts +3 -2
- package/dist/api/edge_services/v1beta1/api.gen.js +41 -22
- package/dist/api/edge_services/v1beta1/index.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/types.gen.d.ts +7 -0
- package/dist/api/file/index.gen.cjs +4 -0
- package/dist/api/file/index.gen.d.ts +5 -0
- package/dist/api/file/index.gen.js +4 -0
- package/dist/api/file/v1alpha1/api.gen.cjs +142 -0
- package/dist/api/file/v1alpha1/api.gen.d.ts +73 -0
- package/dist/api/file/v1alpha1/api.gen.js +142 -0
- package/dist/api/file/v1alpha1/content.gen.cjs +7 -0
- package/dist/api/file/v1alpha1/content.gen.d.ts +3 -0
- package/dist/api/file/v1alpha1/content.gen.js +7 -0
- package/dist/api/file/v1alpha1/index.gen.cjs +8 -0
- package/dist/api/file/v1alpha1/index.gen.d.ts +4 -0
- package/dist/api/file/v1alpha1/index.gen.js +8 -0
- package/dist/api/file/v1alpha1/marshalling.gen.cjs +77 -0
- package/dist/api/file/v1alpha1/marshalling.gen.d.ts +7 -0
- package/dist/api/file/v1alpha1/marshalling.gen.js +77 -0
- package/dist/api/file/v1alpha1/types.gen.d.ts +239 -0
- package/dist/api/file/v1alpha1/validation-rules.gen.cjs +40 -0
- package/dist/api/file/v1alpha1/validation-rules.gen.d.ts +34 -0
- package/dist/api/file/v1alpha1/validation-rules.gen.js +40 -0
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
- package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
- package/dist/api/function/v1beta1/types.gen.d.ts +6 -6
- package/dist/api/iam/v1alpha1/api.gen.cjs +4 -4
- package/dist/api/iam/v1alpha1/api.gen.d.ts +4 -4
- package/dist/api/iam/v1alpha1/api.gen.js +4 -4
- package/dist/api/iam/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/index.gen.d.ts +3 -1
- package/dist/api/inference/v1/api.gen.cjs +8 -11
- package/dist/api/inference/v1/api.gen.d.ts +6 -9
- package/dist/api/inference/v1/api.gen.js +8 -11
- package/dist/api/inference/v1/types.gen.d.ts +330 -150
- package/dist/api/inference/v1beta1/api.gen.cjs +9 -12
- package/dist/api/inference/v1beta1/api.gen.d.ts +7 -10
- package/dist/api/inference/v1beta1/api.gen.js +9 -12
- package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
- package/dist/api/instance/v1/api.gen.cjs +64 -113
- package/dist/api/instance/v1/api.gen.d.ts +54 -103
- package/dist/api/instance/v1/api.gen.js +64 -113
- package/dist/api/instance/v1/marshalling.gen.cjs +4 -1
- package/dist/api/instance/v1/marshalling.gen.js +4 -1
- package/dist/api/instance/v1/types.gen.d.ts +1368 -600
- package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
- package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
- package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
- package/dist/api/interlink/v1beta1/api.gen.js +21 -67
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
- package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
- package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
- package/dist/api/iot/v1/api.gen.cjs +37 -70
- package/dist/api/iot/v1/api.gen.d.ts +34 -67
- package/dist/api/iot/v1/api.gen.js +37 -70
- package/dist/api/iot/v1/types.gen.d.ts +566 -321
- package/dist/api/ipam/v1/api.gen.cjs +6 -26
- package/dist/api/ipam/v1/api.gen.d.ts +8 -29
- package/dist/api/ipam/v1/api.gen.js +6 -26
- package/dist/api/ipam/v1/types.gen.d.ts +146 -105
- package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
- package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
- package/dist/api/k8s/v1/api.gen.cjs +33 -78
- package/dist/api/k8s/v1/api.gen.d.ts +27 -72
- package/dist/api/k8s/v1/api.gen.js +33 -78
- package/dist/api/k8s/v1/types.gen.d.ts +743 -506
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
- package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
- package/dist/api/lb/v1/marshalling.gen.cjs +4 -2
- package/dist/api/lb/v1/marshalling.gen.js +4 -2
- package/dist/api/lb/v1/types.gen.d.ts +4 -0
- package/dist/api/marketplace/v2/api.gen.cjs +8 -21
- package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
- package/dist/api/marketplace/v2/api.gen.js +8 -21
- package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
- package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
- package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
- package/dist/api/mnq/v1beta1/api.gen.js +24 -76
- package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
- package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
- package/dist/api/product_catalog/index.gen.cjs +4 -0
- package/dist/api/product_catalog/index.gen.d.ts +5 -0
- package/dist/api/product_catalog/index.gen.js +4 -0
- package/dist/api/product_catalog/v2alpha1/api.gen.cjs +36 -0
- package/dist/api/product_catalog/v2alpha1/api.gen.d.ts +18 -0
- package/dist/api/product_catalog/v2alpha1/api.gen.js +36 -0
- package/dist/api/product_catalog/v2alpha1/index.gen.cjs +6 -0
- package/dist/api/product_catalog/v2alpha1/index.gen.d.ts +3 -0
- package/dist/api/product_catalog/v2alpha1/index.gen.js +6 -0
- package/dist/api/product_catalog/v2alpha1/marshalling.gen.cjs +230 -0
- package/dist/api/product_catalog/v2alpha1/marshalling.gen.d.ts +2 -0
- package/dist/api/product_catalog/v2alpha1/marshalling.gen.js +230 -0
- package/dist/api/product_catalog/v2alpha1/types.gen.d.ts +293 -0
- package/dist/api/product_catalog/v2alpha1/validation-rules.gen.cjs +11 -0
- package/dist/api/product_catalog/v2alpha1/validation-rules.gen.d.ts +8 -0
- package/dist/api/product_catalog/v2alpha1/validation-rules.gen.js +11 -0
- package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
- package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
- package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
- package/dist/api/rdb/v1/api.gen.cjs +62 -202
- package/dist/api/rdb/v1/api.gen.d.ts +60 -201
- package/dist/api/rdb/v1/api.gen.js +62 -202
- package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
- package/dist/api/redis/v1/api.gen.cjs +23 -83
- package/dist/api/redis/v1/api.gen.d.ts +25 -85
- package/dist/api/redis/v1/api.gen.js +23 -83
- package/dist/api/redis/v1/types.gen.d.ts +447 -170
- package/dist/api/registry/v1/api.gen.cjs +12 -40
- package/dist/api/registry/v1/api.gen.d.ts +14 -42
- package/dist/api/registry/v1/api.gen.js +12 -40
- package/dist/api/registry/v1/types.gen.d.ts +200 -116
- package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
- package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
- package/dist/api/secret/v1beta1/api.gen.js +19 -47
- package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
- package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
- package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
- package/dist/api/tem/v1alpha1/api.gen.js +22 -58
- package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
- package/dist/api/test/v1/api.gen.cjs +8 -11
- package/dist/api/test/v1/api.gen.d.ts +6 -9
- package/dist/api/test/v1/api.gen.js +8 -11
- package/dist/api/test/v1/types.gen.d.ts +21 -10
- package/dist/api/vpcgw/v1/api.gen.cjs +37 -0
- package/dist/api/vpcgw/v1/api.gen.d.ts +37 -0
- package/dist/api/vpcgw/v1/api.gen.js +37 -0
- package/dist/client/dist/package.json.cjs +1 -1
- package/dist/client/dist/package.json.js +1 -1
- package/dist/index.cjs +36 -32
- package/dist/index.js +36 -32
- package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
- package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
- package/node_modules/@scaleway/sdk-client/package.json +1 -2
- package/package.json +2 -2
- package/node_modules/@scaleway/sdk-client/LICENSE +0 -191
|
@@ -44,8 +44,7 @@ class API extends API$1 {
|
|
|
44
44
|
*/
|
|
45
45
|
listServers = (request = {}) => enrichForPagination("servers", this.pageOfListServers, request);
|
|
46
46
|
/**
|
|
47
|
-
* Get a specific baremetal server. Get the server associated with the given
|
|
48
|
-
* ID.
|
|
47
|
+
* Get a specific baremetal server. Get the server associated with the given ID.
|
|
49
48
|
*
|
|
50
49
|
* @param request - The request {@link GetServerRequest}
|
|
51
50
|
* @returns A Promise of Server
|
|
@@ -105,8 +104,7 @@ class API extends API$1 {
|
|
|
105
104
|
unmarshalListSubscribableServerOptionsResponse
|
|
106
105
|
);
|
|
107
106
|
/**
|
|
108
|
-
* List subscribable server options. List subscribable options associated to
|
|
109
|
-
* the given server ID.
|
|
107
|
+
* List subscribable server options. List subscribable options associated to the given server ID.
|
|
110
108
|
*
|
|
111
109
|
* @param request - The request {@link ListSubscribableServerOptionsRequest}
|
|
112
110
|
* @returns A Promise of ListSubscribableServerOptionsResponse
|
|
@@ -134,9 +132,7 @@ class API extends API$1 {
|
|
|
134
132
|
unmarshalService
|
|
135
133
|
);
|
|
136
134
|
/**
|
|
137
|
-
* Create a baremetal server. Create a new baremetal server. The order return
|
|
138
|
-
* you a service ID to follow the provisionning status you could call
|
|
139
|
-
* GetService.
|
|
135
|
+
* Create a baremetal server. Create a new baremetal server. The order return you a service ID to follow the provisionning status you could call GetService.
|
|
140
136
|
*
|
|
141
137
|
* @param request - The request {@link CreateServerRequest}
|
|
142
138
|
* @returns A Promise of Service
|
|
@@ -153,8 +149,7 @@ class API extends API$1 {
|
|
|
153
149
|
unmarshalService
|
|
154
150
|
);
|
|
155
151
|
/**
|
|
156
|
-
* Subscribe storage server option. Subscribe storage option for the given
|
|
157
|
-
* server ID.
|
|
152
|
+
* Subscribe storage server option. Subscribe storage option for the given server ID.
|
|
158
153
|
*
|
|
159
154
|
* @param request - The request {@link SubscribeStorageOptionsRequest}
|
|
160
155
|
* @returns A Promise of SubscribeStorageOptionsResponse
|
|
@@ -199,8 +194,7 @@ class API extends API$1 {
|
|
|
199
194
|
unmarshalServer
|
|
200
195
|
);
|
|
201
196
|
/**
|
|
202
|
-
* Reboot a baremetal server. Reboot the server associated with the given ID,
|
|
203
|
-
* use boot param to reboot in rescue.
|
|
197
|
+
* Reboot a baremetal server. Reboot the server associated with the given ID, use boot param to reboot in rescue.
|
|
204
198
|
*
|
|
205
199
|
* @param request - The request {@link RebootServerRequest}
|
|
206
200
|
*/
|
|
@@ -344,8 +338,7 @@ class API extends API$1 {
|
|
|
344
338
|
*/
|
|
345
339
|
listServices = (request = {}) => enrichForPagination("services", this.pageOfListServices, request);
|
|
346
340
|
/**
|
|
347
|
-
* Install a baremetal server. Install an OS on the server associated with the
|
|
348
|
-
* given ID.
|
|
341
|
+
* Install a baremetal server. Install an OS on the server associated with the given ID.
|
|
349
342
|
*
|
|
350
343
|
* @param request - The request {@link InstallServerRequest}
|
|
351
344
|
* @returns A Promise of ServerInstall
|
|
@@ -362,8 +355,7 @@ class API extends API$1 {
|
|
|
362
355
|
unmarshalServerInstall
|
|
363
356
|
);
|
|
364
357
|
/**
|
|
365
|
-
* Get a specific server installation status. Get the server installation
|
|
366
|
-
* status associated with the given server ID.
|
|
358
|
+
* Get a specific server installation status. Get the server installation status associated with the given server ID.
|
|
367
359
|
*
|
|
368
360
|
* @param request - The request {@link GetServerInstallRequest}
|
|
369
361
|
* @returns A Promise of ServerInstall
|
|
@@ -391,8 +383,7 @@ class API extends API$1 {
|
|
|
391
383
|
options
|
|
392
384
|
);
|
|
393
385
|
/**
|
|
394
|
-
* Cancels the current (running) server installation. Cancels the current
|
|
395
|
-
* server installation associated with the given server ID.
|
|
386
|
+
* Cancels the current (running) server installation. Cancels the current server installation associated with the given server ID.
|
|
396
387
|
*
|
|
397
388
|
* @param request - The request {@link CancelServerInstallRequest}
|
|
398
389
|
*/
|
|
@@ -401,8 +392,7 @@ class API extends API$1 {
|
|
|
401
392
|
path: `/dedibox/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam("serverId", request.serverId)}/cancel-install`
|
|
402
393
|
});
|
|
403
394
|
/**
|
|
404
|
-
* Get server default partitioning. Get the server default partitioning schema
|
|
405
|
-
* associated with the given server ID and OS ID.
|
|
395
|
+
* Get server default partitioning. Get the server default partitioning schema associated with the given server ID and OS ID.
|
|
406
396
|
*
|
|
407
397
|
* @param request - The request {@link GetServerDefaultPartitioningRequest}
|
|
408
398
|
* @returns A Promise of ServerDefaultPartitioning
|
|
@@ -415,13 +405,11 @@ class API extends API$1 {
|
|
|
415
405
|
unmarshalServerDefaultPartitioning
|
|
416
406
|
);
|
|
417
407
|
/**
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
* @param request - The request {@link StartBMCAccessRequest}
|
|
424
|
-
*/
|
|
408
|
+
* Start BMC (Baseboard Management Controller) access for a given baremetal server. Start BMC (Baseboard Management Controller) access associated with the given ID.
|
|
409
|
+
The BMC (Baseboard Management Controller) access is available one hour after the installation of the server.
|
|
410
|
+
*
|
|
411
|
+
* @param request - The request {@link StartBMCAccessRequest}
|
|
412
|
+
*/
|
|
425
413
|
startBMCAccess = (request) => this.client.fetch({
|
|
426
414
|
body: JSON.stringify(
|
|
427
415
|
marshalStartBMCAccessRequest(request, this.client.settings)
|
|
@@ -431,9 +419,7 @@ class API extends API$1 {
|
|
|
431
419
|
path: `/dedibox/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam("serverId", request.serverId)}/bmc-access`
|
|
432
420
|
});
|
|
433
421
|
/**
|
|
434
|
-
* Get BMC (Baseboard Management Controller) access for a given baremetal
|
|
435
|
-
* server. Get the BMC (Baseboard Management Controller) access associated
|
|
436
|
-
* with the given ID.
|
|
422
|
+
* Get BMC (Baseboard Management Controller) access for a given baremetal server. Get the BMC (Baseboard Management Controller) access associated with the given ID.
|
|
437
423
|
*
|
|
438
424
|
* @param request - The request {@link GetBMCAccessRequest}
|
|
439
425
|
* @returns A Promise of BMCAccess
|
|
@@ -461,9 +447,7 @@ class API extends API$1 {
|
|
|
461
447
|
options
|
|
462
448
|
);
|
|
463
449
|
/**
|
|
464
|
-
* Stop BMC (Baseboard Management Controller) access for a given baremetal
|
|
465
|
-
* server. Stop BMC (Baseboard Management Controller) access associated with
|
|
466
|
-
* the given ID.
|
|
450
|
+
* Stop BMC (Baseboard Management Controller) access for a given baremetal server. Stop BMC (Baseboard Management Controller) access associated with the given ID.
|
|
467
451
|
*
|
|
468
452
|
* @param request - The request {@link StopBMCAccessRequest}
|
|
469
453
|
*/
|
|
@@ -595,8 +579,7 @@ class API extends API$1 {
|
|
|
595
579
|
unmarshalCreateFailoverIPsResponse
|
|
596
580
|
);
|
|
597
581
|
/**
|
|
598
|
-
* Attach failovers on baremetal server. Attach failovers on the server
|
|
599
|
-
* associated with the given ID.
|
|
582
|
+
* Attach failovers on baremetal server. Attach failovers on the server associated with the given ID.
|
|
600
583
|
*
|
|
601
584
|
* @param request - The request {@link AttachFailoverIPsRequest}
|
|
602
585
|
*/
|
|
@@ -609,8 +592,7 @@ class API extends API$1 {
|
|
|
609
592
|
path: `/dedibox/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/failover-ips/attach`
|
|
610
593
|
});
|
|
611
594
|
/**
|
|
612
|
-
* Detach failovers on baremetal server. Detach failovers on the server
|
|
613
|
-
* associated with the given ID.
|
|
595
|
+
* Detach failovers on baremetal server. Detach failovers on the server associated with the given ID.
|
|
614
596
|
*
|
|
615
597
|
* @param request - The request {@link DetachFailoverIPsRequest}
|
|
616
598
|
*/
|
|
@@ -695,8 +677,7 @@ class API extends API$1 {
|
|
|
695
677
|
*/
|
|
696
678
|
listFailoverIPs = (request = {}) => enrichForPagination("failoverIps", this.pageOfListFailoverIPs, request);
|
|
697
679
|
/**
|
|
698
|
-
* Get a specific baremetal server. Get the server associated with the given
|
|
699
|
-
* ID.
|
|
680
|
+
* Get a specific baremetal server. Get the server associated with the given ID.
|
|
700
681
|
*
|
|
701
682
|
* @param request - The request {@link GetFailoverIPRequest}
|
|
702
683
|
* @returns A Promise of FailoverIP
|
|
@@ -749,8 +730,7 @@ class API extends API$1 {
|
|
|
749
730
|
path: `/dedibox/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam("serverId", request.serverId)}/update-raid`
|
|
750
731
|
});
|
|
751
732
|
/**
|
|
752
|
-
* Start in rescue baremetal server. Start in rescue the server associated
|
|
753
|
-
* with the given ID.
|
|
733
|
+
* Start in rescue baremetal server. Start in rescue the server associated with the given ID.
|
|
754
734
|
*
|
|
755
735
|
* @param request - The request {@link StartRescueRequest}
|
|
756
736
|
* @returns A Promise of Rescue
|
|
@@ -780,8 +760,7 @@ class API extends API$1 {
|
|
|
780
760
|
unmarshalRescue
|
|
781
761
|
);
|
|
782
762
|
/**
|
|
783
|
-
* Stop rescue on baremetal server. Stop rescue on the server associated with
|
|
784
|
-
* the given ID.
|
|
763
|
+
* Stop rescue on baremetal server. Stop rescue on the server associated with the given ID.
|
|
785
764
|
*
|
|
786
765
|
* @param request - The request {@link StopRescueRequest}
|
|
787
766
|
*/
|
|
@@ -865,13 +844,14 @@ class BillingAPI extends API$1 {
|
|
|
865
844
|
}
|
|
866
845
|
class IPv6BlockAPI extends API$1 {
|
|
867
846
|
/**
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
847
|
+
* Get IPv6 block quota. Get IPv6 block quota with the given project ID.
|
|
848
|
+
/48 one per organization.
|
|
849
|
+
/56 link to your number of server.
|
|
850
|
+
/64 link to your number of failover IP.
|
|
851
|
+
*
|
|
852
|
+
* @param request - The request {@link IPv6BlockApiGetIPv6BlockQuotasRequest}
|
|
853
|
+
* @returns A Promise of GetIPv6BlockQuotasResponse
|
|
854
|
+
*/
|
|
875
855
|
getIPv6BlockQuotas = (request = {}) => this.client.fetch(
|
|
876
856
|
{
|
|
877
857
|
method: "GET",
|
|
@@ -881,8 +861,7 @@ class IPv6BlockAPI extends API$1 {
|
|
|
881
861
|
unmarshalGetIPv6BlockQuotasResponse
|
|
882
862
|
);
|
|
883
863
|
/**
|
|
884
|
-
* Create IPv6 block for baremetal server. Create IPv6 block associated with
|
|
885
|
-
* the given project ID.
|
|
864
|
+
* Create IPv6 block for baremetal server. Create IPv6 block associated with the given project ID.
|
|
886
865
|
*
|
|
887
866
|
* @param request - The request {@link IPv6BlockApiCreateIPv6BlockRequest}
|
|
888
867
|
* @returns A Promise of IPv6Block
|
|
@@ -916,12 +895,12 @@ class IPv6BlockAPI extends API$1 {
|
|
|
916
895
|
unmarshalIPv6Block
|
|
917
896
|
);
|
|
918
897
|
/**
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
898
|
+
* Update IPv6 block. Update DNS associated to IPv6 block.
|
|
899
|
+
If DNS is used, minimum of 2 is necessary and maximum of 5 (no duplicate).
|
|
900
|
+
*
|
|
901
|
+
* @param request - The request {@link IPv6BlockApiUpdateIPv6BlockRequest}
|
|
902
|
+
* @returns A Promise of IPv6Block
|
|
903
|
+
*/
|
|
925
904
|
updateIPv6Block = (request) => this.client.fetch(
|
|
926
905
|
{
|
|
927
906
|
body: JSON.stringify(
|
|
@@ -946,14 +925,13 @@ class IPv6BlockAPI extends API$1 {
|
|
|
946
925
|
path: `/dedibox/v1/ipv6-blocks/${validatePathParam("blockId", request.blockId)}`
|
|
947
926
|
});
|
|
948
927
|
/**
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
*/
|
|
928
|
+
* Create IPv6 block subnet. Create IPv6 block subnet for the given IP ID.
|
|
929
|
+
/48 could create subnet in /56 (quota link to your number of server).
|
|
930
|
+
/56 could create subnet in /64 (quota link to your number of failover IP).
|
|
931
|
+
*
|
|
932
|
+
* @param request - The request {@link IPv6BlockApiCreateIPv6BlockSubnetRequest}
|
|
933
|
+
* @returns A Promise of IPv6Block
|
|
934
|
+
*/
|
|
957
935
|
createIPv6BlockSubnet = (request) => this.client.fetch(
|
|
958
936
|
{
|
|
959
937
|
body: JSON.stringify(
|
|
@@ -969,11 +947,9 @@ class IPv6BlockAPI extends API$1 {
|
|
|
969
947
|
unmarshalIPv6Block
|
|
970
948
|
);
|
|
971
949
|
/**
|
|
972
|
-
* List available IPv6 block subnets. List all available IPv6 block subnets
|
|
973
|
-
* for given IP ID.
|
|
950
|
+
* List available IPv6 block subnets. List all available IPv6 block subnets for given IP ID.
|
|
974
951
|
*
|
|
975
|
-
* @param request - The request
|
|
976
|
-
* {@link IPv6BlockApiListIPv6BlockSubnetsAvailableRequest}
|
|
952
|
+
* @param request - The request {@link IPv6BlockApiListIPv6BlockSubnetsAvailableRequest}
|
|
977
953
|
* @returns A Promise of ListIPv6BlockSubnetsAvailableResponse
|
|
978
954
|
*/
|
|
979
955
|
listIPv6BlockSubnetsAvailable = (request) => this.client.fetch(
|