@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,698 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import { BinaryStream } from "@distilled.cloud/core/protocol-rest";
|
|
3
|
+
import type * as Redacted from "effect/Redacted";
|
|
4
|
+
import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
5
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
6
|
+
export type ApplyMaintenanceRequestRegion = "fr-par";
|
|
7
|
+
export interface ApplyMaintenanceRequest {
|
|
8
|
+
/** The region you want to target */
|
|
9
|
+
region?: ApplyMaintenanceRequestRegion | (string & {}) | undefined;
|
|
10
|
+
/** ID of the maintenance. (UUID format) */
|
|
11
|
+
maintenance_id: string;
|
|
12
|
+
}
|
|
13
|
+
export type MaintenanceStatus = "unknown_status" | "planned" | "done" | "cancelled" | "ongoing" | "error";
|
|
14
|
+
export type MaintenanceAppliedBy = "unknown_applied_by" | "user" | "admin";
|
|
15
|
+
export interface EngineUpgrade {
|
|
16
|
+
new_version_id?: string | undefined;
|
|
17
|
+
}
|
|
18
|
+
export interface ServiceUpdate {
|
|
19
|
+
service_name?: string | undefined;
|
|
20
|
+
}
|
|
21
|
+
export interface InfrastructureUpdate {
|
|
22
|
+
kubernetes_version_name?: string | undefined;
|
|
23
|
+
}
|
|
24
|
+
export interface Workflow {
|
|
25
|
+
/** Precisely one of engine_upgrade, service_update, infrastructure_update can be set. */
|
|
26
|
+
engine_upgrade?: EngineUpgrade | null | undefined;
|
|
27
|
+
/** Precisely one of engine_upgrade, service_update, infrastructure_update can be set. */
|
|
28
|
+
service_update?: ServiceUpdate | null | undefined;
|
|
29
|
+
/** Precisely one of engine_upgrade, service_update, infrastructure_update can be set. */
|
|
30
|
+
infrastructure_update?: InfrastructureUpdate | null | undefined;
|
|
31
|
+
}
|
|
32
|
+
export interface Maintenance {
|
|
33
|
+
/** ID of the maintenance. (UUID format) */
|
|
34
|
+
id?: string | undefined;
|
|
35
|
+
/** ID of the instance on which the maintenance is applied. (UUID format) */
|
|
36
|
+
instance_id?: string | undefined;
|
|
37
|
+
/** Creation date of the maintenance. (RFC 3339 format) */
|
|
38
|
+
created_at?: string | null | undefined;
|
|
39
|
+
/** Start date of the maintenance. (RFC 3339 format) */
|
|
40
|
+
starts_at?: string | null | undefined;
|
|
41
|
+
/** Stop date of the maintenance. (RFC 3339 format) */
|
|
42
|
+
stops_at?: string | null | undefined;
|
|
43
|
+
/** Current status of the maintenance. */
|
|
44
|
+
status?: MaintenanceStatus | undefined;
|
|
45
|
+
/** Forced application date of the maintenance. (RFC 3339 format) */
|
|
46
|
+
forced_at?: string | null | undefined;
|
|
47
|
+
/** Application date of the maintenance. (RFC 3339 format) */
|
|
48
|
+
applied_at?: string | null | undefined;
|
|
49
|
+
/** Usertype who launched the maintenance. */
|
|
50
|
+
applied_by?: MaintenanceAppliedBy | undefined;
|
|
51
|
+
/** Workflow to be applied during maintenance. */
|
|
52
|
+
workflow?: Workflow | undefined;
|
|
53
|
+
/** Reason of the maintenance. */
|
|
54
|
+
reason?: string | undefined;
|
|
55
|
+
/** Region of the maintenance. */
|
|
56
|
+
region?: string | undefined;
|
|
57
|
+
/** SRN of the maintenance. */
|
|
58
|
+
srn?: string | undefined;
|
|
59
|
+
}
|
|
60
|
+
export type CreateEndpointRequestRegion = "fr-par";
|
|
61
|
+
export interface EndpointSpecPrivateNetworkDetails {
|
|
62
|
+
/** UUID of the Private Network. */
|
|
63
|
+
private_network_id?: string | undefined;
|
|
64
|
+
}
|
|
65
|
+
export interface EndpointSpec {
|
|
66
|
+
/** Expose the Database Instance publicly (empty object). Precisely one of public_network, private_network can be set. */
|
|
67
|
+
public_network?: unknown | null | undefined;
|
|
68
|
+
/** Attach the Database Instance to a Private Network. Precisely one of public_network, private_network can be set. */
|
|
69
|
+
private_network?: EndpointSpecPrivateNetworkDetails | null | undefined;
|
|
70
|
+
}
|
|
71
|
+
export interface CreateEndpointRequest {
|
|
72
|
+
/** The region you want to target */
|
|
73
|
+
region?: CreateEndpointRequestRegion | (string & {}) | undefined;
|
|
74
|
+
/** UUID of the Database Instance. */
|
|
75
|
+
instance_id: string;
|
|
76
|
+
/** EndpointSpec used to expose your Database Instance. */
|
|
77
|
+
endpoint: EndpointSpec;
|
|
78
|
+
}
|
|
79
|
+
export interface EndpointPrivateNetworkDetails {
|
|
80
|
+
/** UUID of the Private Network. (UUID format) */
|
|
81
|
+
private_network_id?: string | undefined;
|
|
82
|
+
}
|
|
83
|
+
export interface Endpoint {
|
|
84
|
+
/** UUID of the endpoint. (UUID format) */
|
|
85
|
+
id?: string | undefined;
|
|
86
|
+
/** List of DNS records of the endpoint. */
|
|
87
|
+
dns_record?: string | undefined;
|
|
88
|
+
/** TCP port of the endpoint. */
|
|
89
|
+
port?: number | undefined;
|
|
90
|
+
/** Private Network endpoint details. Precisely one of private_network, public_network can be set. */
|
|
91
|
+
private_network?: EndpointPrivateNetworkDetails | null | undefined;
|
|
92
|
+
/** Public Network endpoint details. Precisely one of private_network, public_network can be set. */
|
|
93
|
+
public_network?: unknown | null | undefined;
|
|
94
|
+
}
|
|
95
|
+
export type CreateInstanceRequestRegion = "fr-par";
|
|
96
|
+
/** Tags to apply to the Database Instance. */
|
|
97
|
+
export type CreateInstanceRequestTagsList = Array<string>;
|
|
98
|
+
export type VolumeType = "unknown_type" | "sbs_5k" | "sbs_15k";
|
|
99
|
+
export interface Volume {
|
|
100
|
+
/** Type of volume where data is stored. */
|
|
101
|
+
type?: VolumeType | (string & {}) | undefined;
|
|
102
|
+
/** Volume size. (in bytes) */
|
|
103
|
+
size_bytes?: number | undefined;
|
|
104
|
+
}
|
|
105
|
+
/** One or multiple EndpointSpec used to expose your Database Instance. */
|
|
106
|
+
export type CreateInstanceRequestEndpointsList = Array<EndpointSpec>;
|
|
107
|
+
export interface CreateInstanceRequest {
|
|
108
|
+
/** The region you want to target */
|
|
109
|
+
region?: CreateInstanceRequestRegion | (string & {}) | undefined;
|
|
110
|
+
/** The Project ID on which the Database Instance will be created. */
|
|
111
|
+
project_id?: string | undefined;
|
|
112
|
+
/** Name of the Database Instance. */
|
|
113
|
+
name?: string | undefined;
|
|
114
|
+
/** Major version of the MongoDB® engine. */
|
|
115
|
+
version: string;
|
|
116
|
+
/** Tags to apply to the Database Instance. */
|
|
117
|
+
tags?: CreateInstanceRequestTagsList | undefined;
|
|
118
|
+
/** Number of node to use for the Database Instance. */
|
|
119
|
+
node_amount: number;
|
|
120
|
+
/** Type of node to use for the Database Instance. */
|
|
121
|
+
node_type: string;
|
|
122
|
+
/** Username created when the Database Instance is created. */
|
|
123
|
+
user_name: string;
|
|
124
|
+
/** Password of the initial user. */
|
|
125
|
+
password: string | Redacted.Redacted<string>;
|
|
126
|
+
/** Instance volume information. */
|
|
127
|
+
volume?: Volume | undefined;
|
|
128
|
+
/** One or multiple EndpointSpec used to expose your Database Instance. */
|
|
129
|
+
endpoints?: CreateInstanceRequestEndpointsList | undefined;
|
|
130
|
+
}
|
|
131
|
+
export type InstanceStatus = "unknown_status" | "ready" | "provisioning" | "configuring" | "deleting" | "error" | "initializing" | "locked" | "snapshotting";
|
|
132
|
+
/** List of tags applied to the Database Instance. */
|
|
133
|
+
export type InstanceTagsList = Array<string>;
|
|
134
|
+
/** List of Database Instance endpoints. */
|
|
135
|
+
export type InstanceEndpointsList = Array<Endpoint>;
|
|
136
|
+
export interface InstanceSnapshotSchedule {
|
|
137
|
+
frequency_hours?: number | undefined;
|
|
138
|
+
retention_days?: number | undefined;
|
|
139
|
+
enabled?: boolean | undefined;
|
|
140
|
+
/** (RFC 3339 format) */
|
|
141
|
+
next_update?: string | null | undefined;
|
|
142
|
+
/** (RFC 3339 format) */
|
|
143
|
+
last_run?: string | null | undefined;
|
|
144
|
+
}
|
|
145
|
+
export interface InstanceSetting {
|
|
146
|
+
name?: string | undefined;
|
|
147
|
+
value?: string | undefined;
|
|
148
|
+
}
|
|
149
|
+
/** List of settings applied to the Database Instance. */
|
|
150
|
+
export type InstanceSettingsList = Array<InstanceSetting>;
|
|
151
|
+
/** List of pending maintenances applicable to the Database Instance. */
|
|
152
|
+
export type InstanceMaintenancesList = Array<Maintenance>;
|
|
153
|
+
/** List of MongoDB® versions the Database Instance can be upgraded to. */
|
|
154
|
+
export type InstanceUpgradableVersionsList = Array<string>;
|
|
155
|
+
export interface Instance {
|
|
156
|
+
/** UUID of the Database Instance. (UUID format) */
|
|
157
|
+
id?: string | undefined;
|
|
158
|
+
/** Name of the Database Instance. */
|
|
159
|
+
name?: string | undefined;
|
|
160
|
+
/** Project ID the Database Instance belongs to. (UUID format) */
|
|
161
|
+
project_id?: string | undefined;
|
|
162
|
+
/** Organization ID the Database Instance belongs to. (UUID format) */
|
|
163
|
+
organization_id?: string | undefined;
|
|
164
|
+
/** Status of the Database Instance. */
|
|
165
|
+
status?: InstanceStatus | undefined;
|
|
166
|
+
/** MongoDB® major engine version of the Database Instance. */
|
|
167
|
+
version?: string | undefined;
|
|
168
|
+
/** List of tags applied to the Database Instance. */
|
|
169
|
+
tags?: InstanceTagsList | undefined;
|
|
170
|
+
/** Number of node in the Database Instance. */
|
|
171
|
+
node_amount?: number | undefined;
|
|
172
|
+
/** Node type of the Database Instance. */
|
|
173
|
+
node_type?: string | undefined;
|
|
174
|
+
/** Volumes of the Database Instance. */
|
|
175
|
+
volume?: Volume | undefined;
|
|
176
|
+
/** List of Database Instance endpoints. */
|
|
177
|
+
endpoints?: InstanceEndpointsList | undefined;
|
|
178
|
+
/** Creation date (must follow the ISO 8601 format). (RFC 3339 format) */
|
|
179
|
+
created_at?: string | null | undefined;
|
|
180
|
+
/** Region the Database Instance is in. */
|
|
181
|
+
region?: string | undefined;
|
|
182
|
+
/** Snapshot schedule configuration of the Database Instance. */
|
|
183
|
+
snapshot_schedule?: InstanceSnapshotSchedule | undefined;
|
|
184
|
+
/** List of settings applied to the Database Instance. */
|
|
185
|
+
settings?: InstanceSettingsList | undefined;
|
|
186
|
+
/** List of pending maintenances applicable to the Database Instance. */
|
|
187
|
+
maintenances?: InstanceMaintenancesList | undefined;
|
|
188
|
+
/** List of MongoDB® versions the Database Instance can be upgraded to. */
|
|
189
|
+
upgradable_versions?: InstanceUpgradableVersionsList | undefined;
|
|
190
|
+
/** Scaleway Resource Name of the Database Instance. */
|
|
191
|
+
srn?: string | undefined;
|
|
192
|
+
}
|
|
193
|
+
export type CreateSnapshotRequestRegion = "fr-par";
|
|
194
|
+
export interface CreateSnapshotRequest {
|
|
195
|
+
/** The region you want to target */
|
|
196
|
+
region?: CreateSnapshotRequestRegion | (string & {}) | undefined;
|
|
197
|
+
/** UUID of the Database Instance to snapshot. */
|
|
198
|
+
instance_id: string;
|
|
199
|
+
/** Name of the snapshot. */
|
|
200
|
+
name?: string | undefined;
|
|
201
|
+
/** Expiration date of the snapshot (must follow the ISO 8601 format). (RFC 3339 format) */
|
|
202
|
+
expires_at?: string | null | undefined;
|
|
203
|
+
}
|
|
204
|
+
export type SnapshotStatus = "unknown_status" | "creating" | "ready" | "restoring" | "deleting" | "error" | "locked";
|
|
205
|
+
export interface Snapshot {
|
|
206
|
+
/** UUID of the snapshot. (UUID format) */
|
|
207
|
+
id?: string | undefined;
|
|
208
|
+
/** UUID of the Database Instance. (UUID format) */
|
|
209
|
+
instance_id?: string | null | undefined;
|
|
210
|
+
/** Name of the snapshot. */
|
|
211
|
+
name?: string | undefined;
|
|
212
|
+
/** Status of the snapshot. */
|
|
213
|
+
status?: SnapshotStatus | undefined;
|
|
214
|
+
/** Size of the snapshot. (in bytes) */
|
|
215
|
+
size_bytes?: number | undefined;
|
|
216
|
+
/** Expiration date (must follow the ISO 8601 format). (RFC 3339 format) */
|
|
217
|
+
expires_at?: string | null | undefined;
|
|
218
|
+
/** Creation date (must follow the ISO 8601 format). (RFC 3339 format) */
|
|
219
|
+
created_at?: string | null | undefined;
|
|
220
|
+
/** Updated date (must follow the ISO 8601 format). (RFC 3339 format) */
|
|
221
|
+
updated_at?: string | null | undefined;
|
|
222
|
+
/** Name of the Database Instance of the snapshot. */
|
|
223
|
+
instance_name?: string | undefined;
|
|
224
|
+
/** Source node type. */
|
|
225
|
+
node_type?: string | undefined;
|
|
226
|
+
/** Type of volume where data is stored - sbs_5k or sbs_15k. */
|
|
227
|
+
volume_type?: VolumeType | undefined;
|
|
228
|
+
/** Region of the snapshot. */
|
|
229
|
+
region?: string | undefined;
|
|
230
|
+
/** Scaleway Resource Name of the snapshot. */
|
|
231
|
+
srn?: string | undefined;
|
|
232
|
+
}
|
|
233
|
+
export type CreateUserRequestRegion = "fr-par";
|
|
234
|
+
export interface CreateUserRequest {
|
|
235
|
+
/** The region you want to target */
|
|
236
|
+
region?: CreateUserRequestRegion | (string & {}) | undefined;
|
|
237
|
+
/** UUID of the Database Instance the user belongs to. */
|
|
238
|
+
instance_id: string;
|
|
239
|
+
/** Name of the database user. */
|
|
240
|
+
name?: string | undefined;
|
|
241
|
+
/** Password of the database user. */
|
|
242
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
243
|
+
}
|
|
244
|
+
export type UserRoleRole = "unknown_role" | "read" | "read_write" | "db_admin" | "sync";
|
|
245
|
+
export interface UserRole {
|
|
246
|
+
/** Name of the preset role. */
|
|
247
|
+
role?: UserRoleRole | (string & {}) | undefined;
|
|
248
|
+
/** Name of the database on which the preset role will be used. Precisely one of database_name, any_database can be set. */
|
|
249
|
+
database_name?: string | null | undefined;
|
|
250
|
+
/** Flag to enable the preset role in all databases. Precisely one of database_name, any_database can be set. */
|
|
251
|
+
any_database?: boolean | null | undefined;
|
|
252
|
+
}
|
|
253
|
+
/** List of roles assigned to the user, along with the corresponding database where each role is granted. */
|
|
254
|
+
export type UserRolesList = Array<UserRole>;
|
|
255
|
+
export interface User {
|
|
256
|
+
/** Name of the user (Length must be between 1 and 63 characters. First character must be an alphabet character (a-zA-Z). Only a-zA-Z0-9_$- characters are accepted). */
|
|
257
|
+
name?: string | undefined;
|
|
258
|
+
/** List of roles assigned to the user, along with the corresponding database where each role is granted. */
|
|
259
|
+
roles?: UserRolesList | undefined;
|
|
260
|
+
}
|
|
261
|
+
export type DeleteEndpointRequestRegion = "fr-par";
|
|
262
|
+
export interface DeleteEndpointRequest {
|
|
263
|
+
/** The region you want to target */
|
|
264
|
+
region?: DeleteEndpointRequestRegion | (string & {}) | undefined;
|
|
265
|
+
/** UUID of the Endpoint to delete. */
|
|
266
|
+
endpoint_id: string;
|
|
267
|
+
}
|
|
268
|
+
export interface DeleteEndpointResponse {
|
|
269
|
+
}
|
|
270
|
+
export type DeleteInstanceRequestRegion = "fr-par";
|
|
271
|
+
export interface DeleteInstanceRequest {
|
|
272
|
+
/** The region you want to target */
|
|
273
|
+
region?: DeleteInstanceRequestRegion | (string & {}) | undefined;
|
|
274
|
+
/** UUID of the Database Instance to delete. */
|
|
275
|
+
instance_id: string;
|
|
276
|
+
}
|
|
277
|
+
export type DeleteSnapshotRequestRegion = "fr-par";
|
|
278
|
+
export interface DeleteSnapshotRequest {
|
|
279
|
+
/** The region you want to target */
|
|
280
|
+
region?: DeleteSnapshotRequestRegion | (string & {}) | undefined;
|
|
281
|
+
/** UUID of the snapshot. */
|
|
282
|
+
snapshot_id: string;
|
|
283
|
+
}
|
|
284
|
+
export type DeleteUserRequestRegion = "fr-par";
|
|
285
|
+
export interface DeleteUserRequest {
|
|
286
|
+
/** The region you want to target */
|
|
287
|
+
region?: DeleteUserRequestRegion | (string & {}) | undefined;
|
|
288
|
+
/** UUID of the Database Instance the user belongs to. */
|
|
289
|
+
instance_id: string;
|
|
290
|
+
/** Name of the database user. */
|
|
291
|
+
name: string;
|
|
292
|
+
}
|
|
293
|
+
export interface DeleteUserResponse {
|
|
294
|
+
}
|
|
295
|
+
export type GetInstanceRequestRegion = "fr-par";
|
|
296
|
+
export interface GetInstanceRequest {
|
|
297
|
+
/** The region you want to target */
|
|
298
|
+
region?: GetInstanceRequestRegion | (string & {}) | undefined;
|
|
299
|
+
/** UUID of the Database Instance. */
|
|
300
|
+
instance_id: string;
|
|
301
|
+
}
|
|
302
|
+
export type GetInstanceCertificateRequestRegion = "fr-par";
|
|
303
|
+
export interface GetInstanceCertificateRequest {
|
|
304
|
+
/** The region you want to target */
|
|
305
|
+
region?: GetInstanceCertificateRequestRegion | (string & {}) | undefined;
|
|
306
|
+
/** UUID of the Database Instance. */
|
|
307
|
+
instance_id: string;
|
|
308
|
+
}
|
|
309
|
+
export interface ScalewayStdFile {
|
|
310
|
+
name?: string | undefined;
|
|
311
|
+
content_type?: string | undefined;
|
|
312
|
+
content?: string | undefined;
|
|
313
|
+
}
|
|
314
|
+
export interface GetInstanceCertificateRawRequest {
|
|
315
|
+
/** The region you want to target */
|
|
316
|
+
region?: GetInstanceCertificateRequestRegion | (string & {}) | undefined;
|
|
317
|
+
/** UUID of the Database Instance. */
|
|
318
|
+
instance_id: string;
|
|
319
|
+
}
|
|
320
|
+
export interface GetInstanceCertificateRawResponse {
|
|
321
|
+
body: BinaryStream;
|
|
322
|
+
/** Media type of the body, from the response's `Content-Type` header (e.g. `image/jpeg`). */
|
|
323
|
+
contentType?: string | undefined;
|
|
324
|
+
}
|
|
325
|
+
export type GetMaintenanceRequestRegion = "fr-par";
|
|
326
|
+
export interface GetMaintenanceRequest {
|
|
327
|
+
/** The region you want to target */
|
|
328
|
+
region?: GetMaintenanceRequestRegion | (string & {}) | undefined;
|
|
329
|
+
/** ID of the maintenance. (UUID format) */
|
|
330
|
+
maintenance_id: string;
|
|
331
|
+
}
|
|
332
|
+
export type GetSnapshotRequestRegion = "fr-par";
|
|
333
|
+
export interface GetSnapshotRequest {
|
|
334
|
+
/** The region you want to target */
|
|
335
|
+
region?: GetSnapshotRequestRegion | (string & {}) | undefined;
|
|
336
|
+
/** UUID of the snapshot. */
|
|
337
|
+
snapshot_id: string;
|
|
338
|
+
}
|
|
339
|
+
export type ListDatabasesRequestRegion = "fr-par";
|
|
340
|
+
export type ListDatabasesRequestOrderBy = "name_asc" | "name_desc";
|
|
341
|
+
export interface ListDatabasesRequest {
|
|
342
|
+
/** The region you want to target */
|
|
343
|
+
region?: ListDatabasesRequestRegion | (string & {}) | undefined;
|
|
344
|
+
/** UUID of the Database Instance. */
|
|
345
|
+
instance_id: string;
|
|
346
|
+
/** Criteria to use when requesting user listing. */
|
|
347
|
+
order_by?: ListDatabasesRequestOrderBy | (string & {}) | undefined;
|
|
348
|
+
page?: number | undefined;
|
|
349
|
+
page_size?: number | undefined;
|
|
350
|
+
}
|
|
351
|
+
export interface Database {
|
|
352
|
+
name?: string | undefined;
|
|
353
|
+
}
|
|
354
|
+
/** List of the databases. */
|
|
355
|
+
export type ListDatabasesResponseDatabasesList = Array<Database>;
|
|
356
|
+
export interface ListDatabasesResponse {
|
|
357
|
+
/** List of the databases. */
|
|
358
|
+
databases: ListDatabasesResponseDatabasesList;
|
|
359
|
+
/** Total count of databases present on a Database Instance. */
|
|
360
|
+
total_count?: number | undefined;
|
|
361
|
+
}
|
|
362
|
+
export type ListInstancesRequestRegion = "fr-par";
|
|
363
|
+
export type ListInstancesRequestTagsList = Array<string>;
|
|
364
|
+
export type ListInstancesRequestOrderBy = "created_at_asc" | "created_at_desc" | "name_asc" | "name_desc" | "status_asc" | "status_desc";
|
|
365
|
+
export interface ListInstancesRequest {
|
|
366
|
+
/** The region you want to target */
|
|
367
|
+
region?: ListInstancesRequestRegion | (string & {}) | undefined;
|
|
368
|
+
/** List Database Instances that have a given tag. */
|
|
369
|
+
tags?: ListInstancesRequestTagsList | undefined;
|
|
370
|
+
/** Lists Database Instances that match a name pattern. */
|
|
371
|
+
name?: string | undefined;
|
|
372
|
+
/** Criteria to use when ordering Database Instance listings. */
|
|
373
|
+
order_by?: ListInstancesRequestOrderBy | (string & {}) | undefined;
|
|
374
|
+
/** Organization ID of the Database Instance. */
|
|
375
|
+
organization_id?: string | undefined;
|
|
376
|
+
/** Project ID to list the instances of. */
|
|
377
|
+
project_id?: string | undefined;
|
|
378
|
+
/** Retrieve pending maintenances for the database instances if given. */
|
|
379
|
+
has_maintenance?: boolean | undefined;
|
|
380
|
+
page?: number | undefined;
|
|
381
|
+
page_size?: number | undefined;
|
|
382
|
+
}
|
|
383
|
+
/** List of all Database Instances available in an Organization or Project. */
|
|
384
|
+
export type ListInstancesResponseInstancesList = Array<Instance>;
|
|
385
|
+
export interface ListInstancesResponse {
|
|
386
|
+
/** List of all Database Instances available in an Organization or Project. */
|
|
387
|
+
instances: ListInstancesResponseInstancesList;
|
|
388
|
+
/** Total count of Database Instances available in an Organization or Project. */
|
|
389
|
+
total_count?: number | undefined;
|
|
390
|
+
}
|
|
391
|
+
export type ListMaintenancesRequestRegion = "fr-par";
|
|
392
|
+
export type ListMaintenancesRequestOrderBy = "created_at_asc" | "created_at_desc" | "starts_at_asc" | "starts_at_desc" | "stops_at_asc" | "stops_at_desc";
|
|
393
|
+
export interface ListMaintenancesRequest {
|
|
394
|
+
/** The region you want to target */
|
|
395
|
+
region?: ListMaintenancesRequestRegion | (string & {}) | undefined;
|
|
396
|
+
/** ID of the instance. (UUID format) */
|
|
397
|
+
instance_id: string;
|
|
398
|
+
/** Criteria to use when requesting user listing. */
|
|
399
|
+
order_by?: ListMaintenancesRequestOrderBy | (string & {}) | undefined;
|
|
400
|
+
page?: number | undefined;
|
|
401
|
+
page_size?: number | undefined;
|
|
402
|
+
}
|
|
403
|
+
/** List of maintenances of a MongoDB© instance. */
|
|
404
|
+
export type ListMaintenancesResponseMaintenancesList = Array<Maintenance>;
|
|
405
|
+
export interface ListMaintenancesResponse {
|
|
406
|
+
/** List of maintenances of a MongoDB© instance. */
|
|
407
|
+
maintenances: ListMaintenancesResponseMaintenancesList;
|
|
408
|
+
/** Total count of maintenances of a MongoDB© instance. */
|
|
409
|
+
total_count?: number | undefined;
|
|
410
|
+
}
|
|
411
|
+
export type ListNodeTypesRequestRegion = "fr-par";
|
|
412
|
+
export interface ListNodeTypesRequest {
|
|
413
|
+
/** The region you want to target */
|
|
414
|
+
region?: ListNodeTypesRequestRegion | (string & {}) | undefined;
|
|
415
|
+
/** Defines whether or not to include disabled types. */
|
|
416
|
+
include_disabled?: boolean | undefined;
|
|
417
|
+
page?: number | undefined;
|
|
418
|
+
page_size?: number | undefined;
|
|
419
|
+
/** ID of a project to get a personalized view of the stock. (UUID format) */
|
|
420
|
+
project_id?: string | undefined;
|
|
421
|
+
}
|
|
422
|
+
export type NodeTypeStock = "unknown_stock" | "low_stock" | "out_of_stock" | "available";
|
|
423
|
+
export interface NodeTypeVolumeType {
|
|
424
|
+
/** Volume Type. */
|
|
425
|
+
type?: VolumeType | undefined;
|
|
426
|
+
/** The description of the volume. */
|
|
427
|
+
description?: string | undefined;
|
|
428
|
+
/** Minimum size required for the volume. (in bytes) */
|
|
429
|
+
min_size_bytes?: number | undefined;
|
|
430
|
+
/** Maximum size required for the volume. (in bytes) */
|
|
431
|
+
max_size_bytes?: number | undefined;
|
|
432
|
+
/** Minimum increment level for a Block Storage volume size. (in bytes) */
|
|
433
|
+
chunk_size_bytes?: number | undefined;
|
|
434
|
+
}
|
|
435
|
+
/** Available storage options for the node type. */
|
|
436
|
+
export type NodeTypeAvailableVolumeTypesList = Array<NodeTypeVolumeType>;
|
|
437
|
+
export interface NodeType {
|
|
438
|
+
/** Node type name identifier. */
|
|
439
|
+
name?: string | undefined;
|
|
440
|
+
/** Current stock status for the node type. */
|
|
441
|
+
stock_status?: NodeTypeStock | undefined;
|
|
442
|
+
/** Current specs of the offer. */
|
|
443
|
+
description?: string | undefined;
|
|
444
|
+
/** Number of virtual CPUs. */
|
|
445
|
+
vcpus?: number | undefined;
|
|
446
|
+
/** Quantity of RAM. (in bytes) */
|
|
447
|
+
memory_bytes?: number | undefined;
|
|
448
|
+
/** Available storage options for the node type. */
|
|
449
|
+
available_volume_types?: NodeTypeAvailableVolumeTypesList | undefined;
|
|
450
|
+
/** The node type is currently disabled. */
|
|
451
|
+
disabled?: boolean | undefined;
|
|
452
|
+
/** The node type is currently in beta. */
|
|
453
|
+
beta?: boolean | undefined;
|
|
454
|
+
/** Instance range associated with the node type offer. */
|
|
455
|
+
instance_range?: string | undefined;
|
|
456
|
+
}
|
|
457
|
+
/** Types of the node. */
|
|
458
|
+
export type ListNodeTypesResponseNodeTypesList = Array<NodeType>;
|
|
459
|
+
export interface ListNodeTypesResponse {
|
|
460
|
+
/** Types of the node. */
|
|
461
|
+
node_types: ListNodeTypesResponseNodeTypesList;
|
|
462
|
+
/** Total count of node-types available. */
|
|
463
|
+
total_count?: number | undefined;
|
|
464
|
+
}
|
|
465
|
+
export type ListSnapshotsRequestRegion = "fr-par";
|
|
466
|
+
export type ListSnapshotsRequestOrderBy = "created_at_asc" | "created_at_desc" | "name_asc" | "name_desc" | "expires_at_asc" | "expires_at_desc";
|
|
467
|
+
export interface ListSnapshotsRequest {
|
|
468
|
+
/** The region you want to target */
|
|
469
|
+
region?: ListSnapshotsRequestRegion | (string & {}) | undefined;
|
|
470
|
+
/** Instance ID the snapshots belongs to. */
|
|
471
|
+
instance_id?: string | undefined;
|
|
472
|
+
/** Lists database snapshots that match a name pattern. */
|
|
473
|
+
name?: string | undefined;
|
|
474
|
+
/** Criteria to use when ordering snapshot listings. */
|
|
475
|
+
order_by?: ListSnapshotsRequestOrderBy | (string & {}) | undefined;
|
|
476
|
+
/** Organization ID the snapshots belongs to. */
|
|
477
|
+
organization_id?: string | undefined;
|
|
478
|
+
/** Project ID to list the snapshots of. */
|
|
479
|
+
project_id?: string | undefined;
|
|
480
|
+
page?: number | undefined;
|
|
481
|
+
page_size?: number | undefined;
|
|
482
|
+
}
|
|
483
|
+
/** List of all database snapshots available in an Organization or Project. */
|
|
484
|
+
export type ListSnapshotsResponseSnapshotsList = Array<Snapshot>;
|
|
485
|
+
export interface ListSnapshotsResponse {
|
|
486
|
+
/** List of all database snapshots available in an Organization or Project. */
|
|
487
|
+
snapshots: ListSnapshotsResponseSnapshotsList;
|
|
488
|
+
/** Total count of database snapshots available in a Organization or Project. */
|
|
489
|
+
total_count?: number | undefined;
|
|
490
|
+
}
|
|
491
|
+
export type ListUsersRequestRegion = "fr-par";
|
|
492
|
+
export type ListUsersRequestOrderBy = "name_asc" | "name_desc";
|
|
493
|
+
export interface ListUsersRequest {
|
|
494
|
+
/** The region you want to target */
|
|
495
|
+
region?: ListUsersRequestRegion | (string & {}) | undefined;
|
|
496
|
+
/** UUID of the Database Instance. */
|
|
497
|
+
instance_id: string;
|
|
498
|
+
/** Name of the user. */
|
|
499
|
+
name?: string | undefined;
|
|
500
|
+
/** Criteria to use when requesting user listing. */
|
|
501
|
+
order_by?: ListUsersRequestOrderBy | (string & {}) | undefined;
|
|
502
|
+
page?: number | undefined;
|
|
503
|
+
page_size?: number | undefined;
|
|
504
|
+
}
|
|
505
|
+
/** List of users in a Database Instance. */
|
|
506
|
+
export type ListUsersResponseUsersList = Array<User>;
|
|
507
|
+
export interface ListUsersResponse {
|
|
508
|
+
/** List of users in a Database Instance. */
|
|
509
|
+
users: ListUsersResponseUsersList;
|
|
510
|
+
/** Total count of users present on a Database Instance. */
|
|
511
|
+
total_count?: number | undefined;
|
|
512
|
+
}
|
|
513
|
+
export type ListVersionsRequestRegion = "fr-par";
|
|
514
|
+
export interface ListVersionsRequest {
|
|
515
|
+
/** The region you want to target */
|
|
516
|
+
region?: ListVersionsRequestRegion | (string & {}) | undefined;
|
|
517
|
+
version?: string | undefined;
|
|
518
|
+
page?: number | undefined;
|
|
519
|
+
page_size?: number | undefined;
|
|
520
|
+
}
|
|
521
|
+
export interface Version {
|
|
522
|
+
/** MongoDB® major engine version. */
|
|
523
|
+
version?: string | undefined;
|
|
524
|
+
/** Date of End of Life. (RFC 3339 format) */
|
|
525
|
+
end_of_life_at?: string | null | undefined;
|
|
526
|
+
/** Date of Release. (RFC 3339 format) */
|
|
527
|
+
released_at?: string | null | undefined;
|
|
528
|
+
}
|
|
529
|
+
/** Available MongoDB® major engine version. */
|
|
530
|
+
export type ListVersionsResponseVersionsList = Array<Version>;
|
|
531
|
+
export interface ListVersionsResponse {
|
|
532
|
+
/** Available MongoDB® major engine version. */
|
|
533
|
+
versions: ListVersionsResponseVersionsList;
|
|
534
|
+
/** Total count of MongoDB® major engine version available. */
|
|
535
|
+
total_count?: number | undefined;
|
|
536
|
+
}
|
|
537
|
+
export type RestoreSnapshotRequestRegion = "fr-par";
|
|
538
|
+
export interface RestoreSnapshotRequest {
|
|
539
|
+
/** The region you want to target */
|
|
540
|
+
region?: RestoreSnapshotRequestRegion | (string & {}) | undefined;
|
|
541
|
+
/** UUID of the snapshot. */
|
|
542
|
+
snapshot_id: string;
|
|
543
|
+
/** Name of the new Database Instance. */
|
|
544
|
+
instance_name: string;
|
|
545
|
+
/** Node type to use for the new Database Instance. */
|
|
546
|
+
node_type: string;
|
|
547
|
+
/** Number of nodes to use for the new Database Instance. */
|
|
548
|
+
node_amount: number;
|
|
549
|
+
/** Instance volume type. */
|
|
550
|
+
volume_type: VolumeType | (string & {});
|
|
551
|
+
}
|
|
552
|
+
export type SetUserRoleRequestRegion = "fr-par";
|
|
553
|
+
/** List of roles assigned to the user, along with the corresponding database where each role is granted. */
|
|
554
|
+
export type SetUserRoleRequestRolesList = Array<UserRole>;
|
|
555
|
+
export interface SetUserRoleRequest {
|
|
556
|
+
/** The region you want to target */
|
|
557
|
+
region?: SetUserRoleRequestRegion | (string & {}) | undefined;
|
|
558
|
+
/** UUID of the Database Instance the user belongs to. */
|
|
559
|
+
instance_id: string;
|
|
560
|
+
/** Name of the database user. */
|
|
561
|
+
user_name?: string | undefined;
|
|
562
|
+
/** List of roles assigned to the user, along with the corresponding database where each role is granted. */
|
|
563
|
+
roles?: SetUserRoleRequestRolesList | undefined;
|
|
564
|
+
}
|
|
565
|
+
export type UpdateInstanceRequestRegion = "fr-par";
|
|
566
|
+
/** Tags of a Database Instance. */
|
|
567
|
+
export type UpdateInstanceRequestTagsList = Array<unknown>;
|
|
568
|
+
export interface UpdateInstanceRequest {
|
|
569
|
+
/** The region you want to target */
|
|
570
|
+
region?: UpdateInstanceRequestRegion | (string & {}) | undefined;
|
|
571
|
+
/** UUID of the Database Instance to update. */
|
|
572
|
+
instance_id: string;
|
|
573
|
+
/** Name of the Database Instance. */
|
|
574
|
+
name?: string | null | undefined;
|
|
575
|
+
/** Tags of a Database Instance. */
|
|
576
|
+
tags?: UpdateInstanceRequestTagsList | null | undefined;
|
|
577
|
+
/** In hours. */
|
|
578
|
+
snapshot_schedule_frequency_hours?: number | null | undefined;
|
|
579
|
+
/** In days. */
|
|
580
|
+
snapshot_schedule_retention_days?: number | null | undefined;
|
|
581
|
+
/** Defines whether or not the snapshot schedule is enabled. */
|
|
582
|
+
is_snapshot_schedule_enabled?: boolean | null | undefined;
|
|
583
|
+
}
|
|
584
|
+
export type UpdateSnapshotRequestRegion = "fr-par";
|
|
585
|
+
export interface UpdateSnapshotRequest {
|
|
586
|
+
/** The region you want to target */
|
|
587
|
+
region?: UpdateSnapshotRequestRegion | (string & {}) | undefined;
|
|
588
|
+
/** UUID of the Snapshot. */
|
|
589
|
+
snapshot_id: string;
|
|
590
|
+
/** Name of the snapshot. */
|
|
591
|
+
name?: string | null | undefined;
|
|
592
|
+
/** Expiration date of the snapshot (must follow the ISO 8601 format). (RFC 3339 format) */
|
|
593
|
+
expires_at?: string | null | undefined;
|
|
594
|
+
}
|
|
595
|
+
export type UpdateUserRequestRegion = "fr-par";
|
|
596
|
+
export interface UpdateUserRequest {
|
|
597
|
+
/** The region you want to target */
|
|
598
|
+
region?: UpdateUserRequestRegion | (string & {}) | undefined;
|
|
599
|
+
/** UUID of the Database Instance the user belongs to. */
|
|
600
|
+
instance_id: string;
|
|
601
|
+
/** Name of the database user. */
|
|
602
|
+
name: string;
|
|
603
|
+
/** Password of the database user. */
|
|
604
|
+
password?: string | Redacted.Redacted<string> | null | undefined;
|
|
605
|
+
}
|
|
606
|
+
export type UpgradeInstanceRequestRegion = "fr-par";
|
|
607
|
+
export interface UpgradeInstanceRequest {
|
|
608
|
+
/** The region you want to target */
|
|
609
|
+
region?: UpgradeInstanceRequestRegion | (string & {}) | undefined;
|
|
610
|
+
/** UUID of the Database Instance you want to upgrade. (UUID format) */
|
|
611
|
+
instance_id: string;
|
|
612
|
+
/** Increase your Block Storage volume size. (in bytes) Precisely one of volume_size_bytes, version can be set. */
|
|
613
|
+
volume_size_bytes?: number | null | undefined;
|
|
614
|
+
/** MongoDB version to upgrade to (e.g., `8.0`, `7.0`, `8.2`). Precisely one of volume_size_bytes, version can be set. */
|
|
615
|
+
version?: string | null | undefined;
|
|
616
|
+
}
|
|
617
|
+
export type ApplyMaintenanceError = ScalewayOpError;
|
|
618
|
+
/** Apply a maintenance of a MongoDB® Database Instance. */
|
|
619
|
+
export declare const applyMaintenance: API.OperationMethod<ApplyMaintenanceRequest, Maintenance, ApplyMaintenanceError, ScalewayOpContext>;
|
|
620
|
+
export type CreateEndpointError = ScalewayOpError;
|
|
621
|
+
/** Create a new Instance endpoint Create a new endpoint for a MongoDB® Database Instance. You can add `public_network` or `private_network` specifications to the body of the request. */
|
|
622
|
+
export declare const createEndpoint: API.OperationMethod<CreateEndpointRequest, Endpoint, CreateEndpointError, ScalewayOpContext>;
|
|
623
|
+
export type CreateInstanceError = ScalewayOpError;
|
|
624
|
+
/** Create a MongoDB® Database Instance Create a new MongoDB® Database Instance. */
|
|
625
|
+
export declare const createInstance: API.OperationMethod<CreateInstanceRequest, Instance, CreateInstanceError, ScalewayOpContext>;
|
|
626
|
+
export type CreateSnapshotError = ScalewayOpError;
|
|
627
|
+
/** Create a Database Instance snapshot Create a new snapshot of a Database Instance. You must define the `name` and `instance_id` parameters in the request. */
|
|
628
|
+
export declare const createSnapshot: API.OperationMethod<CreateSnapshotRequest, Snapshot, CreateSnapshotError, ScalewayOpContext>;
|
|
629
|
+
export type CreateUserError = ScalewayOpError;
|
|
630
|
+
/** Create an user on a Database Instance Create an user on a Database Instance. You must define the `name`, `password` of the user and `instance_id` parameters in the request. */
|
|
631
|
+
export declare const createUser: API.OperationMethod<CreateUserRequest, User, CreateUserError, ScalewayOpContext>;
|
|
632
|
+
export type DeleteEndpointError = ScalewayOpError;
|
|
633
|
+
/** Delete a Database Instance endpoint Delete the endpoint of a Database Instance. You must specify the `endpoint_id` parameter of the endpoint you want to delete. Note that you might need to update any environment configurations that point to the deleted endpoint. */
|
|
634
|
+
export declare const deleteEndpoint: API.OperationMethod<DeleteEndpointRequest, DeleteEndpointResponse, DeleteEndpointError, ScalewayOpContext>;
|
|
635
|
+
export type DeleteInstanceError = ScalewayOpError;
|
|
636
|
+
/** Delete a MongoDB® Database Instance Delete a given MongoDB® Database Instance, specified by the `region` and `instance_id` parameters. Deleting a MongoDB® Database Instance is permanent, and cannot be undone. Note that upon deletion all your data will be lost. */
|
|
637
|
+
export declare const deleteInstance: API.OperationMethod<DeleteInstanceRequest, Instance, DeleteInstanceError, ScalewayOpContext>;
|
|
638
|
+
export type DeleteSnapshotError = ScalewayOpError;
|
|
639
|
+
/** Delete a Database Instance snapshot Delete a given snapshot of a Database Instance. You must specify, in the endpoint, the `snapshot_id` parameter of the snapshot you want to delete. */
|
|
640
|
+
export declare const deleteSnapshot: API.OperationMethod<DeleteSnapshotRequest, Snapshot, DeleteSnapshotError, ScalewayOpContext>;
|
|
641
|
+
export type DeleteUserError = ScalewayOpError;
|
|
642
|
+
/** Delete a user on a Database Instance Delete an existing user on a Database Instance. */
|
|
643
|
+
export declare const deleteUser: API.OperationMethod<DeleteUserRequest, DeleteUserResponse, DeleteUserError, ScalewayOpContext>;
|
|
644
|
+
export type GetInstanceError = ScalewayOpError;
|
|
645
|
+
/** Get a MongoDB® Database Instance Retrieve information about a given MongoDB® Database Instance, specified by the `region` and `instance_id` parameters. Its full details, including name, status, IP address and port, are returned in the response object. */
|
|
646
|
+
export declare const getInstance: API.OperationMethod<GetInstanceRequest, Instance, GetInstanceError, ScalewayOpContext>;
|
|
647
|
+
export type GetInstanceCertificateError = ScalewayOpError;
|
|
648
|
+
/** Get the certificate of a Database Instance Retrieve the certificate of a given Database Instance, specified by the `instance_id` parameter. */
|
|
649
|
+
export declare const getInstanceCertificate: API.OperationMethod<GetInstanceCertificateRequest, ScalewayStdFile, GetInstanceCertificateError, ScalewayOpContext>;
|
|
650
|
+
export type GetInstanceCertificateRawError = ScalewayOpError;
|
|
651
|
+
/** The file `getInstanceCertificate` returns, as bytes (`?dl=1`), rather than the JSON file object. */
|
|
652
|
+
export declare const getInstanceCertificateRaw: API.OperationMethod<GetInstanceCertificateRawRequest, GetInstanceCertificateRawResponse, GetInstanceCertificateRawError, ScalewayOpContext>;
|
|
653
|
+
export type GetMaintenanceError = ScalewayOpError;
|
|
654
|
+
/** Get a maintenance of a MongoDB® Database Instance. */
|
|
655
|
+
export declare const getMaintenance: API.OperationMethod<GetMaintenanceRequest, Maintenance, GetMaintenanceError, ScalewayOpContext>;
|
|
656
|
+
export type GetSnapshotError = ScalewayOpError;
|
|
657
|
+
/** Get a Database Instance snapshot Retrieve information about a given snapshot of a Database Instance. You must specify, in the endpoint, the `snapshot_id` parameter of the snapshot you want to retrieve. */
|
|
658
|
+
export declare const getSnapshot: API.OperationMethod<GetSnapshotRequest, Snapshot, GetSnapshotError, ScalewayOpContext>;
|
|
659
|
+
export type ListDatabasesError = ScalewayOpError;
|
|
660
|
+
/** List databases in a Database Instance List all databases of a given Database Instance. */
|
|
661
|
+
export declare const listDatabases: API.PaginatedOperationMethod<ListDatabasesRequest, ListDatabasesResponse, ListDatabasesError, ScalewayOpContext, Database>;
|
|
662
|
+
export type ListInstancesError = ScalewayOpError;
|
|
663
|
+
/** List MongoDB® Database Instances List all MongoDB® Database Instances in the specified region. By default, the MongoDB® Database Instances returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. You can define additional parameters for your query, such as `tags` and `name`. For the `name` parameter, the value you include will be checked against the whole name string to see if it includes the string you put in the parameter. */
|
|
664
|
+
export declare const listInstances: API.PaginatedOperationMethod<ListInstancesRequest, ListInstancesResponse, ListInstancesError, ScalewayOpContext, Instance>;
|
|
665
|
+
export type ListMaintenancesError = ScalewayOpError;
|
|
666
|
+
/** List all the maintenances of a MongoDB® Database Instance. */
|
|
667
|
+
export declare const listMaintenances: API.PaginatedOperationMethod<ListMaintenancesRequest, ListMaintenancesResponse, ListMaintenancesError, ScalewayOpContext, Maintenance>;
|
|
668
|
+
export type ListNodeTypesError = ScalewayOpError;
|
|
669
|
+
/** List available node types */
|
|
670
|
+
export declare const listNodeTypes: API.PaginatedOperationMethod<ListNodeTypesRequest, ListNodeTypesResponse, ListNodeTypesError, ScalewayOpContext, NodeType>;
|
|
671
|
+
export type ListSnapshotsError = ScalewayOpError;
|
|
672
|
+
/** List snapshots List snapshots. You can include the `instance_id` or `project_id` in your query to get the list of snapshots for specific Database Instances and/or Projects. By default, the details returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field. */
|
|
673
|
+
export declare const listSnapshots: API.PaginatedOperationMethod<ListSnapshotsRequest, ListSnapshotsResponse, ListSnapshotsError, ScalewayOpContext, Snapshot>;
|
|
674
|
+
export type ListUsersError = ScalewayOpError;
|
|
675
|
+
/** List users of a Database Instance List all users of a given Database Instance. */
|
|
676
|
+
export declare const listUsers: API.PaginatedOperationMethod<ListUsersRequest, ListUsersResponse, ListUsersError, ScalewayOpContext, User>;
|
|
677
|
+
export type ListVersionsError = ScalewayOpError;
|
|
678
|
+
/** List available MongoDB® major versions */
|
|
679
|
+
export declare const listVersions: API.PaginatedOperationMethod<ListVersionsRequest, ListVersionsResponse, ListVersionsError, ScalewayOpContext, Version>;
|
|
680
|
+
export type RestoreSnapshotError = ScalewayOpError;
|
|
681
|
+
/** Restore a Database Instance snapshot Restore a given snapshot of a Database Instance. You must specify, in the endpoint, the `snapshot_id` parameter of the snapshot you want to restore, the `instance_name` of the new Database Instance, `node_type` of the new Database Instance and `node_amount` of the new Database Instance. */
|
|
682
|
+
export declare const restoreSnapshot: API.OperationMethod<RestoreSnapshotRequest, Instance, RestoreSnapshotError, ScalewayOpContext>;
|
|
683
|
+
export type SetUserRoleError = ScalewayOpError;
|
|
684
|
+
/** Apply user roles Apply preset roles for a user in a Database Instance. */
|
|
685
|
+
export declare const setUserRole: API.OperationMethod<SetUserRoleRequest, User, SetUserRoleError, ScalewayOpContext>;
|
|
686
|
+
export type UpdateInstanceError = ScalewayOpError;
|
|
687
|
+
/** Update a MongoDB® Database Instance Update the parameters of a MongoDB® Database Instance. */
|
|
688
|
+
export declare const updateInstance: API.OperationMethod<UpdateInstanceRequest, Instance, UpdateInstanceError, ScalewayOpContext>;
|
|
689
|
+
export type UpdateSnapshotError = ScalewayOpError;
|
|
690
|
+
/** Update a Database Instance snapshot Update the parameters of a snapshot of a Database Instance. You can update the `name` and `expires_at` parameters. */
|
|
691
|
+
export declare const updateSnapshot: API.OperationMethod<UpdateSnapshotRequest, Snapshot, UpdateSnapshotError, ScalewayOpContext>;
|
|
692
|
+
export type UpdateUserError = ScalewayOpError;
|
|
693
|
+
/** Update a user on a Database Instance Update the parameters of a user on a Database Instance. You can update the `password` parameter, but you cannot change the name of the user. */
|
|
694
|
+
export declare const updateUser: API.OperationMethod<UpdateUserRequest, User, UpdateUserError, ScalewayOpContext>;
|
|
695
|
+
export type UpgradeInstanceError = ScalewayOpError;
|
|
696
|
+
/** Upgrade a Database Instance Upgrade your current Database Instance specifications like volume size. */
|
|
697
|
+
export declare const upgradeInstance: API.OperationMethod<UpgradeInstanceRequest, Instance, UpgradeInstanceError, ScalewayOpContext>;
|
|
698
|
+
//# sourceMappingURL=mongodb_v1.d.ts.map
|