@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,401 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
3
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
4
|
+
export type CreateSnapshotRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
|
|
5
|
+
/** List of tags assigned to the snapshot. */
|
|
6
|
+
export type CreateSnapshotRequestTagsList = Array<string>;
|
|
7
|
+
export interface CreateSnapshotRequest {
|
|
8
|
+
/** The zone you want to target */
|
|
9
|
+
zone?: CreateSnapshotRequestZone | (string & {}) | undefined;
|
|
10
|
+
/** UUID of the volume to snapshot. */
|
|
11
|
+
volume_id?: string | undefined;
|
|
12
|
+
/** Name of the snapshot. */
|
|
13
|
+
name?: string | undefined;
|
|
14
|
+
/** UUID of the project to which the volume and the snapshot belong. */
|
|
15
|
+
project_id?: string | undefined;
|
|
16
|
+
/** List of tags assigned to the snapshot. */
|
|
17
|
+
tags?: CreateSnapshotRequestTagsList | undefined;
|
|
18
|
+
/** Public snapshots can be used by anyone to create a volume from. Snapshots are private by default, public snapshots are mainly used to publish OS images. */
|
|
19
|
+
public?: boolean | undefined;
|
|
20
|
+
}
|
|
21
|
+
export type VolumeStatus = "unknown_status" | "creating" | "available" | "in_use" | "deleting" | "deleted" | "resizing" | "error" | "snapshotting" | "locked" | "updating";
|
|
22
|
+
export interface SnapshotParentVolume {
|
|
23
|
+
/** Parent volume UUID (volume from which the snapshot originates). (UUID format) */
|
|
24
|
+
id?: string | undefined;
|
|
25
|
+
/** Name of the parent volume. */
|
|
26
|
+
name?: string | undefined;
|
|
27
|
+
/** Volume type of the parent volume. */
|
|
28
|
+
type?: string | undefined;
|
|
29
|
+
/** Current status the parent volume. */
|
|
30
|
+
status?: VolumeStatus | undefined;
|
|
31
|
+
}
|
|
32
|
+
export type ReferenceType = "unknown_type" | "link" | "exclusive" | "read_only";
|
|
33
|
+
export type ReferenceStatus = "unknown_status" | "attaching" | "attached" | "detaching" | "detached" | "creating" | "error";
|
|
34
|
+
export interface Reference {
|
|
35
|
+
/** UUID of the reference. (UUID format) */
|
|
36
|
+
id?: string | undefined;
|
|
37
|
+
/** Type of resource to which the reference is associated. */
|
|
38
|
+
product_resource_type?: string | undefined;
|
|
39
|
+
/** UUID of the product resource it refers to (according to the product_resource_type). (UUID format) */
|
|
40
|
+
product_resource_id?: string | undefined;
|
|
41
|
+
/** Creation date of the reference. (RFC 3339 format) */
|
|
42
|
+
created_at?: string | null | undefined;
|
|
43
|
+
/** Type of reference (link, exclusive, read_only). */
|
|
44
|
+
type?: ReferenceType | undefined;
|
|
45
|
+
/** Status of the reference. Statuses include `attaching`, `attached`, and `detaching`. */
|
|
46
|
+
status?: ReferenceStatus | undefined;
|
|
47
|
+
}
|
|
48
|
+
/** List of the references to the snapshot. */
|
|
49
|
+
export type SnapshotReferencesList = Array<Reference>;
|
|
50
|
+
export type SnapshotStatus = "unknown_status" | "creating" | "available" | "error" | "deleting" | "deleted" | "in_use" | "locked" | "exporting";
|
|
51
|
+
/** List of tags assigned to the volume. */
|
|
52
|
+
export type SnapshotTagsList = Array<string>;
|
|
53
|
+
export type StorageClass = "unknown_storage_class" | "unspecified" | "bssd" | "sbs";
|
|
54
|
+
export interface Snapshot {
|
|
55
|
+
/** UUID of the snapshot. (UUID format) */
|
|
56
|
+
id?: string | undefined;
|
|
57
|
+
/** Name of the snapshot. */
|
|
58
|
+
name?: string | undefined;
|
|
59
|
+
/** Information about the parent volume. If the parent volume was deleted, value is null. */
|
|
60
|
+
parent_volume?: SnapshotParentVolume | undefined;
|
|
61
|
+
/** Size in bytes of the snapshot. (in bytes) */
|
|
62
|
+
size?: number | undefined;
|
|
63
|
+
/** UUID of the project the snapshot belongs to. (UUID format) */
|
|
64
|
+
project_id?: string | undefined;
|
|
65
|
+
/** Creation date of the snapshot. (RFC 3339 format) */
|
|
66
|
+
created_at?: string | null | undefined;
|
|
67
|
+
/** Last modification date of the properties of a snapshot. (RFC 3339 format) */
|
|
68
|
+
updated_at?: string | null | undefined;
|
|
69
|
+
/** List of the references to the snapshot. */
|
|
70
|
+
references?: SnapshotReferencesList | undefined;
|
|
71
|
+
/** Current status of the snapshot (available, in_use, ...). */
|
|
72
|
+
status?: SnapshotStatus | undefined;
|
|
73
|
+
/** List of tags assigned to the volume. */
|
|
74
|
+
tags?: SnapshotTagsList | undefined;
|
|
75
|
+
/** Snapshot zone. */
|
|
76
|
+
zone?: string | undefined;
|
|
77
|
+
/** Storage class of the snapshot. */
|
|
78
|
+
class?: StorageClass | undefined;
|
|
79
|
+
/** True if the snapshot can be used by anyone to create a volume from. */
|
|
80
|
+
public?: boolean | undefined;
|
|
81
|
+
/** KMS Key used for securing the parent volume's encryption. (UUID format) */
|
|
82
|
+
kms_key_id?: string | null | undefined;
|
|
83
|
+
/** The SRN of the snapshot. */
|
|
84
|
+
srn?: string | undefined;
|
|
85
|
+
}
|
|
86
|
+
export type CreateVolumeRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
|
|
87
|
+
export interface CreateVolumeRequestFromEmpty {
|
|
88
|
+
/** Volume size in bytes, with a granularity of 1 GB (10^9 bytes). Must be compliant with the minimum (1 GB) and maximum (10 TB) allowed size. (in bytes) */
|
|
89
|
+
size: number;
|
|
90
|
+
}
|
|
91
|
+
export interface CreateVolumeRequestFromSnapshot {
|
|
92
|
+
/** Volume size in bytes, with a granularity of 1 GB (10^9 bytes). Must be compliant with the minimum (1 GB) and maximum (10 TB) allowed size. Size is optional and is used only if a resize of the volume is requested, otherwise original snapshot size will be used. (in bytes) */
|
|
93
|
+
size?: number | null | undefined;
|
|
94
|
+
/** Source snapshot from which volume will be created. */
|
|
95
|
+
snapshot_id?: string | undefined;
|
|
96
|
+
}
|
|
97
|
+
/** List of tags assigned to the volume. */
|
|
98
|
+
export type CreateVolumeRequestTagsList = Array<string>;
|
|
99
|
+
export interface CreateVolumeRequest {
|
|
100
|
+
/** The zone you want to target */
|
|
101
|
+
zone?: CreateVolumeRequestZone | (string & {}) | undefined;
|
|
102
|
+
/** Name of the volume. */
|
|
103
|
+
name: string;
|
|
104
|
+
/** The maximum IO/s expected, according to the different options available in stock (`5000 | 15000`). Precisely one of perf_iops can be set. */
|
|
105
|
+
perf_iops?: number | null | undefined;
|
|
106
|
+
/** UUID of the project the volume belongs to. */
|
|
107
|
+
project_id: string;
|
|
108
|
+
/** Specify the size of the new volume if creating a new one from scratch. One of from_empty, from_snapshot is required. */
|
|
109
|
+
from_empty?: CreateVolumeRequestFromEmpty | null | undefined;
|
|
110
|
+
/** Specify the snapshot ID of the original snapshot. One of from_empty, from_snapshot is required. */
|
|
111
|
+
from_snapshot?: CreateVolumeRequestFromSnapshot | null | undefined;
|
|
112
|
+
/** List of tags assigned to the volume. */
|
|
113
|
+
tags?: CreateVolumeRequestTagsList | undefined;
|
|
114
|
+
/** UUID of the KMS key used to protect the volume's encryption. */
|
|
115
|
+
kms_key_id?: string | null | undefined;
|
|
116
|
+
}
|
|
117
|
+
/** List of the references to the volume. */
|
|
118
|
+
export type VolumeReferencesList = Array<Reference>;
|
|
119
|
+
/** List of tags assigned to the volume. */
|
|
120
|
+
export type VolumeTagsList = Array<string>;
|
|
121
|
+
export interface VolumeSpecifications {
|
|
122
|
+
/** The maximum IO/s expected, according to the different options available in stock (`5000 | 15000`). */
|
|
123
|
+
perf_iops?: number | null | undefined;
|
|
124
|
+
/** The storage class of the volume. */
|
|
125
|
+
class?: StorageClass | undefined;
|
|
126
|
+
}
|
|
127
|
+
export interface Volume {
|
|
128
|
+
/** UUID of the volume. (UUID format) */
|
|
129
|
+
id?: string | undefined;
|
|
130
|
+
/** Name of the volume. */
|
|
131
|
+
name?: string | undefined;
|
|
132
|
+
/** Volume type. */
|
|
133
|
+
type?: string | undefined;
|
|
134
|
+
/** Volume size in bytes. (in bytes) */
|
|
135
|
+
size?: number | undefined;
|
|
136
|
+
/** UUID of the project to which the volume belongs. (UUID format) */
|
|
137
|
+
project_id?: string | undefined;
|
|
138
|
+
/** Creation date of the volume. (RFC 3339 format) */
|
|
139
|
+
created_at?: string | null | undefined;
|
|
140
|
+
/** Last update of the properties of a volume. (RFC 3339 format) */
|
|
141
|
+
updated_at?: string | null | undefined;
|
|
142
|
+
/** List of the references to the volume. */
|
|
143
|
+
references?: VolumeReferencesList | undefined;
|
|
144
|
+
/** When a volume is created from a snapshot, is the UUID of the snapshot from which the volume has been created. (UUID format) */
|
|
145
|
+
parent_snapshot_id?: string | null | undefined;
|
|
146
|
+
/** Current status of the volume (available, in_use, ...). */
|
|
147
|
+
status?: VolumeStatus | undefined;
|
|
148
|
+
/** List of tags assigned to the volume. */
|
|
149
|
+
tags?: VolumeTagsList | undefined;
|
|
150
|
+
/** Volume zone. */
|
|
151
|
+
zone?: string | undefined;
|
|
152
|
+
/** Specifications of the volume. */
|
|
153
|
+
specs?: VolumeSpecifications | undefined;
|
|
154
|
+
/** Last time the volume was detached. (RFC 3339 format) */
|
|
155
|
+
last_detached_at?: string | null | undefined;
|
|
156
|
+
/** KMS Key used for securing the volume's encryption. (UUID format) */
|
|
157
|
+
kms_key_id?: string | null | undefined;
|
|
158
|
+
/** The SRN of the volume. */
|
|
159
|
+
srn?: string | undefined;
|
|
160
|
+
}
|
|
161
|
+
export type DeleteSnapshotRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
|
|
162
|
+
export interface DeleteSnapshotRequest {
|
|
163
|
+
/** The zone you want to target */
|
|
164
|
+
zone?: DeleteSnapshotRequestZone | (string & {}) | undefined;
|
|
165
|
+
/** UUID of the snapshot. */
|
|
166
|
+
snapshot_id: string;
|
|
167
|
+
}
|
|
168
|
+
export interface DeleteSnapshotResponse {
|
|
169
|
+
}
|
|
170
|
+
export type DeleteVolumeRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
|
|
171
|
+
export interface DeleteVolumeRequest {
|
|
172
|
+
/** The zone you want to target */
|
|
173
|
+
zone?: DeleteVolumeRequestZone | (string & {}) | undefined;
|
|
174
|
+
/** UUID of the volume. */
|
|
175
|
+
volume_id: string;
|
|
176
|
+
}
|
|
177
|
+
export interface DeleteVolumeResponse {
|
|
178
|
+
}
|
|
179
|
+
export type ExportSnapshotToObjectStorageRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
|
|
180
|
+
export interface ExportSnapshotToObjectStorageRequest {
|
|
181
|
+
/** The zone you want to target */
|
|
182
|
+
zone?: ExportSnapshotToObjectStorageRequestZone | (string & {}) | undefined;
|
|
183
|
+
/** UUID of the snapshot. (UUID format) */
|
|
184
|
+
snapshot_id: string;
|
|
185
|
+
/** Scaleway Object Storage bucket where the object is stored. */
|
|
186
|
+
bucket?: string | undefined;
|
|
187
|
+
/** The object key inside the given bucket. */
|
|
188
|
+
key?: string | undefined;
|
|
189
|
+
}
|
|
190
|
+
export type GetSnapshotRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
|
|
191
|
+
export interface GetSnapshotRequest {
|
|
192
|
+
/** The zone you want to target */
|
|
193
|
+
zone?: GetSnapshotRequestZone | (string & {}) | undefined;
|
|
194
|
+
/** UUID of the snapshot. */
|
|
195
|
+
snapshot_id: string;
|
|
196
|
+
}
|
|
197
|
+
export type GetVolumeRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
|
|
198
|
+
export interface GetVolumeRequest {
|
|
199
|
+
/** The zone you want to target */
|
|
200
|
+
zone?: GetVolumeRequestZone | (string & {}) | undefined;
|
|
201
|
+
/** UUID of the volume. */
|
|
202
|
+
volume_id: string;
|
|
203
|
+
}
|
|
204
|
+
export type ImportSnapshotFromObjectStorageRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
|
|
205
|
+
/** List of tags assigned to the snapshot. */
|
|
206
|
+
export type ImportSnapshotFromObjectStorageRequestTagsList = Array<string>;
|
|
207
|
+
export interface ImportSnapshotFromObjectStorageRequest {
|
|
208
|
+
/** The zone you want to target */
|
|
209
|
+
zone?: ImportSnapshotFromObjectStorageRequestZone | (string & {}) | undefined;
|
|
210
|
+
/** Scaleway Object Storage bucket where the object is stored. */
|
|
211
|
+
bucket?: string | undefined;
|
|
212
|
+
/** The object key inside the given bucket. */
|
|
213
|
+
key?: string | undefined;
|
|
214
|
+
/** Name of the snapshot. */
|
|
215
|
+
name?: string | undefined;
|
|
216
|
+
/** UUID of the Project to which the volume and the snapshot belong. */
|
|
217
|
+
project_id?: string | undefined;
|
|
218
|
+
/** List of tags assigned to the snapshot. */
|
|
219
|
+
tags?: ImportSnapshotFromObjectStorageRequestTagsList | undefined;
|
|
220
|
+
/** Size of the snapshot. (in bytes) */
|
|
221
|
+
size?: number | null | undefined;
|
|
222
|
+
}
|
|
223
|
+
export type ListSnapshotsRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
|
|
224
|
+
export type ListSnapshotsRequestOrderBy = "created_at_asc" | "created_at_desc" | "name_asc" | "name_desc";
|
|
225
|
+
export type ListSnapshotsRequestTagsList = Array<string>;
|
|
226
|
+
export interface ListSnapshotsRequest {
|
|
227
|
+
/** The zone you want to target */
|
|
228
|
+
zone?: ListSnapshotsRequestZone | (string & {}) | undefined;
|
|
229
|
+
/** Criteria to use when ordering the list. */
|
|
230
|
+
order_by?: ListSnapshotsRequestOrderBy | (string & {}) | undefined;
|
|
231
|
+
/** Filter by Project ID. */
|
|
232
|
+
project_id?: string | undefined;
|
|
233
|
+
/** Filter by Organization ID. */
|
|
234
|
+
organization_id?: string | undefined;
|
|
235
|
+
/** Page number. */
|
|
236
|
+
page?: number | undefined;
|
|
237
|
+
/** Page size, defines how many entries are returned in one page, must be lower or equal to 100. */
|
|
238
|
+
page_size?: number | undefined;
|
|
239
|
+
/** Filter snapshots by the ID of the original volume. */
|
|
240
|
+
volume_id?: string | undefined;
|
|
241
|
+
/** Filter snapshots by their names. */
|
|
242
|
+
name?: string | undefined;
|
|
243
|
+
/** Filter by tags. Only snapshots with one or more matching tags will be returned. */
|
|
244
|
+
tags?: ListSnapshotsRequestTagsList | undefined;
|
|
245
|
+
/** Display deleted snapshots not erased yet. */
|
|
246
|
+
include_deleted: boolean;
|
|
247
|
+
}
|
|
248
|
+
/** Paginated returned list of snapshots. */
|
|
249
|
+
export type ListSnapshotsResponseSnapshotsList = Array<Snapshot>;
|
|
250
|
+
export interface ListSnapshotsResponse {
|
|
251
|
+
/** Paginated returned list of snapshots. */
|
|
252
|
+
snapshots: ListSnapshotsResponseSnapshotsList;
|
|
253
|
+
/** Total number of snapshots in the project. */
|
|
254
|
+
total_count?: number | undefined;
|
|
255
|
+
}
|
|
256
|
+
export type ListVolumesRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
|
|
257
|
+
export type ListVolumesRequestOrderBy = "created_at_asc" | "created_at_desc" | "name_asc" | "name_desc";
|
|
258
|
+
export type ListVolumesRequestTagsList = Array<string>;
|
|
259
|
+
export type ListVolumesRequestVolumeIdsList = Array<string>;
|
|
260
|
+
export interface ListVolumesRequest {
|
|
261
|
+
/** The zone you want to target */
|
|
262
|
+
zone?: ListVolumesRequestZone | (string & {}) | undefined;
|
|
263
|
+
/** Criteria to use when ordering the list. */
|
|
264
|
+
order_by?: ListVolumesRequestOrderBy | (string & {}) | undefined;
|
|
265
|
+
/** Filter by Project ID. */
|
|
266
|
+
project_id?: string | undefined;
|
|
267
|
+
/** Filter by Organization ID. */
|
|
268
|
+
organization_id?: string | undefined;
|
|
269
|
+
/** Page number. */
|
|
270
|
+
page?: number | undefined;
|
|
271
|
+
/** Page size, defines how many entries are returned in one page, must be lower or equal to 100. */
|
|
272
|
+
page_size?: number | undefined;
|
|
273
|
+
/** Filter the return volumes by their names. */
|
|
274
|
+
name?: string | undefined;
|
|
275
|
+
/** Filter by a product resource ID linked to this volume (such as an Instance ID). */
|
|
276
|
+
product_resource_id?: string | undefined;
|
|
277
|
+
/** Filter by tags. Only volumes with one or more matching tags will be returned. */
|
|
278
|
+
tags?: ListVolumesRequestTagsList | undefined;
|
|
279
|
+
/** Display deleted volumes not erased yet. */
|
|
280
|
+
include_deleted: boolean;
|
|
281
|
+
/** Filter by volume type. */
|
|
282
|
+
volume_type?: string | undefined;
|
|
283
|
+
/** Filter by volume IDs. */
|
|
284
|
+
volume_ids?: ListVolumesRequestVolumeIdsList | undefined;
|
|
285
|
+
}
|
|
286
|
+
/** Paginated returned list of volumes. */
|
|
287
|
+
export type ListVolumesResponseVolumesList = Array<Volume>;
|
|
288
|
+
export interface ListVolumesResponse {
|
|
289
|
+
/** Paginated returned list of volumes. */
|
|
290
|
+
volumes: ListVolumesResponseVolumesList;
|
|
291
|
+
/** Total number of volumes in the project. */
|
|
292
|
+
total_count?: number | undefined;
|
|
293
|
+
}
|
|
294
|
+
export type ListVolumeTypesRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
|
|
295
|
+
export interface ListVolumeTypesRequest {
|
|
296
|
+
/** The zone you want to target */
|
|
297
|
+
zone?: ListVolumeTypesRequestZone | (string & {}) | undefined;
|
|
298
|
+
/** Page number. */
|
|
299
|
+
page?: number | undefined;
|
|
300
|
+
/** Page size, defines how many entries are returned in one page, must be lower or equal to 100. */
|
|
301
|
+
page_size?: number | undefined;
|
|
302
|
+
}
|
|
303
|
+
export interface GoogleTypeMoney {
|
|
304
|
+
currency_code?: string | undefined;
|
|
305
|
+
units?: number | undefined;
|
|
306
|
+
nanos?: number | undefined;
|
|
307
|
+
}
|
|
308
|
+
export interface VolumeType {
|
|
309
|
+
/** Volume type. */
|
|
310
|
+
type?: string | undefined;
|
|
311
|
+
/** Price of the volume billed in GB/hour. */
|
|
312
|
+
pricing?: GoogleTypeMoney | undefined;
|
|
313
|
+
/** Price of the snapshot billed in GB/hour. */
|
|
314
|
+
snapshot_pricing?: GoogleTypeMoney | undefined;
|
|
315
|
+
/** Volume specifications of the volume type. */
|
|
316
|
+
specs?: VolumeSpecifications | undefined;
|
|
317
|
+
/** Zone of the volume type. */
|
|
318
|
+
zone?: string | undefined;
|
|
319
|
+
/** The SRN of the volume type. */
|
|
320
|
+
srn?: string | undefined;
|
|
321
|
+
}
|
|
322
|
+
/** Returns paginated list of volume-types. */
|
|
323
|
+
export type ListVolumeTypesResponseVolumeTypesList = Array<VolumeType>;
|
|
324
|
+
export interface ListVolumeTypesResponse {
|
|
325
|
+
/** Returns paginated list of volume-types. */
|
|
326
|
+
volume_types: ListVolumeTypesResponseVolumeTypesList;
|
|
327
|
+
/** Total number of volume-types currently available in stock. */
|
|
328
|
+
total_count?: number | undefined;
|
|
329
|
+
}
|
|
330
|
+
export type UpdateSnapshotRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
|
|
331
|
+
/** List of tags assigned to the snapshot. */
|
|
332
|
+
export type UpdateSnapshotRequestTagsList = Array<unknown>;
|
|
333
|
+
export interface UpdateSnapshotRequest {
|
|
334
|
+
/** The zone you want to target */
|
|
335
|
+
zone?: UpdateSnapshotRequestZone | (string & {}) | undefined;
|
|
336
|
+
/** UUID of the snapshot. */
|
|
337
|
+
snapshot_id: string;
|
|
338
|
+
/** When defined, is the name of the snapshot. */
|
|
339
|
+
name?: string | null | undefined;
|
|
340
|
+
/** List of tags assigned to the snapshot. */
|
|
341
|
+
tags?: UpdateSnapshotRequestTagsList | null | undefined;
|
|
342
|
+
/** Public snapshots can be used by anyone to create a volume from. Snapshots are private by default, public snapshots are mainly used to publish OS images. */
|
|
343
|
+
public?: boolean | null | undefined;
|
|
344
|
+
}
|
|
345
|
+
export type UpdateVolumeRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
|
|
346
|
+
/** List of tags assigned to the volume. */
|
|
347
|
+
export type UpdateVolumeRequestTagsList = Array<unknown>;
|
|
348
|
+
export interface UpdateVolumeRequest {
|
|
349
|
+
/** The zone you want to target */
|
|
350
|
+
zone?: UpdateVolumeRequestZone | (string & {}) | undefined;
|
|
351
|
+
/** UUID of the volume. */
|
|
352
|
+
volume_id: string;
|
|
353
|
+
/** When defined, is the new name of the volume. */
|
|
354
|
+
name?: string | null | undefined;
|
|
355
|
+
/** Optional field for increasing the size of a volume (size must be equal or larger than the current one). Size in bytes of the volume, with a granularity of 1 GB (10^9 bytes). (in bytes) */
|
|
356
|
+
size?: number | null | undefined;
|
|
357
|
+
/** List of tags assigned to the volume. */
|
|
358
|
+
tags?: UpdateVolumeRequestTagsList | null | undefined;
|
|
359
|
+
/** The maximum IO/s expected, according to the different options available in stock (`5000 | 15000`). The selected value must be available for the volume's current storage class. */
|
|
360
|
+
perf_iops?: number | null | undefined;
|
|
361
|
+
}
|
|
362
|
+
export type CreateSnapshotError = ScalewayOpError;
|
|
363
|
+
/** Create a snapshot of a volume To create a snapshot, the volume must be in the `in_use` or the `available` status. If your volume is in a transient state, you need to wait until the end of the current operation. */
|
|
364
|
+
export declare const createSnapshot: API.OperationMethod<CreateSnapshotRequest, Snapshot, CreateSnapshotError, ScalewayOpContext>;
|
|
365
|
+
export type CreateVolumeError = ScalewayOpError;
|
|
366
|
+
/** Create a volume To create a new volume from scratch, you must specify `from_empty` and the `size`. To create a volume from an existing snapshot, specify `from_snapshot` and the `snapshot_id` in the request payload instead, size is optional and can be specified if you need to extend the original size. The volume will take on the same volume class and underlying IOPS limitations as the original snapshot. */
|
|
367
|
+
export declare const createVolume: API.OperationMethod<CreateVolumeRequest, Volume, CreateVolumeError, ScalewayOpContext>;
|
|
368
|
+
export type DeleteSnapshotError = ScalewayOpError;
|
|
369
|
+
/** Delete a snapshot You must specify the `snapshot_id` of the snapshot you want to delete. The snapshot must not be in use. */
|
|
370
|
+
export declare const deleteSnapshot: API.OperationMethod<DeleteSnapshotRequest, DeleteSnapshotResponse, DeleteSnapshotError, ScalewayOpContext>;
|
|
371
|
+
export type DeleteVolumeError = ScalewayOpError;
|
|
372
|
+
/** Delete a detached volume You must specify the `volume_id` of the volume you want to delete. The volume must not be in the `in_use` status. */
|
|
373
|
+
export declare const deleteVolume: API.OperationMethod<DeleteVolumeRequest, DeleteVolumeResponse, DeleteVolumeError, ScalewayOpContext>;
|
|
374
|
+
export type ExportSnapshotToObjectStorageError = ScalewayOpError;
|
|
375
|
+
/** Export a snapshot to a Scaleway Object Storage bucket The snapshot is exported in QCOW2 format. The snapshot must not be in transient state. */
|
|
376
|
+
export declare const exportSnapshotToObjectStorage: API.OperationMethod<ExportSnapshotToObjectStorageRequest, Snapshot, ExportSnapshotToObjectStorageError, ScalewayOpContext>;
|
|
377
|
+
export type GetSnapshotError = ScalewayOpError;
|
|
378
|
+
/** Get a snapshot Retrieve technical information about a specific snapshot. Details such as size, volume type, and status are returned in the response. */
|
|
379
|
+
export declare const getSnapshot: API.OperationMethod<GetSnapshotRequest, Snapshot, GetSnapshotError, ScalewayOpContext>;
|
|
380
|
+
export type GetVolumeError = ScalewayOpError;
|
|
381
|
+
/** Get a volume Retrieve technical information about a specific volume. Details such as size, type, and status are returned in the response. */
|
|
382
|
+
export declare const getVolume: API.OperationMethod<GetVolumeRequest, Volume, GetVolumeError, ScalewayOpContext>;
|
|
383
|
+
export type ImportSnapshotFromObjectStorageError = ScalewayOpError;
|
|
384
|
+
/** Import a snapshot from a Scaleway Object Storage bucket The bucket must contain a QCOW2 image. The bucket can be imported into any Availability Zone as long as it is in the same region as the bucket. */
|
|
385
|
+
export declare const importSnapshotFromObjectStorage: API.OperationMethod<ImportSnapshotFromObjectStorageRequest, Snapshot, ImportSnapshotFromObjectStorageError, ScalewayOpContext>;
|
|
386
|
+
export type ListSnapshotsError = ScalewayOpError;
|
|
387
|
+
/** List all snapshots List all available snapshots in a specified zone. By default, the snapshots listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. */
|
|
388
|
+
export declare const listSnapshots: API.PaginatedOperationMethod<ListSnapshotsRequest, ListSnapshotsResponse, ListSnapshotsError, ScalewayOpContext, Snapshot>;
|
|
389
|
+
export type ListVolumesError = ScalewayOpError;
|
|
390
|
+
/** List volumes List all existing volumes in a specified zone. By default, the volumes listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. */
|
|
391
|
+
export declare const listVolumes: API.PaginatedOperationMethod<ListVolumesRequest, ListVolumesResponse, ListVolumesError, ScalewayOpContext, Volume>;
|
|
392
|
+
export type ListVolumeTypesError = ScalewayOpError;
|
|
393
|
+
/** List volume types List all available volume types in a specified zone. The volume types listed are ordered by name in ascending order. */
|
|
394
|
+
export declare const listVolumeTypes: API.PaginatedOperationMethod<ListVolumeTypesRequest, ListVolumeTypesResponse, ListVolumeTypesError, ScalewayOpContext, VolumeType>;
|
|
395
|
+
export type UpdateSnapshotError = ScalewayOpError;
|
|
396
|
+
/** Update a snapshot Update the name or tags of the snapshot. */
|
|
397
|
+
export declare const updateSnapshot: API.OperationMethod<UpdateSnapshotRequest, Snapshot, UpdateSnapshotError, ScalewayOpContext>;
|
|
398
|
+
export type UpdateVolumeError = ScalewayOpError;
|
|
399
|
+
/** Update a volume Update the technical details of a volume, such as its name, tags, or its new size and `volume_type` (within the same Block Storage class). You can only resize a volume to a larger size. It is currently not possible to change your Block Storage Class. */
|
|
400
|
+
export declare const updateVolume: API.OperationMethod<UpdateVolumeRequest, Volume, UpdateVolumeError, ScalewayOpContext>;
|
|
401
|
+
//# sourceMappingURL=block_v1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"block_v1.d.ts","sources":["../../src/services/block_v1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAMjD,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMhG,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAenD,MAAM,MAAM,yBAAyB,GACjC,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,CAAC;AACf,6CAA6C;AAC7C,MAAM,MAAM,6BAA6B,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAC1D,MAAM,WAAW,qBAAqB;IACpC,kCAAkC;IAClC,IAAI,CAAC,EAAE,yBAAyB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,SAAS,CAAC;IAC7D,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,4BAA4B;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,6CAA6C;IAC7C,IAAI,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;IACjD,+JAA+J;IAC/J,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC9B;AACD,MAAM,MAAM,YAAY,GACpB,gBAAgB,GAChB,UAAU,GACV,WAAW,GACX,QAAQ,GAC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AC;AACnD,6IAA6I;AAC7I,eAAO,MAAM,eAAe,EAAE,GAAG,CAAC,wBAAwB,CACxD,sBAAsB,EACtB,uBAAuB,EACvB,oBAAoB,EACpB,iBAAiB,EACjB,UAAU,CAoBJ,CAAC;AAET,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC;AAClD,iEAAiE;AACjE,eAAO,MAAM,cAAc,EAAE,GAAG,CAAC,eAAe,CAC9C,qBAAqB,EACrB,QAAQ,EACR,mBAAmB,EACnB,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC;AAChD,iRAAiR;AACjR,eAAO,MAAM,YAAY,EAAE,GAAG,CAAC,eAAe,CAC5C,mBAAmB,EACnB,MAAM,EACN,iBAAiB,EACjB,iBAAiB,CAUhB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import{Tc as e,Uc as t,a as n,b as r,bd as i,cd as a,errors$ScalewayServiceErrors as o,fd as s,gd as c,l,ld as u,n as d,nd as f,o as p,pagination$paginateByTotalCount as m,protocol$ScalewayProtocol as h,retry$Retry as g,sd as _,td as v,traits$Http as y,traits$Label as b,traits$Query as x}from"../_bundle/sdk.js";const S={system:`scaleway-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`}],prefix:`Scaleway`,service:`BlockV1`,labels:`scaleway`,propagate:`w3c`};const C=/*@__PURE__*/ d(e=>e===n?l(`CreateSnapshot`,`{input:#1,output:#9:1,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%"};$8(>2)@"%Request";$7({zone:$4($3.pipe($2())),volume_id:$4($3),name:$4($3),project_id:$4($3),tags:$4(#5:0),public:$4($6)}).pipe($1({method:"POST",uri:"/block/v1/zones/{zone}/snapshots",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,__d0,t,c,v,__d1,o,h,g,S]):r(C,e));const w=/*@__PURE__*/ d(e=>e===n?l(`CreateVolumeRequest`,`{input:#3,output:#10:0,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"CreateVolume"};$3(>4)@"%FromEmpty";$3(>5)@"%FromSnapshot";$3(>6)@"%";$2({size:$1});$2({size:$5($4($1)),snapshot_id:$5($6)});$2({zone:$5($6.pipe($8())),name:$6,perf_iops:$5($4($1)),project_id:$6,from_empty:$5($4(#1)),from_snapshot:$5($4(#2)),tags:$5(#9:0),kms_key_id:$5($4($6))}).pipe($7({method:"POST",uri:"/block/v1/zones/{zone}/volumes",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,a,c,v,i,_,s,y,b,__d0,__d3,o,h,g,S]):r(w,e));const T=/*@__PURE__*/ d(e=>e===n?l(`DeleteSnapshot`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({zone:$4($3.pipe($2())),snapshot_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/block/v1/zones/{zone}/snapshots/{snapshot_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d5,o,h,g,S]):r(T,e));const E=/*@__PURE__*/ d(e=>e===n?l(`DeleteVolume`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({zone:$4($3.pipe($2())),volume_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/block/v1/zones/{zone}/volumes/{volume_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d5,o,h,g,S]):r(E,e));const D=/*@__PURE__*/ d(e=>e===n?l(`ExportSnapshotToObjectStorage`,`{input:#1,output:#7:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({zone:$4($3.pipe($2())),snapshot_id:$3.pipe($2()),bucket:$4($3),key:$4($3)}).pipe($1({method:"POST",uri:"/block/v1/zones/{zone}/snapshots/{snapshot_id}/export-to-object-storage",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d1,o,h,g,S]):r(D,e));const O=/*@__PURE__*/ d(e=>e===n?l(`GetSnapshot`,`{input:#1,output:#7:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({zone:$4($3.pipe($2())),snapshot_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/block/v1/zones/{zone}/snapshots/{snapshot_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d1,o,h,g,S]):r(O,e));const k=/*@__PURE__*/ d(e=>e===n?l(`GetVolume`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({zone:$4($3.pipe($2())),volume_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/block/v1/zones/{zone}/volumes/{volume_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d3,o,h,g,S]):r(k,e));const A=/*@__PURE__*/ d(e=>e===n?l(`ImportSnapshotFromObjectStorage`,`{input:#1,output:#10:1,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%"};$9(>2)@"%Request";$8({zone:$4($3.pipe($2())),bucket:$4($3),key:$4($3),name:$4($3),project_id:$4($3),tags:$4(#5:0),size:$4($7($6))}).pipe($1({method:"POST",uri:"/block/v1/zones/{zone}/snapshots/import-from-object-storage",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,__d0,a,i,c,v,__d1,o,h,g,S]):r(A,e));const j=/*@__PURE__*/ p(i=>i===n?l(`ListSnapshots`,`{input:#1,output:#3,errors:[],serviceErrors:$13,protocol:$14,retry:$15,telemetry:$16,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"snapshots",pageSize:"page_size"},strategy:$17};$10(>4)@"%Request";$12(#11:1);$10(>5)@"%Response";$9({zone:$4($3.pipe($2())),order_by:$4($3.pipe($5())),project_id:$4($3.pipe($5())),organization_id:$4($3.pipe($5())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5())),volume_id:$4($3.pipe($5())),name:$4($3.pipe($5())),tags:$4(#7:0.pipe($5())),include_deleted:$8.pipe($5())}).pipe($1({method:"GET",uri:"/block/v1/zones/{zone}/snapshots",code:200,baseUrl:"https://api.scaleway.com"}));$9({snapshots:#2,total_count:$4($6)})`,[f,y,b,s,_,x,a,__d0,t,c,v,__d1,e,o,h,g,S,m]):r(j,i));const M=/*@__PURE__*/ p(i=>i===n?l(`ListVolumes`,`{input:#1,output:#3,errors:[],serviceErrors:$13,protocol:$14,retry:$15,telemetry:$16,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"volumes",pageSize:"page_size"},strategy:$17};$10(>4)@"%Request";$12(#11:0);$10(>5)@"%Response";$9({zone:$4($3.pipe($2())),order_by:$4($3.pipe($5())),project_id:$4($3.pipe($5())),organization_id:$4($3.pipe($5())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5())),name:$4($3.pipe($5())),product_resource_id:$4($3.pipe($5())),tags:$4(#7:0.pipe($5())),include_deleted:$8.pipe($5()),volume_type:$4($3.pipe($5())),volume_ids:$4(#7:0.pipe($5()))}).pipe($1({method:"GET",uri:"/block/v1/zones/{zone}/volumes",code:200,baseUrl:"https://api.scaleway.com"}));$9({volumes:#2,total_count:$4($6)})`,[f,y,b,s,_,x,a,__d0,t,c,v,__d3,e,o,h,g,S,m]):r(M,i));const N=/*@__PURE__*/ p(t=>t===n?l(`ListVolumeTypes`,`{input:#1,output:#5,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"volume_types",pageSize:"page_size"},strategy:$15};$8(>6)@"%Request";$8(>7)@"GoogleTypeMoney";$8(>8)@"VolumeType";$10(#3);$8(>9)@"%Response";$7({zone:$4($3.pipe($2())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5()))}).pipe($1({method:"GET",uri:"/block/v1/zones/{zone}/volume-types",code:200,baseUrl:"https://api.scaleway.com"}));$7({currency_code:$4($3),units:$4($6),nanos:$4($6)});$7({type:$4($3),pricing:$4(#2),snapshot_pricing:$4(#2),specs:$4(#9:0),zone:$4($3),srn:$4($3)});$7({volume_types:#4,total_count:$4($6)})`,[f,y,b,s,_,x,a,c,v,__d2,e,o,h,g,S,m]):r(N,t));const P=/*@__PURE__*/ d(e=>e===n?l(`UpdateSnapshot`,`{input:#1,output:#10:1,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%"};$9(>2)@"%Request";$8({zone:$4($3.pipe($2())),snapshot_id:$3.pipe($2()),name:$4($5($3)),tags:$4($5(#6:0)),public:$4($5($7))}).pipe($1({method:"PATCH",uri:"/block/v1/zones/{zone}/snapshots/{snapshot_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,i,__d4,t,c,v,__d1,o,h,g,S]):r(P,e));const F=/*@__PURE__*/ d(e=>e===n?l(`UpdateVolume`,`{input:#1,output:#10:0,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%"};$9(>2)@"%Request";$8({zone:$4($3.pipe($2())),volume_id:$3.pipe($2()),name:$4($5($3)),size:$4($5($6)),tags:$4($5(#7:0)),perf_iops:$4($5($6))}).pipe($1({method:"PATCH",uri:"/block/v1/zones/{zone}/volumes/{volume_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,i,a,__d4,c,v,__d3,o,h,g,S]):r(F,e));function __d0(){return[`$2($1);$6(>3)@"Reference";$2(#1);$5({id:$3($1),product_resource_type:$3($1),product_resource_id:$3($1),created_at:$3($4($1)),type:$3($1),status:$3($1)})`,[f,s,e,_,i,c,v]]}function __d1(){return[`$4(>2)@"SnapshotParentVolume";$4(>3)@"Snapshot";$3({id:$2($1),name:$2($1),type:$2($1),status:$2($1)});$3({id:$2($1),name:$2($1),parent_volume:$2(#0),size:$2($5),project_id:$2($1),created_at:$2($6($1)),updated_at:$2($6($1)),references:$2(#7:2),status:$2($1),tags:$2(#7:0),zone:$2($1),class:$2($1),public:$2($8),kms_key_id:$2($6($1)),srn:$2($1)})`,[f,s,_,c,v,a,i,__d0,t]]}function __d2(){return[`$6(>1)@"VolumeSpecifications";$5({perf_iops:$3($2($1)),class:$3($4)})`,[f,a,i,_,s,c,v]]}function __d3(){return[`$8(>1)@"Volume";$7({id:$2($1),name:$2($1),type:$2($1),size:$2($3),project_id:$2($1),created_at:$2($4($1)),updated_at:$2($4($1)),references:$2(#5:2),parent_snapshot_id:$2($4($1)),status:$2($1),tags:$2(#5:0),zone:$2($1),specs:$2(#6:0),last_detached_at:$2($4($1)),kms_key_id:$2($4($1)),srn:$2($1)})`,[f,s,_,a,i,__d0,__d2,c,v]]}function __d4(){return[`$2($1)`,[f,u,e]]}function __d5(){return[`$2(>1)@"DeleteSnapshotResponse";$1({})`,[f,c,v]]}export{C as createSnapshot,w as createVolume,T as deleteSnapshot,E as deleteVolume,D as exportSnapshotToObjectStorage,O as getSnapshot,k as getVolume,A as importSnapshotFromObjectStorage,j as listSnapshots,N as listVolumeTypes,M as listVolumes,P as updateSnapshot,F as updateVolume};
|
|
2
|
+
/*
|
|
3
|
+
22 20
|
|
4
|
+
e:0:Tc t:0:Uc n:0:a r:0:b i:0:bd a:0:cd o:0:errors$ScalewayServiceErrors s:0:fd c:0:gd l:0:l u:0:ld d:0:n f:0:nd p:0:o m:0:pagination$paginateByTotalCount h:0:protocol$ScalewayProtocol g:0:retry$Retry _:0:sd v:0:td y:0:traits$Http b:0:traits$Label x:0:traits$Query
|
|
5
|
+
000000001q0003p0005e0007100095000ar000cb000eo000gp000io000km000mi000oc000oo000pr000qz000s2000tb000u6000v1
|
|
6
|
+
2 h5 sa C|=CreateSnapshot;hy r1;c,j,k,7,h,10,1,8,i,11,6,f,g,z
|
|
7
|
+
2 t0 18k w|=CreateVolumeRequest;ty 179;c,5,8,i,4,h,7,j,k,10,13,6,f,g,z
|
|
8
|
+
2 19a 1j9 T|=DeleteSnapshot;1a3 1i7;c,j,k,7,h,8,i,15,6,f,g,z
|
|
9
|
+
2 1jz 1tq E|=DeleteVolume;1kq 1so;c,j,k,7,h,8,i,15,6,f,g,z
|
|
10
|
+
2 1ug 266 D|=ExportSnapshotToObjectStorage;1vo 254;c,j,k,7,h,8,i,11,6,f,g,z
|
|
11
|
+
2 26w 2gp O|=GetSnapshot;27m 2fn;c,j,k,7,h,8,i,11,6,f,g,z
|
|
12
|
+
2 2hf 2r0 k|=GetVolume;2i3 2py;c,j,k,7,h,8,i,13,6,f,g,z
|
|
13
|
+
2 2rq 34g A|=ImportSnapshotFromObjectStorage;2t0 335;c,j,k,7,h,10,5,4,8,i,11,6,f,g,z
|
|
14
|
+
2 356 3qi j|=ListSnapshots;35y 3p1;c,j,k,7,h,l,5,10,1,8,i,11,0,6,f,g,z,e
|
|
15
|
+
2 3r8 4eb M|=ListVolumes;3ry 4cu;c,j,k,7,h,l,5,10,1,8,i,13,0,6,f,g,z,e
|
|
16
|
+
2 4f1 509 N|=ListVolumeTypes;4fv 4yz;c,j,k,7,h,l,5,8,i,12,0,6,f,g,z,e
|
|
17
|
+
2 50z 5cp P|=UpdateSnapshot;51s 5be;c,j,k,7,h,4,14,1,8,i,11,6,f,g,z
|
|
18
|
+
2 5df 5pg F|=UpdateVolume;5e6 5o5;c,j,k,7,h,4,5,14,8,i,13,6,f,g,z
|
|
19
|
+
0 8x gg S||
|
|
20
|
+
1 5pi 5ux __d0|=;5q6 5ue;c,7,0,h,4,8,i
|
|
21
|
+
1 5ux 65v __d1|=;5vl 655;c,7,h,8,i,5,4,10,1
|
|
22
|
+
1 65v 68z __d2|=;66j 68g;c,5,4,h,7,8,i
|
|
23
|
+
1 68z 6in __d3|=;69n 6hu;c,7,h,5,4,10,12,8,i
|
|
24
|
+
1 6in 6js __d4|=;6jb 6jh;c,a,0
|
|
25
|
+
1 6js 6lt __d5|=;6kg 6li;c,8,i
|
|
26
|
+
*/
|
|
27
|
+
//# sourceMappingURL=block_v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"block_v1.js","names":["API.D","API.named","__L.at","T.Http","T.Label","S.String","S.optional","S.Boolean","S.Struct","S.suspend","Retry.Retry","API.call","S.Number","S.NullOr","T.Query","S.Array","S.Unknown","Array","Boolean","D","call","NullOr","Number","ScalewayServiceErrors","String","Struct","Unknown","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","Http","Label","Query","TELEMETRY","createSnapshot","i","named","createVolume","deleteSnapshot","deleteVolume","exportSnapshotToObjectStorage","getSnapshot","getVolume","importSnapshotFromObjectStorage","listSnapshots","listVolumes","listVolumeTypes","updateSnapshot","updateVolume"],"sources":["../../src/services/block_v1.ts"],"mappings":"yTAaA,MAAMsC,EAAY,CAChB,OAAQ,eACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,CACrF,EACA,OAAQ,WACR,QAAS,UACT,OAAQ,WACR,UAAW,KACb,EAuiBA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMxC,EAAQC,EAAU,iBAAkB,0UAA2U,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAY,KAAMC,EAAWC,EAAUC,EAAW,KAAMc,EAAuBQ,EAAkBrB,EAAa4B,CAAS,CAAC,EAAI3B,EAAS4B,EAAgBC,CAAC,CAAC,EAI1lB,MAAaE,EAKK,gBAAQ,GAAgBF,IAAMxC,EAAQC,EAAU,sBAAuB,keAAme,CAACC,EAAQU,EAAUJ,EAAUC,EAAWI,EAAUP,EAAYD,EAAUF,EAAQC,EAAS,KAAM,KAAMmB,EAAuBQ,EAAkBrB,EAAa4B,CAAS,CAA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C,EAAW,KAAMc,EAAuBQ,EAAkBrB,EAAa4B,CAAS,CAAC,EAAI3B,EAAS0C,EAAcb,CAAC,CAAC,EAM/nB,SAAS,MAAY,CACnB,MAAO,CAAC,2JAA4J,CAACtC,EAAQG,EAAUU,EAAST,EAAYO,EAAUL,EAAUC,CAAS,CAAC,CAC5O,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,2VAA4V,CAACP,EAAQG,EAAUC,EAAYE,EAAUC,EAAWG,EAAUC,EAAU,KAAMN,CAAS,CAAC,CAC9b,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,wEAAyE,CAACL,EAAQU,EAAUC,EAAUP,EAAYD,EAAUG,EAAUC,CAAS,CAAC,CAC1J,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,0SAA2S,CAACP,EAAQG,EAAUC,EAAYM,EAAUC,EAAU,KAAM,KAAML,EAAUC,CAAS,CAAC,CACxY,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,SAAU,CAACP,EAAQc,EAAWD,CAAO,CAAC,CAChD,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,yCAA0C,CAACb,EAAQM,EAAUC,CAAS,CAAC,CACjF"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
3
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
4
|
+
export interface GetGrafanaRequest {
|
|
5
|
+
/** ID of the Project. (UUID format) */
|
|
6
|
+
project_id: string;
|
|
7
|
+
}
|
|
8
|
+
export interface Grafana {
|
|
9
|
+
/** URL to access your Cockpit's Grafana. */
|
|
10
|
+
grafana_url?: string | undefined;
|
|
11
|
+
/** ID of the project. */
|
|
12
|
+
project_id?: string | undefined;
|
|
13
|
+
/** The SRN of the grafana. */
|
|
14
|
+
srn?: string | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface GetGrafanaProductDashboardRequest {
|
|
17
|
+
/** Name of the dashboard. */
|
|
18
|
+
dashboard_name: string;
|
|
19
|
+
/** ID of the Project the dashboard belongs to. (UUID format) */
|
|
20
|
+
project_id: string;
|
|
21
|
+
}
|
|
22
|
+
/** Dashboard tags. */
|
|
23
|
+
export type GrafanaProductDashboardTagsList = Array<string>;
|
|
24
|
+
/** Dashboard variables. */
|
|
25
|
+
export type GrafanaProductDashboardVariablesList = Array<string>;
|
|
26
|
+
export interface GrafanaProductDashboard {
|
|
27
|
+
/** Dashboard name. */
|
|
28
|
+
name?: string | undefined;
|
|
29
|
+
/** Dashboard title. */
|
|
30
|
+
title?: string | undefined;
|
|
31
|
+
/** Dashboard URL. */
|
|
32
|
+
url?: string | undefined;
|
|
33
|
+
/** Dashboard tags. */
|
|
34
|
+
tags?: GrafanaProductDashboardTagsList | undefined;
|
|
35
|
+
/** Dashboard variables. */
|
|
36
|
+
variables?: GrafanaProductDashboardVariablesList | undefined;
|
|
37
|
+
}
|
|
38
|
+
export type ListGrafanaProductDashboardsRequestTagsList = Array<string>;
|
|
39
|
+
export interface ListGrafanaProductDashboardsRequest {
|
|
40
|
+
/** ID of the Project to target. (UUID format) */
|
|
41
|
+
project_id: string;
|
|
42
|
+
/** Page number. */
|
|
43
|
+
page?: number | undefined;
|
|
44
|
+
/** Page size. */
|
|
45
|
+
page_size?: number | undefined;
|
|
46
|
+
/** Tags to filter for. */
|
|
47
|
+
tags?: ListGrafanaProductDashboardsRequestTagsList | undefined;
|
|
48
|
+
}
|
|
49
|
+
/** Grafana dashboards information. */
|
|
50
|
+
export type ListGrafanaProductDashboardsResponseDashboardsList = Array<GrafanaProductDashboard>;
|
|
51
|
+
export interface ListGrafanaProductDashboardsResponse {
|
|
52
|
+
/** Total count of Grafana dashboards. */
|
|
53
|
+
total_count?: number | undefined;
|
|
54
|
+
/** Grafana dashboards information. */
|
|
55
|
+
dashboards: ListGrafanaProductDashboardsResponseDashboardsList;
|
|
56
|
+
}
|
|
57
|
+
export interface SyncGrafanaDataSourcesRequest {
|
|
58
|
+
/** ID of the Project to target. (UUID format) */
|
|
59
|
+
project_id?: string | undefined;
|
|
60
|
+
}
|
|
61
|
+
export interface SyncGrafanaDataSourcesResponse {
|
|
62
|
+
}
|
|
63
|
+
export type GetGrafanaError = ScalewayOpError;
|
|
64
|
+
/** Get your Cockpit's Grafana Retrieve information on your Cockpit's Grafana, specified by the ID of the Project the Cockpit belongs to. The output returned displays the URL to access your Cockpit's Grafana. */
|
|
65
|
+
export declare const getGrafana: API.OperationMethod<GetGrafanaRequest, Grafana, GetGrafanaError, ScalewayOpContext>;
|
|
66
|
+
export type GetGrafanaProductDashboardError = ScalewayOpError;
|
|
67
|
+
/** Get Scaleway resource dashboard Retrieve information about the dashboard of a Scaleway resource in Grafana, specified by the ID of the Project the Cockpit belongs to, and the name of the dashboard. */
|
|
68
|
+
export declare const getGrafanaProductDashboard: API.OperationMethod<GetGrafanaProductDashboardRequest, GrafanaProductDashboard, GetGrafanaProductDashboardError, ScalewayOpContext>;
|
|
69
|
+
export type ListGrafanaProductDashboardsError = ScalewayOpError;
|
|
70
|
+
/** List Scaleway resources dashboards Retrieve a list of available dashboards in Grafana, for all Scaleway resources which are integrated with Cockpit. */
|
|
71
|
+
export declare const listGrafanaProductDashboards: API.PaginatedOperationMethod<ListGrafanaProductDashboardsRequest, ListGrafanaProductDashboardsResponse, ListGrafanaProductDashboardsError, ScalewayOpContext, GrafanaProductDashboard>;
|
|
72
|
+
export type SyncGrafanaDataSourcesError = ScalewayOpError;
|
|
73
|
+
/** Synchronize Grafana data sources Trigger the synchronization of all your data sources and the alert manager in the relevant regions. The alert manager will only be synchronized if you have enabled it. */
|
|
74
|
+
export declare const syncGrafanaDataSources: API.OperationMethod<SyncGrafanaDataSourcesRequest, SyncGrafanaDataSourcesResponse, SyncGrafanaDataSourcesError, ScalewayOpContext>;
|
|
75
|
+
//# sourceMappingURL=cockpit_global_v1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,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;AAC/M,eAAO,MAAM,sBAAsB,EAAE,GAAG,CAAC,eAAe,CACtD,6BAA6B,EAC7B,8BAA8B,EAC9B,2BAA2B,EAC3B,iBAAiB,CAUhB,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Tc as e,a as t,b as n,cd as r,errors$ScalewayServiceErrors as i,fd as a,gd as o,l as s,n as c,nd as l,o as u,pagination$paginateByTotalCount as d,protocol$ScalewayProtocol as f,retry$Retry as p,sd as m,td as h,traits$Http as g,traits$Label as _,traits$Query as v}from"../_bundle/sdk.js";const y={system:`scaleway-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`}],prefix:`Scaleway`,service:`CockpitGlobalV1`,labels:`scaleway`,propagate:`w3c`};const b=/*@__PURE__*/ c(e=>e===t?s(`Grafana`,`{input:#1,output:#2,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"Get%"};$5(>3)@"Get%Request";$5(>4)@"%";$4({project_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/cockpit/v1/grafana",code:200,baseUrl:"https://api.scaleway.com"}));$4({grafana_url:$6($3),project_id:$6($3),srn:$6($3)})`,[l,g,v,a,o,h,m,i,f,p,y]):n(b,e));const x=/*@__PURE__*/ c(e=>e===t?s(`GetGrafanaProductDashboard`,`{input:#1,output:#7:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({dashboard_name:$3.pipe($2()),project_id:$3.pipe($4())}).pipe($1({method:"GET",uri:"/cockpit/v1/grafana/product-dashboards/{dashboard_name}",code:200,baseUrl:"https://api.scaleway.com"}))`,[l,g,_,a,v,o,h,__d0,i,f,p,y]):n(x,e));const S=/*@__PURE__*/ u(c=>c===t?s(`ListGrafanaProductDashboards`,`{input:#1,output:#3,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"dashboards",pageSize:"page_size"},strategy:$14};$8(>4)@"%Request";$9(#6:1);$8(>5)@"%Response";$7({project_id:$3.pipe($2()),page:$5($4.pipe($2())),page_size:$5($4.pipe($2())),tags:$5(#6:0.pipe($2()))}).pipe($1({method:"GET",uri:"/cockpit/v1/grafana/product-dashboards",code:200,baseUrl:"https://api.scaleway.com"}));$7({total_count:$5($4),dashboards:#2})`,[l,g,v,a,r,m,__d0,o,h,e,i,f,p,y,d]):n(S,c));const C=/*@__PURE__*/ c(e=>e===t?s(`SyncGrafanaDataSources`,`{input:#1,output:#2,errors:[],serviceErrors:$6,protocol:$7,retry:$8,telemetry:$9,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({project_id:$3($2)}).pipe($1({method:"POST",uri:"/cockpit/v1/grafana/sync-data-sources",code:200,baseUrl:"https://api.scaleway.com"}));$4({})`,[l,g,a,m,o,h,i,f,p,y]):n(C,e));function __d0(){return[`$2($1);$5(>2)@"GrafanaProductDashboard";$4({name:$3($1),title:$3($1),url:$3($1),tags:$3(#0),variables:$3(#0)})`,[l,a,e,m,o,h]]}export{b as getGrafana,x as getGrafanaProductDashboard,S as listGrafanaProductDashboards,C as syncGrafanaDataSources};
|
|
2
|
+
//# sourceMappingURL=cockpit_global_v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cockpit_global_v1.js","names":["API.D","API.named","__L.at","T.Http","T.Query","S.String","S.Struct","S.suspend","S.optional","Retry.Retry","API.call","T.Label","S.Number","S.Array","Array","D","call","Number","ScalewayServiceErrors","String","Struct","named","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","Http","Label","Query","TELEMETRY","getGrafana","i","getGrafanaProductDashboard","listGrafanaProductDashboards","syncGrafanaDataSources"],"sources":["../../src/services/cockpit_global_v1.ts"],"mappings":"sSAaA,MAAMiC,EAAY,CAChB,OAAQ,eACR,gBAAiB,CACf,CAAE,OAA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