@scaleway/sdk 2.73.0 → 2.75.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/index.gen.cjs +373 -0
- package/dist/index.gen.d.ts +320 -0
- package/dist/index.gen.js +283 -0
- package/package.json +73 -26
- package/README.md +0 -47
- package/dist/api/account/index.gen.cjs +0 -6
- package/dist/api/account/index.gen.d.ts +0 -6
- package/dist/api/account/index.gen.js +0 -6
- package/dist/api/account/v2/api.gen.cjs +0 -118
- package/dist/api/account/v2/api.gen.d.ts +0 -67
- package/dist/api/account/v2/api.gen.js +0 -118
- package/dist/api/account/v2/index.gen.cjs +0 -4
- package/dist/api/account/v2/index.gen.d.ts +0 -2
- package/dist/api/account/v2/index.gen.js +0 -4
- package/dist/api/account/v2/marshalling.gen.cjs +0 -46
- package/dist/api/account/v2/marshalling.gen.d.ts +0 -6
- package/dist/api/account/v2/marshalling.gen.js +0 -46
- package/dist/api/account/v2/types.gen.d.ts +0 -62
- package/dist/api/account/v3/api.gen.cjs +0 -218
- package/dist/api/account/v3/api.gen.d.ts +0 -100
- package/dist/api/account/v3/api.gen.js +0 -218
- package/dist/api/account/v3/index.gen.cjs +0 -7
- package/dist/api/account/v3/index.gen.d.ts +0 -3
- package/dist/api/account/v3/index.gen.js +0 -7
- package/dist/api/account/v3/marshalling.gen.cjs +0 -288
- package/dist/api/account/v3/marshalling.gen.d.ts +0 -13
- package/dist/api/account/v3/marshalling.gen.js +0 -288
- package/dist/api/account/v3/types.gen.d.ts +0 -338
- package/dist/api/account/v3/validation-rules.gen.cjs +0 -61
- package/dist/api/account/v3/validation-rules.gen.d.ts +0 -53
- package/dist/api/account/v3/validation-rules.gen.js +0 -61
- package/dist/api/applesilicon/index.gen.cjs +0 -4
- package/dist/api/applesilicon/index.gen.d.ts +0 -5
- package/dist/api/applesilicon/index.gen.js +0 -4
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +0 -337
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +0 -153
- package/dist/api/applesilicon/v1alpha1/api.gen.js +0 -337
- package/dist/api/applesilicon/v1alpha1/content.gen.cjs +0 -16
- package/dist/api/applesilicon/v1alpha1/content.gen.d.ts +0 -7
- package/dist/api/applesilicon/v1alpha1/content.gen.js +0 -16
- package/dist/api/applesilicon/v1alpha1/index.gen.cjs +0 -9
- package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +0 -3
- package/dist/api/applesilicon/v1alpha1/index.gen.js +0 -9
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +0 -301
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +0 -19
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +0 -301
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +0 -564
- package/dist/api/audit_trail/index.gen.cjs +0 -4
- package/dist/api/audit_trail/index.gen.d.ts +0 -5
- package/dist/api/audit_trail/index.gen.js +0 -4
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +0 -62
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +0 -26
- package/dist/api/audit_trail/v1alpha1/api.gen.js +0 -62
- package/dist/api/audit_trail/v1alpha1/index.gen.cjs +0 -6
- package/dist/api/audit_trail/v1alpha1/index.gen.d.ts +0 -3
- package/dist/api/audit_trail/v1alpha1/index.gen.js +0 -6
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +0 -183
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.d.ts +0 -5
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +0 -183
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +0 -246
- package/dist/api/audit_trail/v1alpha1/validation-rules.gen.cjs +0 -22
- package/dist/api/audit_trail/v1alpha1/validation-rules.gen.d.ts +0 -19
- package/dist/api/audit_trail/v1alpha1/validation-rules.gen.js +0 -22
- package/dist/api/baremetal/index.gen.cjs +0 -6
- package/dist/api/baremetal/index.gen.d.ts +0 -6
- package/dist/api/baremetal/index.gen.js +0 -6
- package/dist/api/baremetal/v1/api.gen.cjs +0 -595
- package/dist/api/baremetal/v1/api.gen.d.ts +0 -279
- package/dist/api/baremetal/v1/api.gen.js +0 -595
- package/dist/api/baremetal/v1/api.utils.cjs +0 -38
- package/dist/api/baremetal/v1/api.utils.d.ts +0 -13
- package/dist/api/baremetal/v1/api.utils.js +0 -38
- package/dist/api/baremetal/v1/content.gen.cjs +0 -19
- package/dist/api/baremetal/v1/content.gen.d.ts +0 -7
- package/dist/api/baremetal/v1/content.gen.js +0 -19
- package/dist/api/baremetal/v1/index.cjs +0 -12
- package/dist/api/baremetal/v1/index.d.ts +0 -5
- package/dist/api/baremetal/v1/index.gen.d.ts +0 -4
- package/dist/api/baremetal/v1/index.js +0 -12
- package/dist/api/baremetal/v1/marshalling.gen.cjs +0 -721
- package/dist/api/baremetal/v1/marshalling.gen.d.ts +0 -33
- package/dist/api/baremetal/v1/marshalling.gen.js +0 -721
- package/dist/api/baremetal/v1/types.gen.d.ts +0 -1376
- package/dist/api/baremetal/v1/validation-rules.gen.cjs +0 -116
- package/dist/api/baremetal/v1/validation-rules.gen.d.ts +0 -104
- package/dist/api/baremetal/v1/validation-rules.gen.js +0 -116
- package/dist/api/baremetal/v3/api.gen.cjs +0 -103
- package/dist/api/baremetal/v3/api.gen.d.ts +0 -41
- package/dist/api/baremetal/v3/api.gen.js +0 -103
- package/dist/api/baremetal/v3/content.gen.cjs +0 -4
- package/dist/api/baremetal/v3/content.gen.d.ts +0 -3
- package/dist/api/baremetal/v3/content.gen.js +0 -4
- package/dist/api/baremetal/v3/index.gen.cjs +0 -6
- package/dist/api/baremetal/v3/index.gen.d.ts +0 -3
- package/dist/api/baremetal/v3/index.gen.js +0 -6
- package/dist/api/baremetal/v3/marshalling.gen.cjs +0 -63
- package/dist/api/baremetal/v3/marshalling.gen.d.ts +0 -7
- package/dist/api/baremetal/v3/marshalling.gen.js +0 -63
- package/dist/api/baremetal/v3/types.gen.d.ts +0 -132
- package/dist/api/billing/index.gen.cjs +0 -6
- package/dist/api/billing/index.gen.d.ts +0 -6
- package/dist/api/billing/index.gen.js +0 -6
- package/dist/api/billing/v2alpha1/api.gen.cjs +0 -94
- package/dist/api/billing/v2alpha1/api.gen.d.ts +0 -51
- package/dist/api/billing/v2alpha1/api.gen.js +0 -94
- package/dist/api/billing/v2alpha1/index.gen.cjs +0 -4
- package/dist/api/billing/v2alpha1/index.gen.d.ts +0 -2
- package/dist/api/billing/v2alpha1/index.gen.js +0 -4
- package/dist/api/billing/v2alpha1/marshalling.gen.cjs +0 -119
- package/dist/api/billing/v2alpha1/marshalling.gen.d.ts +0 -4
- package/dist/api/billing/v2alpha1/marshalling.gen.js +0 -119
- package/dist/api/billing/v2alpha1/types.gen.d.ts +0 -138
- package/dist/api/billing/v2beta1/api.gen.cjs +0 -175
- package/dist/api/billing/v2beta1/api.gen.d.ts +0 -77
- package/dist/api/billing/v2beta1/api.gen.js +0 -175
- package/dist/api/billing/v2beta1/index.gen.cjs +0 -4
- package/dist/api/billing/v2beta1/index.gen.d.ts +0 -2
- package/dist/api/billing/v2beta1/index.gen.js +0 -4
- package/dist/api/billing/v2beta1/marshalling.gen.cjs +0 -160
- package/dist/api/billing/v2beta1/marshalling.gen.d.ts +0 -6
- package/dist/api/billing/v2beta1/marshalling.gen.js +0 -160
- package/dist/api/billing/v2beta1/types.gen.d.ts +0 -400
- package/dist/api/block/index.gen.cjs +0 -6
- package/dist/api/block/index.gen.d.ts +0 -6
- package/dist/api/block/index.gen.js +0 -6
- package/dist/api/block/v1/api.gen.cjs +0 -290
- package/dist/api/block/v1/api.gen.d.ts +0 -134
- package/dist/api/block/v1/api.gen.js +0 -290
- package/dist/api/block/v1/content.gen.cjs +0 -22
- package/dist/api/block/v1/content.gen.d.ts +0 -7
- package/dist/api/block/v1/content.gen.js +0 -22
- package/dist/api/block/v1/index.gen.cjs +0 -10
- package/dist/api/block/v1/index.gen.d.ts +0 -4
- package/dist/api/block/v1/index.gen.js +0 -10
- package/dist/api/block/v1/marshalling.gen.cjs +0 -201
- package/dist/api/block/v1/marshalling.gen.d.ts +0 -14
- package/dist/api/block/v1/marshalling.gen.js +0 -201
- package/dist/api/block/v1/types.gen.d.ts +0 -516
- package/dist/api/block/v1/validation-rules.gen.cjs +0 -56
- package/dist/api/block/v1/validation-rules.gen.d.ts +0 -47
- package/dist/api/block/v1/validation-rules.gen.js +0 -56
- package/dist/api/block/v1alpha1/api.gen.cjs +0 -310
- package/dist/api/block/v1alpha1/api.gen.d.ts +0 -144
- package/dist/api/block/v1alpha1/api.gen.js +0 -310
- package/dist/api/block/v1alpha1/content.gen.cjs +0 -22
- package/dist/api/block/v1alpha1/content.gen.d.ts +0 -7
- package/dist/api/block/v1alpha1/content.gen.js +0 -22
- package/dist/api/block/v1alpha1/index.gen.cjs +0 -10
- package/dist/api/block/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/block/v1alpha1/index.gen.js +0 -10
- package/dist/api/block/v1alpha1/marshalling.gen.cjs +0 -209
- package/dist/api/block/v1alpha1/marshalling.gen.d.ts +0 -14
- package/dist/api/block/v1alpha1/marshalling.gen.js +0 -209
- package/dist/api/block/v1alpha1/types.gen.d.ts +0 -546
- package/dist/api/block/v1alpha1/validation-rules.gen.cjs +0 -62
- package/dist/api/block/v1alpha1/validation-rules.gen.d.ts +0 -52
- package/dist/api/block/v1alpha1/validation-rules.gen.js +0 -62
- package/dist/api/cockpit/index.gen.cjs +0 -6
- package/dist/api/cockpit/index.gen.d.ts +0 -6
- package/dist/api/cockpit/index.gen.js +0 -6
- package/dist/api/cockpit/v1/api.gen.cjs +0 -656
- package/dist/api/cockpit/v1/api.gen.d.ts +0 -281
- package/dist/api/cockpit/v1/api.gen.js +0 -656
- package/dist/api/cockpit/v1/index.gen.cjs +0 -7
- package/dist/api/cockpit/v1/index.gen.d.ts +0 -3
- package/dist/api/cockpit/v1/index.gen.js +0 -7
- package/dist/api/cockpit/v1/marshalling.gen.cjs +0 -403
- package/dist/api/cockpit/v1/marshalling.gen.d.ts +0 -34
- package/dist/api/cockpit/v1/marshalling.gen.js +0 -403
- package/dist/api/cockpit/v1/types.gen.d.ts +0 -958
- package/dist/api/cockpit/v1/validation-rules.gen.cjs +0 -67
- package/dist/api/cockpit/v1/validation-rules.gen.d.ts +0 -59
- package/dist/api/cockpit/v1/validation-rules.gen.js +0 -67
- package/dist/api/cockpit/v1beta1/api.gen.cjs +0 -486
- package/dist/api/cockpit/v1beta1/api.gen.d.ts +0 -223
- package/dist/api/cockpit/v1beta1/api.gen.js +0 -486
- package/dist/api/cockpit/v1beta1/content.gen.cjs +0 -8
- package/dist/api/cockpit/v1beta1/content.gen.d.ts +0 -3
- package/dist/api/cockpit/v1beta1/content.gen.js +0 -8
- package/dist/api/cockpit/v1beta1/index.gen.cjs +0 -6
- package/dist/api/cockpit/v1beta1/index.gen.d.ts +0 -3
- package/dist/api/cockpit/v1beta1/index.gen.js +0 -6
- package/dist/api/cockpit/v1beta1/marshalling.gen.cjs +0 -344
- package/dist/api/cockpit/v1beta1/marshalling.gen.d.ts +0 -29
- package/dist/api/cockpit/v1beta1/marshalling.gen.js +0 -344
- package/dist/api/cockpit/v1beta1/types.gen.d.ts +0 -385
- package/dist/api/container/index.gen.cjs +0 -4
- package/dist/api/container/index.gen.d.ts +0 -5
- package/dist/api/container/index.gen.js +0 -4
- package/dist/api/container/v1beta1/api.gen.cjs +0 -607
- package/dist/api/container/v1beta1/api.gen.d.ts +0 -287
- package/dist/api/container/v1beta1/api.gen.js +0 -607
- package/dist/api/container/v1beta1/content.gen.cjs +0 -34
- package/dist/api/container/v1beta1/content.gen.d.ts +0 -13
- package/dist/api/container/v1beta1/content.gen.js +0 -34
- package/dist/api/container/v1beta1/index.gen.cjs +0 -13
- package/dist/api/container/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/container/v1beta1/index.gen.js +0 -13
- package/dist/api/container/v1beta1/marshalling.gen.cjs +0 -501
- package/dist/api/container/v1beta1/marshalling.gen.d.ts +0 -24
- package/dist/api/container/v1beta1/marshalling.gen.js +0 -501
- package/dist/api/container/v1beta1/types.gen.d.ts +0 -1212
- package/dist/api/container/v1beta1/validation-rules.gen.cjs +0 -61
- package/dist/api/container/v1beta1/validation-rules.gen.d.ts +0 -52
- package/dist/api/container/v1beta1/validation-rules.gen.js +0 -61
- package/dist/api/dedibox/index.gen.cjs +0 -4
- package/dist/api/dedibox/index.gen.d.ts +0 -5
- package/dist/api/dedibox/index.gen.js +0 -4
- package/dist/api/dedibox/v1/api.gen.cjs +0 -1444
- package/dist/api/dedibox/v1/api.gen.d.ts +0 -550
- package/dist/api/dedibox/v1/api.gen.js +0 -1444
- package/dist/api/dedibox/v1/content.gen.cjs +0 -49
- package/dist/api/dedibox/v1/content.gen.d.ts +0 -19
- package/dist/api/dedibox/v1/content.gen.js +0 -49
- package/dist/api/dedibox/v1/index.gen.cjs +0 -22
- package/dist/api/dedibox/v1/index.gen.d.ts +0 -4
- package/dist/api/dedibox/v1/index.gen.js +0 -22
- package/dist/api/dedibox/v1/marshalling.gen.cjs +0 -1476
- package/dist/api/dedibox/v1/marshalling.gen.d.ts +0 -82
- package/dist/api/dedibox/v1/marshalling.gen.js +0 -1476
- package/dist/api/dedibox/v1/types.gen.d.ts +0 -3020
- package/dist/api/dedibox/v1/validation-rules.gen.cjs +0 -626
- package/dist/api/dedibox/v1/validation-rules.gen.d.ts +0 -539
- package/dist/api/dedibox/v1/validation-rules.gen.js +0 -626
- package/dist/api/document_db/index.gen.cjs +0 -4
- package/dist/api/document_db/index.gen.d.ts +0 -5
- package/dist/api/document_db/index.gen.js +0 -4
- package/dist/api/document_db/v1beta1/api.gen.cjs +0 -1020
- package/dist/api/document_db/v1beta1/api.gen.d.ts +0 -542
- package/dist/api/document_db/v1beta1/api.gen.js +0 -1020
- package/dist/api/document_db/v1beta1/content.gen.cjs +0 -31
- package/dist/api/document_db/v1beta1/content.gen.d.ts +0 -11
- package/dist/api/document_db/v1beta1/content.gen.js +0 -31
- package/dist/api/document_db/v1beta1/index.gen.cjs +0 -12
- package/dist/api/document_db/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/document_db/v1beta1/index.gen.js +0 -12
- package/dist/api/document_db/v1beta1/marshalling.gen.cjs +0 -830
- package/dist/api/document_db/v1beta1/marshalling.gen.d.ts +0 -50
- package/dist/api/document_db/v1beta1/marshalling.gen.js +0 -830
- package/dist/api/document_db/v1beta1/types.gen.d.ts +0 -1254
- package/dist/api/document_db/v1beta1/validation-rules.gen.cjs +0 -8
- package/dist/api/document_db/v1beta1/validation-rules.gen.d.ts +0 -5
- package/dist/api/document_db/v1beta1/validation-rules.gen.js +0 -8
- package/dist/api/domain/index.gen.cjs +0 -4
- package/dist/api/domain/index.gen.d.ts +0 -5
- package/dist/api/domain/index.gen.js +0 -4
- package/dist/api/domain/v2beta1/api.gen.cjs +0 -998
- package/dist/api/domain/v2beta1/api.gen.d.ts +0 -463
- package/dist/api/domain/v2beta1/api.gen.js +0 -998
- package/dist/api/domain/v2beta1/content.gen.cjs +0 -29
- package/dist/api/domain/v2beta1/content.gen.d.ts +0 -15
- package/dist/api/domain/v2beta1/content.gen.js +0 -29
- package/dist/api/domain/v2beta1/index.gen.cjs +0 -13
- package/dist/api/domain/v2beta1/index.gen.d.ts +0 -3
- package/dist/api/domain/v2beta1/index.gen.js +0 -13
- package/dist/api/domain/v2beta1/marshalling.gen.cjs +0 -1473
- package/dist/api/domain/v2beta1/marshalling.gen.d.ts +0 -59
- package/dist/api/domain/v2beta1/marshalling.gen.js +0 -1473
- package/dist/api/domain/v2beta1/types.gen.d.ts +0 -1285
- package/dist/api/edge_services/index.gen.cjs +0 -6
- package/dist/api/edge_services/index.gen.d.ts +0 -6
- package/dist/api/edge_services/index.gen.js +0 -6
- package/dist/api/edge_services/v1alpha1/api.gen.cjs +0 -668
- package/dist/api/edge_services/v1alpha1/api.gen.d.ts +0 -319
- package/dist/api/edge_services/v1alpha1/api.gen.js +0 -668
- package/dist/api/edge_services/v1alpha1/content.gen.cjs +0 -8
- package/dist/api/edge_services/v1alpha1/content.gen.d.ts +0 -5
- package/dist/api/edge_services/v1alpha1/content.gen.js +0 -8
- package/dist/api/edge_services/v1alpha1/index.gen.cjs +0 -7
- package/dist/api/edge_services/v1alpha1/index.gen.d.ts +0 -3
- package/dist/api/edge_services/v1alpha1/index.gen.js +0 -7
- package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +0 -543
- package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +0 -37
- package/dist/api/edge_services/v1alpha1/marshalling.gen.js +0 -543
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +0 -828
- package/dist/api/edge_services/v1beta1/api.gen.cjs +0 -858
- package/dist/api/edge_services/v1beta1/api.gen.d.ts +0 -368
- package/dist/api/edge_services/v1beta1/api.gen.js +0 -858
- package/dist/api/edge_services/v1beta1/content.gen.cjs +0 -8
- package/dist/api/edge_services/v1beta1/content.gen.d.ts +0 -5
- package/dist/api/edge_services/v1beta1/content.gen.js +0 -8
- package/dist/api/edge_services/v1beta1/index.gen.cjs +0 -9
- package/dist/api/edge_services/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/edge_services/v1beta1/index.gen.js +0 -9
- package/dist/api/edge_services/v1beta1/marshalling.gen.cjs +0 -810
- package/dist/api/edge_services/v1beta1/marshalling.gen.d.ts +0 -54
- package/dist/api/edge_services/v1beta1/marshalling.gen.js +0 -810
- package/dist/api/edge_services/v1beta1/types.gen.d.ts +0 -1422
- package/dist/api/edge_services/v1beta1/validation-rules.gen.cjs +0 -23
- package/dist/api/edge_services/v1beta1/validation-rules.gen.d.ts +0 -18
- package/dist/api/edge_services/v1beta1/validation-rules.gen.js +0 -23
- package/dist/api/flexibleip/index.gen.cjs +0 -4
- package/dist/api/flexibleip/index.gen.d.ts +0 -5
- package/dist/api/flexibleip/index.gen.js +0 -4
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +0 -217
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +0 -99
- package/dist/api/flexibleip/v1alpha1/api.gen.js +0 -217
- package/dist/api/flexibleip/v1alpha1/content.gen.cjs +0 -12
- package/dist/api/flexibleip/v1alpha1/content.gen.d.ts +0 -5
- package/dist/api/flexibleip/v1alpha1/content.gen.js +0 -12
- package/dist/api/flexibleip/v1alpha1/index.gen.cjs +0 -9
- package/dist/api/flexibleip/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/flexibleip/v1alpha1/index.gen.js +0 -9
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +0 -117
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +0 -13
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +0 -117
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +0 -304
- package/dist/api/flexibleip/v1alpha1/validation-rules.gen.cjs +0 -12
- package/dist/api/flexibleip/v1alpha1/validation-rules.gen.d.ts +0 -9
- package/dist/api/flexibleip/v1alpha1/validation-rules.gen.js +0 -12
- package/dist/api/function/index.gen.cjs +0 -4
- package/dist/api/function/index.gen.d.ts +0 -5
- package/dist/api/function/index.gen.js +0 -4
- package/dist/api/function/v1beta1/api.gen.cjs +0 -647
- package/dist/api/function/v1beta1/api.gen.d.ts +0 -308
- package/dist/api/function/v1beta1/api.gen.js +0 -647
- package/dist/api/function/v1beta1/content.gen.cjs +0 -34
- package/dist/api/function/v1beta1/content.gen.d.ts +0 -13
- package/dist/api/function/v1beta1/content.gen.js +0 -34
- package/dist/api/function/v1beta1/index.gen.cjs +0 -13
- package/dist/api/function/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/function/v1beta1/index.gen.js +0 -13
- package/dist/api/function/v1beta1/marshalling.gen.cjs +0 -470
- package/dist/api/function/v1beta1/marshalling.gen.d.ts +0 -27
- package/dist/api/function/v1beta1/marshalling.gen.js +0 -470
- package/dist/api/function/v1beta1/types.gen.d.ts +0 -1159
- package/dist/api/function/v1beta1/validation-rules.gen.cjs +0 -45
- package/dist/api/function/v1beta1/validation-rules.gen.d.ts +0 -39
- package/dist/api/function/v1beta1/validation-rules.gen.js +0 -45
- package/dist/api/iam/index.gen.cjs +0 -4
- package/dist/api/iam/index.gen.d.ts +0 -5
- package/dist/api/iam/index.gen.js +0 -4
- package/dist/api/iam/v1alpha1/api.gen.cjs +0 -1004
- package/dist/api/iam/v1alpha1/api.gen.d.ts +0 -438
- package/dist/api/iam/v1alpha1/api.gen.js +0 -1004
- package/dist/api/iam/v1alpha1/index.gen.cjs +0 -6
- package/dist/api/iam/v1alpha1/index.gen.d.ts +0 -3
- package/dist/api/iam/v1alpha1/index.gen.js +0 -6
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +0 -686
- package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +0 -51
- package/dist/api/iam/v1alpha1/marshalling.gen.js +0 -686
- package/dist/api/iam/v1alpha1/types.gen.d.ts +0 -1720
- package/dist/api/iam/v1alpha1/validation-rules.gen.cjs +0 -307
- package/dist/api/iam/v1alpha1/validation-rules.gen.d.ts +0 -276
- package/dist/api/iam/v1alpha1/validation-rules.gen.js +0 -307
- package/dist/api/index.d.ts +0 -65
- package/dist/api/index.gen.d.ts +0 -46
- package/dist/api/inference/index.gen.cjs +0 -6
- package/dist/api/inference/index.gen.d.ts +0 -6
- package/dist/api/inference/index.gen.js +0 -6
- package/dist/api/inference/v1/api.gen.cjs +0 -276
- package/dist/api/inference/v1/api.gen.d.ts +0 -137
- package/dist/api/inference/v1/api.gen.js +0 -276
- package/dist/api/inference/v1/content.gen.cjs +0 -13
- package/dist/api/inference/v1/content.gen.d.ts +0 -5
- package/dist/api/inference/v1/content.gen.js +0 -13
- package/dist/api/inference/v1/index.gen.cjs +0 -9
- package/dist/api/inference/v1/index.gen.d.ts +0 -4
- package/dist/api/inference/v1/index.gen.js +0 -9
- package/dist/api/inference/v1/marshalling.gen.cjs +0 -261
- package/dist/api/inference/v1/marshalling.gen.d.ts +0 -14
- package/dist/api/inference/v1/marshalling.gen.js +0 -261
- package/dist/api/inference/v1/types.gen.d.ts +0 -577
- package/dist/api/inference/v1/validation-rules.gen.cjs +0 -65
- package/dist/api/inference/v1/validation-rules.gen.d.ts +0 -57
- package/dist/api/inference/v1/validation-rules.gen.js +0 -65
- package/dist/api/inference/v1beta1/api.gen.cjs +0 -306
- package/dist/api/inference/v1beta1/api.gen.d.ts +0 -148
- package/dist/api/inference/v1beta1/api.gen.js +0 -306
- package/dist/api/inference/v1beta1/content.gen.cjs +0 -8
- package/dist/api/inference/v1beta1/content.gen.d.ts +0 -3
- package/dist/api/inference/v1beta1/content.gen.js +0 -8
- package/dist/api/inference/v1beta1/index.gen.cjs +0 -8
- package/dist/api/inference/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/inference/v1beta1/index.gen.js +0 -8
- package/dist/api/inference/v1beta1/marshalling.gen.cjs +0 -274
- package/dist/api/inference/v1beta1/marshalling.gen.d.ts +0 -18
- package/dist/api/inference/v1beta1/marshalling.gen.js +0 -274
- package/dist/api/inference/v1beta1/types.gen.d.ts +0 -622
- package/dist/api/inference/v1beta1/validation-rules.gen.cjs +0 -56
- package/dist/api/inference/v1beta1/validation-rules.gen.d.ts +0 -50
- package/dist/api/inference/v1beta1/validation-rules.gen.js +0 -56
- package/dist/api/instance/index.gen.cjs +0 -4
- package/dist/api/instance/index.gen.d.ts +0 -5
- package/dist/api/instance/index.gen.js +0 -4
- package/dist/api/instance/v1/api.gen.cjs +0 -1140
- package/dist/api/instance/v1/api.gen.d.ts +0 -493
- package/dist/api/instance/v1/api.gen.js +0 -1140
- package/dist/api/instance/v1/api.utils.cjs +0 -280
- package/dist/api/instance/v1/api.utils.d.ts +0 -95
- package/dist/api/instance/v1/api.utils.js +0 -280
- package/dist/api/instance/v1/content.gen.cjs +0 -44
- package/dist/api/instance/v1/content.gen.d.ts +0 -21
- package/dist/api/instance/v1/content.gen.js +0 -44
- package/dist/api/instance/v1/index.cjs +0 -15
- package/dist/api/instance/v1/index.d.ts +0 -4
- package/dist/api/instance/v1/index.gen.d.ts +0 -4
- package/dist/api/instance/v1/index.js +0 -15
- package/dist/api/instance/v1/marshalling.gen.cjs +0 -1823
- package/dist/api/instance/v1/marshalling.gen.d.ts +0 -95
- package/dist/api/instance/v1/marshalling.gen.js +0 -1823
- package/dist/api/instance/v1/marshalling.utils.d.ts +0 -3
- package/dist/api/instance/v1/types.gen.d.ts +0 -2601
- package/dist/api/instance/v1/types.private.gen.d.ts +0 -244
- package/dist/api/instance/v1/types.utils.d.ts +0 -35
- package/dist/api/instance/v1/validation-rules.gen.d.ts +0 -10
- package/dist/api/interlink/index.gen.cjs +0 -4
- package/dist/api/interlink/index.gen.d.ts +0 -5
- package/dist/api/interlink/index.gen.js +0 -4
- package/dist/api/interlink/v1beta1/api.gen.cjs +0 -453
- package/dist/api/interlink/v1beta1/api.gen.d.ts +0 -201
- package/dist/api/interlink/v1beta1/api.gen.js +0 -453
- package/dist/api/interlink/v1beta1/content.gen.cjs +0 -6
- package/dist/api/interlink/v1beta1/content.gen.d.ts +0 -5
- package/dist/api/interlink/v1beta1/content.gen.js +0 -6
- package/dist/api/interlink/v1beta1/index.gen.cjs +0 -9
- package/dist/api/interlink/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/interlink/v1beta1/index.gen.js +0 -9
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +0 -257
- package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +0 -18
- package/dist/api/interlink/v1beta1/marshalling.gen.js +0 -257
- package/dist/api/interlink/v1beta1/types.gen.d.ts +0 -810
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +0 -132
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +0 -116
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +0 -132
- package/dist/api/iot/index.gen.cjs +0 -4
- package/dist/api/iot/index.gen.d.ts +0 -5
- package/dist/api/iot/index.gen.js +0 -4
- package/dist/api/iot/v1/api.gen.cjs +0 -591
- package/dist/api/iot/v1/api.gen.d.ts +0 -293
- package/dist/api/iot/v1/api.gen.js +0 -591
- package/dist/api/iot/v1/content.gen.cjs +0 -4
- package/dist/api/iot/v1/content.gen.d.ts +0 -3
- package/dist/api/iot/v1/content.gen.js +0 -4
- package/dist/api/iot/v1/index.gen.cjs +0 -6
- package/dist/api/iot/v1/index.gen.d.ts +0 -3
- package/dist/api/iot/v1/index.gen.js +0 -6
- package/dist/api/iot/v1/marshalling.gen.cjs +0 -535
- package/dist/api/iot/v1/marshalling.gen.d.ts +0 -31
- package/dist/api/iot/v1/marshalling.gen.js +0 -535
- package/dist/api/iot/v1/types.gen.d.ts +0 -1161
- package/dist/api/ipam/index.gen.cjs +0 -4
- package/dist/api/ipam/index.gen.d.ts +0 -5
- package/dist/api/ipam/index.gen.js +0 -4
- package/dist/api/ipam/v1/api.gen.cjs +0 -179
- package/dist/api/ipam/v1/api.gen.d.ts +0 -72
- package/dist/api/ipam/v1/api.gen.js +0 -179
- package/dist/api/ipam/v1/index.gen.cjs +0 -6
- package/dist/api/ipam/v1/index.gen.d.ts +0 -3
- package/dist/api/ipam/v1/index.gen.js +0 -6
- package/dist/api/ipam/v1/marshalling.gen.cjs +0 -122
- package/dist/api/ipam/v1/marshalling.gen.d.ts +0 -10
- package/dist/api/ipam/v1/marshalling.gen.js +0 -122
- package/dist/api/ipam/v1/types.gen.d.ts +0 -324
- package/dist/api/ipam/v1/validation-rules.gen.cjs +0 -9
- package/dist/api/ipam/v1/validation-rules.gen.d.ts +0 -6
- package/dist/api/ipam/v1/validation-rules.gen.js +0 -9
- package/dist/api/ipfs/index.gen.cjs +0 -4
- package/dist/api/ipfs/index.gen.d.ts +0 -5
- package/dist/api/ipfs/index.gen.js +0 -4
- package/dist/api/ipfs/v1alpha1/api.gen.cjs +0 -376
- package/dist/api/ipfs/v1alpha1/api.gen.d.ts +0 -198
- package/dist/api/ipfs/v1alpha1/api.gen.js +0 -376
- package/dist/api/ipfs/v1alpha1/content.gen.cjs +0 -6
- package/dist/api/ipfs/v1alpha1/content.gen.d.ts +0 -5
- package/dist/api/ipfs/v1alpha1/content.gen.js +0 -6
- package/dist/api/ipfs/v1alpha1/index.gen.cjs +0 -8
- package/dist/api/ipfs/v1alpha1/index.gen.d.ts +0 -3
- package/dist/api/ipfs/v1alpha1/index.gen.js +0 -8
- package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +0 -210
- package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +0 -18
- package/dist/api/ipfs/v1alpha1/marshalling.gen.js +0 -210
- package/dist/api/ipfs/v1alpha1/types.gen.d.ts +0 -317
- package/dist/api/jobs/index.gen.cjs +0 -4
- package/dist/api/jobs/index.gen.d.ts +0 -5
- package/dist/api/jobs/index.gen.js +0 -4
- package/dist/api/jobs/v1alpha1/api.gen.cjs +0 -276
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +0 -130
- package/dist/api/jobs/v1alpha1/api.gen.js +0 -276
- package/dist/api/jobs/v1alpha1/content.gen.cjs +0 -8
- package/dist/api/jobs/v1alpha1/content.gen.d.ts +0 -3
- package/dist/api/jobs/v1alpha1/content.gen.js +0 -8
- package/dist/api/jobs/v1alpha1/index.gen.cjs +0 -8
- package/dist/api/jobs/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/jobs/v1alpha1/index.gen.js +0 -8
- package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +0 -265
- package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +0 -17
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +0 -265
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +0 -423
- package/dist/api/jobs/v1alpha1/validation-rules.gen.cjs +0 -115
- package/dist/api/jobs/v1alpha1/validation-rules.gen.d.ts +0 -103
- package/dist/api/jobs/v1alpha1/validation-rules.gen.js +0 -115
- package/dist/api/k8s/index.gen.cjs +0 -4
- package/dist/api/k8s/index.gen.d.ts +0 -5
- package/dist/api/k8s/index.gen.js +0 -4
- package/dist/api/k8s/v1/api.gen.cjs +0 -590
- package/dist/api/k8s/v1/api.gen.d.ts +0 -282
- package/dist/api/k8s/v1/api.gen.js +0 -590
- package/dist/api/k8s/v1/api.utils.cjs +0 -13
- package/dist/api/k8s/v1/api.utils.d.ts +0 -11
- package/dist/api/k8s/v1/api.utils.js +0 -13
- package/dist/api/k8s/v1/content.gen.cjs +0 -23
- package/dist/api/k8s/v1/content.gen.d.ts +0 -7
- package/dist/api/k8s/v1/content.gen.js +0 -23
- package/dist/api/k8s/v1/index.cjs +0 -10
- package/dist/api/k8s/v1/index.d.ts +0 -4
- package/dist/api/k8s/v1/index.gen.d.ts +0 -4
- package/dist/api/k8s/v1/index.js +0 -10
- package/dist/api/k8s/v1/marshalling.gen.cjs +0 -623
- package/dist/api/k8s/v1/marshalling.gen.d.ts +0 -28
- package/dist/api/k8s/v1/marshalling.gen.js +0 -623
- package/dist/api/k8s/v1/types.gen.d.ts +0 -1513
- package/dist/api/k8s/v1/validation-rules.gen.cjs +0 -171
- package/dist/api/k8s/v1/validation-rules.gen.d.ts +0 -153
- package/dist/api/k8s/v1/validation-rules.gen.js +0 -171
- package/dist/api/key_manager/index.gen.cjs +0 -4
- package/dist/api/key_manager/index.gen.d.ts +0 -5
- package/dist/api/key_manager/index.gen.js +0 -4
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +0 -258
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +0 -121
- package/dist/api/key_manager/v1alpha1/api.gen.js +0 -258
- package/dist/api/key_manager/v1alpha1/index.gen.cjs +0 -4
- package/dist/api/key_manager/v1alpha1/index.gen.d.ts +0 -2
- package/dist/api/key_manager/v1alpha1/index.gen.js +0 -4
- package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +0 -152
- package/dist/api/key_manager/v1alpha1/marshalling.gen.d.ts +0 -13
- package/dist/api/key_manager/v1alpha1/marshalling.gen.js +0 -152
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +0 -388
- package/dist/api/lb/index.gen.cjs +0 -4
- package/dist/api/lb/index.gen.d.ts +0 -5
- package/dist/api/lb/index.gen.js +0 -4
- package/dist/api/lb/v1/api.gen.cjs +0 -1879
- package/dist/api/lb/v1/api.gen.d.ts +0 -874
- package/dist/api/lb/v1/api.gen.js +0 -1879
- package/dist/api/lb/v1/api.utils.cjs +0 -118
- package/dist/api/lb/v1/api.utils.d.ts +0 -41
- package/dist/api/lb/v1/api.utils.js +0 -118
- package/dist/api/lb/v1/content.gen.cjs +0 -22
- package/dist/api/lb/v1/content.gen.d.ts +0 -9
- package/dist/api/lb/v1/content.gen.js +0 -22
- package/dist/api/lb/v1/index.cjs +0 -10
- package/dist/api/lb/v1/index.d.ts +0 -4
- package/dist/api/lb/v1/index.gen.d.ts +0 -3
- package/dist/api/lb/v1/index.js +0 -10
- package/dist/api/lb/v1/marshalling.gen.cjs +0 -1305
- package/dist/api/lb/v1/marshalling.gen.d.ts +0 -74
- package/dist/api/lb/v1/marshalling.gen.js +0 -1305
- package/dist/api/lb/v1/types.gen.d.ts +0 -3495
- package/dist/api/lb/v1/types.utils.d.ts +0 -13
- package/dist/api/llm_inference/index.gen.cjs +0 -4
- package/dist/api/llm_inference/index.gen.d.ts +0 -5
- package/dist/api/llm_inference/index.gen.js +0 -4
- package/dist/api/llm_inference/v1beta1/api.gen.cjs +0 -307
- package/dist/api/llm_inference/v1beta1/api.gen.d.ts +0 -151
- package/dist/api/llm_inference/v1beta1/api.gen.js +0 -307
- package/dist/api/llm_inference/v1beta1/content.gen.cjs +0 -8
- package/dist/api/llm_inference/v1beta1/content.gen.d.ts +0 -3
- package/dist/api/llm_inference/v1beta1/content.gen.js +0 -8
- package/dist/api/llm_inference/v1beta1/index.gen.cjs +0 -8
- package/dist/api/llm_inference/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/llm_inference/v1beta1/index.gen.js +0 -8
- package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +0 -273
- package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +0 -18
- package/dist/api/llm_inference/v1beta1/marshalling.gen.js +0 -273
- package/dist/api/llm_inference/v1beta1/types.gen.d.ts +0 -433
- package/dist/api/llm_inference/v1beta1/validation-rules.gen.cjs +0 -56
- package/dist/api/llm_inference/v1beta1/validation-rules.gen.d.ts +0 -50
- package/dist/api/llm_inference/v1beta1/validation-rules.gen.js +0 -56
- package/dist/api/marketplace/index.gen.cjs +0 -4
- package/dist/api/marketplace/index.gen.d.ts +0 -5
- package/dist/api/marketplace/index.gen.js +0 -4
- package/dist/api/marketplace/v2/api.gen.cjs +0 -163
- package/dist/api/marketplace/v2/api.gen.d.ts +0 -81
- package/dist/api/marketplace/v2/api.gen.js +0 -163
- package/dist/api/marketplace/v2/index.gen.cjs +0 -4
- package/dist/api/marketplace/v2/index.gen.d.ts +0 -2
- package/dist/api/marketplace/v2/index.gen.js +0 -4
- package/dist/api/marketplace/v2/marshalling.gen.cjs +0 -117
- package/dist/api/marketplace/v2/marshalling.gen.d.ts +0 -9
- package/dist/api/marketplace/v2/marshalling.gen.js +0 -117
- package/dist/api/marketplace/v2/types.gen.d.ts +0 -204
- package/dist/api/mnq/index.gen.cjs +0 -4
- package/dist/api/mnq/index.gen.d.ts +0 -5
- package/dist/api/mnq/index.gen.js +0 -4
- package/dist/api/mnq/v1beta1/api.gen.cjs +0 -455
- package/dist/api/mnq/v1beta1/api.gen.d.ts +0 -217
- package/dist/api/mnq/v1beta1/api.gen.js +0 -455
- package/dist/api/mnq/v1beta1/index.gen.cjs +0 -8
- package/dist/api/mnq/v1beta1/index.gen.d.ts +0 -3
- package/dist/api/mnq/v1beta1/index.gen.js +0 -8
- package/dist/api/mnq/v1beta1/marshalling.gen.cjs +0 -270
- package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +0 -23
- package/dist/api/mnq/v1beta1/marshalling.gen.js +0 -270
- package/dist/api/mnq/v1beta1/types.gen.d.ts +0 -627
- package/dist/api/mnq/v1beta1/validation-rules.gen.cjs +0 -85
- package/dist/api/mnq/v1beta1/validation-rules.gen.d.ts +0 -72
- package/dist/api/mnq/v1beta1/validation-rules.gen.js +0 -85
- package/dist/api/mongodb/index.gen.cjs +0 -4
- package/dist/api/mongodb/index.gen.d.ts +0 -5
- package/dist/api/mongodb/index.gen.js +0 -4
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +0 -415
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +0 -194
- package/dist/api/mongodb/v1alpha1/api.gen.js +0 -415
- package/dist/api/mongodb/v1alpha1/content.gen.cjs +0 -16
- package/dist/api/mongodb/v1alpha1/content.gen.d.ts +0 -5
- package/dist/api/mongodb/v1alpha1/content.gen.js +0 -16
- package/dist/api/mongodb/v1alpha1/index.gen.cjs +0 -9
- package/dist/api/mongodb/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/mongodb/v1alpha1/index.gen.js +0 -9
- package/dist/api/mongodb/v1alpha1/marshalling.gen.cjs +0 -364
- package/dist/api/mongodb/v1alpha1/marshalling.gen.d.ts +0 -23
- package/dist/api/mongodb/v1alpha1/marshalling.gen.js +0 -364
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +0 -788
- package/dist/api/mongodb/v1alpha1/validation-rules.gen.cjs +0 -175
- package/dist/api/mongodb/v1alpha1/validation-rules.gen.d.ts +0 -159
- package/dist/api/mongodb/v1alpha1/validation-rules.gen.js +0 -175
- package/dist/api/qaas/index.gen.cjs +0 -4
- package/dist/api/qaas/index.gen.d.ts +0 -5
- package/dist/api/qaas/index.gen.js +0 -4
- package/dist/api/qaas/v1alpha1/api.gen.cjs +0 -515
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +0 -239
- package/dist/api/qaas/v1alpha1/api.gen.js +0 -515
- package/dist/api/qaas/v1alpha1/content.gen.cjs +0 -19
- package/dist/api/qaas/v1alpha1/content.gen.d.ts +0 -7
- package/dist/api/qaas/v1alpha1/content.gen.js +0 -19
- package/dist/api/qaas/v1alpha1/index.gen.cjs +0 -10
- package/dist/api/qaas/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/qaas/v1alpha1/index.gen.js +0 -10
- package/dist/api/qaas/v1alpha1/marshalling.gen.cjs +0 -321
- package/dist/api/qaas/v1alpha1/marshalling.gen.d.ts +0 -22
- package/dist/api/qaas/v1alpha1/marshalling.gen.js +0 -321
- package/dist/api/qaas/v1alpha1/types.gen.d.ts +0 -798
- package/dist/api/qaas/v1alpha1/validation-rules.gen.cjs +0 -14
- package/dist/api/qaas/v1alpha1/validation-rules.gen.d.ts +0 -10
- package/dist/api/qaas/v1alpha1/validation-rules.gen.js +0 -14
- package/dist/api/rdb/index.gen.cjs +0 -4
- package/dist/api/rdb/index.gen.d.ts +0 -5
- package/dist/api/rdb/index.gen.js +0 -4
- package/dist/api/rdb/v1/api.gen.cjs +0 -1062
- package/dist/api/rdb/v1/api.gen.d.ts +0 -490
- package/dist/api/rdb/v1/api.gen.js +0 -1062
- package/dist/api/rdb/v1/content.gen.cjs +0 -38
- package/dist/api/rdb/v1/content.gen.d.ts +0 -13
- package/dist/api/rdb/v1/content.gen.js +0 -38
- package/dist/api/rdb/v1/index.gen.cjs +0 -13
- package/dist/api/rdb/v1/index.gen.d.ts +0 -4
- package/dist/api/rdb/v1/index.gen.js +0 -13
- package/dist/api/rdb/v1/marshalling.gen.cjs +0 -925
- package/dist/api/rdb/v1/marshalling.gen.d.ts +0 -59
- package/dist/api/rdb/v1/marshalling.gen.js +0 -925
- package/dist/api/rdb/v1/types.gen.d.ts +0 -1913
- package/dist/api/rdb/v1/validation-rules.gen.cjs +0 -8
- package/dist/api/rdb/v1/validation-rules.gen.d.ts +0 -5
- package/dist/api/rdb/v1/validation-rules.gen.js +0 -8
- package/dist/api/redis/index.gen.cjs +0 -4
- package/dist/api/redis/index.gen.d.ts +0 -5
- package/dist/api/redis/index.gen.js +0 -4
- package/dist/api/redis/v1/api.gen.cjs +0 -420
- package/dist/api/redis/v1/api.gen.d.ts +0 -193
- package/dist/api/redis/v1/api.gen.js +0 -420
- package/dist/api/redis/v1/content.gen.cjs +0 -10
- package/dist/api/redis/v1/content.gen.d.ts +0 -3
- package/dist/api/redis/v1/content.gen.js +0 -10
- package/dist/api/redis/v1/index.gen.cjs +0 -6
- package/dist/api/redis/v1/index.gen.d.ts +0 -3
- package/dist/api/redis/v1/index.gen.js +0 -6
- package/dist/api/redis/v1/marshalling.gen.cjs +0 -356
- package/dist/api/redis/v1/marshalling.gen.d.ts +0 -24
- package/dist/api/redis/v1/marshalling.gen.js +0 -356
- package/dist/api/redis/v1/types.gen.d.ts +0 -750
- package/dist/api/registry/index.gen.cjs +0 -4
- package/dist/api/registry/index.gen.d.ts +0 -5
- package/dist/api/registry/index.gen.js +0 -4
- package/dist/api/registry/v1/api.gen.cjs +0 -271
- package/dist/api/registry/v1/api.gen.d.ts +0 -132
- package/dist/api/registry/v1/api.gen.js +0 -271
- package/dist/api/registry/v1/content.gen.cjs +0 -8
- package/dist/api/registry/v1/content.gen.d.ts +0 -7
- package/dist/api/registry/v1/content.gen.js +0 -8
- package/dist/api/registry/v1/index.gen.cjs +0 -8
- package/dist/api/registry/v1/index.gen.d.ts +0 -3
- package/dist/api/registry/v1/index.gen.js +0 -8
- package/dist/api/registry/v1/marshalling.gen.cjs +0 -131
- package/dist/api/registry/v1/marshalling.gen.d.ts +0 -11
- package/dist/api/registry/v1/marshalling.gen.js +0 -131
- package/dist/api/registry/v1/types.gen.d.ts +0 -384
- package/dist/api/secret/index.gen.cjs +0 -6
- package/dist/api/secret/index.gen.d.ts +0 -6
- package/dist/api/secret/index.gen.js +0 -6
- package/dist/api/secret/v1alpha1/api.gen.cjs +0 -485
- package/dist/api/secret/v1alpha1/api.gen.d.ts +0 -262
- package/dist/api/secret/v1alpha1/api.gen.js +0 -485
- package/dist/api/secret/v1alpha1/index.gen.cjs +0 -4
- package/dist/api/secret/v1alpha1/index.gen.d.ts +0 -2
- package/dist/api/secret/v1alpha1/index.gen.js +0 -4
- package/dist/api/secret/v1alpha1/marshalling.gen.cjs +0 -223
- package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +0 -19
- package/dist/api/secret/v1alpha1/marshalling.gen.js +0 -223
- package/dist/api/secret/v1alpha1/types.gen.d.ts +0 -619
- package/dist/api/secret/v1beta1/api.gen.cjs +0 -396
- package/dist/api/secret/v1beta1/api.gen.d.ts +0 -179
- package/dist/api/secret/v1beta1/api.gen.js +0 -396
- package/dist/api/secret/v1beta1/index.gen.cjs +0 -6
- package/dist/api/secret/v1beta1/index.gen.d.ts +0 -3
- package/dist/api/secret/v1beta1/index.gen.js +0 -6
- package/dist/api/secret/v1beta1/marshalling.gen.cjs +0 -238
- package/dist/api/secret/v1beta1/marshalling.gen.d.ts +0 -15
- package/dist/api/secret/v1beta1/marshalling.gen.js +0 -238
- package/dist/api/secret/v1beta1/types.gen.d.ts +0 -700
- package/dist/api/secret/v1beta1/validation-rules.gen.cjs +0 -8
- package/dist/api/secret/v1beta1/validation-rules.gen.d.ts +0 -5
- package/dist/api/secret/v1beta1/validation-rules.gen.js +0 -8
- package/dist/api/serverless_sqldb/index.gen.cjs +0 -4
- package/dist/api/serverless_sqldb/index.gen.d.ts +0 -5
- package/dist/api/serverless_sqldb/index.gen.js +0 -4
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +0 -188
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +0 -91
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +0 -188
- package/dist/api/serverless_sqldb/v1alpha1/content.gen.cjs +0 -8
- package/dist/api/serverless_sqldb/v1alpha1/content.gen.d.ts +0 -3
- package/dist/api/serverless_sqldb/v1alpha1/content.gen.js +0 -8
- package/dist/api/serverless_sqldb/v1alpha1/index.gen.cjs +0 -8
- package/dist/api/serverless_sqldb/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/serverless_sqldb/v1alpha1/index.gen.js +0 -8
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +0 -92
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +0 -9
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +0 -92
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +0 -287
- package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.cjs +0 -62
- package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.d.ts +0 -55
- package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.js +0 -62
- package/dist/api/std/index.gen.cjs +0 -1
- package/dist/api/std/index.gen.d.ts +0 -1
- package/dist/api/std/index.gen.js +0 -1
- package/dist/api/std/types.gen.d.ts +0 -1
- package/dist/api/tem/index.gen.cjs +0 -4
- package/dist/api/tem/index.gen.d.ts +0 -5
- package/dist/api/tem/index.gen.js +0 -4
- package/dist/api/tem/v1alpha1/api.gen.cjs +0 -538
- package/dist/api/tem/v1alpha1/api.gen.d.ts +0 -246
- package/dist/api/tem/v1alpha1/api.gen.js +0 -538
- package/dist/api/tem/v1alpha1/content.gen.cjs +0 -9
- package/dist/api/tem/v1alpha1/content.gen.d.ts +0 -5
- package/dist/api/tem/v1alpha1/content.gen.js +0 -9
- package/dist/api/tem/v1alpha1/index.gen.cjs +0 -9
- package/dist/api/tem/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/tem/v1alpha1/index.gen.js +0 -9
- package/dist/api/tem/v1alpha1/marshalling.gen.cjs +0 -554
- package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +0 -28
- package/dist/api/tem/v1alpha1/marshalling.gen.js +0 -554
- package/dist/api/tem/v1alpha1/types.gen.d.ts +0 -1300
- package/dist/api/tem/v1alpha1/validation-rules.gen.cjs +0 -145
- package/dist/api/tem/v1alpha1/validation-rules.gen.d.ts +0 -128
- package/dist/api/tem/v1alpha1/validation-rules.gen.js +0 -145
- package/dist/api/test/index.gen.cjs +0 -4
- package/dist/api/test/index.gen.d.ts +0 -5
- package/dist/api/test/index.gen.js +0 -4
- package/dist/api/test/v1/api.gen.cjs +0 -163
- package/dist/api/test/v1/api.gen.d.ts +0 -81
- package/dist/api/test/v1/api.gen.js +0 -163
- package/dist/api/test/v1/content.gen.cjs +0 -4
- package/dist/api/test/v1/content.gen.d.ts +0 -3
- package/dist/api/test/v1/content.gen.js +0 -4
- package/dist/api/test/v1/index.gen.cjs +0 -6
- package/dist/api/test/v1/index.gen.d.ts +0 -3
- package/dist/api/test/v1/index.gen.js +0 -6
- package/dist/api/test/v1/marshalling.gen.cjs +0 -95
- package/dist/api/test/v1/marshalling.gen.d.ts +0 -8
- package/dist/api/test/v1/marshalling.gen.js +0 -95
- package/dist/api/test/v1/types.gen.d.ts +0 -102
- package/dist/api/vpc/index.gen.cjs +0 -6
- package/dist/api/vpc/index.gen.d.ts +0 -6
- package/dist/api/vpc/index.gen.js +0 -6
- package/dist/api/vpc/v1/api.gen.cjs +0 -121
- package/dist/api/vpc/v1/api.gen.d.ts +0 -59
- package/dist/api/vpc/v1/api.gen.js +0 -121
- package/dist/api/vpc/v1/index.gen.cjs +0 -4
- package/dist/api/vpc/v1/index.gen.d.ts +0 -2
- package/dist/api/vpc/v1/index.gen.js +0 -4
- package/dist/api/vpc/v1/marshalling.gen.cjs +0 -54
- package/dist/api/vpc/v1/marshalling.gen.d.ts +0 -6
- package/dist/api/vpc/v1/marshalling.gen.js +0 -54
- package/dist/api/vpc/v1/types.gen.d.ts +0 -99
- package/dist/api/vpc/v2/api.gen.cjs +0 -370
- package/dist/api/vpc/v2/api.gen.d.ts +0 -168
- package/dist/api/vpc/v2/api.gen.js +0 -370
- package/dist/api/vpc/v2/index.gen.cjs +0 -6
- package/dist/api/vpc/v2/index.gen.d.ts +0 -3
- package/dist/api/vpc/v2/index.gen.js +0 -6
- package/dist/api/vpc/v2/marshalling.gen.cjs +0 -256
- package/dist/api/vpc/v2/marshalling.gen.d.ts +0 -21
- package/dist/api/vpc/v2/marshalling.gen.js +0 -256
- package/dist/api/vpc/v2/types.gen.d.ts +0 -648
- package/dist/api/vpc/v2/validation-rules.gen.cjs +0 -26
- package/dist/api/vpc/v2/validation-rules.gen.d.ts +0 -22
- package/dist/api/vpc/v2/validation-rules.gen.js +0 -26
- package/dist/api/vpcgw/index.gen.cjs +0 -6
- package/dist/api/vpcgw/index.gen.d.ts +0 -6
- package/dist/api/vpcgw/index.gen.js +0 -6
- package/dist/api/vpcgw/v1/api.gen.cjs +0 -661
- package/dist/api/vpcgw/v1/api.gen.d.ts +0 -303
- package/dist/api/vpcgw/v1/api.gen.js +0 -661
- package/dist/api/vpcgw/v1/content.gen.cjs +0 -15
- package/dist/api/vpcgw/v1/content.gen.d.ts +0 -5
- package/dist/api/vpcgw/v1/content.gen.js +0 -15
- package/dist/api/vpcgw/v1/index.gen.cjs +0 -7
- package/dist/api/vpcgw/v1/index.gen.d.ts +0 -3
- package/dist/api/vpcgw/v1/index.gen.js +0 -7
- package/dist/api/vpcgw/v1/marshalling.gen.cjs +0 -443
- package/dist/api/vpcgw/v1/marshalling.gen.d.ts +0 -32
- package/dist/api/vpcgw/v1/marshalling.gen.js +0 -443
- package/dist/api/vpcgw/v1/types.gen.d.ts +0 -1327
- package/dist/api/vpcgw/v2/api.gen.cjs +0 -507
- package/dist/api/vpcgw/v2/api.gen.d.ts +0 -230
- package/dist/api/vpcgw/v2/api.gen.js +0 -507
- package/dist/api/vpcgw/v2/content.gen.cjs +0 -15
- package/dist/api/vpcgw/v2/content.gen.d.ts +0 -5
- package/dist/api/vpcgw/v2/content.gen.js +0 -15
- package/dist/api/vpcgw/v2/index.gen.cjs +0 -7
- package/dist/api/vpcgw/v2/index.gen.d.ts +0 -3
- package/dist/api/vpcgw/v2/index.gen.js +0 -7
- package/dist/api/vpcgw/v2/marshalling.gen.cjs +0 -291
- package/dist/api/vpcgw/v2/marshalling.gen.d.ts +0 -26
- package/dist/api/vpcgw/v2/marshalling.gen.js +0 -291
- package/dist/api/vpcgw/v2/types.gen.d.ts +0 -838
- package/dist/api/webhosting/index.gen.cjs +0 -4
- package/dist/api/webhosting/index.gen.d.ts +0 -5
- package/dist/api/webhosting/index.gen.js +0 -4
- package/dist/api/webhosting/v1/api.gen.cjs +0 -752
- package/dist/api/webhosting/v1/api.gen.d.ts +0 -362
- package/dist/api/webhosting/v1/api.gen.js +0 -752
- package/dist/api/webhosting/v1/content.gen.cjs +0 -12
- package/dist/api/webhosting/v1/content.gen.d.ts +0 -7
- package/dist/api/webhosting/v1/content.gen.js +0 -12
- package/dist/api/webhosting/v1/index.gen.cjs +0 -17
- package/dist/api/webhosting/v1/index.gen.d.ts +0 -4
- package/dist/api/webhosting/v1/index.gen.js +0 -17
- package/dist/api/webhosting/v1/marshalling.gen.cjs +0 -581
- package/dist/api/webhosting/v1/marshalling.gen.d.ts +0 -36
- package/dist/api/webhosting/v1/marshalling.gen.js +0 -581
- package/dist/api/webhosting/v1/types.gen.d.ts +0 -1303
- package/dist/api/webhosting/v1/validation-rules.gen.cjs +0 -82
- package/dist/api/webhosting/v1/validation-rules.gen.d.ts +0 -72
- package/dist/api/webhosting/v1/validation-rules.gen.js +0 -82
- package/dist/client/dist/helpers/is-browser.cjs +0 -4
- package/dist/client/dist/helpers/is-browser.js +0 -4
- package/dist/client/dist/helpers/is-response.cjs +0 -4
- package/dist/client/dist/helpers/is-response.js +0 -4
- package/dist/client/dist/helpers/json.cjs +0 -7
- package/dist/client/dist/helpers/json.js +0 -7
- package/dist/client/dist/helpers/marshalling.cjs +0 -76
- package/dist/client/dist/helpers/marshalling.js +0 -76
- package/dist/client/dist/internal/async/interval-retrier.cjs +0 -53
- package/dist/client/dist/internal/async/interval-retrier.js +0 -53
- package/dist/client/dist/internal/async/sleep.cjs +0 -6
- package/dist/client/dist/internal/async/sleep.js +0 -6
- package/dist/client/dist/internal/interceptors/composer.cjs +0 -25
- package/dist/client/dist/internal/interceptors/composer.js +0 -25
- package/dist/client/dist/internal/interceptors/helpers.cjs +0 -12
- package/dist/client/dist/internal/interceptors/helpers.js +0 -12
- package/dist/client/dist/internal/logger/console-logger.cjs +0 -24
- package/dist/client/dist/internal/logger/console-logger.js +0 -24
- package/dist/client/dist/internal/logger/index.cjs +0 -12
- package/dist/client/dist/internal/logger/index.js +0 -12
- package/dist/client/dist/internal/logger/level-resolver.cjs +0 -13
- package/dist/client/dist/internal/logger/level-resolver.js +0 -13
- package/dist/client/dist/internal/validations/string-validation.cjs +0 -30
- package/dist/client/dist/internal/validations/string-validation.js +0 -30
- package/dist/client/dist/package.json.cjs +0 -67
- package/dist/client/dist/package.json.js +0 -67
- package/dist/client/dist/scw/api.cjs +0 -8
- package/dist/client/dist/scw/api.js +0 -8
- package/dist/client/dist/scw/auth.cjs +0 -26
- package/dist/client/dist/scw/auth.js +0 -26
- package/dist/client/dist/scw/client-ini-factory.cjs +0 -66
- package/dist/client/dist/scw/client-ini-factory.js +0 -66
- package/dist/client/dist/scw/client-ini-profile.cjs +0 -23
- package/dist/client/dist/scw/client-ini-profile.js +0 -23
- package/dist/client/dist/scw/client-settings.cjs +0 -51
- package/dist/client/dist/scw/client-settings.js +0 -51
- package/dist/client/dist/scw/client.cjs +0 -31
- package/dist/client/dist/scw/client.js +0 -31
- package/dist/client/dist/scw/constants.cjs +0 -7
- package/dist/client/dist/scw/constants.js +0 -7
- package/dist/client/dist/scw/custom-marshalling.cjs +0 -126
- package/dist/client/dist/scw/custom-marshalling.js +0 -126
- package/dist/client/dist/scw/custom-types.cjs +0 -11
- package/dist/client/dist/scw/custom-types.js +0 -11
- package/dist/client/dist/scw/errors/error-parser.cjs +0 -76
- package/dist/client/dist/scw/errors/error-parser.js +0 -76
- package/dist/client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +0 -36
- package/dist/client/dist/scw/errors/non-standard/invalid-request-mapper.js +0 -36
- package/dist/client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +0 -23
- package/dist/client/dist/scw/errors/non-standard/unknown-resource-mapper.js +0 -23
- package/dist/client/dist/scw/errors/scw-error.cjs +0 -43
- package/dist/client/dist/scw/errors/scw-error.js +0 -43
- package/dist/client/dist/scw/errors/standard/already-exists-error.cjs +0 -31
- package/dist/client/dist/scw/errors/standard/already-exists-error.js +0 -31
- package/dist/client/dist/scw/errors/standard/denied-authentication-error.cjs +0 -37
- package/dist/client/dist/scw/errors/standard/denied-authentication-error.js +0 -37
- package/dist/client/dist/scw/errors/standard/index.cjs +0 -28
- package/dist/client/dist/scw/errors/standard/index.js +0 -28
- package/dist/client/dist/scw/errors/standard/invalid-arguments-error.cjs +0 -54
- package/dist/client/dist/scw/errors/standard/invalid-arguments-error.js +0 -54
- package/dist/client/dist/scw/errors/standard/out-of-stock-error.cjs +0 -17
- package/dist/client/dist/scw/errors/standard/out-of-stock-error.js +0 -17
- package/dist/client/dist/scw/errors/standard/permissions-denied-error.cjs +0 -29
- package/dist/client/dist/scw/errors/standard/permissions-denied-error.js +0 -29
- package/dist/client/dist/scw/errors/standard/precondition-failed-error.cjs +0 -32
- package/dist/client/dist/scw/errors/standard/precondition-failed-error.js +0 -32
- package/dist/client/dist/scw/errors/standard/quotas-exceeded-error.cjs +0 -43
- package/dist/client/dist/scw/errors/standard/quotas-exceeded-error.js +0 -43
- package/dist/client/dist/scw/errors/standard/resource-expired-error.cjs +0 -31
- package/dist/client/dist/scw/errors/standard/resource-expired-error.js +0 -31
- package/dist/client/dist/scw/errors/standard/resource-locked-error.cjs +0 -20
- package/dist/client/dist/scw/errors/standard/resource-locked-error.js +0 -20
- package/dist/client/dist/scw/errors/standard/resource-not-found-error.cjs +0 -24
- package/dist/client/dist/scw/errors/standard/resource-not-found-error.js +0 -24
- package/dist/client/dist/scw/errors/standard/too-many-requests-error.cjs +0 -58
- package/dist/client/dist/scw/errors/standard/too-many-requests-error.js +0 -58
- package/dist/client/dist/scw/errors/standard/transient-state-error.cjs +0 -31
- package/dist/client/dist/scw/errors/standard/transient-state-error.js +0 -31
- package/dist/client/dist/scw/errors/types.cjs +0 -15
- package/dist/client/dist/scw/errors/types.js +0 -15
- package/dist/client/dist/scw/fetch/build-fetcher.cjs +0 -60
- package/dist/client/dist/scw/fetch/build-fetcher.js +0 -60
- package/dist/client/dist/scw/fetch/http-dumper.cjs +0 -20
- package/dist/client/dist/scw/fetch/http-dumper.js +0 -20
- package/dist/client/dist/scw/fetch/http-interceptors.cjs +0 -43
- package/dist/client/dist/scw/fetch/http-interceptors.js +0 -43
- package/dist/client/dist/scw/fetch/resource-paginator.cjs +0 -36
- package/dist/client/dist/scw/fetch/resource-paginator.js +0 -36
- package/dist/client/dist/scw/fetch/response-parser.cjs +0 -55
- package/dist/client/dist/scw/fetch/response-parser.js +0 -55
- package/dist/client/dist/vendor/base64/index.cjs +0 -46
- package/dist/client/dist/vendor/base64/index.js +0 -46
- package/dist/index.cjs +0 -150
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -150
- package/node_modules/@scaleway/sdk-client/README.md +0 -36
- package/node_modules/@scaleway/sdk-client/dist/bridge.d.ts +0 -12
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.cjs +0 -4
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.d.ts +0 -1
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.js +0 -4
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.cjs +0 -4
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.d.ts +0 -8
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.js +0 -4
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.cjs +0 -7
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.d.ts +0 -13
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.js +0 -7
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.cjs +0 -76
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.d.ts +0 -60
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.js +0 -76
- package/node_modules/@scaleway/sdk-client/dist/index.cjs +0 -52
- package/node_modules/@scaleway/sdk-client/dist/index.d.ts +0 -15
- package/node_modules/@scaleway/sdk-client/dist/index.js +0 -52
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.cjs +0 -53
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.d.ts +0 -111
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.js +0 -53
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.cjs +0 -6
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.d.ts +0 -9
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.js +0 -6
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.cjs +0 -25
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.d.ts +0 -25
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.js +0 -25
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.cjs +0 -12
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.d.ts +0 -21
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.js +0 -12
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/types.d.ts +0 -89
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.cjs +0 -24
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.d.ts +0 -23
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.js +0 -24
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.cjs +0 -12
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.d.ts +0 -25
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.js +0 -12
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.cjs +0 -13
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.d.ts +0 -9
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.js +0 -13
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/logger.d.ts +0 -13
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.cjs +0 -30
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.d.ts +0 -18
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.js +0 -30
- package/node_modules/@scaleway/sdk-client/dist/internals.d.ts +0 -10
- package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +0 -67
- package/node_modules/@scaleway/sdk-client/dist/package.json.js +0 -67
- package/node_modules/@scaleway/sdk-client/dist/scw/api.cjs +0 -8
- package/node_modules/@scaleway/sdk-client/dist/scw/api.d.ts +0 -10
- package/node_modules/@scaleway/sdk-client/dist/scw/api.js +0 -8
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.cjs +0 -26
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.d.ts +0 -57
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.js +0 -26
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.cjs +0 -66
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.d.ts +0 -111
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.js +0 -66
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.cjs +0 -23
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.d.ts +0 -82
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.js +0 -23
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.cjs +0 -51
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.d.ts +0 -59
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.js +0 -51
- package/node_modules/@scaleway/sdk-client/dist/scw/client.cjs +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/client.d.ts +0 -71
- package/node_modules/@scaleway/sdk-client/dist/scw/client.js +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.cjs +0 -7
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.d.ts +0 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.js +0 -7
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.cjs +0 -126
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.d.ts +0 -80
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.js +0 -126
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.cjs +0 -11
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.d.ts +0 -74
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.js +0 -11
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.cjs +0 -76
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.d.ts +0 -12
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.js +0 -76
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +0 -36
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.d.ts +0 -12
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.js +0 -36
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +0 -23
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.d.ts +0 -11
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.js +0 -23
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error-from-json.d.ts +0 -10
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.cjs +0 -43
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.d.ts +0 -25
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.js +0 -43
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.cjs +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.d.ts +0 -16
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.js +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.cjs +0 -37
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.d.ts +0 -15
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.js +0 -37
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.cjs +0 -28
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.d.ts +0 -17
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.js +0 -28
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.cjs +0 -54
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.d.ts +0 -24
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.js +0 -54
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.cjs +0 -17
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.d.ts +0 -14
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.js +0 -17
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.cjs +0 -29
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.d.ts +0 -23
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.js +0 -29
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.cjs +0 -32
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.d.ts +0 -15
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.js +0 -32
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.cjs +0 -43
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.d.ts +0 -34
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.js +0 -43
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.cjs +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.d.ts +0 -16
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.js +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.cjs +0 -20
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.d.ts +0 -15
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.js +0 -20
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.cjs +0 -24
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.d.ts +0 -15
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.js +0 -24
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.cjs +0 -58
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.d.ts +0 -32
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.js +0 -58
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.cjs +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.d.ts +0 -16
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.js +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.cjs +0 -15
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.d.ts +0 -9
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.js +0 -15
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.cjs +0 -60
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.d.ts +0 -23
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.js +0 -60
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.cjs +0 -20
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.d.ts +0 -18
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.js +0 -20
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.cjs +0 -43
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.d.ts +0 -38
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.js +0 -43
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.cjs +0 -36
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.d.ts +0 -47
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.js +0 -36
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.cjs +0 -55
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.d.ts +0 -25
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.js +0 -55
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/types.d.ts +0 -16
- package/node_modules/@scaleway/sdk-client/dist/scw/locality.d.ts +0 -2
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.cjs +0 -46
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.js +0 -46
- package/node_modules/@scaleway/sdk-client/package.json +0 -36
|
@@ -1,3495 +0,0 @@
|
|
|
1
|
-
import type { Region as ScwRegion, Zone as ScwZone } from '@scaleway/sdk-client';
|
|
2
|
-
export type AclActionRedirectRedirectType = 'location' | 'scheme';
|
|
3
|
-
export type AclActionType = 'allow' | 'deny' | 'redirect';
|
|
4
|
-
export type AclHttpFilter = 'acl_http_filter_none' | 'path_begin' | 'path_end' | 'regex' | 'http_header_match';
|
|
5
|
-
export type BackendServerStatsHealthCheckStatus = 'unknown' | 'neutral' | 'failed' | 'passed' | 'condpass';
|
|
6
|
-
export type BackendServerStatsServerState = 'stopped' | 'starting' | 'running' | 'stopping';
|
|
7
|
-
export type CertificateStatus = 'pending' | 'ready' | 'error';
|
|
8
|
-
export type CertificateType = 'letsencryt' | 'custom';
|
|
9
|
-
export type ForwardPortAlgorithm = 'roundrobin' | 'leastconn' | 'first';
|
|
10
|
-
export type InstanceStatus = 'unknown' | 'ready' | 'pending' | 'stopped' | 'error' | 'locked' | 'migrating';
|
|
11
|
-
export type LbStatus = 'unknown' | 'ready' | 'pending' | 'stopped' | 'error' | 'locked' | 'migrating' | 'to_create' | 'creating' | 'to_delete' | 'deleting';
|
|
12
|
-
export type LbTypeStock = 'unknown' | 'low_stock' | 'out_of_stock' | 'available';
|
|
13
|
-
export type ListAclRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
14
|
-
export type ListBackendsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
15
|
-
export type ListCertificatesRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
16
|
-
export type ListFrontendsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
17
|
-
export type ListIpsRequestIpType = 'all' | 'ipv4' | 'ipv6';
|
|
18
|
-
export type ListLbsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
19
|
-
export type ListPrivateNetworksRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
20
|
-
export type ListRoutesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
21
|
-
export type ListSubscriberRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
22
|
-
export type OnMarkedDownAction = 'on_marked_down_action_none' | 'shutdown_sessions';
|
|
23
|
-
export type PrivateNetworkStatus = 'unknown' | 'ready' | 'pending' | 'error';
|
|
24
|
-
export type Protocol = 'tcp' | 'http';
|
|
25
|
-
export type ProxyProtocol = 'proxy_protocol_unknown' | 'proxy_protocol_none' | 'proxy_protocol_v1' | 'proxy_protocol_v2' | 'proxy_protocol_v2_ssl' | 'proxy_protocol_v2_ssl_cn';
|
|
26
|
-
export type SSLCompatibilityLevel = 'ssl_compatibility_level_unknown' | 'ssl_compatibility_level_intermediate' | 'ssl_compatibility_level_modern' | 'ssl_compatibility_level_old';
|
|
27
|
-
export type StickySessionsType = 'none' | 'cookie' | 'table';
|
|
28
|
-
export interface SubscriberEmailConfig {
|
|
29
|
-
/**
|
|
30
|
-
* Email address to send alerts to.
|
|
31
|
-
*/
|
|
32
|
-
email: string;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Webhook alert of subscriber.
|
|
36
|
-
*/
|
|
37
|
-
export interface SubscriberWebhookConfig {
|
|
38
|
-
/**
|
|
39
|
-
* URI to receive POST requests.
|
|
40
|
-
*/
|
|
41
|
-
uri: string;
|
|
42
|
-
}
|
|
43
|
-
export interface HealthCheckHttpConfig {
|
|
44
|
-
/**
|
|
45
|
-
* The HTTP path to use when performing a health check on backend servers.
|
|
46
|
-
*/
|
|
47
|
-
uri: string;
|
|
48
|
-
/**
|
|
49
|
-
* The HTTP method used when performing a health check on backend servers.
|
|
50
|
-
*/
|
|
51
|
-
method: string;
|
|
52
|
-
/**
|
|
53
|
-
* The HTTP response code that should be returned for a health check to be considered successful.
|
|
54
|
-
*/
|
|
55
|
-
code?: number;
|
|
56
|
-
/**
|
|
57
|
-
* The HTTP host header used when performing a health check on backend servers.
|
|
58
|
-
*/
|
|
59
|
-
hostHeader: string;
|
|
60
|
-
}
|
|
61
|
-
export interface HealthCheckHttpsConfig {
|
|
62
|
-
/**
|
|
63
|
-
* The HTTP path to use when performing a health check on backend servers.
|
|
64
|
-
*/
|
|
65
|
-
uri: string;
|
|
66
|
-
/**
|
|
67
|
-
* The HTTP method used when performing a health check on backend servers.
|
|
68
|
-
*/
|
|
69
|
-
method: string;
|
|
70
|
-
/**
|
|
71
|
-
* The HTTP response code that should be returned for a health check to be considered successful.
|
|
72
|
-
*/
|
|
73
|
-
code?: number;
|
|
74
|
-
/**
|
|
75
|
-
* The HTTP host header used when performing a health check on backend servers.
|
|
76
|
-
*/
|
|
77
|
-
hostHeader: string;
|
|
78
|
-
/**
|
|
79
|
-
* The SNI value used when performing a health check on backend servers over SSL.
|
|
80
|
-
*/
|
|
81
|
-
sni: string;
|
|
82
|
-
}
|
|
83
|
-
export interface HealthCheckLdapConfig {
|
|
84
|
-
}
|
|
85
|
-
export interface HealthCheckMysqlConfig {
|
|
86
|
-
/**
|
|
87
|
-
* MySQL user to use for the health check.
|
|
88
|
-
*/
|
|
89
|
-
user: string;
|
|
90
|
-
}
|
|
91
|
-
export interface HealthCheckPgsqlConfig {
|
|
92
|
-
/**
|
|
93
|
-
* PostgreSQL user to use for the health check.
|
|
94
|
-
*/
|
|
95
|
-
user: string;
|
|
96
|
-
}
|
|
97
|
-
export interface HealthCheckRedisConfig {
|
|
98
|
-
}
|
|
99
|
-
export interface HealthCheckTcpConfig {
|
|
100
|
-
}
|
|
101
|
-
export interface Instance {
|
|
102
|
-
/**
|
|
103
|
-
* Underlying Instance ID.
|
|
104
|
-
*/
|
|
105
|
-
id: string;
|
|
106
|
-
/**
|
|
107
|
-
* Instance status.
|
|
108
|
-
*/
|
|
109
|
-
status: InstanceStatus;
|
|
110
|
-
/**
|
|
111
|
-
* Instance IP address.
|
|
112
|
-
*/
|
|
113
|
-
ipAddress: string;
|
|
114
|
-
/**
|
|
115
|
-
* Date on which the Instance was created.
|
|
116
|
-
*/
|
|
117
|
-
createdAt?: Date;
|
|
118
|
-
/**
|
|
119
|
-
* Date on which the Instance was last updated.
|
|
120
|
-
*/
|
|
121
|
-
updatedAt?: Date;
|
|
122
|
-
/**
|
|
123
|
-
* @deprecated The region the Instance is in.
|
|
124
|
-
*/
|
|
125
|
-
region?: ScwRegion;
|
|
126
|
-
/**
|
|
127
|
-
* The zone the Instance is in.
|
|
128
|
-
*/
|
|
129
|
-
zone: ScwZone;
|
|
130
|
-
}
|
|
131
|
-
export interface Ip {
|
|
132
|
-
/**
|
|
133
|
-
* IP address ID.
|
|
134
|
-
*/
|
|
135
|
-
id: string;
|
|
136
|
-
/**
|
|
137
|
-
* IP address.
|
|
138
|
-
*/
|
|
139
|
-
ipAddress: string;
|
|
140
|
-
/**
|
|
141
|
-
* Organization ID of the Scaleway Organization the IP address is in.
|
|
142
|
-
*/
|
|
143
|
-
organizationId: string;
|
|
144
|
-
/**
|
|
145
|
-
* Project ID of the Scaleway Project the IP address is in.
|
|
146
|
-
*/
|
|
147
|
-
projectId: string;
|
|
148
|
-
/**
|
|
149
|
-
* Load Balancer ID.
|
|
150
|
-
*/
|
|
151
|
-
lbId?: string;
|
|
152
|
-
/**
|
|
153
|
-
* Reverse DNS (domain name) of the IP address.
|
|
154
|
-
*/
|
|
155
|
-
reverse: string;
|
|
156
|
-
/**
|
|
157
|
-
* IP tags.
|
|
158
|
-
*/
|
|
159
|
-
tags: string[];
|
|
160
|
-
/**
|
|
161
|
-
* @deprecated The region the IP address is in.
|
|
162
|
-
*/
|
|
163
|
-
region?: ScwRegion;
|
|
164
|
-
/**
|
|
165
|
-
* The zone the IP address is in.
|
|
166
|
-
*/
|
|
167
|
-
zone: ScwZone;
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* Subscriber.
|
|
171
|
-
*/
|
|
172
|
-
export interface Subscriber {
|
|
173
|
-
/**
|
|
174
|
-
* Subscriber ID.
|
|
175
|
-
*/
|
|
176
|
-
id: string;
|
|
177
|
-
/**
|
|
178
|
-
* Subscriber name.
|
|
179
|
-
*/
|
|
180
|
-
name: string;
|
|
181
|
-
/**
|
|
182
|
-
* Email address of subscriber.
|
|
183
|
-
*
|
|
184
|
-
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
185
|
-
*/
|
|
186
|
-
emailConfig?: SubscriberEmailConfig;
|
|
187
|
-
/**
|
|
188
|
-
* Webhook URI of subscriber.
|
|
189
|
-
*
|
|
190
|
-
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
191
|
-
*/
|
|
192
|
-
webhookConfig?: SubscriberWebhookConfig;
|
|
193
|
-
}
|
|
194
|
-
export interface HealthCheck {
|
|
195
|
-
/**
|
|
196
|
-
* Port to use for the backend server health check.
|
|
197
|
-
*/
|
|
198
|
-
port: number;
|
|
199
|
-
/**
|
|
200
|
-
* Time to wait between two consecutive health checks.
|
|
201
|
-
*/
|
|
202
|
-
checkDelay?: string;
|
|
203
|
-
/**
|
|
204
|
-
* Maximum time a backend server has to reply to the health check.
|
|
205
|
-
*/
|
|
206
|
-
checkTimeout?: string;
|
|
207
|
-
/**
|
|
208
|
-
* Number of consecutive unsuccessful health checks after which the server will be considered dead.
|
|
209
|
-
*/
|
|
210
|
-
checkMaxRetries: number;
|
|
211
|
-
/**
|
|
212
|
-
* Object to configure a basic TCP health check.
|
|
213
|
-
*
|
|
214
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
215
|
-
*/
|
|
216
|
-
tcpConfig?: HealthCheckTcpConfig;
|
|
217
|
-
/**
|
|
218
|
-
* Object to configure a MySQL health check. The check requires MySQL >=3.22 or <9.0. For older or newer versions, use a TCP health check.
|
|
219
|
-
*
|
|
220
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
221
|
-
*/
|
|
222
|
-
mysqlConfig?: HealthCheckMysqlConfig;
|
|
223
|
-
/**
|
|
224
|
-
* Object to configure a PostgreSQL health check.
|
|
225
|
-
*
|
|
226
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
227
|
-
*/
|
|
228
|
-
pgsqlConfig?: HealthCheckPgsqlConfig;
|
|
229
|
-
/**
|
|
230
|
-
* Object to configure an LDAP health check. The response is analyzed to find the LDAPv3 response message.
|
|
231
|
-
*
|
|
232
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
233
|
-
*/
|
|
234
|
-
ldapConfig?: HealthCheckLdapConfig;
|
|
235
|
-
/**
|
|
236
|
-
* Object to configure a Redis health check. The response is analyzed to find the +PONG response message.
|
|
237
|
-
*
|
|
238
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
239
|
-
*/
|
|
240
|
-
redisConfig?: HealthCheckRedisConfig;
|
|
241
|
-
/**
|
|
242
|
-
* Object to configure an HTTP health check.
|
|
243
|
-
*
|
|
244
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
245
|
-
*/
|
|
246
|
-
httpConfig?: HealthCheckHttpConfig;
|
|
247
|
-
/**
|
|
248
|
-
* Object to configure an HTTPS health check.
|
|
249
|
-
*
|
|
250
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
251
|
-
*/
|
|
252
|
-
httpsConfig?: HealthCheckHttpsConfig;
|
|
253
|
-
/**
|
|
254
|
-
* Defines whether proxy protocol should be activated for the health check.
|
|
255
|
-
*/
|
|
256
|
-
checkSendProxy: boolean;
|
|
257
|
-
/**
|
|
258
|
-
* Time to wait between two consecutive health checks when a backend server is in a transient state (going UP or DOWN).
|
|
259
|
-
*/
|
|
260
|
-
transientCheckDelay?: string;
|
|
261
|
-
}
|
|
262
|
-
export interface Lb {
|
|
263
|
-
/**
|
|
264
|
-
* Underlying Instance ID.
|
|
265
|
-
*/
|
|
266
|
-
id: string;
|
|
267
|
-
/**
|
|
268
|
-
* Load Balancer name.
|
|
269
|
-
*/
|
|
270
|
-
name: string;
|
|
271
|
-
/**
|
|
272
|
-
* Load Balancer description.
|
|
273
|
-
*/
|
|
274
|
-
description: string;
|
|
275
|
-
/**
|
|
276
|
-
* Load Balancer status.
|
|
277
|
-
*/
|
|
278
|
-
status: LbStatus;
|
|
279
|
-
/**
|
|
280
|
-
* List of underlying Instances.
|
|
281
|
-
*/
|
|
282
|
-
instances: Instance[];
|
|
283
|
-
/**
|
|
284
|
-
* Scaleway Organization ID.
|
|
285
|
-
*/
|
|
286
|
-
organizationId: string;
|
|
287
|
-
/**
|
|
288
|
-
* Scaleway Project ID.
|
|
289
|
-
*/
|
|
290
|
-
projectId: string;
|
|
291
|
-
/**
|
|
292
|
-
* List of IP addresses attached to the Load Balancer.
|
|
293
|
-
*/
|
|
294
|
-
ip: Ip[];
|
|
295
|
-
/**
|
|
296
|
-
* Load Balancer tags.
|
|
297
|
-
*/
|
|
298
|
-
tags: string[];
|
|
299
|
-
/**
|
|
300
|
-
* Number of frontends the Load Balancer has.
|
|
301
|
-
*/
|
|
302
|
-
frontendCount: number;
|
|
303
|
-
/**
|
|
304
|
-
* Number of backends the Load Balancer has.
|
|
305
|
-
*/
|
|
306
|
-
backendCount: number;
|
|
307
|
-
/**
|
|
308
|
-
* Load Balancer offer type.
|
|
309
|
-
*/
|
|
310
|
-
type: string;
|
|
311
|
-
/**
|
|
312
|
-
* Subscriber information.
|
|
313
|
-
*/
|
|
314
|
-
subscriber?: Subscriber;
|
|
315
|
-
/**
|
|
316
|
-
* Determines the minimal SSL version which needs to be supported on client side.
|
|
317
|
-
*/
|
|
318
|
-
sslCompatibilityLevel: SSLCompatibilityLevel;
|
|
319
|
-
/**
|
|
320
|
-
* Date on which the Load Balancer was created.
|
|
321
|
-
*/
|
|
322
|
-
createdAt?: Date;
|
|
323
|
-
/**
|
|
324
|
-
* Date on which the Load Balancer was last updated.
|
|
325
|
-
*/
|
|
326
|
-
updatedAt?: Date;
|
|
327
|
-
/**
|
|
328
|
-
* Number of Private Networks attached to the Load Balancer.
|
|
329
|
-
*/
|
|
330
|
-
privateNetworkCount: number;
|
|
331
|
-
/**
|
|
332
|
-
* Number of routes configured on the Load Balancer.
|
|
333
|
-
*/
|
|
334
|
-
routeCount: number;
|
|
335
|
-
/**
|
|
336
|
-
* @deprecated The region the Load Balancer is in.
|
|
337
|
-
*/
|
|
338
|
-
region?: ScwRegion;
|
|
339
|
-
/**
|
|
340
|
-
* The zone the Load Balancer is in.
|
|
341
|
-
*/
|
|
342
|
-
zone: ScwZone;
|
|
343
|
-
}
|
|
344
|
-
export interface AclActionRedirect {
|
|
345
|
-
/**
|
|
346
|
-
* Redirect type.
|
|
347
|
-
*/
|
|
348
|
-
type: AclActionRedirectRedirectType;
|
|
349
|
-
/**
|
|
350
|
-
* Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{host\}\}, \{\{query\}\}, \{\{path\}\} and \{\{scheme\}\}.
|
|
351
|
-
*/
|
|
352
|
-
target: string;
|
|
353
|
-
/**
|
|
354
|
-
* HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308. Default value is 302.
|
|
355
|
-
*/
|
|
356
|
-
code?: number;
|
|
357
|
-
}
|
|
358
|
-
export interface Backend {
|
|
359
|
-
/**
|
|
360
|
-
* Backend ID.
|
|
361
|
-
*/
|
|
362
|
-
id: string;
|
|
363
|
-
/**
|
|
364
|
-
* Name of the backend.
|
|
365
|
-
*/
|
|
366
|
-
name: string;
|
|
367
|
-
/**
|
|
368
|
-
* Protocol used by the backend when forwarding traffic to backend servers.
|
|
369
|
-
*/
|
|
370
|
-
forwardProtocol: Protocol;
|
|
371
|
-
/**
|
|
372
|
-
* Port used by the backend when forwarding traffic to backend servers.
|
|
373
|
-
*/
|
|
374
|
-
forwardPort: number;
|
|
375
|
-
/**
|
|
376
|
-
* Load balancing algorithm to use when determining which backend server to forward new traffic to.
|
|
377
|
-
*/
|
|
378
|
-
forwardPortAlgorithm: ForwardPortAlgorithm;
|
|
379
|
-
/**
|
|
380
|
-
* Defines whether sticky sessions (binding a particular session to a particular backend server) are activated and the method to use if so. None disables sticky sessions. Cookie-based uses an HTTP cookie to stick a session to a backend server. Table-based uses the source (client) IP address to stick a session to a backend server.
|
|
381
|
-
*/
|
|
382
|
-
stickySessions: StickySessionsType;
|
|
383
|
-
/**
|
|
384
|
-
* Cookie name for cookie-based sticky sessions.
|
|
385
|
-
*/
|
|
386
|
-
stickySessionsCookieName: string;
|
|
387
|
-
/**
|
|
388
|
-
* Object defining the health check to be carried out by the backend when checking the status and health of backend servers.
|
|
389
|
-
*/
|
|
390
|
-
healthCheck?: HealthCheck;
|
|
391
|
-
/**
|
|
392
|
-
* List of IP addresses of backend servers attached to this backend.
|
|
393
|
-
*/
|
|
394
|
-
pool: string[];
|
|
395
|
-
/**
|
|
396
|
-
* Load Balancer the backend is attached to.
|
|
397
|
-
*/
|
|
398
|
-
lb?: Lb;
|
|
399
|
-
/**
|
|
400
|
-
* @deprecated Deprecated in favor of proxy_protocol field.
|
|
401
|
-
*/
|
|
402
|
-
sendProxyV2?: boolean;
|
|
403
|
-
/**
|
|
404
|
-
* Maximum allowed time for a backend server to process a request.
|
|
405
|
-
*/
|
|
406
|
-
timeoutServer?: string;
|
|
407
|
-
/**
|
|
408
|
-
* Maximum allowed time for establishing a connection to a backend server.
|
|
409
|
-
*/
|
|
410
|
-
timeoutConnect?: string;
|
|
411
|
-
/**
|
|
412
|
-
* Maximum allowed tunnel inactivity time after Websocket is established (takes precedence over client and server timeout).
|
|
413
|
-
*/
|
|
414
|
-
timeoutTunnel?: string;
|
|
415
|
-
/**
|
|
416
|
-
* Action to take when a backend server is marked as down.
|
|
417
|
-
*/
|
|
418
|
-
onMarkedDownAction: OnMarkedDownAction;
|
|
419
|
-
/**
|
|
420
|
-
* Protocol to use between the Load Balancer and backend servers. Allows the backend servers to be informed of the client's real IP address. The PROXY protocol must be supported by the backend servers' software.
|
|
421
|
-
*/
|
|
422
|
-
proxyProtocol: ProxyProtocol;
|
|
423
|
-
/**
|
|
424
|
-
* Date at which the backend was created.
|
|
425
|
-
*/
|
|
426
|
-
createdAt?: Date;
|
|
427
|
-
/**
|
|
428
|
-
* Date at which the backend was updated.
|
|
429
|
-
*/
|
|
430
|
-
updatedAt?: Date;
|
|
431
|
-
/**
|
|
432
|
-
* Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
|
|
433
|
-
*/
|
|
434
|
-
failoverHost?: string;
|
|
435
|
-
/**
|
|
436
|
-
* Defines whether to enable SSL bridging between the Load Balancer and backend servers.
|
|
437
|
-
*/
|
|
438
|
-
sslBridging?: boolean;
|
|
439
|
-
/**
|
|
440
|
-
* Defines whether the server certificate verification should be ignored.
|
|
441
|
-
*/
|
|
442
|
-
ignoreSslServerVerify?: boolean;
|
|
443
|
-
/**
|
|
444
|
-
* Whether to use another backend server on each attempt.
|
|
445
|
-
*/
|
|
446
|
-
redispatchAttemptCount?: number;
|
|
447
|
-
/**
|
|
448
|
-
* Number of retries when a backend server connection failed.
|
|
449
|
-
*/
|
|
450
|
-
maxRetries?: number;
|
|
451
|
-
/**
|
|
452
|
-
* Maximum number of connections allowed per backend server.
|
|
453
|
-
*/
|
|
454
|
-
maxConnections?: number;
|
|
455
|
-
/**
|
|
456
|
-
* Maximum time for a request to be left pending in queue when `max_connections` is reached.
|
|
457
|
-
*/
|
|
458
|
-
timeoutQueue?: string;
|
|
459
|
-
}
|
|
460
|
-
export interface Certificate {
|
|
461
|
-
/**
|
|
462
|
-
* Certificate type (Let's Encrypt or custom).
|
|
463
|
-
*/
|
|
464
|
-
type: CertificateType;
|
|
465
|
-
/**
|
|
466
|
-
* Certificate ID.
|
|
467
|
-
*/
|
|
468
|
-
id: string;
|
|
469
|
-
/**
|
|
470
|
-
* Main domain name of certificate.
|
|
471
|
-
*/
|
|
472
|
-
commonName: string;
|
|
473
|
-
/**
|
|
474
|
-
* Alternative domain names.
|
|
475
|
-
*/
|
|
476
|
-
subjectAlternativeName: string[];
|
|
477
|
-
/**
|
|
478
|
-
* Identifier (SHA-1) of the certificate.
|
|
479
|
-
*/
|
|
480
|
-
fingerprint: string;
|
|
481
|
-
/**
|
|
482
|
-
* Lower validity bound.
|
|
483
|
-
*/
|
|
484
|
-
notValidBefore?: Date;
|
|
485
|
-
/**
|
|
486
|
-
* Upper validity bound.
|
|
487
|
-
*/
|
|
488
|
-
notValidAfter?: Date;
|
|
489
|
-
/**
|
|
490
|
-
* Certificate status.
|
|
491
|
-
*/
|
|
492
|
-
status: CertificateStatus;
|
|
493
|
-
/**
|
|
494
|
-
* Load Balancer object the certificate is attached to.
|
|
495
|
-
*/
|
|
496
|
-
lb?: Lb;
|
|
497
|
-
/**
|
|
498
|
-
* Certificate name.
|
|
499
|
-
*/
|
|
500
|
-
name: string;
|
|
501
|
-
/**
|
|
502
|
-
* Date on which the certificate was created.
|
|
503
|
-
*/
|
|
504
|
-
createdAt?: Date;
|
|
505
|
-
/**
|
|
506
|
-
* Date on which the certificate was last updated.
|
|
507
|
-
*/
|
|
508
|
-
updatedAt?: Date;
|
|
509
|
-
/**
|
|
510
|
-
* Additional information about the certificate status (useful in case of certificate generation failure, for example).
|
|
511
|
-
*/
|
|
512
|
-
statusDetails?: string;
|
|
513
|
-
}
|
|
514
|
-
export interface AclAction {
|
|
515
|
-
/**
|
|
516
|
-
* Action to take when incoming traffic matches an ACL filter.
|
|
517
|
-
*/
|
|
518
|
-
type: AclActionType;
|
|
519
|
-
/**
|
|
520
|
-
* Redirection parameters when using an ACL with a `redirect` action.
|
|
521
|
-
*/
|
|
522
|
-
redirect?: AclActionRedirect;
|
|
523
|
-
}
|
|
524
|
-
export interface AclMatch {
|
|
525
|
-
/**
|
|
526
|
-
* List of IPs or CIDR v4/v6 addresses to filter for from the client side.
|
|
527
|
-
*/
|
|
528
|
-
ipSubnet: string[];
|
|
529
|
-
/**
|
|
530
|
-
* Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends.
|
|
531
|
-
*/
|
|
532
|
-
httpFilter: AclHttpFilter;
|
|
533
|
-
/**
|
|
534
|
-
* List of values to filter for.
|
|
535
|
-
*/
|
|
536
|
-
httpFilterValue: string[];
|
|
537
|
-
/**
|
|
538
|
-
* Name of the HTTP header to filter on if `http_header_match` was selected in `http_filter`.
|
|
539
|
-
*/
|
|
540
|
-
httpFilterOption?: string;
|
|
541
|
-
/**
|
|
542
|
-
* Defines whether to invert the match condition. If set to `true`, the ACL carries out its action when the condition DOES NOT match.
|
|
543
|
-
*/
|
|
544
|
-
invert: boolean;
|
|
545
|
-
}
|
|
546
|
-
export interface Frontend {
|
|
547
|
-
/**
|
|
548
|
-
* Frontend ID.
|
|
549
|
-
*/
|
|
550
|
-
id: string;
|
|
551
|
-
/**
|
|
552
|
-
* Name of the frontend.
|
|
553
|
-
*/
|
|
554
|
-
name: string;
|
|
555
|
-
/**
|
|
556
|
-
* Port the frontend listens on.
|
|
557
|
-
*/
|
|
558
|
-
inboundPort: number;
|
|
559
|
-
/**
|
|
560
|
-
* Backend object the frontend is attached to.
|
|
561
|
-
*/
|
|
562
|
-
backend?: Backend;
|
|
563
|
-
/**
|
|
564
|
-
* Load Balancer object the frontend is attached to.
|
|
565
|
-
*/
|
|
566
|
-
lb?: Lb;
|
|
567
|
-
/**
|
|
568
|
-
* Maximum allowed inactivity time on the client side.
|
|
569
|
-
*/
|
|
570
|
-
timeoutClient?: string;
|
|
571
|
-
/**
|
|
572
|
-
* @deprecated Certificate, deprecated in favor of certificate_ids array.
|
|
573
|
-
*/
|
|
574
|
-
certificate?: Certificate;
|
|
575
|
-
/**
|
|
576
|
-
* List of SSL/TLS certificate IDs to bind to the frontend.
|
|
577
|
-
*/
|
|
578
|
-
certificateIds: string[];
|
|
579
|
-
/**
|
|
580
|
-
* Date on which the frontend was created.
|
|
581
|
-
*/
|
|
582
|
-
createdAt?: Date;
|
|
583
|
-
/**
|
|
584
|
-
* Date on which the frontend was last updated.
|
|
585
|
-
*/
|
|
586
|
-
updatedAt?: Date;
|
|
587
|
-
/**
|
|
588
|
-
* Defines whether to enable HTTP/3 protocol on the frontend.
|
|
589
|
-
*/
|
|
590
|
-
enableHttp3: boolean;
|
|
591
|
-
/**
|
|
592
|
-
* Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
|
|
593
|
-
*/
|
|
594
|
-
connectionRateLimit?: number;
|
|
595
|
-
}
|
|
596
|
-
export interface PrivateNetworkDHCPConfig {
|
|
597
|
-
/**
|
|
598
|
-
* @deprecated
|
|
599
|
-
*/
|
|
600
|
-
ipId?: string;
|
|
601
|
-
}
|
|
602
|
-
export interface PrivateNetworkIpamConfig {
|
|
603
|
-
}
|
|
604
|
-
export interface PrivateNetworkStaticConfig {
|
|
605
|
-
/**
|
|
606
|
-
* @deprecated Array of a local IP address for the Load Balancer on this Private Network.
|
|
607
|
-
*/
|
|
608
|
-
ipAddress?: string[];
|
|
609
|
-
}
|
|
610
|
-
export interface RouteMatch {
|
|
611
|
-
/**
|
|
612
|
-
* Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. This field should be set for routes on TCP Load Balancers.
|
|
613
|
-
*
|
|
614
|
-
* One-of ('matchType'): at most one of 'sni', 'hostHeader' could be set.
|
|
615
|
-
*/
|
|
616
|
-
sni?: string;
|
|
617
|
-
/**
|
|
618
|
-
* Value to match in the HTTP Host request header from an incoming request. This field should be set for routes on HTTP Load Balancers.
|
|
619
|
-
*
|
|
620
|
-
* One-of ('matchType'): at most one of 'sni', 'hostHeader' could be set.
|
|
621
|
-
*/
|
|
622
|
-
hostHeader?: string;
|
|
623
|
-
/**
|
|
624
|
-
* If true, all subdomains will match.
|
|
625
|
-
*/
|
|
626
|
-
matchSubdomains: boolean;
|
|
627
|
-
}
|
|
628
|
-
export interface CreateCertificateRequestCustomCertificate {
|
|
629
|
-
/**
|
|
630
|
-
* Full PEM-formatted certificate, consisting of the entire certificate chain including public key, private key, and (optionally) Certificate Authorities.
|
|
631
|
-
*/
|
|
632
|
-
certificateChain: string;
|
|
633
|
-
}
|
|
634
|
-
export interface CreateCertificateRequestLetsencryptConfig {
|
|
635
|
-
/**
|
|
636
|
-
* Main domain name of certificate (this domain must exist and resolve to your Load Balancer IP address).
|
|
637
|
-
*/
|
|
638
|
-
commonName: string;
|
|
639
|
-
/**
|
|
640
|
-
* Alternative domain names (all domain names must exist and resolve to your Load Balancer IP address).
|
|
641
|
-
*/
|
|
642
|
-
subjectAlternativeName: string[];
|
|
643
|
-
}
|
|
644
|
-
export interface BackendServerStats {
|
|
645
|
-
/**
|
|
646
|
-
* ID of your Load Balancer's underlying Instance.
|
|
647
|
-
*/
|
|
648
|
-
instanceId: string;
|
|
649
|
-
/**
|
|
650
|
-
* Backend ID.
|
|
651
|
-
*/
|
|
652
|
-
backendId: string;
|
|
653
|
-
/**
|
|
654
|
-
* IPv4 or IPv6 address of the backend server.
|
|
655
|
-
*/
|
|
656
|
-
ip: string;
|
|
657
|
-
/**
|
|
658
|
-
* Server operational state (stopped/starting/running/stopping).
|
|
659
|
-
*/
|
|
660
|
-
serverState: BackendServerStatsServerState;
|
|
661
|
-
/**
|
|
662
|
-
* Time since last operational change.
|
|
663
|
-
*/
|
|
664
|
-
serverStateChangedAt?: Date;
|
|
665
|
-
/**
|
|
666
|
-
* Last health check status (unknown/neutral/failed/passed/condpass).
|
|
667
|
-
*/
|
|
668
|
-
lastHealthCheckStatus: BackendServerStatsHealthCheckStatus;
|
|
669
|
-
}
|
|
670
|
-
export interface Acl {
|
|
671
|
-
/**
|
|
672
|
-
* ACL ID.
|
|
673
|
-
*/
|
|
674
|
-
id: string;
|
|
675
|
-
/**
|
|
676
|
-
* ACL name.
|
|
677
|
-
*/
|
|
678
|
-
name: string;
|
|
679
|
-
/**
|
|
680
|
-
* ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required.
|
|
681
|
-
*/
|
|
682
|
-
match?: AclMatch;
|
|
683
|
-
/**
|
|
684
|
-
* Action to take when incoming traffic matches an ACL filter.
|
|
685
|
-
*/
|
|
686
|
-
action?: AclAction;
|
|
687
|
-
/**
|
|
688
|
-
* ACL is attached to this frontend object.
|
|
689
|
-
*/
|
|
690
|
-
frontend?: Frontend;
|
|
691
|
-
/**
|
|
692
|
-
* Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
|
|
693
|
-
*/
|
|
694
|
-
index: number;
|
|
695
|
-
/**
|
|
696
|
-
* Date on which the ACL was created.
|
|
697
|
-
*/
|
|
698
|
-
createdAt?: Date;
|
|
699
|
-
/**
|
|
700
|
-
* Date on which the ACL was last updated.
|
|
701
|
-
*/
|
|
702
|
-
updatedAt?: Date;
|
|
703
|
-
/**
|
|
704
|
-
* ACL description.
|
|
705
|
-
*/
|
|
706
|
-
description: string;
|
|
707
|
-
}
|
|
708
|
-
export interface PrivateNetwork {
|
|
709
|
-
/**
|
|
710
|
-
* Load Balancer object which is attached to the Private Network.
|
|
711
|
-
*/
|
|
712
|
-
lb?: Lb;
|
|
713
|
-
/**
|
|
714
|
-
* IPAM IDs of the booked IP addresses.
|
|
715
|
-
*/
|
|
716
|
-
ipamIds: string[];
|
|
717
|
-
/**
|
|
718
|
-
* @deprecated Object containing an array of a local IP address for the Load Balancer on this Private Network.
|
|
719
|
-
*
|
|
720
|
-
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig', 'ipamConfig' could be set.
|
|
721
|
-
*/
|
|
722
|
-
staticConfig?: PrivateNetworkStaticConfig;
|
|
723
|
-
/**
|
|
724
|
-
* @deprecated Object containing DHCP-assigned IP addresses.
|
|
725
|
-
*
|
|
726
|
-
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig', 'ipamConfig' could be set.
|
|
727
|
-
*/
|
|
728
|
-
dhcpConfig?: PrivateNetworkDHCPConfig;
|
|
729
|
-
/**
|
|
730
|
-
* @deprecated For internal use only.
|
|
731
|
-
*
|
|
732
|
-
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig', 'ipamConfig' could be set.
|
|
733
|
-
*/
|
|
734
|
-
ipamConfig?: PrivateNetworkIpamConfig;
|
|
735
|
-
/**
|
|
736
|
-
* Private Network ID.
|
|
737
|
-
*/
|
|
738
|
-
privateNetworkId: string;
|
|
739
|
-
/**
|
|
740
|
-
* Status of Private Network connection.
|
|
741
|
-
*/
|
|
742
|
-
status: PrivateNetworkStatus;
|
|
743
|
-
/**
|
|
744
|
-
* Date on which the Private Network was created.
|
|
745
|
-
*/
|
|
746
|
-
createdAt?: Date;
|
|
747
|
-
/**
|
|
748
|
-
* Date on which the PN was last updated.
|
|
749
|
-
*/
|
|
750
|
-
updatedAt?: Date;
|
|
751
|
-
}
|
|
752
|
-
export interface LbType {
|
|
753
|
-
/**
|
|
754
|
-
* Load Balancer commercial offer type name.
|
|
755
|
-
*/
|
|
756
|
-
name: string;
|
|
757
|
-
/**
|
|
758
|
-
* Current stock status for a given Load Balancer type.
|
|
759
|
-
*/
|
|
760
|
-
stockStatus: LbTypeStock;
|
|
761
|
-
/**
|
|
762
|
-
* Load Balancer commercial offer type description.
|
|
763
|
-
*/
|
|
764
|
-
description: string;
|
|
765
|
-
/**
|
|
766
|
-
* @deprecated The region the Load Balancer stock is in.
|
|
767
|
-
*/
|
|
768
|
-
region?: ScwRegion;
|
|
769
|
-
/**
|
|
770
|
-
* The zone the Load Balancer stock is in.
|
|
771
|
-
*/
|
|
772
|
-
zone: ScwZone;
|
|
773
|
-
}
|
|
774
|
-
export interface Route {
|
|
775
|
-
/**
|
|
776
|
-
* Route ID.
|
|
777
|
-
*/
|
|
778
|
-
id: string;
|
|
779
|
-
/**
|
|
780
|
-
* ID of the source frontend.
|
|
781
|
-
*/
|
|
782
|
-
frontendId: string;
|
|
783
|
-
/**
|
|
784
|
-
* ID of the target backend.
|
|
785
|
-
*/
|
|
786
|
-
backendId: string;
|
|
787
|
-
/**
|
|
788
|
-
* Object defining the match condition for a route to be applied. If an incoming client session matches the specified condition (i.e. it has a matching SNI value or HTTP Host header value), it will be passed to the target backend.
|
|
789
|
-
*/
|
|
790
|
-
match?: RouteMatch;
|
|
791
|
-
/**
|
|
792
|
-
* Date on which the route was created.
|
|
793
|
-
*/
|
|
794
|
-
createdAt?: Date;
|
|
795
|
-
/**
|
|
796
|
-
* Date on which the route was last updated.
|
|
797
|
-
*/
|
|
798
|
-
updatedAt?: Date;
|
|
799
|
-
}
|
|
800
|
-
export interface AclSpec {
|
|
801
|
-
/**
|
|
802
|
-
* ACL name.
|
|
803
|
-
*/
|
|
804
|
-
name: string;
|
|
805
|
-
/**
|
|
806
|
-
* Action to take when incoming traffic matches an ACL filter.
|
|
807
|
-
*/
|
|
808
|
-
action: AclAction;
|
|
809
|
-
/**
|
|
810
|
-
* ACL match filter object. One of `ip_subnet` or `http_filter` and `http_filter_value` are required.
|
|
811
|
-
*/
|
|
812
|
-
match?: AclMatch;
|
|
813
|
-
/**
|
|
814
|
-
* Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
|
|
815
|
-
*/
|
|
816
|
-
index: number;
|
|
817
|
-
/**
|
|
818
|
-
* ACL description.
|
|
819
|
-
*/
|
|
820
|
-
description: string;
|
|
821
|
-
}
|
|
822
|
-
export type AddBackendServersRequest = {
|
|
823
|
-
/**
|
|
824
|
-
* Region to target. If none is passed will use default region from the config.
|
|
825
|
-
*/
|
|
826
|
-
region?: ScwRegion;
|
|
827
|
-
/**
|
|
828
|
-
* Backend ID.
|
|
829
|
-
*/
|
|
830
|
-
backendId: string;
|
|
831
|
-
/**
|
|
832
|
-
* List of IP addresses to add to backend servers.
|
|
833
|
-
*/
|
|
834
|
-
serverIp: string[];
|
|
835
|
-
};
|
|
836
|
-
export type AttachPrivateNetworkRequest = {
|
|
837
|
-
/**
|
|
838
|
-
* Region to target. If none is passed will use default region from the config.
|
|
839
|
-
*/
|
|
840
|
-
region?: ScwRegion;
|
|
841
|
-
/**
|
|
842
|
-
* Load Balancer ID.
|
|
843
|
-
*/
|
|
844
|
-
lbId: string;
|
|
845
|
-
/**
|
|
846
|
-
* Private Network ID.
|
|
847
|
-
*/
|
|
848
|
-
privateNetworkId: string;
|
|
849
|
-
/**
|
|
850
|
-
* @deprecated Object containing an array of a local IP address for the Load Balancer on this Private Network.
|
|
851
|
-
*
|
|
852
|
-
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig', 'ipamConfig' could be set.
|
|
853
|
-
*/
|
|
854
|
-
staticConfig?: PrivateNetworkStaticConfig;
|
|
855
|
-
/**
|
|
856
|
-
* @deprecated Defines whether to let DHCP assign IP addresses.
|
|
857
|
-
*
|
|
858
|
-
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig', 'ipamConfig' could be set.
|
|
859
|
-
*/
|
|
860
|
-
dhcpConfig?: PrivateNetworkDHCPConfig;
|
|
861
|
-
/**
|
|
862
|
-
* @deprecated For internal use only.
|
|
863
|
-
*
|
|
864
|
-
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig', 'ipamConfig' could be set.
|
|
865
|
-
*/
|
|
866
|
-
ipamConfig?: PrivateNetworkIpamConfig;
|
|
867
|
-
/**
|
|
868
|
-
* IPAM ID of a pre-reserved IP address to assign to the Load Balancer on this Private Network. In the future, it will be possible to specify multiple IPs in this field (IPv4 and IPv6), for now only one ID of an IPv4 address is expected. When null, a new private IP address is created for the Load Balancer on this Private Network.
|
|
869
|
-
*/
|
|
870
|
-
ipamIds?: string[];
|
|
871
|
-
};
|
|
872
|
-
/**
|
|
873
|
-
* Add an ACL to a Load Balancer frontend.
|
|
874
|
-
*/
|
|
875
|
-
export type CreateAclRequest = {
|
|
876
|
-
/**
|
|
877
|
-
* Region to target. If none is passed will use default region from the config.
|
|
878
|
-
*/
|
|
879
|
-
region?: ScwRegion;
|
|
880
|
-
/**
|
|
881
|
-
* Frontend ID to attach the ACL to.
|
|
882
|
-
*/
|
|
883
|
-
frontendId: string;
|
|
884
|
-
/**
|
|
885
|
-
* ACL name.
|
|
886
|
-
*/
|
|
887
|
-
name?: string;
|
|
888
|
-
/**
|
|
889
|
-
* Action to take when incoming traffic matches an ACL filter.
|
|
890
|
-
*/
|
|
891
|
-
action: AclAction;
|
|
892
|
-
/**
|
|
893
|
-
* ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required.
|
|
894
|
-
*/
|
|
895
|
-
match?: AclMatch;
|
|
896
|
-
/**
|
|
897
|
-
* Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
|
|
898
|
-
*/
|
|
899
|
-
index: number;
|
|
900
|
-
/**
|
|
901
|
-
* ACL description.
|
|
902
|
-
*/
|
|
903
|
-
description: string;
|
|
904
|
-
};
|
|
905
|
-
export type CreateBackendRequest = {
|
|
906
|
-
/**
|
|
907
|
-
* Region to target. If none is passed will use default region from the config.
|
|
908
|
-
*/
|
|
909
|
-
region?: ScwRegion;
|
|
910
|
-
/**
|
|
911
|
-
* Load Balancer ID.
|
|
912
|
-
*/
|
|
913
|
-
lbId: string;
|
|
914
|
-
/**
|
|
915
|
-
* Name for the backend.
|
|
916
|
-
*/
|
|
917
|
-
name?: string;
|
|
918
|
-
/**
|
|
919
|
-
* Protocol to be used by the backend when forwarding traffic to backend servers.
|
|
920
|
-
*/
|
|
921
|
-
forwardProtocol: Protocol;
|
|
922
|
-
/**
|
|
923
|
-
* Port to be used by the backend when forwarding traffic to backend servers.
|
|
924
|
-
*/
|
|
925
|
-
forwardPort: number;
|
|
926
|
-
/**
|
|
927
|
-
* Load balancing algorithm to be used when determining which backend server to forward new traffic to.
|
|
928
|
-
*/
|
|
929
|
-
forwardPortAlgorithm: ForwardPortAlgorithm;
|
|
930
|
-
/**
|
|
931
|
-
* Defines whether to activate sticky sessions (binding a particular session to a particular backend server) and the method to use if so. None disables sticky sessions. Cookie-based uses an HTTP cookie TO stick a session to a backend server. Table-based uses the source (client) IP address to stick a session to a backend server.
|
|
932
|
-
*/
|
|
933
|
-
stickySessions: StickySessionsType;
|
|
934
|
-
/**
|
|
935
|
-
* Cookie name for cookie-based sticky sessions.
|
|
936
|
-
*/
|
|
937
|
-
stickySessionsCookieName: string;
|
|
938
|
-
/**
|
|
939
|
-
* Object defining the health check to be carried out by the backend when checking the status and health of backend servers.
|
|
940
|
-
*/
|
|
941
|
-
healthCheck: HealthCheck;
|
|
942
|
-
/**
|
|
943
|
-
* List of backend server IP addresses (IPv4 or IPv6) the backend should forward traffic to.
|
|
944
|
-
*/
|
|
945
|
-
serverIp: string[];
|
|
946
|
-
/**
|
|
947
|
-
* @deprecated Deprecated in favor of proxy_protocol field.
|
|
948
|
-
*/
|
|
949
|
-
sendProxyV2?: boolean;
|
|
950
|
-
/**
|
|
951
|
-
* Maximum allowed time for a backend server to process a request.
|
|
952
|
-
*/
|
|
953
|
-
timeoutServer?: string;
|
|
954
|
-
/**
|
|
955
|
-
* Maximum allowed time for establishing a connection to a backend server.
|
|
956
|
-
*/
|
|
957
|
-
timeoutConnect?: string;
|
|
958
|
-
/**
|
|
959
|
-
* Maximum allowed tunnel inactivity time after Websocket is established (takes precedence over client and server timeout).
|
|
960
|
-
*/
|
|
961
|
-
timeoutTunnel?: string;
|
|
962
|
-
/**
|
|
963
|
-
* Action to take when a backend server is marked as down.
|
|
964
|
-
*/
|
|
965
|
-
onMarkedDownAction?: OnMarkedDownAction;
|
|
966
|
-
/**
|
|
967
|
-
* Protocol to use between the Load Balancer and backend servers. Allows the backend servers to be informed of the client's real IP address. The PROXY protocol must be supported by the backend servers' software.
|
|
968
|
-
*/
|
|
969
|
-
proxyProtocol?: ProxyProtocol;
|
|
970
|
-
/**
|
|
971
|
-
* Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
|
|
972
|
-
*/
|
|
973
|
-
failoverHost?: string;
|
|
974
|
-
/**
|
|
975
|
-
* Defines whether to enable SSL bridging between the Load Balancer and backend servers.
|
|
976
|
-
*/
|
|
977
|
-
sslBridging?: boolean;
|
|
978
|
-
/**
|
|
979
|
-
* Defines whether the server certificate verification should be ignored.
|
|
980
|
-
*/
|
|
981
|
-
ignoreSslServerVerify?: boolean;
|
|
982
|
-
/**
|
|
983
|
-
* Whether to use another backend server on each attempt.
|
|
984
|
-
*/
|
|
985
|
-
redispatchAttemptCount?: number;
|
|
986
|
-
/**
|
|
987
|
-
* Number of retries when a backend server connection failed.
|
|
988
|
-
*/
|
|
989
|
-
maxRetries?: number;
|
|
990
|
-
/**
|
|
991
|
-
* Maximum number of connections allowed per backend server.
|
|
992
|
-
*/
|
|
993
|
-
maxConnections?: number;
|
|
994
|
-
/**
|
|
995
|
-
* Maximum time for a request to be left pending in queue when `max_connections` is reached.
|
|
996
|
-
*/
|
|
997
|
-
timeoutQueue?: string;
|
|
998
|
-
};
|
|
999
|
-
export type CreateCertificateRequest = {
|
|
1000
|
-
/**
|
|
1001
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1002
|
-
*/
|
|
1003
|
-
region?: ScwRegion;
|
|
1004
|
-
/**
|
|
1005
|
-
* Load Balancer ID.
|
|
1006
|
-
*/
|
|
1007
|
-
lbId: string;
|
|
1008
|
-
/**
|
|
1009
|
-
* Name for the certificate.
|
|
1010
|
-
*/
|
|
1011
|
-
name?: string;
|
|
1012
|
-
/**
|
|
1013
|
-
* Object to define a new Let's Encrypt certificate to be generated.
|
|
1014
|
-
*
|
|
1015
|
-
* One-of ('type'): at most one of 'letsencrypt', 'customCertificate' could be set.
|
|
1016
|
-
*/
|
|
1017
|
-
letsencrypt?: CreateCertificateRequestLetsencryptConfig;
|
|
1018
|
-
/**
|
|
1019
|
-
* Object to define an existing custom certificate to be imported.
|
|
1020
|
-
*
|
|
1021
|
-
* One-of ('type'): at most one of 'letsencrypt', 'customCertificate' could be set.
|
|
1022
|
-
*/
|
|
1023
|
-
customCertificate?: CreateCertificateRequestCustomCertificate;
|
|
1024
|
-
};
|
|
1025
|
-
export type CreateFrontendRequest = {
|
|
1026
|
-
/**
|
|
1027
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1028
|
-
*/
|
|
1029
|
-
region?: ScwRegion;
|
|
1030
|
-
/**
|
|
1031
|
-
* Load Balancer ID (ID of the Load Balancer to attach the frontend to).
|
|
1032
|
-
*/
|
|
1033
|
-
lbId: string;
|
|
1034
|
-
/**
|
|
1035
|
-
* Name for the frontend.
|
|
1036
|
-
*/
|
|
1037
|
-
name?: string;
|
|
1038
|
-
/**
|
|
1039
|
-
* Port the frontend should listen on.
|
|
1040
|
-
*/
|
|
1041
|
-
inboundPort: number;
|
|
1042
|
-
/**
|
|
1043
|
-
* Backend ID (ID of the backend the frontend should pass traffic to).
|
|
1044
|
-
*/
|
|
1045
|
-
backendId: string;
|
|
1046
|
-
/**
|
|
1047
|
-
* Maximum allowed inactivity time on the client side.
|
|
1048
|
-
*/
|
|
1049
|
-
timeoutClient?: string;
|
|
1050
|
-
/**
|
|
1051
|
-
* @deprecated Certificate ID, deprecated in favor of certificate_ids array.
|
|
1052
|
-
*/
|
|
1053
|
-
certificateId?: string;
|
|
1054
|
-
/**
|
|
1055
|
-
* List of SSL/TLS certificate IDs to bind to the frontend.
|
|
1056
|
-
*/
|
|
1057
|
-
certificateIds?: string[];
|
|
1058
|
-
/**
|
|
1059
|
-
* Defines whether to enable HTTP/3 protocol on the frontend.
|
|
1060
|
-
*/
|
|
1061
|
-
enableHttp3: boolean;
|
|
1062
|
-
/**
|
|
1063
|
-
* Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
|
|
1064
|
-
*/
|
|
1065
|
-
connectionRateLimit?: number;
|
|
1066
|
-
};
|
|
1067
|
-
export type CreateIpRequest = {
|
|
1068
|
-
/**
|
|
1069
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1070
|
-
*/
|
|
1071
|
-
region?: ScwRegion;
|
|
1072
|
-
/**
|
|
1073
|
-
* @deprecated Organization ID of the Organization where the IP address should be created.
|
|
1074
|
-
*
|
|
1075
|
-
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
1076
|
-
*/
|
|
1077
|
-
organizationId?: string;
|
|
1078
|
-
/**
|
|
1079
|
-
* Project ID of the Project where the IP address should be created.
|
|
1080
|
-
*
|
|
1081
|
-
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
1082
|
-
*/
|
|
1083
|
-
projectId?: string;
|
|
1084
|
-
/**
|
|
1085
|
-
* Reverse DNS (domain name) for the IP address.
|
|
1086
|
-
*/
|
|
1087
|
-
reverse?: string;
|
|
1088
|
-
/**
|
|
1089
|
-
* If true, creates a Flexible IP with an ipv6 address.
|
|
1090
|
-
*/
|
|
1091
|
-
isIpv6: boolean;
|
|
1092
|
-
/**
|
|
1093
|
-
* List of tags for the IP.
|
|
1094
|
-
*/
|
|
1095
|
-
tags?: string[];
|
|
1096
|
-
};
|
|
1097
|
-
export type CreateLbRequest = {
|
|
1098
|
-
/**
|
|
1099
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1100
|
-
*/
|
|
1101
|
-
region?: ScwRegion;
|
|
1102
|
-
/**
|
|
1103
|
-
* @deprecated Scaleway Organization to create the Load Balancer in.
|
|
1104
|
-
*
|
|
1105
|
-
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
1106
|
-
*/
|
|
1107
|
-
organizationId?: string;
|
|
1108
|
-
/**
|
|
1109
|
-
* Scaleway Project to create the Load Balancer in.
|
|
1110
|
-
*
|
|
1111
|
-
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
1112
|
-
*/
|
|
1113
|
-
projectId?: string;
|
|
1114
|
-
/**
|
|
1115
|
-
* Name for the Load Balancer.
|
|
1116
|
-
*/
|
|
1117
|
-
name?: string;
|
|
1118
|
-
/**
|
|
1119
|
-
* Description for the Load Balancer.
|
|
1120
|
-
*/
|
|
1121
|
-
description: string;
|
|
1122
|
-
/**
|
|
1123
|
-
* @deprecated ID of an existing flexible IP address to attach to the Load Balancer.
|
|
1124
|
-
*/
|
|
1125
|
-
ipId?: string;
|
|
1126
|
-
/**
|
|
1127
|
-
* Defines whether to automatically assign a flexible public IP to the Load Balancer. Default value is `true` (assign).
|
|
1128
|
-
*/
|
|
1129
|
-
assignFlexibleIp?: boolean;
|
|
1130
|
-
/**
|
|
1131
|
-
* Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. Default value is `false` (do not assign).
|
|
1132
|
-
*/
|
|
1133
|
-
assignFlexibleIpv6?: boolean;
|
|
1134
|
-
/**
|
|
1135
|
-
* List of IP IDs to attach to the Load Balancer.
|
|
1136
|
-
*/
|
|
1137
|
-
ipIds?: string[];
|
|
1138
|
-
/**
|
|
1139
|
-
* List of tags for the Load Balancer.
|
|
1140
|
-
*/
|
|
1141
|
-
tags?: string[];
|
|
1142
|
-
/**
|
|
1143
|
-
* Load Balancer commercial offer type. Use the Load Balancer types endpoint to retrieve a list of available offer types.
|
|
1144
|
-
*/
|
|
1145
|
-
type: string;
|
|
1146
|
-
/**
|
|
1147
|
-
* Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems. Modern is suitable for services with clients that support TLS 1.3 and do not need backward compatibility. Old is compatible with a small number of very old clients and should be used only as a last resort.
|
|
1148
|
-
*/
|
|
1149
|
-
sslCompatibilityLevel?: SSLCompatibilityLevel;
|
|
1150
|
-
};
|
|
1151
|
-
export type CreateRouteRequest = {
|
|
1152
|
-
/**
|
|
1153
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1154
|
-
*/
|
|
1155
|
-
region?: ScwRegion;
|
|
1156
|
-
/**
|
|
1157
|
-
* ID of the source frontend to create the route on.
|
|
1158
|
-
*/
|
|
1159
|
-
frontendId: string;
|
|
1160
|
-
/**
|
|
1161
|
-
* ID of the target backend for the route.
|
|
1162
|
-
*/
|
|
1163
|
-
backendId: string;
|
|
1164
|
-
/**
|
|
1165
|
-
* Object defining the match condition for a route to be applied. If an incoming client session matches the specified condition (i.e. it has a matching SNI value or HTTP Host header value), it will be passed to the target backend.
|
|
1166
|
-
*/
|
|
1167
|
-
match?: RouteMatch;
|
|
1168
|
-
};
|
|
1169
|
-
/**
|
|
1170
|
-
* Create a new alert subscriber (webhook or email).
|
|
1171
|
-
*/
|
|
1172
|
-
export type CreateSubscriberRequest = {
|
|
1173
|
-
/**
|
|
1174
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1175
|
-
*/
|
|
1176
|
-
region?: ScwRegion;
|
|
1177
|
-
/**
|
|
1178
|
-
* Subscriber name.
|
|
1179
|
-
*/
|
|
1180
|
-
name: string;
|
|
1181
|
-
/**
|
|
1182
|
-
* Email address configuration.
|
|
1183
|
-
*
|
|
1184
|
-
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
1185
|
-
*/
|
|
1186
|
-
emailConfig?: SubscriberEmailConfig;
|
|
1187
|
-
/**
|
|
1188
|
-
* WebHook URI configuration.
|
|
1189
|
-
*
|
|
1190
|
-
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
1191
|
-
*/
|
|
1192
|
-
webhookConfig?: SubscriberWebhookConfig;
|
|
1193
|
-
/**
|
|
1194
|
-
* @deprecated Organization ID to create the subscriber in.
|
|
1195
|
-
*
|
|
1196
|
-
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
1197
|
-
*/
|
|
1198
|
-
organizationId?: string;
|
|
1199
|
-
/**
|
|
1200
|
-
* Project ID to create the subscriber in.
|
|
1201
|
-
*
|
|
1202
|
-
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
1203
|
-
*/
|
|
1204
|
-
projectId?: string;
|
|
1205
|
-
};
|
|
1206
|
-
export type DeleteAclRequest = {
|
|
1207
|
-
/**
|
|
1208
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1209
|
-
*/
|
|
1210
|
-
region?: ScwRegion;
|
|
1211
|
-
/**
|
|
1212
|
-
* ACL ID.
|
|
1213
|
-
*/
|
|
1214
|
-
aclId: string;
|
|
1215
|
-
};
|
|
1216
|
-
export type DeleteBackendRequest = {
|
|
1217
|
-
/**
|
|
1218
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1219
|
-
*/
|
|
1220
|
-
region?: ScwRegion;
|
|
1221
|
-
/**
|
|
1222
|
-
* ID of the backend to delete.
|
|
1223
|
-
*/
|
|
1224
|
-
backendId: string;
|
|
1225
|
-
};
|
|
1226
|
-
export type DeleteCertificateRequest = {
|
|
1227
|
-
/**
|
|
1228
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1229
|
-
*/
|
|
1230
|
-
region?: ScwRegion;
|
|
1231
|
-
/**
|
|
1232
|
-
* Certificate ID.
|
|
1233
|
-
*/
|
|
1234
|
-
certificateId: string;
|
|
1235
|
-
};
|
|
1236
|
-
export type DeleteFrontendRequest = {
|
|
1237
|
-
/**
|
|
1238
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1239
|
-
*/
|
|
1240
|
-
region?: ScwRegion;
|
|
1241
|
-
/**
|
|
1242
|
-
* ID of the frontend to delete.
|
|
1243
|
-
*/
|
|
1244
|
-
frontendId: string;
|
|
1245
|
-
};
|
|
1246
|
-
export type DeleteLbRequest = {
|
|
1247
|
-
/**
|
|
1248
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1249
|
-
*/
|
|
1250
|
-
region?: ScwRegion;
|
|
1251
|
-
/**
|
|
1252
|
-
* ID of the Load Balancer to delete.
|
|
1253
|
-
*/
|
|
1254
|
-
lbId: string;
|
|
1255
|
-
/**
|
|
1256
|
-
* Defines whether the Load Balancer's flexible IP should be deleted. Set to true to release the flexible IP, or false to keep it available in your account for future Load Balancers.
|
|
1257
|
-
*/
|
|
1258
|
-
releaseIp: boolean;
|
|
1259
|
-
};
|
|
1260
|
-
export type DeleteRouteRequest = {
|
|
1261
|
-
/**
|
|
1262
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1263
|
-
*/
|
|
1264
|
-
region?: ScwRegion;
|
|
1265
|
-
/**
|
|
1266
|
-
* Route ID.
|
|
1267
|
-
*/
|
|
1268
|
-
routeId: string;
|
|
1269
|
-
};
|
|
1270
|
-
export type DeleteSubscriberRequest = {
|
|
1271
|
-
/**
|
|
1272
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1273
|
-
*/
|
|
1274
|
-
region?: ScwRegion;
|
|
1275
|
-
/**
|
|
1276
|
-
* Subscriber ID.
|
|
1277
|
-
*/
|
|
1278
|
-
subscriberId: string;
|
|
1279
|
-
};
|
|
1280
|
-
export type DetachPrivateNetworkRequest = {
|
|
1281
|
-
/**
|
|
1282
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1283
|
-
*/
|
|
1284
|
-
region?: ScwRegion;
|
|
1285
|
-
/**
|
|
1286
|
-
* Load balancer ID.
|
|
1287
|
-
*/
|
|
1288
|
-
lbId: string;
|
|
1289
|
-
/**
|
|
1290
|
-
* Set your instance private network id.
|
|
1291
|
-
*/
|
|
1292
|
-
privateNetworkId: string;
|
|
1293
|
-
};
|
|
1294
|
-
export type GetAclRequest = {
|
|
1295
|
-
/**
|
|
1296
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1297
|
-
*/
|
|
1298
|
-
region?: ScwRegion;
|
|
1299
|
-
/**
|
|
1300
|
-
* ACL ID.
|
|
1301
|
-
*/
|
|
1302
|
-
aclId: string;
|
|
1303
|
-
};
|
|
1304
|
-
export type GetBackendRequest = {
|
|
1305
|
-
/**
|
|
1306
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1307
|
-
*/
|
|
1308
|
-
region?: ScwRegion;
|
|
1309
|
-
/**
|
|
1310
|
-
* Backend ID.
|
|
1311
|
-
*/
|
|
1312
|
-
backendId: string;
|
|
1313
|
-
};
|
|
1314
|
-
export type GetCertificateRequest = {
|
|
1315
|
-
/**
|
|
1316
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1317
|
-
*/
|
|
1318
|
-
region?: ScwRegion;
|
|
1319
|
-
/**
|
|
1320
|
-
* Certificate ID.
|
|
1321
|
-
*/
|
|
1322
|
-
certificateId: string;
|
|
1323
|
-
};
|
|
1324
|
-
export type GetFrontendRequest = {
|
|
1325
|
-
/**
|
|
1326
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1327
|
-
*/
|
|
1328
|
-
region?: ScwRegion;
|
|
1329
|
-
/**
|
|
1330
|
-
* Frontend ID.
|
|
1331
|
-
*/
|
|
1332
|
-
frontendId: string;
|
|
1333
|
-
};
|
|
1334
|
-
export type GetIpRequest = {
|
|
1335
|
-
/**
|
|
1336
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1337
|
-
*/
|
|
1338
|
-
region?: ScwRegion;
|
|
1339
|
-
/**
|
|
1340
|
-
* IP address ID.
|
|
1341
|
-
*/
|
|
1342
|
-
ipId: string;
|
|
1343
|
-
};
|
|
1344
|
-
export type GetLbRequest = {
|
|
1345
|
-
/**
|
|
1346
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1347
|
-
*/
|
|
1348
|
-
region?: ScwRegion;
|
|
1349
|
-
/**
|
|
1350
|
-
* Load Balancer ID.
|
|
1351
|
-
*/
|
|
1352
|
-
lbId: string;
|
|
1353
|
-
};
|
|
1354
|
-
/**
|
|
1355
|
-
* Get Load Balancer stats.
|
|
1356
|
-
*/
|
|
1357
|
-
export type GetLbStatsRequest = {
|
|
1358
|
-
/**
|
|
1359
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1360
|
-
*/
|
|
1361
|
-
region?: ScwRegion;
|
|
1362
|
-
/**
|
|
1363
|
-
* Load Balancer ID.
|
|
1364
|
-
*/
|
|
1365
|
-
lbId: string;
|
|
1366
|
-
/**
|
|
1367
|
-
* ID of the backend.
|
|
1368
|
-
*/
|
|
1369
|
-
backendId?: string;
|
|
1370
|
-
};
|
|
1371
|
-
export type GetRouteRequest = {
|
|
1372
|
-
/**
|
|
1373
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1374
|
-
*/
|
|
1375
|
-
region?: ScwRegion;
|
|
1376
|
-
/**
|
|
1377
|
-
* Route ID.
|
|
1378
|
-
*/
|
|
1379
|
-
routeId: string;
|
|
1380
|
-
};
|
|
1381
|
-
export type GetSubscriberRequest = {
|
|
1382
|
-
/**
|
|
1383
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1384
|
-
*/
|
|
1385
|
-
region?: ScwRegion;
|
|
1386
|
-
/**
|
|
1387
|
-
* Subscriber ID.
|
|
1388
|
-
*/
|
|
1389
|
-
subscriberId: string;
|
|
1390
|
-
};
|
|
1391
|
-
export interface LbStats {
|
|
1392
|
-
/**
|
|
1393
|
-
* List of objects containing Load Balancer statistics.
|
|
1394
|
-
*/
|
|
1395
|
-
backendServersStats: BackendServerStats[];
|
|
1396
|
-
}
|
|
1397
|
-
export interface ListAclResponse {
|
|
1398
|
-
/**
|
|
1399
|
-
* List of ACL objects.
|
|
1400
|
-
*/
|
|
1401
|
-
acls: Acl[];
|
|
1402
|
-
/**
|
|
1403
|
-
* The total number of objects.
|
|
1404
|
-
*/
|
|
1405
|
-
totalCount: number;
|
|
1406
|
-
}
|
|
1407
|
-
export type ListAclsRequest = {
|
|
1408
|
-
/**
|
|
1409
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1410
|
-
*/
|
|
1411
|
-
region?: ScwRegion;
|
|
1412
|
-
/**
|
|
1413
|
-
* Frontend ID (ACLs attached to this frontend will be returned in the response).
|
|
1414
|
-
*/
|
|
1415
|
-
frontendId: string;
|
|
1416
|
-
/**
|
|
1417
|
-
* Sort order of ACLs in the response.
|
|
1418
|
-
*/
|
|
1419
|
-
orderBy?: ListAclRequestOrderBy;
|
|
1420
|
-
/**
|
|
1421
|
-
* The page number to return, from the paginated results.
|
|
1422
|
-
*/
|
|
1423
|
-
page?: number;
|
|
1424
|
-
/**
|
|
1425
|
-
* The number of ACLs to return.
|
|
1426
|
-
*/
|
|
1427
|
-
pageSize?: number;
|
|
1428
|
-
/**
|
|
1429
|
-
* ACL name to filter for.
|
|
1430
|
-
*/
|
|
1431
|
-
name?: string;
|
|
1432
|
-
};
|
|
1433
|
-
export type ListBackendStatsRequest = {
|
|
1434
|
-
/**
|
|
1435
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1436
|
-
*/
|
|
1437
|
-
region?: ScwRegion;
|
|
1438
|
-
/**
|
|
1439
|
-
* Load Balancer ID.
|
|
1440
|
-
*/
|
|
1441
|
-
lbId: string;
|
|
1442
|
-
/**
|
|
1443
|
-
* The page number to return, from the paginated results.
|
|
1444
|
-
*/
|
|
1445
|
-
page?: number;
|
|
1446
|
-
/**
|
|
1447
|
-
* Number of items to return.
|
|
1448
|
-
*/
|
|
1449
|
-
pageSize?: number;
|
|
1450
|
-
/**
|
|
1451
|
-
* ID of the backend.
|
|
1452
|
-
*/
|
|
1453
|
-
backendId?: string;
|
|
1454
|
-
};
|
|
1455
|
-
export interface ListBackendStatsResponse {
|
|
1456
|
-
/**
|
|
1457
|
-
* List of objects containing backend server statistics.
|
|
1458
|
-
*/
|
|
1459
|
-
backendServersStats: BackendServerStats[];
|
|
1460
|
-
/**
|
|
1461
|
-
* The total number of objects.
|
|
1462
|
-
*/
|
|
1463
|
-
totalCount: number;
|
|
1464
|
-
}
|
|
1465
|
-
export type ListBackendsRequest = {
|
|
1466
|
-
/**
|
|
1467
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1468
|
-
*/
|
|
1469
|
-
region?: ScwRegion;
|
|
1470
|
-
/**
|
|
1471
|
-
* Load Balancer ID.
|
|
1472
|
-
*/
|
|
1473
|
-
lbId: string;
|
|
1474
|
-
/**
|
|
1475
|
-
* Name of the backend to filter for.
|
|
1476
|
-
*/
|
|
1477
|
-
name?: string;
|
|
1478
|
-
/**
|
|
1479
|
-
* Sort order of backends in the response.
|
|
1480
|
-
*/
|
|
1481
|
-
orderBy?: ListBackendsRequestOrderBy;
|
|
1482
|
-
/**
|
|
1483
|
-
* The page number to return, from the paginated results.
|
|
1484
|
-
*/
|
|
1485
|
-
page?: number;
|
|
1486
|
-
/**
|
|
1487
|
-
* Number of backends to return.
|
|
1488
|
-
*/
|
|
1489
|
-
pageSize?: number;
|
|
1490
|
-
};
|
|
1491
|
-
export interface ListBackendsResponse {
|
|
1492
|
-
/**
|
|
1493
|
-
* List of backend objects of a given Load Balancer.
|
|
1494
|
-
*/
|
|
1495
|
-
backends: Backend[];
|
|
1496
|
-
/**
|
|
1497
|
-
* Total count of backend objects, without pagination.
|
|
1498
|
-
*/
|
|
1499
|
-
totalCount: number;
|
|
1500
|
-
}
|
|
1501
|
-
export type ListCertificatesRequest = {
|
|
1502
|
-
/**
|
|
1503
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1504
|
-
*/
|
|
1505
|
-
region?: ScwRegion;
|
|
1506
|
-
/**
|
|
1507
|
-
* Load Balancer ID.
|
|
1508
|
-
*/
|
|
1509
|
-
lbId: string;
|
|
1510
|
-
/**
|
|
1511
|
-
* Sort order of certificates in the response.
|
|
1512
|
-
*/
|
|
1513
|
-
orderBy?: ListCertificatesRequestOrderBy;
|
|
1514
|
-
/**
|
|
1515
|
-
* The page number to return, from the paginated results.
|
|
1516
|
-
*/
|
|
1517
|
-
page?: number;
|
|
1518
|
-
/**
|
|
1519
|
-
* Number of certificates to return.
|
|
1520
|
-
*/
|
|
1521
|
-
pageSize?: number;
|
|
1522
|
-
/**
|
|
1523
|
-
* Certificate name to filter for, only certificates of this name will be returned.
|
|
1524
|
-
*/
|
|
1525
|
-
name?: string;
|
|
1526
|
-
};
|
|
1527
|
-
export interface ListCertificatesResponse {
|
|
1528
|
-
/**
|
|
1529
|
-
* List of certificate objects.
|
|
1530
|
-
*/
|
|
1531
|
-
certificates: Certificate[];
|
|
1532
|
-
/**
|
|
1533
|
-
* The total number of objects.
|
|
1534
|
-
*/
|
|
1535
|
-
totalCount: number;
|
|
1536
|
-
}
|
|
1537
|
-
export type ListFrontendsRequest = {
|
|
1538
|
-
/**
|
|
1539
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1540
|
-
*/
|
|
1541
|
-
region?: ScwRegion;
|
|
1542
|
-
/**
|
|
1543
|
-
* Load Balancer ID.
|
|
1544
|
-
*/
|
|
1545
|
-
lbId: string;
|
|
1546
|
-
/**
|
|
1547
|
-
* Name of the frontend to filter for.
|
|
1548
|
-
*/
|
|
1549
|
-
name?: string;
|
|
1550
|
-
/**
|
|
1551
|
-
* Sort order of frontends in the response.
|
|
1552
|
-
*/
|
|
1553
|
-
orderBy?: ListFrontendsRequestOrderBy;
|
|
1554
|
-
/**
|
|
1555
|
-
* The page number to return, from the paginated results.
|
|
1556
|
-
*/
|
|
1557
|
-
page?: number;
|
|
1558
|
-
/**
|
|
1559
|
-
* Number of frontends to return.
|
|
1560
|
-
*/
|
|
1561
|
-
pageSize?: number;
|
|
1562
|
-
};
|
|
1563
|
-
export interface ListFrontendsResponse {
|
|
1564
|
-
/**
|
|
1565
|
-
* List of frontend objects of a given Load Balancer.
|
|
1566
|
-
*/
|
|
1567
|
-
frontends: Frontend[];
|
|
1568
|
-
/**
|
|
1569
|
-
* Total count of frontend objects, without pagination.
|
|
1570
|
-
*/
|
|
1571
|
-
totalCount: number;
|
|
1572
|
-
}
|
|
1573
|
-
export type ListIPsRequest = {
|
|
1574
|
-
/**
|
|
1575
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1576
|
-
*/
|
|
1577
|
-
region?: ScwRegion;
|
|
1578
|
-
/**
|
|
1579
|
-
* The page number to return, from the paginated results.
|
|
1580
|
-
*/
|
|
1581
|
-
page?: number;
|
|
1582
|
-
/**
|
|
1583
|
-
* Number of IP addresses to return.
|
|
1584
|
-
*/
|
|
1585
|
-
pageSize?: number;
|
|
1586
|
-
/**
|
|
1587
|
-
* IP address to filter for.
|
|
1588
|
-
*/
|
|
1589
|
-
ipAddress?: string;
|
|
1590
|
-
/**
|
|
1591
|
-
* Organization ID to filter for, only Load Balancer IP addresses from this Organization will be returned.
|
|
1592
|
-
*/
|
|
1593
|
-
organizationId?: string;
|
|
1594
|
-
/**
|
|
1595
|
-
* Project ID to filter for, only Load Balancer IP addresses from this Project will be returned.
|
|
1596
|
-
*/
|
|
1597
|
-
projectId?: string;
|
|
1598
|
-
/**
|
|
1599
|
-
* IP type to filter for.
|
|
1600
|
-
*/
|
|
1601
|
-
ipType?: ListIpsRequestIpType;
|
|
1602
|
-
/**
|
|
1603
|
-
* Tag to filter for, only IPs with one or more matching tags will be returned.
|
|
1604
|
-
*/
|
|
1605
|
-
tags?: string[];
|
|
1606
|
-
};
|
|
1607
|
-
export interface ListIpsResponse {
|
|
1608
|
-
/**
|
|
1609
|
-
* List of IP address objects.
|
|
1610
|
-
*/
|
|
1611
|
-
ips: Ip[];
|
|
1612
|
-
/**
|
|
1613
|
-
* Total count of IP address objects, without pagination.
|
|
1614
|
-
*/
|
|
1615
|
-
totalCount: number;
|
|
1616
|
-
}
|
|
1617
|
-
export type ListLbPrivateNetworksRequest = {
|
|
1618
|
-
/**
|
|
1619
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1620
|
-
*/
|
|
1621
|
-
region?: ScwRegion;
|
|
1622
|
-
/**
|
|
1623
|
-
* Load Balancer ID.
|
|
1624
|
-
*/
|
|
1625
|
-
lbId: string;
|
|
1626
|
-
/**
|
|
1627
|
-
* Sort order of Private Network objects in the response.
|
|
1628
|
-
*/
|
|
1629
|
-
orderBy?: ListPrivateNetworksRequestOrderBy;
|
|
1630
|
-
/**
|
|
1631
|
-
* Number of objects to return.
|
|
1632
|
-
*/
|
|
1633
|
-
pageSize?: number;
|
|
1634
|
-
/**
|
|
1635
|
-
* The page number to return, from the paginated results.
|
|
1636
|
-
*/
|
|
1637
|
-
page?: number;
|
|
1638
|
-
};
|
|
1639
|
-
export interface ListLbPrivateNetworksResponse {
|
|
1640
|
-
/**
|
|
1641
|
-
* List of Private Network objects attached to the Load Balancer.
|
|
1642
|
-
*/
|
|
1643
|
-
privateNetwork: PrivateNetwork[];
|
|
1644
|
-
/**
|
|
1645
|
-
* Total number of objects in the response.
|
|
1646
|
-
*/
|
|
1647
|
-
totalCount: number;
|
|
1648
|
-
}
|
|
1649
|
-
export type ListLbTypesRequest = {
|
|
1650
|
-
/**
|
|
1651
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1652
|
-
*/
|
|
1653
|
-
region?: ScwRegion;
|
|
1654
|
-
/**
|
|
1655
|
-
* The page number to return, from the paginated results.
|
|
1656
|
-
*/
|
|
1657
|
-
page?: number;
|
|
1658
|
-
/**
|
|
1659
|
-
* The number of items to return.
|
|
1660
|
-
*/
|
|
1661
|
-
pageSize?: number;
|
|
1662
|
-
};
|
|
1663
|
-
export interface ListLbTypesResponse {
|
|
1664
|
-
/**
|
|
1665
|
-
* List of Load Balancer commercial offer type objects.
|
|
1666
|
-
*/
|
|
1667
|
-
lbTypes: LbType[];
|
|
1668
|
-
/**
|
|
1669
|
-
* Total number of Load Balancer offer type objects.
|
|
1670
|
-
*/
|
|
1671
|
-
totalCount: number;
|
|
1672
|
-
}
|
|
1673
|
-
export type ListLbsRequest = {
|
|
1674
|
-
/**
|
|
1675
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1676
|
-
*/
|
|
1677
|
-
region?: ScwRegion;
|
|
1678
|
-
/**
|
|
1679
|
-
* Load Balancer name to filter for.
|
|
1680
|
-
*/
|
|
1681
|
-
name?: string;
|
|
1682
|
-
/**
|
|
1683
|
-
* Sort order of Load Balancers in the response.
|
|
1684
|
-
*/
|
|
1685
|
-
orderBy?: ListLbsRequestOrderBy;
|
|
1686
|
-
/**
|
|
1687
|
-
* Number of Load Balancers to return.
|
|
1688
|
-
*/
|
|
1689
|
-
pageSize?: number;
|
|
1690
|
-
/**
|
|
1691
|
-
* Page number to return, from the paginated results.
|
|
1692
|
-
*/
|
|
1693
|
-
page?: number;
|
|
1694
|
-
/**
|
|
1695
|
-
* Organization ID to filter for, only Load Balancers from this Organization will be returned.
|
|
1696
|
-
*/
|
|
1697
|
-
organizationId?: string;
|
|
1698
|
-
/**
|
|
1699
|
-
* Project ID to filter for, only Load Balancers from this Project will be returned.
|
|
1700
|
-
*/
|
|
1701
|
-
projectId?: string;
|
|
1702
|
-
/**
|
|
1703
|
-
* Filter by tag, only Load Balancers with one or more matching tags will be returned.
|
|
1704
|
-
*/
|
|
1705
|
-
tags?: string[];
|
|
1706
|
-
};
|
|
1707
|
-
export interface ListLbsResponse {
|
|
1708
|
-
/**
|
|
1709
|
-
* List of Load Balancer objects.
|
|
1710
|
-
*/
|
|
1711
|
-
lbs: Lb[];
|
|
1712
|
-
/**
|
|
1713
|
-
* The total number of Load Balancer objects.
|
|
1714
|
-
*/
|
|
1715
|
-
totalCount: number;
|
|
1716
|
-
}
|
|
1717
|
-
export type ListRoutesRequest = {
|
|
1718
|
-
/**
|
|
1719
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1720
|
-
*/
|
|
1721
|
-
region?: ScwRegion;
|
|
1722
|
-
/**
|
|
1723
|
-
* Sort order of routes in the response.
|
|
1724
|
-
*/
|
|
1725
|
-
orderBy?: ListRoutesRequestOrderBy;
|
|
1726
|
-
/**
|
|
1727
|
-
* The number of route objects to return.
|
|
1728
|
-
*/
|
|
1729
|
-
pageSize?: number;
|
|
1730
|
-
/**
|
|
1731
|
-
* The page number to return, from the paginated results.
|
|
1732
|
-
*/
|
|
1733
|
-
page?: number;
|
|
1734
|
-
/**
|
|
1735
|
-
* Frontend ID to filter for, only Routes from this Frontend will be returned.
|
|
1736
|
-
*/
|
|
1737
|
-
frontendId?: string;
|
|
1738
|
-
};
|
|
1739
|
-
export interface ListRoutesResponse {
|
|
1740
|
-
/**
|
|
1741
|
-
* List of route objects.
|
|
1742
|
-
*/
|
|
1743
|
-
routes: Route[];
|
|
1744
|
-
/**
|
|
1745
|
-
* The total number of route objects.
|
|
1746
|
-
*/
|
|
1747
|
-
totalCount: number;
|
|
1748
|
-
}
|
|
1749
|
-
export type ListSubscriberRequest = {
|
|
1750
|
-
/**
|
|
1751
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1752
|
-
*/
|
|
1753
|
-
region?: ScwRegion;
|
|
1754
|
-
/**
|
|
1755
|
-
* Sort order of subscribers in the response.
|
|
1756
|
-
*/
|
|
1757
|
-
orderBy?: ListSubscriberRequestOrderBy;
|
|
1758
|
-
/**
|
|
1759
|
-
* The page number to return, from the paginated results.
|
|
1760
|
-
*/
|
|
1761
|
-
page?: number;
|
|
1762
|
-
/**
|
|
1763
|
-
* The number of items to return.
|
|
1764
|
-
*/
|
|
1765
|
-
pageSize?: number;
|
|
1766
|
-
/**
|
|
1767
|
-
* Subscriber name to search for.
|
|
1768
|
-
*/
|
|
1769
|
-
name?: string;
|
|
1770
|
-
/**
|
|
1771
|
-
* Filter subscribers by Organization ID.
|
|
1772
|
-
*/
|
|
1773
|
-
organizationId?: string;
|
|
1774
|
-
/**
|
|
1775
|
-
* Filter subscribers by Project ID.
|
|
1776
|
-
*/
|
|
1777
|
-
projectId?: string;
|
|
1778
|
-
};
|
|
1779
|
-
export interface ListSubscriberResponse {
|
|
1780
|
-
/**
|
|
1781
|
-
* List of subscriber objects.
|
|
1782
|
-
*/
|
|
1783
|
-
subscribers: Subscriber[];
|
|
1784
|
-
/**
|
|
1785
|
-
* The total number of objects.
|
|
1786
|
-
*/
|
|
1787
|
-
totalCount: number;
|
|
1788
|
-
}
|
|
1789
|
-
export type MigrateLbRequest = {
|
|
1790
|
-
/**
|
|
1791
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1792
|
-
*/
|
|
1793
|
-
region?: ScwRegion;
|
|
1794
|
-
/**
|
|
1795
|
-
* Load Balancer ID.
|
|
1796
|
-
*/
|
|
1797
|
-
lbId: string;
|
|
1798
|
-
/**
|
|
1799
|
-
* Load Balancer type to migrate to (use the List all Load Balancer offer types endpoint to get a list of available offer types).
|
|
1800
|
-
*/
|
|
1801
|
-
type: string;
|
|
1802
|
-
};
|
|
1803
|
-
export type ReleaseIpRequest = {
|
|
1804
|
-
/**
|
|
1805
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1806
|
-
*/
|
|
1807
|
-
region?: ScwRegion;
|
|
1808
|
-
/**
|
|
1809
|
-
* IP address ID.
|
|
1810
|
-
*/
|
|
1811
|
-
ipId: string;
|
|
1812
|
-
};
|
|
1813
|
-
export type RemoveBackendServersRequest = {
|
|
1814
|
-
/**
|
|
1815
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1816
|
-
*/
|
|
1817
|
-
region?: ScwRegion;
|
|
1818
|
-
/**
|
|
1819
|
-
* Backend ID.
|
|
1820
|
-
*/
|
|
1821
|
-
backendId: string;
|
|
1822
|
-
/**
|
|
1823
|
-
* List of IP addresses to remove from backend servers.
|
|
1824
|
-
*/
|
|
1825
|
-
serverIp: string[];
|
|
1826
|
-
};
|
|
1827
|
-
export interface SetAclsResponse {
|
|
1828
|
-
/**
|
|
1829
|
-
* List of ACL objects.
|
|
1830
|
-
*/
|
|
1831
|
-
acls: Acl[];
|
|
1832
|
-
/**
|
|
1833
|
-
* The total number of ACL objects.
|
|
1834
|
-
*/
|
|
1835
|
-
totalCount: number;
|
|
1836
|
-
}
|
|
1837
|
-
export type SetBackendServersRequest = {
|
|
1838
|
-
/**
|
|
1839
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1840
|
-
*/
|
|
1841
|
-
region?: ScwRegion;
|
|
1842
|
-
/**
|
|
1843
|
-
* Backend ID.
|
|
1844
|
-
*/
|
|
1845
|
-
backendId: string;
|
|
1846
|
-
/**
|
|
1847
|
-
* List of IP addresses for backend servers. Any other existing backend servers will be removed.
|
|
1848
|
-
*/
|
|
1849
|
-
serverIp: string[];
|
|
1850
|
-
};
|
|
1851
|
-
export type SubscribeToLbRequest = {
|
|
1852
|
-
/**
|
|
1853
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1854
|
-
*/
|
|
1855
|
-
region?: ScwRegion;
|
|
1856
|
-
/**
|
|
1857
|
-
* Load Balancer ID.
|
|
1858
|
-
*/
|
|
1859
|
-
lbId: string;
|
|
1860
|
-
/**
|
|
1861
|
-
* Subscriber ID.
|
|
1862
|
-
*/
|
|
1863
|
-
subscriberId: string;
|
|
1864
|
-
};
|
|
1865
|
-
export type UnsubscribeFromLbRequest = {
|
|
1866
|
-
/**
|
|
1867
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1868
|
-
*/
|
|
1869
|
-
region?: ScwRegion;
|
|
1870
|
-
/**
|
|
1871
|
-
* Load Balancer ID.
|
|
1872
|
-
*/
|
|
1873
|
-
lbId: string;
|
|
1874
|
-
};
|
|
1875
|
-
export type UpdateAclRequest = {
|
|
1876
|
-
/**
|
|
1877
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1878
|
-
*/
|
|
1879
|
-
region?: ScwRegion;
|
|
1880
|
-
/**
|
|
1881
|
-
* ACL ID.
|
|
1882
|
-
*/
|
|
1883
|
-
aclId: string;
|
|
1884
|
-
/**
|
|
1885
|
-
* ACL name.
|
|
1886
|
-
*/
|
|
1887
|
-
name: string;
|
|
1888
|
-
/**
|
|
1889
|
-
* Action to take when incoming traffic matches an ACL filter.
|
|
1890
|
-
*/
|
|
1891
|
-
action: AclAction;
|
|
1892
|
-
/**
|
|
1893
|
-
* ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required.
|
|
1894
|
-
*/
|
|
1895
|
-
match?: AclMatch;
|
|
1896
|
-
/**
|
|
1897
|
-
* Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
|
|
1898
|
-
*/
|
|
1899
|
-
index: number;
|
|
1900
|
-
/**
|
|
1901
|
-
* ACL description.
|
|
1902
|
-
*/
|
|
1903
|
-
description?: string;
|
|
1904
|
-
};
|
|
1905
|
-
export type UpdateBackendRequest = {
|
|
1906
|
-
/**
|
|
1907
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1908
|
-
*/
|
|
1909
|
-
region?: ScwRegion;
|
|
1910
|
-
/**
|
|
1911
|
-
* Backend ID.
|
|
1912
|
-
*/
|
|
1913
|
-
backendId: string;
|
|
1914
|
-
/**
|
|
1915
|
-
* Backend name.
|
|
1916
|
-
*/
|
|
1917
|
-
name: string;
|
|
1918
|
-
/**
|
|
1919
|
-
* Protocol to be used by the backend when forwarding traffic to backend servers.
|
|
1920
|
-
*/
|
|
1921
|
-
forwardProtocol: Protocol;
|
|
1922
|
-
/**
|
|
1923
|
-
* Port to be used by the backend when forwarding traffic to backend servers.
|
|
1924
|
-
*/
|
|
1925
|
-
forwardPort: number;
|
|
1926
|
-
/**
|
|
1927
|
-
* Load balancing algorithm to be used when determining which backend server to forward new traffic to.
|
|
1928
|
-
*/
|
|
1929
|
-
forwardPortAlgorithm: ForwardPortAlgorithm;
|
|
1930
|
-
/**
|
|
1931
|
-
* Defines whether to activate sticky sessions (binding a particular session to a particular backend server) and the method to use if so. None disables sticky sessions. Cookie-based uses an HTTP cookie to stick a session to a backend server. Table-based uses the source (client) IP address to stick a session to a backend server.
|
|
1932
|
-
*/
|
|
1933
|
-
stickySessions: StickySessionsType;
|
|
1934
|
-
/**
|
|
1935
|
-
* Cookie name for cookie-based sticky sessions.
|
|
1936
|
-
*/
|
|
1937
|
-
stickySessionsCookieName: string;
|
|
1938
|
-
/**
|
|
1939
|
-
* @deprecated Deprecated in favor of proxy_protocol field.
|
|
1940
|
-
*/
|
|
1941
|
-
sendProxyV2?: boolean;
|
|
1942
|
-
/**
|
|
1943
|
-
* Maximum allowed time for a backend server to process a request.
|
|
1944
|
-
*/
|
|
1945
|
-
timeoutServer?: string;
|
|
1946
|
-
/**
|
|
1947
|
-
* Maximum allowed time for establishing a connection to a backend server.
|
|
1948
|
-
*/
|
|
1949
|
-
timeoutConnect?: string;
|
|
1950
|
-
/**
|
|
1951
|
-
* Maximum allowed tunnel inactivity time after Websocket is established (takes precedence over client and server timeout).
|
|
1952
|
-
*/
|
|
1953
|
-
timeoutTunnel?: string;
|
|
1954
|
-
/**
|
|
1955
|
-
* Action to take when a backend server is marked as down.
|
|
1956
|
-
*/
|
|
1957
|
-
onMarkedDownAction?: OnMarkedDownAction;
|
|
1958
|
-
/**
|
|
1959
|
-
* Protocol to use between the Load Balancer and backend servers. Allows the backend servers to be informed of the client's real IP address. The PROXY protocol must be supported by the backend servers' software.
|
|
1960
|
-
*/
|
|
1961
|
-
proxyProtocol?: ProxyProtocol;
|
|
1962
|
-
/**
|
|
1963
|
-
* Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
|
|
1964
|
-
*/
|
|
1965
|
-
failoverHost?: string;
|
|
1966
|
-
/**
|
|
1967
|
-
* Defines whether to enable SSL bridging between the Load Balancer and backend servers.
|
|
1968
|
-
*/
|
|
1969
|
-
sslBridging?: boolean;
|
|
1970
|
-
/**
|
|
1971
|
-
* Defines whether the server certificate verification should be ignored.
|
|
1972
|
-
*/
|
|
1973
|
-
ignoreSslServerVerify?: boolean;
|
|
1974
|
-
/**
|
|
1975
|
-
* Whether to use another backend server on each attempt.
|
|
1976
|
-
*/
|
|
1977
|
-
redispatchAttemptCount?: number;
|
|
1978
|
-
/**
|
|
1979
|
-
* Number of retries when a backend server connection failed.
|
|
1980
|
-
*/
|
|
1981
|
-
maxRetries?: number;
|
|
1982
|
-
/**
|
|
1983
|
-
* Maximum number of connections allowed per backend server.
|
|
1984
|
-
*/
|
|
1985
|
-
maxConnections?: number;
|
|
1986
|
-
/**
|
|
1987
|
-
* Maximum time for a request to be left pending in queue when `max_connections` is reached.
|
|
1988
|
-
*/
|
|
1989
|
-
timeoutQueue?: string;
|
|
1990
|
-
};
|
|
1991
|
-
export type UpdateCertificateRequest = {
|
|
1992
|
-
/**
|
|
1993
|
-
* Region to target. If none is passed will use default region from the config.
|
|
1994
|
-
*/
|
|
1995
|
-
region?: ScwRegion;
|
|
1996
|
-
/**
|
|
1997
|
-
* Certificate ID.
|
|
1998
|
-
*/
|
|
1999
|
-
certificateId: string;
|
|
2000
|
-
/**
|
|
2001
|
-
* Certificate name.
|
|
2002
|
-
*/
|
|
2003
|
-
name: string;
|
|
2004
|
-
};
|
|
2005
|
-
export type UpdateFrontendRequest = {
|
|
2006
|
-
/**
|
|
2007
|
-
* Region to target. If none is passed will use default region from the config.
|
|
2008
|
-
*/
|
|
2009
|
-
region?: ScwRegion;
|
|
2010
|
-
/**
|
|
2011
|
-
* Frontend ID.
|
|
2012
|
-
*/
|
|
2013
|
-
frontendId: string;
|
|
2014
|
-
/**
|
|
2015
|
-
* Frontend name.
|
|
2016
|
-
*/
|
|
2017
|
-
name: string;
|
|
2018
|
-
/**
|
|
2019
|
-
* Port the frontend should listen on.
|
|
2020
|
-
*/
|
|
2021
|
-
inboundPort: number;
|
|
2022
|
-
/**
|
|
2023
|
-
* Backend ID (ID of the backend the frontend should pass traffic to).
|
|
2024
|
-
*/
|
|
2025
|
-
backendId: string;
|
|
2026
|
-
/**
|
|
2027
|
-
* Maximum allowed inactivity time on the client side.
|
|
2028
|
-
*/
|
|
2029
|
-
timeoutClient?: string;
|
|
2030
|
-
/**
|
|
2031
|
-
* @deprecated Certificate ID, deprecated in favor of certificate_ids array.
|
|
2032
|
-
*/
|
|
2033
|
-
certificateId?: string;
|
|
2034
|
-
/**
|
|
2035
|
-
* List of SSL/TLS certificate IDs to bind to the frontend.
|
|
2036
|
-
*/
|
|
2037
|
-
certificateIds?: string[];
|
|
2038
|
-
/**
|
|
2039
|
-
* Defines whether to enable HTTP/3 protocol on the frontend.
|
|
2040
|
-
*/
|
|
2041
|
-
enableHttp3: boolean;
|
|
2042
|
-
/**
|
|
2043
|
-
* Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
|
|
2044
|
-
*/
|
|
2045
|
-
connectionRateLimit?: number;
|
|
2046
|
-
};
|
|
2047
|
-
export type UpdateHealthCheckRequest = {
|
|
2048
|
-
/**
|
|
2049
|
-
* Region to target. If none is passed will use default region from the config.
|
|
2050
|
-
*/
|
|
2051
|
-
region?: ScwRegion;
|
|
2052
|
-
/**
|
|
2053
|
-
* Backend ID.
|
|
2054
|
-
*/
|
|
2055
|
-
backendId: string;
|
|
2056
|
-
/**
|
|
2057
|
-
* Port to use for the backend server health check.
|
|
2058
|
-
*/
|
|
2059
|
-
port: number;
|
|
2060
|
-
/**
|
|
2061
|
-
* Time to wait between two consecutive health checks.
|
|
2062
|
-
*/
|
|
2063
|
-
checkDelay?: string;
|
|
2064
|
-
/**
|
|
2065
|
-
* Maximum time a backend server has to reply to the health check.
|
|
2066
|
-
*/
|
|
2067
|
-
checkTimeout?: string;
|
|
2068
|
-
/**
|
|
2069
|
-
* Number of consecutive unsuccessful health checks after which the server will be considered dead.
|
|
2070
|
-
*/
|
|
2071
|
-
checkMaxRetries: number;
|
|
2072
|
-
/**
|
|
2073
|
-
* Defines whether proxy protocol should be activated for the health check.
|
|
2074
|
-
*/
|
|
2075
|
-
checkSendProxy: boolean;
|
|
2076
|
-
/**
|
|
2077
|
-
* Object to configure a basic TCP health check.
|
|
2078
|
-
*
|
|
2079
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
2080
|
-
*/
|
|
2081
|
-
tcpConfig?: HealthCheckTcpConfig;
|
|
2082
|
-
/**
|
|
2083
|
-
* Object to configure a MySQL health check. The check requires MySQL >=3.22 or <9.0. For older or newer versions, use a TCP health check.
|
|
2084
|
-
*
|
|
2085
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
2086
|
-
*/
|
|
2087
|
-
mysqlConfig?: HealthCheckMysqlConfig;
|
|
2088
|
-
/**
|
|
2089
|
-
* Object to configure a PostgreSQL health check.
|
|
2090
|
-
*
|
|
2091
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
2092
|
-
*/
|
|
2093
|
-
pgsqlConfig?: HealthCheckPgsqlConfig;
|
|
2094
|
-
/**
|
|
2095
|
-
* Object to configure an LDAP health check. The response is analyzed to find the LDAPv3 response message.
|
|
2096
|
-
*
|
|
2097
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
2098
|
-
*/
|
|
2099
|
-
ldapConfig?: HealthCheckLdapConfig;
|
|
2100
|
-
/**
|
|
2101
|
-
* Object to configure a Redis health check. The response is analyzed to find the +PONG response message.
|
|
2102
|
-
*
|
|
2103
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
2104
|
-
*/
|
|
2105
|
-
redisConfig?: HealthCheckRedisConfig;
|
|
2106
|
-
/**
|
|
2107
|
-
* Object to configure an HTTP health check.
|
|
2108
|
-
*
|
|
2109
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
2110
|
-
*/
|
|
2111
|
-
httpConfig?: HealthCheckHttpConfig;
|
|
2112
|
-
/**
|
|
2113
|
-
* Object to configure an HTTPS health check.
|
|
2114
|
-
*
|
|
2115
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
2116
|
-
*/
|
|
2117
|
-
httpsConfig?: HealthCheckHttpsConfig;
|
|
2118
|
-
/**
|
|
2119
|
-
* Time to wait between two consecutive health checks when a backend server is in a transient state (going UP or DOWN).
|
|
2120
|
-
*/
|
|
2121
|
-
transientCheckDelay?: string;
|
|
2122
|
-
};
|
|
2123
|
-
export type UpdateIpRequest = {
|
|
2124
|
-
/**
|
|
2125
|
-
* Region to target. If none is passed will use default region from the config.
|
|
2126
|
-
*/
|
|
2127
|
-
region?: ScwRegion;
|
|
2128
|
-
/**
|
|
2129
|
-
* IP address ID.
|
|
2130
|
-
*/
|
|
2131
|
-
ipId: string;
|
|
2132
|
-
/**
|
|
2133
|
-
* Reverse DNS (domain name) for the IP address.
|
|
2134
|
-
*/
|
|
2135
|
-
reverse?: string;
|
|
2136
|
-
/**
|
|
2137
|
-
* ID of the server on which to attach the flexible IP.
|
|
2138
|
-
*/
|
|
2139
|
-
lbId?: string;
|
|
2140
|
-
/**
|
|
2141
|
-
* List of tags for the IP.
|
|
2142
|
-
*/
|
|
2143
|
-
tags?: string[];
|
|
2144
|
-
};
|
|
2145
|
-
export type UpdateLbRequest = {
|
|
2146
|
-
/**
|
|
2147
|
-
* Region to target. If none is passed will use default region from the config.
|
|
2148
|
-
*/
|
|
2149
|
-
region?: ScwRegion;
|
|
2150
|
-
/**
|
|
2151
|
-
* Load Balancer ID.
|
|
2152
|
-
*/
|
|
2153
|
-
lbId: string;
|
|
2154
|
-
/**
|
|
2155
|
-
* Load Balancer name.
|
|
2156
|
-
*/
|
|
2157
|
-
name: string;
|
|
2158
|
-
/**
|
|
2159
|
-
* Load Balancer description.
|
|
2160
|
-
*/
|
|
2161
|
-
description: string;
|
|
2162
|
-
/**
|
|
2163
|
-
* List of tags for the Load Balancer.
|
|
2164
|
-
*/
|
|
2165
|
-
tags?: string[];
|
|
2166
|
-
/**
|
|
2167
|
-
* Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems. Modern is suitable for services with clients that support TLS 1.3 and don't need backward compatibility. Old is compatible with a small number of very old clients and should be used only as a last resort.
|
|
2168
|
-
*/
|
|
2169
|
-
sslCompatibilityLevel?: SSLCompatibilityLevel;
|
|
2170
|
-
};
|
|
2171
|
-
export type UpdateRouteRequest = {
|
|
2172
|
-
/**
|
|
2173
|
-
* Region to target. If none is passed will use default region from the config.
|
|
2174
|
-
*/
|
|
2175
|
-
region?: ScwRegion;
|
|
2176
|
-
/**
|
|
2177
|
-
* Route ID.
|
|
2178
|
-
*/
|
|
2179
|
-
routeId: string;
|
|
2180
|
-
/**
|
|
2181
|
-
* ID of the target backend for the route.
|
|
2182
|
-
*/
|
|
2183
|
-
backendId: string;
|
|
2184
|
-
/**
|
|
2185
|
-
* Object defining the match condition for a route to be applied. If an incoming client session matches the specified condition (i.e. it has a matching SNI value or HTTP Host header value), it will be passed to the target backend.
|
|
2186
|
-
*/
|
|
2187
|
-
match?: RouteMatch;
|
|
2188
|
-
};
|
|
2189
|
-
export type UpdateSubscriberRequest = {
|
|
2190
|
-
/**
|
|
2191
|
-
* Region to target. If none is passed will use default region from the config.
|
|
2192
|
-
*/
|
|
2193
|
-
region?: ScwRegion;
|
|
2194
|
-
/**
|
|
2195
|
-
* Subscriber ID.
|
|
2196
|
-
*/
|
|
2197
|
-
subscriberId: string;
|
|
2198
|
-
/**
|
|
2199
|
-
* Subscriber name.
|
|
2200
|
-
*/
|
|
2201
|
-
name: string;
|
|
2202
|
-
/**
|
|
2203
|
-
* Email address configuration.
|
|
2204
|
-
*
|
|
2205
|
-
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
2206
|
-
*/
|
|
2207
|
-
emailConfig?: SubscriberEmailConfig;
|
|
2208
|
-
/**
|
|
2209
|
-
* Webhook URI configuration.
|
|
2210
|
-
*
|
|
2211
|
-
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
2212
|
-
*/
|
|
2213
|
-
webhookConfig?: SubscriberWebhookConfig;
|
|
2214
|
-
};
|
|
2215
|
-
export type ZonedApiAddBackendServersRequest = {
|
|
2216
|
-
/**
|
|
2217
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2218
|
-
*/
|
|
2219
|
-
zone?: ScwZone;
|
|
2220
|
-
/**
|
|
2221
|
-
* Backend ID.
|
|
2222
|
-
*/
|
|
2223
|
-
backendId: string;
|
|
2224
|
-
/**
|
|
2225
|
-
* List of IP addresses to add to backend servers.
|
|
2226
|
-
*/
|
|
2227
|
-
serverIp: string[];
|
|
2228
|
-
};
|
|
2229
|
-
export type ZonedApiAttachPrivateNetworkRequest = {
|
|
2230
|
-
/**
|
|
2231
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2232
|
-
*/
|
|
2233
|
-
zone?: ScwZone;
|
|
2234
|
-
/**
|
|
2235
|
-
* Load Balancer ID.
|
|
2236
|
-
*/
|
|
2237
|
-
lbId: string;
|
|
2238
|
-
/**
|
|
2239
|
-
* Private Network ID.
|
|
2240
|
-
*/
|
|
2241
|
-
privateNetworkId: string;
|
|
2242
|
-
/**
|
|
2243
|
-
* @deprecated Object containing an array of a local IP address for the Load Balancer on this Private Network.
|
|
2244
|
-
*
|
|
2245
|
-
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig', 'ipamConfig' could be set.
|
|
2246
|
-
*/
|
|
2247
|
-
staticConfig?: PrivateNetworkStaticConfig;
|
|
2248
|
-
/**
|
|
2249
|
-
* @deprecated Defines whether to let DHCP assign IP addresses.
|
|
2250
|
-
*
|
|
2251
|
-
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig', 'ipamConfig' could be set.
|
|
2252
|
-
*/
|
|
2253
|
-
dhcpConfig?: PrivateNetworkDHCPConfig;
|
|
2254
|
-
/**
|
|
2255
|
-
* @deprecated For internal use only.
|
|
2256
|
-
*
|
|
2257
|
-
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig', 'ipamConfig' could be set.
|
|
2258
|
-
*/
|
|
2259
|
-
ipamConfig?: PrivateNetworkIpamConfig;
|
|
2260
|
-
/**
|
|
2261
|
-
* IPAM ID of a pre-reserved IP address to assign to the Load Balancer on this Private Network. In the future, it will be possible to specify multiple IPs in this field (IPv4 and IPv6), for now only one ID of an IPv4 address is expected. When null, a new private IP address is created for the Load Balancer on this Private Network.
|
|
2262
|
-
*/
|
|
2263
|
-
ipamIds?: string[];
|
|
2264
|
-
};
|
|
2265
|
-
/**
|
|
2266
|
-
* Add an ACL to a Load Balancer frontend.
|
|
2267
|
-
*/
|
|
2268
|
-
export type ZonedApiCreateAclRequest = {
|
|
2269
|
-
/**
|
|
2270
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2271
|
-
*/
|
|
2272
|
-
zone?: ScwZone;
|
|
2273
|
-
/**
|
|
2274
|
-
* Frontend ID to attach the ACL to.
|
|
2275
|
-
*/
|
|
2276
|
-
frontendId: string;
|
|
2277
|
-
/**
|
|
2278
|
-
* ACL name.
|
|
2279
|
-
*/
|
|
2280
|
-
name?: string;
|
|
2281
|
-
/**
|
|
2282
|
-
* Action to take when incoming traffic matches an ACL filter.
|
|
2283
|
-
*/
|
|
2284
|
-
action: AclAction;
|
|
2285
|
-
/**
|
|
2286
|
-
* ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required.
|
|
2287
|
-
*/
|
|
2288
|
-
match?: AclMatch;
|
|
2289
|
-
/**
|
|
2290
|
-
* Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
|
|
2291
|
-
*/
|
|
2292
|
-
index: number;
|
|
2293
|
-
/**
|
|
2294
|
-
* ACL description.
|
|
2295
|
-
*/
|
|
2296
|
-
description: string;
|
|
2297
|
-
};
|
|
2298
|
-
export type ZonedApiCreateBackendRequest = {
|
|
2299
|
-
/**
|
|
2300
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2301
|
-
*/
|
|
2302
|
-
zone?: ScwZone;
|
|
2303
|
-
/**
|
|
2304
|
-
* Load Balancer ID.
|
|
2305
|
-
*/
|
|
2306
|
-
lbId: string;
|
|
2307
|
-
/**
|
|
2308
|
-
* Name for the backend.
|
|
2309
|
-
*/
|
|
2310
|
-
name?: string;
|
|
2311
|
-
/**
|
|
2312
|
-
* Protocol to be used by the backend when forwarding traffic to backend servers.
|
|
2313
|
-
*/
|
|
2314
|
-
forwardProtocol: Protocol;
|
|
2315
|
-
/**
|
|
2316
|
-
* Port to be used by the backend when forwarding traffic to backend servers.
|
|
2317
|
-
*/
|
|
2318
|
-
forwardPort: number;
|
|
2319
|
-
/**
|
|
2320
|
-
* Load balancing algorithm to be used when determining which backend server to forward new traffic to.
|
|
2321
|
-
*/
|
|
2322
|
-
forwardPortAlgorithm: ForwardPortAlgorithm;
|
|
2323
|
-
/**
|
|
2324
|
-
* Defines whether to activate sticky sessions (binding a particular session to a particular backend server) and the method to use if so. None disables sticky sessions. Cookie-based uses an HTTP cookie TO stick a session to a backend server. Table-based uses the source (client) IP address to stick a session to a backend server.
|
|
2325
|
-
*/
|
|
2326
|
-
stickySessions: StickySessionsType;
|
|
2327
|
-
/**
|
|
2328
|
-
* Cookie name for cookie-based sticky sessions.
|
|
2329
|
-
*/
|
|
2330
|
-
stickySessionsCookieName: string;
|
|
2331
|
-
/**
|
|
2332
|
-
* Object defining the health check to be carried out by the backend when checking the status and health of backend servers.
|
|
2333
|
-
*/
|
|
2334
|
-
healthCheck: HealthCheck;
|
|
2335
|
-
/**
|
|
2336
|
-
* List of backend server IP addresses (IPv4 or IPv6) the backend should forward traffic to.
|
|
2337
|
-
*/
|
|
2338
|
-
serverIp: string[];
|
|
2339
|
-
/**
|
|
2340
|
-
* @deprecated Deprecated in favor of proxy_protocol field.
|
|
2341
|
-
*/
|
|
2342
|
-
sendProxyV2?: boolean;
|
|
2343
|
-
/**
|
|
2344
|
-
* Maximum allowed time for a backend server to process a request.
|
|
2345
|
-
*/
|
|
2346
|
-
timeoutServer?: string;
|
|
2347
|
-
/**
|
|
2348
|
-
* Maximum allowed time for establishing a connection to a backend server.
|
|
2349
|
-
*/
|
|
2350
|
-
timeoutConnect?: string;
|
|
2351
|
-
/**
|
|
2352
|
-
* Maximum allowed tunnel inactivity time after Websocket is established (takes precedence over client and server timeout).
|
|
2353
|
-
*/
|
|
2354
|
-
timeoutTunnel?: string;
|
|
2355
|
-
/**
|
|
2356
|
-
* Action to take when a backend server is marked as down.
|
|
2357
|
-
*/
|
|
2358
|
-
onMarkedDownAction?: OnMarkedDownAction;
|
|
2359
|
-
/**
|
|
2360
|
-
* Protocol to use between the Load Balancer and backend servers. Allows the backend servers to be informed of the client's real IP address. The PROXY protocol must be supported by the backend servers' software.
|
|
2361
|
-
*/
|
|
2362
|
-
proxyProtocol?: ProxyProtocol;
|
|
2363
|
-
/**
|
|
2364
|
-
* Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
|
|
2365
|
-
*/
|
|
2366
|
-
failoverHost?: string;
|
|
2367
|
-
/**
|
|
2368
|
-
* Defines whether to enable SSL bridging between the Load Balancer and backend servers.
|
|
2369
|
-
*/
|
|
2370
|
-
sslBridging?: boolean;
|
|
2371
|
-
/**
|
|
2372
|
-
* Defines whether the server certificate verification should be ignored.
|
|
2373
|
-
*/
|
|
2374
|
-
ignoreSslServerVerify?: boolean;
|
|
2375
|
-
/**
|
|
2376
|
-
* Whether to use another backend server on each attempt.
|
|
2377
|
-
*/
|
|
2378
|
-
redispatchAttemptCount?: number;
|
|
2379
|
-
/**
|
|
2380
|
-
* Number of retries when a backend server connection failed.
|
|
2381
|
-
*/
|
|
2382
|
-
maxRetries?: number;
|
|
2383
|
-
/**
|
|
2384
|
-
* Maximum number of connections allowed per backend server.
|
|
2385
|
-
*/
|
|
2386
|
-
maxConnections?: number;
|
|
2387
|
-
/**
|
|
2388
|
-
* Maximum time for a request to be left pending in queue when `max_connections` is reached.
|
|
2389
|
-
*/
|
|
2390
|
-
timeoutQueue?: string;
|
|
2391
|
-
};
|
|
2392
|
-
export type ZonedApiCreateCertificateRequest = {
|
|
2393
|
-
/**
|
|
2394
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2395
|
-
*/
|
|
2396
|
-
zone?: ScwZone;
|
|
2397
|
-
/**
|
|
2398
|
-
* Load Balancer ID.
|
|
2399
|
-
*/
|
|
2400
|
-
lbId: string;
|
|
2401
|
-
/**
|
|
2402
|
-
* Name for the certificate.
|
|
2403
|
-
*/
|
|
2404
|
-
name?: string;
|
|
2405
|
-
/**
|
|
2406
|
-
* Object to define a new Let's Encrypt certificate to be generated.
|
|
2407
|
-
*
|
|
2408
|
-
* One-of ('type'): at most one of 'letsencrypt', 'customCertificate' could be set.
|
|
2409
|
-
*/
|
|
2410
|
-
letsencrypt?: CreateCertificateRequestLetsencryptConfig;
|
|
2411
|
-
/**
|
|
2412
|
-
* Object to define an existing custom certificate to be imported.
|
|
2413
|
-
*
|
|
2414
|
-
* One-of ('type'): at most one of 'letsencrypt', 'customCertificate' could be set.
|
|
2415
|
-
*/
|
|
2416
|
-
customCertificate?: CreateCertificateRequestCustomCertificate;
|
|
2417
|
-
};
|
|
2418
|
-
export type ZonedApiCreateFrontendRequest = {
|
|
2419
|
-
/**
|
|
2420
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2421
|
-
*/
|
|
2422
|
-
zone?: ScwZone;
|
|
2423
|
-
/**
|
|
2424
|
-
* Load Balancer ID (ID of the Load Balancer to attach the frontend to).
|
|
2425
|
-
*/
|
|
2426
|
-
lbId: string;
|
|
2427
|
-
/**
|
|
2428
|
-
* Name for the frontend.
|
|
2429
|
-
*/
|
|
2430
|
-
name?: string;
|
|
2431
|
-
/**
|
|
2432
|
-
* Port the frontend should listen on.
|
|
2433
|
-
*/
|
|
2434
|
-
inboundPort: number;
|
|
2435
|
-
/**
|
|
2436
|
-
* Backend ID (ID of the backend the frontend should pass traffic to).
|
|
2437
|
-
*/
|
|
2438
|
-
backendId: string;
|
|
2439
|
-
/**
|
|
2440
|
-
* Maximum allowed inactivity time on the client side.
|
|
2441
|
-
*/
|
|
2442
|
-
timeoutClient?: string;
|
|
2443
|
-
/**
|
|
2444
|
-
* @deprecated Certificate ID, deprecated in favor of certificate_ids array.
|
|
2445
|
-
*/
|
|
2446
|
-
certificateId?: string;
|
|
2447
|
-
/**
|
|
2448
|
-
* List of SSL/TLS certificate IDs to bind to the frontend.
|
|
2449
|
-
*/
|
|
2450
|
-
certificateIds?: string[];
|
|
2451
|
-
/**
|
|
2452
|
-
* Defines whether to enable HTTP/3 protocol on the frontend.
|
|
2453
|
-
*/
|
|
2454
|
-
enableHttp3: boolean;
|
|
2455
|
-
/**
|
|
2456
|
-
* Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
|
|
2457
|
-
*/
|
|
2458
|
-
connectionRateLimit?: number;
|
|
2459
|
-
};
|
|
2460
|
-
export type ZonedApiCreateIpRequest = {
|
|
2461
|
-
/**
|
|
2462
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2463
|
-
*/
|
|
2464
|
-
zone?: ScwZone;
|
|
2465
|
-
/**
|
|
2466
|
-
* @deprecated Organization ID of the Organization where the IP address should be created.
|
|
2467
|
-
*
|
|
2468
|
-
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
2469
|
-
*/
|
|
2470
|
-
organizationId?: string;
|
|
2471
|
-
/**
|
|
2472
|
-
* Project ID of the Project where the IP address should be created.
|
|
2473
|
-
*
|
|
2474
|
-
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
2475
|
-
*/
|
|
2476
|
-
projectId?: string;
|
|
2477
|
-
/**
|
|
2478
|
-
* Reverse DNS (domain name) for the IP address.
|
|
2479
|
-
*/
|
|
2480
|
-
reverse?: string;
|
|
2481
|
-
/**
|
|
2482
|
-
* If true, creates a Flexible IP with an ipv6 address.
|
|
2483
|
-
*/
|
|
2484
|
-
isIpv6: boolean;
|
|
2485
|
-
/**
|
|
2486
|
-
* List of tags for the IP.
|
|
2487
|
-
*/
|
|
2488
|
-
tags?: string[];
|
|
2489
|
-
};
|
|
2490
|
-
export type ZonedApiCreateLbRequest = {
|
|
2491
|
-
/**
|
|
2492
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2493
|
-
*/
|
|
2494
|
-
zone?: ScwZone;
|
|
2495
|
-
/**
|
|
2496
|
-
* @deprecated Scaleway Organization to create the Load Balancer in.
|
|
2497
|
-
*
|
|
2498
|
-
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
2499
|
-
*/
|
|
2500
|
-
organizationId?: string;
|
|
2501
|
-
/**
|
|
2502
|
-
* Scaleway Project to create the Load Balancer in.
|
|
2503
|
-
*
|
|
2504
|
-
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
2505
|
-
*/
|
|
2506
|
-
projectId?: string;
|
|
2507
|
-
/**
|
|
2508
|
-
* Name for the Load Balancer.
|
|
2509
|
-
*/
|
|
2510
|
-
name?: string;
|
|
2511
|
-
/**
|
|
2512
|
-
* Description for the Load Balancer.
|
|
2513
|
-
*/
|
|
2514
|
-
description: string;
|
|
2515
|
-
/**
|
|
2516
|
-
* @deprecated ID of an existing flexible IP address to attach to the Load Balancer.
|
|
2517
|
-
*/
|
|
2518
|
-
ipId?: string;
|
|
2519
|
-
/**
|
|
2520
|
-
* Defines whether to automatically assign a flexible public IP to the Load Balancer. Default value is `true` (assign).
|
|
2521
|
-
*/
|
|
2522
|
-
assignFlexibleIp?: boolean;
|
|
2523
|
-
/**
|
|
2524
|
-
* Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. Default value is `false` (do not assign).
|
|
2525
|
-
*/
|
|
2526
|
-
assignFlexibleIpv6?: boolean;
|
|
2527
|
-
/**
|
|
2528
|
-
* List of IP IDs to attach to the Load Balancer.
|
|
2529
|
-
*/
|
|
2530
|
-
ipIds?: string[];
|
|
2531
|
-
/**
|
|
2532
|
-
* List of tags for the Load Balancer.
|
|
2533
|
-
*/
|
|
2534
|
-
tags?: string[];
|
|
2535
|
-
/**
|
|
2536
|
-
* Load Balancer commercial offer type. Use the Load Balancer types endpoint to retrieve a list of available offer types.
|
|
2537
|
-
*/
|
|
2538
|
-
type: string;
|
|
2539
|
-
/**
|
|
2540
|
-
* Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems. Modern is suitable for services with clients that support TLS 1.3 and do not need backward compatibility. Old is compatible with a small number of very old clients and should be used only as a last resort.
|
|
2541
|
-
*/
|
|
2542
|
-
sslCompatibilityLevel?: SSLCompatibilityLevel;
|
|
2543
|
-
};
|
|
2544
|
-
export type ZonedApiCreateRouteRequest = {
|
|
2545
|
-
/**
|
|
2546
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2547
|
-
*/
|
|
2548
|
-
zone?: ScwZone;
|
|
2549
|
-
/**
|
|
2550
|
-
* ID of the source frontend to create the route on.
|
|
2551
|
-
*/
|
|
2552
|
-
frontendId: string;
|
|
2553
|
-
/**
|
|
2554
|
-
* ID of the target backend for the route.
|
|
2555
|
-
*/
|
|
2556
|
-
backendId: string;
|
|
2557
|
-
/**
|
|
2558
|
-
* Object defining the match condition for a route to be applied. If an incoming client session matches the specified condition (i.e. it has a matching SNI value or HTTP Host header value), it will be passed to the target backend.
|
|
2559
|
-
*/
|
|
2560
|
-
match?: RouteMatch;
|
|
2561
|
-
};
|
|
2562
|
-
/**
|
|
2563
|
-
* Create a new alert subscriber (webhook or email).
|
|
2564
|
-
*/
|
|
2565
|
-
export type ZonedApiCreateSubscriberRequest = {
|
|
2566
|
-
/**
|
|
2567
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2568
|
-
*/
|
|
2569
|
-
zone?: ScwZone;
|
|
2570
|
-
/**
|
|
2571
|
-
* Subscriber name.
|
|
2572
|
-
*/
|
|
2573
|
-
name: string;
|
|
2574
|
-
/**
|
|
2575
|
-
* Email address configuration.
|
|
2576
|
-
*
|
|
2577
|
-
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
2578
|
-
*/
|
|
2579
|
-
emailConfig?: SubscriberEmailConfig;
|
|
2580
|
-
/**
|
|
2581
|
-
* WebHook URI configuration.
|
|
2582
|
-
*
|
|
2583
|
-
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
2584
|
-
*/
|
|
2585
|
-
webhookConfig?: SubscriberWebhookConfig;
|
|
2586
|
-
/**
|
|
2587
|
-
* @deprecated Organization ID to create the subscriber in.
|
|
2588
|
-
*
|
|
2589
|
-
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
2590
|
-
*/
|
|
2591
|
-
organizationId?: string;
|
|
2592
|
-
/**
|
|
2593
|
-
* Project ID to create the subscriber in.
|
|
2594
|
-
*
|
|
2595
|
-
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
2596
|
-
*/
|
|
2597
|
-
projectId?: string;
|
|
2598
|
-
};
|
|
2599
|
-
export type ZonedApiDeleteAclRequest = {
|
|
2600
|
-
/**
|
|
2601
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2602
|
-
*/
|
|
2603
|
-
zone?: ScwZone;
|
|
2604
|
-
/**
|
|
2605
|
-
* ACL ID.
|
|
2606
|
-
*/
|
|
2607
|
-
aclId: string;
|
|
2608
|
-
};
|
|
2609
|
-
export type ZonedApiDeleteBackendRequest = {
|
|
2610
|
-
/**
|
|
2611
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2612
|
-
*/
|
|
2613
|
-
zone?: ScwZone;
|
|
2614
|
-
/**
|
|
2615
|
-
* ID of the backend to delete.
|
|
2616
|
-
*/
|
|
2617
|
-
backendId: string;
|
|
2618
|
-
};
|
|
2619
|
-
export type ZonedApiDeleteCertificateRequest = {
|
|
2620
|
-
/**
|
|
2621
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2622
|
-
*/
|
|
2623
|
-
zone?: ScwZone;
|
|
2624
|
-
/**
|
|
2625
|
-
* Certificate ID.
|
|
2626
|
-
*/
|
|
2627
|
-
certificateId: string;
|
|
2628
|
-
};
|
|
2629
|
-
export type ZonedApiDeleteFrontendRequest = {
|
|
2630
|
-
/**
|
|
2631
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2632
|
-
*/
|
|
2633
|
-
zone?: ScwZone;
|
|
2634
|
-
/**
|
|
2635
|
-
* ID of the frontend to delete.
|
|
2636
|
-
*/
|
|
2637
|
-
frontendId: string;
|
|
2638
|
-
};
|
|
2639
|
-
export type ZonedApiDeleteLbRequest = {
|
|
2640
|
-
/**
|
|
2641
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2642
|
-
*/
|
|
2643
|
-
zone?: ScwZone;
|
|
2644
|
-
/**
|
|
2645
|
-
* ID of the Load Balancer to delete.
|
|
2646
|
-
*/
|
|
2647
|
-
lbId: string;
|
|
2648
|
-
/**
|
|
2649
|
-
* Defines whether the Load Balancer's flexible IP should be deleted. Set to true to release the flexible IP, or false to keep it available in your account for future Load Balancers.
|
|
2650
|
-
*/
|
|
2651
|
-
releaseIp: boolean;
|
|
2652
|
-
};
|
|
2653
|
-
export type ZonedApiDeleteRouteRequest = {
|
|
2654
|
-
/**
|
|
2655
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2656
|
-
*/
|
|
2657
|
-
zone?: ScwZone;
|
|
2658
|
-
/**
|
|
2659
|
-
* Route ID.
|
|
2660
|
-
*/
|
|
2661
|
-
routeId: string;
|
|
2662
|
-
};
|
|
2663
|
-
export type ZonedApiDeleteSubscriberRequest = {
|
|
2664
|
-
/**
|
|
2665
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2666
|
-
*/
|
|
2667
|
-
zone?: ScwZone;
|
|
2668
|
-
/**
|
|
2669
|
-
* Subscriber ID.
|
|
2670
|
-
*/
|
|
2671
|
-
subscriberId: string;
|
|
2672
|
-
};
|
|
2673
|
-
export type ZonedApiDetachPrivateNetworkRequest = {
|
|
2674
|
-
/**
|
|
2675
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2676
|
-
*/
|
|
2677
|
-
zone?: ScwZone;
|
|
2678
|
-
/**
|
|
2679
|
-
* Load balancer ID.
|
|
2680
|
-
*/
|
|
2681
|
-
lbId: string;
|
|
2682
|
-
/**
|
|
2683
|
-
* Set your instance private network id.
|
|
2684
|
-
*/
|
|
2685
|
-
privateNetworkId: string;
|
|
2686
|
-
};
|
|
2687
|
-
export type ZonedApiGetAclRequest = {
|
|
2688
|
-
/**
|
|
2689
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2690
|
-
*/
|
|
2691
|
-
zone?: ScwZone;
|
|
2692
|
-
/**
|
|
2693
|
-
* ACL ID.
|
|
2694
|
-
*/
|
|
2695
|
-
aclId: string;
|
|
2696
|
-
};
|
|
2697
|
-
export type ZonedApiGetBackendRequest = {
|
|
2698
|
-
/**
|
|
2699
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2700
|
-
*/
|
|
2701
|
-
zone?: ScwZone;
|
|
2702
|
-
/**
|
|
2703
|
-
* Backend ID.
|
|
2704
|
-
*/
|
|
2705
|
-
backendId: string;
|
|
2706
|
-
};
|
|
2707
|
-
export type ZonedApiGetCertificateRequest = {
|
|
2708
|
-
/**
|
|
2709
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2710
|
-
*/
|
|
2711
|
-
zone?: ScwZone;
|
|
2712
|
-
/**
|
|
2713
|
-
* Certificate ID.
|
|
2714
|
-
*/
|
|
2715
|
-
certificateId: string;
|
|
2716
|
-
};
|
|
2717
|
-
export type ZonedApiGetFrontendRequest = {
|
|
2718
|
-
/**
|
|
2719
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2720
|
-
*/
|
|
2721
|
-
zone?: ScwZone;
|
|
2722
|
-
/**
|
|
2723
|
-
* Frontend ID.
|
|
2724
|
-
*/
|
|
2725
|
-
frontendId: string;
|
|
2726
|
-
};
|
|
2727
|
-
export type ZonedApiGetIpRequest = {
|
|
2728
|
-
/**
|
|
2729
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2730
|
-
*/
|
|
2731
|
-
zone?: ScwZone;
|
|
2732
|
-
/**
|
|
2733
|
-
* IP address ID.
|
|
2734
|
-
*/
|
|
2735
|
-
ipId: string;
|
|
2736
|
-
};
|
|
2737
|
-
export type ZonedApiGetLbRequest = {
|
|
2738
|
-
/**
|
|
2739
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2740
|
-
*/
|
|
2741
|
-
zone?: ScwZone;
|
|
2742
|
-
/**
|
|
2743
|
-
* Load Balancer ID.
|
|
2744
|
-
*/
|
|
2745
|
-
lbId: string;
|
|
2746
|
-
};
|
|
2747
|
-
/**
|
|
2748
|
-
* Get Load Balancer stats.
|
|
2749
|
-
*/
|
|
2750
|
-
export type ZonedApiGetLbStatsRequest = {
|
|
2751
|
-
/**
|
|
2752
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2753
|
-
*/
|
|
2754
|
-
zone?: ScwZone;
|
|
2755
|
-
/**
|
|
2756
|
-
* Load Balancer ID.
|
|
2757
|
-
*/
|
|
2758
|
-
lbId: string;
|
|
2759
|
-
/**
|
|
2760
|
-
* ID of the backend.
|
|
2761
|
-
*/
|
|
2762
|
-
backendId?: string;
|
|
2763
|
-
};
|
|
2764
|
-
export type ZonedApiGetRouteRequest = {
|
|
2765
|
-
/**
|
|
2766
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2767
|
-
*/
|
|
2768
|
-
zone?: ScwZone;
|
|
2769
|
-
/**
|
|
2770
|
-
* Route ID.
|
|
2771
|
-
*/
|
|
2772
|
-
routeId: string;
|
|
2773
|
-
};
|
|
2774
|
-
export type ZonedApiGetSubscriberRequest = {
|
|
2775
|
-
/**
|
|
2776
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2777
|
-
*/
|
|
2778
|
-
zone?: ScwZone;
|
|
2779
|
-
/**
|
|
2780
|
-
* Subscriber ID.
|
|
2781
|
-
*/
|
|
2782
|
-
subscriberId: string;
|
|
2783
|
-
};
|
|
2784
|
-
export type ZonedApiListAclsRequest = {
|
|
2785
|
-
/**
|
|
2786
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2787
|
-
*/
|
|
2788
|
-
zone?: ScwZone;
|
|
2789
|
-
/**
|
|
2790
|
-
* Frontend ID (ACLs attached to this frontend will be returned in the response).
|
|
2791
|
-
*/
|
|
2792
|
-
frontendId: string;
|
|
2793
|
-
/**
|
|
2794
|
-
* Sort order of ACLs in the response.
|
|
2795
|
-
*/
|
|
2796
|
-
orderBy?: ListAclRequestOrderBy;
|
|
2797
|
-
/**
|
|
2798
|
-
* The page number to return, from the paginated results.
|
|
2799
|
-
*/
|
|
2800
|
-
page?: number;
|
|
2801
|
-
/**
|
|
2802
|
-
* The number of ACLs to return.
|
|
2803
|
-
*/
|
|
2804
|
-
pageSize?: number;
|
|
2805
|
-
/**
|
|
2806
|
-
* ACL name to filter for.
|
|
2807
|
-
*/
|
|
2808
|
-
name?: string;
|
|
2809
|
-
};
|
|
2810
|
-
export type ZonedApiListBackendStatsRequest = {
|
|
2811
|
-
/**
|
|
2812
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2813
|
-
*/
|
|
2814
|
-
zone?: ScwZone;
|
|
2815
|
-
/**
|
|
2816
|
-
* Load Balancer ID.
|
|
2817
|
-
*/
|
|
2818
|
-
lbId: string;
|
|
2819
|
-
/**
|
|
2820
|
-
* The page number to return, from the paginated results.
|
|
2821
|
-
*/
|
|
2822
|
-
page?: number;
|
|
2823
|
-
/**
|
|
2824
|
-
* Number of items to return.
|
|
2825
|
-
*/
|
|
2826
|
-
pageSize?: number;
|
|
2827
|
-
/**
|
|
2828
|
-
* ID of the backend.
|
|
2829
|
-
*/
|
|
2830
|
-
backendId?: string;
|
|
2831
|
-
};
|
|
2832
|
-
export type ZonedApiListBackendsRequest = {
|
|
2833
|
-
/**
|
|
2834
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2835
|
-
*/
|
|
2836
|
-
zone?: ScwZone;
|
|
2837
|
-
/**
|
|
2838
|
-
* Load Balancer ID.
|
|
2839
|
-
*/
|
|
2840
|
-
lbId: string;
|
|
2841
|
-
/**
|
|
2842
|
-
* Name of the backend to filter for.
|
|
2843
|
-
*/
|
|
2844
|
-
name?: string;
|
|
2845
|
-
/**
|
|
2846
|
-
* Sort order of backends in the response.
|
|
2847
|
-
*/
|
|
2848
|
-
orderBy?: ListBackendsRequestOrderBy;
|
|
2849
|
-
/**
|
|
2850
|
-
* The page number to return, from the paginated results.
|
|
2851
|
-
*/
|
|
2852
|
-
page?: number;
|
|
2853
|
-
/**
|
|
2854
|
-
* Number of backends to return.
|
|
2855
|
-
*/
|
|
2856
|
-
pageSize?: number;
|
|
2857
|
-
};
|
|
2858
|
-
export type ZonedApiListCertificatesRequest = {
|
|
2859
|
-
/**
|
|
2860
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2861
|
-
*/
|
|
2862
|
-
zone?: ScwZone;
|
|
2863
|
-
/**
|
|
2864
|
-
* Load Balancer ID.
|
|
2865
|
-
*/
|
|
2866
|
-
lbId: string;
|
|
2867
|
-
/**
|
|
2868
|
-
* Sort order of certificates in the response.
|
|
2869
|
-
*/
|
|
2870
|
-
orderBy?: ListCertificatesRequestOrderBy;
|
|
2871
|
-
/**
|
|
2872
|
-
* The page number to return, from the paginated results.
|
|
2873
|
-
*/
|
|
2874
|
-
page?: number;
|
|
2875
|
-
/**
|
|
2876
|
-
* Number of certificates to return.
|
|
2877
|
-
*/
|
|
2878
|
-
pageSize?: number;
|
|
2879
|
-
/**
|
|
2880
|
-
* Certificate name to filter for, only certificates of this name will be returned.
|
|
2881
|
-
*/
|
|
2882
|
-
name?: string;
|
|
2883
|
-
};
|
|
2884
|
-
export type ZonedApiListFrontendsRequest = {
|
|
2885
|
-
/**
|
|
2886
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2887
|
-
*/
|
|
2888
|
-
zone?: ScwZone;
|
|
2889
|
-
/**
|
|
2890
|
-
* Load Balancer ID.
|
|
2891
|
-
*/
|
|
2892
|
-
lbId: string;
|
|
2893
|
-
/**
|
|
2894
|
-
* Name of the frontend to filter for.
|
|
2895
|
-
*/
|
|
2896
|
-
name?: string;
|
|
2897
|
-
/**
|
|
2898
|
-
* Sort order of frontends in the response.
|
|
2899
|
-
*/
|
|
2900
|
-
orderBy?: ListFrontendsRequestOrderBy;
|
|
2901
|
-
/**
|
|
2902
|
-
* The page number to return, from the paginated results.
|
|
2903
|
-
*/
|
|
2904
|
-
page?: number;
|
|
2905
|
-
/**
|
|
2906
|
-
* Number of frontends to return.
|
|
2907
|
-
*/
|
|
2908
|
-
pageSize?: number;
|
|
2909
|
-
};
|
|
2910
|
-
export type ZonedApiListIPsRequest = {
|
|
2911
|
-
/**
|
|
2912
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2913
|
-
*/
|
|
2914
|
-
zone?: ScwZone;
|
|
2915
|
-
/**
|
|
2916
|
-
* The page number to return, from the paginated results.
|
|
2917
|
-
*/
|
|
2918
|
-
page?: number;
|
|
2919
|
-
/**
|
|
2920
|
-
* Number of IP addresses to return.
|
|
2921
|
-
*/
|
|
2922
|
-
pageSize?: number;
|
|
2923
|
-
/**
|
|
2924
|
-
* IP address to filter for.
|
|
2925
|
-
*/
|
|
2926
|
-
ipAddress?: string;
|
|
2927
|
-
/**
|
|
2928
|
-
* Organization ID to filter for, only Load Balancer IP addresses from this Organization will be returned.
|
|
2929
|
-
*/
|
|
2930
|
-
organizationId?: string;
|
|
2931
|
-
/**
|
|
2932
|
-
* Project ID to filter for, only Load Balancer IP addresses from this Project will be returned.
|
|
2933
|
-
*/
|
|
2934
|
-
projectId?: string;
|
|
2935
|
-
/**
|
|
2936
|
-
* IP type to filter for.
|
|
2937
|
-
*/
|
|
2938
|
-
ipType?: ListIpsRequestIpType;
|
|
2939
|
-
/**
|
|
2940
|
-
* Tag to filter for, only IPs with one or more matching tags will be returned.
|
|
2941
|
-
*/
|
|
2942
|
-
tags?: string[];
|
|
2943
|
-
};
|
|
2944
|
-
export type ZonedApiListLbPrivateNetworksRequest = {
|
|
2945
|
-
/**
|
|
2946
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2947
|
-
*/
|
|
2948
|
-
zone?: ScwZone;
|
|
2949
|
-
/**
|
|
2950
|
-
* Load Balancer ID.
|
|
2951
|
-
*/
|
|
2952
|
-
lbId: string;
|
|
2953
|
-
/**
|
|
2954
|
-
* Sort order of Private Network objects in the response.
|
|
2955
|
-
*/
|
|
2956
|
-
orderBy?: ListPrivateNetworksRequestOrderBy;
|
|
2957
|
-
/**
|
|
2958
|
-
* Number of objects to return.
|
|
2959
|
-
*/
|
|
2960
|
-
pageSize?: number;
|
|
2961
|
-
/**
|
|
2962
|
-
* The page number to return, from the paginated results.
|
|
2963
|
-
*/
|
|
2964
|
-
page?: number;
|
|
2965
|
-
};
|
|
2966
|
-
export type ZonedApiListLbTypesRequest = {
|
|
2967
|
-
/**
|
|
2968
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2969
|
-
*/
|
|
2970
|
-
zone?: ScwZone;
|
|
2971
|
-
/**
|
|
2972
|
-
* The page number to return, from the paginated results.
|
|
2973
|
-
*/
|
|
2974
|
-
page?: number;
|
|
2975
|
-
/**
|
|
2976
|
-
* The number of items to return.
|
|
2977
|
-
*/
|
|
2978
|
-
pageSize?: number;
|
|
2979
|
-
};
|
|
2980
|
-
export type ZonedApiListLbsRequest = {
|
|
2981
|
-
/**
|
|
2982
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
2983
|
-
*/
|
|
2984
|
-
zone?: ScwZone;
|
|
2985
|
-
/**
|
|
2986
|
-
* Load Balancer name to filter for.
|
|
2987
|
-
*/
|
|
2988
|
-
name?: string;
|
|
2989
|
-
/**
|
|
2990
|
-
* Sort order of Load Balancers in the response.
|
|
2991
|
-
*/
|
|
2992
|
-
orderBy?: ListLbsRequestOrderBy;
|
|
2993
|
-
/**
|
|
2994
|
-
* Number of Load Balancers to return.
|
|
2995
|
-
*/
|
|
2996
|
-
pageSize?: number;
|
|
2997
|
-
/**
|
|
2998
|
-
* Page number to return, from the paginated results.
|
|
2999
|
-
*/
|
|
3000
|
-
page?: number;
|
|
3001
|
-
/**
|
|
3002
|
-
* Organization ID to filter for, only Load Balancers from this Organization will be returned.
|
|
3003
|
-
*/
|
|
3004
|
-
organizationId?: string;
|
|
3005
|
-
/**
|
|
3006
|
-
* Project ID to filter for, only Load Balancers from this Project will be returned.
|
|
3007
|
-
*/
|
|
3008
|
-
projectId?: string;
|
|
3009
|
-
/**
|
|
3010
|
-
* Filter by tag, only Load Balancers with one or more matching tags will be returned.
|
|
3011
|
-
*/
|
|
3012
|
-
tags?: string[];
|
|
3013
|
-
};
|
|
3014
|
-
export type ZonedApiListRoutesRequest = {
|
|
3015
|
-
/**
|
|
3016
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
3017
|
-
*/
|
|
3018
|
-
zone?: ScwZone;
|
|
3019
|
-
/**
|
|
3020
|
-
* Sort order of routes in the response.
|
|
3021
|
-
*/
|
|
3022
|
-
orderBy?: ListRoutesRequestOrderBy;
|
|
3023
|
-
/**
|
|
3024
|
-
* The number of route objects to return.
|
|
3025
|
-
*/
|
|
3026
|
-
pageSize?: number;
|
|
3027
|
-
/**
|
|
3028
|
-
* The page number to return, from the paginated results.
|
|
3029
|
-
*/
|
|
3030
|
-
page?: number;
|
|
3031
|
-
/**
|
|
3032
|
-
* Frontend ID to filter for, only Routes from this Frontend will be returned.
|
|
3033
|
-
*/
|
|
3034
|
-
frontendId?: string;
|
|
3035
|
-
};
|
|
3036
|
-
export type ZonedApiListSubscriberRequest = {
|
|
3037
|
-
/**
|
|
3038
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
3039
|
-
*/
|
|
3040
|
-
zone?: ScwZone;
|
|
3041
|
-
/**
|
|
3042
|
-
* Sort order of subscribers in the response.
|
|
3043
|
-
*/
|
|
3044
|
-
orderBy?: ListSubscriberRequestOrderBy;
|
|
3045
|
-
/**
|
|
3046
|
-
* The page number to return, from the paginated results.
|
|
3047
|
-
*/
|
|
3048
|
-
page?: number;
|
|
3049
|
-
/**
|
|
3050
|
-
* The number of items to return.
|
|
3051
|
-
*/
|
|
3052
|
-
pageSize?: number;
|
|
3053
|
-
/**
|
|
3054
|
-
* Subscriber name to search for.
|
|
3055
|
-
*/
|
|
3056
|
-
name?: string;
|
|
3057
|
-
/**
|
|
3058
|
-
* Filter subscribers by Organization ID.
|
|
3059
|
-
*/
|
|
3060
|
-
organizationId?: string;
|
|
3061
|
-
/**
|
|
3062
|
-
* Filter subscribers by Project ID.
|
|
3063
|
-
*/
|
|
3064
|
-
projectId?: string;
|
|
3065
|
-
};
|
|
3066
|
-
export type ZonedApiMigrateLbRequest = {
|
|
3067
|
-
/**
|
|
3068
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
3069
|
-
*/
|
|
3070
|
-
zone?: ScwZone;
|
|
3071
|
-
/**
|
|
3072
|
-
* Load Balancer ID.
|
|
3073
|
-
*/
|
|
3074
|
-
lbId: string;
|
|
3075
|
-
/**
|
|
3076
|
-
* Load Balancer type to migrate to (use the List all Load Balancer offer types endpoint to get a list of available offer types).
|
|
3077
|
-
*/
|
|
3078
|
-
type: string;
|
|
3079
|
-
};
|
|
3080
|
-
export type ZonedApiReleaseIpRequest = {
|
|
3081
|
-
/**
|
|
3082
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
3083
|
-
*/
|
|
3084
|
-
zone?: ScwZone;
|
|
3085
|
-
/**
|
|
3086
|
-
* IP address ID.
|
|
3087
|
-
*/
|
|
3088
|
-
ipId: string;
|
|
3089
|
-
};
|
|
3090
|
-
export type ZonedApiRemoveBackendServersRequest = {
|
|
3091
|
-
/**
|
|
3092
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
3093
|
-
*/
|
|
3094
|
-
zone?: ScwZone;
|
|
3095
|
-
/**
|
|
3096
|
-
* Backend ID.
|
|
3097
|
-
*/
|
|
3098
|
-
backendId: string;
|
|
3099
|
-
/**
|
|
3100
|
-
* List of IP addresses to remove from backend servers.
|
|
3101
|
-
*/
|
|
3102
|
-
serverIp: string[];
|
|
3103
|
-
};
|
|
3104
|
-
export type ZonedApiSetAclsRequest = {
|
|
3105
|
-
/**
|
|
3106
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
3107
|
-
*/
|
|
3108
|
-
zone?: ScwZone;
|
|
3109
|
-
/**
|
|
3110
|
-
* Frontend ID.
|
|
3111
|
-
*/
|
|
3112
|
-
frontendId: string;
|
|
3113
|
-
/**
|
|
3114
|
-
* List of ACLs for this frontend. Any other existing ACLs on this frontend will be removed.
|
|
3115
|
-
*/
|
|
3116
|
-
acls: AclSpec[];
|
|
3117
|
-
};
|
|
3118
|
-
export type ZonedApiSetBackendServersRequest = {
|
|
3119
|
-
/**
|
|
3120
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
3121
|
-
*/
|
|
3122
|
-
zone?: ScwZone;
|
|
3123
|
-
/**
|
|
3124
|
-
* Backend ID.
|
|
3125
|
-
*/
|
|
3126
|
-
backendId: string;
|
|
3127
|
-
/**
|
|
3128
|
-
* List of IP addresses for backend servers. Any other existing backend servers will be removed.
|
|
3129
|
-
*/
|
|
3130
|
-
serverIp: string[];
|
|
3131
|
-
};
|
|
3132
|
-
export type ZonedApiSubscribeToLbRequest = {
|
|
3133
|
-
/**
|
|
3134
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
3135
|
-
*/
|
|
3136
|
-
zone?: ScwZone;
|
|
3137
|
-
/**
|
|
3138
|
-
* Load Balancer ID.
|
|
3139
|
-
*/
|
|
3140
|
-
lbId: string;
|
|
3141
|
-
/**
|
|
3142
|
-
* Subscriber ID.
|
|
3143
|
-
*/
|
|
3144
|
-
subscriberId: string;
|
|
3145
|
-
};
|
|
3146
|
-
export type ZonedApiUnsubscribeFromLbRequest = {
|
|
3147
|
-
/**
|
|
3148
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
3149
|
-
*/
|
|
3150
|
-
zone?: ScwZone;
|
|
3151
|
-
/**
|
|
3152
|
-
* Load Balancer ID.
|
|
3153
|
-
*/
|
|
3154
|
-
lbId: string;
|
|
3155
|
-
};
|
|
3156
|
-
export type ZonedApiUpdateAclRequest = {
|
|
3157
|
-
/**
|
|
3158
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
3159
|
-
*/
|
|
3160
|
-
zone?: ScwZone;
|
|
3161
|
-
/**
|
|
3162
|
-
* ACL ID.
|
|
3163
|
-
*/
|
|
3164
|
-
aclId: string;
|
|
3165
|
-
/**
|
|
3166
|
-
* ACL name.
|
|
3167
|
-
*/
|
|
3168
|
-
name: string;
|
|
3169
|
-
/**
|
|
3170
|
-
* Action to take when incoming traffic matches an ACL filter.
|
|
3171
|
-
*/
|
|
3172
|
-
action: AclAction;
|
|
3173
|
-
/**
|
|
3174
|
-
* ACL match filter object. One of `ip_subnet` or `http_filter` & `http_filter_value` are required.
|
|
3175
|
-
*/
|
|
3176
|
-
match?: AclMatch;
|
|
3177
|
-
/**
|
|
3178
|
-
* Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
|
|
3179
|
-
*/
|
|
3180
|
-
index: number;
|
|
3181
|
-
/**
|
|
3182
|
-
* ACL description.
|
|
3183
|
-
*/
|
|
3184
|
-
description?: string;
|
|
3185
|
-
};
|
|
3186
|
-
export type ZonedApiUpdateBackendRequest = {
|
|
3187
|
-
/**
|
|
3188
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
3189
|
-
*/
|
|
3190
|
-
zone?: ScwZone;
|
|
3191
|
-
/**
|
|
3192
|
-
* Backend ID.
|
|
3193
|
-
*/
|
|
3194
|
-
backendId: string;
|
|
3195
|
-
/**
|
|
3196
|
-
* Backend name.
|
|
3197
|
-
*/
|
|
3198
|
-
name: string;
|
|
3199
|
-
/**
|
|
3200
|
-
* Protocol to be used by the backend when forwarding traffic to backend servers.
|
|
3201
|
-
*/
|
|
3202
|
-
forwardProtocol: Protocol;
|
|
3203
|
-
/**
|
|
3204
|
-
* Port to be used by the backend when forwarding traffic to backend servers.
|
|
3205
|
-
*/
|
|
3206
|
-
forwardPort: number;
|
|
3207
|
-
/**
|
|
3208
|
-
* Load balancing algorithm to be used when determining which backend server to forward new traffic to.
|
|
3209
|
-
*/
|
|
3210
|
-
forwardPortAlgorithm: ForwardPortAlgorithm;
|
|
3211
|
-
/**
|
|
3212
|
-
* Defines whether to activate sticky sessions (binding a particular session to a particular backend server) and the method to use if so. None disables sticky sessions. Cookie-based uses an HTTP cookie to stick a session to a backend server. Table-based uses the source (client) IP address to stick a session to a backend server.
|
|
3213
|
-
*/
|
|
3214
|
-
stickySessions: StickySessionsType;
|
|
3215
|
-
/**
|
|
3216
|
-
* Cookie name for cookie-based sticky sessions.
|
|
3217
|
-
*/
|
|
3218
|
-
stickySessionsCookieName: string;
|
|
3219
|
-
/**
|
|
3220
|
-
* @deprecated Deprecated in favor of proxy_protocol field.
|
|
3221
|
-
*/
|
|
3222
|
-
sendProxyV2?: boolean;
|
|
3223
|
-
/**
|
|
3224
|
-
* Maximum allowed time for a backend server to process a request.
|
|
3225
|
-
*/
|
|
3226
|
-
timeoutServer?: string;
|
|
3227
|
-
/**
|
|
3228
|
-
* Maximum allowed time for establishing a connection to a backend server.
|
|
3229
|
-
*/
|
|
3230
|
-
timeoutConnect?: string;
|
|
3231
|
-
/**
|
|
3232
|
-
* Maximum allowed tunnel inactivity time after Websocket is established (takes precedence over client and server timeout).
|
|
3233
|
-
*/
|
|
3234
|
-
timeoutTunnel?: string;
|
|
3235
|
-
/**
|
|
3236
|
-
* Action to take when a backend server is marked as down.
|
|
3237
|
-
*/
|
|
3238
|
-
onMarkedDownAction?: OnMarkedDownAction;
|
|
3239
|
-
/**
|
|
3240
|
-
* Protocol to use between the Load Balancer and backend servers. Allows the backend servers to be informed of the client's real IP address. The PROXY protocol must be supported by the backend servers' software.
|
|
3241
|
-
*/
|
|
3242
|
-
proxyProtocol?: ProxyProtocol;
|
|
3243
|
-
/**
|
|
3244
|
-
* Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
|
|
3245
|
-
*/
|
|
3246
|
-
failoverHost?: string;
|
|
3247
|
-
/**
|
|
3248
|
-
* Defines whether to enable SSL bridging between the Load Balancer and backend servers.
|
|
3249
|
-
*/
|
|
3250
|
-
sslBridging?: boolean;
|
|
3251
|
-
/**
|
|
3252
|
-
* Defines whether the server certificate verification should be ignored.
|
|
3253
|
-
*/
|
|
3254
|
-
ignoreSslServerVerify?: boolean;
|
|
3255
|
-
/**
|
|
3256
|
-
* Whether to use another backend server on each attempt.
|
|
3257
|
-
*/
|
|
3258
|
-
redispatchAttemptCount?: number;
|
|
3259
|
-
/**
|
|
3260
|
-
* Number of retries when a backend server connection failed.
|
|
3261
|
-
*/
|
|
3262
|
-
maxRetries?: number;
|
|
3263
|
-
/**
|
|
3264
|
-
* Maximum number of connections allowed per backend server.
|
|
3265
|
-
*/
|
|
3266
|
-
maxConnections?: number;
|
|
3267
|
-
/**
|
|
3268
|
-
* Maximum time for a request to be left pending in queue when `max_connections` is reached.
|
|
3269
|
-
*/
|
|
3270
|
-
timeoutQueue?: string;
|
|
3271
|
-
};
|
|
3272
|
-
export type ZonedApiUpdateCertificateRequest = {
|
|
3273
|
-
/**
|
|
3274
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
3275
|
-
*/
|
|
3276
|
-
zone?: ScwZone;
|
|
3277
|
-
/**
|
|
3278
|
-
* Certificate ID.
|
|
3279
|
-
*/
|
|
3280
|
-
certificateId: string;
|
|
3281
|
-
/**
|
|
3282
|
-
* Certificate name.
|
|
3283
|
-
*/
|
|
3284
|
-
name: string;
|
|
3285
|
-
};
|
|
3286
|
-
export type ZonedApiUpdateFrontendRequest = {
|
|
3287
|
-
/**
|
|
3288
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
3289
|
-
*/
|
|
3290
|
-
zone?: ScwZone;
|
|
3291
|
-
/**
|
|
3292
|
-
* Frontend ID.
|
|
3293
|
-
*/
|
|
3294
|
-
frontendId: string;
|
|
3295
|
-
/**
|
|
3296
|
-
* Frontend name.
|
|
3297
|
-
*/
|
|
3298
|
-
name: string;
|
|
3299
|
-
/**
|
|
3300
|
-
* Port the frontend should listen on.
|
|
3301
|
-
*/
|
|
3302
|
-
inboundPort: number;
|
|
3303
|
-
/**
|
|
3304
|
-
* Backend ID (ID of the backend the frontend should pass traffic to).
|
|
3305
|
-
*/
|
|
3306
|
-
backendId: string;
|
|
3307
|
-
/**
|
|
3308
|
-
* Maximum allowed inactivity time on the client side.
|
|
3309
|
-
*/
|
|
3310
|
-
timeoutClient?: string;
|
|
3311
|
-
/**
|
|
3312
|
-
* @deprecated Certificate ID, deprecated in favor of certificate_ids array.
|
|
3313
|
-
*/
|
|
3314
|
-
certificateId?: string;
|
|
3315
|
-
/**
|
|
3316
|
-
* List of SSL/TLS certificate IDs to bind to the frontend.
|
|
3317
|
-
*/
|
|
3318
|
-
certificateIds?: string[];
|
|
3319
|
-
/**
|
|
3320
|
-
* Defines whether to enable HTTP/3 protocol on the frontend.
|
|
3321
|
-
*/
|
|
3322
|
-
enableHttp3: boolean;
|
|
3323
|
-
/**
|
|
3324
|
-
* Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
|
|
3325
|
-
*/
|
|
3326
|
-
connectionRateLimit?: number;
|
|
3327
|
-
};
|
|
3328
|
-
export type ZonedApiUpdateHealthCheckRequest = {
|
|
3329
|
-
/**
|
|
3330
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
3331
|
-
*/
|
|
3332
|
-
zone?: ScwZone;
|
|
3333
|
-
/**
|
|
3334
|
-
* Backend ID.
|
|
3335
|
-
*/
|
|
3336
|
-
backendId: string;
|
|
3337
|
-
/**
|
|
3338
|
-
* Port to use for the backend server health check.
|
|
3339
|
-
*/
|
|
3340
|
-
port: number;
|
|
3341
|
-
/**
|
|
3342
|
-
* Time to wait between two consecutive health checks.
|
|
3343
|
-
*/
|
|
3344
|
-
checkDelay?: string;
|
|
3345
|
-
/**
|
|
3346
|
-
* Maximum time a backend server has to reply to the health check.
|
|
3347
|
-
*/
|
|
3348
|
-
checkTimeout?: string;
|
|
3349
|
-
/**
|
|
3350
|
-
* Number of consecutive unsuccessful health checks after which the server will be considered dead.
|
|
3351
|
-
*/
|
|
3352
|
-
checkMaxRetries: number;
|
|
3353
|
-
/**
|
|
3354
|
-
* Defines whether proxy protocol should be activated for the health check.
|
|
3355
|
-
*/
|
|
3356
|
-
checkSendProxy: boolean;
|
|
3357
|
-
/**
|
|
3358
|
-
* Object to configure a basic TCP health check.
|
|
3359
|
-
*
|
|
3360
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
3361
|
-
*/
|
|
3362
|
-
tcpConfig?: HealthCheckTcpConfig;
|
|
3363
|
-
/**
|
|
3364
|
-
* Object to configure a MySQL health check. The check requires MySQL >=3.22 or <9.0. For older or newer versions, use a TCP health check.
|
|
3365
|
-
*
|
|
3366
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
3367
|
-
*/
|
|
3368
|
-
mysqlConfig?: HealthCheckMysqlConfig;
|
|
3369
|
-
/**
|
|
3370
|
-
* Object to configure a PostgreSQL health check.
|
|
3371
|
-
*
|
|
3372
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
3373
|
-
*/
|
|
3374
|
-
pgsqlConfig?: HealthCheckPgsqlConfig;
|
|
3375
|
-
/**
|
|
3376
|
-
* Object to configure an LDAP health check. The response is analyzed to find the LDAPv3 response message.
|
|
3377
|
-
*
|
|
3378
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
3379
|
-
*/
|
|
3380
|
-
ldapConfig?: HealthCheckLdapConfig;
|
|
3381
|
-
/**
|
|
3382
|
-
* Object to configure a Redis health check. The response is analyzed to find the +PONG response message.
|
|
3383
|
-
*
|
|
3384
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
3385
|
-
*/
|
|
3386
|
-
redisConfig?: HealthCheckRedisConfig;
|
|
3387
|
-
/**
|
|
3388
|
-
* Object to configure an HTTP health check.
|
|
3389
|
-
*
|
|
3390
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
3391
|
-
*/
|
|
3392
|
-
httpConfig?: HealthCheckHttpConfig;
|
|
3393
|
-
/**
|
|
3394
|
-
* Object to configure an HTTPS health check.
|
|
3395
|
-
*
|
|
3396
|
-
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
3397
|
-
*/
|
|
3398
|
-
httpsConfig?: HealthCheckHttpsConfig;
|
|
3399
|
-
/**
|
|
3400
|
-
* Time to wait between two consecutive health checks when a backend server is in a transient state (going UP or DOWN).
|
|
3401
|
-
*/
|
|
3402
|
-
transientCheckDelay?: string;
|
|
3403
|
-
};
|
|
3404
|
-
export type ZonedApiUpdateIpRequest = {
|
|
3405
|
-
/**
|
|
3406
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
3407
|
-
*/
|
|
3408
|
-
zone?: ScwZone;
|
|
3409
|
-
/**
|
|
3410
|
-
* IP address ID.
|
|
3411
|
-
*/
|
|
3412
|
-
ipId: string;
|
|
3413
|
-
/**
|
|
3414
|
-
* Reverse DNS (domain name) for the IP address.
|
|
3415
|
-
*/
|
|
3416
|
-
reverse?: string;
|
|
3417
|
-
/**
|
|
3418
|
-
* ID of the server on which to attach the flexible IP.
|
|
3419
|
-
*/
|
|
3420
|
-
lbId?: string;
|
|
3421
|
-
/**
|
|
3422
|
-
* List of tags for the IP.
|
|
3423
|
-
*/
|
|
3424
|
-
tags?: string[];
|
|
3425
|
-
};
|
|
3426
|
-
export type ZonedApiUpdateLbRequest = {
|
|
3427
|
-
/**
|
|
3428
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
3429
|
-
*/
|
|
3430
|
-
zone?: ScwZone;
|
|
3431
|
-
/**
|
|
3432
|
-
* Load Balancer ID.
|
|
3433
|
-
*/
|
|
3434
|
-
lbId: string;
|
|
3435
|
-
/**
|
|
3436
|
-
* Load Balancer name.
|
|
3437
|
-
*/
|
|
3438
|
-
name: string;
|
|
3439
|
-
/**
|
|
3440
|
-
* Load Balancer description.
|
|
3441
|
-
*/
|
|
3442
|
-
description: string;
|
|
3443
|
-
/**
|
|
3444
|
-
* List of tags for the Load Balancer.
|
|
3445
|
-
*/
|
|
3446
|
-
tags?: string[];
|
|
3447
|
-
/**
|
|
3448
|
-
* Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems. Modern is suitable for services with clients that support TLS 1.3 and don't need backward compatibility. Old is compatible with a small number of very old clients and should be used only as a last resort.
|
|
3449
|
-
*/
|
|
3450
|
-
sslCompatibilityLevel?: SSLCompatibilityLevel;
|
|
3451
|
-
};
|
|
3452
|
-
export type ZonedApiUpdateRouteRequest = {
|
|
3453
|
-
/**
|
|
3454
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
3455
|
-
*/
|
|
3456
|
-
zone?: ScwZone;
|
|
3457
|
-
/**
|
|
3458
|
-
* Route ID.
|
|
3459
|
-
*/
|
|
3460
|
-
routeId: string;
|
|
3461
|
-
/**
|
|
3462
|
-
* ID of the target backend for the route.
|
|
3463
|
-
*/
|
|
3464
|
-
backendId: string;
|
|
3465
|
-
/**
|
|
3466
|
-
* Object defining the match condition for a route to be applied. If an incoming client session matches the specified condition (i.e. it has a matching SNI value or HTTP Host header value), it will be passed to the target backend.
|
|
3467
|
-
*/
|
|
3468
|
-
match?: RouteMatch;
|
|
3469
|
-
};
|
|
3470
|
-
export type ZonedApiUpdateSubscriberRequest = {
|
|
3471
|
-
/**
|
|
3472
|
-
* Zone to target. If none is passed will use default zone from the config.
|
|
3473
|
-
*/
|
|
3474
|
-
zone?: ScwZone;
|
|
3475
|
-
/**
|
|
3476
|
-
* Subscriber ID.
|
|
3477
|
-
*/
|
|
3478
|
-
subscriberId: string;
|
|
3479
|
-
/**
|
|
3480
|
-
* Subscriber name.
|
|
3481
|
-
*/
|
|
3482
|
-
name: string;
|
|
3483
|
-
/**
|
|
3484
|
-
* Email address configuration.
|
|
3485
|
-
*
|
|
3486
|
-
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
3487
|
-
*/
|
|
3488
|
-
emailConfig?: SubscriberEmailConfig;
|
|
3489
|
-
/**
|
|
3490
|
-
* Webhook URI configuration.
|
|
3491
|
-
*
|
|
3492
|
-
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
3493
|
-
*/
|
|
3494
|
-
webhookConfig?: SubscriberWebhookConfig;
|
|
3495
|
-
};
|