@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 = {
|
|
@@ -21,10 +22,7 @@ class API extends api.API {
|
|
|
21
22
|
"pl-waw-2"
|
|
22
23
|
];
|
|
23
24
|
/**
|
|
24
|
-
* Create a Redis™ Database Instance. Create a new Redis™ Database Instance
|
|
25
|
-
* (Redis™ cluster). You must set the `zone`, `project_id`, `version`,
|
|
26
|
-
* `node_type`, `user_name` and `password` parameters. Optionally you can
|
|
27
|
-
* define `acl_rules`, `endpoints`, `tls_enabled` and `cluster_settings`.
|
|
25
|
+
* Create a Redis™ Database Instance. Create a new Redis™ Database Instance (Redis™ cluster). You must set the `zone`, `project_id`, `version`, `node_type`, `user_name` and `password` parameters. Optionally you can define `acl_rules`, `endpoints`, `tls_enabled` and `cluster_settings`.
|
|
28
26
|
*
|
|
29
27
|
* @param request - The request {@link CreateClusterRequest}
|
|
30
28
|
* @returns A Promise of Cluster
|
|
@@ -41,9 +39,7 @@ class API extends api.API {
|
|
|
41
39
|
marshalling_gen.unmarshalCluster
|
|
42
40
|
);
|
|
43
41
|
/**
|
|
44
|
-
* Update a Redis™ Database Instance. Update the parameters of a Redis™
|
|
45
|
-
* Database Instance (Redis™ cluster), including `name`, `tags`, `user_name`
|
|
46
|
-
* and `password`.
|
|
42
|
+
* Update a Redis™ Database Instance. Update the parameters of a Redis™ Database Instance (Redis™ cluster), including `name`, `tags`, `user_name` and `password`.
|
|
47
43
|
*
|
|
48
44
|
* @param request - The request {@link UpdateClusterRequest}
|
|
49
45
|
* @returns A Promise of Cluster
|
|
@@ -60,11 +56,7 @@ class API extends api.API {
|
|
|
60
56
|
marshalling_gen.unmarshalCluster
|
|
61
57
|
);
|
|
62
58
|
/**
|
|
63
|
-
* Get a Redis™ Database Instance. Retrieve information about a Redis™
|
|
64
|
-
* Database Instance (Redis™ cluster). Specify the `cluster_id` and `region`
|
|
65
|
-
* in your request to get information such as `id`, `status`, `version`,
|
|
66
|
-
* `tls_enabled`, `cluster_settings`, `upgradable_versions` and `endpoints`
|
|
67
|
-
* about your cluster in the response.
|
|
59
|
+
* Get a Redis™ Database Instance. Retrieve information about a Redis™ Database Instance (Redis™ cluster). Specify the `cluster_id` and `region` in your request to get information such as `id`, `status`, `version`, `tls_enabled`, `cluster_settings`, `upgradable_versions` and `endpoints` about your cluster in the response.
|
|
68
60
|
*
|
|
69
61
|
* @param request - The request {@link GetClusterRequest}
|
|
70
62
|
* @returns A Promise of Cluster
|
|
@@ -112,25 +104,14 @@ class API extends api.API {
|
|
|
112
104
|
marshalling_gen.unmarshalListClustersResponse
|
|
113
105
|
);
|
|
114
106
|
/**
|
|
115
|
-
* List Redis™ Database Instances. List all Redis™ Database Instances (Redis™
|
|
116
|
-
* cluster) in the specified zone. By default, the Database Instances returned
|
|
117
|
-
* in the list are ordered by creation date in ascending order, though this
|
|
118
|
-
* can be modified via the order_by field. You can define additional
|
|
119
|
-
* parameters for your query, such as `tags`, `name`, `organization_id` and
|
|
120
|
-
* `version`.
|
|
107
|
+
* List Redis™ Database Instances. List all Redis™ Database Instances (Redis™ cluster) in the specified zone. By default, the Database Instances returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. You can define additional parameters for your query, such as `tags`, `name`, `organization_id` and `version`.
|
|
121
108
|
*
|
|
122
109
|
* @param request - The request {@link ListClustersRequest}
|
|
123
110
|
* @returns A Promise of ListClustersResponse
|
|
124
111
|
*/
|
|
125
112
|
listClusters = (request = {}) => resourcePaginator.enrichForPagination("clusters", this.pageOfListClusters, request);
|
|
126
113
|
/**
|
|
127
|
-
* Scale up a Redis™ Database Instance. Upgrade your Redis™ Database Instance,
|
|
128
|
-
* either by upgrading to a bigger node type (vertical scaling) or by adding
|
|
129
|
-
* more nodes to your Database Instance to increase your number of endpoints
|
|
130
|
-
* and distribute cache (horizontal scaling, available for clusters only).
|
|
131
|
-
* Note that scaling horizontally your Redis™ Database Instance will not renew
|
|
132
|
-
* its TLS certificate. In order to refresh the TLS certificate, you must use
|
|
133
|
-
* the Renew TLS certificate endpoint.
|
|
114
|
+
* Scale up a Redis™ Database Instance. Upgrade your Redis™ Database Instance, either by upgrading to a bigger node type (vertical scaling) or by adding more nodes to your Database Instance to increase your number of endpoints and distribute cache (horizontal scaling, available for clusters only). Note that scaling horizontally your Redis™ Database Instance will not renew its TLS certificate. In order to refresh the TLS certificate, you must use the Renew TLS certificate endpoint.
|
|
134
115
|
*
|
|
135
116
|
* @param request - The request {@link MigrateClusterRequest}
|
|
136
117
|
* @returns A Promise of Cluster
|
|
@@ -147,10 +128,7 @@ class API extends api.API {
|
|
|
147
128
|
marshalling_gen.unmarshalCluster
|
|
148
129
|
);
|
|
149
130
|
/**
|
|
150
|
-
* Delete a Redis™ Database Instance. Delete a Redis™ Database Instance
|
|
151
|
-
* (Redis™ cluster), specified by the `region` and `cluster_id` parameters.
|
|
152
|
-
* Deleting a Database Instance is permanent, and cannot be undone. Note that
|
|
153
|
-
* upon deletion all your data will be lost.
|
|
131
|
+
* Delete a Redis™ Database Instance. Delete a Redis™ Database Instance (Redis™ cluster), specified by the `region` and `cluster_id` parameters. Deleting a Database Instance is permanent, and cannot be undone. Note that upon deletion all your data will be lost.
|
|
154
132
|
*
|
|
155
133
|
* @param request - The request {@link DeleteClusterRequest}
|
|
156
134
|
* @returns A Promise of Cluster
|
|
@@ -163,9 +141,7 @@ class API extends api.API {
|
|
|
163
141
|
marshalling_gen.unmarshalCluster
|
|
164
142
|
);
|
|
165
143
|
/**
|
|
166
|
-
* Get metrics of a Redis™ Database Instance. Retrieve the metrics of a Redis™
|
|
167
|
-
* Database Instance (Redis™ cluster). You can define the period from which to
|
|
168
|
-
* retrieve metrics by specifying the `start_date` and `end_date`.
|
|
144
|
+
* Get metrics of a Redis™ Database Instance. Retrieve the metrics of a Redis™ Database Instance (Redis™ cluster). You can define the period from which to retrieve metrics by specifying the `start_date` and `end_date`.
|
|
169
145
|
*
|
|
170
146
|
* @param request - The request {@link GetClusterMetricsRequest}
|
|
171
147
|
* @returns A Promise of ClusterMetricsResponse
|
|
@@ -198,9 +174,7 @@ class API extends api.API {
|
|
|
198
174
|
marshalling_gen.unmarshalListNodeTypesResponse
|
|
199
175
|
);
|
|
200
176
|
/**
|
|
201
|
-
* List available node types. List all available node types. By default, the
|
|
202
|
-
* node types returned in the list are ordered by creation date in ascending
|
|
203
|
-
* order, though this can be modified via the `order_by` field.
|
|
177
|
+
* List available node types. List all available node types. By default, the node types returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field.
|
|
204
178
|
*
|
|
205
179
|
* @param request - The request {@link ListNodeTypesRequest}
|
|
206
180
|
* @returns A Promise of ListNodeTypesResponse
|
|
@@ -225,18 +199,14 @@ class API extends api.API {
|
|
|
225
199
|
marshalling_gen.unmarshalListClusterVersionsResponse
|
|
226
200
|
);
|
|
227
201
|
/**
|
|
228
|
-
* List available Redis™ versions. List the Redis™ database engine versions
|
|
229
|
-
* available. You can define additional parameters for your query, such as
|
|
230
|
-
* `include_disabled`, `include_beta`, `include_deprecated` and `version`.
|
|
202
|
+
* List available Redis™ versions. List the Redis™ database engine versions available. You can define additional parameters for your query, such as `include_disabled`, `include_beta`, `include_deprecated` and `version`.
|
|
231
203
|
*
|
|
232
204
|
* @param request - The request {@link ListClusterVersionsRequest}
|
|
233
205
|
* @returns A Promise of ListClusterVersionsResponse
|
|
234
206
|
*/
|
|
235
207
|
listClusterVersions = (request) => resourcePaginator.enrichForPagination("versions", this.pageOfListClusterVersions, request);
|
|
236
208
|
/**
|
|
237
|
-
* Get the TLS certificate of a cluster. Retrieve information about the TLS
|
|
238
|
-
* certificate of a Redis™ Database Instance (Redis™ cluster). Details like
|
|
239
|
-
* name and content are returned in the response.
|
|
209
|
+
* Get the TLS certificate of a cluster. Retrieve information about the TLS certificate of a Redis™ Database Instance (Redis™ cluster). Details like name and content are returned in the response.
|
|
240
210
|
*
|
|
241
211
|
* @param request - The request {@link GetClusterCertificateRequest}
|
|
242
212
|
* @returns A Promise of Blob
|
|
@@ -248,11 +218,7 @@ class API extends api.API {
|
|
|
248
218
|
responseType: "blob"
|
|
249
219
|
});
|
|
250
220
|
/**
|
|
251
|
-
* Renew the TLS certificate of a cluster. Renew a TLS certificate for a
|
|
252
|
-
* Redis™ Database Instance (Redis™ cluster). Renewing a certificate means
|
|
253
|
-
* that you will not be able to connect to your Database Instance using the
|
|
254
|
-
* previous certificate. You will also need to download and update the new
|
|
255
|
-
* certificate for all database clients.
|
|
221
|
+
* Renew the TLS certificate of a cluster. Renew a TLS certificate for a Redis™ Database Instance (Redis™ cluster). Renewing a certificate means that you will not be able to connect to your Database Instance using the previous certificate. You will also need to download and update the new certificate for all database clients.
|
|
256
222
|
*
|
|
257
223
|
* @param request - The request {@link RenewClusterCertificateRequest}
|
|
258
224
|
* @returns A Promise of Cluster
|
|
@@ -267,9 +233,7 @@ class API extends api.API {
|
|
|
267
233
|
marshalling_gen.unmarshalCluster
|
|
268
234
|
);
|
|
269
235
|
/**
|
|
270
|
-
* Add advanced settings. Add an advanced setting to a Redis™ Database
|
|
271
|
-
* Instance (Redis™ cluster). You must set the `name` and the `value` of each
|
|
272
|
-
* setting.
|
|
236
|
+
* Add advanced settings. Add an advanced setting to a Redis™ Database Instance (Redis™ cluster). You must set the `name` and the `value` of each setting.
|
|
273
237
|
*
|
|
274
238
|
* @param request - The request {@link AddClusterSettingsRequest}
|
|
275
239
|
* @returns A Promise of ClusterSettingsResponse
|
|
@@ -286,9 +250,7 @@ class API extends api.API {
|
|
|
286
250
|
marshalling_gen.unmarshalClusterSettingsResponse
|
|
287
251
|
);
|
|
288
252
|
/**
|
|
289
|
-
* Delete advanced setting. Delete an advanced setting in a Redis™ Database
|
|
290
|
-
* Instance (Redis™ cluster). You must specify the names of the settings you
|
|
291
|
-
* want to delete in the request body.
|
|
253
|
+
* Delete advanced setting. Delete an advanced setting in a Redis™ Database Instance (Redis™ cluster). You must specify the names of the settings you want to delete in the request body.
|
|
292
254
|
*
|
|
293
255
|
* @param request - The request {@link DeleteClusterSettingRequest}
|
|
294
256
|
* @returns A Promise of Cluster
|
|
@@ -301,9 +263,7 @@ class API extends api.API {
|
|
|
301
263
|
marshalling_gen.unmarshalCluster
|
|
302
264
|
);
|
|
303
265
|
/**
|
|
304
|
-
* Set advanced settings. Update an advanced setting for a Redis™ Database
|
|
305
|
-
* Instance (Redis™ cluster). Settings added upon database engine
|
|
306
|
-
* initalization can only be defined once, and cannot, therefore, be updated.
|
|
266
|
+
* Set advanced settings. Update an advanced setting for a Redis™ Database Instance (Redis™ cluster). Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated.
|
|
307
267
|
*
|
|
308
268
|
* @param request - The request {@link SetClusterSettingsRequest}
|
|
309
269
|
* @returns A Promise of ClusterSettingsResponse
|
|
@@ -320,8 +280,7 @@ class API extends api.API {
|
|
|
320
280
|
marshalling_gen.unmarshalClusterSettingsResponse
|
|
321
281
|
);
|
|
322
282
|
/**
|
|
323
|
-
* Set ACL rules for a cluster. Replace all the ACL rules of a Redis™ Database
|
|
324
|
-
* Instance (Redis™ cluster).
|
|
283
|
+
* Set ACL rules for a cluster. Replace all the ACL rules of a Redis™ Database Instance (Redis™ cluster).
|
|
325
284
|
*
|
|
326
285
|
* @param request - The request {@link SetAclRulesRequest}
|
|
327
286
|
* @returns A Promise of SetAclRulesResponse
|
|
@@ -338,8 +297,7 @@ class API extends api.API {
|
|
|
338
297
|
marshalling_gen.unmarshalSetAclRulesResponse
|
|
339
298
|
);
|
|
340
299
|
/**
|
|
341
|
-
* Add ACL rules for a cluster. Add an additional ACL rule to a Redis™
|
|
342
|
-
* Database Instance (Redis™ cluster).
|
|
300
|
+
* Add ACL rules for a cluster. Add an additional ACL rule to a Redis™ Database Instance (Redis™ cluster).
|
|
343
301
|
*
|
|
344
302
|
* @param request - The request {@link AddAclRulesRequest}
|
|
345
303
|
* @returns A Promise of AddAclRulesResponse
|
|
@@ -356,9 +314,7 @@ class API extends api.API {
|
|
|
356
314
|
marshalling_gen.unmarshalAddAclRulesResponse
|
|
357
315
|
);
|
|
358
316
|
/**
|
|
359
|
-
* Delete an ACL rule for a cluster. Delete an ACL rule of a Redis™ Database
|
|
360
|
-
* Instance (Redis™ cluster). You must specify the `acl_id` of the rule you
|
|
361
|
-
* want to delete in your request.
|
|
317
|
+
* Delete an ACL rule for a cluster. Delete an ACL rule of a Redis™ Database Instance (Redis™ cluster). You must specify the `acl_id` of the rule you want to delete in your request.
|
|
362
318
|
*
|
|
363
319
|
* @param request - The request {@link DeleteAclRuleRequest}
|
|
364
320
|
* @returns A Promise of Cluster
|
|
@@ -371,9 +327,7 @@ class API extends api.API {
|
|
|
371
327
|
marshalling_gen.unmarshalCluster
|
|
372
328
|
);
|
|
373
329
|
/**
|
|
374
|
-
* Get an ACL rule. Retrieve information about an ACL rule of a Redis™
|
|
375
|
-
* Database Instance (Redis™ cluster). You must specify the `acl_id` of the
|
|
376
|
-
* rule in your request.
|
|
330
|
+
* Get an ACL rule. Retrieve information about an ACL rule of a Redis™ Database Instance (Redis™ cluster). You must specify the `acl_id` of the rule in your request.
|
|
377
331
|
*
|
|
378
332
|
* @param request - The request {@link GetAclRuleRequest}
|
|
379
333
|
* @returns A Promise of ACLRule
|
|
@@ -386,9 +340,7 @@ class API extends api.API {
|
|
|
386
340
|
marshalling_gen.unmarshalACLRule
|
|
387
341
|
);
|
|
388
342
|
/**
|
|
389
|
-
* Set endpoints for a cluster. Update an endpoint for a Redis™ Database
|
|
390
|
-
* Instance (Redis™ cluster). You must specify the `cluster_id` and the
|
|
391
|
-
* `endpoints` parameters in your request.
|
|
343
|
+
* Set endpoints for a cluster. Update an endpoint for a Redis™ Database Instance (Redis™ cluster). You must specify the `cluster_id` and the `endpoints` parameters in your request.
|
|
392
344
|
*
|
|
393
345
|
* @param request - The request {@link SetEndpointsRequest}
|
|
394
346
|
* @returns A Promise of SetEndpointsResponse
|
|
@@ -405,9 +357,7 @@ class API extends api.API {
|
|
|
405
357
|
marshalling_gen.unmarshalSetEndpointsResponse
|
|
406
358
|
);
|
|
407
359
|
/**
|
|
408
|
-
* Add endpoints for a cluster. Add a new endpoint for a Redis™ Database
|
|
409
|
-
* Instance (Redis™ cluster). You can add `private_network` or
|
|
410
|
-
* `public_network` specifications to the body of the request.
|
|
360
|
+
* Add endpoints for a cluster. Add a new endpoint for a Redis™ Database Instance (Redis™ cluster). You can add `private_network` or `public_network` specifications to the body of the request.
|
|
411
361
|
*
|
|
412
362
|
* @param request - The request {@link AddEndpointsRequest}
|
|
413
363
|
* @returns A Promise of AddEndpointsResponse
|
|
@@ -424,10 +374,7 @@ class API extends api.API {
|
|
|
424
374
|
marshalling_gen.unmarshalAddEndpointsResponse
|
|
425
375
|
);
|
|
426
376
|
/**
|
|
427
|
-
* Delete an endpoint for a cluster. Delete the endpoint of a Redis™ Database
|
|
428
|
-
* Instance (Redis™ cluster). You must specify the `region` and `endpoint_id`
|
|
429
|
-
* parameters of the endpoint you want to delete. Note that might need to
|
|
430
|
-
* update any environment configurations that point to the deleted endpoint.
|
|
377
|
+
* Delete an endpoint for a cluster. Delete the endpoint of a Redis™ Database Instance (Redis™ cluster). You must specify the `region` and `endpoint_id` parameters of the endpoint you want to delete. Note that might need to update any environment configurations that point to the deleted endpoint.
|
|
431
378
|
*
|
|
432
379
|
* @param request - The request {@link DeleteEndpointRequest}
|
|
433
380
|
* @returns A Promise of Cluster
|
|
@@ -440,10 +387,7 @@ class API extends api.API {
|
|
|
440
387
|
marshalling_gen.unmarshalCluster
|
|
441
388
|
);
|
|
442
389
|
/**
|
|
443
|
-
* Get an endpoint. Retrieve information about a Redis™ Database Instance
|
|
444
|
-
* (Redis™ cluster) endpoint. Full details about the endpoint, like `ips`,
|
|
445
|
-
* `port`, `private_network` and `public_network` specifications are returned
|
|
446
|
-
* in the response.
|
|
390
|
+
* Get an endpoint. Retrieve information about a Redis™ Database Instance (Redis™ cluster) endpoint. Full details about the endpoint, like `ips`, `port`, `private_network` and `public_network` specifications are returned in the response.
|
|
447
391
|
*
|
|
448
392
|
* @param request - The request {@link GetEndpointRequest}
|
|
449
393
|
* @returns A Promise of Endpoint
|
|
@@ -456,10 +400,7 @@ class API extends api.API {
|
|
|
456
400
|
marshalling_gen.unmarshalEndpoint
|
|
457
401
|
);
|
|
458
402
|
/**
|
|
459
|
-
* Update an endpoint. Update information about a Redis™ Database Instance
|
|
460
|
-
* (Redis™ cluster) endpoint. Full details about the endpoint, like `ips`,
|
|
461
|
-
* `port`, `private_network` and `public_network` specifications are returned
|
|
462
|
-
* in the response.
|
|
403
|
+
* Update an endpoint. Update information about a Redis™ Database Instance (Redis™ cluster) endpoint. Full details about the endpoint, like `ips`, `port`, `private_network` and `public_network` specifications are returned in the response.
|
|
463
404
|
*
|
|
464
405
|
* @param request - The request {@link UpdateEndpointRequest}
|
|
465
406
|
* @returns A Promise of Endpoint
|
|
@@ -1,39 +1,30 @@
|
|
|
1
|
-
import { API as ParentAPI } from '
|
|
2
|
-
import type { Zone as ScwZone, WaitForOptions } from '
|
|
1
|
+
import { API as ParentAPI } from '@scaleway/sdk-client';
|
|
2
|
+
import type { Zone as ScwZone, WaitForOptions } from '@scaleway/sdk-client';
|
|
3
3
|
import type { ACLRule, AddAclRulesRequest, AddAclRulesResponse, AddClusterSettingsRequest, AddEndpointsRequest, AddEndpointsResponse, Cluster, ClusterMetricsResponse, ClusterSettingsResponse, CreateClusterRequest, DeleteAclRuleRequest, DeleteClusterRequest, DeleteClusterSettingRequest, DeleteEndpointRequest, Endpoint, GetAclRuleRequest, GetClusterCertificateRequest, GetClusterMetricsRequest, GetClusterRequest, GetEndpointRequest, ListClusterVersionsRequest, ListClusterVersionsResponse, ListClustersRequest, ListClustersResponse, ListNodeTypesRequest, ListNodeTypesResponse, MigrateClusterRequest, RenewClusterCertificateRequest, SetAclRulesRequest, SetAclRulesResponse, SetClusterSettingsRequest, SetEndpointsRequest, SetEndpointsResponse, UpdateClusterRequest, UpdateEndpointRequest } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* Managed Database for Redis™ API.
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
|
|
7
|
+
This API allows you to manage your Managed Databases for Redis™.
|
|
8
8
|
*/
|
|
9
9
|
export declare class API extends ParentAPI {
|
|
10
10
|
/** Lists the available zones of the API. */
|
|
11
11
|
static readonly LOCALITIES: ScwZone[];
|
|
12
12
|
/**
|
|
13
|
-
* Create a Redis™ Database Instance. Create a new Redis™ Database Instance
|
|
14
|
-
* (Redis™ cluster). You must set the `zone`, `project_id`, `version`,
|
|
15
|
-
* `node_type`, `user_name` and `password` parameters. Optionally you can
|
|
16
|
-
* define `acl_rules`, `endpoints`, `tls_enabled` and `cluster_settings`.
|
|
13
|
+
* Create a Redis™ Database Instance. Create a new Redis™ Database Instance (Redis™ cluster). You must set the `zone`, `project_id`, `version`, `node_type`, `user_name` and `password` parameters. Optionally you can define `acl_rules`, `endpoints`, `tls_enabled` and `cluster_settings`.
|
|
17
14
|
*
|
|
18
15
|
* @param request - The request {@link CreateClusterRequest}
|
|
19
16
|
* @returns A Promise of Cluster
|
|
20
17
|
*/
|
|
21
18
|
createCluster: (request: Readonly<CreateClusterRequest>) => Promise<Cluster>;
|
|
22
19
|
/**
|
|
23
|
-
* Update a Redis™ Database Instance. Update the parameters of a Redis™
|
|
24
|
-
* Database Instance (Redis™ cluster), including `name`, `tags`, `user_name`
|
|
25
|
-
* and `password`.
|
|
20
|
+
* Update a Redis™ Database Instance. Update the parameters of a Redis™ Database Instance (Redis™ cluster), including `name`, `tags`, `user_name` and `password`.
|
|
26
21
|
*
|
|
27
22
|
* @param request - The request {@link UpdateClusterRequest}
|
|
28
23
|
* @returns A Promise of Cluster
|
|
29
24
|
*/
|
|
30
25
|
updateCluster: (request: Readonly<UpdateClusterRequest>) => Promise<Cluster>;
|
|
31
26
|
/**
|
|
32
|
-
* Get a Redis™ Database Instance. Retrieve information about a Redis™
|
|
33
|
-
* Database Instance (Redis™ cluster). Specify the `cluster_id` and `region`
|
|
34
|
-
* in your request to get information such as `id`, `status`, `version`,
|
|
35
|
-
* `tls_enabled`, `cluster_settings`, `upgradable_versions` and `endpoints`
|
|
36
|
-
* about your cluster in the response.
|
|
27
|
+
* Get a Redis™ Database Instance. Retrieve information about a Redis™ Database Instance (Redis™ cluster). Specify the `cluster_id` and `region` in your request to get information such as `id`, `status`, `version`, `tls_enabled`, `cluster_settings`, `upgradable_versions` and `endpoints` about your cluster in the response.
|
|
37
28
|
*
|
|
38
29
|
* @param request - The request {@link GetClusterRequest}
|
|
39
30
|
* @returns A Promise of Cluster
|
|
@@ -49,12 +40,7 @@ export declare class API extends ParentAPI {
|
|
|
49
40
|
waitForCluster: (request: Readonly<GetClusterRequest>, options?: Readonly<WaitForOptions<Cluster>>) => Promise<Cluster>;
|
|
50
41
|
protected pageOfListClusters: (request?: Readonly<ListClustersRequest>) => Promise<ListClustersResponse>;
|
|
51
42
|
/**
|
|
52
|
-
* List Redis™ Database Instances. List all Redis™ Database Instances (Redis™
|
|
53
|
-
* cluster) in the specified zone. By default, the Database Instances returned
|
|
54
|
-
* in the list are ordered by creation date in ascending order, though this
|
|
55
|
-
* can be modified via the order_by field. You can define additional
|
|
56
|
-
* parameters for your query, such as `tags`, `name`, `organization_id` and
|
|
57
|
-
* `version`.
|
|
43
|
+
* List Redis™ Database Instances. List all Redis™ Database Instances (Redis™ cluster) in the specified zone. By default, the Database Instances returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. You can define additional parameters for your query, such as `tags`, `name`, `organization_id` and `version`.
|
|
58
44
|
*
|
|
59
45
|
* @param request - The request {@link ListClustersRequest}
|
|
60
46
|
* @returns A Promise of ListClustersResponse
|
|
@@ -64,32 +50,21 @@ export declare class API extends ParentAPI {
|
|
|
64
50
|
[Symbol.asyncIterator]: () => AsyncGenerator<Cluster[], void, void>;
|
|
65
51
|
};
|
|
66
52
|
/**
|
|
67
|
-
* Scale up a Redis™ Database Instance. Upgrade your Redis™ Database Instance,
|
|
68
|
-
* either by upgrading to a bigger node type (vertical scaling) or by adding
|
|
69
|
-
* more nodes to your Database Instance to increase your number of endpoints
|
|
70
|
-
* and distribute cache (horizontal scaling, available for clusters only).
|
|
71
|
-
* Note that scaling horizontally your Redis™ Database Instance will not renew
|
|
72
|
-
* its TLS certificate. In order to refresh the TLS certificate, you must use
|
|
73
|
-
* the Renew TLS certificate endpoint.
|
|
53
|
+
* Scale up a Redis™ Database Instance. Upgrade your Redis™ Database Instance, either by upgrading to a bigger node type (vertical scaling) or by adding more nodes to your Database Instance to increase your number of endpoints and distribute cache (horizontal scaling, available for clusters only). Note that scaling horizontally your Redis™ Database Instance will not renew its TLS certificate. In order to refresh the TLS certificate, you must use the Renew TLS certificate endpoint.
|
|
74
54
|
*
|
|
75
55
|
* @param request - The request {@link MigrateClusterRequest}
|
|
76
56
|
* @returns A Promise of Cluster
|
|
77
57
|
*/
|
|
78
58
|
migrateCluster: (request: Readonly<MigrateClusterRequest>) => Promise<Cluster>;
|
|
79
59
|
/**
|
|
80
|
-
* Delete a Redis™ Database Instance. Delete a Redis™ Database Instance
|
|
81
|
-
* (Redis™ cluster), specified by the `region` and `cluster_id` parameters.
|
|
82
|
-
* Deleting a Database Instance is permanent, and cannot be undone. Note that
|
|
83
|
-
* upon deletion all your data will be lost.
|
|
60
|
+
* Delete a Redis™ Database Instance. Delete a Redis™ Database Instance (Redis™ cluster), specified by the `region` and `cluster_id` parameters. Deleting a Database Instance is permanent, and cannot be undone. Note that upon deletion all your data will be lost.
|
|
84
61
|
*
|
|
85
62
|
* @param request - The request {@link DeleteClusterRequest}
|
|
86
63
|
* @returns A Promise of Cluster
|
|
87
64
|
*/
|
|
88
65
|
deleteCluster: (request: Readonly<DeleteClusterRequest>) => Promise<Cluster>;
|
|
89
66
|
/**
|
|
90
|
-
* Get metrics of a Redis™ Database Instance. Retrieve the metrics of a Redis™
|
|
91
|
-
* Database Instance (Redis™ cluster). You can define the period from which to
|
|
92
|
-
* retrieve metrics by specifying the `start_date` and `end_date`.
|
|
67
|
+
* Get metrics of a Redis™ Database Instance. Retrieve the metrics of a Redis™ Database Instance (Redis™ cluster). You can define the period from which to retrieve metrics by specifying the `start_date` and `end_date`.
|
|
93
68
|
*
|
|
94
69
|
* @param request - The request {@link GetClusterMetricsRequest}
|
|
95
70
|
* @returns A Promise of ClusterMetricsResponse
|
|
@@ -97,9 +72,7 @@ export declare class API extends ParentAPI {
|
|
|
97
72
|
getClusterMetrics: (request: Readonly<GetClusterMetricsRequest>) => Promise<ClusterMetricsResponse>;
|
|
98
73
|
protected pageOfListNodeTypes: (request: Readonly<ListNodeTypesRequest>) => Promise<ListNodeTypesResponse>;
|
|
99
74
|
/**
|
|
100
|
-
* List available node types. List all available node types. By default, the
|
|
101
|
-
* node types returned in the list are ordered by creation date in ascending
|
|
102
|
-
* order, though this can be modified via the `order_by` field.
|
|
75
|
+
* List available node types. List all available node types. By default, the node types returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field.
|
|
103
76
|
*
|
|
104
77
|
* @param request - The request {@link ListNodeTypesRequest}
|
|
105
78
|
* @returns A Promise of ListNodeTypesResponse
|
|
@@ -110,9 +83,7 @@ export declare class API extends ParentAPI {
|
|
|
110
83
|
};
|
|
111
84
|
protected pageOfListClusterVersions: (request: Readonly<ListClusterVersionsRequest>) => Promise<ListClusterVersionsResponse>;
|
|
112
85
|
/**
|
|
113
|
-
* List available Redis™ versions. List the Redis™ database engine versions
|
|
114
|
-
* available. You can define additional parameters for your query, such as
|
|
115
|
-
* `include_disabled`, `include_beta`, `include_deprecated` and `version`.
|
|
86
|
+
* List available Redis™ versions. List the Redis™ database engine versions available. You can define additional parameters for your query, such as `include_disabled`, `include_beta`, `include_deprecated` and `version`.
|
|
116
87
|
*
|
|
117
88
|
* @param request - The request {@link ListClusterVersionsRequest}
|
|
118
89
|
* @returns A Promise of ListClusterVersionsResponse
|
|
@@ -122,129 +93,98 @@ export declare class API extends ParentAPI {
|
|
|
122
93
|
[Symbol.asyncIterator]: () => AsyncGenerator<import("./types.gen").ClusterVersion[], void, void>;
|
|
123
94
|
};
|
|
124
95
|
/**
|
|
125
|
-
* Get the TLS certificate of a cluster. Retrieve information about the TLS
|
|
126
|
-
* certificate of a Redis™ Database Instance (Redis™ cluster). Details like
|
|
127
|
-
* name and content are returned in the response.
|
|
96
|
+
* Get the TLS certificate of a cluster. Retrieve information about the TLS certificate of a Redis™ Database Instance (Redis™ cluster). Details like name and content are returned in the response.
|
|
128
97
|
*
|
|
129
98
|
* @param request - The request {@link GetClusterCertificateRequest}
|
|
130
99
|
* @returns A Promise of Blob
|
|
131
100
|
*/
|
|
132
101
|
getClusterCertificate: (request: Readonly<GetClusterCertificateRequest>) => Promise<Blob>;
|
|
133
102
|
/**
|
|
134
|
-
* Renew the TLS certificate of a cluster. Renew a TLS certificate for a
|
|
135
|
-
* Redis™ Database Instance (Redis™ cluster). Renewing a certificate means
|
|
136
|
-
* that you will not be able to connect to your Database Instance using the
|
|
137
|
-
* previous certificate. You will also need to download and update the new
|
|
138
|
-
* certificate for all database clients.
|
|
103
|
+
* Renew the TLS certificate of a cluster. Renew a TLS certificate for a Redis™ Database Instance (Redis™ cluster). Renewing a certificate means that you will not be able to connect to your Database Instance using the previous certificate. You will also need to download and update the new certificate for all database clients.
|
|
139
104
|
*
|
|
140
105
|
* @param request - The request {@link RenewClusterCertificateRequest}
|
|
141
106
|
* @returns A Promise of Cluster
|
|
142
107
|
*/
|
|
143
108
|
renewClusterCertificate: (request: Readonly<RenewClusterCertificateRequest>) => Promise<Cluster>;
|
|
144
109
|
/**
|
|
145
|
-
* Add advanced settings. Add an advanced setting to a Redis™ Database
|
|
146
|
-
* Instance (Redis™ cluster). You must set the `name` and the `value` of each
|
|
147
|
-
* setting.
|
|
110
|
+
* Add advanced settings. Add an advanced setting to a Redis™ Database Instance (Redis™ cluster). You must set the `name` and the `value` of each setting.
|
|
148
111
|
*
|
|
149
112
|
* @param request - The request {@link AddClusterSettingsRequest}
|
|
150
113
|
* @returns A Promise of ClusterSettingsResponse
|
|
151
114
|
*/
|
|
152
115
|
addClusterSettings: (request: Readonly<AddClusterSettingsRequest>) => Promise<ClusterSettingsResponse>;
|
|
153
116
|
/**
|
|
154
|
-
* Delete advanced setting. Delete an advanced setting in a Redis™ Database
|
|
155
|
-
* Instance (Redis™ cluster). You must specify the names of the settings you
|
|
156
|
-
* want to delete in the request body.
|
|
117
|
+
* Delete advanced setting. Delete an advanced setting in a Redis™ Database Instance (Redis™ cluster). You must specify the names of the settings you want to delete in the request body.
|
|
157
118
|
*
|
|
158
119
|
* @param request - The request {@link DeleteClusterSettingRequest}
|
|
159
120
|
* @returns A Promise of Cluster
|
|
160
121
|
*/
|
|
161
122
|
deleteClusterSetting: (request: Readonly<DeleteClusterSettingRequest>) => Promise<Cluster>;
|
|
162
123
|
/**
|
|
163
|
-
* Set advanced settings. Update an advanced setting for a Redis™ Database
|
|
164
|
-
* Instance (Redis™ cluster). Settings added upon database engine
|
|
165
|
-
* initalization can only be defined once, and cannot, therefore, be updated.
|
|
124
|
+
* Set advanced settings. Update an advanced setting for a Redis™ Database Instance (Redis™ cluster). Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated.
|
|
166
125
|
*
|
|
167
126
|
* @param request - The request {@link SetClusterSettingsRequest}
|
|
168
127
|
* @returns A Promise of ClusterSettingsResponse
|
|
169
128
|
*/
|
|
170
129
|
setClusterSettings: (request: Readonly<SetClusterSettingsRequest>) => Promise<ClusterSettingsResponse>;
|
|
171
130
|
/**
|
|
172
|
-
* Set ACL rules for a cluster. Replace all the ACL rules of a Redis™ Database
|
|
173
|
-
* Instance (Redis™ cluster).
|
|
131
|
+
* Set ACL rules for a cluster. Replace all the ACL rules of a Redis™ Database Instance (Redis™ cluster).
|
|
174
132
|
*
|
|
175
133
|
* @param request - The request {@link SetAclRulesRequest}
|
|
176
134
|
* @returns A Promise of SetAclRulesResponse
|
|
177
135
|
*/
|
|
178
136
|
setAclRules: (request: Readonly<SetAclRulesRequest>) => Promise<SetAclRulesResponse>;
|
|
179
137
|
/**
|
|
180
|
-
* Add ACL rules for a cluster. Add an additional ACL rule to a Redis™
|
|
181
|
-
* Database Instance (Redis™ cluster).
|
|
138
|
+
* Add ACL rules for a cluster. Add an additional ACL rule to a Redis™ Database Instance (Redis™ cluster).
|
|
182
139
|
*
|
|
183
140
|
* @param request - The request {@link AddAclRulesRequest}
|
|
184
141
|
* @returns A Promise of AddAclRulesResponse
|
|
185
142
|
*/
|
|
186
143
|
addAclRules: (request: Readonly<AddAclRulesRequest>) => Promise<AddAclRulesResponse>;
|
|
187
144
|
/**
|
|
188
|
-
* Delete an ACL rule for a cluster. Delete an ACL rule of a Redis™ Database
|
|
189
|
-
* Instance (Redis™ cluster). You must specify the `acl_id` of the rule you
|
|
190
|
-
* want to delete in your request.
|
|
145
|
+
* Delete an ACL rule for a cluster. Delete an ACL rule of a Redis™ Database Instance (Redis™ cluster). You must specify the `acl_id` of the rule you want to delete in your request.
|
|
191
146
|
*
|
|
192
147
|
* @param request - The request {@link DeleteAclRuleRequest}
|
|
193
148
|
* @returns A Promise of Cluster
|
|
194
149
|
*/
|
|
195
150
|
deleteAclRule: (request: Readonly<DeleteAclRuleRequest>) => Promise<Cluster>;
|
|
196
151
|
/**
|
|
197
|
-
* Get an ACL rule. Retrieve information about an ACL rule of a Redis™
|
|
198
|
-
* Database Instance (Redis™ cluster). You must specify the `acl_id` of the
|
|
199
|
-
* rule in your request.
|
|
152
|
+
* Get an ACL rule. Retrieve information about an ACL rule of a Redis™ Database Instance (Redis™ cluster). You must specify the `acl_id` of the rule in your request.
|
|
200
153
|
*
|
|
201
154
|
* @param request - The request {@link GetAclRuleRequest}
|
|
202
155
|
* @returns A Promise of ACLRule
|
|
203
156
|
*/
|
|
204
157
|
getAclRule: (request: Readonly<GetAclRuleRequest>) => Promise<ACLRule>;
|
|
205
158
|
/**
|
|
206
|
-
* Set endpoints for a cluster. Update an endpoint for a Redis™ Database
|
|
207
|
-
* Instance (Redis™ cluster). You must specify the `cluster_id` and the
|
|
208
|
-
* `endpoints` parameters in your request.
|
|
159
|
+
* Set endpoints for a cluster. Update an endpoint for a Redis™ Database Instance (Redis™ cluster). You must specify the `cluster_id` and the `endpoints` parameters in your request.
|
|
209
160
|
*
|
|
210
161
|
* @param request - The request {@link SetEndpointsRequest}
|
|
211
162
|
* @returns A Promise of SetEndpointsResponse
|
|
212
163
|
*/
|
|
213
164
|
setEndpoints: (request: Readonly<SetEndpointsRequest>) => Promise<SetEndpointsResponse>;
|
|
214
165
|
/**
|
|
215
|
-
* Add endpoints for a cluster. Add a new endpoint for a Redis™ Database
|
|
216
|
-
* Instance (Redis™ cluster). You can add `private_network` or
|
|
217
|
-
* `public_network` specifications to the body of the request.
|
|
166
|
+
* Add endpoints for a cluster. Add a new endpoint for a Redis™ Database Instance (Redis™ cluster). You can add `private_network` or `public_network` specifications to the body of the request.
|
|
218
167
|
*
|
|
219
168
|
* @param request - The request {@link AddEndpointsRequest}
|
|
220
169
|
* @returns A Promise of AddEndpointsResponse
|
|
221
170
|
*/
|
|
222
171
|
addEndpoints: (request: Readonly<AddEndpointsRequest>) => Promise<AddEndpointsResponse>;
|
|
223
172
|
/**
|
|
224
|
-
* Delete an endpoint for a cluster. Delete the endpoint of a Redis™ Database
|
|
225
|
-
* Instance (Redis™ cluster). You must specify the `region` and `endpoint_id`
|
|
226
|
-
* parameters of the endpoint you want to delete. Note that might need to
|
|
227
|
-
* update any environment configurations that point to the deleted endpoint.
|
|
173
|
+
* Delete an endpoint for a cluster. Delete the endpoint of a Redis™ Database Instance (Redis™ cluster). You must specify the `region` and `endpoint_id` parameters of the endpoint you want to delete. Note that might need to update any environment configurations that point to the deleted endpoint.
|
|
228
174
|
*
|
|
229
175
|
* @param request - The request {@link DeleteEndpointRequest}
|
|
230
176
|
* @returns A Promise of Cluster
|
|
231
177
|
*/
|
|
232
178
|
deleteEndpoint: (request: Readonly<DeleteEndpointRequest>) => Promise<Cluster>;
|
|
233
179
|
/**
|
|
234
|
-
* Get an endpoint. Retrieve information about a Redis™ Database Instance
|
|
235
|
-
* (Redis™ cluster) endpoint. Full details about the endpoint, like `ips`,
|
|
236
|
-
* `port`, `private_network` and `public_network` specifications are returned
|
|
237
|
-
* in the response.
|
|
180
|
+
* Get an endpoint. Retrieve information about a Redis™ Database Instance (Redis™ cluster) endpoint. Full details about the endpoint, like `ips`, `port`, `private_network` and `public_network` specifications are returned in the response.
|
|
238
181
|
*
|
|
239
182
|
* @param request - The request {@link GetEndpointRequest}
|
|
240
183
|
* @returns A Promise of Endpoint
|
|
241
184
|
*/
|
|
242
185
|
getEndpoint: (request: Readonly<GetEndpointRequest>) => Promise<Endpoint>;
|
|
243
186
|
/**
|
|
244
|
-
* Update an endpoint. Update information about a Redis™ Database Instance
|
|
245
|
-
* (Redis™ cluster) endpoint. Full details about the endpoint, like `ips`,
|
|
246
|
-
* `port`, `private_network` and `public_network` specifications are returned
|
|
247
|
-
* in the response.
|
|
187
|
+
* Update an endpoint. Update information about a Redis™ Database Instance (Redis™ cluster) endpoint. Full details about the endpoint, like `ips`, `port`, `private_network` and `public_network` specifications are returned in the response.
|
|
248
188
|
*
|
|
249
189
|
* @param request - The request {@link UpdateEndpointRequest}
|
|
250
190
|
* @returns A Promise of Endpoint
|