@scaleway/sdk 2.71.1 → 2.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/account/index.gen.d.ts +2 -2
- package/dist/api/account/v2/api.gen.cjs +5 -4
- package/dist/api/account/v2/api.gen.d.ts +1 -1
- package/dist/api/account/v2/api.gen.js +5 -4
- package/dist/api/account/v2/marshalling.gen.cjs +4 -3
- package/dist/api/account/v2/marshalling.gen.d.ts +1 -1
- package/dist/api/account/v2/marshalling.gen.js +4 -3
- package/dist/api/account/v3/api.gen.cjs +18 -36
- package/dist/api/account/v3/api.gen.d.ts +18 -37
- package/dist/api/account/v3/api.gen.js +18 -36
- package/dist/api/account/v3/index.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.cjs +4 -3
- package/dist/api/account/v3/marshalling.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.js +4 -3
- package/dist/api/account/v3/types.gen.d.ts +187 -85
- package/dist/api/applesilicon/index.gen.d.ts +2 -2
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +25 -51
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +26 -51
- package/dist/api/applesilicon/v1alpha1/api.gen.js +25 -51
- package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +311 -136
- package/dist/api/audit_trail/index.gen.d.ts +2 -2
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +6 -8
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +6 -10
- package/dist/api/audit_trail/v1alpha1/api.gen.js +6 -8
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +111 -83
- package/dist/api/baremetal/index.gen.d.ts +2 -2
- package/dist/api/baremetal/v1/api.gen.cjs +34 -66
- package/dist/api/baremetal/v1/api.gen.d.ts +31 -62
- package/dist/api/baremetal/v1/api.gen.js +34 -66
- package/dist/api/baremetal/v1/api.utils.cjs +3 -1
- package/dist/api/baremetal/v1/api.utils.d.ts +1 -1
- package/dist/api/baremetal/v1/api.utils.js +3 -1
- package/dist/api/baremetal/v1/index.gen.d.ts +1 -1
- package/dist/api/baremetal/v1/marshalling.gen.cjs +4 -3
- package/dist/api/baremetal/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/baremetal/v1/marshalling.gen.js +4 -3
- package/dist/api/baremetal/v1/types.gen.d.ts +866 -379
- package/dist/api/baremetal/v3/api.gen.cjs +12 -18
- package/dist/api/baremetal/v3/api.gen.d.ts +12 -17
- package/dist/api/baremetal/v3/api.gen.js +12 -18
- package/dist/api/baremetal/v3/marshalling.gen.cjs +4 -3
- package/dist/api/baremetal/v3/marshalling.gen.d.ts +1 -1
- package/dist/api/baremetal/v3/marshalling.gen.js +4 -3
- package/dist/api/baremetal/v3/types.gen.d.ts +83 -33
- package/dist/api/billing/index.gen.d.ts +2 -2
- package/dist/api/billing/v2alpha1/api.gen.cjs +5 -4
- package/dist/api/billing/v2alpha1/api.gen.d.ts +1 -1
- package/dist/api/billing/v2alpha1/api.gen.js +5 -4
- package/dist/api/billing/v2alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/billing/v2alpha1/marshalling.gen.js +4 -3
- package/dist/api/billing/v2alpha1/types.gen.d.ts +1 -1
- package/dist/api/billing/v2beta1/api.gen.cjs +16 -24
- package/dist/api/billing/v2beta1/api.gen.d.ts +10 -20
- package/dist/api/billing/v2beta1/api.gen.js +16 -24
- package/dist/api/billing/v2beta1/marshalling.gen.cjs +4 -3
- package/dist/api/billing/v2beta1/marshalling.gen.js +4 -3
- package/dist/api/billing/v2beta1/types.gen.d.ts +232 -103
- package/dist/api/block/index.gen.d.ts +2 -2
- package/dist/api/block/v1/api.gen.cjs +43 -60
- package/dist/api/block/v1/api.gen.d.ts +21 -39
- package/dist/api/block/v1/api.gen.js +43 -60
- package/dist/api/block/v1/marshalling.gen.cjs +4 -3
- package/dist/api/block/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/block/v1/marshalling.gen.js +4 -3
- package/dist/api/block/v1/types.gen.d.ts +307 -126
- package/dist/api/block/v1alpha1/api.gen.cjs +51 -69
- package/dist/api/block/v1alpha1/api.gen.d.ts +24 -43
- package/dist/api/block/v1alpha1/api.gen.js +51 -69
- package/dist/api/block/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/block/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/block/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/block/v1alpha1/types.gen.d.ts +328 -133
- package/dist/api/cockpit/index.gen.d.ts +2 -2
- package/dist/api/cockpit/v1/api.gen.cjs +105 -160
- package/dist/api/cockpit/v1/api.gen.d.ts +55 -114
- package/dist/api/cockpit/v1/api.gen.js +105 -160
- package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.cjs +4 -3
- package/dist/api/cockpit/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.js +4 -3
- package/dist/api/cockpit/v1/types.gen.d.ts +568 -247
- package/dist/api/cockpit/v1beta1/api.gen.cjs +6 -5
- package/dist/api/cockpit/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/cockpit/v1beta1/api.gen.js +6 -5
- package/dist/api/cockpit/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/cockpit/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/cockpit/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/cockpit/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/container/index.gen.d.ts +2 -2
- package/dist/api/container/v1beta1/api.gen.cjs +13 -19
- package/dist/api/container/v1beta1/api.gen.d.ts +11 -18
- package/dist/api/container/v1beta1/api.gen.js +13 -19
- package/dist/api/container/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/container/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/container/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/container/v1beta1/types.gen.d.ts +649 -323
- package/dist/api/dedibox/index.gen.d.ts +2 -2
- package/dist/api/dedibox/v1/api.gen.cjs +51 -74
- package/dist/api/dedibox/v1/api.gen.d.ts +54 -64
- package/dist/api/dedibox/v1/api.gen.js +51 -74
- package/dist/api/dedibox/v1/marshalling.gen.cjs +4 -3
- package/dist/api/dedibox/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/dedibox/v1/marshalling.gen.js +4 -3
- package/dist/api/dedibox/v1/types.gen.d.ts +1766 -646
- package/dist/api/document_db/index.gen.d.ts +2 -2
- package/dist/api/document_db/v1beta1/api.gen.cjs +6 -5
- package/dist/api/document_db/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/document_db/v1beta1/api.gen.js +6 -5
- package/dist/api/document_db/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/document_db/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/document_db/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/document_db/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/domain/index.gen.d.ts +2 -2
- package/dist/api/domain/v2beta1/api.gen.cjs +125 -183
- package/dist/api/domain/v2beta1/api.gen.d.ts +73 -132
- package/dist/api/domain/v2beta1/api.gen.js +125 -183
- package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
- package/dist/api/domain/v2beta1/index.gen.d.ts +1 -1
- package/dist/api/domain/v2beta1/marshalling.gen.cjs +4 -3
- package/dist/api/domain/v2beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/domain/v2beta1/marshalling.gen.js +4 -3
- package/dist/api/domain/v2beta1/types.gen.d.ts +412 -200
- package/dist/api/edge_services/index.gen.d.ts +2 -2
- package/dist/api/edge_services/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/edge_services/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/edge_services/v1alpha1/api.gen.js +6 -5
- package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/edge_services/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/api.gen.cjs +49 -136
- package/dist/api/edge_services/v1beta1/api.gen.d.ts +48 -134
- package/dist/api/edge_services/v1beta1/api.gen.js +49 -136
- package/dist/api/edge_services/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/edge_services/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/edge_services/v1beta1/types.gen.d.ts +584 -380
- package/dist/api/flexibleip/index.gen.d.ts +2 -2
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +16 -30
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +14 -30
- package/dist/api/flexibleip/v1alpha1/api.gen.js +16 -30
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +187 -79
- package/dist/api/function/index.gen.d.ts +2 -2
- package/dist/api/function/v1beta1/api.gen.cjs +20 -33
- package/dist/api/function/v1beta1/api.gen.d.ts +18 -32
- package/dist/api/function/v1beta1/api.gen.js +20 -33
- package/dist/api/function/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/function/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/function/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/function/v1beta1/types.gen.d.ts +617 -288
- package/dist/api/iam/index.gen.d.ts +2 -2
- package/dist/api/iam/v1alpha1/api.gen.cjs +49 -163
- package/dist/api/iam/v1alpha1/api.gen.d.ts +47 -163
- package/dist/api/iam/v1alpha1/api.gen.js +49 -163
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/iam/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/iam/v1alpha1/types.gen.d.ts +979 -372
- package/dist/api/index.gen.d.ts +2 -2
- package/dist/api/inference/index.gen.d.ts +2 -2
- package/dist/api/inference/v1/api.gen.cjs +14 -16
- package/dist/api/inference/v1/api.gen.d.ts +8 -11
- package/dist/api/inference/v1/api.gen.js +14 -16
- package/dist/api/inference/v1/marshalling.gen.cjs +4 -3
- package/dist/api/inference/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/inference/v1/marshalling.gen.js +4 -3
- package/dist/api/inference/v1/types.gen.d.ts +331 -151
- package/dist/api/inference/v1beta1/api.gen.cjs +14 -16
- package/dist/api/inference/v1beta1/api.gen.d.ts +8 -11
- package/dist/api/inference/v1beta1/api.gen.js +14 -16
- package/dist/api/inference/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/inference/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/inference/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/inference/v1beta1/types.gen.d.ts +342 -155
- package/dist/api/instance/index.gen.d.ts +2 -2
- package/dist/api/instance/v1/api.gen.cjs +69 -117
- package/dist/api/instance/v1/api.gen.d.ts +56 -105
- package/dist/api/instance/v1/api.gen.js +69 -117
- package/dist/api/instance/v1/api.utils.cjs +4 -3
- package/dist/api/instance/v1/api.utils.d.ts +1 -1
- package/dist/api/instance/v1/api.utils.js +4 -3
- package/dist/api/instance/v1/marshalling.gen.cjs +4 -3
- package/dist/api/instance/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/instance/v1/marshalling.gen.js +4 -3
- package/dist/api/instance/v1/marshalling.utils.d.ts +1 -1
- package/dist/api/instance/v1/types.gen.d.ts +1352 -599
- package/dist/api/instance/v1/types.private.gen.d.ts +132 -60
- package/dist/api/instance/v1/types.utils.d.ts +1 -1
- package/dist/api/interlink/index.gen.d.ts +2 -2
- package/dist/api/interlink/v1beta1/api.gen.cjs +107 -63
- package/dist/api/interlink/v1beta1/api.gen.d.ts +58 -65
- package/dist/api/interlink/v1beta1/api.gen.js +108 -64
- package/dist/api/interlink/v1beta1/content.gen.cjs +6 -0
- package/dist/api/interlink/v1beta1/content.gen.d.ts +5 -0
- package/dist/api/interlink/v1beta1/content.gen.js +6 -0
- package/dist/api/interlink/v1beta1/index.gen.cjs +3 -0
- package/dist/api/interlink/v1beta1/index.gen.d.ts +2 -1
- package/dist/api/interlink/v1beta1/index.gen.js +3 -0
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +84 -8
- package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +4 -2
- package/dist/api/interlink/v1beta1/marshalling.gen.js +84 -8
- package/dist/api/interlink/v1beta1/types.gen.d.ts +545 -195
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +25 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +23 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +25 -0
- package/dist/api/iot/index.gen.d.ts +2 -2
- package/dist/api/iot/v1/api.gen.cjs +43 -75
- package/dist/api/iot/v1/api.gen.d.ts +36 -69
- package/dist/api/iot/v1/api.gen.js +43 -75
- package/dist/api/iot/v1/marshalling.gen.cjs +4 -3
- package/dist/api/iot/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/iot/v1/marshalling.gen.js +4 -3
- package/dist/api/iot/v1/types.gen.d.ts +567 -322
- package/dist/api/ipam/index.gen.d.ts +2 -2
- package/dist/api/ipam/v1/api.gen.cjs +11 -30
- package/dist/api/ipam/v1/api.gen.d.ts +10 -31
- package/dist/api/ipam/v1/api.gen.js +11 -30
- package/dist/api/ipam/v1/marshalling.gen.cjs +4 -3
- package/dist/api/ipam/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/ipam/v1/marshalling.gen.js +4 -3
- package/dist/api/ipam/v1/types.gen.d.ts +147 -106
- package/dist/api/ipfs/index.gen.d.ts +2 -2
- package/dist/api/ipfs/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/ipfs/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/ipfs/v1alpha1/api.gen.js +6 -5
- package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/ipfs/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/ipfs/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/jobs/index.gen.d.ts +2 -2
- package/dist/api/jobs/v1alpha1/api.gen.cjs +7 -8
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +6 -8
- package/dist/api/jobs/v1alpha1/api.gen.js +7 -8
- package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +166 -92
- package/dist/api/k8s/index.gen.d.ts +2 -2
- package/dist/api/k8s/v1/api.gen.cjs +39 -83
- package/dist/api/k8s/v1/api.gen.d.ts +29 -74
- package/dist/api/k8s/v1/api.gen.js +39 -83
- package/dist/api/k8s/v1/marshalling.gen.cjs +4 -3
- package/dist/api/k8s/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/k8s/v1/marshalling.gen.js +4 -3
- package/dist/api/k8s/v1/types.gen.d.ts +744 -507
- package/dist/api/key_manager/index.gen.d.ts +2 -2
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +26 -61
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +21 -58
- package/dist/api/key_manager/v1alpha1/api.gen.js +26 -61
- package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/key_manager/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/key_manager/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +197 -115
- package/dist/api/lb/index.gen.d.ts +2 -2
- package/dist/api/lb/v1/api.gen.cjs +68 -178
- package/dist/api/lb/v1/api.gen.d.ts +60 -176
- package/dist/api/lb/v1/api.gen.js +69 -179
- package/dist/api/lb/v1/api.utils.cjs +3 -1
- package/dist/api/lb/v1/api.utils.d.ts +1 -1
- package/dist/api/lb/v1/api.utils.js +3 -1
- package/dist/api/lb/v1/index.gen.d.ts +1 -1
- package/dist/api/lb/v1/marshalling.gen.cjs +9 -3
- package/dist/api/lb/v1/marshalling.gen.d.ts +3 -2
- package/dist/api/lb/v1/marshalling.gen.js +9 -3
- package/dist/api/lb/v1/types.gen.d.ts +1835 -1117
- package/dist/api/lb/v1/types.utils.d.ts +1 -1
- package/dist/api/llm_inference/index.gen.d.ts +2 -2
- package/dist/api/llm_inference/v1beta1/api.gen.cjs +6 -5
- package/dist/api/llm_inference/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/llm_inference/v1beta1/api.gen.js +6 -5
- package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/llm_inference/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/llm_inference/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/marketplace/index.gen.d.ts +2 -2
- package/dist/api/marketplace/v2/api.gen.cjs +13 -25
- package/dist/api/marketplace/v2/api.gen.d.ts +11 -25
- package/dist/api/marketplace/v2/api.gen.js +13 -25
- package/dist/api/marketplace/v2/marshalling.gen.cjs +4 -3
- package/dist/api/marketplace/v2/marshalling.gen.js +4 -3
- package/dist/api/marketplace/v2/types.gen.d.ts +95 -42
- package/dist/api/mnq/index.gen.d.ts +2 -2
- package/dist/api/mnq/v1beta1/api.gen.cjs +29 -80
- package/dist/api/mnq/v1beta1/api.gen.d.ts +32 -84
- package/dist/api/mnq/v1beta1/api.gen.js +29 -80
- package/dist/api/mnq/v1beta1/index.gen.d.ts +1 -1
- package/dist/api/mnq/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/mnq/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/mnq/v1beta1/types.gen.d.ts +343 -170
- package/dist/api/mongodb/index.gen.d.ts +2 -2
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +25 -67
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +23 -66
- package/dist/api/mongodb/v1alpha1/api.gen.js +25 -67
- package/dist/api/mongodb/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/mongodb/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/mongodb/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +444 -190
- package/dist/api/qaas/index.gen.d.ts +2 -2
- package/dist/api/qaas/v1alpha1/api.gen.cjs +23 -39
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +21 -38
- package/dist/api/qaas/v1alpha1/api.gen.js +23 -39
- package/dist/api/qaas/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/qaas/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/qaas/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/qaas/v1alpha1/types.gen.d.ts +503 -175
- package/dist/api/rdb/index.gen.d.ts +2 -2
- package/dist/api/rdb/v1/api.gen.cjs +68 -207
- package/dist/api/rdb/v1/api.gen.d.ts +62 -203
- package/dist/api/rdb/v1/api.gen.js +68 -207
- package/dist/api/rdb/v1/marshalling.gen.cjs +4 -3
- package/dist/api/rdb/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/rdb/v1/marshalling.gen.js +4 -3
- package/dist/api/rdb/v1/types.gen.d.ts +1006 -525
- package/dist/api/redis/index.gen.d.ts +2 -2
- package/dist/api/redis/v1/api.gen.cjs +29 -88
- package/dist/api/redis/v1/api.gen.d.ts +27 -87
- package/dist/api/redis/v1/api.gen.js +29 -88
- package/dist/api/redis/v1/marshalling.gen.cjs +4 -3
- package/dist/api/redis/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/redis/v1/marshalling.gen.js +4 -3
- package/dist/api/redis/v1/types.gen.d.ts +448 -171
- package/dist/api/registry/index.gen.d.ts +2 -2
- package/dist/api/registry/v1/api.gen.cjs +18 -45
- package/dist/api/registry/v1/api.gen.d.ts +16 -44
- package/dist/api/registry/v1/api.gen.js +18 -45
- package/dist/api/registry/v1/marshalling.gen.cjs +4 -3
- package/dist/api/registry/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/registry/v1/marshalling.gen.js +4 -3
- package/dist/api/registry/v1/types.gen.d.ts +201 -117
- package/dist/api/secret/index.gen.d.ts +2 -2
- package/dist/api/secret/v1alpha1/api.gen.cjs +5 -4
- package/dist/api/secret/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/secret/v1alpha1/api.gen.js +5 -4
- package/dist/api/secret/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/secret/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/secret/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/api.gen.cjs +24 -51
- package/dist/api/secret/v1beta1/api.gen.d.ts +23 -53
- package/dist/api/secret/v1beta1/api.gen.js +24 -51
- package/dist/api/secret/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/secret/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/secret/v1beta1/types.gen.d.ts +360 -225
- package/dist/api/serverless_sqldb/index.gen.d.ts +2 -2
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +15 -32
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +13 -31
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +15 -32
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +169 -77
- package/dist/api/tem/index.gen.d.ts +2 -2
- package/dist/api/tem/v1alpha1/api.gen.cjs +28 -63
- package/dist/api/tem/v1alpha1/api.gen.d.ts +26 -62
- package/dist/api/tem/v1alpha1/api.gen.js +28 -63
- package/dist/api/tem/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/tem/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/tem/v1alpha1/types.gen.d.ts +762 -339
- package/dist/api/test/index.gen.d.ts +2 -2
- package/dist/api/test/v1/api.gen.cjs +14 -16
- package/dist/api/test/v1/api.gen.d.ts +8 -11
- package/dist/api/test/v1/api.gen.js +14 -16
- package/dist/api/test/v1/marshalling.gen.cjs +4 -3
- package/dist/api/test/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/test/v1/marshalling.gen.js +4 -3
- package/dist/api/test/v1/types.gen.d.ts +21 -10
- package/dist/api/vpc/index.gen.d.ts +2 -2
- package/dist/api/vpc/v1/api.gen.cjs +5 -4
- package/dist/api/vpc/v1/api.gen.d.ts +2 -2
- package/dist/api/vpc/v1/api.gen.js +5 -4
- package/dist/api/vpc/v1/marshalling.gen.cjs +4 -3
- package/dist/api/vpc/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/vpc/v1/marshalling.gen.js +4 -3
- package/dist/api/vpc/v1/types.gen.d.ts +1 -1
- package/dist/api/vpc/v2/api.gen.cjs +18 -53
- package/dist/api/vpc/v2/api.gen.d.ts +18 -45
- package/dist/api/vpc/v2/api.gen.js +19 -54
- package/dist/api/vpc/v2/index.gen.d.ts +1 -1
- package/dist/api/vpc/v2/marshalling.gen.cjs +4 -18
- package/dist/api/vpc/v2/marshalling.gen.d.ts +2 -4
- package/dist/api/vpc/v2/marshalling.gen.js +4 -18
- package/dist/api/vpc/v2/types.gen.d.ts +333 -200
- package/dist/api/vpcgw/index.gen.d.ts +2 -2
- package/dist/api/vpcgw/v1/api.gen.cjs +42 -140
- package/dist/api/vpcgw/v1/api.gen.d.ts +40 -139
- package/dist/api/vpcgw/v1/api.gen.js +42 -140
- package/dist/api/vpcgw/v1/marshalling.gen.cjs +4 -3
- package/dist/api/vpcgw/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/vpcgw/v1/marshalling.gen.js +4 -3
- package/dist/api/vpcgw/v1/types.gen.d.ts +784 -366
- package/dist/api/vpcgw/v2/api.gen.cjs +33 -93
- package/dist/api/vpcgw/v2/api.gen.d.ts +31 -92
- package/dist/api/vpcgw/v2/api.gen.js +33 -93
- package/dist/api/vpcgw/v2/marshalling.gen.cjs +4 -3
- package/dist/api/vpcgw/v2/marshalling.gen.d.ts +1 -1
- package/dist/api/vpcgw/v2/marshalling.gen.js +4 -3
- package/dist/api/vpcgw/v2/types.gen.d.ts +546 -197
- package/dist/api/webhosting/index.gen.d.ts +2 -2
- package/dist/api/webhosting/v1/api.gen.cjs +28 -55
- package/dist/api/webhosting/v1/api.gen.d.ts +40 -71
- package/dist/api/webhosting/v1/api.gen.js +28 -55
- package/dist/api/webhosting/v1/marshalling.gen.cjs +4 -3
- package/dist/api/webhosting/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/webhosting/v1/marshalling.gen.js +4 -3
- package/dist/api/webhosting/v1/types.gen.d.ts +700 -351
- package/dist/client/dist/helpers/is-browser.cjs +4 -0
- package/dist/client/dist/helpers/is-browser.js +4 -0
- package/dist/{package.json.cjs → client/dist/package.json.cjs} +7 -16
- package/dist/{package.json.js → client/dist/package.json.js} +7 -16
- package/dist/client/dist/scw/constants.cjs +7 -0
- package/dist/{vendor → client/dist/vendor}/base64/index.cjs +8 -4
- package/dist/{vendor → client/dist/vendor}/base64/index.js +8 -4
- package/dist/index.cjs +16 -16
- package/dist/index.d.ts +1 -15
- package/dist/index.js +13 -13
- package/node_modules/@scaleway/sdk-client/README.md +36 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.cjs +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.js +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.cjs +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.js +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.cjs +7 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/json.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.js +7 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.cjs +76 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.js +76 -0
- package/node_modules/@scaleway/sdk-client/dist/index.cjs +52 -0
- package/node_modules/@scaleway/sdk-client/dist/index.d.ts +15 -0
- package/node_modules/@scaleway/sdk-client/dist/index.js +52 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.cjs +53 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/interval-retrier.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.js +53 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.cjs +6 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.js +6 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.cjs +25 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.js +25 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.cjs +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.js +12 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/types.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.cjs +24 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.js +24 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.cjs +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.js +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.cjs +13 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.js +13 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.cjs +30 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.js +30 -0
- package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +67 -0
- package/node_modules/@scaleway/sdk-client/dist/package.json.js +67 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/api.cjs +8 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/api.js +8 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.cjs +26 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.js +26 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.cjs +66 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.js +66 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.cjs +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.js +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.cjs +51 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.js +51 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client.cjs +31 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/client.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.js +7 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.cjs +126 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.js +126 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.cjs +11 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.js +11 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.cjs +76 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.js +76 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.js +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.js +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.cjs +37 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.js +37 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.cjs +28 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.js +28 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.cjs +54 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/invalid-arguments-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.js +54 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.cjs +17 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.js +17 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.cjs +29 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/permissions-denied-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.js +29 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.cjs +32 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.js +32 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.cjs +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.js +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.cjs +24 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.js +24 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.cjs +58 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/too-many-requests-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.js +58 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.cjs +15 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.js +15 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.cjs +60 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.js +60 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.cjs +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.js +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.cjs +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.js +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.cjs +55 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.js +55 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/types.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.cjs +46 -0
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.js +46 -0
- package/node_modules/@scaleway/sdk-client/package.json +36 -0
- package/package.json +6 -4
- package/dist/helpers/is-browser.cjs +0 -7
- package/dist/helpers/is-browser.js +0 -7
- /package/dist/{helpers → client/dist/helpers}/is-response.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/is-response.js +0 -0
- /package/dist/{helpers → client/dist/helpers}/json.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/json.js +0 -0
- /package/dist/{helpers → client/dist/helpers}/marshalling.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/marshalling.js +0 -0
- /package/dist/{internal → client/dist/internal}/async/interval-retrier.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/async/interval-retrier.js +0 -0
- /package/dist/{internal → client/dist/internal}/async/sleep.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/async/sleep.js +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/composer.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/composer.js +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/helpers.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/helpers.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/console-logger.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/console-logger.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/index.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/index.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/level-resolver.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/level-resolver.js +0 -0
- /package/dist/{internal → client/dist/internal}/validations/string-validation.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/validations/string-validation.js +0 -0
- /package/dist/{scw → client/dist/scw}/api.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/api.js +0 -0
- /package/dist/{scw → client/dist/scw}/auth.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/auth.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-factory.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-factory.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-profile.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-profile.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-settings.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-settings.js +0 -0
- /package/dist/{scw → client/dist/scw}/client.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client.js +0 -0
- /package/dist/{scw → client/dist/scw}/constants.js +0 -0
- /package/dist/{scw → client/dist/scw}/custom-marshalling.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/custom-marshalling.js +0 -0
- /package/dist/{scw → client/dist/scw}/custom-types.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/custom-types.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/error-parser.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/error-parser.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/scw-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/scw-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/index.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/index.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/types.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/types.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-dumper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-dumper.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/response-parser.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/response-parser.js +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/bridge.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-browser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-response.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/marshalling.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/sleep.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/composer.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/helpers.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/console-logger.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/index.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/level-resolver.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/logger.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/validations/string-validation.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internals.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/api.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/auth.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-factory.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-profile.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-settings.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.cjs +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-marshalling.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-types.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/error-parser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/invalid-request-mapper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/unknown-resource-mapper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error-from-json.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/already-exists-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/denied-authentication-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/index.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/out-of-stock-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/precondition-failed-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/quotas-exceeded-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-expired-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-locked-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-not-found-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/transient-state-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/types.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/build-fetcher.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-dumper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-interceptors.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/resource-paginator.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/response-parser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/locality.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Region as ScwRegion } from '
|
|
1
|
+
import type { Region as ScwRegion } from '@scaleway/sdk-client';
|
|
2
2
|
export type ContainerHttpOption = 'unknown_http_option' | 'enabled' | 'redirected';
|
|
3
3
|
export type ContainerPrivacy = 'unknown_privacy' | 'public' | 'private';
|
|
4
4
|
export type ContainerProtocol = 'unknown_protocol' | 'http1' | 'h2c';
|
|
@@ -17,7 +17,9 @@ export type TokenStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'creating
|
|
|
17
17
|
export type TriggerInputType = 'unknown_input_type' | 'sqs' | 'scw_sqs' | 'nats' | 'scw_nats';
|
|
18
18
|
export type TriggerStatus = 'unknown_status' | 'ready' | 'deleting' | 'error' | 'creating' | 'pending';
|
|
19
19
|
export interface ContainerHealthCheckSpecHTTPProbe {
|
|
20
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* Path to use for the HTTP health check.
|
|
22
|
+
*/
|
|
21
23
|
path: string;
|
|
22
24
|
}
|
|
23
25
|
export interface ContainerHealthCheckSpecTCPProbe {
|
|
@@ -36,28 +38,29 @@ export interface ContainerHealthCheckSpec {
|
|
|
36
38
|
*/
|
|
37
39
|
tcp?: ContainerHealthCheckSpecTCPProbe;
|
|
38
40
|
/**
|
|
39
|
-
* During a deployment, if a newly created container fails to pass the health
|
|
40
|
-
|
|
41
|
-
* to reduce the time it takes to detect a failed deployment.
|
|
41
|
+
* During a deployment, if a newly created container fails to pass the health check, the deployment is aborted.
|
|
42
|
+
As a result, lowering this value can help to reduce the time it takes to detect a failed deployment.
|
|
42
43
|
*/
|
|
43
44
|
failureThreshold: number;
|
|
44
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* Period between health checks.
|
|
47
|
+
*/
|
|
45
48
|
interval?: string;
|
|
46
49
|
}
|
|
47
50
|
export interface ContainerScalingOption {
|
|
48
51
|
/**
|
|
49
|
-
*
|
|
50
|
-
* 'cpuUsageThreshold', 'memoryUsageThreshold' could be set.
|
|
52
|
+
*
|
|
53
|
+
* One-of ('scalingRule'): at most one of 'concurrentRequestsThreshold', 'cpuUsageThreshold', 'memoryUsageThreshold' could be set.
|
|
51
54
|
*/
|
|
52
55
|
concurrentRequestsThreshold?: number;
|
|
53
56
|
/**
|
|
54
|
-
*
|
|
55
|
-
* 'cpuUsageThreshold', 'memoryUsageThreshold' could be set.
|
|
57
|
+
*
|
|
58
|
+
* One-of ('scalingRule'): at most one of 'concurrentRequestsThreshold', 'cpuUsageThreshold', 'memoryUsageThreshold' could be set.
|
|
56
59
|
*/
|
|
57
60
|
cpuUsageThreshold?: number;
|
|
58
61
|
/**
|
|
59
|
-
*
|
|
60
|
-
* 'cpuUsageThreshold', 'memoryUsageThreshold' could be set.
|
|
62
|
+
*
|
|
63
|
+
* One-of ('scalingRule'): at most one of 'concurrentRequestsThreshold', 'cpuUsageThreshold', 'memoryUsageThreshold' could be set.
|
|
61
64
|
*/
|
|
62
65
|
memoryUsageThreshold?: number;
|
|
63
66
|
}
|
|
@@ -66,30 +69,42 @@ export interface SecretHashedValue {
|
|
|
66
69
|
hashedValue: string;
|
|
67
70
|
}
|
|
68
71
|
export interface TriggerMnqNatsClientConfig {
|
|
69
|
-
/**
|
|
72
|
+
/**
|
|
73
|
+
* Name of the NATS subject the trigger listens to.
|
|
74
|
+
*/
|
|
70
75
|
subject: string;
|
|
71
|
-
/**
|
|
76
|
+
/**
|
|
77
|
+
* ID of the Messaging and Queuing NATS account.
|
|
78
|
+
*/
|
|
72
79
|
mnqNatsAccountId: string;
|
|
73
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* ID of the Messaging and Queuing project.
|
|
82
|
+
*/
|
|
74
83
|
mnqProjectId: string;
|
|
75
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Currently, only the `fr-par` and `nl-ams` regions are available.
|
|
86
|
+
*/
|
|
76
87
|
mnqRegion: string;
|
|
77
88
|
/**
|
|
78
|
-
* ID of the Messaging and Queuing credentials used to subscribe to the NATS
|
|
79
|
-
* subject.
|
|
89
|
+
* ID of the Messaging and Queuing credentials used to subscribe to the NATS subject.
|
|
80
90
|
*/
|
|
81
91
|
mnqCredentialId?: string;
|
|
82
92
|
}
|
|
83
93
|
export interface TriggerMnqSqsClientConfig {
|
|
84
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* Name of the SQS queue the trigger listens to.
|
|
96
|
+
*/
|
|
85
97
|
queue: string;
|
|
86
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* ID of the Messaging and Queuing project.
|
|
100
|
+
*/
|
|
87
101
|
mnqProjectId: string;
|
|
88
|
-
/**
|
|
102
|
+
/**
|
|
103
|
+
* Currently, only the `fr-par` and `nl-ams` regions are available.
|
|
104
|
+
*/
|
|
89
105
|
mnqRegion: string;
|
|
90
106
|
/**
|
|
91
|
-
* ID of the Messaging and Queuing credentials used to read from the SQS
|
|
92
|
-
* queue.
|
|
107
|
+
* ID of the Messaging and Queuing credentials used to read from the SQS queue.
|
|
93
108
|
*/
|
|
94
109
|
mnqCredentialId?: string;
|
|
95
110
|
}
|
|
@@ -104,21 +119,35 @@ export interface Secret {
|
|
|
104
119
|
value?: string;
|
|
105
120
|
}
|
|
106
121
|
export interface CreateTriggerRequestMnqNatsClientConfig {
|
|
107
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Name of the NATS subject the trigger should listen to.
|
|
124
|
+
*/
|
|
108
125
|
subject: string;
|
|
109
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* ID of the Messaging and Queuing NATS account.
|
|
128
|
+
*/
|
|
110
129
|
mnqNatsAccountId: string;
|
|
111
|
-
/**
|
|
130
|
+
/**
|
|
131
|
+
* ID of the Messaging and Queuing project.
|
|
132
|
+
*/
|
|
112
133
|
mnqProjectId: string;
|
|
113
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* Currently, only the `fr-par` and `nl-ams` regions are available.
|
|
136
|
+
*/
|
|
114
137
|
mnqRegion: string;
|
|
115
138
|
}
|
|
116
139
|
export interface CreateTriggerRequestMnqSqsClientConfig {
|
|
117
|
-
/**
|
|
140
|
+
/**
|
|
141
|
+
* Name of the SQS queue the trigger should listen to.
|
|
142
|
+
*/
|
|
118
143
|
queue: string;
|
|
119
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* You must have activated SQS on this project.
|
|
146
|
+
*/
|
|
120
147
|
mnqProjectId: string;
|
|
121
|
-
/**
|
|
148
|
+
/**
|
|
149
|
+
* Currently, only the `fr-par` and `nl-ams` regions are available.
|
|
150
|
+
*/
|
|
122
151
|
mnqRegion: string;
|
|
123
152
|
}
|
|
124
153
|
export interface CreateTriggerRequestSqsClientConfig {
|
|
@@ -128,145 +157,246 @@ export interface CreateTriggerRequestSqsClientConfig {
|
|
|
128
157
|
secretKey: string;
|
|
129
158
|
}
|
|
130
159
|
export interface Container {
|
|
131
|
-
/**
|
|
160
|
+
/**
|
|
161
|
+
* UUID of the container.
|
|
162
|
+
*/
|
|
132
163
|
id: string;
|
|
133
|
-
/**
|
|
164
|
+
/**
|
|
165
|
+
* Name of the container.
|
|
166
|
+
*/
|
|
134
167
|
name: string;
|
|
135
|
-
/**
|
|
168
|
+
/**
|
|
169
|
+
* UUID of the namespace the container belongs to.
|
|
170
|
+
*/
|
|
136
171
|
namespaceId: string;
|
|
137
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* Status of the container.
|
|
174
|
+
*/
|
|
138
175
|
status: ContainerStatus;
|
|
139
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* Environment variables of the container.
|
|
178
|
+
*/
|
|
140
179
|
environmentVariables: Record<string, string>;
|
|
141
|
-
/**
|
|
180
|
+
/**
|
|
181
|
+
* Minimum number of instances to scale the container to.
|
|
182
|
+
*/
|
|
142
183
|
minScale: number;
|
|
143
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Maximum number of instances to scale the container to.
|
|
186
|
+
*/
|
|
144
187
|
maxScale: number;
|
|
145
|
-
/**
|
|
188
|
+
/**
|
|
189
|
+
* Memory limit of the container in MB.
|
|
190
|
+
*/
|
|
146
191
|
memoryLimit: number;
|
|
147
|
-
/**
|
|
192
|
+
/**
|
|
193
|
+
* CPU limit of the container in mvCPU.
|
|
194
|
+
*/
|
|
148
195
|
cpuLimit: number;
|
|
149
|
-
/**
|
|
196
|
+
/**
|
|
197
|
+
* Processing time limit for the container.
|
|
198
|
+
*/
|
|
150
199
|
timeout?: string;
|
|
151
|
-
/**
|
|
200
|
+
/**
|
|
201
|
+
* Last error message of the container.
|
|
202
|
+
*/
|
|
152
203
|
errorMessage?: string;
|
|
153
|
-
/**
|
|
204
|
+
/**
|
|
205
|
+
* Privacy setting of the container.
|
|
206
|
+
*/
|
|
154
207
|
privacy: ContainerPrivacy;
|
|
155
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* Description of the container.
|
|
210
|
+
*/
|
|
156
211
|
description?: string;
|
|
157
212
|
/**
|
|
158
|
-
* Name of the registry image (e.g.
|
|
159
|
-
* "rg.fr-par.scw.cloud/something/image:tag").
|
|
213
|
+
* Name of the registry image (e.g. "rg.fr-par.scw.cloud/something/image:tag").
|
|
160
214
|
*/
|
|
161
215
|
registryImage: string;
|
|
162
|
-
/**
|
|
216
|
+
/**
|
|
217
|
+
* Number of maximum concurrent executions of the container.
|
|
218
|
+
*/
|
|
163
219
|
maxConcurrency: number;
|
|
164
|
-
/**
|
|
220
|
+
/**
|
|
221
|
+
* Domain name attributed to the contaioner.
|
|
222
|
+
*/
|
|
165
223
|
domainName: string;
|
|
166
|
-
/**
|
|
224
|
+
/**
|
|
225
|
+
* Protocol the container uses.
|
|
226
|
+
*/
|
|
167
227
|
protocol: ContainerProtocol;
|
|
168
|
-
/**
|
|
228
|
+
/**
|
|
229
|
+
* Port the container listens on.
|
|
230
|
+
*/
|
|
169
231
|
port: number;
|
|
170
|
-
/**
|
|
232
|
+
/**
|
|
233
|
+
* Secret environment variables of the container.
|
|
234
|
+
*/
|
|
171
235
|
secretEnvironmentVariables: SecretHashedValue[];
|
|
172
236
|
/**
|
|
173
237
|
* Possible values:
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
* to use HTTPS.
|
|
177
|
-
* - Enabled: Serve both HTTP and HTTPS traffic.
|
|
238
|
+
- redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS.
|
|
239
|
+
- enabled: Serve both HTTP and HTTPS traffic.
|
|
178
240
|
*/
|
|
179
241
|
httpOption: ContainerHttpOption;
|
|
180
|
-
/**
|
|
242
|
+
/**
|
|
243
|
+
* Execution environment of the container.
|
|
244
|
+
*/
|
|
181
245
|
sandbox: ContainerSandbox;
|
|
182
|
-
/**
|
|
246
|
+
/**
|
|
247
|
+
* Local storage limit of the container (in MB).
|
|
248
|
+
*/
|
|
183
249
|
localStorageLimit: number;
|
|
184
250
|
/**
|
|
185
251
|
* Possible values:
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
* - Cpu_usage_threshold: Scale depending on the CPU usage of a container
|
|
190
|
-
* instance.
|
|
191
|
-
* - Memory_usage_threshold: Scale depending on the memory usage of a container
|
|
192
|
-
* instance.
|
|
252
|
+
- concurrent_requests_threshold: Scale depending on the number of concurrent requests being processed per container instance.
|
|
253
|
+
- cpu_usage_threshold: Scale depending on the CPU usage of a container instance.
|
|
254
|
+
- memory_usage_threshold: Scale depending on the memory usage of a container instance.
|
|
193
255
|
*/
|
|
194
256
|
scalingOption?: ContainerScalingOption;
|
|
195
|
-
/**
|
|
257
|
+
/**
|
|
258
|
+
* Health check configuration of the container.
|
|
259
|
+
*/
|
|
196
260
|
healthCheck?: ContainerHealthCheckSpec;
|
|
197
|
-
/**
|
|
261
|
+
/**
|
|
262
|
+
* Creation date of the container.
|
|
263
|
+
*/
|
|
198
264
|
createdAt?: Date;
|
|
199
|
-
/**
|
|
265
|
+
/**
|
|
266
|
+
* Last update date of the container.
|
|
267
|
+
*/
|
|
200
268
|
updatedAt?: Date;
|
|
201
|
-
/**
|
|
269
|
+
/**
|
|
270
|
+
* Last date when the container was successfully deployed and set to ready.
|
|
271
|
+
*/
|
|
202
272
|
readyAt?: Date;
|
|
203
|
-
/**
|
|
273
|
+
/**
|
|
274
|
+
* Region in which the container will be deployed.
|
|
275
|
+
*/
|
|
204
276
|
region: ScwRegion;
|
|
205
277
|
}
|
|
206
278
|
export interface Cron {
|
|
207
|
-
/**
|
|
279
|
+
/**
|
|
280
|
+
* UUID of the cron.
|
|
281
|
+
*/
|
|
208
282
|
id: string;
|
|
209
|
-
/**
|
|
283
|
+
/**
|
|
284
|
+
* UUID of the container invoked by this cron.
|
|
285
|
+
*/
|
|
210
286
|
containerId: string;
|
|
211
|
-
/**
|
|
287
|
+
/**
|
|
288
|
+
* UNIX cron shedule.
|
|
289
|
+
*/
|
|
212
290
|
schedule: string;
|
|
213
|
-
/**
|
|
291
|
+
/**
|
|
292
|
+
* Arguments to pass with the cron.
|
|
293
|
+
*/
|
|
214
294
|
args?: Record<string, unknown>;
|
|
215
|
-
/**
|
|
295
|
+
/**
|
|
296
|
+
* Status of the cron.
|
|
297
|
+
*/
|
|
216
298
|
status: CronStatus;
|
|
217
|
-
/**
|
|
299
|
+
/**
|
|
300
|
+
* Name of the cron.
|
|
301
|
+
*/
|
|
218
302
|
name: string;
|
|
219
303
|
}
|
|
220
304
|
export interface Domain {
|
|
221
|
-
/**
|
|
305
|
+
/**
|
|
306
|
+
* UUID of the domain.
|
|
307
|
+
*/
|
|
222
308
|
id: string;
|
|
223
|
-
/**
|
|
309
|
+
/**
|
|
310
|
+
* Domain assigned to the container.
|
|
311
|
+
*/
|
|
224
312
|
hostname: string;
|
|
225
|
-
/**
|
|
313
|
+
/**
|
|
314
|
+
* UUID of the container.
|
|
315
|
+
*/
|
|
226
316
|
containerId: string;
|
|
227
|
-
/**
|
|
317
|
+
/**
|
|
318
|
+
* URL (TBD).
|
|
319
|
+
*/
|
|
228
320
|
url: string;
|
|
229
|
-
/**
|
|
321
|
+
/**
|
|
322
|
+
* Status of the domain.
|
|
323
|
+
*/
|
|
230
324
|
status: DomainStatus;
|
|
231
|
-
/**
|
|
325
|
+
/**
|
|
326
|
+
* Last error message of the domain.
|
|
327
|
+
*/
|
|
232
328
|
errorMessage?: string;
|
|
233
329
|
}
|
|
234
330
|
export interface Namespace {
|
|
235
|
-
/**
|
|
331
|
+
/**
|
|
332
|
+
* UUID of the namespace.
|
|
333
|
+
*/
|
|
236
334
|
id: string;
|
|
237
|
-
/**
|
|
335
|
+
/**
|
|
336
|
+
* Name of the namespace.
|
|
337
|
+
*/
|
|
238
338
|
name: string;
|
|
239
|
-
/**
|
|
339
|
+
/**
|
|
340
|
+
* Environment variables of the namespace.
|
|
341
|
+
*/
|
|
240
342
|
environmentVariables: Record<string, string>;
|
|
241
|
-
/**
|
|
343
|
+
/**
|
|
344
|
+
* UUID of the Organization the namespace belongs to.
|
|
345
|
+
*/
|
|
242
346
|
organizationId: string;
|
|
243
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* UUID of the Project the namespace belongs to.
|
|
349
|
+
*/
|
|
244
350
|
projectId: string;
|
|
245
|
-
/**
|
|
351
|
+
/**
|
|
352
|
+
* Status of the namespace.
|
|
353
|
+
*/
|
|
246
354
|
status: NamespaceStatus;
|
|
247
|
-
/**
|
|
355
|
+
/**
|
|
356
|
+
* UUID of the registry namespace.
|
|
357
|
+
*/
|
|
248
358
|
registryNamespaceId: string;
|
|
249
|
-
/**
|
|
359
|
+
/**
|
|
360
|
+
* Last error message of the namesace.
|
|
361
|
+
*/
|
|
250
362
|
errorMessage?: string;
|
|
251
|
-
/**
|
|
363
|
+
/**
|
|
364
|
+
* Registry endpoint of the namespace.
|
|
365
|
+
*/
|
|
252
366
|
registryEndpoint: string;
|
|
253
|
-
/**
|
|
367
|
+
/**
|
|
368
|
+
* Description of the endpoint.
|
|
369
|
+
*/
|
|
254
370
|
description?: string;
|
|
255
|
-
/**
|
|
371
|
+
/**
|
|
372
|
+
* Secret environment variables of the namespace.
|
|
373
|
+
*/
|
|
256
374
|
secretEnvironmentVariables: SecretHashedValue[];
|
|
257
|
-
/**
|
|
375
|
+
/**
|
|
376
|
+
* Region in which the namespace will be created.
|
|
377
|
+
*/
|
|
258
378
|
region: ScwRegion;
|
|
259
|
-
/**
|
|
379
|
+
/**
|
|
380
|
+
* [ALPHA] List of tags applied to the Serverless Container Namespace.
|
|
381
|
+
*/
|
|
260
382
|
tags: string[];
|
|
261
|
-
/**
|
|
383
|
+
/**
|
|
384
|
+
* Creation date of the namespace.
|
|
385
|
+
*/
|
|
262
386
|
createdAt?: Date;
|
|
263
|
-
/**
|
|
387
|
+
/**
|
|
388
|
+
* Last update date of the namespace.
|
|
389
|
+
*/
|
|
264
390
|
updatedAt?: Date;
|
|
265
391
|
}
|
|
266
392
|
export interface Token {
|
|
267
|
-
/**
|
|
393
|
+
/**
|
|
394
|
+
* UUID of the token.
|
|
395
|
+
*/
|
|
268
396
|
id: string;
|
|
269
|
-
/**
|
|
397
|
+
/**
|
|
398
|
+
* Identifier of the token.
|
|
399
|
+
*/
|
|
270
400
|
token: string;
|
|
271
401
|
/**
|
|
272
402
|
* UUID of the container the token belongs to.
|
|
@@ -280,49 +410,68 @@ export interface Token {
|
|
|
280
410
|
* One-of ('scope'): at most one of 'containerId', 'namespaceId' could be set.
|
|
281
411
|
*/
|
|
282
412
|
namespaceId?: string;
|
|
283
|
-
/**
|
|
413
|
+
/**
|
|
414
|
+
* @deprecated Public key of the token.
|
|
415
|
+
*/
|
|
284
416
|
publicKey?: string;
|
|
285
|
-
/**
|
|
417
|
+
/**
|
|
418
|
+
* Status of the token.
|
|
419
|
+
*/
|
|
286
420
|
status: TokenStatus;
|
|
287
|
-
/**
|
|
421
|
+
/**
|
|
422
|
+
* Description of the token.
|
|
423
|
+
*/
|
|
288
424
|
description?: string;
|
|
289
|
-
/**
|
|
425
|
+
/**
|
|
426
|
+
* Expiry date of the token.
|
|
427
|
+
*/
|
|
290
428
|
expiresAt?: Date;
|
|
291
429
|
}
|
|
292
430
|
export interface Trigger {
|
|
293
|
-
/**
|
|
431
|
+
/**
|
|
432
|
+
* ID of the trigger.
|
|
433
|
+
*/
|
|
294
434
|
id: string;
|
|
295
|
-
/**
|
|
435
|
+
/**
|
|
436
|
+
* Name of the trigger.
|
|
437
|
+
*/
|
|
296
438
|
name: string;
|
|
297
|
-
/**
|
|
439
|
+
/**
|
|
440
|
+
* Description of the trigger.
|
|
441
|
+
*/
|
|
298
442
|
description: string;
|
|
299
|
-
/**
|
|
443
|
+
/**
|
|
444
|
+
* ID of the container to trigger.
|
|
445
|
+
*/
|
|
300
446
|
containerId: string;
|
|
301
|
-
/**
|
|
447
|
+
/**
|
|
448
|
+
* Type of the input.
|
|
449
|
+
*/
|
|
302
450
|
inputType: TriggerInputType;
|
|
303
|
-
/**
|
|
451
|
+
/**
|
|
452
|
+
* Status of the trigger.
|
|
453
|
+
*/
|
|
304
454
|
status: TriggerStatus;
|
|
305
|
-
/**
|
|
455
|
+
/**
|
|
456
|
+
* Error message of the trigger.
|
|
457
|
+
*/
|
|
306
458
|
errorMessage?: string;
|
|
307
459
|
/**
|
|
308
460
|
* Configuration for a Scaleway Messaging and Queuing SQS queue.
|
|
309
461
|
*
|
|
310
|
-
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
|
|
311
|
-
* 'sqsConfig' could be set.
|
|
462
|
+
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
|
|
312
463
|
*/
|
|
313
464
|
scwSqsConfig?: TriggerMnqSqsClientConfig;
|
|
314
465
|
/**
|
|
315
466
|
* Configuration for a Scaleway Messaging and Queuing NATS subject.
|
|
316
467
|
*
|
|
317
|
-
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
|
|
318
|
-
* 'sqsConfig' could be set.
|
|
468
|
+
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
|
|
319
469
|
*/
|
|
320
470
|
scwNatsConfig?: TriggerMnqNatsClientConfig;
|
|
321
471
|
/**
|
|
322
472
|
* Configuration for an AWS SQS queue.
|
|
323
473
|
*
|
|
324
|
-
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
|
|
325
|
-
* 'sqsConfig' could be set.
|
|
474
|
+
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
|
|
326
475
|
*/
|
|
327
476
|
sqsConfig?: TriggerSqsClientConfig;
|
|
328
477
|
}
|
|
@@ -332,118 +481,164 @@ export interface UpdateTriggerRequestSqsClientConfig {
|
|
|
332
481
|
}
|
|
333
482
|
export type CreateContainerRequest = {
|
|
334
483
|
/**
|
|
335
|
-
* Region to target. If none is passed will use default region from the
|
|
336
|
-
* config.
|
|
484
|
+
* Region to target. If none is passed will use default region from the config.
|
|
337
485
|
*/
|
|
338
486
|
region?: ScwRegion;
|
|
339
|
-
/**
|
|
487
|
+
/**
|
|
488
|
+
* UUID of the namespace the container belongs to.
|
|
489
|
+
*/
|
|
340
490
|
namespaceId: string;
|
|
341
|
-
/**
|
|
491
|
+
/**
|
|
492
|
+
* Name of the container.
|
|
493
|
+
*/
|
|
342
494
|
name: string;
|
|
343
|
-
/**
|
|
495
|
+
/**
|
|
496
|
+
* Environment variables of the container.
|
|
497
|
+
*/
|
|
344
498
|
environmentVariables?: Record<string, string>;
|
|
345
|
-
/**
|
|
499
|
+
/**
|
|
500
|
+
* Minimum number of instances to scale the container to.
|
|
501
|
+
*/
|
|
346
502
|
minScale?: number;
|
|
347
|
-
/**
|
|
503
|
+
/**
|
|
504
|
+
* Maximum number of instances to scale the container to.
|
|
505
|
+
*/
|
|
348
506
|
maxScale?: number;
|
|
349
|
-
/**
|
|
507
|
+
/**
|
|
508
|
+
* Memory limit of the container in MB.
|
|
509
|
+
*/
|
|
350
510
|
memoryLimit?: number;
|
|
351
|
-
/**
|
|
511
|
+
/**
|
|
512
|
+
* CPU limit of the container in mvCPU.
|
|
513
|
+
*/
|
|
352
514
|
cpuLimit?: number;
|
|
353
|
-
/**
|
|
515
|
+
/**
|
|
516
|
+
* Processing time limit for the container.
|
|
517
|
+
*/
|
|
354
518
|
timeout?: string;
|
|
355
|
-
/**
|
|
519
|
+
/**
|
|
520
|
+
* Privacy setting of the container.
|
|
521
|
+
*/
|
|
356
522
|
privacy?: ContainerPrivacy;
|
|
357
|
-
/**
|
|
523
|
+
/**
|
|
524
|
+
* Description of the container.
|
|
525
|
+
*/
|
|
358
526
|
description?: string;
|
|
359
527
|
/**
|
|
360
|
-
* Name of the registry image (e.g.
|
|
361
|
-
* "rg.fr-par.scw.cloud/something/image:tag").
|
|
528
|
+
* Name of the registry image (e.g. "rg.fr-par.scw.cloud/something/image:tag").
|
|
362
529
|
*/
|
|
363
530
|
registryImage?: string;
|
|
364
|
-
/**
|
|
531
|
+
/**
|
|
532
|
+
* @deprecated Number of maximum concurrent executions of the container.
|
|
533
|
+
*/
|
|
365
534
|
maxConcurrency?: number;
|
|
366
|
-
/**
|
|
535
|
+
/**
|
|
536
|
+
* Protocol the container uses.
|
|
537
|
+
*/
|
|
367
538
|
protocol?: ContainerProtocol;
|
|
368
|
-
/**
|
|
539
|
+
/**
|
|
540
|
+
* Port the container listens on.
|
|
541
|
+
*/
|
|
369
542
|
port?: number;
|
|
370
|
-
/**
|
|
543
|
+
/**
|
|
544
|
+
* Secret environment variables of the container.
|
|
545
|
+
*/
|
|
371
546
|
secretEnvironmentVariables?: Secret[];
|
|
372
547
|
/**
|
|
373
548
|
* Possible values:
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
* to use HTTPS.
|
|
377
|
-
* - Enabled: Serve both HTTP and HTTPS traffic.
|
|
549
|
+
- redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS.
|
|
550
|
+
- enabled: Serve both HTTP and HTTPS traffic.
|
|
378
551
|
*/
|
|
379
552
|
httpOption?: ContainerHttpOption;
|
|
380
|
-
/**
|
|
553
|
+
/**
|
|
554
|
+
* Execution environment of the container.
|
|
555
|
+
*/
|
|
381
556
|
sandbox?: ContainerSandbox;
|
|
382
|
-
/**
|
|
557
|
+
/**
|
|
558
|
+
* Local storage limit of the container (in MB).
|
|
559
|
+
*/
|
|
383
560
|
localStorageLimit?: number;
|
|
384
561
|
/**
|
|
385
562
|
* Possible values:
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
* - Cpu_usage_threshold: Scale depending on the CPU usage of a container
|
|
390
|
-
* instance.
|
|
391
|
-
* - Memory_usage_threshold: Scale depending on the memory usage of a container
|
|
392
|
-
* instance.
|
|
563
|
+
- concurrent_requests_threshold: Scale depending on the number of concurrent requests being processed per container instance.
|
|
564
|
+
- cpu_usage_threshold: Scale depending on the CPU usage of a container instance.
|
|
565
|
+
- memory_usage_threshold: Scale depending on the memory usage of a container instance.
|
|
393
566
|
*/
|
|
394
567
|
scalingOption?: ContainerScalingOption;
|
|
395
|
-
/**
|
|
568
|
+
/**
|
|
569
|
+
* Health check configuration of the container.
|
|
570
|
+
*/
|
|
396
571
|
healthCheck?: ContainerHealthCheckSpec;
|
|
397
572
|
};
|
|
398
573
|
export type CreateCronRequest = {
|
|
399
574
|
/**
|
|
400
|
-
* Region to target. If none is passed will use default region from the
|
|
401
|
-
* config.
|
|
575
|
+
* Region to target. If none is passed will use default region from the config.
|
|
402
576
|
*/
|
|
403
577
|
region?: ScwRegion;
|
|
404
|
-
/**
|
|
578
|
+
/**
|
|
579
|
+
* UUID of the container to invoke by the cron.
|
|
580
|
+
*/
|
|
405
581
|
containerId: string;
|
|
406
|
-
/**
|
|
582
|
+
/**
|
|
583
|
+
* UNIX cron shedule.
|
|
584
|
+
*/
|
|
407
585
|
schedule: string;
|
|
408
|
-
/**
|
|
586
|
+
/**
|
|
587
|
+
* Arguments to pass with the cron.
|
|
588
|
+
*/
|
|
409
589
|
args?: Record<string, unknown>;
|
|
410
|
-
/**
|
|
590
|
+
/**
|
|
591
|
+
* Name of the cron to create.
|
|
592
|
+
*/
|
|
411
593
|
name?: string;
|
|
412
594
|
};
|
|
413
595
|
export type CreateDomainRequest = {
|
|
414
596
|
/**
|
|
415
|
-
* Region to target. If none is passed will use default region from the
|
|
416
|
-
* config.
|
|
597
|
+
* Region to target. If none is passed will use default region from the config.
|
|
417
598
|
*/
|
|
418
599
|
region?: ScwRegion;
|
|
419
|
-
/**
|
|
600
|
+
/**
|
|
601
|
+
* Domain to assign.
|
|
602
|
+
*/
|
|
420
603
|
hostname: string;
|
|
421
|
-
/**
|
|
604
|
+
/**
|
|
605
|
+
* UUID of the container to assign the domain to.
|
|
606
|
+
*/
|
|
422
607
|
containerId: string;
|
|
423
608
|
};
|
|
424
609
|
export type CreateNamespaceRequest = {
|
|
425
610
|
/**
|
|
426
|
-
* Region to target. If none is passed will use default region from the
|
|
427
|
-
* config.
|
|
611
|
+
* Region to target. If none is passed will use default region from the config.
|
|
428
612
|
*/
|
|
429
613
|
region?: ScwRegion;
|
|
430
|
-
/**
|
|
614
|
+
/**
|
|
615
|
+
* Name of the namespace to create.
|
|
616
|
+
*/
|
|
431
617
|
name?: string;
|
|
432
|
-
/**
|
|
618
|
+
/**
|
|
619
|
+
* Environment variables of the namespace to create.
|
|
620
|
+
*/
|
|
433
621
|
environmentVariables?: Record<string, string>;
|
|
434
|
-
/**
|
|
622
|
+
/**
|
|
623
|
+
* UUID of the Project in which the namespace will be created.
|
|
624
|
+
*/
|
|
435
625
|
projectId?: string;
|
|
436
|
-
/**
|
|
626
|
+
/**
|
|
627
|
+
* Description of the namespace to create.
|
|
628
|
+
*/
|
|
437
629
|
description?: string;
|
|
438
|
-
/**
|
|
630
|
+
/**
|
|
631
|
+
* Secret environment variables of the namespace to create.
|
|
632
|
+
*/
|
|
439
633
|
secretEnvironmentVariables?: Secret[];
|
|
440
|
-
/**
|
|
634
|
+
/**
|
|
635
|
+
* [ALPHA] Tags of the Serverless Container Namespace.
|
|
636
|
+
*/
|
|
441
637
|
tags?: string[];
|
|
442
638
|
};
|
|
443
639
|
export type CreateTokenRequest = {
|
|
444
640
|
/**
|
|
445
|
-
* Region to target. If none is passed will use default region from the
|
|
446
|
-
* config.
|
|
641
|
+
* Region to target. If none is passed will use default region from the config.
|
|
447
642
|
*/
|
|
448
643
|
region?: ScwRegion;
|
|
449
644
|
/**
|
|
@@ -458,271 +653,353 @@ export type CreateTokenRequest = {
|
|
|
458
653
|
* One-of ('scope'): at most one of 'containerId', 'namespaceId' could be set.
|
|
459
654
|
*/
|
|
460
655
|
namespaceId?: string;
|
|
461
|
-
/**
|
|
656
|
+
/**
|
|
657
|
+
* Description of the token.
|
|
658
|
+
*/
|
|
462
659
|
description?: string;
|
|
463
|
-
/**
|
|
660
|
+
/**
|
|
661
|
+
* Expiry date of the token.
|
|
662
|
+
*/
|
|
464
663
|
expiresAt?: Date;
|
|
465
664
|
};
|
|
466
665
|
export type CreateTriggerRequest = {
|
|
467
666
|
/**
|
|
468
|
-
* Region to target. If none is passed will use default region from the
|
|
469
|
-
* config.
|
|
667
|
+
* Region to target. If none is passed will use default region from the config.
|
|
470
668
|
*/
|
|
471
669
|
region?: ScwRegion;
|
|
472
|
-
/**
|
|
670
|
+
/**
|
|
671
|
+
* Name of the trigger.
|
|
672
|
+
*/
|
|
473
673
|
name: string;
|
|
474
|
-
/**
|
|
674
|
+
/**
|
|
675
|
+
* ID of the container to trigger.
|
|
676
|
+
*/
|
|
475
677
|
containerId: string;
|
|
476
|
-
/**
|
|
678
|
+
/**
|
|
679
|
+
* Description of the trigger.
|
|
680
|
+
*/
|
|
477
681
|
description?: string;
|
|
478
682
|
/**
|
|
479
683
|
* Configuration for a Scaleway Messaging and Queuing SQS queue.
|
|
480
684
|
*
|
|
481
|
-
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
|
|
482
|
-
* 'sqsConfig' could be set.
|
|
685
|
+
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
|
|
483
686
|
*/
|
|
484
687
|
scwSqsConfig?: CreateTriggerRequestMnqSqsClientConfig;
|
|
485
688
|
/**
|
|
486
689
|
* Configuration for a Scaleway Messaging and Queuing NATS subject.
|
|
487
690
|
*
|
|
488
|
-
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
|
|
489
|
-
* 'sqsConfig' could be set.
|
|
691
|
+
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
|
|
490
692
|
*/
|
|
491
693
|
scwNatsConfig?: CreateTriggerRequestMnqNatsClientConfig;
|
|
492
694
|
/**
|
|
493
695
|
* Configuration for an AWS SQS queue.
|
|
494
696
|
*
|
|
495
|
-
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
|
|
496
|
-
* 'sqsConfig' could be set.
|
|
697
|
+
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
|
|
497
698
|
*/
|
|
498
699
|
sqsConfig?: CreateTriggerRequestSqsClientConfig;
|
|
499
700
|
};
|
|
500
701
|
export type DeleteContainerRequest = {
|
|
501
702
|
/**
|
|
502
|
-
* Region to target. If none is passed will use default region from the
|
|
503
|
-
* config.
|
|
703
|
+
* Region to target. If none is passed will use default region from the config.
|
|
504
704
|
*/
|
|
505
705
|
region?: ScwRegion;
|
|
506
|
-
/**
|
|
706
|
+
/**
|
|
707
|
+
* UUID of the container to delete.
|
|
708
|
+
*/
|
|
507
709
|
containerId: string;
|
|
508
710
|
};
|
|
509
711
|
export type DeleteCronRequest = {
|
|
510
712
|
/**
|
|
511
|
-
* Region to target. If none is passed will use default region from the
|
|
512
|
-
* config.
|
|
713
|
+
* Region to target. If none is passed will use default region from the config.
|
|
513
714
|
*/
|
|
514
715
|
region?: ScwRegion;
|
|
515
|
-
/**
|
|
716
|
+
/**
|
|
717
|
+
* UUID of the cron to delete.
|
|
718
|
+
*/
|
|
516
719
|
cronId: string;
|
|
517
720
|
};
|
|
518
721
|
export type DeleteDomainRequest = {
|
|
519
722
|
/**
|
|
520
|
-
* Region to target. If none is passed will use default region from the
|
|
521
|
-
* config.
|
|
723
|
+
* Region to target. If none is passed will use default region from the config.
|
|
522
724
|
*/
|
|
523
725
|
region?: ScwRegion;
|
|
524
|
-
/**
|
|
726
|
+
/**
|
|
727
|
+
* UUID of the domain to delete.
|
|
728
|
+
*/
|
|
525
729
|
domainId: string;
|
|
526
730
|
};
|
|
527
731
|
export type DeleteNamespaceRequest = {
|
|
528
732
|
/**
|
|
529
|
-
* Region to target. If none is passed will use default region from the
|
|
530
|
-
* config.
|
|
733
|
+
* Region to target. If none is passed will use default region from the config.
|
|
531
734
|
*/
|
|
532
735
|
region?: ScwRegion;
|
|
533
|
-
/**
|
|
736
|
+
/**
|
|
737
|
+
* UUID of the namespace to delete.
|
|
738
|
+
*/
|
|
534
739
|
namespaceId: string;
|
|
535
740
|
};
|
|
536
741
|
export type DeleteTokenRequest = {
|
|
537
742
|
/**
|
|
538
|
-
* Region to target. If none is passed will use default region from the
|
|
539
|
-
* config.
|
|
743
|
+
* Region to target. If none is passed will use default region from the config.
|
|
540
744
|
*/
|
|
541
745
|
region?: ScwRegion;
|
|
542
|
-
/**
|
|
746
|
+
/**
|
|
747
|
+
* UUID of the token to delete.
|
|
748
|
+
*/
|
|
543
749
|
tokenId: string;
|
|
544
750
|
};
|
|
545
751
|
export type DeleteTriggerRequest = {
|
|
546
752
|
/**
|
|
547
|
-
* Region to target. If none is passed will use default region from the
|
|
548
|
-
* config.
|
|
753
|
+
* Region to target. If none is passed will use default region from the config.
|
|
549
754
|
*/
|
|
550
755
|
region?: ScwRegion;
|
|
551
|
-
/**
|
|
756
|
+
/**
|
|
757
|
+
* ID of the trigger to delete.
|
|
758
|
+
*/
|
|
552
759
|
triggerId: string;
|
|
553
760
|
};
|
|
554
761
|
export type DeployContainerRequest = {
|
|
555
762
|
/**
|
|
556
|
-
* Region to target. If none is passed will use default region from the
|
|
557
|
-
* config.
|
|
763
|
+
* Region to target. If none is passed will use default region from the config.
|
|
558
764
|
*/
|
|
559
765
|
region?: ScwRegion;
|
|
560
|
-
/**
|
|
766
|
+
/**
|
|
767
|
+
* UUID of the container to deploy.
|
|
768
|
+
*/
|
|
561
769
|
containerId: string;
|
|
562
770
|
};
|
|
563
771
|
export type GetContainerRequest = {
|
|
564
772
|
/**
|
|
565
|
-
* Region to target. If none is passed will use default region from the
|
|
566
|
-
* config.
|
|
773
|
+
* Region to target. If none is passed will use default region from the config.
|
|
567
774
|
*/
|
|
568
775
|
region?: ScwRegion;
|
|
569
|
-
/**
|
|
776
|
+
/**
|
|
777
|
+
* UUID of the container to get.
|
|
778
|
+
*/
|
|
570
779
|
containerId: string;
|
|
571
780
|
};
|
|
572
781
|
export type GetCronRequest = {
|
|
573
782
|
/**
|
|
574
|
-
* Region to target. If none is passed will use default region from the
|
|
575
|
-
* config.
|
|
783
|
+
* Region to target. If none is passed will use default region from the config.
|
|
576
784
|
*/
|
|
577
785
|
region?: ScwRegion;
|
|
578
|
-
/**
|
|
786
|
+
/**
|
|
787
|
+
* UUID of the cron to get.
|
|
788
|
+
*/
|
|
579
789
|
cronId: string;
|
|
580
790
|
};
|
|
581
791
|
export type GetDomainRequest = {
|
|
582
792
|
/**
|
|
583
|
-
* Region to target. If none is passed will use default region from the
|
|
584
|
-
* config.
|
|
793
|
+
* Region to target. If none is passed will use default region from the config.
|
|
585
794
|
*/
|
|
586
795
|
region?: ScwRegion;
|
|
587
|
-
/**
|
|
796
|
+
/**
|
|
797
|
+
* UUID of the domain to get.
|
|
798
|
+
*/
|
|
588
799
|
domainId: string;
|
|
589
800
|
};
|
|
590
801
|
export type GetNamespaceRequest = {
|
|
591
802
|
/**
|
|
592
|
-
* Region to target. If none is passed will use default region from the
|
|
593
|
-
* config.
|
|
803
|
+
* Region to target. If none is passed will use default region from the config.
|
|
594
804
|
*/
|
|
595
805
|
region?: ScwRegion;
|
|
596
|
-
/**
|
|
806
|
+
/**
|
|
807
|
+
* UUID of the namespace to get.
|
|
808
|
+
*/
|
|
597
809
|
namespaceId: string;
|
|
598
810
|
};
|
|
599
811
|
export type GetTokenRequest = {
|
|
600
812
|
/**
|
|
601
|
-
* Region to target. If none is passed will use default region from the
|
|
602
|
-
* config.
|
|
813
|
+
* Region to target. If none is passed will use default region from the config.
|
|
603
814
|
*/
|
|
604
815
|
region?: ScwRegion;
|
|
605
|
-
/**
|
|
816
|
+
/**
|
|
817
|
+
* UUID of the token to get.
|
|
818
|
+
*/
|
|
606
819
|
tokenId: string;
|
|
607
820
|
};
|
|
608
821
|
export type GetTriggerRequest = {
|
|
609
822
|
/**
|
|
610
|
-
* Region to target. If none is passed will use default region from the
|
|
611
|
-
* config.
|
|
823
|
+
* Region to target. If none is passed will use default region from the config.
|
|
612
824
|
*/
|
|
613
825
|
region?: ScwRegion;
|
|
614
|
-
/**
|
|
826
|
+
/**
|
|
827
|
+
* ID of the trigger to get.
|
|
828
|
+
*/
|
|
615
829
|
triggerId: string;
|
|
616
830
|
};
|
|
617
831
|
export type ListContainersRequest = {
|
|
618
832
|
/**
|
|
619
|
-
* Region to target. If none is passed will use default region from the
|
|
620
|
-
* config.
|
|
833
|
+
* Region to target. If none is passed will use default region from the config.
|
|
621
834
|
*/
|
|
622
835
|
region?: ScwRegion;
|
|
623
|
-
/**
|
|
836
|
+
/**
|
|
837
|
+
* Page number.
|
|
838
|
+
*/
|
|
624
839
|
page?: number;
|
|
625
|
-
/**
|
|
840
|
+
/**
|
|
841
|
+
* Number of containers per page.
|
|
842
|
+
*/
|
|
626
843
|
pageSize?: number;
|
|
627
|
-
/**
|
|
844
|
+
/**
|
|
845
|
+
* Order of the containers.
|
|
846
|
+
*/
|
|
628
847
|
orderBy?: ListContainersRequestOrderBy;
|
|
629
|
-
/**
|
|
848
|
+
/**
|
|
849
|
+
* UUID of the namespace the container belongs to.
|
|
850
|
+
*/
|
|
630
851
|
namespaceId: string;
|
|
631
|
-
/**
|
|
852
|
+
/**
|
|
853
|
+
* Name of the container.
|
|
854
|
+
*/
|
|
632
855
|
name?: string;
|
|
633
|
-
/**
|
|
856
|
+
/**
|
|
857
|
+
* UUID of the Organization the container belongs to.
|
|
858
|
+
*/
|
|
634
859
|
organizationId?: string;
|
|
635
|
-
/**
|
|
860
|
+
/**
|
|
861
|
+
* UUID of the Project the container belongs to.
|
|
862
|
+
*/
|
|
636
863
|
projectId?: string;
|
|
637
864
|
};
|
|
638
865
|
export interface ListContainersResponse {
|
|
639
|
-
/**
|
|
866
|
+
/**
|
|
867
|
+
* Array of containers.
|
|
868
|
+
*/
|
|
640
869
|
containers: Container[];
|
|
641
|
-
/**
|
|
870
|
+
/**
|
|
871
|
+
* Total number of containers.
|
|
872
|
+
*/
|
|
642
873
|
totalCount: number;
|
|
643
874
|
}
|
|
644
875
|
export type ListCronsRequest = {
|
|
645
876
|
/**
|
|
646
|
-
* Region to target. If none is passed will use default region from the
|
|
647
|
-
* config.
|
|
877
|
+
* Region to target. If none is passed will use default region from the config.
|
|
648
878
|
*/
|
|
649
879
|
region?: ScwRegion;
|
|
650
|
-
/**
|
|
880
|
+
/**
|
|
881
|
+
* Page number.
|
|
882
|
+
*/
|
|
651
883
|
page?: number;
|
|
652
|
-
/**
|
|
884
|
+
/**
|
|
885
|
+
* Number of crons per page.
|
|
886
|
+
*/
|
|
653
887
|
pageSize?: number;
|
|
654
|
-
/**
|
|
888
|
+
/**
|
|
889
|
+
* Order of the crons.
|
|
890
|
+
*/
|
|
655
891
|
orderBy?: ListCronsRequestOrderBy;
|
|
656
|
-
/**
|
|
892
|
+
/**
|
|
893
|
+
* UUID of the container invoked by the cron.
|
|
894
|
+
*/
|
|
657
895
|
containerId: string;
|
|
658
896
|
};
|
|
659
897
|
export interface ListCronsResponse {
|
|
660
|
-
/**
|
|
898
|
+
/**
|
|
899
|
+
* Array of crons.
|
|
900
|
+
*/
|
|
661
901
|
crons: Cron[];
|
|
662
|
-
/**
|
|
902
|
+
/**
|
|
903
|
+
* Total number of crons.
|
|
904
|
+
*/
|
|
663
905
|
totalCount: number;
|
|
664
906
|
}
|
|
665
907
|
export type ListDomainsRequest = {
|
|
666
908
|
/**
|
|
667
|
-
* Region to target. If none is passed will use default region from the
|
|
668
|
-
* config.
|
|
909
|
+
* Region to target. If none is passed will use default region from the config.
|
|
669
910
|
*/
|
|
670
911
|
region?: ScwRegion;
|
|
671
|
-
/**
|
|
912
|
+
/**
|
|
913
|
+
* Page number.
|
|
914
|
+
*/
|
|
672
915
|
page?: number;
|
|
673
|
-
/**
|
|
916
|
+
/**
|
|
917
|
+
* Number of domains per page.
|
|
918
|
+
*/
|
|
674
919
|
pageSize?: number;
|
|
675
|
-
/**
|
|
920
|
+
/**
|
|
921
|
+
* Order of the domains.
|
|
922
|
+
*/
|
|
676
923
|
orderBy?: ListDomainsRequestOrderBy;
|
|
677
|
-
/**
|
|
924
|
+
/**
|
|
925
|
+
* UUID of the container the domain belongs to.
|
|
926
|
+
*/
|
|
678
927
|
containerId: string;
|
|
679
928
|
};
|
|
680
929
|
export interface ListDomainsResponse {
|
|
681
|
-
/**
|
|
930
|
+
/**
|
|
931
|
+
* Array of domains.
|
|
932
|
+
*/
|
|
682
933
|
domains: Domain[];
|
|
683
|
-
/**
|
|
934
|
+
/**
|
|
935
|
+
* Total number of domains.
|
|
936
|
+
*/
|
|
684
937
|
totalCount: number;
|
|
685
938
|
}
|
|
686
939
|
export type ListNamespacesRequest = {
|
|
687
940
|
/**
|
|
688
|
-
* Region to target. If none is passed will use default region from the
|
|
689
|
-
* config.
|
|
941
|
+
* Region to target. If none is passed will use default region from the config.
|
|
690
942
|
*/
|
|
691
943
|
region?: ScwRegion;
|
|
692
|
-
/**
|
|
944
|
+
/**
|
|
945
|
+
* Page number.
|
|
946
|
+
*/
|
|
693
947
|
page?: number;
|
|
694
|
-
/**
|
|
948
|
+
/**
|
|
949
|
+
* Number of namespaces per page.
|
|
950
|
+
*/
|
|
695
951
|
pageSize?: number;
|
|
696
|
-
/**
|
|
952
|
+
/**
|
|
953
|
+
* Order of the namespaces.
|
|
954
|
+
*/
|
|
697
955
|
orderBy?: ListNamespacesRequestOrderBy;
|
|
698
|
-
/**
|
|
956
|
+
/**
|
|
957
|
+
* Name of the namespaces.
|
|
958
|
+
*/
|
|
699
959
|
name?: string;
|
|
700
|
-
/**
|
|
960
|
+
/**
|
|
961
|
+
* UUID of the Organization the namespace belongs to.
|
|
962
|
+
*/
|
|
701
963
|
organizationId?: string;
|
|
702
|
-
/**
|
|
964
|
+
/**
|
|
965
|
+
* UUID of the Project the namespace belongs to.
|
|
966
|
+
*/
|
|
703
967
|
projectId?: string;
|
|
704
968
|
};
|
|
705
969
|
export interface ListNamespacesResponse {
|
|
706
|
-
/**
|
|
970
|
+
/**
|
|
971
|
+
* Array of the namespaces.
|
|
972
|
+
*/
|
|
707
973
|
namespaces: Namespace[];
|
|
708
|
-
/**
|
|
974
|
+
/**
|
|
975
|
+
* Total number of namespaces.
|
|
976
|
+
*/
|
|
709
977
|
totalCount: number;
|
|
710
978
|
}
|
|
711
979
|
export type ListTokensRequest = {
|
|
712
980
|
/**
|
|
713
|
-
* Region to target. If none is passed will use default region from the
|
|
714
|
-
* config.
|
|
981
|
+
* Region to target. If none is passed will use default region from the config.
|
|
715
982
|
*/
|
|
716
983
|
region?: ScwRegion;
|
|
717
|
-
/**
|
|
984
|
+
/**
|
|
985
|
+
* Page number.
|
|
986
|
+
*/
|
|
718
987
|
page?: number;
|
|
719
|
-
/**
|
|
988
|
+
/**
|
|
989
|
+
* Number of tokens per page.
|
|
990
|
+
*/
|
|
720
991
|
pageSize?: number;
|
|
721
|
-
/**
|
|
992
|
+
/**
|
|
993
|
+
* Order of the tokens.
|
|
994
|
+
*/
|
|
722
995
|
orderBy?: ListTokensRequestOrderBy;
|
|
723
|
-
/**
|
|
996
|
+
/**
|
|
997
|
+
* UUID of the container the token belongs to.
|
|
998
|
+
*/
|
|
724
999
|
containerId?: string;
|
|
725
|
-
/**
|
|
1000
|
+
/**
|
|
1001
|
+
* UUID of the namespace the token belongs to.
|
|
1002
|
+
*/
|
|
726
1003
|
namespaceId?: string;
|
|
727
1004
|
};
|
|
728
1005
|
export interface ListTokensResponse {
|
|
@@ -731,151 +1008,200 @@ export interface ListTokensResponse {
|
|
|
731
1008
|
}
|
|
732
1009
|
export type ListTriggersRequest = {
|
|
733
1010
|
/**
|
|
734
|
-
* Region to target. If none is passed will use default region from the
|
|
735
|
-
* config.
|
|
1011
|
+
* Region to target. If none is passed will use default region from the config.
|
|
736
1012
|
*/
|
|
737
1013
|
region?: ScwRegion;
|
|
738
|
-
/**
|
|
1014
|
+
/**
|
|
1015
|
+
* Page number to return.
|
|
1016
|
+
*/
|
|
739
1017
|
page?: number;
|
|
740
|
-
/**
|
|
1018
|
+
/**
|
|
1019
|
+
* Maximum number of triggers to return per page.
|
|
1020
|
+
*/
|
|
741
1021
|
pageSize?: number;
|
|
742
|
-
/**
|
|
1022
|
+
/**
|
|
1023
|
+
* Order in which to return results.
|
|
1024
|
+
*/
|
|
743
1025
|
orderBy?: ListTriggersRequestOrderBy;
|
|
744
1026
|
/**
|
|
745
1027
|
* ID of the container the triggers belongs to.
|
|
746
1028
|
*
|
|
747
|
-
* One-of ('scope'): at most one of 'containerId', 'namespaceId', 'projectId'
|
|
748
|
-
* could be set.
|
|
1029
|
+
* One-of ('scope'): at most one of 'containerId', 'namespaceId', 'projectId' could be set.
|
|
749
1030
|
*/
|
|
750
1031
|
containerId?: string;
|
|
751
1032
|
/**
|
|
752
1033
|
* ID of the namespace the triggers belongs to.
|
|
753
1034
|
*
|
|
754
|
-
* One-of ('scope'): at most one of 'containerId', 'namespaceId', 'projectId'
|
|
755
|
-
* could be set.
|
|
1035
|
+
* One-of ('scope'): at most one of 'containerId', 'namespaceId', 'projectId' could be set.
|
|
756
1036
|
*/
|
|
757
1037
|
namespaceId?: string;
|
|
758
1038
|
/**
|
|
759
1039
|
* ID of the project the triggers belongs to.
|
|
760
1040
|
*
|
|
761
|
-
* One-of ('scope'): at most one of 'containerId', 'namespaceId', 'projectId'
|
|
762
|
-
* could be set.
|
|
1041
|
+
* One-of ('scope'): at most one of 'containerId', 'namespaceId', 'projectId' could be set.
|
|
763
1042
|
*/
|
|
764
1043
|
projectId?: string;
|
|
765
1044
|
};
|
|
766
1045
|
export interface ListTriggersResponse {
|
|
767
|
-
/**
|
|
1046
|
+
/**
|
|
1047
|
+
* Total count of existing triggers (matching any filters specified).
|
|
1048
|
+
*/
|
|
768
1049
|
totalCount: number;
|
|
769
|
-
/**
|
|
1050
|
+
/**
|
|
1051
|
+
* Triggers on this page.
|
|
1052
|
+
*/
|
|
770
1053
|
triggers: Trigger[];
|
|
771
1054
|
}
|
|
772
1055
|
export type UpdateContainerRequest = {
|
|
773
1056
|
/**
|
|
774
|
-
* Region to target. If none is passed will use default region from the
|
|
775
|
-
* config.
|
|
1057
|
+
* Region to target. If none is passed will use default region from the config.
|
|
776
1058
|
*/
|
|
777
1059
|
region?: ScwRegion;
|
|
778
|
-
/**
|
|
1060
|
+
/**
|
|
1061
|
+
* UUID of the container to update.
|
|
1062
|
+
*/
|
|
779
1063
|
containerId: string;
|
|
780
|
-
/**
|
|
1064
|
+
/**
|
|
1065
|
+
* Environment variables of the container.
|
|
1066
|
+
*/
|
|
781
1067
|
environmentVariables?: Record<string, string>;
|
|
782
|
-
/**
|
|
1068
|
+
/**
|
|
1069
|
+
* Minimum number of instances to scale the container to.
|
|
1070
|
+
*/
|
|
783
1071
|
minScale?: number;
|
|
784
|
-
/**
|
|
1072
|
+
/**
|
|
1073
|
+
* Maximum number of instances to scale the container to.
|
|
1074
|
+
*/
|
|
785
1075
|
maxScale?: number;
|
|
786
|
-
/**
|
|
1076
|
+
/**
|
|
1077
|
+
* Memory limit of the container in MB.
|
|
1078
|
+
*/
|
|
787
1079
|
memoryLimit?: number;
|
|
788
|
-
/**
|
|
1080
|
+
/**
|
|
1081
|
+
* CPU limit of the container in mvCPU.
|
|
1082
|
+
*/
|
|
789
1083
|
cpuLimit?: number;
|
|
790
|
-
/**
|
|
1084
|
+
/**
|
|
1085
|
+
* Processing time limit for the container.
|
|
1086
|
+
*/
|
|
791
1087
|
timeout?: string;
|
|
792
|
-
/**
|
|
1088
|
+
/**
|
|
1089
|
+
* Defines whether to redeploy failed containers.
|
|
1090
|
+
*/
|
|
793
1091
|
redeploy?: boolean;
|
|
794
|
-
/**
|
|
1092
|
+
/**
|
|
1093
|
+
* Privacy settings of the container.
|
|
1094
|
+
*/
|
|
795
1095
|
privacy?: ContainerPrivacy;
|
|
796
|
-
/**
|
|
1096
|
+
/**
|
|
1097
|
+
* Description of the container.
|
|
1098
|
+
*/
|
|
797
1099
|
description?: string;
|
|
798
1100
|
/**
|
|
799
|
-
* Name of the registry image (e.g.
|
|
800
|
-
* "rg.fr-par.scw.cloud/something/image:tag").
|
|
1101
|
+
* Name of the registry image (e.g. "rg.fr-par.scw.cloud/something/image:tag").
|
|
801
1102
|
*/
|
|
802
1103
|
registryImage?: string;
|
|
803
|
-
/**
|
|
1104
|
+
/**
|
|
1105
|
+
* @deprecated Number of maximum concurrent executions of the container.
|
|
1106
|
+
*/
|
|
804
1107
|
maxConcurrency?: number;
|
|
805
1108
|
protocol?: ContainerProtocol;
|
|
806
1109
|
port?: number;
|
|
807
1110
|
secretEnvironmentVariables?: Secret[];
|
|
808
1111
|
/**
|
|
809
1112
|
* Possible values:
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
* to use HTTPS.
|
|
813
|
-
* - Enabled: Serve both HTTP and HTTPS traffic.
|
|
1113
|
+
- redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS.
|
|
1114
|
+
- enabled: Serve both HTTP and HTTPS traffic.
|
|
814
1115
|
*/
|
|
815
1116
|
httpOption?: ContainerHttpOption;
|
|
816
|
-
/**
|
|
1117
|
+
/**
|
|
1118
|
+
* Execution environment of the container.
|
|
1119
|
+
*/
|
|
817
1120
|
sandbox?: ContainerSandbox;
|
|
818
|
-
/**
|
|
1121
|
+
/**
|
|
1122
|
+
* Local storage limit of the container (in MB).
|
|
1123
|
+
*/
|
|
819
1124
|
localStorageLimit?: number;
|
|
820
1125
|
/**
|
|
821
1126
|
* Possible values:
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
* - Cpu_usage_threshold: Scale depending on the CPU usage of a container
|
|
826
|
-
* instance.
|
|
827
|
-
* - Memory_usage_threshold: Scale depending on the memory usage of a container
|
|
828
|
-
* instance.
|
|
1127
|
+
- concurrent_requests_threshold: Scale depending on the number of concurrent requests being processed per container instance.
|
|
1128
|
+
- cpu_usage_threshold: Scale depending on the CPU usage of a container instance.
|
|
1129
|
+
- memory_usage_threshold: Scale depending on the memory usage of a container instance.
|
|
829
1130
|
*/
|
|
830
1131
|
scalingOption?: ContainerScalingOption;
|
|
831
|
-
/**
|
|
1132
|
+
/**
|
|
1133
|
+
* Health check configuration of the container.
|
|
1134
|
+
*/
|
|
832
1135
|
healthCheck?: ContainerHealthCheckSpec;
|
|
833
1136
|
};
|
|
834
1137
|
export type UpdateCronRequest = {
|
|
835
1138
|
/**
|
|
836
|
-
* Region to target. If none is passed will use default region from the
|
|
837
|
-
* config.
|
|
1139
|
+
* Region to target. If none is passed will use default region from the config.
|
|
838
1140
|
*/
|
|
839
1141
|
region?: ScwRegion;
|
|
840
|
-
/**
|
|
1142
|
+
/**
|
|
1143
|
+
* UUID of the cron to update.
|
|
1144
|
+
*/
|
|
841
1145
|
cronId: string;
|
|
842
|
-
/**
|
|
1146
|
+
/**
|
|
1147
|
+
* UUID of the container invoked by the cron.
|
|
1148
|
+
*/
|
|
843
1149
|
containerId?: string;
|
|
844
|
-
/**
|
|
1150
|
+
/**
|
|
1151
|
+
* UNIX cron schedule.
|
|
1152
|
+
*/
|
|
845
1153
|
schedule?: string;
|
|
846
|
-
/**
|
|
1154
|
+
/**
|
|
1155
|
+
* Arguments to pass with the cron.
|
|
1156
|
+
*/
|
|
847
1157
|
args?: Record<string, unknown>;
|
|
848
|
-
/**
|
|
1158
|
+
/**
|
|
1159
|
+
* Name of the cron.
|
|
1160
|
+
*/
|
|
849
1161
|
name?: string;
|
|
850
1162
|
};
|
|
851
1163
|
export type UpdateNamespaceRequest = {
|
|
852
1164
|
/**
|
|
853
|
-
* Region to target. If none is passed will use default region from the
|
|
854
|
-
* config.
|
|
1165
|
+
* Region to target. If none is passed will use default region from the config.
|
|
855
1166
|
*/
|
|
856
1167
|
region?: ScwRegion;
|
|
857
|
-
/**
|
|
1168
|
+
/**
|
|
1169
|
+
* UUID of the namespace to update.
|
|
1170
|
+
*/
|
|
858
1171
|
namespaceId: string;
|
|
859
|
-
/**
|
|
1172
|
+
/**
|
|
1173
|
+
* Environment variables of the namespace to update.
|
|
1174
|
+
*/
|
|
860
1175
|
environmentVariables?: Record<string, string>;
|
|
861
|
-
/**
|
|
1176
|
+
/**
|
|
1177
|
+
* Description of the namespace to update.
|
|
1178
|
+
*/
|
|
862
1179
|
description?: string;
|
|
863
|
-
/**
|
|
1180
|
+
/**
|
|
1181
|
+
* Secret environment variables of the namespace to update.
|
|
1182
|
+
*/
|
|
864
1183
|
secretEnvironmentVariables?: Secret[];
|
|
865
|
-
/**
|
|
1184
|
+
/**
|
|
1185
|
+
* [ALPHA] Tags of the Serverless Container Namespace.
|
|
1186
|
+
*/
|
|
866
1187
|
tags?: string[];
|
|
867
1188
|
};
|
|
868
1189
|
export type UpdateTriggerRequest = {
|
|
869
1190
|
/**
|
|
870
|
-
* Region to target. If none is passed will use default region from the
|
|
871
|
-
* config.
|
|
1191
|
+
* Region to target. If none is passed will use default region from the config.
|
|
872
1192
|
*/
|
|
873
1193
|
region?: ScwRegion;
|
|
874
|
-
/**
|
|
1194
|
+
/**
|
|
1195
|
+
* ID of the trigger to update.
|
|
1196
|
+
*/
|
|
875
1197
|
triggerId: string;
|
|
876
|
-
/**
|
|
1198
|
+
/**
|
|
1199
|
+
* Name of the trigger.
|
|
1200
|
+
*/
|
|
877
1201
|
name?: string;
|
|
878
|
-
/**
|
|
1202
|
+
/**
|
|
1203
|
+
* Description of the trigger.
|
|
1204
|
+
*/
|
|
879
1205
|
description?: string;
|
|
880
1206
|
/**
|
|
881
1207
|
* Configuration for an AWS SQS queue.
|