@scaleway/sdk 2.74.0 → 2.75.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.gen.cjs +373 -0
- package/dist/index.gen.d.ts +320 -0
- package/dist/index.gen.js +283 -0
- package/package.json +73 -26
- package/README.md +0 -47
- package/dist/api/account/index.gen.cjs +0 -6
- package/dist/api/account/index.gen.d.ts +0 -6
- package/dist/api/account/index.gen.js +0 -6
- package/dist/api/account/v2/api.gen.cjs +0 -118
- package/dist/api/account/v2/api.gen.d.ts +0 -67
- package/dist/api/account/v2/api.gen.js +0 -118
- package/dist/api/account/v2/index.gen.cjs +0 -4
- package/dist/api/account/v2/index.gen.d.ts +0 -2
- package/dist/api/account/v2/index.gen.js +0 -4
- package/dist/api/account/v2/marshalling.gen.cjs +0 -46
- package/dist/api/account/v2/marshalling.gen.d.ts +0 -6
- package/dist/api/account/v2/marshalling.gen.js +0 -46
- package/dist/api/account/v2/types.gen.d.ts +0 -62
- package/dist/api/account/v3/api.gen.cjs +0 -218
- package/dist/api/account/v3/api.gen.d.ts +0 -100
- package/dist/api/account/v3/api.gen.js +0 -218
- package/dist/api/account/v3/index.gen.cjs +0 -7
- package/dist/api/account/v3/index.gen.d.ts +0 -3
- package/dist/api/account/v3/index.gen.js +0 -7
- package/dist/api/account/v3/marshalling.gen.cjs +0 -317
- package/dist/api/account/v3/marshalling.gen.d.ts +0 -13
- package/dist/api/account/v3/marshalling.gen.js +0 -317
- package/dist/api/account/v3/types.gen.d.ts +0 -356
- package/dist/api/account/v3/validation-rules.gen.cjs +0 -61
- package/dist/api/account/v3/validation-rules.gen.d.ts +0 -53
- package/dist/api/account/v3/validation-rules.gen.js +0 -61
- package/dist/api/applesilicon/index.gen.cjs +0 -4
- package/dist/api/applesilicon/index.gen.d.ts +0 -5
- package/dist/api/applesilicon/index.gen.js +0 -4
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +0 -337
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +0 -153
- package/dist/api/applesilicon/v1alpha1/api.gen.js +0 -337
- package/dist/api/applesilicon/v1alpha1/content.gen.cjs +0 -16
- package/dist/api/applesilicon/v1alpha1/content.gen.d.ts +0 -7
- package/dist/api/applesilicon/v1alpha1/content.gen.js +0 -16
- package/dist/api/applesilicon/v1alpha1/index.gen.cjs +0 -9
- package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +0 -3
- package/dist/api/applesilicon/v1alpha1/index.gen.js +0 -9
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +0 -301
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +0 -19
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +0 -301
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +0 -564
- package/dist/api/audit_trail/index.gen.cjs +0 -4
- package/dist/api/audit_trail/index.gen.d.ts +0 -5
- package/dist/api/audit_trail/index.gen.js +0 -4
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +0 -62
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +0 -26
- package/dist/api/audit_trail/v1alpha1/api.gen.js +0 -62
- package/dist/api/audit_trail/v1alpha1/index.gen.cjs +0 -6
- package/dist/api/audit_trail/v1alpha1/index.gen.d.ts +0 -3
- package/dist/api/audit_trail/v1alpha1/index.gen.js +0 -6
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +0 -183
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.d.ts +0 -5
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +0 -183
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +0 -246
- package/dist/api/audit_trail/v1alpha1/validation-rules.gen.cjs +0 -22
- package/dist/api/audit_trail/v1alpha1/validation-rules.gen.d.ts +0 -19
- package/dist/api/audit_trail/v1alpha1/validation-rules.gen.js +0 -22
- package/dist/api/baremetal/index.gen.cjs +0 -6
- package/dist/api/baremetal/index.gen.d.ts +0 -6
- package/dist/api/baremetal/index.gen.js +0 -6
- package/dist/api/baremetal/v1/api.gen.cjs +0 -595
- package/dist/api/baremetal/v1/api.gen.d.ts +0 -279
- package/dist/api/baremetal/v1/api.gen.js +0 -595
- package/dist/api/baremetal/v1/api.utils.cjs +0 -38
- package/dist/api/baremetal/v1/api.utils.d.ts +0 -13
- package/dist/api/baremetal/v1/api.utils.js +0 -38
- package/dist/api/baremetal/v1/content.gen.cjs +0 -19
- package/dist/api/baremetal/v1/content.gen.d.ts +0 -7
- package/dist/api/baremetal/v1/content.gen.js +0 -19
- package/dist/api/baremetal/v1/index.cjs +0 -12
- package/dist/api/baremetal/v1/index.d.ts +0 -5
- package/dist/api/baremetal/v1/index.gen.d.ts +0 -4
- package/dist/api/baremetal/v1/index.js +0 -12
- package/dist/api/baremetal/v1/marshalling.gen.cjs +0 -721
- package/dist/api/baremetal/v1/marshalling.gen.d.ts +0 -33
- package/dist/api/baremetal/v1/marshalling.gen.js +0 -721
- package/dist/api/baremetal/v1/types.gen.d.ts +0 -1376
- package/dist/api/baremetal/v1/validation-rules.gen.cjs +0 -116
- package/dist/api/baremetal/v1/validation-rules.gen.d.ts +0 -104
- package/dist/api/baremetal/v1/validation-rules.gen.js +0 -116
- package/dist/api/baremetal/v3/api.gen.cjs +0 -103
- package/dist/api/baremetal/v3/api.gen.d.ts +0 -41
- package/dist/api/baremetal/v3/api.gen.js +0 -103
- package/dist/api/baremetal/v3/content.gen.cjs +0 -4
- package/dist/api/baremetal/v3/content.gen.d.ts +0 -3
- package/dist/api/baremetal/v3/content.gen.js +0 -4
- package/dist/api/baremetal/v3/index.gen.cjs +0 -6
- package/dist/api/baremetal/v3/index.gen.d.ts +0 -3
- package/dist/api/baremetal/v3/index.gen.js +0 -6
- package/dist/api/baremetal/v3/marshalling.gen.cjs +0 -63
- package/dist/api/baremetal/v3/marshalling.gen.d.ts +0 -7
- package/dist/api/baremetal/v3/marshalling.gen.js +0 -63
- package/dist/api/baremetal/v3/types.gen.d.ts +0 -132
- package/dist/api/billing/index.gen.cjs +0 -6
- package/dist/api/billing/index.gen.d.ts +0 -6
- package/dist/api/billing/index.gen.js +0 -6
- package/dist/api/billing/v2alpha1/api.gen.cjs +0 -94
- package/dist/api/billing/v2alpha1/api.gen.d.ts +0 -51
- package/dist/api/billing/v2alpha1/api.gen.js +0 -94
- package/dist/api/billing/v2alpha1/index.gen.cjs +0 -4
- package/dist/api/billing/v2alpha1/index.gen.d.ts +0 -2
- package/dist/api/billing/v2alpha1/index.gen.js +0 -4
- package/dist/api/billing/v2alpha1/marshalling.gen.cjs +0 -119
- package/dist/api/billing/v2alpha1/marshalling.gen.d.ts +0 -4
- package/dist/api/billing/v2alpha1/marshalling.gen.js +0 -119
- package/dist/api/billing/v2alpha1/types.gen.d.ts +0 -138
- package/dist/api/billing/v2beta1/api.gen.cjs +0 -175
- package/dist/api/billing/v2beta1/api.gen.d.ts +0 -77
- package/dist/api/billing/v2beta1/api.gen.js +0 -175
- package/dist/api/billing/v2beta1/index.gen.cjs +0 -4
- package/dist/api/billing/v2beta1/index.gen.d.ts +0 -2
- package/dist/api/billing/v2beta1/index.gen.js +0 -4
- package/dist/api/billing/v2beta1/marshalling.gen.cjs +0 -160
- package/dist/api/billing/v2beta1/marshalling.gen.d.ts +0 -6
- package/dist/api/billing/v2beta1/marshalling.gen.js +0 -160
- package/dist/api/billing/v2beta1/types.gen.d.ts +0 -400
- package/dist/api/block/index.gen.cjs +0 -6
- package/dist/api/block/index.gen.d.ts +0 -6
- package/dist/api/block/index.gen.js +0 -6
- package/dist/api/block/v1/api.gen.cjs +0 -290
- package/dist/api/block/v1/api.gen.d.ts +0 -134
- package/dist/api/block/v1/api.gen.js +0 -290
- package/dist/api/block/v1/content.gen.cjs +0 -22
- package/dist/api/block/v1/content.gen.d.ts +0 -7
- package/dist/api/block/v1/content.gen.js +0 -22
- package/dist/api/block/v1/index.gen.cjs +0 -10
- package/dist/api/block/v1/index.gen.d.ts +0 -4
- package/dist/api/block/v1/index.gen.js +0 -10
- package/dist/api/block/v1/marshalling.gen.cjs +0 -201
- package/dist/api/block/v1/marshalling.gen.d.ts +0 -14
- package/dist/api/block/v1/marshalling.gen.js +0 -201
- package/dist/api/block/v1/types.gen.d.ts +0 -516
- package/dist/api/block/v1/validation-rules.gen.cjs +0 -56
- package/dist/api/block/v1/validation-rules.gen.d.ts +0 -47
- package/dist/api/block/v1/validation-rules.gen.js +0 -56
- package/dist/api/block/v1alpha1/api.gen.cjs +0 -310
- package/dist/api/block/v1alpha1/api.gen.d.ts +0 -144
- package/dist/api/block/v1alpha1/api.gen.js +0 -310
- package/dist/api/block/v1alpha1/content.gen.cjs +0 -22
- package/dist/api/block/v1alpha1/content.gen.d.ts +0 -7
- package/dist/api/block/v1alpha1/content.gen.js +0 -22
- package/dist/api/block/v1alpha1/index.gen.cjs +0 -10
- package/dist/api/block/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/block/v1alpha1/index.gen.js +0 -10
- package/dist/api/block/v1alpha1/marshalling.gen.cjs +0 -209
- package/dist/api/block/v1alpha1/marshalling.gen.d.ts +0 -14
- package/dist/api/block/v1alpha1/marshalling.gen.js +0 -209
- package/dist/api/block/v1alpha1/types.gen.d.ts +0 -546
- package/dist/api/block/v1alpha1/validation-rules.gen.cjs +0 -62
- package/dist/api/block/v1alpha1/validation-rules.gen.d.ts +0 -52
- package/dist/api/block/v1alpha1/validation-rules.gen.js +0 -62
- package/dist/api/cockpit/index.gen.cjs +0 -6
- package/dist/api/cockpit/index.gen.d.ts +0 -6
- package/dist/api/cockpit/index.gen.js +0 -6
- package/dist/api/cockpit/v1/api.gen.cjs +0 -688
- package/dist/api/cockpit/v1/api.gen.d.ts +0 -293
- package/dist/api/cockpit/v1/api.gen.js +0 -688
- package/dist/api/cockpit/v1/index.gen.cjs +0 -7
- package/dist/api/cockpit/v1/index.gen.d.ts +0 -3
- package/dist/api/cockpit/v1/index.gen.js +0 -7
- package/dist/api/cockpit/v1/marshalling.gen.cjs +0 -426
- package/dist/api/cockpit/v1/marshalling.gen.d.ts +0 -36
- package/dist/api/cockpit/v1/marshalling.gen.js +0 -426
- package/dist/api/cockpit/v1/types.gen.d.ts +0 -1019
- package/dist/api/cockpit/v1/validation-rules.gen.cjs +0 -67
- package/dist/api/cockpit/v1/validation-rules.gen.d.ts +0 -59
- package/dist/api/cockpit/v1/validation-rules.gen.js +0 -67
- package/dist/api/cockpit/v1beta1/api.gen.cjs +0 -486
- package/dist/api/cockpit/v1beta1/api.gen.d.ts +0 -223
- package/dist/api/cockpit/v1beta1/api.gen.js +0 -486
- package/dist/api/cockpit/v1beta1/content.gen.cjs +0 -8
- package/dist/api/cockpit/v1beta1/content.gen.d.ts +0 -3
- package/dist/api/cockpit/v1beta1/content.gen.js +0 -8
- package/dist/api/cockpit/v1beta1/index.gen.cjs +0 -6
- package/dist/api/cockpit/v1beta1/index.gen.d.ts +0 -3
- package/dist/api/cockpit/v1beta1/index.gen.js +0 -6
- package/dist/api/cockpit/v1beta1/marshalling.gen.cjs +0 -344
- package/dist/api/cockpit/v1beta1/marshalling.gen.d.ts +0 -29
- package/dist/api/cockpit/v1beta1/marshalling.gen.js +0 -344
- package/dist/api/cockpit/v1beta1/types.gen.d.ts +0 -385
- package/dist/api/container/index.gen.cjs +0 -4
- package/dist/api/container/index.gen.d.ts +0 -5
- package/dist/api/container/index.gen.js +0 -4
- package/dist/api/container/v1beta1/api.gen.cjs +0 -607
- package/dist/api/container/v1beta1/api.gen.d.ts +0 -287
- package/dist/api/container/v1beta1/api.gen.js +0 -607
- package/dist/api/container/v1beta1/content.gen.cjs +0 -34
- package/dist/api/container/v1beta1/content.gen.d.ts +0 -13
- package/dist/api/container/v1beta1/content.gen.js +0 -34
- package/dist/api/container/v1beta1/index.gen.cjs +0 -13
- package/dist/api/container/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/container/v1beta1/index.gen.js +0 -13
- package/dist/api/container/v1beta1/marshalling.gen.cjs +0 -501
- package/dist/api/container/v1beta1/marshalling.gen.d.ts +0 -24
- package/dist/api/container/v1beta1/marshalling.gen.js +0 -501
- package/dist/api/container/v1beta1/types.gen.d.ts +0 -1212
- package/dist/api/container/v1beta1/validation-rules.gen.cjs +0 -61
- package/dist/api/container/v1beta1/validation-rules.gen.d.ts +0 -52
- package/dist/api/container/v1beta1/validation-rules.gen.js +0 -61
- package/dist/api/dedibox/index.gen.cjs +0 -4
- package/dist/api/dedibox/index.gen.d.ts +0 -5
- package/dist/api/dedibox/index.gen.js +0 -4
- package/dist/api/dedibox/v1/api.gen.cjs +0 -1444
- package/dist/api/dedibox/v1/api.gen.d.ts +0 -550
- package/dist/api/dedibox/v1/api.gen.js +0 -1444
- package/dist/api/dedibox/v1/content.gen.cjs +0 -49
- package/dist/api/dedibox/v1/content.gen.d.ts +0 -19
- package/dist/api/dedibox/v1/content.gen.js +0 -49
- package/dist/api/dedibox/v1/index.gen.cjs +0 -22
- package/dist/api/dedibox/v1/index.gen.d.ts +0 -4
- package/dist/api/dedibox/v1/index.gen.js +0 -22
- package/dist/api/dedibox/v1/marshalling.gen.cjs +0 -1476
- package/dist/api/dedibox/v1/marshalling.gen.d.ts +0 -82
- package/dist/api/dedibox/v1/marshalling.gen.js +0 -1476
- package/dist/api/dedibox/v1/types.gen.d.ts +0 -3020
- package/dist/api/dedibox/v1/validation-rules.gen.cjs +0 -626
- package/dist/api/dedibox/v1/validation-rules.gen.d.ts +0 -539
- package/dist/api/dedibox/v1/validation-rules.gen.js +0 -626
- package/dist/api/document_db/index.gen.cjs +0 -4
- package/dist/api/document_db/index.gen.d.ts +0 -5
- package/dist/api/document_db/index.gen.js +0 -4
- package/dist/api/document_db/v1beta1/api.gen.cjs +0 -1020
- package/dist/api/document_db/v1beta1/api.gen.d.ts +0 -542
- package/dist/api/document_db/v1beta1/api.gen.js +0 -1020
- package/dist/api/document_db/v1beta1/content.gen.cjs +0 -31
- package/dist/api/document_db/v1beta1/content.gen.d.ts +0 -11
- package/dist/api/document_db/v1beta1/content.gen.js +0 -31
- package/dist/api/document_db/v1beta1/index.gen.cjs +0 -12
- package/dist/api/document_db/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/document_db/v1beta1/index.gen.js +0 -12
- package/dist/api/document_db/v1beta1/marshalling.gen.cjs +0 -830
- package/dist/api/document_db/v1beta1/marshalling.gen.d.ts +0 -50
- package/dist/api/document_db/v1beta1/marshalling.gen.js +0 -830
- package/dist/api/document_db/v1beta1/types.gen.d.ts +0 -1254
- package/dist/api/document_db/v1beta1/validation-rules.gen.cjs +0 -8
- package/dist/api/document_db/v1beta1/validation-rules.gen.d.ts +0 -5
- package/dist/api/document_db/v1beta1/validation-rules.gen.js +0 -8
- package/dist/api/domain/index.gen.cjs +0 -4
- package/dist/api/domain/index.gen.d.ts +0 -5
- package/dist/api/domain/index.gen.js +0 -4
- package/dist/api/domain/v2beta1/api.gen.cjs +0 -998
- package/dist/api/domain/v2beta1/api.gen.d.ts +0 -463
- package/dist/api/domain/v2beta1/api.gen.js +0 -998
- package/dist/api/domain/v2beta1/content.gen.cjs +0 -29
- package/dist/api/domain/v2beta1/content.gen.d.ts +0 -15
- package/dist/api/domain/v2beta1/content.gen.js +0 -29
- package/dist/api/domain/v2beta1/index.gen.cjs +0 -13
- package/dist/api/domain/v2beta1/index.gen.d.ts +0 -3
- package/dist/api/domain/v2beta1/index.gen.js +0 -13
- package/dist/api/domain/v2beta1/marshalling.gen.cjs +0 -1473
- package/dist/api/domain/v2beta1/marshalling.gen.d.ts +0 -59
- package/dist/api/domain/v2beta1/marshalling.gen.js +0 -1473
- package/dist/api/domain/v2beta1/types.gen.d.ts +0 -1285
- package/dist/api/edge_services/index.gen.cjs +0 -6
- package/dist/api/edge_services/index.gen.d.ts +0 -6
- package/dist/api/edge_services/index.gen.js +0 -6
- package/dist/api/edge_services/v1alpha1/api.gen.cjs +0 -668
- package/dist/api/edge_services/v1alpha1/api.gen.d.ts +0 -319
- package/dist/api/edge_services/v1alpha1/api.gen.js +0 -668
- package/dist/api/edge_services/v1alpha1/content.gen.cjs +0 -8
- package/dist/api/edge_services/v1alpha1/content.gen.d.ts +0 -5
- package/dist/api/edge_services/v1alpha1/content.gen.js +0 -8
- package/dist/api/edge_services/v1alpha1/index.gen.cjs +0 -7
- package/dist/api/edge_services/v1alpha1/index.gen.d.ts +0 -3
- package/dist/api/edge_services/v1alpha1/index.gen.js +0 -7
- package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +0 -543
- package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +0 -37
- package/dist/api/edge_services/v1alpha1/marshalling.gen.js +0 -543
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +0 -828
- package/dist/api/edge_services/v1beta1/api.gen.cjs +0 -877
- package/dist/api/edge_services/v1beta1/api.gen.d.ts +0 -369
- package/dist/api/edge_services/v1beta1/api.gen.js +0 -877
- package/dist/api/edge_services/v1beta1/content.gen.cjs +0 -8
- package/dist/api/edge_services/v1beta1/content.gen.d.ts +0 -5
- package/dist/api/edge_services/v1beta1/content.gen.js +0 -8
- package/dist/api/edge_services/v1beta1/index.gen.cjs +0 -9
- package/dist/api/edge_services/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/edge_services/v1beta1/index.gen.js +0 -9
- package/dist/api/edge_services/v1beta1/marshalling.gen.cjs +0 -810
- package/dist/api/edge_services/v1beta1/marshalling.gen.d.ts +0 -54
- package/dist/api/edge_services/v1beta1/marshalling.gen.js +0 -810
- package/dist/api/edge_services/v1beta1/types.gen.d.ts +0 -1429
- package/dist/api/edge_services/v1beta1/validation-rules.gen.cjs +0 -23
- package/dist/api/edge_services/v1beta1/validation-rules.gen.d.ts +0 -18
- package/dist/api/edge_services/v1beta1/validation-rules.gen.js +0 -23
- package/dist/api/file/index.gen.cjs +0 -4
- package/dist/api/file/index.gen.d.ts +0 -5
- package/dist/api/file/index.gen.js +0 -4
- package/dist/api/file/v1alpha1/api.gen.cjs +0 -142
- package/dist/api/file/v1alpha1/api.gen.d.ts +0 -73
- package/dist/api/file/v1alpha1/api.gen.js +0 -142
- package/dist/api/file/v1alpha1/content.gen.cjs +0 -7
- package/dist/api/file/v1alpha1/content.gen.d.ts +0 -3
- package/dist/api/file/v1alpha1/content.gen.js +0 -7
- package/dist/api/file/v1alpha1/index.gen.cjs +0 -8
- package/dist/api/file/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/file/v1alpha1/index.gen.js +0 -8
- package/dist/api/file/v1alpha1/marshalling.gen.cjs +0 -77
- package/dist/api/file/v1alpha1/marshalling.gen.d.ts +0 -7
- package/dist/api/file/v1alpha1/marshalling.gen.js +0 -77
- package/dist/api/file/v1alpha1/types.gen.d.ts +0 -239
- package/dist/api/file/v1alpha1/validation-rules.gen.cjs +0 -40
- package/dist/api/file/v1alpha1/validation-rules.gen.d.ts +0 -34
- package/dist/api/file/v1alpha1/validation-rules.gen.js +0 -40
- package/dist/api/flexibleip/index.gen.cjs +0 -4
- package/dist/api/flexibleip/index.gen.d.ts +0 -5
- package/dist/api/flexibleip/index.gen.js +0 -4
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +0 -217
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +0 -99
- package/dist/api/flexibleip/v1alpha1/api.gen.js +0 -217
- package/dist/api/flexibleip/v1alpha1/content.gen.cjs +0 -12
- package/dist/api/flexibleip/v1alpha1/content.gen.d.ts +0 -5
- package/dist/api/flexibleip/v1alpha1/content.gen.js +0 -12
- package/dist/api/flexibleip/v1alpha1/index.gen.cjs +0 -9
- package/dist/api/flexibleip/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/flexibleip/v1alpha1/index.gen.js +0 -9
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +0 -117
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +0 -13
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +0 -117
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +0 -304
- package/dist/api/flexibleip/v1alpha1/validation-rules.gen.cjs +0 -12
- package/dist/api/flexibleip/v1alpha1/validation-rules.gen.d.ts +0 -9
- package/dist/api/flexibleip/v1alpha1/validation-rules.gen.js +0 -12
- package/dist/api/function/index.gen.cjs +0 -4
- package/dist/api/function/index.gen.d.ts +0 -5
- package/dist/api/function/index.gen.js +0 -4
- package/dist/api/function/v1beta1/api.gen.cjs +0 -647
- package/dist/api/function/v1beta1/api.gen.d.ts +0 -308
- package/dist/api/function/v1beta1/api.gen.js +0 -647
- package/dist/api/function/v1beta1/content.gen.cjs +0 -34
- package/dist/api/function/v1beta1/content.gen.d.ts +0 -13
- package/dist/api/function/v1beta1/content.gen.js +0 -34
- package/dist/api/function/v1beta1/index.gen.cjs +0 -13
- package/dist/api/function/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/function/v1beta1/index.gen.js +0 -13
- package/dist/api/function/v1beta1/marshalling.gen.cjs +0 -470
- package/dist/api/function/v1beta1/marshalling.gen.d.ts +0 -27
- package/dist/api/function/v1beta1/marshalling.gen.js +0 -470
- package/dist/api/function/v1beta1/types.gen.d.ts +0 -1159
- package/dist/api/function/v1beta1/validation-rules.gen.cjs +0 -45
- package/dist/api/function/v1beta1/validation-rules.gen.d.ts +0 -39
- package/dist/api/function/v1beta1/validation-rules.gen.js +0 -45
- package/dist/api/iam/index.gen.cjs +0 -4
- package/dist/api/iam/index.gen.d.ts +0 -5
- package/dist/api/iam/index.gen.js +0 -4
- package/dist/api/iam/v1alpha1/api.gen.cjs +0 -1004
- package/dist/api/iam/v1alpha1/api.gen.d.ts +0 -438
- package/dist/api/iam/v1alpha1/api.gen.js +0 -1004
- package/dist/api/iam/v1alpha1/index.gen.cjs +0 -6
- package/dist/api/iam/v1alpha1/index.gen.d.ts +0 -3
- package/dist/api/iam/v1alpha1/index.gen.js +0 -6
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +0 -686
- package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +0 -51
- package/dist/api/iam/v1alpha1/marshalling.gen.js +0 -686
- package/dist/api/iam/v1alpha1/types.gen.d.ts +0 -1720
- package/dist/api/iam/v1alpha1/validation-rules.gen.cjs +0 -307
- package/dist/api/iam/v1alpha1/validation-rules.gen.d.ts +0 -276
- package/dist/api/iam/v1alpha1/validation-rules.gen.js +0 -307
- package/dist/api/index.d.ts +0 -65
- package/dist/api/index.gen.d.ts +0 -48
- package/dist/api/inference/index.gen.cjs +0 -6
- package/dist/api/inference/index.gen.d.ts +0 -6
- package/dist/api/inference/index.gen.js +0 -6
- package/dist/api/inference/v1/api.gen.cjs +0 -276
- package/dist/api/inference/v1/api.gen.d.ts +0 -137
- package/dist/api/inference/v1/api.gen.js +0 -276
- package/dist/api/inference/v1/content.gen.cjs +0 -13
- package/dist/api/inference/v1/content.gen.d.ts +0 -5
- package/dist/api/inference/v1/content.gen.js +0 -13
- package/dist/api/inference/v1/index.gen.cjs +0 -9
- package/dist/api/inference/v1/index.gen.d.ts +0 -4
- package/dist/api/inference/v1/index.gen.js +0 -9
- package/dist/api/inference/v1/marshalling.gen.cjs +0 -261
- package/dist/api/inference/v1/marshalling.gen.d.ts +0 -14
- package/dist/api/inference/v1/marshalling.gen.js +0 -261
- package/dist/api/inference/v1/types.gen.d.ts +0 -577
- package/dist/api/inference/v1/validation-rules.gen.cjs +0 -65
- package/dist/api/inference/v1/validation-rules.gen.d.ts +0 -57
- package/dist/api/inference/v1/validation-rules.gen.js +0 -65
- package/dist/api/inference/v1beta1/api.gen.cjs +0 -306
- package/dist/api/inference/v1beta1/api.gen.d.ts +0 -148
- package/dist/api/inference/v1beta1/api.gen.js +0 -306
- package/dist/api/inference/v1beta1/content.gen.cjs +0 -8
- package/dist/api/inference/v1beta1/content.gen.d.ts +0 -3
- package/dist/api/inference/v1beta1/content.gen.js +0 -8
- package/dist/api/inference/v1beta1/index.gen.cjs +0 -8
- package/dist/api/inference/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/inference/v1beta1/index.gen.js +0 -8
- package/dist/api/inference/v1beta1/marshalling.gen.cjs +0 -274
- package/dist/api/inference/v1beta1/marshalling.gen.d.ts +0 -18
- package/dist/api/inference/v1beta1/marshalling.gen.js +0 -274
- package/dist/api/inference/v1beta1/types.gen.d.ts +0 -622
- package/dist/api/inference/v1beta1/validation-rules.gen.cjs +0 -56
- package/dist/api/inference/v1beta1/validation-rules.gen.d.ts +0 -50
- package/dist/api/inference/v1beta1/validation-rules.gen.js +0 -56
- package/dist/api/instance/index.gen.cjs +0 -4
- package/dist/api/instance/index.gen.d.ts +0 -5
- package/dist/api/instance/index.gen.js +0 -4
- package/dist/api/instance/v1/api.gen.cjs +0 -1140
- package/dist/api/instance/v1/api.gen.d.ts +0 -493
- package/dist/api/instance/v1/api.gen.js +0 -1140
- package/dist/api/instance/v1/api.utils.cjs +0 -280
- package/dist/api/instance/v1/api.utils.d.ts +0 -95
- package/dist/api/instance/v1/api.utils.js +0 -280
- package/dist/api/instance/v1/content.gen.cjs +0 -44
- package/dist/api/instance/v1/content.gen.d.ts +0 -21
- package/dist/api/instance/v1/content.gen.js +0 -44
- package/dist/api/instance/v1/index.cjs +0 -15
- package/dist/api/instance/v1/index.d.ts +0 -4
- package/dist/api/instance/v1/index.gen.d.ts +0 -4
- package/dist/api/instance/v1/index.js +0 -15
- package/dist/api/instance/v1/marshalling.gen.cjs +0 -1826
- package/dist/api/instance/v1/marshalling.gen.d.ts +0 -95
- package/dist/api/instance/v1/marshalling.gen.js +0 -1826
- package/dist/api/instance/v1/marshalling.utils.d.ts +0 -3
- package/dist/api/instance/v1/types.gen.d.ts +0 -2616
- package/dist/api/instance/v1/types.private.gen.d.ts +0 -244
- package/dist/api/instance/v1/types.utils.d.ts +0 -35
- package/dist/api/instance/v1/validation-rules.gen.d.ts +0 -10
- package/dist/api/interlink/index.gen.cjs +0 -4
- package/dist/api/interlink/index.gen.d.ts +0 -5
- package/dist/api/interlink/index.gen.js +0 -4
- package/dist/api/interlink/v1beta1/api.gen.cjs +0 -453
- package/dist/api/interlink/v1beta1/api.gen.d.ts +0 -201
- package/dist/api/interlink/v1beta1/api.gen.js +0 -453
- package/dist/api/interlink/v1beta1/content.gen.cjs +0 -6
- package/dist/api/interlink/v1beta1/content.gen.d.ts +0 -5
- package/dist/api/interlink/v1beta1/content.gen.js +0 -6
- package/dist/api/interlink/v1beta1/index.gen.cjs +0 -9
- package/dist/api/interlink/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/interlink/v1beta1/index.gen.js +0 -9
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +0 -257
- package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +0 -18
- package/dist/api/interlink/v1beta1/marshalling.gen.js +0 -257
- package/dist/api/interlink/v1beta1/types.gen.d.ts +0 -810
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +0 -132
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +0 -116
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +0 -132
- package/dist/api/iot/index.gen.cjs +0 -4
- package/dist/api/iot/index.gen.d.ts +0 -5
- package/dist/api/iot/index.gen.js +0 -4
- package/dist/api/iot/v1/api.gen.cjs +0 -591
- package/dist/api/iot/v1/api.gen.d.ts +0 -293
- package/dist/api/iot/v1/api.gen.js +0 -591
- package/dist/api/iot/v1/content.gen.cjs +0 -4
- package/dist/api/iot/v1/content.gen.d.ts +0 -3
- package/dist/api/iot/v1/content.gen.js +0 -4
- package/dist/api/iot/v1/index.gen.cjs +0 -6
- package/dist/api/iot/v1/index.gen.d.ts +0 -3
- package/dist/api/iot/v1/index.gen.js +0 -6
- package/dist/api/iot/v1/marshalling.gen.cjs +0 -535
- package/dist/api/iot/v1/marshalling.gen.d.ts +0 -31
- package/dist/api/iot/v1/marshalling.gen.js +0 -535
- package/dist/api/iot/v1/types.gen.d.ts +0 -1161
- package/dist/api/ipam/index.gen.cjs +0 -4
- package/dist/api/ipam/index.gen.d.ts +0 -5
- package/dist/api/ipam/index.gen.js +0 -4
- package/dist/api/ipam/v1/api.gen.cjs +0 -179
- package/dist/api/ipam/v1/api.gen.d.ts +0 -72
- package/dist/api/ipam/v1/api.gen.js +0 -179
- package/dist/api/ipam/v1/index.gen.cjs +0 -6
- package/dist/api/ipam/v1/index.gen.d.ts +0 -3
- package/dist/api/ipam/v1/index.gen.js +0 -6
- package/dist/api/ipam/v1/marshalling.gen.cjs +0 -122
- package/dist/api/ipam/v1/marshalling.gen.d.ts +0 -10
- package/dist/api/ipam/v1/marshalling.gen.js +0 -122
- package/dist/api/ipam/v1/types.gen.d.ts +0 -324
- package/dist/api/ipam/v1/validation-rules.gen.cjs +0 -9
- package/dist/api/ipam/v1/validation-rules.gen.d.ts +0 -6
- package/dist/api/ipam/v1/validation-rules.gen.js +0 -9
- package/dist/api/ipfs/index.gen.cjs +0 -4
- package/dist/api/ipfs/index.gen.d.ts +0 -5
- package/dist/api/ipfs/index.gen.js +0 -4
- package/dist/api/ipfs/v1alpha1/api.gen.cjs +0 -376
- package/dist/api/ipfs/v1alpha1/api.gen.d.ts +0 -198
- package/dist/api/ipfs/v1alpha1/api.gen.js +0 -376
- package/dist/api/ipfs/v1alpha1/content.gen.cjs +0 -6
- package/dist/api/ipfs/v1alpha1/content.gen.d.ts +0 -5
- package/dist/api/ipfs/v1alpha1/content.gen.js +0 -6
- package/dist/api/ipfs/v1alpha1/index.gen.cjs +0 -8
- package/dist/api/ipfs/v1alpha1/index.gen.d.ts +0 -3
- package/dist/api/ipfs/v1alpha1/index.gen.js +0 -8
- package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +0 -210
- package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +0 -18
- package/dist/api/ipfs/v1alpha1/marshalling.gen.js +0 -210
- package/dist/api/ipfs/v1alpha1/types.gen.d.ts +0 -317
- package/dist/api/jobs/index.gen.cjs +0 -4
- package/dist/api/jobs/index.gen.d.ts +0 -5
- package/dist/api/jobs/index.gen.js +0 -4
- package/dist/api/jobs/v1alpha1/api.gen.cjs +0 -276
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +0 -130
- package/dist/api/jobs/v1alpha1/api.gen.js +0 -276
- package/dist/api/jobs/v1alpha1/content.gen.cjs +0 -8
- package/dist/api/jobs/v1alpha1/content.gen.d.ts +0 -3
- package/dist/api/jobs/v1alpha1/content.gen.js +0 -8
- package/dist/api/jobs/v1alpha1/index.gen.cjs +0 -8
- package/dist/api/jobs/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/jobs/v1alpha1/index.gen.js +0 -8
- package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +0 -265
- package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +0 -17
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +0 -265
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +0 -423
- package/dist/api/jobs/v1alpha1/validation-rules.gen.cjs +0 -115
- package/dist/api/jobs/v1alpha1/validation-rules.gen.d.ts +0 -103
- package/dist/api/jobs/v1alpha1/validation-rules.gen.js +0 -115
- package/dist/api/k8s/index.gen.cjs +0 -4
- package/dist/api/k8s/index.gen.d.ts +0 -5
- package/dist/api/k8s/index.gen.js +0 -4
- package/dist/api/k8s/v1/api.gen.cjs +0 -590
- package/dist/api/k8s/v1/api.gen.d.ts +0 -282
- package/dist/api/k8s/v1/api.gen.js +0 -590
- package/dist/api/k8s/v1/api.utils.cjs +0 -13
- package/dist/api/k8s/v1/api.utils.d.ts +0 -11
- package/dist/api/k8s/v1/api.utils.js +0 -13
- package/dist/api/k8s/v1/content.gen.cjs +0 -23
- package/dist/api/k8s/v1/content.gen.d.ts +0 -7
- package/dist/api/k8s/v1/content.gen.js +0 -23
- package/dist/api/k8s/v1/index.cjs +0 -10
- package/dist/api/k8s/v1/index.d.ts +0 -4
- package/dist/api/k8s/v1/index.gen.d.ts +0 -4
- package/dist/api/k8s/v1/index.js +0 -10
- package/dist/api/k8s/v1/marshalling.gen.cjs +0 -623
- package/dist/api/k8s/v1/marshalling.gen.d.ts +0 -28
- package/dist/api/k8s/v1/marshalling.gen.js +0 -623
- package/dist/api/k8s/v1/types.gen.d.ts +0 -1513
- package/dist/api/k8s/v1/validation-rules.gen.cjs +0 -171
- package/dist/api/k8s/v1/validation-rules.gen.d.ts +0 -153
- package/dist/api/k8s/v1/validation-rules.gen.js +0 -171
- package/dist/api/key_manager/index.gen.cjs +0 -4
- package/dist/api/key_manager/index.gen.d.ts +0 -5
- package/dist/api/key_manager/index.gen.js +0 -4
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +0 -258
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +0 -121
- package/dist/api/key_manager/v1alpha1/api.gen.js +0 -258
- package/dist/api/key_manager/v1alpha1/index.gen.cjs +0 -4
- package/dist/api/key_manager/v1alpha1/index.gen.d.ts +0 -2
- package/dist/api/key_manager/v1alpha1/index.gen.js +0 -4
- package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +0 -152
- package/dist/api/key_manager/v1alpha1/marshalling.gen.d.ts +0 -13
- package/dist/api/key_manager/v1alpha1/marshalling.gen.js +0 -152
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +0 -388
- package/dist/api/lb/index.gen.cjs +0 -4
- package/dist/api/lb/index.gen.d.ts +0 -5
- package/dist/api/lb/index.gen.js +0 -4
- package/dist/api/lb/v1/api.gen.cjs +0 -1879
- package/dist/api/lb/v1/api.gen.d.ts +0 -874
- package/dist/api/lb/v1/api.gen.js +0 -1879
- package/dist/api/lb/v1/api.utils.cjs +0 -118
- package/dist/api/lb/v1/api.utils.d.ts +0 -41
- package/dist/api/lb/v1/api.utils.js +0 -118
- package/dist/api/lb/v1/content.gen.cjs +0 -22
- package/dist/api/lb/v1/content.gen.d.ts +0 -9
- package/dist/api/lb/v1/content.gen.js +0 -22
- package/dist/api/lb/v1/index.cjs +0 -10
- package/dist/api/lb/v1/index.d.ts +0 -4
- package/dist/api/lb/v1/index.gen.d.ts +0 -3
- package/dist/api/lb/v1/index.js +0 -10
- package/dist/api/lb/v1/marshalling.gen.cjs +0 -1307
- package/dist/api/lb/v1/marshalling.gen.d.ts +0 -74
- package/dist/api/lb/v1/marshalling.gen.js +0 -1307
- package/dist/api/lb/v1/types.gen.d.ts +0 -3499
- package/dist/api/lb/v1/types.utils.d.ts +0 -13
- package/dist/api/llm_inference/index.gen.cjs +0 -4
- package/dist/api/llm_inference/index.gen.d.ts +0 -5
- package/dist/api/llm_inference/index.gen.js +0 -4
- package/dist/api/llm_inference/v1beta1/api.gen.cjs +0 -307
- package/dist/api/llm_inference/v1beta1/api.gen.d.ts +0 -151
- package/dist/api/llm_inference/v1beta1/api.gen.js +0 -307
- package/dist/api/llm_inference/v1beta1/content.gen.cjs +0 -8
- package/dist/api/llm_inference/v1beta1/content.gen.d.ts +0 -3
- package/dist/api/llm_inference/v1beta1/content.gen.js +0 -8
- package/dist/api/llm_inference/v1beta1/index.gen.cjs +0 -8
- package/dist/api/llm_inference/v1beta1/index.gen.d.ts +0 -4
- package/dist/api/llm_inference/v1beta1/index.gen.js +0 -8
- package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +0 -273
- package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +0 -18
- package/dist/api/llm_inference/v1beta1/marshalling.gen.js +0 -273
- package/dist/api/llm_inference/v1beta1/types.gen.d.ts +0 -433
- package/dist/api/llm_inference/v1beta1/validation-rules.gen.cjs +0 -56
- package/dist/api/llm_inference/v1beta1/validation-rules.gen.d.ts +0 -50
- package/dist/api/llm_inference/v1beta1/validation-rules.gen.js +0 -56
- package/dist/api/marketplace/index.gen.cjs +0 -4
- package/dist/api/marketplace/index.gen.d.ts +0 -5
- package/dist/api/marketplace/index.gen.js +0 -4
- package/dist/api/marketplace/v2/api.gen.cjs +0 -163
- package/dist/api/marketplace/v2/api.gen.d.ts +0 -81
- package/dist/api/marketplace/v2/api.gen.js +0 -163
- package/dist/api/marketplace/v2/index.gen.cjs +0 -4
- package/dist/api/marketplace/v2/index.gen.d.ts +0 -2
- package/dist/api/marketplace/v2/index.gen.js +0 -4
- package/dist/api/marketplace/v2/marshalling.gen.cjs +0 -117
- package/dist/api/marketplace/v2/marshalling.gen.d.ts +0 -9
- package/dist/api/marketplace/v2/marshalling.gen.js +0 -117
- package/dist/api/marketplace/v2/types.gen.d.ts +0 -204
- package/dist/api/mnq/index.gen.cjs +0 -4
- package/dist/api/mnq/index.gen.d.ts +0 -5
- package/dist/api/mnq/index.gen.js +0 -4
- package/dist/api/mnq/v1beta1/api.gen.cjs +0 -455
- package/dist/api/mnq/v1beta1/api.gen.d.ts +0 -217
- package/dist/api/mnq/v1beta1/api.gen.js +0 -455
- package/dist/api/mnq/v1beta1/index.gen.cjs +0 -8
- package/dist/api/mnq/v1beta1/index.gen.d.ts +0 -3
- package/dist/api/mnq/v1beta1/index.gen.js +0 -8
- package/dist/api/mnq/v1beta1/marshalling.gen.cjs +0 -270
- package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +0 -23
- package/dist/api/mnq/v1beta1/marshalling.gen.js +0 -270
- package/dist/api/mnq/v1beta1/types.gen.d.ts +0 -627
- package/dist/api/mnq/v1beta1/validation-rules.gen.cjs +0 -85
- package/dist/api/mnq/v1beta1/validation-rules.gen.d.ts +0 -72
- package/dist/api/mnq/v1beta1/validation-rules.gen.js +0 -85
- package/dist/api/mongodb/index.gen.cjs +0 -4
- package/dist/api/mongodb/index.gen.d.ts +0 -5
- package/dist/api/mongodb/index.gen.js +0 -4
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +0 -415
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +0 -194
- package/dist/api/mongodb/v1alpha1/api.gen.js +0 -415
- package/dist/api/mongodb/v1alpha1/content.gen.cjs +0 -16
- package/dist/api/mongodb/v1alpha1/content.gen.d.ts +0 -5
- package/dist/api/mongodb/v1alpha1/content.gen.js +0 -16
- package/dist/api/mongodb/v1alpha1/index.gen.cjs +0 -9
- package/dist/api/mongodb/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/mongodb/v1alpha1/index.gen.js +0 -9
- package/dist/api/mongodb/v1alpha1/marshalling.gen.cjs +0 -364
- package/dist/api/mongodb/v1alpha1/marshalling.gen.d.ts +0 -23
- package/dist/api/mongodb/v1alpha1/marshalling.gen.js +0 -364
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +0 -788
- package/dist/api/mongodb/v1alpha1/validation-rules.gen.cjs +0 -175
- package/dist/api/mongodb/v1alpha1/validation-rules.gen.d.ts +0 -159
- package/dist/api/mongodb/v1alpha1/validation-rules.gen.js +0 -175
- package/dist/api/product_catalog/index.gen.cjs +0 -4
- package/dist/api/product_catalog/index.gen.d.ts +0 -5
- package/dist/api/product_catalog/index.gen.js +0 -4
- package/dist/api/product_catalog/v2alpha1/api.gen.cjs +0 -36
- package/dist/api/product_catalog/v2alpha1/api.gen.d.ts +0 -18
- package/dist/api/product_catalog/v2alpha1/api.gen.js +0 -36
- package/dist/api/product_catalog/v2alpha1/index.gen.cjs +0 -6
- package/dist/api/product_catalog/v2alpha1/index.gen.d.ts +0 -3
- package/dist/api/product_catalog/v2alpha1/index.gen.js +0 -6
- package/dist/api/product_catalog/v2alpha1/marshalling.gen.cjs +0 -230
- package/dist/api/product_catalog/v2alpha1/marshalling.gen.d.ts +0 -2
- package/dist/api/product_catalog/v2alpha1/marshalling.gen.js +0 -230
- package/dist/api/product_catalog/v2alpha1/types.gen.d.ts +0 -293
- package/dist/api/product_catalog/v2alpha1/validation-rules.gen.cjs +0 -11
- package/dist/api/product_catalog/v2alpha1/validation-rules.gen.d.ts +0 -8
- package/dist/api/product_catalog/v2alpha1/validation-rules.gen.js +0 -11
- package/dist/api/qaas/index.gen.cjs +0 -4
- package/dist/api/qaas/index.gen.d.ts +0 -5
- package/dist/api/qaas/index.gen.js +0 -4
- package/dist/api/qaas/v1alpha1/api.gen.cjs +0 -515
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +0 -239
- package/dist/api/qaas/v1alpha1/api.gen.js +0 -515
- package/dist/api/qaas/v1alpha1/content.gen.cjs +0 -19
- package/dist/api/qaas/v1alpha1/content.gen.d.ts +0 -7
- package/dist/api/qaas/v1alpha1/content.gen.js +0 -19
- package/dist/api/qaas/v1alpha1/index.gen.cjs +0 -10
- package/dist/api/qaas/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/qaas/v1alpha1/index.gen.js +0 -10
- package/dist/api/qaas/v1alpha1/marshalling.gen.cjs +0 -321
- package/dist/api/qaas/v1alpha1/marshalling.gen.d.ts +0 -22
- package/dist/api/qaas/v1alpha1/marshalling.gen.js +0 -321
- package/dist/api/qaas/v1alpha1/types.gen.d.ts +0 -798
- package/dist/api/qaas/v1alpha1/validation-rules.gen.cjs +0 -14
- package/dist/api/qaas/v1alpha1/validation-rules.gen.d.ts +0 -10
- package/dist/api/qaas/v1alpha1/validation-rules.gen.js +0 -14
- package/dist/api/rdb/index.gen.cjs +0 -4
- package/dist/api/rdb/index.gen.d.ts +0 -5
- package/dist/api/rdb/index.gen.js +0 -4
- package/dist/api/rdb/v1/api.gen.cjs +0 -1062
- package/dist/api/rdb/v1/api.gen.d.ts +0 -490
- package/dist/api/rdb/v1/api.gen.js +0 -1062
- package/dist/api/rdb/v1/content.gen.cjs +0 -38
- package/dist/api/rdb/v1/content.gen.d.ts +0 -13
- package/dist/api/rdb/v1/content.gen.js +0 -38
- package/dist/api/rdb/v1/index.gen.cjs +0 -13
- package/dist/api/rdb/v1/index.gen.d.ts +0 -4
- package/dist/api/rdb/v1/index.gen.js +0 -13
- package/dist/api/rdb/v1/marshalling.gen.cjs +0 -925
- package/dist/api/rdb/v1/marshalling.gen.d.ts +0 -59
- package/dist/api/rdb/v1/marshalling.gen.js +0 -925
- package/dist/api/rdb/v1/types.gen.d.ts +0 -1913
- package/dist/api/rdb/v1/validation-rules.gen.cjs +0 -8
- package/dist/api/rdb/v1/validation-rules.gen.d.ts +0 -5
- package/dist/api/rdb/v1/validation-rules.gen.js +0 -8
- package/dist/api/redis/index.gen.cjs +0 -4
- package/dist/api/redis/index.gen.d.ts +0 -5
- package/dist/api/redis/index.gen.js +0 -4
- package/dist/api/redis/v1/api.gen.cjs +0 -420
- package/dist/api/redis/v1/api.gen.d.ts +0 -193
- package/dist/api/redis/v1/api.gen.js +0 -420
- package/dist/api/redis/v1/content.gen.cjs +0 -10
- package/dist/api/redis/v1/content.gen.d.ts +0 -3
- package/dist/api/redis/v1/content.gen.js +0 -10
- package/dist/api/redis/v1/index.gen.cjs +0 -6
- package/dist/api/redis/v1/index.gen.d.ts +0 -3
- package/dist/api/redis/v1/index.gen.js +0 -6
- package/dist/api/redis/v1/marshalling.gen.cjs +0 -356
- package/dist/api/redis/v1/marshalling.gen.d.ts +0 -24
- package/dist/api/redis/v1/marshalling.gen.js +0 -356
- package/dist/api/redis/v1/types.gen.d.ts +0 -750
- package/dist/api/registry/index.gen.cjs +0 -4
- package/dist/api/registry/index.gen.d.ts +0 -5
- package/dist/api/registry/index.gen.js +0 -4
- package/dist/api/registry/v1/api.gen.cjs +0 -271
- package/dist/api/registry/v1/api.gen.d.ts +0 -132
- package/dist/api/registry/v1/api.gen.js +0 -271
- package/dist/api/registry/v1/content.gen.cjs +0 -8
- package/dist/api/registry/v1/content.gen.d.ts +0 -7
- package/dist/api/registry/v1/content.gen.js +0 -8
- package/dist/api/registry/v1/index.gen.cjs +0 -8
- package/dist/api/registry/v1/index.gen.d.ts +0 -3
- package/dist/api/registry/v1/index.gen.js +0 -8
- package/dist/api/registry/v1/marshalling.gen.cjs +0 -131
- package/dist/api/registry/v1/marshalling.gen.d.ts +0 -11
- package/dist/api/registry/v1/marshalling.gen.js +0 -131
- package/dist/api/registry/v1/types.gen.d.ts +0 -384
- package/dist/api/secret/index.gen.cjs +0 -6
- package/dist/api/secret/index.gen.d.ts +0 -6
- package/dist/api/secret/index.gen.js +0 -6
- package/dist/api/secret/v1alpha1/api.gen.cjs +0 -485
- package/dist/api/secret/v1alpha1/api.gen.d.ts +0 -262
- package/dist/api/secret/v1alpha1/api.gen.js +0 -485
- package/dist/api/secret/v1alpha1/index.gen.cjs +0 -4
- package/dist/api/secret/v1alpha1/index.gen.d.ts +0 -2
- package/dist/api/secret/v1alpha1/index.gen.js +0 -4
- package/dist/api/secret/v1alpha1/marshalling.gen.cjs +0 -223
- package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +0 -19
- package/dist/api/secret/v1alpha1/marshalling.gen.js +0 -223
- package/dist/api/secret/v1alpha1/types.gen.d.ts +0 -619
- package/dist/api/secret/v1beta1/api.gen.cjs +0 -396
- package/dist/api/secret/v1beta1/api.gen.d.ts +0 -179
- package/dist/api/secret/v1beta1/api.gen.js +0 -396
- package/dist/api/secret/v1beta1/index.gen.cjs +0 -6
- package/dist/api/secret/v1beta1/index.gen.d.ts +0 -3
- package/dist/api/secret/v1beta1/index.gen.js +0 -6
- package/dist/api/secret/v1beta1/marshalling.gen.cjs +0 -238
- package/dist/api/secret/v1beta1/marshalling.gen.d.ts +0 -15
- package/dist/api/secret/v1beta1/marshalling.gen.js +0 -238
- package/dist/api/secret/v1beta1/types.gen.d.ts +0 -700
- package/dist/api/secret/v1beta1/validation-rules.gen.cjs +0 -8
- package/dist/api/secret/v1beta1/validation-rules.gen.d.ts +0 -5
- package/dist/api/secret/v1beta1/validation-rules.gen.js +0 -8
- package/dist/api/serverless_sqldb/index.gen.cjs +0 -4
- package/dist/api/serverless_sqldb/index.gen.d.ts +0 -5
- package/dist/api/serverless_sqldb/index.gen.js +0 -4
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +0 -188
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +0 -91
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +0 -188
- package/dist/api/serverless_sqldb/v1alpha1/content.gen.cjs +0 -8
- package/dist/api/serverless_sqldb/v1alpha1/content.gen.d.ts +0 -3
- package/dist/api/serverless_sqldb/v1alpha1/content.gen.js +0 -8
- package/dist/api/serverless_sqldb/v1alpha1/index.gen.cjs +0 -8
- package/dist/api/serverless_sqldb/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/serverless_sqldb/v1alpha1/index.gen.js +0 -8
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +0 -92
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +0 -9
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +0 -92
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +0 -287
- package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.cjs +0 -62
- package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.d.ts +0 -55
- package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.js +0 -62
- package/dist/api/std/index.gen.cjs +0 -1
- package/dist/api/std/index.gen.d.ts +0 -1
- package/dist/api/std/index.gen.js +0 -1
- package/dist/api/std/types.gen.d.ts +0 -1
- package/dist/api/tem/index.gen.cjs +0 -4
- package/dist/api/tem/index.gen.d.ts +0 -5
- package/dist/api/tem/index.gen.js +0 -4
- package/dist/api/tem/v1alpha1/api.gen.cjs +0 -538
- package/dist/api/tem/v1alpha1/api.gen.d.ts +0 -246
- package/dist/api/tem/v1alpha1/api.gen.js +0 -538
- package/dist/api/tem/v1alpha1/content.gen.cjs +0 -9
- package/dist/api/tem/v1alpha1/content.gen.d.ts +0 -5
- package/dist/api/tem/v1alpha1/content.gen.js +0 -9
- package/dist/api/tem/v1alpha1/index.gen.cjs +0 -9
- package/dist/api/tem/v1alpha1/index.gen.d.ts +0 -4
- package/dist/api/tem/v1alpha1/index.gen.js +0 -9
- package/dist/api/tem/v1alpha1/marshalling.gen.cjs +0 -554
- package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +0 -28
- package/dist/api/tem/v1alpha1/marshalling.gen.js +0 -554
- package/dist/api/tem/v1alpha1/types.gen.d.ts +0 -1300
- package/dist/api/tem/v1alpha1/validation-rules.gen.cjs +0 -145
- package/dist/api/tem/v1alpha1/validation-rules.gen.d.ts +0 -128
- package/dist/api/tem/v1alpha1/validation-rules.gen.js +0 -145
- package/dist/api/test/index.gen.cjs +0 -4
- package/dist/api/test/index.gen.d.ts +0 -5
- package/dist/api/test/index.gen.js +0 -4
- package/dist/api/test/v1/api.gen.cjs +0 -163
- package/dist/api/test/v1/api.gen.d.ts +0 -81
- package/dist/api/test/v1/api.gen.js +0 -163
- package/dist/api/test/v1/content.gen.cjs +0 -4
- package/dist/api/test/v1/content.gen.d.ts +0 -3
- package/dist/api/test/v1/content.gen.js +0 -4
- package/dist/api/test/v1/index.gen.cjs +0 -6
- package/dist/api/test/v1/index.gen.d.ts +0 -3
- package/dist/api/test/v1/index.gen.js +0 -6
- package/dist/api/test/v1/marshalling.gen.cjs +0 -95
- package/dist/api/test/v1/marshalling.gen.d.ts +0 -8
- package/dist/api/test/v1/marshalling.gen.js +0 -95
- package/dist/api/test/v1/types.gen.d.ts +0 -102
- package/dist/api/vpc/index.gen.cjs +0 -6
- package/dist/api/vpc/index.gen.d.ts +0 -6
- package/dist/api/vpc/index.gen.js +0 -6
- package/dist/api/vpc/v1/api.gen.cjs +0 -121
- package/dist/api/vpc/v1/api.gen.d.ts +0 -59
- package/dist/api/vpc/v1/api.gen.js +0 -121
- package/dist/api/vpc/v1/index.gen.cjs +0 -4
- package/dist/api/vpc/v1/index.gen.d.ts +0 -2
- package/dist/api/vpc/v1/index.gen.js +0 -4
- package/dist/api/vpc/v1/marshalling.gen.cjs +0 -54
- package/dist/api/vpc/v1/marshalling.gen.d.ts +0 -6
- package/dist/api/vpc/v1/marshalling.gen.js +0 -54
- package/dist/api/vpc/v1/types.gen.d.ts +0 -99
- package/dist/api/vpc/v2/api.gen.cjs +0 -370
- package/dist/api/vpc/v2/api.gen.d.ts +0 -168
- package/dist/api/vpc/v2/api.gen.js +0 -370
- package/dist/api/vpc/v2/index.gen.cjs +0 -6
- package/dist/api/vpc/v2/index.gen.d.ts +0 -3
- package/dist/api/vpc/v2/index.gen.js +0 -6
- package/dist/api/vpc/v2/marshalling.gen.cjs +0 -256
- package/dist/api/vpc/v2/marshalling.gen.d.ts +0 -21
- package/dist/api/vpc/v2/marshalling.gen.js +0 -256
- package/dist/api/vpc/v2/types.gen.d.ts +0 -648
- package/dist/api/vpc/v2/validation-rules.gen.cjs +0 -26
- package/dist/api/vpc/v2/validation-rules.gen.d.ts +0 -22
- package/dist/api/vpc/v2/validation-rules.gen.js +0 -26
- package/dist/api/vpcgw/index.gen.cjs +0 -6
- package/dist/api/vpcgw/index.gen.d.ts +0 -6
- package/dist/api/vpcgw/index.gen.js +0 -6
- package/dist/api/vpcgw/v1/api.gen.cjs +0 -698
- package/dist/api/vpcgw/v1/api.gen.d.ts +0 -340
- package/dist/api/vpcgw/v1/api.gen.js +0 -698
- package/dist/api/vpcgw/v1/content.gen.cjs +0 -15
- package/dist/api/vpcgw/v1/content.gen.d.ts +0 -5
- package/dist/api/vpcgw/v1/content.gen.js +0 -15
- package/dist/api/vpcgw/v1/index.gen.cjs +0 -7
- package/dist/api/vpcgw/v1/index.gen.d.ts +0 -3
- package/dist/api/vpcgw/v1/index.gen.js +0 -7
- package/dist/api/vpcgw/v1/marshalling.gen.cjs +0 -443
- package/dist/api/vpcgw/v1/marshalling.gen.d.ts +0 -32
- package/dist/api/vpcgw/v1/marshalling.gen.js +0 -443
- package/dist/api/vpcgw/v1/types.gen.d.ts +0 -1327
- package/dist/api/vpcgw/v2/api.gen.cjs +0 -507
- package/dist/api/vpcgw/v2/api.gen.d.ts +0 -230
- package/dist/api/vpcgw/v2/api.gen.js +0 -507
- package/dist/api/vpcgw/v2/content.gen.cjs +0 -15
- package/dist/api/vpcgw/v2/content.gen.d.ts +0 -5
- package/dist/api/vpcgw/v2/content.gen.js +0 -15
- package/dist/api/vpcgw/v2/index.gen.cjs +0 -7
- package/dist/api/vpcgw/v2/index.gen.d.ts +0 -3
- package/dist/api/vpcgw/v2/index.gen.js +0 -7
- package/dist/api/vpcgw/v2/marshalling.gen.cjs +0 -291
- package/dist/api/vpcgw/v2/marshalling.gen.d.ts +0 -26
- package/dist/api/vpcgw/v2/marshalling.gen.js +0 -291
- package/dist/api/vpcgw/v2/types.gen.d.ts +0 -838
- package/dist/api/webhosting/index.gen.cjs +0 -4
- package/dist/api/webhosting/index.gen.d.ts +0 -5
- package/dist/api/webhosting/index.gen.js +0 -4
- package/dist/api/webhosting/v1/api.gen.cjs +0 -752
- package/dist/api/webhosting/v1/api.gen.d.ts +0 -362
- package/dist/api/webhosting/v1/api.gen.js +0 -752
- package/dist/api/webhosting/v1/content.gen.cjs +0 -12
- package/dist/api/webhosting/v1/content.gen.d.ts +0 -7
- package/dist/api/webhosting/v1/content.gen.js +0 -12
- package/dist/api/webhosting/v1/index.gen.cjs +0 -17
- package/dist/api/webhosting/v1/index.gen.d.ts +0 -4
- package/dist/api/webhosting/v1/index.gen.js +0 -17
- package/dist/api/webhosting/v1/marshalling.gen.cjs +0 -581
- package/dist/api/webhosting/v1/marshalling.gen.d.ts +0 -36
- package/dist/api/webhosting/v1/marshalling.gen.js +0 -581
- package/dist/api/webhosting/v1/types.gen.d.ts +0 -1303
- package/dist/api/webhosting/v1/validation-rules.gen.cjs +0 -82
- package/dist/api/webhosting/v1/validation-rules.gen.d.ts +0 -72
- package/dist/api/webhosting/v1/validation-rules.gen.js +0 -82
- package/dist/client/dist/helpers/is-browser.cjs +0 -4
- package/dist/client/dist/helpers/is-browser.js +0 -4
- package/dist/client/dist/helpers/is-response.cjs +0 -4
- package/dist/client/dist/helpers/is-response.js +0 -4
- package/dist/client/dist/helpers/json.cjs +0 -7
- package/dist/client/dist/helpers/json.js +0 -7
- package/dist/client/dist/helpers/marshalling.cjs +0 -76
- package/dist/client/dist/helpers/marshalling.js +0 -76
- package/dist/client/dist/internal/async/interval-retrier.cjs +0 -53
- package/dist/client/dist/internal/async/interval-retrier.js +0 -53
- package/dist/client/dist/internal/async/sleep.cjs +0 -6
- package/dist/client/dist/internal/async/sleep.js +0 -6
- package/dist/client/dist/internal/interceptors/composer.cjs +0 -25
- package/dist/client/dist/internal/interceptors/composer.js +0 -25
- package/dist/client/dist/internal/interceptors/helpers.cjs +0 -12
- package/dist/client/dist/internal/interceptors/helpers.js +0 -12
- package/dist/client/dist/internal/logger/console-logger.cjs +0 -24
- package/dist/client/dist/internal/logger/console-logger.js +0 -24
- package/dist/client/dist/internal/logger/index.cjs +0 -12
- package/dist/client/dist/internal/logger/index.js +0 -12
- package/dist/client/dist/internal/logger/level-resolver.cjs +0 -13
- package/dist/client/dist/internal/logger/level-resolver.js +0 -13
- package/dist/client/dist/internal/validations/string-validation.cjs +0 -30
- package/dist/client/dist/internal/validations/string-validation.js +0 -30
- package/dist/client/dist/package.json.cjs +0 -67
- package/dist/client/dist/package.json.js +0 -67
- package/dist/client/dist/scw/api.cjs +0 -8
- package/dist/client/dist/scw/api.js +0 -8
- package/dist/client/dist/scw/auth.cjs +0 -26
- package/dist/client/dist/scw/auth.js +0 -26
- package/dist/client/dist/scw/client-ini-factory.cjs +0 -66
- package/dist/client/dist/scw/client-ini-factory.js +0 -66
- package/dist/client/dist/scw/client-ini-profile.cjs +0 -23
- package/dist/client/dist/scw/client-ini-profile.js +0 -23
- package/dist/client/dist/scw/client-settings.cjs +0 -51
- package/dist/client/dist/scw/client-settings.js +0 -51
- package/dist/client/dist/scw/client.cjs +0 -31
- package/dist/client/dist/scw/client.js +0 -31
- package/dist/client/dist/scw/constants.cjs +0 -7
- package/dist/client/dist/scw/constants.js +0 -7
- package/dist/client/dist/scw/custom-marshalling.cjs +0 -126
- package/dist/client/dist/scw/custom-marshalling.js +0 -126
- package/dist/client/dist/scw/custom-types.cjs +0 -11
- package/dist/client/dist/scw/custom-types.js +0 -11
- package/dist/client/dist/scw/errors/error-parser.cjs +0 -76
- package/dist/client/dist/scw/errors/error-parser.js +0 -76
- package/dist/client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +0 -36
- package/dist/client/dist/scw/errors/non-standard/invalid-request-mapper.js +0 -36
- package/dist/client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +0 -23
- package/dist/client/dist/scw/errors/non-standard/unknown-resource-mapper.js +0 -23
- package/dist/client/dist/scw/errors/scw-error.cjs +0 -43
- package/dist/client/dist/scw/errors/scw-error.js +0 -43
- package/dist/client/dist/scw/errors/standard/already-exists-error.cjs +0 -31
- package/dist/client/dist/scw/errors/standard/already-exists-error.js +0 -31
- package/dist/client/dist/scw/errors/standard/denied-authentication-error.cjs +0 -37
- package/dist/client/dist/scw/errors/standard/denied-authentication-error.js +0 -37
- package/dist/client/dist/scw/errors/standard/index.cjs +0 -28
- package/dist/client/dist/scw/errors/standard/index.js +0 -28
- package/dist/client/dist/scw/errors/standard/invalid-arguments-error.cjs +0 -54
- package/dist/client/dist/scw/errors/standard/invalid-arguments-error.js +0 -54
- package/dist/client/dist/scw/errors/standard/out-of-stock-error.cjs +0 -17
- package/dist/client/dist/scw/errors/standard/out-of-stock-error.js +0 -17
- package/dist/client/dist/scw/errors/standard/permissions-denied-error.cjs +0 -29
- package/dist/client/dist/scw/errors/standard/permissions-denied-error.js +0 -29
- package/dist/client/dist/scw/errors/standard/precondition-failed-error.cjs +0 -32
- package/dist/client/dist/scw/errors/standard/precondition-failed-error.js +0 -32
- package/dist/client/dist/scw/errors/standard/quotas-exceeded-error.cjs +0 -43
- package/dist/client/dist/scw/errors/standard/quotas-exceeded-error.js +0 -43
- package/dist/client/dist/scw/errors/standard/resource-expired-error.cjs +0 -31
- package/dist/client/dist/scw/errors/standard/resource-expired-error.js +0 -31
- package/dist/client/dist/scw/errors/standard/resource-locked-error.cjs +0 -20
- package/dist/client/dist/scw/errors/standard/resource-locked-error.js +0 -20
- package/dist/client/dist/scw/errors/standard/resource-not-found-error.cjs +0 -24
- package/dist/client/dist/scw/errors/standard/resource-not-found-error.js +0 -24
- package/dist/client/dist/scw/errors/standard/too-many-requests-error.cjs +0 -58
- package/dist/client/dist/scw/errors/standard/too-many-requests-error.js +0 -58
- package/dist/client/dist/scw/errors/standard/transient-state-error.cjs +0 -31
- package/dist/client/dist/scw/errors/standard/transient-state-error.js +0 -31
- package/dist/client/dist/scw/errors/types.cjs +0 -15
- package/dist/client/dist/scw/errors/types.js +0 -15
- package/dist/client/dist/scw/fetch/build-fetcher.cjs +0 -60
- package/dist/client/dist/scw/fetch/build-fetcher.js +0 -60
- package/dist/client/dist/scw/fetch/http-dumper.cjs +0 -20
- package/dist/client/dist/scw/fetch/http-dumper.js +0 -20
- package/dist/client/dist/scw/fetch/http-interceptors.cjs +0 -43
- package/dist/client/dist/scw/fetch/http-interceptors.js +0 -43
- package/dist/client/dist/scw/fetch/resource-paginator.cjs +0 -36
- package/dist/client/dist/scw/fetch/resource-paginator.js +0 -36
- package/dist/client/dist/scw/fetch/response-parser.cjs +0 -55
- package/dist/client/dist/scw/fetch/response-parser.js +0 -55
- package/dist/client/dist/vendor/base64/index.cjs +0 -46
- package/dist/client/dist/vendor/base64/index.js +0 -46
- package/dist/index.cjs +0 -154
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -154
- package/node_modules/@scaleway/sdk-client/README.md +0 -36
- package/node_modules/@scaleway/sdk-client/dist/bridge.d.ts +0 -12
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.cjs +0 -4
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.d.ts +0 -1
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.js +0 -4
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.cjs +0 -4
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.d.ts +0 -8
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.js +0 -4
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.cjs +0 -7
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.d.ts +0 -13
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.js +0 -7
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.cjs +0 -76
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.d.ts +0 -60
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.js +0 -76
- package/node_modules/@scaleway/sdk-client/dist/index.cjs +0 -52
- package/node_modules/@scaleway/sdk-client/dist/index.d.ts +0 -15
- package/node_modules/@scaleway/sdk-client/dist/index.js +0 -52
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.cjs +0 -53
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.d.ts +0 -111
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.js +0 -53
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.cjs +0 -6
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.d.ts +0 -9
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.js +0 -6
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.cjs +0 -25
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.d.ts +0 -25
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.js +0 -25
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.cjs +0 -12
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.d.ts +0 -21
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.js +0 -12
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/types.d.ts +0 -89
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.cjs +0 -24
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.d.ts +0 -23
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.js +0 -24
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.cjs +0 -12
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.d.ts +0 -25
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.js +0 -12
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.cjs +0 -13
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.d.ts +0 -9
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.js +0 -13
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/logger.d.ts +0 -13
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.cjs +0 -30
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.d.ts +0 -18
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.js +0 -30
- package/node_modules/@scaleway/sdk-client/dist/internals.d.ts +0 -10
- package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +0 -67
- package/node_modules/@scaleway/sdk-client/dist/package.json.js +0 -67
- package/node_modules/@scaleway/sdk-client/dist/scw/api.cjs +0 -8
- package/node_modules/@scaleway/sdk-client/dist/scw/api.d.ts +0 -10
- package/node_modules/@scaleway/sdk-client/dist/scw/api.js +0 -8
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.cjs +0 -26
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.d.ts +0 -57
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.js +0 -26
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.cjs +0 -66
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.d.ts +0 -111
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.js +0 -66
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.cjs +0 -23
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.d.ts +0 -82
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.js +0 -23
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.cjs +0 -51
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.d.ts +0 -59
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.js +0 -51
- package/node_modules/@scaleway/sdk-client/dist/scw/client.cjs +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/client.d.ts +0 -71
- package/node_modules/@scaleway/sdk-client/dist/scw/client.js +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.cjs +0 -7
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.d.ts +0 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.js +0 -7
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.cjs +0 -126
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.d.ts +0 -80
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.js +0 -126
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.cjs +0 -11
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.d.ts +0 -74
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.js +0 -11
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.cjs +0 -76
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.d.ts +0 -12
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.js +0 -76
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +0 -36
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.d.ts +0 -12
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.js +0 -36
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +0 -23
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.d.ts +0 -11
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.js +0 -23
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error-from-json.d.ts +0 -10
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.cjs +0 -43
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.d.ts +0 -25
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.js +0 -43
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.cjs +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.d.ts +0 -16
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.js +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.cjs +0 -37
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.d.ts +0 -15
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.js +0 -37
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.cjs +0 -28
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.d.ts +0 -17
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.js +0 -28
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.cjs +0 -54
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.d.ts +0 -24
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.js +0 -54
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.cjs +0 -17
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.d.ts +0 -14
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.js +0 -17
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.cjs +0 -29
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.d.ts +0 -23
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.js +0 -29
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.cjs +0 -32
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.d.ts +0 -15
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.js +0 -32
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.cjs +0 -43
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.d.ts +0 -34
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.js +0 -43
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.cjs +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.d.ts +0 -16
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.js +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.cjs +0 -20
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.d.ts +0 -15
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.js +0 -20
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.cjs +0 -24
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.d.ts +0 -15
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.js +0 -24
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.cjs +0 -58
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.d.ts +0 -32
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.js +0 -58
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.cjs +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.d.ts +0 -16
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.js +0 -31
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.cjs +0 -15
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.d.ts +0 -9
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.js +0 -15
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.cjs +0 -60
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.d.ts +0 -23
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.js +0 -60
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.cjs +0 -20
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.d.ts +0 -18
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.js +0 -20
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.cjs +0 -43
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.d.ts +0 -38
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.js +0 -43
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.cjs +0 -36
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.d.ts +0 -47
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.js +0 -36
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.cjs +0 -55
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.d.ts +0 -25
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.js +0 -55
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/types.d.ts +0 -16
- package/node_modules/@scaleway/sdk-client/dist/scw/locality.d.ts +0 -2
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.cjs +0 -46
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.js +0 -46
- package/node_modules/@scaleway/sdk-client/package.json +0 -36
|
@@ -1,1826 +0,0 @@
|
|
|
1
|
-
import randomName from "@scaleway/random-name";
|
|
2
|
-
import "../../../client/dist/internal/logger/index.js";
|
|
3
|
-
import { isJSONObject } from "../../../client/dist/helpers/json.js";
|
|
4
|
-
import { unmarshalArrayOfObject, unmarshalMapOfObject, resolveOneOf, unmarshalDate } from "../../../client/dist/helpers/marshalling.js";
|
|
5
|
-
import "../../../client/dist/vendor/base64/index.js";
|
|
6
|
-
const unmarshalPrivateNIC = (data) => {
|
|
7
|
-
if (!isJSONObject(data)) {
|
|
8
|
-
throw new TypeError(
|
|
9
|
-
`Unmarshalling the type 'PrivateNIC' failed as data isn't a dictionary.`
|
|
10
|
-
);
|
|
11
|
-
}
|
|
12
|
-
return {
|
|
13
|
-
id: data.id,
|
|
14
|
-
macAddress: data.mac_address,
|
|
15
|
-
privateNetworkId: data.private_network_id,
|
|
16
|
-
serverId: data.server_id,
|
|
17
|
-
state: data.state,
|
|
18
|
-
tags: data.tags
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
const unmarshalServerSummary = (data) => {
|
|
22
|
-
if (!isJSONObject(data)) {
|
|
23
|
-
throw new TypeError(
|
|
24
|
-
`Unmarshalling the type 'ServerSummary' failed as data isn't a dictionary.`
|
|
25
|
-
);
|
|
26
|
-
}
|
|
27
|
-
return {
|
|
28
|
-
id: data.id,
|
|
29
|
-
name: data.name
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
const unmarshalBootscript = (data) => {
|
|
33
|
-
if (!isJSONObject(data)) {
|
|
34
|
-
throw new TypeError(
|
|
35
|
-
`Unmarshalling the type 'Bootscript' failed as data isn't a dictionary.`
|
|
36
|
-
);
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
architecture: data.architecture,
|
|
40
|
-
bootcmdargs: data.bootcmdargs,
|
|
41
|
-
default: data.default,
|
|
42
|
-
dtb: data.dtb,
|
|
43
|
-
id: data.id,
|
|
44
|
-
initrd: data.initrd,
|
|
45
|
-
kernel: data.kernel,
|
|
46
|
-
organization: data.organization,
|
|
47
|
-
project: data.project,
|
|
48
|
-
public: data.public,
|
|
49
|
-
title: data.title,
|
|
50
|
-
zone: data.zone
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
const unmarshalVolume = (data) => {
|
|
54
|
-
if (!isJSONObject(data)) {
|
|
55
|
-
throw new TypeError(
|
|
56
|
-
`Unmarshalling the type 'Volume' failed as data isn't a dictionary.`
|
|
57
|
-
);
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
creationDate: unmarshalDate(data.creation_date),
|
|
61
|
-
exportUri: data.export_uri,
|
|
62
|
-
id: data.id,
|
|
63
|
-
modificationDate: unmarshalDate(data.modification_date),
|
|
64
|
-
name: data.name,
|
|
65
|
-
organization: data.organization,
|
|
66
|
-
project: data.project,
|
|
67
|
-
server: data.server ? unmarshalServerSummary(data.server) : void 0,
|
|
68
|
-
size: data.size,
|
|
69
|
-
state: data.state,
|
|
70
|
-
tags: data.tags,
|
|
71
|
-
volumeType: data.volume_type,
|
|
72
|
-
zone: data.zone
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
const unmarshalVolumeSummary = (data) => {
|
|
76
|
-
if (!isJSONObject(data)) {
|
|
77
|
-
throw new TypeError(
|
|
78
|
-
`Unmarshalling the type 'VolumeSummary' failed as data isn't a dictionary.`
|
|
79
|
-
);
|
|
80
|
-
}
|
|
81
|
-
return {
|
|
82
|
-
id: data.id,
|
|
83
|
-
name: data.name,
|
|
84
|
-
size: data.size,
|
|
85
|
-
volumeType: data.volume_type
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
const unmarshalImage = (data) => {
|
|
89
|
-
if (!isJSONObject(data)) {
|
|
90
|
-
throw new TypeError(
|
|
91
|
-
`Unmarshalling the type 'Image' failed as data isn't a dictionary.`
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
return {
|
|
95
|
-
arch: data.arch,
|
|
96
|
-
creationDate: unmarshalDate(data.creation_date),
|
|
97
|
-
defaultBootscript: data.default_bootscript ? unmarshalBootscript(data.default_bootscript) : void 0,
|
|
98
|
-
extraVolumes: unmarshalMapOfObject(data.extra_volumes, unmarshalVolume),
|
|
99
|
-
fromServer: data.from_server,
|
|
100
|
-
id: data.id,
|
|
101
|
-
modificationDate: unmarshalDate(data.modification_date),
|
|
102
|
-
name: data.name,
|
|
103
|
-
organization: data.organization,
|
|
104
|
-
project: data.project,
|
|
105
|
-
public: data.public,
|
|
106
|
-
rootVolume: data.root_volume ? unmarshalVolumeSummary(data.root_volume) : void 0,
|
|
107
|
-
state: data.state,
|
|
108
|
-
tags: data.tags,
|
|
109
|
-
zone: data.zone
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
const unmarshalPlacementGroup = (data) => {
|
|
113
|
-
if (!isJSONObject(data)) {
|
|
114
|
-
throw new TypeError(
|
|
115
|
-
`Unmarshalling the type 'PlacementGroup' failed as data isn't a dictionary.`
|
|
116
|
-
);
|
|
117
|
-
}
|
|
118
|
-
return {
|
|
119
|
-
id: data.id,
|
|
120
|
-
name: data.name,
|
|
121
|
-
organization: data.organization,
|
|
122
|
-
policyMode: data.policy_mode,
|
|
123
|
-
policyRespected: data.policy_respected,
|
|
124
|
-
policyType: data.policy_type,
|
|
125
|
-
project: data.project,
|
|
126
|
-
tags: data.tags,
|
|
127
|
-
zone: data.zone
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
const unmarshalSecurityGroupSummary = (data) => {
|
|
131
|
-
if (!isJSONObject(data)) {
|
|
132
|
-
throw new TypeError(
|
|
133
|
-
`Unmarshalling the type 'SecurityGroupSummary' failed as data isn't a dictionary.`
|
|
134
|
-
);
|
|
135
|
-
}
|
|
136
|
-
return {
|
|
137
|
-
id: data.id,
|
|
138
|
-
name: data.name
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
const unmarshalServerIp = (data) => {
|
|
142
|
-
if (!isJSONObject(data)) {
|
|
143
|
-
throw new TypeError(
|
|
144
|
-
`Unmarshalling the type 'ServerIp' failed as data isn't a dictionary.`
|
|
145
|
-
);
|
|
146
|
-
}
|
|
147
|
-
return {
|
|
148
|
-
address: data.address,
|
|
149
|
-
dynamic: data.dynamic,
|
|
150
|
-
family: data.family,
|
|
151
|
-
gateway: data.gateway,
|
|
152
|
-
id: data.id,
|
|
153
|
-
ipamId: data.ipam_id,
|
|
154
|
-
netmask: data.netmask,
|
|
155
|
-
provisioningMode: data.provisioning_mode,
|
|
156
|
-
state: data.state,
|
|
157
|
-
tags: data.tags
|
|
158
|
-
};
|
|
159
|
-
};
|
|
160
|
-
const unmarshalServerIpv6 = (data) => {
|
|
161
|
-
if (!isJSONObject(data)) {
|
|
162
|
-
throw new TypeError(
|
|
163
|
-
`Unmarshalling the type 'ServerIpv6' failed as data isn't a dictionary.`
|
|
164
|
-
);
|
|
165
|
-
}
|
|
166
|
-
return {
|
|
167
|
-
address: data.address,
|
|
168
|
-
gateway: data.gateway,
|
|
169
|
-
netmask: data.netmask
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
const unmarshalServerLocation = (data) => {
|
|
173
|
-
if (!isJSONObject(data)) {
|
|
174
|
-
throw new TypeError(
|
|
175
|
-
`Unmarshalling the type 'ServerLocation' failed as data isn't a dictionary.`
|
|
176
|
-
);
|
|
177
|
-
}
|
|
178
|
-
return {
|
|
179
|
-
clusterId: data.cluster_id,
|
|
180
|
-
hypervisorId: data.hypervisor_id,
|
|
181
|
-
nodeId: data.node_id,
|
|
182
|
-
platformId: data.platform_id,
|
|
183
|
-
zoneId: data.zone_id
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
const unmarshalServerMaintenance = (data) => {
|
|
187
|
-
if (!isJSONObject(data)) {
|
|
188
|
-
throw new TypeError(
|
|
189
|
-
`Unmarshalling the type 'ServerMaintenance' failed as data isn't a dictionary.`
|
|
190
|
-
);
|
|
191
|
-
}
|
|
192
|
-
return {
|
|
193
|
-
reason: data.reason,
|
|
194
|
-
startDate: unmarshalDate(data.start_date)
|
|
195
|
-
};
|
|
196
|
-
};
|
|
197
|
-
const unmarshalVolumeServer = (data) => {
|
|
198
|
-
if (!isJSONObject(data)) {
|
|
199
|
-
throw new TypeError(
|
|
200
|
-
`Unmarshalling the type 'VolumeServer' failed as data isn't a dictionary.`
|
|
201
|
-
);
|
|
202
|
-
}
|
|
203
|
-
return {
|
|
204
|
-
boot: data.boot,
|
|
205
|
-
creationDate: unmarshalDate(data.creation_date),
|
|
206
|
-
exportUri: data.export_uri,
|
|
207
|
-
id: data.id,
|
|
208
|
-
modificationDate: unmarshalDate(data.modification_date),
|
|
209
|
-
name: data.name,
|
|
210
|
-
organization: data.organization,
|
|
211
|
-
project: data.project,
|
|
212
|
-
server: data.server ? unmarshalServerSummary(data.server) : void 0,
|
|
213
|
-
size: data.size,
|
|
214
|
-
state: data.state ? data.state : void 0,
|
|
215
|
-
volumeType: data.volume_type,
|
|
216
|
-
zone: data.zone
|
|
217
|
-
};
|
|
218
|
-
};
|
|
219
|
-
const unmarshalServer = (data) => {
|
|
220
|
-
if (!isJSONObject(data)) {
|
|
221
|
-
throw new TypeError(
|
|
222
|
-
`Unmarshalling the type 'Server' failed as data isn't a dictionary.`
|
|
223
|
-
);
|
|
224
|
-
}
|
|
225
|
-
return {
|
|
226
|
-
adminPasswordEncryptedValue: data.admin_password_encrypted_value,
|
|
227
|
-
adminPasswordEncryptionSshKeyId: data.admin_password_encryption_ssh_key_id,
|
|
228
|
-
allowedActions: data.allowed_actions,
|
|
229
|
-
arch: data.arch,
|
|
230
|
-
bootType: data.boot_type,
|
|
231
|
-
commercialType: data.commercial_type,
|
|
232
|
-
creationDate: unmarshalDate(data.creation_date),
|
|
233
|
-
dynamicIpRequired: data.dynamic_ip_required,
|
|
234
|
-
enableIpv6: data.enable_ipv6,
|
|
235
|
-
endOfService: data.end_of_service,
|
|
236
|
-
hostname: data.hostname,
|
|
237
|
-
id: data.id,
|
|
238
|
-
image: data.image ? unmarshalImage(data.image) : void 0,
|
|
239
|
-
ipv6: data.ipv6 ? unmarshalServerIpv6(data.ipv6) : void 0,
|
|
240
|
-
location: data.location ? unmarshalServerLocation(data.location) : void 0,
|
|
241
|
-
macAddress: data.mac_address,
|
|
242
|
-
maintenances: unmarshalArrayOfObject(
|
|
243
|
-
data.maintenances,
|
|
244
|
-
unmarshalServerMaintenance
|
|
245
|
-
),
|
|
246
|
-
modificationDate: unmarshalDate(data.modification_date),
|
|
247
|
-
name: data.name,
|
|
248
|
-
organization: data.organization,
|
|
249
|
-
placementGroup: data.placement_group ? unmarshalPlacementGroup(data.placement_group) : void 0,
|
|
250
|
-
privateIp: data.private_ip,
|
|
251
|
-
privateNics: unmarshalArrayOfObject(data.private_nics, unmarshalPrivateNIC),
|
|
252
|
-
project: data.project,
|
|
253
|
-
protected: data.protected,
|
|
254
|
-
publicIp: data.public_ip ? unmarshalServerIp(data.public_ip) : void 0,
|
|
255
|
-
publicIps: unmarshalArrayOfObject(data.public_ips, unmarshalServerIp),
|
|
256
|
-
routedIpEnabled: data.routed_ip_enabled,
|
|
257
|
-
securityGroup: data.security_group ? unmarshalSecurityGroupSummary(data.security_group) : void 0,
|
|
258
|
-
state: data.state,
|
|
259
|
-
stateDetail: data.state_detail,
|
|
260
|
-
tags: data.tags,
|
|
261
|
-
volumes: unmarshalMapOfObject(data.volumes, unmarshalVolumeServer),
|
|
262
|
-
zone: data.zone
|
|
263
|
-
};
|
|
264
|
-
};
|
|
265
|
-
const unmarshalAttachServerVolumeResponse = (data) => {
|
|
266
|
-
if (!isJSONObject(data)) {
|
|
267
|
-
throw new TypeError(
|
|
268
|
-
`Unmarshalling the type 'AttachServerVolumeResponse' failed as data isn't a dictionary.`
|
|
269
|
-
);
|
|
270
|
-
}
|
|
271
|
-
return {
|
|
272
|
-
server: data.server ? unmarshalServer(data.server) : void 0
|
|
273
|
-
};
|
|
274
|
-
};
|
|
275
|
-
const unmarshalCreateImageResponse = (data) => {
|
|
276
|
-
if (!isJSONObject(data)) {
|
|
277
|
-
throw new TypeError(
|
|
278
|
-
`Unmarshalling the type 'CreateImageResponse' failed as data isn't a dictionary.`
|
|
279
|
-
);
|
|
280
|
-
}
|
|
281
|
-
return {
|
|
282
|
-
image: data.image ? unmarshalImage(data.image) : void 0
|
|
283
|
-
};
|
|
284
|
-
};
|
|
285
|
-
const unmarshalIp = (data) => {
|
|
286
|
-
if (!isJSONObject(data)) {
|
|
287
|
-
throw new TypeError(
|
|
288
|
-
`Unmarshalling the type 'Ip' failed as data isn't a dictionary.`
|
|
289
|
-
);
|
|
290
|
-
}
|
|
291
|
-
return {
|
|
292
|
-
address: data.address,
|
|
293
|
-
id: data.id,
|
|
294
|
-
ipamId: data.ipam_id,
|
|
295
|
-
organization: data.organization,
|
|
296
|
-
prefix: data.prefix,
|
|
297
|
-
project: data.project,
|
|
298
|
-
reverse: data.reverse,
|
|
299
|
-
server: data.server ? unmarshalServerSummary(data.server) : void 0,
|
|
300
|
-
state: data.state,
|
|
301
|
-
tags: data.tags,
|
|
302
|
-
type: data.type,
|
|
303
|
-
zone: data.zone
|
|
304
|
-
};
|
|
305
|
-
};
|
|
306
|
-
const unmarshalCreateIpResponse = (data) => {
|
|
307
|
-
if (!isJSONObject(data)) {
|
|
308
|
-
throw new TypeError(
|
|
309
|
-
`Unmarshalling the type 'CreateIpResponse' failed as data isn't a dictionary.`
|
|
310
|
-
);
|
|
311
|
-
}
|
|
312
|
-
return {
|
|
313
|
-
ip: data.ip ? unmarshalIp(data.ip) : void 0
|
|
314
|
-
};
|
|
315
|
-
};
|
|
316
|
-
const unmarshalCreatePlacementGroupResponse = (data) => {
|
|
317
|
-
if (!isJSONObject(data)) {
|
|
318
|
-
throw new TypeError(
|
|
319
|
-
`Unmarshalling the type 'CreatePlacementGroupResponse' failed as data isn't a dictionary.`
|
|
320
|
-
);
|
|
321
|
-
}
|
|
322
|
-
return {
|
|
323
|
-
placementGroup: data.placement_group ? unmarshalPlacementGroup(data.placement_group) : void 0
|
|
324
|
-
};
|
|
325
|
-
};
|
|
326
|
-
const unmarshalCreatePrivateNICResponse = (data) => {
|
|
327
|
-
if (!isJSONObject(data)) {
|
|
328
|
-
throw new TypeError(
|
|
329
|
-
`Unmarshalling the type 'CreatePrivateNICResponse' failed as data isn't a dictionary.`
|
|
330
|
-
);
|
|
331
|
-
}
|
|
332
|
-
return {
|
|
333
|
-
privateNic: data.private_nic ? unmarshalPrivateNIC(data.private_nic) : void 0
|
|
334
|
-
};
|
|
335
|
-
};
|
|
336
|
-
const unmarshalSecurityGroup = (data) => {
|
|
337
|
-
if (!isJSONObject(data)) {
|
|
338
|
-
throw new TypeError(
|
|
339
|
-
`Unmarshalling the type 'SecurityGroup' failed as data isn't a dictionary.`
|
|
340
|
-
);
|
|
341
|
-
}
|
|
342
|
-
return {
|
|
343
|
-
creationDate: unmarshalDate(data.creation_date),
|
|
344
|
-
description: data.description,
|
|
345
|
-
enableDefaultSecurity: data.enable_default_security,
|
|
346
|
-
id: data.id,
|
|
347
|
-
inboundDefaultPolicy: data.inbound_default_policy,
|
|
348
|
-
modificationDate: unmarshalDate(data.modification_date),
|
|
349
|
-
name: data.name,
|
|
350
|
-
organization: data.organization,
|
|
351
|
-
organizationDefault: data.organization_default,
|
|
352
|
-
outboundDefaultPolicy: data.outbound_default_policy,
|
|
353
|
-
project: data.project,
|
|
354
|
-
projectDefault: data.project_default,
|
|
355
|
-
servers: unmarshalArrayOfObject(data.servers, unmarshalServerSummary),
|
|
356
|
-
state: data.state,
|
|
357
|
-
stateful: data.stateful,
|
|
358
|
-
tags: data.tags,
|
|
359
|
-
zone: data.zone
|
|
360
|
-
};
|
|
361
|
-
};
|
|
362
|
-
const unmarshalCreateSecurityGroupResponse = (data) => {
|
|
363
|
-
if (!isJSONObject(data)) {
|
|
364
|
-
throw new TypeError(
|
|
365
|
-
`Unmarshalling the type 'CreateSecurityGroupResponse' failed as data isn't a dictionary.`
|
|
366
|
-
);
|
|
367
|
-
}
|
|
368
|
-
return {
|
|
369
|
-
securityGroup: data.security_group ? unmarshalSecurityGroup(data.security_group) : void 0
|
|
370
|
-
};
|
|
371
|
-
};
|
|
372
|
-
const unmarshalSecurityGroupRule = (data) => {
|
|
373
|
-
if (!isJSONObject(data)) {
|
|
374
|
-
throw new TypeError(
|
|
375
|
-
`Unmarshalling the type 'SecurityGroupRule' failed as data isn't a dictionary.`
|
|
376
|
-
);
|
|
377
|
-
}
|
|
378
|
-
return {
|
|
379
|
-
action: data.action,
|
|
380
|
-
destPortFrom: data.dest_port_from,
|
|
381
|
-
destPortTo: data.dest_port_to,
|
|
382
|
-
direction: data.direction,
|
|
383
|
-
editable: data.editable,
|
|
384
|
-
id: data.id,
|
|
385
|
-
ipRange: data.ip_range,
|
|
386
|
-
position: data.position,
|
|
387
|
-
protocol: data.protocol,
|
|
388
|
-
zone: data.zone
|
|
389
|
-
};
|
|
390
|
-
};
|
|
391
|
-
const unmarshalCreateSecurityGroupRuleResponse = (data) => {
|
|
392
|
-
if (!isJSONObject(data)) {
|
|
393
|
-
throw new TypeError(
|
|
394
|
-
`Unmarshalling the type 'CreateSecurityGroupRuleResponse' failed as data isn't a dictionary.`
|
|
395
|
-
);
|
|
396
|
-
}
|
|
397
|
-
return {
|
|
398
|
-
rule: data.rule ? unmarshalSecurityGroupRule(data.rule) : void 0
|
|
399
|
-
};
|
|
400
|
-
};
|
|
401
|
-
const unmarshalCreateServerResponse = (data) => {
|
|
402
|
-
if (!isJSONObject(data)) {
|
|
403
|
-
throw new TypeError(
|
|
404
|
-
`Unmarshalling the type 'CreateServerResponse' failed as data isn't a dictionary.`
|
|
405
|
-
);
|
|
406
|
-
}
|
|
407
|
-
return {
|
|
408
|
-
server: data.server ? unmarshalServer(data.server) : void 0
|
|
409
|
-
};
|
|
410
|
-
};
|
|
411
|
-
const unmarshalSnapshotBaseVolume = (data) => {
|
|
412
|
-
if (!isJSONObject(data)) {
|
|
413
|
-
throw new TypeError(
|
|
414
|
-
`Unmarshalling the type 'SnapshotBaseVolume' failed as data isn't a dictionary.`
|
|
415
|
-
);
|
|
416
|
-
}
|
|
417
|
-
return {
|
|
418
|
-
id: data.id,
|
|
419
|
-
name: data.name
|
|
420
|
-
};
|
|
421
|
-
};
|
|
422
|
-
const unmarshalSnapshot = (data) => {
|
|
423
|
-
if (!isJSONObject(data)) {
|
|
424
|
-
throw new TypeError(
|
|
425
|
-
`Unmarshalling the type 'Snapshot' failed as data isn't a dictionary.`
|
|
426
|
-
);
|
|
427
|
-
}
|
|
428
|
-
return {
|
|
429
|
-
baseVolume: data.base_volume ? unmarshalSnapshotBaseVolume(data.base_volume) : void 0,
|
|
430
|
-
creationDate: unmarshalDate(data.creation_date),
|
|
431
|
-
errorReason: data.error_reason,
|
|
432
|
-
id: data.id,
|
|
433
|
-
modificationDate: unmarshalDate(data.modification_date),
|
|
434
|
-
name: data.name,
|
|
435
|
-
organization: data.organization,
|
|
436
|
-
project: data.project,
|
|
437
|
-
size: data.size,
|
|
438
|
-
state: data.state,
|
|
439
|
-
tags: data.tags,
|
|
440
|
-
volumeType: data.volume_type,
|
|
441
|
-
zone: data.zone
|
|
442
|
-
};
|
|
443
|
-
};
|
|
444
|
-
const unmarshalTask = (data) => {
|
|
445
|
-
if (!isJSONObject(data)) {
|
|
446
|
-
throw new TypeError(
|
|
447
|
-
`Unmarshalling the type 'Task' failed as data isn't a dictionary.`
|
|
448
|
-
);
|
|
449
|
-
}
|
|
450
|
-
return {
|
|
451
|
-
description: data.description,
|
|
452
|
-
hrefFrom: data.href_from,
|
|
453
|
-
hrefResult: data.href_result,
|
|
454
|
-
id: data.id,
|
|
455
|
-
progress: data.progress,
|
|
456
|
-
startedAt: unmarshalDate(data.started_at),
|
|
457
|
-
status: data.status,
|
|
458
|
-
terminatedAt: unmarshalDate(data.terminated_at),
|
|
459
|
-
zone: data.zone
|
|
460
|
-
};
|
|
461
|
-
};
|
|
462
|
-
const unmarshalCreateSnapshotResponse = (data) => {
|
|
463
|
-
if (!isJSONObject(data)) {
|
|
464
|
-
throw new TypeError(
|
|
465
|
-
`Unmarshalling the type 'CreateSnapshotResponse' failed as data isn't a dictionary.`
|
|
466
|
-
);
|
|
467
|
-
}
|
|
468
|
-
return {
|
|
469
|
-
snapshot: data.snapshot ? unmarshalSnapshot(data.snapshot) : void 0,
|
|
470
|
-
task: data.task ? unmarshalTask(data.task) : void 0
|
|
471
|
-
};
|
|
472
|
-
};
|
|
473
|
-
const unmarshalCreateVolumeResponse = (data) => {
|
|
474
|
-
if (!isJSONObject(data)) {
|
|
475
|
-
throw new TypeError(
|
|
476
|
-
`Unmarshalling the type 'CreateVolumeResponse' failed as data isn't a dictionary.`
|
|
477
|
-
);
|
|
478
|
-
}
|
|
479
|
-
return {
|
|
480
|
-
volume: data.volume ? unmarshalVolume(data.volume) : void 0
|
|
481
|
-
};
|
|
482
|
-
};
|
|
483
|
-
const unmarshalDetachServerVolumeResponse = (data) => {
|
|
484
|
-
if (!isJSONObject(data)) {
|
|
485
|
-
throw new TypeError(
|
|
486
|
-
`Unmarshalling the type 'DetachServerVolumeResponse' failed as data isn't a dictionary.`
|
|
487
|
-
);
|
|
488
|
-
}
|
|
489
|
-
return {
|
|
490
|
-
server: data.server ? unmarshalServer(data.server) : void 0
|
|
491
|
-
};
|
|
492
|
-
};
|
|
493
|
-
const unmarshalExportSnapshotResponse = (data) => {
|
|
494
|
-
if (!isJSONObject(data)) {
|
|
495
|
-
throw new TypeError(
|
|
496
|
-
`Unmarshalling the type 'ExportSnapshotResponse' failed as data isn't a dictionary.`
|
|
497
|
-
);
|
|
498
|
-
}
|
|
499
|
-
return {
|
|
500
|
-
task: data.task ? unmarshalTask(data.task) : void 0
|
|
501
|
-
};
|
|
502
|
-
};
|
|
503
|
-
const unmarshalDashboard = (data) => {
|
|
504
|
-
if (!isJSONObject(data)) {
|
|
505
|
-
throw new TypeError(
|
|
506
|
-
`Unmarshalling the type 'Dashboard' failed as data isn't a dictionary.`
|
|
507
|
-
);
|
|
508
|
-
}
|
|
509
|
-
return {
|
|
510
|
-
imagesCount: data.images_count,
|
|
511
|
-
ipsCount: data.ips_count,
|
|
512
|
-
ipsUnused: data.ips_unused,
|
|
513
|
-
placementGroupsCount: data.placement_groups_count,
|
|
514
|
-
privateNicsCount: data.private_nics_count,
|
|
515
|
-
runningServersCount: data.running_servers_count,
|
|
516
|
-
securityGroupsCount: data.security_groups_count,
|
|
517
|
-
serversByTypes: data.servers_by_types,
|
|
518
|
-
serversCount: data.servers_count,
|
|
519
|
-
snapshotsCount: data.snapshots_count,
|
|
520
|
-
volumesBSsdCount: data.volumes_b_ssd_count,
|
|
521
|
-
volumesBSsdTotalSize: data.volumes_b_ssd_total_size,
|
|
522
|
-
volumesCount: data.volumes_count,
|
|
523
|
-
volumesLSsdCount: data.volumes_l_ssd_count,
|
|
524
|
-
volumesLSsdTotalSize: data.volumes_l_ssd_total_size
|
|
525
|
-
};
|
|
526
|
-
};
|
|
527
|
-
const unmarshalGetDashboardResponse = (data) => {
|
|
528
|
-
if (!isJSONObject(data)) {
|
|
529
|
-
throw new TypeError(
|
|
530
|
-
`Unmarshalling the type 'GetDashboardResponse' failed as data isn't a dictionary.`
|
|
531
|
-
);
|
|
532
|
-
}
|
|
533
|
-
return {
|
|
534
|
-
dashboard: data.dashboard ? unmarshalDashboard(data.dashboard) : void 0
|
|
535
|
-
};
|
|
536
|
-
};
|
|
537
|
-
const unmarshalGetImageResponse = (data) => {
|
|
538
|
-
if (!isJSONObject(data)) {
|
|
539
|
-
throw new TypeError(
|
|
540
|
-
`Unmarshalling the type 'GetImageResponse' failed as data isn't a dictionary.`
|
|
541
|
-
);
|
|
542
|
-
}
|
|
543
|
-
return {
|
|
544
|
-
image: data.image ? unmarshalImage(data.image) : void 0
|
|
545
|
-
};
|
|
546
|
-
};
|
|
547
|
-
const unmarshalGetIpResponse = (data) => {
|
|
548
|
-
if (!isJSONObject(data)) {
|
|
549
|
-
throw new TypeError(
|
|
550
|
-
`Unmarshalling the type 'GetIpResponse' failed as data isn't a dictionary.`
|
|
551
|
-
);
|
|
552
|
-
}
|
|
553
|
-
return {
|
|
554
|
-
ip: data.ip ? unmarshalIp(data.ip) : void 0
|
|
555
|
-
};
|
|
556
|
-
};
|
|
557
|
-
const unmarshalGetPlacementGroupResponse = (data) => {
|
|
558
|
-
if (!isJSONObject(data)) {
|
|
559
|
-
throw new TypeError(
|
|
560
|
-
`Unmarshalling the type 'GetPlacementGroupResponse' failed as data isn't a dictionary.`
|
|
561
|
-
);
|
|
562
|
-
}
|
|
563
|
-
return {
|
|
564
|
-
placementGroup: data.placement_group ? unmarshalPlacementGroup(data.placement_group) : void 0
|
|
565
|
-
};
|
|
566
|
-
};
|
|
567
|
-
const unmarshalPlacementGroupServer = (data) => {
|
|
568
|
-
if (!isJSONObject(data)) {
|
|
569
|
-
throw new TypeError(
|
|
570
|
-
`Unmarshalling the type 'PlacementGroupServer' failed as data isn't a dictionary.`
|
|
571
|
-
);
|
|
572
|
-
}
|
|
573
|
-
return {
|
|
574
|
-
id: data.id,
|
|
575
|
-
name: data.name,
|
|
576
|
-
policyRespected: data.policy_respected
|
|
577
|
-
};
|
|
578
|
-
};
|
|
579
|
-
const unmarshalGetPlacementGroupServersResponse = (data) => {
|
|
580
|
-
if (!isJSONObject(data)) {
|
|
581
|
-
throw new TypeError(
|
|
582
|
-
`Unmarshalling the type 'GetPlacementGroupServersResponse' failed as data isn't a dictionary.`
|
|
583
|
-
);
|
|
584
|
-
}
|
|
585
|
-
return {
|
|
586
|
-
servers: unmarshalArrayOfObject(
|
|
587
|
-
data.servers,
|
|
588
|
-
unmarshalPlacementGroupServer
|
|
589
|
-
)
|
|
590
|
-
};
|
|
591
|
-
};
|
|
592
|
-
const unmarshalGetPrivateNICResponse = (data) => {
|
|
593
|
-
if (!isJSONObject(data)) {
|
|
594
|
-
throw new TypeError(
|
|
595
|
-
`Unmarshalling the type 'GetPrivateNICResponse' failed as data isn't a dictionary.`
|
|
596
|
-
);
|
|
597
|
-
}
|
|
598
|
-
return {
|
|
599
|
-
privateNic: data.private_nic ? unmarshalPrivateNIC(data.private_nic) : void 0
|
|
600
|
-
};
|
|
601
|
-
};
|
|
602
|
-
const unmarshalGetSecurityGroupResponse = (data) => {
|
|
603
|
-
if (!isJSONObject(data)) {
|
|
604
|
-
throw new TypeError(
|
|
605
|
-
`Unmarshalling the type 'GetSecurityGroupResponse' failed as data isn't a dictionary.`
|
|
606
|
-
);
|
|
607
|
-
}
|
|
608
|
-
return {
|
|
609
|
-
securityGroup: data.security_group ? unmarshalSecurityGroup(data.security_group) : void 0
|
|
610
|
-
};
|
|
611
|
-
};
|
|
612
|
-
const unmarshalGetSecurityGroupRuleResponse = (data) => {
|
|
613
|
-
if (!isJSONObject(data)) {
|
|
614
|
-
throw new TypeError(
|
|
615
|
-
`Unmarshalling the type 'GetSecurityGroupRuleResponse' failed as data isn't a dictionary.`
|
|
616
|
-
);
|
|
617
|
-
}
|
|
618
|
-
return {
|
|
619
|
-
rule: data.rule ? unmarshalSecurityGroupRule(data.rule) : void 0
|
|
620
|
-
};
|
|
621
|
-
};
|
|
622
|
-
const unmarshalGetServerResponse = (data) => {
|
|
623
|
-
if (!isJSONObject(data)) {
|
|
624
|
-
throw new TypeError(
|
|
625
|
-
`Unmarshalling the type 'GetServerResponse' failed as data isn't a dictionary.`
|
|
626
|
-
);
|
|
627
|
-
}
|
|
628
|
-
return {
|
|
629
|
-
server: data.server ? unmarshalServer(data.server) : void 0
|
|
630
|
-
};
|
|
631
|
-
};
|
|
632
|
-
const unmarshalGetServerTypesAvailabilityResponseAvailability = (data) => {
|
|
633
|
-
if (!isJSONObject(data)) {
|
|
634
|
-
throw new TypeError(
|
|
635
|
-
`Unmarshalling the type 'GetServerTypesAvailabilityResponseAvailability' failed as data isn't a dictionary.`
|
|
636
|
-
);
|
|
637
|
-
}
|
|
638
|
-
return {
|
|
639
|
-
availability: data.availability
|
|
640
|
-
};
|
|
641
|
-
};
|
|
642
|
-
const unmarshalGetServerTypesAvailabilityResponse = (data) => {
|
|
643
|
-
if (!isJSONObject(data)) {
|
|
644
|
-
throw new TypeError(
|
|
645
|
-
`Unmarshalling the type 'GetServerTypesAvailabilityResponse' failed as data isn't a dictionary.`
|
|
646
|
-
);
|
|
647
|
-
}
|
|
648
|
-
return {
|
|
649
|
-
servers: unmarshalMapOfObject(
|
|
650
|
-
data.servers,
|
|
651
|
-
unmarshalGetServerTypesAvailabilityResponseAvailability
|
|
652
|
-
),
|
|
653
|
-
totalCount: data.total_count
|
|
654
|
-
};
|
|
655
|
-
};
|
|
656
|
-
const unmarshalGetSnapshotResponse = (data) => {
|
|
657
|
-
if (!isJSONObject(data)) {
|
|
658
|
-
throw new TypeError(
|
|
659
|
-
`Unmarshalling the type 'GetSnapshotResponse' failed as data isn't a dictionary.`
|
|
660
|
-
);
|
|
661
|
-
}
|
|
662
|
-
return {
|
|
663
|
-
snapshot: data.snapshot ? unmarshalSnapshot(data.snapshot) : void 0
|
|
664
|
-
};
|
|
665
|
-
};
|
|
666
|
-
const unmarshalGetVolumeResponse = (data) => {
|
|
667
|
-
if (!isJSONObject(data)) {
|
|
668
|
-
throw new TypeError(
|
|
669
|
-
`Unmarshalling the type 'GetVolumeResponse' failed as data isn't a dictionary.`
|
|
670
|
-
);
|
|
671
|
-
}
|
|
672
|
-
return {
|
|
673
|
-
volume: data.volume ? unmarshalVolume(data.volume) : void 0
|
|
674
|
-
};
|
|
675
|
-
};
|
|
676
|
-
const unmarshalListImagesResponse = (data) => {
|
|
677
|
-
if (!isJSONObject(data)) {
|
|
678
|
-
throw new TypeError(
|
|
679
|
-
`Unmarshalling the type 'ListImagesResponse' failed as data isn't a dictionary.`
|
|
680
|
-
);
|
|
681
|
-
}
|
|
682
|
-
return {
|
|
683
|
-
images: unmarshalArrayOfObject(data.images, unmarshalImage),
|
|
684
|
-
totalCount: data.total_count
|
|
685
|
-
};
|
|
686
|
-
};
|
|
687
|
-
const unmarshalListIpsResponse = (data) => {
|
|
688
|
-
if (!isJSONObject(data)) {
|
|
689
|
-
throw new TypeError(
|
|
690
|
-
`Unmarshalling the type 'ListIpsResponse' failed as data isn't a dictionary.`
|
|
691
|
-
);
|
|
692
|
-
}
|
|
693
|
-
return {
|
|
694
|
-
ips: unmarshalArrayOfObject(data.ips, unmarshalIp),
|
|
695
|
-
totalCount: data.total_count
|
|
696
|
-
};
|
|
697
|
-
};
|
|
698
|
-
const unmarshalListPlacementGroupsResponse = (data) => {
|
|
699
|
-
if (!isJSONObject(data)) {
|
|
700
|
-
throw new TypeError(
|
|
701
|
-
`Unmarshalling the type 'ListPlacementGroupsResponse' failed as data isn't a dictionary.`
|
|
702
|
-
);
|
|
703
|
-
}
|
|
704
|
-
return {
|
|
705
|
-
placementGroups: unmarshalArrayOfObject(
|
|
706
|
-
data.placement_groups,
|
|
707
|
-
unmarshalPlacementGroup
|
|
708
|
-
),
|
|
709
|
-
totalCount: data.total_count
|
|
710
|
-
};
|
|
711
|
-
};
|
|
712
|
-
const unmarshalListPrivateNICsResponse = (data) => {
|
|
713
|
-
if (!isJSONObject(data)) {
|
|
714
|
-
throw new TypeError(
|
|
715
|
-
`Unmarshalling the type 'ListPrivateNICsResponse' failed as data isn't a dictionary.`
|
|
716
|
-
);
|
|
717
|
-
}
|
|
718
|
-
return {
|
|
719
|
-
privateNics: unmarshalArrayOfObject(data.private_nics, unmarshalPrivateNIC),
|
|
720
|
-
totalCount: data.total_count
|
|
721
|
-
};
|
|
722
|
-
};
|
|
723
|
-
const unmarshalListSecurityGroupRulesResponse = (data) => {
|
|
724
|
-
if (!isJSONObject(data)) {
|
|
725
|
-
throw new TypeError(
|
|
726
|
-
`Unmarshalling the type 'ListSecurityGroupRulesResponse' failed as data isn't a dictionary.`
|
|
727
|
-
);
|
|
728
|
-
}
|
|
729
|
-
return {
|
|
730
|
-
rules: unmarshalArrayOfObject(data.rules, unmarshalSecurityGroupRule),
|
|
731
|
-
totalCount: data.total_count
|
|
732
|
-
};
|
|
733
|
-
};
|
|
734
|
-
const unmarshalListSecurityGroupsResponse = (data) => {
|
|
735
|
-
if (!isJSONObject(data)) {
|
|
736
|
-
throw new TypeError(
|
|
737
|
-
`Unmarshalling the type 'ListSecurityGroupsResponse' failed as data isn't a dictionary.`
|
|
738
|
-
);
|
|
739
|
-
}
|
|
740
|
-
return {
|
|
741
|
-
securityGroups: unmarshalArrayOfObject(
|
|
742
|
-
data.security_groups,
|
|
743
|
-
unmarshalSecurityGroup
|
|
744
|
-
),
|
|
745
|
-
totalCount: data.total_count
|
|
746
|
-
};
|
|
747
|
-
};
|
|
748
|
-
const unmarshalListServerActionsResponse = (data) => {
|
|
749
|
-
if (!isJSONObject(data)) {
|
|
750
|
-
throw new TypeError(
|
|
751
|
-
`Unmarshalling the type 'ListServerActionsResponse' failed as data isn't a dictionary.`
|
|
752
|
-
);
|
|
753
|
-
}
|
|
754
|
-
return {
|
|
755
|
-
actions: data.actions
|
|
756
|
-
};
|
|
757
|
-
};
|
|
758
|
-
const unmarshalListServerUserDataResponse = (data) => {
|
|
759
|
-
if (!isJSONObject(data)) {
|
|
760
|
-
throw new TypeError(
|
|
761
|
-
`Unmarshalling the type 'ListServerUserDataResponse' failed as data isn't a dictionary.`
|
|
762
|
-
);
|
|
763
|
-
}
|
|
764
|
-
return {
|
|
765
|
-
userData: data.user_data
|
|
766
|
-
};
|
|
767
|
-
};
|
|
768
|
-
const unmarshalListServersResponse = (data) => {
|
|
769
|
-
if (!isJSONObject(data)) {
|
|
770
|
-
throw new TypeError(
|
|
771
|
-
`Unmarshalling the type 'ListServersResponse' failed as data isn't a dictionary.`
|
|
772
|
-
);
|
|
773
|
-
}
|
|
774
|
-
return {
|
|
775
|
-
servers: unmarshalArrayOfObject(data.servers, unmarshalServer),
|
|
776
|
-
totalCount: data.total_count
|
|
777
|
-
};
|
|
778
|
-
};
|
|
779
|
-
const unmarshalServerTypeNetworkInterface = (data) => {
|
|
780
|
-
if (!isJSONObject(data)) {
|
|
781
|
-
throw new TypeError(
|
|
782
|
-
`Unmarshalling the type 'ServerTypeNetworkInterface' failed as data isn't a dictionary.`
|
|
783
|
-
);
|
|
784
|
-
}
|
|
785
|
-
return {
|
|
786
|
-
internalBandwidth: data.internal_bandwidth,
|
|
787
|
-
internetBandwidth: data.internet_bandwidth
|
|
788
|
-
};
|
|
789
|
-
};
|
|
790
|
-
const unmarshalServerTypeVolumeConstraintSizes = (data) => {
|
|
791
|
-
if (!isJSONObject(data)) {
|
|
792
|
-
throw new TypeError(
|
|
793
|
-
`Unmarshalling the type 'ServerTypeVolumeConstraintSizes' failed as data isn't a dictionary.`
|
|
794
|
-
);
|
|
795
|
-
}
|
|
796
|
-
return {
|
|
797
|
-
maxSize: data.max_size,
|
|
798
|
-
minSize: data.min_size
|
|
799
|
-
};
|
|
800
|
-
};
|
|
801
|
-
const unmarshalServerTypeCapabilities = (data) => {
|
|
802
|
-
if (!isJSONObject(data)) {
|
|
803
|
-
throw new TypeError(
|
|
804
|
-
`Unmarshalling the type 'ServerTypeCapabilities' failed as data isn't a dictionary.`
|
|
805
|
-
);
|
|
806
|
-
}
|
|
807
|
-
return {
|
|
808
|
-
blockStorage: data.block_storage,
|
|
809
|
-
bootTypes: data.boot_types,
|
|
810
|
-
maxFileSystems: data.max_file_systems
|
|
811
|
-
};
|
|
812
|
-
};
|
|
813
|
-
const unmarshalServerTypeGPUInfo = (data) => {
|
|
814
|
-
if (!isJSONObject(data)) {
|
|
815
|
-
throw new TypeError(
|
|
816
|
-
`Unmarshalling the type 'ServerTypeGPUInfo' failed as data isn't a dictionary.`
|
|
817
|
-
);
|
|
818
|
-
}
|
|
819
|
-
return {
|
|
820
|
-
gpuManufacturer: data.gpu_manufacturer,
|
|
821
|
-
gpuMemory: data.gpu_memory,
|
|
822
|
-
gpuName: data.gpu_name
|
|
823
|
-
};
|
|
824
|
-
};
|
|
825
|
-
const unmarshalServerTypeNetwork = (data) => {
|
|
826
|
-
if (!isJSONObject(data)) {
|
|
827
|
-
throw new TypeError(
|
|
828
|
-
`Unmarshalling the type 'ServerTypeNetwork' failed as data isn't a dictionary.`
|
|
829
|
-
);
|
|
830
|
-
}
|
|
831
|
-
return {
|
|
832
|
-
interfaces: unmarshalArrayOfObject(
|
|
833
|
-
data.interfaces,
|
|
834
|
-
unmarshalServerTypeNetworkInterface
|
|
835
|
-
),
|
|
836
|
-
ipv6Support: data.ipv6_support,
|
|
837
|
-
sumInternalBandwidth: data.sum_internal_bandwidth,
|
|
838
|
-
sumInternetBandwidth: data.sum_internet_bandwidth
|
|
839
|
-
};
|
|
840
|
-
};
|
|
841
|
-
const unmarshalServerTypeVolumeConstraintsByType = (data) => {
|
|
842
|
-
if (!isJSONObject(data)) {
|
|
843
|
-
throw new TypeError(
|
|
844
|
-
`Unmarshalling the type 'ServerTypeVolumeConstraintsByType' failed as data isn't a dictionary.`
|
|
845
|
-
);
|
|
846
|
-
}
|
|
847
|
-
return {
|
|
848
|
-
lSsd: data.l_ssd ? unmarshalServerTypeVolumeConstraintSizes(data.l_ssd) : void 0
|
|
849
|
-
};
|
|
850
|
-
};
|
|
851
|
-
const unmarshalServerType = (data) => {
|
|
852
|
-
if (!isJSONObject(data)) {
|
|
853
|
-
throw new TypeError(
|
|
854
|
-
`Unmarshalling the type 'ServerType' failed as data isn't a dictionary.`
|
|
855
|
-
);
|
|
856
|
-
}
|
|
857
|
-
return {
|
|
858
|
-
altNames: data.alt_names,
|
|
859
|
-
arch: data.arch,
|
|
860
|
-
blockBandwidth: data.block_bandwidth,
|
|
861
|
-
capabilities: data.capabilities ? unmarshalServerTypeCapabilities(data.capabilities) : void 0,
|
|
862
|
-
endOfService: data.end_of_service,
|
|
863
|
-
gpu: data.gpu,
|
|
864
|
-
gpuInfo: data.gpu_info ? unmarshalServerTypeGPUInfo(data.gpu_info) : void 0,
|
|
865
|
-
hourlyPrice: data.hourly_price,
|
|
866
|
-
monthlyPrice: data.monthly_price,
|
|
867
|
-
ncpus: data.ncpus,
|
|
868
|
-
network: data.network ? unmarshalServerTypeNetwork(data.network) : void 0,
|
|
869
|
-
perVolumeConstraint: data.per_volume_constraint ? unmarshalServerTypeVolumeConstraintsByType(data.per_volume_constraint) : void 0,
|
|
870
|
-
ram: data.ram,
|
|
871
|
-
scratchStorageMaxSize: data.scratch_storage_max_size,
|
|
872
|
-
volumesConstraint: data.volumes_constraint ? unmarshalServerTypeVolumeConstraintSizes(data.volumes_constraint) : void 0
|
|
873
|
-
};
|
|
874
|
-
};
|
|
875
|
-
const unmarshalListServersTypesResponse = (data) => {
|
|
876
|
-
if (!isJSONObject(data)) {
|
|
877
|
-
throw new TypeError(
|
|
878
|
-
`Unmarshalling the type 'ListServersTypesResponse' failed as data isn't a dictionary.`
|
|
879
|
-
);
|
|
880
|
-
}
|
|
881
|
-
return {
|
|
882
|
-
servers: unmarshalMapOfObject(data.servers, unmarshalServerType),
|
|
883
|
-
totalCount: data.total_count
|
|
884
|
-
};
|
|
885
|
-
};
|
|
886
|
-
const unmarshalListSnapshotsResponse = (data) => {
|
|
887
|
-
if (!isJSONObject(data)) {
|
|
888
|
-
throw new TypeError(
|
|
889
|
-
`Unmarshalling the type 'ListSnapshotsResponse' failed as data isn't a dictionary.`
|
|
890
|
-
);
|
|
891
|
-
}
|
|
892
|
-
return {
|
|
893
|
-
snapshots: unmarshalArrayOfObject(data.snapshots, unmarshalSnapshot),
|
|
894
|
-
totalCount: data.total_count
|
|
895
|
-
};
|
|
896
|
-
};
|
|
897
|
-
const unmarshalListVolumesResponse = (data) => {
|
|
898
|
-
if (!isJSONObject(data)) {
|
|
899
|
-
throw new TypeError(
|
|
900
|
-
`Unmarshalling the type 'ListVolumesResponse' failed as data isn't a dictionary.`
|
|
901
|
-
);
|
|
902
|
-
}
|
|
903
|
-
return {
|
|
904
|
-
totalCount: data.total_count,
|
|
905
|
-
volumes: unmarshalArrayOfObject(data.volumes, unmarshalVolume)
|
|
906
|
-
};
|
|
907
|
-
};
|
|
908
|
-
const unmarshalVolumeTypeCapabilities = (data) => {
|
|
909
|
-
if (!isJSONObject(data)) {
|
|
910
|
-
throw new TypeError(
|
|
911
|
-
`Unmarshalling the type 'VolumeTypeCapabilities' failed as data isn't a dictionary.`
|
|
912
|
-
);
|
|
913
|
-
}
|
|
914
|
-
return {
|
|
915
|
-
snapshot: data.snapshot
|
|
916
|
-
};
|
|
917
|
-
};
|
|
918
|
-
const unmarshalVolumeTypeConstraints = (data) => {
|
|
919
|
-
if (!isJSONObject(data)) {
|
|
920
|
-
throw new TypeError(
|
|
921
|
-
`Unmarshalling the type 'VolumeTypeConstraints' failed as data isn't a dictionary.`
|
|
922
|
-
);
|
|
923
|
-
}
|
|
924
|
-
return {
|
|
925
|
-
max: data.max,
|
|
926
|
-
min: data.min
|
|
927
|
-
};
|
|
928
|
-
};
|
|
929
|
-
const unmarshalVolumeType = (data) => {
|
|
930
|
-
if (!isJSONObject(data)) {
|
|
931
|
-
throw new TypeError(
|
|
932
|
-
`Unmarshalling the type 'VolumeType' failed as data isn't a dictionary.`
|
|
933
|
-
);
|
|
934
|
-
}
|
|
935
|
-
return {
|
|
936
|
-
capabilities: data.capabilities ? unmarshalVolumeTypeCapabilities(data.capabilities) : void 0,
|
|
937
|
-
constraints: data.constraints ? unmarshalVolumeTypeConstraints(data.constraints) : void 0,
|
|
938
|
-
displayName: data.display_name
|
|
939
|
-
};
|
|
940
|
-
};
|
|
941
|
-
const unmarshalListVolumesTypesResponse = (data) => {
|
|
942
|
-
if (!isJSONObject(data)) {
|
|
943
|
-
throw new TypeError(
|
|
944
|
-
`Unmarshalling the type 'ListVolumesTypesResponse' failed as data isn't a dictionary.`
|
|
945
|
-
);
|
|
946
|
-
}
|
|
947
|
-
return {
|
|
948
|
-
totalCount: data.total_count,
|
|
949
|
-
volumes: unmarshalMapOfObject(data.volumes, unmarshalVolumeType)
|
|
950
|
-
};
|
|
951
|
-
};
|
|
952
|
-
const unmarshalMigrationPlan = (data) => {
|
|
953
|
-
if (!isJSONObject(data)) {
|
|
954
|
-
throw new TypeError(
|
|
955
|
-
`Unmarshalling the type 'MigrationPlan' failed as data isn't a dictionary.`
|
|
956
|
-
);
|
|
957
|
-
}
|
|
958
|
-
return {
|
|
959
|
-
snapshots: unmarshalArrayOfObject(data.snapshots, unmarshalSnapshot),
|
|
960
|
-
validationKey: data.validation_key,
|
|
961
|
-
volume: data.volume ? unmarshalVolume(data.volume) : void 0
|
|
962
|
-
};
|
|
963
|
-
};
|
|
964
|
-
const unmarshalServerActionResponse = (data) => {
|
|
965
|
-
if (!isJSONObject(data)) {
|
|
966
|
-
throw new TypeError(
|
|
967
|
-
`Unmarshalling the type 'ServerActionResponse' failed as data isn't a dictionary.`
|
|
968
|
-
);
|
|
969
|
-
}
|
|
970
|
-
return {
|
|
971
|
-
task: data.task ? unmarshalTask(data.task) : void 0
|
|
972
|
-
};
|
|
973
|
-
};
|
|
974
|
-
const unmarshalServerCompatibleTypes = (data) => {
|
|
975
|
-
if (!isJSONObject(data)) {
|
|
976
|
-
throw new TypeError(
|
|
977
|
-
`Unmarshalling the type 'ServerCompatibleTypes' failed as data isn't a dictionary.`
|
|
978
|
-
);
|
|
979
|
-
}
|
|
980
|
-
return {
|
|
981
|
-
compatibleTypes: data.compatible_types
|
|
982
|
-
};
|
|
983
|
-
};
|
|
984
|
-
const unmarshalSetImageResponse = (data) => {
|
|
985
|
-
if (!isJSONObject(data)) {
|
|
986
|
-
throw new TypeError(
|
|
987
|
-
`Unmarshalling the type 'SetImageResponse' failed as data isn't a dictionary.`
|
|
988
|
-
);
|
|
989
|
-
}
|
|
990
|
-
return {
|
|
991
|
-
image: data.image ? unmarshalImage(data.image) : void 0
|
|
992
|
-
};
|
|
993
|
-
};
|
|
994
|
-
const unmarshalSetPlacementGroupResponse = (data) => {
|
|
995
|
-
if (!isJSONObject(data)) {
|
|
996
|
-
throw new TypeError(
|
|
997
|
-
`Unmarshalling the type 'SetPlacementGroupResponse' failed as data isn't a dictionary.`
|
|
998
|
-
);
|
|
999
|
-
}
|
|
1000
|
-
return {
|
|
1001
|
-
placementGroup: data.placement_group ? unmarshalPlacementGroup(data.placement_group) : void 0
|
|
1002
|
-
};
|
|
1003
|
-
};
|
|
1004
|
-
const unmarshalSetPlacementGroupServersResponse = (data) => {
|
|
1005
|
-
if (!isJSONObject(data)) {
|
|
1006
|
-
throw new TypeError(
|
|
1007
|
-
`Unmarshalling the type 'SetPlacementGroupServersResponse' failed as data isn't a dictionary.`
|
|
1008
|
-
);
|
|
1009
|
-
}
|
|
1010
|
-
return {
|
|
1011
|
-
servers: unmarshalArrayOfObject(
|
|
1012
|
-
data.servers,
|
|
1013
|
-
unmarshalPlacementGroupServer
|
|
1014
|
-
)
|
|
1015
|
-
};
|
|
1016
|
-
};
|
|
1017
|
-
const unmarshalSetSecurityGroupResponse = (data) => {
|
|
1018
|
-
if (!isJSONObject(data)) {
|
|
1019
|
-
throw new TypeError(
|
|
1020
|
-
`Unmarshalling the type 'SetSecurityGroupResponse' failed as data isn't a dictionary.`
|
|
1021
|
-
);
|
|
1022
|
-
}
|
|
1023
|
-
return {
|
|
1024
|
-
securityGroup: data.security_group ? unmarshalSecurityGroup(data.security_group) : void 0
|
|
1025
|
-
};
|
|
1026
|
-
};
|
|
1027
|
-
const unmarshalSetSecurityGroupRuleResponse = (data) => {
|
|
1028
|
-
if (!isJSONObject(data)) {
|
|
1029
|
-
throw new TypeError(
|
|
1030
|
-
`Unmarshalling the type 'SetSecurityGroupRuleResponse' failed as data isn't a dictionary.`
|
|
1031
|
-
);
|
|
1032
|
-
}
|
|
1033
|
-
return {
|
|
1034
|
-
rule: data.rule ? unmarshalSecurityGroupRule(data.rule) : void 0
|
|
1035
|
-
};
|
|
1036
|
-
};
|
|
1037
|
-
const unmarshalSetSecurityGroupRulesResponse = (data) => {
|
|
1038
|
-
if (!isJSONObject(data)) {
|
|
1039
|
-
throw new TypeError(
|
|
1040
|
-
`Unmarshalling the type 'SetSecurityGroupRulesResponse' failed as data isn't a dictionary.`
|
|
1041
|
-
);
|
|
1042
|
-
}
|
|
1043
|
-
return {
|
|
1044
|
-
rules: unmarshalArrayOfObject(data.rules, unmarshalSecurityGroupRule)
|
|
1045
|
-
};
|
|
1046
|
-
};
|
|
1047
|
-
const unmarshalSetServerResponse = (data) => {
|
|
1048
|
-
if (!isJSONObject(data)) {
|
|
1049
|
-
throw new TypeError(
|
|
1050
|
-
`Unmarshalling the type 'SetServerResponse' failed as data isn't a dictionary.`
|
|
1051
|
-
);
|
|
1052
|
-
}
|
|
1053
|
-
return {
|
|
1054
|
-
server: data.server ? unmarshalServer(data.server) : void 0
|
|
1055
|
-
};
|
|
1056
|
-
};
|
|
1057
|
-
const unmarshalSetSnapshotResponse = (data) => {
|
|
1058
|
-
if (!isJSONObject(data)) {
|
|
1059
|
-
throw new TypeError(
|
|
1060
|
-
`Unmarshalling the type 'SetSnapshotResponse' failed as data isn't a dictionary.`
|
|
1061
|
-
);
|
|
1062
|
-
}
|
|
1063
|
-
return {
|
|
1064
|
-
snapshot: data.snapshot ? unmarshalSnapshot(data.snapshot) : void 0
|
|
1065
|
-
};
|
|
1066
|
-
};
|
|
1067
|
-
const unmarshalUpdateImageResponse = (data) => {
|
|
1068
|
-
if (!isJSONObject(data)) {
|
|
1069
|
-
throw new TypeError(
|
|
1070
|
-
`Unmarshalling the type 'UpdateImageResponse' failed as data isn't a dictionary.`
|
|
1071
|
-
);
|
|
1072
|
-
}
|
|
1073
|
-
return {
|
|
1074
|
-
image: data.image ? unmarshalImage(data.image) : void 0
|
|
1075
|
-
};
|
|
1076
|
-
};
|
|
1077
|
-
const unmarshalUpdateIpResponse = (data) => {
|
|
1078
|
-
if (!isJSONObject(data)) {
|
|
1079
|
-
throw new TypeError(
|
|
1080
|
-
`Unmarshalling the type 'UpdateIpResponse' failed as data isn't a dictionary.`
|
|
1081
|
-
);
|
|
1082
|
-
}
|
|
1083
|
-
return {
|
|
1084
|
-
ip: data.ip ? unmarshalIp(data.ip) : void 0
|
|
1085
|
-
};
|
|
1086
|
-
};
|
|
1087
|
-
const unmarshalUpdatePlacementGroupResponse = (data) => {
|
|
1088
|
-
if (!isJSONObject(data)) {
|
|
1089
|
-
throw new TypeError(
|
|
1090
|
-
`Unmarshalling the type 'UpdatePlacementGroupResponse' failed as data isn't a dictionary.`
|
|
1091
|
-
);
|
|
1092
|
-
}
|
|
1093
|
-
return {
|
|
1094
|
-
placementGroup: data.placement_group ? unmarshalPlacementGroup(data.placement_group) : void 0
|
|
1095
|
-
};
|
|
1096
|
-
};
|
|
1097
|
-
const unmarshalUpdatePlacementGroupServersResponse = (data) => {
|
|
1098
|
-
if (!isJSONObject(data)) {
|
|
1099
|
-
throw new TypeError(
|
|
1100
|
-
`Unmarshalling the type 'UpdatePlacementGroupServersResponse' failed as data isn't a dictionary.`
|
|
1101
|
-
);
|
|
1102
|
-
}
|
|
1103
|
-
return {
|
|
1104
|
-
servers: unmarshalArrayOfObject(
|
|
1105
|
-
data.servers,
|
|
1106
|
-
unmarshalPlacementGroupServer
|
|
1107
|
-
)
|
|
1108
|
-
};
|
|
1109
|
-
};
|
|
1110
|
-
const unmarshalUpdateSecurityGroupResponse = (data) => {
|
|
1111
|
-
if (!isJSONObject(data)) {
|
|
1112
|
-
throw new TypeError(
|
|
1113
|
-
`Unmarshalling the type 'UpdateSecurityGroupResponse' failed as data isn't a dictionary.`
|
|
1114
|
-
);
|
|
1115
|
-
}
|
|
1116
|
-
return {
|
|
1117
|
-
securityGroup: data.security_group ? unmarshalSecurityGroup(data.security_group) : void 0
|
|
1118
|
-
};
|
|
1119
|
-
};
|
|
1120
|
-
const unmarshalUpdateSecurityGroupRuleResponse = (data) => {
|
|
1121
|
-
if (!isJSONObject(data)) {
|
|
1122
|
-
throw new TypeError(
|
|
1123
|
-
`Unmarshalling the type 'UpdateSecurityGroupRuleResponse' failed as data isn't a dictionary.`
|
|
1124
|
-
);
|
|
1125
|
-
}
|
|
1126
|
-
return {
|
|
1127
|
-
rule: data.rule ? unmarshalSecurityGroupRule(data.rule) : void 0
|
|
1128
|
-
};
|
|
1129
|
-
};
|
|
1130
|
-
const unmarshalUpdateServerResponse = (data) => {
|
|
1131
|
-
if (!isJSONObject(data)) {
|
|
1132
|
-
throw new TypeError(
|
|
1133
|
-
`Unmarshalling the type 'UpdateServerResponse' failed as data isn't a dictionary.`
|
|
1134
|
-
);
|
|
1135
|
-
}
|
|
1136
|
-
return {
|
|
1137
|
-
server: data.server ? unmarshalServer(data.server) : void 0
|
|
1138
|
-
};
|
|
1139
|
-
};
|
|
1140
|
-
const unmarshalUpdateSnapshotResponse = (data) => {
|
|
1141
|
-
if (!isJSONObject(data)) {
|
|
1142
|
-
throw new TypeError(
|
|
1143
|
-
`Unmarshalling the type 'UpdateSnapshotResponse' failed as data isn't a dictionary.`
|
|
1144
|
-
);
|
|
1145
|
-
}
|
|
1146
|
-
return {
|
|
1147
|
-
snapshot: data.snapshot ? unmarshalSnapshot(data.snapshot) : void 0
|
|
1148
|
-
};
|
|
1149
|
-
};
|
|
1150
|
-
const unmarshalUpdateVolumeResponse = (data) => {
|
|
1151
|
-
if (!isJSONObject(data)) {
|
|
1152
|
-
throw new TypeError(
|
|
1153
|
-
`Unmarshalling the type 'UpdateVolumeResponse' failed as data isn't a dictionary.`
|
|
1154
|
-
);
|
|
1155
|
-
}
|
|
1156
|
-
return {
|
|
1157
|
-
volume: data.volume ? unmarshalVolume(data.volume) : void 0
|
|
1158
|
-
};
|
|
1159
|
-
};
|
|
1160
|
-
const marshalApplyBlockMigrationRequest = (request, defaults) => ({
|
|
1161
|
-
validation_key: request.validationKey,
|
|
1162
|
-
...resolveOneOf([
|
|
1163
|
-
{ param: "volume_id", value: request.volumeId },
|
|
1164
|
-
{ param: "snapshot_id", value: request.snapshotId }
|
|
1165
|
-
])
|
|
1166
|
-
});
|
|
1167
|
-
const marshalAttachServerVolumeRequest = (request, defaults) => ({
|
|
1168
|
-
boot: request.boot,
|
|
1169
|
-
volume_id: request.volumeId,
|
|
1170
|
-
volume_type: request.volumeType
|
|
1171
|
-
});
|
|
1172
|
-
const marshalCheckBlockMigrationOrganizationQuotasRequest = (request, defaults) => ({
|
|
1173
|
-
organization: request.organization ?? defaults.defaultOrganizationId
|
|
1174
|
-
});
|
|
1175
|
-
const marshalVolumeTemplate = (request, defaults) => ({
|
|
1176
|
-
id: request.id,
|
|
1177
|
-
name: request.name,
|
|
1178
|
-
size: request.size,
|
|
1179
|
-
volume_type: request.volumeType,
|
|
1180
|
-
...resolveOneOf([
|
|
1181
|
-
{ param: "project", value: request.project },
|
|
1182
|
-
{ param: "organization", value: request.organization }
|
|
1183
|
-
])
|
|
1184
|
-
});
|
|
1185
|
-
const marshalCreateImageRequest = (request, defaults) => ({
|
|
1186
|
-
arch: request.arch,
|
|
1187
|
-
extra_volumes: request.extraVolumes !== void 0 ? Object.entries(request.extraVolumes).reduce(
|
|
1188
|
-
(acc, [key, value]) => ({
|
|
1189
|
-
...acc,
|
|
1190
|
-
[key]: marshalVolumeTemplate(value)
|
|
1191
|
-
}),
|
|
1192
|
-
{}
|
|
1193
|
-
) : void 0,
|
|
1194
|
-
name: request.name || randomName("img"),
|
|
1195
|
-
public: request.public,
|
|
1196
|
-
root_volume: request.rootVolume,
|
|
1197
|
-
tags: request.tags,
|
|
1198
|
-
...resolveOneOf([
|
|
1199
|
-
{
|
|
1200
|
-
default: defaults.defaultProjectId,
|
|
1201
|
-
param: "project",
|
|
1202
|
-
value: request.project
|
|
1203
|
-
},
|
|
1204
|
-
{
|
|
1205
|
-
default: defaults.defaultOrganizationId,
|
|
1206
|
-
param: "organization",
|
|
1207
|
-
value: request.organization
|
|
1208
|
-
}
|
|
1209
|
-
])
|
|
1210
|
-
});
|
|
1211
|
-
const marshalCreateIpRequest = (request, defaults) => ({
|
|
1212
|
-
server: request.server,
|
|
1213
|
-
tags: request.tags,
|
|
1214
|
-
type: request.type,
|
|
1215
|
-
...resolveOneOf([
|
|
1216
|
-
{
|
|
1217
|
-
default: defaults.defaultProjectId,
|
|
1218
|
-
param: "project",
|
|
1219
|
-
value: request.project
|
|
1220
|
-
},
|
|
1221
|
-
{
|
|
1222
|
-
default: defaults.defaultOrganizationId,
|
|
1223
|
-
param: "organization",
|
|
1224
|
-
value: request.organization
|
|
1225
|
-
}
|
|
1226
|
-
])
|
|
1227
|
-
});
|
|
1228
|
-
const marshalCreatePlacementGroupRequest = (request, defaults) => ({
|
|
1229
|
-
name: request.name || randomName("pg"),
|
|
1230
|
-
policy_mode: request.policyMode,
|
|
1231
|
-
policy_type: request.policyType,
|
|
1232
|
-
tags: request.tags,
|
|
1233
|
-
...resolveOneOf([
|
|
1234
|
-
{
|
|
1235
|
-
default: defaults.defaultProjectId,
|
|
1236
|
-
param: "project",
|
|
1237
|
-
value: request.project
|
|
1238
|
-
},
|
|
1239
|
-
{
|
|
1240
|
-
default: defaults.defaultOrganizationId,
|
|
1241
|
-
param: "organization",
|
|
1242
|
-
value: request.organization
|
|
1243
|
-
}
|
|
1244
|
-
])
|
|
1245
|
-
});
|
|
1246
|
-
const marshalCreatePrivateNICRequest = (request, defaults) => ({
|
|
1247
|
-
ip_ids: request.ipIds,
|
|
1248
|
-
ipam_ip_ids: request.ipamIpIds,
|
|
1249
|
-
private_network_id: request.privateNetworkId,
|
|
1250
|
-
tags: request.tags
|
|
1251
|
-
});
|
|
1252
|
-
const marshalCreateSecurityGroupRequest = (request, defaults) => ({
|
|
1253
|
-
description: request.description,
|
|
1254
|
-
enable_default_security: request.enableDefaultSecurity,
|
|
1255
|
-
inbound_default_policy: request.inboundDefaultPolicy,
|
|
1256
|
-
name: request.name || randomName("sg"),
|
|
1257
|
-
outbound_default_policy: request.outboundDefaultPolicy,
|
|
1258
|
-
stateful: request.stateful,
|
|
1259
|
-
tags: request.tags,
|
|
1260
|
-
...resolveOneOf([
|
|
1261
|
-
{
|
|
1262
|
-
default: defaults.defaultProjectId,
|
|
1263
|
-
param: "project",
|
|
1264
|
-
value: request.project
|
|
1265
|
-
},
|
|
1266
|
-
{
|
|
1267
|
-
default: defaults.defaultOrganizationId,
|
|
1268
|
-
param: "organization",
|
|
1269
|
-
value: request.organization
|
|
1270
|
-
}
|
|
1271
|
-
]),
|
|
1272
|
-
...resolveOneOf([
|
|
1273
|
-
{ param: "organization_default", value: request.organizationDefault },
|
|
1274
|
-
{ param: "project_default", value: request.projectDefault }
|
|
1275
|
-
])
|
|
1276
|
-
});
|
|
1277
|
-
const marshalCreateSecurityGroupRuleRequest = (request, defaults) => ({
|
|
1278
|
-
action: request.action,
|
|
1279
|
-
dest_port_from: request.destPortFrom,
|
|
1280
|
-
dest_port_to: request.destPortTo,
|
|
1281
|
-
direction: request.direction,
|
|
1282
|
-
editable: request.editable,
|
|
1283
|
-
ip_range: request.ipRange,
|
|
1284
|
-
position: request.position,
|
|
1285
|
-
protocol: request.protocol
|
|
1286
|
-
});
|
|
1287
|
-
const marshalVolumeServerTemplate = (request, defaults) => ({
|
|
1288
|
-
base_snapshot: request.baseSnapshot,
|
|
1289
|
-
boot: request.boot,
|
|
1290
|
-
id: request.id,
|
|
1291
|
-
name: request.name,
|
|
1292
|
-
organization: request.organization,
|
|
1293
|
-
project: request.project,
|
|
1294
|
-
size: request.size,
|
|
1295
|
-
volume_type: request.volumeType
|
|
1296
|
-
});
|
|
1297
|
-
const marshalCreateServerRequest = (request, defaults) => ({
|
|
1298
|
-
admin_password_encryption_ssh_key_id: request.adminPasswordEncryptionSshKeyId,
|
|
1299
|
-
boot_type: request.bootType,
|
|
1300
|
-
commercial_type: request.commercialType,
|
|
1301
|
-
dynamic_ip_required: request.dynamicIpRequired,
|
|
1302
|
-
enable_ipv6: request.enableIpv6,
|
|
1303
|
-
image: request.image,
|
|
1304
|
-
name: request.name || randomName("srv"),
|
|
1305
|
-
placement_group: request.placementGroup,
|
|
1306
|
-
protected: request.protected,
|
|
1307
|
-
public_ip: request.publicIp,
|
|
1308
|
-
public_ips: request.publicIps,
|
|
1309
|
-
routed_ip_enabled: request.routedIpEnabled,
|
|
1310
|
-
security_group: request.securityGroup,
|
|
1311
|
-
tags: request.tags,
|
|
1312
|
-
volumes: request.volumes !== void 0 ? Object.entries(request.volumes).reduce(
|
|
1313
|
-
(acc, [key, value]) => ({
|
|
1314
|
-
...acc,
|
|
1315
|
-
[key]: marshalVolumeServerTemplate(value)
|
|
1316
|
-
}),
|
|
1317
|
-
{}
|
|
1318
|
-
) : void 0,
|
|
1319
|
-
...resolveOneOf([
|
|
1320
|
-
{
|
|
1321
|
-
default: defaults.defaultProjectId,
|
|
1322
|
-
param: "project",
|
|
1323
|
-
value: request.project
|
|
1324
|
-
},
|
|
1325
|
-
{
|
|
1326
|
-
default: defaults.defaultOrganizationId,
|
|
1327
|
-
param: "organization",
|
|
1328
|
-
value: request.organization
|
|
1329
|
-
}
|
|
1330
|
-
])
|
|
1331
|
-
});
|
|
1332
|
-
const marshalCreateSnapshotRequest = (request, defaults) => ({
|
|
1333
|
-
bucket: request.bucket,
|
|
1334
|
-
key: request.key,
|
|
1335
|
-
name: request.name || randomName("snp"),
|
|
1336
|
-
size: request.size,
|
|
1337
|
-
tags: request.tags,
|
|
1338
|
-
volume_id: request.volumeId,
|
|
1339
|
-
volume_type: request.volumeType,
|
|
1340
|
-
...resolveOneOf([
|
|
1341
|
-
{
|
|
1342
|
-
default: defaults.defaultProjectId,
|
|
1343
|
-
param: "project",
|
|
1344
|
-
value: request.project
|
|
1345
|
-
},
|
|
1346
|
-
{
|
|
1347
|
-
default: defaults.defaultOrganizationId,
|
|
1348
|
-
param: "organization",
|
|
1349
|
-
value: request.organization
|
|
1350
|
-
}
|
|
1351
|
-
])
|
|
1352
|
-
});
|
|
1353
|
-
const marshalCreateVolumeRequest = (request, defaults) => ({
|
|
1354
|
-
name: request.name || randomName("vol"),
|
|
1355
|
-
tags: request.tags,
|
|
1356
|
-
volume_type: request.volumeType,
|
|
1357
|
-
...resolveOneOf([
|
|
1358
|
-
{
|
|
1359
|
-
default: defaults.defaultProjectId,
|
|
1360
|
-
param: "project",
|
|
1361
|
-
value: request.project
|
|
1362
|
-
},
|
|
1363
|
-
{
|
|
1364
|
-
default: defaults.defaultOrganizationId,
|
|
1365
|
-
param: "organization",
|
|
1366
|
-
value: request.organization
|
|
1367
|
-
}
|
|
1368
|
-
]),
|
|
1369
|
-
...resolveOneOf([
|
|
1370
|
-
{ param: "size", value: request.size },
|
|
1371
|
-
{ param: "base_snapshot", value: request.baseSnapshot }
|
|
1372
|
-
])
|
|
1373
|
-
});
|
|
1374
|
-
const marshalDetachServerVolumeRequest = (request, defaults) => ({
|
|
1375
|
-
volume_id: request.volumeId
|
|
1376
|
-
});
|
|
1377
|
-
const marshalExportSnapshotRequest = (request, defaults) => ({
|
|
1378
|
-
bucket: request.bucket,
|
|
1379
|
-
key: request.key
|
|
1380
|
-
});
|
|
1381
|
-
const marshalPlanBlockMigrationRequest = (request, defaults) => ({
|
|
1382
|
-
...resolveOneOf([
|
|
1383
|
-
{ param: "volume_id", value: request.volumeId },
|
|
1384
|
-
{ param: "snapshot_id", value: request.snapshotId }
|
|
1385
|
-
])
|
|
1386
|
-
});
|
|
1387
|
-
const marshalServerActionRequestVolumeBackupTemplate = (request, defaults) => ({
|
|
1388
|
-
volume_type: request.volumeType
|
|
1389
|
-
});
|
|
1390
|
-
const marshalServerActionRequest = (request, defaults) => ({
|
|
1391
|
-
action: request.action,
|
|
1392
|
-
disable_ipv6: request.disableIpv6,
|
|
1393
|
-
name: request.name,
|
|
1394
|
-
volumes: request.volumes !== void 0 ? Object.entries(request.volumes).reduce(
|
|
1395
|
-
(acc, [key, value]) => ({
|
|
1396
|
-
...acc,
|
|
1397
|
-
[key]: marshalServerActionRequestVolumeBackupTemplate(
|
|
1398
|
-
value
|
|
1399
|
-
)
|
|
1400
|
-
}),
|
|
1401
|
-
{}
|
|
1402
|
-
) : void 0
|
|
1403
|
-
});
|
|
1404
|
-
const marshalServerSummary = (request, defaults) => ({
|
|
1405
|
-
id: request.id,
|
|
1406
|
-
name: request.name
|
|
1407
|
-
});
|
|
1408
|
-
const marshalBootscript = (request, defaults) => ({
|
|
1409
|
-
architecture: request.architecture,
|
|
1410
|
-
bootcmdargs: request.bootcmdargs,
|
|
1411
|
-
default: request.default,
|
|
1412
|
-
dtb: request.dtb,
|
|
1413
|
-
id: request.id,
|
|
1414
|
-
initrd: request.initrd,
|
|
1415
|
-
kernel: request.kernel,
|
|
1416
|
-
organization: request.organization,
|
|
1417
|
-
project: request.project,
|
|
1418
|
-
public: request.public,
|
|
1419
|
-
title: request.title,
|
|
1420
|
-
zone: request.zone
|
|
1421
|
-
});
|
|
1422
|
-
const marshalVolume = (request, defaults) => ({
|
|
1423
|
-
creation_date: request.creationDate,
|
|
1424
|
-
export_uri: request.exportUri,
|
|
1425
|
-
id: request.id,
|
|
1426
|
-
modification_date: request.modificationDate,
|
|
1427
|
-
name: request.name,
|
|
1428
|
-
organization: request.organization,
|
|
1429
|
-
project: request.project,
|
|
1430
|
-
server: request.server !== void 0 ? marshalServerSummary(request.server) : void 0,
|
|
1431
|
-
size: request.size,
|
|
1432
|
-
state: request.state,
|
|
1433
|
-
tags: request.tags,
|
|
1434
|
-
volume_type: request.volumeType,
|
|
1435
|
-
zone: request.zone
|
|
1436
|
-
});
|
|
1437
|
-
const marshalVolumeSummary = (request, defaults) => ({
|
|
1438
|
-
id: request.id,
|
|
1439
|
-
name: request.name,
|
|
1440
|
-
size: request.size,
|
|
1441
|
-
volume_type: request.volumeType
|
|
1442
|
-
});
|
|
1443
|
-
const marshalSetImageRequest = (request, defaults) => ({
|
|
1444
|
-
arch: request.arch,
|
|
1445
|
-
creation_date: request.creationDate,
|
|
1446
|
-
default_bootscript: request.defaultBootscript !== void 0 ? marshalBootscript(request.defaultBootscript) : void 0,
|
|
1447
|
-
extra_volumes: request.extraVolumes !== void 0 ? Object.entries(request.extraVolumes).reduce(
|
|
1448
|
-
(acc, [key, value]) => ({
|
|
1449
|
-
...acc,
|
|
1450
|
-
[key]: marshalVolume(value)
|
|
1451
|
-
}),
|
|
1452
|
-
{}
|
|
1453
|
-
) : void 0,
|
|
1454
|
-
from_server: request.fromServer,
|
|
1455
|
-
modification_date: request.modificationDate,
|
|
1456
|
-
name: request.name,
|
|
1457
|
-
organization: request.organization ?? defaults.defaultOrganizationId,
|
|
1458
|
-
project: request.project ?? defaults.defaultProjectId,
|
|
1459
|
-
public: request.public,
|
|
1460
|
-
root_volume: request.rootVolume !== void 0 ? marshalVolumeSummary(request.rootVolume) : void 0,
|
|
1461
|
-
state: request.state,
|
|
1462
|
-
tags: request.tags
|
|
1463
|
-
});
|
|
1464
|
-
const marshalSetPlacementGroupRequest = (request, defaults) => ({
|
|
1465
|
-
name: request.name,
|
|
1466
|
-
organization: request.organization ?? defaults.defaultOrganizationId,
|
|
1467
|
-
policy_mode: request.policyMode,
|
|
1468
|
-
policy_type: request.policyType,
|
|
1469
|
-
project: request.project ?? defaults.defaultProjectId,
|
|
1470
|
-
tags: request.tags
|
|
1471
|
-
});
|
|
1472
|
-
const marshalSetPlacementGroupServersRequest = (request, defaults) => ({
|
|
1473
|
-
servers: request.servers
|
|
1474
|
-
});
|
|
1475
|
-
const marshalSetSecurityGroupRequest = (request, defaults) => ({
|
|
1476
|
-
creation_date: request.creationDate,
|
|
1477
|
-
description: request.description,
|
|
1478
|
-
enable_default_security: request.enableDefaultSecurity,
|
|
1479
|
-
inbound_default_policy: request.inboundDefaultPolicy,
|
|
1480
|
-
modification_date: request.modificationDate,
|
|
1481
|
-
name: request.name,
|
|
1482
|
-
organization: request.organization ?? defaults.defaultOrganizationId,
|
|
1483
|
-
organization_default: request.organizationDefault,
|
|
1484
|
-
outbound_default_policy: request.outboundDefaultPolicy,
|
|
1485
|
-
project: request.project ?? defaults.defaultProjectId,
|
|
1486
|
-
project_default: request.projectDefault,
|
|
1487
|
-
servers: request.servers !== void 0 ? request.servers.map((elt) => marshalServerSummary(elt)) : void 0,
|
|
1488
|
-
stateful: request.stateful,
|
|
1489
|
-
tags: request.tags
|
|
1490
|
-
});
|
|
1491
|
-
const marshalSetSecurityGroupRuleRequest = (request, defaults) => ({
|
|
1492
|
-
action: request.action,
|
|
1493
|
-
dest_port_from: request.destPortFrom,
|
|
1494
|
-
dest_port_to: request.destPortTo,
|
|
1495
|
-
direction: request.direction,
|
|
1496
|
-
editable: request.editable,
|
|
1497
|
-
id: request.id,
|
|
1498
|
-
ip_range: request.ipRange,
|
|
1499
|
-
position: request.position,
|
|
1500
|
-
protocol: request.protocol
|
|
1501
|
-
});
|
|
1502
|
-
const marshalSetSecurityGroupRulesRequestRule = (request, defaults) => ({
|
|
1503
|
-
action: request.action,
|
|
1504
|
-
dest_port_from: request.destPortFrom,
|
|
1505
|
-
dest_port_to: request.destPortTo,
|
|
1506
|
-
direction: request.direction,
|
|
1507
|
-
editable: request.editable,
|
|
1508
|
-
id: request.id,
|
|
1509
|
-
ip_range: request.ipRange,
|
|
1510
|
-
position: request.position,
|
|
1511
|
-
protocol: request.protocol,
|
|
1512
|
-
zone: request.zone
|
|
1513
|
-
});
|
|
1514
|
-
const marshalSetSecurityGroupRulesRequest = (request, defaults) => ({
|
|
1515
|
-
rules: request.rules !== void 0 ? request.rules.map(
|
|
1516
|
-
(elt) => marshalSetSecurityGroupRulesRequestRule(elt)
|
|
1517
|
-
) : void 0
|
|
1518
|
-
});
|
|
1519
|
-
const marshalImage = (request, defaults) => ({
|
|
1520
|
-
arch: request.arch,
|
|
1521
|
-
creation_date: request.creationDate,
|
|
1522
|
-
default_bootscript: request.defaultBootscript !== void 0 ? marshalBootscript(request.defaultBootscript) : void 0,
|
|
1523
|
-
extra_volumes: Object.entries(request.extraVolumes).reduce(
|
|
1524
|
-
(acc, [key, value]) => ({ ...acc, [key]: marshalVolume(value) }),
|
|
1525
|
-
{}
|
|
1526
|
-
),
|
|
1527
|
-
from_server: request.fromServer,
|
|
1528
|
-
id: request.id,
|
|
1529
|
-
modification_date: request.modificationDate,
|
|
1530
|
-
name: request.name,
|
|
1531
|
-
organization: request.organization,
|
|
1532
|
-
project: request.project,
|
|
1533
|
-
public: request.public,
|
|
1534
|
-
root_volume: request.rootVolume !== void 0 ? marshalVolumeSummary(request.rootVolume) : void 0,
|
|
1535
|
-
state: request.state,
|
|
1536
|
-
tags: request.tags,
|
|
1537
|
-
zone: request.zone
|
|
1538
|
-
});
|
|
1539
|
-
const marshalPlacementGroup = (request, defaults) => ({
|
|
1540
|
-
id: request.id,
|
|
1541
|
-
name: request.name,
|
|
1542
|
-
organization: request.organization,
|
|
1543
|
-
policy_mode: request.policyMode,
|
|
1544
|
-
policy_respected: request.policyRespected,
|
|
1545
|
-
policy_type: request.policyType,
|
|
1546
|
-
project: request.project,
|
|
1547
|
-
tags: request.tags,
|
|
1548
|
-
zone: request.zone
|
|
1549
|
-
});
|
|
1550
|
-
const marshalPrivateNIC = (request, defaults) => ({
|
|
1551
|
-
id: request.id,
|
|
1552
|
-
mac_address: request.macAddress,
|
|
1553
|
-
private_network_id: request.privateNetworkId,
|
|
1554
|
-
server_id: request.serverId,
|
|
1555
|
-
state: request.state,
|
|
1556
|
-
tags: request.tags
|
|
1557
|
-
});
|
|
1558
|
-
const marshalSecurityGroupSummary = (request, defaults) => ({
|
|
1559
|
-
id: request.id,
|
|
1560
|
-
name: request.name
|
|
1561
|
-
});
|
|
1562
|
-
const marshalServerIp = (request, defaults) => ({
|
|
1563
|
-
address: request.address,
|
|
1564
|
-
dynamic: request.dynamic,
|
|
1565
|
-
family: request.family,
|
|
1566
|
-
gateway: request.gateway,
|
|
1567
|
-
id: request.id,
|
|
1568
|
-
ipam_id: request.ipamId,
|
|
1569
|
-
netmask: request.netmask,
|
|
1570
|
-
provisioning_mode: request.provisioningMode,
|
|
1571
|
-
state: request.state,
|
|
1572
|
-
tags: request.tags
|
|
1573
|
-
});
|
|
1574
|
-
const marshalServerIpv6 = (request, defaults) => ({
|
|
1575
|
-
address: request.address,
|
|
1576
|
-
gateway: request.gateway,
|
|
1577
|
-
netmask: request.netmask
|
|
1578
|
-
});
|
|
1579
|
-
const marshalServerLocation = (request, defaults) => ({
|
|
1580
|
-
cluster_id: request.clusterId,
|
|
1581
|
-
hypervisor_id: request.hypervisorId,
|
|
1582
|
-
node_id: request.nodeId,
|
|
1583
|
-
platform_id: request.platformId,
|
|
1584
|
-
zone_id: request.zoneId
|
|
1585
|
-
});
|
|
1586
|
-
const marshalServerMaintenance = (request, defaults) => ({
|
|
1587
|
-
reason: request.reason,
|
|
1588
|
-
start_date: request.startDate
|
|
1589
|
-
});
|
|
1590
|
-
const marshalSetServerRequest = (request, defaults) => ({
|
|
1591
|
-
admin_password_encryption_ssh_key_id: request.adminPasswordEncryptionSshKeyId,
|
|
1592
|
-
allowed_actions: request.allowedActions !== void 0 ? request.allowedActions : void 0,
|
|
1593
|
-
arch: request.arch,
|
|
1594
|
-
boot_type: request.bootType,
|
|
1595
|
-
commercial_type: request.commercialType,
|
|
1596
|
-
creation_date: request.creationDate,
|
|
1597
|
-
dynamic_ip_required: request.dynamicIpRequired,
|
|
1598
|
-
enable_ipv6: request.enableIpv6,
|
|
1599
|
-
hostname: request.hostname,
|
|
1600
|
-
image: request.image !== void 0 ? marshalImage(request.image) : void 0,
|
|
1601
|
-
ipv6: request.ipv6 !== void 0 ? marshalServerIpv6(request.ipv6) : void 0,
|
|
1602
|
-
location: request.location !== void 0 ? marshalServerLocation(request.location) : void 0,
|
|
1603
|
-
maintenances: request.maintenances !== void 0 ? request.maintenances.map((elt) => marshalServerMaintenance(elt)) : void 0,
|
|
1604
|
-
modification_date: request.modificationDate,
|
|
1605
|
-
name: request.name,
|
|
1606
|
-
organization: request.organization ?? defaults.defaultOrganizationId,
|
|
1607
|
-
placement_group: request.placementGroup !== void 0 ? marshalPlacementGroup(request.placementGroup) : void 0,
|
|
1608
|
-
private_ip: request.privateIp,
|
|
1609
|
-
private_nics: request.privateNics !== void 0 ? request.privateNics.map((elt) => marshalPrivateNIC(elt)) : void 0,
|
|
1610
|
-
project: request.project ?? defaults.defaultProjectId,
|
|
1611
|
-
protected: request.protected,
|
|
1612
|
-
public_ip: request.publicIp !== void 0 ? marshalServerIp(request.publicIp) : void 0,
|
|
1613
|
-
public_ips: request.publicIps !== void 0 ? request.publicIps.map((elt) => marshalServerIp(elt)) : void 0,
|
|
1614
|
-
routed_ip_enabled: request.routedIpEnabled,
|
|
1615
|
-
security_group: request.securityGroup !== void 0 ? marshalSecurityGroupSummary(request.securityGroup) : void 0,
|
|
1616
|
-
state: request.state,
|
|
1617
|
-
state_detail: request.stateDetail,
|
|
1618
|
-
tags: request.tags,
|
|
1619
|
-
volumes: request.volumes !== void 0 ? Object.entries(request.volumes).reduce(
|
|
1620
|
-
(acc, [key, value]) => ({
|
|
1621
|
-
...acc,
|
|
1622
|
-
[key]: marshalVolume(value)
|
|
1623
|
-
}),
|
|
1624
|
-
{}
|
|
1625
|
-
) : void 0
|
|
1626
|
-
});
|
|
1627
|
-
const marshalSnapshotBaseVolume = (request, defaults) => ({
|
|
1628
|
-
id: request.id,
|
|
1629
|
-
name: request.name
|
|
1630
|
-
});
|
|
1631
|
-
const marshalSetSnapshotRequest = (request, defaults) => ({
|
|
1632
|
-
base_volume: request.baseVolume !== void 0 ? marshalSnapshotBaseVolume(request.baseVolume) : void 0,
|
|
1633
|
-
creation_date: request.creationDate,
|
|
1634
|
-
id: request.id,
|
|
1635
|
-
modification_date: request.modificationDate,
|
|
1636
|
-
name: request.name,
|
|
1637
|
-
organization: request.organization ?? defaults.defaultOrganizationId,
|
|
1638
|
-
project: request.project ?? defaults.defaultProjectId,
|
|
1639
|
-
size: request.size,
|
|
1640
|
-
state: request.state,
|
|
1641
|
-
tags: request.tags,
|
|
1642
|
-
volume_type: request.volumeType
|
|
1643
|
-
});
|
|
1644
|
-
const marshalVolumeImageUpdateTemplate = (request, defaults) => ({
|
|
1645
|
-
id: request.id
|
|
1646
|
-
});
|
|
1647
|
-
const marshalUpdateImageRequest = (request, defaults) => ({
|
|
1648
|
-
arch: request.arch,
|
|
1649
|
-
extra_volumes: request.extraVolumes !== void 0 ? Object.entries(request.extraVolumes).reduce(
|
|
1650
|
-
(acc, [key, value]) => ({
|
|
1651
|
-
...acc,
|
|
1652
|
-
[key]: marshalVolumeImageUpdateTemplate(value)
|
|
1653
|
-
}),
|
|
1654
|
-
{}
|
|
1655
|
-
) : void 0,
|
|
1656
|
-
name: request.name,
|
|
1657
|
-
public: request.public,
|
|
1658
|
-
tags: request.tags
|
|
1659
|
-
});
|
|
1660
|
-
const marshalUpdateIpRequest = (request, defaults) => ({
|
|
1661
|
-
reverse: request.reverse,
|
|
1662
|
-
server: request.server,
|
|
1663
|
-
tags: request.tags,
|
|
1664
|
-
type: request.type
|
|
1665
|
-
});
|
|
1666
|
-
const marshalUpdatePlacementGroupRequest = (request, defaults) => ({
|
|
1667
|
-
name: request.name,
|
|
1668
|
-
policy_mode: request.policyMode,
|
|
1669
|
-
policy_type: request.policyType,
|
|
1670
|
-
tags: request.tags
|
|
1671
|
-
});
|
|
1672
|
-
const marshalUpdatePlacementGroupServersRequest = (request, defaults) => ({
|
|
1673
|
-
servers: request.servers
|
|
1674
|
-
});
|
|
1675
|
-
const marshalUpdatePrivateNICRequest = (request, defaults) => ({
|
|
1676
|
-
tags: request.tags
|
|
1677
|
-
});
|
|
1678
|
-
const marshalUpdateSecurityGroupRequest = (request, defaults) => ({
|
|
1679
|
-
description: request.description,
|
|
1680
|
-
enable_default_security: request.enableDefaultSecurity,
|
|
1681
|
-
inbound_default_policy: request.inboundDefaultPolicy,
|
|
1682
|
-
name: request.name,
|
|
1683
|
-
organization_default: request.organizationDefault,
|
|
1684
|
-
outbound_default_policy: request.outboundDefaultPolicy,
|
|
1685
|
-
project_default: request.projectDefault,
|
|
1686
|
-
stateful: request.stateful,
|
|
1687
|
-
tags: request.tags
|
|
1688
|
-
});
|
|
1689
|
-
const marshalUpdateSecurityGroupRuleRequest = (request, defaults) => ({
|
|
1690
|
-
action: request.action,
|
|
1691
|
-
dest_port_from: request.destPortFrom,
|
|
1692
|
-
dest_port_to: request.destPortTo,
|
|
1693
|
-
direction: request.direction,
|
|
1694
|
-
ip_range: request.ipRange,
|
|
1695
|
-
position: request.position,
|
|
1696
|
-
protocol: request.protocol
|
|
1697
|
-
});
|
|
1698
|
-
const marshalSecurityGroupTemplate = (request, defaults) => ({
|
|
1699
|
-
id: request.id,
|
|
1700
|
-
name: request.name
|
|
1701
|
-
});
|
|
1702
|
-
const marshalUpdateServerRequest = (request, defaults) => ({
|
|
1703
|
-
admin_password_encryption_ssh_key_id: request.adminPasswordEncryptionSshKeyId,
|
|
1704
|
-
boot_type: request.bootType,
|
|
1705
|
-
commercial_type: request.commercialType,
|
|
1706
|
-
dynamic_ip_required: request.dynamicIpRequired,
|
|
1707
|
-
enable_ipv6: request.enableIpv6,
|
|
1708
|
-
name: request.name,
|
|
1709
|
-
placement_group: request.placementGroup,
|
|
1710
|
-
private_nics: request.privateNics,
|
|
1711
|
-
protected: request.protected,
|
|
1712
|
-
public_ips: request.publicIps,
|
|
1713
|
-
routed_ip_enabled: request.routedIpEnabled,
|
|
1714
|
-
security_group: request.securityGroup !== void 0 ? marshalSecurityGroupTemplate(request.securityGroup) : void 0,
|
|
1715
|
-
tags: request.tags,
|
|
1716
|
-
volumes: request.volumes !== void 0 ? Object.entries(request.volumes).reduce(
|
|
1717
|
-
(acc, [key, value]) => ({
|
|
1718
|
-
...acc,
|
|
1719
|
-
[key]: marshalVolumeServerTemplate(value)
|
|
1720
|
-
}),
|
|
1721
|
-
{}
|
|
1722
|
-
) : void 0
|
|
1723
|
-
});
|
|
1724
|
-
const marshalUpdateSnapshotRequest = (request, defaults) => ({
|
|
1725
|
-
name: request.name,
|
|
1726
|
-
tags: request.tags
|
|
1727
|
-
});
|
|
1728
|
-
const marshalUpdateVolumeRequest = (request, defaults) => ({
|
|
1729
|
-
name: request.name,
|
|
1730
|
-
size: request.size,
|
|
1731
|
-
tags: request.tags
|
|
1732
|
-
});
|
|
1733
|
-
export {
|
|
1734
|
-
marshalApplyBlockMigrationRequest,
|
|
1735
|
-
marshalAttachServerVolumeRequest,
|
|
1736
|
-
marshalCheckBlockMigrationOrganizationQuotasRequest,
|
|
1737
|
-
marshalCreateImageRequest,
|
|
1738
|
-
marshalCreateIpRequest,
|
|
1739
|
-
marshalCreatePlacementGroupRequest,
|
|
1740
|
-
marshalCreatePrivateNICRequest,
|
|
1741
|
-
marshalCreateSecurityGroupRequest,
|
|
1742
|
-
marshalCreateSecurityGroupRuleRequest,
|
|
1743
|
-
marshalCreateServerRequest,
|
|
1744
|
-
marshalCreateSnapshotRequest,
|
|
1745
|
-
marshalCreateVolumeRequest,
|
|
1746
|
-
marshalDetachServerVolumeRequest,
|
|
1747
|
-
marshalExportSnapshotRequest,
|
|
1748
|
-
marshalPlanBlockMigrationRequest,
|
|
1749
|
-
marshalServerActionRequest,
|
|
1750
|
-
marshalSetImageRequest,
|
|
1751
|
-
marshalSetPlacementGroupRequest,
|
|
1752
|
-
marshalSetPlacementGroupServersRequest,
|
|
1753
|
-
marshalSetSecurityGroupRequest,
|
|
1754
|
-
marshalSetSecurityGroupRuleRequest,
|
|
1755
|
-
marshalSetSecurityGroupRulesRequest,
|
|
1756
|
-
marshalSetServerRequest,
|
|
1757
|
-
marshalSetSnapshotRequest,
|
|
1758
|
-
marshalUpdateImageRequest,
|
|
1759
|
-
marshalUpdateIpRequest,
|
|
1760
|
-
marshalUpdatePlacementGroupRequest,
|
|
1761
|
-
marshalUpdatePlacementGroupServersRequest,
|
|
1762
|
-
marshalUpdatePrivateNICRequest,
|
|
1763
|
-
marshalUpdateSecurityGroupRequest,
|
|
1764
|
-
marshalUpdateSecurityGroupRuleRequest,
|
|
1765
|
-
marshalUpdateServerRequest,
|
|
1766
|
-
marshalUpdateSnapshotRequest,
|
|
1767
|
-
marshalUpdateVolumeRequest,
|
|
1768
|
-
unmarshalAttachServerVolumeResponse,
|
|
1769
|
-
unmarshalCreateImageResponse,
|
|
1770
|
-
unmarshalCreateIpResponse,
|
|
1771
|
-
unmarshalCreatePlacementGroupResponse,
|
|
1772
|
-
unmarshalCreatePrivateNICResponse,
|
|
1773
|
-
unmarshalCreateSecurityGroupResponse,
|
|
1774
|
-
unmarshalCreateSecurityGroupRuleResponse,
|
|
1775
|
-
unmarshalCreateServerResponse,
|
|
1776
|
-
unmarshalCreateSnapshotResponse,
|
|
1777
|
-
unmarshalCreateVolumeResponse,
|
|
1778
|
-
unmarshalDetachServerVolumeResponse,
|
|
1779
|
-
unmarshalExportSnapshotResponse,
|
|
1780
|
-
unmarshalGetDashboardResponse,
|
|
1781
|
-
unmarshalGetImageResponse,
|
|
1782
|
-
unmarshalGetIpResponse,
|
|
1783
|
-
unmarshalGetPlacementGroupResponse,
|
|
1784
|
-
unmarshalGetPlacementGroupServersResponse,
|
|
1785
|
-
unmarshalGetPrivateNICResponse,
|
|
1786
|
-
unmarshalGetSecurityGroupResponse,
|
|
1787
|
-
unmarshalGetSecurityGroupRuleResponse,
|
|
1788
|
-
unmarshalGetServerResponse,
|
|
1789
|
-
unmarshalGetServerTypesAvailabilityResponse,
|
|
1790
|
-
unmarshalGetSnapshotResponse,
|
|
1791
|
-
unmarshalGetVolumeResponse,
|
|
1792
|
-
unmarshalListImagesResponse,
|
|
1793
|
-
unmarshalListIpsResponse,
|
|
1794
|
-
unmarshalListPlacementGroupsResponse,
|
|
1795
|
-
unmarshalListPrivateNICsResponse,
|
|
1796
|
-
unmarshalListSecurityGroupRulesResponse,
|
|
1797
|
-
unmarshalListSecurityGroupsResponse,
|
|
1798
|
-
unmarshalListServerActionsResponse,
|
|
1799
|
-
unmarshalListServerUserDataResponse,
|
|
1800
|
-
unmarshalListServersResponse,
|
|
1801
|
-
unmarshalListServersTypesResponse,
|
|
1802
|
-
unmarshalListSnapshotsResponse,
|
|
1803
|
-
unmarshalListVolumesResponse,
|
|
1804
|
-
unmarshalListVolumesTypesResponse,
|
|
1805
|
-
unmarshalMigrationPlan,
|
|
1806
|
-
unmarshalPrivateNIC,
|
|
1807
|
-
unmarshalServerActionResponse,
|
|
1808
|
-
unmarshalServerCompatibleTypes,
|
|
1809
|
-
unmarshalSetImageResponse,
|
|
1810
|
-
unmarshalSetPlacementGroupResponse,
|
|
1811
|
-
unmarshalSetPlacementGroupServersResponse,
|
|
1812
|
-
unmarshalSetSecurityGroupResponse,
|
|
1813
|
-
unmarshalSetSecurityGroupRuleResponse,
|
|
1814
|
-
unmarshalSetSecurityGroupRulesResponse,
|
|
1815
|
-
unmarshalSetServerResponse,
|
|
1816
|
-
unmarshalSetSnapshotResponse,
|
|
1817
|
-
unmarshalUpdateImageResponse,
|
|
1818
|
-
unmarshalUpdateIpResponse,
|
|
1819
|
-
unmarshalUpdatePlacementGroupResponse,
|
|
1820
|
-
unmarshalUpdatePlacementGroupServersResponse,
|
|
1821
|
-
unmarshalUpdateSecurityGroupResponse,
|
|
1822
|
-
unmarshalUpdateSecurityGroupRuleResponse,
|
|
1823
|
-
unmarshalUpdateServerResponse,
|
|
1824
|
-
unmarshalUpdateSnapshotResponse,
|
|
1825
|
-
unmarshalUpdateVolumeResponse
|
|
1826
|
-
};
|