@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,4 +1,4 @@
|
|
|
1
|
-
import type { Zone as ScwZone } from '
|
|
1
|
+
import type { Zone as ScwZone } from '@scaleway/sdk-client';
|
|
2
2
|
export type DHCPEntryType = 'unknown' | 'reservation' | 'lease';
|
|
3
3
|
export type GatewayNetworkStatus = 'unknown' | 'created' | 'attaching' | 'configuring' | 'ready' | 'detaching' | 'deleted';
|
|
4
4
|
export type GatewayStatus = 'unknown' | 'stopped' | 'allocating' | 'configuring' | 'running' | 'stopping' | 'failed' | 'deleting' | 'deleted' | 'locked';
|
|
@@ -10,900 +10,1318 @@ export type ListIPsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'ip_a
|
|
|
10
10
|
export type ListPATRulesRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'public_port_asc' | 'public_port_desc';
|
|
11
11
|
export type PATRuleProtocol = 'unknown' | 'both' | 'tcp' | 'udp';
|
|
12
12
|
export interface DHCP {
|
|
13
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* ID of the DHCP config.
|
|
15
|
+
*/
|
|
14
16
|
id: string;
|
|
15
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Owning Organization.
|
|
19
|
+
*/
|
|
16
20
|
organizationId: string;
|
|
17
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Owning Project.
|
|
23
|
+
*/
|
|
18
24
|
projectId: string;
|
|
19
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* Date the DHCP configuration was created.
|
|
27
|
+
*/
|
|
20
28
|
createdAt?: Date;
|
|
21
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* Configuration last modification date.
|
|
31
|
+
*/
|
|
22
32
|
updatedAt?: Date;
|
|
23
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* Subnet for the DHCP server.
|
|
35
|
+
*/
|
|
24
36
|
subnet: string;
|
|
25
37
|
/**
|
|
26
|
-
* IP address of the DHCP server. This will be the Public Gateway's address in
|
|
27
|
-
* the Private Network. It must be part of config's subnet.
|
|
38
|
+
* IP address of the DHCP server. This will be the Public Gateway's address in the Private Network. It must be part of config's subnet.
|
|
28
39
|
*/
|
|
29
40
|
address: string;
|
|
30
41
|
/**
|
|
31
|
-
* Low IP (inclusive) of the dynamic address pool. Must be in the config's
|
|
32
|
-
* subnet.
|
|
42
|
+
* Low IP (inclusive) of the dynamic address pool. Must be in the config's subnet.
|
|
33
43
|
*/
|
|
34
44
|
poolLow: string;
|
|
35
45
|
/**
|
|
36
|
-
* High IP (inclusive) of the dynamic address pool. Must be in the config's
|
|
37
|
-
* subnet.
|
|
46
|
+
* High IP (inclusive) of the dynamic address pool. Must be in the config's subnet.
|
|
38
47
|
*/
|
|
39
48
|
poolHigh: string;
|
|
40
49
|
/**
|
|
41
|
-
* Defines whether to enable dynamic pooling of IPs. When false, only
|
|
42
|
-
* pre-existing DHCP reservations will be handed out.
|
|
50
|
+
* Defines whether to enable dynamic pooling of IPs. When false, only pre-existing DHCP reservations will be handed out.
|
|
43
51
|
*/
|
|
44
52
|
enableDynamic: boolean;
|
|
45
|
-
/**
|
|
53
|
+
/**
|
|
54
|
+
* How long DHCP entries will be valid for.
|
|
55
|
+
*/
|
|
46
56
|
validLifetime?: string;
|
|
47
57
|
/**
|
|
48
|
-
* After how long a renew will be attempted. Must be 30s lower than
|
|
49
|
-
* `rebind_timer`.
|
|
58
|
+
* After how long a renew will be attempted. Must be 30s lower than `rebind_timer`.
|
|
50
59
|
*/
|
|
51
60
|
renewTimer?: string;
|
|
52
61
|
/**
|
|
53
|
-
* After how long a DHCP client will query for a new lease if previous renews
|
|
54
|
-
* fail. Must be 30s lower than `valid_lifetime`.
|
|
62
|
+
* After how long a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than `valid_lifetime`.
|
|
55
63
|
*/
|
|
56
64
|
rebindTimer?: string;
|
|
57
65
|
/**
|
|
58
|
-
* Defines whether the gateway should push a default route to DHCP clients, or
|
|
59
|
-
* only hand out IPs.
|
|
66
|
+
* Defines whether the gateway should push a default route to DHCP clients, or only hand out IPs.
|
|
60
67
|
*/
|
|
61
68
|
pushDefaultRoute: boolean;
|
|
62
69
|
/**
|
|
63
|
-
* Defines whether the gateway should push custom DNS servers to clients. This
|
|
64
|
-
* allows for instance hostname -> IP resolution.
|
|
70
|
+
* Defines whether the gateway should push custom DNS servers to clients. This allows for instance hostname -> IP resolution.
|
|
65
71
|
*/
|
|
66
72
|
pushDnsServer: boolean;
|
|
67
73
|
/**
|
|
68
|
-
* Array of DNS server IP addresses used to override the DNS server list
|
|
69
|
-
* pushed to DHCP clients, instead of the gateway itself.
|
|
74
|
+
* Array of DNS server IP addresses used to override the DNS server list pushed to DHCP clients, instead of the gateway itself.
|
|
70
75
|
*/
|
|
71
76
|
dnsServersOverride: string[];
|
|
72
|
-
/**
|
|
77
|
+
/**
|
|
78
|
+
* Array of search paths in addition to the pushed DNS configuration.
|
|
79
|
+
*/
|
|
73
80
|
dnsSearch: string[];
|
|
74
81
|
/**
|
|
75
|
-
* TLD given to hostnames in the Private Networks. If an Instance with
|
|
76
|
-
* hostname `foo` gets a lease, and this is set to `bar`, `foo.bar` will
|
|
77
|
-
* resolve.
|
|
82
|
+
* TLD given to hostnames in the Private Networks. If an Instance with hostname `foo` gets a lease, and this is set to `bar`, `foo.bar` will resolve.
|
|
78
83
|
*/
|
|
79
84
|
dnsLocalName: string;
|
|
80
|
-
/**
|
|
85
|
+
/**
|
|
86
|
+
* Zone of this DHCP configuration.
|
|
87
|
+
*/
|
|
81
88
|
zone: ScwZone;
|
|
82
89
|
}
|
|
83
90
|
export interface IpamConfig {
|
|
84
|
-
/**
|
|
91
|
+
/**
|
|
92
|
+
* Defines whether the default route is enabled on that Gateway Network.
|
|
93
|
+
*/
|
|
85
94
|
pushDefaultRoute: boolean;
|
|
86
|
-
/**
|
|
95
|
+
/**
|
|
96
|
+
* IPAM-booked IP ID as the Gateway's IP in this Private Network.
|
|
97
|
+
*/
|
|
87
98
|
ipamIpId: string;
|
|
88
99
|
}
|
|
89
100
|
export interface GatewayNetwork {
|
|
90
|
-
/**
|
|
101
|
+
/**
|
|
102
|
+
* ID of the Public Gateway-Private Network connection.
|
|
103
|
+
*/
|
|
91
104
|
id: string;
|
|
92
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Connection creation date.
|
|
107
|
+
*/
|
|
93
108
|
createdAt?: Date;
|
|
94
|
-
/**
|
|
109
|
+
/**
|
|
110
|
+
* Connection last modification date.
|
|
111
|
+
*/
|
|
95
112
|
updatedAt?: Date;
|
|
96
|
-
/**
|
|
113
|
+
/**
|
|
114
|
+
* ID of the connected Public Gateway.
|
|
115
|
+
*/
|
|
97
116
|
gatewayId: string;
|
|
98
|
-
/**
|
|
117
|
+
/**
|
|
118
|
+
* ID of the connected Private Network.
|
|
119
|
+
*/
|
|
99
120
|
privateNetworkId: string;
|
|
100
121
|
/**
|
|
101
|
-
* MAC address of the gateway in the Private Network (if the gateway is up and
|
|
102
|
-
* running).
|
|
122
|
+
* MAC address of the gateway in the Private Network (if the gateway is up and running).
|
|
103
123
|
*/
|
|
104
124
|
macAddress?: string;
|
|
105
125
|
/**
|
|
106
|
-
* Defines whether the gateway masquerades traffic for this Private Network
|
|
107
|
-
* (Dynamic NAT).
|
|
126
|
+
* Defines whether the gateway masquerades traffic for this Private Network (Dynamic NAT).
|
|
108
127
|
*/
|
|
109
128
|
enableMasquerade: boolean;
|
|
110
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Current status of the Public Gateway's connection to the Private Network.
|
|
131
|
+
*/
|
|
111
132
|
status: GatewayNetworkStatus;
|
|
112
|
-
/**
|
|
133
|
+
/**
|
|
134
|
+
* DHCP configuration for the connected Private Network.
|
|
135
|
+
*/
|
|
113
136
|
dhcp?: DHCP;
|
|
114
|
-
/**
|
|
137
|
+
/**
|
|
138
|
+
* Defines whether DHCP is enabled on the connected Private Network.
|
|
139
|
+
*/
|
|
115
140
|
enableDhcp: boolean;
|
|
116
|
-
/**
|
|
141
|
+
/**
|
|
142
|
+
* Address of the Gateway (in CIDR form) to use when DHCP is not used.
|
|
143
|
+
*/
|
|
117
144
|
address?: string;
|
|
118
|
-
/**
|
|
145
|
+
/**
|
|
146
|
+
* IPAM IP configuration used.
|
|
147
|
+
*/
|
|
119
148
|
ipamConfig?: IpamConfig;
|
|
120
|
-
/**
|
|
149
|
+
/**
|
|
150
|
+
* Zone of the GatewayNetwork connection.
|
|
151
|
+
*/
|
|
121
152
|
zone: ScwZone;
|
|
122
153
|
}
|
|
123
154
|
export interface GatewayType {
|
|
124
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* Public Gateway type name.
|
|
157
|
+
*/
|
|
125
158
|
name: string;
|
|
126
159
|
/**
|
|
127
|
-
* Bandwidth, in bps, of the Public Gateway. This is the public bandwidth to
|
|
128
|
-
* the outer Internet, and the internal bandwidth to each connected Private
|
|
129
|
-
* Networks.
|
|
160
|
+
* Bandwidth, in bps, of the Public Gateway. This is the public bandwidth to the outer Internet, and the internal bandwidth to each connected Private Networks.
|
|
130
161
|
*/
|
|
131
162
|
bandwidth: number;
|
|
132
|
-
/**
|
|
163
|
+
/**
|
|
164
|
+
* Zone the Public Gateway type is available in.
|
|
165
|
+
*/
|
|
133
166
|
zone: ScwZone;
|
|
134
167
|
}
|
|
135
168
|
export interface IP {
|
|
136
|
-
/**
|
|
169
|
+
/**
|
|
170
|
+
* IP address ID.
|
|
171
|
+
*/
|
|
137
172
|
id: string;
|
|
138
|
-
/**
|
|
173
|
+
/**
|
|
174
|
+
* Owning Organization.
|
|
175
|
+
*/
|
|
139
176
|
organizationId: string;
|
|
140
|
-
/**
|
|
177
|
+
/**
|
|
178
|
+
* Owning Project.
|
|
179
|
+
*/
|
|
141
180
|
projectId: string;
|
|
142
|
-
/**
|
|
181
|
+
/**
|
|
182
|
+
* IP address creation date.
|
|
183
|
+
*/
|
|
143
184
|
createdAt?: Date;
|
|
144
|
-
/**
|
|
185
|
+
/**
|
|
186
|
+
* IP address last modification date.
|
|
187
|
+
*/
|
|
145
188
|
updatedAt?: Date;
|
|
146
|
-
/**
|
|
189
|
+
/**
|
|
190
|
+
* Tags associated with the IP address.
|
|
191
|
+
*/
|
|
147
192
|
tags: string[];
|
|
148
|
-
/**
|
|
193
|
+
/**
|
|
194
|
+
* The IP address itself.
|
|
195
|
+
*/
|
|
149
196
|
address: string;
|
|
150
|
-
/**
|
|
197
|
+
/**
|
|
198
|
+
* Reverse domain name for the IP address.
|
|
199
|
+
*/
|
|
151
200
|
reverse?: string;
|
|
152
|
-
/**
|
|
201
|
+
/**
|
|
202
|
+
* Public Gateway associated with the IP address.
|
|
203
|
+
*/
|
|
153
204
|
gatewayId?: string;
|
|
154
|
-
/**
|
|
205
|
+
/**
|
|
206
|
+
* Zone of the IP address.
|
|
207
|
+
*/
|
|
155
208
|
zone: ScwZone;
|
|
156
209
|
}
|
|
157
210
|
export type CreateDHCPRequest = {
|
|
158
|
-
/**
|
|
211
|
+
/**
|
|
212
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
213
|
+
*/
|
|
159
214
|
zone?: ScwZone;
|
|
160
|
-
/**
|
|
215
|
+
/**
|
|
216
|
+
* Project to create the DHCP configuration in.
|
|
217
|
+
*/
|
|
161
218
|
projectId?: string;
|
|
162
|
-
/**
|
|
219
|
+
/**
|
|
220
|
+
* Subnet for the DHCP server.
|
|
221
|
+
*/
|
|
163
222
|
subnet: string;
|
|
164
223
|
/**
|
|
165
|
-
* IP address of the DHCP server. This will be the gateway's address in the
|
|
166
|
-
* Private Network. Defaults to the first address of the subnet.
|
|
224
|
+
* IP address of the DHCP server. This will be the gateway's address in the Private Network. Defaults to the first address of the subnet.
|
|
167
225
|
*/
|
|
168
226
|
address?: string;
|
|
169
227
|
/**
|
|
170
|
-
* Low IP (inclusive) of the dynamic address pool. Must be in the config's
|
|
171
|
-
* subnet. Defaults to the second address of the subnet.
|
|
228
|
+
* Low IP (inclusive) of the dynamic address pool. Must be in the config's subnet. Defaults to the second address of the subnet.
|
|
172
229
|
*/
|
|
173
230
|
poolLow?: string;
|
|
174
231
|
/**
|
|
175
|
-
* High IP (inclusive) of the dynamic address pool. Must be in the config's
|
|
176
|
-
* subnet. Defaults to the last address of the subnet.
|
|
232
|
+
* High IP (inclusive) of the dynamic address pool. Must be in the config's subnet. Defaults to the last address of the subnet.
|
|
177
233
|
*/
|
|
178
234
|
poolHigh?: string;
|
|
179
235
|
/**
|
|
180
|
-
* Defines whether to enable dynamic pooling of IPs. When false, only
|
|
181
|
-
* pre-existing DHCP reservations will be handed out. Defaults to true.
|
|
236
|
+
* Defines whether to enable dynamic pooling of IPs. When false, only pre-existing DHCP reservations will be handed out. Defaults to true.
|
|
182
237
|
*/
|
|
183
238
|
enableDynamic?: boolean;
|
|
184
|
-
/**
|
|
239
|
+
/**
|
|
240
|
+
* How long DHCP entries will be valid for. Defaults to 1h (3600s).
|
|
241
|
+
*/
|
|
185
242
|
validLifetime?: string;
|
|
186
243
|
/**
|
|
187
|
-
* After how long a renew will be attempted. Must be 30s lower than
|
|
188
|
-
* `rebind_timer`. Defaults to 50m (3000s).
|
|
244
|
+
* After how long a renew will be attempted. Must be 30s lower than `rebind_timer`. Defaults to 50m (3000s).
|
|
189
245
|
*/
|
|
190
246
|
renewTimer?: string;
|
|
191
247
|
/**
|
|
192
|
-
* After how long a DHCP client will query for a new lease if previous renews
|
|
193
|
-
* fail. Must be 30s lower than `valid_lifetime`. Defaults to 51m (3060s).
|
|
248
|
+
* After how long a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than `valid_lifetime`. Defaults to 51m (3060s).
|
|
194
249
|
*/
|
|
195
250
|
rebindTimer?: string;
|
|
196
251
|
/**
|
|
197
|
-
* Defines whether the gateway should push a default route to DHCP clients or
|
|
198
|
-
* only hand out IPs. Defaults to true.
|
|
252
|
+
* Defines whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
|
|
199
253
|
*/
|
|
200
254
|
pushDefaultRoute?: boolean;
|
|
201
255
|
/**
|
|
202
|
-
* Defines whether the gateway should push custom DNS servers to clients. This
|
|
203
|
-
* allows for Instance hostname -> IP resolution. Defaults to true.
|
|
256
|
+
* Defines whether the gateway should push custom DNS servers to clients. This allows for Instance hostname -> IP resolution. Defaults to true.
|
|
204
257
|
*/
|
|
205
258
|
pushDnsServer?: boolean;
|
|
206
259
|
/**
|
|
207
|
-
* Array of DNS server IP addresses used to override the DNS server list
|
|
208
|
-
* pushed to DHCP clients, instead of the gateway itself.
|
|
260
|
+
* Array of DNS server IP addresses used to override the DNS server list pushed to DHCP clients, instead of the gateway itself.
|
|
209
261
|
*/
|
|
210
262
|
dnsServersOverride?: string[];
|
|
211
|
-
/**
|
|
263
|
+
/**
|
|
264
|
+
* Array of search paths in addition to the pushed DNS configuration.
|
|
265
|
+
*/
|
|
212
266
|
dnsSearch?: string[];
|
|
213
267
|
/**
|
|
214
|
-
* TLD given to hostnames in the Private Network. Allowed characters are
|
|
215
|
-
* `a-z0-9-.`. Defaults to the slugified Private Network name if created along
|
|
216
|
-
* a GatewayNetwork, or else to `priv`.
|
|
268
|
+
* TLD given to hostnames in the Private Network. Allowed characters are `a-z0-9-.`. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to `priv`.
|
|
217
269
|
*/
|
|
218
270
|
dnsLocalName?: string;
|
|
219
271
|
};
|
|
220
272
|
export interface CreateGatewayNetworkRequestIpamConfig {
|
|
221
|
-
/**
|
|
273
|
+
/**
|
|
274
|
+
* Enabling the default route also enables masquerading.
|
|
275
|
+
*/
|
|
222
276
|
pushDefaultRoute: boolean;
|
|
223
|
-
/**
|
|
277
|
+
/**
|
|
278
|
+
* Use this IPAM-booked IP ID as the Gateway's IP in this Private Network.
|
|
279
|
+
*/
|
|
224
280
|
ipamIpId?: string;
|
|
225
281
|
}
|
|
226
282
|
export interface DHCPEntry {
|
|
227
|
-
/**
|
|
283
|
+
/**
|
|
284
|
+
* DHCP entry ID.
|
|
285
|
+
*/
|
|
228
286
|
id: string;
|
|
229
|
-
/**
|
|
287
|
+
/**
|
|
288
|
+
* DHCP entry creation date.
|
|
289
|
+
*/
|
|
230
290
|
createdAt?: Date;
|
|
231
|
-
/**
|
|
291
|
+
/**
|
|
292
|
+
* DHCP entry last modification date.
|
|
293
|
+
*/
|
|
232
294
|
updatedAt?: Date;
|
|
233
|
-
/**
|
|
295
|
+
/**
|
|
296
|
+
* Owning GatewayNetwork.
|
|
297
|
+
*/
|
|
234
298
|
gatewayNetworkId: string;
|
|
235
|
-
/**
|
|
299
|
+
/**
|
|
300
|
+
* MAC address of the client device.
|
|
301
|
+
*/
|
|
236
302
|
macAddress: string;
|
|
237
|
-
/**
|
|
303
|
+
/**
|
|
304
|
+
* Assigned IP address.
|
|
305
|
+
*/
|
|
238
306
|
ipAddress: string;
|
|
239
|
-
/**
|
|
307
|
+
/**
|
|
308
|
+
* Hostname of the client device.
|
|
309
|
+
*/
|
|
240
310
|
hostname: string;
|
|
241
|
-
/**
|
|
311
|
+
/**
|
|
312
|
+
* Entry type, either static (DHCP reservation) or dynamic (DHCP lease).
|
|
313
|
+
*/
|
|
242
314
|
type: DHCPEntryType;
|
|
243
|
-
/**
|
|
315
|
+
/**
|
|
316
|
+
* Zone of this DHCP entry.
|
|
317
|
+
*/
|
|
244
318
|
zone: ScwZone;
|
|
245
319
|
}
|
|
246
320
|
export interface Gateway {
|
|
247
|
-
/**
|
|
321
|
+
/**
|
|
322
|
+
* ID of the gateway.
|
|
323
|
+
*/
|
|
248
324
|
id: string;
|
|
249
|
-
/**
|
|
325
|
+
/**
|
|
326
|
+
* Owning Organization.
|
|
327
|
+
*/
|
|
250
328
|
organizationId: string;
|
|
251
|
-
/**
|
|
329
|
+
/**
|
|
330
|
+
* Owning Project.
|
|
331
|
+
*/
|
|
252
332
|
projectId: string;
|
|
253
|
-
/**
|
|
333
|
+
/**
|
|
334
|
+
* Gateway creation date.
|
|
335
|
+
*/
|
|
254
336
|
createdAt?: Date;
|
|
255
|
-
/**
|
|
337
|
+
/**
|
|
338
|
+
* Gateway last modification date.
|
|
339
|
+
*/
|
|
256
340
|
updatedAt?: Date;
|
|
257
|
-
/**
|
|
341
|
+
/**
|
|
342
|
+
* Gateway type (commercial offer).
|
|
343
|
+
*/
|
|
258
344
|
type?: GatewayType;
|
|
259
|
-
/**
|
|
345
|
+
/**
|
|
346
|
+
* Current status of the gateway.
|
|
347
|
+
*/
|
|
260
348
|
status: GatewayStatus;
|
|
261
|
-
/**
|
|
349
|
+
/**
|
|
350
|
+
* Name of the gateway.
|
|
351
|
+
*/
|
|
262
352
|
name: string;
|
|
263
|
-
/**
|
|
353
|
+
/**
|
|
354
|
+
* Tags associated with the gateway.
|
|
355
|
+
*/
|
|
264
356
|
tags: string[];
|
|
265
|
-
/**
|
|
357
|
+
/**
|
|
358
|
+
* Public IP address of the gateway.
|
|
359
|
+
*/
|
|
266
360
|
ip?: IP;
|
|
267
361
|
/**
|
|
268
|
-
* GatewayNetwork objects attached to the gateway (each one represents a
|
|
269
|
-
* connection to a Private Network).
|
|
362
|
+
* GatewayNetwork objects attached to the gateway (each one represents a connection to a Private Network).
|
|
270
363
|
*/
|
|
271
364
|
gatewayNetworks: GatewayNetwork[];
|
|
272
365
|
/**
|
|
273
|
-
* Array of DNS server IP addresses to override the gateway's default
|
|
274
|
-
* recursive DNS servers.
|
|
366
|
+
* Array of DNS server IP addresses to override the gateway's default recursive DNS servers.
|
|
275
367
|
*/
|
|
276
368
|
upstreamDnsServers: string[];
|
|
277
|
-
/**
|
|
369
|
+
/**
|
|
370
|
+
* Version of the running gateway software.
|
|
371
|
+
*/
|
|
278
372
|
version?: string;
|
|
279
|
-
/**
|
|
373
|
+
/**
|
|
374
|
+
* Newly available gateway software version that can be updated to.
|
|
375
|
+
*/
|
|
280
376
|
canUpgradeTo?: string;
|
|
281
|
-
/**
|
|
377
|
+
/**
|
|
378
|
+
* Defines whether SSH bastion is enabled on the gateway.
|
|
379
|
+
*/
|
|
282
380
|
bastionEnabled: boolean;
|
|
283
|
-
/**
|
|
381
|
+
/**
|
|
382
|
+
* Port of the SSH bastion.
|
|
383
|
+
*/
|
|
284
384
|
bastionPort: number;
|
|
285
|
-
/**
|
|
385
|
+
/**
|
|
386
|
+
* Defines whether SMTP traffic is allowed to pass through the gateway.
|
|
387
|
+
*/
|
|
286
388
|
smtpEnabled: boolean;
|
|
287
|
-
/**
|
|
389
|
+
/**
|
|
390
|
+
* Defines whether the gateway uses non-IPAM IP configurations.
|
|
391
|
+
*/
|
|
288
392
|
isLegacy: boolean;
|
|
289
393
|
/**
|
|
290
|
-
* Defines whether the gateway uses routed IPs (IP mobility) instead of NAT
|
|
291
|
-
* IPs.
|
|
394
|
+
* Defines whether the gateway uses routed IPs (IP mobility) instead of NAT IPs.
|
|
292
395
|
*/
|
|
293
396
|
ipMobilityEnabled: boolean;
|
|
294
|
-
/**
|
|
397
|
+
/**
|
|
398
|
+
* Zone of the gateway.
|
|
399
|
+
*/
|
|
295
400
|
zone: ScwZone;
|
|
296
401
|
}
|
|
297
402
|
export interface PATRule {
|
|
298
|
-
/**
|
|
403
|
+
/**
|
|
404
|
+
* PAT rule ID.
|
|
405
|
+
*/
|
|
299
406
|
id: string;
|
|
300
|
-
/**
|
|
407
|
+
/**
|
|
408
|
+
* Gateway the PAT rule applies to.
|
|
409
|
+
*/
|
|
301
410
|
gatewayId: string;
|
|
302
|
-
/**
|
|
411
|
+
/**
|
|
412
|
+
* PAT rule creation date.
|
|
413
|
+
*/
|
|
303
414
|
createdAt?: Date;
|
|
304
|
-
/**
|
|
415
|
+
/**
|
|
416
|
+
* PAT rule last modification date.
|
|
417
|
+
*/
|
|
305
418
|
updatedAt?: Date;
|
|
306
|
-
/**
|
|
419
|
+
/**
|
|
420
|
+
* Public port to listen on.
|
|
421
|
+
*/
|
|
307
422
|
publicPort: number;
|
|
308
|
-
/**
|
|
423
|
+
/**
|
|
424
|
+
* Private IP address to forward data to.
|
|
425
|
+
*/
|
|
309
426
|
privateIp: string;
|
|
310
|
-
/**
|
|
427
|
+
/**
|
|
428
|
+
* Private port to translate to.
|
|
429
|
+
*/
|
|
311
430
|
privatePort: number;
|
|
312
|
-
/**
|
|
431
|
+
/**
|
|
432
|
+
* Protocol the rule applies to.
|
|
433
|
+
*/
|
|
313
434
|
protocol: PATRuleProtocol;
|
|
314
|
-
/**
|
|
435
|
+
/**
|
|
436
|
+
* Zone of the PAT rule.
|
|
437
|
+
*/
|
|
315
438
|
zone: ScwZone;
|
|
316
439
|
}
|
|
317
440
|
export interface SetDHCPEntriesRequestEntry {
|
|
318
441
|
/**
|
|
319
|
-
* MAC address to give a static entry to. A matching entry will be upgraded to
|
|
320
|
-
* a reservation, and a matching reservation will be updated.
|
|
442
|
+
* MAC address to give a static entry to. A matching entry will be upgraded to a reservation, and a matching reservation will be updated.
|
|
321
443
|
*/
|
|
322
444
|
macAddress: string;
|
|
323
|
-
/**
|
|
445
|
+
/**
|
|
446
|
+
* IP address to give to the device.
|
|
447
|
+
*/
|
|
324
448
|
ipAddress: string;
|
|
325
449
|
}
|
|
326
450
|
export interface SetPATRulesRequestRule {
|
|
327
451
|
/**
|
|
328
|
-
* Public port to listen on. Uniquely identifies the rule, and a matching rule
|
|
329
|
-
* will be updated with the new parameters.
|
|
452
|
+
* Public port to listen on. Uniquely identifies the rule, and a matching rule will be updated with the new parameters.
|
|
330
453
|
*/
|
|
331
454
|
publicPort: number;
|
|
332
|
-
/**
|
|
455
|
+
/**
|
|
456
|
+
* Private IP to forward data to.
|
|
457
|
+
*/
|
|
333
458
|
privateIp: string;
|
|
334
|
-
/**
|
|
459
|
+
/**
|
|
460
|
+
* Private port to translate to.
|
|
461
|
+
*/
|
|
335
462
|
privatePort: number;
|
|
336
|
-
/**
|
|
463
|
+
/**
|
|
464
|
+
* Protocol the rule should apply to.
|
|
465
|
+
*/
|
|
337
466
|
protocol: PATRuleProtocol;
|
|
338
467
|
}
|
|
339
468
|
export interface UpdateGatewayNetworkRequestIpamConfig {
|
|
340
|
-
/**
|
|
469
|
+
/**
|
|
470
|
+
* Enabling the default route also enables masquerading.
|
|
471
|
+
*/
|
|
341
472
|
pushDefaultRoute?: boolean;
|
|
342
|
-
/**
|
|
473
|
+
/**
|
|
474
|
+
* Use this IPAM-booked IP ID as the Gateway's IP in this Private Network.
|
|
475
|
+
*/
|
|
343
476
|
ipamIpId?: string;
|
|
344
477
|
}
|
|
345
478
|
export type CreateDHCPEntryRequest = {
|
|
346
|
-
/**
|
|
479
|
+
/**
|
|
480
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
481
|
+
*/
|
|
347
482
|
zone?: ScwZone;
|
|
348
|
-
/**
|
|
483
|
+
/**
|
|
484
|
+
* GatewayNetwork on which to create a DHCP reservation.
|
|
485
|
+
*/
|
|
349
486
|
gatewayNetworkId: string;
|
|
350
|
-
/**
|
|
487
|
+
/**
|
|
488
|
+
* MAC address to give a static entry to.
|
|
489
|
+
*/
|
|
351
490
|
macAddress: string;
|
|
352
|
-
/**
|
|
491
|
+
/**
|
|
492
|
+
* IP address to give to the device.
|
|
493
|
+
*/
|
|
353
494
|
ipAddress: string;
|
|
354
495
|
};
|
|
355
496
|
export type CreateGatewayNetworkRequest = {
|
|
356
|
-
/**
|
|
497
|
+
/**
|
|
498
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
499
|
+
*/
|
|
357
500
|
zone?: ScwZone;
|
|
358
|
-
/**
|
|
501
|
+
/**
|
|
502
|
+
* Public Gateway to connect.
|
|
503
|
+
*/
|
|
359
504
|
gatewayId: string;
|
|
360
|
-
/**
|
|
505
|
+
/**
|
|
506
|
+
* Private Network to connect.
|
|
507
|
+
*/
|
|
361
508
|
privateNetworkId: string;
|
|
362
|
-
/**
|
|
509
|
+
/**
|
|
510
|
+
* Note: this setting is ignored when passing `ipam_config`.
|
|
511
|
+
*/
|
|
363
512
|
enableMasquerade: boolean;
|
|
364
513
|
/**
|
|
365
|
-
* Defaults to `true` if either `dhcp_id` or `dhcp` are present. If set to
|
|
366
|
-
|
|
367
|
-
* ignored when passing `ipam_config`.
|
|
514
|
+
* Defaults to `true` if either `dhcp_id` or `dhcp` are present. If set to `true`, either `dhcp_id` or `dhcp` must be present.
|
|
515
|
+
Note: this setting is ignored when passing `ipam_config`.
|
|
368
516
|
*/
|
|
369
517
|
enableDhcp?: boolean;
|
|
370
518
|
/**
|
|
371
519
|
* ID of an existing DHCP configuration object to use for this GatewayNetwork.
|
|
372
520
|
*
|
|
373
|
-
* One-of ('ipConfig'): at most one of 'dhcpId', 'dhcp', 'address',
|
|
374
|
-
* 'ipamConfig' could be set.
|
|
521
|
+
* One-of ('ipConfig'): at most one of 'dhcpId', 'dhcp', 'address', 'ipamConfig' could be set.
|
|
375
522
|
*/
|
|
376
523
|
dhcpId?: string;
|
|
377
524
|
/**
|
|
378
525
|
* New DHCP configuration object to use for this GatewayNetwork.
|
|
379
526
|
*
|
|
380
|
-
* One-of ('ipConfig'): at most one of 'dhcpId', 'dhcp', 'address',
|
|
381
|
-
* 'ipamConfig' could be set.
|
|
527
|
+
* One-of ('ipConfig'): at most one of 'dhcpId', 'dhcp', 'address', 'ipamConfig' could be set.
|
|
382
528
|
*/
|
|
383
529
|
dhcp?: CreateDHCPRequest;
|
|
384
530
|
/**
|
|
385
|
-
* Static IP address in CIDR format to
|
|
531
|
+
* Static IP address in CIDR format to use without DHCP.
|
|
386
532
|
*
|
|
387
|
-
* One-of ('ipConfig'): at most one of 'dhcpId', 'dhcp', 'address',
|
|
388
|
-
* 'ipamConfig' could be set.
|
|
533
|
+
* One-of ('ipConfig'): at most one of 'dhcpId', 'dhcp', 'address', 'ipamConfig' could be set.
|
|
389
534
|
*/
|
|
390
535
|
address?: string;
|
|
391
536
|
/**
|
|
392
|
-
* Note: all or none of the GatewayNetworks for a single gateway can use the
|
|
393
|
-
* IPAM. DHCP and IPAM configurations cannot be mixed. Some products may
|
|
394
|
-
* require that the Public Gateway uses the IPAM, to ensure correct
|
|
395
|
-
* functionality.
|
|
537
|
+
* Note: all or none of the GatewayNetworks for a single gateway can use the IPAM. DHCP and IPAM configurations cannot be mixed. Some products may require that the Public Gateway uses the IPAM, to ensure correct functionality.
|
|
396
538
|
*
|
|
397
|
-
* One-of ('ipConfig'): at most one of 'dhcpId', 'dhcp', 'address',
|
|
398
|
-
* 'ipamConfig' could be set.
|
|
539
|
+
* One-of ('ipConfig'): at most one of 'dhcpId', 'dhcp', 'address', 'ipamConfig' could be set.
|
|
399
540
|
*/
|
|
400
541
|
ipamConfig?: CreateGatewayNetworkRequestIpamConfig;
|
|
401
542
|
};
|
|
402
543
|
export type CreateGatewayRequest = {
|
|
403
|
-
/**
|
|
544
|
+
/**
|
|
545
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
546
|
+
*/
|
|
404
547
|
zone?: ScwZone;
|
|
405
|
-
/**
|
|
548
|
+
/**
|
|
549
|
+
* Scaleway Project to create the gateway in.
|
|
550
|
+
*/
|
|
406
551
|
projectId?: string;
|
|
407
|
-
/**
|
|
552
|
+
/**
|
|
553
|
+
* Name for the gateway.
|
|
554
|
+
*/
|
|
408
555
|
name?: string;
|
|
409
|
-
/**
|
|
556
|
+
/**
|
|
557
|
+
* Tags for the gateway.
|
|
558
|
+
*/
|
|
410
559
|
tags?: string[];
|
|
411
|
-
/**
|
|
560
|
+
/**
|
|
561
|
+
* Gateway type (commercial offer type).
|
|
562
|
+
*/
|
|
412
563
|
type: string;
|
|
413
564
|
/**
|
|
414
|
-
* Array of DNS server IP addresses to override the gateway's default
|
|
415
|
-
* recursive DNS servers.
|
|
565
|
+
* Array of DNS server IP addresses to override the gateway's default recursive DNS servers.
|
|
416
566
|
*/
|
|
417
567
|
upstreamDnsServers?: string[];
|
|
418
|
-
/**
|
|
568
|
+
/**
|
|
569
|
+
* Existing IP address to attach to the gateway.
|
|
570
|
+
*/
|
|
419
571
|
ipId?: string;
|
|
420
|
-
/**
|
|
572
|
+
/**
|
|
573
|
+
* Defines whether SMTP traffic should be allowed pass through the gateway.
|
|
574
|
+
*/
|
|
421
575
|
enableSmtp: boolean;
|
|
422
|
-
/**
|
|
576
|
+
/**
|
|
577
|
+
* Defines whether SSH bastion should be enabled the gateway.
|
|
578
|
+
*/
|
|
423
579
|
enableBastion: boolean;
|
|
424
|
-
/**
|
|
580
|
+
/**
|
|
581
|
+
* Port of the SSH bastion.
|
|
582
|
+
*/
|
|
425
583
|
bastionPort?: number;
|
|
426
584
|
};
|
|
427
585
|
export type CreateIPRequest = {
|
|
428
|
-
/**
|
|
586
|
+
/**
|
|
587
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
588
|
+
*/
|
|
429
589
|
zone?: ScwZone;
|
|
430
|
-
/**
|
|
590
|
+
/**
|
|
591
|
+
* Project to create the IP address in.
|
|
592
|
+
*/
|
|
431
593
|
projectId?: string;
|
|
432
|
-
/**
|
|
594
|
+
/**
|
|
595
|
+
* Tags to give to the IP address.
|
|
596
|
+
*/
|
|
433
597
|
tags?: string[];
|
|
434
598
|
};
|
|
435
599
|
export type CreatePATRuleRequest = {
|
|
436
|
-
/**
|
|
600
|
+
/**
|
|
601
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
602
|
+
*/
|
|
437
603
|
zone?: ScwZone;
|
|
438
|
-
/**
|
|
604
|
+
/**
|
|
605
|
+
* ID of the Gateway on which to create the rule.
|
|
606
|
+
*/
|
|
439
607
|
gatewayId: string;
|
|
440
|
-
/**
|
|
608
|
+
/**
|
|
609
|
+
* Public port to listen on.
|
|
610
|
+
*/
|
|
441
611
|
publicPort: number;
|
|
442
|
-
/**
|
|
612
|
+
/**
|
|
613
|
+
* Private IP to forward data to.
|
|
614
|
+
*/
|
|
443
615
|
privateIp: string;
|
|
444
|
-
/**
|
|
616
|
+
/**
|
|
617
|
+
* Private port to translate to.
|
|
618
|
+
*/
|
|
445
619
|
privatePort: number;
|
|
446
|
-
/**
|
|
620
|
+
/**
|
|
621
|
+
* Protocol the rule should apply to.
|
|
622
|
+
*/
|
|
447
623
|
protocol?: PATRuleProtocol;
|
|
448
624
|
};
|
|
449
625
|
export type DeleteDHCPEntryRequest = {
|
|
450
|
-
/**
|
|
626
|
+
/**
|
|
627
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
628
|
+
*/
|
|
451
629
|
zone?: ScwZone;
|
|
452
|
-
/**
|
|
630
|
+
/**
|
|
631
|
+
* ID of the DHCP entry to delete.
|
|
632
|
+
*/
|
|
453
633
|
dhcpEntryId: string;
|
|
454
634
|
};
|
|
455
635
|
export type DeleteDHCPRequest = {
|
|
456
|
-
/**
|
|
636
|
+
/**
|
|
637
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
638
|
+
*/
|
|
457
639
|
zone?: ScwZone;
|
|
458
|
-
/**
|
|
640
|
+
/**
|
|
641
|
+
* DHCP configuration ID to delete.
|
|
642
|
+
*/
|
|
459
643
|
dhcpId: string;
|
|
460
644
|
};
|
|
461
645
|
export type DeleteGatewayNetworkRequest = {
|
|
462
|
-
/**
|
|
646
|
+
/**
|
|
647
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
648
|
+
*/
|
|
463
649
|
zone?: ScwZone;
|
|
464
|
-
/**
|
|
650
|
+
/**
|
|
651
|
+
* ID of the GatewayNetwork to delete.
|
|
652
|
+
*/
|
|
465
653
|
gatewayNetworkId: string;
|
|
466
654
|
/**
|
|
467
|
-
* Defines whether to clean up attached DHCP configurations (if any, and if
|
|
468
|
-
* not attached to another Gateway Network).
|
|
655
|
+
* Defines whether to clean up attached DHCP configurations (if any, and if not attached to another Gateway Network).
|
|
469
656
|
*/
|
|
470
657
|
cleanupDhcp: boolean;
|
|
471
658
|
};
|
|
472
659
|
export type DeleteGatewayRequest = {
|
|
473
|
-
/**
|
|
660
|
+
/**
|
|
661
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
662
|
+
*/
|
|
474
663
|
zone?: ScwZone;
|
|
475
|
-
/**
|
|
664
|
+
/**
|
|
665
|
+
* ID of the gateway to delete.
|
|
666
|
+
*/
|
|
476
667
|
gatewayId: string;
|
|
477
668
|
/**
|
|
478
|
-
* Defines whether to clean up attached DHCP configurations (if any, and if
|
|
479
|
-
* not attached to another Gateway Network).
|
|
669
|
+
* Defines whether to clean up attached DHCP configurations (if any, and if not attached to another Gateway Network).
|
|
480
670
|
*/
|
|
481
671
|
cleanupDhcp: boolean;
|
|
482
672
|
};
|
|
483
673
|
export type DeleteIPRequest = {
|
|
484
|
-
/**
|
|
674
|
+
/**
|
|
675
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
676
|
+
*/
|
|
485
677
|
zone?: ScwZone;
|
|
486
|
-
/**
|
|
678
|
+
/**
|
|
679
|
+
* ID of the IP address to delete.
|
|
680
|
+
*/
|
|
487
681
|
ipId: string;
|
|
488
682
|
};
|
|
489
683
|
export type DeletePATRuleRequest = {
|
|
490
|
-
/**
|
|
684
|
+
/**
|
|
685
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
686
|
+
*/
|
|
491
687
|
zone?: ScwZone;
|
|
492
|
-
/**
|
|
688
|
+
/**
|
|
689
|
+
* ID of the PAT rule to delete.
|
|
690
|
+
*/
|
|
493
691
|
patRuleId: string;
|
|
494
692
|
};
|
|
495
693
|
export type EnableIPMobilityRequest = {
|
|
496
|
-
/**
|
|
694
|
+
/**
|
|
695
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
696
|
+
*/
|
|
497
697
|
zone?: ScwZone;
|
|
498
|
-
/**
|
|
698
|
+
/**
|
|
699
|
+
* ID of the gateway to upgrade to IP mobility.
|
|
700
|
+
*/
|
|
499
701
|
gatewayId: string;
|
|
500
702
|
};
|
|
501
703
|
export type GetDHCPEntryRequest = {
|
|
502
|
-
/**
|
|
704
|
+
/**
|
|
705
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
706
|
+
*/
|
|
503
707
|
zone?: ScwZone;
|
|
504
|
-
/**
|
|
708
|
+
/**
|
|
709
|
+
* ID of the DHCP entry to fetch.
|
|
710
|
+
*/
|
|
505
711
|
dhcpEntryId: string;
|
|
506
712
|
};
|
|
507
713
|
export type GetDHCPRequest = {
|
|
508
|
-
/**
|
|
714
|
+
/**
|
|
715
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
716
|
+
*/
|
|
509
717
|
zone?: ScwZone;
|
|
510
|
-
/**
|
|
718
|
+
/**
|
|
719
|
+
* ID of the DHCP configuration to fetch.
|
|
720
|
+
*/
|
|
511
721
|
dhcpId: string;
|
|
512
722
|
};
|
|
513
723
|
export type GetGatewayNetworkRequest = {
|
|
514
|
-
/**
|
|
724
|
+
/**
|
|
725
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
726
|
+
*/
|
|
515
727
|
zone?: ScwZone;
|
|
516
|
-
/**
|
|
728
|
+
/**
|
|
729
|
+
* ID of the GatewayNetwork to fetch.
|
|
730
|
+
*/
|
|
517
731
|
gatewayNetworkId: string;
|
|
518
732
|
};
|
|
519
733
|
export type GetGatewayRequest = {
|
|
520
|
-
/**
|
|
734
|
+
/**
|
|
735
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
736
|
+
*/
|
|
521
737
|
zone?: ScwZone;
|
|
522
|
-
/**
|
|
738
|
+
/**
|
|
739
|
+
* ID of the gateway to fetch.
|
|
740
|
+
*/
|
|
523
741
|
gatewayId: string;
|
|
524
742
|
};
|
|
525
743
|
export type GetIPRequest = {
|
|
526
|
-
/**
|
|
744
|
+
/**
|
|
745
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
746
|
+
*/
|
|
527
747
|
zone?: ScwZone;
|
|
528
|
-
/**
|
|
748
|
+
/**
|
|
749
|
+
* ID of the IP address to get.
|
|
750
|
+
*/
|
|
529
751
|
ipId: string;
|
|
530
752
|
};
|
|
531
753
|
export type GetPATRuleRequest = {
|
|
532
|
-
/**
|
|
754
|
+
/**
|
|
755
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
756
|
+
*/
|
|
533
757
|
zone?: ScwZone;
|
|
534
|
-
/**
|
|
758
|
+
/**
|
|
759
|
+
* ID of the PAT rule to get.
|
|
760
|
+
*/
|
|
535
761
|
patRuleId: string;
|
|
536
762
|
};
|
|
537
763
|
export type ListDHCPEntriesRequest = {
|
|
538
|
-
/**
|
|
764
|
+
/**
|
|
765
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
766
|
+
*/
|
|
539
767
|
zone?: ScwZone;
|
|
540
|
-
/**
|
|
768
|
+
/**
|
|
769
|
+
* Order in which to return results.
|
|
770
|
+
*/
|
|
541
771
|
orderBy?: ListDHCPEntriesRequestOrderBy;
|
|
542
|
-
/**
|
|
772
|
+
/**
|
|
773
|
+
* Page number.
|
|
774
|
+
*/
|
|
543
775
|
page?: number;
|
|
544
|
-
/**
|
|
776
|
+
/**
|
|
777
|
+
* DHCP entries per page.
|
|
778
|
+
*/
|
|
545
779
|
pageSize?: number;
|
|
546
|
-
/**
|
|
780
|
+
/**
|
|
781
|
+
* Filter for entries on this GatewayNetwork.
|
|
782
|
+
*/
|
|
547
783
|
gatewayNetworkId?: string;
|
|
548
|
-
/**
|
|
784
|
+
/**
|
|
785
|
+
* Filter for entries with this MAC address.
|
|
786
|
+
*/
|
|
549
787
|
macAddress?: string;
|
|
550
|
-
/**
|
|
788
|
+
/**
|
|
789
|
+
* Filter for entries with this IP address.
|
|
790
|
+
*/
|
|
551
791
|
ipAddress?: string;
|
|
552
|
-
/**
|
|
792
|
+
/**
|
|
793
|
+
* Filter for entries with this hostname substring.
|
|
794
|
+
*/
|
|
553
795
|
hostname?: string;
|
|
554
|
-
/**
|
|
796
|
+
/**
|
|
797
|
+
* Filter for entries of this type.
|
|
798
|
+
*/
|
|
555
799
|
type?: DHCPEntryType;
|
|
556
800
|
};
|
|
557
801
|
export interface ListDHCPEntriesResponse {
|
|
558
|
-
/**
|
|
802
|
+
/**
|
|
803
|
+
* DHCP entries in this page.
|
|
804
|
+
*/
|
|
559
805
|
dhcpEntries: DHCPEntry[];
|
|
560
|
-
/**
|
|
806
|
+
/**
|
|
807
|
+
* Total count of DHCP entries matching the filter.
|
|
808
|
+
*/
|
|
561
809
|
totalCount: number;
|
|
562
810
|
}
|
|
563
811
|
export type ListDHCPsRequest = {
|
|
564
|
-
/**
|
|
812
|
+
/**
|
|
813
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
814
|
+
*/
|
|
565
815
|
zone?: ScwZone;
|
|
566
|
-
/**
|
|
816
|
+
/**
|
|
817
|
+
* Order in which to return results.
|
|
818
|
+
*/
|
|
567
819
|
orderBy?: ListDHCPsRequestOrderBy;
|
|
568
|
-
/**
|
|
820
|
+
/**
|
|
821
|
+
* Page number.
|
|
822
|
+
*/
|
|
569
823
|
page?: number;
|
|
570
|
-
/**
|
|
824
|
+
/**
|
|
825
|
+
* DHCP configurations per page.
|
|
826
|
+
*/
|
|
571
827
|
pageSize?: number;
|
|
572
|
-
/**
|
|
828
|
+
/**
|
|
829
|
+
* Include only DHCP configuration objects in this Organization.
|
|
830
|
+
*/
|
|
573
831
|
organizationId?: string;
|
|
574
|
-
/**
|
|
832
|
+
/**
|
|
833
|
+
* Include only DHCP configuration objects in this Project.
|
|
834
|
+
*/
|
|
575
835
|
projectId?: string;
|
|
576
836
|
/**
|
|
577
|
-
* Filter for DHCP configuration objects with this DHCP server IP address (the
|
|
578
|
-
* gateway's address in the Private Network).
|
|
837
|
+
* Filter for DHCP configuration objects with this DHCP server IP address (the gateway's address in the Private Network).
|
|
579
838
|
*/
|
|
580
839
|
address?: string;
|
|
581
840
|
/**
|
|
582
|
-
* Filter for DHCP configuration objects with subnets containing this IP
|
|
583
|
-
* address.
|
|
841
|
+
* Filter for DHCP configuration objects with subnets containing this IP address.
|
|
584
842
|
*/
|
|
585
843
|
hasAddress?: string;
|
|
586
844
|
};
|
|
587
845
|
export interface ListDHCPsResponse {
|
|
588
|
-
/**
|
|
846
|
+
/**
|
|
847
|
+
* First page of DHCP configuration objects.
|
|
848
|
+
*/
|
|
589
849
|
dhcps: DHCP[];
|
|
590
|
-
/**
|
|
850
|
+
/**
|
|
851
|
+
* Total count of DHCP configuration objects matching the filter.
|
|
852
|
+
*/
|
|
591
853
|
totalCount: number;
|
|
592
854
|
}
|
|
593
855
|
export type ListGatewayNetworksRequest = {
|
|
594
|
-
/**
|
|
856
|
+
/**
|
|
857
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
858
|
+
*/
|
|
595
859
|
zone?: ScwZone;
|
|
596
|
-
/**
|
|
860
|
+
/**
|
|
861
|
+
* Order in which to return results.
|
|
862
|
+
*/
|
|
597
863
|
orderBy?: ListGatewayNetworksRequestOrderBy;
|
|
598
|
-
/**
|
|
864
|
+
/**
|
|
865
|
+
* Page number.
|
|
866
|
+
*/
|
|
599
867
|
page?: number;
|
|
600
|
-
/**
|
|
868
|
+
/**
|
|
869
|
+
* GatewayNetworks per page.
|
|
870
|
+
*/
|
|
601
871
|
pageSize?: number;
|
|
602
|
-
/**
|
|
872
|
+
/**
|
|
873
|
+
* Filter for GatewayNetworks connected to this gateway.
|
|
874
|
+
*/
|
|
603
875
|
gatewayId?: string;
|
|
604
|
-
/**
|
|
876
|
+
/**
|
|
877
|
+
* Filter for GatewayNetworks connected to this Private Network.
|
|
878
|
+
*/
|
|
605
879
|
privateNetworkId?: string;
|
|
606
|
-
/**
|
|
880
|
+
/**
|
|
881
|
+
* Filter for GatewayNetworks with this `enable_masquerade` setting.
|
|
882
|
+
*/
|
|
607
883
|
enableMasquerade?: boolean;
|
|
608
|
-
/**
|
|
884
|
+
/**
|
|
885
|
+
* Filter for GatewayNetworks using this DHCP configuration.
|
|
886
|
+
*/
|
|
609
887
|
dhcpId?: string;
|
|
610
888
|
/**
|
|
611
|
-
* Filter for GatewayNetworks with this current status this status. Use
|
|
612
|
-
* `unknown` to include all statuses.
|
|
889
|
+
* Filter for GatewayNetworks with this current status this status. Use `unknown` to include all statuses.
|
|
613
890
|
*/
|
|
614
891
|
status?: GatewayNetworkStatus;
|
|
615
892
|
};
|
|
616
893
|
export interface ListGatewayNetworksResponse {
|
|
617
|
-
/**
|
|
894
|
+
/**
|
|
895
|
+
* GatewayNetworks on this page.
|
|
896
|
+
*/
|
|
618
897
|
gatewayNetworks: GatewayNetwork[];
|
|
619
|
-
/**
|
|
898
|
+
/**
|
|
899
|
+
* Total GatewayNetworks count matching the filter.
|
|
900
|
+
*/
|
|
620
901
|
totalCount: number;
|
|
621
902
|
}
|
|
622
903
|
export type ListGatewayTypesRequest = {
|
|
623
|
-
/**
|
|
904
|
+
/**
|
|
905
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
906
|
+
*/
|
|
624
907
|
zone?: ScwZone;
|
|
625
908
|
};
|
|
626
909
|
export interface ListGatewayTypesResponse {
|
|
627
|
-
/**
|
|
910
|
+
/**
|
|
911
|
+
* Available types of Public Gateway.
|
|
912
|
+
*/
|
|
628
913
|
types: GatewayType[];
|
|
629
914
|
}
|
|
630
915
|
export type ListGatewaysRequest = {
|
|
631
|
-
/**
|
|
916
|
+
/**
|
|
917
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
918
|
+
*/
|
|
632
919
|
zone?: ScwZone;
|
|
633
|
-
/**
|
|
920
|
+
/**
|
|
921
|
+
* Order in which to return results.
|
|
922
|
+
*/
|
|
634
923
|
orderBy?: ListGatewaysRequestOrderBy;
|
|
635
|
-
/**
|
|
924
|
+
/**
|
|
925
|
+
* Page number to return.
|
|
926
|
+
*/
|
|
636
927
|
page?: number;
|
|
637
|
-
/**
|
|
928
|
+
/**
|
|
929
|
+
* Gateways per page.
|
|
930
|
+
*/
|
|
638
931
|
pageSize?: number;
|
|
639
|
-
/**
|
|
932
|
+
/**
|
|
933
|
+
* Include only gateways in this Organization.
|
|
934
|
+
*/
|
|
640
935
|
organizationId?: string;
|
|
641
|
-
/**
|
|
936
|
+
/**
|
|
937
|
+
* Include only gateways in this Project.
|
|
938
|
+
*/
|
|
642
939
|
projectId?: string;
|
|
643
|
-
/**
|
|
940
|
+
/**
|
|
941
|
+
* Filter for gateways which have this search term in their name.
|
|
942
|
+
*/
|
|
644
943
|
name?: string;
|
|
645
|
-
/**
|
|
944
|
+
/**
|
|
945
|
+
* Filter for gateways with these tags.
|
|
946
|
+
*/
|
|
646
947
|
tags?: string[];
|
|
647
|
-
/**
|
|
948
|
+
/**
|
|
949
|
+
* Filter for gateways of this type.
|
|
950
|
+
*/
|
|
648
951
|
type?: string;
|
|
649
952
|
/**
|
|
650
|
-
* Filter for gateways with this current status. Use `unknown` to include all
|
|
651
|
-
* statuses.
|
|
953
|
+
* Filter for gateways with this current status. Use `unknown` to include all statuses.
|
|
652
954
|
*/
|
|
653
955
|
status?: GatewayStatus;
|
|
654
|
-
/**
|
|
956
|
+
/**
|
|
957
|
+
* Filter for gateways attached to this Private nNetwork.
|
|
958
|
+
*/
|
|
655
959
|
privateNetworkId?: string;
|
|
656
960
|
};
|
|
657
961
|
export interface ListGatewaysResponse {
|
|
658
|
-
/**
|
|
962
|
+
/**
|
|
963
|
+
* Gateways on this page.
|
|
964
|
+
*/
|
|
659
965
|
gateways: Gateway[];
|
|
660
|
-
/**
|
|
966
|
+
/**
|
|
967
|
+
* Total count of gateways matching the filter.
|
|
968
|
+
*/
|
|
661
969
|
totalCount: number;
|
|
662
970
|
}
|
|
663
971
|
export type ListIPsRequest = {
|
|
664
|
-
/**
|
|
972
|
+
/**
|
|
973
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
974
|
+
*/
|
|
665
975
|
zone?: ScwZone;
|
|
666
|
-
/**
|
|
976
|
+
/**
|
|
977
|
+
* Order in which to return results.
|
|
978
|
+
*/
|
|
667
979
|
orderBy?: ListIPsRequestOrderBy;
|
|
668
|
-
/**
|
|
980
|
+
/**
|
|
981
|
+
* Page number.
|
|
982
|
+
*/
|
|
669
983
|
page?: number;
|
|
670
|
-
/**
|
|
984
|
+
/**
|
|
985
|
+
* IP addresses per page.
|
|
986
|
+
*/
|
|
671
987
|
pageSize?: number;
|
|
672
|
-
/**
|
|
988
|
+
/**
|
|
989
|
+
* Filter for IP addresses in this Organization.
|
|
990
|
+
*/
|
|
673
991
|
organizationId?: string;
|
|
674
|
-
/**
|
|
992
|
+
/**
|
|
993
|
+
* Filter for IP addresses in this Project.
|
|
994
|
+
*/
|
|
675
995
|
projectId?: string;
|
|
676
|
-
/**
|
|
996
|
+
/**
|
|
997
|
+
* Filter for IP addresses with these tags.
|
|
998
|
+
*/
|
|
677
999
|
tags?: string[];
|
|
678
|
-
/**
|
|
1000
|
+
/**
|
|
1001
|
+
* Filter for IP addresses that have a reverse containing this string.
|
|
1002
|
+
*/
|
|
679
1003
|
reverse?: string;
|
|
680
|
-
/**
|
|
1004
|
+
/**
|
|
1005
|
+
* Filter based on whether the IP is attached to a gateway or not.
|
|
1006
|
+
*/
|
|
681
1007
|
isFree?: boolean;
|
|
682
1008
|
};
|
|
683
1009
|
export interface ListIPsResponse {
|
|
684
|
-
/**
|
|
1010
|
+
/**
|
|
1011
|
+
* IP addresses on this page.
|
|
1012
|
+
*/
|
|
685
1013
|
ips: IP[];
|
|
686
|
-
/**
|
|
1014
|
+
/**
|
|
1015
|
+
* Total count of IP addresses matching the filter.
|
|
1016
|
+
*/
|
|
687
1017
|
totalCount: number;
|
|
688
1018
|
}
|
|
689
1019
|
export type ListPATRulesRequest = {
|
|
690
|
-
/**
|
|
1020
|
+
/**
|
|
1021
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1022
|
+
*/
|
|
691
1023
|
zone?: ScwZone;
|
|
692
|
-
/**
|
|
1024
|
+
/**
|
|
1025
|
+
* Order in which to return results.
|
|
1026
|
+
*/
|
|
693
1027
|
orderBy?: ListPATRulesRequestOrderBy;
|
|
694
|
-
/**
|
|
1028
|
+
/**
|
|
1029
|
+
* Page number.
|
|
1030
|
+
*/
|
|
695
1031
|
page?: number;
|
|
696
|
-
/**
|
|
1032
|
+
/**
|
|
1033
|
+
* PAT rules per page.
|
|
1034
|
+
*/
|
|
697
1035
|
pageSize?: number;
|
|
698
|
-
/**
|
|
1036
|
+
/**
|
|
1037
|
+
* Filter for PAT rules on this Gateway.
|
|
1038
|
+
*/
|
|
699
1039
|
gatewayId?: string;
|
|
700
|
-
/**
|
|
1040
|
+
/**
|
|
1041
|
+
* Filter for PAT rules targeting this private ip.
|
|
1042
|
+
*/
|
|
701
1043
|
privateIp?: string;
|
|
702
|
-
/**
|
|
1044
|
+
/**
|
|
1045
|
+
* Filter for PAT rules with this protocol.
|
|
1046
|
+
*/
|
|
703
1047
|
protocol?: PATRuleProtocol;
|
|
704
1048
|
};
|
|
705
1049
|
export interface ListPATRulesResponse {
|
|
706
|
-
/**
|
|
1050
|
+
/**
|
|
1051
|
+
* Array of PAT rules matching the filter.
|
|
1052
|
+
*/
|
|
707
1053
|
patRules: PATRule[];
|
|
708
|
-
/**
|
|
1054
|
+
/**
|
|
1055
|
+
* Total count of PAT rules matching the filter.
|
|
1056
|
+
*/
|
|
709
1057
|
totalCount: number;
|
|
710
1058
|
}
|
|
711
1059
|
export type MigrateToV2Request = {
|
|
712
|
-
/**
|
|
1060
|
+
/**
|
|
1061
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1062
|
+
*/
|
|
713
1063
|
zone?: ScwZone;
|
|
714
|
-
/**
|
|
1064
|
+
/**
|
|
1065
|
+
* ID of the gateway to put into IPAM mode.
|
|
1066
|
+
*/
|
|
715
1067
|
gatewayId: string;
|
|
716
1068
|
};
|
|
717
1069
|
export type RefreshSSHKeysRequest = {
|
|
718
|
-
/**
|
|
1070
|
+
/**
|
|
1071
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1072
|
+
*/
|
|
719
1073
|
zone?: ScwZone;
|
|
720
|
-
/**
|
|
1074
|
+
/**
|
|
1075
|
+
* ID of the gateway to refresh SSH keys on.
|
|
1076
|
+
*/
|
|
721
1077
|
gatewayId: string;
|
|
722
1078
|
};
|
|
723
1079
|
export type SetDHCPEntriesRequest = {
|
|
724
|
-
/**
|
|
1080
|
+
/**
|
|
1081
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1082
|
+
*/
|
|
725
1083
|
zone?: ScwZone;
|
|
726
|
-
/**
|
|
1084
|
+
/**
|
|
1085
|
+
* ID of the Gateway Network on which to set DHCP reservation list.
|
|
1086
|
+
*/
|
|
727
1087
|
gatewayNetworkId: string;
|
|
728
|
-
/**
|
|
1088
|
+
/**
|
|
1089
|
+
* New list of DHCP reservations.
|
|
1090
|
+
*/
|
|
729
1091
|
dhcpEntries?: SetDHCPEntriesRequestEntry[];
|
|
730
1092
|
};
|
|
731
1093
|
export interface SetDHCPEntriesResponse {
|
|
732
|
-
/**
|
|
1094
|
+
/**
|
|
1095
|
+
* List of DHCP entries.
|
|
1096
|
+
*/
|
|
733
1097
|
dhcpEntries: DHCPEntry[];
|
|
734
1098
|
}
|
|
735
1099
|
export type SetPATRulesRequest = {
|
|
736
|
-
/**
|
|
1100
|
+
/**
|
|
1101
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1102
|
+
*/
|
|
737
1103
|
zone?: ScwZone;
|
|
738
|
-
/**
|
|
1104
|
+
/**
|
|
1105
|
+
* ID of the gateway on which to set the PAT rules.
|
|
1106
|
+
*/
|
|
739
1107
|
gatewayId: string;
|
|
740
|
-
/**
|
|
1108
|
+
/**
|
|
1109
|
+
* New list of PAT rules.
|
|
1110
|
+
*/
|
|
741
1111
|
patRules: SetPATRulesRequestRule[];
|
|
742
1112
|
};
|
|
743
1113
|
export interface SetPATRulesResponse {
|
|
744
|
-
/**
|
|
1114
|
+
/**
|
|
1115
|
+
* List of PAT rules.
|
|
1116
|
+
*/
|
|
745
1117
|
patRules: PATRule[];
|
|
746
1118
|
}
|
|
747
1119
|
export type UpdateDHCPEntryRequest = {
|
|
748
|
-
/**
|
|
1120
|
+
/**
|
|
1121
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1122
|
+
*/
|
|
749
1123
|
zone?: ScwZone;
|
|
750
|
-
/**
|
|
1124
|
+
/**
|
|
1125
|
+
* ID of the DHCP entry to update.
|
|
1126
|
+
*/
|
|
751
1127
|
dhcpEntryId: string;
|
|
752
|
-
/**
|
|
1128
|
+
/**
|
|
1129
|
+
* New IP address to give to the device.
|
|
1130
|
+
*/
|
|
753
1131
|
ipAddress?: string;
|
|
754
1132
|
};
|
|
755
1133
|
export type UpdateDHCPRequest = {
|
|
756
|
-
/**
|
|
1134
|
+
/**
|
|
1135
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1136
|
+
*/
|
|
757
1137
|
zone?: ScwZone;
|
|
758
|
-
/**
|
|
1138
|
+
/**
|
|
1139
|
+
* DHCP configuration to update.
|
|
1140
|
+
*/
|
|
759
1141
|
dhcpId: string;
|
|
760
|
-
/**
|
|
1142
|
+
/**
|
|
1143
|
+
* Subnet for the DHCP server.
|
|
1144
|
+
*/
|
|
761
1145
|
subnet?: string;
|
|
762
1146
|
/**
|
|
763
|
-
* IP address of the DHCP server. This will be the Public Gateway's address in
|
|
764
|
-
* the Private Network. It must be part of config's subnet.
|
|
1147
|
+
* IP address of the DHCP server. This will be the Public Gateway's address in the Private Network. It must be part of config's subnet.
|
|
765
1148
|
*/
|
|
766
1149
|
address?: string;
|
|
767
1150
|
/**
|
|
768
|
-
* Low IP (inclusive) of the dynamic address pool. Must be in the config's
|
|
769
|
-
* subnet.
|
|
1151
|
+
* Low IP (inclusive) of the dynamic address pool. Must be in the config's subnet.
|
|
770
1152
|
*/
|
|
771
1153
|
poolLow?: string;
|
|
772
1154
|
/**
|
|
773
|
-
* High IP (inclusive) of the dynamic address pool. Must be in the config's
|
|
774
|
-
* subnet.
|
|
1155
|
+
* High IP (inclusive) of the dynamic address pool. Must be in the config's subnet.
|
|
775
1156
|
*/
|
|
776
1157
|
poolHigh?: string;
|
|
777
1158
|
/**
|
|
778
|
-
* Defines whether to enable dynamic pooling of IPs. When false, only
|
|
779
|
-
* pre-existing DHCP reservations will be handed out. Defaults to true.
|
|
1159
|
+
* Defines whether to enable dynamic pooling of IPs. When false, only pre-existing DHCP reservations will be handed out. Defaults to true.
|
|
780
1160
|
*/
|
|
781
1161
|
enableDynamic?: boolean;
|
|
782
|
-
/**
|
|
1162
|
+
/**
|
|
1163
|
+
* How long DHCP entries will be valid for.
|
|
1164
|
+
*/
|
|
783
1165
|
validLifetime?: string;
|
|
784
1166
|
/**
|
|
785
|
-
* After how long a renew will be attempted. Must be 30s lower than
|
|
786
|
-
* `rebind_timer`.
|
|
1167
|
+
* After how long a renew will be attempted. Must be 30s lower than `rebind_timer`.
|
|
787
1168
|
*/
|
|
788
1169
|
renewTimer?: string;
|
|
789
1170
|
/**
|
|
790
|
-
* After how long a DHCP client will query for a new lease if previous renews
|
|
791
|
-
* fail. Must be 30s lower than `valid_lifetime`.
|
|
1171
|
+
* After how long a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than `valid_lifetime`.
|
|
792
1172
|
*/
|
|
793
1173
|
rebindTimer?: string;
|
|
794
1174
|
/**
|
|
795
|
-
* Defines whether the gateway should push a default route to DHCP clients, or
|
|
796
|
-
* only hand out IPs.
|
|
1175
|
+
* Defines whether the gateway should push a default route to DHCP clients, or only hand out IPs.
|
|
797
1176
|
*/
|
|
798
1177
|
pushDefaultRoute?: boolean;
|
|
799
1178
|
/**
|
|
800
|
-
* Defines whether the gateway should push custom DNS servers to clients. This
|
|
801
|
-
* allows for instance hostname -> IP resolution.
|
|
1179
|
+
* Defines whether the gateway should push custom DNS servers to clients. This allows for instance hostname -> IP resolution.
|
|
802
1180
|
*/
|
|
803
1181
|
pushDnsServer?: boolean;
|
|
804
1182
|
/**
|
|
805
|
-
* Array of DNS server IP addresses used to override the DNS server list
|
|
806
|
-
* pushed to DHCP clients, instead of the gateway itself.
|
|
1183
|
+
* Array of DNS server IP addresses used to override the DNS server list pushed to DHCP clients, instead of the gateway itself.
|
|
807
1184
|
*/
|
|
808
1185
|
dnsServersOverride?: string[];
|
|
809
|
-
/**
|
|
1186
|
+
/**
|
|
1187
|
+
* Array of search paths in addition to the pushed DNS configuration.
|
|
1188
|
+
*/
|
|
810
1189
|
dnsSearch?: string[];
|
|
811
1190
|
/**
|
|
812
|
-
* TLD given to hostnames in the Private Networks. If an instance with
|
|
813
|
-
* hostname `foo` gets a lease, and this is set to `bar`, `foo.bar` will
|
|
814
|
-
* resolve. Allowed characters are `a-z0-9-.`.
|
|
1191
|
+
* TLD given to hostnames in the Private Networks. If an instance with hostname `foo` gets a lease, and this is set to `bar`, `foo.bar` will resolve. Allowed characters are `a-z0-9-.`.
|
|
815
1192
|
*/
|
|
816
1193
|
dnsLocalName?: string;
|
|
817
1194
|
};
|
|
818
1195
|
export type UpdateGatewayNetworkRequest = {
|
|
819
|
-
/**
|
|
1196
|
+
/**
|
|
1197
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1198
|
+
*/
|
|
820
1199
|
zone?: ScwZone;
|
|
821
|
-
/**
|
|
1200
|
+
/**
|
|
1201
|
+
* ID of the GatewayNetwork to update.
|
|
1202
|
+
*/
|
|
822
1203
|
gatewayNetworkId: string;
|
|
823
|
-
/**
|
|
1204
|
+
/**
|
|
1205
|
+
* Note: this setting is ignored when passing `ipam_config`.
|
|
1206
|
+
*/
|
|
824
1207
|
enableMasquerade?: boolean;
|
|
825
1208
|
/**
|
|
826
|
-
* Defaults to `true` if `dhcp_id` is present. If set to `true`, `dhcp_id`
|
|
827
|
-
|
|
1209
|
+
* Defaults to `true` if `dhcp_id` is present. If set to `true`, `dhcp_id` must be present.
|
|
1210
|
+
Note: this setting is ignored when passing `ipam_config`.
|
|
828
1211
|
*/
|
|
829
1212
|
enableDhcp?: boolean;
|
|
830
1213
|
/**
|
|
831
1214
|
* ID of the new DHCP configuration object to use with this GatewayNetwork.
|
|
832
1215
|
*
|
|
833
|
-
* One-of ('ipConfig'): at most one of 'dhcpId', 'address', 'ipamConfig' could
|
|
834
|
-
* be set.
|
|
1216
|
+
* One-of ('ipConfig'): at most one of 'dhcpId', 'address', 'ipamConfig' could be set.
|
|
835
1217
|
*/
|
|
836
1218
|
dhcpId?: string;
|
|
837
1219
|
/**
|
|
838
1220
|
* New static IP address.
|
|
839
1221
|
*
|
|
840
|
-
* One-of ('ipConfig'): at most one of 'dhcpId', 'address', 'ipamConfig' could
|
|
841
|
-
* be set.
|
|
1222
|
+
* One-of ('ipConfig'): at most one of 'dhcpId', 'address', 'ipamConfig' could be set.
|
|
842
1223
|
*/
|
|
843
1224
|
address?: string;
|
|
844
1225
|
/**
|
|
845
|
-
* Note: all or none of the GatewayNetworks for a single gateway can use the
|
|
846
|
-
* IPAM. DHCP and IPAM configurations cannot be mixed. Some products may
|
|
847
|
-
* require that the Public Gateway uses the IPAM, to ensure correct
|
|
848
|
-
* functionality.
|
|
1226
|
+
* Note: all or none of the GatewayNetworks for a single gateway can use the IPAM. DHCP and IPAM configurations cannot be mixed. Some products may require that the Public Gateway uses the IPAM, to ensure correct functionality.
|
|
849
1227
|
*
|
|
850
|
-
* One-of ('ipConfig'): at most one of 'dhcpId', 'address', 'ipamConfig' could
|
|
851
|
-
* be set.
|
|
1228
|
+
* One-of ('ipConfig'): at most one of 'dhcpId', 'address', 'ipamConfig' could be set.
|
|
852
1229
|
*/
|
|
853
1230
|
ipamConfig?: UpdateGatewayNetworkRequestIpamConfig;
|
|
854
1231
|
};
|
|
855
1232
|
export type UpdateGatewayRequest = {
|
|
856
|
-
/**
|
|
1233
|
+
/**
|
|
1234
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1235
|
+
*/
|
|
857
1236
|
zone?: ScwZone;
|
|
858
|
-
/**
|
|
1237
|
+
/**
|
|
1238
|
+
* ID of the gateway to update.
|
|
1239
|
+
*/
|
|
859
1240
|
gatewayId: string;
|
|
860
|
-
/**
|
|
1241
|
+
/**
|
|
1242
|
+
* Name for the gateway.
|
|
1243
|
+
*/
|
|
861
1244
|
name?: string;
|
|
862
|
-
/**
|
|
1245
|
+
/**
|
|
1246
|
+
* Tags for the gateway.
|
|
1247
|
+
*/
|
|
863
1248
|
tags?: string[];
|
|
864
1249
|
/**
|
|
865
|
-
* Array of DNS server IP addresses to override the gateway's default
|
|
866
|
-
* recursive DNS servers.
|
|
1250
|
+
* Array of DNS server IP addresses to override the gateway's default recursive DNS servers.
|
|
867
1251
|
*/
|
|
868
1252
|
upstreamDnsServers?: string[];
|
|
869
|
-
/**
|
|
1253
|
+
/**
|
|
1254
|
+
* Defines whether SSH bastion should be enabled the gateway.
|
|
1255
|
+
*/
|
|
870
1256
|
enableBastion?: boolean;
|
|
871
|
-
/**
|
|
1257
|
+
/**
|
|
1258
|
+
* Port of the SSH bastion.
|
|
1259
|
+
*/
|
|
872
1260
|
bastionPort?: number;
|
|
873
|
-
/**
|
|
1261
|
+
/**
|
|
1262
|
+
* Defines whether SMTP traffic should be allowed to pass through the gateway.
|
|
1263
|
+
*/
|
|
874
1264
|
enableSmtp?: boolean;
|
|
875
1265
|
};
|
|
876
1266
|
export type UpdateIPRequest = {
|
|
877
|
-
/**
|
|
1267
|
+
/**
|
|
1268
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1269
|
+
*/
|
|
878
1270
|
zone?: ScwZone;
|
|
879
|
-
/**
|
|
1271
|
+
/**
|
|
1272
|
+
* ID of the IP address to update.
|
|
1273
|
+
*/
|
|
880
1274
|
ipId: string;
|
|
881
|
-
/**
|
|
1275
|
+
/**
|
|
1276
|
+
* Tags to give to the IP address.
|
|
1277
|
+
*/
|
|
882
1278
|
tags?: string[];
|
|
883
|
-
/**
|
|
1279
|
+
/**
|
|
1280
|
+
* Reverse to set on the address. Empty string to unset.
|
|
1281
|
+
*/
|
|
884
1282
|
reverse?: string;
|
|
885
|
-
/**
|
|
1283
|
+
/**
|
|
1284
|
+
* Gateway to attach the IP address to. Empty string to detach.
|
|
1285
|
+
*/
|
|
886
1286
|
gatewayId?: string;
|
|
887
1287
|
};
|
|
888
1288
|
export type UpdatePATRuleRequest = {
|
|
889
|
-
/**
|
|
1289
|
+
/**
|
|
1290
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1291
|
+
*/
|
|
890
1292
|
zone?: ScwZone;
|
|
891
|
-
/**
|
|
1293
|
+
/**
|
|
1294
|
+
* ID of the PAT rule to update.
|
|
1295
|
+
*/
|
|
892
1296
|
patRuleId: string;
|
|
893
|
-
/**
|
|
1297
|
+
/**
|
|
1298
|
+
* Public port to listen on.
|
|
1299
|
+
*/
|
|
894
1300
|
publicPort?: number;
|
|
895
|
-
/**
|
|
1301
|
+
/**
|
|
1302
|
+
* Private IP to forward data to.
|
|
1303
|
+
*/
|
|
896
1304
|
privateIp?: string;
|
|
897
|
-
/**
|
|
1305
|
+
/**
|
|
1306
|
+
* Private port to translate to.
|
|
1307
|
+
*/
|
|
898
1308
|
privatePort?: number;
|
|
899
|
-
/**
|
|
1309
|
+
/**
|
|
1310
|
+
* Protocol the rule should apply to.
|
|
1311
|
+
*/
|
|
900
1312
|
protocol?: PATRuleProtocol;
|
|
901
1313
|
};
|
|
902
1314
|
export type UpgradeGatewayRequest = {
|
|
903
|
-
/**
|
|
1315
|
+
/**
|
|
1316
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1317
|
+
*/
|
|
904
1318
|
zone?: ScwZone;
|
|
905
|
-
/**
|
|
1319
|
+
/**
|
|
1320
|
+
* ID of the gateway to upgrade.
|
|
1321
|
+
*/
|
|
906
1322
|
gatewayId: string;
|
|
907
|
-
/**
|
|
1323
|
+
/**
|
|
1324
|
+
* Gateway type (commercial offer).
|
|
1325
|
+
*/
|
|
908
1326
|
type?: string;
|
|
909
1327
|
};
|