@scaleway/sdk 1.10.1 → 1.11.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/v2/api.gen.js +1 -0
- package/dist/api/account/v2/index.gen.js +1 -0
- package/dist/api/account/v2/marshalling.gen.js +1 -0
- package/dist/api/applesilicon/v1alpha1/api.gen.js +1 -0
- package/dist/api/applesilicon/v1alpha1/index.gen.js +1 -0
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/baremetal/v1/api.gen.js +1 -0
- package/dist/api/baremetal/v1/marshalling.gen.js +1 -0
- package/dist/api/billing/v2alpha1/api.gen.js +1 -0
- package/dist/api/billing/v2alpha1/index.gen.js +1 -0
- package/dist/api/billing/v2alpha1/marshalling.gen.js +1 -0
- package/dist/api/cockpit/v1beta1/api.gen.js +1 -0
- package/dist/api/cockpit/v1beta1/index.gen.js +1 -0
- package/dist/api/cockpit/v1beta1/marshalling.gen.js +1 -0
- package/dist/api/container/v1beta1/api.gen.js +1 -0
- package/dist/api/container/v1beta1/index.gen.js +1 -0
- package/dist/api/container/v1beta1/marshalling.gen.js +1 -0
- package/dist/api/domain/v2beta1/api.gen.js +3 -2
- package/dist/api/domain/v2beta1/index.gen.js +1 -0
- package/dist/api/domain/v2beta1/marshalling.gen.js +1 -0
- package/dist/api/flexibleip/v1alpha1/api.gen.js +1 -0
- package/dist/api/flexibleip/v1alpha1/index.gen.js +1 -0
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/function/v1beta1/api.gen.js +1 -0
- package/dist/api/function/v1beta1/index.gen.js +1 -0
- package/dist/api/function/v1beta1/marshalling.gen.js +1 -0
- package/dist/api/iam/v1alpha1/api.gen.js +1 -0
- package/dist/api/iam/v1alpha1/index.gen.js +1 -0
- package/dist/api/iam/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/instance/v1/api.gen.js +1 -0
- package/dist/api/instance/v1/marshalling.gen.js +1 -0
- package/dist/api/iot/v1/api.gen.js +1 -0
- package/dist/api/iot/v1/index.gen.js +1 -0
- package/dist/api/iot/v1/marshalling.gen.js +1 -0
- package/dist/api/k8s/v1/api.gen.js +49 -55
- package/dist/api/k8s/v1/marshalling.gen.js +1 -0
- package/dist/api/lb/v1/api.gen.js +1 -0
- package/dist/api/lb/v1/marshalling.gen.js +11 -0
- package/dist/api/marketplace/v1/api.gen.js +1 -0
- package/dist/api/marketplace/v1/index.gen.js +1 -0
- package/dist/api/marketplace/v1/marshalling.gen.js +1 -0
- package/dist/api/marketplace/v2/api.gen.js +1 -0
- package/dist/api/marketplace/v2/index.gen.js +1 -0
- package/dist/api/marketplace/v2/marshalling.gen.js +1 -0
- package/dist/api/mnq/v1alpha1/api.gen.js +1 -0
- package/dist/api/mnq/v1alpha1/index.gen.js +1 -0
- package/dist/api/mnq/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/rdb/v1/api.gen.js +1 -0
- package/dist/api/rdb/v1/index.gen.js +1 -0
- package/dist/api/rdb/v1/marshalling.gen.js +1 -0
- package/dist/api/redis/v1/api.gen.js +1 -0
- package/dist/api/redis/v1/index.gen.js +1 -0
- package/dist/api/redis/v1/marshalling.gen.js +1 -0
- package/dist/api/registry/v1/api.gen.js +1 -0
- package/dist/api/registry/v1/index.gen.js +1 -0
- package/dist/api/registry/v1/marshalling.gen.js +1 -0
- package/dist/api/secret/v1alpha1/api.gen.js +1 -0
- package/dist/api/secret/v1alpha1/index.gen.js +1 -0
- package/dist/api/secret/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/tem/v1alpha1/api.gen.js +1 -0
- package/dist/api/tem/v1alpha1/index.gen.js +1 -0
- package/dist/api/tem/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/test/v1/api.gen.js +1 -0
- package/dist/api/test/v1/index.gen.js +1 -0
- package/dist/api/test/v1/marshalling.gen.js +1 -0
- package/dist/api/vpc/v1/api.gen.js +1 -0
- package/dist/api/vpc/v1/index.gen.js +1 -0
- package/dist/api/vpc/v1/marshalling.gen.js +1 -0
- package/dist/api/vpcgw/v1/api.gen.js +1 -0
- package/dist/api/vpcgw/v1/index.gen.js +1 -0
- package/dist/api/vpcgw/v1/marshalling.gen.js +1 -0
- package/dist/api/webhosting/v1alpha1/api.gen.js +1 -0
- package/dist/api/webhosting/v1alpha1/index.gen.js +1 -0
- package/dist/api/webhosting/v1alpha1/marshalling.gen.js +1 -0
- package/dist/index.cjs +142 -59
- package/dist/index.d.ts +311 -284
- package/dist/scw/constants.js +1 -1
- package/dist/scw/custom-marshalling.js +5 -1
- package/dist/scw/fetch/resource-paginator.js +2 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -497,7 +497,7 @@ const assertValidSettings = obj => {
|
|
|
497
497
|
}
|
|
498
498
|
};
|
|
499
499
|
|
|
500
|
-
const version = 'v1.10.
|
|
500
|
+
const version = 'v1.10.1';
|
|
501
501
|
const userAgent = `scaleway-sdk-js/${version}`;
|
|
502
502
|
|
|
503
503
|
const isBrowser = () => typeof window !== 'undefined' && typeof window.document !== 'undefined';
|
|
@@ -1823,7 +1823,11 @@ const unmarshalMapOfObject = (data, unmarshaller, emptyFallback = true) => {
|
|
|
1823
1823
|
}), {});
|
|
1824
1824
|
};
|
|
1825
1825
|
|
|
1826
|
-
/**
|
|
1826
|
+
/**
|
|
1827
|
+
* Unmarshals {@link Money}
|
|
1828
|
+
*
|
|
1829
|
+
* @internal
|
|
1830
|
+
*/
|
|
1827
1831
|
const unmarshalMoney = data => {
|
|
1828
1832
|
if (!isJSONObject(data)) {
|
|
1829
1833
|
throw new TypeError(`Unmarshalling the type 'Money' failed as data isn't a dictionary.`);
|
|
@@ -2004,6 +2008,8 @@ const fetchAll = async (key, fetcher, request, initial = fetcher(request)) => (a
|
|
|
2004
2008
|
* @param fetcher - The method to retrieve paginated resources
|
|
2005
2009
|
* @param request - A request with pagination options
|
|
2006
2010
|
* @returns A resource Promise with the pagination helpers
|
|
2011
|
+
*
|
|
2012
|
+
* @internal
|
|
2007
2013
|
*/
|
|
2008
2014
|
const enrichForPagination = (key, fetcher, request) => {
|
|
2009
2015
|
const firstPage = fetcher(request);
|
|
@@ -2026,6 +2032,7 @@ const randomName = function () {
|
|
|
2026
2032
|
};
|
|
2027
2033
|
|
|
2028
2034
|
// This file was automatically generated. DO NOT EDIT.
|
|
2035
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2029
2036
|
const unmarshalProject = data => {
|
|
2030
2037
|
if (!isJSONObject(data)) {
|
|
2031
2038
|
throw new TypeError(`Unmarshalling the type 'Project' failed as data isn't a dictionary.`);
|
|
@@ -2059,6 +2066,7 @@ const marshalUpdateProjectRequest = (request, defaults) => ({
|
|
|
2059
2066
|
});
|
|
2060
2067
|
|
|
2061
2068
|
// This file was automatically generated. DO NOT EDIT.
|
|
2069
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2062
2070
|
const jsonContentHeaders$m = {
|
|
2063
2071
|
'Content-Type': 'application/json; charset=utf-8'
|
|
2064
2072
|
};
|
|
@@ -2141,6 +2149,7 @@ let API$p = class API extends API$q {
|
|
|
2141
2149
|
};
|
|
2142
2150
|
|
|
2143
2151
|
// This file was automatically generated. DO NOT EDIT.
|
|
2152
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2144
2153
|
|
|
2145
2154
|
var index_gen$l = /*#__PURE__*/Object.freeze({
|
|
2146
2155
|
__proto__: null,
|
|
@@ -2159,6 +2168,7 @@ var index$s = /*#__PURE__*/Object.freeze({
|
|
|
2159
2168
|
const SERVER_TRANSIENT_STATUSES$2 = ['starting', 'rebooting', 'updating', 'locking', 'unlocking', 'reinstalling'];
|
|
2160
2169
|
|
|
2161
2170
|
// This file was automatically generated. DO NOT EDIT.
|
|
2171
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2162
2172
|
const unmarshalServerTypeCPU = data => {
|
|
2163
2173
|
if (!isJSONObject(data)) {
|
|
2164
2174
|
throw new TypeError(`Unmarshalling the type 'ServerTypeCPU' failed as data isn't a dictionary.`);
|
|
@@ -2266,6 +2276,7 @@ const marshalUpdateServerRequest$2 = (request, defaults) => ({
|
|
|
2266
2276
|
});
|
|
2267
2277
|
|
|
2268
2278
|
// This file was automatically generated. DO NOT EDIT.
|
|
2279
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2269
2280
|
const jsonContentHeaders$l = {
|
|
2270
2281
|
'Content-Type': 'application/json; charset=utf-8'
|
|
2271
2282
|
};
|
|
@@ -2457,6 +2468,7 @@ let API$o = class API extends API$q {
|
|
|
2457
2468
|
};
|
|
2458
2469
|
|
|
2459
2470
|
// This file was automatically generated. DO NOT EDIT.
|
|
2471
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2460
2472
|
|
|
2461
2473
|
var index_gen$k = /*#__PURE__*/Object.freeze({
|
|
2462
2474
|
__proto__: null,
|
|
@@ -2482,6 +2494,7 @@ const SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES = ['attaching', 'detaching'];
|
|
|
2482
2494
|
const SERVER_TRANSIENT_STATUSES$1 = ['delivering', 'stopping', 'starting', 'deleting', 'ordered', 'resetting'];
|
|
2483
2495
|
|
|
2484
2496
|
// This file was automatically generated. DO NOT EDIT.
|
|
2497
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2485
2498
|
const unmarshalCPU = data => {
|
|
2486
2499
|
if (!isJSONObject(data)) {
|
|
2487
2500
|
throw new TypeError(`Unmarshalling the type 'CPU' failed as data isn't a dictionary.`);
|
|
@@ -2882,6 +2895,7 @@ const marshalUpdateSettingRequest = (request, defaults) => ({
|
|
|
2882
2895
|
});
|
|
2883
2896
|
|
|
2884
2897
|
// This file was automatically generated. DO NOT EDIT.
|
|
2898
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2885
2899
|
const jsonContentHeaders$k = {
|
|
2886
2900
|
'Content-Type': 'application/json; charset=utf-8'
|
|
2887
2901
|
};
|
|
@@ -3459,6 +3473,7 @@ var index$p = /*#__PURE__*/Object.freeze({
|
|
|
3459
3473
|
});
|
|
3460
3474
|
|
|
3461
3475
|
// This file was automatically generated. DO NOT EDIT.
|
|
3476
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
3462
3477
|
const unmarshalGetConsumptionResponseConsumption = data => {
|
|
3463
3478
|
if (!isJSONObject(data)) {
|
|
3464
3479
|
throw new TypeError(`Unmarshalling the type 'GetConsumptionResponseConsumption' failed as data isn't a dictionary.`);
|
|
@@ -3506,6 +3521,7 @@ const unmarshalListInvoicesResponse = data => {
|
|
|
3506
3521
|
};
|
|
3507
3522
|
|
|
3508
3523
|
// This file was automatically generated. DO NOT EDIT.
|
|
3524
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
3509
3525
|
/**
|
|
3510
3526
|
* Billing API.
|
|
3511
3527
|
*
|
|
@@ -3532,6 +3548,7 @@ let API$m = class API extends API$q {
|
|
|
3532
3548
|
};
|
|
3533
3549
|
|
|
3534
3550
|
// This file was automatically generated. DO NOT EDIT.
|
|
3551
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
3535
3552
|
|
|
3536
3553
|
var index_gen$j = /*#__PURE__*/Object.freeze({
|
|
3537
3554
|
__proto__: null,
|
|
@@ -3550,6 +3567,7 @@ var index$o = /*#__PURE__*/Object.freeze({
|
|
|
3550
3567
|
const COCKPIT_TRANSIENT_STATUSES = ['creating', 'deleting', 'updating'];
|
|
3551
3568
|
|
|
3552
3569
|
// This file was automatically generated. DO NOT EDIT.
|
|
3570
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
3553
3571
|
const unmarshalContactPointEmail = data => {
|
|
3554
3572
|
if (!isJSONObject(data)) {
|
|
3555
3573
|
throw new TypeError(`Unmarshalling the type 'ContactPointEmail' failed as data isn't a dictionary.`);
|
|
@@ -3762,6 +3780,7 @@ const marshalTriggerTestAlertRequest = (request, defaults) => ({
|
|
|
3762
3780
|
});
|
|
3763
3781
|
|
|
3764
3782
|
// This file was automatically generated. DO NOT EDIT.
|
|
3783
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
3765
3784
|
const jsonContentHeaders$j = {
|
|
3766
3785
|
'Content-Type': 'application/json; charset=utf-8'
|
|
3767
3786
|
};
|
|
@@ -4061,6 +4080,7 @@ let API$l = class API extends API$q {
|
|
|
4061
4080
|
};
|
|
4062
4081
|
|
|
4063
4082
|
// This file was automatically generated. DO NOT EDIT.
|
|
4083
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4064
4084
|
|
|
4065
4085
|
var index_gen$i = /*#__PURE__*/Object.freeze({
|
|
4066
4086
|
__proto__: null,
|
|
@@ -4092,6 +4112,7 @@ const NAMESPACE_TRANSIENT_STATUSES$2 = ['deleting', 'creating', 'pending'];
|
|
|
4092
4112
|
const TOKEN_TRANSIENT_STATUSES$1 = ['deleting', 'creating'];
|
|
4093
4113
|
|
|
4094
4114
|
// This file was automatically generated. DO NOT EDIT.
|
|
4115
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4095
4116
|
const unmarshalSecretHashedValue$1 = data => {
|
|
4096
4117
|
if (!isJSONObject(data)) {
|
|
4097
4118
|
throw new TypeError(`Unmarshalling the type 'SecretHashedValue' failed as data isn't a dictionary.`);
|
|
@@ -4336,6 +4357,7 @@ const marshalUpdateNamespaceRequest$3 = (request, defaults) => ({
|
|
|
4336
4357
|
});
|
|
4337
4358
|
|
|
4338
4359
|
// This file was automatically generated. DO NOT EDIT.
|
|
4360
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4339
4361
|
const jsonContentHeaders$i = {
|
|
4340
4362
|
'Content-Type': 'application/json; charset=utf-8'
|
|
4341
4363
|
};
|
|
@@ -4723,6 +4745,7 @@ let API$k = class API extends API$q {
|
|
|
4723
4745
|
};
|
|
4724
4746
|
|
|
4725
4747
|
// This file was automatically generated. DO NOT EDIT.
|
|
4748
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4726
4749
|
|
|
4727
4750
|
var index_gen$h = /*#__PURE__*/Object.freeze({
|
|
4728
4751
|
__proto__: null,
|
|
@@ -4767,6 +4790,7 @@ const SSL_CERTIFICATE_TRANSIENT_STATUSES = ['pending'];
|
|
|
4767
4790
|
const TASK_TRANSIENT_STATUSES$1 = ['pending'];
|
|
4768
4791
|
|
|
4769
4792
|
// This file was automatically generated. DO NOT EDIT.
|
|
4793
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4770
4794
|
const unmarshalDomainRecordGeoIPConfigMatch = data => {
|
|
4771
4795
|
if (!isJSONObject(data)) {
|
|
4772
4796
|
throw new TypeError(`Unmarshalling the type 'DomainRecordGeoIPConfigMatch' failed as data isn't a dictionary.`);
|
|
@@ -5924,6 +5948,7 @@ const marshalUpdateDNSZoneRequest = (request, defaults) => ({
|
|
|
5924
5948
|
});
|
|
5925
5949
|
|
|
5926
5950
|
// This file was automatically generated. DO NOT EDIT.
|
|
5951
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
5927
5952
|
const jsonContentHeaders$h = {
|
|
5928
5953
|
'Content-Type': 'application/json; charset=utf-8'
|
|
5929
5954
|
};
|
|
@@ -6282,9 +6307,9 @@ let API$j = class API extends API$q {
|
|
|
6282
6307
|
};
|
|
6283
6308
|
|
|
6284
6309
|
/**
|
|
6285
|
-
* Domains
|
|
6310
|
+
* Domains and DNS - Registrar API.
|
|
6286
6311
|
*
|
|
6287
|
-
* Domains
|
|
6312
|
+
* Domains and DNS - Registrar API. Manage your domains and contacts.
|
|
6288
6313
|
*/
|
|
6289
6314
|
class RegistrarAPI extends API$q {
|
|
6290
6315
|
pageOfListTasks = (request = {}) => this.client.fetch({
|
|
@@ -6688,6 +6713,7 @@ class RegistrarAPI extends API$q {
|
|
|
6688
6713
|
}
|
|
6689
6714
|
|
|
6690
6715
|
// This file was automatically generated. DO NOT EDIT.
|
|
6716
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
6691
6717
|
|
|
6692
6718
|
var index_gen$g = /*#__PURE__*/Object.freeze({
|
|
6693
6719
|
__proto__: null,
|
|
@@ -6717,6 +6743,7 @@ const FLEXIBLE_IP_TRANSIENT_STATUSES = ['updating', 'detaching'];
|
|
|
6717
6743
|
const MAC_ADDRESS_TRANSIENT_STATUSES = ['updating', 'deleting'];
|
|
6718
6744
|
|
|
6719
6745
|
// This file was automatically generated. DO NOT EDIT.
|
|
6746
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
6720
6747
|
const unmarshalMACAddress = data => {
|
|
6721
6748
|
if (!isJSONObject(data)) {
|
|
6722
6749
|
throw new TypeError(`Unmarshalling the type 'MACAddress' failed as data isn't a dictionary.`);
|
|
@@ -6809,6 +6836,7 @@ const marshalUpdateFlexibleIPRequest = (request, defaults) => ({
|
|
|
6809
6836
|
});
|
|
6810
6837
|
|
|
6811
6838
|
// This file was automatically generated. DO NOT EDIT.
|
|
6839
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
6812
6840
|
const jsonContentHeaders$g = {
|
|
6813
6841
|
'Content-Type': 'application/json; charset=utf-8'
|
|
6814
6842
|
};
|
|
@@ -6997,6 +7025,7 @@ var validationRules_gen$3 = /*#__PURE__*/Object.freeze({
|
|
|
6997
7025
|
});
|
|
6998
7026
|
|
|
6999
7027
|
// This file was automatically generated. DO NOT EDIT.
|
|
7028
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
7000
7029
|
|
|
7001
7030
|
var index_gen$f = /*#__PURE__*/Object.freeze({
|
|
7002
7031
|
__proto__: null,
|
|
@@ -7033,6 +7062,7 @@ const TOKEN_TRANSIENT_STATUSES = ['deleting', 'creating'];
|
|
|
7033
7062
|
const TRIGGER_TRANSIENT_STATUSES = ['deleting', 'creating', 'pending'];
|
|
7034
7063
|
|
|
7035
7064
|
// This file was automatically generated. DO NOT EDIT.
|
|
7065
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
7036
7066
|
const unmarshalSecretHashedValue = data => {
|
|
7037
7067
|
if (!isJSONObject(data)) {
|
|
7038
7068
|
throw new TypeError(`Unmarshalling the type 'SecretHashedValue' failed as data isn't a dictionary.`);
|
|
@@ -7421,6 +7451,7 @@ const marshalUpdateTriggerRequest = (request, defaults) => ({
|
|
|
7421
7451
|
});
|
|
7422
7452
|
|
|
7423
7453
|
// This file was automatically generated. DO NOT EDIT.
|
|
7454
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
7424
7455
|
const jsonContentHeaders$f = {
|
|
7425
7456
|
'Content-Type': 'application/json; charset=utf-8'
|
|
7426
7457
|
};
|
|
@@ -7892,6 +7923,7 @@ let API$h = class API extends API$q {
|
|
|
7892
7923
|
};
|
|
7893
7924
|
|
|
7894
7925
|
// This file was automatically generated. DO NOT EDIT.
|
|
7926
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
7895
7927
|
|
|
7896
7928
|
var index_gen$e = /*#__PURE__*/Object.freeze({
|
|
7897
7929
|
__proto__: null,
|
|
@@ -7910,6 +7942,7 @@ var index$j = /*#__PURE__*/Object.freeze({
|
|
|
7910
7942
|
});
|
|
7911
7943
|
|
|
7912
7944
|
// This file was automatically generated. DO NOT EDIT.
|
|
7945
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
7913
7946
|
const unmarshalAPIKey = data => {
|
|
7914
7947
|
if (!isJSONObject(data)) {
|
|
7915
7948
|
throw new TypeError(`Unmarshalling the type 'APIKey' failed as data isn't a dictionary.`);
|
|
@@ -8279,6 +8312,7 @@ const marshalUpdateSSHKeyRequest = (request, defaults) => ({
|
|
|
8279
8312
|
});
|
|
8280
8313
|
|
|
8281
8314
|
// This file was automatically generated. DO NOT EDIT.
|
|
8315
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
8282
8316
|
const jsonContentHeaders$e = {
|
|
8283
8317
|
'Content-Type': 'application/json; charset=utf-8'
|
|
8284
8318
|
};
|
|
@@ -9110,6 +9144,7 @@ var validationRules_gen$2 = /*#__PURE__*/Object.freeze({
|
|
|
9110
9144
|
});
|
|
9111
9145
|
|
|
9112
9146
|
// This file was automatically generated. DO NOT EDIT.
|
|
9147
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
9113
9148
|
|
|
9114
9149
|
var index_gen$d = /*#__PURE__*/Object.freeze({
|
|
9115
9150
|
__proto__: null,
|
|
@@ -9123,6 +9158,7 @@ var index$i = /*#__PURE__*/Object.freeze({
|
|
|
9123
9158
|
});
|
|
9124
9159
|
|
|
9125
9160
|
// This file was automatically generated. DO NOT EDIT.
|
|
9161
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
9126
9162
|
const unmarshalServerSummary = data => {
|
|
9127
9163
|
if (!isJSONObject(data)) {
|
|
9128
9164
|
throw new TypeError(`Unmarshalling the type 'ServerSummary' failed as data isn't a dictionary.`);
|
|
@@ -10452,6 +10488,7 @@ const marshalUpdateVolumeRequest = (request, defaults) => ({
|
|
|
10452
10488
|
});
|
|
10453
10489
|
|
|
10454
10490
|
// This file was automatically generated. DO NOT EDIT.
|
|
10491
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
10455
10492
|
const jsonContentHeaders$d = {
|
|
10456
10493
|
'Content-Type': 'application/json; charset=utf-8'
|
|
10457
10494
|
};
|
|
@@ -11676,6 +11713,7 @@ var index$g = /*#__PURE__*/Object.freeze({
|
|
|
11676
11713
|
const HUB_TRANSIENT_STATUSES = ['enabling', 'disabling'];
|
|
11677
11714
|
|
|
11678
11715
|
// This file was automatically generated. DO NOT EDIT.
|
|
11716
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
11679
11717
|
const unmarshalDeviceMessageFiltersRule = data => {
|
|
11680
11718
|
if (!isJSONObject(data)) {
|
|
11681
11719
|
throw new TypeError(`Unmarshalling the type 'DeviceMessageFiltersRule' failed as data isn't a dictionary.`);
|
|
@@ -12108,6 +12146,7 @@ const marshalUpdateRouteRequest$1 = (request, defaults) => ({
|
|
|
12108
12146
|
});
|
|
12109
12147
|
|
|
12110
12148
|
// This file was automatically generated. DO NOT EDIT.
|
|
12149
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
12111
12150
|
const jsonContentHeaders$c = {
|
|
12112
12151
|
'Content-Type': 'application/json; charset=utf-8'
|
|
12113
12152
|
};
|
|
@@ -12608,6 +12647,7 @@ let API$e = class API extends API$q {
|
|
|
12608
12647
|
};
|
|
12609
12648
|
|
|
12610
12649
|
// This file was automatically generated. DO NOT EDIT.
|
|
12650
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
12611
12651
|
|
|
12612
12652
|
var index_gen$c = /*#__PURE__*/Object.freeze({
|
|
12613
12653
|
__proto__: null,
|
|
@@ -12633,6 +12673,7 @@ const NODE_TRANSIENT_STATUSES = ['creating', 'deleting', 'rebooting', 'upgrading
|
|
|
12633
12673
|
const POOL_TRANSIENT_STATUSES = ['deleting', 'scaling', 'upgrading'];
|
|
12634
12674
|
|
|
12635
12675
|
// This file was automatically generated. DO NOT EDIT.
|
|
12676
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
12636
12677
|
const unmarshalMaintenanceWindow = data => {
|
|
12637
12678
|
if (!isJSONObject(data)) {
|
|
12638
12679
|
throw new TypeError(`Unmarshalling the type 'MaintenanceWindow' failed as data isn't a dictionary.`);
|
|
@@ -13007,6 +13048,7 @@ const marshalUpgradePoolRequest = (request, defaults) => ({
|
|
|
13007
13048
|
});
|
|
13008
13049
|
|
|
13009
13050
|
// This file was automatically generated. DO NOT EDIT.
|
|
13051
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
13010
13052
|
const jsonContentHeaders$b = {
|
|
13011
13053
|
'Content-Type': 'application/json; charset=utf-8'
|
|
13012
13054
|
};
|
|
@@ -13022,8 +13064,7 @@ let API$d = class API extends API$q {
|
|
|
13022
13064
|
}, unmarshalListClustersResponse$1);
|
|
13023
13065
|
|
|
13024
13066
|
/**
|
|
13025
|
-
* List
|
|
13026
|
-
* Region.
|
|
13067
|
+
* List Clusters. List all existing Kubernetes clusters in a specific region.
|
|
13027
13068
|
*
|
|
13028
13069
|
* @param request - The request {@link ListClustersRequest}
|
|
13029
13070
|
* @returns A Promise of ListClustersResponse
|
|
@@ -13031,8 +13072,7 @@ let API$d = class API extends API$q {
|
|
|
13031
13072
|
listClusters = (request = {}) => enrichForPagination('clusters', this.pageOfListClusters, request);
|
|
13032
13073
|
|
|
13033
13074
|
/**
|
|
13034
|
-
* Create a new
|
|
13035
|
-
* account.
|
|
13075
|
+
* Create a new Cluster. Create a new Kubernetes cluster in a Scaleway region.
|
|
13036
13076
|
*
|
|
13037
13077
|
* @param request - The request {@link CreateClusterRequest}
|
|
13038
13078
|
* @returns A Promise of Cluster
|
|
@@ -13045,8 +13085,7 @@ let API$d = class API extends API$q {
|
|
|
13045
13085
|
}, unmarshalCluster$1);
|
|
13046
13086
|
|
|
13047
13087
|
/**
|
|
13048
|
-
* Get
|
|
13049
|
-
* cluster.
|
|
13088
|
+
* Get a Cluster. Retrieve information about a specific Kubernetes cluster.
|
|
13050
13089
|
*
|
|
13051
13090
|
* @param request - The request {@link GetClusterRequest}
|
|
13052
13091
|
* @returns A Promise of Cluster
|
|
@@ -13066,10 +13105,9 @@ let API$d = class API extends API$q {
|
|
|
13066
13105
|
waitForCluster = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!CLUSTER_TRANSIENT_STATUSES$1.includes(res.status))), this.getCluster, request, options);
|
|
13067
13106
|
|
|
13068
13107
|
/**
|
|
13069
|
-
* Update a
|
|
13070
|
-
*
|
|
13071
|
-
*
|
|
13072
|
-
* do so, use the dedicated endpoint.
|
|
13108
|
+
* Update a Cluster. Update information on a specific Kubernetes cluster. You
|
|
13109
|
+
* can update details such as its name, description, tags and configuration.
|
|
13110
|
+
* To upgrade a cluster, you will need to use the dedicated endpoint.
|
|
13073
13111
|
*
|
|
13074
13112
|
* @param request - The request {@link UpdateClusterRequest}
|
|
13075
13113
|
* @returns A Promise of Cluster
|
|
@@ -13082,9 +13120,9 @@ let API$d = class API extends API$q {
|
|
|
13082
13120
|
}, unmarshalCluster$1);
|
|
13083
13121
|
|
|
13084
13122
|
/**
|
|
13085
|
-
* Delete a
|
|
13086
|
-
* and nodes. Note that this method will not delete any Load
|
|
13087
|
-
* Block
|
|
13123
|
+
* Delete a Cluster. Delete a specific Kubernetes cluster and all its
|
|
13124
|
+
* associated pools and nodes. Note that this method will not delete any Load
|
|
13125
|
+
* Balancer or Block Volume that are associated with the cluster.
|
|
13088
13126
|
*
|
|
13089
13127
|
* @param request - The request {@link DeleteClusterRequest}
|
|
13090
13128
|
* @returns A Promise of Cluster
|
|
@@ -13096,7 +13134,7 @@ let API$d = class API extends API$q {
|
|
|
13096
13134
|
}, unmarshalCluster$1);
|
|
13097
13135
|
|
|
13098
13136
|
/**
|
|
13099
|
-
* Upgrade a
|
|
13137
|
+
* Upgrade a Cluster. Upgrade a specific Kubernetes cluster and possibly its
|
|
13100
13138
|
* associated pools to a specific and supported Kubernetes version.
|
|
13101
13139
|
*
|
|
13102
13140
|
* @param request - The request {@link UpgradeClusterRequest}
|
|
@@ -13110,7 +13148,7 @@ let API$d = class API extends API$q {
|
|
|
13110
13148
|
}, unmarshalCluster$1);
|
|
13111
13149
|
|
|
13112
13150
|
/**
|
|
13113
|
-
* Change
|
|
13151
|
+
* Change the Cluster type. Change the type of a specific Kubernetes cluster.
|
|
13114
13152
|
*
|
|
13115
13153
|
* @param request - The request {@link SetClusterTypeRequest}
|
|
13116
13154
|
* @returns A Promise of Cluster
|
|
@@ -13123,8 +13161,8 @@ let API$d = class API extends API$q {
|
|
|
13123
13161
|
}, unmarshalCluster$1);
|
|
13124
13162
|
|
|
13125
13163
|
/**
|
|
13126
|
-
* List available versions for a
|
|
13127
|
-
* Kubernetes cluster is allowed to upgrade to. Results will
|
|
13164
|
+
* List available versions for a Cluster. List the versions that a specific
|
|
13165
|
+
* Kubernetes cluster is allowed to upgrade to. Results will include every
|
|
13128
13166
|
* patch version greater than the current patch, as well as one minor version
|
|
13129
13167
|
* ahead of the current version. Any upgrade skipping a minor version will not
|
|
13130
13168
|
* work.
|
|
@@ -13144,10 +13182,10 @@ let API$d = class API extends API$q {
|
|
|
13144
13182
|
});
|
|
13145
13183
|
|
|
13146
13184
|
/**
|
|
13147
|
-
* Reset the admin token of a
|
|
13148
|
-
* Kubernetes cluster. This will
|
|
13149
|
-
*
|
|
13150
|
-
*
|
|
13185
|
+
* Reset the admin token of a Cluster. Reset the admin token for a specific
|
|
13186
|
+
* Kubernetes cluster. This will revoke the old admin token (which will not be
|
|
13187
|
+
* usable afterwards) and create a new one. Note that you will need to
|
|
13188
|
+
* download kubeconfig again to keep interacting with the cluster.
|
|
13151
13189
|
*
|
|
13152
13190
|
* @param request - The request {@link ResetClusterAdminTokenRequest}
|
|
13153
13191
|
*/
|
|
@@ -13164,7 +13202,7 @@ let API$d = class API extends API$q {
|
|
|
13164
13202
|
}, unmarshalListPoolsResponse);
|
|
13165
13203
|
|
|
13166
13204
|
/**
|
|
13167
|
-
* List
|
|
13205
|
+
* List Pools in a Cluster. List all the existing pools for a specific
|
|
13168
13206
|
* Kubernetes cluster.
|
|
13169
13207
|
*
|
|
13170
13208
|
* @param request - The request {@link ListPoolsRequest}
|
|
@@ -13173,7 +13211,7 @@ let API$d = class API extends API$q {
|
|
|
13173
13211
|
listPools = request => enrichForPagination('pools', this.pageOfListPools, request);
|
|
13174
13212
|
|
|
13175
13213
|
/**
|
|
13176
|
-
* Create a new
|
|
13214
|
+
* Create a new Pool in a Cluster. Create a new pool in a specific Kubernetes
|
|
13177
13215
|
* cluster.
|
|
13178
13216
|
*
|
|
13179
13217
|
* @param request - The request {@link CreatePoolRequest}
|
|
@@ -13187,8 +13225,8 @@ let API$d = class API extends API$q {
|
|
|
13187
13225
|
}, unmarshalPool);
|
|
13188
13226
|
|
|
13189
13227
|
/**
|
|
13190
|
-
* Get a
|
|
13191
|
-
* cluster.
|
|
13228
|
+
* Get a Pool in a Cluster. Retrieve details about a specific pool in a
|
|
13229
|
+
* Kubernetes cluster.
|
|
13192
13230
|
*
|
|
13193
13231
|
* @param request - The request {@link GetPoolRequest}
|
|
13194
13232
|
* @returns A Promise of Pool
|
|
@@ -13208,9 +13246,9 @@ let API$d = class API extends API$q {
|
|
|
13208
13246
|
waitForPool = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!POOL_TRANSIENT_STATUSES.includes(res.status))), this.getPool, request, options);
|
|
13209
13247
|
|
|
13210
13248
|
/**
|
|
13211
|
-
* Upgrade a
|
|
13212
|
-
* pool. Note that
|
|
13213
|
-
*
|
|
13249
|
+
* Upgrade a Pool in a Cluster. Upgrade the Kubernetes version of a specific
|
|
13250
|
+
* pool. Note that it only works if the targeted version matches the cluster's
|
|
13251
|
+
* version.
|
|
13214
13252
|
*
|
|
13215
13253
|
* @param request - The request {@link UpgradePoolRequest}
|
|
13216
13254
|
* @returns A Promise of Pool
|
|
@@ -13223,8 +13261,8 @@ let API$d = class API extends API$q {
|
|
|
13223
13261
|
}, unmarshalPool);
|
|
13224
13262
|
|
|
13225
13263
|
/**
|
|
13226
|
-
* Update a
|
|
13227
|
-
* size, autoscaling settings, and tags.
|
|
13264
|
+
* Update a Pool in a Cluster. Update the attributes of a specific pool, such
|
|
13265
|
+
* as its desired size, autoscaling settings, and tags.
|
|
13228
13266
|
*
|
|
13229
13267
|
* @param request - The request {@link UpdatePoolRequest}
|
|
13230
13268
|
* @returns A Promise of Pool
|
|
@@ -13237,8 +13275,8 @@ let API$d = class API extends API$q {
|
|
|
13237
13275
|
}, unmarshalPool);
|
|
13238
13276
|
|
|
13239
13277
|
/**
|
|
13240
|
-
* Delete a
|
|
13241
|
-
* the pool's nodes will also be deleted.
|
|
13278
|
+
* Delete a Pool in a Cluster. Delete a specific pool from a cluster. Note
|
|
13279
|
+
* that all the pool's nodes will also be deleted.
|
|
13242
13280
|
*
|
|
13243
13281
|
* @param request - The request {@link DeletePoolRequest}
|
|
13244
13282
|
* @returns A Promise of Pool
|
|
@@ -13249,8 +13287,8 @@ let API$d = class API extends API$q {
|
|
|
13249
13287
|
}, unmarshalPool);
|
|
13250
13288
|
|
|
13251
13289
|
/**
|
|
13252
|
-
* Create a Kosmos node.
|
|
13253
|
-
* intended to be
|
|
13290
|
+
* Create a Kosmos node. Retrieve metadata for a Kosmos node. This method is
|
|
13291
|
+
* not intended to be called by end users but rather programmatically by the
|
|
13254
13292
|
* kapsule-node-agent.
|
|
13255
13293
|
*
|
|
13256
13294
|
* @param request - The request {@link CreateExternalNodeRequest}
|
|
@@ -13269,7 +13307,7 @@ let API$d = class API extends API$q {
|
|
|
13269
13307
|
}, unmarshalListNodesResponse);
|
|
13270
13308
|
|
|
13271
13309
|
/**
|
|
13272
|
-
* List
|
|
13310
|
+
* List Nodes in a Cluster. List all the existing nodes for a specific
|
|
13273
13311
|
* Kubernetes cluster.
|
|
13274
13312
|
*
|
|
13275
13313
|
* @param request - The request {@link ListNodesRequest}
|
|
@@ -13278,7 +13316,7 @@ let API$d = class API extends API$q {
|
|
|
13278
13316
|
listNodes = request => enrichForPagination('nodes', this.pageOfListNodes, request);
|
|
13279
13317
|
|
|
13280
13318
|
/**
|
|
13281
|
-
* Get a
|
|
13319
|
+
* Get a Node in a Cluster. Retrieve details about a specific Kubernetes Node.
|
|
13282
13320
|
*
|
|
13283
13321
|
* @param request - The request {@link GetNodeRequest}
|
|
13284
13322
|
* @returns A Promise of Node
|
|
@@ -13298,13 +13336,12 @@ let API$d = class API extends API$q {
|
|
|
13298
13336
|
waitForNode = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!NODE_TRANSIENT_STATUSES.includes(res.status))), this.getNode, request, options);
|
|
13299
13337
|
|
|
13300
13338
|
/**
|
|
13301
|
-
* Replace a
|
|
13302
|
-
* cordoned
|
|
13303
|
-
*
|
|
13304
|
-
*
|
|
13305
|
-
*
|
|
13306
|
-
*
|
|
13307
|
-
* disruption of your applications.
|
|
13339
|
+
* Replace a Node in a Cluster. Replace a specific Node. The node will first
|
|
13340
|
+
* be cordoned (scheduling will be disabled on it). The existing pods on the
|
|
13341
|
+
* node will then be drained and rescheduled onto another schedulable node.
|
|
13342
|
+
* Note that when there is not enough space to reschedule all the pods (such
|
|
13343
|
+
* as in a one-node cluster), disruption of your applications can be
|
|
13344
|
+
* expected.
|
|
13308
13345
|
*
|
|
13309
13346
|
* @deprecated
|
|
13310
13347
|
* @param request - The request {@link ReplaceNodeRequest}
|
|
@@ -13318,12 +13355,11 @@ let API$d = class API extends API$q {
|
|
|
13318
13355
|
}, unmarshalNode);
|
|
13319
13356
|
|
|
13320
13357
|
/**
|
|
13321
|
-
* Reboot a
|
|
13322
|
-
* cordoned
|
|
13323
|
-
*
|
|
13324
|
-
*
|
|
13325
|
-
* one-node cluster
|
|
13326
|
-
* applications.
|
|
13358
|
+
* Reboot a Node in a Cluster. Reboot a specific Node. The node will first be
|
|
13359
|
+
* cordoned (scheduling will be disabled on it). The existing pods on the node
|
|
13360
|
+
* will then be drained and rescheduled onto another schedulable node. Note
|
|
13361
|
+
* that when there is not enough space to reschedule all the pods (such as in
|
|
13362
|
+
* a one-node cluster), disruption of your applications can be expected.
|
|
13327
13363
|
*
|
|
13328
13364
|
* @param request - The request {@link RebootNodeRequest}
|
|
13329
13365
|
* @returns A Promise of Node
|
|
@@ -13336,9 +13372,9 @@ let API$d = class API extends API$q {
|
|
|
13336
13372
|
}, unmarshalNode);
|
|
13337
13373
|
|
|
13338
13374
|
/**
|
|
13339
|
-
* Delete a
|
|
13340
|
-
* not enough space to reschedule all the pods (in a one-node
|
|
13341
|
-
*
|
|
13375
|
+
* Delete a Node in a Cluster. Delete a specific Node. Note that when there is
|
|
13376
|
+
* not enough space to reschedule all the pods (such as in a one-node
|
|
13377
|
+
* cluster), disruption of your applications can be expected.
|
|
13342
13378
|
*
|
|
13343
13379
|
* @param request - The request {@link DeleteNodeRequest}
|
|
13344
13380
|
* @returns A Promise of Node
|
|
@@ -13350,7 +13386,7 @@ let API$d = class API extends API$q {
|
|
|
13350
13386
|
}, unmarshalNode);
|
|
13351
13387
|
|
|
13352
13388
|
/**
|
|
13353
|
-
* List all available
|
|
13389
|
+
* List all available Versions. List all available versions for the creation
|
|
13354
13390
|
* of a new Kubernetes cluster.
|
|
13355
13391
|
*
|
|
13356
13392
|
* @param request - The request {@link ListVersionsRequest}
|
|
@@ -13362,8 +13398,7 @@ let API$d = class API extends API$q {
|
|
|
13362
13398
|
}, unmarshalListVersionsResponse$2);
|
|
13363
13399
|
|
|
13364
13400
|
/**
|
|
13365
|
-
* Get
|
|
13366
|
-
* the details about the version.
|
|
13401
|
+
* Get a Version. Retrieve a specific Kubernetes version and its details.
|
|
13367
13402
|
*
|
|
13368
13403
|
* @param request - The request {@link GetVersionRequest}
|
|
13369
13404
|
* @returns A Promise of Version
|
|
@@ -13520,6 +13555,7 @@ const LB_TRANSIENT_STATUSES = ['pending', 'migrating', 'to_create', 'creating',
|
|
|
13520
13555
|
const PRIVATE_NETWORK_TRANSIENT_STATUSES = ['pending'];
|
|
13521
13556
|
|
|
13522
13557
|
// This file was automatically generated. DO NOT EDIT.
|
|
13558
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
13523
13559
|
const unmarshalSubscriberEmailConfig = data => {
|
|
13524
13560
|
if (!isJSONObject(data)) {
|
|
13525
13561
|
throw new TypeError(`Unmarshalling the type 'SubscriberEmailConfig' failed as data isn't a dictionary.`);
|
|
@@ -13704,6 +13740,7 @@ const unmarshalBackend = data => {
|
|
|
13704
13740
|
id: data.id,
|
|
13705
13741
|
ignoreSslServerVerify: data.ignore_ssl_server_verify,
|
|
13706
13742
|
lb: data.lb ? unmarshalLb(data.lb) : undefined,
|
|
13743
|
+
maxConnections: data.max_connections,
|
|
13707
13744
|
maxRetries: data.max_retries,
|
|
13708
13745
|
name: data.name,
|
|
13709
13746
|
onMarkedDownAction: data.on_marked_down_action,
|
|
@@ -13715,6 +13752,7 @@ const unmarshalBackend = data => {
|
|
|
13715
13752
|
stickySessions: data.sticky_sessions,
|
|
13716
13753
|
stickySessionsCookieName: data.sticky_sessions_cookie_name,
|
|
13717
13754
|
timeoutConnect: data.timeout_connect,
|
|
13755
|
+
timeoutQueue: data.timeout_queue,
|
|
13718
13756
|
timeoutServer: data.timeout_server,
|
|
13719
13757
|
timeoutTunnel: data.timeout_tunnel,
|
|
13720
13758
|
updatedAt: unmarshalDate(data.updated_at)
|
|
@@ -14124,6 +14162,7 @@ const marshalCreateBackendRequest = (request, defaults) => ({
|
|
|
14124
14162
|
forward_protocol: request.forwardProtocol,
|
|
14125
14163
|
health_check: marshalHealthCheck(request.healthCheck),
|
|
14126
14164
|
ignore_ssl_server_verify: request.ignoreSslServerVerify,
|
|
14165
|
+
max_connections: request.maxConnections,
|
|
14127
14166
|
max_retries: request.maxRetries,
|
|
14128
14167
|
name: request.name || randomName('lbb'),
|
|
14129
14168
|
on_marked_down_action: request.onMarkedDownAction ?? 'on_marked_down_action_none',
|
|
@@ -14135,6 +14174,7 @@ const marshalCreateBackendRequest = (request, defaults) => ({
|
|
|
14135
14174
|
sticky_sessions: request.stickySessions,
|
|
14136
14175
|
sticky_sessions_cookie_name: request.stickySessionsCookieName,
|
|
14137
14176
|
timeout_connect: request.timeoutConnect,
|
|
14177
|
+
timeout_queue: request.timeoutQueue,
|
|
14138
14178
|
timeout_server: request.timeoutServer,
|
|
14139
14179
|
timeout_tunnel: request.timeoutTunnel
|
|
14140
14180
|
});
|
|
@@ -14235,6 +14275,7 @@ const marshalUpdateBackendRequest = (request, defaults) => ({
|
|
|
14235
14275
|
forward_port_algorithm: request.forwardPortAlgorithm,
|
|
14236
14276
|
forward_protocol: request.forwardProtocol,
|
|
14237
14277
|
ignore_ssl_server_verify: request.ignoreSslServerVerify,
|
|
14278
|
+
max_connections: request.maxConnections,
|
|
14238
14279
|
max_retries: request.maxRetries,
|
|
14239
14280
|
name: request.name,
|
|
14240
14281
|
on_marked_down_action: request.onMarkedDownAction ?? 'on_marked_down_action_none',
|
|
@@ -14245,6 +14286,7 @@ const marshalUpdateBackendRequest = (request, defaults) => ({
|
|
|
14245
14286
|
sticky_sessions: request.stickySessions,
|
|
14246
14287
|
sticky_sessions_cookie_name: request.stickySessionsCookieName,
|
|
14247
14288
|
timeout_connect: request.timeoutConnect,
|
|
14289
|
+
timeout_queue: request.timeoutQueue,
|
|
14248
14290
|
timeout_server: request.timeoutServer,
|
|
14249
14291
|
timeout_tunnel: request.timeoutTunnel
|
|
14250
14292
|
});
|
|
@@ -14342,6 +14384,7 @@ const marshalZonedApiCreateBackendRequest = (request, defaults) => ({
|
|
|
14342
14384
|
forward_protocol: request.forwardProtocol,
|
|
14343
14385
|
health_check: marshalHealthCheck(request.healthCheck),
|
|
14344
14386
|
ignore_ssl_server_verify: request.ignoreSslServerVerify,
|
|
14387
|
+
max_connections: request.maxConnections,
|
|
14345
14388
|
max_retries: request.maxRetries,
|
|
14346
14389
|
name: request.name || randomName('lbb'),
|
|
14347
14390
|
on_marked_down_action: request.onMarkedDownAction ?? 'on_marked_down_action_none',
|
|
@@ -14353,6 +14396,7 @@ const marshalZonedApiCreateBackendRequest = (request, defaults) => ({
|
|
|
14353
14396
|
sticky_sessions: request.stickySessions,
|
|
14354
14397
|
sticky_sessions_cookie_name: request.stickySessionsCookieName,
|
|
14355
14398
|
timeout_connect: request.timeoutConnect,
|
|
14399
|
+
timeout_queue: request.timeoutQueue,
|
|
14356
14400
|
timeout_server: request.timeoutServer,
|
|
14357
14401
|
timeout_tunnel: request.timeoutTunnel
|
|
14358
14402
|
});
|
|
@@ -14456,6 +14500,7 @@ const marshalZonedApiUpdateBackendRequest = (request, defaults) => ({
|
|
|
14456
14500
|
forward_port_algorithm: request.forwardPortAlgorithm,
|
|
14457
14501
|
forward_protocol: request.forwardProtocol,
|
|
14458
14502
|
ignore_ssl_server_verify: request.ignoreSslServerVerify,
|
|
14503
|
+
max_connections: request.maxConnections,
|
|
14459
14504
|
max_retries: request.maxRetries,
|
|
14460
14505
|
name: request.name,
|
|
14461
14506
|
on_marked_down_action: request.onMarkedDownAction ?? 'on_marked_down_action_none',
|
|
@@ -14466,6 +14511,7 @@ const marshalZonedApiUpdateBackendRequest = (request, defaults) => ({
|
|
|
14466
14511
|
sticky_sessions: request.stickySessions,
|
|
14467
14512
|
sticky_sessions_cookie_name: request.stickySessionsCookieName,
|
|
14468
14513
|
timeout_connect: request.timeoutConnect,
|
|
14514
|
+
timeout_queue: request.timeoutQueue,
|
|
14469
14515
|
timeout_server: request.timeoutServer,
|
|
14470
14516
|
timeout_tunnel: request.timeoutTunnel
|
|
14471
14517
|
});
|
|
@@ -14536,6 +14582,7 @@ const marshalZonedApiUpdateSubscriberRequest = (request, defaults) => ({
|
|
|
14536
14582
|
});
|
|
14537
14583
|
|
|
14538
14584
|
// This file was automatically generated. DO NOT EDIT.
|
|
14585
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
14539
14586
|
const jsonContentHeaders$a = {
|
|
14540
14587
|
'Content-Type': 'application/json; charset=utf-8'
|
|
14541
14588
|
};
|
|
@@ -16103,6 +16150,7 @@ var index$b = /*#__PURE__*/Object.freeze({
|
|
|
16103
16150
|
});
|
|
16104
16151
|
|
|
16105
16152
|
// This file was automatically generated. DO NOT EDIT.
|
|
16153
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16106
16154
|
const unmarshalLocalImage$1 = data => {
|
|
16107
16155
|
if (!isJSONObject(data)) {
|
|
16108
16156
|
throw new TypeError(`Unmarshalling the type 'LocalImage' failed as data isn't a dictionary.`);
|
|
@@ -16190,6 +16238,7 @@ const unmarshalListVersionsResponse$1 = data => {
|
|
|
16190
16238
|
};
|
|
16191
16239
|
|
|
16192
16240
|
// This file was automatically generated. DO NOT EDIT.
|
|
16241
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16193
16242
|
/** Marketplace API. */
|
|
16194
16243
|
let API$b = class API extends API$q {
|
|
16195
16244
|
pageOfListImages = (request = {}) => this.client.fetch({
|
|
@@ -16227,6 +16276,7 @@ let API$b = class API extends API$q {
|
|
|
16227
16276
|
};
|
|
16228
16277
|
|
|
16229
16278
|
// This file was automatically generated. DO NOT EDIT.
|
|
16279
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16230
16280
|
|
|
16231
16281
|
var index_gen$b = /*#__PURE__*/Object.freeze({
|
|
16232
16282
|
__proto__: null,
|
|
@@ -16234,6 +16284,7 @@ var index_gen$b = /*#__PURE__*/Object.freeze({
|
|
|
16234
16284
|
});
|
|
16235
16285
|
|
|
16236
16286
|
// This file was automatically generated. DO NOT EDIT.
|
|
16287
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16237
16288
|
const unmarshalCategory = data => {
|
|
16238
16289
|
if (!isJSONObject(data)) {
|
|
16239
16290
|
throw new TypeError(`Unmarshalling the type 'Category' failed as data isn't a dictionary.`);
|
|
@@ -16322,6 +16373,7 @@ const unmarshalListVersionsResponse = data => {
|
|
|
16322
16373
|
};
|
|
16323
16374
|
|
|
16324
16375
|
// This file was automatically generated. DO NOT EDIT.
|
|
16376
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16325
16377
|
/** Marketplace API. */
|
|
16326
16378
|
let API$a = class API extends API$q {
|
|
16327
16379
|
pageOfListImages = request => this.client.fetch({
|
|
@@ -16445,6 +16497,7 @@ let API$a = class API extends API$q {
|
|
|
16445
16497
|
};
|
|
16446
16498
|
|
|
16447
16499
|
// This file was automatically generated. DO NOT EDIT.
|
|
16500
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16448
16501
|
|
|
16449
16502
|
var index_gen$a = /*#__PURE__*/Object.freeze({
|
|
16450
16503
|
__proto__: null,
|
|
@@ -16458,6 +16511,7 @@ var index$a = /*#__PURE__*/Object.freeze({
|
|
|
16458
16511
|
});
|
|
16459
16512
|
|
|
16460
16513
|
// This file was automatically generated. DO NOT EDIT.
|
|
16514
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16461
16515
|
const unmarshalPermissions = data => {
|
|
16462
16516
|
if (!isJSONObject(data)) {
|
|
16463
16517
|
throw new TypeError(`Unmarshalling the type 'Permissions' failed as data isn't a dictionary.`);
|
|
@@ -16578,6 +16632,7 @@ const marshalUpdateNamespaceRequest$1 = (request, defaults) => ({
|
|
|
16578
16632
|
});
|
|
16579
16633
|
|
|
16580
16634
|
// This file was automatically generated. DO NOT EDIT.
|
|
16635
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16581
16636
|
const jsonContentHeaders$9 = {
|
|
16582
16637
|
'Content-Type': 'application/json; charset=utf-8'
|
|
16583
16638
|
};
|
|
@@ -16737,6 +16792,7 @@ let API$9 = class API extends API$q {
|
|
|
16737
16792
|
};
|
|
16738
16793
|
|
|
16739
16794
|
// This file was automatically generated. DO NOT EDIT.
|
|
16795
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16740
16796
|
|
|
16741
16797
|
var index_gen$9 = /*#__PURE__*/Object.freeze({
|
|
16742
16798
|
__proto__: null,
|
|
@@ -16770,6 +16826,7 @@ const READ_REPLICA_TRANSIENT_STATUSES = ['provisioning', 'initializing', 'deleti
|
|
|
16770
16826
|
const SNAPSHOT_TRANSIENT_STATUSES = ['creating', 'restoring', 'deleting'];
|
|
16771
16827
|
|
|
16772
16828
|
// This file was automatically generated. DO NOT EDIT.
|
|
16829
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16773
16830
|
const unmarshalEndpointDirectAccessDetails = data => {
|
|
16774
16831
|
if (!isJSONObject(data)) {
|
|
16775
16832
|
throw new TypeError(`Unmarshalling the type 'EndpointDirectAccessDetails' failed as data isn't a dictionary.`);
|
|
@@ -17450,6 +17507,7 @@ const marshalUpgradeInstanceRequest = (request, defaults) => ({
|
|
|
17450
17507
|
});
|
|
17451
17508
|
|
|
17452
17509
|
// This file was automatically generated. DO NOT EDIT.
|
|
17510
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
17453
17511
|
const jsonContentHeaders$8 = {
|
|
17454
17512
|
'Content-Type': 'application/json; charset=utf-8'
|
|
17455
17513
|
};
|
|
@@ -18337,6 +18395,7 @@ let API$8 = class API extends API$q {
|
|
|
18337
18395
|
};
|
|
18338
18396
|
|
|
18339
18397
|
// This file was automatically generated. DO NOT EDIT.
|
|
18398
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
18340
18399
|
|
|
18341
18400
|
var index_gen$8 = /*#__PURE__*/Object.freeze({
|
|
18342
18401
|
__proto__: null,
|
|
@@ -18361,6 +18420,7 @@ var index$8 = /*#__PURE__*/Object.freeze({
|
|
|
18361
18420
|
const CLUSTER_TRANSIENT_STATUSES = ['provisioning', 'configuring', 'deleting', 'autohealing', 'initializing'];
|
|
18362
18421
|
|
|
18363
18422
|
// This file was automatically generated. DO NOT EDIT.
|
|
18423
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
18364
18424
|
const unmarshalPrivateNetwork$1 = data => {
|
|
18365
18425
|
if (!isJSONObject(data)) {
|
|
18366
18426
|
throw new TypeError(`Unmarshalling the type 'PrivateNetwork' failed as data isn't a dictionary.`);
|
|
@@ -18636,6 +18696,7 @@ const marshalUpdateEndpointRequest = (request, defaults) => ({
|
|
|
18636
18696
|
});
|
|
18637
18697
|
|
|
18638
18698
|
// This file was automatically generated. DO NOT EDIT.
|
|
18699
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
18639
18700
|
const jsonContentHeaders$7 = {
|
|
18640
18701
|
'Content-Type': 'application/json; charset=utf-8'
|
|
18641
18702
|
};
|
|
@@ -19000,6 +19061,7 @@ let API$7 = class API extends API$q {
|
|
|
19000
19061
|
};
|
|
19001
19062
|
|
|
19002
19063
|
// This file was automatically generated. DO NOT EDIT.
|
|
19064
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19003
19065
|
|
|
19004
19066
|
var index_gen$7 = /*#__PURE__*/Object.freeze({
|
|
19005
19067
|
__proto__: null,
|
|
@@ -19025,6 +19087,7 @@ const NAMESPACE_TRANSIENT_STATUSES = ['deleting'];
|
|
|
19025
19087
|
const TAG_TRANSIENT_STATUSES = ['deleting'];
|
|
19026
19088
|
|
|
19027
19089
|
// This file was automatically generated. DO NOT EDIT.
|
|
19090
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19028
19091
|
const unmarshalImage = data => {
|
|
19029
19092
|
if (!isJSONObject(data)) {
|
|
19030
19093
|
throw new TypeError(`Unmarshalling the type 'Image' failed as data isn't a dictionary.`);
|
|
@@ -19127,6 +19190,7 @@ const marshalUpdateNamespaceRequest = (request, defaults) => ({
|
|
|
19127
19190
|
});
|
|
19128
19191
|
|
|
19129
19192
|
// This file was automatically generated. DO NOT EDIT.
|
|
19193
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19130
19194
|
const jsonContentHeaders$6 = {
|
|
19131
19195
|
'Content-Type': 'application/json; charset=utf-8'
|
|
19132
19196
|
};
|
|
@@ -19338,6 +19402,7 @@ let API$6 = class API extends API$q {
|
|
|
19338
19402
|
};
|
|
19339
19403
|
|
|
19340
19404
|
// This file was automatically generated. DO NOT EDIT.
|
|
19405
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19341
19406
|
|
|
19342
19407
|
var index_gen$6 = /*#__PURE__*/Object.freeze({
|
|
19343
19408
|
__proto__: null,
|
|
@@ -19353,6 +19418,7 @@ var index$6 = /*#__PURE__*/Object.freeze({
|
|
|
19353
19418
|
});
|
|
19354
19419
|
|
|
19355
19420
|
// This file was automatically generated. DO NOT EDIT.
|
|
19421
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19356
19422
|
const unmarshalSecret = data => {
|
|
19357
19423
|
if (!isJSONObject(data)) {
|
|
19358
19424
|
throw new TypeError(`Unmarshalling the type 'Secret' failed as data isn't a dictionary.`);
|
|
@@ -19450,6 +19516,7 @@ const marshalUpdateSecretVersionRequest = (request, defaults) => ({
|
|
|
19450
19516
|
});
|
|
19451
19517
|
|
|
19452
19518
|
// This file was automatically generated. DO NOT EDIT.
|
|
19519
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19453
19520
|
const jsonContentHeaders$5 = {
|
|
19454
19521
|
'Content-Type': 'application/json; charset=utf-8'
|
|
19455
19522
|
};
|
|
@@ -19708,6 +19775,7 @@ let API$5 = class API extends API$q {
|
|
|
19708
19775
|
};
|
|
19709
19776
|
|
|
19710
19777
|
// This file was automatically generated. DO NOT EDIT.
|
|
19778
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19711
19779
|
|
|
19712
19780
|
var index_gen$5 = /*#__PURE__*/Object.freeze({
|
|
19713
19781
|
__proto__: null,
|
|
@@ -19726,6 +19794,7 @@ var index$5 = /*#__PURE__*/Object.freeze({
|
|
|
19726
19794
|
const HUMAN_TRANSIENT_STATUSES = ['running'];
|
|
19727
19795
|
|
|
19728
19796
|
// This file was automatically generated. DO NOT EDIT.
|
|
19797
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19729
19798
|
const unmarshalHuman = data => {
|
|
19730
19799
|
if (!isJSONObject(data)) {
|
|
19731
19800
|
throw new TypeError(`Unmarshalling the type 'Human' failed as data isn't a dictionary.`);
|
|
@@ -19802,6 +19871,7 @@ const marshalUpdateHumanRequest = (request, defaults) => ({
|
|
|
19802
19871
|
});
|
|
19803
19872
|
|
|
19804
19873
|
// This file was automatically generated. DO NOT EDIT.
|
|
19874
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19805
19875
|
const jsonContentHeaders$4 = {
|
|
19806
19876
|
'Content-Type': 'application/json; charset=utf-8'
|
|
19807
19877
|
};
|
|
@@ -19938,6 +20008,7 @@ let API$4 = class API extends API$q {
|
|
|
19938
20008
|
};
|
|
19939
20009
|
|
|
19940
20010
|
// This file was automatically generated. DO NOT EDIT.
|
|
20011
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19941
20012
|
|
|
19942
20013
|
var index_gen$4 = /*#__PURE__*/Object.freeze({
|
|
19943
20014
|
__proto__: null,
|
|
@@ -19960,6 +20031,7 @@ const DOMAIN_TRANSIENT_STATUSES = ['pending'];
|
|
|
19960
20031
|
const EMAIL_TRANSIENT_STATUSES = ['new', 'sending'];
|
|
19961
20032
|
|
|
19962
20033
|
// This file was automatically generated. DO NOT EDIT.
|
|
20034
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19963
20035
|
const unmarshalDomainStatistics = data => {
|
|
19964
20036
|
if (!isJSONObject(data)) {
|
|
19965
20037
|
throw new TypeError(`Unmarshalling the type 'DomainStatistics' failed as data isn't a dictionary.`);
|
|
@@ -20090,6 +20162,7 @@ const marshalCreateEmailRequest = (request, defaults) => ({
|
|
|
20090
20162
|
});
|
|
20091
20163
|
|
|
20092
20164
|
// This file was automatically generated. DO NOT EDIT.
|
|
20165
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20093
20166
|
const jsonContentHeaders$3 = {
|
|
20094
20167
|
'Content-Type': 'application/json; charset=utf-8'
|
|
20095
20168
|
};
|
|
@@ -20257,6 +20330,7 @@ let API$3 = class API extends API$q {
|
|
|
20257
20330
|
};
|
|
20258
20331
|
|
|
20259
20332
|
// This file was automatically generated. DO NOT EDIT.
|
|
20333
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20260
20334
|
|
|
20261
20335
|
var index_gen$3 = /*#__PURE__*/Object.freeze({
|
|
20262
20336
|
__proto__: null,
|
|
@@ -20271,6 +20345,7 @@ var index$3 = /*#__PURE__*/Object.freeze({
|
|
|
20271
20345
|
});
|
|
20272
20346
|
|
|
20273
20347
|
// This file was automatically generated. DO NOT EDIT.
|
|
20348
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20274
20349
|
const unmarshalPrivateNetwork = data => {
|
|
20275
20350
|
if (!isJSONObject(data)) {
|
|
20276
20351
|
throw new TypeError(`Unmarshalling the type 'PrivateNetwork' failed as data isn't a dictionary.`);
|
|
@@ -20309,6 +20384,7 @@ const marshalUpdatePrivateNetworkRequest = (request, defaults) => ({
|
|
|
20309
20384
|
});
|
|
20310
20385
|
|
|
20311
20386
|
// This file was automatically generated. DO NOT EDIT.
|
|
20387
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20312
20388
|
const jsonContentHeaders$2 = {
|
|
20313
20389
|
'Content-Type': 'application/json; charset=utf-8'
|
|
20314
20390
|
};
|
|
@@ -20388,6 +20464,7 @@ let API$2 = class API extends API$q {
|
|
|
20388
20464
|
};
|
|
20389
20465
|
|
|
20390
20466
|
// This file was automatically generated. DO NOT EDIT.
|
|
20467
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20391
20468
|
|
|
20392
20469
|
var index_gen$2 = /*#__PURE__*/Object.freeze({
|
|
20393
20470
|
__proto__: null,
|
|
@@ -20409,6 +20486,7 @@ const GATEWAY_NETWORK_TRANSIENT_STATUSES = ['attaching', 'configuring', 'detachi
|
|
|
20409
20486
|
const GATEWAY_TRANSIENT_STATUSES = ['allocating', 'configuring', 'stopping', 'deleting'];
|
|
20410
20487
|
|
|
20411
20488
|
// This file was automatically generated. DO NOT EDIT.
|
|
20489
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20412
20490
|
const unmarshalDHCP = data => {
|
|
20413
20491
|
if (!isJSONObject(data)) {
|
|
20414
20492
|
throw new TypeError(`Unmarshalling the type 'DHCP' failed as data isn't a dictionary.`);
|
|
@@ -20743,6 +20821,7 @@ const marshalUpdatePATRuleRequest = (request, defaults) => ({
|
|
|
20743
20821
|
});
|
|
20744
20822
|
|
|
20745
20823
|
// This file was automatically generated. DO NOT EDIT.
|
|
20824
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20746
20825
|
const jsonContentHeaders$1 = {
|
|
20747
20826
|
'Content-Type': 'application/json; charset=utf-8'
|
|
20748
20827
|
};
|
|
@@ -21291,6 +21370,7 @@ let API$1 = class API extends API$q {
|
|
|
21291
21370
|
};
|
|
21292
21371
|
|
|
21293
21372
|
// This file was automatically generated. DO NOT EDIT.
|
|
21373
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
21294
21374
|
|
|
21295
21375
|
var index_gen$1 = /*#__PURE__*/Object.freeze({
|
|
21296
21376
|
__proto__: null,
|
|
@@ -21311,6 +21391,7 @@ var index$1 = /*#__PURE__*/Object.freeze({
|
|
|
21311
21391
|
const HOSTING_TRANSIENT_STATUSES = ['delivering', 'deleting'];
|
|
21312
21392
|
|
|
21313
21393
|
// This file was automatically generated. DO NOT EDIT.
|
|
21394
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
21314
21395
|
const unmarshalHostingCpanelUrls = data => {
|
|
21315
21396
|
if (!isJSONObject(data)) {
|
|
21316
21397
|
throw new TypeError(`Unmarshalling the type 'HostingCpanelUrls' failed as data isn't a dictionary.`);
|
|
@@ -21448,6 +21529,7 @@ const marshalUpdateHostingRequest = (request, defaults) => ({
|
|
|
21448
21529
|
});
|
|
21449
21530
|
|
|
21450
21531
|
// This file was automatically generated. DO NOT EDIT.
|
|
21532
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
21451
21533
|
const jsonContentHeaders = {
|
|
21452
21534
|
'Content-Type': 'application/json; charset=utf-8'
|
|
21453
21535
|
};
|
|
@@ -21599,6 +21681,7 @@ var validationRules_gen = /*#__PURE__*/Object.freeze({
|
|
|
21599
21681
|
});
|
|
21600
21682
|
|
|
21601
21683
|
// This file was automatically generated. DO NOT EDIT.
|
|
21684
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
21602
21685
|
|
|
21603
21686
|
var index_gen = /*#__PURE__*/Object.freeze({
|
|
21604
21687
|
__proto__: null,
|