@distilled.cloud/scaleway 0.0.0 → 1.0.0-rc.22
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/LICENSE +201 -0
- package/README.md +171 -4
- package/lib/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +44 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +1 -0
- package/lib/errors.d.ts +285 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +1 -0
- package/lib/index.d.ts +48 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +6 -0
- package/lib/pagination.d.ts +10 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +1 -0
- package/lib/protocol.d.ts +48 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +1 -0
- package/lib/retry.d.ts +31 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +1 -0
- package/lib/services/account_contract_v3.d.ts +124 -0
- package/lib/services/account_contract_v3.d.ts.map +1 -0
- package/lib/services/account_contract_v3.js +2 -0
- package/lib/services/account_contract_v3.js.map +1 -0
- package/lib/services/account_iso_code_v3.d.ts +44 -0
- package/lib/services/account_iso_code_v3.d.ts.map +1 -0
- package/lib/services/account_iso_code_v3.js +2 -0
- package/lib/services/account_iso_code_v3.js.map +1 -0
- package/lib/services/account_organization_v3.d.ts +290 -0
- package/lib/services/account_organization_v3.d.ts.map +1 -0
- package/lib/services/account_organization_v3.js +2 -0
- package/lib/services/account_organization_v3.js.map +1 -0
- package/lib/services/account_project_v3.d.ts +173 -0
- package/lib/services/account_project_v3.d.ts.map +1 -0
- package/lib/services/account_project_v3.js +2 -0
- package/lib/services/account_project_v3.js.map +1 -0
- package/lib/services/account_unauthenticated_user_v3.d.ts +479 -0
- package/lib/services/account_unauthenticated_user_v3.d.ts.map +1 -0
- package/lib/services/account_unauthenticated_user_v3.js +35 -0
- package/lib/services/account_unauthenticated_user_v3.js.map +1 -0
- package/lib/services/account_unauthenticated_v3.d.ts +18 -0
- package/lib/services/account_unauthenticated_v3.d.ts.map +1 -0
- package/lib/services/account_unauthenticated_v3.js +2 -0
- package/lib/services/account_unauthenticated_v3.js.map +1 -0
- package/lib/services/account_user_v3.d.ts +522 -0
- package/lib/services/account_user_v3.d.ts.map +1 -0
- package/lib/services/account_user_v3.js +39 -0
- package/lib/services/account_user_v3.js.map +1 -0
- package/lib/services/annotations_v1.d.ts +260 -0
- package/lib/services/annotations_v1.d.ts.map +1 -0
- package/lib/services/annotations_v1.js +2 -0
- package/lib/services/annotations_v1.js.map +1 -0
- package/lib/services/baremetal_private_network_v1.d.ts +95 -0
- package/lib/services/baremetal_private_network_v1.d.ts.map +1 -0
- package/lib/services/baremetal_private_network_v1.js +2 -0
- package/lib/services/baremetal_private_network_v1.js.map +1 -0
- package/lib/services/baremetal_private_network_v3.d.ts +110 -0
- package/lib/services/baremetal_private_network_v3.d.ts.map +1 -0
- package/lib/services/baremetal_private_network_v3.js +2 -0
- package/lib/services/baremetal_private_network_v3.js.map +1 -0
- package/lib/services/baremetal_v1.d.ts +1089 -0
- package/lib/services/baremetal_v1.d.ts.map +1 -0
- package/lib/services/baremetal_v1.js +52 -0
- package/lib/services/baremetal_v1.js.map +1 -0
- package/lib/services/billing_electronic_billing_v2.d.ts +86 -0
- package/lib/services/billing_electronic_billing_v2.d.ts.map +1 -0
- package/lib/services/billing_electronic_billing_v2.js +2 -0
- package/lib/services/billing_electronic_billing_v2.js.map +1 -0
- package/lib/services/billing_v2.d.ts +187 -0
- package/lib/services/billing_v2.d.ts.map +1 -0
- package/lib/services/billing_v2.js +2 -0
- package/lib/services/billing_v2.js.map +1 -0
- package/lib/services/block_v1.d.ts +401 -0
- package/lib/services/block_v1.d.ts.map +1 -0
- package/lib/services/block_v1.js +27 -0
- package/lib/services/block_v1.js.map +1 -0
- package/lib/services/cockpit_global_v1.d.ts +75 -0
- package/lib/services/cockpit_global_v1.d.ts.map +1 -0
- package/lib/services/cockpit_global_v1.js +2 -0
- package/lib/services/cockpit_global_v1.js.map +1 -0
- package/lib/services/cockpit_regional_v1.d.ts +739 -0
- package/lib/services/cockpit_regional_v1.d.ts.map +1 -0
- package/lib/services/cockpit_regional_v1.js +47 -0
- package/lib/services/cockpit_regional_v1.js.map +1 -0
- package/lib/services/containers_v1.d.ts +822 -0
- package/lib/services/containers_v1.d.ts.map +1 -0
- package/lib/services/containers_v1.js +39 -0
- package/lib/services/containers_v1.js.map +1 -0
- package/lib/services/dedibox_billing_v1.d.ts +151 -0
- package/lib/services/dedibox_billing_v1.d.ts.map +1 -0
- package/lib/services/dedibox_billing_v1.js +2 -0
- package/lib/services/dedibox_billing_v1.js.map +1 -0
- package/lib/services/dedibox_ipv6_block_v1.d.ts +119 -0
- package/lib/services/dedibox_ipv6_block_v1.d.ts.map +1 -0
- package/lib/services/dedibox_ipv6_block_v1.js +2 -0
- package/lib/services/dedibox_ipv6_block_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_san_v1.d.ts +486 -0
- package/lib/services/dedibox_rpn_san_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_san_v1.js +2 -0
- package/lib/services/dedibox_rpn_san_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v1.d.ts +68 -0
- package/lib/services/dedibox_rpn_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v1.js +2 -0
- package/lib/services/dedibox_rpn_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v1_v1.d.ts +687 -0
- package/lib/services/dedibox_rpn_v1_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v1_v1.js +30 -0
- package/lib/services/dedibox_rpn_v1_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v2_v1.d.ts +646 -0
- package/lib/services/dedibox_rpn_v2_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v2_v1.js +27 -0
- package/lib/services/dedibox_rpn_v2_v1.js.map +1 -0
- package/lib/services/dedibox_v1.d.ts +1351 -0
- package/lib/services/dedibox_v1.d.ts.map +1 -0
- package/lib/services/dedibox_v1.js +70 -0
- package/lib/services/dedibox_v1.js.map +1 -0
- package/lib/services/generative_apis_openai_v1.d.ts +772 -0
- package/lib/services/generative_apis_openai_v1.d.ts.map +1 -0
- package/lib/services/generative_apis_openai_v1.js +24 -0
- package/lib/services/generative_apis_openai_v1.js.map +1 -0
- package/lib/services/generative_apis_v1.d.ts +82 -0
- package/lib/services/generative_apis_v1.d.ts.map +1 -0
- package/lib/services/generative_apis_v1.js +2 -0
- package/lib/services/generative_apis_v1.js.map +1 -0
- package/lib/services/index.d.ts +57 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +56 -0
- package/lib/services/inference_v1.d.ts +460 -0
- package/lib/services/inference_v1.d.ts.map +1 -0
- package/lib/services/inference_v1.js +33 -0
- package/lib/services/inference_v1.js.map +1 -0
- package/lib/services/instance_v1.d.ts +2183 -0
- package/lib/services/instance_v1.d.ts.map +1 -0
- package/lib/services/instance_v1.js +112 -0
- package/lib/services/instance_v1.js.map +1 -0
- package/lib/services/iot_v1.d.ts +837 -0
- package/lib/services/iot_v1.d.ts.map +1 -0
- package/lib/services/iot_v1.js +50 -0
- package/lib/services/iot_v1.js.map +1 -0
- package/lib/services/ipam_v1.d.ts +244 -0
- package/lib/services/ipam_v1.d.ts.map +1 -0
- package/lib/services/ipam_v1.js +2 -0
- package/lib/services/ipam_v1.js.map +1 -0
- package/lib/services/k8s_v1.d.ts +1223 -0
- package/lib/services/k8s_v1.d.ts.map +1 -0
- package/lib/services/k8s_v1.js +61 -0
- package/lib/services/k8s_v1.js.map +1 -0
- package/lib/services/lb_zoned_v1.d.ts +1517 -0
- package/lib/services/lb_zoned_v1.d.ts.map +1 -0
- package/lib/services/lb_zoned_v1.js +75 -0
- package/lib/services/lb_zoned_v1.js.map +1 -0
- package/lib/services/marketplace_console_v2.d.ts +72 -0
- package/lib/services/marketplace_console_v2.d.ts.map +1 -0
- package/lib/services/marketplace_console_v2.js +2 -0
- package/lib/services/marketplace_console_v2.js.map +1 -0
- package/lib/services/marketplace_v2.d.ts +169 -0
- package/lib/services/marketplace_v2.d.ts.map +1 -0
- package/lib/services/marketplace_v2.js +2 -0
- package/lib/services/marketplace_v2.js.map +1 -0
- package/lib/services/mongodb_v1.d.ts +698 -0
- package/lib/services/mongodb_v1.d.ts.map +1 -0
- package/lib/services/mongodb_v1.js +43 -0
- package/lib/services/mongodb_v1.js.map +1 -0
- package/lib/services/partner_v1.d.ts +142 -0
- package/lib/services/partner_v1.d.ts.map +1 -0
- package/lib/services/partner_v1.js +2 -0
- package/lib/services/partner_v1.js.map +1 -0
- package/lib/services/rdb_encryption_v1.d.ts +17 -0
- package/lib/services/rdb_encryption_v1.d.ts.map +1 -0
- package/lib/services/rdb_encryption_v1.js +2 -0
- package/lib/services/rdb_encryption_v1.js.map +1 -0
- package/lib/services/rdb_v1.d.ts +1422 -0
- package/lib/services/rdb_v1.d.ts.map +1 -0
- package/lib/services/rdb_v1.js +87 -0
- package/lib/services/rdb_v1.js.map +1 -0
- package/lib/services/redis_v1.d.ts +602 -0
- package/lib/services/redis_v1.d.ts.map +1 -0
- package/lib/services/redis_v1.js +42 -0
- package/lib/services/redis_v1.js.map +1 -0
- package/lib/services/registry_v1.d.ts +281 -0
- package/lib/services/registry_v1.d.ts.map +1 -0
- package/lib/services/registry_v1.js +2 -0
- package/lib/services/registry_v1.js.map +1 -0
- package/lib/services/reseller_v1.d.ts +81 -0
- package/lib/services/reseller_v1.d.ts.map +1 -0
- package/lib/services/reseller_v1.js +2 -0
- package/lib/services/reseller_v1.js.map +1 -0
- package/lib/services/vpc_gw_v2.d.ts +640 -0
- package/lib/services/vpc_gw_v2.d.ts.map +1 -0
- package/lib/services/vpc_gw_v2.js +46 -0
- package/lib/services/vpc_gw_v2.js.map +1 -0
- package/lib/services/vpc_private_network_with_nics_v2.d.ts +114 -0
- package/lib/services/vpc_private_network_with_nics_v2.d.ts.map +1 -0
- package/lib/services/vpc_private_network_with_nics_v2.js +2 -0
- package/lib/services/vpc_private_network_with_nics_v2.js.map +1 -0
- package/lib/services/vpc_routes_with_nexthop_v2.d.ts +87 -0
- package/lib/services/vpc_routes_with_nexthop_v2.d.ts.map +1 -0
- package/lib/services/vpc_routes_with_nexthop_v2.js +2 -0
- package/lib/services/vpc_routes_with_nexthop_v2.js.map +1 -0
- package/lib/services/vpc_v2.d.ts +875 -0
- package/lib/services/vpc_v2.d.ts.map +1 -0
- package/lib/services/vpc_v2.js +54 -0
- package/lib/services/vpc_v2.js.map +1 -0
- package/lib/services/webhosting_backup_v1.d.ts +182 -0
- package/lib/services/webhosting_backup_v1.d.ts.map +1 -0
- package/lib/services/webhosting_backup_v1.js +2 -0
- package/lib/services/webhosting_backup_v1.js.map +1 -0
- package/lib/services/webhosting_control_panel_v1.d.ts +37 -0
- package/lib/services/webhosting_control_panel_v1.d.ts.map +1 -0
- package/lib/services/webhosting_control_panel_v1.js +2 -0
- package/lib/services/webhosting_control_panel_v1.js.map +1 -0
- package/lib/services/webhosting_database_v1.d.ts +195 -0
- package/lib/services/webhosting_database_v1.d.ts.map +1 -0
- package/lib/services/webhosting_database_v1.js +2 -0
- package/lib/services/webhosting_database_v1.js.map +1 -0
- package/lib/services/webhosting_dedibox_v1.d.ts +232 -0
- package/lib/services/webhosting_dedibox_v1.d.ts.map +1 -0
- package/lib/services/webhosting_dedibox_v1.js +2 -0
- package/lib/services/webhosting_dedibox_v1.js.map +1 -0
- package/lib/services/webhosting_dns_v1.d.ts +177 -0
- package/lib/services/webhosting_dns_v1.d.ts.map +1 -0
- package/lib/services/webhosting_dns_v1.js +2 -0
- package/lib/services/webhosting_dns_v1.js.map +1 -0
- package/lib/services/webhosting_free_domain_v1.d.ts +51 -0
- package/lib/services/webhosting_free_domain_v1.d.ts.map +1 -0
- package/lib/services/webhosting_free_domain_v1.js +2 -0
- package/lib/services/webhosting_free_domain_v1.js.map +1 -0
- package/lib/services/webhosting_ftp_account_v1.d.ts +79 -0
- package/lib/services/webhosting_ftp_account_v1.d.ts.map +1 -0
- package/lib/services/webhosting_ftp_account_v1.js +2 -0
- package/lib/services/webhosting_ftp_account_v1.js.map +1 -0
- package/lib/services/webhosting_hosting_v1.d.ts +502 -0
- package/lib/services/webhosting_hosting_v1.d.ts.map +1 -0
- package/lib/services/webhosting_hosting_v1.js +27 -0
- package/lib/services/webhosting_hosting_v1.js.map +1 -0
- package/lib/services/webhosting_mail_account_v1.d.ts +84 -0
- package/lib/services/webhosting_mail_account_v1.d.ts.map +1 -0
- package/lib/services/webhosting_mail_account_v1.js +2 -0
- package/lib/services/webhosting_mail_account_v1.js.map +1 -0
- package/lib/services/webhosting_offer_v1.d.ts +122 -0
- package/lib/services/webhosting_offer_v1.d.ts.map +1 -0
- package/lib/services/webhosting_offer_v1.js +2 -0
- package/lib/services/webhosting_offer_v1.js.map +1 -0
- package/lib/services/webhosting_website_v1.d.ts +75 -0
- package/lib/services/webhosting_website_v1.d.ts.map +1 -0
- package/lib/services/webhosting_website_v1.js +2 -0
- package/lib/services/webhosting_website_v1.js.map +1 -0
- package/lib/services.lazy/account_contract_v3.js +1 -0
- package/lib/services.lazy/account_iso_code_v3.js +1 -0
- package/lib/services.lazy/account_organization_v3.js +1 -0
- package/lib/services.lazy/account_project_v3.js +1 -0
- package/lib/services.lazy/account_unauthenticated_user_v3.js +3 -0
- package/lib/services.lazy/account_unauthenticated_v3.js +1 -0
- package/lib/services.lazy/account_user_v3.js +3 -0
- package/lib/services.lazy/annotations_v1.js +1 -0
- package/lib/services.lazy/baremetal_private_network_v1.js +1 -0
- package/lib/services.lazy/baremetal_private_network_v3.js +1 -0
- package/lib/services.lazy/baremetal_v1.js +3 -0
- package/lib/services.lazy/billing_electronic_billing_v2.js +1 -0
- package/lib/services.lazy/billing_v2.js +1 -0
- package/lib/services.lazy/block_v1.js +3 -0
- package/lib/services.lazy/cockpit_global_v1.js +1 -0
- package/lib/services.lazy/cockpit_regional_v1.js +3 -0
- package/lib/services.lazy/containers_v1.js +3 -0
- package/lib/services.lazy/dedibox_billing_v1.js +1 -0
- package/lib/services.lazy/dedibox_ipv6_block_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_san_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_v1_v1.js +3 -0
- package/lib/services.lazy/dedibox_rpn_v2_v1.js +3 -0
- package/lib/services.lazy/dedibox_v1.js +3 -0
- package/lib/services.lazy/generative_apis_openai_v1.js +3 -0
- package/lib/services.lazy/generative_apis_v1.js +1 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/inference_v1.js +3 -0
- package/lib/services.lazy/instance_v1.js +3 -0
- package/lib/services.lazy/iot_v1.js +3 -0
- package/lib/services.lazy/ipam_v1.js +1 -0
- package/lib/services.lazy/k8s_v1.js +3 -0
- package/lib/services.lazy/lb_zoned_v1.js +3 -0
- package/lib/services.lazy/marketplace_console_v2.js +1 -0
- package/lib/services.lazy/marketplace_v2.js +1 -0
- package/lib/services.lazy/mongodb_v1.js +3 -0
- package/lib/services.lazy/partner_v1.js +1 -0
- package/lib/services.lazy/rdb_encryption_v1.js +1 -0
- package/lib/services.lazy/rdb_v1.js +3 -0
- package/lib/services.lazy/redis_v1.js +3 -0
- package/lib/services.lazy/registry_v1.js +1 -0
- package/lib/services.lazy/reseller_v1.js +1 -0
- package/lib/services.lazy/vpc_gw_v2.js +3 -0
- package/lib/services.lazy/vpc_private_network_with_nics_v2.js +1 -0
- package/lib/services.lazy/vpc_routes_with_nexthop_v2.js +1 -0
- package/lib/services.lazy/vpc_v2.js +3 -0
- package/lib/services.lazy/webhosting_backup_v1.js +1 -0
- package/lib/services.lazy/webhosting_control_panel_v1.js +1 -0
- package/lib/services.lazy/webhosting_database_v1.js +1 -0
- package/lib/services.lazy/webhosting_dedibox_v1.js +1 -0
- package/lib/services.lazy/webhosting_dns_v1.js +1 -0
- package/lib/services.lazy/webhosting_free_domain_v1.js +1 -0
- package/lib/services.lazy/webhosting_ftp_account_v1.js +1 -0
- package/lib/services.lazy/webhosting_hosting_v1.js +3 -0
- package/lib/services.lazy/webhosting_mail_account_v1.js +1 -0
- package/lib/services.lazy/webhosting_offer_v1.js +1 -0
- package/lib/services.lazy/webhosting_website_v1.js +1 -0
- package/lib/traits.d.ts +25 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +1 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.d.ts +119 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.js +2 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.js.map +1 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.d.ts +569 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.js +38 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.js.map +1 -0
- package/lib/unstable-services/audit_trail_v1alpha1.d.ts +1082 -0
- package/lib/unstable-services/audit_trail_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/audit_trail_v1alpha1.js +47 -0
- package/lib/unstable-services/audit_trail_v1alpha1.js.map +1 -0
- package/lib/unstable-services/autoscaling_v1alpha2.d.ts +368 -0
- package/lib/unstable-services/autoscaling_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/autoscaling_v1alpha2.js +2 -0
- package/lib/unstable-services/autoscaling_v1alpha2.js.map +1 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.d.ts +78 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.js +2 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.js.map +1 -0
- package/lib/unstable-services/billing_v2beta1.d.ts +411 -0
- package/lib/unstable-services/billing_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/billing_v2beta1.js +25 -0
- package/lib/unstable-services/billing_v2beta1.js.map +1 -0
- package/lib/unstable-services/block_v1alpha1.d.ts +372 -0
- package/lib/unstable-services/block_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/block_v1alpha1.js +27 -0
- package/lib/unstable-services/block_v1alpha1.js.map +1 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.d.ts +440 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.js +27 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.js.map +1 -0
- package/lib/unstable-services/datalab_v1beta1.d.ts +322 -0
- package/lib/unstable-services/datalab_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/datalab_v1beta1.js +2 -0
- package/lib/unstable-services/datalab_v1beta1.js.map +1 -0
- package/lib/unstable-services/dataviz_v1alpha1.d.ts +456 -0
- package/lib/unstable-services/dataviz_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/dataviz_v1alpha1.js +34 -0
- package/lib/unstable-services/dataviz_v1alpha1.js.map +1 -0
- package/lib/unstable-services/datawarehouse_v1beta1.d.ts +492 -0
- package/lib/unstable-services/datawarehouse_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/datawarehouse_v1beta1.js +34 -0
- package/lib/unstable-services/datawarehouse_v1beta1.js.map +1 -0
- package/lib/unstable-services/domain_registrar_v2beta1.d.ts +1087 -0
- package/lib/unstable-services/domain_registrar_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_registrar_v2beta1.js +50 -0
- package/lib/unstable-services/domain_registrar_v2beta1.js.map +1 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.d.ts +19 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.js +2 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.js.map +1 -0
- package/lib/unstable-services/domain_v2beta1.d.ts +520 -0
- package/lib/unstable-services/domain_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_v2beta1.js +44 -0
- package/lib/unstable-services/domain_v2beta1.js.map +1 -0
- package/lib/unstable-services/edge_services_v1beta1.d.ts +1153 -0
- package/lib/unstable-services/edge_services_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/edge_services_v1beta1.js +81 -0
- package/lib/unstable-services/edge_services_v1beta1.js.map +1 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.d.ts +149 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.js +2 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.js.map +1 -0
- package/lib/unstable-services/file_v1alpha1.d.ts +350 -0
- package/lib/unstable-services/file_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/file_v1alpha1.js +24 -0
- package/lib/unstable-services/file_v1alpha1.js.map +1 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.d.ts +241 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.js +2 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.js.map +1 -0
- package/lib/unstable-services/functions_v1beta1.d.ts +852 -0
- package/lib/unstable-services/functions_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/functions_v1beta1.js +49 -0
- package/lib/unstable-services/functions_v1beta1.js.map +1 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.d.ts +257 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.js +2 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.js.map +1 -0
- package/lib/unstable-services/iam_v1alpha1.d.ts +1506 -0
- package/lib/unstable-services/iam_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/iam_v1alpha1.js +105 -0
- package/lib/unstable-services/iam_v1alpha1.js.map +1 -0
- package/lib/unstable-services/index.d.ts +44 -0
- package/lib/unstable-services/index.d.ts.map +1 -0
- package/lib/unstable-services/index.js +43 -0
- package/lib/unstable-services/instance_v2alpha1.d.ts +1755 -0
- package/lib/unstable-services/instance_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/instance_v2alpha1.js +81 -0
- package/lib/unstable-services/instance_v2alpha1.js.map +1 -0
- package/lib/unstable-services/instance_volume_v2alpha1.d.ts +333 -0
- package/lib/unstable-services/instance_volume_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/instance_volume_v2alpha1.js +26 -0
- package/lib/unstable-services/instance_volume_v2alpha1.js.map +1 -0
- package/lib/unstable-services/interlink_v1beta1.d.ts +636 -0
- package/lib/unstable-services/interlink_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/interlink_v1beta1.js +39 -0
- package/lib/unstable-services/interlink_v1beta1.js.map +1 -0
- package/lib/unstable-services/kafka_v1alpha1.d.ts +451 -0
- package/lib/unstable-services/kafka_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/kafka_v1alpha1.js +27 -0
- package/lib/unstable-services/kafka_v1alpha1.js.map +1 -0
- package/lib/unstable-services/key_manager_v1alpha1.d.ts +515 -0
- package/lib/unstable-services/key_manager_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/key_manager_v1alpha1.js +36 -0
- package/lib/unstable-services/key_manager_v1alpha1.js.map +1 -0
- package/lib/unstable-services/mailbox_v1alpha1.d.ts +438 -0
- package/lib/unstable-services/mailbox_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/mailbox_v1alpha1.js +39 -0
- package/lib/unstable-services/mailbox_v1alpha1.js.map +1 -0
- package/lib/unstable-services/messageq_v1alpha1.d.ts +420 -0
- package/lib/unstable-services/messageq_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/messageq_v1alpha1.js +29 -0
- package/lib/unstable-services/messageq_v1alpha1.js.map +1 -0
- package/lib/unstable-services/mnq_console_v1beta1.d.ts +32 -0
- package/lib/unstable-services/mnq_console_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_console_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_console_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_nats_v1beta1.d.ts +177 -0
- package/lib/unstable-services/mnq_nats_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_nats_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_nats_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_sns_v1beta1.d.ts +155 -0
- package/lib/unstable-services/mnq_sns_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_sns_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_sns_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.d.ts +155 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.js.map +1 -0
- package/lib/unstable-services/mongodb_v1alpha1.d.ts +604 -0
- package/lib/unstable-services/mongodb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/mongodb_v1alpha1.js +37 -0
- package/lib/unstable-services/mongodb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.d.ts +479 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.js +2 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.js.map +1 -0
- package/lib/unstable-services/qaas_v1alpha1.d.ts +764 -0
- package/lib/unstable-services/qaas_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/qaas_v1alpha1.js +51 -0
- package/lib/unstable-services/qaas_v1alpha1.js.map +1 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.d.ts +794 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.js +45 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.js.map +1 -0
- package/lib/unstable-services/search_v1alpha1.d.ts +120 -0
- package/lib/unstable-services/search_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/search_v1alpha1.js +2 -0
- package/lib/unstable-services/search_v1alpha1.js.map +1 -0
- package/lib/unstable-services/searchdb_v1alpha1.d.ts +424 -0
- package/lib/unstable-services/searchdb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/searchdb_v1alpha1.js +29 -0
- package/lib/unstable-services/searchdb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/secret_manager_v1beta1.d.ts +407 -0
- package/lib/unstable-services/secret_manager_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/secret_manager_v1beta1.js +32 -0
- package/lib/unstable-services/secret_manager_v1beta1.js.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.d.ts +331 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.js +28 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.js.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.d.ts +546 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.js +35 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.js.map +1 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.d.ts +239 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.js +2 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/transactional_email_v1alpha1.d.ts +936 -0
- package/lib/unstable-services/transactional_email_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/transactional_email_v1alpha1.js +46 -0
- package/lib/unstable-services/transactional_email_v1alpha1.js.map +1 -0
- package/lib/unstable-services.lazy/apple_silicon_private_network_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/apple_silicon_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/audit_trail_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/autoscaling_v1alpha2.js +1 -0
- package/lib/unstable-services.lazy/billing_fin_ops_v2beta1.js +1 -0
- package/lib/unstable-services.lazy/billing_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/block_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/data_orchestrator_v1alpha2.js +3 -0
- package/lib/unstable-services.lazy/datalab_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/dataviz_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/datawarehouse_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/domain_registrar_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/domain_suggestion_v2beta1.js +1 -0
- package/lib/unstable-services.lazy/domain_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/edge_services_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/environmental_footprint_user_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/file_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/flexible_ip_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/functions_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/iam_unauthenticated_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/iam_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/index.js +3 -0
- package/lib/unstable-services.lazy/instance_v2alpha1.js +3 -0
- package/lib/unstable-services.lazy/instance_volume_v2alpha1.js +3 -0
- package/lib/unstable-services.lazy/interlink_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/kafka_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/key_manager_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/mailbox_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/messageq_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/mnq_console_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_nats_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_sns_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_sqs_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mongodb_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/product_catalog_public_catalog_v2alpha1.js +1 -0
- package/lib/unstable-services.lazy/qaas_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/s2s_vpn_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/search_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/searchdb_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/secret_manager_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/serverless_jobs_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/serverless_jobs_v1alpha2.js +3 -0
- package/lib/unstable-services.lazy/serverless_sqldb_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/transactional_email_v1alpha1.js +3 -0
- package/package.json +89 -2
- package/src/credentials.ts +104 -0
- package/src/errors.ts +307 -0
- package/src/index.ts +52 -0
- package/src/pagination.ts +65 -0
- package/src/protocol.ts +496 -0
- package/src/retry.ts +47 -0
- package/src/services/account_contract_v3.ts +441 -0
- package/src/services/account_iso_code_v3.ts +165 -0
- package/src/services/account_organization_v3.ts +947 -0
- package/src/services/account_project_v3.ts +530 -0
- package/src/services/account_unauthenticated_user_v3.ts +1445 -0
- package/src/services/account_unauthenticated_v3.ts +92 -0
- package/src/services/account_user_v3.ts +1657 -0
- package/src/services/annotations_v1.ts +897 -0
- package/src/services/baremetal_private_network_v1.ts +327 -0
- package/src/services/baremetal_private_network_v3.ts +376 -0
- package/src/services/baremetal_v1.ts +3072 -0
- package/src/services/billing_electronic_billing_v2.ts +323 -0
- package/src/services/billing_v2.ts +662 -0
- package/src/services/block_v1.ts +1282 -0
- package/src/services/cockpit_global_v1.ts +282 -0
- package/src/services/cockpit_regional_v1.ts +2177 -0
- package/src/services/containers_v1.ts +2110 -0
- package/src/services/dedibox_billing_v1.ts +621 -0
- package/src/services/dedibox_ipv6_block_v1.ts +468 -0
- package/src/services/dedibox_rpn_san_v1.ts +1185 -0
- package/src/services/dedibox_rpn_v1.ts +207 -0
- package/src/services/dedibox_rpn_v1_v1.ts +1763 -0
- package/src/services/dedibox_rpn_v2_v1.ts +1654 -0
- package/src/services/dedibox_v1.ts +3765 -0
- package/src/services/generative_apis_openai_v1.ts +1692 -0
- package/src/services/generative_apis_v1.ts +251 -0
- package/src/services/index.ts +57 -0
- package/src/services/inference_v1.ts +1353 -0
- package/src/services/instance_v1.ts +6611 -0
- package/src/services/iot_v1.ts +2419 -0
- package/src/services/ipam_v1.ts +716 -0
- package/src/services/k8s_v1.ts +3108 -0
- package/src/services/lb_zoned_v1.ts +4533 -0
- package/src/services/marketplace_console_v2.ts +198 -0
- package/src/services/marketplace_v2.ts +625 -0
- package/src/services/mongodb_v1.ts +2104 -0
- package/src/services/partner_v1.ts +462 -0
- package/src/services/rdb_encryption_v1.ts +83 -0
- package/src/services/rdb_v1.ts +4211 -0
- package/src/services/redis_v1.ts +1918 -0
- package/src/services/registry_v1.ts +863 -0
- package/src/services/reseller_v1.ts +258 -0
- package/src/services/vpc_gw_v2.ts +2137 -0
- package/src/services/vpc_private_network_with_nics_v2.ts +311 -0
- package/src/services/vpc_routes_with_nexthop_v2.ts +226 -0
- package/src/services/vpc_v2.ts +2533 -0
- package/src/services/webhosting_backup_v1.ts +578 -0
- package/src/services/webhosting_control_panel_v1.ts +130 -0
- package/src/services/webhosting_database_v1.ts +682 -0
- package/src/services/webhosting_dedibox_v1.ts +480 -0
- package/src/services/webhosting_dns_v1.ts +471 -0
- package/src/services/webhosting_free_domain_v1.ts +190 -0
- package/src/services/webhosting_ftp_account_v1.ts +280 -0
- package/src/services/webhosting_hosting_v1.ts +1309 -0
- package/src/services/webhosting_mail_account_v1.ts +291 -0
- package/src/services/webhosting_offer_v1.ts +289 -0
- package/src/services/webhosting_website_v1.ts +274 -0
- package/src/traits.ts +63 -0
- package/src/unstable-services/apple_silicon_private_network_v1alpha1.ts +395 -0
- package/src/unstable-services/apple_silicon_v1alpha1.ts +1685 -0
- package/src/unstable-services/audit_trail_v1alpha1.ts +3220 -0
- package/src/unstable-services/autoscaling_v1alpha2.ts +1103 -0
- package/src/unstable-services/billing_fin_ops_v2beta1.ts +195 -0
- package/src/unstable-services/billing_v2beta1.ts +1203 -0
- package/src/unstable-services/block_v1alpha1.ts +1239 -0
- package/src/unstable-services/data_orchestrator_v1alpha2.ts +1230 -0
- package/src/unstable-services/datalab_v1beta1.ts +852 -0
- package/src/unstable-services/dataviz_v1alpha1.ts +1478 -0
- package/src/unstable-services/datawarehouse_v1beta1.ts +1504 -0
- package/src/unstable-services/domain_registrar_v2beta1.ts +2979 -0
- package/src/unstable-services/domain_suggestion_v2beta1.ts +86 -0
- package/src/unstable-services/domain_v2beta1.ts +1794 -0
- package/src/unstable-services/edge_services_v1beta1.ts +3724 -0
- package/src/unstable-services/environmental_footprint_user_v1alpha1.ts +429 -0
- package/src/unstable-services/file_v1alpha1.ts +1016 -0
- package/src/unstable-services/flexible_ip_v1alpha1.ts +804 -0
- package/src/unstable-services/functions_v1beta1.ts +2410 -0
- package/src/unstable-services/iam_unauthenticated_v1alpha1.ts +863 -0
- package/src/unstable-services/iam_v1alpha1.ts +4919 -0
- package/src/unstable-services/index.ts +44 -0
- package/src/unstable-services/instance_v2alpha1.ts +5395 -0
- package/src/unstable-services/instance_volume_v2alpha1.ts +1111 -0
- package/src/unstable-services/interlink_v1beta1.ts +1791 -0
- package/src/unstable-services/kafka_v1alpha1.ts +1275 -0
- package/src/unstable-services/key_manager_v1alpha1.ts +1618 -0
- package/src/unstable-services/mailbox_v1alpha1.ts +1561 -0
- package/src/unstable-services/messageq_v1alpha1.ts +1266 -0
- package/src/unstable-services/mnq_console_v1beta1.ts +111 -0
- package/src/unstable-services/mnq_nats_v1beta1.ts +608 -0
- package/src/unstable-services/mnq_sns_v1beta1.ts +523 -0
- package/src/unstable-services/mnq_sqs_v1beta1.ts +523 -0
- package/src/unstable-services/mongodb_v1alpha1.ts +1789 -0
- package/src/unstable-services/product_catalog_public_catalog_v2alpha1.ts +1113 -0
- package/src/unstable-services/qaas_v1alpha1.ts +2404 -0
- package/src/unstable-services/s2s_vpn_v1alpha1.ts +2173 -0
- package/src/unstable-services/search_v1alpha1.ts +349 -0
- package/src/unstable-services/searchdb_v1alpha1.ts +1273 -0
- package/src/unstable-services/secret_manager_v1beta1.ts +1255 -0
- package/src/unstable-services/serverless_jobs_v1alpha1.ts +1017 -0
- package/src/unstable-services/serverless_jobs_v1alpha2.ts +1516 -0
- package/src/unstable-services/serverless_sqldb_v1alpha1.ts +747 -0
- package/src/unstable-services/transactional_email_v1alpha1.ts +2495 -0
|
@@ -0,0 +1,1351 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import type * as Redacted from "effect/Redacted";
|
|
3
|
+
import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
4
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
5
|
+
export type AttachFailoverIPsRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
6
|
+
/** List of ID of failovers IP to attach. */
|
|
7
|
+
export type AttachFailoverIPsRequestFipsIdsList = Array<number>;
|
|
8
|
+
export interface AttachFailoverIPsRequest {
|
|
9
|
+
/** The zone you want to target */
|
|
10
|
+
zone?: AttachFailoverIPsRequestZone | (string & {}) | undefined;
|
|
11
|
+
/** ID of the server. */
|
|
12
|
+
server_id?: number | undefined;
|
|
13
|
+
/** List of ID of failovers IP to attach. */
|
|
14
|
+
fips_ids: AttachFailoverIPsRequestFipsIdsList;
|
|
15
|
+
}
|
|
16
|
+
export interface AttachFailoverIPsResponse {
|
|
17
|
+
}
|
|
18
|
+
export type AttachFailoverIPToMacAddressRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
19
|
+
export type AttachFailoverIPToMacAddressRequestMacType = "mac_type_unknown" | "vmware" | "kvm" | "xen";
|
|
20
|
+
export interface AttachFailoverIPToMacAddressRequest {
|
|
21
|
+
/** The zone you want to target */
|
|
22
|
+
zone?: AttachFailoverIPToMacAddressRequestZone | (string & {}) | undefined;
|
|
23
|
+
/** ID of the failover IP. */
|
|
24
|
+
ip_id: number;
|
|
25
|
+
/** A mac type. */
|
|
26
|
+
type?: AttachFailoverIPToMacAddressRequestMacType | (string & {}) | undefined;
|
|
27
|
+
/** A valid mac address (existing or not). */
|
|
28
|
+
mac?: string | null | undefined;
|
|
29
|
+
}
|
|
30
|
+
export type IPVersion = "ipv4" | "ipv6";
|
|
31
|
+
export type IPSemantic = "unknown" | "proxad" | "ext" | "public" | "private" | "ipmi" | "adm" | "redirect" | "migration";
|
|
32
|
+
export type IPStatus = "unknown_status" | "ready" | "busy" | "locked";
|
|
33
|
+
export interface IP {
|
|
34
|
+
/** ID of the IP. */
|
|
35
|
+
ip_id?: number | undefined;
|
|
36
|
+
/** Address of the IP. (IP address) */
|
|
37
|
+
address?: string | undefined;
|
|
38
|
+
/** Reverse IP value. */
|
|
39
|
+
reverse?: string | undefined;
|
|
40
|
+
/** Version of IP (v4 or v6). */
|
|
41
|
+
version?: IPVersion | undefined;
|
|
42
|
+
/** Classless InterDomain Routing notation of the IP. */
|
|
43
|
+
cidr?: number | undefined;
|
|
44
|
+
/** Network mask of IP. (IP address) */
|
|
45
|
+
netmask?: string | undefined;
|
|
46
|
+
/** Semantic of IP. */
|
|
47
|
+
semantic?: IPSemantic | undefined;
|
|
48
|
+
/** Gateway of IP. (IP address) */
|
|
49
|
+
gateway?: string | undefined;
|
|
50
|
+
/** Status of the IP. */
|
|
51
|
+
status?: IPStatus | undefined;
|
|
52
|
+
}
|
|
53
|
+
export type CancelServerInstallRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
54
|
+
export interface CancelServerInstallRequest {
|
|
55
|
+
/** The zone you want to target */
|
|
56
|
+
zone?: CancelServerInstallRequestZone | (string & {}) | undefined;
|
|
57
|
+
/** Server ID of the server to cancel install. */
|
|
58
|
+
server_id: number;
|
|
59
|
+
}
|
|
60
|
+
export interface CancelServerInstallResponse {
|
|
61
|
+
}
|
|
62
|
+
export type CreateFailoverIPsRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
63
|
+
export interface CreateFailoverIPsRequest {
|
|
64
|
+
/** The zone you want to target */
|
|
65
|
+
zone?: CreateFailoverIPsRequestZone | (string & {}) | undefined;
|
|
66
|
+
/** Failover IP offer ID. */
|
|
67
|
+
offer_id?: number | undefined;
|
|
68
|
+
/** Project ID. */
|
|
69
|
+
project_id?: string | undefined;
|
|
70
|
+
/** Quantity. */
|
|
71
|
+
quantity?: number | undefined;
|
|
72
|
+
}
|
|
73
|
+
export type ServiceProvisioningStatus = "unknown" | "delivering" | "ready" | "error" | "expiring" | "expired";
|
|
74
|
+
export type OfferCatalog = "all" | "default" | "beta" | "reseller" | "premium" | "volume" | "admin" | "inactive";
|
|
75
|
+
export type OfferPaymentFrequency = "monthly" | "oneshot";
|
|
76
|
+
export interface GoogleTypeMoney {
|
|
77
|
+
currency_code?: string | undefined;
|
|
78
|
+
units?: number | undefined;
|
|
79
|
+
nanos?: number | undefined;
|
|
80
|
+
}
|
|
81
|
+
export type OfferServerInfoStock = "empty" | "low" | "available";
|
|
82
|
+
export type ServerDiskType = "sata" | "ssd" | "sas" | "sshd" | "usb" | "nvme";
|
|
83
|
+
export interface Disk {
|
|
84
|
+
/** Capacity of the disk. (in bytes) */
|
|
85
|
+
capacity?: number | undefined;
|
|
86
|
+
/** Type of the disk. */
|
|
87
|
+
type?: ServerDiskType | undefined;
|
|
88
|
+
}
|
|
89
|
+
export type OfferServerInfoDisksList = Array<Disk>;
|
|
90
|
+
export interface CPU {
|
|
91
|
+
/** Name of CPU. */
|
|
92
|
+
name?: string | undefined;
|
|
93
|
+
/** Number of cores of the CPU. */
|
|
94
|
+
core_count?: number | undefined;
|
|
95
|
+
/** Number of threads of the CPU. */
|
|
96
|
+
thread_count?: number | undefined;
|
|
97
|
+
/** Frequency of the CPU. */
|
|
98
|
+
frequency?: number | undefined;
|
|
99
|
+
/** Bench of the CPU. */
|
|
100
|
+
bench?: number | undefined;
|
|
101
|
+
}
|
|
102
|
+
export type OfferServerInfoCpusList = Array<CPU>;
|
|
103
|
+
export type MemoryType = "ddr2" | "ddr3" | "ddr4" | "ddr5";
|
|
104
|
+
export interface Memory {
|
|
105
|
+
/** Capacity of the memory. (in bytes) */
|
|
106
|
+
capacity?: number | undefined;
|
|
107
|
+
/** Type of the memory. */
|
|
108
|
+
type?: MemoryType | undefined;
|
|
109
|
+
/** Frequency of the memory. */
|
|
110
|
+
frequency?: number | undefined;
|
|
111
|
+
/** True if the memory is an error-correcting code memory. */
|
|
112
|
+
is_ecc?: boolean | undefined;
|
|
113
|
+
}
|
|
114
|
+
export type OfferServerInfoMemoriesList = Array<Memory>;
|
|
115
|
+
export interface PersistentMemory {
|
|
116
|
+
/** Capacity of the persistent memory. (in bytes) */
|
|
117
|
+
capacity?: number | undefined;
|
|
118
|
+
/** Frequency of the persistent memory. */
|
|
119
|
+
frequency?: number | undefined;
|
|
120
|
+
/** Model of the persistent memory. */
|
|
121
|
+
model?: string | undefined;
|
|
122
|
+
}
|
|
123
|
+
export type OfferServerInfoPersistentMemoriesList = Array<PersistentMemory>;
|
|
124
|
+
/** RAID level of the RAID controller. */
|
|
125
|
+
export type RaidControllerRaidLevelList = Array<string>;
|
|
126
|
+
export interface RaidController {
|
|
127
|
+
/** Model of the RAID controller. */
|
|
128
|
+
model?: string | undefined;
|
|
129
|
+
/** RAID level of the RAID controller. */
|
|
130
|
+
raid_level?: RaidControllerRaidLevelList | undefined;
|
|
131
|
+
}
|
|
132
|
+
export type OfferServerInfoRaidControllersList = Array<RaidController>;
|
|
133
|
+
export type OfferServerInfoAvailableOptionsList = Array<Offer>;
|
|
134
|
+
export type OfferServerInfoStockByDatacenterMap = {
|
|
135
|
+
[key: string]: OfferServerInfoStock | undefined;
|
|
136
|
+
};
|
|
137
|
+
export interface OfferServerInfoAvailability {
|
|
138
|
+
stock?: OfferServerInfoStock | undefined;
|
|
139
|
+
quantity?: number | undefined;
|
|
140
|
+
}
|
|
141
|
+
export type OfferServerInfoAvailabilityByDatacenterMap = {
|
|
142
|
+
[key: string]: OfferServerInfoAvailability | undefined;
|
|
143
|
+
};
|
|
144
|
+
export interface OfferServerInfo {
|
|
145
|
+
bandwidth?: number | undefined;
|
|
146
|
+
stock?: OfferServerInfoStock | undefined;
|
|
147
|
+
commercial_range?: string | undefined;
|
|
148
|
+
disks?: OfferServerInfoDisksList | undefined;
|
|
149
|
+
cpus?: OfferServerInfoCpusList | undefined;
|
|
150
|
+
memories?: OfferServerInfoMemoriesList | undefined;
|
|
151
|
+
persistent_memories?: OfferServerInfoPersistentMemoriesList | undefined;
|
|
152
|
+
raid_controllers?: OfferServerInfoRaidControllersList | undefined;
|
|
153
|
+
available_options?: OfferServerInfoAvailableOptionsList | undefined;
|
|
154
|
+
rpn_version?: number | null | undefined;
|
|
155
|
+
connectivity?: number | undefined;
|
|
156
|
+
onetime_fees?: Offer | undefined;
|
|
157
|
+
stock_by_datacenter?: OfferServerInfoStockByDatacenterMap | undefined;
|
|
158
|
+
availability_by_datacenter?: OfferServerInfoAvailabilityByDatacenterMap | undefined;
|
|
159
|
+
rpn_speed?: number | undefined;
|
|
160
|
+
}
|
|
161
|
+
export type OfferServiceLevelInfoAvailableOptionsList = Array<Offer>;
|
|
162
|
+
export interface OfferServiceLevelInfo {
|
|
163
|
+
support_ticket?: boolean | undefined;
|
|
164
|
+
support_phone?: boolean | undefined;
|
|
165
|
+
sales_support?: boolean | undefined;
|
|
166
|
+
git?: string | undefined;
|
|
167
|
+
sla?: number | undefined;
|
|
168
|
+
priority_support?: boolean | undefined;
|
|
169
|
+
high_rpn_bandwidth?: boolean | undefined;
|
|
170
|
+
customization?: boolean | undefined;
|
|
171
|
+
antidos?: boolean | undefined;
|
|
172
|
+
extra_failover_quota?: number | undefined;
|
|
173
|
+
available_options?: OfferServiceLevelInfoAvailableOptionsList | undefined;
|
|
174
|
+
}
|
|
175
|
+
export interface OfferRPNInfo {
|
|
176
|
+
speed?: number | undefined;
|
|
177
|
+
}
|
|
178
|
+
export type OfferSANInfoType = "hdd" | "ssd";
|
|
179
|
+
export interface OfferSANInfo {
|
|
180
|
+
/** SAN size (in bytes). */
|
|
181
|
+
size?: number | undefined;
|
|
182
|
+
/** High availability offer. */
|
|
183
|
+
ha?: boolean | undefined;
|
|
184
|
+
/** Type of SAN device (hdd / ssd). */
|
|
185
|
+
device_type?: OfferSANInfoType | undefined;
|
|
186
|
+
}
|
|
187
|
+
export type OfferAntiDosInfoType = "minimal" | "preventive" | "curative";
|
|
188
|
+
export interface OfferAntiDosInfo {
|
|
189
|
+
type?: OfferAntiDosInfoType | undefined;
|
|
190
|
+
}
|
|
191
|
+
export interface OfferBackupInfo {
|
|
192
|
+
/** (in bytes) */
|
|
193
|
+
size?: number | undefined;
|
|
194
|
+
}
|
|
195
|
+
export interface OfferStorageInfo {
|
|
196
|
+
max_quota?: number | undefined;
|
|
197
|
+
/** (in bytes) */
|
|
198
|
+
size?: number | undefined;
|
|
199
|
+
}
|
|
200
|
+
export interface OfferLicenseInfo {
|
|
201
|
+
bound_to_ip?: boolean | undefined;
|
|
202
|
+
}
|
|
203
|
+
export interface OfferFailoverIpInfo {
|
|
204
|
+
onetime_fees?: Offer | undefined;
|
|
205
|
+
}
|
|
206
|
+
export type OfferFailoverBlockInfo = OfferFailoverIpInfo;
|
|
207
|
+
export type OfferBandwidthInfo = OfferRPNInfo;
|
|
208
|
+
export interface OfferCommitment {
|
|
209
|
+
/** Unit used for discount. */
|
|
210
|
+
unit?: string | undefined;
|
|
211
|
+
/** Value of the discount. */
|
|
212
|
+
value?: number | undefined;
|
|
213
|
+
/** Is it free setup fees. */
|
|
214
|
+
free_setup_fees?: boolean | undefined;
|
|
215
|
+
/** Commitment's required duration. */
|
|
216
|
+
duration?: string | undefined;
|
|
217
|
+
/** Discounted price of the commitment. */
|
|
218
|
+
discounted_price?: GoogleTypeMoney | undefined;
|
|
219
|
+
}
|
|
220
|
+
/** Commitment info if it is a commitment offer. */
|
|
221
|
+
export type OfferCommitmentsList = Array<OfferCommitment>;
|
|
222
|
+
export type OSType = "unknown_type" | "server" | "virtu" | "panel" | "desktop" | "custom" | "rescue";
|
|
223
|
+
export type OSArch = "unknown_arch" | "amd64" | "x86" | "arm" | "arm64";
|
|
224
|
+
export type PartitionFileSystem = "unknown" | "efi" | "swap" | "ext4" | "ext3" | "ext2" | "xfs" | "ntfs" | "fat32" | "ufs";
|
|
225
|
+
/** True if the OS allow file systems. */
|
|
226
|
+
export type OSAllowedFilesystemsList = Array<PartitionFileSystem>;
|
|
227
|
+
/** License offers available with the OS. */
|
|
228
|
+
export type OSLicenseOffersList = Array<Offer>;
|
|
229
|
+
export interface OS {
|
|
230
|
+
/** ID of the OS. */
|
|
231
|
+
id?: number | undefined;
|
|
232
|
+
/** Name of the OS. */
|
|
233
|
+
name?: string | undefined;
|
|
234
|
+
/** Type of the OS. */
|
|
235
|
+
type?: OSType | undefined;
|
|
236
|
+
/** Version of the OS. */
|
|
237
|
+
version?: string | undefined;
|
|
238
|
+
/** Architecture of the OS. */
|
|
239
|
+
arch?: OSArch | undefined;
|
|
240
|
+
/** True if the OS allow custom partitioning. */
|
|
241
|
+
allow_custom_partitioning?: boolean | undefined;
|
|
242
|
+
/** True if the OS allow SSH Keys. */
|
|
243
|
+
allow_ssh_keys?: boolean | undefined;
|
|
244
|
+
/** True if the OS requires user. */
|
|
245
|
+
requires_user?: boolean | undefined;
|
|
246
|
+
/** True if the OS requires admin password. */
|
|
247
|
+
requires_admin_password?: boolean | undefined;
|
|
248
|
+
/** True if the OS requires panel password. */
|
|
249
|
+
requires_panel_password?: boolean | undefined;
|
|
250
|
+
/** True if the OS allow file systems. */
|
|
251
|
+
allowed_filesystems?: OSAllowedFilesystemsList | undefined;
|
|
252
|
+
/** True if the OS requires license. */
|
|
253
|
+
requires_license?: boolean | undefined;
|
|
254
|
+
/** License offers available with the OS. */
|
|
255
|
+
license_offers?: OSLicenseOffersList | undefined;
|
|
256
|
+
/** Maximum number of partitions which can be created. */
|
|
257
|
+
max_partitions?: number | null | undefined;
|
|
258
|
+
/** Display name of the OS. */
|
|
259
|
+
display_name?: string | undefined;
|
|
260
|
+
/** Regex used to validate the installation passwords. */
|
|
261
|
+
password_regex?: string | undefined;
|
|
262
|
+
/** Regex used to validate the panel installation password. */
|
|
263
|
+
panel_password_regex?: string | null | undefined;
|
|
264
|
+
/** Whether or not the installation requires a valid hostname (ex: my.scaleway.com). If both requires_valid_hostname & hostname_regex are set, it means that at least one of the criteria must be valid. */
|
|
265
|
+
requires_valid_hostname?: boolean | null | undefined;
|
|
266
|
+
/** Regex used to validate the hostname during the installation. If both requires_valid_hostname & hostname_regex are set, it means that at least one of the criteria must be valid. */
|
|
267
|
+
hostname_regex?: string | null | undefined;
|
|
268
|
+
/** Hostname max length. */
|
|
269
|
+
hostname_max_length?: number | undefined;
|
|
270
|
+
/** OS release date. (RFC 3339 format) */
|
|
271
|
+
released_at?: string | null | undefined;
|
|
272
|
+
/** Is it a beta OS. */
|
|
273
|
+
beta?: string | undefined;
|
|
274
|
+
/** Description of the OS. */
|
|
275
|
+
description?: string | undefined;
|
|
276
|
+
/** URL to OS official website. */
|
|
277
|
+
official_website?: string | undefined;
|
|
278
|
+
}
|
|
279
|
+
/** Available OS info if it is a available OS offer. */
|
|
280
|
+
export type OfferAvailableOsList = Array<OS>;
|
|
281
|
+
export interface Offer {
|
|
282
|
+
/** ID of the offer (aka product.id). */
|
|
283
|
+
id?: number | undefined;
|
|
284
|
+
/** Name of the offer. */
|
|
285
|
+
name?: string | undefined;
|
|
286
|
+
/** Catalog of the offer. */
|
|
287
|
+
catalog?: OfferCatalog | undefined;
|
|
288
|
+
/** Payment frequency of the offer. */
|
|
289
|
+
payment_frequency?: OfferPaymentFrequency | undefined;
|
|
290
|
+
/** Price of the offer. */
|
|
291
|
+
pricing?: GoogleTypeMoney | undefined;
|
|
292
|
+
/** Original Dedibox ID of the offer. */
|
|
293
|
+
offer_id?: number | null | undefined;
|
|
294
|
+
/** Server info if it is a server offer. Precisely one of server_info, service_level_info, rpn_info, san_info, antidos_info, backup_info, usb_storage_info, storage_info, license_info, failover_ip_info, failover_block_info, bandwidth_info can be set. */
|
|
295
|
+
server_info?: OfferServerInfo | null | undefined;
|
|
296
|
+
/** Service level info if it is a service level offer. Precisely one of server_info, service_level_info, rpn_info, san_info, antidos_info, backup_info, usb_storage_info, storage_info, license_info, failover_ip_info, failover_block_info, bandwidth_info can be set. */
|
|
297
|
+
service_level_info?: OfferServiceLevelInfo | null | undefined;
|
|
298
|
+
/** RPN info if it is a RPN offer. Precisely one of server_info, service_level_info, rpn_info, san_info, antidos_info, backup_info, usb_storage_info, storage_info, license_info, failover_ip_info, failover_block_info, bandwidth_info can be set. */
|
|
299
|
+
rpn_info?: OfferRPNInfo | null | undefined;
|
|
300
|
+
/** SAN info if it is a SAN offer. Precisely one of server_info, service_level_info, rpn_info, san_info, antidos_info, backup_info, usb_storage_info, storage_info, license_info, failover_ip_info, failover_block_info, bandwidth_info can be set. */
|
|
301
|
+
san_info?: OfferSANInfo | null | undefined;
|
|
302
|
+
/** AntiDOS info if it is a antiDOS offer. Precisely one of server_info, service_level_info, rpn_info, san_info, antidos_info, backup_info, usb_storage_info, storage_info, license_info, failover_ip_info, failover_block_info, bandwidth_info can be set. */
|
|
303
|
+
antidos_info?: OfferAntiDosInfo | null | undefined;
|
|
304
|
+
/** Backup info if it is a backup offer. Precisely one of server_info, service_level_info, rpn_info, san_info, antidos_info, backup_info, usb_storage_info, storage_info, license_info, failover_ip_info, failover_block_info, bandwidth_info can be set. */
|
|
305
|
+
backup_info?: OfferBackupInfo | null | undefined;
|
|
306
|
+
/** USB storage info if it is a USB storage offer. Precisely one of server_info, service_level_info, rpn_info, san_info, antidos_info, backup_info, usb_storage_info, storage_info, license_info, failover_ip_info, failover_block_info, bandwidth_info can be set. */
|
|
307
|
+
usb_storage_info?: OfferStorageInfo | null | undefined;
|
|
308
|
+
/** Storage info if it is a storage offer. Precisely one of server_info, service_level_info, rpn_info, san_info, antidos_info, backup_info, usb_storage_info, storage_info, license_info, failover_ip_info, failover_block_info, bandwidth_info can be set. */
|
|
309
|
+
storage_info?: OfferStorageInfo | null | undefined;
|
|
310
|
+
/** License info if it is a license offer. Precisely one of server_info, service_level_info, rpn_info, san_info, antidos_info, backup_info, usb_storage_info, storage_info, license_info, failover_ip_info, failover_block_info, bandwidth_info can be set. */
|
|
311
|
+
license_info?: OfferLicenseInfo | null | undefined;
|
|
312
|
+
/** Failover IP info if it is a failover IP offer. Precisely one of server_info, service_level_info, rpn_info, san_info, antidos_info, backup_info, usb_storage_info, storage_info, license_info, failover_ip_info, failover_block_info, bandwidth_info can be set. */
|
|
313
|
+
failover_ip_info?: OfferFailoverIpInfo | null | undefined;
|
|
314
|
+
/** Failover block info if it is a failover block offer. Precisely one of server_info, service_level_info, rpn_info, san_info, antidos_info, backup_info, usb_storage_info, storage_info, license_info, failover_ip_info, failover_block_info, bandwidth_info can be set. */
|
|
315
|
+
failover_block_info?: OfferFailoverIpInfo | null | undefined;
|
|
316
|
+
/** Bandwidth info if it is a bandwidth offer. Precisely one of server_info, service_level_info, rpn_info, san_info, antidos_info, backup_info, usb_storage_info, storage_info, license_info, failover_ip_info, failover_block_info, bandwidth_info can be set. */
|
|
317
|
+
bandwidth_info?: OfferRPNInfo | null | undefined;
|
|
318
|
+
/** Commitment info if it is a commitment offer. */
|
|
319
|
+
commitments?: OfferCommitmentsList | undefined;
|
|
320
|
+
/** Available OS info if it is a available OS offer. */
|
|
321
|
+
available_os?: OfferAvailableOsList | undefined;
|
|
322
|
+
}
|
|
323
|
+
export type ServiceType = "unknown_type" | "service" | "order";
|
|
324
|
+
export interface Service {
|
|
325
|
+
/** ID of the service. */
|
|
326
|
+
id?: number | undefined;
|
|
327
|
+
/** Resource ID of the service. */
|
|
328
|
+
resource_id?: number | null | undefined;
|
|
329
|
+
/** Provisioning status of the service. */
|
|
330
|
+
provisioning_status?: ServiceProvisioningStatus | undefined;
|
|
331
|
+
/** Offer of the service. */
|
|
332
|
+
offer?: Offer | undefined;
|
|
333
|
+
/** Creation date of the service. (RFC 3339 format) */
|
|
334
|
+
created_at?: string | null | undefined;
|
|
335
|
+
/** Delivery date of the service. (RFC 3339 format) */
|
|
336
|
+
delivered_at?: string | null | undefined;
|
|
337
|
+
/** Terminatation date of the service. (RFC 3339 format) */
|
|
338
|
+
terminated_at?: string | null | undefined;
|
|
339
|
+
/** Expiration date of the service. (RFC 3339 format) */
|
|
340
|
+
expires_at?: string | null | undefined;
|
|
341
|
+
/** Service type, either order or service. */
|
|
342
|
+
type?: ServiceType | undefined;
|
|
343
|
+
}
|
|
344
|
+
export type CreateFailoverIPsResponseServicesList = Array<Service>;
|
|
345
|
+
export interface CreateFailoverIPsResponse {
|
|
346
|
+
total_count?: number | undefined;
|
|
347
|
+
services?: CreateFailoverIPsResponseServicesList | undefined;
|
|
348
|
+
}
|
|
349
|
+
export type CreateServerRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
350
|
+
/** Server option IDs of the new server. */
|
|
351
|
+
export type CreateServerRequestServerOptionIdsList = Array<number>;
|
|
352
|
+
export interface CreateServerRequest {
|
|
353
|
+
/** The zone you want to target */
|
|
354
|
+
zone?: CreateServerRequestZone | (string & {}) | undefined;
|
|
355
|
+
/** Offer ID of the new server. */
|
|
356
|
+
offer_id?: number | undefined;
|
|
357
|
+
/** Server option IDs of the new server. */
|
|
358
|
+
server_option_ids: CreateServerRequestServerOptionIdsList;
|
|
359
|
+
/** Project ID of the new server. */
|
|
360
|
+
project_id?: string | undefined;
|
|
361
|
+
/** Datacenter name of the new server. */
|
|
362
|
+
datacenter_name?: string | null | undefined;
|
|
363
|
+
}
|
|
364
|
+
export type DeleteFailoverIPRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
365
|
+
export interface DeleteFailoverIPRequest {
|
|
366
|
+
/** The zone you want to target */
|
|
367
|
+
zone?: DeleteFailoverIPRequestZone | (string & {}) | undefined;
|
|
368
|
+
/** ID of the failover IP to delete. */
|
|
369
|
+
ip_id: number;
|
|
370
|
+
}
|
|
371
|
+
export interface DeleteFailoverIPResponse {
|
|
372
|
+
}
|
|
373
|
+
export type DeleteServerRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
374
|
+
export interface DeleteServerRequest {
|
|
375
|
+
/** The zone you want to target */
|
|
376
|
+
zone?: DeleteServerRequestZone | (string & {}) | undefined;
|
|
377
|
+
/** Server ID to delete. */
|
|
378
|
+
server_id: number;
|
|
379
|
+
}
|
|
380
|
+
export interface DeleteServerResponse {
|
|
381
|
+
}
|
|
382
|
+
export type DeleteServiceRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
383
|
+
export interface DeleteServiceRequest {
|
|
384
|
+
/** The zone you want to target */
|
|
385
|
+
zone?: DeleteServiceRequestZone | (string & {}) | undefined;
|
|
386
|
+
/** ID of the service. */
|
|
387
|
+
service_id: number;
|
|
388
|
+
}
|
|
389
|
+
export type DetachFailoverIPFromMacAddressRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
390
|
+
export interface DetachFailoverIPFromMacAddressRequest {
|
|
391
|
+
/** The zone you want to target */
|
|
392
|
+
zone?: DetachFailoverIPFromMacAddressRequestZone | (string & {}) | undefined;
|
|
393
|
+
/** ID of the failover IP. */
|
|
394
|
+
ip_id: number;
|
|
395
|
+
}
|
|
396
|
+
export type DetachFailoverIPsRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
397
|
+
/** List of IDs of failovers IP to detach. */
|
|
398
|
+
export type DetachFailoverIPsRequestFipsIdsList = Array<number>;
|
|
399
|
+
export interface DetachFailoverIPsRequest {
|
|
400
|
+
/** The zone you want to target */
|
|
401
|
+
zone?: DetachFailoverIPsRequestZone | (string & {}) | undefined;
|
|
402
|
+
/** List of IDs of failovers IP to detach. */
|
|
403
|
+
fips_ids: DetachFailoverIPsRequestFipsIdsList;
|
|
404
|
+
}
|
|
405
|
+
export interface DetachFailoverIPsResponse {
|
|
406
|
+
}
|
|
407
|
+
export type GetBMCAccessRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
408
|
+
export interface GetBMCAccessRequest {
|
|
409
|
+
/** The zone you want to target */
|
|
410
|
+
zone?: GetBMCAccessRequestZone | (string & {}) | undefined;
|
|
411
|
+
/** ID of the server to get BMC access. */
|
|
412
|
+
server_id: number;
|
|
413
|
+
}
|
|
414
|
+
export type BMCAccessStatus = "unknown" | "creating" | "created" | "deleting";
|
|
415
|
+
export interface BMCAccess {
|
|
416
|
+
/** URL to access to the server console. */
|
|
417
|
+
url?: string | undefined;
|
|
418
|
+
/** The login to use for the BMC (Baseboard Management Controller) access authentication. */
|
|
419
|
+
login?: string | undefined;
|
|
420
|
+
/** The password to use for the BMC (Baseboard Management Controller) access authentication. */
|
|
421
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
422
|
+
/** The date after which the BMC (Baseboard Management Controller) access will be closed. (RFC 3339 format) */
|
|
423
|
+
expires_at?: string | null | undefined;
|
|
424
|
+
/** Status of the connection. */
|
|
425
|
+
status?: BMCAccessStatus | undefined;
|
|
426
|
+
}
|
|
427
|
+
export type GetFailoverIPRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
428
|
+
export interface GetFailoverIPRequest {
|
|
429
|
+
/** The zone you want to target */
|
|
430
|
+
zone?: GetFailoverIPRequestZone | (string & {}) | undefined;
|
|
431
|
+
/** ID of the failover IP. */
|
|
432
|
+
ip_id: number;
|
|
433
|
+
}
|
|
434
|
+
export type FailoverIPVersion = "unknown_version" | "ipv4" | "ipv6";
|
|
435
|
+
export type FailoverIPStatus = "unknown_status" | "ready" | "busy" | "locked";
|
|
436
|
+
/** Name servers. */
|
|
437
|
+
export type FailoverBlockNameserversList = Array<string>;
|
|
438
|
+
export type FailoverBlockVersion = "unknown_version" | "ipv4" | "ipv6";
|
|
439
|
+
export interface FailoverBlock {
|
|
440
|
+
/** ID of the failover block. */
|
|
441
|
+
id?: number | undefined;
|
|
442
|
+
/** IP of the failover block. (IP address) */
|
|
443
|
+
address?: string | undefined;
|
|
444
|
+
/** Name servers. */
|
|
445
|
+
nameservers?: FailoverBlockNameserversList | undefined;
|
|
446
|
+
/** IP version of the failover block. */
|
|
447
|
+
ip_version?: FailoverBlockVersion | undefined;
|
|
448
|
+
/** Classless InterDomain Routing notation of the failover block. */
|
|
449
|
+
cidr?: number | undefined;
|
|
450
|
+
/** Netmask of the failover block. (IP address) */
|
|
451
|
+
netmask?: string | undefined;
|
|
452
|
+
/** Gateway IP of the failover block. (IP address) */
|
|
453
|
+
gateway_ip?: string | undefined;
|
|
454
|
+
}
|
|
455
|
+
export type FailoverIPInterfaceType = "unknown" | "normal" | "ipmi" | "virtual";
|
|
456
|
+
export interface FailoverIP {
|
|
457
|
+
/** ID of the failover IP. */
|
|
458
|
+
id?: number | undefined;
|
|
459
|
+
/** IP of the failover IP. (IP address) */
|
|
460
|
+
address?: string | undefined;
|
|
461
|
+
/** Reverse IP value. */
|
|
462
|
+
reverse?: string | undefined;
|
|
463
|
+
/** IP version of the failover IP. */
|
|
464
|
+
ip_version?: FailoverIPVersion | undefined;
|
|
465
|
+
/** Classless InterDomain Routing notation of the failover IP. */
|
|
466
|
+
cidr?: number | undefined;
|
|
467
|
+
/** Netmask of the failover IP. (IP address) */
|
|
468
|
+
netmask?: string | undefined;
|
|
469
|
+
/** Gateway IP of the failover IP. (IP address) */
|
|
470
|
+
gateway_ip?: string | undefined;
|
|
471
|
+
/** MAC address of the IP failover. */
|
|
472
|
+
mac?: string | null | undefined;
|
|
473
|
+
/** Server ID linked to the IP failover. */
|
|
474
|
+
server_id?: number | null | undefined;
|
|
475
|
+
/** Status of the IP failover. */
|
|
476
|
+
status?: FailoverIPStatus | undefined;
|
|
477
|
+
/** Block of the IP failover. */
|
|
478
|
+
block?: FailoverBlock | undefined;
|
|
479
|
+
/** The interface type. */
|
|
480
|
+
type?: FailoverIPInterfaceType | undefined;
|
|
481
|
+
/** The server zone (if assigned). */
|
|
482
|
+
server_zone?: string | null | undefined;
|
|
483
|
+
}
|
|
484
|
+
export type GetOfferRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
485
|
+
export interface GetOfferRequest {
|
|
486
|
+
/** The zone you want to target */
|
|
487
|
+
zone?: GetOfferRequestZone | (string & {}) | undefined;
|
|
488
|
+
/** ID of offer. */
|
|
489
|
+
offer_id: number;
|
|
490
|
+
/** Project ID. */
|
|
491
|
+
project_id?: string | undefined;
|
|
492
|
+
}
|
|
493
|
+
export type GetOrderedServiceRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
494
|
+
export interface GetOrderedServiceRequest {
|
|
495
|
+
/** The zone you want to target */
|
|
496
|
+
zone?: GetOrderedServiceRequestZone | (string & {}) | undefined;
|
|
497
|
+
ordered_service_id: number;
|
|
498
|
+
}
|
|
499
|
+
export type GetOSRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
500
|
+
export interface GetOSRequest {
|
|
501
|
+
/** The zone you want to target */
|
|
502
|
+
zone?: GetOSRequestZone | (string & {}) | undefined;
|
|
503
|
+
/** ID of the OS. */
|
|
504
|
+
os_id: number;
|
|
505
|
+
/** ID of the server. */
|
|
506
|
+
server_id: number;
|
|
507
|
+
/** Project ID. */
|
|
508
|
+
project_id?: string | undefined;
|
|
509
|
+
}
|
|
510
|
+
export type GetRaidRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
511
|
+
export interface GetRaidRequest {
|
|
512
|
+
/** The zone you want to target */
|
|
513
|
+
zone?: GetRaidRequestZone | (string & {}) | undefined;
|
|
514
|
+
/** ID of the server. */
|
|
515
|
+
server_id: number;
|
|
516
|
+
}
|
|
517
|
+
export type RaidArrayRaidLevel = "no_raid" | "raid0" | "raid1" | "raid5" | "raid6" | "raid10";
|
|
518
|
+
export interface ServerDisk {
|
|
519
|
+
id?: number | undefined;
|
|
520
|
+
connector?: string | undefined;
|
|
521
|
+
type?: ServerDiskType | undefined;
|
|
522
|
+
/** (in bytes) */
|
|
523
|
+
capacity?: number | undefined;
|
|
524
|
+
is_addon?: boolean | undefined;
|
|
525
|
+
}
|
|
526
|
+
/** Disks on the RAID controller. */
|
|
527
|
+
export type RaidArrayDisksList = Array<ServerDisk>;
|
|
528
|
+
export interface RaidArray {
|
|
529
|
+
/** The RAID level. */
|
|
530
|
+
raid_level?: RaidArrayRaidLevel | undefined;
|
|
531
|
+
/** Disks on the RAID controller. */
|
|
532
|
+
disks?: RaidArrayDisksList | undefined;
|
|
533
|
+
}
|
|
534
|
+
/** Details about the RAID controller. */
|
|
535
|
+
export type RaidRaidArraysList = Array<RaidArray>;
|
|
536
|
+
export interface Raid {
|
|
537
|
+
/** Details about the RAID controller. */
|
|
538
|
+
raid_arrays?: RaidRaidArraysList | undefined;
|
|
539
|
+
}
|
|
540
|
+
export type GetRemainingQuotaRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
541
|
+
export interface GetRemainingQuotaRequest {
|
|
542
|
+
/** The zone you want to target */
|
|
543
|
+
zone?: GetRemainingQuotaRequestZone | (string & {}) | undefined;
|
|
544
|
+
/** Project ID. */
|
|
545
|
+
project_id?: string | undefined;
|
|
546
|
+
}
|
|
547
|
+
export interface GetRemainingQuotaResponse {
|
|
548
|
+
/** Current failover IP quota. */
|
|
549
|
+
failover_ip_quota?: number | undefined;
|
|
550
|
+
/** Remaining failover IP quota. */
|
|
551
|
+
failover_ip_remaining_quota?: number | undefined;
|
|
552
|
+
/** Current failover block quota. */
|
|
553
|
+
failover_block_quota?: number | undefined;
|
|
554
|
+
/** Remaining failover block quota. */
|
|
555
|
+
failover_block_remaining_quota?: number | undefined;
|
|
556
|
+
}
|
|
557
|
+
export type GetRescueRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
558
|
+
export interface GetRescueRequest {
|
|
559
|
+
/** The zone you want to target */
|
|
560
|
+
zone?: GetRescueRequestZone | (string & {}) | undefined;
|
|
561
|
+
/** ID of the server to get rescue. */
|
|
562
|
+
server_id: number;
|
|
563
|
+
}
|
|
564
|
+
export type RescueProtocol = "vnc" | "ssh";
|
|
565
|
+
export interface Rescue {
|
|
566
|
+
/** OS ID of the rescue. */
|
|
567
|
+
os_id?: number | undefined;
|
|
568
|
+
/** Login of the rescue. */
|
|
569
|
+
login?: string | undefined;
|
|
570
|
+
/** Password of the rescue. */
|
|
571
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
572
|
+
/** Protocol of the rescue. */
|
|
573
|
+
protocol?: RescueProtocol | undefined;
|
|
574
|
+
}
|
|
575
|
+
export type GetServerRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
576
|
+
export interface GetServerRequest {
|
|
577
|
+
/** The zone you want to target */
|
|
578
|
+
zone?: GetServerRequestZone | (string & {}) | undefined;
|
|
579
|
+
/** ID of the server. */
|
|
580
|
+
server_id: number;
|
|
581
|
+
}
|
|
582
|
+
export type ServerStatus = "unknown" | "delivering" | "installing" | "ready" | "stopped" | "error" | "locked" | "rescue" | "busy";
|
|
583
|
+
export interface ServerLocation {
|
|
584
|
+
rack?: string | undefined;
|
|
585
|
+
room?: string | undefined;
|
|
586
|
+
datacenter_name?: string | undefined;
|
|
587
|
+
}
|
|
588
|
+
export type NetworkInterfaceInterfaceType = "unknown" | "normal" | "ipmi" | "virtual";
|
|
589
|
+
/** IPs of the network interface. */
|
|
590
|
+
export type NetworkInterfaceIpsList = Array<IP>;
|
|
591
|
+
export interface NetworkInterface {
|
|
592
|
+
/** Card ID of the network interface. */
|
|
593
|
+
card_id?: number | undefined;
|
|
594
|
+
/** Device ID of the network interface. */
|
|
595
|
+
device_id?: number | undefined;
|
|
596
|
+
/** MAC address of the network interface. */
|
|
597
|
+
mac?: string | undefined;
|
|
598
|
+
/** Network interface type. */
|
|
599
|
+
type?: NetworkInterfaceInterfaceType | undefined;
|
|
600
|
+
/** IPs of the network interface. */
|
|
601
|
+
ips?: NetworkInterfaceIpsList | undefined;
|
|
602
|
+
}
|
|
603
|
+
/** Network interfaces of the server. */
|
|
604
|
+
export type ServerInterfacesList = Array<NetworkInterface>;
|
|
605
|
+
export type ServerOptionOptionsList = Array<ServerOption>;
|
|
606
|
+
export interface ServerOption {
|
|
607
|
+
offer?: Offer | undefined;
|
|
608
|
+
/** (RFC 3339 format) */
|
|
609
|
+
created_at?: string | null | undefined;
|
|
610
|
+
/** (RFC 3339 format) */
|
|
611
|
+
updated_at?: string | null | undefined;
|
|
612
|
+
/** (RFC 3339 format) */
|
|
613
|
+
expired_at?: string | null | undefined;
|
|
614
|
+
options?: ServerOptionOptionsList | undefined;
|
|
615
|
+
}
|
|
616
|
+
/** Options subscribe on the server. */
|
|
617
|
+
export type ServerOptionsList = Array<ServerOption>;
|
|
618
|
+
export type ServiceLevelLevel = "unknown" | "basic" | "business";
|
|
619
|
+
export interface ServiceLevel {
|
|
620
|
+
/** Offer ID of service level. */
|
|
621
|
+
offer_id?: number | undefined;
|
|
622
|
+
/** Level type of service level. */
|
|
623
|
+
level?: ServiceLevelLevel | undefined;
|
|
624
|
+
}
|
|
625
|
+
/** Array of customs tags attached to the server. */
|
|
626
|
+
export type ServerTagsList = Array<string>;
|
|
627
|
+
export interface Server {
|
|
628
|
+
/** ID of the server. */
|
|
629
|
+
id?: number | undefined;
|
|
630
|
+
/** Organization ID the server is attached to. */
|
|
631
|
+
organization_id?: string | undefined;
|
|
632
|
+
/** Project ID the server is attached to. */
|
|
633
|
+
project_id?: string | undefined;
|
|
634
|
+
/** Hostname of the server. */
|
|
635
|
+
hostname?: string | undefined;
|
|
636
|
+
/** Date of last reboot of the server. (RFC 3339 format) */
|
|
637
|
+
rebooted_at?: string | null | undefined;
|
|
638
|
+
/** Date of creation of the server. (RFC 3339 format) */
|
|
639
|
+
created_at?: string | null | undefined;
|
|
640
|
+
/** Date of last modification of the server. (RFC 3339 format) */
|
|
641
|
+
updated_at?: string | null | undefined;
|
|
642
|
+
/** Date of release of the server. (RFC 3339 format) */
|
|
643
|
+
expired_at?: string | null | undefined;
|
|
644
|
+
/** Offer of the server. */
|
|
645
|
+
offer?: Offer | undefined;
|
|
646
|
+
/** Status of the server. */
|
|
647
|
+
status?: ServerStatus | undefined;
|
|
648
|
+
/** Location of the server. */
|
|
649
|
+
location?: ServerLocation | undefined;
|
|
650
|
+
/** Abuse contact of the server. */
|
|
651
|
+
abuse_contact?: string | undefined;
|
|
652
|
+
/** OS installed on the server. */
|
|
653
|
+
os?: OS | undefined;
|
|
654
|
+
/** Network interfaces of the server. */
|
|
655
|
+
interfaces?: ServerInterfacesList | undefined;
|
|
656
|
+
/** The zone in which is the server. */
|
|
657
|
+
zone?: string | undefined;
|
|
658
|
+
/** Options subscribe on the server. */
|
|
659
|
+
options?: ServerOptionsList | undefined;
|
|
660
|
+
/** Service level of the server. */
|
|
661
|
+
level?: ServiceLevel | undefined;
|
|
662
|
+
/** Boolean if the server has a BMC. */
|
|
663
|
+
has_bmc?: boolean | undefined;
|
|
664
|
+
/** Rescue OS of the server. */
|
|
665
|
+
rescue_os?: OS | undefined;
|
|
666
|
+
/** Array of customs tags attached to the server. */
|
|
667
|
+
tags?: ServerTagsList | undefined;
|
|
668
|
+
/** Whether the server is outsourced or not. */
|
|
669
|
+
is_outsourced?: boolean | undefined;
|
|
670
|
+
/** Whether or not you can enable/disable the IPv6. */
|
|
671
|
+
ipv6_slaac?: boolean | undefined;
|
|
672
|
+
/** Whether the server is compatible with QinQ. */
|
|
673
|
+
qinq?: boolean | undefined;
|
|
674
|
+
/** Whether or not the server is already part of an rpnv2 group. */
|
|
675
|
+
is_rpnv2_member?: boolean | undefined;
|
|
676
|
+
/** Whether or not the server is HDS. */
|
|
677
|
+
is_hds?: boolean | undefined;
|
|
678
|
+
}
|
|
679
|
+
export type GetServerBackupRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
680
|
+
export interface GetServerBackupRequest {
|
|
681
|
+
/** The zone you want to target */
|
|
682
|
+
zone?: GetServerBackupRequestZone | (string & {}) | undefined;
|
|
683
|
+
/** Server ID of the backup. */
|
|
684
|
+
server_id: number;
|
|
685
|
+
}
|
|
686
|
+
export type BackupStatus = "unknown_backup_status" | "uninitialized" | "inactive" | "ready";
|
|
687
|
+
export interface Backup {
|
|
688
|
+
/** ID of the backup. */
|
|
689
|
+
id?: number | undefined;
|
|
690
|
+
/** Login of the backup. */
|
|
691
|
+
login?: string | undefined;
|
|
692
|
+
/** Server of the backup. */
|
|
693
|
+
server?: string | undefined;
|
|
694
|
+
/** Status of the backup. */
|
|
695
|
+
status?: BackupStatus | undefined;
|
|
696
|
+
/** ACL enable boolean of the backup. */
|
|
697
|
+
acl_enabled?: boolean | undefined;
|
|
698
|
+
/** Autologin boolean of the backup. */
|
|
699
|
+
autologin?: boolean | undefined;
|
|
700
|
+
/** Total quota space of the backup. */
|
|
701
|
+
quota_space?: number | undefined;
|
|
702
|
+
/** Quota space used of the backup. */
|
|
703
|
+
quota_space_used?: number | undefined;
|
|
704
|
+
/** Total quota files of the backup. */
|
|
705
|
+
quota_files?: number | undefined;
|
|
706
|
+
/** Quota files used of the backup. */
|
|
707
|
+
quota_files_used?: number | undefined;
|
|
708
|
+
}
|
|
709
|
+
export type GetServerDefaultPartitioningRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
710
|
+
export interface GetServerDefaultPartitioningRequest {
|
|
711
|
+
/** The zone you want to target */
|
|
712
|
+
zone?: GetServerDefaultPartitioningRequestZone | (string & {}) | undefined;
|
|
713
|
+
/** ID of the server. */
|
|
714
|
+
server_id: number;
|
|
715
|
+
/** OS ID of the default partitioning. */
|
|
716
|
+
os_id: number;
|
|
717
|
+
}
|
|
718
|
+
export type PartitionType = "primary" | "extended" | "logical";
|
|
719
|
+
/** Connectors of the partition. */
|
|
720
|
+
export type PartitionConnectorsList = Array<string>;
|
|
721
|
+
export interface Partition {
|
|
722
|
+
/** Type of the partition. */
|
|
723
|
+
type?: PartitionType | undefined;
|
|
724
|
+
/** File system of the partition. */
|
|
725
|
+
file_system?: PartitionFileSystem | undefined;
|
|
726
|
+
/** Mount point of the partition. */
|
|
727
|
+
mount_point?: string | null | undefined;
|
|
728
|
+
/** Raid level of the partition. */
|
|
729
|
+
raid_level?: RaidArrayRaidLevel | undefined;
|
|
730
|
+
/** Capacity of the partition. (in bytes) */
|
|
731
|
+
capacity?: number | undefined;
|
|
732
|
+
/** Connectors of the partition. */
|
|
733
|
+
connectors?: PartitionConnectorsList | undefined;
|
|
734
|
+
}
|
|
735
|
+
/** Default partitions. */
|
|
736
|
+
export type ServerDefaultPartitioningPartitionsList = Array<Partition>;
|
|
737
|
+
export interface ServerDefaultPartitioning {
|
|
738
|
+
/** Default partitions. */
|
|
739
|
+
partitions?: ServerDefaultPartitioningPartitionsList | undefined;
|
|
740
|
+
}
|
|
741
|
+
export type GetServerInstallRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
742
|
+
export interface GetServerInstallRequest {
|
|
743
|
+
/** The zone you want to target */
|
|
744
|
+
zone?: GetServerInstallRequestZone | (string & {}) | undefined;
|
|
745
|
+
/** Server ID of the server to install. */
|
|
746
|
+
server_id: number;
|
|
747
|
+
}
|
|
748
|
+
export type ServerInstallPartitionsList = Array<Partition>;
|
|
749
|
+
export type ServerInstallSshKeyIdsList = Array<string>;
|
|
750
|
+
export type ServerInstallStatus = "unknown" | "booting" | "setting_up_raid" | "partitioning" | "formatting" | "installing" | "configuring" | "configuring_bootloader" | "rebooting" | "installed";
|
|
751
|
+
export interface ServerInstall {
|
|
752
|
+
os_id?: number | undefined;
|
|
753
|
+
hostname?: string | undefined;
|
|
754
|
+
user_login?: string | null | undefined;
|
|
755
|
+
partitions?: ServerInstallPartitionsList | undefined;
|
|
756
|
+
ssh_key_ids?: ServerInstallSshKeyIdsList | undefined;
|
|
757
|
+
status?: ServerInstallStatus | undefined;
|
|
758
|
+
panel_url?: string | null | undefined;
|
|
759
|
+
}
|
|
760
|
+
export type GetServiceRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
761
|
+
export interface GetServiceRequest {
|
|
762
|
+
/** The zone you want to target */
|
|
763
|
+
zone?: GetServiceRequestZone | (string & {}) | undefined;
|
|
764
|
+
/** ID of the service. */
|
|
765
|
+
service_id: number;
|
|
766
|
+
}
|
|
767
|
+
export type InstallServerRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
768
|
+
/** Connectors of the installation partition. */
|
|
769
|
+
export type InstallPartitionConnectorsList = Array<string>;
|
|
770
|
+
export interface InstallPartition {
|
|
771
|
+
/** File system of the installation partition. */
|
|
772
|
+
file_system?: PartitionFileSystem | (string & {}) | undefined;
|
|
773
|
+
/** Mount point of the installation partition. */
|
|
774
|
+
mount_point?: string | null | undefined;
|
|
775
|
+
/** RAID level of the installation partition. */
|
|
776
|
+
raid_level?: RaidArrayRaidLevel | (string & {}) | undefined;
|
|
777
|
+
/** Capacity of the installation partition. (in bytes) */
|
|
778
|
+
capacity?: number | undefined;
|
|
779
|
+
/** Connectors of the installation partition. */
|
|
780
|
+
connectors?: InstallPartitionConnectorsList | undefined;
|
|
781
|
+
}
|
|
782
|
+
/** Partitions to install on the server. */
|
|
783
|
+
export type InstallServerRequestPartitionsList = Array<InstallPartition>;
|
|
784
|
+
/** SSH key IDs authorized on the server. */
|
|
785
|
+
export type InstallServerRequestSshKeyIdsList = Array<string>;
|
|
786
|
+
export interface InstallServerRequest {
|
|
787
|
+
/** The zone you want to target */
|
|
788
|
+
zone?: InstallServerRequestZone | (string & {}) | undefined;
|
|
789
|
+
/** Server ID to install. */
|
|
790
|
+
server_id: number;
|
|
791
|
+
/** OS ID to install on the server. */
|
|
792
|
+
os_id?: number | undefined;
|
|
793
|
+
/** Hostname of the server. */
|
|
794
|
+
hostname?: string | undefined;
|
|
795
|
+
/** User to install on the server. */
|
|
796
|
+
user_login?: string | null | undefined;
|
|
797
|
+
/** User password to install on the server. */
|
|
798
|
+
user_password?: string | Redacted.Redacted<string> | null | undefined;
|
|
799
|
+
/** Panel password to install on the server. */
|
|
800
|
+
panel_password?: string | Redacted.Redacted<string> | null | undefined;
|
|
801
|
+
/** Root password to install on the server. */
|
|
802
|
+
root_password?: string | Redacted.Redacted<string> | null | undefined;
|
|
803
|
+
/** Partitions to install on the server. */
|
|
804
|
+
partitions?: InstallServerRequestPartitionsList | undefined;
|
|
805
|
+
/** SSH key IDs authorized on the server. */
|
|
806
|
+
ssh_key_ids?: InstallServerRequestSshKeyIdsList | undefined;
|
|
807
|
+
/** Offer ID of license to install on server. */
|
|
808
|
+
license_offer_id?: number | null | undefined;
|
|
809
|
+
/** IP to link at the license to install on server. */
|
|
810
|
+
ip_id?: number | null | undefined;
|
|
811
|
+
}
|
|
812
|
+
export type ListFailoverIPsRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
813
|
+
export type ListFailoverIPsRequestOrderBy = "ip_asc" | "ip_desc";
|
|
814
|
+
export interface ListFailoverIPsRequest {
|
|
815
|
+
/** The zone you want to target */
|
|
816
|
+
zone?: ListFailoverIPsRequestZone | (string & {}) | undefined;
|
|
817
|
+
/** Page number. */
|
|
818
|
+
page?: number | undefined;
|
|
819
|
+
/** Number of failovers IP per page. */
|
|
820
|
+
page_size?: number | undefined;
|
|
821
|
+
/** Order of the failovers IP. */
|
|
822
|
+
order_by?: ListFailoverIPsRequestOrderBy | (string & {}) | undefined;
|
|
823
|
+
/** Filter failovers IP by project ID. */
|
|
824
|
+
project_id?: string | undefined;
|
|
825
|
+
/** Filter failovers IP which matching with this field. */
|
|
826
|
+
search?: string | undefined;
|
|
827
|
+
/** True: return all failovers IP not attached on server. True: return all failovers IP not attached on server false: return all failovers IP attached on server. */
|
|
828
|
+
only_available?: boolean | undefined;
|
|
829
|
+
}
|
|
830
|
+
/** List of failover IPs that match filters. */
|
|
831
|
+
export type ListFailoverIPsResponseFailoverIpsList = Array<FailoverIP>;
|
|
832
|
+
export interface ListFailoverIPsResponse {
|
|
833
|
+
/** Total count of matching failovers IP. */
|
|
834
|
+
total_count?: number | undefined;
|
|
835
|
+
/** List of failover IPs that match filters. */
|
|
836
|
+
failover_ips: ListFailoverIPsResponseFailoverIpsList;
|
|
837
|
+
}
|
|
838
|
+
export type ListOffersRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
839
|
+
export type ListOffersRequestOrderBy = "created_at_asc" | "created_at_desc" | "name_asc" | "name_desc" | "price_asc" | "price_desc";
|
|
840
|
+
export interface ListOffersRequest {
|
|
841
|
+
/** The zone you want to target */
|
|
842
|
+
zone?: ListOffersRequestZone | (string & {}) | undefined;
|
|
843
|
+
/** Page number. */
|
|
844
|
+
page?: number | undefined;
|
|
845
|
+
/** Number of offer per page. */
|
|
846
|
+
page_size?: number | undefined;
|
|
847
|
+
/** Order of the offers. */
|
|
848
|
+
order_by?: ListOffersRequestOrderBy | (string & {}) | undefined;
|
|
849
|
+
/** Filter on commercial range. */
|
|
850
|
+
commercial_range?: string | undefined;
|
|
851
|
+
/** Filter on catalog. */
|
|
852
|
+
catalog?: OfferCatalog | (string & {}) | undefined;
|
|
853
|
+
/** Project ID. */
|
|
854
|
+
project_id?: string | undefined;
|
|
855
|
+
/** Get the current failover IP offer. */
|
|
856
|
+
is_failover_ip?: boolean | undefined;
|
|
857
|
+
/** Get the current failover IP block offer. */
|
|
858
|
+
is_failover_block?: boolean | undefined;
|
|
859
|
+
/** Filter offers depending on their datacenter. */
|
|
860
|
+
sold_in?: string | undefined;
|
|
861
|
+
/** Set this filter to true to only return available offers. */
|
|
862
|
+
available_only?: boolean | undefined;
|
|
863
|
+
/** Get the RPN SAN offers. */
|
|
864
|
+
is_rpn_san?: boolean | undefined;
|
|
865
|
+
}
|
|
866
|
+
/** Offers that match filters. */
|
|
867
|
+
export type ListOffersResponseOffersList = Array<Offer>;
|
|
868
|
+
export interface ListOffersResponse {
|
|
869
|
+
/** Total count of matching offers. */
|
|
870
|
+
total_count?: number | undefined;
|
|
871
|
+
/** Offers that match filters. */
|
|
872
|
+
offers: ListOffersResponseOffersList;
|
|
873
|
+
}
|
|
874
|
+
export type ListOSRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
875
|
+
export type ListOSRequestOrderBy = "created_at_asc" | "created_at_desc" | "released_at_asc" | "released_at_desc";
|
|
876
|
+
export interface ListOSRequest {
|
|
877
|
+
/** The zone you want to target */
|
|
878
|
+
zone?: ListOSRequestZone | (string & {}) | undefined;
|
|
879
|
+
/** Page number. */
|
|
880
|
+
page?: number | undefined;
|
|
881
|
+
/** Number of OS per page. */
|
|
882
|
+
page_size?: number | undefined;
|
|
883
|
+
/** Order of the OS. */
|
|
884
|
+
order_by?: ListOSRequestOrderBy | (string & {}) | undefined;
|
|
885
|
+
/** Type of the OS. */
|
|
886
|
+
type?: OSType | (string & {}) | undefined;
|
|
887
|
+
/** Project ID. */
|
|
888
|
+
project_id?: string | undefined;
|
|
889
|
+
/** Filter OS by compatible server ID. One-of `filter`: exactly one of `server_id`, `offer_id` -- the API rejects a call with neither. */
|
|
890
|
+
server_id?: number | undefined;
|
|
891
|
+
/** Filter OS by compatible offer: the Offer's `offer_id` (the product, e.g. Pro-8-XS), not its `id` (one priced variant), which the API rejects as an invalid choice. One-of `filter`: exactly one of `server_id`, `offer_id` -- the API rejects a call with neither. */
|
|
892
|
+
offer_id?: number | undefined;
|
|
893
|
+
}
|
|
894
|
+
/** OS that match filters. */
|
|
895
|
+
export type ListOSResponseOsList = Array<OS>;
|
|
896
|
+
export interface ListOSResponse {
|
|
897
|
+
/** Total count of matching OS. */
|
|
898
|
+
total_count?: number | undefined;
|
|
899
|
+
/** OS that match filters. */
|
|
900
|
+
os: ListOSResponseOsList;
|
|
901
|
+
}
|
|
902
|
+
export type ListServerDisksRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
903
|
+
export type ListServerDisksRequestOrderBy = "created_at_asc" | "created_at_desc";
|
|
904
|
+
export interface ListServerDisksRequest {
|
|
905
|
+
/** The zone you want to target */
|
|
906
|
+
zone?: ListServerDisksRequestZone | (string & {}) | undefined;
|
|
907
|
+
/** Server ID of the server disks. */
|
|
908
|
+
server_id: number;
|
|
909
|
+
/** Page number. */
|
|
910
|
+
page?: number | undefined;
|
|
911
|
+
/** Number of server disk per page. */
|
|
912
|
+
page_size?: number | undefined;
|
|
913
|
+
/** Order of the server disks. */
|
|
914
|
+
order_by?: ListServerDisksRequestOrderBy | (string & {}) | undefined;
|
|
915
|
+
}
|
|
916
|
+
/** Server disks that match filters. */
|
|
917
|
+
export type ListServerDisksResponseDisksList = Array<ServerDisk>;
|
|
918
|
+
export interface ListServerDisksResponse {
|
|
919
|
+
/** Total count of matching server disks. */
|
|
920
|
+
total_count?: number | undefined;
|
|
921
|
+
/** Server disks that match filters. */
|
|
922
|
+
disks: ListServerDisksResponseDisksList;
|
|
923
|
+
}
|
|
924
|
+
export type ListServerEventsRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
925
|
+
export type ListServerEventsRequestOrderBy = "created_at_asc" | "created_at_desc";
|
|
926
|
+
export interface ListServerEventsRequest {
|
|
927
|
+
/** The zone you want to target */
|
|
928
|
+
zone?: ListServerEventsRequestZone | (string & {}) | undefined;
|
|
929
|
+
/** Server ID of the server events. */
|
|
930
|
+
server_id: number;
|
|
931
|
+
/** Page number. */
|
|
932
|
+
page?: number | undefined;
|
|
933
|
+
/** Number of server event per page. */
|
|
934
|
+
page_size?: number | undefined;
|
|
935
|
+
/** Order of the server events. */
|
|
936
|
+
order_by?: ListServerEventsRequestOrderBy | (string & {}) | undefined;
|
|
937
|
+
}
|
|
938
|
+
export interface ServerEvent {
|
|
939
|
+
/** ID of the event. */
|
|
940
|
+
event_id?: number | undefined;
|
|
941
|
+
/** Description of the event. */
|
|
942
|
+
description?: string | undefined;
|
|
943
|
+
/** Date of the event. (RFC 3339 format) */
|
|
944
|
+
date?: string | null | undefined;
|
|
945
|
+
}
|
|
946
|
+
/** Server events that match filters. */
|
|
947
|
+
export type ListServerEventsResponseEventsList = Array<ServerEvent>;
|
|
948
|
+
export interface ListServerEventsResponse {
|
|
949
|
+
/** Total count of matching server events. */
|
|
950
|
+
total_count?: number | undefined;
|
|
951
|
+
/** Server events that match filters. */
|
|
952
|
+
events: ListServerEventsResponseEventsList;
|
|
953
|
+
}
|
|
954
|
+
export type ListServersRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
955
|
+
export type ListServersRequestOrderBy = "created_at_asc" | "created_at_desc";
|
|
956
|
+
export interface ListServersRequest {
|
|
957
|
+
/** The zone you want to target */
|
|
958
|
+
zone?: ListServersRequestZone | (string & {}) | undefined;
|
|
959
|
+
/** Page number. */
|
|
960
|
+
page?: number | undefined;
|
|
961
|
+
/** Number of server per page. */
|
|
962
|
+
page_size?: number | undefined;
|
|
963
|
+
/** Order of the servers. */
|
|
964
|
+
order_by?: ListServersRequestOrderBy | (string & {}) | undefined;
|
|
965
|
+
/** Filter servers by project ID. */
|
|
966
|
+
project_id?: string | undefined;
|
|
967
|
+
/** Filter servers by hostname. */
|
|
968
|
+
search?: string | undefined;
|
|
969
|
+
}
|
|
970
|
+
/** Network interfaces of the server. */
|
|
971
|
+
export type ServerSummaryInterfacesList = Array<NetworkInterface>;
|
|
972
|
+
export interface ServerSummary {
|
|
973
|
+
/** ID of the server. */
|
|
974
|
+
id?: number | undefined;
|
|
975
|
+
/** Datacenter of the server. */
|
|
976
|
+
datacenter_name?: string | undefined;
|
|
977
|
+
/** Organization ID the server is attached to. */
|
|
978
|
+
organization_id?: string | undefined;
|
|
979
|
+
/** Project ID the server is attached to. */
|
|
980
|
+
project_id?: string | undefined;
|
|
981
|
+
/** Hostname of the server. */
|
|
982
|
+
hostname?: string | undefined;
|
|
983
|
+
/** Date of creation of the server. (RFC 3339 format) */
|
|
984
|
+
created_at?: string | null | undefined;
|
|
985
|
+
/** Date of last modification of the server. (RFC 3339 format) */
|
|
986
|
+
updated_at?: string | null | undefined;
|
|
987
|
+
/** Date of release of the server. (RFC 3339 format) */
|
|
988
|
+
expired_at?: string | null | undefined;
|
|
989
|
+
/** Offer ID of the server. */
|
|
990
|
+
offer_id?: number | undefined;
|
|
991
|
+
/** Offer name of the server. */
|
|
992
|
+
offer_name?: string | undefined;
|
|
993
|
+
/** Status of the server. */
|
|
994
|
+
status?: ServerStatus | undefined;
|
|
995
|
+
/** OS ID installed on server. */
|
|
996
|
+
os_id?: number | null | undefined;
|
|
997
|
+
/** Network interfaces of the server. */
|
|
998
|
+
interfaces?: ServerSummaryInterfacesList | undefined;
|
|
999
|
+
/** The zone in which is the server. */
|
|
1000
|
+
zone?: string | undefined;
|
|
1001
|
+
/** Service level of the server. */
|
|
1002
|
+
level?: ServiceLevel | undefined;
|
|
1003
|
+
/** Whether the server is outsourced or not. */
|
|
1004
|
+
is_outsourced?: boolean | undefined;
|
|
1005
|
+
/** Whether the server is compatible with QinQ. */
|
|
1006
|
+
qinq?: boolean | undefined;
|
|
1007
|
+
/** Supported RPN version. */
|
|
1008
|
+
rpn_version?: number | null | undefined;
|
|
1009
|
+
/** Whether or not the server is HDS. */
|
|
1010
|
+
is_hds?: boolean | undefined;
|
|
1011
|
+
}
|
|
1012
|
+
/** Servers that match filters. */
|
|
1013
|
+
export type ListServersResponseServersList = Array<ServerSummary>;
|
|
1014
|
+
export interface ListServersResponse {
|
|
1015
|
+
/** Total count of matching servers. */
|
|
1016
|
+
total_count?: number | undefined;
|
|
1017
|
+
/** Servers that match filters. */
|
|
1018
|
+
servers: ListServersResponseServersList;
|
|
1019
|
+
}
|
|
1020
|
+
export type ListServicesRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
1021
|
+
export type ListServicesRequestOrderBy = "created_at_asc" | "created_at_desc";
|
|
1022
|
+
export interface ListServicesRequest {
|
|
1023
|
+
/** The zone you want to target */
|
|
1024
|
+
zone?: ListServicesRequestZone | (string & {}) | undefined;
|
|
1025
|
+
/** Page number. */
|
|
1026
|
+
page?: number | undefined;
|
|
1027
|
+
/** Number of service per page. */
|
|
1028
|
+
page_size?: number | undefined;
|
|
1029
|
+
/** Order of the services. */
|
|
1030
|
+
order_by?: ListServicesRequestOrderBy | (string & {}) | undefined;
|
|
1031
|
+
/** Project ID. */
|
|
1032
|
+
project_id?: string | undefined;
|
|
1033
|
+
}
|
|
1034
|
+
/** Services that match filters. */
|
|
1035
|
+
export type ListServicesResponseServicesList = Array<Service>;
|
|
1036
|
+
export interface ListServicesResponse {
|
|
1037
|
+
/** Total count of matching services. */
|
|
1038
|
+
total_count?: number | undefined;
|
|
1039
|
+
/** Services that match filters. */
|
|
1040
|
+
services: ListServicesResponseServicesList;
|
|
1041
|
+
}
|
|
1042
|
+
export type ListSubscribableServerOptionsRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
1043
|
+
export interface ListSubscribableServerOptionsRequest {
|
|
1044
|
+
/** The zone you want to target */
|
|
1045
|
+
zone?: ListSubscribableServerOptionsRequestZone | (string & {}) | undefined;
|
|
1046
|
+
/** Server ID of the subscribable server options. */
|
|
1047
|
+
server_id: number;
|
|
1048
|
+
/** Page number. */
|
|
1049
|
+
page?: number | undefined;
|
|
1050
|
+
/** Number of subscribable server option per page. */
|
|
1051
|
+
page_size?: number | undefined;
|
|
1052
|
+
}
|
|
1053
|
+
/** Server options that match filters. */
|
|
1054
|
+
export type ListSubscribableServerOptionsResponseServerOptionsList = Array<Offer>;
|
|
1055
|
+
export interface ListSubscribableServerOptionsResponse {
|
|
1056
|
+
/** Total count of matching subscribable server options. */
|
|
1057
|
+
total_count?: number | undefined;
|
|
1058
|
+
/** Server options that match filters. */
|
|
1059
|
+
server_options: ListSubscribableServerOptionsResponseServerOptionsList;
|
|
1060
|
+
}
|
|
1061
|
+
export type RebootServerRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
1062
|
+
export interface RebootServerRequest {
|
|
1063
|
+
/** The zone you want to target */
|
|
1064
|
+
zone?: RebootServerRequestZone | (string & {}) | undefined;
|
|
1065
|
+
/** Server ID to reboot. */
|
|
1066
|
+
server_id: number;
|
|
1067
|
+
}
|
|
1068
|
+
export interface RebootServerResponse {
|
|
1069
|
+
}
|
|
1070
|
+
export type StartBMCAccessRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
1071
|
+
export interface StartBMCAccessRequest {
|
|
1072
|
+
/** The zone you want to target */
|
|
1073
|
+
zone?: StartBMCAccessRequestZone | (string & {}) | undefined;
|
|
1074
|
+
/** ID of the server to start the BMC access. */
|
|
1075
|
+
server_id: number;
|
|
1076
|
+
/** The IP authorized to connect to the given server. (IPv4 address) */
|
|
1077
|
+
ip?: string | undefined;
|
|
1078
|
+
}
|
|
1079
|
+
export interface StartBMCAccessResponse {
|
|
1080
|
+
}
|
|
1081
|
+
export type StartRescueRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
1082
|
+
export interface StartRescueRequest {
|
|
1083
|
+
/** The zone you want to target */
|
|
1084
|
+
zone?: StartRescueRequestZone | (string & {}) | undefined;
|
|
1085
|
+
/** ID of the server to start rescue. */
|
|
1086
|
+
server_id: number;
|
|
1087
|
+
/** OS ID to use to start rescue. */
|
|
1088
|
+
os_id?: number | undefined;
|
|
1089
|
+
}
|
|
1090
|
+
export type StartServerRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
1091
|
+
export interface StartServerRequest {
|
|
1092
|
+
/** The zone you want to target */
|
|
1093
|
+
zone?: StartServerRequestZone | (string & {}) | undefined;
|
|
1094
|
+
/** Server ID to start. */
|
|
1095
|
+
server_id: number;
|
|
1096
|
+
}
|
|
1097
|
+
export interface StartServerResponse {
|
|
1098
|
+
}
|
|
1099
|
+
export type StopBMCAccessRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
1100
|
+
export interface StopBMCAccessRequest {
|
|
1101
|
+
/** The zone you want to target */
|
|
1102
|
+
zone?: StopBMCAccessRequestZone | (string & {}) | undefined;
|
|
1103
|
+
/** ID of the server to stop BMC access. */
|
|
1104
|
+
server_id: number;
|
|
1105
|
+
}
|
|
1106
|
+
export interface StopBMCAccessResponse {
|
|
1107
|
+
}
|
|
1108
|
+
export type StopRescueRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
1109
|
+
export interface StopRescueRequest {
|
|
1110
|
+
/** The zone you want to target */
|
|
1111
|
+
zone?: StopRescueRequestZone | (string & {}) | undefined;
|
|
1112
|
+
/** ID of the server to stop rescue. */
|
|
1113
|
+
server_id: number;
|
|
1114
|
+
}
|
|
1115
|
+
export interface StopRescueResponse {
|
|
1116
|
+
}
|
|
1117
|
+
export type StopServerRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
1118
|
+
export interface StopServerRequest {
|
|
1119
|
+
/** The zone you want to target */
|
|
1120
|
+
zone?: StopServerRequestZone | (string & {}) | undefined;
|
|
1121
|
+
/** Server ID to stop. */
|
|
1122
|
+
server_id: number;
|
|
1123
|
+
}
|
|
1124
|
+
export interface StopServerResponse {
|
|
1125
|
+
}
|
|
1126
|
+
export type SubscribeServerOptionRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
1127
|
+
export interface SubscribeServerOptionRequest {
|
|
1128
|
+
/** The zone you want to target */
|
|
1129
|
+
zone?: SubscribeServerOptionRequestZone | (string & {}) | undefined;
|
|
1130
|
+
/** Server ID to subscribe server option. */
|
|
1131
|
+
server_id: number;
|
|
1132
|
+
/** Option ID to subscribe. */
|
|
1133
|
+
option_id?: number | undefined;
|
|
1134
|
+
}
|
|
1135
|
+
export type SubscribeStorageOptionsRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
1136
|
+
/** Option IDs of the storage options to subscribe. */
|
|
1137
|
+
export type SubscribeStorageOptionsRequestOptionsIdsList = Array<number>;
|
|
1138
|
+
export interface SubscribeStorageOptionsRequest {
|
|
1139
|
+
/** The zone you want to target */
|
|
1140
|
+
zone?: SubscribeStorageOptionsRequestZone | (string & {}) | undefined;
|
|
1141
|
+
/** Server ID of the storage options to subscribe. */
|
|
1142
|
+
server_id: number;
|
|
1143
|
+
/** Option IDs of the storage options to subscribe. */
|
|
1144
|
+
options_ids: SubscribeStorageOptionsRequestOptionsIdsList;
|
|
1145
|
+
}
|
|
1146
|
+
/** Services subscribe storage options. */
|
|
1147
|
+
export type SubscribeStorageOptionsResponseServicesList = Array<Service>;
|
|
1148
|
+
export interface SubscribeStorageOptionsResponse {
|
|
1149
|
+
/** Services subscribe storage options. */
|
|
1150
|
+
services?: SubscribeStorageOptionsResponseServicesList | undefined;
|
|
1151
|
+
}
|
|
1152
|
+
export type UpdateRaidRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
1153
|
+
/** The list of Disk ID of the updatable RAID. */
|
|
1154
|
+
export type UpdatableRaidArrayDiskIdsList = Array<number>;
|
|
1155
|
+
export interface UpdatableRaidArray {
|
|
1156
|
+
/** The RAID level. */
|
|
1157
|
+
raid_level?: RaidArrayRaidLevel | (string & {}) | undefined;
|
|
1158
|
+
/** The list of Disk ID of the updatable RAID. */
|
|
1159
|
+
disk_ids: UpdatableRaidArrayDiskIdsList;
|
|
1160
|
+
}
|
|
1161
|
+
/** RAIDs to update. */
|
|
1162
|
+
export type UpdateRaidRequestRaidArraysList = Array<UpdatableRaidArray>;
|
|
1163
|
+
export interface UpdateRaidRequest {
|
|
1164
|
+
/** The zone you want to target */
|
|
1165
|
+
zone?: UpdateRaidRequestZone | (string & {}) | undefined;
|
|
1166
|
+
/** ID of the server. */
|
|
1167
|
+
server_id: number;
|
|
1168
|
+
/** RAIDs to update. */
|
|
1169
|
+
raid_arrays: UpdateRaidRequestRaidArraysList;
|
|
1170
|
+
}
|
|
1171
|
+
export interface UpdateRaidResponse {
|
|
1172
|
+
}
|
|
1173
|
+
export type UpdateReverseRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
1174
|
+
export interface UpdateReverseRequest {
|
|
1175
|
+
/** The zone you want to target */
|
|
1176
|
+
zone?: UpdateReverseRequestZone | (string & {}) | undefined;
|
|
1177
|
+
/** ID of the IP. */
|
|
1178
|
+
ip_id: number;
|
|
1179
|
+
/** Reverse to apply on the IP. */
|
|
1180
|
+
reverse?: string | undefined;
|
|
1181
|
+
}
|
|
1182
|
+
export type UpdateServerRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
1183
|
+
export interface UpdateServerRequest {
|
|
1184
|
+
/** The zone you want to target */
|
|
1185
|
+
zone?: UpdateServerRequestZone | (string & {}) | undefined;
|
|
1186
|
+
/** Server ID to update. */
|
|
1187
|
+
server_id: number;
|
|
1188
|
+
/** Hostname of the server to update. */
|
|
1189
|
+
hostname?: string | null | undefined;
|
|
1190
|
+
/** Flag to enable or not the IPv6 of server. */
|
|
1191
|
+
enable_ipv6?: boolean | null | undefined;
|
|
1192
|
+
}
|
|
1193
|
+
export type UpdateServerBackupRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
1194
|
+
export interface UpdateServerBackupRequest {
|
|
1195
|
+
/** The zone you want to target */
|
|
1196
|
+
zone?: UpdateServerBackupRequestZone | (string & {}) | undefined;
|
|
1197
|
+
/** Server ID to update backup. */
|
|
1198
|
+
server_id: number;
|
|
1199
|
+
/** Password of the server backup. */
|
|
1200
|
+
password?: string | Redacted.Redacted<string> | null | undefined;
|
|
1201
|
+
/** Autologin of the server backup. */
|
|
1202
|
+
autologin?: boolean | null | undefined;
|
|
1203
|
+
/** Boolean to enable or disable ACL. */
|
|
1204
|
+
acl_enabled?: boolean | null | undefined;
|
|
1205
|
+
}
|
|
1206
|
+
export type UpdateServerTagsRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1";
|
|
1207
|
+
/** Tags of server to update. */
|
|
1208
|
+
export type UpdateServerTagsRequestTagsList = Array<string>;
|
|
1209
|
+
export interface UpdateServerTagsRequest {
|
|
1210
|
+
/** The zone you want to target */
|
|
1211
|
+
zone?: UpdateServerTagsRequestZone | (string & {}) | undefined;
|
|
1212
|
+
/** Server ID to update the tags. */
|
|
1213
|
+
server_id: number;
|
|
1214
|
+
/** Tags of server to update. */
|
|
1215
|
+
tags?: UpdateServerTagsRequestTagsList | undefined;
|
|
1216
|
+
}
|
|
1217
|
+
export type AttachFailoverIPsError = ScalewayOpError;
|
|
1218
|
+
/** Attach failovers on baremetal server Attach failovers on the server associated with the given ID. */
|
|
1219
|
+
export declare const attachFailoverIPs: API.OperationMethod<AttachFailoverIPsRequest, AttachFailoverIPsResponse, AttachFailoverIPsError, ScalewayOpContext>;
|
|
1220
|
+
export type AttachFailoverIPToMacAddressError = ScalewayOpError;
|
|
1221
|
+
/** Attach a failover IP to a MAC address */
|
|
1222
|
+
export declare const attachFailoverIPToMacAddress: API.OperationMethod<AttachFailoverIPToMacAddressRequest, IP, AttachFailoverIPToMacAddressError, ScalewayOpContext>;
|
|
1223
|
+
export type CancelServerInstallError = ScalewayOpError;
|
|
1224
|
+
/** Cancels the current (running) server installation Cancels the current server installation associated with the given server ID. */
|
|
1225
|
+
export declare const cancelServerInstall: API.OperationMethod<CancelServerInstallRequest, CancelServerInstallResponse, CancelServerInstallError, ScalewayOpContext>;
|
|
1226
|
+
export type CreateFailoverIPsError = ScalewayOpError;
|
|
1227
|
+
/** Order failover IPs Order X failover IPs. */
|
|
1228
|
+
export declare const createFailoverIPs: API.OperationMethod<CreateFailoverIPsRequest, CreateFailoverIPsResponse, CreateFailoverIPsError, ScalewayOpContext>;
|
|
1229
|
+
export type CreateServerError = ScalewayOpError;
|
|
1230
|
+
/** Create a baremetal server Create a new baremetal server. The order return you a service ID to follow the provisioning status you could call GetService. */
|
|
1231
|
+
export declare const createServer: API.OperationMethod<CreateServerRequest, Service, CreateServerError, ScalewayOpContext>;
|
|
1232
|
+
export type DeleteFailoverIPError = ScalewayOpError;
|
|
1233
|
+
/** Delete a failover server Delete the failover associated with the given ID. */
|
|
1234
|
+
export declare const deleteFailoverIP: API.OperationMethod<DeleteFailoverIPRequest, DeleteFailoverIPResponse, DeleteFailoverIPError, ScalewayOpContext>;
|
|
1235
|
+
export type DeleteServerError = ScalewayOpError;
|
|
1236
|
+
/** Delete a baremetal server Delete the server associated with the given ID. */
|
|
1237
|
+
export declare const deleteServer: API.OperationMethod<DeleteServerRequest, DeleteServerResponse, DeleteServerError, ScalewayOpContext>;
|
|
1238
|
+
export type DeleteServiceError = ScalewayOpError;
|
|
1239
|
+
/** Delete a specific service Delete the service associated with the given ID. */
|
|
1240
|
+
export declare const deleteService: API.OperationMethod<DeleteServiceRequest, Service, DeleteServiceError, ScalewayOpContext>;
|
|
1241
|
+
export type DetachFailoverIPFromMacAddressError = ScalewayOpError;
|
|
1242
|
+
/** Detach a failover IP from a MAC address */
|
|
1243
|
+
export declare const detachFailoverIPFromMacAddress: API.OperationMethod<DetachFailoverIPFromMacAddressRequest, IP, DetachFailoverIPFromMacAddressError, ScalewayOpContext>;
|
|
1244
|
+
export type DetachFailoverIPsError = ScalewayOpError;
|
|
1245
|
+
/** Detach failovers on baremetal server Detach failovers on the server associated with the given ID. */
|
|
1246
|
+
export declare const detachFailoverIPs: API.OperationMethod<DetachFailoverIPsRequest, DetachFailoverIPsResponse, DetachFailoverIPsError, ScalewayOpContext>;
|
|
1247
|
+
export type GetBMCAccessError = ScalewayOpError;
|
|
1248
|
+
/** Get BMC (Baseboard Management Controller) access for a given baremetal server Get the BMC (Baseboard Management Controller) access associated with the given ID. */
|
|
1249
|
+
export declare const getBMCAccess: API.OperationMethod<GetBMCAccessRequest, BMCAccess, GetBMCAccessError, ScalewayOpContext>;
|
|
1250
|
+
export type GetFailoverIPError = ScalewayOpError;
|
|
1251
|
+
/** Get a specific baremetal server Get the server associated with the given ID. */
|
|
1252
|
+
export declare const getFailoverIP: API.OperationMethod<GetFailoverIPRequest, FailoverIP, GetFailoverIPError, ScalewayOpContext>;
|
|
1253
|
+
export type GetOfferError = ScalewayOpError;
|
|
1254
|
+
/** Get offer Return specific offer for the given ID. */
|
|
1255
|
+
export declare const getOffer: API.OperationMethod<GetOfferRequest, Offer, GetOfferError, ScalewayOpContext>;
|
|
1256
|
+
export type GetOrderedServiceError = ScalewayOpError;
|
|
1257
|
+
export declare const getOrderedService: API.OperationMethod<GetOrderedServiceRequest, Service, GetOrderedServiceError, ScalewayOpContext>;
|
|
1258
|
+
export type GetOSError = ScalewayOpError;
|
|
1259
|
+
/** Get an OS with a given ID Return specific OS for the given ID. */
|
|
1260
|
+
export declare const getOS: API.OperationMethod<GetOSRequest, OS, GetOSError, ScalewayOpContext>;
|
|
1261
|
+
export type GetRaidError = ScalewayOpError;
|
|
1262
|
+
/** Get raid Return raid for the given server ID. */
|
|
1263
|
+
export declare const getRaid: API.OperationMethod<GetRaidRequest, Raid, GetRaidError, ScalewayOpContext>;
|
|
1264
|
+
export type GetRemainingQuotaError = ScalewayOpError;
|
|
1265
|
+
/** Get remaining quota */
|
|
1266
|
+
export declare const getRemainingQuota: API.OperationMethod<GetRemainingQuotaRequest, GetRemainingQuotaResponse, GetRemainingQuotaError, ScalewayOpContext>;
|
|
1267
|
+
export type GetRescueError = ScalewayOpError;
|
|
1268
|
+
/** Get rescue information Return rescue information for the given server ID. */
|
|
1269
|
+
export declare const getRescue: API.OperationMethod<GetRescueRequest, Rescue, GetRescueError, ScalewayOpContext>;
|
|
1270
|
+
export type GetServerError = ScalewayOpError;
|
|
1271
|
+
/** Get a specific baremetal server Get the server associated with the given ID. */
|
|
1272
|
+
export declare const getServer: API.OperationMethod<GetServerRequest, Server, GetServerError, ScalewayOpContext>;
|
|
1273
|
+
export type GetServerBackupError = ScalewayOpError;
|
|
1274
|
+
export declare const getServerBackup: API.OperationMethod<GetServerBackupRequest, Backup, GetServerBackupError, ScalewayOpContext>;
|
|
1275
|
+
export type GetServerDefaultPartitioningError = ScalewayOpError;
|
|
1276
|
+
/** Get server default partitioning Get the server default partitioning schema associated with the given server ID and OS ID. */
|
|
1277
|
+
export declare const getServerDefaultPartitioning: API.OperationMethod<GetServerDefaultPartitioningRequest, ServerDefaultPartitioning, GetServerDefaultPartitioningError, ScalewayOpContext>;
|
|
1278
|
+
export type GetServerInstallError = ScalewayOpError;
|
|
1279
|
+
/** Get a specific server installation status Get the server installation status associated with the given server ID. */
|
|
1280
|
+
export declare const getServerInstall: API.OperationMethod<GetServerInstallRequest, ServerInstall, GetServerInstallError, ScalewayOpContext>;
|
|
1281
|
+
export type GetServiceError = ScalewayOpError;
|
|
1282
|
+
/** Get a specific service Get the service associated with the given ID. */
|
|
1283
|
+
export declare const getService: API.OperationMethod<GetServiceRequest, Service, GetServiceError, ScalewayOpContext>;
|
|
1284
|
+
export type InstallServerError = ScalewayOpError;
|
|
1285
|
+
/** Install a baremetal server Install an OS on the server associated with the given ID. */
|
|
1286
|
+
export declare const installServer: API.OperationMethod<InstallServerRequest, ServerInstall, InstallServerError, ScalewayOpContext>;
|
|
1287
|
+
export type ListFailoverIPsError = ScalewayOpError;
|
|
1288
|
+
/** List failovers for project List failovers servers for project. */
|
|
1289
|
+
export declare const listFailoverIPs: API.PaginatedOperationMethod<ListFailoverIPsRequest, ListFailoverIPsResponse, ListFailoverIPsError, ScalewayOpContext, FailoverIP>;
|
|
1290
|
+
export type ListOffersError = ScalewayOpError;
|
|
1291
|
+
/** List offers List all available server offers. */
|
|
1292
|
+
export declare const listOffers: API.PaginatedOperationMethod<ListOffersRequest, ListOffersResponse, ListOffersError, ScalewayOpContext, Offer>;
|
|
1293
|
+
export type ListOSError = ScalewayOpError;
|
|
1294
|
+
/** List all available OS that can be install on a baremetal server */
|
|
1295
|
+
export declare const listOS: API.PaginatedOperationMethod<ListOSRequest, ListOSResponse, ListOSError, ScalewayOpContext, OS>;
|
|
1296
|
+
export type ListServerDisksError = ScalewayOpError;
|
|
1297
|
+
/** List server disks List disks associated to the given server ID. */
|
|
1298
|
+
export declare const listServerDisks: API.PaginatedOperationMethod<ListServerDisksRequest, ListServerDisksResponse, ListServerDisksError, ScalewayOpContext, ServerDisk>;
|
|
1299
|
+
export type ListServerEventsError = ScalewayOpError;
|
|
1300
|
+
/** List server events List events associated to the given server ID. */
|
|
1301
|
+
export declare const listServerEvents: API.PaginatedOperationMethod<ListServerEventsRequest, ListServerEventsResponse, ListServerEventsError, ScalewayOpContext, ServerEvent>;
|
|
1302
|
+
export type ListServersError = ScalewayOpError;
|
|
1303
|
+
/** List baremetal servers for project */
|
|
1304
|
+
export declare const listServers: API.PaginatedOperationMethod<ListServersRequest, ListServersResponse, ListServersError, ScalewayOpContext, ServerSummary>;
|
|
1305
|
+
export type ListServicesError = ScalewayOpError;
|
|
1306
|
+
/** List services */
|
|
1307
|
+
export declare const listServices: API.PaginatedOperationMethod<ListServicesRequest, ListServicesResponse, ListServicesError, ScalewayOpContext, Service>;
|
|
1308
|
+
export type ListSubscribableServerOptionsError = ScalewayOpError;
|
|
1309
|
+
/** List subscribable server options List subscribable options associated to the given server ID. */
|
|
1310
|
+
export declare const listSubscribableServerOptions: API.PaginatedOperationMethod<ListSubscribableServerOptionsRequest, ListSubscribableServerOptionsResponse, ListSubscribableServerOptionsError, ScalewayOpContext, Offer>;
|
|
1311
|
+
export type RebootServerError = ScalewayOpError;
|
|
1312
|
+
/** Reboot a baremetal server Reboot the server associated with the given ID, use boot param to reboot in rescue. */
|
|
1313
|
+
export declare const rebootServer: API.OperationMethod<RebootServerRequest, RebootServerResponse, RebootServerError, ScalewayOpContext>;
|
|
1314
|
+
export type StartBMCAccessError = ScalewayOpError;
|
|
1315
|
+
/** Start BMC (Baseboard Management Controller) access for a given baremetal server Start BMC (Baseboard Management Controller) access associated with the given ID. The BMC (Baseboard Management Controller) access is available one hour after the installation of the server. */
|
|
1316
|
+
export declare const startBMCAccess: API.OperationMethod<StartBMCAccessRequest, StartBMCAccessResponse, StartBMCAccessError, ScalewayOpContext>;
|
|
1317
|
+
export type StartRescueError = ScalewayOpError;
|
|
1318
|
+
/** Start in rescue baremetal server Start in rescue the server associated with the given ID. */
|
|
1319
|
+
export declare const startRescue: API.OperationMethod<StartRescueRequest, Rescue, StartRescueError, ScalewayOpContext>;
|
|
1320
|
+
export type StartServerError = ScalewayOpError;
|
|
1321
|
+
/** Start a baremetal server Start the server associated with the given ID. */
|
|
1322
|
+
export declare const startServer: API.OperationMethod<StartServerRequest, StartServerResponse, StartServerError, ScalewayOpContext>;
|
|
1323
|
+
export type StopBMCAccessError = ScalewayOpError;
|
|
1324
|
+
/** Stop BMC (Baseboard Management Controller) access for a given baremetal server Stop BMC (Baseboard Management Controller) access associated with the given ID. */
|
|
1325
|
+
export declare const stopBMCAccess: API.OperationMethod<StopBMCAccessRequest, StopBMCAccessResponse, StopBMCAccessError, ScalewayOpContext>;
|
|
1326
|
+
export type StopRescueError = ScalewayOpError;
|
|
1327
|
+
/** Stop rescue on baremetal server Stop rescue on the server associated with the given ID. */
|
|
1328
|
+
export declare const stopRescue: API.OperationMethod<StopRescueRequest, StopRescueResponse, StopRescueError, ScalewayOpContext>;
|
|
1329
|
+
export type StopServerError = ScalewayOpError;
|
|
1330
|
+
/** Stop a baremetal server Stop the server associated with the given ID. */
|
|
1331
|
+
export declare const stopServer: API.OperationMethod<StopServerRequest, StopServerResponse, StopServerError, ScalewayOpContext>;
|
|
1332
|
+
export type SubscribeServerOptionError = ScalewayOpError;
|
|
1333
|
+
/** Subscribe server option Subscribe option for the given server ID. */
|
|
1334
|
+
export declare const subscribeServerOption: API.OperationMethod<SubscribeServerOptionRequest, Service, SubscribeServerOptionError, ScalewayOpContext>;
|
|
1335
|
+
export type SubscribeStorageOptionsError = ScalewayOpError;
|
|
1336
|
+
/** Subscribe storage server option Subscribe storage option for the given server ID. */
|
|
1337
|
+
export declare const subscribeStorageOptions: API.OperationMethod<SubscribeStorageOptionsRequest, SubscribeStorageOptionsResponse, SubscribeStorageOptionsError, ScalewayOpContext>;
|
|
1338
|
+
export type UpdateRaidError = ScalewayOpError;
|
|
1339
|
+
/** Update RAID Update RAID associated with the given server ID. */
|
|
1340
|
+
export declare const updateRaid: API.OperationMethod<UpdateRaidRequest, UpdateRaidResponse, UpdateRaidError, ScalewayOpContext>;
|
|
1341
|
+
export type UpdateReverseError = ScalewayOpError;
|
|
1342
|
+
/** Update reverse of ip Update reverse of ip associated with the given ID. */
|
|
1343
|
+
export declare const updateReverse: API.OperationMethod<UpdateReverseRequest, IP, UpdateReverseError, ScalewayOpContext>;
|
|
1344
|
+
export type UpdateServerError = ScalewayOpError;
|
|
1345
|
+
/** Update a baremetal server Update the server associated with the given ID. */
|
|
1346
|
+
export declare const updateServer: API.OperationMethod<UpdateServerRequest, Server, UpdateServerError, ScalewayOpContext>;
|
|
1347
|
+
export type UpdateServerBackupError = ScalewayOpError;
|
|
1348
|
+
export declare const updateServerBackup: API.OperationMethod<UpdateServerBackupRequest, Backup, UpdateServerBackupError, ScalewayOpContext>;
|
|
1349
|
+
export type UpdateServerTagsError = ScalewayOpError;
|
|
1350
|
+
export declare const updateServerTags: API.OperationMethod<UpdateServerTagsRequest, Server, UpdateServerTagsError, ScalewayOpContext>;
|
|
1351
|
+
//# sourceMappingURL=dedibox_v1.d.ts.map
|