@scaleway/sdk 2.71.1 → 2.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/account/index.gen.d.ts +2 -2
- package/dist/api/account/v2/api.gen.cjs +5 -4
- package/dist/api/account/v2/api.gen.d.ts +1 -1
- package/dist/api/account/v2/api.gen.js +5 -4
- package/dist/api/account/v2/marshalling.gen.cjs +4 -3
- package/dist/api/account/v2/marshalling.gen.d.ts +1 -1
- package/dist/api/account/v2/marshalling.gen.js +4 -3
- package/dist/api/account/v3/api.gen.cjs +18 -36
- package/dist/api/account/v3/api.gen.d.ts +18 -37
- package/dist/api/account/v3/api.gen.js +18 -36
- package/dist/api/account/v3/index.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.cjs +4 -3
- package/dist/api/account/v3/marshalling.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.js +4 -3
- package/dist/api/account/v3/types.gen.d.ts +187 -85
- package/dist/api/applesilicon/index.gen.d.ts +2 -2
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +25 -51
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +26 -51
- package/dist/api/applesilicon/v1alpha1/api.gen.js +25 -51
- package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +311 -136
- package/dist/api/audit_trail/index.gen.d.ts +2 -2
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +6 -8
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +6 -10
- package/dist/api/audit_trail/v1alpha1/api.gen.js +6 -8
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +111 -83
- package/dist/api/baremetal/index.gen.d.ts +2 -2
- package/dist/api/baremetal/v1/api.gen.cjs +34 -66
- package/dist/api/baremetal/v1/api.gen.d.ts +31 -62
- package/dist/api/baremetal/v1/api.gen.js +34 -66
- package/dist/api/baremetal/v1/api.utils.cjs +3 -1
- package/dist/api/baremetal/v1/api.utils.d.ts +1 -1
- package/dist/api/baremetal/v1/api.utils.js +3 -1
- package/dist/api/baremetal/v1/index.gen.d.ts +1 -1
- package/dist/api/baremetal/v1/marshalling.gen.cjs +4 -3
- package/dist/api/baremetal/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/baremetal/v1/marshalling.gen.js +4 -3
- package/dist/api/baremetal/v1/types.gen.d.ts +866 -379
- package/dist/api/baremetal/v3/api.gen.cjs +12 -18
- package/dist/api/baremetal/v3/api.gen.d.ts +12 -17
- package/dist/api/baremetal/v3/api.gen.js +12 -18
- package/dist/api/baremetal/v3/marshalling.gen.cjs +4 -3
- package/dist/api/baremetal/v3/marshalling.gen.d.ts +1 -1
- package/dist/api/baremetal/v3/marshalling.gen.js +4 -3
- package/dist/api/baremetal/v3/types.gen.d.ts +83 -33
- package/dist/api/billing/index.gen.d.ts +2 -2
- package/dist/api/billing/v2alpha1/api.gen.cjs +5 -4
- package/dist/api/billing/v2alpha1/api.gen.d.ts +1 -1
- package/dist/api/billing/v2alpha1/api.gen.js +5 -4
- package/dist/api/billing/v2alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/billing/v2alpha1/marshalling.gen.js +4 -3
- package/dist/api/billing/v2alpha1/types.gen.d.ts +1 -1
- package/dist/api/billing/v2beta1/api.gen.cjs +16 -24
- package/dist/api/billing/v2beta1/api.gen.d.ts +10 -20
- package/dist/api/billing/v2beta1/api.gen.js +16 -24
- package/dist/api/billing/v2beta1/marshalling.gen.cjs +4 -3
- package/dist/api/billing/v2beta1/marshalling.gen.js +4 -3
- package/dist/api/billing/v2beta1/types.gen.d.ts +232 -103
- package/dist/api/block/index.gen.d.ts +2 -2
- package/dist/api/block/v1/api.gen.cjs +43 -60
- package/dist/api/block/v1/api.gen.d.ts +21 -39
- package/dist/api/block/v1/api.gen.js +43 -60
- package/dist/api/block/v1/marshalling.gen.cjs +4 -3
- package/dist/api/block/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/block/v1/marshalling.gen.js +4 -3
- package/dist/api/block/v1/types.gen.d.ts +307 -126
- package/dist/api/block/v1alpha1/api.gen.cjs +51 -69
- package/dist/api/block/v1alpha1/api.gen.d.ts +24 -43
- package/dist/api/block/v1alpha1/api.gen.js +51 -69
- package/dist/api/block/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/block/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/block/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/block/v1alpha1/types.gen.d.ts +328 -133
- package/dist/api/cockpit/index.gen.d.ts +2 -2
- package/dist/api/cockpit/v1/api.gen.cjs +105 -160
- package/dist/api/cockpit/v1/api.gen.d.ts +55 -114
- package/dist/api/cockpit/v1/api.gen.js +105 -160
- package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.cjs +4 -3
- package/dist/api/cockpit/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.js +4 -3
- package/dist/api/cockpit/v1/types.gen.d.ts +568 -247
- package/dist/api/cockpit/v1beta1/api.gen.cjs +6 -5
- package/dist/api/cockpit/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/cockpit/v1beta1/api.gen.js +6 -5
- package/dist/api/cockpit/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/cockpit/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/cockpit/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/cockpit/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/container/index.gen.d.ts +2 -2
- package/dist/api/container/v1beta1/api.gen.cjs +13 -19
- package/dist/api/container/v1beta1/api.gen.d.ts +11 -18
- package/dist/api/container/v1beta1/api.gen.js +13 -19
- package/dist/api/container/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/container/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/container/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/container/v1beta1/types.gen.d.ts +649 -323
- package/dist/api/dedibox/index.gen.d.ts +2 -2
- package/dist/api/dedibox/v1/api.gen.cjs +51 -74
- package/dist/api/dedibox/v1/api.gen.d.ts +54 -64
- package/dist/api/dedibox/v1/api.gen.js +51 -74
- package/dist/api/dedibox/v1/marshalling.gen.cjs +4 -3
- package/dist/api/dedibox/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/dedibox/v1/marshalling.gen.js +4 -3
- package/dist/api/dedibox/v1/types.gen.d.ts +1766 -646
- package/dist/api/document_db/index.gen.d.ts +2 -2
- package/dist/api/document_db/v1beta1/api.gen.cjs +6 -5
- package/dist/api/document_db/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/document_db/v1beta1/api.gen.js +6 -5
- package/dist/api/document_db/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/document_db/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/document_db/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/document_db/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/domain/index.gen.d.ts +2 -2
- package/dist/api/domain/v2beta1/api.gen.cjs +125 -183
- package/dist/api/domain/v2beta1/api.gen.d.ts +73 -132
- package/dist/api/domain/v2beta1/api.gen.js +125 -183
- package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
- package/dist/api/domain/v2beta1/index.gen.d.ts +1 -1
- package/dist/api/domain/v2beta1/marshalling.gen.cjs +4 -3
- package/dist/api/domain/v2beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/domain/v2beta1/marshalling.gen.js +4 -3
- package/dist/api/domain/v2beta1/types.gen.d.ts +412 -200
- package/dist/api/edge_services/index.gen.d.ts +2 -2
- package/dist/api/edge_services/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/edge_services/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/edge_services/v1alpha1/api.gen.js +6 -5
- package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/edge_services/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/api.gen.cjs +49 -136
- package/dist/api/edge_services/v1beta1/api.gen.d.ts +48 -134
- package/dist/api/edge_services/v1beta1/api.gen.js +49 -136
- package/dist/api/edge_services/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/edge_services/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/edge_services/v1beta1/types.gen.d.ts +584 -380
- package/dist/api/flexibleip/index.gen.d.ts +2 -2
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +16 -30
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +14 -30
- package/dist/api/flexibleip/v1alpha1/api.gen.js +16 -30
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +187 -79
- package/dist/api/function/index.gen.d.ts +2 -2
- package/dist/api/function/v1beta1/api.gen.cjs +20 -33
- package/dist/api/function/v1beta1/api.gen.d.ts +18 -32
- package/dist/api/function/v1beta1/api.gen.js +20 -33
- package/dist/api/function/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/function/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/function/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/function/v1beta1/types.gen.d.ts +617 -288
- package/dist/api/iam/index.gen.d.ts +2 -2
- package/dist/api/iam/v1alpha1/api.gen.cjs +49 -163
- package/dist/api/iam/v1alpha1/api.gen.d.ts +47 -163
- package/dist/api/iam/v1alpha1/api.gen.js +49 -163
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/iam/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/iam/v1alpha1/types.gen.d.ts +979 -372
- package/dist/api/index.gen.d.ts +2 -2
- package/dist/api/inference/index.gen.d.ts +2 -2
- package/dist/api/inference/v1/api.gen.cjs +14 -16
- package/dist/api/inference/v1/api.gen.d.ts +8 -11
- package/dist/api/inference/v1/api.gen.js +14 -16
- package/dist/api/inference/v1/marshalling.gen.cjs +4 -3
- package/dist/api/inference/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/inference/v1/marshalling.gen.js +4 -3
- package/dist/api/inference/v1/types.gen.d.ts +331 -151
- package/dist/api/inference/v1beta1/api.gen.cjs +14 -16
- package/dist/api/inference/v1beta1/api.gen.d.ts +8 -11
- package/dist/api/inference/v1beta1/api.gen.js +14 -16
- package/dist/api/inference/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/inference/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/inference/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/inference/v1beta1/types.gen.d.ts +342 -155
- package/dist/api/instance/index.gen.d.ts +2 -2
- package/dist/api/instance/v1/api.gen.cjs +69 -117
- package/dist/api/instance/v1/api.gen.d.ts +56 -105
- package/dist/api/instance/v1/api.gen.js +69 -117
- package/dist/api/instance/v1/api.utils.cjs +4 -3
- package/dist/api/instance/v1/api.utils.d.ts +1 -1
- package/dist/api/instance/v1/api.utils.js +4 -3
- package/dist/api/instance/v1/marshalling.gen.cjs +4 -3
- package/dist/api/instance/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/instance/v1/marshalling.gen.js +4 -3
- package/dist/api/instance/v1/marshalling.utils.d.ts +1 -1
- package/dist/api/instance/v1/types.gen.d.ts +1352 -599
- package/dist/api/instance/v1/types.private.gen.d.ts +132 -60
- package/dist/api/instance/v1/types.utils.d.ts +1 -1
- package/dist/api/interlink/index.gen.d.ts +2 -2
- package/dist/api/interlink/v1beta1/api.gen.cjs +107 -63
- package/dist/api/interlink/v1beta1/api.gen.d.ts +58 -65
- package/dist/api/interlink/v1beta1/api.gen.js +108 -64
- package/dist/api/interlink/v1beta1/content.gen.cjs +6 -0
- package/dist/api/interlink/v1beta1/content.gen.d.ts +5 -0
- package/dist/api/interlink/v1beta1/content.gen.js +6 -0
- package/dist/api/interlink/v1beta1/index.gen.cjs +3 -0
- package/dist/api/interlink/v1beta1/index.gen.d.ts +2 -1
- package/dist/api/interlink/v1beta1/index.gen.js +3 -0
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +84 -8
- package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +4 -2
- package/dist/api/interlink/v1beta1/marshalling.gen.js +84 -8
- package/dist/api/interlink/v1beta1/types.gen.d.ts +545 -195
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +25 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +23 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +25 -0
- package/dist/api/iot/index.gen.d.ts +2 -2
- package/dist/api/iot/v1/api.gen.cjs +43 -75
- package/dist/api/iot/v1/api.gen.d.ts +36 -69
- package/dist/api/iot/v1/api.gen.js +43 -75
- package/dist/api/iot/v1/marshalling.gen.cjs +4 -3
- package/dist/api/iot/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/iot/v1/marshalling.gen.js +4 -3
- package/dist/api/iot/v1/types.gen.d.ts +567 -322
- package/dist/api/ipam/index.gen.d.ts +2 -2
- package/dist/api/ipam/v1/api.gen.cjs +11 -30
- package/dist/api/ipam/v1/api.gen.d.ts +10 -31
- package/dist/api/ipam/v1/api.gen.js +11 -30
- package/dist/api/ipam/v1/marshalling.gen.cjs +4 -3
- package/dist/api/ipam/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/ipam/v1/marshalling.gen.js +4 -3
- package/dist/api/ipam/v1/types.gen.d.ts +147 -106
- package/dist/api/ipfs/index.gen.d.ts +2 -2
- package/dist/api/ipfs/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/ipfs/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/ipfs/v1alpha1/api.gen.js +6 -5
- package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/ipfs/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/ipfs/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/jobs/index.gen.d.ts +2 -2
- package/dist/api/jobs/v1alpha1/api.gen.cjs +7 -8
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +6 -8
- package/dist/api/jobs/v1alpha1/api.gen.js +7 -8
- package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +166 -92
- package/dist/api/k8s/index.gen.d.ts +2 -2
- package/dist/api/k8s/v1/api.gen.cjs +39 -83
- package/dist/api/k8s/v1/api.gen.d.ts +29 -74
- package/dist/api/k8s/v1/api.gen.js +39 -83
- package/dist/api/k8s/v1/marshalling.gen.cjs +4 -3
- package/dist/api/k8s/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/k8s/v1/marshalling.gen.js +4 -3
- package/dist/api/k8s/v1/types.gen.d.ts +744 -507
- package/dist/api/key_manager/index.gen.d.ts +2 -2
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +26 -61
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +21 -58
- package/dist/api/key_manager/v1alpha1/api.gen.js +26 -61
- package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/key_manager/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/key_manager/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +197 -115
- package/dist/api/lb/index.gen.d.ts +2 -2
- package/dist/api/lb/v1/api.gen.cjs +68 -178
- package/dist/api/lb/v1/api.gen.d.ts +60 -176
- package/dist/api/lb/v1/api.gen.js +69 -179
- package/dist/api/lb/v1/api.utils.cjs +3 -1
- package/dist/api/lb/v1/api.utils.d.ts +1 -1
- package/dist/api/lb/v1/api.utils.js +3 -1
- package/dist/api/lb/v1/index.gen.d.ts +1 -1
- package/dist/api/lb/v1/marshalling.gen.cjs +9 -3
- package/dist/api/lb/v1/marshalling.gen.d.ts +3 -2
- package/dist/api/lb/v1/marshalling.gen.js +9 -3
- package/dist/api/lb/v1/types.gen.d.ts +1835 -1117
- package/dist/api/lb/v1/types.utils.d.ts +1 -1
- package/dist/api/llm_inference/index.gen.d.ts +2 -2
- package/dist/api/llm_inference/v1beta1/api.gen.cjs +6 -5
- package/dist/api/llm_inference/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/llm_inference/v1beta1/api.gen.js +6 -5
- package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/llm_inference/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/llm_inference/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/marketplace/index.gen.d.ts +2 -2
- package/dist/api/marketplace/v2/api.gen.cjs +13 -25
- package/dist/api/marketplace/v2/api.gen.d.ts +11 -25
- package/dist/api/marketplace/v2/api.gen.js +13 -25
- package/dist/api/marketplace/v2/marshalling.gen.cjs +4 -3
- package/dist/api/marketplace/v2/marshalling.gen.js +4 -3
- package/dist/api/marketplace/v2/types.gen.d.ts +95 -42
- package/dist/api/mnq/index.gen.d.ts +2 -2
- package/dist/api/mnq/v1beta1/api.gen.cjs +29 -80
- package/dist/api/mnq/v1beta1/api.gen.d.ts +32 -84
- package/dist/api/mnq/v1beta1/api.gen.js +29 -80
- package/dist/api/mnq/v1beta1/index.gen.d.ts +1 -1
- package/dist/api/mnq/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/mnq/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/mnq/v1beta1/types.gen.d.ts +343 -170
- package/dist/api/mongodb/index.gen.d.ts +2 -2
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +25 -67
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +23 -66
- package/dist/api/mongodb/v1alpha1/api.gen.js +25 -67
- package/dist/api/mongodb/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/mongodb/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/mongodb/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +444 -190
- package/dist/api/qaas/index.gen.d.ts +2 -2
- package/dist/api/qaas/v1alpha1/api.gen.cjs +23 -39
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +21 -38
- package/dist/api/qaas/v1alpha1/api.gen.js +23 -39
- package/dist/api/qaas/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/qaas/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/qaas/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/qaas/v1alpha1/types.gen.d.ts +503 -175
- package/dist/api/rdb/index.gen.d.ts +2 -2
- package/dist/api/rdb/v1/api.gen.cjs +68 -207
- package/dist/api/rdb/v1/api.gen.d.ts +62 -203
- package/dist/api/rdb/v1/api.gen.js +68 -207
- package/dist/api/rdb/v1/marshalling.gen.cjs +4 -3
- package/dist/api/rdb/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/rdb/v1/marshalling.gen.js +4 -3
- package/dist/api/rdb/v1/types.gen.d.ts +1006 -525
- package/dist/api/redis/index.gen.d.ts +2 -2
- package/dist/api/redis/v1/api.gen.cjs +29 -88
- package/dist/api/redis/v1/api.gen.d.ts +27 -87
- package/dist/api/redis/v1/api.gen.js +29 -88
- package/dist/api/redis/v1/marshalling.gen.cjs +4 -3
- package/dist/api/redis/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/redis/v1/marshalling.gen.js +4 -3
- package/dist/api/redis/v1/types.gen.d.ts +448 -171
- package/dist/api/registry/index.gen.d.ts +2 -2
- package/dist/api/registry/v1/api.gen.cjs +18 -45
- package/dist/api/registry/v1/api.gen.d.ts +16 -44
- package/dist/api/registry/v1/api.gen.js +18 -45
- package/dist/api/registry/v1/marshalling.gen.cjs +4 -3
- package/dist/api/registry/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/registry/v1/marshalling.gen.js +4 -3
- package/dist/api/registry/v1/types.gen.d.ts +201 -117
- package/dist/api/secret/index.gen.d.ts +2 -2
- package/dist/api/secret/v1alpha1/api.gen.cjs +5 -4
- package/dist/api/secret/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/secret/v1alpha1/api.gen.js +5 -4
- package/dist/api/secret/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/secret/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/secret/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/api.gen.cjs +24 -51
- package/dist/api/secret/v1beta1/api.gen.d.ts +23 -53
- package/dist/api/secret/v1beta1/api.gen.js +24 -51
- package/dist/api/secret/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/secret/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/secret/v1beta1/types.gen.d.ts +360 -225
- package/dist/api/serverless_sqldb/index.gen.d.ts +2 -2
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +15 -32
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +13 -31
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +15 -32
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +169 -77
- package/dist/api/tem/index.gen.d.ts +2 -2
- package/dist/api/tem/v1alpha1/api.gen.cjs +28 -63
- package/dist/api/tem/v1alpha1/api.gen.d.ts +26 -62
- package/dist/api/tem/v1alpha1/api.gen.js +28 -63
- package/dist/api/tem/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/tem/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/tem/v1alpha1/types.gen.d.ts +762 -339
- package/dist/api/test/index.gen.d.ts +2 -2
- package/dist/api/test/v1/api.gen.cjs +14 -16
- package/dist/api/test/v1/api.gen.d.ts +8 -11
- package/dist/api/test/v1/api.gen.js +14 -16
- package/dist/api/test/v1/marshalling.gen.cjs +4 -3
- package/dist/api/test/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/test/v1/marshalling.gen.js +4 -3
- package/dist/api/test/v1/types.gen.d.ts +21 -10
- package/dist/api/vpc/index.gen.d.ts +2 -2
- package/dist/api/vpc/v1/api.gen.cjs +5 -4
- package/dist/api/vpc/v1/api.gen.d.ts +2 -2
- package/dist/api/vpc/v1/api.gen.js +5 -4
- package/dist/api/vpc/v1/marshalling.gen.cjs +4 -3
- package/dist/api/vpc/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/vpc/v1/marshalling.gen.js +4 -3
- package/dist/api/vpc/v1/types.gen.d.ts +1 -1
- package/dist/api/vpc/v2/api.gen.cjs +18 -53
- package/dist/api/vpc/v2/api.gen.d.ts +18 -45
- package/dist/api/vpc/v2/api.gen.js +19 -54
- package/dist/api/vpc/v2/index.gen.d.ts +1 -1
- package/dist/api/vpc/v2/marshalling.gen.cjs +4 -18
- package/dist/api/vpc/v2/marshalling.gen.d.ts +2 -4
- package/dist/api/vpc/v2/marshalling.gen.js +4 -18
- package/dist/api/vpc/v2/types.gen.d.ts +333 -200
- package/dist/api/vpcgw/index.gen.d.ts +2 -2
- package/dist/api/vpcgw/v1/api.gen.cjs +42 -140
- package/dist/api/vpcgw/v1/api.gen.d.ts +40 -139
- package/dist/api/vpcgw/v1/api.gen.js +42 -140
- package/dist/api/vpcgw/v1/marshalling.gen.cjs +4 -3
- package/dist/api/vpcgw/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/vpcgw/v1/marshalling.gen.js +4 -3
- package/dist/api/vpcgw/v1/types.gen.d.ts +784 -366
- package/dist/api/vpcgw/v2/api.gen.cjs +33 -93
- package/dist/api/vpcgw/v2/api.gen.d.ts +31 -92
- package/dist/api/vpcgw/v2/api.gen.js +33 -93
- package/dist/api/vpcgw/v2/marshalling.gen.cjs +4 -3
- package/dist/api/vpcgw/v2/marshalling.gen.d.ts +1 -1
- package/dist/api/vpcgw/v2/marshalling.gen.js +4 -3
- package/dist/api/vpcgw/v2/types.gen.d.ts +546 -197
- package/dist/api/webhosting/index.gen.d.ts +2 -2
- package/dist/api/webhosting/v1/api.gen.cjs +28 -55
- package/dist/api/webhosting/v1/api.gen.d.ts +40 -71
- package/dist/api/webhosting/v1/api.gen.js +28 -55
- package/dist/api/webhosting/v1/marshalling.gen.cjs +4 -3
- package/dist/api/webhosting/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/webhosting/v1/marshalling.gen.js +4 -3
- package/dist/api/webhosting/v1/types.gen.d.ts +700 -351
- package/dist/client/dist/helpers/is-browser.cjs +4 -0
- package/dist/client/dist/helpers/is-browser.js +4 -0
- package/dist/{package.json.cjs → client/dist/package.json.cjs} +7 -16
- package/dist/{package.json.js → client/dist/package.json.js} +7 -16
- package/dist/client/dist/scw/constants.cjs +7 -0
- package/dist/{vendor → client/dist/vendor}/base64/index.cjs +8 -4
- package/dist/{vendor → client/dist/vendor}/base64/index.js +8 -4
- package/dist/index.cjs +16 -16
- package/dist/index.d.ts +1 -15
- package/dist/index.js +13 -13
- package/node_modules/@scaleway/sdk-client/README.md +36 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.cjs +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.js +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.cjs +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.js +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.cjs +7 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/json.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.js +7 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.cjs +76 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.js +76 -0
- package/node_modules/@scaleway/sdk-client/dist/index.cjs +52 -0
- package/node_modules/@scaleway/sdk-client/dist/index.d.ts +15 -0
- package/node_modules/@scaleway/sdk-client/dist/index.js +52 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.cjs +53 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/interval-retrier.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.js +53 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.cjs +6 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.js +6 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.cjs +25 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.js +25 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.cjs +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.js +12 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/types.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.cjs +24 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.js +24 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.cjs +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.js +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.cjs +13 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.js +13 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.cjs +30 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.js +30 -0
- package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +67 -0
- package/node_modules/@scaleway/sdk-client/dist/package.json.js +67 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/api.cjs +8 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/api.js +8 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.cjs +26 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.js +26 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.cjs +66 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.js +66 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.cjs +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.js +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.cjs +51 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.js +51 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client.cjs +31 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/client.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.js +7 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.cjs +126 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.js +126 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.cjs +11 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.js +11 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.cjs +76 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.js +76 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.js +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.js +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.cjs +37 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.js +37 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.cjs +28 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.js +28 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.cjs +54 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/invalid-arguments-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.js +54 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.cjs +17 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.js +17 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.cjs +29 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/permissions-denied-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.js +29 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.cjs +32 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.js +32 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.cjs +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.js +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.cjs +24 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.js +24 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.cjs +58 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/too-many-requests-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.js +58 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.cjs +15 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.js +15 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.cjs +60 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.js +60 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.cjs +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.js +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.cjs +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.js +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.cjs +55 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.js +55 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/types.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.cjs +46 -0
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.js +46 -0
- package/node_modules/@scaleway/sdk-client/package.json +36 -0
- package/package.json +6 -4
- package/dist/helpers/is-browser.cjs +0 -7
- package/dist/helpers/is-browser.js +0 -7
- /package/dist/{helpers → client/dist/helpers}/is-response.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/is-response.js +0 -0
- /package/dist/{helpers → client/dist/helpers}/json.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/json.js +0 -0
- /package/dist/{helpers → client/dist/helpers}/marshalling.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/marshalling.js +0 -0
- /package/dist/{internal → client/dist/internal}/async/interval-retrier.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/async/interval-retrier.js +0 -0
- /package/dist/{internal → client/dist/internal}/async/sleep.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/async/sleep.js +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/composer.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/composer.js +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/helpers.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/helpers.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/console-logger.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/console-logger.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/index.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/index.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/level-resolver.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/level-resolver.js +0 -0
- /package/dist/{internal → client/dist/internal}/validations/string-validation.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/validations/string-validation.js +0 -0
- /package/dist/{scw → client/dist/scw}/api.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/api.js +0 -0
- /package/dist/{scw → client/dist/scw}/auth.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/auth.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-factory.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-factory.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-profile.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-profile.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-settings.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-settings.js +0 -0
- /package/dist/{scw → client/dist/scw}/client.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client.js +0 -0
- /package/dist/{scw → client/dist/scw}/constants.js +0 -0
- /package/dist/{scw → client/dist/scw}/custom-marshalling.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/custom-marshalling.js +0 -0
- /package/dist/{scw → client/dist/scw}/custom-types.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/custom-types.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/error-parser.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/error-parser.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/scw-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/scw-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/index.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/index.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/types.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/types.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-dumper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-dumper.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/response-parser.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/response-parser.js +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/bridge.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-browser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-response.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/marshalling.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/sleep.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/composer.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/helpers.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/console-logger.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/index.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/level-resolver.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/logger.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/validations/string-validation.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internals.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/api.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/auth.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-factory.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-profile.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-settings.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.cjs +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-marshalling.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-types.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/error-parser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/invalid-request-mapper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/unknown-resource-mapper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error-from-json.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/already-exists-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/denied-authentication-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/index.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/out-of-stock-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/precondition-failed-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/quotas-exceeded-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-expired-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-locked-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-not-found-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/transient-state-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/types.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/build-fetcher.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-dumper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-interceptors.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/resource-paginator.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/response-parser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/locality.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Money, Zone as ScwZone } from '
|
|
1
|
+
import type { Money, Zone as ScwZone } from '@scaleway/sdk-client';
|
|
2
2
|
export type AttachFailoverIPToMacAddressRequestMacType = 'mac_type_unknown' | 'vmware' | 'kvm' | 'xen';
|
|
3
3
|
export type BMCAccessStatus = 'unknown' | 'creating' | 'created' | 'deleting';
|
|
4
4
|
export type BackupStatus = 'unknown_backup_status' | 'uninitialized' | 'inactive' | 'ready';
|
|
@@ -80,11 +80,17 @@ export interface OfferRPNInfo {
|
|
|
80
80
|
speed: number;
|
|
81
81
|
}
|
|
82
82
|
export interface OfferSANInfo {
|
|
83
|
-
/**
|
|
83
|
+
/**
|
|
84
|
+
* SAN size (in bytes).
|
|
85
|
+
*/
|
|
84
86
|
size: number;
|
|
85
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* High availabilty offer.
|
|
89
|
+
*/
|
|
86
90
|
ha: boolean;
|
|
87
|
-
/**
|
|
91
|
+
/**
|
|
92
|
+
* Type of SAN device (hdd / ssd).
|
|
93
|
+
*/
|
|
88
94
|
deviceType: OfferSANInfoType;
|
|
89
95
|
}
|
|
90
96
|
export interface OfferStorageInfo {
|
|
@@ -92,205 +98,243 @@ export interface OfferStorageInfo {
|
|
|
92
98
|
size: number;
|
|
93
99
|
}
|
|
94
100
|
export interface IP {
|
|
95
|
-
/**
|
|
101
|
+
/**
|
|
102
|
+
* ID of the IP.
|
|
103
|
+
*/
|
|
96
104
|
ipId: number;
|
|
97
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Address of the IP.
|
|
107
|
+
*/
|
|
98
108
|
address: string;
|
|
99
|
-
/**
|
|
109
|
+
/**
|
|
110
|
+
* Reverse IP value.
|
|
111
|
+
*/
|
|
100
112
|
reverse: string;
|
|
101
|
-
/**
|
|
113
|
+
/**
|
|
114
|
+
* Version of IP (v4 or v6).
|
|
115
|
+
*/
|
|
102
116
|
version: IPVersion;
|
|
103
|
-
/**
|
|
117
|
+
/**
|
|
118
|
+
* Classless InterDomain Routing notation of the IP.
|
|
119
|
+
*/
|
|
104
120
|
cidr: number;
|
|
105
|
-
/**
|
|
121
|
+
/**
|
|
122
|
+
* Network mask of IP.
|
|
123
|
+
*/
|
|
106
124
|
netmask: string;
|
|
107
|
-
/**
|
|
125
|
+
/**
|
|
126
|
+
* Semantic of IP.
|
|
127
|
+
*/
|
|
108
128
|
semantic: IPSemantic;
|
|
109
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Gateway of IP.
|
|
131
|
+
*/
|
|
110
132
|
gateway: string;
|
|
111
|
-
/**
|
|
133
|
+
/**
|
|
134
|
+
* Status of the IP.
|
|
135
|
+
*/
|
|
112
136
|
status: IPStatus;
|
|
113
137
|
}
|
|
114
138
|
export interface Offer {
|
|
115
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* ID of the offer.
|
|
141
|
+
*/
|
|
116
142
|
id: number;
|
|
117
|
-
/**
|
|
143
|
+
/**
|
|
144
|
+
* Name of the offer.
|
|
145
|
+
*/
|
|
118
146
|
name: string;
|
|
119
|
-
/**
|
|
147
|
+
/**
|
|
148
|
+
* Catalog of the offer.
|
|
149
|
+
*/
|
|
120
150
|
catalog: OfferCatalog;
|
|
121
|
-
/**
|
|
151
|
+
/**
|
|
152
|
+
* Payment frequency of the offer.
|
|
153
|
+
*/
|
|
122
154
|
paymentFrequency: OfferPaymentFrequency;
|
|
123
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* Price of the offer.
|
|
157
|
+
*/
|
|
124
158
|
pricing?: Money;
|
|
125
159
|
/**
|
|
126
160
|
* Server info if it is a server offer.
|
|
127
161
|
*
|
|
128
|
-
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo',
|
|
129
|
-
* 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo',
|
|
130
|
-
* 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo',
|
|
131
|
-
* 'bandwidthInfo' could be set.
|
|
162
|
+
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set.
|
|
132
163
|
*/
|
|
133
164
|
serverInfo?: OfferServerInfo;
|
|
134
165
|
/**
|
|
135
166
|
* Service level info if it is a service level offer.
|
|
136
167
|
*
|
|
137
|
-
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo',
|
|
138
|
-
* 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo',
|
|
139
|
-
* 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo',
|
|
140
|
-
* 'bandwidthInfo' could be set.
|
|
168
|
+
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set.
|
|
141
169
|
*/
|
|
142
170
|
serviceLevelInfo?: OfferServiceLevelInfo;
|
|
143
171
|
/**
|
|
144
172
|
* RPN info if it is a RPN offer.
|
|
145
173
|
*
|
|
146
|
-
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo',
|
|
147
|
-
* 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo',
|
|
148
|
-
* 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo',
|
|
149
|
-
* 'bandwidthInfo' could be set.
|
|
174
|
+
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set.
|
|
150
175
|
*/
|
|
151
176
|
rpnInfo?: OfferRPNInfo;
|
|
152
177
|
/**
|
|
153
178
|
* SAN info if it is a SAN offer.
|
|
154
179
|
*
|
|
155
|
-
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo',
|
|
156
|
-
* 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo',
|
|
157
|
-
* 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo',
|
|
158
|
-
* 'bandwidthInfo' could be set.
|
|
180
|
+
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set.
|
|
159
181
|
*/
|
|
160
182
|
sanInfo?: OfferSANInfo;
|
|
161
183
|
/**
|
|
162
184
|
* AntiDOS info if it is a antiDOS offer.
|
|
163
185
|
*
|
|
164
|
-
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo',
|
|
165
|
-
* 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo',
|
|
166
|
-
* 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo',
|
|
167
|
-
* 'bandwidthInfo' could be set.
|
|
186
|
+
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set.
|
|
168
187
|
*/
|
|
169
188
|
antidosInfo?: OfferAntiDosInfo;
|
|
170
189
|
/**
|
|
171
190
|
* Backup info if it is a backup offer.
|
|
172
191
|
*
|
|
173
|
-
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo',
|
|
174
|
-
* 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo',
|
|
175
|
-
* 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo',
|
|
176
|
-
* 'bandwidthInfo' could be set.
|
|
192
|
+
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set.
|
|
177
193
|
*/
|
|
178
194
|
backupInfo?: OfferBackupInfo;
|
|
179
195
|
/**
|
|
180
196
|
* USB storage info if it is a USB storage offer.
|
|
181
197
|
*
|
|
182
|
-
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo',
|
|
183
|
-
* 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo',
|
|
184
|
-
* 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo',
|
|
185
|
-
* 'bandwidthInfo' could be set.
|
|
198
|
+
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set.
|
|
186
199
|
*/
|
|
187
200
|
usbStorageInfo?: OfferStorageInfo;
|
|
188
201
|
/**
|
|
189
202
|
* Storage info if it is a storage offer.
|
|
190
203
|
*
|
|
191
|
-
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo',
|
|
192
|
-
* 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo',
|
|
193
|
-
* 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo',
|
|
194
|
-
* 'bandwidthInfo' could be set.
|
|
204
|
+
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set.
|
|
195
205
|
*/
|
|
196
206
|
storageInfo?: OfferStorageInfo;
|
|
197
207
|
/**
|
|
198
208
|
* License info if it is a license offer.
|
|
199
209
|
*
|
|
200
|
-
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo',
|
|
201
|
-
* 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo',
|
|
202
|
-
* 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo',
|
|
203
|
-
* 'bandwidthInfo' could be set.
|
|
210
|
+
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set.
|
|
204
211
|
*/
|
|
205
212
|
licenseInfo?: OfferLicenseInfo;
|
|
206
213
|
/**
|
|
207
214
|
* Failover IP info if it is a failover IP offer.
|
|
208
215
|
*
|
|
209
|
-
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo',
|
|
210
|
-
* 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo',
|
|
211
|
-
* 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo',
|
|
212
|
-
* 'bandwidthInfo' could be set.
|
|
216
|
+
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set.
|
|
213
217
|
*/
|
|
214
218
|
failoverIpInfo?: OfferFailoverIpInfo;
|
|
215
219
|
/**
|
|
216
220
|
* Failover block info if it is a failover block offer.
|
|
217
221
|
*
|
|
218
|
-
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo',
|
|
219
|
-
* 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo',
|
|
220
|
-
* 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo',
|
|
221
|
-
* 'bandwidthInfo' could be set.
|
|
222
|
+
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set.
|
|
222
223
|
*/
|
|
223
224
|
failoverBlockInfo?: OfferFailoverBlockInfo;
|
|
224
225
|
/**
|
|
225
226
|
* Bandwidth info if it is a bandwidth offer.
|
|
226
227
|
*
|
|
227
|
-
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo',
|
|
228
|
-
* 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo',
|
|
229
|
-
* 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo',
|
|
230
|
-
* 'bandwidthInfo' could be set.
|
|
228
|
+
* One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set.
|
|
231
229
|
*/
|
|
232
230
|
bandwidthInfo?: OfferBandwidthInfo;
|
|
233
231
|
}
|
|
234
232
|
export interface NetworkInterface {
|
|
235
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* Card ID of the network interface.
|
|
235
|
+
*/
|
|
236
236
|
cardId: number;
|
|
237
|
-
/**
|
|
237
|
+
/**
|
|
238
|
+
* Device ID of the network interface.
|
|
239
|
+
*/
|
|
238
240
|
deviceId: number;
|
|
239
|
-
/**
|
|
241
|
+
/**
|
|
242
|
+
* MAC address of the network interface.
|
|
243
|
+
*/
|
|
240
244
|
mac: string;
|
|
241
|
-
/**
|
|
245
|
+
/**
|
|
246
|
+
* Network interface type.
|
|
247
|
+
*/
|
|
242
248
|
type: NetworkInterfaceInterfaceType;
|
|
243
|
-
/**
|
|
249
|
+
/**
|
|
250
|
+
* IPs of the network interface.
|
|
251
|
+
*/
|
|
244
252
|
ips: IP[];
|
|
245
253
|
}
|
|
246
254
|
export interface OS {
|
|
247
|
-
/**
|
|
255
|
+
/**
|
|
256
|
+
* ID of the OS.
|
|
257
|
+
*/
|
|
248
258
|
id: number;
|
|
249
|
-
/**
|
|
259
|
+
/**
|
|
260
|
+
* Name of the OS.
|
|
261
|
+
*/
|
|
250
262
|
name: string;
|
|
251
|
-
/**
|
|
263
|
+
/**
|
|
264
|
+
* Type of the OS.
|
|
265
|
+
*/
|
|
252
266
|
type: OSType;
|
|
253
|
-
/**
|
|
267
|
+
/**
|
|
268
|
+
* Version of the OS.
|
|
269
|
+
*/
|
|
254
270
|
version: string;
|
|
255
|
-
/**
|
|
271
|
+
/**
|
|
272
|
+
* Architecture of the OS.
|
|
273
|
+
*/
|
|
256
274
|
arch: OSArch;
|
|
257
|
-
/**
|
|
275
|
+
/**
|
|
276
|
+
* True if the OS allow custom partitioning.
|
|
277
|
+
*/
|
|
258
278
|
allowCustomPartitioning: boolean;
|
|
259
|
-
/**
|
|
279
|
+
/**
|
|
280
|
+
* True if the OS allow SSH Keys.
|
|
281
|
+
*/
|
|
260
282
|
allowSshKeys: boolean;
|
|
261
|
-
/**
|
|
283
|
+
/**
|
|
284
|
+
* True if the OS requires user.
|
|
285
|
+
*/
|
|
262
286
|
requiresUser: boolean;
|
|
263
|
-
/**
|
|
287
|
+
/**
|
|
288
|
+
* True if the OS requires admin password.
|
|
289
|
+
*/
|
|
264
290
|
requiresAdminPassword: boolean;
|
|
265
|
-
/**
|
|
291
|
+
/**
|
|
292
|
+
* True if the OS requires panel password.
|
|
293
|
+
*/
|
|
266
294
|
requiresPanelPassword: boolean;
|
|
267
|
-
/**
|
|
295
|
+
/**
|
|
296
|
+
* True if the OS allow file systems.
|
|
297
|
+
*/
|
|
268
298
|
allowedFilesystems: PartitionFileSystem[];
|
|
269
|
-
/**
|
|
299
|
+
/**
|
|
300
|
+
* True if the OS requires license.
|
|
301
|
+
*/
|
|
270
302
|
requiresLicense: boolean;
|
|
271
|
-
/**
|
|
303
|
+
/**
|
|
304
|
+
* License offers available with the OS.
|
|
305
|
+
*/
|
|
272
306
|
licenseOffers: Offer[];
|
|
273
|
-
/**
|
|
307
|
+
/**
|
|
308
|
+
* Maximum number of partitions which can be created.
|
|
309
|
+
*/
|
|
274
310
|
maxPartitions?: number;
|
|
275
|
-
/**
|
|
311
|
+
/**
|
|
312
|
+
* Display name of the OS.
|
|
313
|
+
*/
|
|
276
314
|
displayName: string;
|
|
277
|
-
/**
|
|
315
|
+
/**
|
|
316
|
+
* Regex used to validate the installation passwords.
|
|
317
|
+
*/
|
|
278
318
|
passwordRegex: string;
|
|
279
|
-
/**
|
|
319
|
+
/**
|
|
320
|
+
* Regex used to validate the panel installation password.
|
|
321
|
+
*/
|
|
280
322
|
panelPasswordRegex?: string;
|
|
281
323
|
/**
|
|
282
|
-
* If both requires_valid_hostname & hostname_regex are set, it means that at
|
|
283
|
-
* least one of the criterias must be valid.
|
|
324
|
+
* If both requires_valid_hostname & hostname_regex are set, it means that at least one of the criterias must be valid.
|
|
284
325
|
*/
|
|
285
326
|
requiresValidHostname?: boolean;
|
|
286
327
|
/**
|
|
287
|
-
* If both requires_valid_hostname & hostname_regex are set, it means that at
|
|
288
|
-
* least one of the criterias must be valid.
|
|
328
|
+
* If both requires_valid_hostname & hostname_regex are set, it means that at least one of the criterias must be valid.
|
|
289
329
|
*/
|
|
290
330
|
hostnameRegex?: string;
|
|
291
|
-
/**
|
|
331
|
+
/**
|
|
332
|
+
* Hostname max length.
|
|
333
|
+
*/
|
|
292
334
|
hostnameMaxLength: number;
|
|
293
|
-
/**
|
|
335
|
+
/**
|
|
336
|
+
* OS release date.
|
|
337
|
+
*/
|
|
294
338
|
releasedAt?: Date;
|
|
295
339
|
}
|
|
296
340
|
export interface ServerLocation {
|
|
@@ -306,68 +350,119 @@ export interface ServerOption {
|
|
|
306
350
|
options: ServerOption[];
|
|
307
351
|
}
|
|
308
352
|
export interface ServiceLevel {
|
|
309
|
-
/**
|
|
353
|
+
/**
|
|
354
|
+
* Offer ID of service level.
|
|
355
|
+
*/
|
|
310
356
|
offerId: number;
|
|
311
|
-
/**
|
|
357
|
+
/**
|
|
358
|
+
* Level type of service level.
|
|
359
|
+
*/
|
|
312
360
|
level: ServiceLevelLevel;
|
|
313
361
|
}
|
|
314
362
|
export interface RpnSan {
|
|
315
|
-
/**
|
|
363
|
+
/**
|
|
364
|
+
* RPN SAN ID.
|
|
365
|
+
*/
|
|
316
366
|
id: number;
|
|
317
|
-
/**
|
|
367
|
+
/**
|
|
368
|
+
* Datacenter location.
|
|
369
|
+
*/
|
|
318
370
|
datacenterName: string;
|
|
319
|
-
/**
|
|
371
|
+
/**
|
|
372
|
+
* Organization ID.
|
|
373
|
+
*/
|
|
320
374
|
organizationId: string;
|
|
321
|
-
/**
|
|
375
|
+
/**
|
|
376
|
+
* Project ID.
|
|
377
|
+
*/
|
|
322
378
|
projectId: string;
|
|
323
|
-
/**
|
|
379
|
+
/**
|
|
380
|
+
* RPN SAN server hostname.
|
|
381
|
+
*/
|
|
324
382
|
serverHostname: string;
|
|
325
|
-
/**
|
|
383
|
+
/**
|
|
384
|
+
* IQN suffix.
|
|
385
|
+
*/
|
|
326
386
|
iqnSuffix: string;
|
|
327
|
-
/**
|
|
387
|
+
/**
|
|
388
|
+
* Date of creation of the RPN SAN.
|
|
389
|
+
*/
|
|
328
390
|
createdAt?: Date;
|
|
329
|
-
/**
|
|
391
|
+
/**
|
|
392
|
+
* Offer ID.
|
|
393
|
+
*/
|
|
330
394
|
offerId: number;
|
|
331
|
-
/**
|
|
395
|
+
/**
|
|
396
|
+
* Offer description.
|
|
397
|
+
*/
|
|
332
398
|
offerName: string;
|
|
333
|
-
/**
|
|
399
|
+
/**
|
|
400
|
+
* Status.
|
|
401
|
+
*/
|
|
334
402
|
status: RpnSanStatus;
|
|
335
|
-
/**
|
|
403
|
+
/**
|
|
404
|
+
* RPN SAN storage size.
|
|
405
|
+
*/
|
|
336
406
|
storageSize: number;
|
|
337
407
|
iqn: string;
|
|
338
408
|
offer?: Offer;
|
|
339
|
-
/**
|
|
409
|
+
/**
|
|
410
|
+
* True if the SAN is compatible with the RPNv1 technology.
|
|
411
|
+
*/
|
|
340
412
|
rpnv1Compatible: boolean;
|
|
341
413
|
/**
|
|
342
|
-
* True if the offer supports the RPNv1 implicitly, false if it must to be
|
|
343
|
-
* added to a group to support RPNv1.
|
|
414
|
+
* True if the offer supports the RPNv1 implicitly, false if it must to be added to a group to support RPNv1.
|
|
344
415
|
*/
|
|
345
416
|
rpnv1Implicit: boolean;
|
|
346
|
-
/**
|
|
417
|
+
/**
|
|
418
|
+
* RPN SAN delivery date.
|
|
419
|
+
*/
|
|
347
420
|
deliveredAt?: Date;
|
|
348
|
-
/**
|
|
421
|
+
/**
|
|
422
|
+
* RPN SAN termination date.
|
|
423
|
+
*/
|
|
349
424
|
terminatedAt?: Date;
|
|
350
|
-
/**
|
|
425
|
+
/**
|
|
426
|
+
* RPN SAN expiration date.
|
|
427
|
+
*/
|
|
351
428
|
expiresAt?: Date;
|
|
352
429
|
}
|
|
353
430
|
export interface RpnGroup {
|
|
354
|
-
/**
|
|
431
|
+
/**
|
|
432
|
+
* Rpn group member ID.
|
|
433
|
+
*/
|
|
355
434
|
id: number;
|
|
356
|
-
/**
|
|
435
|
+
/**
|
|
436
|
+
* Rpn group name.
|
|
437
|
+
*/
|
|
357
438
|
name: string;
|
|
358
|
-
/**
|
|
439
|
+
/**
|
|
440
|
+
* Rpn group type (local or shared).
|
|
441
|
+
*/
|
|
359
442
|
type: RpnGroupType;
|
|
360
|
-
/**
|
|
443
|
+
/**
|
|
444
|
+
* Whether the group is active or not.
|
|
445
|
+
*/
|
|
361
446
|
active: boolean;
|
|
362
|
-
/**
|
|
447
|
+
/**
|
|
448
|
+
* Rpn group creation date.
|
|
449
|
+
*/
|
|
363
450
|
createdAt?: Date;
|
|
364
|
-
/**
|
|
451
|
+
/**
|
|
452
|
+
* RPN group owner.
|
|
453
|
+
*/
|
|
365
454
|
owner: string;
|
|
366
|
-
/**
|
|
455
|
+
/**
|
|
456
|
+
* Total number of members.
|
|
457
|
+
*/
|
|
367
458
|
membersCount: number;
|
|
368
|
-
/**
|
|
459
|
+
/**
|
|
460
|
+
* Rpn group organization ID.
|
|
461
|
+
*/
|
|
369
462
|
organizationId: string;
|
|
370
|
-
/**
|
|
463
|
+
/**
|
|
464
|
+
* Rpn group project ID.
|
|
465
|
+
*/
|
|
371
466
|
projectId: string;
|
|
372
467
|
}
|
|
373
468
|
export interface RpnV2GroupSubnet {
|
|
@@ -375,69 +470,131 @@ export interface RpnV2GroupSubnet {
|
|
|
375
470
|
cidr: number;
|
|
376
471
|
}
|
|
377
472
|
export interface Server {
|
|
378
|
-
/**
|
|
473
|
+
/**
|
|
474
|
+
* ID of the server.
|
|
475
|
+
*/
|
|
379
476
|
id: number;
|
|
380
|
-
/**
|
|
477
|
+
/**
|
|
478
|
+
* Organization ID the server is attached to.
|
|
479
|
+
*/
|
|
381
480
|
organizationId: string;
|
|
382
|
-
/**
|
|
481
|
+
/**
|
|
482
|
+
* Project ID the server is attached to.
|
|
483
|
+
*/
|
|
383
484
|
projectId: string;
|
|
384
|
-
/**
|
|
485
|
+
/**
|
|
486
|
+
* Hostname of the server.
|
|
487
|
+
*/
|
|
385
488
|
hostname: string;
|
|
386
|
-
/**
|
|
489
|
+
/**
|
|
490
|
+
* Date of last reboot of the server.
|
|
491
|
+
*/
|
|
387
492
|
rebootedAt?: Date;
|
|
388
|
-
/**
|
|
493
|
+
/**
|
|
494
|
+
* Date of creation of the server.
|
|
495
|
+
*/
|
|
389
496
|
createdAt?: Date;
|
|
390
|
-
/**
|
|
497
|
+
/**
|
|
498
|
+
* Date of last modification of the server.
|
|
499
|
+
*/
|
|
391
500
|
updatedAt?: Date;
|
|
392
|
-
/**
|
|
501
|
+
/**
|
|
502
|
+
* Date of release of the server.
|
|
503
|
+
*/
|
|
393
504
|
expiredAt?: Date;
|
|
394
|
-
/**
|
|
505
|
+
/**
|
|
506
|
+
* Offer of the server.
|
|
507
|
+
*/
|
|
395
508
|
offer?: Offer;
|
|
396
|
-
/**
|
|
509
|
+
/**
|
|
510
|
+
* Status of the server.
|
|
511
|
+
*/
|
|
397
512
|
status: ServerStatus;
|
|
398
|
-
/**
|
|
513
|
+
/**
|
|
514
|
+
* Location of the server.
|
|
515
|
+
*/
|
|
399
516
|
location?: ServerLocation;
|
|
400
|
-
/**
|
|
517
|
+
/**
|
|
518
|
+
* Abuse contact of the server.
|
|
519
|
+
*/
|
|
401
520
|
abuseContact: string;
|
|
402
|
-
/**
|
|
521
|
+
/**
|
|
522
|
+
* OS installed on the server.
|
|
523
|
+
*/
|
|
403
524
|
os?: OS;
|
|
404
|
-
/**
|
|
525
|
+
/**
|
|
526
|
+
* Network interfaces of the server.
|
|
527
|
+
*/
|
|
405
528
|
interfaces: NetworkInterface[];
|
|
406
|
-
/**
|
|
529
|
+
/**
|
|
530
|
+
* The zone in which is the server.
|
|
531
|
+
*/
|
|
407
532
|
zone: ScwZone;
|
|
408
|
-
/**
|
|
533
|
+
/**
|
|
534
|
+
* Options subscribe on the server.
|
|
535
|
+
*/
|
|
409
536
|
options: ServerOption[];
|
|
410
|
-
/**
|
|
537
|
+
/**
|
|
538
|
+
* Service level of the server.
|
|
539
|
+
*/
|
|
411
540
|
level?: ServiceLevel;
|
|
412
|
-
/**
|
|
541
|
+
/**
|
|
542
|
+
* Boolean if the server has a BMC.
|
|
543
|
+
*/
|
|
413
544
|
hasBmc: boolean;
|
|
414
|
-
/**
|
|
545
|
+
/**
|
|
546
|
+
* Rescue OS of the server.
|
|
547
|
+
*/
|
|
415
548
|
rescueOs?: OS;
|
|
416
|
-
/**
|
|
549
|
+
/**
|
|
550
|
+
* Array of customs tags attached to the server.
|
|
551
|
+
*/
|
|
417
552
|
tags: string[];
|
|
418
|
-
/**
|
|
553
|
+
/**
|
|
554
|
+
* Whether the server is outsourced or not.
|
|
555
|
+
*/
|
|
419
556
|
isOutsourced: boolean;
|
|
420
|
-
/**
|
|
557
|
+
/**
|
|
558
|
+
* Whether or not you can enable/disable the IPv6.
|
|
559
|
+
*/
|
|
421
560
|
ipv6Slaac: boolean;
|
|
422
|
-
/**
|
|
561
|
+
/**
|
|
562
|
+
* Whether the server is compatible with QinQ.
|
|
563
|
+
*/
|
|
423
564
|
qinq: boolean;
|
|
424
|
-
/**
|
|
565
|
+
/**
|
|
566
|
+
* Whether or not the server is already part of an rpnv2 group.
|
|
567
|
+
*/
|
|
425
568
|
isRpnv2Member: boolean;
|
|
426
569
|
}
|
|
427
570
|
export interface FailoverBlock {
|
|
428
|
-
/**
|
|
571
|
+
/**
|
|
572
|
+
* ID of the failover block.
|
|
573
|
+
*/
|
|
429
574
|
id: number;
|
|
430
|
-
/**
|
|
575
|
+
/**
|
|
576
|
+
* IP of the failover block.
|
|
577
|
+
*/
|
|
431
578
|
address: string;
|
|
432
|
-
/**
|
|
579
|
+
/**
|
|
580
|
+
* Name servers.
|
|
581
|
+
*/
|
|
433
582
|
nameservers: string[];
|
|
434
|
-
/**
|
|
583
|
+
/**
|
|
584
|
+
* IP version of the failover block.
|
|
585
|
+
*/
|
|
435
586
|
ipVersion: FailoverBlockVersion;
|
|
436
|
-
/**
|
|
587
|
+
/**
|
|
588
|
+
* Classless InterDomain Routing notation of the failover block.
|
|
589
|
+
*/
|
|
437
590
|
cidr: number;
|
|
438
|
-
/**
|
|
591
|
+
/**
|
|
592
|
+
* Netmask of the failover block.
|
|
593
|
+
*/
|
|
439
594
|
netmask: string;
|
|
440
|
-
/**
|
|
595
|
+
/**
|
|
596
|
+
* Gateway IP of the failover block.
|
|
597
|
+
*/
|
|
441
598
|
gatewayIp: string;
|
|
442
599
|
}
|
|
443
600
|
export interface RpnSanIpRpnV2Group {
|
|
@@ -450,49 +607,89 @@ export interface RpnSanIpServer {
|
|
|
450
607
|
datacenterName: string;
|
|
451
608
|
}
|
|
452
609
|
export interface RpnSanServer {
|
|
453
|
-
/**
|
|
610
|
+
/**
|
|
611
|
+
* The RPN SAN server ID.
|
|
612
|
+
*/
|
|
454
613
|
id: number;
|
|
455
|
-
/**
|
|
614
|
+
/**
|
|
615
|
+
* The RPN SAN server datacenter name.
|
|
616
|
+
*/
|
|
456
617
|
datacenterName: string;
|
|
457
|
-
/**
|
|
618
|
+
/**
|
|
619
|
+
* The RPN SAN server hostname.
|
|
620
|
+
*/
|
|
458
621
|
hostname: string;
|
|
459
|
-
/**
|
|
622
|
+
/**
|
|
623
|
+
* RPN SANs linked to the RPN SAN server.
|
|
624
|
+
*/
|
|
460
625
|
sans: RpnSan[];
|
|
461
|
-
/**
|
|
626
|
+
/**
|
|
627
|
+
* The RPN SAN server zone.
|
|
628
|
+
*/
|
|
462
629
|
zone: ScwZone;
|
|
463
630
|
}
|
|
464
631
|
export interface RpnV2Group {
|
|
465
|
-
/**
|
|
632
|
+
/**
|
|
633
|
+
* RPN V2 group ID.
|
|
634
|
+
*/
|
|
466
635
|
id: number;
|
|
467
|
-
/**
|
|
636
|
+
/**
|
|
637
|
+
* RPN V2 group name.
|
|
638
|
+
*/
|
|
468
639
|
name: string;
|
|
469
|
-
/**
|
|
640
|
+
/**
|
|
641
|
+
* Whether or not the RPN V1 compatibility was enabled.
|
|
642
|
+
*/
|
|
470
643
|
compatibleRpnv1: boolean;
|
|
471
|
-
/**
|
|
644
|
+
/**
|
|
645
|
+
* Organization ID of the RPN V2 group.
|
|
646
|
+
*/
|
|
472
647
|
organizationId: string;
|
|
473
|
-
/**
|
|
648
|
+
/**
|
|
649
|
+
* Project ID of the RPN V2 group.
|
|
650
|
+
*/
|
|
474
651
|
projectId: string;
|
|
475
|
-
/**
|
|
652
|
+
/**
|
|
653
|
+
* RPN V2 group type (qing / standard).
|
|
654
|
+
*/
|
|
476
655
|
type: RpnV2GroupType;
|
|
477
|
-
/**
|
|
656
|
+
/**
|
|
657
|
+
* RPN V2 group status.
|
|
658
|
+
*/
|
|
478
659
|
status: RpnV2GroupStatus;
|
|
479
|
-
/**
|
|
660
|
+
/**
|
|
661
|
+
* RPN V2 group owner.
|
|
662
|
+
*/
|
|
480
663
|
owner: string;
|
|
481
|
-
/**
|
|
664
|
+
/**
|
|
665
|
+
* Total number of members.
|
|
666
|
+
*/
|
|
482
667
|
membersCount: number;
|
|
483
|
-
/**
|
|
668
|
+
/**
|
|
669
|
+
* RPN V2 subnet.
|
|
670
|
+
*/
|
|
484
671
|
subnet?: RpnV2GroupSubnet;
|
|
485
|
-
/**
|
|
672
|
+
/**
|
|
673
|
+
* RPN V2 gateway.
|
|
674
|
+
*/
|
|
486
675
|
gateway: string;
|
|
487
|
-
/**
|
|
676
|
+
/**
|
|
677
|
+
* The RPNv1 group (if the compatibility was enabled).
|
|
678
|
+
*/
|
|
488
679
|
rpnv1Group?: RpnGroup;
|
|
489
680
|
}
|
|
490
681
|
export interface RpnV2Member {
|
|
491
|
-
/**
|
|
682
|
+
/**
|
|
683
|
+
* RPN V2 member ID.
|
|
684
|
+
*/
|
|
492
685
|
id: number;
|
|
493
|
-
/**
|
|
686
|
+
/**
|
|
687
|
+
* RPN V2 member status.
|
|
688
|
+
*/
|
|
494
689
|
status: RpnV2MemberStatus;
|
|
495
|
-
/**
|
|
690
|
+
/**
|
|
691
|
+
* RPN V2 member VLAN.
|
|
692
|
+
*/
|
|
496
693
|
vlan: string;
|
|
497
694
|
/**
|
|
498
695
|
* Server behind the member (may be empty).
|
|
@@ -506,7 +703,9 @@ export interface RpnV2Member {
|
|
|
506
703
|
* One-of ('resource'): at most one of 'server', 'rpnv1Group' could be set.
|
|
507
704
|
*/
|
|
508
705
|
rpnv1Group?: RpnGroup;
|
|
509
|
-
/**
|
|
706
|
+
/**
|
|
707
|
+
* RPN speed.
|
|
708
|
+
*/
|
|
510
709
|
speed?: number;
|
|
511
710
|
}
|
|
512
711
|
export interface ServerDisk {
|
|
@@ -517,23 +716,41 @@ export interface ServerDisk {
|
|
|
517
716
|
isAddon: boolean;
|
|
518
717
|
}
|
|
519
718
|
export interface Service {
|
|
520
|
-
/**
|
|
719
|
+
/**
|
|
720
|
+
* ID of the service.
|
|
721
|
+
*/
|
|
521
722
|
id: number;
|
|
522
|
-
/**
|
|
723
|
+
/**
|
|
724
|
+
* Resource ID of the service.
|
|
725
|
+
*/
|
|
523
726
|
resourceId?: number;
|
|
524
|
-
/**
|
|
727
|
+
/**
|
|
728
|
+
* Provisioning status of the service.
|
|
729
|
+
*/
|
|
525
730
|
provisioningStatus: ServiceProvisioningStatus;
|
|
526
|
-
/**
|
|
731
|
+
/**
|
|
732
|
+
* Offer of the service.
|
|
733
|
+
*/
|
|
527
734
|
offer?: Offer;
|
|
528
|
-
/**
|
|
735
|
+
/**
|
|
736
|
+
* Creation date of the service.
|
|
737
|
+
*/
|
|
529
738
|
createdAt?: Date;
|
|
530
|
-
/**
|
|
739
|
+
/**
|
|
740
|
+
* Delivery date of the service.
|
|
741
|
+
*/
|
|
531
742
|
deliveredAt?: Date;
|
|
532
|
-
/**
|
|
743
|
+
/**
|
|
744
|
+
* Terminatation date of the service.
|
|
745
|
+
*/
|
|
533
746
|
terminatedAt?: Date;
|
|
534
|
-
/**
|
|
747
|
+
/**
|
|
748
|
+
* Expiration date of the service.
|
|
749
|
+
*/
|
|
535
750
|
expiresAt?: Date;
|
|
536
|
-
/**
|
|
751
|
+
/**
|
|
752
|
+
* Service type, either order or service.
|
|
753
|
+
*/
|
|
537
754
|
type: ServiceType;
|
|
538
755
|
}
|
|
539
756
|
export interface GetIPv6BlockQuotasResponseQuota {
|
|
@@ -541,43 +758,79 @@ export interface GetIPv6BlockQuotasResponseQuota {
|
|
|
541
758
|
cidr: number;
|
|
542
759
|
}
|
|
543
760
|
export interface InstallPartition {
|
|
544
|
-
/**
|
|
761
|
+
/**
|
|
762
|
+
* File system of the installation partition.
|
|
763
|
+
*/
|
|
545
764
|
fileSystem: PartitionFileSystem;
|
|
546
|
-
/**
|
|
765
|
+
/**
|
|
766
|
+
* Mount point of the installation partition.
|
|
767
|
+
*/
|
|
547
768
|
mountPoint?: string;
|
|
548
|
-
/**
|
|
769
|
+
/**
|
|
770
|
+
* RAID level of the installation partition.
|
|
771
|
+
*/
|
|
549
772
|
raidLevel: RaidArrayRaidLevel;
|
|
550
|
-
/**
|
|
773
|
+
/**
|
|
774
|
+
* Capacity of the installation partition.
|
|
775
|
+
*/
|
|
551
776
|
capacity: number;
|
|
552
|
-
/**
|
|
777
|
+
/**
|
|
778
|
+
* Connectors of the installation partition.
|
|
779
|
+
*/
|
|
553
780
|
connectors: string[];
|
|
554
781
|
}
|
|
555
782
|
export interface FailoverIP {
|
|
556
|
-
/**
|
|
783
|
+
/**
|
|
784
|
+
* ID of the failover IP.
|
|
785
|
+
*/
|
|
557
786
|
id: number;
|
|
558
|
-
/**
|
|
787
|
+
/**
|
|
788
|
+
* IP of the failover IP.
|
|
789
|
+
*/
|
|
559
790
|
address: string;
|
|
560
|
-
/**
|
|
791
|
+
/**
|
|
792
|
+
* Reverse IP value.
|
|
793
|
+
*/
|
|
561
794
|
reverse: string;
|
|
562
|
-
/**
|
|
795
|
+
/**
|
|
796
|
+
* IP version of the failover IP.
|
|
797
|
+
*/
|
|
563
798
|
ipVersion: FailoverIPVersion;
|
|
564
|
-
/**
|
|
799
|
+
/**
|
|
800
|
+
* Classless InterDomain Routing notation of the failover IP.
|
|
801
|
+
*/
|
|
565
802
|
cidr: number;
|
|
566
|
-
/**
|
|
803
|
+
/**
|
|
804
|
+
* Netmask of the failover IP.
|
|
805
|
+
*/
|
|
567
806
|
netmask: string;
|
|
568
|
-
/**
|
|
807
|
+
/**
|
|
808
|
+
* Gateway IP of the failover IP.
|
|
809
|
+
*/
|
|
569
810
|
gatewayIp: string;
|
|
570
|
-
/**
|
|
811
|
+
/**
|
|
812
|
+
* MAC address of the IP failover.
|
|
813
|
+
*/
|
|
571
814
|
mac?: string;
|
|
572
|
-
/**
|
|
815
|
+
/**
|
|
816
|
+
* Server ID linked to the IP failover.
|
|
817
|
+
*/
|
|
573
818
|
serverId?: number;
|
|
574
|
-
/**
|
|
819
|
+
/**
|
|
820
|
+
* Status of the IP failover.
|
|
821
|
+
*/
|
|
575
822
|
status: FailoverIPStatus;
|
|
576
|
-
/**
|
|
823
|
+
/**
|
|
824
|
+
* Block of the IP failover.
|
|
825
|
+
*/
|
|
577
826
|
block?: FailoverBlock;
|
|
578
|
-
/**
|
|
827
|
+
/**
|
|
828
|
+
* The interface type.
|
|
829
|
+
*/
|
|
579
830
|
type: FailoverIPInterfaceType;
|
|
580
|
-
/**
|
|
831
|
+
/**
|
|
832
|
+
* The server zone (if assigned).
|
|
833
|
+
*/
|
|
581
834
|
serverZone?: string;
|
|
582
835
|
}
|
|
583
836
|
export interface ListIPv6BlockSubnetsAvailableResponseSubnet {
|
|
@@ -607,9 +860,13 @@ export interface RpnSanIp {
|
|
|
607
860
|
* One-of ('rpnSanIp'): at most one of 'server', 'rpnv2Group' could be set.
|
|
608
861
|
*/
|
|
609
862
|
rpnv2Group?: RpnSanIpRpnV2Group;
|
|
610
|
-
/**
|
|
863
|
+
/**
|
|
864
|
+
* An IP object.
|
|
865
|
+
*/
|
|
611
866
|
ip?: IP;
|
|
612
|
-
/**
|
|
867
|
+
/**
|
|
868
|
+
* IP type (server | rpnv2_subnet).
|
|
869
|
+
*/
|
|
613
870
|
type: RpnSanIpType;
|
|
614
871
|
}
|
|
615
872
|
export interface RefundSummary {
|
|
@@ -622,273 +879,483 @@ export interface RefundSummary {
|
|
|
622
879
|
method: RefundMethod;
|
|
623
880
|
}
|
|
624
881
|
export interface RpnGroupMember {
|
|
625
|
-
/**
|
|
882
|
+
/**
|
|
883
|
+
* Rpn group member ID.
|
|
884
|
+
*/
|
|
626
885
|
id: number;
|
|
627
|
-
/**
|
|
886
|
+
/**
|
|
887
|
+
* RPN group member status.
|
|
888
|
+
*/
|
|
628
889
|
status: RpnGroupMemberStatus;
|
|
629
|
-
/**
|
|
890
|
+
/**
|
|
891
|
+
* Authorized RPN SAN server.
|
|
892
|
+
*/
|
|
630
893
|
sanServer?: RpnSanServer;
|
|
631
|
-
/**
|
|
894
|
+
/**
|
|
895
|
+
* Authorized rpn v1 capable server.
|
|
896
|
+
*/
|
|
632
897
|
server?: Server;
|
|
633
|
-
/**
|
|
898
|
+
/**
|
|
899
|
+
* RPN group ID.
|
|
900
|
+
*/
|
|
634
901
|
groupId: number;
|
|
635
|
-
/**
|
|
902
|
+
/**
|
|
903
|
+
* RPN group name.
|
|
904
|
+
*/
|
|
636
905
|
groupName: string;
|
|
637
|
-
/**
|
|
906
|
+
/**
|
|
907
|
+
* RPN group owner.
|
|
908
|
+
*/
|
|
638
909
|
groupOwner: string;
|
|
639
|
-
/**
|
|
910
|
+
/**
|
|
911
|
+
* RPN speed.
|
|
912
|
+
*/
|
|
640
913
|
speed?: number;
|
|
641
|
-
/**
|
|
914
|
+
/**
|
|
915
|
+
* RPN member owner.
|
|
916
|
+
*/
|
|
642
917
|
owner: string;
|
|
643
918
|
}
|
|
644
919
|
export interface RpnSanSummary {
|
|
645
|
-
/**
|
|
920
|
+
/**
|
|
921
|
+
* RPN SAN ID.
|
|
922
|
+
*/
|
|
646
923
|
id: number;
|
|
647
|
-
/**
|
|
924
|
+
/**
|
|
925
|
+
* Datacenter location.
|
|
926
|
+
*/
|
|
648
927
|
datacenterName: string;
|
|
649
|
-
/**
|
|
928
|
+
/**
|
|
929
|
+
* Organization ID.
|
|
930
|
+
*/
|
|
650
931
|
organizationId: string;
|
|
651
|
-
/**
|
|
932
|
+
/**
|
|
933
|
+
* Project ID.
|
|
934
|
+
*/
|
|
652
935
|
projectId: string;
|
|
653
|
-
/**
|
|
936
|
+
/**
|
|
937
|
+
* RPN SAN server hostname.
|
|
938
|
+
*/
|
|
654
939
|
serverHostname: string;
|
|
655
|
-
/**
|
|
940
|
+
/**
|
|
941
|
+
* IQN suffix.
|
|
942
|
+
*/
|
|
656
943
|
iqnSuffix: string;
|
|
657
|
-
/**
|
|
944
|
+
/**
|
|
945
|
+
* Date of creation of the RPN SAN.
|
|
946
|
+
*/
|
|
658
947
|
createdAt?: Date;
|
|
659
|
-
/**
|
|
948
|
+
/**
|
|
949
|
+
* Offer ID.
|
|
950
|
+
*/
|
|
660
951
|
offerId: number;
|
|
661
|
-
/**
|
|
952
|
+
/**
|
|
953
|
+
* Offer description.
|
|
954
|
+
*/
|
|
662
955
|
offerName: string;
|
|
663
|
-
/**
|
|
956
|
+
/**
|
|
957
|
+
* Status.
|
|
958
|
+
*/
|
|
664
959
|
status: RpnSanStatus;
|
|
665
|
-
/**
|
|
960
|
+
/**
|
|
961
|
+
* RPN SAN storage size.
|
|
962
|
+
*/
|
|
666
963
|
storageSize: number;
|
|
667
|
-
/**
|
|
964
|
+
/**
|
|
965
|
+
* True if the SAN is compatible with the RPNv1 technology.
|
|
966
|
+
*/
|
|
668
967
|
rpnv1Compatible: boolean;
|
|
669
968
|
/**
|
|
670
|
-
* True if the offer supports the RPNv1 implicitly, false if it must to be
|
|
671
|
-
* added to a group to support RPNv1.
|
|
969
|
+
* True if the offer supports the RPNv1 implicitly, false if it must to be added to a group to support RPNv1.
|
|
672
970
|
*/
|
|
673
971
|
rpnv1Implicit: boolean;
|
|
674
|
-
/**
|
|
972
|
+
/**
|
|
973
|
+
* RPN SAN delivery date.
|
|
974
|
+
*/
|
|
675
975
|
deliveredAt?: Date;
|
|
676
|
-
/**
|
|
976
|
+
/**
|
|
977
|
+
* RPN SAN termination date.
|
|
978
|
+
*/
|
|
677
979
|
terminatedAt?: Date;
|
|
678
|
-
/**
|
|
980
|
+
/**
|
|
981
|
+
* RPN SAN expiration date.
|
|
982
|
+
*/
|
|
679
983
|
expiresAt?: Date;
|
|
680
984
|
}
|
|
681
985
|
export interface RpnServerCapability {
|
|
682
|
-
/**
|
|
986
|
+
/**
|
|
987
|
+
* Server ID.
|
|
988
|
+
*/
|
|
683
989
|
id: number;
|
|
684
|
-
/**
|
|
990
|
+
/**
|
|
991
|
+
* Server hostname.
|
|
992
|
+
*/
|
|
685
993
|
hostname: string;
|
|
686
|
-
/**
|
|
994
|
+
/**
|
|
995
|
+
* Server datacenter name.
|
|
996
|
+
*/
|
|
687
997
|
datacenterName: string;
|
|
688
|
-
/**
|
|
998
|
+
/**
|
|
999
|
+
* Server zone.
|
|
1000
|
+
*/
|
|
689
1001
|
zone: ScwZone;
|
|
690
|
-
/**
|
|
1002
|
+
/**
|
|
1003
|
+
* Private IP address (if rpn compatiblle).
|
|
1004
|
+
*/
|
|
691
1005
|
ipAddress?: string;
|
|
692
|
-
/**
|
|
1006
|
+
/**
|
|
1007
|
+
* Supported rpn version.
|
|
1008
|
+
*/
|
|
693
1009
|
rpnVersion?: number;
|
|
694
|
-
/**
|
|
1010
|
+
/**
|
|
1011
|
+
* True if server is compatible with QinQ protocol (rpn v2).
|
|
1012
|
+
*/
|
|
695
1013
|
compatibleQinq: boolean;
|
|
696
|
-
/**
|
|
1014
|
+
/**
|
|
1015
|
+
* True if server can join a QinQ group.
|
|
1016
|
+
*/
|
|
697
1017
|
canJoinQinqGroup: boolean;
|
|
698
|
-
/**
|
|
1018
|
+
/**
|
|
1019
|
+
* Times server is linked in a rpnv1 group.
|
|
1020
|
+
*/
|
|
699
1021
|
rpnv1GroupCount: number;
|
|
700
|
-
/**
|
|
1022
|
+
/**
|
|
1023
|
+
* Times server is linked in a rpnv2 group.
|
|
1024
|
+
*/
|
|
701
1025
|
rpnv2GroupCount: number;
|
|
702
|
-
/**
|
|
1026
|
+
/**
|
|
1027
|
+
* True if server can join an rpnv2 group.
|
|
1028
|
+
*/
|
|
703
1029
|
canJoinRpnv2Group: boolean;
|
|
704
1030
|
}
|
|
705
1031
|
export interface Log {
|
|
706
|
-
/**
|
|
1032
|
+
/**
|
|
1033
|
+
* RPN V2 log ID.
|
|
1034
|
+
*/
|
|
707
1035
|
id: number;
|
|
708
|
-
/**
|
|
1036
|
+
/**
|
|
1037
|
+
* RPN V2 group.
|
|
1038
|
+
*/
|
|
709
1039
|
group?: RpnV2Group;
|
|
710
|
-
/**
|
|
1040
|
+
/**
|
|
1041
|
+
* RPN V2 member (if appliable).
|
|
1042
|
+
*/
|
|
711
1043
|
member?: RpnV2Member;
|
|
712
|
-
/**
|
|
1044
|
+
/**
|
|
1045
|
+
* Which action was performed.
|
|
1046
|
+
*/
|
|
713
1047
|
action: LogAction;
|
|
714
|
-
/**
|
|
1048
|
+
/**
|
|
1049
|
+
* Action status.
|
|
1050
|
+
*/
|
|
715
1051
|
status: LogStatus;
|
|
716
|
-
/**
|
|
1052
|
+
/**
|
|
1053
|
+
* Creation date.
|
|
1054
|
+
*/
|
|
717
1055
|
createdAt?: Date;
|
|
718
|
-
/**
|
|
1056
|
+
/**
|
|
1057
|
+
* Completion date.
|
|
1058
|
+
*/
|
|
719
1059
|
finishedAt?: Date;
|
|
720
1060
|
}
|
|
721
1061
|
export interface ServerEvent {
|
|
722
|
-
/**
|
|
1062
|
+
/**
|
|
1063
|
+
* ID of the event.
|
|
1064
|
+
*/
|
|
723
1065
|
eventId: number;
|
|
724
|
-
/**
|
|
1066
|
+
/**
|
|
1067
|
+
* Description of the event.
|
|
1068
|
+
*/
|
|
725
1069
|
description: string;
|
|
726
|
-
/**
|
|
1070
|
+
/**
|
|
1071
|
+
* Date of the event.
|
|
1072
|
+
*/
|
|
727
1073
|
date?: Date;
|
|
728
1074
|
}
|
|
729
1075
|
export interface ServerSummary {
|
|
730
|
-
/**
|
|
1076
|
+
/**
|
|
1077
|
+
* ID of the server.
|
|
1078
|
+
*/
|
|
731
1079
|
id: number;
|
|
732
|
-
/**
|
|
1080
|
+
/**
|
|
1081
|
+
* Datacenter of the server.
|
|
1082
|
+
*/
|
|
733
1083
|
datacenterName: string;
|
|
734
|
-
/**
|
|
1084
|
+
/**
|
|
1085
|
+
* Organization ID the server is attached to.
|
|
1086
|
+
*/
|
|
735
1087
|
organizationId: string;
|
|
736
|
-
/**
|
|
1088
|
+
/**
|
|
1089
|
+
* Project ID the server is attached to.
|
|
1090
|
+
*/
|
|
737
1091
|
projectId: string;
|
|
738
|
-
/**
|
|
1092
|
+
/**
|
|
1093
|
+
* Hostname of the server.
|
|
1094
|
+
*/
|
|
739
1095
|
hostname: string;
|
|
740
|
-
/**
|
|
1096
|
+
/**
|
|
1097
|
+
* Date of creation of the server.
|
|
1098
|
+
*/
|
|
741
1099
|
createdAt?: Date;
|
|
742
|
-
/**
|
|
1100
|
+
/**
|
|
1101
|
+
* Date of last modification of the server.
|
|
1102
|
+
*/
|
|
743
1103
|
updatedAt?: Date;
|
|
744
|
-
/**
|
|
1104
|
+
/**
|
|
1105
|
+
* Date of release of the server.
|
|
1106
|
+
*/
|
|
745
1107
|
expiredAt?: Date;
|
|
746
|
-
/**
|
|
1108
|
+
/**
|
|
1109
|
+
* Offer ID of the server.
|
|
1110
|
+
*/
|
|
747
1111
|
offerId: number;
|
|
748
|
-
/**
|
|
1112
|
+
/**
|
|
1113
|
+
* Offer name of the server.
|
|
1114
|
+
*/
|
|
749
1115
|
offerName: string;
|
|
750
|
-
/**
|
|
1116
|
+
/**
|
|
1117
|
+
* Status of the server.
|
|
1118
|
+
*/
|
|
751
1119
|
status: ServerStatus;
|
|
752
|
-
/**
|
|
1120
|
+
/**
|
|
1121
|
+
* OS ID installed on server.
|
|
1122
|
+
*/
|
|
753
1123
|
osId?: number;
|
|
754
|
-
/**
|
|
1124
|
+
/**
|
|
1125
|
+
* Network interfaces of the server.
|
|
1126
|
+
*/
|
|
755
1127
|
interfaces: NetworkInterface[];
|
|
756
|
-
/**
|
|
1128
|
+
/**
|
|
1129
|
+
* The zone in which is the server.
|
|
1130
|
+
*/
|
|
757
1131
|
zone: ScwZone;
|
|
758
|
-
/**
|
|
1132
|
+
/**
|
|
1133
|
+
* Service level of the server.
|
|
1134
|
+
*/
|
|
759
1135
|
level?: ServiceLevel;
|
|
760
|
-
/**
|
|
1136
|
+
/**
|
|
1137
|
+
* Whether the server is outsourced or not.
|
|
1138
|
+
*/
|
|
761
1139
|
isOutsourced: boolean;
|
|
762
|
-
/**
|
|
1140
|
+
/**
|
|
1141
|
+
* Whether the server is compatible with QinQ.
|
|
1142
|
+
*/
|
|
763
1143
|
qinq: boolean;
|
|
764
|
-
/**
|
|
1144
|
+
/**
|
|
1145
|
+
* Supported RPN version.
|
|
1146
|
+
*/
|
|
765
1147
|
rpnVersion?: number;
|
|
766
1148
|
}
|
|
767
1149
|
export interface CPU {
|
|
768
|
-
/**
|
|
1150
|
+
/**
|
|
1151
|
+
* Name of CPU.
|
|
1152
|
+
*/
|
|
769
1153
|
name: string;
|
|
770
|
-
/**
|
|
1154
|
+
/**
|
|
1155
|
+
* Number of cores of the CPU.
|
|
1156
|
+
*/
|
|
771
1157
|
coreCount: number;
|
|
772
|
-
/**
|
|
1158
|
+
/**
|
|
1159
|
+
* Number of threads of the CPU.
|
|
1160
|
+
*/
|
|
773
1161
|
threadCount: number;
|
|
774
|
-
/**
|
|
1162
|
+
/**
|
|
1163
|
+
* Frequency of the CPU.
|
|
1164
|
+
*/
|
|
775
1165
|
frequency: number;
|
|
776
1166
|
}
|
|
777
1167
|
export interface Disk {
|
|
778
|
-
/**
|
|
1168
|
+
/**
|
|
1169
|
+
* Capacity of the disk.
|
|
1170
|
+
*/
|
|
779
1171
|
capacity: number;
|
|
780
|
-
/**
|
|
1172
|
+
/**
|
|
1173
|
+
* Type of the disk.
|
|
1174
|
+
*/
|
|
781
1175
|
type: ServerDiskType;
|
|
782
1176
|
}
|
|
783
1177
|
export interface Memory {
|
|
784
|
-
/**
|
|
1178
|
+
/**
|
|
1179
|
+
* Capacity of the memory.
|
|
1180
|
+
*/
|
|
785
1181
|
capacity: number;
|
|
786
|
-
/**
|
|
1182
|
+
/**
|
|
1183
|
+
* Type of the memory.
|
|
1184
|
+
*/
|
|
787
1185
|
type: MemoryType;
|
|
788
|
-
/**
|
|
1186
|
+
/**
|
|
1187
|
+
* Frequency of the memory.
|
|
1188
|
+
*/
|
|
789
1189
|
frequency: number;
|
|
790
|
-
/**
|
|
1190
|
+
/**
|
|
1191
|
+
* True if the memory is an error-correcting code memory.
|
|
1192
|
+
*/
|
|
791
1193
|
isEcc: boolean;
|
|
792
1194
|
}
|
|
793
1195
|
export interface PersistentMemory {
|
|
794
|
-
/**
|
|
1196
|
+
/**
|
|
1197
|
+
* Capacity of the persistent memory.
|
|
1198
|
+
*/
|
|
795
1199
|
capacity: number;
|
|
796
|
-
/**
|
|
1200
|
+
/**
|
|
1201
|
+
* Frequency of the persistent memory.
|
|
1202
|
+
*/
|
|
797
1203
|
frequency: number;
|
|
798
|
-
/**
|
|
1204
|
+
/**
|
|
1205
|
+
* Model of the persistent memory.
|
|
1206
|
+
*/
|
|
799
1207
|
model: string;
|
|
800
1208
|
}
|
|
801
1209
|
export interface RaidController {
|
|
802
|
-
/**
|
|
1210
|
+
/**
|
|
1211
|
+
* Model of the RAID controller.
|
|
1212
|
+
*/
|
|
803
1213
|
model: string;
|
|
804
|
-
/**
|
|
1214
|
+
/**
|
|
1215
|
+
* RAID level of the RAID controller.
|
|
1216
|
+
*/
|
|
805
1217
|
raidLevel: string[];
|
|
806
1218
|
}
|
|
807
1219
|
export interface RaidArray {
|
|
808
|
-
/**
|
|
1220
|
+
/**
|
|
1221
|
+
* The RAID level.
|
|
1222
|
+
*/
|
|
809
1223
|
raidLevel: RaidArrayRaidLevel;
|
|
810
|
-
/**
|
|
1224
|
+
/**
|
|
1225
|
+
* Disks on the RAID controller.
|
|
1226
|
+
*/
|
|
811
1227
|
disks: ServerDisk[];
|
|
812
1228
|
}
|
|
813
1229
|
export interface Partition {
|
|
814
|
-
/**
|
|
1230
|
+
/**
|
|
1231
|
+
* Type of the partition.
|
|
1232
|
+
*/
|
|
815
1233
|
type: PartitionType;
|
|
816
|
-
/**
|
|
1234
|
+
/**
|
|
1235
|
+
* File system of the partition.
|
|
1236
|
+
*/
|
|
817
1237
|
fileSystem: PartitionFileSystem;
|
|
818
|
-
/**
|
|
1238
|
+
/**
|
|
1239
|
+
* Mount point of the partition.
|
|
1240
|
+
*/
|
|
819
1241
|
mountPoint?: string;
|
|
820
|
-
/**
|
|
1242
|
+
/**
|
|
1243
|
+
* Raid level of the partition.
|
|
1244
|
+
*/
|
|
821
1245
|
raidLevel: RaidArrayRaidLevel;
|
|
822
|
-
/**
|
|
1246
|
+
/**
|
|
1247
|
+
* Capacity of the partition.
|
|
1248
|
+
*/
|
|
823
1249
|
capacity: number;
|
|
824
|
-
/**
|
|
1250
|
+
/**
|
|
1251
|
+
* Connectors of the partition.
|
|
1252
|
+
*/
|
|
825
1253
|
connectors: string[];
|
|
826
1254
|
}
|
|
827
1255
|
export interface UpdatableRaidArray {
|
|
828
|
-
/**
|
|
1256
|
+
/**
|
|
1257
|
+
* The RAID level.
|
|
1258
|
+
*/
|
|
829
1259
|
raidLevel: RaidArrayRaidLevel;
|
|
830
|
-
/**
|
|
1260
|
+
/**
|
|
1261
|
+
* The list of Disk ID of the updatable RAID.
|
|
1262
|
+
*/
|
|
831
1263
|
diskIds: number[];
|
|
832
1264
|
}
|
|
833
1265
|
export type AttachFailoverIPToMacAddressRequest = {
|
|
834
|
-
/**
|
|
1266
|
+
/**
|
|
1267
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1268
|
+
*/
|
|
835
1269
|
zone?: ScwZone;
|
|
836
|
-
/**
|
|
1270
|
+
/**
|
|
1271
|
+
* ID of the failover IP.
|
|
1272
|
+
*/
|
|
837
1273
|
ipId: number;
|
|
838
|
-
/**
|
|
1274
|
+
/**
|
|
1275
|
+
* A mac type.
|
|
1276
|
+
*/
|
|
839
1277
|
type?: AttachFailoverIPToMacAddressRequestMacType;
|
|
840
|
-
/**
|
|
1278
|
+
/**
|
|
1279
|
+
* A valid mac address (existing or not).
|
|
1280
|
+
*/
|
|
841
1281
|
mac?: string;
|
|
842
1282
|
};
|
|
843
1283
|
export type AttachFailoverIPsRequest = {
|
|
844
|
-
/**
|
|
1284
|
+
/**
|
|
1285
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1286
|
+
*/
|
|
845
1287
|
zone?: ScwZone;
|
|
846
|
-
/**
|
|
1288
|
+
/**
|
|
1289
|
+
* ID of the server.
|
|
1290
|
+
*/
|
|
847
1291
|
serverId: number;
|
|
848
|
-
/**
|
|
1292
|
+
/**
|
|
1293
|
+
* List of ID of failovers IP to attach.
|
|
1294
|
+
*/
|
|
849
1295
|
fipsIds: number[];
|
|
850
1296
|
};
|
|
851
1297
|
export interface BMCAccess {
|
|
852
|
-
/**
|
|
1298
|
+
/**
|
|
1299
|
+
* URL to access to the server console.
|
|
1300
|
+
*/
|
|
853
1301
|
url: string;
|
|
854
1302
|
/**
|
|
855
|
-
* The login to use for the BMC (Baseboard Management Controller) access
|
|
856
|
-
* authentification.
|
|
1303
|
+
* The login to use for the BMC (Baseboard Management Controller) access authentification.
|
|
857
1304
|
*/
|
|
858
1305
|
login: string;
|
|
859
1306
|
/**
|
|
860
|
-
* The password to use for the BMC (Baseboard Management Controller) access
|
|
861
|
-
* authentification.
|
|
1307
|
+
* The password to use for the BMC (Baseboard Management Controller) access authentification.
|
|
862
1308
|
*/
|
|
863
1309
|
password: string;
|
|
864
1310
|
/**
|
|
865
|
-
* The date after which the BMC (Baseboard Management Controller) access will
|
|
866
|
-
* be closed.
|
|
1311
|
+
* The date after which the BMC (Baseboard Management Controller) access will be closed.
|
|
867
1312
|
*/
|
|
868
1313
|
expiresAt?: Date;
|
|
869
|
-
/**
|
|
1314
|
+
/**
|
|
1315
|
+
* Status of the connection.
|
|
1316
|
+
*/
|
|
870
1317
|
status: BMCAccessStatus;
|
|
871
1318
|
}
|
|
872
1319
|
export interface Backup {
|
|
873
|
-
/**
|
|
1320
|
+
/**
|
|
1321
|
+
* ID of the backup.
|
|
1322
|
+
*/
|
|
874
1323
|
id: number;
|
|
875
|
-
/**
|
|
1324
|
+
/**
|
|
1325
|
+
* Login of the backup.
|
|
1326
|
+
*/
|
|
876
1327
|
login: string;
|
|
877
|
-
/**
|
|
1328
|
+
/**
|
|
1329
|
+
* Server of the backup.
|
|
1330
|
+
*/
|
|
878
1331
|
server: string;
|
|
879
|
-
/**
|
|
1332
|
+
/**
|
|
1333
|
+
* Status of the backup.
|
|
1334
|
+
*/
|
|
880
1335
|
status: BackupStatus;
|
|
881
|
-
/**
|
|
1336
|
+
/**
|
|
1337
|
+
* ACL enable boolean of the backup.
|
|
1338
|
+
*/
|
|
882
1339
|
aclEnabled: boolean;
|
|
883
|
-
/**
|
|
1340
|
+
/**
|
|
1341
|
+
* Autologin boolean of the backup.
|
|
1342
|
+
*/
|
|
884
1343
|
autologin: boolean;
|
|
885
|
-
/**
|
|
1344
|
+
/**
|
|
1345
|
+
* Total quota space of the backup.
|
|
1346
|
+
*/
|
|
886
1347
|
quotaSpace: number;
|
|
887
|
-
/**
|
|
1348
|
+
/**
|
|
1349
|
+
* Quota space used of the backup.
|
|
1350
|
+
*/
|
|
888
1351
|
quotaSpaceUsed: number;
|
|
889
|
-
/**
|
|
1352
|
+
/**
|
|
1353
|
+
* Total quota files of the backup.
|
|
1354
|
+
*/
|
|
890
1355
|
quotaFiles: number;
|
|
891
|
-
/**
|
|
1356
|
+
/**
|
|
1357
|
+
* Quota files used of the backup.
|
|
1358
|
+
*/
|
|
892
1359
|
quotaFilesUsed: number;
|
|
893
1360
|
}
|
|
894
1361
|
export type BillingApiCanOrderRequest = {
|
|
@@ -929,19 +1396,31 @@ export interface CanOrderResponse {
|
|
|
929
1396
|
billingOk: boolean;
|
|
930
1397
|
}
|
|
931
1398
|
export type CancelServerInstallRequest = {
|
|
932
|
-
/**
|
|
1399
|
+
/**
|
|
1400
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1401
|
+
*/
|
|
933
1402
|
zone?: ScwZone;
|
|
934
|
-
/**
|
|
1403
|
+
/**
|
|
1404
|
+
* Server ID of the server to cancel install.
|
|
1405
|
+
*/
|
|
935
1406
|
serverId: number;
|
|
936
1407
|
};
|
|
937
1408
|
export type CreateFailoverIPsRequest = {
|
|
938
|
-
/**
|
|
1409
|
+
/**
|
|
1410
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1411
|
+
*/
|
|
939
1412
|
zone?: ScwZone;
|
|
940
|
-
/**
|
|
1413
|
+
/**
|
|
1414
|
+
* Failover IP offer ID.
|
|
1415
|
+
*/
|
|
941
1416
|
offerId: number;
|
|
942
|
-
/**
|
|
1417
|
+
/**
|
|
1418
|
+
* Project ID.
|
|
1419
|
+
*/
|
|
943
1420
|
projectId?: string;
|
|
944
|
-
/**
|
|
1421
|
+
/**
|
|
1422
|
+
* Quantity.
|
|
1423
|
+
*/
|
|
945
1424
|
quantity: number;
|
|
946
1425
|
};
|
|
947
1426
|
export interface CreateFailoverIPsResponse {
|
|
@@ -949,228 +1428,390 @@ export interface CreateFailoverIPsResponse {
|
|
|
949
1428
|
services: Service[];
|
|
950
1429
|
}
|
|
951
1430
|
export type CreateServerRequest = {
|
|
952
|
-
/**
|
|
1431
|
+
/**
|
|
1432
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1433
|
+
*/
|
|
953
1434
|
zone?: ScwZone;
|
|
954
|
-
/**
|
|
1435
|
+
/**
|
|
1436
|
+
* Offer ID of the new server.
|
|
1437
|
+
*/
|
|
955
1438
|
offerId: number;
|
|
956
|
-
/**
|
|
1439
|
+
/**
|
|
1440
|
+
* Server option IDs of the new server.
|
|
1441
|
+
*/
|
|
957
1442
|
serverOptionIds: number[];
|
|
958
|
-
/**
|
|
1443
|
+
/**
|
|
1444
|
+
* Project ID of the new server.
|
|
1445
|
+
*/
|
|
959
1446
|
projectId?: string;
|
|
960
|
-
/**
|
|
1447
|
+
/**
|
|
1448
|
+
* Datacenter name of the new server.
|
|
1449
|
+
*/
|
|
961
1450
|
datacenterName?: string;
|
|
962
1451
|
};
|
|
963
1452
|
export type DeleteFailoverIPRequest = {
|
|
964
|
-
/**
|
|
1453
|
+
/**
|
|
1454
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1455
|
+
*/
|
|
965
1456
|
zone?: ScwZone;
|
|
966
|
-
/**
|
|
1457
|
+
/**
|
|
1458
|
+
* ID of the failover IP to delete.
|
|
1459
|
+
*/
|
|
967
1460
|
ipId: number;
|
|
968
1461
|
};
|
|
969
1462
|
export type DeleteServerRequest = {
|
|
970
|
-
/**
|
|
1463
|
+
/**
|
|
1464
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1465
|
+
*/
|
|
971
1466
|
zone?: ScwZone;
|
|
972
|
-
/**
|
|
1467
|
+
/**
|
|
1468
|
+
* Server ID to delete.
|
|
1469
|
+
*/
|
|
973
1470
|
serverId: number;
|
|
974
1471
|
};
|
|
975
1472
|
export type DeleteServiceRequest = {
|
|
976
|
-
/**
|
|
1473
|
+
/**
|
|
1474
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1475
|
+
*/
|
|
977
1476
|
zone?: ScwZone;
|
|
978
|
-
/**
|
|
1477
|
+
/**
|
|
1478
|
+
* ID of the service.
|
|
1479
|
+
*/
|
|
979
1480
|
serviceId: number;
|
|
980
1481
|
};
|
|
981
1482
|
export type DetachFailoverIPFromMacAddressRequest = {
|
|
982
|
-
/**
|
|
1483
|
+
/**
|
|
1484
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1485
|
+
*/
|
|
983
1486
|
zone?: ScwZone;
|
|
984
|
-
/**
|
|
1487
|
+
/**
|
|
1488
|
+
* ID of the failover IP.
|
|
1489
|
+
*/
|
|
985
1490
|
ipId: number;
|
|
986
1491
|
};
|
|
987
1492
|
export type DetachFailoverIPsRequest = {
|
|
988
|
-
/**
|
|
1493
|
+
/**
|
|
1494
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1495
|
+
*/
|
|
989
1496
|
zone?: ScwZone;
|
|
990
|
-
/**
|
|
1497
|
+
/**
|
|
1498
|
+
* List of IDs of failovers IP to detach.
|
|
1499
|
+
*/
|
|
991
1500
|
fipsIds: number[];
|
|
992
1501
|
};
|
|
993
1502
|
export type GetBMCAccessRequest = {
|
|
994
|
-
/**
|
|
1503
|
+
/**
|
|
1504
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1505
|
+
*/
|
|
995
1506
|
zone?: ScwZone;
|
|
996
|
-
/**
|
|
1507
|
+
/**
|
|
1508
|
+
* ID of the server to get BMC access.
|
|
1509
|
+
*/
|
|
997
1510
|
serverId: number;
|
|
998
1511
|
};
|
|
999
1512
|
export type GetFailoverIPRequest = {
|
|
1000
|
-
/**
|
|
1513
|
+
/**
|
|
1514
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1515
|
+
*/
|
|
1001
1516
|
zone?: ScwZone;
|
|
1002
|
-
/**
|
|
1517
|
+
/**
|
|
1518
|
+
* ID of the failover IP.
|
|
1519
|
+
*/
|
|
1003
1520
|
ipId: number;
|
|
1004
1521
|
};
|
|
1005
1522
|
export interface GetIPv6BlockQuotasResponse {
|
|
1006
|
-
/**
|
|
1523
|
+
/**
|
|
1524
|
+
* Quota for each CIDR of IPv6 block.
|
|
1525
|
+
*/
|
|
1007
1526
|
quotas: GetIPv6BlockQuotasResponseQuota[];
|
|
1008
|
-
/**
|
|
1527
|
+
/**
|
|
1528
|
+
* Total count of quotas.
|
|
1529
|
+
*/
|
|
1009
1530
|
totalCount: number;
|
|
1010
1531
|
}
|
|
1011
1532
|
export type GetOSRequest = {
|
|
1012
|
-
/**
|
|
1533
|
+
/**
|
|
1534
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1535
|
+
*/
|
|
1013
1536
|
zone?: ScwZone;
|
|
1014
|
-
/**
|
|
1537
|
+
/**
|
|
1538
|
+
* ID of the OS.
|
|
1539
|
+
*/
|
|
1015
1540
|
osId: number;
|
|
1016
|
-
/**
|
|
1541
|
+
/**
|
|
1542
|
+
* ID of the server.
|
|
1543
|
+
*/
|
|
1017
1544
|
serverId: number;
|
|
1018
|
-
/**
|
|
1545
|
+
/**
|
|
1546
|
+
* Project ID.
|
|
1547
|
+
*/
|
|
1019
1548
|
projectId?: string;
|
|
1020
1549
|
};
|
|
1021
1550
|
export type GetOfferRequest = {
|
|
1022
|
-
/**
|
|
1551
|
+
/**
|
|
1552
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1553
|
+
*/
|
|
1023
1554
|
zone?: ScwZone;
|
|
1024
|
-
/**
|
|
1555
|
+
/**
|
|
1556
|
+
* ID of offer.
|
|
1557
|
+
*/
|
|
1025
1558
|
offerId: number;
|
|
1026
|
-
/**
|
|
1559
|
+
/**
|
|
1560
|
+
* Project ID.
|
|
1561
|
+
*/
|
|
1027
1562
|
projectId?: string;
|
|
1028
1563
|
};
|
|
1029
1564
|
export type GetOrderedServiceRequest = {
|
|
1030
|
-
/**
|
|
1565
|
+
/**
|
|
1566
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1567
|
+
*/
|
|
1031
1568
|
zone?: ScwZone;
|
|
1032
1569
|
orderedServiceId: number;
|
|
1033
1570
|
};
|
|
1034
1571
|
export type GetRaidRequest = {
|
|
1035
|
-
/**
|
|
1572
|
+
/**
|
|
1573
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1574
|
+
*/
|
|
1036
1575
|
zone?: ScwZone;
|
|
1037
|
-
/**
|
|
1576
|
+
/**
|
|
1577
|
+
* ID of the server.
|
|
1578
|
+
*/
|
|
1038
1579
|
serverId: number;
|
|
1039
1580
|
};
|
|
1040
1581
|
export type GetRemainingQuotaRequest = {
|
|
1041
|
-
/**
|
|
1582
|
+
/**
|
|
1583
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1584
|
+
*/
|
|
1042
1585
|
zone?: ScwZone;
|
|
1043
|
-
/**
|
|
1586
|
+
/**
|
|
1587
|
+
* Project ID.
|
|
1588
|
+
*/
|
|
1044
1589
|
projectId?: string;
|
|
1045
1590
|
};
|
|
1046
1591
|
export interface GetRemainingQuotaResponse {
|
|
1047
|
-
/**
|
|
1592
|
+
/**
|
|
1593
|
+
* Current failover IP quota.
|
|
1594
|
+
*/
|
|
1048
1595
|
failoverIpQuota: number;
|
|
1049
|
-
/**
|
|
1596
|
+
/**
|
|
1597
|
+
* Remaining failover IP quota.
|
|
1598
|
+
*/
|
|
1050
1599
|
failoverIpRemainingQuota: number;
|
|
1051
|
-
/**
|
|
1600
|
+
/**
|
|
1601
|
+
* Current failover block quota.
|
|
1602
|
+
*/
|
|
1052
1603
|
failoverBlockQuota: number;
|
|
1053
|
-
/**
|
|
1604
|
+
/**
|
|
1605
|
+
* Remaining failover block quota.
|
|
1606
|
+
*/
|
|
1054
1607
|
failoverBlockRemainingQuota: number;
|
|
1055
1608
|
}
|
|
1056
1609
|
export type GetRescueRequest = {
|
|
1057
|
-
/**
|
|
1610
|
+
/**
|
|
1611
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1612
|
+
*/
|
|
1058
1613
|
zone?: ScwZone;
|
|
1059
|
-
/**
|
|
1614
|
+
/**
|
|
1615
|
+
* ID of the server to get rescue.
|
|
1616
|
+
*/
|
|
1060
1617
|
serverId: number;
|
|
1061
1618
|
};
|
|
1062
1619
|
export interface GetRpnStatusResponse {
|
|
1063
|
-
/**
|
|
1620
|
+
/**
|
|
1621
|
+
* If status = 'operational', you can perform rpn actions in write.
|
|
1622
|
+
*/
|
|
1064
1623
|
status: GetRpnStatusResponseStatus;
|
|
1065
|
-
/**
|
|
1624
|
+
/**
|
|
1625
|
+
* Number of operations left to perform before being operational.
|
|
1626
|
+
*/
|
|
1066
1627
|
operationsLeft?: number;
|
|
1067
1628
|
}
|
|
1068
1629
|
export type GetServerBackupRequest = {
|
|
1069
|
-
/**
|
|
1630
|
+
/**
|
|
1631
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1632
|
+
*/
|
|
1070
1633
|
zone?: ScwZone;
|
|
1071
|
-
/**
|
|
1634
|
+
/**
|
|
1635
|
+
* Server ID of the backup.
|
|
1636
|
+
*/
|
|
1072
1637
|
serverId: number;
|
|
1073
1638
|
};
|
|
1074
1639
|
export type GetServerDefaultPartitioningRequest = {
|
|
1075
|
-
/**
|
|
1640
|
+
/**
|
|
1641
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1642
|
+
*/
|
|
1076
1643
|
zone?: ScwZone;
|
|
1077
|
-
/**
|
|
1644
|
+
/**
|
|
1645
|
+
* ID of the server.
|
|
1646
|
+
*/
|
|
1078
1647
|
serverId: number;
|
|
1079
|
-
/**
|
|
1648
|
+
/**
|
|
1649
|
+
* OS ID of the default partitioning.
|
|
1650
|
+
*/
|
|
1080
1651
|
osId: number;
|
|
1081
1652
|
};
|
|
1082
1653
|
export type GetServerInstallRequest = {
|
|
1083
|
-
/**
|
|
1654
|
+
/**
|
|
1655
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1656
|
+
*/
|
|
1084
1657
|
zone?: ScwZone;
|
|
1085
|
-
/**
|
|
1658
|
+
/**
|
|
1659
|
+
* Server ID of the server to install.
|
|
1660
|
+
*/
|
|
1086
1661
|
serverId: number;
|
|
1087
1662
|
};
|
|
1088
1663
|
export type GetServerRequest = {
|
|
1089
|
-
/**
|
|
1664
|
+
/**
|
|
1665
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1666
|
+
*/
|
|
1090
1667
|
zone?: ScwZone;
|
|
1091
|
-
/**
|
|
1668
|
+
/**
|
|
1669
|
+
* ID of the server.
|
|
1670
|
+
*/
|
|
1092
1671
|
serverId: number;
|
|
1093
1672
|
};
|
|
1094
1673
|
export type GetServiceRequest = {
|
|
1095
|
-
/**
|
|
1674
|
+
/**
|
|
1675
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1676
|
+
*/
|
|
1096
1677
|
zone?: ScwZone;
|
|
1097
|
-
/**
|
|
1678
|
+
/**
|
|
1679
|
+
* ID of the service.
|
|
1680
|
+
*/
|
|
1098
1681
|
serviceId: number;
|
|
1099
1682
|
};
|
|
1100
1683
|
export interface IPv6Block {
|
|
1101
|
-
/**
|
|
1684
|
+
/**
|
|
1685
|
+
* ID of the IPv6.
|
|
1686
|
+
*/
|
|
1102
1687
|
id: number;
|
|
1103
|
-
/**
|
|
1688
|
+
/**
|
|
1689
|
+
* Address of the IPv6.
|
|
1690
|
+
*/
|
|
1104
1691
|
address: string;
|
|
1105
|
-
/**
|
|
1692
|
+
/**
|
|
1693
|
+
* DUID of the IPv6.
|
|
1694
|
+
*/
|
|
1106
1695
|
duid: string;
|
|
1107
|
-
/**
|
|
1696
|
+
/**
|
|
1697
|
+
* DNS linked to the IPv6.
|
|
1698
|
+
*/
|
|
1108
1699
|
nameservers: string[];
|
|
1109
|
-
/**
|
|
1700
|
+
/**
|
|
1701
|
+
* Classless InterDomain Routing notation of the IPv6.
|
|
1702
|
+
*/
|
|
1110
1703
|
cidr: number;
|
|
1111
|
-
/**
|
|
1704
|
+
/**
|
|
1705
|
+
* All IPv6 subnets.
|
|
1706
|
+
*/
|
|
1112
1707
|
subnets: IPv6Block[];
|
|
1113
|
-
/**
|
|
1708
|
+
/**
|
|
1709
|
+
* The nameservers delegation status.
|
|
1710
|
+
*/
|
|
1114
1711
|
delegationStatus: IPv6BlockDelegationStatus;
|
|
1115
1712
|
}
|
|
1116
1713
|
export type IPv6BlockApiCreateIPv6BlockRequest = {
|
|
1117
|
-
/**
|
|
1714
|
+
/**
|
|
1715
|
+
* ID of the project.
|
|
1716
|
+
*/
|
|
1118
1717
|
projectId?: string;
|
|
1119
1718
|
};
|
|
1120
1719
|
export type IPv6BlockApiCreateIPv6BlockSubnetRequest = {
|
|
1121
|
-
/**
|
|
1720
|
+
/**
|
|
1721
|
+
* ID of the IPv6 block.
|
|
1722
|
+
*/
|
|
1122
1723
|
blockId: number;
|
|
1123
|
-
/**
|
|
1724
|
+
/**
|
|
1725
|
+
* Address of the IPv6.
|
|
1726
|
+
*/
|
|
1124
1727
|
address: string;
|
|
1125
|
-
/**
|
|
1728
|
+
/**
|
|
1729
|
+
* Classless InterDomain Routing notation of the IPv6.
|
|
1730
|
+
*/
|
|
1126
1731
|
cidr: number;
|
|
1127
1732
|
};
|
|
1128
1733
|
export type IPv6BlockApiDeleteIPv6BlockRequest = {
|
|
1129
|
-
/**
|
|
1734
|
+
/**
|
|
1735
|
+
* ID of the IPv6 block to delete.
|
|
1736
|
+
*/
|
|
1130
1737
|
blockId: number;
|
|
1131
1738
|
};
|
|
1132
1739
|
export type IPv6BlockApiGetIPv6BlockQuotasRequest = {
|
|
1133
|
-
/**
|
|
1740
|
+
/**
|
|
1741
|
+
* ID of the project.
|
|
1742
|
+
*/
|
|
1134
1743
|
projectId?: string;
|
|
1135
1744
|
};
|
|
1136
1745
|
export type IPv6BlockApiGetIPv6BlockRequest = {
|
|
1137
|
-
/**
|
|
1746
|
+
/**
|
|
1747
|
+
* ID of the project.
|
|
1748
|
+
*/
|
|
1138
1749
|
projectId?: string;
|
|
1139
1750
|
};
|
|
1140
1751
|
export type IPv6BlockApiListIPv6BlockSubnetsAvailableRequest = {
|
|
1141
|
-
/**
|
|
1752
|
+
/**
|
|
1753
|
+
* ID of the IPv6 block.
|
|
1754
|
+
*/
|
|
1142
1755
|
blockId: number;
|
|
1143
1756
|
};
|
|
1144
1757
|
export type IPv6BlockApiUpdateIPv6BlockRequest = {
|
|
1145
|
-
/**
|
|
1758
|
+
/**
|
|
1759
|
+
* ID of the IPv6 block.
|
|
1760
|
+
*/
|
|
1146
1761
|
blockId: number;
|
|
1147
|
-
/**
|
|
1762
|
+
/**
|
|
1763
|
+
* DNS to link to the IPv6.
|
|
1764
|
+
*/
|
|
1148
1765
|
nameservers?: string[];
|
|
1149
1766
|
};
|
|
1150
1767
|
export type InstallServerRequest = {
|
|
1151
|
-
/**
|
|
1768
|
+
/**
|
|
1769
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1770
|
+
*/
|
|
1152
1771
|
zone?: ScwZone;
|
|
1153
|
-
/**
|
|
1772
|
+
/**
|
|
1773
|
+
* Server ID to install.
|
|
1774
|
+
*/
|
|
1154
1775
|
serverId: number;
|
|
1155
|
-
/**
|
|
1776
|
+
/**
|
|
1777
|
+
* OS ID to install on the server.
|
|
1778
|
+
*/
|
|
1156
1779
|
osId: number;
|
|
1157
|
-
/**
|
|
1780
|
+
/**
|
|
1781
|
+
* Hostname of the server.
|
|
1782
|
+
*/
|
|
1158
1783
|
hostname: string;
|
|
1159
|
-
/**
|
|
1784
|
+
/**
|
|
1785
|
+
* User to install on the server.
|
|
1786
|
+
*/
|
|
1160
1787
|
userLogin?: string;
|
|
1161
|
-
/**
|
|
1788
|
+
/**
|
|
1789
|
+
* User password to install on the server.
|
|
1790
|
+
*/
|
|
1162
1791
|
userPassword?: string;
|
|
1163
|
-
/**
|
|
1792
|
+
/**
|
|
1793
|
+
* Panel password to install on the server.
|
|
1794
|
+
*/
|
|
1164
1795
|
panelPassword?: string;
|
|
1165
|
-
/**
|
|
1796
|
+
/**
|
|
1797
|
+
* Root password to install on the server.
|
|
1798
|
+
*/
|
|
1166
1799
|
rootPassword?: string;
|
|
1167
|
-
/**
|
|
1800
|
+
/**
|
|
1801
|
+
* Partitions to install on the server.
|
|
1802
|
+
*/
|
|
1168
1803
|
partitions?: InstallPartition[];
|
|
1169
|
-
/**
|
|
1804
|
+
/**
|
|
1805
|
+
* SSH key IDs authorized on the server.
|
|
1806
|
+
*/
|
|
1170
1807
|
sshKeyIds?: string[];
|
|
1171
|
-
/**
|
|
1808
|
+
/**
|
|
1809
|
+
* Offer ID of license to install on server.
|
|
1810
|
+
*/
|
|
1172
1811
|
licenseOfferId?: number;
|
|
1173
|
-
/**
|
|
1812
|
+
/**
|
|
1813
|
+
* IP to link at the license to install on server.
|
|
1814
|
+
*/
|
|
1174
1815
|
ipId?: number;
|
|
1175
1816
|
};
|
|
1176
1817
|
export interface Invoice {
|
|
@@ -1185,34 +1826,54 @@ export interface Invoice {
|
|
|
1185
1826
|
transactionId: number;
|
|
1186
1827
|
}
|
|
1187
1828
|
export type ListFailoverIPsRequest = {
|
|
1188
|
-
/**
|
|
1829
|
+
/**
|
|
1830
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1831
|
+
*/
|
|
1189
1832
|
zone?: ScwZone;
|
|
1190
|
-
/**
|
|
1833
|
+
/**
|
|
1834
|
+
* Page number.
|
|
1835
|
+
*/
|
|
1191
1836
|
page?: number;
|
|
1192
|
-
/**
|
|
1837
|
+
/**
|
|
1838
|
+
* Number of failovers IP per page.
|
|
1839
|
+
*/
|
|
1193
1840
|
pageSize?: number;
|
|
1194
|
-
/**
|
|
1841
|
+
/**
|
|
1842
|
+
* Order of the failovers IP.
|
|
1843
|
+
*/
|
|
1195
1844
|
orderBy?: ListFailoverIPsRequestOrderBy;
|
|
1196
|
-
/**
|
|
1845
|
+
/**
|
|
1846
|
+
* Filter failovers IP by project ID.
|
|
1847
|
+
*/
|
|
1197
1848
|
projectId?: string;
|
|
1198
|
-
/**
|
|
1849
|
+
/**
|
|
1850
|
+
* Filter failovers IP which matching with this field.
|
|
1851
|
+
*/
|
|
1199
1852
|
search?: string;
|
|
1200
1853
|
/**
|
|
1201
|
-
* True: return all failovers IP not attached on server
|
|
1202
|
-
|
|
1854
|
+
* True: return all failovers IP not attached on server
|
|
1855
|
+
false: return all failovers IP attached on server.
|
|
1203
1856
|
*/
|
|
1204
1857
|
onlyAvailable?: boolean;
|
|
1205
1858
|
};
|
|
1206
1859
|
export interface ListFailoverIPsResponse {
|
|
1207
|
-
/**
|
|
1860
|
+
/**
|
|
1861
|
+
* Total count of matching failovers IP.
|
|
1862
|
+
*/
|
|
1208
1863
|
totalCount: number;
|
|
1209
|
-
/**
|
|
1864
|
+
/**
|
|
1865
|
+
* List of failover IPs that match filters.
|
|
1866
|
+
*/
|
|
1210
1867
|
failoverIps: FailoverIP[];
|
|
1211
1868
|
}
|
|
1212
1869
|
export interface ListIPv6BlockSubnetsAvailableResponse {
|
|
1213
|
-
/**
|
|
1870
|
+
/**
|
|
1871
|
+
* All available address and CIDR available in subnet.
|
|
1872
|
+
*/
|
|
1214
1873
|
subnetAvailables: ListIPv6BlockSubnetsAvailableResponseSubnet[];
|
|
1215
|
-
/**
|
|
1874
|
+
/**
|
|
1875
|
+
* Total count of available subnets.
|
|
1876
|
+
*/
|
|
1216
1877
|
totalCount: number;
|
|
1217
1878
|
}
|
|
1218
1879
|
export interface ListInvoicesResponse {
|
|
@@ -1220,63 +1881,113 @@ export interface ListInvoicesResponse {
|
|
|
1220
1881
|
invoices: InvoiceSummary[];
|
|
1221
1882
|
}
|
|
1222
1883
|
export interface ListIpsResponse {
|
|
1223
|
-
/**
|
|
1884
|
+
/**
|
|
1885
|
+
* Total count of authorized IPs.
|
|
1886
|
+
*/
|
|
1224
1887
|
totalCount: number;
|
|
1225
|
-
/**
|
|
1888
|
+
/**
|
|
1889
|
+
* List of authorized IPs.
|
|
1890
|
+
*/
|
|
1226
1891
|
ips: RpnSanIp[];
|
|
1227
1892
|
}
|
|
1228
1893
|
export type ListOSRequest = {
|
|
1229
|
-
/**
|
|
1894
|
+
/**
|
|
1895
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1896
|
+
*/
|
|
1230
1897
|
zone?: ScwZone;
|
|
1231
|
-
/**
|
|
1898
|
+
/**
|
|
1899
|
+
* Page number.
|
|
1900
|
+
*/
|
|
1232
1901
|
page?: number;
|
|
1233
|
-
/**
|
|
1902
|
+
/**
|
|
1903
|
+
* Number of OS per page.
|
|
1904
|
+
*/
|
|
1234
1905
|
pageSize?: number;
|
|
1235
|
-
/**
|
|
1906
|
+
/**
|
|
1907
|
+
* Order of the OS.
|
|
1908
|
+
*/
|
|
1236
1909
|
orderBy?: ListOSRequestOrderBy;
|
|
1237
|
-
/**
|
|
1910
|
+
/**
|
|
1911
|
+
* Type of the OS.
|
|
1912
|
+
*/
|
|
1238
1913
|
type?: OSType;
|
|
1239
|
-
/**
|
|
1914
|
+
/**
|
|
1915
|
+
* Filter OS by compatible server ID.
|
|
1916
|
+
*/
|
|
1240
1917
|
serverId: number;
|
|
1241
|
-
/**
|
|
1918
|
+
/**
|
|
1919
|
+
* Project ID.
|
|
1920
|
+
*/
|
|
1242
1921
|
projectId?: string;
|
|
1243
1922
|
};
|
|
1244
1923
|
export interface ListOSResponse {
|
|
1245
|
-
/**
|
|
1924
|
+
/**
|
|
1925
|
+
* Total count of matching OS.
|
|
1926
|
+
*/
|
|
1246
1927
|
totalCount: number;
|
|
1247
|
-
/**
|
|
1928
|
+
/**
|
|
1929
|
+
* OS that match filters.
|
|
1930
|
+
*/
|
|
1248
1931
|
os: OS[];
|
|
1249
1932
|
}
|
|
1250
1933
|
export type ListOffersRequest = {
|
|
1251
|
-
/**
|
|
1934
|
+
/**
|
|
1935
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
1936
|
+
*/
|
|
1252
1937
|
zone?: ScwZone;
|
|
1253
|
-
/**
|
|
1938
|
+
/**
|
|
1939
|
+
* Page number.
|
|
1940
|
+
*/
|
|
1254
1941
|
page?: number;
|
|
1255
|
-
/**
|
|
1942
|
+
/**
|
|
1943
|
+
* Number of offer per page.
|
|
1944
|
+
*/
|
|
1256
1945
|
pageSize?: number;
|
|
1257
|
-
/**
|
|
1946
|
+
/**
|
|
1947
|
+
* Order of the offers.
|
|
1948
|
+
*/
|
|
1258
1949
|
orderBy?: ListOffersRequestOrderBy;
|
|
1259
|
-
/**
|
|
1950
|
+
/**
|
|
1951
|
+
* Filter on commercial range.
|
|
1952
|
+
*/
|
|
1260
1953
|
commercialRange?: string;
|
|
1261
|
-
/**
|
|
1954
|
+
/**
|
|
1955
|
+
* Filter on catalog.
|
|
1956
|
+
*/
|
|
1262
1957
|
catalog?: OfferCatalog;
|
|
1263
|
-
/**
|
|
1958
|
+
/**
|
|
1959
|
+
* Project ID.
|
|
1960
|
+
*/
|
|
1264
1961
|
projectId?: string;
|
|
1265
|
-
/**
|
|
1962
|
+
/**
|
|
1963
|
+
* Get the current failover IP offer.
|
|
1964
|
+
*/
|
|
1266
1965
|
isFailoverIp?: boolean;
|
|
1267
|
-
/**
|
|
1966
|
+
/**
|
|
1967
|
+
* Get the current failover IP block offer.
|
|
1968
|
+
*/
|
|
1268
1969
|
isFailoverBlock?: boolean;
|
|
1269
|
-
/**
|
|
1970
|
+
/**
|
|
1971
|
+
* Filter offers depending on their datacenter.
|
|
1972
|
+
*/
|
|
1270
1973
|
soldIn?: string[];
|
|
1271
|
-
/**
|
|
1974
|
+
/**
|
|
1975
|
+
* Set this filter to true to only return available offers.
|
|
1976
|
+
*/
|
|
1272
1977
|
availableOnly?: boolean;
|
|
1273
|
-
/**
|
|
1978
|
+
/**
|
|
1979
|
+
* Get the RPN SAN offers.
|
|
1980
|
+
*/
|
|
1274
1981
|
isRpnSan?: boolean;
|
|
1275
1982
|
};
|
|
1276
1983
|
export interface ListOffersResponse {
|
|
1277
|
-
/**
|
|
1984
|
+
/**
|
|
1985
|
+
* Total count of matching offers.
|
|
1986
|
+
*/
|
|
1278
1987
|
totalCount: number;
|
|
1279
|
-
/**
|
|
1988
|
+
/**
|
|
1989
|
+
* Offers that match filters.
|
|
1990
|
+
*/
|
|
1280
1991
|
offers: Offer[];
|
|
1281
1992
|
}
|
|
1282
1993
|
export interface ListRefundsResponse {
|
|
@@ -1284,159 +1995,273 @@ export interface ListRefundsResponse {
|
|
|
1284
1995
|
refunds: RefundSummary[];
|
|
1285
1996
|
}
|
|
1286
1997
|
export interface ListRpnCapableSanServersResponse {
|
|
1287
|
-
/**
|
|
1998
|
+
/**
|
|
1999
|
+
* Total count of rpn capable san servers.
|
|
2000
|
+
*/
|
|
1288
2001
|
totalCount: number;
|
|
1289
|
-
/**
|
|
2002
|
+
/**
|
|
2003
|
+
* List of san servers.
|
|
2004
|
+
*/
|
|
1290
2005
|
sanServers: RpnSanServer[];
|
|
1291
2006
|
}
|
|
1292
2007
|
export interface ListRpnCapableServersResponse {
|
|
1293
|
-
/**
|
|
2008
|
+
/**
|
|
2009
|
+
* Total count of rpn capable servers.
|
|
2010
|
+
*/
|
|
1294
2011
|
totalCount: number;
|
|
1295
|
-
/**
|
|
2012
|
+
/**
|
|
2013
|
+
* List of servers.
|
|
2014
|
+
*/
|
|
1296
2015
|
servers: Server[];
|
|
1297
2016
|
}
|
|
1298
2017
|
export interface ListRpnGroupMembersResponse {
|
|
1299
|
-
/**
|
|
2018
|
+
/**
|
|
2019
|
+
* Total count of rpn v1 group members.
|
|
2020
|
+
*/
|
|
1300
2021
|
totalCount: number;
|
|
1301
|
-
/**
|
|
2022
|
+
/**
|
|
2023
|
+
* List of rpn v1 group members.
|
|
2024
|
+
*/
|
|
1302
2025
|
members: RpnGroupMember[];
|
|
1303
2026
|
}
|
|
1304
2027
|
export interface ListRpnGroupsResponse {
|
|
1305
|
-
/**
|
|
2028
|
+
/**
|
|
2029
|
+
* Total count of rpn groups.
|
|
2030
|
+
*/
|
|
1306
2031
|
totalCount: number;
|
|
1307
|
-
/**
|
|
2032
|
+
/**
|
|
2033
|
+
* List of rpn v1 groups.
|
|
2034
|
+
*/
|
|
1308
2035
|
rpnGroups: RpnGroup[];
|
|
1309
2036
|
}
|
|
1310
2037
|
export interface ListRpnInvitesResponse {
|
|
1311
|
-
/**
|
|
2038
|
+
/**
|
|
2039
|
+
* Total count of invites.
|
|
2040
|
+
*/
|
|
1312
2041
|
totalCount: number;
|
|
1313
|
-
/**
|
|
2042
|
+
/**
|
|
2043
|
+
* List of invites.
|
|
2044
|
+
*/
|
|
1314
2045
|
members: RpnGroupMember[];
|
|
1315
2046
|
}
|
|
1316
2047
|
export interface ListRpnSansResponse {
|
|
1317
|
-
/**
|
|
2048
|
+
/**
|
|
2049
|
+
* Total count of matching RPN SANs.
|
|
2050
|
+
*/
|
|
1318
2051
|
totalCount: number;
|
|
1319
|
-
/**
|
|
2052
|
+
/**
|
|
2053
|
+
* List of RPN SANs that match filters.
|
|
2054
|
+
*/
|
|
1320
2055
|
rpnSans: RpnSanSummary[];
|
|
1321
2056
|
}
|
|
1322
2057
|
export interface ListRpnServerCapabilitiesResponse {
|
|
1323
|
-
/**
|
|
2058
|
+
/**
|
|
2059
|
+
* Total count of servers.
|
|
2060
|
+
*/
|
|
1324
2061
|
totalCount: number;
|
|
1325
|
-
/**
|
|
2062
|
+
/**
|
|
2063
|
+
* List of servers and their RPN capabilities.
|
|
2064
|
+
*/
|
|
1326
2065
|
servers: RpnServerCapability[];
|
|
1327
2066
|
}
|
|
1328
2067
|
export interface ListRpnV2CapableResourcesResponse {
|
|
1329
|
-
/**
|
|
2068
|
+
/**
|
|
2069
|
+
* Total count of matching rpn v2 capable resources.
|
|
2070
|
+
*/
|
|
1330
2071
|
totalCount: number;
|
|
1331
|
-
/**
|
|
2072
|
+
/**
|
|
2073
|
+
* List of rpn v2 capable resources that match filters.
|
|
2074
|
+
*/
|
|
1332
2075
|
servers: Server[];
|
|
1333
2076
|
}
|
|
1334
2077
|
export interface ListRpnV2GroupLogsResponse {
|
|
1335
|
-
/**
|
|
2078
|
+
/**
|
|
2079
|
+
* Total count of matching rpn v2 logs.
|
|
2080
|
+
*/
|
|
1336
2081
|
totalCount: number;
|
|
1337
|
-
/**
|
|
2082
|
+
/**
|
|
2083
|
+
* List of rpn v2 logs that match filters.
|
|
2084
|
+
*/
|
|
1338
2085
|
logs: Log[];
|
|
1339
2086
|
}
|
|
1340
2087
|
export interface ListRpnV2GroupsResponse {
|
|
1341
|
-
/**
|
|
2088
|
+
/**
|
|
2089
|
+
* Total count of matching rpn v2 groups.
|
|
2090
|
+
*/
|
|
1342
2091
|
totalCount: number;
|
|
1343
|
-
/**
|
|
2092
|
+
/**
|
|
2093
|
+
* List of rpn v2 groups that match filters.
|
|
2094
|
+
*/
|
|
1344
2095
|
rpnGroups: RpnV2Group[];
|
|
1345
2096
|
}
|
|
1346
2097
|
export interface ListRpnV2MembersResponse {
|
|
1347
|
-
/**
|
|
2098
|
+
/**
|
|
2099
|
+
* Total count of matching rpn v2 group members.
|
|
2100
|
+
*/
|
|
1348
2101
|
totalCount: number;
|
|
1349
|
-
/**
|
|
2102
|
+
/**
|
|
2103
|
+
* List of rpn v2 group members that match filters.
|
|
2104
|
+
*/
|
|
1350
2105
|
members: RpnV2Member[];
|
|
1351
2106
|
}
|
|
1352
2107
|
export type ListServerDisksRequest = {
|
|
1353
|
-
/**
|
|
2108
|
+
/**
|
|
2109
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2110
|
+
*/
|
|
1354
2111
|
zone?: ScwZone;
|
|
1355
|
-
/**
|
|
2112
|
+
/**
|
|
2113
|
+
* Server ID of the server disks.
|
|
2114
|
+
*/
|
|
1356
2115
|
serverId: number;
|
|
1357
|
-
/**
|
|
2116
|
+
/**
|
|
2117
|
+
* Page number.
|
|
2118
|
+
*/
|
|
1358
2119
|
page?: number;
|
|
1359
|
-
/**
|
|
2120
|
+
/**
|
|
2121
|
+
* Number of server disk per page.
|
|
2122
|
+
*/
|
|
1360
2123
|
pageSize?: number;
|
|
1361
|
-
/**
|
|
2124
|
+
/**
|
|
2125
|
+
* Order of the server disks.
|
|
2126
|
+
*/
|
|
1362
2127
|
orderBy?: ListServerDisksRequestOrderBy;
|
|
1363
2128
|
};
|
|
1364
2129
|
export interface ListServerDisksResponse {
|
|
1365
|
-
/**
|
|
2130
|
+
/**
|
|
2131
|
+
* Total count of matching server disks.
|
|
2132
|
+
*/
|
|
1366
2133
|
totalCount: number;
|
|
1367
|
-
/**
|
|
2134
|
+
/**
|
|
2135
|
+
* Server disks that match filters.
|
|
2136
|
+
*/
|
|
1368
2137
|
disks: ServerDisk[];
|
|
1369
2138
|
}
|
|
1370
2139
|
export type ListServerEventsRequest = {
|
|
1371
|
-
/**
|
|
2140
|
+
/**
|
|
2141
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2142
|
+
*/
|
|
1372
2143
|
zone?: ScwZone;
|
|
1373
|
-
/**
|
|
2144
|
+
/**
|
|
2145
|
+
* Server ID of the server events.
|
|
2146
|
+
*/
|
|
1374
2147
|
serverId: number;
|
|
1375
|
-
/**
|
|
2148
|
+
/**
|
|
2149
|
+
* Page number.
|
|
2150
|
+
*/
|
|
1376
2151
|
page?: number;
|
|
1377
|
-
/**
|
|
2152
|
+
/**
|
|
2153
|
+
* Number of server event per page.
|
|
2154
|
+
*/
|
|
1378
2155
|
pageSize?: number;
|
|
1379
|
-
/**
|
|
2156
|
+
/**
|
|
2157
|
+
* Order of the server events.
|
|
2158
|
+
*/
|
|
1380
2159
|
orderBy?: ListServerEventsRequestOrderBy;
|
|
1381
2160
|
};
|
|
1382
2161
|
export interface ListServerEventsResponse {
|
|
1383
|
-
/**
|
|
2162
|
+
/**
|
|
2163
|
+
* Total count of matching server events.
|
|
2164
|
+
*/
|
|
1384
2165
|
totalCount: number;
|
|
1385
|
-
/**
|
|
2166
|
+
/**
|
|
2167
|
+
* Server events that match filters.
|
|
2168
|
+
*/
|
|
1386
2169
|
events: ServerEvent[];
|
|
1387
2170
|
}
|
|
1388
2171
|
export type ListServersRequest = {
|
|
1389
|
-
/**
|
|
2172
|
+
/**
|
|
2173
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2174
|
+
*/
|
|
1390
2175
|
zone?: ScwZone;
|
|
1391
|
-
/**
|
|
2176
|
+
/**
|
|
2177
|
+
* Page number.
|
|
2178
|
+
*/
|
|
1392
2179
|
page?: number;
|
|
1393
|
-
/**
|
|
2180
|
+
/**
|
|
2181
|
+
* Number of server per page.
|
|
2182
|
+
*/
|
|
1394
2183
|
pageSize?: number;
|
|
1395
|
-
/**
|
|
2184
|
+
/**
|
|
2185
|
+
* Order of the servers.
|
|
2186
|
+
*/
|
|
1396
2187
|
orderBy?: ListServersRequestOrderBy;
|
|
1397
|
-
/**
|
|
2188
|
+
/**
|
|
2189
|
+
* Filter servers by project ID.
|
|
2190
|
+
*/
|
|
1398
2191
|
projectId?: string;
|
|
1399
|
-
/**
|
|
2192
|
+
/**
|
|
2193
|
+
* Filter servers by hostname.
|
|
2194
|
+
*/
|
|
1400
2195
|
search?: string;
|
|
1401
2196
|
};
|
|
1402
2197
|
export interface ListServersResponse {
|
|
1403
|
-
/**
|
|
2198
|
+
/**
|
|
2199
|
+
* Total count of matching servers.
|
|
2200
|
+
*/
|
|
1404
2201
|
totalCount: number;
|
|
1405
|
-
/**
|
|
2202
|
+
/**
|
|
2203
|
+
* Servers that match filters.
|
|
2204
|
+
*/
|
|
1406
2205
|
servers: ServerSummary[];
|
|
1407
2206
|
}
|
|
1408
2207
|
export type ListServicesRequest = {
|
|
1409
|
-
/**
|
|
2208
|
+
/**
|
|
2209
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2210
|
+
*/
|
|
1410
2211
|
zone?: ScwZone;
|
|
1411
|
-
/**
|
|
2212
|
+
/**
|
|
2213
|
+
* Page number.
|
|
2214
|
+
*/
|
|
1412
2215
|
page?: number;
|
|
1413
|
-
/**
|
|
2216
|
+
/**
|
|
2217
|
+
* Number of service per page.
|
|
2218
|
+
*/
|
|
1414
2219
|
pageSize?: number;
|
|
1415
|
-
/**
|
|
2220
|
+
/**
|
|
2221
|
+
* Order of the services.
|
|
2222
|
+
*/
|
|
1416
2223
|
orderBy?: ListServicesRequestOrderBy;
|
|
1417
|
-
/**
|
|
2224
|
+
/**
|
|
2225
|
+
* Project ID.
|
|
2226
|
+
*/
|
|
1418
2227
|
projectId?: string;
|
|
1419
2228
|
};
|
|
1420
2229
|
export interface ListServicesResponse {
|
|
1421
|
-
/**
|
|
2230
|
+
/**
|
|
2231
|
+
* Total count of matching services.
|
|
2232
|
+
*/
|
|
1422
2233
|
totalCount: number;
|
|
1423
|
-
/**
|
|
2234
|
+
/**
|
|
2235
|
+
* Services that match filters.
|
|
2236
|
+
*/
|
|
1424
2237
|
services: Service[];
|
|
1425
2238
|
}
|
|
1426
2239
|
export type ListSubscribableServerOptionsRequest = {
|
|
1427
|
-
/**
|
|
2240
|
+
/**
|
|
2241
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2242
|
+
*/
|
|
1428
2243
|
zone?: ScwZone;
|
|
1429
|
-
/**
|
|
2244
|
+
/**
|
|
2245
|
+
* Server ID of the subscribable server options.
|
|
2246
|
+
*/
|
|
1430
2247
|
serverId: number;
|
|
1431
|
-
/**
|
|
2248
|
+
/**
|
|
2249
|
+
* Page number.
|
|
2250
|
+
*/
|
|
1432
2251
|
page?: number;
|
|
1433
|
-
/**
|
|
2252
|
+
/**
|
|
2253
|
+
* Number of subscribable server option per page.
|
|
2254
|
+
*/
|
|
1434
2255
|
pageSize?: number;
|
|
1435
2256
|
};
|
|
1436
2257
|
export interface ListSubscribableServerOptionsResponse {
|
|
1437
|
-
/**
|
|
2258
|
+
/**
|
|
2259
|
+
* Total count of matching subscribable server options.
|
|
2260
|
+
*/
|
|
1438
2261
|
totalCount: number;
|
|
1439
|
-
/**
|
|
2262
|
+
/**
|
|
2263
|
+
* Server options that match filters.
|
|
2264
|
+
*/
|
|
1440
2265
|
serverOptions: Offer[];
|
|
1441
2266
|
}
|
|
1442
2267
|
export interface OfferFailoverBlockInfo {
|
|
@@ -1474,13 +2299,19 @@ export interface OfferServiceLevelInfo {
|
|
|
1474
2299
|
availableOptions: Offer[];
|
|
1475
2300
|
}
|
|
1476
2301
|
export interface Raid {
|
|
1477
|
-
/**
|
|
2302
|
+
/**
|
|
2303
|
+
* Details about the RAID controller.
|
|
2304
|
+
*/
|
|
1478
2305
|
raidArrays: RaidArray[];
|
|
1479
2306
|
}
|
|
1480
2307
|
export type RebootServerRequest = {
|
|
1481
|
-
/**
|
|
2308
|
+
/**
|
|
2309
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2310
|
+
*/
|
|
1482
2311
|
zone?: ScwZone;
|
|
1483
|
-
/**
|
|
2312
|
+
/**
|
|
2313
|
+
* Server ID to reboot.
|
|
2314
|
+
*/
|
|
1484
2315
|
serverId: number;
|
|
1485
2316
|
};
|
|
1486
2317
|
export interface Refund {
|
|
@@ -1494,293 +2325,504 @@ export interface Refund {
|
|
|
1494
2325
|
content: string;
|
|
1495
2326
|
}
|
|
1496
2327
|
export interface Rescue {
|
|
1497
|
-
/**
|
|
2328
|
+
/**
|
|
2329
|
+
* OS ID of the rescue.
|
|
2330
|
+
*/
|
|
1498
2331
|
osId: number;
|
|
1499
|
-
/**
|
|
2332
|
+
/**
|
|
2333
|
+
* Login of the rescue.
|
|
2334
|
+
*/
|
|
1500
2335
|
login: string;
|
|
1501
|
-
/**
|
|
2336
|
+
/**
|
|
2337
|
+
* Password of the rescue.
|
|
2338
|
+
*/
|
|
1502
2339
|
password: string;
|
|
1503
|
-
/**
|
|
2340
|
+
/**
|
|
2341
|
+
* Protocol of the resuce.
|
|
2342
|
+
*/
|
|
1504
2343
|
protocol: RescueProtocol;
|
|
1505
2344
|
}
|
|
1506
2345
|
export type RpnApiGetRpnStatusRequest = {
|
|
1507
|
-
/**
|
|
2346
|
+
/**
|
|
2347
|
+
* A project ID.
|
|
2348
|
+
*/
|
|
1508
2349
|
projectId?: string;
|
|
1509
|
-
/**
|
|
2350
|
+
/**
|
|
2351
|
+
* An RPN v1 group ID.
|
|
2352
|
+
*/
|
|
1510
2353
|
rpnv1GroupId?: number;
|
|
1511
|
-
/**
|
|
2354
|
+
/**
|
|
2355
|
+
* An RPN v2 group ID.
|
|
2356
|
+
*/
|
|
1512
2357
|
rpnv2GroupId?: number;
|
|
1513
2358
|
};
|
|
1514
2359
|
export type RpnApiListRpnServerCapabilitiesRequest = {
|
|
1515
|
-
/**
|
|
2360
|
+
/**
|
|
2361
|
+
* Page number.
|
|
2362
|
+
*/
|
|
1516
2363
|
page?: number;
|
|
1517
|
-
/**
|
|
2364
|
+
/**
|
|
2365
|
+
* Number of servers per page.
|
|
2366
|
+
*/
|
|
1518
2367
|
pageSize?: number;
|
|
1519
|
-
/**
|
|
2368
|
+
/**
|
|
2369
|
+
* Order of the servers.
|
|
2370
|
+
*/
|
|
1520
2371
|
orderBy?: ListRpnServerCapabilitiesRequestOrderBy;
|
|
1521
|
-
/**
|
|
2372
|
+
/**
|
|
2373
|
+
* Filter servers by project ID.
|
|
2374
|
+
*/
|
|
1522
2375
|
projectId?: string;
|
|
1523
2376
|
};
|
|
1524
2377
|
export type RpnSanApiAddIpRequest = {
|
|
1525
|
-
/**
|
|
2378
|
+
/**
|
|
2379
|
+
* RPN SAN ID.
|
|
2380
|
+
*/
|
|
1526
2381
|
rpnSanId: number;
|
|
1527
|
-
/**
|
|
2382
|
+
/**
|
|
2383
|
+
* An array of IP ID.
|
|
2384
|
+
*/
|
|
1528
2385
|
ipIds: number[];
|
|
1529
2386
|
};
|
|
1530
2387
|
export type RpnSanApiCreateRpnSanRequest = {
|
|
1531
|
-
/**
|
|
2388
|
+
/**
|
|
2389
|
+
* Offer ID.
|
|
2390
|
+
*/
|
|
1532
2391
|
offerId: number;
|
|
1533
|
-
/**
|
|
2392
|
+
/**
|
|
2393
|
+
* Your project ID.
|
|
2394
|
+
*/
|
|
1534
2395
|
projectId?: string;
|
|
1535
2396
|
};
|
|
1536
2397
|
export type RpnSanApiDeleteRpnSanRequest = {
|
|
1537
|
-
/**
|
|
2398
|
+
/**
|
|
2399
|
+
* RPN SAN ID.
|
|
2400
|
+
*/
|
|
1538
2401
|
rpnSanId: number;
|
|
1539
2402
|
};
|
|
1540
2403
|
export type RpnSanApiGetRpnSanRequest = {
|
|
1541
|
-
/**
|
|
2404
|
+
/**
|
|
2405
|
+
* RPN SAN ID.
|
|
2406
|
+
*/
|
|
1542
2407
|
rpnSanId: number;
|
|
1543
2408
|
};
|
|
1544
2409
|
export type RpnSanApiListAvailableIpsRequest = {
|
|
1545
|
-
/**
|
|
2410
|
+
/**
|
|
2411
|
+
* RPN SAN ID.
|
|
2412
|
+
*/
|
|
1546
2413
|
rpnSanId: number;
|
|
1547
|
-
/**
|
|
2414
|
+
/**
|
|
2415
|
+
* Filter by IP type (server | rpnv2_subnet).
|
|
2416
|
+
*/
|
|
1548
2417
|
type?: RpnSanIpType;
|
|
1549
2418
|
};
|
|
1550
2419
|
export type RpnSanApiListIpsRequest = {
|
|
1551
|
-
/**
|
|
2420
|
+
/**
|
|
2421
|
+
* RPN SAN ID.
|
|
2422
|
+
*/
|
|
1552
2423
|
rpnSanId: number;
|
|
1553
|
-
/**
|
|
2424
|
+
/**
|
|
2425
|
+
* Filter by IP type (server | rpnv2_subnet).
|
|
2426
|
+
*/
|
|
1554
2427
|
type?: RpnSanIpType;
|
|
1555
2428
|
};
|
|
1556
2429
|
export type RpnSanApiListRpnSansRequest = {
|
|
1557
|
-
/**
|
|
2430
|
+
/**
|
|
2431
|
+
* Page number.
|
|
2432
|
+
*/
|
|
1558
2433
|
page?: number;
|
|
1559
|
-
/**
|
|
2434
|
+
/**
|
|
2435
|
+
* Number of RPN SANs per page.
|
|
2436
|
+
*/
|
|
1560
2437
|
pageSize?: number;
|
|
1561
|
-
/**
|
|
2438
|
+
/**
|
|
2439
|
+
* Order of the RPN SANs.
|
|
2440
|
+
*/
|
|
1562
2441
|
orderBy?: ListRpnSansRequestOrderBy;
|
|
1563
|
-
/**
|
|
2442
|
+
/**
|
|
2443
|
+
* Filter RPN SANs by project ID.
|
|
2444
|
+
*/
|
|
1564
2445
|
projectId?: string;
|
|
1565
2446
|
};
|
|
1566
2447
|
export type RpnSanApiRemoveIpRequest = {
|
|
1567
|
-
/**
|
|
2448
|
+
/**
|
|
2449
|
+
* RPN SAN ID.
|
|
2450
|
+
*/
|
|
1568
2451
|
rpnSanId: number;
|
|
1569
|
-
/**
|
|
2452
|
+
/**
|
|
2453
|
+
* An array of IP ID.
|
|
2454
|
+
*/
|
|
1570
2455
|
ipIds: number[];
|
|
1571
2456
|
};
|
|
1572
2457
|
export type RpnV1ApiAcceptRpnInviteRequest = {
|
|
1573
|
-
/**
|
|
2458
|
+
/**
|
|
2459
|
+
* The member ID.
|
|
2460
|
+
*/
|
|
1574
2461
|
memberId: number;
|
|
1575
2462
|
};
|
|
1576
2463
|
export type RpnV1ApiAddRpnGroupMembersRequest = {
|
|
1577
|
-
/**
|
|
2464
|
+
/**
|
|
2465
|
+
* The rpn v1 group ID.
|
|
2466
|
+
*/
|
|
1578
2467
|
groupId: number;
|
|
1579
|
-
/**
|
|
2468
|
+
/**
|
|
2469
|
+
* A collection of rpn v1 capable server IDs.
|
|
2470
|
+
*/
|
|
1580
2471
|
serverIds?: number[];
|
|
1581
|
-
/**
|
|
2472
|
+
/**
|
|
2473
|
+
* A collection of rpn v1 capable RPN SAN server IDs.
|
|
2474
|
+
*/
|
|
1582
2475
|
sanServerIds?: number[];
|
|
1583
2476
|
};
|
|
1584
2477
|
export type RpnV1ApiCreateRpnGroupRequest = {
|
|
1585
|
-
/**
|
|
2478
|
+
/**
|
|
2479
|
+
* Rpn v1 group name.
|
|
2480
|
+
*/
|
|
1586
2481
|
name: string;
|
|
1587
|
-
/**
|
|
2482
|
+
/**
|
|
2483
|
+
* A collection of rpn v1 capable servers.
|
|
2484
|
+
*/
|
|
1588
2485
|
serverIds?: number[];
|
|
1589
|
-
/**
|
|
2486
|
+
/**
|
|
2487
|
+
* A collection of rpn v1 capable rpn sans servers.
|
|
2488
|
+
*/
|
|
1590
2489
|
sanServerIds?: number[];
|
|
1591
|
-
/**
|
|
2490
|
+
/**
|
|
2491
|
+
* A project ID.
|
|
2492
|
+
*/
|
|
1592
2493
|
projectId?: string;
|
|
1593
2494
|
};
|
|
1594
2495
|
export type RpnV1ApiDeleteRpnGroupMembersRequest = {
|
|
1595
|
-
/**
|
|
2496
|
+
/**
|
|
2497
|
+
* The rpn v1 group ID.
|
|
2498
|
+
*/
|
|
1596
2499
|
groupId: number;
|
|
1597
|
-
/**
|
|
2500
|
+
/**
|
|
2501
|
+
* A collection of rpn v1 group members IDs.
|
|
2502
|
+
*/
|
|
1598
2503
|
memberIds: number[];
|
|
1599
2504
|
};
|
|
1600
2505
|
export type RpnV1ApiDeleteRpnGroupRequest = {
|
|
1601
|
-
/**
|
|
2506
|
+
/**
|
|
2507
|
+
* Rpn v1 group ID.
|
|
2508
|
+
*/
|
|
1602
2509
|
groupId: number;
|
|
1603
2510
|
};
|
|
1604
2511
|
export type RpnV1ApiGetRpnGroupRequest = {
|
|
1605
|
-
/**
|
|
2512
|
+
/**
|
|
2513
|
+
* Rpn v1 group ID.
|
|
2514
|
+
*/
|
|
1606
2515
|
groupId: number;
|
|
1607
2516
|
};
|
|
1608
2517
|
export type RpnV1ApiLeaveRpnGroupRequest = {
|
|
1609
|
-
/**
|
|
2518
|
+
/**
|
|
2519
|
+
* The RPN V1 group ID.
|
|
2520
|
+
*/
|
|
1610
2521
|
groupId: number;
|
|
1611
|
-
/**
|
|
2522
|
+
/**
|
|
2523
|
+
* A project ID.
|
|
2524
|
+
*/
|
|
1612
2525
|
projectId?: string;
|
|
1613
|
-
/**
|
|
2526
|
+
/**
|
|
2527
|
+
* A collection of rpn v1 group members IDs.
|
|
2528
|
+
*/
|
|
1614
2529
|
memberIds: number[];
|
|
1615
2530
|
};
|
|
1616
2531
|
export type RpnV1ApiListRpnCapableSanServersRequest = {
|
|
1617
|
-
/**
|
|
2532
|
+
/**
|
|
2533
|
+
* Page number.
|
|
2534
|
+
*/
|
|
1618
2535
|
page?: number;
|
|
1619
|
-
/**
|
|
2536
|
+
/**
|
|
2537
|
+
* Number of rpn capable resources per page.
|
|
2538
|
+
*/
|
|
1620
2539
|
pageSize?: number;
|
|
1621
|
-
/**
|
|
2540
|
+
/**
|
|
2541
|
+
* Order of the rpn capable resources.
|
|
2542
|
+
*/
|
|
1622
2543
|
orderBy?: ListRpnCapableSanServersRequestOrderBy;
|
|
1623
|
-
/**
|
|
2544
|
+
/**
|
|
2545
|
+
* Filter rpn capable resources by project ID.
|
|
2546
|
+
*/
|
|
1624
2547
|
projectId?: string;
|
|
1625
2548
|
};
|
|
1626
2549
|
export type RpnV1ApiListRpnCapableServersRequest = {
|
|
1627
|
-
/**
|
|
2550
|
+
/**
|
|
2551
|
+
* Page number.
|
|
2552
|
+
*/
|
|
1628
2553
|
page?: number;
|
|
1629
|
-
/**
|
|
2554
|
+
/**
|
|
2555
|
+
* Number of rpn capable resources per page.
|
|
2556
|
+
*/
|
|
1630
2557
|
pageSize?: number;
|
|
1631
|
-
/**
|
|
2558
|
+
/**
|
|
2559
|
+
* Order of the rpn capable resources.
|
|
2560
|
+
*/
|
|
1632
2561
|
orderBy?: ListRpnCapableServersRequestOrderBy;
|
|
1633
|
-
/**
|
|
2562
|
+
/**
|
|
2563
|
+
* Filter rpn capable resources by project ID.
|
|
2564
|
+
*/
|
|
1634
2565
|
projectId?: string;
|
|
1635
2566
|
};
|
|
1636
2567
|
export type RpnV1ApiListRpnGroupMembersRequest = {
|
|
1637
|
-
/**
|
|
2568
|
+
/**
|
|
2569
|
+
* Filter rpn v1 group members by group ID.
|
|
2570
|
+
*/
|
|
1638
2571
|
groupId: number;
|
|
1639
|
-
/**
|
|
2572
|
+
/**
|
|
2573
|
+
* Page number.
|
|
2574
|
+
*/
|
|
1640
2575
|
page?: number;
|
|
1641
|
-
/**
|
|
2576
|
+
/**
|
|
2577
|
+
* Number of rpn v1 group members per page.
|
|
2578
|
+
*/
|
|
1642
2579
|
pageSize?: number;
|
|
1643
|
-
/**
|
|
2580
|
+
/**
|
|
2581
|
+
* Order of the rpn v1 group members.
|
|
2582
|
+
*/
|
|
1644
2583
|
orderBy?: ListRpnGroupMembersRequestOrderBy;
|
|
1645
|
-
/**
|
|
2584
|
+
/**
|
|
2585
|
+
* A project ID.
|
|
2586
|
+
*/
|
|
1646
2587
|
projectId?: string;
|
|
1647
2588
|
};
|
|
1648
2589
|
export type RpnV1ApiListRpnGroupsRequest = {
|
|
1649
|
-
/**
|
|
2590
|
+
/**
|
|
2591
|
+
* Page number.
|
|
2592
|
+
*/
|
|
1650
2593
|
page?: number;
|
|
1651
|
-
/**
|
|
2594
|
+
/**
|
|
2595
|
+
* Number of rpn v1 groups per page.
|
|
2596
|
+
*/
|
|
1652
2597
|
pageSize?: number;
|
|
1653
|
-
/**
|
|
2598
|
+
/**
|
|
2599
|
+
* Order of the rpn v1 groups.
|
|
2600
|
+
*/
|
|
1654
2601
|
orderBy?: ListRpnGroupsRequestOrderBy;
|
|
1655
|
-
/**
|
|
2602
|
+
/**
|
|
2603
|
+
* Filter rpn v1 groups by project ID.
|
|
2604
|
+
*/
|
|
1656
2605
|
projectId?: string;
|
|
1657
2606
|
};
|
|
1658
2607
|
export type RpnV1ApiListRpnInvitesRequest = {
|
|
1659
|
-
/**
|
|
2608
|
+
/**
|
|
2609
|
+
* Page number.
|
|
2610
|
+
*/
|
|
1660
2611
|
page?: number;
|
|
1661
|
-
/**
|
|
2612
|
+
/**
|
|
2613
|
+
* Number of rpn capable resources per page.
|
|
2614
|
+
*/
|
|
1662
2615
|
pageSize?: number;
|
|
1663
|
-
/**
|
|
2616
|
+
/**
|
|
2617
|
+
* Order of the rpn capable resources.
|
|
2618
|
+
*/
|
|
1664
2619
|
orderBy?: ListRpnInvitesRequestOrderBy;
|
|
1665
|
-
/**
|
|
2620
|
+
/**
|
|
2621
|
+
* Filter rpn capable resources by project ID.
|
|
2622
|
+
*/
|
|
1666
2623
|
projectId?: string;
|
|
1667
2624
|
};
|
|
1668
2625
|
export type RpnV1ApiRefuseRpnInviteRequest = {
|
|
1669
|
-
/**
|
|
2626
|
+
/**
|
|
2627
|
+
* The member ID.
|
|
2628
|
+
*/
|
|
1670
2629
|
memberId: number;
|
|
1671
2630
|
};
|
|
1672
2631
|
export type RpnV1ApiRpnGroupInviteRequest = {
|
|
1673
|
-
/**
|
|
2632
|
+
/**
|
|
2633
|
+
* The RPN V1 group ID.
|
|
2634
|
+
*/
|
|
1674
2635
|
groupId: number;
|
|
1675
|
-
/**
|
|
2636
|
+
/**
|
|
2637
|
+
* A collection of external server IDs.
|
|
2638
|
+
*/
|
|
1676
2639
|
serverIds: number[];
|
|
1677
|
-
/**
|
|
2640
|
+
/**
|
|
2641
|
+
* A project ID.
|
|
2642
|
+
*/
|
|
1678
2643
|
projectId?: string;
|
|
1679
2644
|
};
|
|
1680
2645
|
export type RpnV1ApiUpdateRpnGroupNameRequest = {
|
|
1681
|
-
/**
|
|
2646
|
+
/**
|
|
2647
|
+
* Rpn v1 group ID.
|
|
2648
|
+
*/
|
|
1682
2649
|
groupId: number;
|
|
1683
|
-
/**
|
|
2650
|
+
/**
|
|
2651
|
+
* New rpn v1 group name.
|
|
2652
|
+
*/
|
|
1684
2653
|
name?: string;
|
|
1685
2654
|
};
|
|
1686
2655
|
export type RpnV2ApiAddRpnV2MembersRequest = {
|
|
1687
|
-
/**
|
|
2656
|
+
/**
|
|
2657
|
+
* RPN V2 group ID.
|
|
2658
|
+
*/
|
|
1688
2659
|
groupId: number;
|
|
1689
|
-
/**
|
|
2660
|
+
/**
|
|
2661
|
+
* A collection of server IDs.
|
|
2662
|
+
*/
|
|
1690
2663
|
servers: number[];
|
|
1691
2664
|
};
|
|
1692
2665
|
export type RpnV2ApiCreateRpnV2GroupRequest = {
|
|
1693
|
-
/**
|
|
2666
|
+
/**
|
|
2667
|
+
* Project ID of the RPN V2 group.
|
|
2668
|
+
*/
|
|
1694
2669
|
projectId?: string;
|
|
1695
|
-
/**
|
|
2670
|
+
/**
|
|
2671
|
+
* RPN V2 group type (qing / standard).
|
|
2672
|
+
*/
|
|
1696
2673
|
type?: RpnV2GroupType;
|
|
1697
|
-
/**
|
|
2674
|
+
/**
|
|
2675
|
+
* RPN V2 group name.
|
|
2676
|
+
*/
|
|
1698
2677
|
name: string;
|
|
1699
|
-
/**
|
|
2678
|
+
/**
|
|
2679
|
+
* A collection of server IDs.
|
|
2680
|
+
*/
|
|
1700
2681
|
servers: number[];
|
|
1701
2682
|
};
|
|
1702
2683
|
export type RpnV2ApiDeleteRpnV2GroupRequest = {
|
|
1703
|
-
/**
|
|
2684
|
+
/**
|
|
2685
|
+
* RPN V2 group ID.
|
|
2686
|
+
*/
|
|
1704
2687
|
groupId: number;
|
|
1705
2688
|
};
|
|
1706
2689
|
export type RpnV2ApiDeleteRpnV2MembersRequest = {
|
|
1707
|
-
/**
|
|
2690
|
+
/**
|
|
2691
|
+
* RPN V2 group ID.
|
|
2692
|
+
*/
|
|
1708
2693
|
groupId: number;
|
|
1709
|
-
/**
|
|
2694
|
+
/**
|
|
2695
|
+
* A collection of member IDs.
|
|
2696
|
+
*/
|
|
1710
2697
|
memberIds: number[];
|
|
1711
2698
|
};
|
|
1712
2699
|
export type RpnV2ApiDisableRpnV2GroupCompatibilityRequest = {
|
|
1713
|
-
/**
|
|
2700
|
+
/**
|
|
2701
|
+
* RPN V2 group ID.
|
|
2702
|
+
*/
|
|
1714
2703
|
groupId: number;
|
|
1715
2704
|
};
|
|
1716
2705
|
export type RpnV2ApiEnableRpnV2GroupCompatibilityRequest = {
|
|
1717
|
-
/**
|
|
2706
|
+
/**
|
|
2707
|
+
* RPN V2 group ID.
|
|
2708
|
+
*/
|
|
1718
2709
|
groupId: number;
|
|
1719
|
-
/**
|
|
2710
|
+
/**
|
|
2711
|
+
* RPN V1 group ID.
|
|
2712
|
+
*/
|
|
1720
2713
|
rpnv1GroupId: number;
|
|
1721
2714
|
};
|
|
1722
2715
|
export type RpnV2ApiGetRpnV2GroupRequest = {
|
|
1723
|
-
/**
|
|
2716
|
+
/**
|
|
2717
|
+
* RPN V2 group ID.
|
|
2718
|
+
*/
|
|
1724
2719
|
groupId: number;
|
|
1725
2720
|
};
|
|
1726
2721
|
export type RpnV2ApiListRpnV2CapableResourcesRequest = {
|
|
1727
|
-
/**
|
|
2722
|
+
/**
|
|
2723
|
+
* Page number.
|
|
2724
|
+
*/
|
|
1728
2725
|
page?: number;
|
|
1729
|
-
/**
|
|
2726
|
+
/**
|
|
2727
|
+
* Number of rpn v2 capable resources per page.
|
|
2728
|
+
*/
|
|
1730
2729
|
pageSize?: number;
|
|
1731
|
-
/**
|
|
2730
|
+
/**
|
|
2731
|
+
* Order of the rpn v2 capable resources.
|
|
2732
|
+
*/
|
|
1732
2733
|
orderBy?: ListRpnV2CapableResourcesRequestOrderBy;
|
|
1733
|
-
/**
|
|
2734
|
+
/**
|
|
2735
|
+
* Filter rpn v2 capable resources by project ID.
|
|
2736
|
+
*/
|
|
1734
2737
|
projectId?: string;
|
|
1735
2738
|
};
|
|
1736
2739
|
export type RpnV2ApiListRpnV2GroupLogsRequest = {
|
|
1737
|
-
/**
|
|
2740
|
+
/**
|
|
2741
|
+
* RPN V2 group ID.
|
|
2742
|
+
*/
|
|
1738
2743
|
groupId: number;
|
|
1739
|
-
/**
|
|
2744
|
+
/**
|
|
2745
|
+
* Page number.
|
|
2746
|
+
*/
|
|
1740
2747
|
page?: number;
|
|
1741
|
-
/**
|
|
2748
|
+
/**
|
|
2749
|
+
* Number of rpn v2 group logs per page.
|
|
2750
|
+
*/
|
|
1742
2751
|
pageSize?: number;
|
|
1743
|
-
/**
|
|
2752
|
+
/**
|
|
2753
|
+
* Order of the rpn v2 group logs.
|
|
2754
|
+
*/
|
|
1744
2755
|
orderBy?: ListRpnV2GroupLogsRequestOrderBy;
|
|
1745
2756
|
};
|
|
1746
2757
|
export type RpnV2ApiListRpnV2GroupsRequest = {
|
|
1747
|
-
/**
|
|
2758
|
+
/**
|
|
2759
|
+
* Page number.
|
|
2760
|
+
*/
|
|
1748
2761
|
page?: number;
|
|
1749
|
-
/**
|
|
2762
|
+
/**
|
|
2763
|
+
* Number of rpn v2 groups per page.
|
|
2764
|
+
*/
|
|
1750
2765
|
pageSize?: number;
|
|
1751
|
-
/**
|
|
2766
|
+
/**
|
|
2767
|
+
* Order of the rpn v2 groups.
|
|
2768
|
+
*/
|
|
1752
2769
|
orderBy?: ListRpnV2GroupsRequestOrderBy;
|
|
1753
|
-
/**
|
|
2770
|
+
/**
|
|
2771
|
+
* Filter rpn v2 groups by project ID.
|
|
2772
|
+
*/
|
|
1754
2773
|
projectId?: string;
|
|
1755
2774
|
};
|
|
1756
2775
|
export type RpnV2ApiListRpnV2MembersRequest = {
|
|
1757
|
-
/**
|
|
2776
|
+
/**
|
|
2777
|
+
* RPN V2 group ID.
|
|
2778
|
+
*/
|
|
1758
2779
|
groupId: number;
|
|
1759
|
-
/**
|
|
2780
|
+
/**
|
|
2781
|
+
* Page number.
|
|
2782
|
+
*/
|
|
1760
2783
|
page?: number;
|
|
1761
|
-
/**
|
|
2784
|
+
/**
|
|
2785
|
+
* Number of rpn v2 group members per page.
|
|
2786
|
+
*/
|
|
1762
2787
|
pageSize?: number;
|
|
1763
|
-
/**
|
|
2788
|
+
/**
|
|
2789
|
+
* Order of the rpn v2 group members.
|
|
2790
|
+
*/
|
|
1764
2791
|
orderBy?: ListRpnV2MembersRequestOrderBy;
|
|
1765
|
-
/**
|
|
2792
|
+
/**
|
|
2793
|
+
* Filter members by type.
|
|
2794
|
+
*/
|
|
1766
2795
|
type?: ListRpnV2MembersRequestType;
|
|
1767
2796
|
};
|
|
1768
2797
|
export type RpnV2ApiUpdateRpnV2GroupNameRequest = {
|
|
1769
|
-
/**
|
|
2798
|
+
/**
|
|
2799
|
+
* RPN V2 group ID.
|
|
2800
|
+
*/
|
|
1770
2801
|
groupId: number;
|
|
1771
|
-
/**
|
|
2802
|
+
/**
|
|
2803
|
+
* RPN V2 group name.
|
|
2804
|
+
*/
|
|
1772
2805
|
name?: string;
|
|
1773
2806
|
};
|
|
1774
2807
|
export type RpnV2ApiUpdateRpnV2VlanForMembersRequest = {
|
|
1775
|
-
/**
|
|
2808
|
+
/**
|
|
2809
|
+
* RPN V2 group ID.
|
|
2810
|
+
*/
|
|
1776
2811
|
groupId: number;
|
|
1777
|
-
/**
|
|
2812
|
+
/**
|
|
2813
|
+
* RPN V2 member IDs.
|
|
2814
|
+
*/
|
|
1778
2815
|
memberIds: number[];
|
|
1779
|
-
/**
|
|
2816
|
+
/**
|
|
2817
|
+
* Min: 0.
|
|
2818
|
+
Max: 3967.
|
|
2819
|
+
*/
|
|
1780
2820
|
vlan?: number;
|
|
1781
2821
|
};
|
|
1782
2822
|
export interface ServerDefaultPartitioning {
|
|
1783
|
-
/**
|
|
2823
|
+
/**
|
|
2824
|
+
* Default partitions.
|
|
2825
|
+
*/
|
|
1784
2826
|
partitions: Partition[];
|
|
1785
2827
|
}
|
|
1786
2828
|
export interface ServerInstall {
|
|
@@ -1793,108 +2835,186 @@ export interface ServerInstall {
|
|
|
1793
2835
|
panelUrl?: string;
|
|
1794
2836
|
}
|
|
1795
2837
|
export type StartBMCAccessRequest = {
|
|
1796
|
-
/**
|
|
2838
|
+
/**
|
|
2839
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2840
|
+
*/
|
|
1797
2841
|
zone?: ScwZone;
|
|
1798
|
-
/**
|
|
2842
|
+
/**
|
|
2843
|
+
* ID of the server to start the BMC access.
|
|
2844
|
+
*/
|
|
1799
2845
|
serverId: number;
|
|
1800
|
-
/**
|
|
2846
|
+
/**
|
|
2847
|
+
* The IP authorized to connect to the given server.
|
|
2848
|
+
*/
|
|
1801
2849
|
ip: string;
|
|
1802
2850
|
};
|
|
1803
2851
|
export type StartRescueRequest = {
|
|
1804
|
-
/**
|
|
2852
|
+
/**
|
|
2853
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2854
|
+
*/
|
|
1805
2855
|
zone?: ScwZone;
|
|
1806
|
-
/**
|
|
2856
|
+
/**
|
|
2857
|
+
* ID of the server to start rescue.
|
|
2858
|
+
*/
|
|
1807
2859
|
serverId: number;
|
|
1808
|
-
/**
|
|
2860
|
+
/**
|
|
2861
|
+
* OS ID to use to start rescue.
|
|
2862
|
+
*/
|
|
1809
2863
|
osId: number;
|
|
1810
2864
|
};
|
|
1811
2865
|
export type StartServerRequest = {
|
|
1812
|
-
/**
|
|
2866
|
+
/**
|
|
2867
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2868
|
+
*/
|
|
1813
2869
|
zone?: ScwZone;
|
|
1814
|
-
/**
|
|
2870
|
+
/**
|
|
2871
|
+
* Server ID to start.
|
|
2872
|
+
*/
|
|
1815
2873
|
serverId: number;
|
|
1816
2874
|
};
|
|
1817
2875
|
export type StopBMCAccessRequest = {
|
|
1818
|
-
/**
|
|
2876
|
+
/**
|
|
2877
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2878
|
+
*/
|
|
1819
2879
|
zone?: ScwZone;
|
|
1820
|
-
/**
|
|
2880
|
+
/**
|
|
2881
|
+
* ID of the server to stop BMC access.
|
|
2882
|
+
*/
|
|
1821
2883
|
serverId: number;
|
|
1822
2884
|
};
|
|
1823
2885
|
export type StopRescueRequest = {
|
|
1824
|
-
/**
|
|
2886
|
+
/**
|
|
2887
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2888
|
+
*/
|
|
1825
2889
|
zone?: ScwZone;
|
|
1826
|
-
/**
|
|
2890
|
+
/**
|
|
2891
|
+
* ID of the server to stop rescue.
|
|
2892
|
+
*/
|
|
1827
2893
|
serverId: number;
|
|
1828
2894
|
};
|
|
1829
2895
|
export type StopServerRequest = {
|
|
1830
|
-
/**
|
|
2896
|
+
/**
|
|
2897
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2898
|
+
*/
|
|
1831
2899
|
zone?: ScwZone;
|
|
1832
|
-
/**
|
|
2900
|
+
/**
|
|
2901
|
+
* Server ID to stop.
|
|
2902
|
+
*/
|
|
1833
2903
|
serverId: number;
|
|
1834
2904
|
};
|
|
1835
2905
|
export type SubscribeServerOptionRequest = {
|
|
1836
|
-
/**
|
|
2906
|
+
/**
|
|
2907
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2908
|
+
*/
|
|
1837
2909
|
zone?: ScwZone;
|
|
1838
|
-
/**
|
|
2910
|
+
/**
|
|
2911
|
+
* Server ID to subscribe server option.
|
|
2912
|
+
*/
|
|
1839
2913
|
serverId: number;
|
|
1840
|
-
/**
|
|
2914
|
+
/**
|
|
2915
|
+
* Option ID to subscribe.
|
|
2916
|
+
*/
|
|
1841
2917
|
optionId: number;
|
|
1842
2918
|
};
|
|
1843
2919
|
export type SubscribeStorageOptionsRequest = {
|
|
1844
|
-
/**
|
|
2920
|
+
/**
|
|
2921
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2922
|
+
*/
|
|
1845
2923
|
zone?: ScwZone;
|
|
1846
|
-
/**
|
|
2924
|
+
/**
|
|
2925
|
+
* Server ID of the storage options to subscribe.
|
|
2926
|
+
*/
|
|
1847
2927
|
serverId: number;
|
|
1848
|
-
/**
|
|
2928
|
+
/**
|
|
2929
|
+
* Option IDs of the storage options to subscribe.
|
|
2930
|
+
*/
|
|
1849
2931
|
optionsIds: number[];
|
|
1850
2932
|
};
|
|
1851
2933
|
export interface SubscribeStorageOptionsResponse {
|
|
1852
|
-
/**
|
|
2934
|
+
/**
|
|
2935
|
+
* Services subscribe storage options.
|
|
2936
|
+
*/
|
|
1853
2937
|
services: Service[];
|
|
1854
2938
|
}
|
|
1855
2939
|
export type UpdateRaidRequest = {
|
|
1856
|
-
/**
|
|
2940
|
+
/**
|
|
2941
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2942
|
+
*/
|
|
1857
2943
|
zone?: ScwZone;
|
|
1858
|
-
/**
|
|
2944
|
+
/**
|
|
2945
|
+
* ID of the server.
|
|
2946
|
+
*/
|
|
1859
2947
|
serverId: number;
|
|
1860
|
-
/**
|
|
2948
|
+
/**
|
|
2949
|
+
* RAIDs to update.
|
|
2950
|
+
*/
|
|
1861
2951
|
raidArrays: UpdatableRaidArray[];
|
|
1862
2952
|
};
|
|
1863
2953
|
export type UpdateReverseRequest = {
|
|
1864
|
-
/**
|
|
2954
|
+
/**
|
|
2955
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2956
|
+
*/
|
|
1865
2957
|
zone?: ScwZone;
|
|
1866
|
-
/**
|
|
2958
|
+
/**
|
|
2959
|
+
* ID of the IP.
|
|
2960
|
+
*/
|
|
1867
2961
|
ipId: number;
|
|
1868
|
-
/**
|
|
2962
|
+
/**
|
|
2963
|
+
* Reverse to apply on the IP.
|
|
2964
|
+
*/
|
|
1869
2965
|
reverse: string;
|
|
1870
2966
|
};
|
|
1871
2967
|
export type UpdateServerBackupRequest = {
|
|
1872
|
-
/**
|
|
2968
|
+
/**
|
|
2969
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2970
|
+
*/
|
|
1873
2971
|
zone?: ScwZone;
|
|
1874
|
-
/**
|
|
2972
|
+
/**
|
|
2973
|
+
* Server ID to update backup.
|
|
2974
|
+
*/
|
|
1875
2975
|
serverId: number;
|
|
1876
|
-
/**
|
|
2976
|
+
/**
|
|
2977
|
+
* Password of the server backup.
|
|
2978
|
+
*/
|
|
1877
2979
|
password?: string;
|
|
1878
|
-
/**
|
|
2980
|
+
/**
|
|
2981
|
+
* Autologin of the server backup.
|
|
2982
|
+
*/
|
|
1879
2983
|
autologin?: boolean;
|
|
1880
|
-
/**
|
|
2984
|
+
/**
|
|
2985
|
+
* Boolean to enable or disable ACL.
|
|
2986
|
+
*/
|
|
1881
2987
|
aclEnabled?: boolean;
|
|
1882
2988
|
};
|
|
1883
2989
|
export type UpdateServerRequest = {
|
|
1884
|
-
/**
|
|
2990
|
+
/**
|
|
2991
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2992
|
+
*/
|
|
1885
2993
|
zone?: ScwZone;
|
|
1886
|
-
/**
|
|
2994
|
+
/**
|
|
2995
|
+
* Server ID to update.
|
|
2996
|
+
*/
|
|
1887
2997
|
serverId: number;
|
|
1888
|
-
/**
|
|
2998
|
+
/**
|
|
2999
|
+
* Hostname of the server to update.
|
|
3000
|
+
*/
|
|
1889
3001
|
hostname?: string;
|
|
1890
|
-
/**
|
|
3002
|
+
/**
|
|
3003
|
+
* Flag to enable or not the IPv6 of server.
|
|
3004
|
+
*/
|
|
1891
3005
|
enableIpv6?: boolean;
|
|
1892
3006
|
};
|
|
1893
3007
|
export type UpdateServerTagsRequest = {
|
|
1894
|
-
/**
|
|
3008
|
+
/**
|
|
3009
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
3010
|
+
*/
|
|
1895
3011
|
zone?: ScwZone;
|
|
1896
|
-
/**
|
|
3012
|
+
/**
|
|
3013
|
+
* Server ID to update the tags.
|
|
3014
|
+
*/
|
|
1897
3015
|
serverId: number;
|
|
1898
|
-
/**
|
|
3016
|
+
/**
|
|
3017
|
+
* Tags of server to update.
|
|
3018
|
+
*/
|
|
1899
3019
|
tags?: string[];
|
|
1900
3020
|
};
|