@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,8 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "../../../
|
|
5
|
-
import
|
|
1
|
+
import "../../../client/dist/internal/logger/index.js";
|
|
2
|
+
import { waitForResource } from "../../../client/dist/internal/async/interval-retrier.js";
|
|
3
|
+
import { API as API$1 } from "../../../client/dist/scw/api.js";
|
|
4
|
+
import { validatePathParam, urlParams } from "../../../client/dist/helpers/marshalling.js";
|
|
5
|
+
import "../../../client/dist/vendor/base64/index.js";
|
|
6
|
+
import { enrichForPagination } from "../../../client/dist/scw/fetch/resource-paginator.js";
|
|
6
7
|
import { DATABASE_BACKUP_TRANSIENT_STATUSES, INSTANCE_TRANSIENT_STATUSES, READ_REPLICA_TRANSIENT_STATUSES, INSTANCE_LOG_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
7
8
|
import { unmarshalListDatabaseEnginesResponse, unmarshalListNodeTypesResponse, unmarshalListDatabaseBackupsResponse, marshalCreateDatabaseBackupRequest, unmarshalDatabaseBackup, marshalUpdateDatabaseBackupRequest, marshalRestoreDatabaseBackupRequest, marshalUpgradeInstanceRequest, unmarshalInstance, unmarshalListInstancesResponse, marshalCreateInstanceRequest, marshalUpdateInstanceRequest, marshalCloneInstanceRequest, unmarshalInstanceMetrics, marshalCreateReadReplicaRequest, unmarshalReadReplica, marshalCreateReadReplicaEndpointRequest, marshalPrepareInstanceLogsRequest, unmarshalPrepareInstanceLogsResponse, unmarshalListInstanceLogsResponse, unmarshalInstanceLog, marshalPurgeInstanceLogsRequest, unmarshalListInstanceLogsDetailsResponse, marshalAddInstanceSettingsRequest, unmarshalAddInstanceSettingsResponse, marshalDeleteInstanceSettingsRequest, unmarshalDeleteInstanceSettingsResponse, marshalSetInstanceSettingsRequest, unmarshalSetInstanceSettingsResponse, unmarshalListInstanceACLRulesResponse, marshalAddInstanceACLRulesRequest, unmarshalAddInstanceACLRulesResponse, marshalSetInstanceACLRulesRequest, unmarshalSetInstanceACLRulesResponse, marshalDeleteInstanceACLRulesRequest, unmarshalDeleteInstanceACLRulesResponse, unmarshalListUsersResponse, marshalCreateUserRequest, unmarshalUser, marshalUpdateUserRequest, unmarshalListDatabasesResponse, marshalCreateDatabaseRequest, unmarshalDatabase, unmarshalListPrivilegesResponse, marshalSetPrivilegeRequest, unmarshalPrivilege, unmarshalListSnapshotsResponse, unmarshalSnapshot, marshalCreateSnapshotRequest, marshalUpdateSnapshotRequest, marshalCreateInstanceFromSnapshotRequest, marshalCreateEndpointRequest, unmarshalEndpoint, marshalMigrateEndpointRequest, unmarshalMaintenance } from "./marshalling.gen.js";
|
|
8
9
|
const jsonContentHeaders = {
|
|
@@ -32,8 +33,7 @@ class API extends API$1 {
|
|
|
32
33
|
unmarshalListDatabaseEnginesResponse
|
|
33
34
|
);
|
|
34
35
|
/**
|
|
35
|
-
* List available database engines. List the PostgreSQL and MySQL database
|
|
36
|
-
* engines available at Scaleway.
|
|
36
|
+
* List available database engines. List the PostgreSQL and MySQL database engines available at Scaleway.
|
|
37
37
|
*
|
|
38
38
|
* @param request - The request {@link ListDatabaseEnginesRequest}
|
|
39
39
|
* @returns A Promise of ListDatabaseEnginesResponse
|
|
@@ -55,9 +55,7 @@ class API extends API$1 {
|
|
|
55
55
|
unmarshalListNodeTypesResponse
|
|
56
56
|
);
|
|
57
57
|
/**
|
|
58
|
-
* List available node types. List all available node types. By default, the
|
|
59
|
-
* node types returned in the list are ordered by creation date in ascending
|
|
60
|
-
* order, though this can be modified via the `order_by` field.
|
|
58
|
+
* 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.
|
|
61
59
|
*
|
|
62
60
|
* @param request - The request {@link ListNodeTypesRequest}
|
|
63
61
|
* @returns A Promise of ListNodeTypesResponse
|
|
@@ -83,10 +81,7 @@ class API extends API$1 {
|
|
|
83
81
|
unmarshalListDatabaseBackupsResponse
|
|
84
82
|
);
|
|
85
83
|
/**
|
|
86
|
-
* List database backups. List all backups in a specified region, for a given
|
|
87
|
-
* Scaleway Organization or Scaleway Project. By default, the backups listed
|
|
88
|
-
* are ordered by creation date in ascending order. This can be modified via
|
|
89
|
-
* the `order_by` field.
|
|
84
|
+
* List database backups. List all backups in a specified region, for a given Scaleway Organization or Scaleway Project. By default, the backups listed are ordered by creation date in ascending order. This can be modified via the `order_by` field.
|
|
90
85
|
*
|
|
91
86
|
* @param request - The request {@link ListDatabaseBackupsRequest}
|
|
92
87
|
* @returns A Promise of ListDatabaseBackupsResponse
|
|
@@ -97,8 +92,7 @@ class API extends API$1 {
|
|
|
97
92
|
request
|
|
98
93
|
);
|
|
99
94
|
/**
|
|
100
|
-
* Create a database backup. Create a new backup. You must set the
|
|
101
|
-
* `instance_id`, `database_name`, `name` and `expires_at` parameters.
|
|
95
|
+
* Create a database backup. Create a new backup. You must set the `instance_id`, `database_name`, `name` and `expires_at` parameters.
|
|
102
96
|
*
|
|
103
97
|
* @param request - The request {@link CreateDatabaseBackupRequest}
|
|
104
98
|
* @returns A Promise of DatabaseBackup
|
|
@@ -115,9 +109,7 @@ class API extends API$1 {
|
|
|
115
109
|
unmarshalDatabaseBackup
|
|
116
110
|
);
|
|
117
111
|
/**
|
|
118
|
-
* Get a database backup. Retrieve information about a given backup, specified
|
|
119
|
-
* by its database backup ID and region. Full details about the backup, like
|
|
120
|
-
* size, URL and expiration date, are returned in the response.
|
|
112
|
+
* Get a database backup. Retrieve information about a given backup, specified by its database backup ID and region. Full details about the backup, like size, URL and expiration date, are returned in the response.
|
|
121
113
|
*
|
|
122
114
|
* @param request - The request {@link GetDatabaseBackupRequest}
|
|
123
115
|
* @returns A Promise of DatabaseBackup
|
|
@@ -145,8 +137,7 @@ class API extends API$1 {
|
|
|
145
137
|
options
|
|
146
138
|
);
|
|
147
139
|
/**
|
|
148
|
-
* Update a database backup. Update the parameters of a backup, including name
|
|
149
|
-
* and expiration date.
|
|
140
|
+
* Update a database backup. Update the parameters of a backup, including name and expiration date.
|
|
150
141
|
*
|
|
151
142
|
* @param request - The request {@link UpdateDatabaseBackupRequest}
|
|
152
143
|
* @returns A Promise of DatabaseBackup
|
|
@@ -163,8 +154,7 @@ class API extends API$1 {
|
|
|
163
154
|
unmarshalDatabaseBackup
|
|
164
155
|
);
|
|
165
156
|
/**
|
|
166
|
-
* Delete a database backup. Delete a backup, specified by its database backup
|
|
167
|
-
* ID and region. Deleting a backup is permanent, and cannot be undone.
|
|
157
|
+
* Delete a database backup. Delete a backup, specified by its database backup ID and region. Deleting a backup is permanent, and cannot be undone.
|
|
168
158
|
*
|
|
169
159
|
* @param request - The request {@link DeleteDatabaseBackupRequest}
|
|
170
160
|
* @returns A Promise of DatabaseBackup
|
|
@@ -177,10 +167,7 @@ class API extends API$1 {
|
|
|
177
167
|
unmarshalDatabaseBackup
|
|
178
168
|
);
|
|
179
169
|
/**
|
|
180
|
-
* Restore a database backup. Launch the process of restoring database backup.
|
|
181
|
-
* You must specify the `instance_id` of the Database Instance of destination,
|
|
182
|
-
* where the backup will be restored. Note that large database backups can
|
|
183
|
-
* take up to several hours to restore.
|
|
170
|
+
* Restore a database backup. Launch the process of restoring database backup. You must specify the `instance_id` of the Database Instance of destination, where the backup will be restored. Note that large database backups can take up to several hours to restore.
|
|
184
171
|
*
|
|
185
172
|
* @param request - The request {@link RestoreDatabaseBackupRequest}
|
|
186
173
|
* @returns A Promise of DatabaseBackup
|
|
@@ -197,9 +184,7 @@ class API extends API$1 {
|
|
|
197
184
|
unmarshalDatabaseBackup
|
|
198
185
|
);
|
|
199
186
|
/**
|
|
200
|
-
* Export a database backup. Export a backup, specified by the
|
|
201
|
-
* `database_backup_id` and the `region` parameters. The download URL is
|
|
202
|
-
* returned in the response.
|
|
187
|
+
* Export a database backup. Export a backup, specified by the `database_backup_id` and the `region` parameters. The download URL is returned in the response.
|
|
203
188
|
*
|
|
204
189
|
* @param request - The request {@link ExportDatabaseBackupRequest}
|
|
205
190
|
* @returns A Promise of DatabaseBackup
|
|
@@ -214,10 +199,7 @@ class API extends API$1 {
|
|
|
214
199
|
unmarshalDatabaseBackup
|
|
215
200
|
);
|
|
216
201
|
/**
|
|
217
|
-
* Upgrade a Database Instance. Upgrade your current Database Instance
|
|
218
|
-
* specifications like node type, high availability, volume, or the database
|
|
219
|
-
* engine version. Note that upon upgrade the `enable_ha` parameter can only
|
|
220
|
-
* be set to `true`.
|
|
202
|
+
* Upgrade a Database Instance. Upgrade your current Database Instance specifications like node type, high availability, volume, or the database engine version. Note that upon upgrade the `enable_ha` parameter can only be set to `true`.
|
|
221
203
|
*
|
|
222
204
|
* @param request - The request {@link UpgradeInstanceRequest}
|
|
223
205
|
* @returns A Promise of Instance
|
|
@@ -253,24 +235,14 @@ class API extends API$1 {
|
|
|
253
235
|
unmarshalListInstancesResponse
|
|
254
236
|
);
|
|
255
237
|
/**
|
|
256
|
-
* List Database Instances. List all Database Instances in the specified
|
|
257
|
-
* region, for a given Scaleway Organization or Scaleway Project. By default,
|
|
258
|
-
* the Database Instances returned in the list are ordered by creation date in
|
|
259
|
-
* ascending order, though this can be modified via the order_by field. You
|
|
260
|
-
* can define additional parameters for your query, such as `tags` and `name`.
|
|
261
|
-
* For the `name` parameter, the value you include will be checked against the
|
|
262
|
-
* whole name string to see if it includes the string you put in the
|
|
263
|
-
* parameter.
|
|
238
|
+
* List Database Instances. List all Database Instances in the specified region, for a given Scaleway Organization or Scaleway Project. 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` and `name`. For the `name` parameter, the value you include will be checked against the whole name string to see if it includes the string you put in the parameter.
|
|
264
239
|
*
|
|
265
240
|
* @param request - The request {@link ListInstancesRequest}
|
|
266
241
|
* @returns A Promise of ListInstancesResponse
|
|
267
242
|
*/
|
|
268
243
|
listInstances = (request = {}) => enrichForPagination("instances", this.pageOfListInstances, request);
|
|
269
244
|
/**
|
|
270
|
-
* Get a Database Instance. Retrieve information about a given Database
|
|
271
|
-
* Instance, specified by the `region` and `instance_id` parameters. Its full
|
|
272
|
-
* details, including name, status, IP address and port, are returned in the
|
|
273
|
-
* response object.
|
|
245
|
+
* Get a Database Instance. Retrieve information about a given Database Instance, specified by the `region` and `instance_id` parameters. Its full details, including name, status, IP address and port, are returned in the response object.
|
|
274
246
|
*
|
|
275
247
|
* @param request - The request {@link GetInstanceRequest}
|
|
276
248
|
* @returns A Promise of Instance
|
|
@@ -298,9 +270,7 @@ class API extends API$1 {
|
|
|
298
270
|
options
|
|
299
271
|
);
|
|
300
272
|
/**
|
|
301
|
-
* Create a Database Instance. Create a new Database Instance. You must set
|
|
302
|
-
* the `engine`, `user_name`, `password` and `node_type` parameters.
|
|
303
|
-
* Optionally, you can specify the volume type and size.
|
|
273
|
+
* Create a Database Instance. Create a new Database Instance. You must set the `engine`, `user_name`, `password` and `node_type` parameters. Optionally, you can specify the volume type and size.
|
|
304
274
|
*
|
|
305
275
|
* @param request - The request {@link CreateInstanceRequest}
|
|
306
276
|
* @returns A Promise of Instance
|
|
@@ -317,8 +287,7 @@ class API extends API$1 {
|
|
|
317
287
|
unmarshalInstance
|
|
318
288
|
);
|
|
319
289
|
/**
|
|
320
|
-
* Update a Database Instance. Update the parameters of a Database Instance,
|
|
321
|
-
* including name, tags and backup schedule details.
|
|
290
|
+
* Update a Database Instance. Update the parameters of a Database Instance, including name, tags and backup schedule details.
|
|
322
291
|
*
|
|
323
292
|
* @param request - The request {@link UpdateInstanceRequest}
|
|
324
293
|
* @returns A Promise of Instance
|
|
@@ -335,10 +304,7 @@ class API extends API$1 {
|
|
|
335
304
|
unmarshalInstance
|
|
336
305
|
);
|
|
337
306
|
/**
|
|
338
|
-
* Delete a Database Instance. Delete a given Database Instance, specified by
|
|
339
|
-
* the `region` and `instance_id` parameters. Deleting a Database Instance is
|
|
340
|
-
* permanent, and cannot be undone. Note that upon deletion all your data will
|
|
341
|
-
* be lost.
|
|
307
|
+
* Delete a Database Instance. Delete a given Database Instance, specified by the `region` and `instance_id` parameters. Deleting a Database Instance is permanent, and cannot be undone. Note that upon deletion all your data will be lost.
|
|
342
308
|
*
|
|
343
309
|
* @param request - The request {@link DeleteInstanceRequest}
|
|
344
310
|
* @returns A Promise of Instance
|
|
@@ -351,11 +317,7 @@ class API extends API$1 {
|
|
|
351
317
|
unmarshalInstance
|
|
352
318
|
);
|
|
353
319
|
/**
|
|
354
|
-
* Clone a Database Instance. Clone a given Database Instance, specified by
|
|
355
|
-
* the `region` and `instance_id` parameters. The clone feature allows you to
|
|
356
|
-
* create a new Database Instance from an existing one. The clone includes all
|
|
357
|
-
* existing databases, users and permissions. You can create a clone on a
|
|
358
|
-
* Database Instance bigger than your current one.
|
|
320
|
+
* Clone a Database Instance. Clone a given Database Instance, specified by the `region` and `instance_id` parameters. The clone feature allows you to create a new Database Instance from an existing one. The clone includes all existing databases, users and permissions. You can create a clone on a Database Instance bigger than your current one.
|
|
359
321
|
*
|
|
360
322
|
* @param request - The request {@link CloneInstanceRequest}
|
|
361
323
|
* @returns A Promise of Instance
|
|
@@ -372,9 +334,7 @@ class API extends API$1 {
|
|
|
372
334
|
unmarshalInstance
|
|
373
335
|
);
|
|
374
336
|
/**
|
|
375
|
-
* Restart Database Instance. Restart a given Database Instance, specified by
|
|
376
|
-
* the `region` and `instance_id` parameters. The status of the Database
|
|
377
|
-
* Instance returned in the response.
|
|
337
|
+
* Restart Database Instance. Restart a given Database Instance, specified by the `region` and `instance_id` parameters. The status of the Database Instance returned in the response.
|
|
378
338
|
*
|
|
379
339
|
* @param request - The request {@link RestartInstanceRequest}
|
|
380
340
|
* @returns A Promise of Instance
|
|
@@ -389,9 +349,7 @@ class API extends API$1 {
|
|
|
389
349
|
unmarshalInstance
|
|
390
350
|
);
|
|
391
351
|
/**
|
|
392
|
-
* Get the TLS certificate of a Database Instance. Retrieve information about
|
|
393
|
-
* the TLS certificate of a given Database Instance. Details like name and
|
|
394
|
-
* content are returned in the response.
|
|
352
|
+
* Get the TLS certificate of a Database Instance. Retrieve information about the TLS certificate of a given Database Instance. Details like name and content are returned in the response.
|
|
395
353
|
*
|
|
396
354
|
* @param request - The request {@link GetInstanceCertificateRequest}
|
|
397
355
|
* @returns A Promise of Blob
|
|
@@ -403,11 +361,7 @@ class API extends API$1 {
|
|
|
403
361
|
responseType: "blob"
|
|
404
362
|
});
|
|
405
363
|
/**
|
|
406
|
-
* Renew the TLS certificate of a Database Instance. Renew a TLS for a
|
|
407
|
-
* Database Instance. Renewing a certificate means that you will not be able
|
|
408
|
-
* to connect to your Database Instance using the previous certificate. You
|
|
409
|
-
* will also need to download and update the new certificate for all database
|
|
410
|
-
* clients.
|
|
364
|
+
* Renew the TLS certificate of a Database Instance. Renew a TLS for a Database Instance. 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.
|
|
411
365
|
*
|
|
412
366
|
* @param request - The request {@link RenewInstanceCertificateRequest}
|
|
413
367
|
*/
|
|
@@ -418,9 +372,7 @@ class API extends API$1 {
|
|
|
418
372
|
path: `/rdb/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam("instanceId", request.instanceId)}/renew-certificate`
|
|
419
373
|
});
|
|
420
374
|
/**
|
|
421
|
-
* Get Database Instance metrics. Retrieve the time series metrics of a given
|
|
422
|
-
* Database Instance. You can define the period from which to retrieve metrics
|
|
423
|
-
* by specifying the `start_date` and `end_date`.
|
|
375
|
+
* Get Database Instance metrics. Retrieve the time series metrics of a given Database Instance. You can define the period from which to retrieve metrics by specifying the `start_date` and `end_date`.
|
|
424
376
|
*
|
|
425
377
|
* @param request - The request {@link GetInstanceMetricsRequest}
|
|
426
378
|
* @returns A Promise of InstanceMetrics
|
|
@@ -438,9 +390,7 @@ class API extends API$1 {
|
|
|
438
390
|
unmarshalInstanceMetrics
|
|
439
391
|
);
|
|
440
392
|
/**
|
|
441
|
-
* Create a Read Replica. Create a new Read Replica of a Database Instance.
|
|
442
|
-
* You must specify the `region` and the `instance_id`. You can only create a
|
|
443
|
-
* maximum of 3 Read Replicas per Database Instance.
|
|
393
|
+
* Create a Read Replica. Create a new Read Replica of a Database Instance. You must specify the `region` and the `instance_id`. You can only create a maximum of 3 Read Replicas per Database Instance.
|
|
444
394
|
*
|
|
445
395
|
* @param request - The request {@link CreateReadReplicaRequest}
|
|
446
396
|
* @returns A Promise of ReadReplica
|
|
@@ -457,9 +407,7 @@ class API extends API$1 {
|
|
|
457
407
|
unmarshalReadReplica
|
|
458
408
|
);
|
|
459
409
|
/**
|
|
460
|
-
* Get a Read Replica. Retrieve information about a Database Instance Read
|
|
461
|
-
* Replica. Full details about the Read Replica, like `endpoints`, `status`
|
|
462
|
-
* and `region` are returned in the response.
|
|
410
|
+
* Get a Read Replica. Retrieve information about a Database Instance Read Replica. Full details about the Read Replica, like `endpoints`, `status` and `region` are returned in the response.
|
|
463
411
|
*
|
|
464
412
|
* @param request - The request {@link GetReadReplicaRequest}
|
|
465
413
|
* @returns A Promise of ReadReplica
|
|
@@ -487,9 +435,7 @@ class API extends API$1 {
|
|
|
487
435
|
options
|
|
488
436
|
);
|
|
489
437
|
/**
|
|
490
|
-
* Delete a Read Replica. Delete a Read Replica of a Database Instance. You
|
|
491
|
-
* must specify the `region` and `read_replica_id` parameters of the Read
|
|
492
|
-
* Replica you want to delete.
|
|
438
|
+
* Delete a Read Replica. Delete a Read Replica of a Database Instance. You must specify the `region` and `read_replica_id` parameters of the Read Replica you want to delete.
|
|
493
439
|
*
|
|
494
440
|
* @param request - The request {@link DeleteReadReplicaRequest}
|
|
495
441
|
* @returns A Promise of ReadReplica
|
|
@@ -502,15 +448,12 @@ class API extends API$1 {
|
|
|
502
448
|
unmarshalReadReplica
|
|
503
449
|
);
|
|
504
450
|
/**
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
* @param request - The request {@link ResetReadReplicaRequest}
|
|
512
|
-
* @returns A Promise of ReadReplica
|
|
513
|
-
*/
|
|
451
|
+
* Resync a Read Replica. When you resync a Read Replica, first it is reset, then its data is resynchronized from the primary node. Your Read Replica remains unavailable during the resync process. The duration of this process is proportional to the size of your Database Instance.
|
|
452
|
+
The configured endpoints do not change.
|
|
453
|
+
*
|
|
454
|
+
* @param request - The request {@link ResetReadReplicaRequest}
|
|
455
|
+
* @returns A Promise of ReadReplica
|
|
456
|
+
*/
|
|
514
457
|
resetReadReplica = (request) => this.client.fetch(
|
|
515
458
|
{
|
|
516
459
|
body: "{}",
|
|
@@ -521,8 +464,7 @@ class API extends API$1 {
|
|
|
521
464
|
unmarshalReadReplica
|
|
522
465
|
);
|
|
523
466
|
/**
|
|
524
|
-
* Promote a Read Replica. Promote a Read Replica to Database Instance
|
|
525
|
-
* automatically.
|
|
467
|
+
* Promote a Read Replica. Promote a Read Replica to Database Instance automatically.
|
|
526
468
|
*
|
|
527
469
|
* @param request - The request {@link PromoteReadReplicaRequest}
|
|
528
470
|
* @returns A Promise of Instance
|
|
@@ -537,9 +479,7 @@ class API extends API$1 {
|
|
|
537
479
|
unmarshalInstance
|
|
538
480
|
);
|
|
539
481
|
/**
|
|
540
|
-
* Create an endpoint for a Read Replica. Create a new endpoint for a Read
|
|
541
|
-
* Replica. Read Replicas can have at most one direct access and one Private
|
|
542
|
-
* Network endpoint.
|
|
482
|
+
* Create an endpoint for a Read Replica. Create a new endpoint for a Read Replica. Read Replicas can have at most one direct access and one Private Network endpoint.
|
|
543
483
|
*
|
|
544
484
|
* @param request - The request {@link CreateReadReplicaEndpointRequest}
|
|
545
485
|
* @returns A Promise of ReadReplica
|
|
@@ -559,12 +499,7 @@ class API extends API$1 {
|
|
|
559
499
|
unmarshalReadReplica
|
|
560
500
|
);
|
|
561
501
|
/**
|
|
562
|
-
* Prepare logs of a Database Instance. Prepare your Database Instance logs.
|
|
563
|
-
* You can define the `start_date` and `end_date` parameters for your query.
|
|
564
|
-
* The download URL is returned in the response. Logs are recorded from 00h00
|
|
565
|
-
* to 23h59 and then aggregated in a `.log` file once a day. Therefore, even
|
|
566
|
-
* if you specify a timeframe from which you want to get the logs, you will
|
|
567
|
-
* receive logs from the full 24 hours.
|
|
502
|
+
* Prepare logs of a Database Instance. Prepare your Database Instance logs. You can define the `start_date` and `end_date` parameters for your query. The download URL is returned in the response. Logs are recorded from 00h00 to 23h59 and then aggregated in a `.log` file once a day. Therefore, even if you specify a timeframe from which you want to get the logs, you will receive logs from the full 24 hours.
|
|
568
503
|
*
|
|
569
504
|
* @param request - The request {@link PrepareInstanceLogsRequest}
|
|
570
505
|
* @returns A Promise of PrepareInstanceLogsResponse
|
|
@@ -581,10 +516,7 @@ class API extends API$1 {
|
|
|
581
516
|
unmarshalPrepareInstanceLogsResponse
|
|
582
517
|
);
|
|
583
518
|
/**
|
|
584
|
-
* List available logs of a Database Instance. List the available logs of a
|
|
585
|
-
* Database Instance. By default, the logs returned in the list are ordered by
|
|
586
|
-
* creation date in ascending order, though this can be modified via the
|
|
587
|
-
* order_by field.
|
|
519
|
+
* List available logs of a Database Instance. List the available logs of a Database Instance. By default, the logs returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
|
|
588
520
|
*
|
|
589
521
|
* @param request - The request {@link ListInstanceLogsRequest}
|
|
590
522
|
* @returns A Promise of ListInstanceLogsResponse
|
|
@@ -598,10 +530,7 @@ class API extends API$1 {
|
|
|
598
530
|
unmarshalListInstanceLogsResponse
|
|
599
531
|
);
|
|
600
532
|
/**
|
|
601
|
-
* Get given logs of a Database Instance. Retrieve information about the logs
|
|
602
|
-
* of a Database Instance. Specify the `instance_log_id` and `region` in your
|
|
603
|
-
* request to get information such as `download_url`, `status`, `expires_at`
|
|
604
|
-
* and `created_at` about your logs in the response.
|
|
533
|
+
* Get given logs of a Database Instance. Retrieve information about the logs of a Database Instance. Specify the `instance_log_id` and `region` in your request to get information such as `download_url`, `status`, `expires_at` and `created_at` about your logs in the response.
|
|
605
534
|
*
|
|
606
535
|
* @param request - The request {@link GetInstanceLogRequest}
|
|
607
536
|
* @returns A Promise of InstanceLog
|
|
@@ -629,9 +558,7 @@ class API extends API$1 {
|
|
|
629
558
|
options
|
|
630
559
|
);
|
|
631
560
|
/**
|
|
632
|
-
* Purge remote Database Instance logs. Purge a given remote log from a
|
|
633
|
-
* Database Instance. You can specify the `log_name` of the log you wish to
|
|
634
|
-
* clean from your Database Instance.
|
|
561
|
+
* Purge remote Database Instance logs. Purge a given remote log from a Database Instance. You can specify the `log_name` of the log you wish to clean from your Database Instance.
|
|
635
562
|
*
|
|
636
563
|
* @param request - The request {@link PurgeInstanceLogsRequest}
|
|
637
564
|
*/
|
|
@@ -644,9 +571,7 @@ class API extends API$1 {
|
|
|
644
571
|
path: `/rdb/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam("instanceId", request.instanceId)}/purge-logs`
|
|
645
572
|
});
|
|
646
573
|
/**
|
|
647
|
-
* List remote Database Instance logs details. List remote log details. By
|
|
648
|
-
* default, the details returned in the list are ordered by creation date in
|
|
649
|
-
* ascending order, though this can be modified via the order_by field.
|
|
574
|
+
* List remote Database Instance logs details. List remote log details. By default, the details returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
|
|
650
575
|
*
|
|
651
576
|
* @param request - The request {@link ListInstanceLogsDetailsRequest}
|
|
652
577
|
* @returns A Promise of ListInstanceLogsDetailsResponse
|
|
@@ -659,9 +584,7 @@ class API extends API$1 {
|
|
|
659
584
|
unmarshalListInstanceLogsDetailsResponse
|
|
660
585
|
);
|
|
661
586
|
/**
|
|
662
|
-
* Add Database Instance advanced settings. Add an advanced setting to a
|
|
663
|
-
* Database Instance. You must set the `name` and the `value` of each
|
|
664
|
-
* setting.
|
|
587
|
+
* Add Database Instance advanced settings. Add an advanced setting to a Database Instance. You must set the `name` and the `value` of each setting.
|
|
665
588
|
*
|
|
666
589
|
* @param request - The request {@link AddInstanceSettingsRequest}
|
|
667
590
|
* @returns A Promise of AddInstanceSettingsResponse
|
|
@@ -678,9 +601,7 @@ class API extends API$1 {
|
|
|
678
601
|
unmarshalAddInstanceSettingsResponse
|
|
679
602
|
);
|
|
680
603
|
/**
|
|
681
|
-
* Delete Database Instance advanced settings. Delete an advanced setting in a
|
|
682
|
-
* Database Instance. You must specify the names of the settings you want to
|
|
683
|
-
* delete in the request.
|
|
604
|
+
* Delete Database Instance advanced settings. Delete an advanced setting in a Database Instance. You must specify the names of the settings you want to delete in the request.
|
|
684
605
|
*
|
|
685
606
|
* @param request - The request {@link DeleteInstanceSettingsRequest}
|
|
686
607
|
* @returns A Promise of DeleteInstanceSettingsResponse
|
|
@@ -697,9 +618,7 @@ class API extends API$1 {
|
|
|
697
618
|
unmarshalDeleteInstanceSettingsResponse
|
|
698
619
|
);
|
|
699
620
|
/**
|
|
700
|
-
* Set Database Instance advanced settings. Update an advanced setting for a
|
|
701
|
-
* Database Instance. Settings added upon database engine initalization can
|
|
702
|
-
* only be defined once, and cannot, therefore, be updated.
|
|
621
|
+
* Set Database Instance advanced settings. Update an advanced setting for a Database Instance. Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated.
|
|
703
622
|
*
|
|
704
623
|
* @param request - The request {@link SetInstanceSettingsRequest}
|
|
705
624
|
* @returns A Promise of SetInstanceSettingsResponse
|
|
@@ -730,18 +649,14 @@ class API extends API$1 {
|
|
|
730
649
|
unmarshalListInstanceACLRulesResponse
|
|
731
650
|
);
|
|
732
651
|
/**
|
|
733
|
-
* List ACL rules of a Database Instance. List the ACL rules for a given
|
|
734
|
-
* Database Instance. The response is an array of ACL objects, each one
|
|
735
|
-
* representing an ACL that denies, allows or redirects traffic based on
|
|
736
|
-
* certain conditions.
|
|
652
|
+
* List ACL rules of a Database Instance. List the ACL rules for a given Database Instance. The response is an array of ACL objects, each one representing an ACL that denies, allows or redirects traffic based on certain conditions.
|
|
737
653
|
*
|
|
738
654
|
* @param request - The request {@link ListInstanceACLRulesRequest}
|
|
739
655
|
* @returns A Promise of ListInstanceACLRulesResponse
|
|
740
656
|
*/
|
|
741
657
|
listInstanceACLRules = (request) => enrichForPagination("rules", this.pageOfListInstanceACLRules, request);
|
|
742
658
|
/**
|
|
743
|
-
* Add an ACL rule to a Database Instance. Add an additional ACL rule to a
|
|
744
|
-
* Database Instance.
|
|
659
|
+
* Add an ACL rule to a Database Instance. Add an additional ACL rule to a Database Instance.
|
|
745
660
|
*
|
|
746
661
|
* @param request - The request {@link AddInstanceACLRulesRequest}
|
|
747
662
|
* @returns A Promise of AddInstanceACLRulesResponse
|
|
@@ -758,8 +673,7 @@ class API extends API$1 {
|
|
|
758
673
|
unmarshalAddInstanceACLRulesResponse
|
|
759
674
|
);
|
|
760
675
|
/**
|
|
761
|
-
* Set ACL rules for a Database Instance. Replace all the ACL rules of a
|
|
762
|
-
* Database Instance.
|
|
676
|
+
* Set ACL rules for a Database Instance. Replace all the ACL rules of a Database Instance.
|
|
763
677
|
*
|
|
764
678
|
* @param request - The request {@link SetInstanceACLRulesRequest}
|
|
765
679
|
* @returns A Promise of SetInstanceACLRulesResponse
|
|
@@ -776,8 +690,7 @@ class API extends API$1 {
|
|
|
776
690
|
unmarshalSetInstanceACLRulesResponse
|
|
777
691
|
);
|
|
778
692
|
/**
|
|
779
|
-
* Delete ACL rules of a Database Instance. Delete one or more ACL rules of a
|
|
780
|
-
* Database Instance.
|
|
693
|
+
* Delete ACL rules of a Database Instance. Delete one or more ACL rules of a Database Instance.
|
|
781
694
|
*
|
|
782
695
|
* @param request - The request {@link DeleteInstanceACLRulesRequest}
|
|
783
696
|
* @returns A Promise of DeleteInstanceACLRulesResponse
|
|
@@ -810,19 +723,14 @@ class API extends API$1 {
|
|
|
810
723
|
unmarshalListUsersResponse
|
|
811
724
|
);
|
|
812
725
|
/**
|
|
813
|
-
* List users of a Database Instance. List all users of a given Database
|
|
814
|
-
* Instance. By default, the users returned in the list are ordered by
|
|
815
|
-
* creation date in ascending order, though this can be modified via the
|
|
816
|
-
* order_by field.
|
|
726
|
+
* List users of a Database Instance. List all users of a given Database Instance. By default, the users returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
|
|
817
727
|
*
|
|
818
728
|
* @param request - The request {@link ListUsersRequest}
|
|
819
729
|
* @returns A Promise of ListUsersResponse
|
|
820
730
|
*/
|
|
821
731
|
listUsers = (request) => enrichForPagination("users", this.pageOfListUsers, request);
|
|
822
732
|
/**
|
|
823
|
-
* Create a user for a Database Instance. Create a new user for a Database
|
|
824
|
-
* Instance. You must define the `name`, `password` and `is_admin`
|
|
825
|
-
* parameters.
|
|
733
|
+
* Create a user for a Database Instance. Create a new user for a Database Instance. You must define the `name`, `password` and `is_admin` parameters.
|
|
826
734
|
*
|
|
827
735
|
* @param request - The request {@link CreateUserRequest}
|
|
828
736
|
* @returns A Promise of User
|
|
@@ -839,9 +747,7 @@ class API extends API$1 {
|
|
|
839
747
|
unmarshalUser
|
|
840
748
|
);
|
|
841
749
|
/**
|
|
842
|
-
* Update a user on a Database Instance. Update the parameters of a user on a
|
|
843
|
-
* Database Instance. You can update the `password` and `is_admin` parameters,
|
|
844
|
-
* but you cannot change the name of the user.
|
|
750
|
+
* Update a user on a Database Instance. Update the parameters of a user on a Database Instance. You can update the `password` and `is_admin` parameters, but you cannot change the name of the user.
|
|
845
751
|
*
|
|
846
752
|
* @param request - The request {@link UpdateUserRequest}
|
|
847
753
|
* @returns A Promise of User
|
|
@@ -858,9 +764,7 @@ class API extends API$1 {
|
|
|
858
764
|
unmarshalUser
|
|
859
765
|
);
|
|
860
766
|
/**
|
|
861
|
-
* Delete a user on a Database Instance. Delete a given user on a Database
|
|
862
|
-
* Instance. You must specify, in the endpoint, the `region`, `instance_id`
|
|
863
|
-
* and `name` parameters of the user you want to delete.
|
|
767
|
+
* Delete a user on a Database Instance. Delete a given user on a Database Instance. You must specify, in the endpoint, the `region`, `instance_id` and `name` parameters of the user you want to delete.
|
|
864
768
|
*
|
|
865
769
|
* @param request - The request {@link DeleteUserRequest}
|
|
866
770
|
*/
|
|
@@ -887,19 +791,14 @@ class API extends API$1 {
|
|
|
887
791
|
unmarshalListDatabasesResponse
|
|
888
792
|
);
|
|
889
793
|
/**
|
|
890
|
-
* List databases in a Database Instance. List all databases of a given
|
|
891
|
-
* Database Instance. By default, the databases returned in the list are
|
|
892
|
-
* ordered by creation date in ascending order, though this can be modified
|
|
893
|
-
* via the order_by field. You can define additional parameters for your
|
|
894
|
-
* query, such as `name`, `managed` and `owner`.
|
|
794
|
+
* List databases in a Database Instance. List all databases of a given Database Instance. By default, the databases 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 `name`, `managed` and `owner`.
|
|
895
795
|
*
|
|
896
796
|
* @param request - The request {@link ListDatabasesRequest}
|
|
897
797
|
* @returns A Promise of ListDatabasesResponse
|
|
898
798
|
*/
|
|
899
799
|
listDatabases = (request) => enrichForPagination("databases", this.pageOfListDatabases, request);
|
|
900
800
|
/**
|
|
901
|
-
* Create a database in a Database Instance. Create a new database. You must
|
|
902
|
-
* define the `name` parameter in the request.
|
|
801
|
+
* Create a database in a Database Instance. Create a new database. You must define the `name` parameter in the request.
|
|
903
802
|
*
|
|
904
803
|
* @param request - The request {@link CreateDatabaseRequest}
|
|
905
804
|
* @returns A Promise of Database
|
|
@@ -916,9 +815,7 @@ class API extends API$1 {
|
|
|
916
815
|
unmarshalDatabase
|
|
917
816
|
);
|
|
918
817
|
/**
|
|
919
|
-
* Delete a database in a Database Instance. Delete a given database on a
|
|
920
|
-
* Database Instance. You must specify, in the endpoint, the `region`,
|
|
921
|
-
* `instance_id` and `name` parameters of the database you want to delete.
|
|
818
|
+
* Delete a database in a Database Instance. Delete a given database on a Database Instance. You must specify, in the endpoint, the `region`, `instance_id` and `name` parameters of the database you want to delete.
|
|
922
819
|
*
|
|
923
820
|
* @param request - The request {@link DeleteDatabaseRequest}
|
|
924
821
|
*/
|
|
@@ -944,20 +841,14 @@ class API extends API$1 {
|
|
|
944
841
|
unmarshalListPrivilegesResponse
|
|
945
842
|
);
|
|
946
843
|
/**
|
|
947
|
-
* List user privileges for a database. List privileges of a user on a
|
|
948
|
-
* database. By default, the details returned in the list are ordered by
|
|
949
|
-
* creation date in ascending order, though this can be modified via the
|
|
950
|
-
* order_by field. You can define additional parameters for your query, such
|
|
951
|
-
* as `database_name` and `user_name`.
|
|
844
|
+
* List user privileges for a database. List privileges of a user on a database. By default, the details 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 `database_name` and `user_name`.
|
|
952
845
|
*
|
|
953
846
|
* @param request - The request {@link ListPrivilegesRequest}
|
|
954
847
|
* @returns A Promise of ListPrivilegesResponse
|
|
955
848
|
*/
|
|
956
849
|
listPrivileges = (request) => enrichForPagination("privileges", this.pageOfListPrivileges, request);
|
|
957
850
|
/**
|
|
958
|
-
* Set user privileges for a database. Set the privileges of a user on a
|
|
959
|
-
* database. You must define `database_name`, `user_name` and `permission` in
|
|
960
|
-
* the request body.
|
|
851
|
+
* Set user privileges for a database. Set the privileges of a user on a database. You must define `database_name`, `user_name` and `permission` in the request body.
|
|
961
852
|
*
|
|
962
853
|
* @param request - The request {@link SetPrivilegeRequest}
|
|
963
854
|
* @returns A Promise of Privilege
|
|
@@ -993,20 +884,14 @@ class API extends API$1 {
|
|
|
993
884
|
unmarshalListSnapshotsResponse
|
|
994
885
|
);
|
|
995
886
|
/**
|
|
996
|
-
* List snapshots. List snapshots. You can include the `instance_id` or
|
|
997
|
-
* `project_id` in your query to get the list of snapshots for specific
|
|
998
|
-
* Database Instances and/or Projects. By default, the details returned in the
|
|
999
|
-
* list are ordered by creation date in ascending order, though this can be
|
|
1000
|
-
* modified via the `order_by` field.
|
|
887
|
+
* List snapshots. List snapshots. You can include the `instance_id` or `project_id` in your query to get the list of snapshots for specific Database Instances and/or Projects. By default, the details returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field.
|
|
1001
888
|
*
|
|
1002
889
|
* @param request - The request {@link ListSnapshotsRequest}
|
|
1003
890
|
* @returns A Promise of ListSnapshotsResponse
|
|
1004
891
|
*/
|
|
1005
892
|
listSnapshots = (request = {}) => enrichForPagination("snapshots", this.pageOfListSnapshots, request);
|
|
1006
893
|
/**
|
|
1007
|
-
* Get a Database Instance snapshot. Retrieve information about a given
|
|
1008
|
-
* snapshot, specified by its `snapshot_id` and `region`. Full details about
|
|
1009
|
-
* the snapshot, like size and expiration date, are returned in the response.
|
|
894
|
+
* Get a Database Instance snapshot. Retrieve information about a given snapshot, specified by its `snapshot_id` and `region`. Full details about the snapshot, like size and expiration date, are returned in the response.
|
|
1010
895
|
*
|
|
1011
896
|
* @param request - The request {@link GetSnapshotRequest}
|
|
1012
897
|
* @returns A Promise of Snapshot
|
|
@@ -1034,8 +919,7 @@ class API extends API$1 {
|
|
|
1034
919
|
options
|
|
1035
920
|
);
|
|
1036
921
|
/**
|
|
1037
|
-
* Create a Database Instance snapshot. Create a new snapshot of a Database
|
|
1038
|
-
* Instance. You must define the `name` parameter in the request.
|
|
922
|
+
* Create a Database Instance snapshot. Create a new snapshot of a Database Instance. You must define the `name` parameter in the request.
|
|
1039
923
|
*
|
|
1040
924
|
* @param request - The request {@link CreateSnapshotRequest}
|
|
1041
925
|
* @returns A Promise of Snapshot
|
|
@@ -1052,9 +936,7 @@ class API extends API$1 {
|
|
|
1052
936
|
unmarshalSnapshot
|
|
1053
937
|
);
|
|
1054
938
|
/**
|
|
1055
|
-
* Update a Database Instance snapshot. Update the parameters of a snapshot of
|
|
1056
|
-
* a Database Instance. You can update the `name` and `expires_at`
|
|
1057
|
-
* parameters.
|
|
939
|
+
* Update a Database Instance snapshot. Update the parameters of a snapshot of a Database Instance. You can update the `name` and `expires_at` parameters.
|
|
1058
940
|
*
|
|
1059
941
|
* @param request - The request {@link UpdateSnapshotRequest}
|
|
1060
942
|
* @returns A Promise of Snapshot
|
|
@@ -1071,9 +953,7 @@ class API extends API$1 {
|
|
|
1071
953
|
unmarshalSnapshot
|
|
1072
954
|
);
|
|
1073
955
|
/**
|
|
1074
|
-
* Delete a Database Instance snapshot. Delete a given snapshot of a Database
|
|
1075
|
-
* Instance. You must specify, in the endpoint, the `region` and `snapshot_id`
|
|
1076
|
-
* parameters of the snapshot you want to delete.
|
|
956
|
+
* Delete a Database Instance snapshot. Delete a given snapshot of a Database Instance. You must specify, in the endpoint, the `region` and `snapshot_id` parameters of the snapshot you want to delete.
|
|
1077
957
|
*
|
|
1078
958
|
* @param request - The request {@link DeleteSnapshotRequest}
|
|
1079
959
|
* @returns A Promise of Snapshot
|
|
@@ -1086,14 +966,7 @@ class API extends API$1 {
|
|
|
1086
966
|
unmarshalSnapshot
|
|
1087
967
|
);
|
|
1088
968
|
/**
|
|
1089
|
-
* Create a new Database Instance from a snapshot. Restore a snapshot. When
|
|
1090
|
-
* you restore a snapshot, a new Instance is created and billed to your
|
|
1091
|
-
* account. Note that is possible to select a larger node type for your new
|
|
1092
|
-
* Database Instance. However, the Block volume size will be the same as the
|
|
1093
|
-
* size of the restored snapshot. All Instance settings will be restored if
|
|
1094
|
-
* you chose a node type with the same or more memory size than the initial
|
|
1095
|
-
* Instance. Settings will be reset to the default if your node type has less
|
|
1096
|
-
* memory.
|
|
969
|
+
* Create a new Database Instance from a snapshot. Restore a snapshot. When you restore a snapshot, a new Instance is created and billed to your account. Note that is possible to select a larger node type for your new Database Instance. However, the Block volume size will be the same as the size of the restored snapshot. All Instance settings will be restored if you chose a node type with the same or more memory size than the initial Instance. Settings will be reset to the default if your node type has less memory.
|
|
1097
970
|
*
|
|
1098
971
|
* @param request - The request {@link CreateInstanceFromSnapshotRequest}
|
|
1099
972
|
* @returns A Promise of Instance
|
|
@@ -1113,9 +986,7 @@ class API extends API$1 {
|
|
|
1113
986
|
unmarshalInstance
|
|
1114
987
|
);
|
|
1115
988
|
/**
|
|
1116
|
-
* Create a new Database Instance endpoint. Create a new endpoint for a
|
|
1117
|
-
* Database Instance. You can add `load_balancer` and `private_network`
|
|
1118
|
-
* specifications to the body of the request.
|
|
989
|
+
* Create a new Database Instance endpoint. Create a new endpoint for a Database Instance. You can add `load_balancer` and `private_network` specifications to the body of the request.
|
|
1119
990
|
*
|
|
1120
991
|
* @param request - The request {@link CreateEndpointRequest}
|
|
1121
992
|
* @returns A Promise of Endpoint
|
|
@@ -1132,10 +1003,7 @@ class API extends API$1 {
|
|
|
1132
1003
|
unmarshalEndpoint
|
|
1133
1004
|
);
|
|
1134
1005
|
/**
|
|
1135
|
-
* Delete a Database Instance endpoint. Delete the endpoint of a Database
|
|
1136
|
-
* Instance. You must specify the `region` and `endpoint_id` parameters of the
|
|
1137
|
-
* endpoint you want to delete. Note that might need to update any environment
|
|
1138
|
-
* configurations that point to the deleted endpoint.
|
|
1006
|
+
* Delete a Database Instance endpoint. Delete the endpoint of a Database Instance. 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.
|
|
1139
1007
|
*
|
|
1140
1008
|
* @param request - The request {@link DeleteEndpointRequest}
|
|
1141
1009
|
*/
|
|
@@ -1144,10 +1012,7 @@ class API extends API$1 {
|
|
|
1144
1012
|
path: `/rdb/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/endpoints/${validatePathParam("endpointId", request.endpointId)}`
|
|
1145
1013
|
});
|
|
1146
1014
|
/**
|
|
1147
|
-
* Get a Database Instance endpoint. Retrieve information about a Database
|
|
1148
|
-
* Instance endpoint. Full details about the endpoint, like `ip`, `port`,
|
|
1149
|
-
* `private_network` and `load_balancer` specifications are returned in the
|
|
1150
|
-
* response.
|
|
1015
|
+
* Get a Database Instance endpoint. Retrieve information about a Database Instance endpoint. Full details about the endpoint, like `ip`, `port`, `private_network` and `load_balancer` specifications are returned in the response.
|
|
1151
1016
|
*
|
|
1152
1017
|
* @param request - The request {@link GetEndpointRequest}
|
|
1153
1018
|
* @returns A Promise of Endpoint
|
|
@@ -1177,11 +1042,7 @@ class API extends API$1 {
|
|
|
1177
1042
|
unmarshalEndpoint
|
|
1178
1043
|
);
|
|
1179
1044
|
/**
|
|
1180
|
-
* Apply Database Instance maintenance. Apply maintenance tasks to your
|
|
1181
|
-
* Database Instance. This will trigger pending maintenance tasks to start in
|
|
1182
|
-
* your Database Instance and can generate service interruption. Maintenance
|
|
1183
|
-
* tasks can be applied between `starts_at` and `stops_at` times, and are run
|
|
1184
|
-
* directly by Scaleway at `forced_at` timestamp.
|
|
1045
|
+
* Apply Database Instance maintenance. Apply maintenance tasks to your Database Instance. This will trigger pending maintenance tasks to start in your Database Instance and can generate service interruption. Maintenance tasks can be applied between `starts_at` and `stops_at` times, and are run directly by Scaleway at `forced_at` timestamp.
|
|
1185
1046
|
*
|
|
1186
1047
|
* @param request - The request {@link ApplyInstanceMaintenanceRequest}
|
|
1187
1048
|
* @returns A Promise of Maintenance
|