@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,421 +1,759 @@
|
|
|
1
|
-
import type { Region as ScwRegion } from '
|
|
1
|
+
import type { Region as ScwRegion } from '@scaleway/sdk-client';
|
|
2
2
|
export type BgpStatus = 'unknown_bgp_status' | 'up' | 'down';
|
|
3
|
+
export type DedicatedConnectionStatus = 'unknown_status' | 'created' | 'configuring' | 'failed' | 'active' | 'disabled' | 'deleted' | 'locked';
|
|
4
|
+
export type LinkKind = 'hosted' | 'self_hosted';
|
|
3
5
|
export type LinkStatus = 'unknown_link_status' | 'configuring' | 'failed' | 'requested' | 'refused' | 'expired' | 'provisioning' | 'active' | 'limited_connectivity' | 'all_down' | 'deprovisioning' | 'deleted' | 'locked';
|
|
6
|
+
export type ListDedicatedConnectionsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc' | 'name_asc' | 'name_desc' | 'status_asc' | 'status_desc';
|
|
4
7
|
export type ListLinksRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc' | 'status_asc' | 'status_desc';
|
|
5
8
|
export type ListPartnersRequestOrderBy = 'name_asc' | 'name_desc';
|
|
6
9
|
export type ListPopsRequestOrderBy = 'name_asc' | 'name_desc';
|
|
7
10
|
export type ListRoutingPoliciesRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
11
|
+
export interface BgpConfig {
|
|
12
|
+
/**
|
|
13
|
+
* AS Number of the BGP peer.
|
|
14
|
+
*/
|
|
15
|
+
asn: number;
|
|
16
|
+
/**
|
|
17
|
+
* IPv4 address of the BGP peer.
|
|
18
|
+
*/
|
|
19
|
+
ipv4: string;
|
|
20
|
+
/**
|
|
21
|
+
* IPv6 address of the BGP peer.
|
|
22
|
+
*/
|
|
23
|
+
ipv6: string;
|
|
24
|
+
}
|
|
25
|
+
export interface PartnerHost {
|
|
26
|
+
/**
|
|
27
|
+
* ID of the partner facilitating the link.
|
|
28
|
+
*/
|
|
29
|
+
partnerId: string;
|
|
30
|
+
/**
|
|
31
|
+
* Used to identify a link from a user or partner's point of view.
|
|
32
|
+
*/
|
|
33
|
+
pairingKey: string;
|
|
34
|
+
/**
|
|
35
|
+
* Reason given by partner to explain why they did not approve the request for a hosted link.
|
|
36
|
+
*/
|
|
37
|
+
disapprovedReason?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface SelfHost {
|
|
40
|
+
/**
|
|
41
|
+
* Dedicated physical connection supporting the link.
|
|
42
|
+
*/
|
|
43
|
+
connectionId: string;
|
|
44
|
+
}
|
|
45
|
+
export interface DedicatedConnection {
|
|
46
|
+
/**
|
|
47
|
+
* Unique identifier of the dedicated connection.
|
|
48
|
+
*/
|
|
49
|
+
id: string;
|
|
50
|
+
/**
|
|
51
|
+
* Project ID.
|
|
52
|
+
*/
|
|
53
|
+
projectId: string;
|
|
54
|
+
/**
|
|
55
|
+
* Organization ID.
|
|
56
|
+
*/
|
|
57
|
+
organizationId: string;
|
|
58
|
+
/**
|
|
59
|
+
* Status of the dedicated connection.
|
|
60
|
+
*/
|
|
61
|
+
status: DedicatedConnectionStatus;
|
|
62
|
+
/**
|
|
63
|
+
* Name of the dedicated connection.
|
|
64
|
+
*/
|
|
65
|
+
name: string;
|
|
66
|
+
/**
|
|
67
|
+
* List of tags associated with the dedicated connection.
|
|
68
|
+
*/
|
|
69
|
+
tags: string[];
|
|
70
|
+
/**
|
|
71
|
+
* ID of the PoP where the dedicated connection is located.
|
|
72
|
+
*/
|
|
73
|
+
popId: string;
|
|
74
|
+
/**
|
|
75
|
+
* Bandwidth size of the dedicated connection.
|
|
76
|
+
*/
|
|
77
|
+
bandwidthMbps: number;
|
|
78
|
+
/**
|
|
79
|
+
* Size of the links supported on this dedicated connection.
|
|
80
|
+
*/
|
|
81
|
+
availableLinkBandwidths: number[];
|
|
82
|
+
/**
|
|
83
|
+
* Creation date of the dedicated connection.
|
|
84
|
+
*/
|
|
85
|
+
createdAt?: Date;
|
|
86
|
+
/**
|
|
87
|
+
* Last modification date of the dedicated connection.
|
|
88
|
+
*/
|
|
89
|
+
updatedAt?: Date;
|
|
90
|
+
/**
|
|
91
|
+
* Demarcation details required by the data center to set up the supporting Cross Connect. This generally includes the physical space in the facility, the cabinet or rack the connection should land in, the patch panel to go in, the port designation, and the media type.
|
|
92
|
+
*/
|
|
93
|
+
demarcationInfo?: string;
|
|
94
|
+
/**
|
|
95
|
+
* Region of the dedicated connection.
|
|
96
|
+
*/
|
|
97
|
+
region: ScwRegion;
|
|
98
|
+
}
|
|
8
99
|
export interface Link {
|
|
9
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* Unique identifier of the link.
|
|
102
|
+
*/
|
|
10
103
|
id: string;
|
|
11
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* Project ID.
|
|
106
|
+
*/
|
|
12
107
|
projectId: string;
|
|
13
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Organization ID.
|
|
110
|
+
*/
|
|
14
111
|
organizationId: string;
|
|
15
|
-
/**
|
|
112
|
+
/**
|
|
113
|
+
* Name of the link.
|
|
114
|
+
*/
|
|
16
115
|
name: string;
|
|
17
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* List of tags associated with the link.
|
|
118
|
+
*/
|
|
18
119
|
tags: string[];
|
|
19
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* ID of the PoP where the link's corresponding connection is located.
|
|
122
|
+
*/
|
|
20
123
|
popId: string;
|
|
21
|
-
/**
|
|
22
|
-
|
|
23
|
-
|
|
124
|
+
/**
|
|
125
|
+
* Rate limited bandwidth of the link.
|
|
126
|
+
*/
|
|
24
127
|
bandwidthMbps: number;
|
|
25
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* Status of the link.
|
|
130
|
+
*/
|
|
26
131
|
status: LinkStatus;
|
|
27
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* Status of the link's BGP IPv4 session.
|
|
134
|
+
*/
|
|
28
135
|
bgpV4Status: BgpStatus;
|
|
29
|
-
/**
|
|
136
|
+
/**
|
|
137
|
+
* Status of the link's BGP IPv6 session.
|
|
138
|
+
*/
|
|
30
139
|
bgpV6Status: BgpStatus;
|
|
31
|
-
/**
|
|
140
|
+
/**
|
|
141
|
+
* ID of the Scaleway VPC attached to the link.
|
|
142
|
+
*/
|
|
32
143
|
vpcId?: string;
|
|
33
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* ID of the routing policy attached to the link.
|
|
146
|
+
*/
|
|
34
147
|
routingPolicyId?: string;
|
|
35
148
|
/**
|
|
36
|
-
* Defines whether route propagation is enabled or not. To enable or disable
|
|
37
|
-
* route propagation, use the dedicated endpoint.
|
|
149
|
+
* Defines whether route propagation is enabled or not. To enable or disable route propagation, use the dedicated endpoint.
|
|
38
150
|
*/
|
|
39
151
|
enableRoutePropagation: boolean;
|
|
40
|
-
/**
|
|
152
|
+
/**
|
|
153
|
+
* Creation date of the link.
|
|
154
|
+
*/
|
|
41
155
|
createdAt?: Date;
|
|
42
|
-
/**
|
|
156
|
+
/**
|
|
157
|
+
* Last modification date of the link.
|
|
158
|
+
*/
|
|
43
159
|
updatedAt?: Date;
|
|
44
|
-
/** Used to identify a link from a user or partner's point of view. */
|
|
45
|
-
pairingKey: string;
|
|
46
160
|
/**
|
|
47
|
-
*
|
|
48
|
-
*
|
|
161
|
+
* Partner host information.
|
|
162
|
+
*
|
|
163
|
+
* One-of ('hostInfo'): at most one of 'partner', 'self' could be set.
|
|
164
|
+
*/
|
|
165
|
+
partner?: PartnerHost;
|
|
166
|
+
/**
|
|
167
|
+
* Self-host information.
|
|
168
|
+
*
|
|
169
|
+
* One-of ('hostInfo'): at most one of 'partner', 'self' could be set.
|
|
170
|
+
*/
|
|
171
|
+
self?: SelfHost;
|
|
172
|
+
/**
|
|
173
|
+
* VLAN of the link.
|
|
174
|
+
*/
|
|
175
|
+
vlan: number;
|
|
176
|
+
/**
|
|
177
|
+
* BGP configuration on Scaleway's side.
|
|
178
|
+
*/
|
|
179
|
+
scwBgpConfig?: BgpConfig;
|
|
180
|
+
/**
|
|
181
|
+
* BGP configuration on peer's side (on-premises or other hosting provider).
|
|
182
|
+
*/
|
|
183
|
+
peerBgpConfig?: BgpConfig;
|
|
184
|
+
/**
|
|
185
|
+
* Region of the link.
|
|
49
186
|
*/
|
|
50
|
-
disapprovedReason?: string;
|
|
51
|
-
/** Region of the link. */
|
|
52
187
|
region: ScwRegion;
|
|
53
188
|
}
|
|
54
189
|
export interface Partner {
|
|
55
|
-
/**
|
|
190
|
+
/**
|
|
191
|
+
* Unique identifier of the partner.
|
|
192
|
+
*/
|
|
56
193
|
id: string;
|
|
57
|
-
/**
|
|
194
|
+
/**
|
|
195
|
+
* Name of the partner.
|
|
196
|
+
*/
|
|
58
197
|
name: string;
|
|
59
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* Contact email address of partner.
|
|
200
|
+
*/
|
|
60
201
|
contactEmail: string;
|
|
61
|
-
/**
|
|
202
|
+
/**
|
|
203
|
+
* Image URL of the partner's logo.
|
|
204
|
+
*/
|
|
62
205
|
logoUrl: string;
|
|
63
|
-
/**
|
|
206
|
+
/**
|
|
207
|
+
* URL of the partner's portal.
|
|
208
|
+
*/
|
|
64
209
|
portalUrl: string;
|
|
65
|
-
/**
|
|
210
|
+
/**
|
|
211
|
+
* Creation date of the partner.
|
|
212
|
+
*/
|
|
66
213
|
createdAt?: Date;
|
|
67
|
-
/**
|
|
214
|
+
/**
|
|
215
|
+
* Last modification date of the partner.
|
|
216
|
+
*/
|
|
68
217
|
updatedAt?: Date;
|
|
69
218
|
}
|
|
70
219
|
export interface Pop {
|
|
71
|
-
/**
|
|
220
|
+
/**
|
|
221
|
+
* Unique identifier of the PoP.
|
|
222
|
+
*/
|
|
72
223
|
id: string;
|
|
73
|
-
/**
|
|
224
|
+
/**
|
|
225
|
+
* Name of the PoP. It is the common reference of Hosting DC (ex: TH2).
|
|
226
|
+
*/
|
|
74
227
|
name: string;
|
|
75
228
|
/**
|
|
76
|
-
* Name of the PoP's hosting provider, e.g. Telehouse for TH2 or OpCore for
|
|
77
|
-
* DC3.
|
|
229
|
+
* Name of the PoP's hosting provider, e.g. Telehouse for TH2 or OpCore for DC3.
|
|
78
230
|
*/
|
|
79
231
|
hostingProviderName: string;
|
|
80
|
-
/**
|
|
232
|
+
/**
|
|
233
|
+
* Physical address of the PoP.
|
|
234
|
+
*/
|
|
81
235
|
address: string;
|
|
82
|
-
/**
|
|
236
|
+
/**
|
|
237
|
+
* City where PoP is located.
|
|
238
|
+
*/
|
|
83
239
|
city: string;
|
|
84
|
-
/**
|
|
240
|
+
/**
|
|
241
|
+
* Image URL of the PoP's logo.
|
|
242
|
+
*/
|
|
85
243
|
logoUrl: string;
|
|
86
244
|
/**
|
|
87
|
-
* Available bandwidth in Mbits/s for future
|
|
88
|
-
* in this PoP.
|
|
245
|
+
* Available bandwidth in Mbits/s for future hosted links from available connections in this PoP.
|
|
89
246
|
*/
|
|
90
247
|
availableLinkBandwidthsMbps: number[];
|
|
91
|
-
/**
|
|
248
|
+
/**
|
|
249
|
+
* Region of the PoP.
|
|
250
|
+
*/
|
|
92
251
|
region: ScwRegion;
|
|
93
252
|
}
|
|
94
253
|
export interface RoutingPolicy {
|
|
95
|
-
/**
|
|
254
|
+
/**
|
|
255
|
+
* Unique identifier of the routing policy.
|
|
256
|
+
*/
|
|
96
257
|
id: string;
|
|
97
|
-
/**
|
|
258
|
+
/**
|
|
259
|
+
* Project ID.
|
|
260
|
+
*/
|
|
98
261
|
projectId: string;
|
|
99
|
-
/**
|
|
262
|
+
/**
|
|
263
|
+
* Organization ID.
|
|
264
|
+
*/
|
|
100
265
|
organizationId: string;
|
|
101
|
-
/**
|
|
266
|
+
/**
|
|
267
|
+
* Name of the routing policy.
|
|
268
|
+
*/
|
|
102
269
|
name: string;
|
|
103
|
-
/**
|
|
270
|
+
/**
|
|
271
|
+
* List of tags associated with the routing policy.
|
|
272
|
+
*/
|
|
104
273
|
tags: string[];
|
|
105
274
|
/**
|
|
106
|
-
* IP prefixes to accept from the peer (ranges of route announcements to
|
|
107
|
-
* accept).
|
|
275
|
+
* IP prefixes to accept from the peer (ranges of route announcements to accept).
|
|
108
276
|
*/
|
|
109
277
|
prefixFilterIn: string[];
|
|
110
|
-
/**
|
|
278
|
+
/**
|
|
279
|
+
* IP prefix filters to advertise to the peer (ranges of routes to advertise).
|
|
280
|
+
*/
|
|
111
281
|
prefixFilterOut: string[];
|
|
112
|
-
/**
|
|
282
|
+
/**
|
|
283
|
+
* Creation date of the routing policy.
|
|
284
|
+
*/
|
|
113
285
|
createdAt?: Date;
|
|
114
|
-
/**
|
|
286
|
+
/**
|
|
287
|
+
* Last modification date of the routing policy.
|
|
288
|
+
*/
|
|
115
289
|
updatedAt?: Date;
|
|
116
|
-
/**
|
|
290
|
+
/**
|
|
291
|
+
* Region of the routing policy.
|
|
292
|
+
*/
|
|
117
293
|
region: ScwRegion;
|
|
118
294
|
}
|
|
119
295
|
export type AttachRoutingPolicyRequest = {
|
|
120
296
|
/**
|
|
121
|
-
* Region to target. If none is passed will use default region from the
|
|
122
|
-
* config.
|
|
297
|
+
* Region to target. If none is passed will use default region from the config.
|
|
123
298
|
*/
|
|
124
299
|
region?: ScwRegion;
|
|
125
|
-
/**
|
|
300
|
+
/**
|
|
301
|
+
* ID of the link to attach a routing policy to.
|
|
302
|
+
*/
|
|
126
303
|
linkId: string;
|
|
127
|
-
/**
|
|
304
|
+
/**
|
|
305
|
+
* ID of the routing policy to be attached.
|
|
306
|
+
*/
|
|
128
307
|
routingPolicyId: string;
|
|
129
308
|
};
|
|
130
309
|
export type AttachVpcRequest = {
|
|
131
310
|
/**
|
|
132
|
-
* Region to target. If none is passed will use default region from the
|
|
133
|
-
* config.
|
|
311
|
+
* Region to target. If none is passed will use default region from the config.
|
|
134
312
|
*/
|
|
135
313
|
region?: ScwRegion;
|
|
136
|
-
/**
|
|
314
|
+
/**
|
|
315
|
+
* ID of the link to attach VPC to.
|
|
316
|
+
*/
|
|
137
317
|
linkId: string;
|
|
138
|
-
/**
|
|
318
|
+
/**
|
|
319
|
+
* ID of the VPC to attach.
|
|
320
|
+
*/
|
|
139
321
|
vpcId: string;
|
|
140
322
|
};
|
|
141
323
|
export type CreateLinkRequest = {
|
|
142
324
|
/**
|
|
143
|
-
* Region to target. If none is passed will use default region from the
|
|
144
|
-
* config.
|
|
325
|
+
* Region to target. If none is passed will use default region from the config.
|
|
145
326
|
*/
|
|
146
327
|
region?: ScwRegion;
|
|
147
|
-
/**
|
|
328
|
+
/**
|
|
329
|
+
* ID of the Project to create the link in.
|
|
330
|
+
*/
|
|
148
331
|
projectId?: string;
|
|
149
|
-
/**
|
|
332
|
+
/**
|
|
333
|
+
* Name of the link.
|
|
334
|
+
*/
|
|
150
335
|
name: string;
|
|
151
|
-
/**
|
|
336
|
+
/**
|
|
337
|
+
* List of tags to apply to the link.
|
|
338
|
+
*/
|
|
152
339
|
tags?: string[];
|
|
153
|
-
/**
|
|
340
|
+
/**
|
|
341
|
+
* PoP (location) where the link will be created.
|
|
342
|
+
*/
|
|
154
343
|
popId: string;
|
|
155
344
|
/**
|
|
156
|
-
* Desired bandwidth for the link. Must be compatible with available link
|
|
157
|
-
* bandwidths and remaining bandwidth capacity of the port.
|
|
345
|
+
* Desired bandwidth for the link. Must be compatible with available link bandwidths and remaining bandwidth capacity of the connection.
|
|
158
346
|
*/
|
|
159
347
|
bandwidthMbps: number;
|
|
160
348
|
/**
|
|
161
|
-
* If
|
|
162
|
-
* be crated. It is not necessary to specify a `port_id` or `partner_id`. A
|
|
163
|
-
* new port will created and assigned to the link. Note that Scaleway has not
|
|
164
|
-
* yet enabled the creation of dedicated links, this field is reserved for
|
|
165
|
-
* future use.
|
|
349
|
+
* If set, creates a self-hosted link using this dedicated physical connection. As the customer, specify the ID of the physical connection you already have for this link.
|
|
166
350
|
*
|
|
167
|
-
* One-of ('
|
|
168
|
-
* could be set.
|
|
351
|
+
* One-of ('host'): at most one of 'connectionId', 'partnerId' could be set.
|
|
169
352
|
*/
|
|
170
|
-
|
|
353
|
+
connectionId?: string;
|
|
171
354
|
/**
|
|
172
|
-
* If set, a
|
|
173
|
-
* port) will be created. As the customer, specify the ID of the port you
|
|
174
|
-
* already have for this link. Note that shared links are not currently
|
|
175
|
-
* available. Note that Scaleway has not yet enabled the creation of shared
|
|
176
|
-
* links, this field is reserved for future use.
|
|
355
|
+
* If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth.
|
|
177
356
|
*
|
|
178
|
-
* One-of ('
|
|
179
|
-
* could be set.
|
|
357
|
+
* One-of ('host'): at most one of 'connectionId', 'partnerId' could be set.
|
|
180
358
|
*/
|
|
181
|
-
|
|
359
|
+
partnerId?: string;
|
|
182
360
|
/**
|
|
183
|
-
*
|
|
184
|
-
* Specify the ID of the chosen partner, who already has a shareable port with
|
|
185
|
-
* available bandwidth. Note that this is currently the only type of link
|
|
186
|
-
* offered by Scaleway, and therefore this field must be set when creating a
|
|
187
|
-
* link.
|
|
188
|
-
*
|
|
189
|
-
* One-of ('linkKind'): at most one of 'dedicated', 'portId', 'partnerId'
|
|
190
|
-
* could be set.
|
|
361
|
+
* For self-hosted links we need the peer AS Number to establish BGP session. If not given, a default one will be assigned.
|
|
191
362
|
*/
|
|
192
|
-
|
|
363
|
+
peerAsn?: number;
|
|
193
364
|
};
|
|
194
365
|
export type CreateRoutingPolicyRequest = {
|
|
195
366
|
/**
|
|
196
|
-
* Region to target. If none is passed will use default region from the
|
|
197
|
-
* config.
|
|
367
|
+
* Region to target. If none is passed will use default region from the config.
|
|
198
368
|
*/
|
|
199
369
|
region?: ScwRegion;
|
|
200
|
-
/**
|
|
370
|
+
/**
|
|
371
|
+
* ID of the Project to create the routing policy in.
|
|
372
|
+
*/
|
|
201
373
|
projectId?: string;
|
|
202
|
-
/**
|
|
374
|
+
/**
|
|
375
|
+
* Name of the routing policy.
|
|
376
|
+
*/
|
|
203
377
|
name: string;
|
|
204
|
-
/**
|
|
378
|
+
/**
|
|
379
|
+
* List of tags to apply to the routing policy.
|
|
380
|
+
*/
|
|
205
381
|
tags?: string[];
|
|
206
382
|
/**
|
|
207
|
-
* IP prefixes to accept from the peer (ranges of route announcements to
|
|
208
|
-
* accept).
|
|
383
|
+
* IP prefixes to accept from the peer (ranges of route announcements to accept).
|
|
209
384
|
*/
|
|
210
385
|
prefixFilterIn?: string[];
|
|
211
|
-
/**
|
|
386
|
+
/**
|
|
387
|
+
* IP prefix filters to advertise to the peer (ranges of routes to advertise).
|
|
388
|
+
*/
|
|
212
389
|
prefixFilterOut?: string[];
|
|
213
390
|
};
|
|
214
391
|
export type DeleteLinkRequest = {
|
|
215
392
|
/**
|
|
216
|
-
* Region to target. If none is passed will use default region from the
|
|
217
|
-
* config.
|
|
393
|
+
* Region to target. If none is passed will use default region from the config.
|
|
218
394
|
*/
|
|
219
395
|
region?: ScwRegion;
|
|
220
|
-
/**
|
|
396
|
+
/**
|
|
397
|
+
* ID of the link to delete.
|
|
398
|
+
*/
|
|
221
399
|
linkId: string;
|
|
222
400
|
};
|
|
223
401
|
export type DeleteRoutingPolicyRequest = {
|
|
224
402
|
/**
|
|
225
|
-
* Region to target. If none is passed will use default region from the
|
|
226
|
-
* config.
|
|
403
|
+
* Region to target. If none is passed will use default region from the config.
|
|
227
404
|
*/
|
|
228
405
|
region?: ScwRegion;
|
|
229
|
-
/**
|
|
406
|
+
/**
|
|
407
|
+
* ID of the routing policy to delete.
|
|
408
|
+
*/
|
|
230
409
|
routingPolicyId: string;
|
|
231
410
|
};
|
|
232
411
|
export type DetachRoutingPolicyRequest = {
|
|
233
412
|
/**
|
|
234
|
-
* Region to target. If none is passed will use default region from the
|
|
235
|
-
* config.
|
|
413
|
+
* Region to target. If none is passed will use default region from the config.
|
|
236
414
|
*/
|
|
237
415
|
region?: ScwRegion;
|
|
238
|
-
/**
|
|
416
|
+
/**
|
|
417
|
+
* ID of the link to detach a routing policy from.
|
|
418
|
+
*/
|
|
239
419
|
linkId: string;
|
|
240
420
|
};
|
|
241
421
|
export type DetachVpcRequest = {
|
|
242
422
|
/**
|
|
243
|
-
* Region to target. If none is passed will use default region from the
|
|
244
|
-
* config.
|
|
423
|
+
* Region to target. If none is passed will use default region from the config.
|
|
245
424
|
*/
|
|
246
425
|
region?: ScwRegion;
|
|
247
|
-
/**
|
|
426
|
+
/**
|
|
427
|
+
* ID of the link to detach the VPC from.
|
|
428
|
+
*/
|
|
248
429
|
linkId: string;
|
|
249
430
|
};
|
|
250
431
|
export type DisableRoutePropagationRequest = {
|
|
251
432
|
/**
|
|
252
|
-
* Region to target. If none is passed will use default region from the
|
|
253
|
-
* config.
|
|
433
|
+
* Region to target. If none is passed will use default region from the config.
|
|
254
434
|
*/
|
|
255
435
|
region?: ScwRegion;
|
|
256
|
-
/**
|
|
436
|
+
/**
|
|
437
|
+
* ID of the link on which to disable route propagation.
|
|
438
|
+
*/
|
|
257
439
|
linkId: string;
|
|
258
440
|
};
|
|
259
441
|
export type EnableRoutePropagationRequest = {
|
|
260
442
|
/**
|
|
261
|
-
* Region to target. If none is passed will use default region from the
|
|
262
|
-
* config.
|
|
443
|
+
* Region to target. If none is passed will use default region from the config.
|
|
263
444
|
*/
|
|
264
445
|
region?: ScwRegion;
|
|
265
|
-
/**
|
|
446
|
+
/**
|
|
447
|
+
* ID of the link on which to enable route propagation.
|
|
448
|
+
*/
|
|
266
449
|
linkId: string;
|
|
267
450
|
};
|
|
451
|
+
export type GetDedicatedConnectionRequest = {
|
|
452
|
+
/**
|
|
453
|
+
* Region to target. If none is passed will use default region from the config.
|
|
454
|
+
*/
|
|
455
|
+
region?: ScwRegion;
|
|
456
|
+
/**
|
|
457
|
+
* ID of connection to get.
|
|
458
|
+
*/
|
|
459
|
+
connectionId: string;
|
|
460
|
+
};
|
|
268
461
|
export type GetLinkRequest = {
|
|
269
462
|
/**
|
|
270
|
-
* Region to target. If none is passed will use default region from the
|
|
271
|
-
* config.
|
|
463
|
+
* Region to target. If none is passed will use default region from the config.
|
|
272
464
|
*/
|
|
273
465
|
region?: ScwRegion;
|
|
274
|
-
/**
|
|
466
|
+
/**
|
|
467
|
+
* ID of the link to get.
|
|
468
|
+
*/
|
|
275
469
|
linkId: string;
|
|
276
470
|
};
|
|
277
471
|
export type GetPartnerRequest = {
|
|
278
472
|
/**
|
|
279
|
-
* Region to target. If none is passed will use default region from the
|
|
280
|
-
* config.
|
|
473
|
+
* Region to target. If none is passed will use default region from the config.
|
|
281
474
|
*/
|
|
282
475
|
region?: ScwRegion;
|
|
283
|
-
/**
|
|
476
|
+
/**
|
|
477
|
+
* ID of partner to get.
|
|
478
|
+
*/
|
|
284
479
|
partnerId: string;
|
|
285
480
|
};
|
|
286
481
|
export type GetPopRequest = {
|
|
287
482
|
/**
|
|
288
|
-
* Region to target. If none is passed will use default region from the
|
|
289
|
-
* config.
|
|
483
|
+
* Region to target. If none is passed will use default region from the config.
|
|
290
484
|
*/
|
|
291
485
|
region?: ScwRegion;
|
|
292
|
-
/**
|
|
486
|
+
/**
|
|
487
|
+
* ID of PoP to get.
|
|
488
|
+
*/
|
|
293
489
|
popId: string;
|
|
294
490
|
};
|
|
295
491
|
export type GetRoutingPolicyRequest = {
|
|
296
492
|
/**
|
|
297
|
-
* Region to target. If none is passed will use default region from the
|
|
298
|
-
* config.
|
|
493
|
+
* Region to target. If none is passed will use default region from the config.
|
|
299
494
|
*/
|
|
300
495
|
region?: ScwRegion;
|
|
301
|
-
/**
|
|
496
|
+
/**
|
|
497
|
+
* ID of the routing policy to get.
|
|
498
|
+
*/
|
|
302
499
|
routingPolicyId: string;
|
|
303
500
|
};
|
|
501
|
+
export type ListDedicatedConnectionsRequest = {
|
|
502
|
+
/**
|
|
503
|
+
* Region to target. If none is passed will use default region from the config.
|
|
504
|
+
*/
|
|
505
|
+
region?: ScwRegion;
|
|
506
|
+
/**
|
|
507
|
+
* Order in which to return results.
|
|
508
|
+
*/
|
|
509
|
+
orderBy?: ListDedicatedConnectionsRequestOrderBy;
|
|
510
|
+
/**
|
|
511
|
+
* Page number to return.
|
|
512
|
+
*/
|
|
513
|
+
page?: number;
|
|
514
|
+
/**
|
|
515
|
+
* Maximum number of connections to return per page.
|
|
516
|
+
*/
|
|
517
|
+
pageSize?: number;
|
|
518
|
+
/**
|
|
519
|
+
* Project ID to filter for.
|
|
520
|
+
*/
|
|
521
|
+
projectId?: string;
|
|
522
|
+
/**
|
|
523
|
+
* Organization ID to filter for.
|
|
524
|
+
*/
|
|
525
|
+
organizationId?: string;
|
|
526
|
+
/**
|
|
527
|
+
* Link name to filter for.
|
|
528
|
+
*/
|
|
529
|
+
name?: string;
|
|
530
|
+
/**
|
|
531
|
+
* Tags to filter for.
|
|
532
|
+
*/
|
|
533
|
+
tags?: string[];
|
|
534
|
+
/**
|
|
535
|
+
* Connection status to filter for.
|
|
536
|
+
*/
|
|
537
|
+
status?: DedicatedConnectionStatus;
|
|
538
|
+
/**
|
|
539
|
+
* Filter for dedicated connections with this bandwidth size.
|
|
540
|
+
*/
|
|
541
|
+
bandwidthMbps?: number;
|
|
542
|
+
/**
|
|
543
|
+
* Filter for dedicated connections present in this PoP.
|
|
544
|
+
*/
|
|
545
|
+
popId?: string;
|
|
546
|
+
};
|
|
547
|
+
export interface ListDedicatedConnectionsResponse {
|
|
548
|
+
/**
|
|
549
|
+
* List of connections on current page.
|
|
550
|
+
*/
|
|
551
|
+
connections: DedicatedConnection[];
|
|
552
|
+
/**
|
|
553
|
+
* Total number of connections returned.
|
|
554
|
+
*/
|
|
555
|
+
totalCount: number;
|
|
556
|
+
}
|
|
304
557
|
export type ListLinksRequest = {
|
|
305
558
|
/**
|
|
306
|
-
* Region to target. If none is passed will use default region from the
|
|
307
|
-
* config.
|
|
559
|
+
* Region to target. If none is passed will use default region from the config.
|
|
308
560
|
*/
|
|
309
561
|
region?: ScwRegion;
|
|
310
|
-
/**
|
|
562
|
+
/**
|
|
563
|
+
* Order in which to return results.
|
|
564
|
+
*/
|
|
311
565
|
orderBy?: ListLinksRequestOrderBy;
|
|
312
|
-
/**
|
|
566
|
+
/**
|
|
567
|
+
* Page number to return.
|
|
568
|
+
*/
|
|
313
569
|
page?: number;
|
|
314
|
-
/**
|
|
570
|
+
/**
|
|
571
|
+
* Maximum number of links to return per page.
|
|
572
|
+
*/
|
|
315
573
|
pageSize?: number;
|
|
316
|
-
/**
|
|
574
|
+
/**
|
|
575
|
+
* Project ID to filter for.
|
|
576
|
+
*/
|
|
317
577
|
projectId?: string;
|
|
318
|
-
/**
|
|
578
|
+
/**
|
|
579
|
+
* Organization ID to filter for.
|
|
580
|
+
*/
|
|
319
581
|
organizationId?: string;
|
|
320
|
-
/**
|
|
582
|
+
/**
|
|
583
|
+
* Link name to filter for.
|
|
584
|
+
*/
|
|
321
585
|
name?: string;
|
|
322
|
-
/**
|
|
586
|
+
/**
|
|
587
|
+
* Tags to filter for.
|
|
588
|
+
*/
|
|
323
589
|
tags?: string[];
|
|
324
|
-
/**
|
|
590
|
+
/**
|
|
591
|
+
* Link status to filter for.
|
|
592
|
+
*/
|
|
325
593
|
status?: LinkStatus;
|
|
326
|
-
/**
|
|
594
|
+
/**
|
|
595
|
+
* BGP IPv4 status to filter for.
|
|
596
|
+
*/
|
|
327
597
|
bgpV4Status?: BgpStatus;
|
|
328
|
-
/**
|
|
598
|
+
/**
|
|
599
|
+
* BGP IPv6 status to filter for.
|
|
600
|
+
*/
|
|
329
601
|
bgpV6Status?: BgpStatus;
|
|
330
|
-
/**
|
|
602
|
+
/**
|
|
603
|
+
* Filter for links attached to this PoP (via connections).
|
|
604
|
+
*/
|
|
331
605
|
popId?: string;
|
|
332
|
-
/**
|
|
606
|
+
/**
|
|
607
|
+
* Filter for link bandwidth (in Mbps).
|
|
608
|
+
*/
|
|
333
609
|
bandwidthMbps?: number;
|
|
334
|
-
/**
|
|
610
|
+
/**
|
|
611
|
+
* Filter for links hosted by this partner.
|
|
612
|
+
*/
|
|
335
613
|
partnerId?: string;
|
|
336
|
-
/**
|
|
614
|
+
/**
|
|
615
|
+
* Filter for links attached to this VPC.
|
|
616
|
+
*/
|
|
337
617
|
vpcId?: string;
|
|
338
|
-
/**
|
|
618
|
+
/**
|
|
619
|
+
* Filter for links using this routing policy.
|
|
620
|
+
*/
|
|
339
621
|
routingPolicyId?: string;
|
|
340
|
-
/**
|
|
622
|
+
/**
|
|
623
|
+
* Filter for the link with this pairing_key.
|
|
624
|
+
*/
|
|
341
625
|
pairingKey?: string;
|
|
626
|
+
/**
|
|
627
|
+
* Filter for hosted or self-hosted links.
|
|
628
|
+
*/
|
|
629
|
+
kind?: LinkKind;
|
|
630
|
+
/**
|
|
631
|
+
* Filter for links self-hosted on this connection.
|
|
632
|
+
*/
|
|
633
|
+
connectionId?: string;
|
|
342
634
|
};
|
|
343
635
|
export interface ListLinksResponse {
|
|
344
|
-
/**
|
|
636
|
+
/**
|
|
637
|
+
* List of links on the current page.
|
|
638
|
+
*/
|
|
345
639
|
links: Link[];
|
|
346
|
-
/**
|
|
640
|
+
/**
|
|
641
|
+
* Total number of links.
|
|
642
|
+
*/
|
|
347
643
|
totalCount: number;
|
|
348
644
|
}
|
|
349
645
|
export type ListPartnersRequest = {
|
|
350
646
|
/**
|
|
351
|
-
* Region to target. If none is passed will use default region from the
|
|
352
|
-
* config.
|
|
647
|
+
* Region to target. If none is passed will use default region from the config.
|
|
353
648
|
*/
|
|
354
649
|
region?: ScwRegion;
|
|
355
|
-
/**
|
|
650
|
+
/**
|
|
651
|
+
* Order in which to return results.
|
|
652
|
+
*/
|
|
356
653
|
orderBy?: ListPartnersRequestOrderBy;
|
|
357
|
-
/**
|
|
654
|
+
/**
|
|
655
|
+
* Page number to return.
|
|
656
|
+
*/
|
|
358
657
|
page?: number;
|
|
359
|
-
/**
|
|
658
|
+
/**
|
|
659
|
+
* Maximum number of partners to return per page.
|
|
660
|
+
*/
|
|
360
661
|
pageSize?: number;
|
|
361
|
-
/**
|
|
662
|
+
/**
|
|
663
|
+
* Filter for partners present (offering a connection) in one of these PoPs.
|
|
664
|
+
*/
|
|
362
665
|
popIds?: string[];
|
|
363
666
|
};
|
|
364
667
|
export interface ListPartnersResponse {
|
|
365
|
-
/**
|
|
668
|
+
/**
|
|
669
|
+
* List of partners on current page.
|
|
670
|
+
*/
|
|
366
671
|
partners: Partner[];
|
|
367
|
-
/**
|
|
672
|
+
/**
|
|
673
|
+
* Total number of partners returned.
|
|
674
|
+
*/
|
|
368
675
|
totalCount: number;
|
|
369
676
|
}
|
|
370
677
|
export type ListPopsRequest = {
|
|
371
678
|
/**
|
|
372
|
-
* Region to target. If none is passed will use default region from the
|
|
373
|
-
* config.
|
|
679
|
+
* Region to target. If none is passed will use default region from the config.
|
|
374
680
|
*/
|
|
375
681
|
region?: ScwRegion;
|
|
376
|
-
/**
|
|
682
|
+
/**
|
|
683
|
+
* Order in which to return results.
|
|
684
|
+
*/
|
|
377
685
|
orderBy?: ListPopsRequestOrderBy;
|
|
378
|
-
/**
|
|
686
|
+
/**
|
|
687
|
+
* Page number to return.
|
|
688
|
+
*/
|
|
379
689
|
page?: number;
|
|
380
|
-
/**
|
|
690
|
+
/**
|
|
691
|
+
* Maximum number of PoPs to return per page.
|
|
692
|
+
*/
|
|
381
693
|
pageSize?: number;
|
|
382
|
-
/**
|
|
694
|
+
/**
|
|
695
|
+
* PoP name to filter for.
|
|
696
|
+
*/
|
|
383
697
|
name?: string;
|
|
384
|
-
/**
|
|
698
|
+
/**
|
|
699
|
+
* Hosting provider name to filter for.
|
|
700
|
+
*/
|
|
385
701
|
hostingProviderName?: string;
|
|
386
|
-
/**
|
|
702
|
+
/**
|
|
703
|
+
* Filter for PoPs hosting an available shared connection from this partner.
|
|
704
|
+
*/
|
|
387
705
|
partnerId?: string;
|
|
388
706
|
/**
|
|
389
|
-
* Filter for PoPs with a shared
|
|
390
|
-
* we cannot guarantee that PoPs returned will have available capacity.
|
|
707
|
+
* Filter for PoPs with a shared connection allowing this bandwidth size. Note that we cannot guarantee that PoPs returned will have available capacity.
|
|
391
708
|
*/
|
|
392
709
|
linkBandwidthMbps?: number;
|
|
710
|
+
/**
|
|
711
|
+
* Filter for PoPs with a dedicated connection available for self-hosted links.
|
|
712
|
+
*/
|
|
713
|
+
dedicatedAvailable?: boolean;
|
|
393
714
|
};
|
|
394
715
|
export interface ListPopsResponse {
|
|
395
|
-
/**
|
|
716
|
+
/**
|
|
717
|
+
* List of PoPs on the current page.
|
|
718
|
+
*/
|
|
396
719
|
pops: Pop[];
|
|
397
|
-
/**
|
|
720
|
+
/**
|
|
721
|
+
* Total number of PoPs.
|
|
722
|
+
*/
|
|
398
723
|
totalCount: number;
|
|
399
724
|
}
|
|
400
725
|
export type ListRoutingPoliciesRequest = {
|
|
401
726
|
/**
|
|
402
|
-
* Region to target. If none is passed will use default region from the
|
|
403
|
-
* config.
|
|
727
|
+
* Region to target. If none is passed will use default region from the config.
|
|
404
728
|
*/
|
|
405
729
|
region?: ScwRegion;
|
|
406
|
-
/**
|
|
730
|
+
/**
|
|
731
|
+
* Order in which to return results.
|
|
732
|
+
*/
|
|
407
733
|
orderBy?: ListRoutingPoliciesRequestOrderBy;
|
|
408
|
-
/**
|
|
734
|
+
/**
|
|
735
|
+
* Page number to return.
|
|
736
|
+
*/
|
|
409
737
|
page?: number;
|
|
410
|
-
/**
|
|
738
|
+
/**
|
|
739
|
+
* Maximum number of routing policies to return per page.
|
|
740
|
+
*/
|
|
411
741
|
pageSize?: number;
|
|
412
|
-
/**
|
|
742
|
+
/**
|
|
743
|
+
* Project ID to filter for.
|
|
744
|
+
*/
|
|
413
745
|
projectId?: string;
|
|
414
|
-
/**
|
|
746
|
+
/**
|
|
747
|
+
* Organization ID to filter for.
|
|
748
|
+
*/
|
|
415
749
|
organizationId?: string;
|
|
416
|
-
/**
|
|
750
|
+
/**
|
|
751
|
+
* Routing policy name to filter for.
|
|
752
|
+
*/
|
|
417
753
|
name?: string;
|
|
418
|
-
/**
|
|
754
|
+
/**
|
|
755
|
+
* Tags to filter for.
|
|
756
|
+
*/
|
|
419
757
|
tags?: string[];
|
|
420
758
|
};
|
|
421
759
|
export interface ListRoutingPoliciesResponse {
|
|
@@ -424,37 +762,49 @@ export interface ListRoutingPoliciesResponse {
|
|
|
424
762
|
}
|
|
425
763
|
export type UpdateLinkRequest = {
|
|
426
764
|
/**
|
|
427
|
-
* Region to target. If none is passed will use default region from the
|
|
428
|
-
* config.
|
|
765
|
+
* Region to target. If none is passed will use default region from the config.
|
|
429
766
|
*/
|
|
430
767
|
region?: ScwRegion;
|
|
431
|
-
/**
|
|
768
|
+
/**
|
|
769
|
+
* ID of the link to update.
|
|
770
|
+
*/
|
|
432
771
|
linkId: string;
|
|
433
|
-
/**
|
|
772
|
+
/**
|
|
773
|
+
* Name of the link.
|
|
774
|
+
*/
|
|
434
775
|
name?: string;
|
|
435
|
-
/**
|
|
776
|
+
/**
|
|
777
|
+
* List of tags to apply to the link.
|
|
778
|
+
*/
|
|
436
779
|
tags?: string[];
|
|
780
|
+
/**
|
|
781
|
+
* For self-hosted links, AS Number to establish BGP session.
|
|
782
|
+
*/
|
|
783
|
+
peerAsn?: number;
|
|
437
784
|
};
|
|
438
785
|
export type UpdateRoutingPolicyRequest = {
|
|
439
786
|
/**
|
|
440
|
-
* Region to target. If none is passed will use default region from the
|
|
441
|
-
* config.
|
|
787
|
+
* Region to target. If none is passed will use default region from the config.
|
|
442
788
|
*/
|
|
443
789
|
region?: ScwRegion;
|
|
444
|
-
/**
|
|
790
|
+
/**
|
|
791
|
+
* ID of the routing policy to update.
|
|
792
|
+
*/
|
|
445
793
|
routingPolicyId: string;
|
|
446
|
-
/**
|
|
794
|
+
/**
|
|
795
|
+
* Name of the routing policy.
|
|
796
|
+
*/
|
|
447
797
|
name?: string;
|
|
448
|
-
/**
|
|
798
|
+
/**
|
|
799
|
+
* List of tags to apply to the routing policy.
|
|
800
|
+
*/
|
|
449
801
|
tags?: string[];
|
|
450
802
|
/**
|
|
451
|
-
* IP prefixes to accept from the peer (ranges of route announcements to
|
|
452
|
-
* accept).
|
|
803
|
+
* IP prefixes to accept from the peer (ranges of route announcements to accept).
|
|
453
804
|
*/
|
|
454
805
|
prefixFilterIn?: string[];
|
|
455
806
|
/**
|
|
456
|
-
* IP prefix filters for routes to advertise to the peer (ranges of routes to
|
|
457
|
-
* advertise).
|
|
807
|
+
* IP prefix filters for routes to advertise to the peer (ranges of routes to advertise).
|
|
458
808
|
*/
|
|
459
809
|
prefixFilterOut?: string[];
|
|
460
810
|
};
|