@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
|
-
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 { LB_TRANSIENT_STATUSES, CERTIFICATE_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
7
|
-
import { unmarshalListLbsResponse, marshalZonedApiCreateLbRequest, unmarshalLb, marshalZonedApiUpdateLbRequest, marshalZonedApiMigrateLbRequest, unmarshalListIpsResponse, marshalZonedApiCreateIpRequest, unmarshalIp, marshalZonedApiUpdateIpRequest, unmarshalListBackendsResponse, marshalZonedApiCreateBackendRequest, unmarshalBackend, marshalZonedApiUpdateBackendRequest, marshalZonedApiAddBackendServersRequest, marshalZonedApiRemoveBackendServersRequest, marshalZonedApiSetBackendServersRequest, marshalZonedApiUpdateHealthCheckRequest, unmarshalHealthCheck, unmarshalListFrontendsResponse, marshalZonedApiCreateFrontendRequest, unmarshalFrontend, marshalZonedApiUpdateFrontendRequest, unmarshalListRoutesResponse, marshalZonedApiCreateRouteRequest, unmarshalRoute, marshalZonedApiUpdateRouteRequest, unmarshalLbStats, unmarshalListBackendStatsResponse, unmarshalListAclResponse, marshalZonedApiCreateAclRequest, unmarshalAcl, marshalZonedApiUpdateAclRequest, marshalZonedApiSetAclsRequest, unmarshalSetAclsResponse, marshalZonedApiCreateCertificateRequest, unmarshalCertificate, unmarshalListCertificatesResponse, marshalZonedApiUpdateCertificateRequest, unmarshalListLbTypesResponse, marshalZonedApiCreateSubscriberRequest, unmarshalSubscriber, unmarshalListSubscriberResponse, marshalZonedApiUpdateSubscriberRequest, marshalZonedApiSubscribeToLbRequest, unmarshalListLbPrivateNetworksResponse, marshalZonedApiAttachPrivateNetworkRequest, unmarshalPrivateNetwork, marshalCreateLbRequest, marshalUpdateLbRequest, marshalMigrateLbRequest, marshalCreateIpRequest, marshalUpdateIpRequest, marshalCreateBackendRequest, marshalUpdateBackendRequest, marshalAddBackendServersRequest, marshalRemoveBackendServersRequest, marshalSetBackendServersRequest, marshalUpdateHealthCheckRequest, marshalCreateFrontendRequest, marshalUpdateFrontendRequest, marshalCreateRouteRequest, marshalUpdateRouteRequest, marshalCreateAclRequest, marshalUpdateAclRequest, marshalCreateCertificateRequest, marshalUpdateCertificateRequest, marshalCreateSubscriberRequest, marshalUpdateSubscriberRequest, marshalSubscribeToLbRequest, marshalAttachPrivateNetworkRequest } from "./marshalling.gen.js";
|
|
8
|
+
import { unmarshalListLbsResponse, marshalZonedApiCreateLbRequest, unmarshalLb, marshalZonedApiUpdateLbRequest, marshalZonedApiMigrateLbRequest, unmarshalListIpsResponse, marshalZonedApiCreateIpRequest, unmarshalIp, marshalZonedApiUpdateIpRequest, unmarshalListBackendsResponse, marshalZonedApiCreateBackendRequest, unmarshalBackend, marshalZonedApiUpdateBackendRequest, marshalZonedApiAddBackendServersRequest, marshalZonedApiRemoveBackendServersRequest, marshalZonedApiSetBackendServersRequest, marshalZonedApiUpdateHealthCheckRequest, unmarshalHealthCheck, unmarshalListFrontendsResponse, marshalZonedApiCreateFrontendRequest, unmarshalFrontend, marshalZonedApiUpdateFrontendRequest, unmarshalListRoutesResponse, marshalZonedApiCreateRouteRequest, unmarshalRoute, marshalZonedApiUpdateRouteRequest, unmarshalLbStats, unmarshalListBackendStatsResponse, unmarshalListAclResponse, marshalZonedApiCreateAclRequest, unmarshalAcl, marshalZonedApiUpdateAclRequest, marshalZonedApiSetAclsRequest, unmarshalSetAclsResponse, marshalZonedApiCreateCertificateRequest, unmarshalCertificate, unmarshalListCertificatesResponse, marshalZonedApiUpdateCertificateRequest, unmarshalListLbTypesResponse, marshalZonedApiCreateSubscriberRequest, unmarshalSubscriber, unmarshalListSubscriberResponse, marshalZonedApiUpdateSubscriberRequest, marshalZonedApiSubscribeToLbRequest, unmarshalListLbPrivateNetworksResponse, marshalZonedApiAttachPrivateNetworkRequest, unmarshalPrivateNetwork, marshalZonedApiDetachPrivateNetworkRequest, marshalCreateLbRequest, marshalUpdateLbRequest, marshalMigrateLbRequest, marshalCreateIpRequest, marshalUpdateIpRequest, marshalCreateBackendRequest, marshalUpdateBackendRequest, marshalAddBackendServersRequest, marshalRemoveBackendServersRequest, marshalSetBackendServersRequest, marshalUpdateHealthCheckRequest, marshalCreateFrontendRequest, marshalUpdateFrontendRequest, marshalCreateRouteRequest, marshalUpdateRouteRequest, marshalCreateAclRequest, marshalUpdateAclRequest, marshalCreateCertificateRequest, marshalUpdateCertificateRequest, marshalCreateSubscriberRequest, marshalUpdateSubscriberRequest, marshalSubscribeToLbRequest, marshalAttachPrivateNetworkRequest } from "./marshalling.gen.js";
|
|
8
9
|
const jsonContentHeaders = {
|
|
9
10
|
"Content-Type": "application/json; charset=utf-8"
|
|
10
11
|
};
|
|
@@ -40,19 +41,14 @@ class ZonedAPI extends API$1 {
|
|
|
40
41
|
unmarshalListLbsResponse
|
|
41
42
|
);
|
|
42
43
|
/**
|
|
43
|
-
* List Load Balancers. List all Load Balancers in the specified zone, for a
|
|
44
|
-
* Scaleway Organization or Scaleway Project. By default, the Load Balancers
|
|
45
|
-
* returned in the list are ordered by creation date in ascending order,
|
|
46
|
-
* though this can be modified via the `order_by` field.
|
|
44
|
+
* List Load Balancers. List all Load Balancers in the specified zone, for a Scaleway Organization or Scaleway Project. By default, the Load Balancers returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field.
|
|
47
45
|
*
|
|
48
46
|
* @param request - The request {@link ZonedApiListLbsRequest}
|
|
49
47
|
* @returns A Promise of ListLbsResponse
|
|
50
48
|
*/
|
|
51
49
|
listLbs = (request = {}) => enrichForPagination("lbs", this.pageOfListLbs, request);
|
|
52
50
|
/**
|
|
53
|
-
* Create a Load Balancer. Create a new Load Balancer. Note that the Load
|
|
54
|
-
* Balancer will be created without frontends or backends; these must be
|
|
55
|
-
* created separately via the dedicated endpoints.
|
|
51
|
+
* Create a Load Balancer. Create a new Load Balancer. Note that the Load Balancer will be created without frontends or backends; these must be created separately via the dedicated endpoints.
|
|
56
52
|
*
|
|
57
53
|
* @param request - The request {@link ZonedApiCreateLbRequest}
|
|
58
54
|
* @returns A Promise of Lb
|
|
@@ -69,9 +65,7 @@ class ZonedAPI extends API$1 {
|
|
|
69
65
|
unmarshalLb
|
|
70
66
|
);
|
|
71
67
|
/**
|
|
72
|
-
* Get a Load Balancer. Retrieve information about an existing Load Balancer,
|
|
73
|
-
* specified by its Load Balancer ID. Its full details, including name, status
|
|
74
|
-
* and IP address, are returned in the response object.
|
|
68
|
+
* Get a Load Balancer. Retrieve information about an existing Load Balancer, specified by its Load Balancer ID. Its full details, including name, status and IP address, are returned in the response object.
|
|
75
69
|
*
|
|
76
70
|
* @param request - The request {@link ZonedApiGetLbRequest}
|
|
77
71
|
* @returns A Promise of Lb
|
|
@@ -97,9 +91,7 @@ class ZonedAPI extends API$1 {
|
|
|
97
91
|
options
|
|
98
92
|
);
|
|
99
93
|
/**
|
|
100
|
-
* Update a Load Balancer. Update the parameters of an existing Load Balancer,
|
|
101
|
-
* specified by its Load Balancer ID. Note that the request type is PUT and
|
|
102
|
-
* not PATCH. You must set all parameters.
|
|
94
|
+
* Update a Load Balancer. Update the parameters of an existing Load Balancer, specified by its Load Balancer ID. Note that the request type is PUT and not PATCH. You must set all parameters.
|
|
103
95
|
*
|
|
104
96
|
* @param request - The request {@link ZonedApiUpdateLbRequest}
|
|
105
97
|
* @returns A Promise of Lb
|
|
@@ -116,10 +108,7 @@ class ZonedAPI extends API$1 {
|
|
|
116
108
|
unmarshalLb
|
|
117
109
|
);
|
|
118
110
|
/**
|
|
119
|
-
* Delete a Load Balancer. Delete an existing Load Balancer, specified by its
|
|
120
|
-
* Load Balancer ID. Deleting a Load Balancer is permanent, and cannot be
|
|
121
|
-
* undone. The Load Balancer's flexible IP address can either be deleted with
|
|
122
|
-
* the Load Balancer, or kept in your account for future use.
|
|
111
|
+
* Delete a Load Balancer. Delete an existing Load Balancer, specified by its Load Balancer ID. Deleting a Load Balancer is permanent, and cannot be undone. The Load Balancer's flexible IP address can either be deleted with the Load Balancer, or kept in your account for future use.
|
|
123
112
|
*
|
|
124
113
|
* @param request - The request {@link ZonedApiDeleteLbRequest}
|
|
125
114
|
*/
|
|
@@ -129,9 +118,7 @@ class ZonedAPI extends API$1 {
|
|
|
129
118
|
urlParams: urlParams(["release_ip", request.releaseIp])
|
|
130
119
|
});
|
|
131
120
|
/**
|
|
132
|
-
* Migrate a Load Balancer. Migrate an existing Load Balancer from one
|
|
133
|
-
* commercial type to another. Allows you to scale your Load Balancer up or
|
|
134
|
-
* down in terms of bandwidth or multi-cloud provision.
|
|
121
|
+
* Migrate a Load Balancer. Migrate an existing Load Balancer from one commercial type to another. Allows you to scale your Load Balancer up or down in terms of bandwidth or multi-cloud provision.
|
|
135
122
|
*
|
|
136
123
|
* @param request - The request {@link ZonedApiMigrateLbRequest}
|
|
137
124
|
* @returns A Promise of Lb
|
|
@@ -167,18 +154,14 @@ class ZonedAPI extends API$1 {
|
|
|
167
154
|
unmarshalListIpsResponse
|
|
168
155
|
);
|
|
169
156
|
/**
|
|
170
|
-
* List IP addresses. List the Load Balancer flexible IP addresses held in the
|
|
171
|
-
* account (filtered by Organization ID or Project ID). It is also possible to
|
|
172
|
-
* search for a specific IP address.
|
|
157
|
+
* List IP addresses. List the Load Balancer flexible IP addresses held in the account (filtered by Organization ID or Project ID). It is also possible to search for a specific IP address.
|
|
173
158
|
*
|
|
174
159
|
* @param request - The request {@link ZonedApiListIPsRequest}
|
|
175
160
|
* @returns A Promise of ListIpsResponse
|
|
176
161
|
*/
|
|
177
162
|
listIPs = (request = {}) => enrichForPagination("ips", this.pageOfListIPs, request);
|
|
178
163
|
/**
|
|
179
|
-
* Create an IP address. Create a new Load Balancer flexible IP address, in
|
|
180
|
-
* the specified Scaleway Project. This can be attached to new Load Balancers
|
|
181
|
-
* created in the future.
|
|
164
|
+
* Create an IP address. Create a new Load Balancer flexible IP address, in the specified Scaleway Project. This can be attached to new Load Balancers created in the future.
|
|
182
165
|
*
|
|
183
166
|
* @param request - The request {@link ZonedApiCreateIpRequest}
|
|
184
167
|
* @returns A Promise of Ip
|
|
@@ -195,8 +178,7 @@ class ZonedAPI extends API$1 {
|
|
|
195
178
|
unmarshalIp
|
|
196
179
|
);
|
|
197
180
|
/**
|
|
198
|
-
* Get an IP address. Retrieve the full details of a Load Balancer flexible IP
|
|
199
|
-
* address.
|
|
181
|
+
* Get an IP address. Retrieve the full details of a Load Balancer flexible IP address.
|
|
200
182
|
*
|
|
201
183
|
* @param request - The request {@link ZonedApiGetIpRequest}
|
|
202
184
|
* @returns A Promise of Ip
|
|
@@ -209,8 +191,7 @@ class ZonedAPI extends API$1 {
|
|
|
209
191
|
unmarshalIp
|
|
210
192
|
);
|
|
211
193
|
/**
|
|
212
|
-
* Delete an IP address. Delete a Load Balancer flexible IP address. This
|
|
213
|
-
* action is irreversible, and cannot be undone.
|
|
194
|
+
* Delete an IP address. Delete a Load Balancer flexible IP address. This action is irreversible, and cannot be undone.
|
|
214
195
|
*
|
|
215
196
|
* @param request - The request {@link ZonedApiReleaseIpRequest}
|
|
216
197
|
*/
|
|
@@ -219,8 +200,7 @@ class ZonedAPI extends API$1 {
|
|
|
219
200
|
path: `/lb/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam("ipId", request.ipId)}`
|
|
220
201
|
});
|
|
221
202
|
/**
|
|
222
|
-
* Update an IP address. Update the reverse DNS of a Load Balancer flexible IP
|
|
223
|
-
* address.
|
|
203
|
+
* Update an IP address. Update the reverse DNS of a Load Balancer flexible IP address.
|
|
224
204
|
*
|
|
225
205
|
* @param request - The request {@link ZonedApiUpdateIpRequest}
|
|
226
206
|
* @returns A Promise of Ip
|
|
@@ -253,21 +233,14 @@ class ZonedAPI extends API$1 {
|
|
|
253
233
|
unmarshalListBackendsResponse
|
|
254
234
|
);
|
|
255
235
|
/**
|
|
256
|
-
* List the backends of a given Load Balancer. List all the backends of a Load
|
|
257
|
-
* Balancer, specified by its Load Balancer ID. By default, results are
|
|
258
|
-
* returned in ascending order by the creation date of each backend. The
|
|
259
|
-
* response is an array of backend objects, containing full details of each
|
|
260
|
-
* one including their configuration parameters such as protocol, port and
|
|
261
|
-
* forwarding algorithm.
|
|
236
|
+
* List the backends of a given Load Balancer. List all the backends of a Load Balancer, specified by its Load Balancer ID. By default, results are returned in ascending order by the creation date of each backend. The response is an array of backend objects, containing full details of each one including their configuration parameters such as protocol, port and forwarding algorithm.
|
|
262
237
|
*
|
|
263
238
|
* @param request - The request {@link ZonedApiListBackendsRequest}
|
|
264
239
|
* @returns A Promise of ListBackendsResponse
|
|
265
240
|
*/
|
|
266
241
|
listBackends = (request) => enrichForPagination("backends", this.pageOfListBackends, request);
|
|
267
242
|
/**
|
|
268
|
-
* Create a backend for a given Load Balancer. Create a new backend for a
|
|
269
|
-
* given Load Balancer, specifying its full configuration including protocol,
|
|
270
|
-
* port and forwarding algorithm.
|
|
243
|
+
* Create a backend for a given Load Balancer. Create a new backend for a given Load Balancer, specifying its full configuration including protocol, port and forwarding algorithm.
|
|
271
244
|
*
|
|
272
245
|
* @param request - The request {@link ZonedApiCreateBackendRequest}
|
|
273
246
|
* @returns A Promise of Backend
|
|
@@ -284,10 +257,7 @@ class ZonedAPI extends API$1 {
|
|
|
284
257
|
unmarshalBackend
|
|
285
258
|
);
|
|
286
259
|
/**
|
|
287
|
-
* Get a backend of a given Load Balancer. Get the full details of a given
|
|
288
|
-
* backend, specified by its backend ID. The response contains the backend's
|
|
289
|
-
* full configuration parameters including protocol, port and forwarding
|
|
290
|
-
* algorithm.
|
|
260
|
+
* Get a backend of a given Load Balancer. Get the full details of a given backend, specified by its backend ID. The response contains the backend's full configuration parameters including protocol, port and forwarding algorithm.
|
|
291
261
|
*
|
|
292
262
|
* @param request - The request {@link ZonedApiGetBackendRequest}
|
|
293
263
|
* @returns A Promise of Backend
|
|
@@ -300,9 +270,7 @@ class ZonedAPI extends API$1 {
|
|
|
300
270
|
unmarshalBackend
|
|
301
271
|
);
|
|
302
272
|
/**
|
|
303
|
-
* Update a backend of a given Load Balancer. Update a backend of a given Load
|
|
304
|
-
* Balancer, specified by its backend ID. Note that the request type is PUT
|
|
305
|
-
* and not PATCH. You must set all parameters.
|
|
273
|
+
* Update a backend of a given Load Balancer. Update a backend of a given Load Balancer, specified by its backend ID. Note that the request type is PUT and not PATCH. You must set all parameters.
|
|
306
274
|
*
|
|
307
275
|
* @param request - The request {@link ZonedApiUpdateBackendRequest}
|
|
308
276
|
* @returns A Promise of Backend
|
|
@@ -319,9 +287,7 @@ class ZonedAPI extends API$1 {
|
|
|
319
287
|
unmarshalBackend
|
|
320
288
|
);
|
|
321
289
|
/**
|
|
322
|
-
* Delete a backend of a given Load Balancer. Delete a backend of a given Load
|
|
323
|
-
* Balancer, specified by its backend ID. This action is irreversible and
|
|
324
|
-
* cannot be undone.
|
|
290
|
+
* Delete a backend of a given Load Balancer. Delete a backend of a given Load Balancer, specified by its backend ID. This action is irreversible and cannot be undone.
|
|
325
291
|
*
|
|
326
292
|
* @param request - The request {@link ZonedApiDeleteBackendRequest}
|
|
327
293
|
*/
|
|
@@ -330,10 +296,7 @@ class ZonedAPI extends API$1 {
|
|
|
330
296
|
path: `/lb/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam("backendId", request.backendId)}`
|
|
331
297
|
});
|
|
332
298
|
/**
|
|
333
|
-
* Add a set of backend servers to a given backend. For a given backend
|
|
334
|
-
* specified by its backend ID, add a set of backend servers (identified by
|
|
335
|
-
* their IP addresses) it should forward traffic to. These will be appended to
|
|
336
|
-
* any existing set of backend servers for this backend.
|
|
299
|
+
* Add a set of backend servers to a given backend. For a given backend specified by its backend ID, add a set of backend servers (identified by their IP addresses) it should forward traffic to. These will be appended to any existing set of backend servers for this backend.
|
|
337
300
|
*
|
|
338
301
|
* @param request - The request {@link ZonedApiAddBackendServersRequest}
|
|
339
302
|
* @returns A Promise of Backend
|
|
@@ -353,9 +316,7 @@ class ZonedAPI extends API$1 {
|
|
|
353
316
|
unmarshalBackend
|
|
354
317
|
);
|
|
355
318
|
/**
|
|
356
|
-
* Remove a set of servers for a given backend. For a given backend specified
|
|
357
|
-
* by its backend ID, remove the specified backend servers (identified by
|
|
358
|
-
* their IP addresses) so that it no longer forwards traffic to them.
|
|
319
|
+
* Remove a set of servers for a given backend. For a given backend specified by its backend ID, remove the specified backend servers (identified by their IP addresses) so that it no longer forwards traffic to them.
|
|
359
320
|
*
|
|
360
321
|
* @param request - The request {@link ZonedApiRemoveBackendServersRequest}
|
|
361
322
|
* @returns A Promise of Backend
|
|
@@ -375,10 +336,7 @@ class ZonedAPI extends API$1 {
|
|
|
375
336
|
unmarshalBackend
|
|
376
337
|
);
|
|
377
338
|
/**
|
|
378
|
-
* Define all backend servers for a given backend. For a given backend
|
|
379
|
-
* specified by its backend ID, define the set of backend servers (identified
|
|
380
|
-
* by their IP addresses) that it should forward traffic to. Any existing
|
|
381
|
-
* backend servers configured for this backend will be removed.
|
|
339
|
+
* Define all backend servers for a given backend. For a given backend specified by its backend ID, define the set of backend servers (identified by their IP addresses) that it should forward traffic to. Any existing backend servers configured for this backend will be removed.
|
|
382
340
|
*
|
|
383
341
|
* @param request - The request {@link ZonedApiSetBackendServersRequest}
|
|
384
342
|
* @returns A Promise of Backend
|
|
@@ -398,10 +356,7 @@ class ZonedAPI extends API$1 {
|
|
|
398
356
|
unmarshalBackend
|
|
399
357
|
);
|
|
400
358
|
/**
|
|
401
|
-
* Update a health check for a given backend. Update the configuration of the
|
|
402
|
-
* health check performed by a given backend to verify the health of its
|
|
403
|
-
* backend servers, identified by its backend ID. Note that the request type
|
|
404
|
-
* is PUT and not PATCH. You must set all parameters.
|
|
359
|
+
* Update a health check for a given backend. Update the configuration of the health check performed by a given backend to verify the health of its backend servers, identified by its backend ID. Note that the request type is PUT and not PATCH. You must set all parameters.
|
|
405
360
|
*
|
|
406
361
|
* @param request - The request {@link ZonedApiUpdateHealthCheckRequest}
|
|
407
362
|
* @returns A Promise of HealthCheck
|
|
@@ -437,21 +392,14 @@ class ZonedAPI extends API$1 {
|
|
|
437
392
|
unmarshalListFrontendsResponse
|
|
438
393
|
);
|
|
439
394
|
/**
|
|
440
|
-
* List frontends of a given Load Balancer. List all the frontends of a Load
|
|
441
|
-
* Balancer, specified by its Load Balancer ID. By default, results are
|
|
442
|
-
* returned in ascending order by the creation date of each frontend. The
|
|
443
|
-
* response is an array of frontend objects, containing full details of each
|
|
444
|
-
* one including the port they listen on and the backend they are attached
|
|
445
|
-
* to.
|
|
395
|
+
* List frontends of a given Load Balancer. List all the frontends of a Load Balancer, specified by its Load Balancer ID. By default, results are returned in ascending order by the creation date of each frontend. The response is an array of frontend objects, containing full details of each one including the port they listen on and the backend they are attached to.
|
|
446
396
|
*
|
|
447
397
|
* @param request - The request {@link ZonedApiListFrontendsRequest}
|
|
448
398
|
* @returns A Promise of ListFrontendsResponse
|
|
449
399
|
*/
|
|
450
400
|
listFrontends = (request) => enrichForPagination("frontends", this.pageOfListFrontends, request);
|
|
451
401
|
/**
|
|
452
|
-
* Create a frontend in a given Load Balancer. Create a new frontend for a
|
|
453
|
-
* given Load Balancer, specifying its configuration including the port it
|
|
454
|
-
* should listen on and the backend to attach it to.
|
|
402
|
+
* Create a frontend in a given Load Balancer. Create a new frontend for a given Load Balancer, specifying its configuration including the port it should listen on and the backend to attach it to.
|
|
455
403
|
*
|
|
456
404
|
* @param request - The request {@link ZonedApiCreateFrontendRequest}
|
|
457
405
|
* @returns A Promise of Frontend
|
|
@@ -468,10 +416,7 @@ class ZonedAPI extends API$1 {
|
|
|
468
416
|
unmarshalFrontend
|
|
469
417
|
);
|
|
470
418
|
/**
|
|
471
|
-
* Get a frontend. Get the full details of a given frontend, specified by its
|
|
472
|
-
* frontend ID. The response contains the frontend's full configuration
|
|
473
|
-
* parameters including the backend it is attached to, the port it listens on,
|
|
474
|
-
* and any certificates it has.
|
|
419
|
+
* Get a frontend. Get the full details of a given frontend, specified by its frontend ID. The response contains the frontend's full configuration parameters including the backend it is attached to, the port it listens on, and any certificates it has.
|
|
475
420
|
*
|
|
476
421
|
* @param request - The request {@link ZonedApiGetFrontendRequest}
|
|
477
422
|
* @returns A Promise of Frontend
|
|
@@ -484,10 +429,7 @@ class ZonedAPI extends API$1 {
|
|
|
484
429
|
unmarshalFrontend
|
|
485
430
|
);
|
|
486
431
|
/**
|
|
487
|
-
* Update a frontend. Update a given frontend, specified by its frontend ID.
|
|
488
|
-
* You can update configuration parameters including its name and the port it
|
|
489
|
-
* listens on. Note that the request type is PUT and not PATCH. You must set
|
|
490
|
-
* all parameters.
|
|
432
|
+
* Update a frontend. Update a given frontend, specified by its frontend ID. You can update configuration parameters including its name and the port it listens on. Note that the request type is PUT and not PATCH. You must set all parameters.
|
|
491
433
|
*
|
|
492
434
|
* @param request - The request {@link ZonedApiUpdateFrontendRequest}
|
|
493
435
|
* @returns A Promise of Frontend
|
|
@@ -504,8 +446,7 @@ class ZonedAPI extends API$1 {
|
|
|
504
446
|
unmarshalFrontend
|
|
505
447
|
);
|
|
506
448
|
/**
|
|
507
|
-
* Delete a frontend. Delete a given frontend, specified by its frontend ID.
|
|
508
|
-
* This action is irreversible and cannot be undone.
|
|
449
|
+
* Delete a frontend. Delete a given frontend, specified by its frontend ID. This action is irreversible and cannot be undone.
|
|
509
450
|
*
|
|
510
451
|
* @param request - The request {@link ZonedApiDeleteFrontendRequest}
|
|
511
452
|
*/
|
|
@@ -530,19 +471,14 @@ class ZonedAPI extends API$1 {
|
|
|
530
471
|
unmarshalListRoutesResponse
|
|
531
472
|
);
|
|
532
473
|
/**
|
|
533
|
-
* List all routes. List all routes for a given frontend. The response is an
|
|
534
|
-
* array of routes, each one with a specified backend to direct to if a
|
|
535
|
-
* certain condition is matched (based on the value of the SNI field or HTTP
|
|
536
|
-
* Host header).
|
|
474
|
+
* List all routes. List all routes for a given frontend. The response is an array of routes, each one with a specified backend to direct to if a certain condition is matched (based on the value of the SNI field or HTTP Host header).
|
|
537
475
|
*
|
|
538
476
|
* @param request - The request {@link ZonedApiListRoutesRequest}
|
|
539
477
|
* @returns A Promise of ListRoutesResponse
|
|
540
478
|
*/
|
|
541
479
|
listRoutes = (request = {}) => enrichForPagination("routes", this.pageOfListRoutes, request);
|
|
542
480
|
/**
|
|
543
|
-
* Create a route. Create a new route on a given frontend. To configure a
|
|
544
|
-
* route, specify the backend to direct to if a certain condition is matched
|
|
545
|
-
* (based on the value of the SNI field or HTTP Host header).
|
|
481
|
+
* Create a route. Create a new route on a given frontend. To configure a route, specify the backend to direct to if a certain condition is matched (based on the value of the SNI field or HTTP Host header).
|
|
546
482
|
*
|
|
547
483
|
* @param request - The request {@link ZonedApiCreateRouteRequest}
|
|
548
484
|
* @returns A Promise of Route
|
|
@@ -559,9 +495,7 @@ class ZonedAPI extends API$1 {
|
|
|
559
495
|
unmarshalRoute
|
|
560
496
|
);
|
|
561
497
|
/**
|
|
562
|
-
* Get a route. Retrieve information about an existing route, specified by its
|
|
563
|
-
* route ID. Its full details, origin frontend, target backend and match
|
|
564
|
-
* condition, are returned in the response object.
|
|
498
|
+
* Get a route. Retrieve information about an existing route, specified by its route ID. Its full details, origin frontend, target backend and match condition, are returned in the response object.
|
|
565
499
|
*
|
|
566
500
|
* @param request - The request {@link ZonedApiGetRouteRequest}
|
|
567
501
|
* @returns A Promise of Route
|
|
@@ -574,8 +508,7 @@ class ZonedAPI extends API$1 {
|
|
|
574
508
|
unmarshalRoute
|
|
575
509
|
);
|
|
576
510
|
/**
|
|
577
|
-
* Update a route. Update the configuration of an existing route, specified by
|
|
578
|
-
* its route ID.
|
|
511
|
+
* Update a route. Update the configuration of an existing route, specified by its route ID.
|
|
579
512
|
*
|
|
580
513
|
* @param request - The request {@link ZonedApiUpdateRouteRequest}
|
|
581
514
|
* @returns A Promise of Route
|
|
@@ -592,8 +525,7 @@ class ZonedAPI extends API$1 {
|
|
|
592
525
|
unmarshalRoute
|
|
593
526
|
);
|
|
594
527
|
/**
|
|
595
|
-
* Delete a route. Delete an existing route, specified by its route ID.
|
|
596
|
-
* Deleting a route is permanent, and cannot be undone.
|
|
528
|
+
* Delete a route. Delete an existing route, specified by its route ID. Deleting a route is permanent, and cannot be undone.
|
|
597
529
|
*
|
|
598
530
|
* @param request - The request {@link ZonedApiDeleteRouteRequest}
|
|
599
531
|
*/
|
|
@@ -632,8 +564,7 @@ class ZonedAPI extends API$1 {
|
|
|
632
564
|
unmarshalListBackendStatsResponse
|
|
633
565
|
);
|
|
634
566
|
/**
|
|
635
|
-
* List backend server statistics. List information about your backend
|
|
636
|
-
* servers, including their state and the result of their last health check.
|
|
567
|
+
* List backend server statistics. List information about your backend servers, including their state and the result of their last health check.
|
|
637
568
|
*
|
|
638
569
|
* @param request - The request {@link ZonedApiListBackendStatsRequest}
|
|
639
570
|
* @returns A Promise of ListBackendStatsResponse
|
|
@@ -660,20 +591,14 @@ class ZonedAPI extends API$1 {
|
|
|
660
591
|
unmarshalListAclResponse
|
|
661
592
|
);
|
|
662
593
|
/**
|
|
663
|
-
* List ACLs for a given frontend. List the ACLs for a given frontend,
|
|
664
|
-
* specified by its frontend ID. The response is an array of ACL objects, each
|
|
665
|
-
* one representing an ACL that denies or allows traffic based on certain
|
|
666
|
-
* conditions.
|
|
594
|
+
* List ACLs for a given frontend. List the ACLs for a given frontend, specified by its frontend ID. The response is an array of ACL objects, each one representing an ACL that denies or allows traffic based on certain conditions.
|
|
667
595
|
*
|
|
668
596
|
* @param request - The request {@link ZonedApiListAclsRequest}
|
|
669
597
|
* @returns A Promise of ListAclResponse
|
|
670
598
|
*/
|
|
671
599
|
listAcls = (request) => enrichForPagination("acls", this.pageOfListAcls, request);
|
|
672
600
|
/**
|
|
673
|
-
* Create an ACL for a given frontend. Create a new ACL for a given frontend.
|
|
674
|
-
* Each ACL must have a name, an action to perform (allow or deny), and a
|
|
675
|
-
* match rule (the action is carried out when the incoming traffic matches the
|
|
676
|
-
* rule).
|
|
601
|
+
* Create an ACL for a given frontend. Create a new ACL for a given frontend. Each ACL must have a name, an action to perform (allow or deny), and a match rule (the action is carried out when the incoming traffic matches the rule).
|
|
677
602
|
*
|
|
678
603
|
* @param request - The request {@link ZonedApiCreateAclRequest}
|
|
679
604
|
* @returns A Promise of Acl
|
|
@@ -690,9 +615,7 @@ class ZonedAPI extends API$1 {
|
|
|
690
615
|
unmarshalAcl
|
|
691
616
|
);
|
|
692
617
|
/**
|
|
693
|
-
* Get an ACL. Get information for a particular ACL, specified by its ACL ID.
|
|
694
|
-
* The response returns full details of the ACL, including its name, action,
|
|
695
|
-
* match rule and frontend.
|
|
618
|
+
* Get an ACL. Get information for a particular ACL, specified by its ACL ID. The response returns full details of the ACL, including its name, action, match rule and frontend.
|
|
696
619
|
*
|
|
697
620
|
* @param request - The request {@link ZonedApiGetAclRequest}
|
|
698
621
|
* @returns A Promise of Acl
|
|
@@ -705,8 +628,7 @@ class ZonedAPI extends API$1 {
|
|
|
705
628
|
unmarshalAcl
|
|
706
629
|
);
|
|
707
630
|
/**
|
|
708
|
-
* Update an ACL. Update a particular ACL, specified by its ACL ID. You can
|
|
709
|
-
* update details including its name, action and match rule.
|
|
631
|
+
* Update an ACL. Update a particular ACL, specified by its ACL ID. You can update details including its name, action and match rule.
|
|
710
632
|
*
|
|
711
633
|
* @param request - The request {@link ZonedApiUpdateAclRequest}
|
|
712
634
|
* @returns A Promise of Acl
|
|
@@ -723,8 +645,7 @@ class ZonedAPI extends API$1 {
|
|
|
723
645
|
unmarshalAcl
|
|
724
646
|
);
|
|
725
647
|
/**
|
|
726
|
-
* Delete an ACL. Delete an ACL, specified by its ACL ID. Deleting an ACL is
|
|
727
|
-
* irreversible and cannot be undone.
|
|
648
|
+
* Delete an ACL. Delete an ACL, specified by its ACL ID. Deleting an ACL is irreversible and cannot be undone.
|
|
728
649
|
*
|
|
729
650
|
* @param request - The request {@link ZonedApiDeleteAclRequest}
|
|
730
651
|
*/
|
|
@@ -733,9 +654,7 @@ class ZonedAPI extends API$1 {
|
|
|
733
654
|
path: `/lb/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/acls/${validatePathParam("aclId", request.aclId)}`
|
|
734
655
|
});
|
|
735
656
|
/**
|
|
736
|
-
* Define all ACLs for a given frontend. For a given frontend specified by its
|
|
737
|
-
* frontend ID, define and add the complete set of ACLS for that frontend. Any
|
|
738
|
-
* existing ACLs on this frontend will be removed.
|
|
657
|
+
* Define all ACLs for a given frontend. For a given frontend specified by its frontend ID, define and add the complete set of ACLS for that frontend. Any existing ACLs on this frontend will be removed.
|
|
739
658
|
*
|
|
740
659
|
* @param request - The request {@link ZonedApiSetAclsRequest}
|
|
741
660
|
* @returns A Promise of SetAclsResponse
|
|
@@ -752,9 +671,7 @@ class ZonedAPI extends API$1 {
|
|
|
752
671
|
unmarshalSetAclsResponse
|
|
753
672
|
);
|
|
754
673
|
/**
|
|
755
|
-
* Create an SSL/TLS certificate. Generate a new SSL/TLS certificate for a
|
|
756
|
-
* given Load Balancer. You can choose to create a Let's Encrypt certificate,
|
|
757
|
-
* or import a custom certificate.
|
|
674
|
+
* Create an SSL/TLS certificate. Generate a new SSL/TLS certificate for a given Load Balancer. You can choose to create a Let's Encrypt certificate, or import a custom certificate.
|
|
758
675
|
*
|
|
759
676
|
* @param request - The request {@link ZonedApiCreateCertificateRequest}
|
|
760
677
|
* @returns A Promise of Certificate
|
|
@@ -790,20 +707,14 @@ class ZonedAPI extends API$1 {
|
|
|
790
707
|
unmarshalListCertificatesResponse
|
|
791
708
|
);
|
|
792
709
|
/**
|
|
793
|
-
* List all SSL/TLS certificates on a given Load Balancer. List all the
|
|
794
|
-
* SSL/TLS certificates on a given Load Balancer. The response is an array of
|
|
795
|
-
* certificate objects, which are by default listed in ascending order of
|
|
796
|
-
* creation date.
|
|
710
|
+
* List all SSL/TLS certificates on a given Load Balancer. List all the SSL/TLS certificates on a given Load Balancer. The response is an array of certificate objects, which are by default listed in ascending order of creation date.
|
|
797
711
|
*
|
|
798
712
|
* @param request - The request {@link ZonedApiListCertificatesRequest}
|
|
799
713
|
* @returns A Promise of ListCertificatesResponse
|
|
800
714
|
*/
|
|
801
715
|
listCertificates = (request) => enrichForPagination("certificates", this.pageOfListCertificates, request);
|
|
802
716
|
/**
|
|
803
|
-
* Get an SSL/TLS certificate. Get information for a particular SSL/TLS
|
|
804
|
-
* certificate, specified by its certificate ID. The response returns full
|
|
805
|
-
* details of the certificate, including its type, main domain name, and
|
|
806
|
-
* alternative domain names.
|
|
717
|
+
* Get an SSL/TLS certificate. Get information for a particular SSL/TLS certificate, specified by its certificate ID. The response returns full details of the certificate, including its type, main domain name, and alternative domain names.
|
|
807
718
|
*
|
|
808
719
|
* @param request - The request {@link ZonedApiGetCertificateRequest}
|
|
809
720
|
* @returns A Promise of Certificate
|
|
@@ -831,8 +742,7 @@ class ZonedAPI extends API$1 {
|
|
|
831
742
|
options
|
|
832
743
|
);
|
|
833
744
|
/**
|
|
834
|
-
* Update an SSL/TLS certificate. Update the name of a particular SSL/TLS
|
|
835
|
-
* certificate, specified by its certificate ID.
|
|
745
|
+
* Update an SSL/TLS certificate. Update the name of a particular SSL/TLS certificate, specified by its certificate ID.
|
|
836
746
|
*
|
|
837
747
|
* @param request - The request {@link ZonedApiUpdateCertificateRequest}
|
|
838
748
|
* @returns A Promise of Certificate
|
|
@@ -852,9 +762,7 @@ class ZonedAPI extends API$1 {
|
|
|
852
762
|
unmarshalCertificate
|
|
853
763
|
);
|
|
854
764
|
/**
|
|
855
|
-
* Delete an SSL/TLS certificate. Delete an SSL/TLS certificate, specified by
|
|
856
|
-
* its certificate ID. Deleting a certificate is irreversible and cannot be
|
|
857
|
-
* undone.
|
|
765
|
+
* Delete an SSL/TLS certificate. Delete an SSL/TLS certificate, specified by its certificate ID. Deleting a certificate is irreversible and cannot be undone.
|
|
858
766
|
*
|
|
859
767
|
* @param request - The request {@link ZonedApiDeleteCertificateRequest}
|
|
860
768
|
*/
|
|
@@ -877,18 +785,14 @@ class ZonedAPI extends API$1 {
|
|
|
877
785
|
unmarshalListLbTypesResponse
|
|
878
786
|
);
|
|
879
787
|
/**
|
|
880
|
-
* List all Load Balancer offer types. List all the different commercial Load
|
|
881
|
-
* Balancer types. The response includes an array of offer types, each with a
|
|
882
|
-
* name, description, and information about its stock availability.
|
|
788
|
+
* List all Load Balancer offer types. List all the different commercial Load Balancer types. The response includes an array of offer types, each with a name, description, and information about its stock availability.
|
|
883
789
|
*
|
|
884
790
|
* @param request - The request {@link ZonedApiListLbTypesRequest}
|
|
885
791
|
* @returns A Promise of ListLbTypesResponse
|
|
886
792
|
*/
|
|
887
793
|
listLbTypes = (request = {}) => enrichForPagination("lbTypes", this.pageOfListLbTypes, request);
|
|
888
794
|
/**
|
|
889
|
-
* Create a subscriber. Create a new subscriber, either with an email
|
|
890
|
-
* configuration or a webhook configuration, for a specified Scaleway
|
|
891
|
-
* Project.
|
|
795
|
+
* Create a subscriber. Create a new subscriber, either with an email configuration or a webhook configuration, for a specified Scaleway Project.
|
|
892
796
|
*
|
|
893
797
|
* @param request - The request {@link ZonedApiCreateSubscriberRequest}
|
|
894
798
|
* @returns A Promise of Subscriber
|
|
@@ -905,9 +809,7 @@ class ZonedAPI extends API$1 {
|
|
|
905
809
|
unmarshalSubscriber
|
|
906
810
|
);
|
|
907
811
|
/**
|
|
908
|
-
* Get a subscriber. Retrieve information about an existing subscriber,
|
|
909
|
-
* specified by its subscriber ID. Its full details, including name and
|
|
910
|
-
* email/webhook configuration, are returned in the response object.
|
|
812
|
+
* Get a subscriber. Retrieve information about an existing subscriber, specified by its subscriber ID. Its full details, including name and email/webhook configuration, are returned in the response object.
|
|
911
813
|
*
|
|
912
814
|
* @param request - The request {@link ZonedApiGetSubscriberRequest}
|
|
913
815
|
* @returns A Promise of Subscriber
|
|
@@ -938,19 +840,14 @@ class ZonedAPI extends API$1 {
|
|
|
938
840
|
unmarshalListSubscriberResponse
|
|
939
841
|
);
|
|
940
842
|
/**
|
|
941
|
-
* List all subscribers. List all subscribers to Load Balancer alerts. By
|
|
942
|
-
* default, returns all subscribers to Load Balancer alerts for the
|
|
943
|
-
* Organization associated with the authentication token used for the
|
|
944
|
-
* request.
|
|
843
|
+
* List all subscribers. List all subscribers to Load Balancer alerts. By default, returns all subscribers to Load Balancer alerts for the Organization associated with the authentication token used for the request.
|
|
945
844
|
*
|
|
946
845
|
* @param request - The request {@link ZonedApiListSubscriberRequest}
|
|
947
846
|
* @returns A Promise of ListSubscriberResponse
|
|
948
847
|
*/
|
|
949
848
|
listSubscriber = (request = {}) => enrichForPagination("subscribers", this.pageOfListSubscriber, request);
|
|
950
849
|
/**
|
|
951
|
-
* Update a subscriber. Update the parameters of a given subscriber (e.g.
|
|
952
|
-
* name, webhook configuration, email configuration), specified by its
|
|
953
|
-
* subscriber ID.
|
|
850
|
+
* Update a subscriber. Update the parameters of a given subscriber (e.g. name, webhook configuration, email configuration), specified by its subscriber ID.
|
|
954
851
|
*
|
|
955
852
|
* @param request - The request {@link ZonedApiUpdateSubscriberRequest}
|
|
956
853
|
* @returns A Promise of Subscriber
|
|
@@ -967,8 +864,7 @@ class ZonedAPI extends API$1 {
|
|
|
967
864
|
unmarshalSubscriber
|
|
968
865
|
);
|
|
969
866
|
/**
|
|
970
|
-
* Delete a subscriber. Delete an existing subscriber, specified by its
|
|
971
|
-
* subscriber ID. Deleting a subscriber is permanent, and cannot be undone.
|
|
867
|
+
* Delete a subscriber. Delete an existing subscriber, specified by its subscriber ID. Deleting a subscriber is permanent, and cannot be undone.
|
|
972
868
|
*
|
|
973
869
|
* @param request - The request {@link ZonedApiDeleteSubscriberRequest}
|
|
974
870
|
*/
|
|
@@ -977,8 +873,7 @@ class ZonedAPI extends API$1 {
|
|
|
977
873
|
path: `/lb/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/lb/subscription/${validatePathParam("subscriberId", request.subscriberId)}`
|
|
978
874
|
});
|
|
979
875
|
/**
|
|
980
|
-
* Subscribe a subscriber to alerts for a given Load Balancer. Subscribe an
|
|
981
|
-
* existing subscriber to alerts for a given Load Balancer.
|
|
876
|
+
* Subscribe a subscriber to alerts for a given Load Balancer. Subscribe an existing subscriber to alerts for a given Load Balancer.
|
|
982
877
|
*
|
|
983
878
|
* @param request - The request {@link ZonedApiSubscribeToLbRequest}
|
|
984
879
|
* @returns A Promise of Lb
|
|
@@ -995,9 +890,7 @@ class ZonedAPI extends API$1 {
|
|
|
995
890
|
unmarshalLb
|
|
996
891
|
);
|
|
997
892
|
/**
|
|
998
|
-
* Unsubscribe a subscriber from alerts for a given Load Balancer. Unsubscribe
|
|
999
|
-
* a subscriber from alerts for a given Load Balancer. The subscriber is not
|
|
1000
|
-
* deleted, and can be resubscribed in the future if necessary.
|
|
893
|
+
* Unsubscribe a subscriber from alerts for a given Load Balancer. Unsubscribe a subscriber from alerts for a given Load Balancer. The subscriber is not deleted, and can be resubscribed in the future if necessary.
|
|
1001
894
|
*
|
|
1002
895
|
* @param request - The request {@link ZonedApiUnsubscribeFromLbRequest}
|
|
1003
896
|
* @returns A Promise of Lb
|
|
@@ -1025,11 +918,7 @@ class ZonedAPI extends API$1 {
|
|
|
1025
918
|
unmarshalListLbPrivateNetworksResponse
|
|
1026
919
|
);
|
|
1027
920
|
/**
|
|
1028
|
-
* List Private Networks attached to a Load Balancer. List the Private
|
|
1029
|
-
* Networks attached to a given Load Balancer, specified by its Load Balancer
|
|
1030
|
-
* ID. The response is an array of Private Network objects, giving information
|
|
1031
|
-
* including the status, configuration, name and creation date of each Private
|
|
1032
|
-
* Network.
|
|
921
|
+
* List Private Networks attached to a Load Balancer. List the Private Networks attached to a given Load Balancer, specified by its Load Balancer ID. The response is an array of Private Network objects, giving information including the status, configuration, name and creation date of each Private Network.
|
|
1033
922
|
*
|
|
1034
923
|
* @param request - The request {@link ZonedApiListLbPrivateNetworksRequest}
|
|
1035
924
|
* @returns A Promise of ListLbPrivateNetworksResponse
|
|
@@ -1040,9 +929,7 @@ class ZonedAPI extends API$1 {
|
|
|
1040
929
|
request
|
|
1041
930
|
);
|
|
1042
931
|
/**
|
|
1043
|
-
* Attach a Load Balancer to a Private Network. Attach a specified Load
|
|
1044
|
-
* Balancer to a specified Private Network, defining a static or DHCP
|
|
1045
|
-
* configuration for the Load Balancer on the network.
|
|
932
|
+
* Attach a Load Balancer to a Private Network. Attach a specified Load Balancer to a specified Private Network, defining a static or DHCP configuration for the Load Balancer on the network.
|
|
1046
933
|
*
|
|
1047
934
|
* @param request - The request {@link ZonedApiAttachPrivateNetworkRequest}
|
|
1048
935
|
* @returns A Promise of PrivateNetwork
|
|
@@ -1057,21 +944,25 @@ class ZonedAPI extends API$1 {
|
|
|
1057
944
|
),
|
|
1058
945
|
headers: jsonContentHeaders,
|
|
1059
946
|
method: "POST",
|
|
1060
|
-
path: `/lb/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam("lbId", request.lbId)}/private-
|
|
947
|
+
path: `/lb/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam("lbId", request.lbId)}/attach-private-network`
|
|
1061
948
|
},
|
|
1062
949
|
unmarshalPrivateNetwork
|
|
1063
950
|
);
|
|
1064
951
|
/**
|
|
1065
|
-
* Detach Load Balancer from Private Network. Detach a specified Load Balancer
|
|
1066
|
-
* from a specified Private Network.
|
|
952
|
+
* Detach Load Balancer from Private Network. Detach a specified Load Balancer from a specified Private Network.
|
|
1067
953
|
*
|
|
1068
954
|
* @param request - The request {@link ZonedApiDetachPrivateNetworkRequest}
|
|
1069
955
|
*/
|
|
1070
956
|
detachPrivateNetwork = (request) => this.client.fetch({
|
|
1071
|
-
body:
|
|
957
|
+
body: JSON.stringify(
|
|
958
|
+
marshalZonedApiDetachPrivateNetworkRequest(
|
|
959
|
+
request,
|
|
960
|
+
this.client.settings
|
|
961
|
+
)
|
|
962
|
+
),
|
|
1072
963
|
headers: jsonContentHeaders,
|
|
1073
964
|
method: "POST",
|
|
1074
|
-
path: `/lb/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam("lbId", request.lbId)}/private-
|
|
965
|
+
path: `/lb/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam("lbId", request.lbId)}/detach-private-network`
|
|
1075
966
|
});
|
|
1076
967
|
}
|
|
1077
968
|
class API extends API$1 {
|
|
@@ -1702,8 +1593,7 @@ class API extends API$1 {
|
|
|
1702
1593
|
path: `/lb/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/acls/${validatePathParam("aclId", request.aclId)}`
|
|
1703
1594
|
});
|
|
1704
1595
|
/**
|
|
1705
|
-
* Create a TLS certificate. Generate a new TLS certificate using Let's
|
|
1706
|
-
* Encrypt or import your certificate.
|
|
1596
|
+
* Create a TLS certificate. Generate a new TLS certificate using Let's Encrypt or import your certificate.
|
|
1707
1597
|
*
|
|
1708
1598
|
* @param request - The request {@link CreateCertificateRequest}
|
|
1709
1599
|
* @returns A Promise of Certificate
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
3
|
+
require("../../../client/dist/internal/logger/index.cjs");
|
|
4
|
+
const intervalRetrier = require("../../../client/dist/internal/async/interval-retrier.cjs");
|
|
5
|
+
require("../../../client/dist/vendor/base64/index.cjs");
|
|
4
6
|
const api_gen = require("./api.gen.cjs");
|
|
5
7
|
const content_gen = require("./content.gen.cjs");
|
|
6
8
|
class LbV1UtilsAPI extends api_gen.API {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WaitForOptions } from '
|
|
1
|
+
import type { WaitForOptions } from '@scaleway/sdk-client';
|
|
2
2
|
import { API, ZonedAPI } from './api.gen.js';
|
|
3
3
|
import type { GetLbRequest, Lb, ListLbPrivateNetworksResponse, PrivateNetwork } from './types.gen';
|
|
4
4
|
import type { WaitForLbPrivateNetworksRequest, ZonedWaitForLbPrivateNetworksRequest } from './types.utils';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "../../../client/dist/internal/logger/index.js";
|
|
2
|
+
import { tryAtIntervals, createExponentialBackoffStrategy } from "../../../client/dist/internal/async/interval-retrier.js";
|
|
3
|
+
import "../../../client/dist/vendor/base64/index.js";
|
|
2
4
|
import { API, ZonedAPI } from "./api.gen.js";
|
|
3
5
|
import { PRIVATE_NETWORK_TRANSIENT_STATUSES, LB_TRANSIENT_STATUSES, INSTANCE_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
4
6
|
class LbV1UtilsAPI extends API {
|