@scaleway/sdk 2.71.1 → 2.73.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/index.gen.d.ts +2 -2
- package/dist/api/account/v2/api.gen.cjs +5 -4
- package/dist/api/account/v2/api.gen.d.ts +1 -1
- package/dist/api/account/v2/api.gen.js +5 -4
- package/dist/api/account/v2/marshalling.gen.cjs +4 -3
- package/dist/api/account/v2/marshalling.gen.d.ts +1 -1
- package/dist/api/account/v2/marshalling.gen.js +4 -3
- package/dist/api/account/v3/api.gen.cjs +18 -36
- package/dist/api/account/v3/api.gen.d.ts +18 -37
- package/dist/api/account/v3/api.gen.js +18 -36
- package/dist/api/account/v3/index.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.cjs +4 -3
- package/dist/api/account/v3/marshalling.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.js +4 -3
- package/dist/api/account/v3/types.gen.d.ts +187 -85
- package/dist/api/applesilicon/index.gen.d.ts +2 -2
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +25 -51
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +26 -51
- package/dist/api/applesilicon/v1alpha1/api.gen.js +25 -51
- package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +311 -136
- package/dist/api/audit_trail/index.gen.d.ts +2 -2
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +6 -8
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +6 -10
- package/dist/api/audit_trail/v1alpha1/api.gen.js +6 -8
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +111 -83
- package/dist/api/baremetal/index.gen.d.ts +2 -2
- package/dist/api/baremetal/v1/api.gen.cjs +34 -66
- package/dist/api/baremetal/v1/api.gen.d.ts +31 -62
- package/dist/api/baremetal/v1/api.gen.js +34 -66
- package/dist/api/baremetal/v1/api.utils.cjs +3 -1
- package/dist/api/baremetal/v1/api.utils.d.ts +1 -1
- package/dist/api/baremetal/v1/api.utils.js +3 -1
- package/dist/api/baremetal/v1/index.gen.d.ts +1 -1
- package/dist/api/baremetal/v1/marshalling.gen.cjs +4 -3
- package/dist/api/baremetal/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/baremetal/v1/marshalling.gen.js +4 -3
- package/dist/api/baremetal/v1/types.gen.d.ts +866 -379
- package/dist/api/baremetal/v3/api.gen.cjs +12 -18
- package/dist/api/baremetal/v3/api.gen.d.ts +12 -17
- package/dist/api/baremetal/v3/api.gen.js +12 -18
- package/dist/api/baremetal/v3/marshalling.gen.cjs +4 -3
- package/dist/api/baremetal/v3/marshalling.gen.d.ts +1 -1
- package/dist/api/baremetal/v3/marshalling.gen.js +4 -3
- package/dist/api/baremetal/v3/types.gen.d.ts +83 -33
- package/dist/api/billing/index.gen.d.ts +2 -2
- package/dist/api/billing/v2alpha1/api.gen.cjs +5 -4
- package/dist/api/billing/v2alpha1/api.gen.d.ts +1 -1
- package/dist/api/billing/v2alpha1/api.gen.js +5 -4
- package/dist/api/billing/v2alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/billing/v2alpha1/marshalling.gen.js +4 -3
- package/dist/api/billing/v2alpha1/types.gen.d.ts +1 -1
- package/dist/api/billing/v2beta1/api.gen.cjs +16 -24
- package/dist/api/billing/v2beta1/api.gen.d.ts +10 -20
- package/dist/api/billing/v2beta1/api.gen.js +16 -24
- package/dist/api/billing/v2beta1/marshalling.gen.cjs +4 -3
- package/dist/api/billing/v2beta1/marshalling.gen.js +4 -3
- package/dist/api/billing/v2beta1/types.gen.d.ts +232 -103
- package/dist/api/block/index.gen.d.ts +2 -2
- package/dist/api/block/v1/api.gen.cjs +43 -60
- package/dist/api/block/v1/api.gen.d.ts +21 -39
- package/dist/api/block/v1/api.gen.js +43 -60
- package/dist/api/block/v1/marshalling.gen.cjs +4 -3
- package/dist/api/block/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/block/v1/marshalling.gen.js +4 -3
- package/dist/api/block/v1/types.gen.d.ts +307 -126
- package/dist/api/block/v1alpha1/api.gen.cjs +51 -69
- package/dist/api/block/v1alpha1/api.gen.d.ts +24 -43
- package/dist/api/block/v1alpha1/api.gen.js +51 -69
- package/dist/api/block/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/block/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/block/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/block/v1alpha1/types.gen.d.ts +328 -133
- package/dist/api/cockpit/index.gen.d.ts +2 -2
- package/dist/api/cockpit/v1/api.gen.cjs +105 -160
- package/dist/api/cockpit/v1/api.gen.d.ts +55 -114
- package/dist/api/cockpit/v1/api.gen.js +105 -160
- package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.cjs +4 -3
- package/dist/api/cockpit/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.js +4 -3
- package/dist/api/cockpit/v1/types.gen.d.ts +568 -247
- package/dist/api/cockpit/v1beta1/api.gen.cjs +6 -5
- package/dist/api/cockpit/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/cockpit/v1beta1/api.gen.js +6 -5
- package/dist/api/cockpit/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/cockpit/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/cockpit/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/cockpit/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/container/index.gen.d.ts +2 -2
- package/dist/api/container/v1beta1/api.gen.cjs +13 -19
- package/dist/api/container/v1beta1/api.gen.d.ts +11 -18
- package/dist/api/container/v1beta1/api.gen.js +13 -19
- package/dist/api/container/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/container/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/container/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/container/v1beta1/types.gen.d.ts +649 -323
- package/dist/api/dedibox/index.gen.d.ts +2 -2
- package/dist/api/dedibox/v1/api.gen.cjs +51 -74
- package/dist/api/dedibox/v1/api.gen.d.ts +54 -64
- package/dist/api/dedibox/v1/api.gen.js +51 -74
- package/dist/api/dedibox/v1/marshalling.gen.cjs +4 -3
- package/dist/api/dedibox/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/dedibox/v1/marshalling.gen.js +4 -3
- package/dist/api/dedibox/v1/types.gen.d.ts +1766 -646
- package/dist/api/document_db/index.gen.d.ts +2 -2
- package/dist/api/document_db/v1beta1/api.gen.cjs +6 -5
- package/dist/api/document_db/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/document_db/v1beta1/api.gen.js +6 -5
- package/dist/api/document_db/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/document_db/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/document_db/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/document_db/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/domain/index.gen.d.ts +2 -2
- package/dist/api/domain/v2beta1/api.gen.cjs +125 -183
- package/dist/api/domain/v2beta1/api.gen.d.ts +73 -132
- package/dist/api/domain/v2beta1/api.gen.js +125 -183
- package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
- package/dist/api/domain/v2beta1/index.gen.d.ts +1 -1
- package/dist/api/domain/v2beta1/marshalling.gen.cjs +4 -3
- package/dist/api/domain/v2beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/domain/v2beta1/marshalling.gen.js +4 -3
- package/dist/api/domain/v2beta1/types.gen.d.ts +412 -200
- package/dist/api/edge_services/index.gen.d.ts +2 -2
- package/dist/api/edge_services/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/edge_services/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/edge_services/v1alpha1/api.gen.js +6 -5
- package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/edge_services/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/api.gen.cjs +49 -136
- package/dist/api/edge_services/v1beta1/api.gen.d.ts +48 -134
- package/dist/api/edge_services/v1beta1/api.gen.js +49 -136
- package/dist/api/edge_services/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/edge_services/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/edge_services/v1beta1/types.gen.d.ts +584 -380
- package/dist/api/flexibleip/index.gen.d.ts +2 -2
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +16 -30
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +14 -30
- package/dist/api/flexibleip/v1alpha1/api.gen.js +16 -30
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +187 -79
- package/dist/api/function/index.gen.d.ts +2 -2
- package/dist/api/function/v1beta1/api.gen.cjs +20 -33
- package/dist/api/function/v1beta1/api.gen.d.ts +18 -32
- package/dist/api/function/v1beta1/api.gen.js +20 -33
- package/dist/api/function/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/function/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/function/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/function/v1beta1/types.gen.d.ts +617 -288
- package/dist/api/iam/index.gen.d.ts +2 -2
- package/dist/api/iam/v1alpha1/api.gen.cjs +49 -163
- package/dist/api/iam/v1alpha1/api.gen.d.ts +47 -163
- package/dist/api/iam/v1alpha1/api.gen.js +49 -163
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/iam/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/iam/v1alpha1/types.gen.d.ts +979 -372
- package/dist/api/index.gen.d.ts +2 -2
- package/dist/api/inference/index.gen.d.ts +2 -2
- package/dist/api/inference/v1/api.gen.cjs +14 -16
- package/dist/api/inference/v1/api.gen.d.ts +8 -11
- package/dist/api/inference/v1/api.gen.js +14 -16
- package/dist/api/inference/v1/marshalling.gen.cjs +4 -3
- package/dist/api/inference/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/inference/v1/marshalling.gen.js +4 -3
- package/dist/api/inference/v1/types.gen.d.ts +331 -151
- package/dist/api/inference/v1beta1/api.gen.cjs +14 -16
- package/dist/api/inference/v1beta1/api.gen.d.ts +8 -11
- package/dist/api/inference/v1beta1/api.gen.js +14 -16
- package/dist/api/inference/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/inference/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/inference/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/inference/v1beta1/types.gen.d.ts +342 -155
- package/dist/api/instance/index.gen.d.ts +2 -2
- package/dist/api/instance/v1/api.gen.cjs +69 -117
- package/dist/api/instance/v1/api.gen.d.ts +56 -105
- package/dist/api/instance/v1/api.gen.js +69 -117
- package/dist/api/instance/v1/api.utils.cjs +4 -3
- package/dist/api/instance/v1/api.utils.d.ts +1 -1
- package/dist/api/instance/v1/api.utils.js +4 -3
- package/dist/api/instance/v1/marshalling.gen.cjs +4 -3
- package/dist/api/instance/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/instance/v1/marshalling.gen.js +4 -3
- package/dist/api/instance/v1/marshalling.utils.d.ts +1 -1
- package/dist/api/instance/v1/types.gen.d.ts +1352 -599
- package/dist/api/instance/v1/types.private.gen.d.ts +132 -60
- package/dist/api/instance/v1/types.utils.d.ts +1 -1
- package/dist/api/interlink/index.gen.d.ts +2 -2
- package/dist/api/interlink/v1beta1/api.gen.cjs +107 -63
- package/dist/api/interlink/v1beta1/api.gen.d.ts +58 -65
- package/dist/api/interlink/v1beta1/api.gen.js +108 -64
- package/dist/api/interlink/v1beta1/content.gen.cjs +6 -0
- package/dist/api/interlink/v1beta1/content.gen.d.ts +5 -0
- package/dist/api/interlink/v1beta1/content.gen.js +6 -0
- package/dist/api/interlink/v1beta1/index.gen.cjs +3 -0
- package/dist/api/interlink/v1beta1/index.gen.d.ts +2 -1
- package/dist/api/interlink/v1beta1/index.gen.js +3 -0
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +84 -8
- package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +4 -2
- package/dist/api/interlink/v1beta1/marshalling.gen.js +84 -8
- package/dist/api/interlink/v1beta1/types.gen.d.ts +545 -195
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +25 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +23 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +25 -0
- package/dist/api/iot/index.gen.d.ts +2 -2
- package/dist/api/iot/v1/api.gen.cjs +43 -75
- package/dist/api/iot/v1/api.gen.d.ts +36 -69
- package/dist/api/iot/v1/api.gen.js +43 -75
- package/dist/api/iot/v1/marshalling.gen.cjs +4 -3
- package/dist/api/iot/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/iot/v1/marshalling.gen.js +4 -3
- package/dist/api/iot/v1/types.gen.d.ts +567 -322
- package/dist/api/ipam/index.gen.d.ts +2 -2
- package/dist/api/ipam/v1/api.gen.cjs +11 -30
- package/dist/api/ipam/v1/api.gen.d.ts +10 -31
- package/dist/api/ipam/v1/api.gen.js +11 -30
- package/dist/api/ipam/v1/marshalling.gen.cjs +4 -3
- package/dist/api/ipam/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/ipam/v1/marshalling.gen.js +4 -3
- package/dist/api/ipam/v1/types.gen.d.ts +147 -106
- package/dist/api/ipfs/index.gen.d.ts +2 -2
- package/dist/api/ipfs/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/ipfs/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/ipfs/v1alpha1/api.gen.js +6 -5
- package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/ipfs/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/ipfs/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/jobs/index.gen.d.ts +2 -2
- package/dist/api/jobs/v1alpha1/api.gen.cjs +7 -8
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +6 -8
- package/dist/api/jobs/v1alpha1/api.gen.js +7 -8
- package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +166 -92
- package/dist/api/k8s/index.gen.d.ts +2 -2
- package/dist/api/k8s/v1/api.gen.cjs +39 -83
- package/dist/api/k8s/v1/api.gen.d.ts +29 -74
- package/dist/api/k8s/v1/api.gen.js +39 -83
- package/dist/api/k8s/v1/marshalling.gen.cjs +4 -3
- package/dist/api/k8s/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/k8s/v1/marshalling.gen.js +4 -3
- package/dist/api/k8s/v1/types.gen.d.ts +744 -507
- package/dist/api/key_manager/index.gen.d.ts +2 -2
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +26 -61
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +21 -58
- package/dist/api/key_manager/v1alpha1/api.gen.js +26 -61
- package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/key_manager/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/key_manager/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +197 -115
- package/dist/api/lb/index.gen.d.ts +2 -2
- package/dist/api/lb/v1/api.gen.cjs +68 -178
- package/dist/api/lb/v1/api.gen.d.ts +60 -176
- package/dist/api/lb/v1/api.gen.js +69 -179
- package/dist/api/lb/v1/api.utils.cjs +3 -1
- package/dist/api/lb/v1/api.utils.d.ts +1 -1
- package/dist/api/lb/v1/api.utils.js +3 -1
- package/dist/api/lb/v1/index.gen.d.ts +1 -1
- package/dist/api/lb/v1/marshalling.gen.cjs +9 -3
- package/dist/api/lb/v1/marshalling.gen.d.ts +3 -2
- package/dist/api/lb/v1/marshalling.gen.js +9 -3
- package/dist/api/lb/v1/types.gen.d.ts +1835 -1117
- package/dist/api/lb/v1/types.utils.d.ts +1 -1
- package/dist/api/llm_inference/index.gen.d.ts +2 -2
- package/dist/api/llm_inference/v1beta1/api.gen.cjs +6 -5
- package/dist/api/llm_inference/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/llm_inference/v1beta1/api.gen.js +6 -5
- package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/llm_inference/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/llm_inference/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/marketplace/index.gen.d.ts +2 -2
- package/dist/api/marketplace/v2/api.gen.cjs +13 -25
- package/dist/api/marketplace/v2/api.gen.d.ts +11 -25
- package/dist/api/marketplace/v2/api.gen.js +13 -25
- package/dist/api/marketplace/v2/marshalling.gen.cjs +4 -3
- package/dist/api/marketplace/v2/marshalling.gen.js +4 -3
- package/dist/api/marketplace/v2/types.gen.d.ts +95 -42
- package/dist/api/mnq/index.gen.d.ts +2 -2
- package/dist/api/mnq/v1beta1/api.gen.cjs +29 -80
- package/dist/api/mnq/v1beta1/api.gen.d.ts +32 -84
- package/dist/api/mnq/v1beta1/api.gen.js +29 -80
- package/dist/api/mnq/v1beta1/index.gen.d.ts +1 -1
- package/dist/api/mnq/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/mnq/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/mnq/v1beta1/types.gen.d.ts +343 -170
- package/dist/api/mongodb/index.gen.d.ts +2 -2
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +25 -67
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +23 -66
- package/dist/api/mongodb/v1alpha1/api.gen.js +25 -67
- package/dist/api/mongodb/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/mongodb/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/mongodb/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +444 -190
- package/dist/api/qaas/index.gen.d.ts +2 -2
- package/dist/api/qaas/v1alpha1/api.gen.cjs +23 -39
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +21 -38
- package/dist/api/qaas/v1alpha1/api.gen.js +23 -39
- package/dist/api/qaas/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/qaas/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/qaas/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/qaas/v1alpha1/types.gen.d.ts +503 -175
- package/dist/api/rdb/index.gen.d.ts +2 -2
- package/dist/api/rdb/v1/api.gen.cjs +68 -207
- package/dist/api/rdb/v1/api.gen.d.ts +62 -203
- package/dist/api/rdb/v1/api.gen.js +68 -207
- package/dist/api/rdb/v1/marshalling.gen.cjs +4 -3
- package/dist/api/rdb/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/rdb/v1/marshalling.gen.js +4 -3
- package/dist/api/rdb/v1/types.gen.d.ts +1006 -525
- package/dist/api/redis/index.gen.d.ts +2 -2
- package/dist/api/redis/v1/api.gen.cjs +29 -88
- package/dist/api/redis/v1/api.gen.d.ts +27 -87
- package/dist/api/redis/v1/api.gen.js +29 -88
- package/dist/api/redis/v1/marshalling.gen.cjs +4 -3
- package/dist/api/redis/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/redis/v1/marshalling.gen.js +4 -3
- package/dist/api/redis/v1/types.gen.d.ts +448 -171
- package/dist/api/registry/index.gen.d.ts +2 -2
- package/dist/api/registry/v1/api.gen.cjs +18 -45
- package/dist/api/registry/v1/api.gen.d.ts +16 -44
- package/dist/api/registry/v1/api.gen.js +18 -45
- package/dist/api/registry/v1/marshalling.gen.cjs +4 -3
- package/dist/api/registry/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/registry/v1/marshalling.gen.js +4 -3
- package/dist/api/registry/v1/types.gen.d.ts +201 -117
- package/dist/api/secret/index.gen.d.ts +2 -2
- package/dist/api/secret/v1alpha1/api.gen.cjs +5 -4
- package/dist/api/secret/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/secret/v1alpha1/api.gen.js +5 -4
- package/dist/api/secret/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/secret/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/secret/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/api.gen.cjs +24 -51
- package/dist/api/secret/v1beta1/api.gen.d.ts +23 -53
- package/dist/api/secret/v1beta1/api.gen.js +24 -51
- package/dist/api/secret/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/secret/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/secret/v1beta1/types.gen.d.ts +360 -225
- package/dist/api/serverless_sqldb/index.gen.d.ts +2 -2
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +15 -32
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +13 -31
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +15 -32
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +169 -77
- package/dist/api/tem/index.gen.d.ts +2 -2
- package/dist/api/tem/v1alpha1/api.gen.cjs +28 -63
- package/dist/api/tem/v1alpha1/api.gen.d.ts +26 -62
- package/dist/api/tem/v1alpha1/api.gen.js +28 -63
- package/dist/api/tem/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/tem/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/tem/v1alpha1/types.gen.d.ts +762 -339
- package/dist/api/test/index.gen.d.ts +2 -2
- package/dist/api/test/v1/api.gen.cjs +14 -16
- package/dist/api/test/v1/api.gen.d.ts +8 -11
- package/dist/api/test/v1/api.gen.js +14 -16
- package/dist/api/test/v1/marshalling.gen.cjs +4 -3
- package/dist/api/test/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/test/v1/marshalling.gen.js +4 -3
- package/dist/api/test/v1/types.gen.d.ts +21 -10
- package/dist/api/vpc/index.gen.d.ts +2 -2
- package/dist/api/vpc/v1/api.gen.cjs +5 -4
- package/dist/api/vpc/v1/api.gen.d.ts +2 -2
- package/dist/api/vpc/v1/api.gen.js +5 -4
- package/dist/api/vpc/v1/marshalling.gen.cjs +4 -3
- package/dist/api/vpc/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/vpc/v1/marshalling.gen.js +4 -3
- package/dist/api/vpc/v1/types.gen.d.ts +1 -1
- package/dist/api/vpc/v2/api.gen.cjs +18 -53
- package/dist/api/vpc/v2/api.gen.d.ts +18 -45
- package/dist/api/vpc/v2/api.gen.js +19 -54
- package/dist/api/vpc/v2/index.gen.d.ts +1 -1
- package/dist/api/vpc/v2/marshalling.gen.cjs +4 -18
- package/dist/api/vpc/v2/marshalling.gen.d.ts +2 -4
- package/dist/api/vpc/v2/marshalling.gen.js +4 -18
- package/dist/api/vpc/v2/types.gen.d.ts +333 -200
- package/dist/api/vpcgw/index.gen.d.ts +2 -2
- package/dist/api/vpcgw/v1/api.gen.cjs +42 -140
- package/dist/api/vpcgw/v1/api.gen.d.ts +40 -139
- package/dist/api/vpcgw/v1/api.gen.js +42 -140
- package/dist/api/vpcgw/v1/marshalling.gen.cjs +4 -3
- package/dist/api/vpcgw/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/vpcgw/v1/marshalling.gen.js +4 -3
- package/dist/api/vpcgw/v1/types.gen.d.ts +784 -366
- package/dist/api/vpcgw/v2/api.gen.cjs +33 -93
- package/dist/api/vpcgw/v2/api.gen.d.ts +31 -92
- package/dist/api/vpcgw/v2/api.gen.js +33 -93
- package/dist/api/vpcgw/v2/marshalling.gen.cjs +4 -3
- package/dist/api/vpcgw/v2/marshalling.gen.d.ts +1 -1
- package/dist/api/vpcgw/v2/marshalling.gen.js +4 -3
- package/dist/api/vpcgw/v2/types.gen.d.ts +546 -197
- package/dist/api/webhosting/index.gen.d.ts +2 -2
- package/dist/api/webhosting/v1/api.gen.cjs +28 -55
- package/dist/api/webhosting/v1/api.gen.d.ts +40 -71
- package/dist/api/webhosting/v1/api.gen.js +28 -55
- package/dist/api/webhosting/v1/marshalling.gen.cjs +4 -3
- package/dist/api/webhosting/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/webhosting/v1/marshalling.gen.js +4 -3
- package/dist/api/webhosting/v1/types.gen.d.ts +700 -351
- package/dist/client/dist/helpers/is-browser.cjs +4 -0
- package/dist/client/dist/helpers/is-browser.js +4 -0
- package/dist/{package.json.cjs → client/dist/package.json.cjs} +7 -16
- package/dist/{package.json.js → client/dist/package.json.js} +7 -16
- package/dist/client/dist/scw/constants.cjs +7 -0
- package/dist/{vendor → client/dist/vendor}/base64/index.cjs +8 -4
- package/dist/{vendor → client/dist/vendor}/base64/index.js +8 -4
- package/dist/index.cjs +16 -16
- package/dist/index.d.ts +1 -15
- package/dist/index.js +13 -13
- package/node_modules/@scaleway/sdk-client/README.md +36 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.cjs +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.js +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.cjs +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.js +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.cjs +7 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/json.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.js +7 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.cjs +76 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.js +76 -0
- package/node_modules/@scaleway/sdk-client/dist/index.cjs +52 -0
- package/node_modules/@scaleway/sdk-client/dist/index.d.ts +15 -0
- package/node_modules/@scaleway/sdk-client/dist/index.js +52 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.cjs +53 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/interval-retrier.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.js +53 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.cjs +6 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.js +6 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.cjs +25 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.js +25 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.cjs +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.js +12 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/types.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.cjs +24 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.js +24 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.cjs +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.js +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.cjs +13 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.js +13 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.cjs +30 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.js +30 -0
- package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +67 -0
- package/node_modules/@scaleway/sdk-client/dist/package.json.js +67 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/api.cjs +8 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/api.js +8 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.cjs +26 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.js +26 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.cjs +66 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.js +66 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.cjs +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.js +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.cjs +51 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.js +51 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client.cjs +31 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/client.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.js +7 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.cjs +126 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.js +126 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.cjs +11 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.js +11 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.cjs +76 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.js +76 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.js +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.js +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.cjs +37 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.js +37 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.cjs +28 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.js +28 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.cjs +54 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/invalid-arguments-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.js +54 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.cjs +17 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.js +17 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.cjs +29 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/permissions-denied-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.js +29 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.cjs +32 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.js +32 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.cjs +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.js +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.cjs +24 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.js +24 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.cjs +58 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/too-many-requests-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.js +58 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.cjs +15 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.js +15 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.cjs +60 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.js +60 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.cjs +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.js +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.cjs +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.js +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.cjs +55 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.js +55 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/types.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.cjs +46 -0
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.js +46 -0
- package/node_modules/@scaleway/sdk-client/package.json +36 -0
- package/package.json +6 -4
- package/dist/helpers/is-browser.cjs +0 -7
- package/dist/helpers/is-browser.js +0 -7
- /package/dist/{helpers → client/dist/helpers}/is-response.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/is-response.js +0 -0
- /package/dist/{helpers → client/dist/helpers}/json.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/json.js +0 -0
- /package/dist/{helpers → client/dist/helpers}/marshalling.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/marshalling.js +0 -0
- /package/dist/{internal → client/dist/internal}/async/interval-retrier.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/async/interval-retrier.js +0 -0
- /package/dist/{internal → client/dist/internal}/async/sleep.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/async/sleep.js +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/composer.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/composer.js +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/helpers.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/helpers.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/console-logger.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/console-logger.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/index.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/index.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/level-resolver.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/level-resolver.js +0 -0
- /package/dist/{internal → client/dist/internal}/validations/string-validation.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/validations/string-validation.js +0 -0
- /package/dist/{scw → client/dist/scw}/api.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/api.js +0 -0
- /package/dist/{scw → client/dist/scw}/auth.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/auth.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-factory.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-factory.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-profile.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-profile.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-settings.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-settings.js +0 -0
- /package/dist/{scw → client/dist/scw}/client.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client.js +0 -0
- /package/dist/{scw → client/dist/scw}/constants.js +0 -0
- /package/dist/{scw → client/dist/scw}/custom-marshalling.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/custom-marshalling.js +0 -0
- /package/dist/{scw → client/dist/scw}/custom-types.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/custom-types.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/error-parser.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/error-parser.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/scw-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/scw-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/index.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/index.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/types.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/types.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-dumper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-dumper.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/response-parser.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/response-parser.js +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/bridge.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-browser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-response.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/marshalling.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/sleep.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/composer.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/helpers.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/console-logger.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/index.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/level-resolver.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/logger.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/validations/string-validation.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internals.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/api.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/auth.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-factory.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-profile.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-settings.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.cjs +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-marshalling.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-types.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/error-parser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/invalid-request-mapper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/unknown-resource-mapper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error-from-json.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/already-exists-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/denied-authentication-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/index.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/out-of-stock-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/precondition-failed-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/quotas-exceeded-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-expired-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-locked-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-not-found-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/transient-state-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/types.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/build-fetcher.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-dumper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-interceptors.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/resource-paginator.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/response-parser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/locality.d.ts +0 -0
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
require("../../../
|
|
7
|
-
|
|
3
|
+
require("../../../client/dist/internal/logger/index.cjs");
|
|
4
|
+
const intervalRetrier = require("../../../client/dist/internal/async/interval-retrier.cjs");
|
|
5
|
+
const api = require("../../../client/dist/scw/api.cjs");
|
|
6
|
+
const marshalling = require("../../../client/dist/helpers/marshalling.cjs");
|
|
7
|
+
require("../../../client/dist/vendor/base64/index.cjs");
|
|
8
|
+
const resourcePaginator = require("../../../client/dist/scw/fetch/resource-paginator.cjs");
|
|
8
9
|
const content_gen = require("./content.gen.cjs");
|
|
9
10
|
const marshalling_gen = require("./marshalling.gen.cjs");
|
|
10
11
|
const jsonContentHeaders = {
|
|
@@ -91,9 +92,7 @@ class API extends api.API {
|
|
|
91
92
|
options
|
|
92
93
|
);
|
|
93
94
|
/**
|
|
94
|
-
* Update a Cluster. Update information on a specific Kubernetes cluster. You
|
|
95
|
-
* can update details such as its name, description, tags and configuration.
|
|
96
|
-
* To upgrade a cluster, you will need to use the dedicated endpoint.
|
|
95
|
+
* Update a Cluster. Update information on a specific Kubernetes cluster. You can update details such as its name, description, tags and configuration. To upgrade a cluster, you will need to use the dedicated endpoint.
|
|
97
96
|
*
|
|
98
97
|
* @param request - The request {@link UpdateClusterRequest}
|
|
99
98
|
* @returns A Promise of Cluster
|
|
@@ -110,9 +109,7 @@ class API extends api.API {
|
|
|
110
109
|
marshalling_gen.unmarshalCluster
|
|
111
110
|
);
|
|
112
111
|
/**
|
|
113
|
-
* Delete a Cluster. Delete a specific Kubernetes cluster and all its
|
|
114
|
-
* associated pools and nodes, and possibly its associated Load Balancers or
|
|
115
|
-
* Block Volumes.
|
|
112
|
+
* Delete a Cluster. Delete a specific Kubernetes cluster and all its associated pools and nodes, and possibly its associated Load Balancers or Block Volumes.
|
|
116
113
|
*
|
|
117
114
|
* @param request - The request {@link DeleteClusterRequest}
|
|
118
115
|
* @returns A Promise of Cluster
|
|
@@ -129,8 +126,7 @@ class API extends api.API {
|
|
|
129
126
|
marshalling_gen.unmarshalCluster
|
|
130
127
|
);
|
|
131
128
|
/**
|
|
132
|
-
* Upgrade a Cluster. Upgrade a specific Kubernetes cluster and possibly its
|
|
133
|
-
* associated pools to a specific and supported Kubernetes version.
|
|
129
|
+
* Upgrade a Cluster. Upgrade a specific Kubernetes cluster and possibly its associated pools to a specific and supported Kubernetes version.
|
|
134
130
|
*
|
|
135
131
|
* @param request - The request {@link UpgradeClusterRequest}
|
|
136
132
|
* @returns A Promise of Cluster
|
|
@@ -147,9 +143,7 @@ class API extends api.API {
|
|
|
147
143
|
marshalling_gen.unmarshalCluster
|
|
148
144
|
);
|
|
149
145
|
/**
|
|
150
|
-
* Change the Cluster type. Change the type of a specific Kubernetes cluster.
|
|
151
|
-
* To see the possible values you can enter for the `type` field, [list
|
|
152
|
-
* available cluster types](#list-available-cluster-types-for-a-cluster).
|
|
146
|
+
* Change the Cluster type. Change the type of a specific Kubernetes cluster. To see the possible values you can enter for the `type` field, [list available cluster types](#list-available-cluster-types-for-a-cluster).
|
|
153
147
|
*
|
|
154
148
|
* @param request - The request {@link SetClusterTypeRequest}
|
|
155
149
|
* @returns A Promise of Cluster
|
|
@@ -166,11 +160,7 @@ class API extends api.API {
|
|
|
166
160
|
marshalling_gen.unmarshalCluster
|
|
167
161
|
);
|
|
168
162
|
/**
|
|
169
|
-
* List available versions for a Cluster. List the versions that a specific
|
|
170
|
-
* Kubernetes cluster is allowed to upgrade to. Results will include every
|
|
171
|
-
* patch version greater than the current patch, as well as one minor version
|
|
172
|
-
* ahead of the current version. Any upgrade skipping a minor version will not
|
|
173
|
-
* work.
|
|
163
|
+
* List available versions for a Cluster. List the versions that a specific Kubernetes cluster is allowed to upgrade to. Results will include every patch version greater than the current patch, as well as one minor version ahead of the current version. Any upgrade skipping a minor version will not work.
|
|
174
164
|
*
|
|
175
165
|
* @param request - The request {@link ListClusterAvailableVersionsRequest}
|
|
176
166
|
* @returns A Promise of ListClusterAvailableVersionsResponse
|
|
@@ -183,8 +173,7 @@ class API extends api.API {
|
|
|
183
173
|
marshalling_gen.unmarshalListClusterAvailableVersionsResponse
|
|
184
174
|
);
|
|
185
175
|
/**
|
|
186
|
-
* List available cluster types for a cluster. List the cluster types that a
|
|
187
|
-
* specific Kubernetes cluster is allowed to switch to.
|
|
176
|
+
* List available cluster types for a cluster. List the cluster types that a specific Kubernetes cluster is allowed to switch to.
|
|
188
177
|
*
|
|
189
178
|
* @param request - The request {@link ListClusterAvailableTypesRequest}
|
|
190
179
|
* @returns A Promise of ListClusterAvailableTypesResponse
|
|
@@ -203,10 +192,7 @@ class API extends api.API {
|
|
|
203
192
|
responseType: "blob"
|
|
204
193
|
});
|
|
205
194
|
/**
|
|
206
|
-
* Reset the admin token of a Cluster. Reset the admin token for a specific
|
|
207
|
-
* Kubernetes cluster. This will revoke the old admin token (which will not be
|
|
208
|
-
* usable afterwards) and create a new one. Note that you will need to
|
|
209
|
-
* download the kubeconfig again to keep interacting with the cluster.
|
|
195
|
+
* Reset the admin token of a Cluster. Reset the admin token for a specific Kubernetes cluster. This will revoke the old admin token (which will not be usable afterwards) and create a new one. Note that you will need to download the kubeconfig again to keep interacting with the cluster.
|
|
210
196
|
*
|
|
211
197
|
* @param request - The request {@link ResetClusterAdminTokenRequest}
|
|
212
198
|
*/
|
|
@@ -217,14 +203,12 @@ class API extends api.API {
|
|
|
217
203
|
path: `/k8s/v1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/clusters/${marshalling.validatePathParam("clusterId", request.clusterId)}/reset-admin-token`
|
|
218
204
|
});
|
|
219
205
|
/**
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
* @returns A Promise of Cluster
|
|
227
|
-
*/
|
|
206
|
+
* Migrate a cluster to SBS CSI. Enable the latest CSI compatible with Scaleway Block Storage (SBS) and migrate all existing PersistentVolumes/VolumeSnapshotContents to SBS.
|
|
207
|
+
Make sure to have the necessary Quota before running this command.
|
|
208
|
+
*
|
|
209
|
+
* @param request - The request {@link MigrateClusterToSBSCSIRequest}
|
|
210
|
+
* @returns A Promise of Cluster
|
|
211
|
+
*/
|
|
228
212
|
migrateClusterToSBSCSI = (request) => this.client.fetch(
|
|
229
213
|
{
|
|
230
214
|
body: "{}",
|
|
@@ -316,16 +300,14 @@ class API extends api.API {
|
|
|
316
300
|
marshalling_gen.unmarshalListPoolsResponse
|
|
317
301
|
);
|
|
318
302
|
/**
|
|
319
|
-
* List Pools in a Cluster. List all the existing pools for a specific
|
|
320
|
-
* Kubernetes cluster.
|
|
303
|
+
* List Pools in a Cluster. List all the existing pools for a specific Kubernetes cluster.
|
|
321
304
|
*
|
|
322
305
|
* @param request - The request {@link ListPoolsRequest}
|
|
323
306
|
* @returns A Promise of ListPoolsResponse
|
|
324
307
|
*/
|
|
325
308
|
listPools = (request) => resourcePaginator.enrichForPagination("pools", this.pageOfListPools, request);
|
|
326
309
|
/**
|
|
327
|
-
* Create a new Pool in a Cluster. Create a new pool in a specific Kubernetes
|
|
328
|
-
* cluster.
|
|
310
|
+
* Create a new Pool in a Cluster. Create a new pool in a specific Kubernetes cluster.
|
|
329
311
|
*
|
|
330
312
|
* @param request - The request {@link CreatePoolRequest}
|
|
331
313
|
* @returns A Promise of Pool
|
|
@@ -342,8 +324,7 @@ class API extends api.API {
|
|
|
342
324
|
marshalling_gen.unmarshalPool
|
|
343
325
|
);
|
|
344
326
|
/**
|
|
345
|
-
* Get a Pool in a Cluster. Retrieve details about a specific pool in a
|
|
346
|
-
* Kubernetes cluster.
|
|
327
|
+
* Get a Pool in a Cluster. Retrieve details about a specific pool in a Kubernetes cluster.
|
|
347
328
|
*
|
|
348
329
|
* @param request - The request {@link GetPoolRequest}
|
|
349
330
|
* @returns A Promise of Pool
|
|
@@ -369,13 +350,12 @@ class API extends api.API {
|
|
|
369
350
|
options
|
|
370
351
|
);
|
|
371
352
|
/**
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
*/
|
|
353
|
+
* Upgrade a Pool in a Cluster. Upgrade the Kubernetes version of a specific pool. Note that it only works if the targeted version matches the cluster's version.
|
|
354
|
+
This will drain and replace the nodes in that pool.
|
|
355
|
+
*
|
|
356
|
+
* @param request - The request {@link UpgradePoolRequest}
|
|
357
|
+
* @returns A Promise of Pool
|
|
358
|
+
*/
|
|
379
359
|
upgradePool = (request) => this.client.fetch(
|
|
380
360
|
{
|
|
381
361
|
body: JSON.stringify(
|
|
@@ -388,9 +368,7 @@ class API extends api.API {
|
|
|
388
368
|
marshalling_gen.unmarshalPool
|
|
389
369
|
);
|
|
390
370
|
/**
|
|
391
|
-
* Update a Pool in a Cluster. Update the attributes of a specific pool, such
|
|
392
|
-
* as its desired size, autoscaling settings, and tags. To upgrade a pool, you
|
|
393
|
-
* will need to use the dedicated endpoint.
|
|
371
|
+
* Update a Pool in a Cluster. Update the attributes of a specific pool, such as its desired size, autoscaling settings, and tags. To upgrade a pool, you will need to use the dedicated endpoint.
|
|
394
372
|
*
|
|
395
373
|
* @param request - The request {@link UpdatePoolRequest}
|
|
396
374
|
* @returns A Promise of Pool
|
|
@@ -407,8 +385,7 @@ class API extends api.API {
|
|
|
407
385
|
marshalling_gen.unmarshalPool
|
|
408
386
|
);
|
|
409
387
|
/**
|
|
410
|
-
* Delete a Pool in a Cluster. Delete a specific pool from a cluster. Note
|
|
411
|
-
* that all the pool's nodes will also be deleted.
|
|
388
|
+
* Delete a Pool in a Cluster. Delete a specific pool from a cluster. Note that all the pool's nodes will also be deleted.
|
|
412
389
|
*
|
|
413
390
|
* @param request - The request {@link DeletePoolRequest}
|
|
414
391
|
* @returns A Promise of Pool
|
|
@@ -421,9 +398,7 @@ class API extends api.API {
|
|
|
421
398
|
marshalling_gen.unmarshalPool
|
|
422
399
|
);
|
|
423
400
|
/**
|
|
424
|
-
* Fetch node metadata. Rerieve metadata to instantiate a Kapsule/Kosmos node.
|
|
425
|
-
* This method is not intended to be called by end users but rather
|
|
426
|
-
* programmatically by the node-installer.
|
|
401
|
+
* Fetch node metadata. Rerieve metadata to instantiate a Kapsule/Kosmos node. This method is not intended to be called by end users but rather programmatically by the node-installer.
|
|
427
402
|
*
|
|
428
403
|
* @param request - The request {@link GetNodeMetadataRequest}
|
|
429
404
|
* @returns A Promise of NodeMetadata
|
|
@@ -436,9 +411,7 @@ class API extends api.API {
|
|
|
436
411
|
marshalling_gen.unmarshalNodeMetadata
|
|
437
412
|
);
|
|
438
413
|
/**
|
|
439
|
-
* Authenticate Kosmos external node. Creates a newer Kosmos node and returns
|
|
440
|
-
* its token. This method is not intended to be called by end users but rather
|
|
441
|
-
* programmatically by the node-installer.
|
|
414
|
+
* Authenticate Kosmos external node. Creates a newer Kosmos node and returns its token. This method is not intended to be called by end users but rather programmatically by the node-installer.
|
|
442
415
|
*
|
|
443
416
|
* @param request - The request {@link AuthExternalNodeRequest}
|
|
444
417
|
* @returns A Promise of ExternalNodeAuth
|
|
@@ -453,9 +426,7 @@ class API extends api.API {
|
|
|
453
426
|
marshalling_gen.unmarshalExternalNodeAuth
|
|
454
427
|
);
|
|
455
428
|
/**
|
|
456
|
-
* Create a Kosmos node. Retrieve metadata for a Kosmos node. This method is
|
|
457
|
-
* not intended to be called by end users but rather programmatically by the
|
|
458
|
-
* kapsule-node-agent.
|
|
429
|
+
* Create a Kosmos node. Retrieve metadata for a Kosmos node. This method is not intended to be called by end users but rather programmatically by the kapsule-node-agent.
|
|
459
430
|
*
|
|
460
431
|
* @param request - The request {@link CreateExternalNodeRequest}
|
|
461
432
|
* @returns A Promise of ExternalNode
|
|
@@ -488,8 +459,7 @@ class API extends api.API {
|
|
|
488
459
|
marshalling_gen.unmarshalListNodesResponse
|
|
489
460
|
);
|
|
490
461
|
/**
|
|
491
|
-
* List Nodes in a Cluster. List all the existing nodes for a specific
|
|
492
|
-
* Kubernetes cluster.
|
|
462
|
+
* List Nodes in a Cluster. List all the existing nodes for a specific Kubernetes cluster.
|
|
493
463
|
*
|
|
494
464
|
* @param request - The request {@link ListNodesRequest}
|
|
495
465
|
* @returns A Promise of ListNodesResponse
|
|
@@ -522,11 +492,7 @@ class API extends api.API {
|
|
|
522
492
|
options
|
|
523
493
|
);
|
|
524
494
|
/**
|
|
525
|
-
* Replace a Node in a Cluster. Replace a specific Node. The node will first
|
|
526
|
-
* be drained and pods will be rescheduled onto another node. Note that when
|
|
527
|
-
* there is not enough space to reschedule all the pods (such as in a one-node
|
|
528
|
-
* cluster, or with specific constraints), disruption of your applications may
|
|
529
|
-
* occur.
|
|
495
|
+
* Replace a Node in a Cluster. Replace a specific Node. The node will first be drained and pods will be rescheduled onto another node. Note that when there is not enough space to reschedule all the pods (such as in a one-node cluster, or with specific constraints), disruption of your applications may occur.
|
|
530
496
|
*
|
|
531
497
|
* @deprecated
|
|
532
498
|
* @param request - The request {@link ReplaceNodeRequest}
|
|
@@ -542,11 +508,7 @@ class API extends api.API {
|
|
|
542
508
|
marshalling_gen.unmarshalNode
|
|
543
509
|
);
|
|
544
510
|
/**
|
|
545
|
-
* Reboot a Node in a Cluster. Reboot a specific Node. The node will first be
|
|
546
|
-
* drained and pods will be rescheduled onto another node. Note that when
|
|
547
|
-
* there is not enough space to reschedule all the pods (such as in a one-node
|
|
548
|
-
* cluster, or with specific constraints), disruption of your applications may
|
|
549
|
-
* occur.
|
|
511
|
+
* Reboot a Node in a Cluster. Reboot a specific Node. The node will first be drained and pods will be rescheduled onto another node. Note that when there is not enough space to reschedule all the pods (such as in a one-node cluster, or with specific constraints), disruption of your applications may occur.
|
|
550
512
|
*
|
|
551
513
|
* @param request - The request {@link RebootNodeRequest}
|
|
552
514
|
* @returns A Promise of Node
|
|
@@ -561,11 +523,7 @@ class API extends api.API {
|
|
|
561
523
|
marshalling_gen.unmarshalNode
|
|
562
524
|
);
|
|
563
525
|
/**
|
|
564
|
-
* Delete a Node in a Cluster. Delete a specific Node. The node will first be
|
|
565
|
-
* drained and pods will be rescheduled onto another node. Note that when
|
|
566
|
-
* there is not enough space to reschedule all the pods (such as in a one-node
|
|
567
|
-
* cluster, or with specific constraints), disruption of your applications may
|
|
568
|
-
* occur.
|
|
526
|
+
* Delete a Node in a Cluster. Delete a specific Node. The node will first be drained and pods will be rescheduled onto another node. Note that when there is not enough space to reschedule all the pods (such as in a one-node cluster, or with specific constraints), disruption of your applications may occur.
|
|
569
527
|
*
|
|
570
528
|
* @param request - The request {@link DeleteNodeRequest}
|
|
571
529
|
* @returns A Promise of Node
|
|
@@ -582,8 +540,7 @@ class API extends api.API {
|
|
|
582
540
|
marshalling_gen.unmarshalNode
|
|
583
541
|
);
|
|
584
542
|
/**
|
|
585
|
-
* List all available Versions. List all available versions for the creation
|
|
586
|
-
* of a new Kubernetes cluster.
|
|
543
|
+
* List all available Versions. List all available versions for the creation of a new Kubernetes cluster.
|
|
587
544
|
*
|
|
588
545
|
* @param request - The request {@link ListVersionsRequest}
|
|
589
546
|
* @returns A Promise of ListVersionsResponse
|
|
@@ -623,8 +580,7 @@ class API extends api.API {
|
|
|
623
580
|
marshalling_gen.unmarshalListClusterTypesResponse
|
|
624
581
|
);
|
|
625
582
|
/**
|
|
626
|
-
* List cluster types. List available cluster types and their technical
|
|
627
|
-
* details.
|
|
583
|
+
* List cluster types. List available cluster types and their technical details.
|
|
628
584
|
*
|
|
629
585
|
* @param request - The request {@link ListClusterTypesRequest}
|
|
630
586
|
* @returns A Promise of ListClusterTypesResponse
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { API as ParentAPI } from '
|
|
2
|
-
import type { Region as ScwRegion, WaitForOptions } from '
|
|
1
|
+
import { API as ParentAPI } from '@scaleway/sdk-client';
|
|
2
|
+
import type { Region as ScwRegion, WaitForOptions } from '@scaleway/sdk-client';
|
|
3
3
|
import type { AddClusterACLRulesRequest, AddClusterACLRulesResponse, AuthExternalNodeRequest, Cluster, CreateClusterRequest, CreateExternalNodeRequest, CreatePoolRequest, DeleteACLRuleRequest, DeleteClusterRequest, DeleteNodeRequest, DeletePoolRequest, ExternalNode, ExternalNodeAuth, GetClusterKubeConfigRequest, GetClusterRequest, GetNodeMetadataRequest, GetNodeRequest, GetPoolRequest, GetVersionRequest, ListClusterACLRulesRequest, ListClusterACLRulesResponse, ListClusterAvailableTypesRequest, ListClusterAvailableTypesResponse, ListClusterAvailableVersionsRequest, ListClusterAvailableVersionsResponse, ListClusterTypesRequest, ListClusterTypesResponse, ListClustersRequest, ListClustersResponse, ListNodesRequest, ListNodesResponse, ListPoolsRequest, ListPoolsResponse, ListVersionsRequest, ListVersionsResponse, MigrateClusterToSBSCSIRequest, Node, NodeMetadata, Pool, RebootNodeRequest, ReplaceNodeRequest, ResetClusterAdminTokenRequest, SetClusterACLRulesRequest, SetClusterACLRulesResponse, SetClusterTypeRequest, UpdateClusterRequest, UpdatePoolRequest, UpgradeClusterRequest, UpgradePoolRequest, Version } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* Kubernetes API.
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
|
|
7
|
+
This API allows you to manage Kubernetes Kapsule and Kosmos clusters.
|
|
8
8
|
*/
|
|
9
9
|
export declare class API extends ParentAPI {
|
|
10
10
|
/** Lists the available regions of the API. */
|
|
@@ -43,54 +43,42 @@ export declare class API extends ParentAPI {
|
|
|
43
43
|
*/
|
|
44
44
|
waitForCluster: (request: Readonly<GetClusterRequest>, options?: Readonly<WaitForOptions<Cluster>>) => Promise<Cluster>;
|
|
45
45
|
/**
|
|
46
|
-
* Update a Cluster. Update information on a specific Kubernetes cluster. You
|
|
47
|
-
* can update details such as its name, description, tags and configuration.
|
|
48
|
-
* To upgrade a cluster, you will need to use the dedicated endpoint.
|
|
46
|
+
* Update a Cluster. Update information on a specific Kubernetes cluster. You can update details such as its name, description, tags and configuration. To upgrade a cluster, you will need to use the dedicated endpoint.
|
|
49
47
|
*
|
|
50
48
|
* @param request - The request {@link UpdateClusterRequest}
|
|
51
49
|
* @returns A Promise of Cluster
|
|
52
50
|
*/
|
|
53
51
|
updateCluster: (request: Readonly<UpdateClusterRequest>) => Promise<Cluster>;
|
|
54
52
|
/**
|
|
55
|
-
* Delete a Cluster. Delete a specific Kubernetes cluster and all its
|
|
56
|
-
* associated pools and nodes, and possibly its associated Load Balancers or
|
|
57
|
-
* Block Volumes.
|
|
53
|
+
* Delete a Cluster. Delete a specific Kubernetes cluster and all its associated pools and nodes, and possibly its associated Load Balancers or Block Volumes.
|
|
58
54
|
*
|
|
59
55
|
* @param request - The request {@link DeleteClusterRequest}
|
|
60
56
|
* @returns A Promise of Cluster
|
|
61
57
|
*/
|
|
62
58
|
deleteCluster: (request: Readonly<DeleteClusterRequest>) => Promise<Cluster>;
|
|
63
59
|
/**
|
|
64
|
-
* Upgrade a Cluster. Upgrade a specific Kubernetes cluster and possibly its
|
|
65
|
-
* associated pools to a specific and supported Kubernetes version.
|
|
60
|
+
* Upgrade a Cluster. Upgrade a specific Kubernetes cluster and possibly its associated pools to a specific and supported Kubernetes version.
|
|
66
61
|
*
|
|
67
62
|
* @param request - The request {@link UpgradeClusterRequest}
|
|
68
63
|
* @returns A Promise of Cluster
|
|
69
64
|
*/
|
|
70
65
|
upgradeCluster: (request: Readonly<UpgradeClusterRequest>) => Promise<Cluster>;
|
|
71
66
|
/**
|
|
72
|
-
* Change the Cluster type. Change the type of a specific Kubernetes cluster.
|
|
73
|
-
* To see the possible values you can enter for the `type` field, [list
|
|
74
|
-
* available cluster types](#list-available-cluster-types-for-a-cluster).
|
|
67
|
+
* Change the Cluster type. Change the type of a specific Kubernetes cluster. To see the possible values you can enter for the `type` field, [list available cluster types](#list-available-cluster-types-for-a-cluster).
|
|
75
68
|
*
|
|
76
69
|
* @param request - The request {@link SetClusterTypeRequest}
|
|
77
70
|
* @returns A Promise of Cluster
|
|
78
71
|
*/
|
|
79
72
|
setClusterType: (request: Readonly<SetClusterTypeRequest>) => Promise<Cluster>;
|
|
80
73
|
/**
|
|
81
|
-
* List available versions for a Cluster. List the versions that a specific
|
|
82
|
-
* Kubernetes cluster is allowed to upgrade to. Results will include every
|
|
83
|
-
* patch version greater than the current patch, as well as one minor version
|
|
84
|
-
* ahead of the current version. Any upgrade skipping a minor version will not
|
|
85
|
-
* work.
|
|
74
|
+
* List available versions for a Cluster. List the versions that a specific Kubernetes cluster is allowed to upgrade to. Results will include every patch version greater than the current patch, as well as one minor version ahead of the current version. Any upgrade skipping a minor version will not work.
|
|
86
75
|
*
|
|
87
76
|
* @param request - The request {@link ListClusterAvailableVersionsRequest}
|
|
88
77
|
* @returns A Promise of ListClusterAvailableVersionsResponse
|
|
89
78
|
*/
|
|
90
79
|
listClusterAvailableVersions: (request: Readonly<ListClusterAvailableVersionsRequest>) => Promise<ListClusterAvailableVersionsResponse>;
|
|
91
80
|
/**
|
|
92
|
-
* List available cluster types for a cluster. List the cluster types that a
|
|
93
|
-
* specific Kubernetes cluster is allowed to switch to.
|
|
81
|
+
* List available cluster types for a cluster. List the cluster types that a specific Kubernetes cluster is allowed to switch to.
|
|
94
82
|
*
|
|
95
83
|
* @param request - The request {@link ListClusterAvailableTypesRequest}
|
|
96
84
|
* @returns A Promise of ListClusterAvailableTypesResponse
|
|
@@ -98,19 +86,14 @@ export declare class API extends ParentAPI {
|
|
|
98
86
|
listClusterAvailableTypes: (request: Readonly<ListClusterAvailableTypesRequest>) => Promise<ListClusterAvailableTypesResponse>;
|
|
99
87
|
protected _getClusterKubeConfig: (request: Readonly<GetClusterKubeConfigRequest>) => Promise<Blob>;
|
|
100
88
|
/**
|
|
101
|
-
* Reset the admin token of a Cluster. Reset the admin token for a specific
|
|
102
|
-
* Kubernetes cluster. This will revoke the old admin token (which will not be
|
|
103
|
-
* usable afterwards) and create a new one. Note that you will need to
|
|
104
|
-
* download the kubeconfig again to keep interacting with the cluster.
|
|
89
|
+
* Reset the admin token of a Cluster. Reset the admin token for a specific Kubernetes cluster. This will revoke the old admin token (which will not be usable afterwards) and create a new one. Note that you will need to download the kubeconfig again to keep interacting with the cluster.
|
|
105
90
|
*
|
|
106
91
|
* @param request - The request {@link ResetClusterAdminTokenRequest}
|
|
107
92
|
*/
|
|
108
93
|
resetClusterAdminToken: (request: Readonly<ResetClusterAdminTokenRequest>) => Promise<void>;
|
|
109
94
|
/**
|
|
110
|
-
* Migrate a cluster to SBS CSI. Enable the latest CSI compatible with
|
|
111
|
-
|
|
112
|
-
* PersistentVolumes/VolumeSnapshotContents to SBS. Make sure to have the
|
|
113
|
-
* necessary Quota before running this command.
|
|
95
|
+
* Migrate a cluster to SBS CSI. Enable the latest CSI compatible with Scaleway Block Storage (SBS) and migrate all existing PersistentVolumes/VolumeSnapshotContents to SBS.
|
|
96
|
+
Make sure to have the necessary Quota before running this command.
|
|
114
97
|
*
|
|
115
98
|
* @param request - The request {@link MigrateClusterToSBSCSIRequest}
|
|
116
99
|
* @returns A Promise of Cluster
|
|
@@ -149,8 +132,7 @@ export declare class API extends ParentAPI {
|
|
|
149
132
|
deleteACLRule: (request: Readonly<DeleteACLRuleRequest>) => Promise<void>;
|
|
150
133
|
protected pageOfListPools: (request: Readonly<ListPoolsRequest>) => Promise<ListPoolsResponse>;
|
|
151
134
|
/**
|
|
152
|
-
* List Pools in a Cluster. List all the existing pools for a specific
|
|
153
|
-
* Kubernetes cluster.
|
|
135
|
+
* List Pools in a Cluster. List all the existing pools for a specific Kubernetes cluster.
|
|
154
136
|
*
|
|
155
137
|
* @param request - The request {@link ListPoolsRequest}
|
|
156
138
|
* @returns A Promise of ListPoolsResponse
|
|
@@ -160,16 +142,14 @@ export declare class API extends ParentAPI {
|
|
|
160
142
|
[Symbol.asyncIterator]: () => AsyncGenerator<Pool[], void, void>;
|
|
161
143
|
};
|
|
162
144
|
/**
|
|
163
|
-
* Create a new Pool in a Cluster. Create a new pool in a specific Kubernetes
|
|
164
|
-
* cluster.
|
|
145
|
+
* Create a new Pool in a Cluster. Create a new pool in a specific Kubernetes cluster.
|
|
165
146
|
*
|
|
166
147
|
* @param request - The request {@link CreatePoolRequest}
|
|
167
148
|
* @returns A Promise of Pool
|
|
168
149
|
*/
|
|
169
150
|
createPool: (request: Readonly<CreatePoolRequest>) => Promise<Pool>;
|
|
170
151
|
/**
|
|
171
|
-
* Get a Pool in a Cluster. Retrieve details about a specific pool in a
|
|
172
|
-
* Kubernetes cluster.
|
|
152
|
+
* Get a Pool in a Cluster. Retrieve details about a specific pool in a Kubernetes cluster.
|
|
173
153
|
*
|
|
174
154
|
* @param request - The request {@link GetPoolRequest}
|
|
175
155
|
* @returns A Promise of Pool
|
|
@@ -184,53 +164,43 @@ export declare class API extends ParentAPI {
|
|
|
184
164
|
*/
|
|
185
165
|
waitForPool: (request: Readonly<GetPoolRequest>, options?: Readonly<WaitForOptions<Pool>>) => Promise<Pool>;
|
|
186
166
|
/**
|
|
187
|
-
* Upgrade a Pool in a Cluster. Upgrade the Kubernetes version of a specific
|
|
188
|
-
|
|
189
|
-
* version. This will drain and replace the nodes in that pool.
|
|
167
|
+
* Upgrade a Pool in a Cluster. Upgrade the Kubernetes version of a specific pool. Note that it only works if the targeted version matches the cluster's version.
|
|
168
|
+
This will drain and replace the nodes in that pool.
|
|
190
169
|
*
|
|
191
170
|
* @param request - The request {@link UpgradePoolRequest}
|
|
192
171
|
* @returns A Promise of Pool
|
|
193
172
|
*/
|
|
194
173
|
upgradePool: (request: Readonly<UpgradePoolRequest>) => Promise<Pool>;
|
|
195
174
|
/**
|
|
196
|
-
* Update a Pool in a Cluster. Update the attributes of a specific pool, such
|
|
197
|
-
* as its desired size, autoscaling settings, and tags. To upgrade a pool, you
|
|
198
|
-
* will need to use the dedicated endpoint.
|
|
175
|
+
* Update a Pool in a Cluster. Update the attributes of a specific pool, such as its desired size, autoscaling settings, and tags. To upgrade a pool, you will need to use the dedicated endpoint.
|
|
199
176
|
*
|
|
200
177
|
* @param request - The request {@link UpdatePoolRequest}
|
|
201
178
|
* @returns A Promise of Pool
|
|
202
179
|
*/
|
|
203
180
|
updatePool: (request: Readonly<UpdatePoolRequest>) => Promise<Pool>;
|
|
204
181
|
/**
|
|
205
|
-
* Delete a Pool in a Cluster. Delete a specific pool from a cluster. Note
|
|
206
|
-
* that all the pool's nodes will also be deleted.
|
|
182
|
+
* Delete a Pool in a Cluster. Delete a specific pool from a cluster. Note that all the pool's nodes will also be deleted.
|
|
207
183
|
*
|
|
208
184
|
* @param request - The request {@link DeletePoolRequest}
|
|
209
185
|
* @returns A Promise of Pool
|
|
210
186
|
*/
|
|
211
187
|
deletePool: (request: Readonly<DeletePoolRequest>) => Promise<Pool>;
|
|
212
188
|
/**
|
|
213
|
-
* Fetch node metadata. Rerieve metadata to instantiate a Kapsule/Kosmos node.
|
|
214
|
-
* This method is not intended to be called by end users but rather
|
|
215
|
-
* programmatically by the node-installer.
|
|
189
|
+
* Fetch node metadata. Rerieve metadata to instantiate a Kapsule/Kosmos node. This method is not intended to be called by end users but rather programmatically by the node-installer.
|
|
216
190
|
*
|
|
217
191
|
* @param request - The request {@link GetNodeMetadataRequest}
|
|
218
192
|
* @returns A Promise of NodeMetadata
|
|
219
193
|
*/
|
|
220
194
|
getNodeMetadata: (request?: Readonly<GetNodeMetadataRequest>) => Promise<NodeMetadata>;
|
|
221
195
|
/**
|
|
222
|
-
* Authenticate Kosmos external node. Creates a newer Kosmos node and returns
|
|
223
|
-
* its token. This method is not intended to be called by end users but rather
|
|
224
|
-
* programmatically by the node-installer.
|
|
196
|
+
* Authenticate Kosmos external node. Creates a newer Kosmos node and returns its token. This method is not intended to be called by end users but rather programmatically by the node-installer.
|
|
225
197
|
*
|
|
226
198
|
* @param request - The request {@link AuthExternalNodeRequest}
|
|
227
199
|
* @returns A Promise of ExternalNodeAuth
|
|
228
200
|
*/
|
|
229
201
|
authExternalNode: (request: Readonly<AuthExternalNodeRequest>) => Promise<ExternalNodeAuth>;
|
|
230
202
|
/**
|
|
231
|
-
* Create a Kosmos node. Retrieve metadata for a Kosmos node. This method is
|
|
232
|
-
* not intended to be called by end users but rather programmatically by the
|
|
233
|
-
* kapsule-node-agent.
|
|
203
|
+
* Create a Kosmos node. Retrieve metadata for a Kosmos node. This method is not intended to be called by end users but rather programmatically by the kapsule-node-agent.
|
|
234
204
|
*
|
|
235
205
|
* @param request - The request {@link CreateExternalNodeRequest}
|
|
236
206
|
* @returns A Promise of ExternalNode
|
|
@@ -238,8 +208,7 @@ export declare class API extends ParentAPI {
|
|
|
238
208
|
createExternalNode: (request: Readonly<CreateExternalNodeRequest>) => Promise<ExternalNode>;
|
|
239
209
|
protected pageOfListNodes: (request: Readonly<ListNodesRequest>) => Promise<ListNodesResponse>;
|
|
240
210
|
/**
|
|
241
|
-
* List Nodes in a Cluster. List all the existing nodes for a specific
|
|
242
|
-
* Kubernetes cluster.
|
|
211
|
+
* List Nodes in a Cluster. List all the existing nodes for a specific Kubernetes cluster.
|
|
243
212
|
*
|
|
244
213
|
* @param request - The request {@link ListNodesRequest}
|
|
245
214
|
* @returns A Promise of ListNodesResponse
|
|
@@ -264,11 +233,7 @@ export declare class API extends ParentAPI {
|
|
|
264
233
|
*/
|
|
265
234
|
waitForNode: (request: Readonly<GetNodeRequest>, options?: Readonly<WaitForOptions<Node>>) => Promise<Node>;
|
|
266
235
|
/**
|
|
267
|
-
* Replace a Node in a Cluster. Replace a specific Node. The node will first
|
|
268
|
-
* be drained and pods will be rescheduled onto another node. Note that when
|
|
269
|
-
* there is not enough space to reschedule all the pods (such as in a one-node
|
|
270
|
-
* cluster, or with specific constraints), disruption of your applications may
|
|
271
|
-
* occur.
|
|
236
|
+
* Replace a Node in a Cluster. Replace a specific Node. The node will first be drained and pods will be rescheduled onto another node. Note that when there is not enough space to reschedule all the pods (such as in a one-node cluster, or with specific constraints), disruption of your applications may occur.
|
|
272
237
|
*
|
|
273
238
|
* @deprecated
|
|
274
239
|
* @param request - The request {@link ReplaceNodeRequest}
|
|
@@ -276,30 +241,21 @@ export declare class API extends ParentAPI {
|
|
|
276
241
|
*/
|
|
277
242
|
replaceNode: (request: Readonly<ReplaceNodeRequest>) => Promise<Node>;
|
|
278
243
|
/**
|
|
279
|
-
* Reboot a Node in a Cluster. Reboot a specific Node. The node will first be
|
|
280
|
-
* drained and pods will be rescheduled onto another node. Note that when
|
|
281
|
-
* there is not enough space to reschedule all the pods (such as in a one-node
|
|
282
|
-
* cluster, or with specific constraints), disruption of your applications may
|
|
283
|
-
* occur.
|
|
244
|
+
* Reboot a Node in a Cluster. Reboot a specific Node. The node will first be drained and pods will be rescheduled onto another node. Note that when there is not enough space to reschedule all the pods (such as in a one-node cluster, or with specific constraints), disruption of your applications may occur.
|
|
284
245
|
*
|
|
285
246
|
* @param request - The request {@link RebootNodeRequest}
|
|
286
247
|
* @returns A Promise of Node
|
|
287
248
|
*/
|
|
288
249
|
rebootNode: (request: Readonly<RebootNodeRequest>) => Promise<Node>;
|
|
289
250
|
/**
|
|
290
|
-
* Delete a Node in a Cluster. Delete a specific Node. The node will first be
|
|
291
|
-
* drained and pods will be rescheduled onto another node. Note that when
|
|
292
|
-
* there is not enough space to reschedule all the pods (such as in a one-node
|
|
293
|
-
* cluster, or with specific constraints), disruption of your applications may
|
|
294
|
-
* occur.
|
|
251
|
+
* Delete a Node in a Cluster. Delete a specific Node. The node will first be drained and pods will be rescheduled onto another node. Note that when there is not enough space to reschedule all the pods (such as in a one-node cluster, or with specific constraints), disruption of your applications may occur.
|
|
295
252
|
*
|
|
296
253
|
* @param request - The request {@link DeleteNodeRequest}
|
|
297
254
|
* @returns A Promise of Node
|
|
298
255
|
*/
|
|
299
256
|
deleteNode: (request: Readonly<DeleteNodeRequest>) => Promise<Node>;
|
|
300
257
|
/**
|
|
301
|
-
* List all available Versions. List all available versions for the creation
|
|
302
|
-
* of a new Kubernetes cluster.
|
|
258
|
+
* List all available Versions. List all available versions for the creation of a new Kubernetes cluster.
|
|
303
259
|
*
|
|
304
260
|
* @param request - The request {@link ListVersionsRequest}
|
|
305
261
|
* @returns A Promise of ListVersionsResponse
|
|
@@ -314,8 +270,7 @@ export declare class API extends ParentAPI {
|
|
|
314
270
|
getVersion: (request: Readonly<GetVersionRequest>) => Promise<Version>;
|
|
315
271
|
protected pageOfListClusterTypes: (request?: Readonly<ListClusterTypesRequest>) => Promise<ListClusterTypesResponse>;
|
|
316
272
|
/**
|
|
317
|
-
* List cluster types. List available cluster types and their technical
|
|
318
|
-
* details.
|
|
273
|
+
* List cluster types. List available cluster types and their technical details.
|
|
319
274
|
*
|
|
320
275
|
* @param request - The request {@link ListClusterTypesRequest}
|
|
321
276
|
* @returns A Promise of ListClusterTypesResponse
|