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