@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,716 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-scaleway). Do not edit.
|
|
3
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
4
|
+
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
5
|
+
import { ScalewayServiceErrors } from "../errors.ts";
|
|
6
|
+
import { paginateByTotalCount } from "../pagination.ts";
|
|
7
|
+
import { ScalewayProtocol, type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
8
|
+
import * as Retry from "../retry.ts";
|
|
9
|
+
import * as T from "../traits.ts";
|
|
10
|
+
// Schema table, filled on first reach (see __S at the end).
|
|
11
|
+
const __s: any[] = [];
|
|
12
|
+
|
|
13
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
14
|
+
|
|
15
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
16
|
+
const TELEMETRY = {
|
|
17
|
+
system: "scaleway-api",
|
|
18
|
+
responseHeaders: [
|
|
19
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
20
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
21
|
+
],
|
|
22
|
+
prefix: "Scaleway",
|
|
23
|
+
service: "IpamV1",
|
|
24
|
+
labels: "scaleway",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type AttachIPRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
29
|
+
export interface CustomResource {
|
|
30
|
+
/** MAC address of the custom resource. */
|
|
31
|
+
mac_address?: string | undefined;
|
|
32
|
+
/** Name of the custom resource. When the resource is in a Private Network, a DNS record is available to resolve the resource name. */
|
|
33
|
+
name?: string | null | undefined;
|
|
34
|
+
}
|
|
35
|
+
export interface AttachIPRequest {
|
|
36
|
+
/** The region you want to target */
|
|
37
|
+
region?: AttachIPRequestRegion | (string & {}) | undefined;
|
|
38
|
+
/** IP ID. (UUID format) */
|
|
39
|
+
ip_id: string;
|
|
40
|
+
/** Custom resource to be attached to the IP. */
|
|
41
|
+
resource: CustomResource;
|
|
42
|
+
}
|
|
43
|
+
export interface Source {
|
|
44
|
+
/** Zone the IP lives in if the IP is a public zoned IP. This source is global. Precisely one of zonal, private_network_id, subnet_id, vpc_id, regional can be set. */
|
|
45
|
+
zonal?: string | null | undefined;
|
|
46
|
+
/** Private Network the IP lives in if the IP is a private IP. This source is specific. Precisely one of zonal, private_network_id, subnet_id, vpc_id, regional can be set. */
|
|
47
|
+
private_network_id?: string | null | undefined;
|
|
48
|
+
/** Private Network subnet the IP lives in if the IP is a private IP in a Private Network. This source is specific. Precisely one of zonal, private_network_id, subnet_id, vpc_id, regional can be set. */
|
|
49
|
+
subnet_id?: string | null | undefined;
|
|
50
|
+
/** Precisely one of zonal, private_network_id, subnet_id, vpc_id, regional can be set. */
|
|
51
|
+
vpc_id?: string | null | undefined;
|
|
52
|
+
/** Defines whether the IP is a public regional IP. This source is global. Precisely one of zonal, private_network_id, subnet_id, vpc_id, regional can be set. */
|
|
53
|
+
regional?: boolean | null | undefined;
|
|
54
|
+
}
|
|
55
|
+
export type ResourceType =
|
|
56
|
+
| "unknown_type"
|
|
57
|
+
| "custom"
|
|
58
|
+
| "instance_server"
|
|
59
|
+
| "instance_ip"
|
|
60
|
+
| "instance_private_nic"
|
|
61
|
+
| "lb_server"
|
|
62
|
+
| "lb_ip"
|
|
63
|
+
| "fip_ip"
|
|
64
|
+
| "vpc_gateway"
|
|
65
|
+
| "vpc_gateway_network"
|
|
66
|
+
| "k8s_node"
|
|
67
|
+
| "k8s_cluster"
|
|
68
|
+
| "rdb_instance"
|
|
69
|
+
| "redis_cluster"
|
|
70
|
+
| "baremetal_server"
|
|
71
|
+
| "baremetal_private_nic"
|
|
72
|
+
| "llm_deployment"
|
|
73
|
+
| "mgdb_instance"
|
|
74
|
+
| "apple_silicon_server"
|
|
75
|
+
| "apple_silicon_private_nic"
|
|
76
|
+
| "serverless_container"
|
|
77
|
+
| "serverless_function"
|
|
78
|
+
| "serverless_job"
|
|
79
|
+
| "vpn_gateway"
|
|
80
|
+
| "ddl_datalab"
|
|
81
|
+
| "kafka_cluster"
|
|
82
|
+
| "bgp_endpoint"
|
|
83
|
+
| "scbl_sedb_cluster"
|
|
84
|
+
| "dtwh_deployment"
|
|
85
|
+
| "sedb_cluster"
|
|
86
|
+
| "msgq_cluster"
|
|
87
|
+
| "edge_vpc_endpoint"
|
|
88
|
+
| "dviz_cluster"
|
|
89
|
+
| "nats_cluster"
|
|
90
|
+
| "kvdb_instance";
|
|
91
|
+
export interface Resource {
|
|
92
|
+
/** Type of resource the IP is attached to. */
|
|
93
|
+
type?: ResourceType | undefined;
|
|
94
|
+
/** ID of the resource the IP is attached to. (UUID format) */
|
|
95
|
+
id?: string | undefined;
|
|
96
|
+
/** MAC of the resource the IP is attached to. */
|
|
97
|
+
mac_address?: string | null | undefined;
|
|
98
|
+
/** Name of the resource the IP is attached to. When the IP is in a Private Network, then a DNS record is available to resolve the resource name to this IP. */
|
|
99
|
+
name?: string | null | undefined;
|
|
100
|
+
}
|
|
101
|
+
/** Tags for the IP. */
|
|
102
|
+
export type IPTagsList = Array<string>;
|
|
103
|
+
export interface Reverse {
|
|
104
|
+
/** Reverse domain name. */
|
|
105
|
+
hostname?: string | undefined;
|
|
106
|
+
/** IP corresponding to the hostname. (IP address) */
|
|
107
|
+
address?: string | null | undefined;
|
|
108
|
+
}
|
|
109
|
+
/** Array of reverses associated with the IP. */
|
|
110
|
+
export type IPReversesList = Array<Reverse>;
|
|
111
|
+
export interface IP {
|
|
112
|
+
/** IP ID. (UUID format) */
|
|
113
|
+
id?: string | undefined;
|
|
114
|
+
/** The SRN of the IP. */
|
|
115
|
+
srn?: string | undefined;
|
|
116
|
+
/** IPv4 or IPv6 address in CIDR notation. (IP network) */
|
|
117
|
+
address?: string | undefined;
|
|
118
|
+
/** Scaleway Project the IP belongs to. (UUID format) */
|
|
119
|
+
project_id?: string | undefined;
|
|
120
|
+
/** Defines whether the IP is an IPv6 (false = IPv4). */
|
|
121
|
+
is_ipv6?: boolean | undefined;
|
|
122
|
+
/** Date the IP was reserved. (RFC 3339 format) */
|
|
123
|
+
created_at?: string | null | undefined;
|
|
124
|
+
/** Date the IP was last modified. (RFC 3339 format) */
|
|
125
|
+
updated_at?: string | null | undefined;
|
|
126
|
+
/** Source pool where the IP was reserved in. */
|
|
127
|
+
source?: Source | undefined;
|
|
128
|
+
/** Resource which the IP is attached to. */
|
|
129
|
+
resource?: Resource | undefined;
|
|
130
|
+
/** Tags for the IP. */
|
|
131
|
+
tags?: IPTagsList | undefined;
|
|
132
|
+
/** Array of reverses associated with the IP. */
|
|
133
|
+
reverses?: IPReversesList | undefined;
|
|
134
|
+
/** Region of the IP. */
|
|
135
|
+
region?: string | undefined;
|
|
136
|
+
/** Zone of the IP, if zonal. */
|
|
137
|
+
zone?: string | undefined;
|
|
138
|
+
}
|
|
139
|
+
export type BookIPRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
140
|
+
/** Tags for the IP. */
|
|
141
|
+
export type BookIPRequestTagsList = Array<string>;
|
|
142
|
+
export interface BookIPRequest {
|
|
143
|
+
/** The region you want to target */
|
|
144
|
+
region?: BookIPRequestRegion | (string & {}) | undefined;
|
|
145
|
+
/** Scaleway Project in which to create the IP. When creating an IP in a Private Network, the Project must match the Private Network's Project. (UUID format) */
|
|
146
|
+
project_id: string;
|
|
147
|
+
/** Source in which to reserve the IP. Not all sources are available for reservation. */
|
|
148
|
+
source: Source;
|
|
149
|
+
/** Request an IPv6 instead of an IPv4. */
|
|
150
|
+
is_ipv6?: boolean | undefined;
|
|
151
|
+
/** Request this specific IP address in the specified source pool. The requested address should not include the subnet mask (/suffix). Note that only the Private Network source allows you to pick a specific IP. If the requested IP is already reserved, then the call will fail. (IP address) */
|
|
152
|
+
address?: string | null | undefined;
|
|
153
|
+
/** Tags for the IP. */
|
|
154
|
+
tags?: BookIPRequestTagsList | undefined;
|
|
155
|
+
/** Custom resource to attach to the IP being reserved. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this for attaching IP addresses to standard Scaleway resources, as it will fail - instead, see the relevant product API for an equivalent method. */
|
|
156
|
+
resource?: CustomResource | undefined;
|
|
157
|
+
}
|
|
158
|
+
export type DetachIPRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
159
|
+
export interface DetachIPRequest {
|
|
160
|
+
/** The region you want to target */
|
|
161
|
+
region?: DetachIPRequestRegion | (string & {}) | undefined;
|
|
162
|
+
/** IP ID. (UUID format) */
|
|
163
|
+
ip_id: string;
|
|
164
|
+
/** Custom resource currently attached to the IP. */
|
|
165
|
+
resource: CustomResource;
|
|
166
|
+
}
|
|
167
|
+
export type GetIPRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
168
|
+
export interface GetIPRequest {
|
|
169
|
+
/** The region you want to target */
|
|
170
|
+
region?: GetIPRequestRegion | (string & {}) | undefined;
|
|
171
|
+
/** IP ID. (UUID format) */
|
|
172
|
+
ip_id: string;
|
|
173
|
+
}
|
|
174
|
+
export type ListIPsRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
175
|
+
export type ListIPsRequestOrderBy =
|
|
176
|
+
| "created_at_desc"
|
|
177
|
+
| "created_at_asc"
|
|
178
|
+
| "updated_at_desc"
|
|
179
|
+
| "updated_at_asc"
|
|
180
|
+
| "attached_at_desc"
|
|
181
|
+
| "attached_at_asc"
|
|
182
|
+
| "ip_address_desc"
|
|
183
|
+
| "ip_address_asc"
|
|
184
|
+
| "mac_address_desc"
|
|
185
|
+
| "mac_address_asc";
|
|
186
|
+
export type ListIPsRequestResourceIdsList = Array<string>;
|
|
187
|
+
export type ListIPsRequestResourceTypesList = Array<ResourceType | (string & {})>;
|
|
188
|
+
export type ListIPsRequestTagsList = Array<string>;
|
|
189
|
+
export type ListIPsRequestIpIdsList = Array<string>;
|
|
190
|
+
export interface ListIPsRequest {
|
|
191
|
+
/** The region you want to target */
|
|
192
|
+
region?: ListIPsRequestRegion | (string & {}) | undefined;
|
|
193
|
+
/** Sort order of the returned IPs. */
|
|
194
|
+
order_by?: ListIPsRequestOrderBy | (string & {}) | undefined;
|
|
195
|
+
/** Page number to return, from the paginated results. */
|
|
196
|
+
page?: number | undefined;
|
|
197
|
+
/** Maximum number of IPs to return per page. */
|
|
198
|
+
page_size?: number | undefined;
|
|
199
|
+
/** Project ID to filter for. Only IPs belonging to this Project will be returned. (UUID format) */
|
|
200
|
+
project_id?: string | undefined;
|
|
201
|
+
/** VPC ID to filter for. Only IPs owned by resources in this VPC will be returned. */
|
|
202
|
+
vpc_id?: string | undefined;
|
|
203
|
+
/** Defines whether to filter only for IPs which are attached to a resource. */
|
|
204
|
+
attached?: boolean | undefined;
|
|
205
|
+
/** Attached resource name to filter for, only IPs attached to a resource with this string within their name will be returned. */
|
|
206
|
+
resource_name?: string | undefined;
|
|
207
|
+
/** Resource ID to filter for. Only IPs attached to this resource will be returned. (UUID format) */
|
|
208
|
+
resource_id?: string | undefined;
|
|
209
|
+
/** Resource IDs to filter for. Only IPs attached to at least one of these resources will be returned. */
|
|
210
|
+
resource_ids?: ListIPsRequestResourceIdsList | undefined;
|
|
211
|
+
/** Resource type to filter for. Only IPs attached to this type of resource will be returned. */
|
|
212
|
+
resource_type?: ResourceType | (string & {}) | undefined;
|
|
213
|
+
/** Resource types to filter for. Only IPs attached to these types of resources will be returned. */
|
|
214
|
+
resource_types?: ListIPsRequestResourceTypesList | undefined;
|
|
215
|
+
/** MAC address to filter for. Only IPs attached to a resource with this MAC address will be returned. */
|
|
216
|
+
mac_address?: string | undefined;
|
|
217
|
+
/** Tags to filter for, only IPs with one or more matching tags will be returned. */
|
|
218
|
+
tags?: ListIPsRequestTagsList | undefined;
|
|
219
|
+
/** Organization ID to filter for. Only IPs belonging to this Organization will be returned. (UUID format) */
|
|
220
|
+
organization_id?: string | undefined;
|
|
221
|
+
/** Defines whether to filter only for IPv4s or IPv6s. */
|
|
222
|
+
is_ipv6?: boolean | undefined;
|
|
223
|
+
/** IP IDs to filter for. Only IPs with these UUIDs will be returned. */
|
|
224
|
+
ip_ids?: ListIPsRequestIpIdsList | undefined;
|
|
225
|
+
/** Zone to filter for; only zonal IPs in it are returned. One-of `scope`: at most one of `zonal`, `regional`, `private_network_id`, `subnet_id`, `source_vpc_id`. */
|
|
226
|
+
zonal?: string | undefined;
|
|
227
|
+
/** Return only regional IPs. One-of `scope`: at most one of `zonal`, `regional`, `private_network_id`, `subnet_id`, `source_vpc_id`. */
|
|
228
|
+
regional?: boolean | undefined;
|
|
229
|
+
/** Only IPs in this Private Network. One-of `scope`: at most one of `zonal`, `regional`, `private_network_id`, `subnet_id`, `source_vpc_id`. */
|
|
230
|
+
private_network_id?: string | undefined;
|
|
231
|
+
/** Only IPs in this subnet. One-of `scope`: at most one of `zonal`, `regional`, `private_network_id`, `subnet_id`, `source_vpc_id`. */
|
|
232
|
+
subnet_id?: string | undefined;
|
|
233
|
+
/** Only IPs whose source is this VPC. One-of `scope`: at most one of `zonal`, `regional`, `private_network_id`, `subnet_id`, `source_vpc_id`. */
|
|
234
|
+
source_vpc_id?: string | undefined;
|
|
235
|
+
}
|
|
236
|
+
export type ListIPsResponseIpsList = Array<IP>;
|
|
237
|
+
export interface ListIPsResponse {
|
|
238
|
+
total_count?: number | undefined;
|
|
239
|
+
ips: ListIPsResponseIpsList;
|
|
240
|
+
}
|
|
241
|
+
export type MoveIPRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
242
|
+
export interface MoveIPRequest {
|
|
243
|
+
/** The region you want to target */
|
|
244
|
+
region?: MoveIPRequestRegion | (string & {}) | undefined;
|
|
245
|
+
/** IP ID. (UUID format) */
|
|
246
|
+
ip_id: string;
|
|
247
|
+
/** Custom resource currently attached to the IP. */
|
|
248
|
+
from_resource: CustomResource;
|
|
249
|
+
/** Custom resource to be attached to the IP. */
|
|
250
|
+
to_resource?: CustomResource | undefined;
|
|
251
|
+
}
|
|
252
|
+
export type ReleaseIPRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
253
|
+
export interface ReleaseIPRequest {
|
|
254
|
+
/** The region you want to target */
|
|
255
|
+
region?: ReleaseIPRequestRegion | (string & {}) | undefined;
|
|
256
|
+
/** IP ID. (UUID format) */
|
|
257
|
+
ip_id: string;
|
|
258
|
+
}
|
|
259
|
+
export interface ReleaseIPResponse {}
|
|
260
|
+
export type ReleaseIPSetRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
261
|
+
/** (UUID format) */
|
|
262
|
+
export type ReleaseIPSetRequestIpIdsList = Array<string>;
|
|
263
|
+
export interface ReleaseIPSetRequest {
|
|
264
|
+
/** The region you want to target */
|
|
265
|
+
region?: ReleaseIPSetRequestRegion | (string & {}) | undefined;
|
|
266
|
+
/** (UUID format) */
|
|
267
|
+
ip_ids?: ReleaseIPSetRequestIpIdsList | undefined;
|
|
268
|
+
}
|
|
269
|
+
export interface ReleaseIPSetResponse {}
|
|
270
|
+
export type UpdateIPRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
271
|
+
/** Tags for the IP. */
|
|
272
|
+
export type UpdateIPRequestTagsList = Array<unknown>;
|
|
273
|
+
/** Array of reverse domain names associated with an IP in the subnet of the current IP. */
|
|
274
|
+
export type UpdateIPRequestReversesList = Array<Reverse>;
|
|
275
|
+
export interface UpdateIPRequest {
|
|
276
|
+
/** The region you want to target */
|
|
277
|
+
region?: UpdateIPRequestRegion | (string & {}) | undefined;
|
|
278
|
+
/** IP ID. (UUID format) */
|
|
279
|
+
ip_id: string;
|
|
280
|
+
/** Tags for the IP. */
|
|
281
|
+
tags?: UpdateIPRequestTagsList | null | undefined;
|
|
282
|
+
/** Array of reverse domain names associated with an IP in the subnet of the current IP. */
|
|
283
|
+
reverses?: UpdateIPRequestReversesList | undefined;
|
|
284
|
+
}
|
|
285
|
+
export type AttachIPError = ScalewayOpError;
|
|
286
|
+
/** Attach private IP to custom resource Attach an existing reserved private IP from a Private Network subnet to a custom, named resource via its MAC address. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this method for attaching IP addresses to standard Scaleway resources as it will fail - see the relevant product API for an equivalent method. */
|
|
287
|
+
export const attachIP: API.OperationMethod<AttachIPRequest, IP, AttachIPError, ScalewayOpContext> =
|
|
288
|
+
/*@__PURE__*/ API.make(() => ({
|
|
289
|
+
input: __S(0, __c0, 0) as any as S.Schema<AttachIPRequest>,
|
|
290
|
+
output: __S(20, __c2, 4) as any as S.Schema<IP>,
|
|
291
|
+
errors: [],
|
|
292
|
+
serviceErrors: ScalewayServiceErrors,
|
|
293
|
+
protocol: ScalewayProtocol,
|
|
294
|
+
retry: Retry.Retry,
|
|
295
|
+
telemetry: TELEMETRY,
|
|
296
|
+
span: "AttachIP",
|
|
297
|
+
}));
|
|
298
|
+
|
|
299
|
+
export type BookIPError = ScalewayOpError;
|
|
300
|
+
/** Reserve a new IP Reserve a new IP from the specified source. Currently IPs can only be reserved from a Private Network. */
|
|
301
|
+
export const bookIP: API.OperationMethod<BookIPRequest, IP, BookIPError, ScalewayOpContext> =
|
|
302
|
+
/*@__PURE__*/ API.make(() => ({
|
|
303
|
+
input: __S(32, __c4, 0) as any as S.Schema<BookIPRequest>,
|
|
304
|
+
output: __S(20, __c2, 4) as any as S.Schema<IP>,
|
|
305
|
+
errors: [],
|
|
306
|
+
serviceErrors: ScalewayServiceErrors,
|
|
307
|
+
protocol: ScalewayProtocol,
|
|
308
|
+
retry: Retry.Retry,
|
|
309
|
+
telemetry: TELEMETRY,
|
|
310
|
+
span: "BookIP",
|
|
311
|
+
}));
|
|
312
|
+
|
|
313
|
+
export type DetachIPError = ScalewayOpError;
|
|
314
|
+
/** Detach private IP from a custom resource Detach a private IP from a custom resource. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this method for detaching IP addresses from standard Scaleway resources (e.g. Instances, Load Balancers) as it will fail - see the relevant product API for an equivalent method. */
|
|
315
|
+
export const detachIP: API.OperationMethod<DetachIPRequest, IP, DetachIPError, ScalewayOpContext> =
|
|
316
|
+
/*@__PURE__*/ API.make(() => ({
|
|
317
|
+
input: __S(40, __c5, 0) as any as S.Schema<DetachIPRequest>,
|
|
318
|
+
output: __S(20, __c2, 4) as any as S.Schema<IP>,
|
|
319
|
+
errors: [],
|
|
320
|
+
serviceErrors: ScalewayServiceErrors,
|
|
321
|
+
protocol: ScalewayProtocol,
|
|
322
|
+
retry: Retry.Retry,
|
|
323
|
+
telemetry: TELEMETRY,
|
|
324
|
+
span: "DetachIP",
|
|
325
|
+
}));
|
|
326
|
+
|
|
327
|
+
export type GetIPError = ScalewayOpError;
|
|
328
|
+
/** Get an IP Retrieve details of an existing IP, specified by its IP ID. */
|
|
329
|
+
export const getIP: API.OperationMethod<GetIPRequest, IP, GetIPError, ScalewayOpContext> =
|
|
330
|
+
/*@__PURE__*/ API.make(() => ({
|
|
331
|
+
input: __S(48, __c6, 0) as any as S.Schema<GetIPRequest>,
|
|
332
|
+
output: __S(20, __c2, 4) as any as S.Schema<IP>,
|
|
333
|
+
errors: [],
|
|
334
|
+
serviceErrors: ScalewayServiceErrors,
|
|
335
|
+
protocol: ScalewayProtocol,
|
|
336
|
+
retry: Retry.Retry,
|
|
337
|
+
telemetry: TELEMETRY,
|
|
338
|
+
span: "GetIP",
|
|
339
|
+
}));
|
|
340
|
+
|
|
341
|
+
export type ListIPsError = ScalewayOpError;
|
|
342
|
+
/** List existing IPs List existing IPs in the specified region using various filters. For example, you can filter for IPs within a specified Private Network, or for public IPs within a specified Project. By default, the IPs returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. */
|
|
343
|
+
export const listIPs: API.PaginatedOperationMethod<
|
|
344
|
+
ListIPsRequest,
|
|
345
|
+
ListIPsResponse,
|
|
346
|
+
ListIPsError,
|
|
347
|
+
ScalewayOpContext,
|
|
348
|
+
IP
|
|
349
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
350
|
+
() => ({
|
|
351
|
+
input: __S(57, __c7, 1) as any as S.Schema<ListIPsRequest>,
|
|
352
|
+
output: __S(59, __c7, 3) as any as S.Schema<ListIPsResponse>,
|
|
353
|
+
errors: [],
|
|
354
|
+
serviceErrors: ScalewayServiceErrors,
|
|
355
|
+
protocol: ScalewayProtocol,
|
|
356
|
+
retry: Retry.Retry,
|
|
357
|
+
telemetry: TELEMETRY,
|
|
358
|
+
span: "ListIPs",
|
|
359
|
+
pagination: {
|
|
360
|
+
mode: "page",
|
|
361
|
+
inputToken: "page",
|
|
362
|
+
outputToken: "total_count",
|
|
363
|
+
items: "ips",
|
|
364
|
+
pageSize: "page_size",
|
|
365
|
+
} as const,
|
|
366
|
+
}),
|
|
367
|
+
paginateByTotalCount,
|
|
368
|
+
) as any;
|
|
369
|
+
|
|
370
|
+
export type MoveIPError = ScalewayOpError;
|
|
371
|
+
/** Move private IP to a custom resource Move an existing reserved private IP from one custom resource (e.g. a virtual machine hosted on an Elastic Metal server) to another custom resource. This will detach it from the first resource, and attach it to the second. Do not use this method for moving IP addresses between standard Scaleway resources (e.g. Instances, Load Balancers) as it will fail - see the relevant product API for an equivalent method. */
|
|
372
|
+
export const moveIP: API.OperationMethod<MoveIPRequest, IP, MoveIPError, ScalewayOpContext> =
|
|
373
|
+
/*@__PURE__*/ API.make(() => ({
|
|
374
|
+
input: __S(64, __c8, 0) as any as S.Schema<MoveIPRequest>,
|
|
375
|
+
output: __S(20, __c2, 4) as any as S.Schema<IP>,
|
|
376
|
+
errors: [],
|
|
377
|
+
serviceErrors: ScalewayServiceErrors,
|
|
378
|
+
protocol: ScalewayProtocol,
|
|
379
|
+
retry: Retry.Retry,
|
|
380
|
+
telemetry: TELEMETRY,
|
|
381
|
+
span: "MoveIP",
|
|
382
|
+
}));
|
|
383
|
+
|
|
384
|
+
export type ReleaseIPError = ScalewayOpError;
|
|
385
|
+
/** Release an IP Release an IP not currently attached to a resource, and returns it to the available IP pool. */
|
|
386
|
+
export const releaseIP: API.OperationMethod<
|
|
387
|
+
ReleaseIPRequest,
|
|
388
|
+
ReleaseIPResponse,
|
|
389
|
+
ReleaseIPError,
|
|
390
|
+
ScalewayOpContext
|
|
391
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
392
|
+
input: __S(72, __c9, 0) as any as S.Schema<ReleaseIPRequest>,
|
|
393
|
+
output: __S(80, __c10, 0) as any as S.Schema<ReleaseIPResponse>,
|
|
394
|
+
errors: [],
|
|
395
|
+
serviceErrors: ScalewayServiceErrors,
|
|
396
|
+
protocol: ScalewayProtocol,
|
|
397
|
+
retry: Retry.Retry,
|
|
398
|
+
telemetry: TELEMETRY,
|
|
399
|
+
span: "ReleaseIP",
|
|
400
|
+
}));
|
|
401
|
+
|
|
402
|
+
export type ReleaseIPSetError = ScalewayOpError;
|
|
403
|
+
export const releaseIPSet: API.OperationMethod<
|
|
404
|
+
ReleaseIPSetRequest,
|
|
405
|
+
ReleaseIPSetResponse,
|
|
406
|
+
ReleaseIPSetError,
|
|
407
|
+
ScalewayOpContext
|
|
408
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
409
|
+
input: __S(88, __c11, 0) as any as S.Schema<ReleaseIPSetRequest>,
|
|
410
|
+
output: __S(80, __c10, 0) as any as S.Schema<ReleaseIPSetResponse>,
|
|
411
|
+
errors: [],
|
|
412
|
+
serviceErrors: ScalewayServiceErrors,
|
|
413
|
+
protocol: ScalewayProtocol,
|
|
414
|
+
retry: Retry.Retry,
|
|
415
|
+
telemetry: TELEMETRY,
|
|
416
|
+
span: "ReleaseIPSet",
|
|
417
|
+
}));
|
|
418
|
+
|
|
419
|
+
export type UpdateIPError = ScalewayOpError;
|
|
420
|
+
/** Update an IP Update parameters including tags of the specified IP. */
|
|
421
|
+
export const updateIP: API.OperationMethod<UpdateIPRequest, IP, UpdateIPError, ScalewayOpContext> =
|
|
422
|
+
/*@__PURE__*/ API.make(() => ({
|
|
423
|
+
input: __S(97, __c12, 1) as any as S.Schema<UpdateIPRequest>,
|
|
424
|
+
output: __S(20, __c2, 4) as any as S.Schema<IP>,
|
|
425
|
+
errors: [],
|
|
426
|
+
serviceErrors: ScalewayServiceErrors,
|
|
427
|
+
protocol: ScalewayProtocol,
|
|
428
|
+
retry: Retry.Retry,
|
|
429
|
+
telemetry: TELEMETRY,
|
|
430
|
+
span: "UpdateIP",
|
|
431
|
+
}));
|
|
432
|
+
|
|
433
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
434
|
+
function __c0(j: number): any {
|
|
435
|
+
switch (j) {
|
|
436
|
+
case 0:
|
|
437
|
+
return S.suspend(() =>
|
|
438
|
+
S.Struct({
|
|
439
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
440
|
+
ip_id: S.String.pipe(T.Label()),
|
|
441
|
+
resource: __S(24, __c3, 0),
|
|
442
|
+
}).pipe(
|
|
443
|
+
T.Http({
|
|
444
|
+
method: "POST",
|
|
445
|
+
uri: "/ipam/v1/regions/{region}/ips/{ip_id}/attach",
|
|
446
|
+
code: 200,
|
|
447
|
+
baseUrl: "https://api.scaleway.com",
|
|
448
|
+
}),
|
|
449
|
+
),
|
|
450
|
+
).annotate({ identifier: "AttachIPRequest" });
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
function __c1(j: number): any {
|
|
454
|
+
switch (j) {
|
|
455
|
+
case 0:
|
|
456
|
+
return S.Array(S.String);
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
function __c2(j: number): any {
|
|
460
|
+
switch (j) {
|
|
461
|
+
case 0:
|
|
462
|
+
return S.suspend(() =>
|
|
463
|
+
S.Struct({
|
|
464
|
+
zonal: S.optional(S.NullOr(S.String)),
|
|
465
|
+
private_network_id: S.optional(S.NullOr(S.String)),
|
|
466
|
+
subnet_id: S.optional(S.NullOr(S.String)),
|
|
467
|
+
vpc_id: S.optional(S.NullOr(S.String)),
|
|
468
|
+
regional: S.optional(S.NullOr(S.Boolean)),
|
|
469
|
+
}),
|
|
470
|
+
).annotate({ identifier: "Source" });
|
|
471
|
+
case 1:
|
|
472
|
+
return S.suspend(() =>
|
|
473
|
+
S.Struct({
|
|
474
|
+
type: S.optional(S.String),
|
|
475
|
+
id: S.optional(S.String),
|
|
476
|
+
mac_address: S.optional(S.NullOr(S.String)),
|
|
477
|
+
name: S.optional(S.NullOr(S.String)),
|
|
478
|
+
}),
|
|
479
|
+
).annotate({ identifier: "Resource" });
|
|
480
|
+
case 2:
|
|
481
|
+
return S.suspend(() =>
|
|
482
|
+
S.Struct({
|
|
483
|
+
hostname: S.optional(S.String),
|
|
484
|
+
address: S.optional(S.NullOr(S.String)),
|
|
485
|
+
}),
|
|
486
|
+
).annotate({ identifier: "Reverse" });
|
|
487
|
+
case 3:
|
|
488
|
+
return S.Array(__S(18, __c2, 2));
|
|
489
|
+
case 4:
|
|
490
|
+
return S.suspend(() =>
|
|
491
|
+
S.Struct({
|
|
492
|
+
id: S.optional(S.String),
|
|
493
|
+
srn: S.optional(S.String),
|
|
494
|
+
address: S.optional(S.String),
|
|
495
|
+
project_id: S.optional(S.String),
|
|
496
|
+
is_ipv6: S.optional(S.Boolean),
|
|
497
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
498
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
499
|
+
source: S.optional(__S(16, __c2, 0)),
|
|
500
|
+
resource: S.optional(__S(17, __c2, 1)),
|
|
501
|
+
tags: S.optional(__S(8, __c1, 0)),
|
|
502
|
+
reverses: S.optional(__S(19, __c2, 3)),
|
|
503
|
+
region: S.optional(S.String),
|
|
504
|
+
zone: S.optional(S.String),
|
|
505
|
+
}),
|
|
506
|
+
).annotate({ identifier: "IP" });
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
function __c3(j: number): any {
|
|
510
|
+
switch (j) {
|
|
511
|
+
case 0:
|
|
512
|
+
return S.suspend(() =>
|
|
513
|
+
S.Struct({
|
|
514
|
+
mac_address: S.optional(S.String),
|
|
515
|
+
name: S.optional(S.NullOr(S.String)),
|
|
516
|
+
}),
|
|
517
|
+
).annotate({ identifier: "CustomResource" });
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
function __c4(j: number): any {
|
|
521
|
+
switch (j) {
|
|
522
|
+
case 0:
|
|
523
|
+
return S.suspend(() =>
|
|
524
|
+
S.Struct({
|
|
525
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
526
|
+
project_id: S.String,
|
|
527
|
+
source: __S(16, __c2, 0),
|
|
528
|
+
is_ipv6: S.optional(S.Boolean),
|
|
529
|
+
address: S.optional(S.NullOr(S.String)),
|
|
530
|
+
tags: S.optional(__S(8, __c1, 0)),
|
|
531
|
+
resource: S.optional(__S(24, __c3, 0)),
|
|
532
|
+
}).pipe(
|
|
533
|
+
T.Http({
|
|
534
|
+
method: "POST",
|
|
535
|
+
uri: "/ipam/v1/regions/{region}/ips",
|
|
536
|
+
code: 200,
|
|
537
|
+
baseUrl: "https://api.scaleway.com",
|
|
538
|
+
}),
|
|
539
|
+
),
|
|
540
|
+
).annotate({ identifier: "BookIPRequest" });
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
function __c5(j: number): any {
|
|
544
|
+
switch (j) {
|
|
545
|
+
case 0:
|
|
546
|
+
return S.suspend(() =>
|
|
547
|
+
S.Struct({
|
|
548
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
549
|
+
ip_id: S.String.pipe(T.Label()),
|
|
550
|
+
resource: __S(24, __c3, 0),
|
|
551
|
+
}).pipe(
|
|
552
|
+
T.Http({
|
|
553
|
+
method: "POST",
|
|
554
|
+
uri: "/ipam/v1/regions/{region}/ips/{ip_id}/detach",
|
|
555
|
+
code: 200,
|
|
556
|
+
baseUrl: "https://api.scaleway.com",
|
|
557
|
+
}),
|
|
558
|
+
),
|
|
559
|
+
).annotate({ identifier: "DetachIPRequest" });
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
function __c6(j: number): any {
|
|
563
|
+
switch (j) {
|
|
564
|
+
case 0:
|
|
565
|
+
return S.suspend(() =>
|
|
566
|
+
S.Struct({
|
|
567
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
568
|
+
ip_id: S.String.pipe(T.Label()),
|
|
569
|
+
}).pipe(
|
|
570
|
+
T.Http({
|
|
571
|
+
method: "GET",
|
|
572
|
+
uri: "/ipam/v1/regions/{region}/ips/{ip_id}",
|
|
573
|
+
code: 200,
|
|
574
|
+
baseUrl: "https://api.scaleway.com",
|
|
575
|
+
}),
|
|
576
|
+
),
|
|
577
|
+
).annotate({ identifier: "GetIPRequest" });
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
function __c7(j: number): any {
|
|
581
|
+
switch (j) {
|
|
582
|
+
case 0:
|
|
583
|
+
return S.Array(S.String);
|
|
584
|
+
case 1:
|
|
585
|
+
return S.suspend(() =>
|
|
586
|
+
S.Struct({
|
|
587
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
588
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
589
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
590
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
591
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
592
|
+
vpc_id: S.optional(S.String.pipe(T.Query())),
|
|
593
|
+
attached: S.optional(S.Boolean.pipe(T.Query())),
|
|
594
|
+
resource_name: S.optional(S.String.pipe(T.Query())),
|
|
595
|
+
resource_id: S.optional(S.String.pipe(T.Query())),
|
|
596
|
+
resource_ids: S.optional(__S(8, __c1, 0).pipe(T.Query())),
|
|
597
|
+
resource_type: S.optional(S.String.pipe(T.Query())),
|
|
598
|
+
resource_types: S.optional(__S(56, __c7, 0).pipe(T.Query())),
|
|
599
|
+
mac_address: S.optional(S.String.pipe(T.Query())),
|
|
600
|
+
tags: S.optional(__S(8, __c1, 0).pipe(T.Query())),
|
|
601
|
+
organization_id: S.optional(S.String.pipe(T.Query())),
|
|
602
|
+
is_ipv6: S.optional(S.Boolean.pipe(T.Query())),
|
|
603
|
+
ip_ids: S.optional(__S(8, __c1, 0).pipe(T.Query())),
|
|
604
|
+
zonal: S.optional(S.String.pipe(T.Query())),
|
|
605
|
+
regional: S.optional(S.Boolean.pipe(T.Query())),
|
|
606
|
+
private_network_id: S.optional(S.String.pipe(T.Query())),
|
|
607
|
+
subnet_id: S.optional(S.String.pipe(T.Query())),
|
|
608
|
+
source_vpc_id: S.optional(S.String.pipe(T.Query())),
|
|
609
|
+
}).pipe(
|
|
610
|
+
T.Http({
|
|
611
|
+
method: "GET",
|
|
612
|
+
uri: "/ipam/v1/regions/{region}/ips",
|
|
613
|
+
code: 200,
|
|
614
|
+
baseUrl: "https://api.scaleway.com",
|
|
615
|
+
}),
|
|
616
|
+
),
|
|
617
|
+
).annotate({ identifier: "ListIPsRequest" });
|
|
618
|
+
case 2:
|
|
619
|
+
return S.Array(__S(20, __c2, 4));
|
|
620
|
+
case 3:
|
|
621
|
+
return S.suspend(() =>
|
|
622
|
+
S.Struct({
|
|
623
|
+
total_count: S.optional(S.Number),
|
|
624
|
+
ips: __S(58, __c7, 2),
|
|
625
|
+
}),
|
|
626
|
+
).annotate({ identifier: "ListIPsResponse" });
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
function __c8(j: number): any {
|
|
630
|
+
switch (j) {
|
|
631
|
+
case 0:
|
|
632
|
+
return S.suspend(() =>
|
|
633
|
+
S.Struct({
|
|
634
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
635
|
+
ip_id: S.String.pipe(T.Label()),
|
|
636
|
+
from_resource: __S(24, __c3, 0),
|
|
637
|
+
to_resource: S.optional(__S(24, __c3, 0)),
|
|
638
|
+
}).pipe(
|
|
639
|
+
T.Http({
|
|
640
|
+
method: "POST",
|
|
641
|
+
uri: "/ipam/v1/regions/{region}/ips/{ip_id}/move",
|
|
642
|
+
code: 200,
|
|
643
|
+
baseUrl: "https://api.scaleway.com",
|
|
644
|
+
}),
|
|
645
|
+
),
|
|
646
|
+
).annotate({ identifier: "MoveIPRequest" });
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
function __c9(j: number): any {
|
|
650
|
+
switch (j) {
|
|
651
|
+
case 0:
|
|
652
|
+
return S.suspend(() =>
|
|
653
|
+
S.Struct({
|
|
654
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
655
|
+
ip_id: S.String.pipe(T.Label()),
|
|
656
|
+
}).pipe(
|
|
657
|
+
T.Http({
|
|
658
|
+
method: "DELETE",
|
|
659
|
+
uri: "/ipam/v1/regions/{region}/ips/{ip_id}",
|
|
660
|
+
code: 200,
|
|
661
|
+
baseUrl: "https://api.scaleway.com",
|
|
662
|
+
}),
|
|
663
|
+
),
|
|
664
|
+
).annotate({ identifier: "ReleaseIPRequest" });
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
function __c10(j: number): any {
|
|
668
|
+
switch (j) {
|
|
669
|
+
case 0:
|
|
670
|
+
return S.suspend(() => S.Struct({})).annotate({ identifier: "ReleaseIPResponse" });
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
function __c11(j: number): any {
|
|
674
|
+
switch (j) {
|
|
675
|
+
case 0:
|
|
676
|
+
return S.suspend(() =>
|
|
677
|
+
S.Struct({
|
|
678
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
679
|
+
ip_ids: S.optional(__S(8, __c1, 0)),
|
|
680
|
+
}).pipe(
|
|
681
|
+
T.Http({
|
|
682
|
+
method: "POST",
|
|
683
|
+
uri: "/ipam/v1/regions/{region}/ip-sets/release",
|
|
684
|
+
code: 200,
|
|
685
|
+
baseUrl: "https://api.scaleway.com",
|
|
686
|
+
}),
|
|
687
|
+
),
|
|
688
|
+
).annotate({ identifier: "ReleaseIPSetRequest" });
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
function __c12(j: number): any {
|
|
692
|
+
switch (j) {
|
|
693
|
+
case 0:
|
|
694
|
+
return S.Array(S.Unknown);
|
|
695
|
+
case 1:
|
|
696
|
+
return S.suspend(() =>
|
|
697
|
+
S.Struct({
|
|
698
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
699
|
+
ip_id: S.String.pipe(T.Label()),
|
|
700
|
+
tags: S.optional(S.NullOr(__S(96, __c12, 0))),
|
|
701
|
+
reverses: S.optional(__S(19, __c2, 3)),
|
|
702
|
+
}).pipe(
|
|
703
|
+
T.Http({
|
|
704
|
+
method: "PATCH",
|
|
705
|
+
uri: "/ipam/v1/regions/{region}/ips/{ip_id}",
|
|
706
|
+
code: 200,
|
|
707
|
+
baseUrl: "https://api.scaleway.com",
|
|
708
|
+
}),
|
|
709
|
+
),
|
|
710
|
+
).annotate({ identifier: "UpdateIPRequest" });
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
714
|
+
function __S(i: number, f: (j: number) => unknown, j: number): any {
|
|
715
|
+
return (__s[i] ??= __L.at(f, j));
|
|
716
|
+
}
|