@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,50 +1,81 @@
|
|
|
1
|
-
import type { Zone as ScwZone } from '
|
|
1
|
+
import type { Zone as ScwZone } from '@scaleway/sdk-client';
|
|
2
2
|
import type { Arch, BootType, Image, PlacementGroup, PrivateNIC, SecurityGroup, SecurityGroupPolicy, SecurityGroupRule, SecurityGroupRuleAction, SecurityGroupRuleDirection, SecurityGroupRuleProtocol, SecurityGroupSummary, Server, ServerAction, ServerIp, ServerIpv6, ServerLocation, ServerMaintenance, ServerState, ServerSummary, Snapshot, SnapshotBaseVolume, SnapshotState, Volume, VolumeVolumeType } from './types.gen';
|
|
3
3
|
export interface SetImageResponse {
|
|
4
4
|
image?: Image;
|
|
5
5
|
}
|
|
6
6
|
export type SetSecurityGroupRequest = {
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
9
|
+
*/
|
|
8
10
|
zone?: ScwZone;
|
|
9
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* UUID of the security group.
|
|
13
|
+
*/
|
|
10
14
|
id: string;
|
|
11
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Name of the security group.
|
|
17
|
+
*/
|
|
12
18
|
name: string;
|
|
13
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* Tags of the security group.
|
|
21
|
+
*/
|
|
14
22
|
tags?: string[];
|
|
15
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* Creation date of the security group (will be ignored).
|
|
25
|
+
*/
|
|
16
26
|
creationDate?: Date;
|
|
17
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Modification date of the security group (will be ignored).
|
|
29
|
+
*/
|
|
18
30
|
modificationDate?: Date;
|
|
19
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Description of the security group.
|
|
33
|
+
*/
|
|
20
34
|
description: string;
|
|
21
35
|
/**
|
|
22
|
-
* True to block SMTP on IPv4 and IPv6. This feature is read only, please open
|
|
23
|
-
* a support ticket if you need to make it configurable.
|
|
36
|
+
* True to block SMTP on IPv4 and IPv6. This feature is read only, please open a support ticket if you need to make it configurable.
|
|
24
37
|
*/
|
|
25
38
|
enableDefaultSecurity: boolean;
|
|
26
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Default inbound policy.
|
|
41
|
+
*/
|
|
27
42
|
inboundDefaultPolicy?: SecurityGroupPolicy;
|
|
28
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* Default outbound policy.
|
|
45
|
+
*/
|
|
29
46
|
outboundDefaultPolicy?: SecurityGroupPolicy;
|
|
30
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* Security groups Organization ID.
|
|
49
|
+
*/
|
|
31
50
|
organization?: string;
|
|
32
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* Security group Project ID.
|
|
53
|
+
*/
|
|
33
54
|
project?: string;
|
|
34
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* @deprecated Please use project_default instead.
|
|
57
|
+
*/
|
|
35
58
|
organizationDefault?: boolean;
|
|
36
|
-
/**
|
|
59
|
+
/**
|
|
60
|
+
* True use this security group for future Instances created in this project.
|
|
61
|
+
*/
|
|
37
62
|
projectDefault: boolean;
|
|
38
|
-
/**
|
|
63
|
+
/**
|
|
64
|
+
* Instances attached to this security group.
|
|
65
|
+
*/
|
|
39
66
|
servers?: ServerSummary[];
|
|
40
|
-
/**
|
|
67
|
+
/**
|
|
68
|
+
* True to set the security group as stateful.
|
|
69
|
+
*/
|
|
41
70
|
stateful: boolean;
|
|
42
71
|
};
|
|
43
72
|
export interface SetSecurityGroupResponse {
|
|
44
73
|
securityGroup?: SecurityGroup;
|
|
45
74
|
}
|
|
46
75
|
export type SetSecurityGroupRuleRequest = {
|
|
47
|
-
/**
|
|
76
|
+
/**
|
|
77
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
78
|
+
*/
|
|
48
79
|
zone?: ScwZone;
|
|
49
80
|
securityGroupId: string;
|
|
50
81
|
securityGroupRuleId: string;
|
|
@@ -62,89 +93,128 @@ export interface SetSecurityGroupRuleResponse {
|
|
|
62
93
|
rule?: SecurityGroupRule;
|
|
63
94
|
}
|
|
64
95
|
export type SetServerRequest = {
|
|
65
|
-
/**
|
|
96
|
+
/**
|
|
97
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
98
|
+
*/
|
|
66
99
|
zone?: ScwZone;
|
|
67
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* Instance unique ID.
|
|
102
|
+
*/
|
|
68
103
|
id: string;
|
|
69
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* Instance name.
|
|
106
|
+
*/
|
|
70
107
|
name: string;
|
|
71
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Instance Organization ID.
|
|
110
|
+
*/
|
|
72
111
|
organization?: string;
|
|
73
|
-
/**
|
|
112
|
+
/**
|
|
113
|
+
* Instance Project ID.
|
|
114
|
+
*/
|
|
74
115
|
project?: string;
|
|
75
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* Provide a list of allowed actions on the server.
|
|
118
|
+
*/
|
|
76
119
|
allowedActions?: ServerAction[];
|
|
77
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* Tags associated with the Instance.
|
|
122
|
+
*/
|
|
78
123
|
tags?: string[];
|
|
79
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* Instance commercial type (eg. GP1-M).
|
|
126
|
+
*/
|
|
80
127
|
commercialType: string;
|
|
81
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* Instance creation date.
|
|
130
|
+
*/
|
|
82
131
|
creationDate?: Date;
|
|
83
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* True if a dynamic IPv4 is required.
|
|
134
|
+
*/
|
|
84
135
|
dynamicIpRequired: boolean;
|
|
85
136
|
/**
|
|
86
|
-
* @deprecated True to configure the instance so it uses the new routed IP
|
|
87
|
-
* mode (once this is set to True you cannot set it back to False).
|
|
137
|
+
* @deprecated True to configure the instance so it uses the new routed IP mode (once this is set to True you cannot set it back to False).
|
|
88
138
|
*/
|
|
89
139
|
routedIpEnabled?: boolean;
|
|
90
140
|
/**
|
|
91
|
-
* @deprecated True if IPv6 is enabled (deprecated and always `False` when
|
|
92
|
-
* `routed_ip_enabled` is `True`).
|
|
141
|
+
* @deprecated True if IPv6 is enabled (deprecated and always `False` when `routed_ip_enabled` is `True`).
|
|
93
142
|
*/
|
|
94
143
|
enableIpv6?: boolean;
|
|
95
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* Instance host name.
|
|
146
|
+
*/
|
|
96
147
|
hostname: string;
|
|
97
|
-
/**
|
|
148
|
+
/**
|
|
149
|
+
* Provide information on the Instance image.
|
|
150
|
+
*/
|
|
98
151
|
image?: Image;
|
|
99
|
-
/**
|
|
152
|
+
/**
|
|
153
|
+
* Instance protection option is activated.
|
|
154
|
+
*/
|
|
100
155
|
protected: boolean;
|
|
101
156
|
/**
|
|
102
|
-
* @deprecated Instance private IP address (deprecated and always `null` when
|
|
103
|
-
* `routed_ip_enabled` is `True`).
|
|
157
|
+
* @deprecated Instance private IP address (deprecated and always `null` when `routed_ip_enabled` is `True`).
|
|
104
158
|
*/
|
|
105
159
|
privateIp?: string;
|
|
106
160
|
/**
|
|
107
|
-
* @deprecated Information about the public IP (deprecated in favor of
|
|
108
|
-
* `public_ips`).
|
|
161
|
+
* @deprecated Information about the public IP (deprecated in favor of `public_ips`).
|
|
109
162
|
*/
|
|
110
163
|
publicIp?: ServerIp;
|
|
111
|
-
/**
|
|
164
|
+
/**
|
|
165
|
+
* Information about all the public IPs attached to the server.
|
|
166
|
+
*/
|
|
112
167
|
publicIps?: ServerIp[];
|
|
113
|
-
/**
|
|
168
|
+
/**
|
|
169
|
+
* Instance modification date.
|
|
170
|
+
*/
|
|
114
171
|
modificationDate?: Date;
|
|
115
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* Instance state.
|
|
174
|
+
*/
|
|
116
175
|
state?: ServerState;
|
|
117
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* Instance location.
|
|
178
|
+
*/
|
|
118
179
|
location?: ServerLocation;
|
|
119
180
|
/**
|
|
120
|
-
* @deprecated Instance IPv6 address (deprecated when `routed_ip_enabled` is
|
|
121
|
-
* `True`).
|
|
181
|
+
* @deprecated Instance IPv6 address (deprecated when `routed_ip_enabled` is `True`).
|
|
122
182
|
*/
|
|
123
183
|
ipv6?: ServerIpv6;
|
|
124
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Instance boot type.
|
|
186
|
+
*/
|
|
125
187
|
bootType?: BootType;
|
|
126
|
-
/**
|
|
188
|
+
/**
|
|
189
|
+
* Instance volumes.
|
|
190
|
+
*/
|
|
127
191
|
volumes?: Record<string, Volume>;
|
|
128
|
-
/**
|
|
192
|
+
/**
|
|
193
|
+
* Instance security group.
|
|
194
|
+
*/
|
|
129
195
|
securityGroup?: SecurityGroupSummary;
|
|
130
|
-
/**
|
|
196
|
+
/**
|
|
197
|
+
* Instance planned maintenances.
|
|
198
|
+
*/
|
|
131
199
|
maintenances?: ServerMaintenance[];
|
|
132
|
-
/**
|
|
200
|
+
/**
|
|
201
|
+
* Instance state_detail.
|
|
202
|
+
*/
|
|
133
203
|
stateDetail: string;
|
|
134
204
|
/**
|
|
135
|
-
* Instance architecture (refers to the CPU architecture used for the
|
|
136
|
-
* Instance, e.g. x86_64, arm64).
|
|
205
|
+
* Instance architecture (refers to the CPU architecture used for the Instance, e.g. x86_64, arm64).
|
|
137
206
|
*/
|
|
138
207
|
arch?: Arch;
|
|
139
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* Instance placement group.
|
|
210
|
+
*/
|
|
140
211
|
placementGroup?: PlacementGroup;
|
|
141
|
-
/**
|
|
212
|
+
/**
|
|
213
|
+
* Instance private NICs.
|
|
214
|
+
*/
|
|
142
215
|
privateNics?: PrivateNIC[];
|
|
143
216
|
/**
|
|
144
|
-
* The public_key value of this key is used to encrypt the admin password.
|
|
145
|
-
* When set to an empty string, reset this value and
|
|
146
|
-
* admin_password_encrypted_value to an empty string so a new password may be
|
|
147
|
-
* generated.
|
|
217
|
+
* The public_key value of this key is used to encrypt the admin password. When set to an empty string, reset this value and admin_password_encrypted_value to an empty string so a new password may be generated.
|
|
148
218
|
*/
|
|
149
219
|
adminPasswordEncryptionSshKeyId?: string;
|
|
150
220
|
};
|
|
@@ -152,7 +222,9 @@ export interface SetServerResponse {
|
|
|
152
222
|
server?: Server;
|
|
153
223
|
}
|
|
154
224
|
export type SetSnapshotRequest = {
|
|
155
|
-
/**
|
|
225
|
+
/**
|
|
226
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
227
|
+
*/
|
|
156
228
|
zone?: ScwZone;
|
|
157
229
|
snapshotId: string;
|
|
158
230
|
id: string;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
require("../../../
|
|
6
|
-
const
|
|
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");
|
|
9
|
+
const content_gen = require("./content.gen.cjs");
|
|
7
10
|
const marshalling_gen = require("./marshalling.gen.cjs");
|
|
8
11
|
const jsonContentHeaders = {
|
|
9
12
|
"Content-Type": "application/json; charset=utf-8"
|
|
@@ -15,6 +18,69 @@ class API extends api.API {
|
|
|
15
18
|
"nl-ams",
|
|
16
19
|
"pl-waw"
|
|
17
20
|
];
|
|
21
|
+
pageOfListDedicatedConnections = (request = {}) => this.client.fetch(
|
|
22
|
+
{
|
|
23
|
+
method: "GET",
|
|
24
|
+
path: `/interlink/v1beta1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/dedicated-connections`,
|
|
25
|
+
urlParams: marshalling.urlParams(
|
|
26
|
+
["bandwidth_mbps", request.bandwidthMbps],
|
|
27
|
+
["name", request.name],
|
|
28
|
+
["order_by", request.orderBy],
|
|
29
|
+
["organization_id", request.organizationId],
|
|
30
|
+
["page", request.page],
|
|
31
|
+
[
|
|
32
|
+
"page_size",
|
|
33
|
+
request.pageSize ?? this.client.settings.defaultPageSize
|
|
34
|
+
],
|
|
35
|
+
["pop_id", request.popId],
|
|
36
|
+
["project_id", request.projectId],
|
|
37
|
+
["status", request.status],
|
|
38
|
+
["tags", request.tags]
|
|
39
|
+
)
|
|
40
|
+
},
|
|
41
|
+
marshalling_gen.unmarshalListDedicatedConnectionsResponse
|
|
42
|
+
);
|
|
43
|
+
/**
|
|
44
|
+
* List dedicated connections. For self-hosted users, list their dedicated physical connections in a given region. By default, the connections returned in the list are ordered by name in ascending order, though this can be modified via the `order_by` field.
|
|
45
|
+
*
|
|
46
|
+
* @param request - The request {@link ListDedicatedConnectionsRequest}
|
|
47
|
+
* @returns A Promise of ListDedicatedConnectionsResponse
|
|
48
|
+
*/
|
|
49
|
+
listDedicatedConnections = (request = {}) => resourcePaginator.enrichForPagination(
|
|
50
|
+
"connections",
|
|
51
|
+
this.pageOfListDedicatedConnections,
|
|
52
|
+
request
|
|
53
|
+
);
|
|
54
|
+
/**
|
|
55
|
+
* Get a dedicated connection. For self-hosted users, get a dedicated physical connection corresponding to the given ID. The response object includes information such as the connection's name, status and total bandwidth.
|
|
56
|
+
*
|
|
57
|
+
* @param request - The request {@link GetDedicatedConnectionRequest}
|
|
58
|
+
* @returns A Promise of DedicatedConnection
|
|
59
|
+
*/
|
|
60
|
+
getDedicatedConnection = (request) => this.client.fetch(
|
|
61
|
+
{
|
|
62
|
+
method: "GET",
|
|
63
|
+
path: `/interlink/v1beta1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/dedicated-connections/${marshalling.validatePathParam("connectionId", request.connectionId)}`
|
|
64
|
+
},
|
|
65
|
+
marshalling_gen.unmarshalDedicatedConnection
|
|
66
|
+
);
|
|
67
|
+
/**
|
|
68
|
+
* Waits for {@link DedicatedConnection} to be in a final state.
|
|
69
|
+
*
|
|
70
|
+
* @param request - The request {@link GetDedicatedConnectionRequest}
|
|
71
|
+
* @param options - The waiting options
|
|
72
|
+
* @returns A Promise of DedicatedConnection
|
|
73
|
+
*/
|
|
74
|
+
waitForDedicatedConnection = (request, options) => intervalRetrier.waitForResource(
|
|
75
|
+
options?.stop ?? ((res) => Promise.resolve(
|
|
76
|
+
!content_gen.DEDICATED_CONNECTION_TRANSIENT_STATUSES.includes(
|
|
77
|
+
res.status
|
|
78
|
+
)
|
|
79
|
+
)),
|
|
80
|
+
this.getDedicatedConnection,
|
|
81
|
+
request,
|
|
82
|
+
options
|
|
83
|
+
);
|
|
18
84
|
pageOfListPartners = (request = {}) => this.client.fetch(
|
|
19
85
|
{
|
|
20
86
|
method: "GET",
|
|
@@ -32,18 +98,14 @@ class API extends api.API {
|
|
|
32
98
|
marshalling_gen.unmarshalListPartnersResponse
|
|
33
99
|
);
|
|
34
100
|
/**
|
|
35
|
-
* List available partners. List all available partners. By default, the
|
|
36
|
-
* partners returned in the list are ordered by name in ascending order,
|
|
37
|
-
* though this can be modified via the `order_by` field.
|
|
101
|
+
* List available partners. List all available partners. By default, the partners returned in the list are ordered by name in ascending order, though this can be modified via the `order_by` field.
|
|
38
102
|
*
|
|
39
103
|
* @param request - The request {@link ListPartnersRequest}
|
|
40
104
|
* @returns A Promise of ListPartnersResponse
|
|
41
105
|
*/
|
|
42
106
|
listPartners = (request = {}) => resourcePaginator.enrichForPagination("partners", this.pageOfListPartners, request);
|
|
43
107
|
/**
|
|
44
|
-
* Get a partner. Get a partner for the given partner IP. The response object
|
|
45
|
-
* includes information such as the partner's name, email address and portal
|
|
46
|
-
* URL.
|
|
108
|
+
* Get a partner. Get a partner for the given partner IP. The response object includes information such as the partner's name, email address and portal URL.
|
|
47
109
|
*
|
|
48
110
|
* @param request - The request {@link GetPartnerRequest}
|
|
49
111
|
* @returns A Promise of Partner
|
|
@@ -60,6 +122,7 @@ class API extends api.API {
|
|
|
60
122
|
method: "GET",
|
|
61
123
|
path: `/interlink/v1beta1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/pops`,
|
|
62
124
|
urlParams: marshalling.urlParams(
|
|
125
|
+
["dedicated_available", request.dedicatedAvailable],
|
|
63
126
|
["hosting_provider_name", request.hostingProviderName],
|
|
64
127
|
["link_bandwidth_mbps", request.linkBandwidthMbps],
|
|
65
128
|
["name", request.name],
|
|
@@ -75,16 +138,14 @@ class API extends api.API {
|
|
|
75
138
|
marshalling_gen.unmarshalListPopsResponse
|
|
76
139
|
);
|
|
77
140
|
/**
|
|
78
|
-
* List PoPs. List all available PoPs (locations) for a given region. By
|
|
79
|
-
* default, the results are returned in ascending alphabetical order by name.
|
|
141
|
+
* List PoPs. List all available PoPs (locations) for a given region. By default, the results are returned in ascending alphabetical order by name.
|
|
80
142
|
*
|
|
81
143
|
* @param request - The request {@link ListPopsRequest}
|
|
82
144
|
* @returns A Promise of ListPopsResponse
|
|
83
145
|
*/
|
|
84
146
|
listPops = (request = {}) => resourcePaginator.enrichForPagination("pops", this.pageOfListPops, request);
|
|
85
147
|
/**
|
|
86
|
-
* Get a PoP. Get a PoP for the given PoP ID. The response object includes the
|
|
87
|
-
* PoP's name and information about its physical location.
|
|
148
|
+
* Get a PoP. Get a PoP for the given PoP ID. The response object includes the PoP's name and information about its physical location.
|
|
88
149
|
*
|
|
89
150
|
* @param request - The request {@link GetPopRequest}
|
|
90
151
|
* @returns A Promise of Pop
|
|
@@ -104,6 +165,8 @@ class API extends api.API {
|
|
|
104
165
|
["bandwidth_mbps", request.bandwidthMbps],
|
|
105
166
|
["bgp_v4_status", request.bgpV4Status],
|
|
106
167
|
["bgp_v6_status", request.bgpV6Status],
|
|
168
|
+
["connection_id", request.connectionId],
|
|
169
|
+
["kind", request.kind],
|
|
107
170
|
["name", request.name],
|
|
108
171
|
["order_by", request.orderBy],
|
|
109
172
|
["organization_id", request.organizationId],
|
|
@@ -125,17 +188,14 @@ class API extends api.API {
|
|
|
125
188
|
marshalling_gen.unmarshalListLinksResponse
|
|
126
189
|
);
|
|
127
190
|
/**
|
|
128
|
-
* List links. List all your links (InterLink connections). A number of
|
|
129
|
-
* filters are available, including Project ID, name, tags and status.
|
|
191
|
+
* List links. List all your links (InterLink connections). A number of filters are available, including Project ID, name, tags and status.
|
|
130
192
|
*
|
|
131
193
|
* @param request - The request {@link ListLinksRequest}
|
|
132
194
|
* @returns A Promise of ListLinksResponse
|
|
133
195
|
*/
|
|
134
196
|
listLinks = (request = {}) => resourcePaginator.enrichForPagination("links", this.pageOfListLinks, request);
|
|
135
197
|
/**
|
|
136
|
-
* Get a link. Get a link (InterLink
|
|
137
|
-
* response object includes information about the link's various configuration
|
|
138
|
-
* details.
|
|
198
|
+
* Get a link. Get a link (InterLink session / logical InterLink resource) for the given link ID. The response object includes information about the link's various configuration details.
|
|
139
199
|
*
|
|
140
200
|
* @param request - The request {@link GetLinkRequest}
|
|
141
201
|
* @returns A Promise of Link
|
|
@@ -148,10 +208,22 @@ class API extends api.API {
|
|
|
148
208
|
marshalling_gen.unmarshalLink
|
|
149
209
|
);
|
|
150
210
|
/**
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
211
|
+
* Waits for {@link Link} to be in a final state.
|
|
212
|
+
*
|
|
213
|
+
* @param request - The request {@link GetLinkRequest}
|
|
214
|
+
* @param options - The waiting options
|
|
215
|
+
* @returns A Promise of Link
|
|
216
|
+
*/
|
|
217
|
+
waitForLink = (request, options) => intervalRetrier.waitForResource(
|
|
218
|
+
options?.stop ?? ((res) => Promise.resolve(
|
|
219
|
+
!content_gen.LINK_TRANSIENT_STATUSES.includes(res.status)
|
|
220
|
+
)),
|
|
221
|
+
this.getLink,
|
|
222
|
+
request,
|
|
223
|
+
options
|
|
224
|
+
);
|
|
225
|
+
/**
|
|
226
|
+
* Create a link. Create a link (InterLink session / logical InterLink resource) in a given PoP, specifying its various configuration details. Links can either be hosted (faciliated by partners' shared physical connections) or self-hosted (for users who have purchased a dedicated physical connection).
|
|
155
227
|
*
|
|
156
228
|
* @param request - The request {@link CreateLinkRequest}
|
|
157
229
|
* @returns A Promise of Link
|
|
@@ -168,8 +240,7 @@ class API extends api.API {
|
|
|
168
240
|
marshalling_gen.unmarshalLink
|
|
169
241
|
);
|
|
170
242
|
/**
|
|
171
|
-
* Update a link. Update an existing link, specified by its link ID. Only its
|
|
172
|
-
* name and tags can be updated.
|
|
243
|
+
* Update a link. Update an existing link, specified by its link ID. Only its name and tags can be updated.
|
|
173
244
|
*
|
|
174
245
|
* @param request - The request {@link UpdateLinkRequest}
|
|
175
246
|
* @returns A Promise of Link
|
|
@@ -186,11 +257,7 @@ class API extends api.API {
|
|
|
186
257
|
marshalling_gen.unmarshalLink
|
|
187
258
|
);
|
|
188
259
|
/**
|
|
189
|
-
* Delete a link. Delete an existing link, specified by its link ID. Note that
|
|
190
|
-
* as well as deleting the link here on the Scaleway side, it is also
|
|
191
|
-
* necessary to request deletion from the partner on their side. Only when
|
|
192
|
-
* this action has been carried out on both sides will the resource be
|
|
193
|
-
* completely deleted.
|
|
260
|
+
* Delete a link. Delete an existing link, specified by its link ID. Note that as well as deleting the link here on the Scaleway side, it is also necessary to request deletion from the partner on their side. Only when this action has been carried out on both sides will the resource be completely deleted.
|
|
194
261
|
*
|
|
195
262
|
* @param request - The request {@link DeleteLinkRequest}
|
|
196
263
|
* @returns A Promise of Link
|
|
@@ -203,9 +270,7 @@ class API extends api.API {
|
|
|
203
270
|
marshalling_gen.unmarshalLink
|
|
204
271
|
);
|
|
205
272
|
/**
|
|
206
|
-
* Attach a VPC. Attach a VPC to an existing link. This facilitates
|
|
207
|
-
* communication between the resources in your Scaleway VPC, and your
|
|
208
|
-
* on-premises infrastructure.
|
|
273
|
+
* Attach a VPC. Attach a VPC to an existing link. This facilitates communication between the resources in your Scaleway VPC, and your on-premises infrastructure.
|
|
209
274
|
*
|
|
210
275
|
* @param request - The request {@link AttachVpcRequest}
|
|
211
276
|
* @returns A Promise of Link
|
|
@@ -237,10 +302,7 @@ class API extends api.API {
|
|
|
237
302
|
marshalling_gen.unmarshalLink
|
|
238
303
|
);
|
|
239
304
|
/**
|
|
240
|
-
* Attach a routing policy. Attach a routing policy to an existing link. As
|
|
241
|
-
* all routes across the link are blocked by default, you must attach a
|
|
242
|
-
* routing policy to set IP prefix filters for allowed routes, facilitating
|
|
243
|
-
* traffic flow.
|
|
305
|
+
* Attach a routing policy. Attach a routing policy to an existing link. As all routes across the link are blocked by default, you must attach a routing policy to set IP prefix filters for allowed routes, facilitating traffic flow.
|
|
244
306
|
*
|
|
245
307
|
* @param request - The request {@link AttachRoutingPolicyRequest}
|
|
246
308
|
* @returns A Promise of Link
|
|
@@ -257,9 +319,7 @@ class API extends api.API {
|
|
|
257
319
|
marshalling_gen.unmarshalLink
|
|
258
320
|
);
|
|
259
321
|
/**
|
|
260
|
-
* Detach a routing policy. Detach a routing policy from an existing link.
|
|
261
|
-
* Without a routing policy, all routes across the link are blocked by
|
|
262
|
-
* default.
|
|
322
|
+
* Detach a routing policy. Detach a routing policy from an existing link. Without a routing policy, all routes across the link are blocked by default.
|
|
263
323
|
*
|
|
264
324
|
* @param request - The request {@link DetachRoutingPolicyRequest}
|
|
265
325
|
* @returns A Promise of Link
|
|
@@ -274,12 +334,7 @@ class API extends api.API {
|
|
|
274
334
|
marshalling_gen.unmarshalLink
|
|
275
335
|
);
|
|
276
336
|
/**
|
|
277
|
-
* Enable route propagation. Enable all allowed prefixes (defined in a routing
|
|
278
|
-
* policy) to be announced in the BGP session. This allows traffic to flow
|
|
279
|
-
* between the attached VPC and the on-premises infrastructure along the
|
|
280
|
-
* announced routes. Note that by default, even when route propagation is
|
|
281
|
-
* enabled, all routes are blocked. It is essential to attach a routing policy
|
|
282
|
-
* to define the ranges of routes to announce.
|
|
337
|
+
* Enable route propagation. Enable all allowed prefixes (defined in a routing policy) to be announced in the BGP session. This allows traffic to flow between the attached VPC and the on-premises infrastructure along the announced routes. Note that by default, even when route propagation is enabled, all routes are blocked. It is essential to attach a routing policy to define the ranges of routes to announce.
|
|
283
338
|
*
|
|
284
339
|
* @param request - The request {@link EnableRoutePropagationRequest}
|
|
285
340
|
* @returns A Promise of Link
|
|
@@ -294,9 +349,7 @@ class API extends api.API {
|
|
|
294
349
|
marshalling_gen.unmarshalLink
|
|
295
350
|
);
|
|
296
351
|
/**
|
|
297
|
-
* Disable route propagation. Prevent any prefixes from being announced in the
|
|
298
|
-
* BGP session. Traffic will not be able to flow over the InterLink until
|
|
299
|
-
* route propagation is re-enabled.
|
|
352
|
+
* Disable route propagation. Prevent any prefixes from being announced in the BGP session. Traffic will not be able to flow over the InterLink until route propagation is re-enabled.
|
|
300
353
|
*
|
|
301
354
|
* @param request - The request {@link DisableRoutePropagationRequest}
|
|
302
355
|
* @returns A Promise of Link
|
|
@@ -330,9 +383,7 @@ class API extends api.API {
|
|
|
330
383
|
marshalling_gen.unmarshalListRoutingPoliciesResponse
|
|
331
384
|
);
|
|
332
385
|
/**
|
|
333
|
-
* List routing policies. List all routing policies in a given region. A
|
|
334
|
-
* routing policy can be attached to one or multiple links (InterLink
|
|
335
|
-
* connections).
|
|
386
|
+
* List routing policies. List all routing policies in a given region. A routing policy can be attached to one or multiple links (InterLink connections).
|
|
336
387
|
*
|
|
337
388
|
* @param request - The request {@link ListRoutingPoliciesRequest}
|
|
338
389
|
* @returns A Promise of ListRoutingPoliciesResponse
|
|
@@ -343,9 +394,7 @@ class API extends api.API {
|
|
|
343
394
|
request
|
|
344
395
|
);
|
|
345
396
|
/**
|
|
346
|
-
* Get routing policy. Get a routing policy for the given routing policy ID.
|
|
347
|
-
* The response object gives information including the policy's name, tags and
|
|
348
|
-
* prefix filters.
|
|
397
|
+
* Get routing policy. Get a routing policy for the given routing policy ID. The response object gives information including the policy's name, tags and prefix filters.
|
|
349
398
|
*
|
|
350
399
|
* @param request - The request {@link GetRoutingPolicyRequest}
|
|
351
400
|
* @returns A Promise of RoutingPolicy
|
|
@@ -358,9 +407,7 @@ class API extends api.API {
|
|
|
358
407
|
marshalling_gen.unmarshalRoutingPolicy
|
|
359
408
|
);
|
|
360
409
|
/**
|
|
361
|
-
* Create a routing policy. Create a routing policy. Routing policies allow
|
|
362
|
-
* you to set IP prefix filters to define the incoming route announcements to
|
|
363
|
-
* accept from the peer, and the outgoing routes to announce to the peer.
|
|
410
|
+
* Create a routing policy. Create a routing policy. Routing policies allow you to set IP prefix filters to define the incoming route announcements to accept from the peer, and the outgoing routes to announce to the peer.
|
|
364
411
|
*
|
|
365
412
|
* @param request - The request {@link CreateRoutingPolicyRequest}
|
|
366
413
|
* @returns A Promise of RoutingPolicy
|
|
@@ -377,9 +424,7 @@ class API extends api.API {
|
|
|
377
424
|
marshalling_gen.unmarshalRoutingPolicy
|
|
378
425
|
);
|
|
379
426
|
/**
|
|
380
|
-
* Update a routing policy. Update an existing routing policy, specified by
|
|
381
|
-
* its routing policy ID. Its name, tags and incoming/outgoing prefix filters
|
|
382
|
-
* can be updated.
|
|
427
|
+
* Update a routing policy. Update an existing routing policy, specified by its routing policy ID. Its name, tags and incoming/outgoing prefix filters can be updated.
|
|
383
428
|
*
|
|
384
429
|
* @param request - The request {@link UpdateRoutingPolicyRequest}
|
|
385
430
|
* @returns A Promise of RoutingPolicy
|
|
@@ -396,8 +441,7 @@ class API extends api.API {
|
|
|
396
441
|
marshalling_gen.unmarshalRoutingPolicy
|
|
397
442
|
);
|
|
398
443
|
/**
|
|
399
|
-
* Delete a routing policy. Delete an existing routing policy, specified by
|
|
400
|
-
* its routing policy ID.
|
|
444
|
+
* Delete a routing policy. Delete an existing routing policy, specified by its routing policy ID.
|
|
401
445
|
*
|
|
402
446
|
* @param request - The request {@link DeleteRoutingPolicyRequest}
|
|
403
447
|
*/
|