@scaleway/sdk 2.71.0 → 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/README.md +6 -5
- 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 +56 -176
- package/dist/api/iam/v1alpha1/api.gen.d.ts +54 -176
- package/dist/api/iam/v1alpha1/api.gen.js +56 -176
- 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 +980 -373
- 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/client/dist/package.json.cjs +67 -0
- package/dist/client/dist/package.json.js +67 -0
- package/dist/client/dist/scw/constants.cjs +7 -0
- package/dist/{scw → client/dist/scw}/constants.js +2 -1
- 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/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.cjs +2 -1
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.d.ts +2 -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 -5
- package/dist/helpers/is-browser.cjs +0 -7
- package/dist/helpers/is-browser.js +0 -7
- package/dist/scw/constants.d.ts +0 -2
- /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}/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/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 { Money, Region as ScwRegion, Zone as ScwZone } from '
|
|
1
|
+
import type { Money, Region as ScwRegion, Zone as ScwZone } from '@scaleway/sdk-client';
|
|
2
2
|
export type DNSStageType = 'unknown_type' | 'auto' | 'managed' | 'custom';
|
|
3
3
|
export type LbOriginError = 'unknown' | 'timeout' | 'connection_refused' | 'tls_error';
|
|
4
4
|
export type ListBackendStagesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
@@ -22,39 +22,55 @@ export type RuleHttpMatchPathFilterPathFilterType = 'unknown_path_filter' | 'reg
|
|
|
22
22
|
export type SearchBackendStagesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
23
23
|
export type WafStageMode = 'unknown_mode' | 'disable' | 'log_only' | 'enable';
|
|
24
24
|
export interface ScalewayLb {
|
|
25
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* ID of the Load Balancer.
|
|
27
|
+
*/
|
|
26
28
|
id: string;
|
|
27
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* Zone of the Load Balancer.
|
|
31
|
+
*/
|
|
28
32
|
zone: ScwZone;
|
|
29
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* ID of the frontend linked to the Load Balancer.
|
|
35
|
+
*/
|
|
30
36
|
frontendId: string;
|
|
31
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Defines whether the Load Balancer's frontend handles SSL connections.
|
|
39
|
+
*/
|
|
32
40
|
isSsl?: boolean;
|
|
33
41
|
/**
|
|
34
|
-
* Fully Qualified Domain Name (in the format subdomain.example.com) to use in
|
|
35
|
-
* HTTP requests sent towards your Load Balancer.
|
|
42
|
+
* Fully Qualified Domain Name (in the format subdomain.example.com) to use in HTTP requests sent towards your Load Balancer.
|
|
36
43
|
*/
|
|
37
44
|
domainName?: string;
|
|
38
45
|
}
|
|
39
46
|
export interface RuleHttpMatchPathFilter {
|
|
40
47
|
/**
|
|
41
|
-
* Type of filter to match for the HTTP URL path. For now, all path filters
|
|
42
|
-
* must be written in regex and use the `regex` type.
|
|
48
|
+
* Type of filter to match for the HTTP URL path. For now, all path filters must be written in regex and use the `regex` type.
|
|
43
49
|
*/
|
|
44
50
|
pathFilterType: RuleHttpMatchPathFilterPathFilterType;
|
|
45
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* Value to be matched for the HTTP URL path.
|
|
53
|
+
*/
|
|
46
54
|
value: string;
|
|
47
55
|
}
|
|
48
56
|
export interface ScalewayLbBackendConfig {
|
|
49
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* Load Balancer information.
|
|
59
|
+
*/
|
|
50
60
|
lbs: ScalewayLb[];
|
|
51
61
|
}
|
|
52
62
|
export interface ScalewayS3BackendConfig {
|
|
53
|
-
/**
|
|
63
|
+
/**
|
|
64
|
+
* Name of the Bucket.
|
|
65
|
+
*/
|
|
54
66
|
bucketName?: string;
|
|
55
|
-
/**
|
|
67
|
+
/**
|
|
68
|
+
* Region of the Bucket.
|
|
69
|
+
*/
|
|
56
70
|
bucketRegion?: string;
|
|
57
|
-
/**
|
|
71
|
+
/**
|
|
72
|
+
* Defines whether the bucket website feature is enabled.
|
|
73
|
+
*/
|
|
58
74
|
isWebsite?: boolean;
|
|
59
75
|
}
|
|
60
76
|
export interface PipelineError {
|
|
@@ -65,211 +81,275 @@ export interface PipelineError {
|
|
|
65
81
|
type: PipelineErrorType;
|
|
66
82
|
}
|
|
67
83
|
export interface TLSSecret {
|
|
68
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* ID of the Secret.
|
|
86
|
+
*/
|
|
69
87
|
secretId: string;
|
|
70
|
-
/**
|
|
88
|
+
/**
|
|
89
|
+
* Region of the Secret.
|
|
90
|
+
*/
|
|
71
91
|
region: ScwRegion;
|
|
72
92
|
}
|
|
73
93
|
export interface RuleHttpMatch {
|
|
74
94
|
/**
|
|
75
|
-
* HTTP methods to filter for. A request using any of these methods will be
|
|
76
|
-
* considered to match the rule. Possible values are `get`, `post`, `put`,
|
|
77
|
-
* `patch`, `delete`, `head`, `options`. All methods will match if none is
|
|
78
|
-
* provided.
|
|
95
|
+
* HTTP methods to filter for. A request using any of these methods will be considered to match the rule. Possible values are `get`, `post`, `put`, `patch`, `delete`, `head`, `options`. All methods will match if none is provided.
|
|
79
96
|
*/
|
|
80
97
|
methodFilters: RuleHttpMatchMethodFilter[];
|
|
81
98
|
/**
|
|
82
|
-
* HTTP URL path to filter for. A request whose path matches the given filter
|
|
83
|
-
* will be considered to match the rule. All paths will match if none is
|
|
84
|
-
* provided.
|
|
99
|
+
* HTTP URL path to filter for. A request whose path matches the given filter will be considered to match the rule. All paths will match if none is provided.
|
|
85
100
|
*/
|
|
86
101
|
pathFilter?: RuleHttpMatchPathFilter;
|
|
87
102
|
}
|
|
88
103
|
export interface BackendStage {
|
|
89
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* ID of the backend stage.
|
|
106
|
+
*/
|
|
90
107
|
id: string;
|
|
91
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Pipeline ID the backend stage belongs to.
|
|
110
|
+
*/
|
|
92
111
|
pipelineId: string;
|
|
93
|
-
/**
|
|
112
|
+
/**
|
|
113
|
+
* Date the backend stage was created.
|
|
114
|
+
*/
|
|
94
115
|
createdAt?: Date;
|
|
95
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* Date the backend stage was last updated.
|
|
118
|
+
*/
|
|
96
119
|
updatedAt?: Date;
|
|
97
120
|
/**
|
|
98
121
|
* Scaleway Object Storage origin bucket (S3) linked to the backend stage.
|
|
99
122
|
*
|
|
100
|
-
* One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb' could
|
|
101
|
-
* be set.
|
|
123
|
+
* One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb' could be set.
|
|
102
124
|
*/
|
|
103
125
|
scalewayS3?: ScalewayS3BackendConfig;
|
|
104
126
|
/**
|
|
105
127
|
* Scaleway Load Balancer origin linked to the backend stage.
|
|
106
128
|
*
|
|
107
|
-
* One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb' could
|
|
108
|
-
* be set.
|
|
129
|
+
* One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb' could be set.
|
|
109
130
|
*/
|
|
110
131
|
scalewayLb?: ScalewayLbBackendConfig;
|
|
111
132
|
}
|
|
112
133
|
export interface CacheStage {
|
|
113
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* ID of the cache stage.
|
|
136
|
+
*/
|
|
114
137
|
id: string;
|
|
115
|
-
/**
|
|
138
|
+
/**
|
|
139
|
+
* Pipeline ID the cache stage belongs to.
|
|
140
|
+
*/
|
|
116
141
|
pipelineId: string;
|
|
117
|
-
/**
|
|
142
|
+
/**
|
|
143
|
+
* Time To Live (TTL) in seconds. Defines how long content is cached.
|
|
144
|
+
*/
|
|
118
145
|
fallbackTtl?: string;
|
|
119
|
-
/**
|
|
146
|
+
/**
|
|
147
|
+
* Date the cache stage was created.
|
|
148
|
+
*/
|
|
120
149
|
createdAt?: Date;
|
|
121
|
-
/**
|
|
150
|
+
/**
|
|
151
|
+
* Date the cache stage was last updated.
|
|
152
|
+
*/
|
|
122
153
|
updatedAt?: Date;
|
|
123
154
|
/**
|
|
124
155
|
* Backend stage ID the cache stage is linked to.
|
|
125
156
|
*
|
|
126
|
-
* One-of ('next'): at most one of 'backendStageId', 'wafStageId',
|
|
127
|
-
* 'routeStageId' could be set.
|
|
157
|
+
* One-of ('next'): at most one of 'backendStageId', 'wafStageId', 'routeStageId' could be set.
|
|
128
158
|
*/
|
|
129
159
|
backendStageId?: string;
|
|
130
160
|
/**
|
|
131
|
-
*
|
|
132
|
-
* 'routeStageId' could be set.
|
|
161
|
+
*
|
|
162
|
+
* One-of ('next'): at most one of 'backendStageId', 'wafStageId', 'routeStageId' could be set.
|
|
133
163
|
*/
|
|
134
164
|
wafStageId?: string;
|
|
135
165
|
/**
|
|
136
|
-
*
|
|
137
|
-
* 'routeStageId' could be set.
|
|
166
|
+
*
|
|
167
|
+
* One-of ('next'): at most one of 'backendStageId', 'wafStageId', 'routeStageId' could be set.
|
|
138
168
|
*/
|
|
139
169
|
routeStageId?: string;
|
|
140
170
|
}
|
|
141
171
|
export interface DNSStage {
|
|
142
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* ID of the DNS stage.
|
|
174
|
+
*/
|
|
143
175
|
id: string;
|
|
144
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* List of Fully Qualified Domain Names attached to the stage.
|
|
178
|
+
*/
|
|
145
179
|
fqdns: string[];
|
|
146
|
-
/**
|
|
180
|
+
/**
|
|
181
|
+
* Type of the stage.
|
|
182
|
+
*/
|
|
147
183
|
type: DNSStageType;
|
|
148
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Pipeline ID the DNS stage belongs to.
|
|
186
|
+
*/
|
|
149
187
|
pipelineId: string;
|
|
150
|
-
/**
|
|
188
|
+
/**
|
|
189
|
+
* Date the DNS stage was created.
|
|
190
|
+
*/
|
|
151
191
|
createdAt?: Date;
|
|
152
|
-
/**
|
|
192
|
+
/**
|
|
193
|
+
* Date the DNS stage was last updated.
|
|
194
|
+
*/
|
|
153
195
|
updatedAt?: Date;
|
|
154
196
|
/**
|
|
155
197
|
* TLS stage ID the DNS stage is linked to.
|
|
156
198
|
*
|
|
157
|
-
* One-of ('next'): at most one of 'tlsStageId', 'cacheStageId',
|
|
158
|
-
* 'backendStageId' could be set.
|
|
199
|
+
* One-of ('next'): at most one of 'tlsStageId', 'cacheStageId', 'backendStageId' could be set.
|
|
159
200
|
*/
|
|
160
201
|
tlsStageId?: string;
|
|
161
202
|
/**
|
|
162
203
|
* Cache stage ID the DNS stage is linked to.
|
|
163
204
|
*
|
|
164
|
-
* One-of ('next'): at most one of 'tlsStageId', 'cacheStageId',
|
|
165
|
-
* 'backendStageId' could be set.
|
|
205
|
+
* One-of ('next'): at most one of 'tlsStageId', 'cacheStageId', 'backendStageId' could be set.
|
|
166
206
|
*/
|
|
167
207
|
cacheStageId?: string;
|
|
168
208
|
/**
|
|
169
209
|
* Backend stage ID the DNS stage is linked to.
|
|
170
210
|
*
|
|
171
|
-
* One-of ('next'): at most one of 'tlsStageId', 'cacheStageId',
|
|
172
|
-
* 'backendStageId' could be set.
|
|
211
|
+
* One-of ('next'): at most one of 'tlsStageId', 'cacheStageId', 'backendStageId' could be set.
|
|
173
212
|
*/
|
|
174
213
|
backendStageId?: string;
|
|
175
214
|
}
|
|
176
215
|
export interface Pipeline {
|
|
177
|
-
/**
|
|
216
|
+
/**
|
|
217
|
+
* ID of the pipeline.
|
|
218
|
+
*/
|
|
178
219
|
id: string;
|
|
179
|
-
/**
|
|
220
|
+
/**
|
|
221
|
+
* Name of the pipeline.
|
|
222
|
+
*/
|
|
180
223
|
name: string;
|
|
181
|
-
/**
|
|
224
|
+
/**
|
|
225
|
+
* Description of the pipeline.
|
|
226
|
+
*/
|
|
182
227
|
description: string;
|
|
183
|
-
/**
|
|
228
|
+
/**
|
|
229
|
+
* Status of the pipeline.
|
|
230
|
+
*/
|
|
184
231
|
status: PipelineStatus;
|
|
185
|
-
/**
|
|
232
|
+
/**
|
|
233
|
+
* Errors of the pipeline.
|
|
234
|
+
*/
|
|
186
235
|
errors: PipelineError[];
|
|
187
|
-
/**
|
|
236
|
+
/**
|
|
237
|
+
* Project ID of the pipeline.
|
|
238
|
+
*/
|
|
188
239
|
projectId: string;
|
|
189
|
-
/**
|
|
240
|
+
/**
|
|
241
|
+
* Organization ID of the pipeline.
|
|
242
|
+
*/
|
|
190
243
|
organizationId: string;
|
|
191
|
-
/**
|
|
244
|
+
/**
|
|
245
|
+
* Date the pipeline was created.
|
|
246
|
+
*/
|
|
192
247
|
createdAt?: Date;
|
|
193
|
-
/**
|
|
248
|
+
/**
|
|
249
|
+
* Date the pipeline was last updated.
|
|
250
|
+
*/
|
|
194
251
|
updatedAt?: Date;
|
|
195
252
|
}
|
|
196
253
|
export interface RouteStage {
|
|
197
|
-
/**
|
|
254
|
+
/**
|
|
255
|
+
* ID of the route stage.
|
|
256
|
+
*/
|
|
198
257
|
id: string;
|
|
199
|
-
/**
|
|
258
|
+
/**
|
|
259
|
+
* Pipeline ID the route stage belongs to.
|
|
260
|
+
*/
|
|
200
261
|
pipelineId: string;
|
|
201
262
|
/**
|
|
202
|
-
* ID of the WAF stage HTTP requests should be forwarded to when no rules are
|
|
203
|
-
* matched.
|
|
263
|
+
* ID of the WAF stage HTTP requests should be forwarded to when no rules are matched.
|
|
204
264
|
*
|
|
205
265
|
* One-of ('next'): at most one of 'wafStageId' could be set.
|
|
206
266
|
*/
|
|
207
267
|
wafStageId?: string;
|
|
208
|
-
/**
|
|
268
|
+
/**
|
|
269
|
+
* Date the route stage was created.
|
|
270
|
+
*/
|
|
209
271
|
createdAt?: Date;
|
|
210
|
-
/**
|
|
272
|
+
/**
|
|
273
|
+
* Date the route stage was last updated.
|
|
274
|
+
*/
|
|
211
275
|
updatedAt?: Date;
|
|
212
276
|
}
|
|
213
277
|
export interface TLSStage {
|
|
214
|
-
/**
|
|
278
|
+
/**
|
|
279
|
+
* ID of the TLS stage.
|
|
280
|
+
*/
|
|
215
281
|
id: string;
|
|
216
|
-
/**
|
|
282
|
+
/**
|
|
283
|
+
* Secret (from Scaleway Secret Manager) containing your custom certificate.
|
|
284
|
+
*/
|
|
217
285
|
secrets: TLSSecret[];
|
|
218
286
|
/**
|
|
219
|
-
* True when Scaleway generates and manages a Let's Encrypt certificate for
|
|
220
|
-
* the TLS stage/custom endpoint.
|
|
287
|
+
* True when Scaleway generates and manages a Let's Encrypt certificate for the TLS stage/custom endpoint.
|
|
221
288
|
*/
|
|
222
289
|
managedCertificate: boolean;
|
|
223
|
-
/**
|
|
290
|
+
/**
|
|
291
|
+
* Pipeline ID the TLS stage belongs to.
|
|
292
|
+
*/
|
|
224
293
|
pipelineId: string;
|
|
225
|
-
/**
|
|
294
|
+
/**
|
|
295
|
+
* Expiration date of the certificate.
|
|
296
|
+
*/
|
|
226
297
|
certificateExpiresAt?: Date;
|
|
227
|
-
/**
|
|
298
|
+
/**
|
|
299
|
+
* Date the TLS stage was created.
|
|
300
|
+
*/
|
|
228
301
|
createdAt?: Date;
|
|
229
|
-
/**
|
|
302
|
+
/**
|
|
303
|
+
* Date the TLS stage was last updated.
|
|
304
|
+
*/
|
|
230
305
|
updatedAt?: Date;
|
|
231
306
|
/**
|
|
232
307
|
* Cache stage ID the TLS stage is linked to.
|
|
233
308
|
*
|
|
234
|
-
* One-of ('next'): at most one of 'cacheStageId', 'backendStageId',
|
|
235
|
-
* 'wafStageId', 'routeStageId' could be set.
|
|
309
|
+
* One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'wafStageId', 'routeStageId' could be set.
|
|
236
310
|
*/
|
|
237
311
|
cacheStageId?: string;
|
|
238
312
|
/**
|
|
239
313
|
* Backend stage ID the TLS stage is linked to.
|
|
240
314
|
*
|
|
241
|
-
* One-of ('next'): at most one of 'cacheStageId', 'backendStageId',
|
|
242
|
-
* 'wafStageId', 'routeStageId' could be set.
|
|
315
|
+
* One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'wafStageId', 'routeStageId' could be set.
|
|
243
316
|
*/
|
|
244
317
|
backendStageId?: string;
|
|
245
318
|
/**
|
|
246
|
-
*
|
|
247
|
-
* 'wafStageId', 'routeStageId' could be set.
|
|
319
|
+
*
|
|
320
|
+
* One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'wafStageId', 'routeStageId' could be set.
|
|
248
321
|
*/
|
|
249
322
|
wafStageId?: string;
|
|
250
323
|
/**
|
|
251
|
-
*
|
|
252
|
-
* 'wafStageId', 'routeStageId' could be set.
|
|
324
|
+
*
|
|
325
|
+
* One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'wafStageId', 'routeStageId' could be set.
|
|
253
326
|
*/
|
|
254
327
|
routeStageId?: string;
|
|
255
328
|
}
|
|
256
329
|
export interface WafStage {
|
|
257
|
-
/**
|
|
330
|
+
/**
|
|
331
|
+
* ID of the WAF stage.
|
|
332
|
+
*/
|
|
258
333
|
id: string;
|
|
259
|
-
/**
|
|
334
|
+
/**
|
|
335
|
+
* Pipeline ID the WAF stage belongs to.
|
|
336
|
+
*/
|
|
260
337
|
pipelineId: string;
|
|
261
|
-
/**
|
|
338
|
+
/**
|
|
339
|
+
* Mode defining WAF behavior (`disable`/`log_only`/`enable`).
|
|
340
|
+
*/
|
|
262
341
|
mode: WafStageMode;
|
|
263
342
|
/**
|
|
264
|
-
* Sensitivity level (`1`,`2`,`3`,`4`) to use when classifying requests as
|
|
265
|
-
* malicious. With a high level, requests are more likely to be classed as
|
|
266
|
-
* malicious, and false positives are expected. With a lower level, requests
|
|
267
|
-
* are more likely to be classed as benign.
|
|
343
|
+
* Sensitivity level (`1`,`2`,`3`,`4`) to use when classifying requests as malicious. With a high level, requests are more likely to be classed as malicious, and false positives are expected. With a lower level, requests are more likely to be classed as benign.
|
|
268
344
|
*/
|
|
269
345
|
paranoiaLevel: number;
|
|
270
|
-
/**
|
|
346
|
+
/**
|
|
347
|
+
* Date the WAF stage was created.
|
|
348
|
+
*/
|
|
271
349
|
createdAt?: Date;
|
|
272
|
-
/**
|
|
350
|
+
/**
|
|
351
|
+
* Date the WAF stage was last updated.
|
|
352
|
+
*/
|
|
273
353
|
updatedAt?: Date;
|
|
274
354
|
/**
|
|
275
355
|
* ID of the backend stage to forward requests to after the WAF stage.
|
|
@@ -280,17 +360,13 @@ export interface WafStage {
|
|
|
280
360
|
}
|
|
281
361
|
export interface SetRouteRulesRequestRouteRule {
|
|
282
362
|
/**
|
|
283
|
-
* Rule condition to be matched. Requests matching the condition defined here
|
|
284
|
-
* will be directly forwarded to the backend specified by the
|
|
285
|
-
* `backend_stage_id` field. Requests that do not match will be checked by the
|
|
286
|
-
* next rule's condition.
|
|
363
|
+
* Rule condition to be matched. Requests matching the condition defined here will be directly forwarded to the backend specified by the `backend_stage_id` field. Requests that do not match will be checked by the next rule's condition.
|
|
287
364
|
*
|
|
288
365
|
* One-of ('match'): at most one of 'ruleHttpMatch' could be set.
|
|
289
366
|
*/
|
|
290
367
|
ruleHttpMatch?: RuleHttpMatch;
|
|
291
368
|
/**
|
|
292
|
-
* ID of the backend stage that requests matching the rule should be forwarded
|
|
293
|
-
* to.
|
|
369
|
+
* ID of the backend stage that requests matching the rule should be forwarded to.
|
|
294
370
|
*
|
|
295
371
|
* One-of ('next'): at most one of 'backendStageId' could be set.
|
|
296
372
|
*/
|
|
@@ -298,27 +374,24 @@ export interface SetRouteRulesRequestRouteRule {
|
|
|
298
374
|
}
|
|
299
375
|
export interface RouteRule {
|
|
300
376
|
/**
|
|
301
|
-
* Rule condition to be matched. Requests matching the condition defined here
|
|
302
|
-
* will be directly forwarded to the backend specified by the
|
|
303
|
-
* `backend_stage_id` field. Requests that do not match will be checked by the
|
|
304
|
-
* next rule's condition.
|
|
377
|
+
* Rule condition to be matched. Requests matching the condition defined here will be directly forwarded to the backend specified by the `backend_stage_id` field. Requests that do not match will be checked by the next rule's condition.
|
|
305
378
|
*
|
|
306
379
|
* One-of ('match'): at most one of 'ruleHttpMatch' could be set.
|
|
307
380
|
*/
|
|
308
381
|
ruleHttpMatch?: RuleHttpMatch;
|
|
309
382
|
/**
|
|
310
|
-
* ID of the backend stage that requests matching the rule should be forwarded
|
|
311
|
-
* to.
|
|
383
|
+
* ID of the backend stage that requests matching the rule should be forwarded to.
|
|
312
384
|
*
|
|
313
385
|
* One-of ('next'): at most one of 'backendStageId' could be set.
|
|
314
386
|
*/
|
|
315
387
|
backendStageId?: string;
|
|
316
388
|
/**
|
|
317
|
-
* Position of the rule which determines the order of processing within the
|
|
318
|
-
* route stage.
|
|
389
|
+
* Position of the rule which determines the order of processing within the route stage.
|
|
319
390
|
*/
|
|
320
391
|
position: number;
|
|
321
|
-
/**
|
|
392
|
+
/**
|
|
393
|
+
* Route stage ID the route rule belongs to.
|
|
394
|
+
*/
|
|
322
395
|
routeStageId: string;
|
|
323
396
|
}
|
|
324
397
|
export interface CheckPEMChainRequestSecretChain {
|
|
@@ -326,28 +399,41 @@ export interface CheckPEMChainRequestSecretChain {
|
|
|
326
399
|
secretRegion: string;
|
|
327
400
|
}
|
|
328
401
|
export interface PlanDetails {
|
|
329
|
-
/**
|
|
402
|
+
/**
|
|
403
|
+
* Subscription plan name.
|
|
404
|
+
*/
|
|
330
405
|
planName: PlanName;
|
|
331
|
-
/**
|
|
406
|
+
/**
|
|
407
|
+
* Amount of egress data from cache included in subscription plan.
|
|
408
|
+
*/
|
|
332
409
|
packageGb: number;
|
|
333
|
-
/**
|
|
410
|
+
/**
|
|
411
|
+
* Number of pipelines included in subscription plan.
|
|
412
|
+
*/
|
|
334
413
|
pipelineLimit: number;
|
|
335
|
-
/**
|
|
414
|
+
/**
|
|
415
|
+
* Number of WAF requests included in subscription plan.
|
|
416
|
+
*/
|
|
336
417
|
wafRequests: number;
|
|
337
418
|
}
|
|
338
419
|
export interface PlanUsageDetails {
|
|
339
420
|
/**
|
|
340
|
-
* Cost to date (this month) for the corresponding Edge Services subscription
|
|
341
|
-
* plan.
|
|
421
|
+
* Cost to date (this month) for the corresponding Edge Services subscription plan.
|
|
342
422
|
*/
|
|
343
423
|
planCost?: Money;
|
|
344
424
|
}
|
|
345
425
|
export interface HeadStageResponseHeadStage {
|
|
346
|
-
/**
|
|
426
|
+
/**
|
|
427
|
+
*
|
|
428
|
+
* One-of ('head'): at most one of 'dnsStageId' could be set.
|
|
429
|
+
*/
|
|
347
430
|
dnsStageId?: string;
|
|
348
431
|
}
|
|
349
432
|
export interface ListHeadStagesResponseHeadStage {
|
|
350
|
-
/**
|
|
433
|
+
/**
|
|
434
|
+
*
|
|
435
|
+
* One-of ('head'): at most one of 'dnsStageId' could be set.
|
|
436
|
+
*/
|
|
351
437
|
dnsStageId?: string;
|
|
352
438
|
}
|
|
353
439
|
export interface PipelineStages {
|
|
@@ -360,11 +446,17 @@ export interface PipelineStages {
|
|
|
360
446
|
routeStages: RouteStage[];
|
|
361
447
|
}
|
|
362
448
|
export interface PurgeRequest {
|
|
363
|
-
/**
|
|
449
|
+
/**
|
|
450
|
+
* ID of the purge request.
|
|
451
|
+
*/
|
|
364
452
|
id: string;
|
|
365
|
-
/**
|
|
453
|
+
/**
|
|
454
|
+
* Pipeline ID the purge request belongs to.
|
|
455
|
+
*/
|
|
366
456
|
pipelineId: string;
|
|
367
|
-
/**
|
|
457
|
+
/**
|
|
458
|
+
* Status of the purge request.
|
|
459
|
+
*/
|
|
368
460
|
status: PurgeRequestStatus;
|
|
369
461
|
/**
|
|
370
462
|
* List of asserts to purge.
|
|
@@ -378,9 +470,13 @@ export interface PurgeRequest {
|
|
|
378
470
|
* One-of ('target'): at most one of 'assets', 'all' could be set.
|
|
379
471
|
*/
|
|
380
472
|
all?: boolean;
|
|
381
|
-
/**
|
|
473
|
+
/**
|
|
474
|
+
* Date the purge request was created.
|
|
475
|
+
*/
|
|
382
476
|
createdAt?: Date;
|
|
383
|
-
/**
|
|
477
|
+
/**
|
|
478
|
+
* Date the purge request was last updated.
|
|
479
|
+
*/
|
|
384
480
|
updatedAt?: Date;
|
|
385
481
|
}
|
|
386
482
|
export interface SetHeadStageRequestAddNewHeadStage {
|
|
@@ -394,40 +490,36 @@ export interface SetHeadStageRequestSwapHeadStage {
|
|
|
394
490
|
currentStageId: string;
|
|
395
491
|
}
|
|
396
492
|
export interface TLSSecretsConfig {
|
|
397
|
-
/**
|
|
493
|
+
/**
|
|
494
|
+
* Secret information (from Secret Manager).
|
|
495
|
+
*/
|
|
398
496
|
tlsSecrets: TLSSecret[];
|
|
399
497
|
}
|
|
400
498
|
export type AddRouteRulesRequest = {
|
|
401
|
-
/**
|
|
499
|
+
/**
|
|
500
|
+
* ID of the route stage to update.
|
|
501
|
+
*/
|
|
402
502
|
routeStageId: string;
|
|
403
503
|
/**
|
|
404
|
-
* List of rules to be checked against every HTTP request. The first matching
|
|
405
|
-
* rule will forward the request to its specified backend stage. If no rules
|
|
406
|
-
* are matched, the request is forwarded to the WAF stage defined by
|
|
407
|
-
* `waf_stage_id`.
|
|
504
|
+
* List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
|
|
408
505
|
*/
|
|
409
506
|
routeRules?: SetRouteRulesRequestRouteRule[];
|
|
410
507
|
/**
|
|
411
508
|
* Add rules after the given position.
|
|
412
509
|
*
|
|
413
|
-
* One-of ('position'): at most one of 'afterPosition', 'beforePosition' could
|
|
414
|
-
* be set.
|
|
510
|
+
* One-of ('position'): at most one of 'afterPosition', 'beforePosition' could be set.
|
|
415
511
|
*/
|
|
416
512
|
afterPosition?: number;
|
|
417
513
|
/**
|
|
418
514
|
* Add rules before the given position.
|
|
419
515
|
*
|
|
420
|
-
* One-of ('position'): at most one of 'afterPosition', 'beforePosition' could
|
|
421
|
-
* be set.
|
|
516
|
+
* One-of ('position'): at most one of 'afterPosition', 'beforePosition' could be set.
|
|
422
517
|
*/
|
|
423
518
|
beforePosition?: number;
|
|
424
519
|
};
|
|
425
520
|
export interface AddRouteRulesResponse {
|
|
426
521
|
/**
|
|
427
|
-
* List of rules to be checked against every HTTP request. The first matching
|
|
428
|
-
* rule will forward the request to its specified backend stage. If no rules
|
|
429
|
-
* are matched, the request is forwarded to the WAF stage defined by
|
|
430
|
-
* `waf_stage_id`.
|
|
522
|
+
* List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
|
|
431
523
|
*/
|
|
432
524
|
routeRules: RouteRule[];
|
|
433
525
|
}
|
|
@@ -449,95 +541,110 @@ export interface CheckLbOriginResponse {
|
|
|
449
541
|
export type CheckPEMChainRequest = {
|
|
450
542
|
projectId?: string;
|
|
451
543
|
fqdn: string;
|
|
452
|
-
/**
|
|
544
|
+
/**
|
|
545
|
+
*
|
|
546
|
+
* One-of ('chain'): at most one of 'secret', 'raw' could be set.
|
|
547
|
+
*/
|
|
453
548
|
secret?: CheckPEMChainRequestSecretChain;
|
|
454
|
-
/**
|
|
549
|
+
/**
|
|
550
|
+
*
|
|
551
|
+
* One-of ('chain'): at most one of 'secret', 'raw' could be set.
|
|
552
|
+
*/
|
|
455
553
|
raw?: string;
|
|
456
554
|
};
|
|
457
555
|
export interface CheckPEMChainResponse {
|
|
458
556
|
isValid: boolean;
|
|
459
557
|
}
|
|
460
558
|
export type CreateBackendStageRequest = {
|
|
461
|
-
/**
|
|
559
|
+
/**
|
|
560
|
+
* Pipeline ID the Backend stage belongs to.
|
|
561
|
+
*/
|
|
462
562
|
pipelineId: string;
|
|
463
563
|
/**
|
|
464
564
|
* Scaleway Object Storage origin bucket (S3) linked to the backend stage.
|
|
465
565
|
*
|
|
466
|
-
* One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb' could
|
|
467
|
-
* be set.
|
|
566
|
+
* One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb' could be set.
|
|
468
567
|
*/
|
|
469
568
|
scalewayS3?: ScalewayS3BackendConfig;
|
|
470
569
|
/**
|
|
471
570
|
* Scaleway Load Balancer origin linked to the backend stage.
|
|
472
571
|
*
|
|
473
|
-
* One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb' could
|
|
474
|
-
* be set.
|
|
572
|
+
* One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb' could be set.
|
|
475
573
|
*/
|
|
476
574
|
scalewayLb?: ScalewayLbBackendConfig;
|
|
477
575
|
};
|
|
478
576
|
export type CreateCacheStageRequest = {
|
|
479
|
-
/**
|
|
577
|
+
/**
|
|
578
|
+
* Pipeline ID the Cache stage belongs to.
|
|
579
|
+
*/
|
|
480
580
|
pipelineId: string;
|
|
481
|
-
/**
|
|
581
|
+
/**
|
|
582
|
+
* Time To Live (TTL) in seconds. Defines how long content is cached.
|
|
583
|
+
*/
|
|
482
584
|
fallbackTtl?: string;
|
|
483
585
|
/**
|
|
484
586
|
* Backend stage ID the cache stage will be linked to.
|
|
485
587
|
*
|
|
486
|
-
* One-of ('next'): at most one of 'backendStageId', 'wafStageId',
|
|
487
|
-
* 'routeStageId' could be set.
|
|
588
|
+
* One-of ('next'): at most one of 'backendStageId', 'wafStageId', 'routeStageId' could be set.
|
|
488
589
|
*/
|
|
489
590
|
backendStageId?: string;
|
|
490
591
|
/**
|
|
491
|
-
*
|
|
492
|
-
* 'routeStageId' could be set.
|
|
592
|
+
*
|
|
593
|
+
* One-of ('next'): at most one of 'backendStageId', 'wafStageId', 'routeStageId' could be set.
|
|
493
594
|
*/
|
|
494
595
|
wafStageId?: string;
|
|
495
596
|
/**
|
|
496
|
-
*
|
|
497
|
-
* 'routeStageId' could be set.
|
|
597
|
+
*
|
|
598
|
+
* One-of ('next'): at most one of 'backendStageId', 'wafStageId', 'routeStageId' could be set.
|
|
498
599
|
*/
|
|
499
600
|
routeStageId?: string;
|
|
500
601
|
};
|
|
501
602
|
export type CreateDNSStageRequest = {
|
|
502
|
-
/**
|
|
603
|
+
/**
|
|
604
|
+
* Pipeline ID the DNS stage belongs to.
|
|
605
|
+
*/
|
|
503
606
|
pipelineId: string;
|
|
504
607
|
/**
|
|
505
|
-
* Fully Qualified Domain Name (in the format subdomain.example.com) to attach
|
|
506
|
-
* to the stage.
|
|
608
|
+
* Fully Qualified Domain Name (in the format subdomain.example.com) to attach to the stage.
|
|
507
609
|
*/
|
|
508
610
|
fqdns?: string[];
|
|
509
611
|
/**
|
|
510
612
|
* TLS stage ID the DNS stage will be linked to.
|
|
511
613
|
*
|
|
512
|
-
* One-of ('next'): at most one of 'tlsStageId', 'cacheStageId',
|
|
513
|
-
* 'backendStageId' could be set.
|
|
614
|
+
* One-of ('next'): at most one of 'tlsStageId', 'cacheStageId', 'backendStageId' could be set.
|
|
514
615
|
*/
|
|
515
616
|
tlsStageId?: string;
|
|
516
617
|
/**
|
|
517
618
|
* Cache stage ID the DNS stage will be linked to.
|
|
518
619
|
*
|
|
519
|
-
* One-of ('next'): at most one of 'tlsStageId', 'cacheStageId',
|
|
520
|
-
* 'backendStageId' could be set.
|
|
620
|
+
* One-of ('next'): at most one of 'tlsStageId', 'cacheStageId', 'backendStageId' could be set.
|
|
521
621
|
*/
|
|
522
622
|
cacheStageId?: string;
|
|
523
623
|
/**
|
|
524
624
|
* Backend stage ID the DNS stage will be linked to.
|
|
525
625
|
*
|
|
526
|
-
* One-of ('next'): at most one of 'tlsStageId', 'cacheStageId',
|
|
527
|
-
* 'backendStageId' could be set.
|
|
626
|
+
* One-of ('next'): at most one of 'tlsStageId', 'cacheStageId', 'backendStageId' could be set.
|
|
528
627
|
*/
|
|
529
628
|
backendStageId?: string;
|
|
530
629
|
};
|
|
531
630
|
export type CreatePipelineRequest = {
|
|
532
|
-
/**
|
|
631
|
+
/**
|
|
632
|
+
* Project ID in which the pipeline will be created.
|
|
633
|
+
*/
|
|
533
634
|
projectId?: string;
|
|
534
|
-
/**
|
|
635
|
+
/**
|
|
636
|
+
* Name of the pipeline.
|
|
637
|
+
*/
|
|
535
638
|
name: string;
|
|
536
|
-
/**
|
|
639
|
+
/**
|
|
640
|
+
* Description of the pipeline.
|
|
641
|
+
*/
|
|
537
642
|
description: string;
|
|
538
643
|
};
|
|
539
644
|
export type CreatePurgeRequestRequest = {
|
|
540
|
-
/**
|
|
645
|
+
/**
|
|
646
|
+
* Pipeline ID in which the purge request will be created.
|
|
647
|
+
*/
|
|
541
648
|
pipelineId: string;
|
|
542
649
|
/**
|
|
543
650
|
* List of asserts to purge.
|
|
@@ -553,61 +660,64 @@ export type CreatePurgeRequestRequest = {
|
|
|
553
660
|
all?: boolean;
|
|
554
661
|
};
|
|
555
662
|
export type CreateRouteStageRequest = {
|
|
556
|
-
/**
|
|
663
|
+
/**
|
|
664
|
+
* Pipeline ID the route stage belongs to.
|
|
665
|
+
*/
|
|
557
666
|
pipelineId: string;
|
|
558
667
|
/**
|
|
559
|
-
* ID of the WAF stage HTTP requests should be forwarded to when no rules are
|
|
560
|
-
* matched.
|
|
668
|
+
* ID of the WAF stage HTTP requests should be forwarded to when no rules are matched.
|
|
561
669
|
*
|
|
562
670
|
* One-of ('next'): at most one of 'wafStageId' could be set.
|
|
563
671
|
*/
|
|
564
672
|
wafStageId?: string;
|
|
565
673
|
};
|
|
566
674
|
export type CreateTLSStageRequest = {
|
|
567
|
-
/**
|
|
675
|
+
/**
|
|
676
|
+
* Pipeline ID the TLS stage belongs to.
|
|
677
|
+
*/
|
|
568
678
|
pipelineId: string;
|
|
569
|
-
/**
|
|
679
|
+
/**
|
|
680
|
+
* Secret (from Scaleway Secret Manager) containing your custom certificate.
|
|
681
|
+
*/
|
|
570
682
|
secrets?: TLSSecret[];
|
|
571
683
|
/**
|
|
572
|
-
* True when Scaleway generates and manages a Let's Encrypt certificate for
|
|
573
|
-
* the TLS stage/custom endpoint.
|
|
684
|
+
* True when Scaleway generates and manages a Let's Encrypt certificate for the TLS stage/custom endpoint.
|
|
574
685
|
*/
|
|
575
686
|
managedCertificate?: boolean;
|
|
576
687
|
/**
|
|
577
688
|
* Cache stage ID the TLS stage will be linked to.
|
|
578
689
|
*
|
|
579
|
-
* One-of ('next'): at most one of 'cacheStageId', 'backendStageId',
|
|
580
|
-
* 'routeStageId', 'wafStageId' could be set.
|
|
690
|
+
* One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'routeStageId', 'wafStageId' could be set.
|
|
581
691
|
*/
|
|
582
692
|
cacheStageId?: string;
|
|
583
693
|
/**
|
|
584
694
|
* Backend stage ID the TLS stage will be linked to.
|
|
585
695
|
*
|
|
586
|
-
* One-of ('next'): at most one of 'cacheStageId', 'backendStageId',
|
|
587
|
-
* 'routeStageId', 'wafStageId' could be set.
|
|
696
|
+
* One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'routeStageId', 'wafStageId' could be set.
|
|
588
697
|
*/
|
|
589
698
|
backendStageId?: string;
|
|
590
699
|
/**
|
|
591
|
-
*
|
|
592
|
-
* 'routeStageId', 'wafStageId' could be set.
|
|
700
|
+
*
|
|
701
|
+
* One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'routeStageId', 'wafStageId' could be set.
|
|
593
702
|
*/
|
|
594
703
|
routeStageId?: string;
|
|
595
704
|
/**
|
|
596
|
-
*
|
|
597
|
-
* 'routeStageId', 'wafStageId' could be set.
|
|
705
|
+
*
|
|
706
|
+
* One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'routeStageId', 'wafStageId' could be set.
|
|
598
707
|
*/
|
|
599
708
|
wafStageId?: string;
|
|
600
709
|
};
|
|
601
710
|
export type CreateWafStageRequest = {
|
|
602
|
-
/**
|
|
711
|
+
/**
|
|
712
|
+
* Pipeline ID the WAF stage belongs to.
|
|
713
|
+
*/
|
|
603
714
|
pipelineId: string;
|
|
604
|
-
/**
|
|
715
|
+
/**
|
|
716
|
+
* Mode defining WAF behavior (`disable`/`log_only`/`enable`).
|
|
717
|
+
*/
|
|
605
718
|
mode?: WafStageMode;
|
|
606
719
|
/**
|
|
607
|
-
* Sensitivity level (`1`,`2`,`3`,`4`) to use when classifying requests as
|
|
608
|
-
* malicious. With a high level, requests are more likely to be classed as
|
|
609
|
-
* malicious, and false positives are expected. With a lower level, requests
|
|
610
|
-
* are more likely to be classed as benign.
|
|
720
|
+
* Sensitivity level (`1`,`2`,`3`,`4`) to use when classifying requests as malicious. With a high level, requests are more likely to be classed as malicious, and false positives are expected. With a lower level, requests are more likely to be classed as benign.
|
|
611
721
|
*/
|
|
612
722
|
paranoiaLevel: number;
|
|
613
723
|
/**
|
|
@@ -618,38 +728,54 @@ export type CreateWafStageRequest = {
|
|
|
618
728
|
backendStageId?: string;
|
|
619
729
|
};
|
|
620
730
|
export type DeleteBackendStageRequest = {
|
|
621
|
-
/**
|
|
731
|
+
/**
|
|
732
|
+
* ID of the backend stage to delete.
|
|
733
|
+
*/
|
|
622
734
|
backendStageId: string;
|
|
623
735
|
};
|
|
624
736
|
export type DeleteCacheStageRequest = {
|
|
625
|
-
/**
|
|
737
|
+
/**
|
|
738
|
+
* ID of the cache stage to delete.
|
|
739
|
+
*/
|
|
626
740
|
cacheStageId: string;
|
|
627
741
|
};
|
|
628
742
|
export type DeleteCurrentPlanRequest = {
|
|
629
743
|
projectId?: string;
|
|
630
744
|
};
|
|
631
745
|
export type DeleteDNSStageRequest = {
|
|
632
|
-
/**
|
|
746
|
+
/**
|
|
747
|
+
* ID of the DNS stage to delete.
|
|
748
|
+
*/
|
|
633
749
|
dnsStageId: string;
|
|
634
750
|
};
|
|
635
751
|
export type DeletePipelineRequest = {
|
|
636
|
-
/**
|
|
752
|
+
/**
|
|
753
|
+
* ID of the pipeline to delete.
|
|
754
|
+
*/
|
|
637
755
|
pipelineId: string;
|
|
638
756
|
};
|
|
639
757
|
export type DeleteRouteStageRequest = {
|
|
640
|
-
/**
|
|
758
|
+
/**
|
|
759
|
+
* ID of the route stage to delete.
|
|
760
|
+
*/
|
|
641
761
|
routeStageId: string;
|
|
642
762
|
};
|
|
643
763
|
export type DeleteTLSStageRequest = {
|
|
644
|
-
/**
|
|
764
|
+
/**
|
|
765
|
+
* ID of the TLS stage to delete.
|
|
766
|
+
*/
|
|
645
767
|
tlsStageId: string;
|
|
646
768
|
};
|
|
647
769
|
export type DeleteWafStageRequest = {
|
|
648
|
-
/**
|
|
770
|
+
/**
|
|
771
|
+
* ID of the WAF stage to delete.
|
|
772
|
+
*/
|
|
649
773
|
wafStageId: string;
|
|
650
774
|
};
|
|
651
775
|
export type GetBackendStageRequest = {
|
|
652
|
-
/**
|
|
776
|
+
/**
|
|
777
|
+
* ID of the requested backend stage.
|
|
778
|
+
*/
|
|
653
779
|
backendStageId: string;
|
|
654
780
|
};
|
|
655
781
|
export type GetBillingRequest = {
|
|
@@ -657,228 +783,271 @@ export type GetBillingRequest = {
|
|
|
657
783
|
};
|
|
658
784
|
export interface GetBillingResponse {
|
|
659
785
|
/**
|
|
660
|
-
* Information on the currently-selected, active Edge Services subscription
|
|
661
|
-
* plan.
|
|
786
|
+
* Information on the currently-selected, active Edge Services subscription plan.
|
|
662
787
|
*/
|
|
663
788
|
currentPlan?: PlanDetails;
|
|
664
789
|
/**
|
|
665
|
-
* Cost to date (this month) for Edge Service subscription plans. This
|
|
666
|
-
* comprises the pro-rata cost of the current subscription plan, and any
|
|
667
|
-
* previous subscription plans that were active earlier in the month.
|
|
790
|
+
* Cost to date (this month) for Edge Service subscription plans. This comprises the pro-rata cost of the current subscription plan, and any previous subscription plans that were active earlier in the month.
|
|
668
791
|
*/
|
|
669
792
|
planCost?: Money;
|
|
670
|
-
/**
|
|
793
|
+
/**
|
|
794
|
+
* Total number of pipelines currently configured.
|
|
795
|
+
*/
|
|
671
796
|
pipelineNumber: number;
|
|
672
797
|
/**
|
|
673
|
-
* Cost to date (this month) of pipelines not included in the subscription
|
|
674
|
-
* plans.
|
|
798
|
+
* Cost to date (this month) of pipelines not included in the subscription plans.
|
|
675
799
|
*/
|
|
676
800
|
extraPipelinesCost?: Money;
|
|
677
801
|
/**
|
|
678
|
-
* Total amount of data egressed from the cache in gigabytes from the
|
|
679
|
-
* beginning of the month, for the active subscription plan.
|
|
802
|
+
* Total amount of data egressed from the cache in gigabytes from the beginning of the month, for the active subscription plan.
|
|
680
803
|
*/
|
|
681
804
|
currentPlanCacheUsage: number;
|
|
682
805
|
/**
|
|
683
|
-
* Total amount of extra data egressed from cache in gigabytes from the
|
|
684
|
-
* beginning of the month, not included in the subscription plans.
|
|
806
|
+
* Total amount of extra data egressed from cache in gigabytes from the beginning of the month, not included in the subscription plans.
|
|
685
807
|
*/
|
|
686
808
|
extraCacheUsage: number;
|
|
687
809
|
/**
|
|
688
|
-
* Cost to date (this month) of the data egressed from the cache that is not
|
|
689
|
-
* included in the subscription plans.
|
|
810
|
+
* Cost to date (this month) of the data egressed from the cache that is not included in the subscription plans.
|
|
690
811
|
*/
|
|
691
812
|
extraCacheCost?: Money;
|
|
692
813
|
/**
|
|
693
|
-
* Total number of requests processed by the WAF since the beginning of the
|
|
694
|
-
* current month, for the active subscription plan.
|
|
814
|
+
* Total number of requests processed by the WAF since the beginning of the current month, for the active subscription plan.
|
|
695
815
|
*/
|
|
696
816
|
currentPlanWafUsage: number;
|
|
697
817
|
/**
|
|
698
|
-
* Total number of extra requests processed by the WAF from the beginning of
|
|
699
|
-
* the month, not included in the subscription plans.
|
|
818
|
+
* Total number of extra requests processed by the WAF from the beginning of the month, not included in the subscription plans.
|
|
700
819
|
*/
|
|
701
820
|
extraWafUsage: number;
|
|
702
821
|
/**
|
|
703
|
-
* Cost to date (this month) of the extra requests processed by the WAF that
|
|
704
|
-
* were not included in the subscription plans.
|
|
822
|
+
* Cost to date (this month) of the extra requests processed by the WAF that were not included in the subscription plans.
|
|
705
823
|
*/
|
|
706
824
|
extraWafCost?: Money;
|
|
707
825
|
/**
|
|
708
|
-
* Cost of activating WAF add-on (where subscription plan does not include
|
|
709
|
-
* WAF).
|
|
826
|
+
* Cost of activating WAF add-on (where subscription plan does not include WAF).
|
|
710
827
|
*/
|
|
711
828
|
wafAddOn?: Money;
|
|
712
829
|
/**
|
|
713
|
-
* Detailed costs and usage for all Edge Services subscription plans that were
|
|
714
|
-
* activated during the month.
|
|
830
|
+
* Detailed costs and usage for all Edge Services subscription plans that were activated during the month.
|
|
715
831
|
*/
|
|
716
832
|
plansUsageDetails: Record<string, PlanUsageDetails>;
|
|
717
833
|
/**
|
|
718
|
-
* Total cost to date (this month) of all Edge Services resources including
|
|
719
|
-
* active subscription plan, previously active plans, extra pipelines and
|
|
720
|
-
* extra egress cache data.
|
|
834
|
+
* Total cost to date (this month) of all Edge Services resources including active subscription plan, previously active plans, extra pipelines and extra egress cache data.
|
|
721
835
|
*/
|
|
722
836
|
totalCost?: Money;
|
|
723
837
|
}
|
|
724
838
|
export type GetCacheStageRequest = {
|
|
725
|
-
/**
|
|
839
|
+
/**
|
|
840
|
+
* ID of the requested cache stage.
|
|
841
|
+
*/
|
|
726
842
|
cacheStageId: string;
|
|
727
843
|
};
|
|
728
844
|
export type GetCurrentPlanRequest = {
|
|
729
845
|
projectId?: string;
|
|
730
846
|
};
|
|
731
847
|
export type GetDNSStageRequest = {
|
|
732
|
-
/**
|
|
848
|
+
/**
|
|
849
|
+
* ID of the requested DNS stage.
|
|
850
|
+
*/
|
|
733
851
|
dnsStageId: string;
|
|
734
852
|
};
|
|
735
853
|
export type GetPipelineRequest = {
|
|
736
|
-
/**
|
|
854
|
+
/**
|
|
855
|
+
* ID of the requested pipeline.
|
|
856
|
+
*/
|
|
737
857
|
pipelineId: string;
|
|
738
858
|
};
|
|
739
859
|
export type GetPurgeRequestRequest = {
|
|
740
|
-
/**
|
|
860
|
+
/**
|
|
861
|
+
* ID of the requested purge request.
|
|
862
|
+
*/
|
|
741
863
|
purgeRequestId: string;
|
|
742
864
|
};
|
|
743
865
|
export type GetRouteStageRequest = {
|
|
744
|
-
/**
|
|
866
|
+
/**
|
|
867
|
+
* ID of the requested route stage.
|
|
868
|
+
*/
|
|
745
869
|
routeStageId: string;
|
|
746
870
|
};
|
|
747
871
|
export type GetTLSStageRequest = {
|
|
748
|
-
/**
|
|
872
|
+
/**
|
|
873
|
+
* ID of the requested TLS stage.
|
|
874
|
+
*/
|
|
749
875
|
tlsStageId: string;
|
|
750
876
|
};
|
|
751
877
|
export type GetWafStageRequest = {
|
|
752
|
-
/**
|
|
878
|
+
/**
|
|
879
|
+
* ID of the requested WAF stage.
|
|
880
|
+
*/
|
|
753
881
|
wafStageId: string;
|
|
754
882
|
};
|
|
755
883
|
export interface HeadStageResponse {
|
|
756
|
-
/**
|
|
884
|
+
/**
|
|
885
|
+
* Modified or created head stage.
|
|
886
|
+
*/
|
|
757
887
|
headStage?: HeadStageResponseHeadStage;
|
|
758
888
|
}
|
|
759
889
|
export type ListBackendStagesRequest = {
|
|
760
890
|
/**
|
|
761
|
-
* Pipeline ID to filter for. Only backend stages from this pipeline will be
|
|
762
|
-
* returned.
|
|
891
|
+
* Pipeline ID to filter for. Only backend stages from this pipeline will be returned.
|
|
763
892
|
*/
|
|
764
893
|
pipelineId: string;
|
|
765
|
-
/**
|
|
894
|
+
/**
|
|
895
|
+
* Sort order of backend stages in the response.
|
|
896
|
+
*/
|
|
766
897
|
orderBy?: ListBackendStagesRequestOrderBy;
|
|
767
|
-
/**
|
|
898
|
+
/**
|
|
899
|
+
* Page number to return, from the paginated results.
|
|
900
|
+
*/
|
|
768
901
|
page?: number;
|
|
769
|
-
/**
|
|
902
|
+
/**
|
|
903
|
+
* Number of backend stages to return per page.
|
|
904
|
+
*/
|
|
770
905
|
pageSize?: number;
|
|
771
906
|
/**
|
|
772
|
-
* Bucket name to filter for. Only backend stages from this Bucket will be
|
|
773
|
-
* returned.
|
|
907
|
+
* Bucket name to filter for. Only backend stages from this Bucket will be returned.
|
|
774
908
|
*/
|
|
775
909
|
bucketName?: string;
|
|
776
910
|
/**
|
|
777
|
-
* Bucket region to filter for. Only backend stages with buckets in this
|
|
778
|
-
* region will be returned.
|
|
911
|
+
* Bucket region to filter for. Only backend stages with buckets in this region will be returned.
|
|
779
912
|
*/
|
|
780
913
|
bucketRegion?: string;
|
|
781
914
|
/**
|
|
782
|
-
* Load Balancer ID to filter for. Only backend stages with this Load Balancer
|
|
783
|
-
* will be returned.
|
|
915
|
+
* Load Balancer ID to filter for. Only backend stages with this Load Balancer will be returned.
|
|
784
916
|
*/
|
|
785
917
|
lbId?: string;
|
|
786
918
|
};
|
|
787
919
|
export interface ListBackendStagesResponse {
|
|
788
|
-
/**
|
|
920
|
+
/**
|
|
921
|
+
* Paginated list of backend stages.
|
|
922
|
+
*/
|
|
789
923
|
stages: BackendStage[];
|
|
790
|
-
/**
|
|
924
|
+
/**
|
|
925
|
+
* Count of all backend stages matching the requested criteria.
|
|
926
|
+
*/
|
|
791
927
|
totalCount: number;
|
|
792
928
|
}
|
|
793
929
|
export type ListCacheStagesRequest = {
|
|
794
930
|
/**
|
|
795
|
-
* Pipeline ID to filter for. Only cache stages from this pipeline will be
|
|
796
|
-
* returned.
|
|
931
|
+
* Pipeline ID to filter for. Only cache stages from this pipeline will be returned.
|
|
797
932
|
*/
|
|
798
933
|
pipelineId: string;
|
|
799
|
-
/**
|
|
934
|
+
/**
|
|
935
|
+
* Sort order of cache stages in the response.
|
|
936
|
+
*/
|
|
800
937
|
orderBy?: ListCacheStagesRequestOrderBy;
|
|
801
|
-
/**
|
|
938
|
+
/**
|
|
939
|
+
* Page number to return, from the paginated results.
|
|
940
|
+
*/
|
|
802
941
|
page?: number;
|
|
803
|
-
/**
|
|
942
|
+
/**
|
|
943
|
+
* Number of cache stages to return per page.
|
|
944
|
+
*/
|
|
804
945
|
pageSize?: number;
|
|
805
946
|
};
|
|
806
947
|
export interface ListCacheStagesResponse {
|
|
807
|
-
/**
|
|
948
|
+
/**
|
|
949
|
+
* Paginated list of cache stages.
|
|
950
|
+
*/
|
|
808
951
|
stages: CacheStage[];
|
|
809
|
-
/**
|
|
952
|
+
/**
|
|
953
|
+
* Count of all cache stages matching the requested criteria.
|
|
954
|
+
*/
|
|
810
955
|
totalCount: number;
|
|
811
956
|
}
|
|
812
957
|
export type ListDNSStagesRequest = {
|
|
813
958
|
/**
|
|
814
|
-
* Pipeline ID to filter for. Only DNS stages from this pipeline will be
|
|
815
|
-
* returned.
|
|
959
|
+
* Pipeline ID to filter for. Only DNS stages from this pipeline will be returned.
|
|
816
960
|
*/
|
|
817
961
|
pipelineId: string;
|
|
818
|
-
/**
|
|
962
|
+
/**
|
|
963
|
+
* Sort order of DNS stages in the response.
|
|
964
|
+
*/
|
|
819
965
|
orderBy?: ListDNSStagesRequestOrderBy;
|
|
820
|
-
/**
|
|
966
|
+
/**
|
|
967
|
+
* Page number to return, from the paginated results.
|
|
968
|
+
*/
|
|
821
969
|
page?: number;
|
|
822
|
-
/**
|
|
970
|
+
/**
|
|
971
|
+
* Number of DNS stages to return per page.
|
|
972
|
+
*/
|
|
823
973
|
pageSize?: number;
|
|
824
974
|
/**
|
|
825
|
-
* Fully Qualified Domain Name to filter for (in the format
|
|
826
|
-
* subdomain.example.com). Only DNS stages with this FQDN will be returned.
|
|
975
|
+
* Fully Qualified Domain Name to filter for (in the format subdomain.example.com). Only DNS stages with this FQDN will be returned.
|
|
827
976
|
*/
|
|
828
977
|
fqdn?: string;
|
|
829
978
|
};
|
|
830
979
|
export interface ListDNSStagesResponse {
|
|
831
|
-
/**
|
|
980
|
+
/**
|
|
981
|
+
* Paginated list of DNS stages.
|
|
982
|
+
*/
|
|
832
983
|
stages: DNSStage[];
|
|
833
|
-
/**
|
|
984
|
+
/**
|
|
985
|
+
* Count of all DNS stages matching the requested criteria.
|
|
986
|
+
*/
|
|
834
987
|
totalCount: number;
|
|
835
988
|
}
|
|
836
989
|
export type ListHeadStagesRequest = {
|
|
837
|
-
/**
|
|
990
|
+
/**
|
|
991
|
+
* ID of the pipeline to update.
|
|
992
|
+
*/
|
|
838
993
|
pipelineId: string;
|
|
839
|
-
/**
|
|
994
|
+
/**
|
|
995
|
+
* Page number to return, from the paginated results.
|
|
996
|
+
*/
|
|
840
997
|
page?: number;
|
|
841
|
-
/**
|
|
998
|
+
/**
|
|
999
|
+
* Number of head stages to return per page.
|
|
1000
|
+
*/
|
|
842
1001
|
pageSize?: number;
|
|
843
1002
|
};
|
|
844
1003
|
export interface ListHeadStagesResponse {
|
|
845
|
-
/**
|
|
1004
|
+
/**
|
|
1005
|
+
* Number of head stages to return per page.
|
|
1006
|
+
*/
|
|
846
1007
|
headStages: ListHeadStagesResponseHeadStage[];
|
|
847
|
-
/**
|
|
1008
|
+
/**
|
|
1009
|
+
* Count of all head stages matching the requested pipeline_id.
|
|
1010
|
+
*/
|
|
848
1011
|
totalCount: number;
|
|
849
1012
|
}
|
|
850
1013
|
export type ListPipelinesRequest = {
|
|
851
|
-
/**
|
|
1014
|
+
/**
|
|
1015
|
+
* Sort order of pipelines in the response.
|
|
1016
|
+
*/
|
|
852
1017
|
orderBy?: ListPipelinesRequestOrderBy;
|
|
853
|
-
/**
|
|
1018
|
+
/**
|
|
1019
|
+
* Page number to return, from the paginated results.
|
|
1020
|
+
*/
|
|
854
1021
|
page?: number;
|
|
855
|
-
/**
|
|
1022
|
+
/**
|
|
1023
|
+
* Number of pipelines to return per page.
|
|
1024
|
+
*/
|
|
856
1025
|
pageSize?: number;
|
|
857
1026
|
/**
|
|
858
|
-
* Pipeline name to filter for. Only pipelines with this string within their
|
|
859
|
-
* name will be returned.
|
|
1027
|
+
* Pipeline name to filter for. Only pipelines with this string within their name will be returned.
|
|
860
1028
|
*/
|
|
861
1029
|
name?: string;
|
|
862
1030
|
/**
|
|
863
|
-
* Organization ID to filter for. Only pipelines from this Organization will
|
|
864
|
-
* be returned.
|
|
1031
|
+
* Organization ID to filter for. Only pipelines from this Organization will be returned.
|
|
865
1032
|
*/
|
|
866
1033
|
organizationId?: string;
|
|
867
1034
|
/**
|
|
868
|
-
* Project ID to filter for. Only pipelines from this Project will be
|
|
869
|
-
* returned.
|
|
1035
|
+
* Project ID to filter for. Only pipelines from this Project will be returned.
|
|
870
1036
|
*/
|
|
871
1037
|
projectId?: string;
|
|
872
1038
|
/**
|
|
873
|
-
* Filter on backend stage. Only pipelines with a Load Balancer origin will be
|
|
874
|
-
* returned.
|
|
1039
|
+
* Filter on backend stage. Only pipelines with a Load Balancer origin will be returned.
|
|
875
1040
|
*/
|
|
876
1041
|
hasBackendStageLb?: boolean;
|
|
877
1042
|
};
|
|
878
1043
|
export interface ListPipelinesResponse {
|
|
879
|
-
/**
|
|
1044
|
+
/**
|
|
1045
|
+
* Paginated list of pipelines.
|
|
1046
|
+
*/
|
|
880
1047
|
pipelines: Pipeline[];
|
|
881
|
-
/**
|
|
1048
|
+
/**
|
|
1049
|
+
* Count of all pipelines matching the requested criteria.
|
|
1050
|
+
*/
|
|
882
1051
|
totalCount: number;
|
|
883
1052
|
}
|
|
884
1053
|
export type ListPipelinesWithStagesRequest = {
|
|
@@ -898,115 +1067,143 @@ export interface ListPlansResponse {
|
|
|
898
1067
|
plans: PlanDetails[];
|
|
899
1068
|
}
|
|
900
1069
|
export type ListPurgeRequestsRequest = {
|
|
901
|
-
/**
|
|
1070
|
+
/**
|
|
1071
|
+
* Sort order of purge requests in the response.
|
|
1072
|
+
*/
|
|
902
1073
|
orderBy?: ListPurgeRequestsRequestOrderBy;
|
|
903
|
-
/**
|
|
1074
|
+
/**
|
|
1075
|
+
* Page number to return, from the paginated results.
|
|
1076
|
+
*/
|
|
904
1077
|
page?: number;
|
|
905
|
-
/**
|
|
1078
|
+
/**
|
|
1079
|
+
* Number of purge requests to return per page.
|
|
1080
|
+
*/
|
|
906
1081
|
pageSize?: number;
|
|
907
1082
|
/**
|
|
908
|
-
* Organization ID to filter for. Only purge requests from this Project will
|
|
909
|
-
* be returned.
|
|
1083
|
+
* Organization ID to filter for. Only purge requests from this Project will be returned.
|
|
910
1084
|
*/
|
|
911
1085
|
organizationId?: string;
|
|
912
1086
|
/**
|
|
913
|
-
* Project ID to filter for. Only purge requests from this Project will be
|
|
914
|
-
* returned.
|
|
1087
|
+
* Project ID to filter for. Only purge requests from this Project will be returned.
|
|
915
1088
|
*/
|
|
916
1089
|
projectId?: string;
|
|
917
1090
|
/**
|
|
918
|
-
* Pipeline ID to filter for. Only purge requests from this pipeline will be
|
|
919
|
-
* returned.
|
|
1091
|
+
* Pipeline ID to filter for. Only purge requests from this pipeline will be returned.
|
|
920
1092
|
*/
|
|
921
1093
|
pipelineId?: string;
|
|
922
1094
|
};
|
|
923
1095
|
export interface ListPurgeRequestsResponse {
|
|
924
|
-
/**
|
|
1096
|
+
/**
|
|
1097
|
+
* Paginated list of purge requests.
|
|
1098
|
+
*/
|
|
925
1099
|
purgeRequests: PurgeRequest[];
|
|
926
|
-
/**
|
|
1100
|
+
/**
|
|
1101
|
+
* Count of all purge requests matching the requested criteria.
|
|
1102
|
+
*/
|
|
927
1103
|
totalCount: number;
|
|
928
1104
|
}
|
|
929
1105
|
export type ListRouteRulesRequest = {
|
|
930
1106
|
/**
|
|
931
|
-
* Route stage ID to filter for. Only route rules from this route stage will
|
|
932
|
-
* be returned.
|
|
1107
|
+
* Route stage ID to filter for. Only route rules from this route stage will be returned.
|
|
933
1108
|
*/
|
|
934
1109
|
routeStageId: string;
|
|
935
1110
|
};
|
|
936
1111
|
export interface ListRouteRulesResponse {
|
|
937
1112
|
/**
|
|
938
|
-
* List of rules to be checked against every HTTP request. The first matching
|
|
939
|
-
* rule will forward the request to its specified backend stage. If no rules
|
|
940
|
-
* are matched, the request is forwarded to the WAF stage defined by
|
|
941
|
-
* `waf_stage_id`.
|
|
1113
|
+
* List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
|
|
942
1114
|
*/
|
|
943
1115
|
routeRules: RouteRule[];
|
|
944
1116
|
}
|
|
945
1117
|
export type ListRouteStagesRequest = {
|
|
946
1118
|
/**
|
|
947
|
-
* Pipeline ID to filter for. Only route stages from this pipeline will be
|
|
948
|
-
* returned.
|
|
1119
|
+
* Pipeline ID to filter for. Only route stages from this pipeline will be returned.
|
|
949
1120
|
*/
|
|
950
1121
|
pipelineId: string;
|
|
951
|
-
/**
|
|
1122
|
+
/**
|
|
1123
|
+
* Sort order of route stages in the response.
|
|
1124
|
+
*/
|
|
952
1125
|
orderBy?: ListRouteStagesRequestOrderBy;
|
|
953
|
-
/**
|
|
1126
|
+
/**
|
|
1127
|
+
* Page number to return, from the paginated results.
|
|
1128
|
+
*/
|
|
954
1129
|
page?: number;
|
|
955
|
-
/**
|
|
1130
|
+
/**
|
|
1131
|
+
* Number of route stages to return per page.
|
|
1132
|
+
*/
|
|
956
1133
|
pageSize?: number;
|
|
957
1134
|
};
|
|
958
1135
|
export interface ListRouteStagesResponse {
|
|
959
|
-
/**
|
|
1136
|
+
/**
|
|
1137
|
+
* Paginated list of summarized route stages.
|
|
1138
|
+
*/
|
|
960
1139
|
stages: RouteStage[];
|
|
961
|
-
/**
|
|
1140
|
+
/**
|
|
1141
|
+
* Count of all route stages matching the requested criteria.
|
|
1142
|
+
*/
|
|
962
1143
|
totalCount: number;
|
|
963
1144
|
}
|
|
964
1145
|
export type ListTLSStagesRequest = {
|
|
965
1146
|
/**
|
|
966
|
-
* Pipeline ID to filter for. Only TLS stages from this pipeline will be
|
|
967
|
-
* returned.
|
|
1147
|
+
* Pipeline ID to filter for. Only TLS stages from this pipeline will be returned.
|
|
968
1148
|
*/
|
|
969
1149
|
pipelineId: string;
|
|
970
|
-
/**
|
|
1150
|
+
/**
|
|
1151
|
+
* Sort order of TLS stages in the response.
|
|
1152
|
+
*/
|
|
971
1153
|
orderBy?: ListTLSStagesRequestOrderBy;
|
|
972
|
-
/**
|
|
1154
|
+
/**
|
|
1155
|
+
* Page number to return, from the paginated results.
|
|
1156
|
+
*/
|
|
973
1157
|
page?: number;
|
|
974
|
-
/**
|
|
1158
|
+
/**
|
|
1159
|
+
* Number of TLS stages to return per page.
|
|
1160
|
+
*/
|
|
975
1161
|
pageSize?: number;
|
|
976
1162
|
/**
|
|
977
|
-
* Secret ID to filter for. Only TLS stages with this Secret ID will be
|
|
978
|
-
* returned.
|
|
1163
|
+
* Secret ID to filter for. Only TLS stages with this Secret ID will be returned.
|
|
979
1164
|
*/
|
|
980
1165
|
secretId?: string;
|
|
981
1166
|
/**
|
|
982
|
-
* Secret region to filter for. Only TLS stages with a Secret in this region
|
|
983
|
-
* will be returned.
|
|
1167
|
+
* Secret region to filter for. Only TLS stages with a Secret in this region will be returned.
|
|
984
1168
|
*/
|
|
985
1169
|
secretRegion?: string;
|
|
986
1170
|
};
|
|
987
1171
|
export interface ListTLSStagesResponse {
|
|
988
|
-
/**
|
|
1172
|
+
/**
|
|
1173
|
+
* Paginated list of TLS stages.
|
|
1174
|
+
*/
|
|
989
1175
|
stages: TLSStage[];
|
|
990
|
-
/**
|
|
1176
|
+
/**
|
|
1177
|
+
* Count of all TLS stages matching the requested criteria.
|
|
1178
|
+
*/
|
|
991
1179
|
totalCount: number;
|
|
992
1180
|
}
|
|
993
1181
|
export type ListWafStagesRequest = {
|
|
994
1182
|
/**
|
|
995
|
-
* Pipeline ID to filter for. Only WAF stages from this pipeline will be
|
|
996
|
-
* returned.
|
|
1183
|
+
* Pipeline ID to filter for. Only WAF stages from this pipeline will be returned.
|
|
997
1184
|
*/
|
|
998
1185
|
pipelineId: string;
|
|
999
|
-
/**
|
|
1186
|
+
/**
|
|
1187
|
+
* Sort order of WAF stages in the response.
|
|
1188
|
+
*/
|
|
1000
1189
|
orderBy?: ListWafStagesRequestOrderBy;
|
|
1001
|
-
/**
|
|
1190
|
+
/**
|
|
1191
|
+
* Page number to return, from the paginated results.
|
|
1192
|
+
*/
|
|
1002
1193
|
page?: number;
|
|
1003
|
-
/**
|
|
1194
|
+
/**
|
|
1195
|
+
* Number of WAF stages to return per page.
|
|
1196
|
+
*/
|
|
1004
1197
|
pageSize?: number;
|
|
1005
1198
|
};
|
|
1006
1199
|
export interface ListWafStagesResponse {
|
|
1007
|
-
/**
|
|
1200
|
+
/**
|
|
1201
|
+
* Paginated list of WAF stages.
|
|
1202
|
+
*/
|
|
1008
1203
|
stages: WafStage[];
|
|
1009
|
-
/**
|
|
1204
|
+
/**
|
|
1205
|
+
* Count of all WAF stages matching the requested criteria.
|
|
1206
|
+
*/
|
|
1010
1207
|
totalCount: number;
|
|
1011
1208
|
}
|
|
1012
1209
|
export interface Plan {
|
|
@@ -1026,187 +1223,194 @@ export type SelectPlanRequest = {
|
|
|
1026
1223
|
planName?: PlanName;
|
|
1027
1224
|
};
|
|
1028
1225
|
export type SetHeadStageRequest = {
|
|
1029
|
-
/**
|
|
1226
|
+
/**
|
|
1227
|
+
* ID of the pipeline to update.
|
|
1228
|
+
*/
|
|
1030
1229
|
pipelineId: string;
|
|
1031
1230
|
/**
|
|
1032
1231
|
* Add a new head stage.
|
|
1033
1232
|
*
|
|
1034
|
-
* One-of ('action'): at most one of 'addNewHeadStage', 'removeHeadStage',
|
|
1035
|
-
* 'swapHeadStage' could be set.
|
|
1233
|
+
* One-of ('action'): at most one of 'addNewHeadStage', 'removeHeadStage', 'swapHeadStage' could be set.
|
|
1036
1234
|
*/
|
|
1037
1235
|
addNewHeadStage?: SetHeadStageRequestAddNewHeadStage;
|
|
1038
1236
|
/**
|
|
1039
1237
|
* Remove a head stage.
|
|
1040
1238
|
*
|
|
1041
|
-
* One-of ('action'): at most one of 'addNewHeadStage', 'removeHeadStage',
|
|
1042
|
-
* 'swapHeadStage' could be set.
|
|
1239
|
+
* One-of ('action'): at most one of 'addNewHeadStage', 'removeHeadStage', 'swapHeadStage' could be set.
|
|
1043
1240
|
*/
|
|
1044
1241
|
removeHeadStage?: SetHeadStageRequestRemoveHeadStage;
|
|
1045
1242
|
/**
|
|
1046
1243
|
* Replace a head stage with a new one.
|
|
1047
1244
|
*
|
|
1048
|
-
* One-of ('action'): at most one of 'addNewHeadStage', 'removeHeadStage',
|
|
1049
|
-
* 'swapHeadStage' could be set.
|
|
1245
|
+
* One-of ('action'): at most one of 'addNewHeadStage', 'removeHeadStage', 'swapHeadStage' could be set.
|
|
1050
1246
|
*/
|
|
1051
1247
|
swapHeadStage?: SetHeadStageRequestSwapHeadStage;
|
|
1052
1248
|
};
|
|
1053
1249
|
export type SetRouteRulesRequest = {
|
|
1054
|
-
/**
|
|
1250
|
+
/**
|
|
1251
|
+
* ID of the route stage to update.
|
|
1252
|
+
*/
|
|
1055
1253
|
routeStageId: string;
|
|
1056
1254
|
/**
|
|
1057
|
-
* List of rules to be checked against every HTTP request. The first matching
|
|
1058
|
-
* rule will forward the request to its specified backend stage. If no rules
|
|
1059
|
-
* are matched, the request is forwarded to the WAF stage defined by
|
|
1060
|
-
* `waf_stage_id`.
|
|
1255
|
+
* List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
|
|
1061
1256
|
*/
|
|
1062
1257
|
routeRules?: SetRouteRulesRequestRouteRule[];
|
|
1063
1258
|
};
|
|
1064
1259
|
export interface SetRouteRulesResponse {
|
|
1065
1260
|
/**
|
|
1066
|
-
* List of rules to be checked against every HTTP request. The first matching
|
|
1067
|
-
* rule will forward the request to its specified backend stage. If no rules
|
|
1068
|
-
* are matched, the request is forwarded to the WAF stage defined by
|
|
1069
|
-
* `waf_stage_id`.
|
|
1261
|
+
* List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the WAF stage defined by `waf_stage_id`.
|
|
1070
1262
|
*/
|
|
1071
1263
|
routeRules: RouteRule[];
|
|
1072
1264
|
}
|
|
1073
1265
|
export type UpdateBackendStageRequest = {
|
|
1074
|
-
/**
|
|
1266
|
+
/**
|
|
1267
|
+
* ID of the backend stage to update.
|
|
1268
|
+
*/
|
|
1075
1269
|
backendStageId: string;
|
|
1076
1270
|
/**
|
|
1077
1271
|
* Scaleway Object Storage origin bucket (S3) linked to the backend stage.
|
|
1078
1272
|
*
|
|
1079
|
-
* One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb' could
|
|
1080
|
-
* be set.
|
|
1273
|
+
* One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb' could be set.
|
|
1081
1274
|
*/
|
|
1082
1275
|
scalewayS3?: ScalewayS3BackendConfig;
|
|
1083
1276
|
/**
|
|
1084
1277
|
* Scaleway Load Balancer origin linked to the backend stage.
|
|
1085
1278
|
*
|
|
1086
|
-
* One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb' could
|
|
1087
|
-
* be set.
|
|
1279
|
+
* One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb' could be set.
|
|
1088
1280
|
*/
|
|
1089
1281
|
scalewayLb?: ScalewayLbBackendConfig;
|
|
1090
|
-
/**
|
|
1282
|
+
/**
|
|
1283
|
+
* Pipeline ID the Backend stage belongs to.
|
|
1284
|
+
*/
|
|
1091
1285
|
pipelineId: string;
|
|
1092
1286
|
};
|
|
1093
1287
|
export type UpdateCacheStageRequest = {
|
|
1094
|
-
/**
|
|
1288
|
+
/**
|
|
1289
|
+
* ID of the cache stage to update.
|
|
1290
|
+
*/
|
|
1095
1291
|
cacheStageId: string;
|
|
1096
|
-
/**
|
|
1292
|
+
/**
|
|
1293
|
+
* Time To Live (TTL) in seconds. Defines how long content is cached.
|
|
1294
|
+
*/
|
|
1097
1295
|
fallbackTtl?: string;
|
|
1098
1296
|
/**
|
|
1099
1297
|
* Backend stage ID the cache stage will be linked to.
|
|
1100
1298
|
*
|
|
1101
|
-
* One-of ('next'): at most one of 'backendStageId', 'wafStageId',
|
|
1102
|
-
* 'routeStageId' could be set.
|
|
1299
|
+
* One-of ('next'): at most one of 'backendStageId', 'wafStageId', 'routeStageId' could be set.
|
|
1103
1300
|
*/
|
|
1104
1301
|
backendStageId?: string;
|
|
1105
1302
|
/**
|
|
1106
|
-
*
|
|
1107
|
-
* 'routeStageId' could be set.
|
|
1303
|
+
*
|
|
1304
|
+
* One-of ('next'): at most one of 'backendStageId', 'wafStageId', 'routeStageId' could be set.
|
|
1108
1305
|
*/
|
|
1109
1306
|
wafStageId?: string;
|
|
1110
1307
|
/**
|
|
1111
|
-
*
|
|
1112
|
-
* 'routeStageId' could be set.
|
|
1308
|
+
*
|
|
1309
|
+
* One-of ('next'): at most one of 'backendStageId', 'wafStageId', 'routeStageId' could be set.
|
|
1113
1310
|
*/
|
|
1114
1311
|
routeStageId?: string;
|
|
1115
1312
|
};
|
|
1116
1313
|
export type UpdateDNSStageRequest = {
|
|
1117
|
-
/**
|
|
1314
|
+
/**
|
|
1315
|
+
* ID of the DNS stage to update.
|
|
1316
|
+
*/
|
|
1118
1317
|
dnsStageId: string;
|
|
1119
1318
|
/**
|
|
1120
|
-
* Fully Qualified Domain Name (in the format subdomain.example.com) attached
|
|
1121
|
-
* to the stage.
|
|
1319
|
+
* Fully Qualified Domain Name (in the format subdomain.example.com) attached to the stage.
|
|
1122
1320
|
*/
|
|
1123
1321
|
fqdns?: string[];
|
|
1124
1322
|
/**
|
|
1125
1323
|
* TLS stage ID the DNS stage will be linked to.
|
|
1126
1324
|
*
|
|
1127
|
-
* One-of ('next'): at most one of 'tlsStageId', 'cacheStageId',
|
|
1128
|
-
* 'backendStageId' could be set.
|
|
1325
|
+
* One-of ('next'): at most one of 'tlsStageId', 'cacheStageId', 'backendStageId' could be set.
|
|
1129
1326
|
*/
|
|
1130
1327
|
tlsStageId?: string;
|
|
1131
1328
|
/**
|
|
1132
1329
|
* Cache stage ID the DNS stage will be linked to.
|
|
1133
1330
|
*
|
|
1134
|
-
* One-of ('next'): at most one of 'tlsStageId', 'cacheStageId',
|
|
1135
|
-
* 'backendStageId' could be set.
|
|
1331
|
+
* One-of ('next'): at most one of 'tlsStageId', 'cacheStageId', 'backendStageId' could be set.
|
|
1136
1332
|
*/
|
|
1137
1333
|
cacheStageId?: string;
|
|
1138
1334
|
/**
|
|
1139
1335
|
* Backend stage ID the DNS stage will be linked to.
|
|
1140
1336
|
*
|
|
1141
|
-
* One-of ('next'): at most one of 'tlsStageId', 'cacheStageId',
|
|
1142
|
-
* 'backendStageId' could be set.
|
|
1337
|
+
* One-of ('next'): at most one of 'tlsStageId', 'cacheStageId', 'backendStageId' could be set.
|
|
1143
1338
|
*/
|
|
1144
1339
|
backendStageId?: string;
|
|
1145
1340
|
};
|
|
1146
1341
|
export type UpdatePipelineRequest = {
|
|
1147
|
-
/**
|
|
1342
|
+
/**
|
|
1343
|
+
* ID of the pipeline to update.
|
|
1344
|
+
*/
|
|
1148
1345
|
pipelineId: string;
|
|
1149
|
-
/**
|
|
1346
|
+
/**
|
|
1347
|
+
* Name of the pipeline.
|
|
1348
|
+
*/
|
|
1150
1349
|
name?: string;
|
|
1151
|
-
/**
|
|
1350
|
+
/**
|
|
1351
|
+
* Description of the pipeline.
|
|
1352
|
+
*/
|
|
1152
1353
|
description?: string;
|
|
1153
1354
|
};
|
|
1154
1355
|
export type UpdateRouteStageRequest = {
|
|
1155
|
-
/**
|
|
1356
|
+
/**
|
|
1357
|
+
* ID of the route stage to update.
|
|
1358
|
+
*/
|
|
1156
1359
|
routeStageId: string;
|
|
1157
1360
|
/**
|
|
1158
|
-
* ID of the WAF stage HTTP requests should be forwarded to when no rules are
|
|
1159
|
-
* matched.
|
|
1361
|
+
* ID of the WAF stage HTTP requests should be forwarded to when no rules are matched.
|
|
1160
1362
|
*
|
|
1161
1363
|
* One-of ('next'): at most one of 'wafStageId' could be set.
|
|
1162
1364
|
*/
|
|
1163
1365
|
wafStageId?: string;
|
|
1164
1366
|
};
|
|
1165
1367
|
export type UpdateTLSStageRequest = {
|
|
1166
|
-
/**
|
|
1368
|
+
/**
|
|
1369
|
+
* ID of the TLS stage to update.
|
|
1370
|
+
*/
|
|
1167
1371
|
tlsStageId: string;
|
|
1168
|
-
/**
|
|
1372
|
+
/**
|
|
1373
|
+
* Secret (from Scaleway Secret-Manager) containing your custom certificate.
|
|
1374
|
+
*/
|
|
1169
1375
|
tlsSecretsConfig?: TLSSecretsConfig;
|
|
1170
1376
|
/**
|
|
1171
|
-
* True when Scaleway generates and manages a Let's Encrypt certificate for
|
|
1172
|
-
* the TLS stage/custom endpoint.
|
|
1377
|
+
* True when Scaleway generates and manages a Let's Encrypt certificate for the TLS stage/custom endpoint.
|
|
1173
1378
|
*/
|
|
1174
1379
|
managedCertificate?: boolean;
|
|
1175
1380
|
/**
|
|
1176
1381
|
* Cache stage ID the TLS stage will be linked to.
|
|
1177
1382
|
*
|
|
1178
|
-
* One-of ('next'): at most one of 'cacheStageId', 'backendStageId',
|
|
1179
|
-
* 'routeStageId', 'wafStageId' could be set.
|
|
1383
|
+
* One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'routeStageId', 'wafStageId' could be set.
|
|
1180
1384
|
*/
|
|
1181
1385
|
cacheStageId?: string;
|
|
1182
1386
|
/**
|
|
1183
1387
|
* Backend stage ID the TLS stage will be linked to.
|
|
1184
1388
|
*
|
|
1185
|
-
* One-of ('next'): at most one of 'cacheStageId', 'backendStageId',
|
|
1186
|
-
* 'routeStageId', 'wafStageId' could be set.
|
|
1389
|
+
* One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'routeStageId', 'wafStageId' could be set.
|
|
1187
1390
|
*/
|
|
1188
1391
|
backendStageId?: string;
|
|
1189
1392
|
/**
|
|
1190
|
-
*
|
|
1191
|
-
* 'routeStageId', 'wafStageId' could be set.
|
|
1393
|
+
*
|
|
1394
|
+
* One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'routeStageId', 'wafStageId' could be set.
|
|
1192
1395
|
*/
|
|
1193
1396
|
routeStageId?: string;
|
|
1194
1397
|
/**
|
|
1195
|
-
*
|
|
1196
|
-
* 'routeStageId', 'wafStageId' could be set.
|
|
1398
|
+
*
|
|
1399
|
+
* One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'routeStageId', 'wafStageId' could be set.
|
|
1197
1400
|
*/
|
|
1198
1401
|
wafStageId?: string;
|
|
1199
1402
|
};
|
|
1200
1403
|
export type UpdateWafStageRequest = {
|
|
1201
|
-
/**
|
|
1404
|
+
/**
|
|
1405
|
+
* ID of the WAF stage to update.
|
|
1406
|
+
*/
|
|
1202
1407
|
wafStageId: string;
|
|
1203
|
-
/**
|
|
1408
|
+
/**
|
|
1409
|
+
* Mode defining WAF behavior (`disable`/`log_only`/`enable`).
|
|
1410
|
+
*/
|
|
1204
1411
|
mode?: WafStageMode;
|
|
1205
1412
|
/**
|
|
1206
|
-
* Sensitivity level (`1`,`2`,`3`,`4`) to use when classifying requests as
|
|
1207
|
-
* malicious. With a high level, requests are more likely to be classed as
|
|
1208
|
-
* malicious, and false positives are expected. With a lower level, requests
|
|
1209
|
-
* are more likely to be classed as benign.
|
|
1413
|
+
* Sensitivity level (`1`,`2`,`3`,`4`) to use when classifying requests as malicious. With a high level, requests are more likely to be classed as malicious, and false positives are expected. With a lower level, requests are more likely to be classed as benign.
|
|
1210
1414
|
*/
|
|
1211
1415
|
paranoiaLevel?: number;
|
|
1212
1416
|
/**
|