@distilled.cloud/scaleway 0.0.0 → 1.0.0-rc.21
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 +635 -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 +1745 -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 +477 -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 +946 -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 +2130 -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 +5377 -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 +1109 -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,1273 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import { BinaryStream } from "@distilled.cloud/core/protocol-rest";
|
|
3
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-scaleway). Do not edit.
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
|
+
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
6
|
+
import type * as Redacted from "effect/Redacted";
|
|
7
|
+
import { ScalewayServiceErrors } from "../errors.ts";
|
|
8
|
+
import { paginateByTotalCount } from "../pagination.ts";
|
|
9
|
+
import { ScalewayProtocol, type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
10
|
+
import * as Retry from "../retry.ts";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
// Schema table, filled on first reach (see __S at the end).
|
|
13
|
+
const __s: any[] = [];
|
|
14
|
+
|
|
15
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
16
|
+
|
|
17
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
18
|
+
const TELEMETRY = {
|
|
19
|
+
system: "scaleway-api",
|
|
20
|
+
responseHeaders: [
|
|
21
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
22
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
23
|
+
],
|
|
24
|
+
prefix: "Scaleway",
|
|
25
|
+
service: "SearchdbV1alpha1",
|
|
26
|
+
labels: "scaleway",
|
|
27
|
+
propagate: "w3c",
|
|
28
|
+
} as const;
|
|
29
|
+
|
|
30
|
+
export type CreateDeploymentRequestRegion = "fr-par";
|
|
31
|
+
/** Tags. */
|
|
32
|
+
export type CreateDeploymentRequestTagsList = Array<string>;
|
|
33
|
+
export type VolumeType = "unknown_type" | "sbs_5k" | "sbs_15k";
|
|
34
|
+
export interface Volume {
|
|
35
|
+
/** Define the type of the Volume. */
|
|
36
|
+
type?: VolumeType | (string & {}) | undefined;
|
|
37
|
+
/** Define the size of the Volume. (in bytes) */
|
|
38
|
+
size_bytes?: number | undefined;
|
|
39
|
+
}
|
|
40
|
+
export interface EndpointSpecPrivateNetworkDetails {
|
|
41
|
+
/** (UUID format) */
|
|
42
|
+
private_network_id?: string | undefined;
|
|
43
|
+
}
|
|
44
|
+
export interface EndpointSpec {
|
|
45
|
+
/** Precisely one of public, private_network can be set. */
|
|
46
|
+
public?: unknown | null | undefined;
|
|
47
|
+
/** Precisely one of public, private_network can be set. */
|
|
48
|
+
private_network?: EndpointSpecPrivateNetworkDetails | null | undefined;
|
|
49
|
+
}
|
|
50
|
+
/** Endpoints to access the deployment. */
|
|
51
|
+
export type CreateDeploymentRequestEndpointsList = Array<EndpointSpec>;
|
|
52
|
+
export interface CreateDeploymentRequest {
|
|
53
|
+
/** The region you want to target */
|
|
54
|
+
region?: CreateDeploymentRequestRegion | (string & {}) | undefined;
|
|
55
|
+
/** Project ID in which to create the deployment. (UUID format) */
|
|
56
|
+
project_id?: string | undefined;
|
|
57
|
+
/** Name of the deployment. */
|
|
58
|
+
name?: string | undefined;
|
|
59
|
+
/** Tags. */
|
|
60
|
+
tags?: CreateDeploymentRequestTagsList | undefined;
|
|
61
|
+
/** DEPRECATED: Use node_count instead. Number of nodes. */
|
|
62
|
+
node_amount?: number | null | undefined;
|
|
63
|
+
/** Number of nodes. */
|
|
64
|
+
node_count?: number | null | undefined;
|
|
65
|
+
/** Node type. */
|
|
66
|
+
node_type?: string | undefined;
|
|
67
|
+
/** Username for the deployment user. */
|
|
68
|
+
user_name?: string | null | undefined;
|
|
69
|
+
/** Password for the deployment user. */
|
|
70
|
+
password?: string | Redacted.Redacted<string> | null | undefined;
|
|
71
|
+
/** Volume. */
|
|
72
|
+
volume?: Volume | undefined;
|
|
73
|
+
/** Endpoints to access the deployment. */
|
|
74
|
+
endpoints?: CreateDeploymentRequestEndpointsList | undefined;
|
|
75
|
+
/** The Opensearch version to use. */
|
|
76
|
+
version?: string | undefined;
|
|
77
|
+
}
|
|
78
|
+
export type DeploymentStatus =
|
|
79
|
+
| "unknown_status"
|
|
80
|
+
| "ready"
|
|
81
|
+
| "creating"
|
|
82
|
+
| "initializing"
|
|
83
|
+
| "upgrading"
|
|
84
|
+
| "deleting"
|
|
85
|
+
| "error"
|
|
86
|
+
| "locked"
|
|
87
|
+
| "locking"
|
|
88
|
+
| "unlocking";
|
|
89
|
+
/** Tags of the Deployment. */
|
|
90
|
+
export type DeploymentTagsList = Array<string>;
|
|
91
|
+
export interface EndpointService {
|
|
92
|
+
name?: string | undefined;
|
|
93
|
+
port?: number | undefined;
|
|
94
|
+
url?: string | undefined;
|
|
95
|
+
}
|
|
96
|
+
/** List of available services, their ports and URLs. */
|
|
97
|
+
export type EndpointServicesList = Array<EndpointService>;
|
|
98
|
+
export type EndpointPrivateNetworkDetails = EndpointSpecPrivateNetworkDetails;
|
|
99
|
+
export interface Endpoint {
|
|
100
|
+
/** Unique identifier of the Endpoint. (UUID format) */
|
|
101
|
+
id?: string | undefined;
|
|
102
|
+
/** DNS entry to access to the service. Now deprecated. Use the `url` field from `services` field instead. */
|
|
103
|
+
dns_record?: string | undefined;
|
|
104
|
+
/** List of available services, their ports and URLs. */
|
|
105
|
+
services?: EndpointServicesList | undefined;
|
|
106
|
+
/** Region of the Endpoint. */
|
|
107
|
+
region?: string | undefined;
|
|
108
|
+
/** The SRN of the Endpoint. */
|
|
109
|
+
srn?: string | undefined;
|
|
110
|
+
/** Precisely one of public, private_network can be set. */
|
|
111
|
+
public?: unknown | null | undefined;
|
|
112
|
+
/** Precisely one of public, private_network can be set. */
|
|
113
|
+
private_network?: EndpointSpecPrivateNetworkDetails | null | undefined;
|
|
114
|
+
}
|
|
115
|
+
/** Exposed endpoints. */
|
|
116
|
+
export type DeploymentEndpointsList = Array<Endpoint>;
|
|
117
|
+
export interface Deployment {
|
|
118
|
+
/** Unique identifier of the Deployment. (UUID format) */
|
|
119
|
+
id?: string | undefined;
|
|
120
|
+
/** Name of the Deployment. */
|
|
121
|
+
name?: string | undefined;
|
|
122
|
+
/** ID of the Organization containing the Deployment. (UUID format) */
|
|
123
|
+
organization_id?: string | undefined;
|
|
124
|
+
/** ID of the Project containing the Deployment. (UUID format) */
|
|
125
|
+
project_id?: string | undefined;
|
|
126
|
+
/** Status of the Deployment. */
|
|
127
|
+
status?: DeploymentStatus | undefined;
|
|
128
|
+
/** Tags of the Deployment. */
|
|
129
|
+
tags?: DeploymentTagsList | undefined;
|
|
130
|
+
/** DEPRECATED: Use node_count instead. Number of nodes allocated per deployment. */
|
|
131
|
+
node_amount?: number | undefined;
|
|
132
|
+
/** Number of nodes allocated per deployment. */
|
|
133
|
+
node_count?: number | undefined;
|
|
134
|
+
/** Node type used in deployment. */
|
|
135
|
+
node_type?: string | undefined;
|
|
136
|
+
/** Volume type and size. */
|
|
137
|
+
volume?: Volume | undefined;
|
|
138
|
+
/** Exposed endpoints. */
|
|
139
|
+
endpoints?: DeploymentEndpointsList | undefined;
|
|
140
|
+
/** Creation date of the Deployment. (RFC 3339 format) */
|
|
141
|
+
created_at?: string | null | undefined;
|
|
142
|
+
/** Date when last update was done to the Deployment. (RFC 3339 format) */
|
|
143
|
+
updated_at?: string | null | undefined;
|
|
144
|
+
/** Opensearch version of the Deployment. */
|
|
145
|
+
version?: string | undefined;
|
|
146
|
+
/** Region the Deployment is located. */
|
|
147
|
+
region?: string | undefined;
|
|
148
|
+
/** The SRN of the Deployment. */
|
|
149
|
+
srn?: string | undefined;
|
|
150
|
+
}
|
|
151
|
+
export type CreateEndpointRequestRegion = "fr-par";
|
|
152
|
+
export interface CreateEndpointRequest {
|
|
153
|
+
/** The region you want to target */
|
|
154
|
+
region?: CreateEndpointRequestRegion | (string & {}) | undefined;
|
|
155
|
+
/** ID of the deployment for which to create an endpoint. (UUID format) */
|
|
156
|
+
deployment_id?: string | undefined;
|
|
157
|
+
/** Specification of the endpoint you want to create. */
|
|
158
|
+
endpoint_spec?: EndpointSpec | undefined;
|
|
159
|
+
}
|
|
160
|
+
export type CreateUserRequestRegion = "fr-par";
|
|
161
|
+
export interface CreateUserRequest {
|
|
162
|
+
/** The region you want to target */
|
|
163
|
+
region?: CreateUserRequestRegion | (string & {}) | undefined;
|
|
164
|
+
/** ID of the deployment in which to create the user. */
|
|
165
|
+
deployment_id: string;
|
|
166
|
+
/** Username of the deployment user. */
|
|
167
|
+
username?: string | undefined;
|
|
168
|
+
/** Password of the deployment user. */
|
|
169
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
170
|
+
}
|
|
171
|
+
export interface User {
|
|
172
|
+
/** Username of the Deployment user. */
|
|
173
|
+
username?: string | undefined;
|
|
174
|
+
/** ID of the Deployment. */
|
|
175
|
+
deployment_id?: string | undefined;
|
|
176
|
+
/** Region of the user. */
|
|
177
|
+
region?: string | undefined;
|
|
178
|
+
/** The SRN of the user. */
|
|
179
|
+
srn?: string | undefined;
|
|
180
|
+
}
|
|
181
|
+
export type DeleteDeploymentRequestRegion = "fr-par";
|
|
182
|
+
export interface DeleteDeploymentRequest {
|
|
183
|
+
/** The region you want to target */
|
|
184
|
+
region?: DeleteDeploymentRequestRegion | (string & {}) | undefined;
|
|
185
|
+
/** ID of the deployment. */
|
|
186
|
+
deployment_id: string;
|
|
187
|
+
}
|
|
188
|
+
export type DeleteEndpointRequestRegion = "fr-par";
|
|
189
|
+
export interface DeleteEndpointRequest {
|
|
190
|
+
/** The region you want to target */
|
|
191
|
+
region?: DeleteEndpointRequestRegion | (string & {}) | undefined;
|
|
192
|
+
/** ID of the endpoint to delete. */
|
|
193
|
+
endpoint_id: string;
|
|
194
|
+
}
|
|
195
|
+
export interface DeleteEndpointResponse {}
|
|
196
|
+
export type DeleteUserRequestRegion = "fr-par";
|
|
197
|
+
export interface DeleteUserRequest {
|
|
198
|
+
/** The region you want to target */
|
|
199
|
+
region?: DeleteUserRequestRegion | (string & {}) | undefined;
|
|
200
|
+
/** ID of the deployment in which to create the user. */
|
|
201
|
+
deployment_id: string;
|
|
202
|
+
/** Username of the deployment user. */
|
|
203
|
+
username: string;
|
|
204
|
+
}
|
|
205
|
+
export interface DeleteUserResponse {}
|
|
206
|
+
export type DownloadDeploymentCertificateAuthorityRequestRegion = "fr-par";
|
|
207
|
+
export interface DownloadDeploymentCertificateAuthorityRequest {
|
|
208
|
+
/** The region you want to target */
|
|
209
|
+
region?: DownloadDeploymentCertificateAuthorityRequestRegion | (string & {}) | undefined;
|
|
210
|
+
deployment_id: string;
|
|
211
|
+
}
|
|
212
|
+
export interface ScalewayStdFile {
|
|
213
|
+
name?: string | undefined;
|
|
214
|
+
content_type?: string | undefined;
|
|
215
|
+
content?: string | undefined;
|
|
216
|
+
}
|
|
217
|
+
export interface DownloadDeploymentCertificateAuthorityRawRequest {
|
|
218
|
+
/** The region you want to target */
|
|
219
|
+
region?: DownloadDeploymentCertificateAuthorityRequestRegion | (string & {}) | undefined;
|
|
220
|
+
deployment_id: string;
|
|
221
|
+
}
|
|
222
|
+
export interface DownloadDeploymentCertificateAuthorityRawResponse {
|
|
223
|
+
body: BinaryStream;
|
|
224
|
+
/** Media type of the body, from the response's `Content-Type` header (e.g. `image/jpeg`). */
|
|
225
|
+
contentType?: string | undefined;
|
|
226
|
+
}
|
|
227
|
+
export type GetDeploymentRequestRegion = "fr-par";
|
|
228
|
+
export interface GetDeploymentRequest {
|
|
229
|
+
/** The region you want to target */
|
|
230
|
+
region?: GetDeploymentRequestRegion | (string & {}) | undefined;
|
|
231
|
+
/** ID of the deployment. */
|
|
232
|
+
deployment_id: string;
|
|
233
|
+
}
|
|
234
|
+
export type ListDeploymentsRequestRegion = "fr-par";
|
|
235
|
+
export type ListDeploymentsRequestOrderBy =
|
|
236
|
+
| "created_at_asc"
|
|
237
|
+
| "created_at_desc"
|
|
238
|
+
| "name_asc"
|
|
239
|
+
| "name_desc"
|
|
240
|
+
| "updated_at_asc"
|
|
241
|
+
| "updated_at_desc";
|
|
242
|
+
export type ListDeploymentsRequestTagsList = Array<string>;
|
|
243
|
+
export interface ListDeploymentsRequest {
|
|
244
|
+
/** The region you want to target */
|
|
245
|
+
region?: ListDeploymentsRequestRegion | (string & {}) | undefined;
|
|
246
|
+
/** ID of the Organization containing the deployments. */
|
|
247
|
+
organization_id?: string | undefined;
|
|
248
|
+
/** ID of the Project containing the deployments. */
|
|
249
|
+
project_id?: string | undefined;
|
|
250
|
+
/** Define the order of the returned deployments. */
|
|
251
|
+
order_by?: ListDeploymentsRequestOrderBy | (string & {}) | undefined;
|
|
252
|
+
/** The page number to return, from the paginated results. */
|
|
253
|
+
page?: number | undefined;
|
|
254
|
+
/** Number of deployments to return. */
|
|
255
|
+
page_size?: number | undefined;
|
|
256
|
+
/** Filter by tag, only deployments with one or more matching tags will be returned. */
|
|
257
|
+
tags?: ListDeploymentsRequestTagsList | undefined;
|
|
258
|
+
/** Deployment name to filter for. */
|
|
259
|
+
name?: string | undefined;
|
|
260
|
+
}
|
|
261
|
+
/** List of deployments available. */
|
|
262
|
+
export type ListDeploymentsResponseDeploymentsList = Array<Deployment>;
|
|
263
|
+
export interface ListDeploymentsResponse {
|
|
264
|
+
/** List of deployments available. */
|
|
265
|
+
deployments: ListDeploymentsResponseDeploymentsList;
|
|
266
|
+
/** Total number of objects. */
|
|
267
|
+
total_count?: number | undefined;
|
|
268
|
+
}
|
|
269
|
+
export type ListNodeTypesRequestRegion = "fr-par";
|
|
270
|
+
export type ListNodeTypesRequestOrderBy =
|
|
271
|
+
| "name_asc"
|
|
272
|
+
| "name_desc"
|
|
273
|
+
| "vcpus_asc"
|
|
274
|
+
| "vcpus_desc"
|
|
275
|
+
| "memory_asc"
|
|
276
|
+
| "memory_desc";
|
|
277
|
+
export interface ListNodeTypesRequest {
|
|
278
|
+
/** The region you want to target */
|
|
279
|
+
region?: ListNodeTypesRequestRegion | (string & {}) | undefined;
|
|
280
|
+
/** Sort order of nodes in the response (name, vcpus or memory). */
|
|
281
|
+
order_by?: ListNodeTypesRequestOrderBy | (string & {}) | undefined;
|
|
282
|
+
/** Page number to return, from the paginated results. */
|
|
283
|
+
page?: number | undefined;
|
|
284
|
+
/** Number of node types to return. */
|
|
285
|
+
page_size?: number | undefined;
|
|
286
|
+
}
|
|
287
|
+
export type NodeTypeStockStatus = "unknown_stock" | "low_stock" | "out_of_stock" | "available";
|
|
288
|
+
export interface NodeTypeVolumeType {
|
|
289
|
+
type?: VolumeType | undefined;
|
|
290
|
+
description?: string | undefined;
|
|
291
|
+
/** (in bytes) */
|
|
292
|
+
min_size_bytes?: number | undefined;
|
|
293
|
+
/** (in bytes) */
|
|
294
|
+
max_size_bytes?: number | undefined;
|
|
295
|
+
/** (in bytes) */
|
|
296
|
+
chunk_size_bytes?: number | undefined;
|
|
297
|
+
}
|
|
298
|
+
/** Available storage options for the Node Type. */
|
|
299
|
+
export type NodeTypeAvailableVolumeTypesList = Array<NodeTypeVolumeType>;
|
|
300
|
+
export interface NodeType {
|
|
301
|
+
/** Stock status of the node type. */
|
|
302
|
+
stock_status?: NodeTypeStockStatus | undefined;
|
|
303
|
+
/** Name of the node type. */
|
|
304
|
+
name?: string | undefined;
|
|
305
|
+
/** Description of the node type. */
|
|
306
|
+
description?: string | undefined;
|
|
307
|
+
/** Number of vCPUs available. */
|
|
308
|
+
vcpus?: number | undefined;
|
|
309
|
+
/** Amount of memory available. (in bytes) */
|
|
310
|
+
memory_bytes?: number | undefined;
|
|
311
|
+
/** Defines whether the node type is disabled. */
|
|
312
|
+
disabled?: boolean | undefined;
|
|
313
|
+
/** Defines whether the node type is in beta. */
|
|
314
|
+
beta?: boolean | undefined;
|
|
315
|
+
/** Instance range associated with the NodeType offer. */
|
|
316
|
+
instance_range?: string | undefined;
|
|
317
|
+
/** Available storage options for the Node Type. */
|
|
318
|
+
available_volume_types?: NodeTypeAvailableVolumeTypesList | undefined;
|
|
319
|
+
/** Region of the node type. */
|
|
320
|
+
region?: string | undefined;
|
|
321
|
+
/** The SRN of the node type. */
|
|
322
|
+
srn?: string | undefined;
|
|
323
|
+
}
|
|
324
|
+
/** Node types compatible with the cluster. */
|
|
325
|
+
export type ListNodeTypesResponseNodeTypesList = Array<NodeType>;
|
|
326
|
+
export interface ListNodeTypesResponse {
|
|
327
|
+
/** Node types compatible with the cluster. */
|
|
328
|
+
node_types: ListNodeTypesResponseNodeTypesList;
|
|
329
|
+
/** Number of available node types to return. */
|
|
330
|
+
total_count?: number | undefined;
|
|
331
|
+
}
|
|
332
|
+
export type ListUsersRequestRegion = "fr-par";
|
|
333
|
+
export type ListUsersRequestOrderBy = "name_asc" | "name_desc";
|
|
334
|
+
export interface ListUsersRequest {
|
|
335
|
+
/** The region you want to target */
|
|
336
|
+
region?: ListUsersRequestRegion | (string & {}) | undefined;
|
|
337
|
+
deployment_id: string;
|
|
338
|
+
page?: number | undefined;
|
|
339
|
+
page_size?: number | undefined;
|
|
340
|
+
order_by?: ListUsersRequestOrderBy | (string & {}) | undefined;
|
|
341
|
+
name?: string | undefined;
|
|
342
|
+
}
|
|
343
|
+
export type ListUsersResponseUsersList = Array<User>;
|
|
344
|
+
export interface ListUsersResponse {
|
|
345
|
+
users: ListUsersResponseUsersList;
|
|
346
|
+
total_count?: number | undefined;
|
|
347
|
+
}
|
|
348
|
+
export type ListVersionsRequestRegion = "fr-par";
|
|
349
|
+
export type ListVersionsRequestOrderBy = "version_asc" | "version_desc";
|
|
350
|
+
export interface ListVersionsRequest {
|
|
351
|
+
/** The region you want to target */
|
|
352
|
+
region?: ListVersionsRequestRegion | (string & {}) | undefined;
|
|
353
|
+
/** Define the order of the returned version. */
|
|
354
|
+
order_by?: ListVersionsRequestOrderBy | (string & {}) | undefined;
|
|
355
|
+
/** The page number to return, form the paginated results. */
|
|
356
|
+
page?: number | undefined;
|
|
357
|
+
/** Number of version to return. */
|
|
358
|
+
page_size?: number | undefined;
|
|
359
|
+
/** Filter by version. */
|
|
360
|
+
version?: string | undefined;
|
|
361
|
+
}
|
|
362
|
+
export interface Version {
|
|
363
|
+
/** Opensearch Version. */
|
|
364
|
+
version?: string | undefined;
|
|
365
|
+
/** End of life date of the version. (RFC 3339 format) */
|
|
366
|
+
end_of_life?: string | null | undefined;
|
|
367
|
+
/** Parameter that tell if the version is disabled. */
|
|
368
|
+
disabled?: boolean | undefined;
|
|
369
|
+
/** Parameter that tell if the version is in beta. */
|
|
370
|
+
beta?: boolean | undefined;
|
|
371
|
+
/** Region of the version. */
|
|
372
|
+
region?: string | undefined;
|
|
373
|
+
/** The SRN of the version. */
|
|
374
|
+
srn?: string | undefined;
|
|
375
|
+
}
|
|
376
|
+
/** List of versions. */
|
|
377
|
+
export type ListVersionsResponseVersionsList = Array<Version>;
|
|
378
|
+
export interface ListVersionsResponse {
|
|
379
|
+
/** List of versions. */
|
|
380
|
+
versions: ListVersionsResponseVersionsList;
|
|
381
|
+
/** Number of versions in the list. */
|
|
382
|
+
total_count?: number | undefined;
|
|
383
|
+
}
|
|
384
|
+
export type UpdateDeploymentRequestRegion = "fr-par";
|
|
385
|
+
/** Tags of a deployment. */
|
|
386
|
+
export type UpdateDeploymentRequestTagsList = Array<unknown>;
|
|
387
|
+
export interface UpdateDeploymentRequest {
|
|
388
|
+
/** The region you want to target */
|
|
389
|
+
region?: UpdateDeploymentRequestRegion | (string & {}) | undefined;
|
|
390
|
+
/** UUID of the deployment to update. (UUID format) */
|
|
391
|
+
deployment_id: string;
|
|
392
|
+
/** Name of the deployment. */
|
|
393
|
+
name?: string | null | undefined;
|
|
394
|
+
/** Tags of a deployment. */
|
|
395
|
+
tags?: UpdateDeploymentRequestTagsList | null | undefined;
|
|
396
|
+
}
|
|
397
|
+
export type UpdateUserRequestRegion = "fr-par";
|
|
398
|
+
export interface UpdateUserRequest {
|
|
399
|
+
/** The region you want to target */
|
|
400
|
+
region?: UpdateUserRequestRegion | (string & {}) | undefined;
|
|
401
|
+
/** ID of the deployment in which to create the user. */
|
|
402
|
+
deployment_id: string;
|
|
403
|
+
/** Username of the deployment user. */
|
|
404
|
+
username: string;
|
|
405
|
+
/** Password of the deployment user. */
|
|
406
|
+
password?: string | Redacted.Redacted<string> | null | undefined;
|
|
407
|
+
}
|
|
408
|
+
export type UpgradeDeploymentRequestRegion = "fr-par";
|
|
409
|
+
export interface UpgradeDeploymentRequest {
|
|
410
|
+
/** The region you want to target */
|
|
411
|
+
region?: UpgradeDeploymentRequestRegion | (string & {}) | undefined;
|
|
412
|
+
/** UUID of the Deployment to upgrade. (UUID format) */
|
|
413
|
+
deployment_id: string;
|
|
414
|
+
/** DEPRECATED: Use node_count instead. Amount of node upgrade target. Precisely one of node_amount, node_count, volume_size_bytes can be set. */
|
|
415
|
+
node_amount?: number | null | undefined;
|
|
416
|
+
/** The target number of nodes for the upgrade. Precisely one of node_amount, node_count, volume_size_bytes can be set. */
|
|
417
|
+
node_count?: number | null | undefined;
|
|
418
|
+
/** Volume size upgrade target. Precisely one of node_amount, node_count, volume_size_bytes can be set. */
|
|
419
|
+
volume_size_bytes?: number | null | undefined;
|
|
420
|
+
}
|
|
421
|
+
export type CreateDeploymentError = ScalewayOpError;
|
|
422
|
+
/** Create a new Cloud Essentials for OpenSearch deployment */
|
|
423
|
+
export const createDeployment: API.OperationMethod<
|
|
424
|
+
CreateDeploymentRequest,
|
|
425
|
+
Deployment,
|
|
426
|
+
CreateDeploymentError,
|
|
427
|
+
ScalewayOpContext
|
|
428
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
429
|
+
input: __S(1, __c0, 1) as any as S.Schema<CreateDeploymentRequest>,
|
|
430
|
+
output: __S(27, __c3, 3) as any as S.Schema<Deployment>,
|
|
431
|
+
errors: [],
|
|
432
|
+
serviceErrors: ScalewayServiceErrors,
|
|
433
|
+
protocol: ScalewayProtocol,
|
|
434
|
+
retry: Retry.Retry,
|
|
435
|
+
telemetry: TELEMETRY,
|
|
436
|
+
span: "CreateDeployment",
|
|
437
|
+
}));
|
|
438
|
+
|
|
439
|
+
export type CreateEndpointError = ScalewayOpError;
|
|
440
|
+
/** Create a new endpoint on a deployment */
|
|
441
|
+
export const createEndpoint: API.OperationMethod<
|
|
442
|
+
CreateEndpointRequest,
|
|
443
|
+
Endpoint,
|
|
444
|
+
CreateEndpointError,
|
|
445
|
+
ScalewayOpContext
|
|
446
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
447
|
+
input: __S(32, __c4, 0) as any as S.Schema<CreateEndpointRequest>,
|
|
448
|
+
output: __S(19, __c2, 3) as any as S.Schema<Endpoint>,
|
|
449
|
+
errors: [],
|
|
450
|
+
serviceErrors: ScalewayServiceErrors,
|
|
451
|
+
protocol: ScalewayProtocol,
|
|
452
|
+
retry: Retry.Retry,
|
|
453
|
+
telemetry: TELEMETRY,
|
|
454
|
+
span: "CreateEndpoint",
|
|
455
|
+
}));
|
|
456
|
+
|
|
457
|
+
export type CreateUserError = ScalewayOpError;
|
|
458
|
+
/** Create a new user */
|
|
459
|
+
export const createUser: API.OperationMethod<
|
|
460
|
+
CreateUserRequest,
|
|
461
|
+
User,
|
|
462
|
+
CreateUserError,
|
|
463
|
+
ScalewayOpContext
|
|
464
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
465
|
+
input: __S(88, __c11, 0) as any as S.Schema<CreateUserRequest>,
|
|
466
|
+
output: __S(96, __c12, 0) as any as S.Schema<User>,
|
|
467
|
+
errors: [],
|
|
468
|
+
serviceErrors: ScalewayServiceErrors,
|
|
469
|
+
protocol: ScalewayProtocol,
|
|
470
|
+
retry: Retry.Retry,
|
|
471
|
+
telemetry: TELEMETRY,
|
|
472
|
+
span: "CreateUser",
|
|
473
|
+
}));
|
|
474
|
+
|
|
475
|
+
export type DeleteDeploymentError = ScalewayOpError;
|
|
476
|
+
/** Delete a Cloud Essentials for OpenSearch deployment */
|
|
477
|
+
export const deleteDeployment: API.OperationMethod<
|
|
478
|
+
DeleteDeploymentRequest,
|
|
479
|
+
Deployment,
|
|
480
|
+
DeleteDeploymentError,
|
|
481
|
+
ScalewayOpContext
|
|
482
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
483
|
+
input: __S(104, __c13, 0) as any as S.Schema<DeleteDeploymentRequest>,
|
|
484
|
+
output: __S(27, __c3, 3) as any as S.Schema<Deployment>,
|
|
485
|
+
errors: [],
|
|
486
|
+
serviceErrors: ScalewayServiceErrors,
|
|
487
|
+
protocol: ScalewayProtocol,
|
|
488
|
+
retry: Retry.Retry,
|
|
489
|
+
telemetry: TELEMETRY,
|
|
490
|
+
span: "DeleteDeployment",
|
|
491
|
+
}));
|
|
492
|
+
|
|
493
|
+
export type DeleteEndpointError = ScalewayOpError;
|
|
494
|
+
/** Delete an existing endpoint */
|
|
495
|
+
export const deleteEndpoint: API.OperationMethod<
|
|
496
|
+
DeleteEndpointRequest,
|
|
497
|
+
DeleteEndpointResponse,
|
|
498
|
+
DeleteEndpointError,
|
|
499
|
+
ScalewayOpContext
|
|
500
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
501
|
+
input: __S(112, __c14, 0) as any as S.Schema<DeleteEndpointRequest>,
|
|
502
|
+
output: __S(120, __c15, 0) as any as S.Schema<DeleteEndpointResponse>,
|
|
503
|
+
errors: [],
|
|
504
|
+
serviceErrors: ScalewayServiceErrors,
|
|
505
|
+
protocol: ScalewayProtocol,
|
|
506
|
+
retry: Retry.Retry,
|
|
507
|
+
telemetry: TELEMETRY,
|
|
508
|
+
span: "DeleteEndpoint",
|
|
509
|
+
}));
|
|
510
|
+
|
|
511
|
+
export type DeleteUserError = ScalewayOpError;
|
|
512
|
+
/** Delete an existing user */
|
|
513
|
+
export const deleteUser: API.OperationMethod<
|
|
514
|
+
DeleteUserRequest,
|
|
515
|
+
DeleteUserResponse,
|
|
516
|
+
DeleteUserError,
|
|
517
|
+
ScalewayOpContext
|
|
518
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
519
|
+
input: __S(128, __c16, 0) as any as S.Schema<DeleteUserRequest>,
|
|
520
|
+
output: __S(120, __c15, 0) as any as S.Schema<DeleteUserResponse>,
|
|
521
|
+
errors: [],
|
|
522
|
+
serviceErrors: ScalewayServiceErrors,
|
|
523
|
+
protocol: ScalewayProtocol,
|
|
524
|
+
retry: Retry.Retry,
|
|
525
|
+
telemetry: TELEMETRY,
|
|
526
|
+
span: "DeleteUser",
|
|
527
|
+
}));
|
|
528
|
+
|
|
529
|
+
export type DownloadDeploymentCertificateAuthorityError = ScalewayOpError;
|
|
530
|
+
export const downloadDeploymentCertificateAuthority: API.OperationMethod<
|
|
531
|
+
DownloadDeploymentCertificateAuthorityRequest,
|
|
532
|
+
ScalewayStdFile,
|
|
533
|
+
DownloadDeploymentCertificateAuthorityError,
|
|
534
|
+
ScalewayOpContext
|
|
535
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
536
|
+
input: __S(136, __c17, 0) as any as S.Schema<DownloadDeploymentCertificateAuthorityRequest>,
|
|
537
|
+
output: __S(137, __c17, 1) as any as S.Schema<ScalewayStdFile>,
|
|
538
|
+
errors: [],
|
|
539
|
+
serviceErrors: ScalewayServiceErrors,
|
|
540
|
+
protocol: ScalewayProtocol,
|
|
541
|
+
retry: Retry.Retry,
|
|
542
|
+
telemetry: TELEMETRY,
|
|
543
|
+
span: "DownloadDeploymentCertificateAuthority",
|
|
544
|
+
}));
|
|
545
|
+
|
|
546
|
+
export type DownloadDeploymentCertificateAuthorityRawError = ScalewayOpError;
|
|
547
|
+
/** The file `downloadDeploymentCertificateAuthority` returns, as bytes (`?dl=1`), rather than the JSON file object. */
|
|
548
|
+
export const downloadDeploymentCertificateAuthorityRaw: API.OperationMethod<
|
|
549
|
+
DownloadDeploymentCertificateAuthorityRawRequest,
|
|
550
|
+
DownloadDeploymentCertificateAuthorityRawResponse,
|
|
551
|
+
DownloadDeploymentCertificateAuthorityRawError,
|
|
552
|
+
ScalewayOpContext
|
|
553
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
554
|
+
input: __S(144, __c18, 0) as any as S.Schema<DownloadDeploymentCertificateAuthorityRawRequest>,
|
|
555
|
+
output: __S(145, __c18, 1) as any as S.Schema<DownloadDeploymentCertificateAuthorityRawResponse>,
|
|
556
|
+
errors: [],
|
|
557
|
+
serviceErrors: ScalewayServiceErrors,
|
|
558
|
+
protocol: ScalewayProtocol,
|
|
559
|
+
retry: Retry.Retry,
|
|
560
|
+
telemetry: TELEMETRY,
|
|
561
|
+
span: "DownloadDeploymentCertificateAuthorityRaw",
|
|
562
|
+
}));
|
|
563
|
+
|
|
564
|
+
export type GetDeploymentError = ScalewayOpError;
|
|
565
|
+
/** Retrieve a specific Cloud Essentials for OpenSearch deployment */
|
|
566
|
+
export const getDeployment: API.OperationMethod<
|
|
567
|
+
GetDeploymentRequest,
|
|
568
|
+
Deployment,
|
|
569
|
+
GetDeploymentError,
|
|
570
|
+
ScalewayOpContext
|
|
571
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
572
|
+
input: __S(152, __c19, 0) as any as S.Schema<GetDeploymentRequest>,
|
|
573
|
+
output: __S(27, __c3, 3) as any as S.Schema<Deployment>,
|
|
574
|
+
errors: [],
|
|
575
|
+
serviceErrors: ScalewayServiceErrors,
|
|
576
|
+
protocol: ScalewayProtocol,
|
|
577
|
+
retry: Retry.Retry,
|
|
578
|
+
telemetry: TELEMETRY,
|
|
579
|
+
span: "GetDeployment",
|
|
580
|
+
}));
|
|
581
|
+
|
|
582
|
+
export type ListDeploymentsError = ScalewayOpError;
|
|
583
|
+
/** Retrieve a list of Cloud Essentials for OpenSearch deployments */
|
|
584
|
+
export const listDeployments: API.PaginatedOperationMethod<
|
|
585
|
+
ListDeploymentsRequest,
|
|
586
|
+
ListDeploymentsResponse,
|
|
587
|
+
ListDeploymentsError,
|
|
588
|
+
ScalewayOpContext,
|
|
589
|
+
Deployment
|
|
590
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
591
|
+
() => ({
|
|
592
|
+
input: __S(160, __c20, 0) as any as S.Schema<ListDeploymentsRequest>,
|
|
593
|
+
output: __S(162, __c20, 2) as any as S.Schema<ListDeploymentsResponse>,
|
|
594
|
+
errors: [],
|
|
595
|
+
serviceErrors: ScalewayServiceErrors,
|
|
596
|
+
protocol: ScalewayProtocol,
|
|
597
|
+
retry: Retry.Retry,
|
|
598
|
+
telemetry: TELEMETRY,
|
|
599
|
+
span: "ListDeployments",
|
|
600
|
+
pagination: {
|
|
601
|
+
mode: "page",
|
|
602
|
+
inputToken: "page",
|
|
603
|
+
outputToken: "total_count",
|
|
604
|
+
items: "deployments",
|
|
605
|
+
pageSize: "page_size",
|
|
606
|
+
} as const,
|
|
607
|
+
}),
|
|
608
|
+
paginateByTotalCount,
|
|
609
|
+
) as any;
|
|
610
|
+
|
|
611
|
+
export type ListNodeTypesError = ScalewayOpError;
|
|
612
|
+
/** Retrieve a list of available node types */
|
|
613
|
+
export const listNodeTypes: API.PaginatedOperationMethod<
|
|
614
|
+
ListNodeTypesRequest,
|
|
615
|
+
ListNodeTypesResponse,
|
|
616
|
+
ListNodeTypesError,
|
|
617
|
+
ScalewayOpContext,
|
|
618
|
+
NodeType
|
|
619
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
620
|
+
() => ({
|
|
621
|
+
input: __S(40, __c5, 0) as any as S.Schema<ListNodeTypesRequest>,
|
|
622
|
+
output: __S(45, __c5, 5) as any as S.Schema<ListNodeTypesResponse>,
|
|
623
|
+
errors: [],
|
|
624
|
+
serviceErrors: ScalewayServiceErrors,
|
|
625
|
+
protocol: ScalewayProtocol,
|
|
626
|
+
retry: Retry.Retry,
|
|
627
|
+
telemetry: TELEMETRY,
|
|
628
|
+
span: "ListNodeTypes",
|
|
629
|
+
pagination: {
|
|
630
|
+
mode: "page",
|
|
631
|
+
inputToken: "page",
|
|
632
|
+
outputToken: "total_count",
|
|
633
|
+
items: "node_types",
|
|
634
|
+
pageSize: "page_size",
|
|
635
|
+
} as const,
|
|
636
|
+
}),
|
|
637
|
+
paginateByTotalCount,
|
|
638
|
+
) as any;
|
|
639
|
+
|
|
640
|
+
export type ListUsersError = ScalewayOpError;
|
|
641
|
+
/** Retrieve a list of deployment users */
|
|
642
|
+
export const listUsers: API.PaginatedOperationMethod<
|
|
643
|
+
ListUsersRequest,
|
|
644
|
+
ListUsersResponse,
|
|
645
|
+
ListUsersError,
|
|
646
|
+
ScalewayOpContext,
|
|
647
|
+
User
|
|
648
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
649
|
+
() => ({
|
|
650
|
+
input: __S(48, __c6, 0) as any as S.Schema<ListUsersRequest>,
|
|
651
|
+
output: __S(50, __c6, 2) as any as S.Schema<ListUsersResponse>,
|
|
652
|
+
errors: [],
|
|
653
|
+
serviceErrors: ScalewayServiceErrors,
|
|
654
|
+
protocol: ScalewayProtocol,
|
|
655
|
+
retry: Retry.Retry,
|
|
656
|
+
telemetry: TELEMETRY,
|
|
657
|
+
span: "ListUsers",
|
|
658
|
+
pagination: {
|
|
659
|
+
mode: "page",
|
|
660
|
+
inputToken: "page",
|
|
661
|
+
outputToken: "total_count",
|
|
662
|
+
items: "users",
|
|
663
|
+
pageSize: "page_size",
|
|
664
|
+
} as const,
|
|
665
|
+
}),
|
|
666
|
+
paginateByTotalCount,
|
|
667
|
+
) as any;
|
|
668
|
+
|
|
669
|
+
export type ListVersionsError = ScalewayOpError;
|
|
670
|
+
/** List available Cloud Essentials for OpenSearch versions */
|
|
671
|
+
export const listVersions: API.PaginatedOperationMethod<
|
|
672
|
+
ListVersionsRequest,
|
|
673
|
+
ListVersionsResponse,
|
|
674
|
+
ListVersionsError,
|
|
675
|
+
ScalewayOpContext,
|
|
676
|
+
Version
|
|
677
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
678
|
+
() => ({
|
|
679
|
+
input: __S(56, __c7, 0) as any as S.Schema<ListVersionsRequest>,
|
|
680
|
+
output: __S(59, __c7, 3) as any as S.Schema<ListVersionsResponse>,
|
|
681
|
+
errors: [],
|
|
682
|
+
serviceErrors: ScalewayServiceErrors,
|
|
683
|
+
protocol: ScalewayProtocol,
|
|
684
|
+
retry: Retry.Retry,
|
|
685
|
+
telemetry: TELEMETRY,
|
|
686
|
+
span: "ListVersions",
|
|
687
|
+
pagination: {
|
|
688
|
+
mode: "page",
|
|
689
|
+
inputToken: "page",
|
|
690
|
+
outputToken: "total_count",
|
|
691
|
+
items: "versions",
|
|
692
|
+
pageSize: "page_size",
|
|
693
|
+
} as const,
|
|
694
|
+
}),
|
|
695
|
+
paginateByTotalCount,
|
|
696
|
+
) as any;
|
|
697
|
+
|
|
698
|
+
export type UpdateDeploymentError = ScalewayOpError;
|
|
699
|
+
/** Update a Cloud Essentials for OpenSearch deployment */
|
|
700
|
+
export const updateDeployment: API.OperationMethod<
|
|
701
|
+
UpdateDeploymentRequest,
|
|
702
|
+
Deployment,
|
|
703
|
+
UpdateDeploymentError,
|
|
704
|
+
ScalewayOpContext
|
|
705
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
706
|
+
input: __S(65, __c8, 1) as any as S.Schema<UpdateDeploymentRequest>,
|
|
707
|
+
output: __S(27, __c3, 3) as any as S.Schema<Deployment>,
|
|
708
|
+
errors: [],
|
|
709
|
+
serviceErrors: ScalewayServiceErrors,
|
|
710
|
+
protocol: ScalewayProtocol,
|
|
711
|
+
retry: Retry.Retry,
|
|
712
|
+
telemetry: TELEMETRY,
|
|
713
|
+
span: "UpdateDeployment",
|
|
714
|
+
}));
|
|
715
|
+
|
|
716
|
+
export type UpdateUserError = ScalewayOpError;
|
|
717
|
+
/** Update an existing user */
|
|
718
|
+
export const updateUser: API.OperationMethod<
|
|
719
|
+
UpdateUserRequest,
|
|
720
|
+
User,
|
|
721
|
+
UpdateUserError,
|
|
722
|
+
ScalewayOpContext
|
|
723
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
724
|
+
input: __S(72, __c9, 0) as any as S.Schema<UpdateUserRequest>,
|
|
725
|
+
output: __S(96, __c12, 0) as any as S.Schema<User>,
|
|
726
|
+
errors: [],
|
|
727
|
+
serviceErrors: ScalewayServiceErrors,
|
|
728
|
+
protocol: ScalewayProtocol,
|
|
729
|
+
retry: Retry.Retry,
|
|
730
|
+
telemetry: TELEMETRY,
|
|
731
|
+
span: "UpdateUser",
|
|
732
|
+
}));
|
|
733
|
+
|
|
734
|
+
export type UpgradeDeploymentError = ScalewayOpError;
|
|
735
|
+
/** Upgrade a Cloud Essentials for OpenSearch deployment */
|
|
736
|
+
export const upgradeDeployment: API.OperationMethod<
|
|
737
|
+
UpgradeDeploymentRequest,
|
|
738
|
+
Deployment,
|
|
739
|
+
UpgradeDeploymentError,
|
|
740
|
+
ScalewayOpContext
|
|
741
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
742
|
+
input: __S(80, __c10, 0) as any as S.Schema<UpgradeDeploymentRequest>,
|
|
743
|
+
output: __S(27, __c3, 3) as any as S.Schema<Deployment>,
|
|
744
|
+
errors: [],
|
|
745
|
+
serviceErrors: ScalewayServiceErrors,
|
|
746
|
+
protocol: ScalewayProtocol,
|
|
747
|
+
retry: Retry.Retry,
|
|
748
|
+
telemetry: TELEMETRY,
|
|
749
|
+
span: "UpgradeDeployment",
|
|
750
|
+
}));
|
|
751
|
+
|
|
752
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
753
|
+
function __c0(j: number): any {
|
|
754
|
+
switch (j) {
|
|
755
|
+
case 0:
|
|
756
|
+
return S.Array(__S(8, __c1, 0));
|
|
757
|
+
case 1:
|
|
758
|
+
return S.suspend(() =>
|
|
759
|
+
S.Struct({
|
|
760
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
761
|
+
project_id: S.optional(S.String),
|
|
762
|
+
name: S.optional(S.String),
|
|
763
|
+
tags: S.optional(__S(24, __c3, 0)),
|
|
764
|
+
node_amount: S.optional(S.NullOr(S.Number)),
|
|
765
|
+
node_count: S.optional(S.NullOr(S.Number)),
|
|
766
|
+
node_type: S.optional(S.String),
|
|
767
|
+
user_name: S.optional(S.NullOr(S.String)),
|
|
768
|
+
password: S.optional(S.NullOr(S.String).pipe(T.SensitiveValue({}))),
|
|
769
|
+
volume: S.optional(__S(25, __c3, 1)),
|
|
770
|
+
endpoints: S.optional(__S(0, __c0, 0)),
|
|
771
|
+
version: S.optional(S.String),
|
|
772
|
+
}).pipe(
|
|
773
|
+
T.Http({
|
|
774
|
+
method: "POST",
|
|
775
|
+
uri: "/searchdb/v1alpha1/regions/{region}/deployments",
|
|
776
|
+
code: 200,
|
|
777
|
+
baseUrl: "https://api.scaleway.com",
|
|
778
|
+
}),
|
|
779
|
+
),
|
|
780
|
+
).annotate({ identifier: "CreateDeploymentRequest" });
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
function __c1(j: number): any {
|
|
784
|
+
switch (j) {
|
|
785
|
+
case 0:
|
|
786
|
+
return S.suspend(() =>
|
|
787
|
+
S.Struct({
|
|
788
|
+
public: S.optional(S.NullOr(S.Unknown)),
|
|
789
|
+
private_network: S.optional(S.NullOr(__S(16, __c2, 0))),
|
|
790
|
+
}),
|
|
791
|
+
).annotate({ identifier: "EndpointSpec" });
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
function __c2(j: number): any {
|
|
795
|
+
switch (j) {
|
|
796
|
+
case 0:
|
|
797
|
+
return S.suspend(() =>
|
|
798
|
+
S.Struct({
|
|
799
|
+
private_network_id: S.optional(S.String),
|
|
800
|
+
}),
|
|
801
|
+
).annotate({ identifier: "EndpointSpecPrivateNetworkDetails" });
|
|
802
|
+
case 1:
|
|
803
|
+
return S.suspend(() =>
|
|
804
|
+
S.Struct({
|
|
805
|
+
name: S.optional(S.String),
|
|
806
|
+
port: S.optional(S.Number),
|
|
807
|
+
url: S.optional(S.String),
|
|
808
|
+
}),
|
|
809
|
+
).annotate({ identifier: "EndpointService" });
|
|
810
|
+
case 2:
|
|
811
|
+
return S.Array(__S(17, __c2, 1));
|
|
812
|
+
case 3:
|
|
813
|
+
return S.suspend(() =>
|
|
814
|
+
S.Struct({
|
|
815
|
+
id: S.optional(S.String),
|
|
816
|
+
dns_record: S.optional(S.String),
|
|
817
|
+
services: S.optional(__S(18, __c2, 2)),
|
|
818
|
+
region: S.optional(S.String),
|
|
819
|
+
srn: S.optional(S.String),
|
|
820
|
+
public: S.optional(S.NullOr(S.Unknown)),
|
|
821
|
+
private_network: S.optional(S.NullOr(__S(16, __c2, 0))),
|
|
822
|
+
}),
|
|
823
|
+
).annotate({ identifier: "Endpoint" });
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
function __c3(j: number): any {
|
|
827
|
+
switch (j) {
|
|
828
|
+
case 0:
|
|
829
|
+
return S.Array(S.String);
|
|
830
|
+
case 1:
|
|
831
|
+
return S.suspend(() =>
|
|
832
|
+
S.Struct({
|
|
833
|
+
type: S.optional(S.String),
|
|
834
|
+
size_bytes: S.optional(S.Number),
|
|
835
|
+
}),
|
|
836
|
+
).annotate({ identifier: "Volume" });
|
|
837
|
+
case 2:
|
|
838
|
+
return S.Array(__S(19, __c2, 3));
|
|
839
|
+
case 3:
|
|
840
|
+
return S.suspend(() =>
|
|
841
|
+
S.Struct({
|
|
842
|
+
id: S.optional(S.String),
|
|
843
|
+
name: S.optional(S.String),
|
|
844
|
+
organization_id: S.optional(S.String),
|
|
845
|
+
project_id: S.optional(S.String),
|
|
846
|
+
status: S.optional(S.String),
|
|
847
|
+
tags: S.optional(__S(24, __c3, 0)),
|
|
848
|
+
node_amount: S.optional(S.Number),
|
|
849
|
+
node_count: S.optional(S.Number),
|
|
850
|
+
node_type: S.optional(S.String),
|
|
851
|
+
volume: S.optional(__S(25, __c3, 1)),
|
|
852
|
+
endpoints: S.optional(__S(26, __c3, 2)),
|
|
853
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
854
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
855
|
+
version: S.optional(S.String),
|
|
856
|
+
region: S.optional(S.String),
|
|
857
|
+
srn: S.optional(S.String),
|
|
858
|
+
}),
|
|
859
|
+
).annotate({ identifier: "Deployment" });
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
function __c4(j: number): any {
|
|
863
|
+
switch (j) {
|
|
864
|
+
case 0:
|
|
865
|
+
return S.suspend(() =>
|
|
866
|
+
S.Struct({
|
|
867
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
868
|
+
deployment_id: S.optional(S.String),
|
|
869
|
+
endpoint_spec: S.optional(__S(8, __c1, 0)),
|
|
870
|
+
}).pipe(
|
|
871
|
+
T.Http({
|
|
872
|
+
method: "POST",
|
|
873
|
+
uri: "/searchdb/v1alpha1/regions/{region}/endpoints",
|
|
874
|
+
code: 200,
|
|
875
|
+
baseUrl: "https://api.scaleway.com",
|
|
876
|
+
}),
|
|
877
|
+
),
|
|
878
|
+
).annotate({ identifier: "CreateEndpointRequest" });
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
function __c5(j: number): any {
|
|
882
|
+
switch (j) {
|
|
883
|
+
case 0:
|
|
884
|
+
return S.suspend(() =>
|
|
885
|
+
S.Struct({
|
|
886
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
887
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
888
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
889
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
890
|
+
}).pipe(
|
|
891
|
+
T.Http({
|
|
892
|
+
method: "GET",
|
|
893
|
+
uri: "/searchdb/v1alpha1/regions/{region}/node-types",
|
|
894
|
+
code: 200,
|
|
895
|
+
baseUrl: "https://api.scaleway.com",
|
|
896
|
+
}),
|
|
897
|
+
),
|
|
898
|
+
).annotate({ identifier: "ListNodeTypesRequest" });
|
|
899
|
+
case 1:
|
|
900
|
+
return S.suspend(() =>
|
|
901
|
+
S.Struct({
|
|
902
|
+
type: S.optional(S.String),
|
|
903
|
+
description: S.optional(S.String),
|
|
904
|
+
min_size_bytes: S.optional(S.Number),
|
|
905
|
+
max_size_bytes: S.optional(S.Number),
|
|
906
|
+
chunk_size_bytes: S.optional(S.Number),
|
|
907
|
+
}),
|
|
908
|
+
).annotate({ identifier: "NodeTypeVolumeType" });
|
|
909
|
+
case 2:
|
|
910
|
+
return S.Array(__S(41, __c5, 1));
|
|
911
|
+
case 3:
|
|
912
|
+
return S.suspend(() =>
|
|
913
|
+
S.Struct({
|
|
914
|
+
stock_status: S.optional(S.String),
|
|
915
|
+
name: S.optional(S.String),
|
|
916
|
+
description: S.optional(S.String),
|
|
917
|
+
vcpus: S.optional(S.Number),
|
|
918
|
+
memory_bytes: S.optional(S.Number),
|
|
919
|
+
disabled: S.optional(S.Boolean),
|
|
920
|
+
beta: S.optional(S.Boolean),
|
|
921
|
+
instance_range: S.optional(S.String),
|
|
922
|
+
available_volume_types: S.optional(__S(42, __c5, 2)),
|
|
923
|
+
region: S.optional(S.String),
|
|
924
|
+
srn: S.optional(S.String),
|
|
925
|
+
}),
|
|
926
|
+
).annotate({ identifier: "NodeType" });
|
|
927
|
+
case 4:
|
|
928
|
+
return S.Array(__S(43, __c5, 3));
|
|
929
|
+
case 5:
|
|
930
|
+
return S.suspend(() =>
|
|
931
|
+
S.Struct({
|
|
932
|
+
node_types: __S(44, __c5, 4),
|
|
933
|
+
total_count: S.optional(S.Number),
|
|
934
|
+
}),
|
|
935
|
+
).annotate({ identifier: "ListNodeTypesResponse" });
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
function __c6(j: number): any {
|
|
939
|
+
switch (j) {
|
|
940
|
+
case 0:
|
|
941
|
+
return S.suspend(() =>
|
|
942
|
+
S.Struct({
|
|
943
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
944
|
+
deployment_id: S.String.pipe(T.Label()),
|
|
945
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
946
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
947
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
948
|
+
name: S.optional(S.String.pipe(T.Query())),
|
|
949
|
+
}).pipe(
|
|
950
|
+
T.Http({
|
|
951
|
+
method: "GET",
|
|
952
|
+
uri: "/searchdb/v1alpha1/regions/{region}/deployments/{deployment_id}/users",
|
|
953
|
+
code: 200,
|
|
954
|
+
baseUrl: "https://api.scaleway.com",
|
|
955
|
+
}),
|
|
956
|
+
),
|
|
957
|
+
).annotate({ identifier: "ListUsersRequest" });
|
|
958
|
+
case 1:
|
|
959
|
+
return S.Array(__S(96, __c12, 0));
|
|
960
|
+
case 2:
|
|
961
|
+
return S.suspend(() =>
|
|
962
|
+
S.Struct({
|
|
963
|
+
users: __S(49, __c6, 1),
|
|
964
|
+
total_count: S.optional(S.Number),
|
|
965
|
+
}),
|
|
966
|
+
).annotate({ identifier: "ListUsersResponse" });
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
function __c7(j: number): any {
|
|
970
|
+
switch (j) {
|
|
971
|
+
case 0:
|
|
972
|
+
return S.suspend(() =>
|
|
973
|
+
S.Struct({
|
|
974
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
975
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
976
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
977
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
978
|
+
version: S.optional(S.String.pipe(T.Query())),
|
|
979
|
+
}).pipe(
|
|
980
|
+
T.Http({
|
|
981
|
+
method: "GET",
|
|
982
|
+
uri: "/searchdb/v1alpha1/regions/{region}/versions",
|
|
983
|
+
code: 200,
|
|
984
|
+
baseUrl: "https://api.scaleway.com",
|
|
985
|
+
}),
|
|
986
|
+
),
|
|
987
|
+
).annotate({ identifier: "ListVersionsRequest" });
|
|
988
|
+
case 1:
|
|
989
|
+
return S.suspend(() =>
|
|
990
|
+
S.Struct({
|
|
991
|
+
version: S.optional(S.String),
|
|
992
|
+
end_of_life: S.optional(S.NullOr(S.String)),
|
|
993
|
+
disabled: S.optional(S.Boolean),
|
|
994
|
+
beta: S.optional(S.Boolean),
|
|
995
|
+
region: S.optional(S.String),
|
|
996
|
+
srn: S.optional(S.String),
|
|
997
|
+
}),
|
|
998
|
+
).annotate({ identifier: "Version" });
|
|
999
|
+
case 2:
|
|
1000
|
+
return S.Array(__S(57, __c7, 1));
|
|
1001
|
+
case 3:
|
|
1002
|
+
return S.suspend(() =>
|
|
1003
|
+
S.Struct({
|
|
1004
|
+
versions: __S(58, __c7, 2),
|
|
1005
|
+
total_count: S.optional(S.Number),
|
|
1006
|
+
}),
|
|
1007
|
+
).annotate({ identifier: "ListVersionsResponse" });
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
function __c8(j: number): any {
|
|
1011
|
+
switch (j) {
|
|
1012
|
+
case 0:
|
|
1013
|
+
return S.Array(S.Unknown);
|
|
1014
|
+
case 1:
|
|
1015
|
+
return S.suspend(() =>
|
|
1016
|
+
S.Struct({
|
|
1017
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1018
|
+
deployment_id: S.String.pipe(T.Label()),
|
|
1019
|
+
name: S.optional(S.NullOr(S.String)),
|
|
1020
|
+
tags: S.optional(S.NullOr(__S(64, __c8, 0))),
|
|
1021
|
+
}).pipe(
|
|
1022
|
+
T.Http({
|
|
1023
|
+
method: "PATCH",
|
|
1024
|
+
uri: "/searchdb/v1alpha1/regions/{region}/deployments/{deployment_id}",
|
|
1025
|
+
code: 200,
|
|
1026
|
+
baseUrl: "https://api.scaleway.com",
|
|
1027
|
+
}),
|
|
1028
|
+
),
|
|
1029
|
+
).annotate({ identifier: "UpdateDeploymentRequest" });
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
function __c9(j: number): any {
|
|
1033
|
+
switch (j) {
|
|
1034
|
+
case 0:
|
|
1035
|
+
return S.suspend(() =>
|
|
1036
|
+
S.Struct({
|
|
1037
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1038
|
+
deployment_id: S.String.pipe(T.Label()),
|
|
1039
|
+
username: S.String.pipe(T.Label()),
|
|
1040
|
+
password: S.optional(S.NullOr(S.String).pipe(T.SensitiveValue({}))),
|
|
1041
|
+
}).pipe(
|
|
1042
|
+
T.Http({
|
|
1043
|
+
method: "PATCH",
|
|
1044
|
+
uri: "/searchdb/v1alpha1/regions/{region}/deployments/{deployment_id}/users/{username}",
|
|
1045
|
+
code: 200,
|
|
1046
|
+
baseUrl: "https://api.scaleway.com",
|
|
1047
|
+
}),
|
|
1048
|
+
),
|
|
1049
|
+
).annotate({ identifier: "UpdateUserRequest" });
|
|
1050
|
+
}
|
|
1051
|
+
}
|
|
1052
|
+
function __c10(j: number): any {
|
|
1053
|
+
switch (j) {
|
|
1054
|
+
case 0:
|
|
1055
|
+
return S.suspend(() =>
|
|
1056
|
+
S.Struct({
|
|
1057
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1058
|
+
deployment_id: S.String.pipe(T.Label()),
|
|
1059
|
+
node_amount: S.optional(S.NullOr(S.Number)),
|
|
1060
|
+
node_count: S.optional(S.NullOr(S.Number)),
|
|
1061
|
+
volume_size_bytes: S.optional(S.NullOr(S.Number)),
|
|
1062
|
+
}).pipe(
|
|
1063
|
+
T.Http({
|
|
1064
|
+
method: "POST",
|
|
1065
|
+
uri: "/searchdb/v1alpha1/regions/{region}/deployments/{deployment_id}/upgrade",
|
|
1066
|
+
code: 200,
|
|
1067
|
+
baseUrl: "https://api.scaleway.com",
|
|
1068
|
+
}),
|
|
1069
|
+
),
|
|
1070
|
+
).annotate({ identifier: "UpgradeDeploymentRequest" });
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
function __c11(j: number): any {
|
|
1074
|
+
switch (j) {
|
|
1075
|
+
case 0:
|
|
1076
|
+
return S.suspend(() =>
|
|
1077
|
+
S.Struct({
|
|
1078
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1079
|
+
deployment_id: S.String.pipe(T.Label()),
|
|
1080
|
+
username: S.optional(S.String),
|
|
1081
|
+
password: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
1082
|
+
}).pipe(
|
|
1083
|
+
T.Http({
|
|
1084
|
+
method: "POST",
|
|
1085
|
+
uri: "/searchdb/v1alpha1/regions/{region}/deployments/{deployment_id}/users",
|
|
1086
|
+
code: 200,
|
|
1087
|
+
baseUrl: "https://api.scaleway.com",
|
|
1088
|
+
}),
|
|
1089
|
+
),
|
|
1090
|
+
).annotate({ identifier: "CreateUserRequest" });
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
function __c12(j: number): any {
|
|
1094
|
+
switch (j) {
|
|
1095
|
+
case 0:
|
|
1096
|
+
return S.suspend(() =>
|
|
1097
|
+
S.Struct({
|
|
1098
|
+
username: S.optional(S.String),
|
|
1099
|
+
deployment_id: S.optional(S.String),
|
|
1100
|
+
region: S.optional(S.String),
|
|
1101
|
+
srn: S.optional(S.String),
|
|
1102
|
+
}),
|
|
1103
|
+
).annotate({ identifier: "User" });
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
function __c13(j: number): any {
|
|
1107
|
+
switch (j) {
|
|
1108
|
+
case 0:
|
|
1109
|
+
return S.suspend(() =>
|
|
1110
|
+
S.Struct({
|
|
1111
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1112
|
+
deployment_id: S.String.pipe(T.Label()),
|
|
1113
|
+
}).pipe(
|
|
1114
|
+
T.Http({
|
|
1115
|
+
method: "DELETE",
|
|
1116
|
+
uri: "/searchdb/v1alpha1/regions/{region}/deployments/{deployment_id}",
|
|
1117
|
+
code: 200,
|
|
1118
|
+
baseUrl: "https://api.scaleway.com",
|
|
1119
|
+
}),
|
|
1120
|
+
),
|
|
1121
|
+
).annotate({ identifier: "DeleteDeploymentRequest" });
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
function __c14(j: number): any {
|
|
1125
|
+
switch (j) {
|
|
1126
|
+
case 0:
|
|
1127
|
+
return S.suspend(() =>
|
|
1128
|
+
S.Struct({
|
|
1129
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1130
|
+
endpoint_id: S.String.pipe(T.Label()),
|
|
1131
|
+
}).pipe(
|
|
1132
|
+
T.Http({
|
|
1133
|
+
method: "DELETE",
|
|
1134
|
+
uri: "/searchdb/v1alpha1/regions/{region}/endpoints/{endpoint_id}",
|
|
1135
|
+
code: 200,
|
|
1136
|
+
baseUrl: "https://api.scaleway.com",
|
|
1137
|
+
}),
|
|
1138
|
+
),
|
|
1139
|
+
).annotate({ identifier: "DeleteEndpointRequest" });
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
function __c15(j: number): any {
|
|
1143
|
+
switch (j) {
|
|
1144
|
+
case 0:
|
|
1145
|
+
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteEndpointResponse" });
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
function __c16(j: number): any {
|
|
1149
|
+
switch (j) {
|
|
1150
|
+
case 0:
|
|
1151
|
+
return S.suspend(() =>
|
|
1152
|
+
S.Struct({
|
|
1153
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1154
|
+
deployment_id: S.String.pipe(T.Label()),
|
|
1155
|
+
username: S.String.pipe(T.Label()),
|
|
1156
|
+
}).pipe(
|
|
1157
|
+
T.Http({
|
|
1158
|
+
method: "DELETE",
|
|
1159
|
+
uri: "/searchdb/v1alpha1/regions/{region}/deployments/{deployment_id}/users/{username}",
|
|
1160
|
+
code: 200,
|
|
1161
|
+
baseUrl: "https://api.scaleway.com",
|
|
1162
|
+
}),
|
|
1163
|
+
),
|
|
1164
|
+
).annotate({ identifier: "DeleteUserRequest" });
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
function __c17(j: number): any {
|
|
1168
|
+
switch (j) {
|
|
1169
|
+
case 0:
|
|
1170
|
+
return S.suspend(() =>
|
|
1171
|
+
S.Struct({
|
|
1172
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1173
|
+
deployment_id: S.String.pipe(T.Label()),
|
|
1174
|
+
}).pipe(
|
|
1175
|
+
T.Http({
|
|
1176
|
+
method: "GET",
|
|
1177
|
+
uri: "/searchdb/v1alpha1/regions/{region}/deployments/{deployment_id}/certificate-authority",
|
|
1178
|
+
code: 200,
|
|
1179
|
+
baseUrl: "https://api.scaleway.com",
|
|
1180
|
+
}),
|
|
1181
|
+
),
|
|
1182
|
+
).annotate({ identifier: "DownloadDeploymentCertificateAuthorityRequest" });
|
|
1183
|
+
case 1:
|
|
1184
|
+
return S.suspend(() =>
|
|
1185
|
+
S.Struct({
|
|
1186
|
+
name: S.optional(S.String),
|
|
1187
|
+
content_type: S.optional(S.String),
|
|
1188
|
+
content: S.optional(S.String),
|
|
1189
|
+
}),
|
|
1190
|
+
).annotate({ identifier: "ScalewayStdFile" });
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
function __c18(j: number): any {
|
|
1194
|
+
switch (j) {
|
|
1195
|
+
case 0:
|
|
1196
|
+
return S.suspend(() =>
|
|
1197
|
+
S.Struct({
|
|
1198
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1199
|
+
deployment_id: S.String.pipe(T.Label()),
|
|
1200
|
+
}).pipe(
|
|
1201
|
+
T.Http({
|
|
1202
|
+
method: "GET",
|
|
1203
|
+
uri: "/searchdb/v1alpha1/regions/{region}/deployments/{deployment_id}/certificate-authority",
|
|
1204
|
+
code: 200,
|
|
1205
|
+
baseUrl: "https://api.scaleway.com",
|
|
1206
|
+
rawDownload: true,
|
|
1207
|
+
}),
|
|
1208
|
+
),
|
|
1209
|
+
).annotate({ identifier: "DownloadDeploymentCertificateAuthorityRawRequest" });
|
|
1210
|
+
case 1:
|
|
1211
|
+
return S.suspend(() =>
|
|
1212
|
+
S.Struct({
|
|
1213
|
+
body: BinaryStream.pipe(T.RawResponse(), T.BinaryResponse()),
|
|
1214
|
+
contentType: S.optional(S.String.pipe(T.Header("Content-Type"))),
|
|
1215
|
+
}),
|
|
1216
|
+
).annotate({ identifier: "DownloadDeploymentCertificateAuthorityRawResponse" });
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
function __c19(j: number): any {
|
|
1220
|
+
switch (j) {
|
|
1221
|
+
case 0:
|
|
1222
|
+
return S.suspend(() =>
|
|
1223
|
+
S.Struct({
|
|
1224
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1225
|
+
deployment_id: S.String.pipe(T.Label()),
|
|
1226
|
+
}).pipe(
|
|
1227
|
+
T.Http({
|
|
1228
|
+
method: "GET",
|
|
1229
|
+
uri: "/searchdb/v1alpha1/regions/{region}/deployments/{deployment_id}",
|
|
1230
|
+
code: 200,
|
|
1231
|
+
baseUrl: "https://api.scaleway.com",
|
|
1232
|
+
}),
|
|
1233
|
+
),
|
|
1234
|
+
).annotate({ identifier: "GetDeploymentRequest" });
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
function __c20(j: number): any {
|
|
1238
|
+
switch (j) {
|
|
1239
|
+
case 0:
|
|
1240
|
+
return S.suspend(() =>
|
|
1241
|
+
S.Struct({
|
|
1242
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1243
|
+
organization_id: S.optional(S.String.pipe(T.Query())),
|
|
1244
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
1245
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
1246
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
1247
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
1248
|
+
tags: S.optional(__S(24, __c3, 0).pipe(T.Query())),
|
|
1249
|
+
name: S.optional(S.String.pipe(T.Query())),
|
|
1250
|
+
}).pipe(
|
|
1251
|
+
T.Http({
|
|
1252
|
+
method: "GET",
|
|
1253
|
+
uri: "/searchdb/v1alpha1/regions/{region}/deployments",
|
|
1254
|
+
code: 200,
|
|
1255
|
+
baseUrl: "https://api.scaleway.com",
|
|
1256
|
+
}),
|
|
1257
|
+
),
|
|
1258
|
+
).annotate({ identifier: "ListDeploymentsRequest" });
|
|
1259
|
+
case 1:
|
|
1260
|
+
return S.Array(__S(27, __c3, 3));
|
|
1261
|
+
case 2:
|
|
1262
|
+
return S.suspend(() =>
|
|
1263
|
+
S.Struct({
|
|
1264
|
+
deployments: __S(161, __c20, 1),
|
|
1265
|
+
total_count: S.optional(S.Number),
|
|
1266
|
+
}),
|
|
1267
|
+
).annotate({ identifier: "ListDeploymentsResponse" });
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
1271
|
+
function __S(i: number, f: (j: number) => unknown, j: number): any {
|
|
1272
|
+
return (__s[i] ??= __L.at(f, j));
|
|
1273
|
+
}
|