@scaleway/sdk 2.71.1 → 2.72.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 +5 -4
- package/dist/api/account/v3/api.gen.d.ts +1 -1
- package/dist/api/account/v3/api.gen.js +5 -4
- 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/applesilicon/index.gen.d.ts +2 -2
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/applesilicon/v1alpha1/api.gen.js +6 -5
- 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 +1 -1
- package/dist/api/audit_trail/index.gen.d.ts +2 -2
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +4 -3
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/audit_trail/v1alpha1/api.gen.js +4 -3
- 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 +1 -1
- package/dist/api/baremetal/index.gen.d.ts +2 -2
- package/dist/api/baremetal/v1/api.gen.cjs +6 -5
- package/dist/api/baremetal/v1/api.gen.d.ts +2 -2
- package/dist/api/baremetal/v1/api.gen.js +6 -5
- 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 +65 -65
- package/dist/api/baremetal/v3/api.gen.cjs +5 -4
- package/dist/api/baremetal/v3/api.gen.d.ts +2 -2
- package/dist/api/baremetal/v3/api.gen.js +5 -4
- 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 +1 -1
- 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 +5 -4
- package/dist/api/billing/v2beta1/api.gen.d.ts +1 -1
- package/dist/api/billing/v2beta1/api.gen.js +5 -4
- 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 +1 -1
- package/dist/api/block/index.gen.d.ts +2 -2
- package/dist/api/block/v1/api.gen.cjs +6 -5
- package/dist/api/block/v1/api.gen.d.ts +2 -2
- package/dist/api/block/v1/api.gen.js +6 -5
- 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 +1 -1
- package/dist/api/block/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/block/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/block/v1alpha1/api.gen.js +6 -5
- 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 +1 -1
- package/dist/api/cockpit/index.gen.d.ts +2 -2
- package/dist/api/cockpit/v1/api.gen.cjs +5 -4
- package/dist/api/cockpit/v1/api.gen.d.ts +2 -2
- package/dist/api/cockpit/v1/api.gen.js +5 -4
- 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 +1 -1
- 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 +6 -5
- package/dist/api/container/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/container/v1beta1/api.gen.js +6 -5
- 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 +1 -1
- package/dist/api/dedibox/index.gen.d.ts +2 -2
- package/dist/api/dedibox/v1/api.gen.cjs +6 -5
- package/dist/api/dedibox/v1/api.gen.d.ts +2 -2
- package/dist/api/dedibox/v1/api.gen.js +6 -5
- 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 +1 -1
- 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 +6 -5
- package/dist/api/domain/v2beta1/api.gen.d.ts +2 -2
- package/dist/api/domain/v2beta1/api.gen.js +6 -5
- 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 +1 -1
- 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 +6 -5
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/flexibleip/v1alpha1/api.gen.js +6 -5
- 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 +1 -1
- 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 +6 -5
- package/dist/api/inference/v1/api.gen.d.ts +2 -2
- package/dist/api/inference/v1/api.gen.js +6 -5
- 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 +1 -1
- package/dist/api/inference/v1beta1/api.gen.cjs +6 -5
- package/dist/api/inference/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/inference/v1beta1/api.gen.js +6 -5
- 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 +1 -1
- package/dist/api/instance/index.gen.d.ts +2 -2
- package/dist/api/instance/v1/api.gen.cjs +5 -4
- package/dist/api/instance/v1/api.gen.d.ts +2 -2
- package/dist/api/instance/v1/api.gen.js +5 -4
- 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 +1 -1
- package/dist/api/instance/v1/types.private.gen.d.ts +1 -1
- 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 +101 -11
- package/dist/api/interlink/v1beta1/api.gen.d.ts +50 -10
- package/dist/api/interlink/v1beta1/api.gen.js +102 -12
- 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 +82 -8
- package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +4 -2
- package/dist/api/interlink/v1beta1/marshalling.gen.js +82 -8
- package/dist/api/interlink/v1beta1/types.gen.d.ts +145 -43
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +17 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +15 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +17 -0
- package/dist/api/iot/index.gen.d.ts +2 -2
- package/dist/api/iot/v1/api.gen.cjs +6 -5
- package/dist/api/iot/v1/api.gen.d.ts +2 -2
- package/dist/api/iot/v1/api.gen.js +6 -5
- 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 +1 -1
- package/dist/api/ipam/index.gen.d.ts +2 -2
- package/dist/api/ipam/v1/api.gen.cjs +5 -4
- package/dist/api/ipam/v1/api.gen.d.ts +2 -2
- package/dist/api/ipam/v1/api.gen.js +5 -4
- 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 +1 -1
- 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 +5 -4
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/jobs/v1alpha1/api.gen.js +5 -4
- 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 +1 -1
- package/dist/api/k8s/index.gen.d.ts +2 -2
- package/dist/api/k8s/v1/api.gen.cjs +6 -5
- package/dist/api/k8s/v1/api.gen.d.ts +2 -2
- package/dist/api/k8s/v1/api.gen.js +6 -5
- 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 +1 -1
- package/dist/api/key_manager/index.gen.d.ts +2 -2
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +5 -4
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/key_manager/v1alpha1/api.gen.js +5 -4
- 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 +1 -1
- 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 +5 -4
- package/dist/api/marketplace/v2/api.gen.d.ts +1 -1
- package/dist/api/marketplace/v2/api.gen.js +5 -4
- 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 +1 -1
- package/dist/api/mnq/index.gen.d.ts +2 -2
- package/dist/api/mnq/v1beta1/api.gen.cjs +5 -4
- package/dist/api/mnq/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/mnq/v1beta1/api.gen.js +5 -4
- 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 +1 -1
- package/dist/api/mongodb/index.gen.d.ts +2 -2
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/mongodb/v1alpha1/api.gen.js +6 -5
- 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 +1 -1
- package/dist/api/qaas/index.gen.d.ts +2 -2
- package/dist/api/qaas/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/qaas/v1alpha1/api.gen.js +6 -5
- 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 +1 -1
- package/dist/api/rdb/index.gen.d.ts +2 -2
- package/dist/api/rdb/v1/api.gen.cjs +6 -5
- package/dist/api/rdb/v1/api.gen.d.ts +2 -2
- package/dist/api/rdb/v1/api.gen.js +6 -5
- 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 +1 -1
- package/dist/api/redis/index.gen.d.ts +2 -2
- package/dist/api/redis/v1/api.gen.cjs +6 -5
- package/dist/api/redis/v1/api.gen.d.ts +2 -2
- package/dist/api/redis/v1/api.gen.js +6 -5
- 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 +1 -1
- package/dist/api/registry/index.gen.d.ts +2 -2
- package/dist/api/registry/v1/api.gen.cjs +6 -5
- package/dist/api/registry/v1/api.gen.d.ts +2 -2
- package/dist/api/registry/v1/api.gen.js +6 -5
- 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 +1 -1
- 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 +5 -4
- package/dist/api/secret/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/secret/v1beta1/api.gen.js +5 -4
- 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 +1 -1
- package/dist/api/serverless_sqldb/index.gen.d.ts +2 -2
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +6 -5
- 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 +1 -1
- package/dist/api/tem/index.gen.d.ts +2 -2
- package/dist/api/tem/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/tem/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/tem/v1alpha1/api.gen.js +6 -5
- 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 +1 -1
- package/dist/api/test/index.gen.d.ts +2 -2
- package/dist/api/test/v1/api.gen.cjs +6 -5
- package/dist/api/test/v1/api.gen.d.ts +2 -2
- package/dist/api/test/v1/api.gen.js +6 -5
- 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/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/LICENSE +191 -0
- 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 +37 -0
- package/package.json +6 -4
- package/dist/helpers/is-browser.cjs +0 -7
- package/dist/helpers/is-browser.js +0 -7
- /package/dist/{helpers → client/dist/helpers}/is-response.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/is-response.js +0 -0
- /package/dist/{helpers → client/dist/helpers}/json.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/json.js +0 -0
- /package/dist/{helpers → client/dist/helpers}/marshalling.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/marshalling.js +0 -0
- /package/dist/{internal → client/dist/internal}/async/interval-retrier.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/async/interval-retrier.js +0 -0
- /package/dist/{internal → client/dist/internal}/async/sleep.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/async/sleep.js +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/composer.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/composer.js +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/helpers.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/helpers.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/console-logger.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/console-logger.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/index.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/index.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/level-resolver.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/level-resolver.js +0 -0
- /package/dist/{internal → client/dist/internal}/validations/string-validation.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/validations/string-validation.js +0 -0
- /package/dist/{scw → client/dist/scw}/api.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/api.js +0 -0
- /package/dist/{scw → client/dist/scw}/auth.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/auth.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-factory.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-factory.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-profile.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-profile.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-settings.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-settings.js +0 -0
- /package/dist/{scw → client/dist/scw}/client.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client.js +0 -0
- /package/dist/{scw → client/dist/scw}/constants.js +0 -0
- /package/dist/{scw → client/dist/scw}/custom-marshalling.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/custom-marshalling.js +0 -0
- /package/dist/{scw → client/dist/scw}/custom-types.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/custom-types.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/error-parser.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/error-parser.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/scw-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/scw-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/index.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/index.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/types.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/types.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-dumper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-dumper.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/response-parser.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/response-parser.js +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/bridge.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-browser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-response.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/marshalling.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/sleep.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/composer.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/helpers.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/console-logger.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/index.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/level-resolver.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/logger.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/validations/string-validation.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internals.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/api.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/auth.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-factory.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-profile.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-settings.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.cjs +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-marshalling.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-types.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/error-parser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/invalid-request-mapper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/unknown-resource-mapper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error-from-json.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/already-exists-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/denied-authentication-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/index.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/out-of-stock-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/precondition-failed-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/quotas-exceeded-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-expired-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-locked-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-not-found-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/transient-state-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/types.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/build-fetcher.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-dumper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-interceptors.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/resource-paginator.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/response-parser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/locality.d.ts +0 -0
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
require("../../../
|
|
7
|
-
|
|
3
|
+
require("../../../client/dist/internal/logger/index.cjs");
|
|
4
|
+
const intervalRetrier = require("../../../client/dist/internal/async/interval-retrier.cjs");
|
|
5
|
+
const api = require("../../../client/dist/scw/api.cjs");
|
|
6
|
+
const marshalling = require("../../../client/dist/helpers/marshalling.cjs");
|
|
7
|
+
require("../../../client/dist/vendor/base64/index.cjs");
|
|
8
|
+
const resourcePaginator = require("../../../client/dist/scw/fetch/resource-paginator.cjs");
|
|
8
9
|
const content_gen = require("./content.gen.cjs");
|
|
9
10
|
const marshalling_gen = require("./marshalling.gen.cjs");
|
|
10
11
|
const jsonContentHeaders = {
|
|
@@ -46,18 +47,14 @@ class API extends api.API {
|
|
|
46
47
|
marshalling_gen.unmarshalListGatewaysResponse
|
|
47
48
|
);
|
|
48
49
|
/**
|
|
49
|
-
* List Public Gateways. List Public Gateways in a given Scaleway Organization
|
|
50
|
-
* or Project. By default, results are displayed in ascending order of
|
|
51
|
-
* creation date.
|
|
50
|
+
* List Public Gateways. List Public Gateways in a given Scaleway Organization or Project. By default, results are displayed in ascending order of creation date.
|
|
52
51
|
*
|
|
53
52
|
* @param request - The request {@link ListGatewaysRequest}
|
|
54
53
|
* @returns A Promise of ListGatewaysResponse
|
|
55
54
|
*/
|
|
56
55
|
listGateways = (request = {}) => resourcePaginator.enrichForPagination("gateways", this.pageOfListGateways, request);
|
|
57
56
|
/**
|
|
58
|
-
* Get a Public Gateway. Get details of a Public Gateway, specified by its
|
|
59
|
-
* gateway ID. The response object contains full details of the gateway,
|
|
60
|
-
* including its **name**, **type**, **status** and more.
|
|
57
|
+
* Get a Public Gateway. Get details of a Public Gateway, specified by its gateway ID. The response object contains full details of the gateway, including its **name**, **type**, **status** and more.
|
|
61
58
|
*
|
|
62
59
|
* @param request - The request {@link GetGatewayRequest}
|
|
63
60
|
* @returns A Promise of Gateway
|
|
@@ -85,9 +82,7 @@ class API extends api.API {
|
|
|
85
82
|
options
|
|
86
83
|
);
|
|
87
84
|
/**
|
|
88
|
-
* Create a Public Gateway. Create a new Public Gateway in the specified
|
|
89
|
-
* Scaleway Project, defining its **name**, **type** and other configuration
|
|
90
|
-
* details such as whether to enable SSH bastion.
|
|
85
|
+
* Create a Public Gateway. Create a new Public Gateway in the specified Scaleway Project, defining its **name**, **type** and other configuration details such as whether to enable SSH bastion.
|
|
91
86
|
*
|
|
92
87
|
* @param request - The request {@link CreateGatewayRequest}
|
|
93
88
|
* @returns A Promise of Gateway
|
|
@@ -104,9 +99,7 @@ class API extends api.API {
|
|
|
104
99
|
marshalling_gen.unmarshalGateway
|
|
105
100
|
);
|
|
106
101
|
/**
|
|
107
|
-
* Update a Public Gateway. Update the parameters of an existing Public
|
|
108
|
-
* Gateway, for example, its **name**, **tags**, **SSH bastion
|
|
109
|
-
* configuration**, and **DNS servers**.
|
|
102
|
+
* Update a Public Gateway. Update the parameters of an existing Public Gateway, for example, its **name**, **tags**, **SSH bastion configuration**, and **DNS servers**.
|
|
110
103
|
*
|
|
111
104
|
* @param request - The request {@link UpdateGatewayRequest}
|
|
112
105
|
* @returns A Promise of Gateway
|
|
@@ -123,8 +116,7 @@ class API extends api.API {
|
|
|
123
116
|
marshalling_gen.unmarshalGateway
|
|
124
117
|
);
|
|
125
118
|
/**
|
|
126
|
-
* Delete a Public Gateway. Delete an existing Public Gateway, specified by
|
|
127
|
-
* its gateway ID. This action is irreversible.
|
|
119
|
+
* Delete a Public Gateway. Delete an existing Public Gateway, specified by its gateway ID. This action is irreversible.
|
|
128
120
|
*
|
|
129
121
|
* @param request - The request {@link DeleteGatewayRequest}
|
|
130
122
|
* @returns A Promise of Gateway
|
|
@@ -138,11 +130,7 @@ class API extends api.API {
|
|
|
138
130
|
marshalling_gen.unmarshalGateway
|
|
139
131
|
);
|
|
140
132
|
/**
|
|
141
|
-
* Upgrade a Public Gateway to the latest version and/or to a different
|
|
142
|
-
* commercial offer type. Upgrade a given Public Gateway to the newest
|
|
143
|
-
* software version or to a different commercial offer type. This applies the
|
|
144
|
-
* latest bugfixes and features to your Public Gateway. Note that gateway
|
|
145
|
-
* service will be interrupted during the update.
|
|
133
|
+
* Upgrade a Public Gateway to the latest version and/or to a different commercial offer type. Upgrade a given Public Gateway to the newest software version or to a different commercial offer type. This applies the latest bugfixes and features to your Public Gateway. Note that gateway service will be interrupted during the update.
|
|
146
134
|
*
|
|
147
135
|
* @param request - The request {@link UpgradeGatewayRequest}
|
|
148
136
|
* @returns A Promise of Gateway
|
|
@@ -178,14 +166,7 @@ class API extends api.API {
|
|
|
178
166
|
marshalling_gen.unmarshalListGatewayNetworksResponse
|
|
179
167
|
);
|
|
180
168
|
/**
|
|
181
|
-
* List Public Gateway connections to Private Networks. List the connections
|
|
182
|
-
* between Public Gateways and Private Networks (a connection = a
|
|
183
|
-
* GatewayNetwork). You can choose to filter by `gateway-id` to list all
|
|
184
|
-
* Private Networks attached to the specified Public Gateway, or by
|
|
185
|
-
* `private_network_id` to list all Public Gateways attached to the specified
|
|
186
|
-
* Private Network. Other query parameters are also available. The result is
|
|
187
|
-
* an array of GatewayNetwork objects, each giving details of the connection
|
|
188
|
-
* between a given Public Gateway and a given Private Network.
|
|
169
|
+
* List Public Gateway connections to Private Networks. List the connections between Public Gateways and Private Networks (a connection = a GatewayNetwork). You can choose to filter by `gateway-id` to list all Private Networks attached to the specified Public Gateway, or by `private_network_id` to list all Public Gateways attached to the specified Private Network. Other query parameters are also available. The result is an array of GatewayNetwork objects, each giving details of the connection between a given Public Gateway and a given Private Network.
|
|
189
170
|
*
|
|
190
171
|
* @param request - The request {@link ListGatewayNetworksRequest}
|
|
191
172
|
* @returns A Promise of ListGatewayNetworksResponse
|
|
@@ -196,12 +177,7 @@ class API extends api.API {
|
|
|
196
177
|
request
|
|
197
178
|
);
|
|
198
179
|
/**
|
|
199
|
-
* Get a Public Gateway connection to a Private Network. Get details of a
|
|
200
|
-
* given connection between a Public Gateway and a Private Network (this
|
|
201
|
-
* connection = a GatewayNetwork), specified by its `gateway_network_id`. The
|
|
202
|
-
* response object contains details of the connection including the IDs of the
|
|
203
|
-
* Public Gateway and Private Network, the dates the connection was
|
|
204
|
-
* created/updated and its configuration settings.
|
|
180
|
+
* Get a Public Gateway connection to a Private Network. Get details of a given connection between a Public Gateway and a Private Network (this connection = a GatewayNetwork), specified by its `gateway_network_id`. The response object contains details of the connection including the IDs of the Public Gateway and Private Network, the dates the connection was created/updated and its configuration settings.
|
|
205
181
|
*
|
|
206
182
|
* @param request - The request {@link GetGatewayNetworkRequest}
|
|
207
183
|
* @returns A Promise of GatewayNetwork
|
|
@@ -229,10 +205,7 @@ class API extends api.API {
|
|
|
229
205
|
options
|
|
230
206
|
);
|
|
231
207
|
/**
|
|
232
|
-
* Attach a Public Gateway to a Private Network. Attach a specific Public
|
|
233
|
-
* Gateway to a specific Private Network (create a GatewayNetwork). You can
|
|
234
|
-
* configure parameters for the connection including whether to enable
|
|
235
|
-
* masquerade (dynamic NAT), and more.
|
|
208
|
+
* Attach a Public Gateway to a Private Network. Attach a specific Public Gateway to a specific Private Network (create a GatewayNetwork). You can configure parameters for the connection including whether to enable masquerade (dynamic NAT), and more.
|
|
236
209
|
*
|
|
237
210
|
* @param request - The request {@link CreateGatewayNetworkRequest}
|
|
238
211
|
* @returns A Promise of GatewayNetwork
|
|
@@ -249,10 +222,7 @@ class API extends api.API {
|
|
|
249
222
|
marshalling_gen.unmarshalGatewayNetwork
|
|
250
223
|
);
|
|
251
224
|
/**
|
|
252
|
-
* Update a Public Gateway's connection to a Private Network. Update the
|
|
253
|
-
* configuration parameters of a connection between a given Public Gateway and
|
|
254
|
-
* Private Network (the connection = a GatewayNetwork). Updatable parameters
|
|
255
|
-
* include whether to enable traffic masquerade (dynamic NAT).
|
|
225
|
+
* Update a Public Gateway's connection to a Private Network. Update the configuration parameters of a connection between a given Public Gateway and Private Network (the connection = a GatewayNetwork). Updatable parameters include whether to enable traffic masquerade (dynamic NAT).
|
|
256
226
|
*
|
|
257
227
|
* @param request - The request {@link UpdateGatewayNetworkRequest}
|
|
258
228
|
* @returns A Promise of GatewayNetwork
|
|
@@ -269,9 +239,7 @@ class API extends api.API {
|
|
|
269
239
|
marshalling_gen.unmarshalGatewayNetwork
|
|
270
240
|
);
|
|
271
241
|
/**
|
|
272
|
-
* Detach a Public Gateway from a Private Network. Detach a given Public
|
|
273
|
-
* Gateway from a given Private Network, i.e. delete a GatewayNetwork
|
|
274
|
-
* specified by a gateway_network_id.
|
|
242
|
+
* Detach a Public Gateway from a Private Network. Detach a given Public Gateway from a given Private Network, i.e. delete a GatewayNetwork specified by a gateway_network_id.
|
|
275
243
|
*
|
|
276
244
|
* @param request - The request {@link DeleteGatewayNetworkRequest}
|
|
277
245
|
* @returns A Promise of GatewayNetwork
|
|
@@ -302,19 +270,14 @@ class API extends api.API {
|
|
|
302
270
|
marshalling_gen.unmarshalListPatRulesResponse
|
|
303
271
|
);
|
|
304
272
|
/**
|
|
305
|
-
* List PAT rules. List PAT rules. You can filter by gateway ID to list all
|
|
306
|
-
* PAT rules for a particular gateway, or filter for PAT rules targeting a
|
|
307
|
-
* specific IP address or using a specific protocol.
|
|
273
|
+
* List PAT rules. List PAT rules. You can filter by gateway ID to list all PAT rules for a particular gateway, or filter for PAT rules targeting a specific IP address or using a specific protocol.
|
|
308
274
|
*
|
|
309
275
|
* @param request - The request {@link ListPatRulesRequest}
|
|
310
276
|
* @returns A Promise of ListPatRulesResponse
|
|
311
277
|
*/
|
|
312
278
|
listPatRules = (request = {}) => resourcePaginator.enrichForPagination("patRules", this.pageOfListPatRules, request);
|
|
313
279
|
/**
|
|
314
|
-
* Get a PAT rule. Get a PAT rule, specified by its PAT rule ID. The response
|
|
315
|
-
* object gives full details of the PAT rule, including the Public Gateway it
|
|
316
|
-
* belongs to and the configuration settings in terms of public / private
|
|
317
|
-
* ports, private IP and protocol.
|
|
280
|
+
* Get a PAT rule. Get a PAT rule, specified by its PAT rule ID. The response object gives full details of the PAT rule, including the Public Gateway it belongs to and the configuration settings in terms of public / private ports, private IP and protocol.
|
|
318
281
|
*
|
|
319
282
|
* @param request - The request {@link GetPatRuleRequest}
|
|
320
283
|
* @returns A Promise of PatRule
|
|
@@ -327,9 +290,7 @@ class API extends api.API {
|
|
|
327
290
|
marshalling_gen.unmarshalPatRule
|
|
328
291
|
);
|
|
329
292
|
/**
|
|
330
|
-
* Create a PAT rule. Create a new PAT rule on a specified Public Gateway,
|
|
331
|
-
* defining the protocol to use, public port to listen on, and private port /
|
|
332
|
-
* IP address to map to.
|
|
293
|
+
* Create a PAT rule. Create a new PAT rule on a specified Public Gateway, defining the protocol to use, public port to listen on, and private port / IP address to map to.
|
|
333
294
|
*
|
|
334
295
|
* @param request - The request {@link CreatePatRuleRequest}
|
|
335
296
|
* @returns A Promise of PatRule
|
|
@@ -346,9 +307,7 @@ class API extends api.API {
|
|
|
346
307
|
marshalling_gen.unmarshalPatRule
|
|
347
308
|
);
|
|
348
309
|
/**
|
|
349
|
-
* Update a PAT rule. Update a PAT rule, specified by its PAT rule ID.
|
|
350
|
-
* Configuration settings including private/public port, private IP address
|
|
351
|
-
* and protocol can all be updated.
|
|
310
|
+
* Update a PAT rule. Update a PAT rule, specified by its PAT rule ID. Configuration settings including private/public port, private IP address and protocol can all be updated.
|
|
352
311
|
*
|
|
353
312
|
* @param request - The request {@link UpdatePatRuleRequest}
|
|
354
313
|
* @returns A Promise of PatRule
|
|
@@ -365,10 +324,7 @@ class API extends api.API {
|
|
|
365
324
|
marshalling_gen.unmarshalPatRule
|
|
366
325
|
);
|
|
367
326
|
/**
|
|
368
|
-
* Set all PAT rules. Set a definitive list of PAT rules attached to a Public
|
|
369
|
-
* Gateway. Each rule is identified by its public port and protocol. This will
|
|
370
|
-
* sync the current PAT rule list on the gateway with the new list, creating,
|
|
371
|
-
* updating or deleting PAT rules accordingly.
|
|
327
|
+
* Set all PAT rules. Set a definitive list of PAT rules attached to a Public Gateway. Each rule is identified by its public port and protocol. This will sync the current PAT rule list on the gateway with the new list, creating, updating or deleting PAT rules accordingly.
|
|
372
328
|
*
|
|
373
329
|
* @param request - The request {@link SetPatRulesRequest}
|
|
374
330
|
* @returns A Promise of SetPatRulesResponse
|
|
@@ -385,8 +341,7 @@ class API extends api.API {
|
|
|
385
341
|
marshalling_gen.unmarshalSetPatRulesResponse
|
|
386
342
|
);
|
|
387
343
|
/**
|
|
388
|
-
* Delete a PAT rule. Delete a PAT rule, identified by its PAT rule ID. This
|
|
389
|
-
* action is irreversible.
|
|
344
|
+
* Delete a PAT rule. Delete a PAT rule, identified by its PAT rule ID. This action is irreversible.
|
|
390
345
|
*
|
|
391
346
|
* @param request - The request {@link DeletePatRuleRequest}
|
|
392
347
|
*/
|
|
@@ -395,9 +350,7 @@ class API extends api.API {
|
|
|
395
350
|
path: `/vpc-gw/v2/zones/${marshalling.validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/pat-rules/${marshalling.validatePathParam("patRuleId", request.patRuleId)}`
|
|
396
351
|
});
|
|
397
352
|
/**
|
|
398
|
-
* List Public Gateway types. List the different Public Gateway commercial
|
|
399
|
-
* offer types available at Scaleway. The response is an array of objects
|
|
400
|
-
* describing the name and technical details of each available gateway type.
|
|
353
|
+
* List Public Gateway types. List the different Public Gateway commercial offer types available at Scaleway. The response is an array of objects describing the name and technical details of each available gateway type.
|
|
401
354
|
*
|
|
402
355
|
* @param request - The request {@link ListGatewayTypesRequest}
|
|
403
356
|
* @returns A Promise of ListGatewayTypesResponse
|
|
@@ -430,18 +383,14 @@ class API extends api.API {
|
|
|
430
383
|
marshalling_gen.unmarshalListIPsResponse
|
|
431
384
|
);
|
|
432
385
|
/**
|
|
433
|
-
* List IPs. List Public Gateway flexible IP addresses. A number of filter
|
|
434
|
-
* options are available for limiting results in the response.
|
|
386
|
+
* List IPs. List Public Gateway flexible IP addresses. A number of filter options are available for limiting results in the response.
|
|
435
387
|
*
|
|
436
388
|
* @param request - The request {@link ListIPsRequest}
|
|
437
389
|
* @returns A Promise of ListIPsResponse
|
|
438
390
|
*/
|
|
439
391
|
listIPs = (request = {}) => resourcePaginator.enrichForPagination("ips", this.pageOfListIPs, request);
|
|
440
392
|
/**
|
|
441
|
-
* Get an IP. Get details of a Public Gateway flexible IP address, identified
|
|
442
|
-
* by its IP ID. The response object contains information including which (if
|
|
443
|
-
* any) Public Gateway using this IP address, the reverse and various other
|
|
444
|
-
* metadata.
|
|
393
|
+
* Get an IP. Get details of a Public Gateway flexible IP address, identified by its IP ID. The response object contains information including which (if any) Public Gateway using this IP address, the reverse and various other metadata.
|
|
445
394
|
*
|
|
446
395
|
* @param request - The request {@link GetIPRequest}
|
|
447
396
|
* @returns A Promise of IP
|
|
@@ -454,8 +403,7 @@ class API extends api.API {
|
|
|
454
403
|
marshalling_gen.unmarshalIP
|
|
455
404
|
);
|
|
456
405
|
/**
|
|
457
|
-
* Reserve an IP. Create (reserve) a new flexible IP address that can be used
|
|
458
|
-
* for a Public Gateway in a specified Scaleway Project.
|
|
406
|
+
* Reserve an IP. Create (reserve) a new flexible IP address that can be used for a Public Gateway in a specified Scaleway Project.
|
|
459
407
|
*
|
|
460
408
|
* @param request - The request {@link CreateIPRequest}
|
|
461
409
|
* @returns A Promise of IP
|
|
@@ -472,8 +420,7 @@ class API extends api.API {
|
|
|
472
420
|
marshalling_gen.unmarshalIP
|
|
473
421
|
);
|
|
474
422
|
/**
|
|
475
|
-
* Update an IP. Update details of an existing flexible IP address, including
|
|
476
|
-
* its tags, reverse and the Public Gateway it is assigned to.
|
|
423
|
+
* Update an IP. Update details of an existing flexible IP address, including its tags, reverse and the Public Gateway it is assigned to.
|
|
477
424
|
*
|
|
478
425
|
* @param request - The request {@link UpdateIPRequest}
|
|
479
426
|
* @returns A Promise of IP
|
|
@@ -490,8 +437,7 @@ class API extends api.API {
|
|
|
490
437
|
marshalling_gen.unmarshalIP
|
|
491
438
|
);
|
|
492
439
|
/**
|
|
493
|
-
* Delete an IP. Delete a flexible IP address from your account. This action
|
|
494
|
-
* is irreversible.
|
|
440
|
+
* Delete an IP. Delete a flexible IP address from your account. This action is irreversible.
|
|
495
441
|
*
|
|
496
442
|
* @param request - The request {@link DeleteIPRequest}
|
|
497
443
|
*/
|
|
@@ -500,9 +446,7 @@ class API extends api.API {
|
|
|
500
446
|
path: `/vpc-gw/v2/zones/${marshalling.validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/ips/${marshalling.validatePathParam("ipId", request.ipId)}`
|
|
501
447
|
});
|
|
502
448
|
/**
|
|
503
|
-
* Refresh a Public Gateway's SSH keys. Refresh the SSH keys of a given Public
|
|
504
|
-
* Gateway, specified by its gateway ID. This adds any new SSH keys in the
|
|
505
|
-
* gateway's Scaleway Project to the gateway itself.
|
|
449
|
+
* Refresh a Public Gateway's SSH keys. Refresh the SSH keys of a given Public Gateway, specified by its gateway ID. This adds any new SSH keys in the gateway's Scaleway Project to the gateway itself.
|
|
506
450
|
*
|
|
507
451
|
* @param request - The request {@link RefreshSSHKeysRequest}
|
|
508
452
|
* @returns A Promise of Gateway
|
|
@@ -517,8 +461,7 @@ class API extends api.API {
|
|
|
517
461
|
marshalling_gen.unmarshalGateway
|
|
518
462
|
);
|
|
519
463
|
/**
|
|
520
|
-
* Add allowed IP range to SSH bastion. Add an IP range (in CIDR notation) to
|
|
521
|
-
* be allowed to connect to the SSH bastion.
|
|
464
|
+
* Add allowed IP range to SSH bastion. Add an IP range (in CIDR notation) to be allowed to connect to the SSH bastion.
|
|
522
465
|
*
|
|
523
466
|
* @param request - The request {@link AddBastionAllowedIPsRequest}
|
|
524
467
|
* @returns A Promise of AddBastionAllowedIPsResponse
|
|
@@ -535,8 +478,7 @@ class API extends api.API {
|
|
|
535
478
|
marshalling_gen.unmarshalAddBastionAllowedIPsResponse
|
|
536
479
|
);
|
|
537
480
|
/**
|
|
538
|
-
* Set all IP ranges allowed for SSH bastion. Set a definitive list of IP
|
|
539
|
-
* ranges (in CIDR notation) allowed to connect to the SSH bastion.
|
|
481
|
+
* Set all IP ranges allowed for SSH bastion. Set a definitive list of IP ranges (in CIDR notation) allowed to connect to the SSH bastion.
|
|
540
482
|
*
|
|
541
483
|
* @param request - The request {@link SetBastionAllowedIPsRequest}
|
|
542
484
|
* @returns A Promise of SetBastionAllowedIPsResponse
|
|
@@ -553,9 +495,7 @@ class API extends api.API {
|
|
|
553
495
|
marshalling_gen.unmarshalSetBastionAllowedIPsResponse
|
|
554
496
|
);
|
|
555
497
|
/**
|
|
556
|
-
* Delete allowed IP range from SSH bastion. Delete an IP range (defined in
|
|
557
|
-
* CIDR notation) from SSH bastion, so that it is no longer allowed to
|
|
558
|
-
* connect.
|
|
498
|
+
* Delete allowed IP range from SSH bastion. Delete an IP range (defined in CIDR notation) from SSH bastion, so that it is no longer allowed to connect.
|
|
559
499
|
*
|
|
560
500
|
* @param request - The request {@link DeleteBastionAllowedIPsRequest}
|
|
561
501
|
*/
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import { API as ParentAPI } from '
|
|
2
|
-
import type { Zone as ScwZone, WaitForOptions } from '
|
|
1
|
+
import { API as ParentAPI } from '@scaleway/sdk-client';
|
|
2
|
+
import type { Zone as ScwZone, WaitForOptions } from '@scaleway/sdk-client';
|
|
3
3
|
import type { AddBastionAllowedIPsRequest, AddBastionAllowedIPsResponse, CreateGatewayNetworkRequest, CreateGatewayRequest, CreateIPRequest, CreatePatRuleRequest, DeleteBastionAllowedIPsRequest, DeleteGatewayNetworkRequest, DeleteGatewayRequest, DeleteIPRequest, DeletePatRuleRequest, Gateway, GatewayNetwork, GetGatewayNetworkRequest, GetGatewayRequest, GetIPRequest, GetPatRuleRequest, IP, ListGatewayNetworksRequest, ListGatewayNetworksResponse, ListGatewayTypesRequest, ListGatewayTypesResponse, ListGatewaysRequest, ListGatewaysResponse, ListIPsRequest, ListIPsResponse, ListPatRulesRequest, ListPatRulesResponse, PatRule, RefreshSSHKeysRequest, SetBastionAllowedIPsRequest, SetBastionAllowedIPsResponse, SetPatRulesRequest, SetPatRulesResponse, UpdateGatewayNetworkRequest, UpdateGatewayRequest, UpdateIPRequest, UpdatePatRuleRequest, UpgradeGatewayRequest } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* Public Gateways API.
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
|
|
7
|
+
This API allows you to manage your Public Gateways.
|
|
8
8
|
*/
|
|
9
9
|
export declare class API extends ParentAPI {
|
|
10
10
|
/** Lists the available zones of the API. */
|
|
11
11
|
static readonly LOCALITIES: ScwZone[];
|
|
12
12
|
protected pageOfListGateways: (request?: Readonly<ListGatewaysRequest>) => Promise<ListGatewaysResponse>;
|
|
13
13
|
/**
|
|
14
|
-
* List Public Gateways. List Public Gateways in a given Scaleway Organization
|
|
15
|
-
* or Project. By default, results are displayed in ascending order of
|
|
16
|
-
* creation date.
|
|
14
|
+
* List Public Gateways. List Public Gateways in a given Scaleway Organization or Project. By default, results are displayed in ascending order of creation date.
|
|
17
15
|
*
|
|
18
16
|
* @param request - The request {@link ListGatewaysRequest}
|
|
19
17
|
* @returns A Promise of ListGatewaysResponse
|
|
@@ -23,9 +21,7 @@ export declare class API extends ParentAPI {
|
|
|
23
21
|
[Symbol.asyncIterator]: () => AsyncGenerator<Gateway[], void, void>;
|
|
24
22
|
};
|
|
25
23
|
/**
|
|
26
|
-
* Get a Public Gateway. Get details of a Public Gateway, specified by its
|
|
27
|
-
* gateway ID. The response object contains full details of the gateway,
|
|
28
|
-
* including its **name**, **type**, **status** and more.
|
|
24
|
+
* Get a Public Gateway. Get details of a Public Gateway, specified by its gateway ID. The response object contains full details of the gateway, including its **name**, **type**, **status** and more.
|
|
29
25
|
*
|
|
30
26
|
* @param request - The request {@link GetGatewayRequest}
|
|
31
27
|
* @returns A Promise of Gateway
|
|
@@ -40,37 +36,28 @@ export declare class API extends ParentAPI {
|
|
|
40
36
|
*/
|
|
41
37
|
waitForGateway: (request: Readonly<GetGatewayRequest>, options?: Readonly<WaitForOptions<Gateway>>) => Promise<Gateway>;
|
|
42
38
|
/**
|
|
43
|
-
* Create a Public Gateway. Create a new Public Gateway in the specified
|
|
44
|
-
* Scaleway Project, defining its **name**, **type** and other configuration
|
|
45
|
-
* details such as whether to enable SSH bastion.
|
|
39
|
+
* Create a Public Gateway. Create a new Public Gateway in the specified Scaleway Project, defining its **name**, **type** and other configuration details such as whether to enable SSH bastion.
|
|
46
40
|
*
|
|
47
41
|
* @param request - The request {@link CreateGatewayRequest}
|
|
48
42
|
* @returns A Promise of Gateway
|
|
49
43
|
*/
|
|
50
44
|
createGateway: (request: Readonly<CreateGatewayRequest>) => Promise<Gateway>;
|
|
51
45
|
/**
|
|
52
|
-
* Update a Public Gateway. Update the parameters of an existing Public
|
|
53
|
-
* Gateway, for example, its **name**, **tags**, **SSH bastion
|
|
54
|
-
* configuration**, and **DNS servers**.
|
|
46
|
+
* Update a Public Gateway. Update the parameters of an existing Public Gateway, for example, its **name**, **tags**, **SSH bastion configuration**, and **DNS servers**.
|
|
55
47
|
*
|
|
56
48
|
* @param request - The request {@link UpdateGatewayRequest}
|
|
57
49
|
* @returns A Promise of Gateway
|
|
58
50
|
*/
|
|
59
51
|
updateGateway: (request: Readonly<UpdateGatewayRequest>) => Promise<Gateway>;
|
|
60
52
|
/**
|
|
61
|
-
* Delete a Public Gateway. Delete an existing Public Gateway, specified by
|
|
62
|
-
* its gateway ID. This action is irreversible.
|
|
53
|
+
* Delete a Public Gateway. Delete an existing Public Gateway, specified by its gateway ID. This action is irreversible.
|
|
63
54
|
*
|
|
64
55
|
* @param request - The request {@link DeleteGatewayRequest}
|
|
65
56
|
* @returns A Promise of Gateway
|
|
66
57
|
*/
|
|
67
58
|
deleteGateway: (request: Readonly<DeleteGatewayRequest>) => Promise<Gateway>;
|
|
68
59
|
/**
|
|
69
|
-
* Upgrade a Public Gateway to the latest version and/or to a different
|
|
70
|
-
* commercial offer type. Upgrade a given Public Gateway to the newest
|
|
71
|
-
* software version or to a different commercial offer type. This applies the
|
|
72
|
-
* latest bugfixes and features to your Public Gateway. Note that gateway
|
|
73
|
-
* service will be interrupted during the update.
|
|
60
|
+
* Upgrade a Public Gateway to the latest version and/or to a different commercial offer type. Upgrade a given Public Gateway to the newest software version or to a different commercial offer type. This applies the latest bugfixes and features to your Public Gateway. Note that gateway service will be interrupted during the update.
|
|
74
61
|
*
|
|
75
62
|
* @param request - The request {@link UpgradeGatewayRequest}
|
|
76
63
|
* @returns A Promise of Gateway
|
|
@@ -78,14 +65,7 @@ export declare class API extends ParentAPI {
|
|
|
78
65
|
upgradeGateway: (request: Readonly<UpgradeGatewayRequest>) => Promise<Gateway>;
|
|
79
66
|
protected pageOfListGatewayNetworks: (request?: Readonly<ListGatewayNetworksRequest>) => Promise<ListGatewayNetworksResponse>;
|
|
80
67
|
/**
|
|
81
|
-
* List Public Gateway connections to Private Networks. List the connections
|
|
82
|
-
* between Public Gateways and Private Networks (a connection = a
|
|
83
|
-
* GatewayNetwork). You can choose to filter by `gateway-id` to list all
|
|
84
|
-
* Private Networks attached to the specified Public Gateway, or by
|
|
85
|
-
* `private_network_id` to list all Public Gateways attached to the specified
|
|
86
|
-
* Private Network. Other query parameters are also available. The result is
|
|
87
|
-
* an array of GatewayNetwork objects, each giving details of the connection
|
|
88
|
-
* between a given Public Gateway and a given Private Network.
|
|
68
|
+
* List Public Gateway connections to Private Networks. List the connections between Public Gateways and Private Networks (a connection = a GatewayNetwork). You can choose to filter by `gateway-id` to list all Private Networks attached to the specified Public Gateway, or by `private_network_id` to list all Public Gateways attached to the specified Private Network. Other query parameters are also available. The result is an array of GatewayNetwork objects, each giving details of the connection between a given Public Gateway and a given Private Network.
|
|
89
69
|
*
|
|
90
70
|
* @param request - The request {@link ListGatewayNetworksRequest}
|
|
91
71
|
* @returns A Promise of ListGatewayNetworksResponse
|
|
@@ -95,12 +75,7 @@ export declare class API extends ParentAPI {
|
|
|
95
75
|
[Symbol.asyncIterator]: () => AsyncGenerator<GatewayNetwork[], void, void>;
|
|
96
76
|
};
|
|
97
77
|
/**
|
|
98
|
-
* Get a Public Gateway connection to a Private Network. Get details of a
|
|
99
|
-
* given connection between a Public Gateway and a Private Network (this
|
|
100
|
-
* connection = a GatewayNetwork), specified by its `gateway_network_id`. The
|
|
101
|
-
* response object contains details of the connection including the IDs of the
|
|
102
|
-
* Public Gateway and Private Network, the dates the connection was
|
|
103
|
-
* created/updated and its configuration settings.
|
|
78
|
+
* Get a Public Gateway connection to a Private Network. Get details of a given connection between a Public Gateway and a Private Network (this connection = a GatewayNetwork), specified by its `gateway_network_id`. The response object contains details of the connection including the IDs of the Public Gateway and Private Network, the dates the connection was created/updated and its configuration settings.
|
|
104
79
|
*
|
|
105
80
|
* @param request - The request {@link GetGatewayNetworkRequest}
|
|
106
81
|
* @returns A Promise of GatewayNetwork
|
|
@@ -115,29 +90,21 @@ export declare class API extends ParentAPI {
|
|
|
115
90
|
*/
|
|
116
91
|
waitForGatewayNetwork: (request: Readonly<GetGatewayNetworkRequest>, options?: Readonly<WaitForOptions<GatewayNetwork>>) => Promise<GatewayNetwork>;
|
|
117
92
|
/**
|
|
118
|
-
* Attach a Public Gateway to a Private Network. Attach a specific Public
|
|
119
|
-
* Gateway to a specific Private Network (create a GatewayNetwork). You can
|
|
120
|
-
* configure parameters for the connection including whether to enable
|
|
121
|
-
* masquerade (dynamic NAT), and more.
|
|
93
|
+
* Attach a Public Gateway to a Private Network. Attach a specific Public Gateway to a specific Private Network (create a GatewayNetwork). You can configure parameters for the connection including whether to enable masquerade (dynamic NAT), and more.
|
|
122
94
|
*
|
|
123
95
|
* @param request - The request {@link CreateGatewayNetworkRequest}
|
|
124
96
|
* @returns A Promise of GatewayNetwork
|
|
125
97
|
*/
|
|
126
98
|
createGatewayNetwork: (request: Readonly<CreateGatewayNetworkRequest>) => Promise<GatewayNetwork>;
|
|
127
99
|
/**
|
|
128
|
-
* Update a Public Gateway's connection to a Private Network. Update the
|
|
129
|
-
* configuration parameters of a connection between a given Public Gateway and
|
|
130
|
-
* Private Network (the connection = a GatewayNetwork). Updatable parameters
|
|
131
|
-
* include whether to enable traffic masquerade (dynamic NAT).
|
|
100
|
+
* Update a Public Gateway's connection to a Private Network. Update the configuration parameters of a connection between a given Public Gateway and Private Network (the connection = a GatewayNetwork). Updatable parameters include whether to enable traffic masquerade (dynamic NAT).
|
|
132
101
|
*
|
|
133
102
|
* @param request - The request {@link UpdateGatewayNetworkRequest}
|
|
134
103
|
* @returns A Promise of GatewayNetwork
|
|
135
104
|
*/
|
|
136
105
|
updateGatewayNetwork: (request: Readonly<UpdateGatewayNetworkRequest>) => Promise<GatewayNetwork>;
|
|
137
106
|
/**
|
|
138
|
-
* Detach a Public Gateway from a Private Network. Detach a given Public
|
|
139
|
-
* Gateway from a given Private Network, i.e. delete a GatewayNetwork
|
|
140
|
-
* specified by a gateway_network_id.
|
|
107
|
+
* Detach a Public Gateway from a Private Network. Detach a given Public Gateway from a given Private Network, i.e. delete a GatewayNetwork specified by a gateway_network_id.
|
|
141
108
|
*
|
|
142
109
|
* @param request - The request {@link DeleteGatewayNetworkRequest}
|
|
143
110
|
* @returns A Promise of GatewayNetwork
|
|
@@ -145,9 +112,7 @@ export declare class API extends ParentAPI {
|
|
|
145
112
|
deleteGatewayNetwork: (request: Readonly<DeleteGatewayNetworkRequest>) => Promise<GatewayNetwork>;
|
|
146
113
|
protected pageOfListPatRules: (request?: Readonly<ListPatRulesRequest>) => Promise<ListPatRulesResponse>;
|
|
147
114
|
/**
|
|
148
|
-
* List PAT rules. List PAT rules. You can filter by gateway ID to list all
|
|
149
|
-
* PAT rules for a particular gateway, or filter for PAT rules targeting a
|
|
150
|
-
* specific IP address or using a specific protocol.
|
|
115
|
+
* List PAT rules. List PAT rules. You can filter by gateway ID to list all PAT rules for a particular gateway, or filter for PAT rules targeting a specific IP address or using a specific protocol.
|
|
151
116
|
*
|
|
152
117
|
* @param request - The request {@link ListPatRulesRequest}
|
|
153
118
|
* @returns A Promise of ListPatRulesResponse
|
|
@@ -157,54 +122,41 @@ export declare class API extends ParentAPI {
|
|
|
157
122
|
[Symbol.asyncIterator]: () => AsyncGenerator<PatRule[], void, void>;
|
|
158
123
|
};
|
|
159
124
|
/**
|
|
160
|
-
* Get a PAT rule. Get a PAT rule, specified by its PAT rule ID. The response
|
|
161
|
-
* object gives full details of the PAT rule, including the Public Gateway it
|
|
162
|
-
* belongs to and the configuration settings in terms of public / private
|
|
163
|
-
* ports, private IP and protocol.
|
|
125
|
+
* Get a PAT rule. Get a PAT rule, specified by its PAT rule ID. The response object gives full details of the PAT rule, including the Public Gateway it belongs to and the configuration settings in terms of public / private ports, private IP and protocol.
|
|
164
126
|
*
|
|
165
127
|
* @param request - The request {@link GetPatRuleRequest}
|
|
166
128
|
* @returns A Promise of PatRule
|
|
167
129
|
*/
|
|
168
130
|
getPatRule: (request: Readonly<GetPatRuleRequest>) => Promise<PatRule>;
|
|
169
131
|
/**
|
|
170
|
-
* Create a PAT rule. Create a new PAT rule on a specified Public Gateway,
|
|
171
|
-
* defining the protocol to use, public port to listen on, and private port /
|
|
172
|
-
* IP address to map to.
|
|
132
|
+
* Create a PAT rule. Create a new PAT rule on a specified Public Gateway, defining the protocol to use, public port to listen on, and private port / IP address to map to.
|
|
173
133
|
*
|
|
174
134
|
* @param request - The request {@link CreatePatRuleRequest}
|
|
175
135
|
* @returns A Promise of PatRule
|
|
176
136
|
*/
|
|
177
137
|
createPatRule: (request: Readonly<CreatePatRuleRequest>) => Promise<PatRule>;
|
|
178
138
|
/**
|
|
179
|
-
* Update a PAT rule. Update a PAT rule, specified by its PAT rule ID.
|
|
180
|
-
* Configuration settings including private/public port, private IP address
|
|
181
|
-
* and protocol can all be updated.
|
|
139
|
+
* Update a PAT rule. Update a PAT rule, specified by its PAT rule ID. Configuration settings including private/public port, private IP address and protocol can all be updated.
|
|
182
140
|
*
|
|
183
141
|
* @param request - The request {@link UpdatePatRuleRequest}
|
|
184
142
|
* @returns A Promise of PatRule
|
|
185
143
|
*/
|
|
186
144
|
updatePatRule: (request: Readonly<UpdatePatRuleRequest>) => Promise<PatRule>;
|
|
187
145
|
/**
|
|
188
|
-
* Set all PAT rules. Set a definitive list of PAT rules attached to a Public
|
|
189
|
-
* Gateway. Each rule is identified by its public port and protocol. This will
|
|
190
|
-
* sync the current PAT rule list on the gateway with the new list, creating,
|
|
191
|
-
* updating or deleting PAT rules accordingly.
|
|
146
|
+
* Set all PAT rules. Set a definitive list of PAT rules attached to a Public Gateway. Each rule is identified by its public port and protocol. This will sync the current PAT rule list on the gateway with the new list, creating, updating or deleting PAT rules accordingly.
|
|
192
147
|
*
|
|
193
148
|
* @param request - The request {@link SetPatRulesRequest}
|
|
194
149
|
* @returns A Promise of SetPatRulesResponse
|
|
195
150
|
*/
|
|
196
151
|
setPatRules: (request: Readonly<SetPatRulesRequest>) => Promise<SetPatRulesResponse>;
|
|
197
152
|
/**
|
|
198
|
-
* Delete a PAT rule. Delete a PAT rule, identified by its PAT rule ID. This
|
|
199
|
-
* action is irreversible.
|
|
153
|
+
* Delete a PAT rule. Delete a PAT rule, identified by its PAT rule ID. This action is irreversible.
|
|
200
154
|
*
|
|
201
155
|
* @param request - The request {@link DeletePatRuleRequest}
|
|
202
156
|
*/
|
|
203
157
|
deletePatRule: (request: Readonly<DeletePatRuleRequest>) => Promise<void>;
|
|
204
158
|
/**
|
|
205
|
-
* List Public Gateway types. List the different Public Gateway commercial
|
|
206
|
-
* offer types available at Scaleway. The response is an array of objects
|
|
207
|
-
* describing the name and technical details of each available gateway type.
|
|
159
|
+
* List Public Gateway types. List the different Public Gateway commercial offer types available at Scaleway. The response is an array of objects describing the name and technical details of each available gateway type.
|
|
208
160
|
*
|
|
209
161
|
* @param request - The request {@link ListGatewayTypesRequest}
|
|
210
162
|
* @returns A Promise of ListGatewayTypesResponse
|
|
@@ -212,8 +164,7 @@ export declare class API extends ParentAPI {
|
|
|
212
164
|
listGatewayTypes: (request?: Readonly<ListGatewayTypesRequest>) => Promise<ListGatewayTypesResponse>;
|
|
213
165
|
protected pageOfListIPs: (request?: Readonly<ListIPsRequest>) => Promise<ListIPsResponse>;
|
|
214
166
|
/**
|
|
215
|
-
* List IPs. List Public Gateway flexible IP addresses. A number of filter
|
|
216
|
-
* options are available for limiting results in the response.
|
|
167
|
+
* List IPs. List Public Gateway flexible IP addresses. A number of filter options are available for limiting results in the response.
|
|
217
168
|
*
|
|
218
169
|
* @param request - The request {@link ListIPsRequest}
|
|
219
170
|
* @returns A Promise of ListIPsResponse
|
|
@@ -223,67 +174,55 @@ export declare class API extends ParentAPI {
|
|
|
223
174
|
[Symbol.asyncIterator]: () => AsyncGenerator<IP[], void, void>;
|
|
224
175
|
};
|
|
225
176
|
/**
|
|
226
|
-
* Get an IP. Get details of a Public Gateway flexible IP address, identified
|
|
227
|
-
* by its IP ID. The response object contains information including which (if
|
|
228
|
-
* any) Public Gateway using this IP address, the reverse and various other
|
|
229
|
-
* metadata.
|
|
177
|
+
* Get an IP. Get details of a Public Gateway flexible IP address, identified by its IP ID. The response object contains information including which (if any) Public Gateway using this IP address, the reverse and various other metadata.
|
|
230
178
|
*
|
|
231
179
|
* @param request - The request {@link GetIPRequest}
|
|
232
180
|
* @returns A Promise of IP
|
|
233
181
|
*/
|
|
234
182
|
getIP: (request: Readonly<GetIPRequest>) => Promise<IP>;
|
|
235
183
|
/**
|
|
236
|
-
* Reserve an IP. Create (reserve) a new flexible IP address that can be used
|
|
237
|
-
* for a Public Gateway in a specified Scaleway Project.
|
|
184
|
+
* Reserve an IP. Create (reserve) a new flexible IP address that can be used for a Public Gateway in a specified Scaleway Project.
|
|
238
185
|
*
|
|
239
186
|
* @param request - The request {@link CreateIPRequest}
|
|
240
187
|
* @returns A Promise of IP
|
|
241
188
|
*/
|
|
242
189
|
createIP: (request?: Readonly<CreateIPRequest>) => Promise<IP>;
|
|
243
190
|
/**
|
|
244
|
-
* Update an IP. Update details of an existing flexible IP address, including
|
|
245
|
-
* its tags, reverse and the Public Gateway it is assigned to.
|
|
191
|
+
* Update an IP. Update details of an existing flexible IP address, including its tags, reverse and the Public Gateway it is assigned to.
|
|
246
192
|
*
|
|
247
193
|
* @param request - The request {@link UpdateIPRequest}
|
|
248
194
|
* @returns A Promise of IP
|
|
249
195
|
*/
|
|
250
196
|
updateIP: (request: Readonly<UpdateIPRequest>) => Promise<IP>;
|
|
251
197
|
/**
|
|
252
|
-
* Delete an IP. Delete a flexible IP address from your account. This action
|
|
253
|
-
* is irreversible.
|
|
198
|
+
* Delete an IP. Delete a flexible IP address from your account. This action is irreversible.
|
|
254
199
|
*
|
|
255
200
|
* @param request - The request {@link DeleteIPRequest}
|
|
256
201
|
*/
|
|
257
202
|
deleteIP: (request: Readonly<DeleteIPRequest>) => Promise<void>;
|
|
258
203
|
/**
|
|
259
|
-
* Refresh a Public Gateway's SSH keys. Refresh the SSH keys of a given Public
|
|
260
|
-
* Gateway, specified by its gateway ID. This adds any new SSH keys in the
|
|
261
|
-
* gateway's Scaleway Project to the gateway itself.
|
|
204
|
+
* Refresh a Public Gateway's SSH keys. Refresh the SSH keys of a given Public Gateway, specified by its gateway ID. This adds any new SSH keys in the gateway's Scaleway Project to the gateway itself.
|
|
262
205
|
*
|
|
263
206
|
* @param request - The request {@link RefreshSSHKeysRequest}
|
|
264
207
|
* @returns A Promise of Gateway
|
|
265
208
|
*/
|
|
266
209
|
refreshSSHKeys: (request: Readonly<RefreshSSHKeysRequest>) => Promise<Gateway>;
|
|
267
210
|
/**
|
|
268
|
-
* Add allowed IP range to SSH bastion. Add an IP range (in CIDR notation) to
|
|
269
|
-
* be allowed to connect to the SSH bastion.
|
|
211
|
+
* Add allowed IP range to SSH bastion. Add an IP range (in CIDR notation) to be allowed to connect to the SSH bastion.
|
|
270
212
|
*
|
|
271
213
|
* @param request - The request {@link AddBastionAllowedIPsRequest}
|
|
272
214
|
* @returns A Promise of AddBastionAllowedIPsResponse
|
|
273
215
|
*/
|
|
274
216
|
addBastionAllowedIPs: (request: Readonly<AddBastionAllowedIPsRequest>) => Promise<AddBastionAllowedIPsResponse>;
|
|
275
217
|
/**
|
|
276
|
-
* Set all IP ranges allowed for SSH bastion. Set a definitive list of IP
|
|
277
|
-
* ranges (in CIDR notation) allowed to connect to the SSH bastion.
|
|
218
|
+
* Set all IP ranges allowed for SSH bastion. Set a definitive list of IP ranges (in CIDR notation) allowed to connect to the SSH bastion.
|
|
278
219
|
*
|
|
279
220
|
* @param request - The request {@link SetBastionAllowedIPsRequest}
|
|
280
221
|
* @returns A Promise of SetBastionAllowedIPsResponse
|
|
281
222
|
*/
|
|
282
223
|
setBastionAllowedIPs: (request: Readonly<SetBastionAllowedIPsRequest>) => Promise<SetBastionAllowedIPsResponse>;
|
|
283
224
|
/**
|
|
284
|
-
* Delete allowed IP range from SSH bastion. Delete an IP range (defined in
|
|
285
|
-
* CIDR notation) from SSH bastion, so that it is no longer allowed to
|
|
286
|
-
* connect.
|
|
225
|
+
* Delete allowed IP range from SSH bastion. Delete an IP range (defined in CIDR notation) from SSH bastion, so that it is no longer allowed to connect.
|
|
287
226
|
*
|
|
288
227
|
* @param request - The request {@link DeleteBastionAllowedIPsRequest}
|
|
289
228
|
*/
|