@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,4 +1,4 @@
|
|
|
1
|
-
import type { Zone as ScwZone, TimeSeries } from '
|
|
1
|
+
import type { Zone as ScwZone, TimeSeries } from '@scaleway/sdk-client';
|
|
2
2
|
export type AvailableClusterSettingPropertyType = 'UNKNOWN' | 'BOOLEAN' | 'INT' | 'STRING';
|
|
3
3
|
export type ClusterStatus = 'unknown' | 'ready' | 'provisioning' | 'configuring' | 'deleting' | 'error' | 'autohealing' | 'locked' | 'suspended' | 'initializing';
|
|
4
4
|
export type ListClustersRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
@@ -7,467 +7,744 @@ export type PrivateNetworkProvisioningMode = 'static' | 'ipam';
|
|
|
7
7
|
export interface EndpointSpecPrivateNetworkSpecIpamConfig {
|
|
8
8
|
}
|
|
9
9
|
export interface PrivateNetwork {
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* UUID of the Private Network.
|
|
12
|
+
*/
|
|
11
13
|
id: string;
|
|
12
|
-
/**
|
|
14
|
+
/**
|
|
15
|
+
* List of IPv4 CIDR notation addresses of the endpoint.
|
|
16
|
+
*/
|
|
13
17
|
serviceIps: string[];
|
|
14
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Zone of the Private Network.
|
|
20
|
+
*/
|
|
15
21
|
zone: ScwZone;
|
|
16
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* How your endpoint ips are provisioned.
|
|
24
|
+
*/
|
|
17
25
|
provisioningMode: PrivateNetworkProvisioningMode;
|
|
18
26
|
}
|
|
19
27
|
export interface PublicNetwork {
|
|
20
28
|
}
|
|
21
29
|
export interface EndpointSpecPrivateNetworkSpec {
|
|
22
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* UUID of the Private Network to connect to the Database Instance.
|
|
32
|
+
*/
|
|
23
33
|
id: string;
|
|
24
34
|
/**
|
|
25
|
-
* Endpoint IPv4 address with a CIDR notation. You must provide at least one
|
|
26
|
-
* IPv4 per node.
|
|
35
|
+
* Endpoint IPv4 address with a CIDR notation. You must provide at least one IPv4 per node.
|
|
27
36
|
*/
|
|
28
37
|
serviceIps: string[];
|
|
29
38
|
/**
|
|
30
|
-
* Automated configuration of your Private Network endpoint with Scaleway IPAM
|
|
31
|
-
* service.
|
|
39
|
+
* Automated configuration of your Private Network endpoint with Scaleway IPAM service.
|
|
32
40
|
*/
|
|
33
41
|
ipamConfig?: EndpointSpecPrivateNetworkSpecIpamConfig;
|
|
34
42
|
}
|
|
35
43
|
export interface EndpointSpecPublicNetworkSpec {
|
|
36
44
|
}
|
|
37
45
|
export interface AvailableClusterSetting {
|
|
38
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* Name of the setting.
|
|
48
|
+
*/
|
|
39
49
|
name: string;
|
|
40
|
-
/**
|
|
50
|
+
/**
|
|
51
|
+
* Default value of the setting.
|
|
52
|
+
*/
|
|
41
53
|
defaultValue?: string;
|
|
42
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Type of setting.
|
|
56
|
+
*/
|
|
43
57
|
type: AvailableClusterSettingPropertyType;
|
|
44
|
-
/**
|
|
58
|
+
/**
|
|
59
|
+
* Description of the setting.
|
|
60
|
+
*/
|
|
45
61
|
description: string;
|
|
46
|
-
/**
|
|
62
|
+
/**
|
|
63
|
+
* Optional maximum value of the setting.
|
|
64
|
+
*/
|
|
47
65
|
maxValue?: number;
|
|
48
|
-
/**
|
|
66
|
+
/**
|
|
67
|
+
* Optional minimum value of the setting.
|
|
68
|
+
*/
|
|
49
69
|
minValue?: number;
|
|
50
|
-
/**
|
|
70
|
+
/**
|
|
71
|
+
* Optional validation rule of the setting.
|
|
72
|
+
*/
|
|
51
73
|
regex?: string;
|
|
52
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* Defines whether or not the setting is deprecated.
|
|
76
|
+
*/
|
|
53
77
|
deprecated: boolean;
|
|
54
78
|
}
|
|
55
79
|
export interface ACLRule {
|
|
56
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* ID of the rule.
|
|
82
|
+
*/
|
|
57
83
|
id: string;
|
|
58
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* IPv4 network address of the rule.
|
|
86
|
+
*/
|
|
59
87
|
ipCidr?: string;
|
|
60
|
-
/**
|
|
88
|
+
/**
|
|
89
|
+
* Description of the rule.
|
|
90
|
+
*/
|
|
61
91
|
description?: string;
|
|
62
92
|
}
|
|
63
93
|
export interface ClusterSetting {
|
|
64
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* Value of the setting.
|
|
96
|
+
*/
|
|
65
97
|
value: string;
|
|
66
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* Name of the setting.
|
|
100
|
+
*/
|
|
67
101
|
name: string;
|
|
68
102
|
}
|
|
69
103
|
export interface Endpoint {
|
|
70
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* TCP port of the endpoint.
|
|
106
|
+
*/
|
|
71
107
|
port: number;
|
|
72
108
|
/**
|
|
73
109
|
* Private Network details.
|
|
74
110
|
*
|
|
75
|
-
* One-of ('details'): at most one of 'privateNetwork', 'publicNetwork' could
|
|
76
|
-
* be set.
|
|
111
|
+
* One-of ('details'): at most one of 'privateNetwork', 'publicNetwork' could be set.
|
|
77
112
|
*/
|
|
78
113
|
privateNetwork?: PrivateNetwork;
|
|
79
114
|
/**
|
|
80
115
|
* Public network details.
|
|
81
116
|
*
|
|
82
|
-
* One-of ('details'): at most one of 'privateNetwork', 'publicNetwork' could
|
|
83
|
-
* be set.
|
|
117
|
+
* One-of ('details'): at most one of 'privateNetwork', 'publicNetwork' could be set.
|
|
84
118
|
*/
|
|
85
119
|
publicNetwork?: PublicNetwork;
|
|
86
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* List of IPv4 addresses of the endpoint.
|
|
122
|
+
*/
|
|
87
123
|
ips: string[];
|
|
88
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* UUID of the endpoint.
|
|
126
|
+
*/
|
|
89
127
|
id: string;
|
|
90
128
|
}
|
|
91
129
|
export interface ACLRuleSpec {
|
|
92
|
-
/**
|
|
130
|
+
/**
|
|
131
|
+
* IPv4 network address of the rule.
|
|
132
|
+
*/
|
|
93
133
|
ipCidr: string;
|
|
94
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* Description of the rule.
|
|
136
|
+
*/
|
|
95
137
|
description: string;
|
|
96
138
|
}
|
|
97
139
|
export interface EndpointSpec {
|
|
98
140
|
/**
|
|
99
141
|
* Private Network specification details.
|
|
100
142
|
*
|
|
101
|
-
* One-of ('endpointType'): at most one of 'privateNetwork', 'publicNetwork'
|
|
102
|
-
* could be set.
|
|
143
|
+
* One-of ('endpointType'): at most one of 'privateNetwork', 'publicNetwork' could be set.
|
|
103
144
|
*/
|
|
104
145
|
privateNetwork?: EndpointSpecPrivateNetworkSpec;
|
|
105
146
|
/**
|
|
106
147
|
* Public network specification details.
|
|
107
148
|
*
|
|
108
|
-
* One-of ('endpointType'): at most one of 'privateNetwork', 'publicNetwork'
|
|
109
|
-
* could be set.
|
|
149
|
+
* One-of ('endpointType'): at most one of 'privateNetwork', 'publicNetwork' could be set.
|
|
110
150
|
*/
|
|
111
151
|
publicNetwork?: EndpointSpecPublicNetworkSpec;
|
|
112
152
|
}
|
|
113
153
|
export interface ClusterVersion {
|
|
114
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* Redis™ engine version.
|
|
156
|
+
*/
|
|
115
157
|
version: string;
|
|
116
|
-
/**
|
|
158
|
+
/**
|
|
159
|
+
* Date of End of Life.
|
|
160
|
+
*/
|
|
117
161
|
endOfLifeAt?: Date;
|
|
118
|
-
/**
|
|
162
|
+
/**
|
|
163
|
+
* Cluster settings available to be updated.
|
|
164
|
+
*/
|
|
119
165
|
availableSettings: AvailableClusterSetting[];
|
|
120
|
-
/**
|
|
166
|
+
/**
|
|
167
|
+
* Redis™ logo url.
|
|
168
|
+
*/
|
|
121
169
|
logoUrl: string;
|
|
122
|
-
/**
|
|
170
|
+
/**
|
|
171
|
+
* Zone of the Redis™ Database Instance.
|
|
172
|
+
*/
|
|
123
173
|
zone: ScwZone;
|
|
124
174
|
}
|
|
125
175
|
export interface Cluster {
|
|
126
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* UUID of the Database Instance.
|
|
178
|
+
*/
|
|
127
179
|
id: string;
|
|
128
|
-
/**
|
|
180
|
+
/**
|
|
181
|
+
* Name of the Database Instance.
|
|
182
|
+
*/
|
|
129
183
|
name: string;
|
|
130
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Project ID the Database Instance belongs to.
|
|
186
|
+
*/
|
|
131
187
|
projectId: string;
|
|
132
|
-
/**
|
|
188
|
+
/**
|
|
189
|
+
* Status of the Database Instance.
|
|
190
|
+
*/
|
|
133
191
|
status: ClusterStatus;
|
|
134
|
-
/**
|
|
192
|
+
/**
|
|
193
|
+
* Redis™ engine version of the Database Instance.
|
|
194
|
+
*/
|
|
135
195
|
version: string;
|
|
136
|
-
/**
|
|
196
|
+
/**
|
|
197
|
+
* List of Database Instance endpoints.
|
|
198
|
+
*/
|
|
137
199
|
endpoints: Endpoint[];
|
|
138
|
-
/**
|
|
200
|
+
/**
|
|
201
|
+
* List of tags applied to the Database Instance.
|
|
202
|
+
*/
|
|
139
203
|
tags: string[];
|
|
140
|
-
/**
|
|
204
|
+
/**
|
|
205
|
+
* Node type of the Database Instance.
|
|
206
|
+
*/
|
|
141
207
|
nodeType: string;
|
|
142
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* Creation date (Format ISO 8601).
|
|
210
|
+
*/
|
|
143
211
|
createdAt?: Date;
|
|
144
|
-
/**
|
|
212
|
+
/**
|
|
213
|
+
* Update date (Format ISO 8601).
|
|
214
|
+
*/
|
|
145
215
|
updatedAt?: Date;
|
|
146
|
-
/**
|
|
216
|
+
/**
|
|
217
|
+
* Defines whether or not TLS is enabled.
|
|
218
|
+
*/
|
|
147
219
|
tlsEnabled: boolean;
|
|
148
|
-
/**
|
|
220
|
+
/**
|
|
221
|
+
* List of Database Instance settings.
|
|
222
|
+
*/
|
|
149
223
|
clusterSettings: ClusterSetting[];
|
|
150
|
-
/**
|
|
224
|
+
/**
|
|
225
|
+
* List of ACL rules.
|
|
226
|
+
*/
|
|
151
227
|
aclRules: ACLRule[];
|
|
152
|
-
/**
|
|
228
|
+
/**
|
|
229
|
+
* Number of nodes of the Database Instance cluster.
|
|
230
|
+
*/
|
|
153
231
|
clusterSize: number;
|
|
154
|
-
/**
|
|
232
|
+
/**
|
|
233
|
+
* Zone of the Database Instance.
|
|
234
|
+
*/
|
|
155
235
|
zone: ScwZone;
|
|
156
|
-
/**
|
|
236
|
+
/**
|
|
237
|
+
* Name of the user associated to the cluster.
|
|
238
|
+
*/
|
|
157
239
|
userName: string;
|
|
158
|
-
/**
|
|
240
|
+
/**
|
|
241
|
+
* List of engine versions the Database Instance can upgrade to.
|
|
242
|
+
*/
|
|
159
243
|
upgradableVersions: string[];
|
|
160
244
|
}
|
|
161
245
|
export interface NodeType {
|
|
162
|
-
/**
|
|
246
|
+
/**
|
|
247
|
+
* Node type name.
|
|
248
|
+
*/
|
|
163
249
|
name: string;
|
|
164
|
-
/**
|
|
250
|
+
/**
|
|
251
|
+
* Current stock status of the node type.
|
|
252
|
+
*/
|
|
165
253
|
stockStatus: NodeTypeStock;
|
|
166
|
-
/**
|
|
254
|
+
/**
|
|
255
|
+
* Current specifications of the offer.
|
|
256
|
+
*/
|
|
167
257
|
description: string;
|
|
168
|
-
/**
|
|
258
|
+
/**
|
|
259
|
+
* Number of virtual CPUs.
|
|
260
|
+
*/
|
|
169
261
|
vcpus: number;
|
|
170
|
-
/**
|
|
262
|
+
/**
|
|
263
|
+
* Quantity of RAM.
|
|
264
|
+
*/
|
|
171
265
|
memory: number;
|
|
172
|
-
/**
|
|
266
|
+
/**
|
|
267
|
+
* Defines whether node type is currently disabled or not.
|
|
268
|
+
*/
|
|
173
269
|
disabled: boolean;
|
|
174
|
-
/**
|
|
270
|
+
/**
|
|
271
|
+
* Defines whether node type is currently in beta.
|
|
272
|
+
*/
|
|
175
273
|
beta: boolean;
|
|
176
|
-
/**
|
|
274
|
+
/**
|
|
275
|
+
* Zone of the node type.
|
|
276
|
+
*/
|
|
177
277
|
zone: ScwZone;
|
|
178
278
|
}
|
|
179
279
|
export type AddAclRulesRequest = {
|
|
180
|
-
/**
|
|
280
|
+
/**
|
|
281
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
282
|
+
*/
|
|
181
283
|
zone?: ScwZone;
|
|
182
|
-
/**
|
|
284
|
+
/**
|
|
285
|
+
* UUID of the Database Instance you want to add ACL rules to.
|
|
286
|
+
*/
|
|
183
287
|
clusterId: string;
|
|
184
|
-
/**
|
|
288
|
+
/**
|
|
289
|
+
* ACLs rules to add to the cluster.
|
|
290
|
+
*/
|
|
185
291
|
aclRules: ACLRuleSpec[];
|
|
186
292
|
};
|
|
187
293
|
export interface AddAclRulesResponse {
|
|
188
|
-
/**
|
|
294
|
+
/**
|
|
295
|
+
* ACL Rules enabled for the Database Instance.
|
|
296
|
+
*/
|
|
189
297
|
aclRules: ACLRule[];
|
|
190
|
-
/**
|
|
298
|
+
/**
|
|
299
|
+
* Total count of ACL rules of the Database Instance.
|
|
300
|
+
*/
|
|
191
301
|
totalCount: number;
|
|
192
302
|
}
|
|
193
303
|
export type AddClusterSettingsRequest = {
|
|
194
|
-
/**
|
|
304
|
+
/**
|
|
305
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
306
|
+
*/
|
|
195
307
|
zone?: ScwZone;
|
|
196
|
-
/**
|
|
308
|
+
/**
|
|
309
|
+
* UUID of the Database Instance you want to add settings to.
|
|
310
|
+
*/
|
|
197
311
|
clusterId: string;
|
|
198
|
-
/**
|
|
312
|
+
/**
|
|
313
|
+
* Settings to add to the cluster.
|
|
314
|
+
*/
|
|
199
315
|
settings: ClusterSetting[];
|
|
200
316
|
};
|
|
201
317
|
export type AddEndpointsRequest = {
|
|
202
|
-
/**
|
|
318
|
+
/**
|
|
319
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
320
|
+
*/
|
|
203
321
|
zone?: ScwZone;
|
|
204
|
-
/**
|
|
322
|
+
/**
|
|
323
|
+
* UUID of the Database Instance you want to add endpoints to.
|
|
324
|
+
*/
|
|
205
325
|
clusterId: string;
|
|
206
|
-
/**
|
|
326
|
+
/**
|
|
327
|
+
* Endpoints to add to the Database Instance.
|
|
328
|
+
*/
|
|
207
329
|
endpoints: EndpointSpec[];
|
|
208
330
|
};
|
|
209
331
|
export interface AddEndpointsResponse {
|
|
210
|
-
/**
|
|
332
|
+
/**
|
|
333
|
+
* Endpoints defined on the Database Instance.
|
|
334
|
+
*/
|
|
211
335
|
endpoints: Endpoint[];
|
|
212
|
-
/**
|
|
336
|
+
/**
|
|
337
|
+
* Total count of endpoints of the Database Instance.
|
|
338
|
+
*/
|
|
213
339
|
totalCount: number;
|
|
214
340
|
}
|
|
215
341
|
export interface ClusterMetricsResponse {
|
|
216
|
-
/**
|
|
342
|
+
/**
|
|
343
|
+
* Time series of metrics of a given cluster.
|
|
344
|
+
*/
|
|
217
345
|
timeseries: TimeSeries[];
|
|
218
346
|
}
|
|
219
347
|
export interface ClusterSettingsResponse {
|
|
220
|
-
/**
|
|
348
|
+
/**
|
|
349
|
+
* Settings configured for a given Database Instance.
|
|
350
|
+
*/
|
|
221
351
|
settings: ClusterSetting[];
|
|
222
352
|
}
|
|
223
353
|
export type CreateClusterRequest = {
|
|
224
|
-
/**
|
|
354
|
+
/**
|
|
355
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
356
|
+
*/
|
|
225
357
|
zone?: ScwZone;
|
|
226
|
-
/**
|
|
358
|
+
/**
|
|
359
|
+
* Project ID in which to create the Database Instance.
|
|
360
|
+
*/
|
|
227
361
|
projectId?: string;
|
|
228
|
-
/**
|
|
362
|
+
/**
|
|
363
|
+
* Name of the Database Instance.
|
|
364
|
+
*/
|
|
229
365
|
name?: string;
|
|
230
|
-
/**
|
|
366
|
+
/**
|
|
367
|
+
* Redis™ engine version of the Database Instance.
|
|
368
|
+
*/
|
|
231
369
|
version: string;
|
|
232
|
-
/**
|
|
370
|
+
/**
|
|
371
|
+
* Tags to apply to the Database Instance.
|
|
372
|
+
*/
|
|
233
373
|
tags?: string[];
|
|
234
|
-
/**
|
|
374
|
+
/**
|
|
375
|
+
* Type of node to use for the Database Instance.
|
|
376
|
+
*/
|
|
235
377
|
nodeType: string;
|
|
236
|
-
/**
|
|
378
|
+
/**
|
|
379
|
+
* Name of the user created upon Database Instance creation.
|
|
380
|
+
*/
|
|
237
381
|
userName: string;
|
|
238
|
-
/**
|
|
382
|
+
/**
|
|
383
|
+
* Password of the user.
|
|
384
|
+
*/
|
|
239
385
|
password: string;
|
|
240
|
-
/**
|
|
386
|
+
/**
|
|
387
|
+
* Number of nodes in the Redis™ cluster.
|
|
388
|
+
*/
|
|
241
389
|
clusterSize?: number;
|
|
242
|
-
/**
|
|
390
|
+
/**
|
|
391
|
+
* List of ACLRuleSpec used to secure your publicly exposed cluster.
|
|
392
|
+
*/
|
|
243
393
|
aclRules?: ACLRuleSpec[];
|
|
244
394
|
/**
|
|
245
|
-
* Zero or multiple EndpointSpec used to expose your cluster publicly and
|
|
246
|
-
* inside private networks. If no EndpoindSpec is given the cluster will be
|
|
247
|
-
* publicly exposed by default.
|
|
395
|
+
* Zero or multiple EndpointSpec used to expose your cluster publicly and inside private networks. If no EndpoindSpec is given the cluster will be publicly exposed by default.
|
|
248
396
|
*/
|
|
249
397
|
endpoints?: EndpointSpec[];
|
|
250
|
-
/**
|
|
398
|
+
/**
|
|
399
|
+
* Defines whether or not TLS is enabled.
|
|
400
|
+
*/
|
|
251
401
|
tlsEnabled: boolean;
|
|
252
|
-
/**
|
|
402
|
+
/**
|
|
403
|
+
* List of advanced settings to be set upon Database Instance initialization.
|
|
404
|
+
*/
|
|
253
405
|
clusterSettings?: ClusterSetting[];
|
|
254
406
|
};
|
|
255
407
|
export type DeleteAclRuleRequest = {
|
|
256
|
-
/**
|
|
408
|
+
/**
|
|
409
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
410
|
+
*/
|
|
257
411
|
zone?: ScwZone;
|
|
258
|
-
/**
|
|
412
|
+
/**
|
|
413
|
+
* UUID of the ACL rule you want to delete.
|
|
414
|
+
*/
|
|
259
415
|
aclId: string;
|
|
260
416
|
};
|
|
261
417
|
export type DeleteClusterRequest = {
|
|
262
|
-
/**
|
|
418
|
+
/**
|
|
419
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
420
|
+
*/
|
|
263
421
|
zone?: ScwZone;
|
|
264
|
-
/**
|
|
422
|
+
/**
|
|
423
|
+
* UUID of the Database Instance to delete.
|
|
424
|
+
*/
|
|
265
425
|
clusterId: string;
|
|
266
426
|
};
|
|
267
427
|
export type DeleteClusterSettingRequest = {
|
|
268
|
-
/**
|
|
428
|
+
/**
|
|
429
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
430
|
+
*/
|
|
269
431
|
zone?: ScwZone;
|
|
270
|
-
/**
|
|
432
|
+
/**
|
|
433
|
+
* UUID of the Database Instance where the settings must be set.
|
|
434
|
+
*/
|
|
271
435
|
clusterId: string;
|
|
272
|
-
/**
|
|
436
|
+
/**
|
|
437
|
+
* Setting name to delete.
|
|
438
|
+
*/
|
|
273
439
|
settingName: string;
|
|
274
440
|
};
|
|
275
441
|
export type DeleteEndpointRequest = {
|
|
276
|
-
/**
|
|
442
|
+
/**
|
|
443
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
444
|
+
*/
|
|
277
445
|
zone?: ScwZone;
|
|
278
|
-
/**
|
|
446
|
+
/**
|
|
447
|
+
* UUID of the endpoint you want to delete.
|
|
448
|
+
*/
|
|
279
449
|
endpointId: string;
|
|
280
450
|
};
|
|
281
451
|
export type GetAclRuleRequest = {
|
|
282
|
-
/**
|
|
452
|
+
/**
|
|
453
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
454
|
+
*/
|
|
283
455
|
zone?: ScwZone;
|
|
284
|
-
/**
|
|
456
|
+
/**
|
|
457
|
+
* UUID of the ACL rule you want to get.
|
|
458
|
+
*/
|
|
285
459
|
aclId: string;
|
|
286
460
|
};
|
|
287
461
|
export type GetClusterCertificateRequest = {
|
|
288
|
-
/**
|
|
462
|
+
/**
|
|
463
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
464
|
+
*/
|
|
289
465
|
zone?: ScwZone;
|
|
290
|
-
/**
|
|
466
|
+
/**
|
|
467
|
+
* UUID of the cluster.
|
|
468
|
+
*/
|
|
291
469
|
clusterId: string;
|
|
292
470
|
};
|
|
293
471
|
export type GetClusterMetricsRequest = {
|
|
294
|
-
/**
|
|
472
|
+
/**
|
|
473
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
474
|
+
*/
|
|
295
475
|
zone?: ScwZone;
|
|
296
|
-
/**
|
|
476
|
+
/**
|
|
477
|
+
* UUID of the cluster.
|
|
478
|
+
*/
|
|
297
479
|
clusterId: string;
|
|
298
|
-
/**
|
|
480
|
+
/**
|
|
481
|
+
* Start date.
|
|
482
|
+
*/
|
|
299
483
|
startAt?: Date;
|
|
300
|
-
/**
|
|
484
|
+
/**
|
|
485
|
+
* End date.
|
|
486
|
+
*/
|
|
301
487
|
endAt?: Date;
|
|
302
|
-
/**
|
|
488
|
+
/**
|
|
489
|
+
* Name of the metric to gather.
|
|
490
|
+
*/
|
|
303
491
|
metricName?: string;
|
|
304
492
|
};
|
|
305
493
|
export type GetClusterRequest = {
|
|
306
|
-
/**
|
|
494
|
+
/**
|
|
495
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
496
|
+
*/
|
|
307
497
|
zone?: ScwZone;
|
|
308
|
-
/**
|
|
498
|
+
/**
|
|
499
|
+
* UUID of the cluster.
|
|
500
|
+
*/
|
|
309
501
|
clusterId: string;
|
|
310
502
|
};
|
|
311
503
|
export type GetEndpointRequest = {
|
|
312
|
-
/**
|
|
504
|
+
/**
|
|
505
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
506
|
+
*/
|
|
313
507
|
zone?: ScwZone;
|
|
314
|
-
/**
|
|
508
|
+
/**
|
|
509
|
+
* UUID of the endpoint you want to get.
|
|
510
|
+
*/
|
|
315
511
|
endpointId: string;
|
|
316
512
|
};
|
|
317
513
|
export type ListClusterVersionsRequest = {
|
|
318
|
-
/**
|
|
514
|
+
/**
|
|
515
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
516
|
+
*/
|
|
319
517
|
zone?: ScwZone;
|
|
320
|
-
/**
|
|
518
|
+
/**
|
|
519
|
+
* Defines whether or not to include disabled Redis™ engine versions.
|
|
520
|
+
*/
|
|
321
521
|
includeDisabled: boolean;
|
|
322
|
-
/**
|
|
522
|
+
/**
|
|
523
|
+
* Defines whether or not to include beta Redis™ engine versions.
|
|
524
|
+
*/
|
|
323
525
|
includeBeta: boolean;
|
|
324
|
-
/**
|
|
526
|
+
/**
|
|
527
|
+
* Defines whether or not to include deprecated Redis™ engine versions.
|
|
528
|
+
*/
|
|
325
529
|
includeDeprecated: boolean;
|
|
326
|
-
/**
|
|
530
|
+
/**
|
|
531
|
+
* List Redis™ engine versions that match a given name pattern.
|
|
532
|
+
*/
|
|
327
533
|
version?: string;
|
|
328
534
|
page?: number;
|
|
329
535
|
pageSize?: number;
|
|
330
536
|
};
|
|
331
537
|
export interface ListClusterVersionsResponse {
|
|
332
|
-
/**
|
|
538
|
+
/**
|
|
539
|
+
* List of available Redis™ engine versions.
|
|
540
|
+
*/
|
|
333
541
|
versions: ClusterVersion[];
|
|
334
|
-
/**
|
|
542
|
+
/**
|
|
543
|
+
* Total count of available Redis™ engine versions.
|
|
544
|
+
*/
|
|
335
545
|
totalCount: number;
|
|
336
546
|
}
|
|
337
547
|
export type ListClustersRequest = {
|
|
338
|
-
/**
|
|
548
|
+
/**
|
|
549
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
550
|
+
*/
|
|
339
551
|
zone?: ScwZone;
|
|
340
|
-
/**
|
|
552
|
+
/**
|
|
553
|
+
* Filter by Database Instance tags.
|
|
554
|
+
*/
|
|
341
555
|
tags?: string[];
|
|
342
|
-
/**
|
|
556
|
+
/**
|
|
557
|
+
* Filter by Database Instance names.
|
|
558
|
+
*/
|
|
343
559
|
name?: string;
|
|
344
|
-
/**
|
|
560
|
+
/**
|
|
561
|
+
* Criteria to use when ordering the list.
|
|
562
|
+
*/
|
|
345
563
|
orderBy?: ListClustersRequestOrderBy;
|
|
346
|
-
/**
|
|
564
|
+
/**
|
|
565
|
+
* Filter by Project ID.
|
|
566
|
+
*/
|
|
347
567
|
projectId?: string;
|
|
348
|
-
/**
|
|
568
|
+
/**
|
|
569
|
+
* Filter by Organization ID.
|
|
570
|
+
*/
|
|
349
571
|
organizationId?: string;
|
|
350
|
-
/**
|
|
572
|
+
/**
|
|
573
|
+
* Filter by Redis™ engine version.
|
|
574
|
+
*/
|
|
351
575
|
version?: string;
|
|
352
576
|
page?: number;
|
|
353
577
|
pageSize?: number;
|
|
354
578
|
};
|
|
355
579
|
export interface ListClustersResponse {
|
|
356
|
-
/**
|
|
580
|
+
/**
|
|
581
|
+
* List all Database Instances.
|
|
582
|
+
*/
|
|
357
583
|
clusters: Cluster[];
|
|
358
|
-
/**
|
|
584
|
+
/**
|
|
585
|
+
* Total count of Database Instances.
|
|
586
|
+
*/
|
|
359
587
|
totalCount: number;
|
|
360
588
|
}
|
|
361
589
|
export type ListNodeTypesRequest = {
|
|
362
|
-
/**
|
|
590
|
+
/**
|
|
591
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
592
|
+
*/
|
|
363
593
|
zone?: ScwZone;
|
|
364
|
-
/**
|
|
594
|
+
/**
|
|
595
|
+
* Defines whether or not to include disabled types.
|
|
596
|
+
*/
|
|
365
597
|
includeDisabledTypes: boolean;
|
|
366
598
|
page?: number;
|
|
367
599
|
pageSize?: number;
|
|
368
600
|
};
|
|
369
601
|
export interface ListNodeTypesResponse {
|
|
370
|
-
/**
|
|
602
|
+
/**
|
|
603
|
+
* Types of node.
|
|
604
|
+
*/
|
|
371
605
|
nodeTypes: NodeType[];
|
|
372
|
-
/**
|
|
606
|
+
/**
|
|
607
|
+
* Total count of node types available.
|
|
608
|
+
*/
|
|
373
609
|
totalCount: number;
|
|
374
610
|
}
|
|
375
611
|
export type MigrateClusterRequest = {
|
|
376
|
-
/**
|
|
612
|
+
/**
|
|
613
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
614
|
+
*/
|
|
377
615
|
zone?: ScwZone;
|
|
378
|
-
/**
|
|
616
|
+
/**
|
|
617
|
+
* UUID of the Database Instance to update.
|
|
618
|
+
*/
|
|
379
619
|
clusterId: string;
|
|
380
620
|
/**
|
|
381
621
|
* Redis™ engine version of the Database Instance.
|
|
382
622
|
*
|
|
383
|
-
* One-of ('action'): at most one of 'version', 'nodeType', 'clusterSize'
|
|
384
|
-
* could be set.
|
|
623
|
+
* One-of ('action'): at most one of 'version', 'nodeType', 'clusterSize' could be set.
|
|
385
624
|
*/
|
|
386
625
|
version?: string;
|
|
387
626
|
/**
|
|
388
627
|
* Type of node to use for the Database Instance.
|
|
389
628
|
*
|
|
390
|
-
* One-of ('action'): at most one of 'version', 'nodeType', 'clusterSize'
|
|
391
|
-
* could be set.
|
|
629
|
+
* One-of ('action'): at most one of 'version', 'nodeType', 'clusterSize' could be set.
|
|
392
630
|
*/
|
|
393
631
|
nodeType?: string;
|
|
394
632
|
/**
|
|
395
633
|
* Number of nodes for the Database Instance.
|
|
396
634
|
*
|
|
397
|
-
* One-of ('action'): at most one of 'version', 'nodeType', 'clusterSize'
|
|
398
|
-
* could be set.
|
|
635
|
+
* One-of ('action'): at most one of 'version', 'nodeType', 'clusterSize' could be set.
|
|
399
636
|
*/
|
|
400
637
|
clusterSize?: number;
|
|
401
638
|
};
|
|
402
639
|
export type RenewClusterCertificateRequest = {
|
|
403
|
-
/**
|
|
640
|
+
/**
|
|
641
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
642
|
+
*/
|
|
404
643
|
zone?: ScwZone;
|
|
405
|
-
/**
|
|
644
|
+
/**
|
|
645
|
+
* UUID of the cluster.
|
|
646
|
+
*/
|
|
406
647
|
clusterId: string;
|
|
407
648
|
};
|
|
408
649
|
export type SetAclRulesRequest = {
|
|
409
|
-
/**
|
|
650
|
+
/**
|
|
651
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
652
|
+
*/
|
|
410
653
|
zone?: ScwZone;
|
|
411
|
-
/**
|
|
654
|
+
/**
|
|
655
|
+
* UUID of the Database Instance where the ACL rules have to be set.
|
|
656
|
+
*/
|
|
412
657
|
clusterId: string;
|
|
413
|
-
/**
|
|
658
|
+
/**
|
|
659
|
+
* ACLs rules to define for the cluster.
|
|
660
|
+
*/
|
|
414
661
|
aclRules: ACLRuleSpec[];
|
|
415
662
|
};
|
|
416
663
|
export interface SetAclRulesResponse {
|
|
417
|
-
/**
|
|
664
|
+
/**
|
|
665
|
+
* ACL Rules enabled for the Database Instance.
|
|
666
|
+
*/
|
|
418
667
|
aclRules: ACLRule[];
|
|
419
668
|
}
|
|
420
669
|
export type SetClusterSettingsRequest = {
|
|
421
|
-
/**
|
|
670
|
+
/**
|
|
671
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
672
|
+
*/
|
|
422
673
|
zone?: ScwZone;
|
|
423
|
-
/**
|
|
674
|
+
/**
|
|
675
|
+
* UUID of the Database Instance where the settings must be set.
|
|
676
|
+
*/
|
|
424
677
|
clusterId: string;
|
|
425
|
-
/**
|
|
678
|
+
/**
|
|
679
|
+
* Settings to define for the Database Instance.
|
|
680
|
+
*/
|
|
426
681
|
settings: ClusterSetting[];
|
|
427
682
|
};
|
|
428
683
|
export type SetEndpointsRequest = {
|
|
429
|
-
/**
|
|
684
|
+
/**
|
|
685
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
686
|
+
*/
|
|
430
687
|
zone?: ScwZone;
|
|
431
|
-
/**
|
|
688
|
+
/**
|
|
689
|
+
* UUID of the Database Instance where the endpoints have to be set.
|
|
690
|
+
*/
|
|
432
691
|
clusterId: string;
|
|
433
|
-
/**
|
|
692
|
+
/**
|
|
693
|
+
* Endpoints to define for the Database Instance.
|
|
694
|
+
*/
|
|
434
695
|
endpoints: EndpointSpec[];
|
|
435
696
|
};
|
|
436
697
|
export interface SetEndpointsResponse {
|
|
437
|
-
/**
|
|
698
|
+
/**
|
|
699
|
+
* Endpoints defined on the Database Instance.
|
|
700
|
+
*/
|
|
438
701
|
endpoints: Endpoint[];
|
|
439
702
|
}
|
|
440
703
|
export type UpdateClusterRequest = {
|
|
441
|
-
/**
|
|
704
|
+
/**
|
|
705
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
706
|
+
*/
|
|
442
707
|
zone?: ScwZone;
|
|
443
|
-
/**
|
|
708
|
+
/**
|
|
709
|
+
* UUID of the Database Instance to update.
|
|
710
|
+
*/
|
|
444
711
|
clusterId: string;
|
|
445
|
-
/**
|
|
712
|
+
/**
|
|
713
|
+
* Name of the Database Instance.
|
|
714
|
+
*/
|
|
446
715
|
name?: string;
|
|
447
|
-
/**
|
|
716
|
+
/**
|
|
717
|
+
* Database Instance tags.
|
|
718
|
+
*/
|
|
448
719
|
tags?: string[];
|
|
449
|
-
/**
|
|
720
|
+
/**
|
|
721
|
+
* Name of the Database Instance user.
|
|
722
|
+
*/
|
|
450
723
|
userName?: string;
|
|
451
|
-
/**
|
|
724
|
+
/**
|
|
725
|
+
* Password of the Database Instance user.
|
|
726
|
+
*/
|
|
452
727
|
password?: string;
|
|
453
728
|
};
|
|
454
729
|
export type UpdateEndpointRequest = {
|
|
455
|
-
/**
|
|
730
|
+
/**
|
|
731
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
732
|
+
*/
|
|
456
733
|
zone?: ScwZone;
|
|
457
|
-
/**
|
|
734
|
+
/**
|
|
735
|
+
* UUID of the endpoint you want to get.
|
|
736
|
+
*/
|
|
458
737
|
endpointId: string;
|
|
459
738
|
/**
|
|
460
739
|
* Private Network details.
|
|
461
740
|
*
|
|
462
|
-
* One-of ('endpointType'): at most one of 'privateNetwork', 'publicNetwork'
|
|
463
|
-
* could be set.
|
|
741
|
+
* One-of ('endpointType'): at most one of 'privateNetwork', 'publicNetwork' could be set.
|
|
464
742
|
*/
|
|
465
743
|
privateNetwork?: EndpointSpecPrivateNetworkSpec;
|
|
466
744
|
/**
|
|
467
745
|
* Public network details.
|
|
468
746
|
*
|
|
469
|
-
* One-of ('endpointType'): at most one of 'privateNetwork', 'publicNetwork'
|
|
470
|
-
* could be set.
|
|
747
|
+
* One-of ('endpointType'): at most one of 'privateNetwork', 'publicNetwork' could be set.
|
|
471
748
|
*/
|
|
472
749
|
publicNetwork?: EndpointSpecPublicNetworkSpec;
|
|
473
750
|
};
|