@distilled.cloud/scaleway 0.0.0-stage → 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 +175 -2
- 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 +94 -3
- 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,1794 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import { BinaryStream } from "@distilled.cloud/core/protocol-rest";
|
|
3
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-scaleway). Do not edit.
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
|
+
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
6
|
+
import type * as Redacted from "effect/Redacted";
|
|
7
|
+
import { ScalewayServiceErrors } from "../errors.ts";
|
|
8
|
+
import { paginateByTotalCount } from "../pagination.ts";
|
|
9
|
+
import { ScalewayProtocol, type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
10
|
+
import * as Retry from "../retry.ts";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
// Schema table, filled on first reach (see __S at the end).
|
|
13
|
+
const __s: any[] = [];
|
|
14
|
+
|
|
15
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
16
|
+
|
|
17
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
18
|
+
const TELEMETRY = {
|
|
19
|
+
system: "scaleway-api",
|
|
20
|
+
responseHeaders: [
|
|
21
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
22
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
23
|
+
],
|
|
24
|
+
prefix: "Scaleway",
|
|
25
|
+
service: "DomainV2beta1",
|
|
26
|
+
labels: "scaleway",
|
|
27
|
+
propagate: "w3c",
|
|
28
|
+
} as const;
|
|
29
|
+
|
|
30
|
+
export interface ClearDNSZoneRecordsRequest {
|
|
31
|
+
/** DNS zone to clear. */
|
|
32
|
+
dns_zone: string;
|
|
33
|
+
}
|
|
34
|
+
export type ClearDNSZoneRecordsResponse2 = unknown;
|
|
35
|
+
export interface CloneDNSZoneRequest {
|
|
36
|
+
/** DNS zone to clone. */
|
|
37
|
+
dns_zone: string;
|
|
38
|
+
/** Destination DNS zone in which to clone the chosen DNS zone. */
|
|
39
|
+
dest_dns_zone: string;
|
|
40
|
+
/** Specifies whether or not the destination DNS zone will be overwritten. */
|
|
41
|
+
overwrite?: boolean | undefined;
|
|
42
|
+
/** Project ID of the destination DNS zone. */
|
|
43
|
+
project_id?: string | null | undefined;
|
|
44
|
+
}
|
|
45
|
+
export type DNSZoneNsList = Array<string>;
|
|
46
|
+
export type DNSZoneNsDefaultList = Array<string>;
|
|
47
|
+
export type DNSZoneNsMasterList = Array<string>;
|
|
48
|
+
export type DNSZoneStatus = "unknown" | "active" | "pending" | "error" | "locked";
|
|
49
|
+
export type LinkedProduct = "unknown_product" | "vpc";
|
|
50
|
+
export type DNSZoneLinkedProductsList = Array<LinkedProduct>;
|
|
51
|
+
export interface DNSZone {
|
|
52
|
+
domain?: string | undefined;
|
|
53
|
+
subdomain?: string | undefined;
|
|
54
|
+
ns?: DNSZoneNsList | undefined;
|
|
55
|
+
ns_default?: DNSZoneNsDefaultList | undefined;
|
|
56
|
+
ns_master?: DNSZoneNsMasterList | undefined;
|
|
57
|
+
status?: DNSZoneStatus | undefined;
|
|
58
|
+
message?: string | null | undefined;
|
|
59
|
+
/** (RFC 3339 format) */
|
|
60
|
+
updated_at?: string | null | undefined;
|
|
61
|
+
project_id?: string | undefined;
|
|
62
|
+
linked_products?: DNSZoneLinkedProductsList | undefined;
|
|
63
|
+
srn?: string | undefined;
|
|
64
|
+
dns_zone?: string | undefined;
|
|
65
|
+
}
|
|
66
|
+
export interface CreateDNSZoneRequest {
|
|
67
|
+
/** Domain in which to create the DNS zone. */
|
|
68
|
+
domain: string;
|
|
69
|
+
/** Subdomain of the DNS zone to create. */
|
|
70
|
+
subdomain: string;
|
|
71
|
+
/** Project ID in which to create the DNS zone. */
|
|
72
|
+
project_id: string;
|
|
73
|
+
}
|
|
74
|
+
export type CreateSSLCertificateRequestAlternativeDnsZonesList = Array<string>;
|
|
75
|
+
export interface CreateSSLCertificateRequest {
|
|
76
|
+
dns_zone?: string | undefined;
|
|
77
|
+
alternative_dns_zones?: CreateSSLCertificateRequestAlternativeDnsZonesList | undefined;
|
|
78
|
+
}
|
|
79
|
+
export type SSLCertificateAlternativeDnsZonesList = Array<string>;
|
|
80
|
+
export type SSLCertificateStatus = "unknown" | "new" | "pending" | "success" | "error";
|
|
81
|
+
export interface SSLCertificate {
|
|
82
|
+
dns_zone?: string | undefined;
|
|
83
|
+
alternative_dns_zones?: SSLCertificateAlternativeDnsZonesList | undefined;
|
|
84
|
+
status?: SSLCertificateStatus | undefined;
|
|
85
|
+
private_key?: string | Redacted.Redacted<string> | undefined;
|
|
86
|
+
certificate_chain?: string | undefined;
|
|
87
|
+
/** (RFC 3339 format) */
|
|
88
|
+
created_at?: string | null | undefined;
|
|
89
|
+
/** (RFC 3339 format) */
|
|
90
|
+
expired_at?: string | null | undefined;
|
|
91
|
+
srn?: string | undefined;
|
|
92
|
+
}
|
|
93
|
+
export interface DeleteDNSZoneRequest {
|
|
94
|
+
/** DNS zone to delete. */
|
|
95
|
+
dns_zone: string;
|
|
96
|
+
/** Project ID of the DNS zone to delete. */
|
|
97
|
+
project_id: string;
|
|
98
|
+
}
|
|
99
|
+
export type DeleteDNSZoneResponse2 = unknown;
|
|
100
|
+
export interface DeleteDNSZoneTsigKeyRequest {
|
|
101
|
+
dns_zone: string;
|
|
102
|
+
}
|
|
103
|
+
export interface DeleteDNSZoneTsigKeyResponse {}
|
|
104
|
+
export interface DeleteSSLCertificateRequest {
|
|
105
|
+
dns_zone: string;
|
|
106
|
+
}
|
|
107
|
+
export type DeleteSSLCertificateResponse2 = unknown;
|
|
108
|
+
export type RawFormat = "unknown_raw_format" | "bind";
|
|
109
|
+
export interface ExportRawDNSZoneRequest {
|
|
110
|
+
/** DNS zone to export. */
|
|
111
|
+
dns_zone: string;
|
|
112
|
+
/** DNS zone format. */
|
|
113
|
+
format?: RawFormat | (string & {}) | undefined;
|
|
114
|
+
}
|
|
115
|
+
export interface ScalewayStdFile {
|
|
116
|
+
name?: string | undefined;
|
|
117
|
+
content_type?: string | undefined;
|
|
118
|
+
content?: string | undefined;
|
|
119
|
+
}
|
|
120
|
+
export interface ExportRawDNSZoneRawRequest {
|
|
121
|
+
/** DNS zone to export. */
|
|
122
|
+
dns_zone: string;
|
|
123
|
+
/** DNS zone format. */
|
|
124
|
+
format?: RawFormat | (string & {}) | undefined;
|
|
125
|
+
}
|
|
126
|
+
export interface ExportRawDNSZoneRawResponse {
|
|
127
|
+
body: BinaryStream;
|
|
128
|
+
/** Media type of the body, from the response's `Content-Type` header (e.g. `image/jpeg`). */
|
|
129
|
+
contentType?: string | undefined;
|
|
130
|
+
}
|
|
131
|
+
export interface GetDNSZoneTsigKeyRequest {
|
|
132
|
+
dns_zone: string;
|
|
133
|
+
}
|
|
134
|
+
export interface GetDNSZoneTsigKeyResponse {
|
|
135
|
+
name?: string | undefined;
|
|
136
|
+
key?: string | undefined;
|
|
137
|
+
algorithm?: string | undefined;
|
|
138
|
+
}
|
|
139
|
+
export interface GetDNSZoneVersionDiffRequest {
|
|
140
|
+
/** (UUID format) */
|
|
141
|
+
dns_zone_version_id: string;
|
|
142
|
+
}
|
|
143
|
+
export type RecordType =
|
|
144
|
+
| "unknown"
|
|
145
|
+
| "A"
|
|
146
|
+
| "AAAA"
|
|
147
|
+
| "CNAME"
|
|
148
|
+
| "TXT"
|
|
149
|
+
| "SRV"
|
|
150
|
+
| "TLSA"
|
|
151
|
+
| "MX"
|
|
152
|
+
| "NS"
|
|
153
|
+
| "PTR"
|
|
154
|
+
| "CAA"
|
|
155
|
+
| "ALIAS"
|
|
156
|
+
| "LOC"
|
|
157
|
+
| "SSHFP"
|
|
158
|
+
| "HINFO"
|
|
159
|
+
| "RP"
|
|
160
|
+
| "URI"
|
|
161
|
+
| "DS"
|
|
162
|
+
| "NAPTR"
|
|
163
|
+
| "DNAME"
|
|
164
|
+
| "SVCB"
|
|
165
|
+
| "HTTPS";
|
|
166
|
+
export type RecordGeoIPConfigMatchCountriesList = Array<string>;
|
|
167
|
+
export type RecordGeoIPConfigMatchContinentsList = Array<string>;
|
|
168
|
+
export interface RecordGeoIPConfigMatch {
|
|
169
|
+
countries?: RecordGeoIPConfigMatchCountriesList | undefined;
|
|
170
|
+
continents?: RecordGeoIPConfigMatchContinentsList | undefined;
|
|
171
|
+
data?: string | undefined;
|
|
172
|
+
}
|
|
173
|
+
export type RecordGeoIPConfigMatchesList = Array<RecordGeoIPConfigMatch>;
|
|
174
|
+
export interface RecordGeoIPConfig {
|
|
175
|
+
matches?: RecordGeoIPConfigMatchesList | undefined;
|
|
176
|
+
default?: string | undefined;
|
|
177
|
+
}
|
|
178
|
+
/** (IP address) */
|
|
179
|
+
export type RecordHTTPServiceConfigIpsList = Array<string>;
|
|
180
|
+
export type RecordHTTPServiceConfigStrategy = "random" | "hashed" | "all";
|
|
181
|
+
export interface RecordHTTPServiceConfig {
|
|
182
|
+
/** (IP address) */
|
|
183
|
+
ips?: RecordHTTPServiceConfigIpsList | undefined;
|
|
184
|
+
must_contain?: string | null | undefined;
|
|
185
|
+
url?: string | undefined;
|
|
186
|
+
user_agent?: string | null | undefined;
|
|
187
|
+
strategy?: RecordHTTPServiceConfigStrategy | (string & {}) | undefined;
|
|
188
|
+
}
|
|
189
|
+
export interface RecordWeightedConfigWeightedIP {
|
|
190
|
+
/** (IP address) */
|
|
191
|
+
ip?: string | undefined;
|
|
192
|
+
weight?: number | undefined;
|
|
193
|
+
}
|
|
194
|
+
export type RecordWeightedConfigWeightedIpsList = Array<RecordWeightedConfigWeightedIP>;
|
|
195
|
+
export interface RecordWeightedConfig {
|
|
196
|
+
weighted_ips?: RecordWeightedConfigWeightedIpsList | undefined;
|
|
197
|
+
}
|
|
198
|
+
export interface RecordViewConfigView {
|
|
199
|
+
subnet?: string | undefined;
|
|
200
|
+
data?: string | undefined;
|
|
201
|
+
}
|
|
202
|
+
export type RecordViewConfigViewsList = Array<RecordViewConfigView>;
|
|
203
|
+
export interface RecordViewConfig {
|
|
204
|
+
views?: RecordViewConfigViewsList | undefined;
|
|
205
|
+
}
|
|
206
|
+
export interface Record {
|
|
207
|
+
data?: string | undefined;
|
|
208
|
+
name?: string | undefined;
|
|
209
|
+
priority?: number | undefined;
|
|
210
|
+
ttl?: number | undefined;
|
|
211
|
+
type?: RecordType | (string & {}) | undefined;
|
|
212
|
+
comment?: string | null | undefined;
|
|
213
|
+
/** Precisely one of geo_ip_config, http_service_config, weighted_config, view_config can be set. */
|
|
214
|
+
geo_ip_config?: RecordGeoIPConfig | null | undefined;
|
|
215
|
+
/** Precisely one of geo_ip_config, http_service_config, weighted_config, view_config can be set. */
|
|
216
|
+
http_service_config?: RecordHTTPServiceConfig | null | undefined;
|
|
217
|
+
/** Precisely one of geo_ip_config, http_service_config, weighted_config, view_config can be set. */
|
|
218
|
+
weighted_config?: RecordWeightedConfig | null | undefined;
|
|
219
|
+
/** Precisely one of geo_ip_config, http_service_config, weighted_config, view_config can be set. */
|
|
220
|
+
view_config?: RecordViewConfig | null | undefined;
|
|
221
|
+
id?: string | undefined;
|
|
222
|
+
/** (RFC 3339 format) */
|
|
223
|
+
updated_at?: string | null | undefined;
|
|
224
|
+
}
|
|
225
|
+
export type RecordChangeAddRecordsList = Array<Record>;
|
|
226
|
+
export interface RecordChangeAdd {
|
|
227
|
+
records?: RecordChangeAddRecordsList | undefined;
|
|
228
|
+
}
|
|
229
|
+
export interface RecordIdentifier {
|
|
230
|
+
name?: string | undefined;
|
|
231
|
+
type?: RecordType | (string & {}) | undefined;
|
|
232
|
+
data?: string | null | undefined;
|
|
233
|
+
ttl?: number | null | undefined;
|
|
234
|
+
}
|
|
235
|
+
export type RecordChangeSetRecordsList = Array<Record>;
|
|
236
|
+
export interface RecordChangeSet {
|
|
237
|
+
/** (UUID format) Precisely one of id, id_fields can be set. */
|
|
238
|
+
id?: string | null | undefined;
|
|
239
|
+
/** Precisely one of id, id_fields can be set. */
|
|
240
|
+
id_fields?: RecordIdentifier | null | undefined;
|
|
241
|
+
records?: RecordChangeSetRecordsList | undefined;
|
|
242
|
+
}
|
|
243
|
+
export interface RecordChangeDelete {
|
|
244
|
+
/** (UUID format) Precisely one of id, id_fields can be set. */
|
|
245
|
+
id?: string | null | undefined;
|
|
246
|
+
/** Precisely one of id, id_fields can be set. */
|
|
247
|
+
id_fields?: RecordIdentifier | null | undefined;
|
|
248
|
+
}
|
|
249
|
+
export interface RecordChange {
|
|
250
|
+
/** Precisely one of add, set, delete, clear can be set. */
|
|
251
|
+
add?: RecordChangeAdd | null | undefined;
|
|
252
|
+
/** Precisely one of add, set, delete, clear can be set. */
|
|
253
|
+
set?: RecordChangeSet | null | undefined;
|
|
254
|
+
/** Precisely one of add, set, delete, clear can be set. */
|
|
255
|
+
delete?: RecordChangeDelete | null | undefined;
|
|
256
|
+
/** Precisely one of add, set, delete, clear can be set. */
|
|
257
|
+
clear?: unknown | null | undefined;
|
|
258
|
+
}
|
|
259
|
+
export type GetDNSZoneVersionDiffResponseChangesList = Array<RecordChange>;
|
|
260
|
+
export interface GetDNSZoneVersionDiffResponse {
|
|
261
|
+
changes?: GetDNSZoneVersionDiffResponseChangesList | undefined;
|
|
262
|
+
}
|
|
263
|
+
export interface GetSSLCertificateRequest {
|
|
264
|
+
dns_zone: string;
|
|
265
|
+
}
|
|
266
|
+
export interface ImportProviderDNSZoneRequestOnlineV1 {
|
|
267
|
+
token?: string | Redacted.Redacted<string> | undefined;
|
|
268
|
+
}
|
|
269
|
+
export interface ImportProviderDNSZoneRequest {
|
|
270
|
+
dns_zone: string;
|
|
271
|
+
/** Precisely one of online_v1 can be set. */
|
|
272
|
+
online_v1?: ImportProviderDNSZoneRequestOnlineV1 | null | undefined;
|
|
273
|
+
}
|
|
274
|
+
export type ImportProviderDNSZoneResponseRecordsList = Array<Record>;
|
|
275
|
+
export interface ImportProviderDNSZoneResponse {
|
|
276
|
+
records?: ImportProviderDNSZoneResponseRecordsList | undefined;
|
|
277
|
+
}
|
|
278
|
+
export interface ImportRawDNSZoneRequestBindSource {
|
|
279
|
+
content?: string | undefined;
|
|
280
|
+
}
|
|
281
|
+
export interface ImportRawDNSZoneRequestTsigKey {
|
|
282
|
+
name?: string | undefined;
|
|
283
|
+
key?: string | undefined;
|
|
284
|
+
algorithm?: string | undefined;
|
|
285
|
+
}
|
|
286
|
+
export interface ImportRawDNSZoneRequestAXFRSource {
|
|
287
|
+
name_server?: string | undefined;
|
|
288
|
+
tsig_key?: ImportRawDNSZoneRequestTsigKey | undefined;
|
|
289
|
+
}
|
|
290
|
+
export interface ImportRawDNSZoneRequest {
|
|
291
|
+
/** DNS zone to import. */
|
|
292
|
+
dns_zone: string;
|
|
293
|
+
content?: string | undefined;
|
|
294
|
+
project_id?: string | undefined;
|
|
295
|
+
format?: RawFormat | (string & {}) | undefined;
|
|
296
|
+
/** Import a bind file format. Precisely one of bind_source, axfr_source can be set. */
|
|
297
|
+
bind_source?: ImportRawDNSZoneRequestBindSource | null | undefined;
|
|
298
|
+
/** Import from the name server given with TSIG, to use or not. Precisely one of bind_source, axfr_source can be set. */
|
|
299
|
+
axfr_source?: ImportRawDNSZoneRequestAXFRSource | null | undefined;
|
|
300
|
+
}
|
|
301
|
+
export type ImportRawDNSZoneResponseRecordsList = Array<Record>;
|
|
302
|
+
export interface ImportRawDNSZoneResponse {
|
|
303
|
+
records?: ImportRawDNSZoneResponseRecordsList | undefined;
|
|
304
|
+
}
|
|
305
|
+
export interface ListDNSZoneNameserversRequest {
|
|
306
|
+
/** DNS zone on which to filter the returned DNS zone name servers. */
|
|
307
|
+
dns_zone: string;
|
|
308
|
+
/** Project ID on which to filter the returned DNS zone name servers. */
|
|
309
|
+
project_id?: string | undefined;
|
|
310
|
+
}
|
|
311
|
+
export type NameserverIpList = Array<string>;
|
|
312
|
+
export interface Nameserver {
|
|
313
|
+
name?: string | undefined;
|
|
314
|
+
ip?: NameserverIpList | undefined;
|
|
315
|
+
}
|
|
316
|
+
/** DNS zone name servers returned. */
|
|
317
|
+
export type ListDNSZoneNameserversResponseNsList = Array<Nameserver>;
|
|
318
|
+
export interface ListDNSZoneNameserversResponse {
|
|
319
|
+
/** DNS zone name servers returned. */
|
|
320
|
+
ns?: ListDNSZoneNameserversResponseNsList | undefined;
|
|
321
|
+
}
|
|
322
|
+
export type ListDNSZoneRecordsRequestOrderBy = "name_asc" | "name_desc";
|
|
323
|
+
export interface ListDNSZoneRecordsRequest {
|
|
324
|
+
/** DNS zone on which to filter the returned DNS zone records. */
|
|
325
|
+
dns_zone: string;
|
|
326
|
+
/** Project ID on which to filter the returned DNS zone records. */
|
|
327
|
+
project_id?: string | undefined;
|
|
328
|
+
/** Sort order of the returned DNS zone records. */
|
|
329
|
+
order_by?: ListDNSZoneRecordsRequestOrderBy | (string & {}) | undefined;
|
|
330
|
+
/** Page number to return, from the paginated results. */
|
|
331
|
+
page?: number | undefined;
|
|
332
|
+
/** Maximum number of DNS zone records per page. */
|
|
333
|
+
page_size?: number | undefined;
|
|
334
|
+
/** Name on which to filter the returned DNS zone records. */
|
|
335
|
+
name: string;
|
|
336
|
+
/** Record type on which to filter the returned DNS zone records. */
|
|
337
|
+
type?: RecordType | (string & {}) | undefined;
|
|
338
|
+
/** Record ID on which to filter the returned DNS zone records. */
|
|
339
|
+
id?: string | undefined;
|
|
340
|
+
}
|
|
341
|
+
/** Paginated returned DNS zone records. */
|
|
342
|
+
export type ListDNSZoneRecordsResponseRecordsList = Array<Record>;
|
|
343
|
+
export interface ListDNSZoneRecordsResponse {
|
|
344
|
+
/** Total number of DNS zone records. */
|
|
345
|
+
total_count?: number | undefined;
|
|
346
|
+
/** Paginated returned DNS zone records. */
|
|
347
|
+
records: ListDNSZoneRecordsResponseRecordsList;
|
|
348
|
+
}
|
|
349
|
+
export type ListDNSZonesRequestOrderBy =
|
|
350
|
+
| "domain_asc"
|
|
351
|
+
| "domain_desc"
|
|
352
|
+
| "subdomain_asc"
|
|
353
|
+
| "subdomain_desc"
|
|
354
|
+
| "created_at_asc"
|
|
355
|
+
| "created_at_desc"
|
|
356
|
+
| "updated_at_asc"
|
|
357
|
+
| "updated_at_desc";
|
|
358
|
+
export type ListDNSZonesRequestDnsZonesList = Array<string>;
|
|
359
|
+
export interface ListDNSZonesRequest {
|
|
360
|
+
/** Organization ID on which to filter the returned DNS zones. */
|
|
361
|
+
organization_id?: string | undefined;
|
|
362
|
+
/** Project ID on which to filter the returned DNS zones. */
|
|
363
|
+
project_id?: string | undefined;
|
|
364
|
+
/** Sort order of the returned DNS zones. */
|
|
365
|
+
order_by?: ListDNSZonesRequestOrderBy | (string & {}) | undefined;
|
|
366
|
+
/** Page number to return, from the paginated results. */
|
|
367
|
+
page?: number | undefined;
|
|
368
|
+
/** Maximum number of DNS zones to return per page. */
|
|
369
|
+
page_size?: number | undefined;
|
|
370
|
+
/** Domain on which to filter the returned DNS zones. */
|
|
371
|
+
domain: string;
|
|
372
|
+
/** DNS zone on which to filter the returned DNS zones. */
|
|
373
|
+
dns_zone: string;
|
|
374
|
+
/** DNS zones on which to filter the returned DNS zones. */
|
|
375
|
+
dns_zones?: ListDNSZonesRequestDnsZonesList | undefined;
|
|
376
|
+
/** Only list DNS zones created after this date. (RFC 3339 format) */
|
|
377
|
+
created_after?: string | undefined;
|
|
378
|
+
/** Only list DNS zones created before this date. (RFC 3339 format) */
|
|
379
|
+
created_before?: string | undefined;
|
|
380
|
+
/** Only list DNS zones updated after this date. (RFC 3339 format) */
|
|
381
|
+
updated_after?: string | undefined;
|
|
382
|
+
/** Only list DNS zones updated before this date. (RFC 3339 format) */
|
|
383
|
+
updated_before?: string | undefined;
|
|
384
|
+
}
|
|
385
|
+
/** Paginated returned DNS zones. */
|
|
386
|
+
export type ListDNSZonesResponseDnsZonesList = Array<DNSZone>;
|
|
387
|
+
export interface ListDNSZonesResponse {
|
|
388
|
+
/** Total number of DNS zones matching the requested criteria. */
|
|
389
|
+
total_count?: number | undefined;
|
|
390
|
+
/** Paginated returned DNS zones. */
|
|
391
|
+
dns_zones: ListDNSZonesResponseDnsZonesList;
|
|
392
|
+
}
|
|
393
|
+
export interface ListDNSZoneVersionRecordsRequest {
|
|
394
|
+
/** (UUID format) */
|
|
395
|
+
dns_zone_version_id: string;
|
|
396
|
+
/** Page number to return, from the paginated results. */
|
|
397
|
+
page?: number | undefined;
|
|
398
|
+
/** Maximum number of DNS zones versions records per page. */
|
|
399
|
+
page_size?: number | undefined;
|
|
400
|
+
}
|
|
401
|
+
export type ListDNSZoneVersionRecordsResponseRecordsList = Array<Record>;
|
|
402
|
+
export interface ListDNSZoneVersionRecordsResponse {
|
|
403
|
+
/** Total number of DNS zones versions records. */
|
|
404
|
+
total_count?: number | undefined;
|
|
405
|
+
records: ListDNSZoneVersionRecordsResponseRecordsList;
|
|
406
|
+
}
|
|
407
|
+
export interface ListDNSZoneVersionsRequest {
|
|
408
|
+
dns_zone: string;
|
|
409
|
+
/** Page number to return, from the paginated results. */
|
|
410
|
+
page?: number | undefined;
|
|
411
|
+
/** Maximum number of DNS zones versions per page. */
|
|
412
|
+
page_size?: number | undefined;
|
|
413
|
+
}
|
|
414
|
+
export interface DNSZoneVersion {
|
|
415
|
+
/** (UUID format) */
|
|
416
|
+
id?: string | undefined;
|
|
417
|
+
/** (RFC 3339 format) */
|
|
418
|
+
created_at?: string | null | undefined;
|
|
419
|
+
}
|
|
420
|
+
export type ListDNSZoneVersionsResponseVersionsList = Array<DNSZoneVersion>;
|
|
421
|
+
export interface ListDNSZoneVersionsResponse {
|
|
422
|
+
/** Total number of DNS zones versions. */
|
|
423
|
+
total_count?: number | undefined;
|
|
424
|
+
versions: ListDNSZoneVersionsResponseVersionsList;
|
|
425
|
+
}
|
|
426
|
+
export interface ListSSLCertificatesRequest {
|
|
427
|
+
dns_zone: string;
|
|
428
|
+
page?: number | undefined;
|
|
429
|
+
page_size?: number | undefined;
|
|
430
|
+
project_id?: string | undefined;
|
|
431
|
+
}
|
|
432
|
+
export type ListSSLCertificatesResponseCertificatesList = Array<SSLCertificate>;
|
|
433
|
+
export interface ListSSLCertificatesResponse {
|
|
434
|
+
total_count?: number | undefined;
|
|
435
|
+
certificates: ListSSLCertificatesResponseCertificatesList;
|
|
436
|
+
}
|
|
437
|
+
export interface RefreshDNSZoneRequest {
|
|
438
|
+
/** DNS zone to refresh. */
|
|
439
|
+
dns_zone: string;
|
|
440
|
+
/** Specifies whether or not to recreate the DNS zone. */
|
|
441
|
+
recreate_dns_zone?: boolean | undefined;
|
|
442
|
+
/** Specifies whether or not to recreate the sub DNS zone. */
|
|
443
|
+
recreate_sub_dns_zone?: boolean | undefined;
|
|
444
|
+
}
|
|
445
|
+
/** DNS zones returned. */
|
|
446
|
+
export type RefreshDNSZoneResponseDnsZonesList = Array<DNSZone>;
|
|
447
|
+
export interface RefreshDNSZoneResponse {
|
|
448
|
+
/** DNS zones returned. */
|
|
449
|
+
dns_zones?: RefreshDNSZoneResponseDnsZonesList | undefined;
|
|
450
|
+
}
|
|
451
|
+
export interface RestoreDNSZoneVersionRequest {
|
|
452
|
+
/** (UUID format) */
|
|
453
|
+
dns_zone_version_id: string;
|
|
454
|
+
}
|
|
455
|
+
export type RestoreDNSZoneVersionResponse2 = unknown;
|
|
456
|
+
export interface UpdateDNSZoneRequest {
|
|
457
|
+
/** The full name of the DNS zone to modify. For a root zone (e.g., example.com), enter `example.com`. For a specific sub-zone (e.g., prod.example.com), enter `prod.example.com`. */
|
|
458
|
+
dns_zone: string;
|
|
459
|
+
/** Name of the new DNS zone to create. */
|
|
460
|
+
new_dns_zone?: string | null | undefined;
|
|
461
|
+
/** Project ID in which to create the new DNS zone. */
|
|
462
|
+
project_id: string;
|
|
463
|
+
}
|
|
464
|
+
/** New DNS zone name servers. */
|
|
465
|
+
export type UpdateDNSZoneNameserversRequestNsList = Array<Nameserver>;
|
|
466
|
+
export interface UpdateDNSZoneNameserversRequest {
|
|
467
|
+
/** DNS zone in which to update the DNS zone name servers. */
|
|
468
|
+
dns_zone: string;
|
|
469
|
+
/** New DNS zone name servers. */
|
|
470
|
+
ns: UpdateDNSZoneNameserversRequestNsList;
|
|
471
|
+
}
|
|
472
|
+
/** DNS zone name servers returned. */
|
|
473
|
+
export type UpdateDNSZoneNameserversResponseNsList = Array<Nameserver>;
|
|
474
|
+
export interface UpdateDNSZoneNameserversResponse {
|
|
475
|
+
/** DNS zone name servers returned. */
|
|
476
|
+
ns?: UpdateDNSZoneNameserversResponseNsList | undefined;
|
|
477
|
+
}
|
|
478
|
+
/** Changes made to the records. */
|
|
479
|
+
export type UpdateDNSZoneRecordsRequestChangesList = Array<RecordChange>;
|
|
480
|
+
export interface UpdateDNSZoneRecordsRequest {
|
|
481
|
+
/** DNS zone in which to update the DNS zone records. */
|
|
482
|
+
dns_zone: string;
|
|
483
|
+
/** Changes made to the records. */
|
|
484
|
+
changes: UpdateDNSZoneRecordsRequestChangesList;
|
|
485
|
+
/** Specifies whether or not to return all the records. */
|
|
486
|
+
return_all_records?: boolean | null | undefined;
|
|
487
|
+
/** Disable the creation of the target zone if it does not exist. Target zone creation is disabled by default. */
|
|
488
|
+
disallow_new_zone_creation?: boolean | undefined;
|
|
489
|
+
/** Use the provided serial (0) instead of the auto-increment serial. */
|
|
490
|
+
serial?: number | null | undefined;
|
|
491
|
+
}
|
|
492
|
+
/** DNS zone records returned. */
|
|
493
|
+
export type UpdateDNSZoneRecordsResponseRecordsList = Array<Record>;
|
|
494
|
+
export interface UpdateDNSZoneRecordsResponse {
|
|
495
|
+
/** DNS zone records returned. */
|
|
496
|
+
records?: UpdateDNSZoneRecordsResponseRecordsList | undefined;
|
|
497
|
+
}
|
|
498
|
+
export type ClearDNSZoneRecordsError = ScalewayOpError;
|
|
499
|
+
/** Clear records within a DNS zone Delete all records within a DNS zone that has default name servers.<br/> All edits will be versioned. */
|
|
500
|
+
export const clearDNSZoneRecords: API.OperationMethod<
|
|
501
|
+
ClearDNSZoneRecordsRequest,
|
|
502
|
+
ClearDNSZoneRecordsResponse2,
|
|
503
|
+
ClearDNSZoneRecordsError,
|
|
504
|
+
ScalewayOpContext
|
|
505
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
506
|
+
input: __S(0, __c0, 0) as any as S.Schema<ClearDNSZoneRecordsRequest>,
|
|
507
|
+
output: __S(16, __c1, 0) as any as S.Schema<ClearDNSZoneRecordsResponse2>,
|
|
508
|
+
errors: [],
|
|
509
|
+
serviceErrors: ScalewayServiceErrors,
|
|
510
|
+
protocol: ScalewayProtocol,
|
|
511
|
+
retry: Retry.Retry,
|
|
512
|
+
telemetry: TELEMETRY,
|
|
513
|
+
span: "ClearDNSZoneRecords",
|
|
514
|
+
}));
|
|
515
|
+
|
|
516
|
+
export type CloneDNSZoneError = ScalewayOpError;
|
|
517
|
+
/** Clone a DNS zone Clone an existing DNS zone with all its records into a new DNS zone. */
|
|
518
|
+
export const cloneDNSZone: API.OperationMethod<
|
|
519
|
+
CloneDNSZoneRequest,
|
|
520
|
+
DNSZone,
|
|
521
|
+
CloneDNSZoneError,
|
|
522
|
+
ScalewayOpContext
|
|
523
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
524
|
+
input: __S(32, __c2, 0) as any as S.Schema<CloneDNSZoneRequest>,
|
|
525
|
+
output: __S(49, __c3, 1) as any as S.Schema<DNSZone>,
|
|
526
|
+
errors: [],
|
|
527
|
+
serviceErrors: ScalewayServiceErrors,
|
|
528
|
+
protocol: ScalewayProtocol,
|
|
529
|
+
retry: Retry.Retry,
|
|
530
|
+
telemetry: TELEMETRY,
|
|
531
|
+
span: "CloneDNSZone",
|
|
532
|
+
}));
|
|
533
|
+
|
|
534
|
+
export type CreateDNSZoneError = ScalewayOpError;
|
|
535
|
+
/** Create a DNS zone Create a new DNS zone specified by the domain name, the subdomain and the Project ID. */
|
|
536
|
+
export const createDNSZone: API.OperationMethod<
|
|
537
|
+
CreateDNSZoneRequest,
|
|
538
|
+
DNSZone,
|
|
539
|
+
CreateDNSZoneError,
|
|
540
|
+
ScalewayOpContext
|
|
541
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
542
|
+
input: __S(336, __c21, 0) as any as S.Schema<CreateDNSZoneRequest>,
|
|
543
|
+
output: __S(49, __c3, 1) as any as S.Schema<DNSZone>,
|
|
544
|
+
errors: [],
|
|
545
|
+
serviceErrors: ScalewayServiceErrors,
|
|
546
|
+
protocol: ScalewayProtocol,
|
|
547
|
+
retry: Retry.Retry,
|
|
548
|
+
telemetry: TELEMETRY,
|
|
549
|
+
span: "CreateDNSZone",
|
|
550
|
+
}));
|
|
551
|
+
|
|
552
|
+
export type CreateSSLCertificateError = ScalewayOpError;
|
|
553
|
+
/** Create or get the DNS zone's TLS certificate Create a new TLS certificate or retrieve information about an existing TLS certificate. */
|
|
554
|
+
export const createSSLCertificate: API.OperationMethod<
|
|
555
|
+
CreateSSLCertificateRequest,
|
|
556
|
+
SSLCertificate,
|
|
557
|
+
CreateSSLCertificateError,
|
|
558
|
+
ScalewayOpContext
|
|
559
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
560
|
+
input: __S(432, __c27, 0) as any as S.Schema<CreateSSLCertificateRequest>,
|
|
561
|
+
output: __S(448, __c28, 0) as any as S.Schema<SSLCertificate>,
|
|
562
|
+
errors: [],
|
|
563
|
+
serviceErrors: ScalewayServiceErrors,
|
|
564
|
+
protocol: ScalewayProtocol,
|
|
565
|
+
retry: Retry.Retry,
|
|
566
|
+
telemetry: TELEMETRY,
|
|
567
|
+
span: "CreateSSLCertificate",
|
|
568
|
+
}));
|
|
569
|
+
|
|
570
|
+
export type DeleteDNSZoneError = ScalewayOpError;
|
|
571
|
+
/** Delete a DNS zone Delete a DNS zone and all its records. */
|
|
572
|
+
export const deleteDNSZone: API.OperationMethod<
|
|
573
|
+
DeleteDNSZoneRequest,
|
|
574
|
+
DeleteDNSZoneResponse2,
|
|
575
|
+
DeleteDNSZoneError,
|
|
576
|
+
ScalewayOpContext
|
|
577
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
578
|
+
input: __S(464, __c29, 0) as any as S.Schema<DeleteDNSZoneRequest>,
|
|
579
|
+
output: __S(16, __c1, 0) as any as S.Schema<DeleteDNSZoneResponse2>,
|
|
580
|
+
errors: [],
|
|
581
|
+
serviceErrors: ScalewayServiceErrors,
|
|
582
|
+
protocol: ScalewayProtocol,
|
|
583
|
+
retry: Retry.Retry,
|
|
584
|
+
telemetry: TELEMETRY,
|
|
585
|
+
span: "DeleteDNSZone",
|
|
586
|
+
}));
|
|
587
|
+
|
|
588
|
+
export type DeleteDNSZoneTsigKeyError = ScalewayOpError;
|
|
589
|
+
/** Delete the DNS zone's TSIG key Delete an existing TSIG key specified by its DNS zone. Deleting a TSIG key is permanent and cannot be undone. */
|
|
590
|
+
export const deleteDNSZoneTsigKey: API.OperationMethod<
|
|
591
|
+
DeleteDNSZoneTsigKeyRequest,
|
|
592
|
+
DeleteDNSZoneTsigKeyResponse,
|
|
593
|
+
DeleteDNSZoneTsigKeyError,
|
|
594
|
+
ScalewayOpContext
|
|
595
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
596
|
+
input: __S(480, __c30, 0) as any as S.Schema<DeleteDNSZoneTsigKeyRequest>,
|
|
597
|
+
output: __S(481, __c30, 1) as any as S.Schema<DeleteDNSZoneTsigKeyResponse>,
|
|
598
|
+
errors: [],
|
|
599
|
+
serviceErrors: ScalewayServiceErrors,
|
|
600
|
+
protocol: ScalewayProtocol,
|
|
601
|
+
retry: Retry.Retry,
|
|
602
|
+
telemetry: TELEMETRY,
|
|
603
|
+
span: "DeleteDNSZoneTsigKey",
|
|
604
|
+
}));
|
|
605
|
+
|
|
606
|
+
export type DeleteSSLCertificateError = ScalewayOpError;
|
|
607
|
+
/** Delete a TLS certificate Delete an existing TLS certificate specified by its DNS zone. Deleting a TLS certificate is permanent and cannot be undone. */
|
|
608
|
+
export const deleteSSLCertificate: API.OperationMethod<
|
|
609
|
+
DeleteSSLCertificateRequest,
|
|
610
|
+
DeleteSSLCertificateResponse2,
|
|
611
|
+
DeleteSSLCertificateError,
|
|
612
|
+
ScalewayOpContext
|
|
613
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
614
|
+
input: __S(496, __c31, 0) as any as S.Schema<DeleteSSLCertificateRequest>,
|
|
615
|
+
output: __S(16, __c1, 0) as any as S.Schema<DeleteSSLCertificateResponse2>,
|
|
616
|
+
errors: [],
|
|
617
|
+
serviceErrors: ScalewayServiceErrors,
|
|
618
|
+
protocol: ScalewayProtocol,
|
|
619
|
+
retry: Retry.Retry,
|
|
620
|
+
telemetry: TELEMETRY,
|
|
621
|
+
span: "DeleteSSLCertificate",
|
|
622
|
+
}));
|
|
623
|
+
|
|
624
|
+
export type ExportRawDNSZoneError = ScalewayOpError;
|
|
625
|
+
/** Export a raw DNS zone Export a DNS zone with default name servers, in a specific format. */
|
|
626
|
+
export const exportRawDNSZone: API.OperationMethod<
|
|
627
|
+
ExportRawDNSZoneRequest,
|
|
628
|
+
ScalewayStdFile,
|
|
629
|
+
ExportRawDNSZoneError,
|
|
630
|
+
ScalewayOpContext
|
|
631
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
632
|
+
input: __S(512, __c32, 0) as any as S.Schema<ExportRawDNSZoneRequest>,
|
|
633
|
+
output: __S(513, __c32, 1) as any as S.Schema<ScalewayStdFile>,
|
|
634
|
+
errors: [],
|
|
635
|
+
serviceErrors: ScalewayServiceErrors,
|
|
636
|
+
protocol: ScalewayProtocol,
|
|
637
|
+
retry: Retry.Retry,
|
|
638
|
+
telemetry: TELEMETRY,
|
|
639
|
+
span: "ExportRawDNSZone",
|
|
640
|
+
}));
|
|
641
|
+
|
|
642
|
+
export type ExportRawDNSZoneRawError = ScalewayOpError;
|
|
643
|
+
/** The file `exportRawDNSZone` returns, as bytes (`?dl=1`), rather than the JSON file object. */
|
|
644
|
+
export const exportRawDNSZoneRaw: API.OperationMethod<
|
|
645
|
+
ExportRawDNSZoneRawRequest,
|
|
646
|
+
ExportRawDNSZoneRawResponse,
|
|
647
|
+
ExportRawDNSZoneRawError,
|
|
648
|
+
ScalewayOpContext
|
|
649
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
650
|
+
input: __S(528, __c33, 0) as any as S.Schema<ExportRawDNSZoneRawRequest>,
|
|
651
|
+
output: __S(529, __c33, 1) as any as S.Schema<ExportRawDNSZoneRawResponse>,
|
|
652
|
+
errors: [],
|
|
653
|
+
serviceErrors: ScalewayServiceErrors,
|
|
654
|
+
protocol: ScalewayProtocol,
|
|
655
|
+
retry: Retry.Retry,
|
|
656
|
+
telemetry: TELEMETRY,
|
|
657
|
+
span: "ExportRawDNSZoneRaw",
|
|
658
|
+
}));
|
|
659
|
+
|
|
660
|
+
export type GetDNSZoneTsigKeyError = ScalewayOpError;
|
|
661
|
+
/** Get the DNS zone's TSIG key Retrieve information about the TSIG key of a given DNS zone to allow AXFR requests. */
|
|
662
|
+
export const getDNSZoneTsigKey: API.OperationMethod<
|
|
663
|
+
GetDNSZoneTsigKeyRequest,
|
|
664
|
+
GetDNSZoneTsigKeyResponse,
|
|
665
|
+
GetDNSZoneTsigKeyError,
|
|
666
|
+
ScalewayOpContext
|
|
667
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
668
|
+
input: __S(544, __c34, 0) as any as S.Schema<GetDNSZoneTsigKeyRequest>,
|
|
669
|
+
output: __S(560, __c35, 0) as any as S.Schema<GetDNSZoneTsigKeyResponse>,
|
|
670
|
+
errors: [],
|
|
671
|
+
serviceErrors: ScalewayServiceErrors,
|
|
672
|
+
protocol: ScalewayProtocol,
|
|
673
|
+
retry: Retry.Retry,
|
|
674
|
+
telemetry: TELEMETRY,
|
|
675
|
+
span: "GetDNSZoneTsigKey",
|
|
676
|
+
}));
|
|
677
|
+
|
|
678
|
+
export type GetDNSZoneVersionDiffError = ScalewayOpError;
|
|
679
|
+
/** Access differences from a specific DNS zone version Access a previous DNS zone version to see the differences from another specific version. */
|
|
680
|
+
export const getDNSZoneVersionDiff: API.OperationMethod<
|
|
681
|
+
GetDNSZoneVersionDiffRequest,
|
|
682
|
+
GetDNSZoneVersionDiffResponse,
|
|
683
|
+
GetDNSZoneVersionDiffError,
|
|
684
|
+
ScalewayOpContext
|
|
685
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
686
|
+
input: __S(80, __c5, 0) as any as S.Schema<GetDNSZoneVersionDiffRequest>,
|
|
687
|
+
output: __S(81, __c5, 1) as any as S.Schema<GetDNSZoneVersionDiffResponse>,
|
|
688
|
+
errors: [],
|
|
689
|
+
serviceErrors: ScalewayServiceErrors,
|
|
690
|
+
protocol: ScalewayProtocol,
|
|
691
|
+
retry: Retry.Retry,
|
|
692
|
+
telemetry: TELEMETRY,
|
|
693
|
+
span: "GetDNSZoneVersionDiff",
|
|
694
|
+
}));
|
|
695
|
+
|
|
696
|
+
export type GetSSLCertificateError = ScalewayOpError;
|
|
697
|
+
/** Get a DNS zone's TLS certificate Get the DNS zone's TLS certificate. If you do not have a certificate, the output returns `no certificate found`. */
|
|
698
|
+
export const getSSLCertificate: API.OperationMethod<
|
|
699
|
+
GetSSLCertificateRequest,
|
|
700
|
+
SSLCertificate,
|
|
701
|
+
GetSSLCertificateError,
|
|
702
|
+
ScalewayOpContext
|
|
703
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
704
|
+
input: __S(144, __c9, 0) as any as S.Schema<GetSSLCertificateRequest>,
|
|
705
|
+
output: __S(448, __c28, 0) as any as S.Schema<SSLCertificate>,
|
|
706
|
+
errors: [],
|
|
707
|
+
serviceErrors: ScalewayServiceErrors,
|
|
708
|
+
protocol: ScalewayProtocol,
|
|
709
|
+
retry: Retry.Retry,
|
|
710
|
+
telemetry: TELEMETRY,
|
|
711
|
+
span: "GetSSLCertificate",
|
|
712
|
+
}));
|
|
713
|
+
|
|
714
|
+
export type ImportProviderDNSZoneError = ScalewayOpError;
|
|
715
|
+
/** Import a DNS zone from another provider Import and replace the format of records from a given provider, with default name servers. */
|
|
716
|
+
export const importProviderDNSZone: API.OperationMethod<
|
|
717
|
+
ImportProviderDNSZoneRequest,
|
|
718
|
+
ImportProviderDNSZoneResponse,
|
|
719
|
+
ImportProviderDNSZoneError,
|
|
720
|
+
ScalewayOpContext
|
|
721
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
722
|
+
input: __S(161, __c10, 1) as any as S.Schema<ImportProviderDNSZoneRequest>,
|
|
723
|
+
output: __S(112, __c7, 0) as any as S.Schema<ImportProviderDNSZoneResponse>,
|
|
724
|
+
errors: [],
|
|
725
|
+
serviceErrors: ScalewayServiceErrors,
|
|
726
|
+
protocol: ScalewayProtocol,
|
|
727
|
+
retry: Retry.Retry,
|
|
728
|
+
telemetry: TELEMETRY,
|
|
729
|
+
span: "ImportProviderDNSZone",
|
|
730
|
+
}));
|
|
731
|
+
|
|
732
|
+
export type ImportRawDNSZoneError = ScalewayOpError;
|
|
733
|
+
/** Import a raw DNS zone Import and replace the format of records from a given provider, with default name servers. */
|
|
734
|
+
export const importRawDNSZone: API.OperationMethod<
|
|
735
|
+
ImportRawDNSZoneRequest,
|
|
736
|
+
ImportRawDNSZoneResponse,
|
|
737
|
+
ImportRawDNSZoneError,
|
|
738
|
+
ScalewayOpContext
|
|
739
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
740
|
+
input: __S(178, __c11, 2) as any as S.Schema<ImportRawDNSZoneRequest>,
|
|
741
|
+
output: __S(112, __c7, 0) as any as S.Schema<ImportRawDNSZoneResponse>,
|
|
742
|
+
errors: [],
|
|
743
|
+
serviceErrors: ScalewayServiceErrors,
|
|
744
|
+
protocol: ScalewayProtocol,
|
|
745
|
+
retry: Retry.Retry,
|
|
746
|
+
telemetry: TELEMETRY,
|
|
747
|
+
span: "ImportRawDNSZone",
|
|
748
|
+
}));
|
|
749
|
+
|
|
750
|
+
export type ListDNSZoneNameserversError = ScalewayOpError;
|
|
751
|
+
/** List name servers within a DNS zone Retrieve a list of name servers within a DNS zone and their optional glue records. */
|
|
752
|
+
export const listDNSZoneNameservers: API.OperationMethod<
|
|
753
|
+
ListDNSZoneNameserversRequest,
|
|
754
|
+
ListDNSZoneNameserversResponse,
|
|
755
|
+
ListDNSZoneNameserversError,
|
|
756
|
+
ScalewayOpContext
|
|
757
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
758
|
+
input: __S(192, __c12, 0) as any as S.Schema<ListDNSZoneNameserversRequest>,
|
|
759
|
+
output: __S(210, __c13, 2) as any as S.Schema<ListDNSZoneNameserversResponse>,
|
|
760
|
+
errors: [],
|
|
761
|
+
serviceErrors: ScalewayServiceErrors,
|
|
762
|
+
protocol: ScalewayProtocol,
|
|
763
|
+
retry: Retry.Retry,
|
|
764
|
+
telemetry: TELEMETRY,
|
|
765
|
+
span: "ListDNSZoneNameservers",
|
|
766
|
+
}));
|
|
767
|
+
|
|
768
|
+
export type ListDNSZoneRecordsError = ScalewayOpError;
|
|
769
|
+
/** List records within a DNS zone Retrieve a list of DNS records within a DNS zone that has default name servers. You can filter records by type and name. */
|
|
770
|
+
export const listDNSZoneRecords: API.PaginatedOperationMethod<
|
|
771
|
+
ListDNSZoneRecordsRequest,
|
|
772
|
+
ListDNSZoneRecordsResponse,
|
|
773
|
+
ListDNSZoneRecordsError,
|
|
774
|
+
ScalewayOpContext,
|
|
775
|
+
Record
|
|
776
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
777
|
+
() => ({
|
|
778
|
+
input: __S(224, __c14, 0) as any as S.Schema<ListDNSZoneRecordsRequest>,
|
|
779
|
+
output: __S(240, __c15, 0) as any as S.Schema<ListDNSZoneRecordsResponse>,
|
|
780
|
+
errors: [],
|
|
781
|
+
serviceErrors: ScalewayServiceErrors,
|
|
782
|
+
protocol: ScalewayProtocol,
|
|
783
|
+
retry: Retry.Retry,
|
|
784
|
+
telemetry: TELEMETRY,
|
|
785
|
+
span: "ListDNSZoneRecords",
|
|
786
|
+
pagination: {
|
|
787
|
+
mode: "page",
|
|
788
|
+
inputToken: "page",
|
|
789
|
+
outputToken: "total_count",
|
|
790
|
+
items: "records",
|
|
791
|
+
pageSize: "page_size",
|
|
792
|
+
} as const,
|
|
793
|
+
}),
|
|
794
|
+
paginateByTotalCount,
|
|
795
|
+
) as any;
|
|
796
|
+
|
|
797
|
+
export type ListDNSZonesError = ScalewayOpError;
|
|
798
|
+
/** List DNS zones Retrieve the list of DNS zones you can manage and filter DNS zones associated with specific domain names. */
|
|
799
|
+
export const listDNSZones: API.PaginatedOperationMethod<
|
|
800
|
+
ListDNSZonesRequest,
|
|
801
|
+
ListDNSZonesResponse,
|
|
802
|
+
ListDNSZonesError,
|
|
803
|
+
ScalewayOpContext,
|
|
804
|
+
DNSZone
|
|
805
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
806
|
+
() => ({
|
|
807
|
+
input: __S(256, __c16, 0) as any as S.Schema<ListDNSZonesRequest>,
|
|
808
|
+
output: __S(257, __c16, 1) as any as S.Schema<ListDNSZonesResponse>,
|
|
809
|
+
errors: [],
|
|
810
|
+
serviceErrors: ScalewayServiceErrors,
|
|
811
|
+
protocol: ScalewayProtocol,
|
|
812
|
+
retry: Retry.Retry,
|
|
813
|
+
telemetry: TELEMETRY,
|
|
814
|
+
span: "ListDNSZones",
|
|
815
|
+
pagination: {
|
|
816
|
+
mode: "page",
|
|
817
|
+
inputToken: "page",
|
|
818
|
+
outputToken: "total_count",
|
|
819
|
+
items: "dns_zones",
|
|
820
|
+
pageSize: "page_size",
|
|
821
|
+
} as const,
|
|
822
|
+
}),
|
|
823
|
+
paginateByTotalCount,
|
|
824
|
+
) as any;
|
|
825
|
+
|
|
826
|
+
export type ListDNSZoneVersionRecordsError = ScalewayOpError;
|
|
827
|
+
/** List records from a given version of a specific DNS zone Retrieve a list of records from a specific DNS zone version. */
|
|
828
|
+
export const listDNSZoneVersionRecords: API.PaginatedOperationMethod<
|
|
829
|
+
ListDNSZoneVersionRecordsRequest,
|
|
830
|
+
ListDNSZoneVersionRecordsResponse,
|
|
831
|
+
ListDNSZoneVersionRecordsError,
|
|
832
|
+
ScalewayOpContext,
|
|
833
|
+
Record
|
|
834
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
835
|
+
() => ({
|
|
836
|
+
input: __S(288, __c18, 0) as any as S.Schema<ListDNSZoneVersionRecordsRequest>,
|
|
837
|
+
output: __S(240, __c15, 0) as any as S.Schema<ListDNSZoneVersionRecordsResponse>,
|
|
838
|
+
errors: [],
|
|
839
|
+
serviceErrors: ScalewayServiceErrors,
|
|
840
|
+
protocol: ScalewayProtocol,
|
|
841
|
+
retry: Retry.Retry,
|
|
842
|
+
telemetry: TELEMETRY,
|
|
843
|
+
span: "ListDNSZoneVersionRecords",
|
|
844
|
+
pagination: {
|
|
845
|
+
mode: "page",
|
|
846
|
+
inputToken: "page",
|
|
847
|
+
outputToken: "total_count",
|
|
848
|
+
items: "records",
|
|
849
|
+
pageSize: "page_size",
|
|
850
|
+
} as const,
|
|
851
|
+
}),
|
|
852
|
+
paginateByTotalCount,
|
|
853
|
+
) as any;
|
|
854
|
+
|
|
855
|
+
export type ListDNSZoneVersionsError = ScalewayOpError;
|
|
856
|
+
/** List versions of a DNS zone Retrieve a list of a DNS zone's versions.<br/> The maximum version count is 100. If the count reaches this limit, the oldest version will be deleted after each new modification. */
|
|
857
|
+
export const listDNSZoneVersions: API.PaginatedOperationMethod<
|
|
858
|
+
ListDNSZoneVersionsRequest,
|
|
859
|
+
ListDNSZoneVersionsResponse,
|
|
860
|
+
ListDNSZoneVersionsError,
|
|
861
|
+
ScalewayOpContext,
|
|
862
|
+
DNSZoneVersion
|
|
863
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
864
|
+
() => ({
|
|
865
|
+
input: __S(304, __c19, 0) as any as S.Schema<ListDNSZoneVersionsRequest>,
|
|
866
|
+
output: __S(307, __c19, 3) as any as S.Schema<ListDNSZoneVersionsResponse>,
|
|
867
|
+
errors: [],
|
|
868
|
+
serviceErrors: ScalewayServiceErrors,
|
|
869
|
+
protocol: ScalewayProtocol,
|
|
870
|
+
retry: Retry.Retry,
|
|
871
|
+
telemetry: TELEMETRY,
|
|
872
|
+
span: "ListDNSZoneVersions",
|
|
873
|
+
pagination: {
|
|
874
|
+
mode: "page",
|
|
875
|
+
inputToken: "page",
|
|
876
|
+
outputToken: "total_count",
|
|
877
|
+
items: "versions",
|
|
878
|
+
pageSize: "page_size",
|
|
879
|
+
} as const,
|
|
880
|
+
}),
|
|
881
|
+
paginateByTotalCount,
|
|
882
|
+
) as any;
|
|
883
|
+
|
|
884
|
+
export type ListSSLCertificatesError = ScalewayOpError;
|
|
885
|
+
/** List a user's TLS certificates List all the TLS certificates a user has created, specified by the user's Project ID and the DNS zone. */
|
|
886
|
+
export const listSSLCertificates: API.PaginatedOperationMethod<
|
|
887
|
+
ListSSLCertificatesRequest,
|
|
888
|
+
ListSSLCertificatesResponse,
|
|
889
|
+
ListSSLCertificatesError,
|
|
890
|
+
ScalewayOpContext,
|
|
891
|
+
SSLCertificate
|
|
892
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
893
|
+
() => ({
|
|
894
|
+
input: __S(320, __c20, 0) as any as S.Schema<ListSSLCertificatesRequest>,
|
|
895
|
+
output: __S(322, __c20, 2) as any as S.Schema<ListSSLCertificatesResponse>,
|
|
896
|
+
errors: [],
|
|
897
|
+
serviceErrors: ScalewayServiceErrors,
|
|
898
|
+
protocol: ScalewayProtocol,
|
|
899
|
+
retry: Retry.Retry,
|
|
900
|
+
telemetry: TELEMETRY,
|
|
901
|
+
span: "ListSSLCertificates",
|
|
902
|
+
pagination: {
|
|
903
|
+
mode: "page",
|
|
904
|
+
inputToken: "page",
|
|
905
|
+
outputToken: "total_count",
|
|
906
|
+
items: "certificates",
|
|
907
|
+
pageSize: "page_size",
|
|
908
|
+
} as const,
|
|
909
|
+
}),
|
|
910
|
+
paginateByTotalCount,
|
|
911
|
+
) as any;
|
|
912
|
+
|
|
913
|
+
export type RefreshDNSZoneError = ScalewayOpError;
|
|
914
|
+
/** Refresh a DNS zone Refresh an SOA DNS zone to reload the records in the DNS zone and update the SOA serial. You can recreate the given DNS zone and its sub DNS zone if needed. */
|
|
915
|
+
export const refreshDNSZone: API.OperationMethod<
|
|
916
|
+
RefreshDNSZoneRequest,
|
|
917
|
+
RefreshDNSZoneResponse,
|
|
918
|
+
RefreshDNSZoneError,
|
|
919
|
+
ScalewayOpContext
|
|
920
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
921
|
+
input: __S(352, __c22, 0) as any as S.Schema<RefreshDNSZoneRequest>,
|
|
922
|
+
output: __S(353, __c22, 1) as any as S.Schema<RefreshDNSZoneResponse>,
|
|
923
|
+
errors: [],
|
|
924
|
+
serviceErrors: ScalewayServiceErrors,
|
|
925
|
+
protocol: ScalewayProtocol,
|
|
926
|
+
retry: Retry.Retry,
|
|
927
|
+
telemetry: TELEMETRY,
|
|
928
|
+
span: "RefreshDNSZone",
|
|
929
|
+
}));
|
|
930
|
+
|
|
931
|
+
export type RestoreDNSZoneVersionError = ScalewayOpError;
|
|
932
|
+
/** Restore a DNS zone version Restore and activate a version of a specific DNS zone. */
|
|
933
|
+
export const restoreDNSZoneVersion: API.OperationMethod<
|
|
934
|
+
RestoreDNSZoneVersionRequest,
|
|
935
|
+
RestoreDNSZoneVersionResponse2,
|
|
936
|
+
RestoreDNSZoneVersionError,
|
|
937
|
+
ScalewayOpContext
|
|
938
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
939
|
+
input: __S(368, __c23, 0) as any as S.Schema<RestoreDNSZoneVersionRequest>,
|
|
940
|
+
output: __S(16, __c1, 0) as any as S.Schema<RestoreDNSZoneVersionResponse2>,
|
|
941
|
+
errors: [],
|
|
942
|
+
serviceErrors: ScalewayServiceErrors,
|
|
943
|
+
protocol: ScalewayProtocol,
|
|
944
|
+
retry: Retry.Retry,
|
|
945
|
+
telemetry: TELEMETRY,
|
|
946
|
+
span: "RestoreDNSZoneVersion",
|
|
947
|
+
}));
|
|
948
|
+
|
|
949
|
+
export type UpdateDNSZoneError = ScalewayOpError;
|
|
950
|
+
/** Update a DNS zone Update the name and/or the Organizations for a DNS zone. */
|
|
951
|
+
export const updateDNSZone: API.OperationMethod<
|
|
952
|
+
UpdateDNSZoneRequest,
|
|
953
|
+
DNSZone,
|
|
954
|
+
UpdateDNSZoneError,
|
|
955
|
+
ScalewayOpContext
|
|
956
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
957
|
+
input: __S(384, __c24, 0) as any as S.Schema<UpdateDNSZoneRequest>,
|
|
958
|
+
output: __S(49, __c3, 1) as any as S.Schema<DNSZone>,
|
|
959
|
+
errors: [],
|
|
960
|
+
serviceErrors: ScalewayServiceErrors,
|
|
961
|
+
protocol: ScalewayProtocol,
|
|
962
|
+
retry: Retry.Retry,
|
|
963
|
+
telemetry: TELEMETRY,
|
|
964
|
+
span: "UpdateDNSZone",
|
|
965
|
+
}));
|
|
966
|
+
|
|
967
|
+
export type UpdateDNSZoneNameserversError = ScalewayOpError;
|
|
968
|
+
/** Update name servers within a DNS zone Update name servers within a DNS zone and set optional glue records. */
|
|
969
|
+
export const updateDNSZoneNameservers: API.OperationMethod<
|
|
970
|
+
UpdateDNSZoneNameserversRequest,
|
|
971
|
+
UpdateDNSZoneNameserversResponse,
|
|
972
|
+
UpdateDNSZoneNameserversError,
|
|
973
|
+
ScalewayOpContext
|
|
974
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
975
|
+
input: __S(400, __c25, 0) as any as S.Schema<UpdateDNSZoneNameserversRequest>,
|
|
976
|
+
output: __S(210, __c13, 2) as any as S.Schema<UpdateDNSZoneNameserversResponse>,
|
|
977
|
+
errors: [],
|
|
978
|
+
serviceErrors: ScalewayServiceErrors,
|
|
979
|
+
protocol: ScalewayProtocol,
|
|
980
|
+
retry: Retry.Retry,
|
|
981
|
+
telemetry: TELEMETRY,
|
|
982
|
+
span: "UpdateDNSZoneNameservers",
|
|
983
|
+
}));
|
|
984
|
+
|
|
985
|
+
export type UpdateDNSZoneRecordsError = ScalewayOpError;
|
|
986
|
+
/** Update records within a DNS zone Update records within a DNS zone that has default name servers and perform several actions on your records. Actions include: - add: allows you to add a new record or add a new IP to an existing A record, for example - set: allows you to edit a record or edit an IP from an existing A record, for example - delete: allows you to delete a record or delete an IP from an existing A record, for example - clear: allows you to delete all records from a DNS zone All edits will be versioned. */
|
|
987
|
+
export const updateDNSZoneRecords: API.OperationMethod<
|
|
988
|
+
UpdateDNSZoneRecordsRequest,
|
|
989
|
+
UpdateDNSZoneRecordsResponse,
|
|
990
|
+
UpdateDNSZoneRecordsError,
|
|
991
|
+
ScalewayOpContext
|
|
992
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
993
|
+
input: __S(416, __c26, 0) as any as S.Schema<UpdateDNSZoneRecordsRequest>,
|
|
994
|
+
output: __S(112, __c7, 0) as any as S.Schema<UpdateDNSZoneRecordsResponse>,
|
|
995
|
+
errors: [],
|
|
996
|
+
serviceErrors: ScalewayServiceErrors,
|
|
997
|
+
protocol: ScalewayProtocol,
|
|
998
|
+
retry: Retry.Retry,
|
|
999
|
+
telemetry: TELEMETRY,
|
|
1000
|
+
span: "UpdateDNSZoneRecords",
|
|
1001
|
+
}));
|
|
1002
|
+
|
|
1003
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
1004
|
+
function __c0(j: number): any {
|
|
1005
|
+
switch (j) {
|
|
1006
|
+
case 0:
|
|
1007
|
+
return S.suspend(() =>
|
|
1008
|
+
S.Struct({
|
|
1009
|
+
dns_zone: S.String.pipe(T.Label()),
|
|
1010
|
+
}).pipe(
|
|
1011
|
+
T.Http({
|
|
1012
|
+
method: "DELETE",
|
|
1013
|
+
uri: "/domain/v2beta1/dns-zones/{dns_zone}/records",
|
|
1014
|
+
code: 200,
|
|
1015
|
+
baseUrl: "https://api.scaleway.com",
|
|
1016
|
+
}),
|
|
1017
|
+
),
|
|
1018
|
+
).annotate({ identifier: "ClearDNSZoneRecordsRequest" });
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
function __c1(j: number): any {
|
|
1022
|
+
switch (j) {
|
|
1023
|
+
case 0:
|
|
1024
|
+
return S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
|
|
1025
|
+
identifier: "ClearDNSZoneRecordsResponse2",
|
|
1026
|
+
});
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
function __c2(j: number): any {
|
|
1030
|
+
switch (j) {
|
|
1031
|
+
case 0:
|
|
1032
|
+
return S.suspend(() =>
|
|
1033
|
+
S.Struct({
|
|
1034
|
+
dns_zone: S.String.pipe(T.Label()),
|
|
1035
|
+
dest_dns_zone: S.String,
|
|
1036
|
+
overwrite: S.optional(S.Boolean),
|
|
1037
|
+
project_id: S.optional(S.NullOr(S.String)),
|
|
1038
|
+
}).pipe(
|
|
1039
|
+
T.Http({
|
|
1040
|
+
method: "POST",
|
|
1041
|
+
uri: "/domain/v2beta1/dns-zones/{dns_zone}/clone",
|
|
1042
|
+
code: 200,
|
|
1043
|
+
baseUrl: "https://api.scaleway.com",
|
|
1044
|
+
}),
|
|
1045
|
+
),
|
|
1046
|
+
).annotate({ identifier: "CloneDNSZoneRequest" });
|
|
1047
|
+
}
|
|
1048
|
+
}
|
|
1049
|
+
function __c3(j: number): any {
|
|
1050
|
+
switch (j) {
|
|
1051
|
+
case 0:
|
|
1052
|
+
return S.Array(S.String);
|
|
1053
|
+
case 1:
|
|
1054
|
+
return S.suspend(() =>
|
|
1055
|
+
S.Struct({
|
|
1056
|
+
domain: S.optional(S.String),
|
|
1057
|
+
subdomain: S.optional(S.String),
|
|
1058
|
+
ns: S.optional(__S(64, __c4, 0)),
|
|
1059
|
+
ns_default: S.optional(__S(64, __c4, 0)),
|
|
1060
|
+
ns_master: S.optional(__S(64, __c4, 0)),
|
|
1061
|
+
status: S.optional(S.String),
|
|
1062
|
+
message: S.optional(S.NullOr(S.String)),
|
|
1063
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
1064
|
+
project_id: S.optional(S.String),
|
|
1065
|
+
linked_products: S.optional(__S(48, __c3, 0)),
|
|
1066
|
+
srn: S.optional(S.String),
|
|
1067
|
+
dns_zone: S.optional(S.String),
|
|
1068
|
+
}),
|
|
1069
|
+
).annotate({ identifier: "DNSZone" });
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
function __c4(j: number): any {
|
|
1073
|
+
switch (j) {
|
|
1074
|
+
case 0:
|
|
1075
|
+
return S.Array(S.String);
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
function __c5(j: number): any {
|
|
1079
|
+
switch (j) {
|
|
1080
|
+
case 0:
|
|
1081
|
+
return S.suspend(() =>
|
|
1082
|
+
S.Struct({
|
|
1083
|
+
dns_zone_version_id: S.String.pipe(T.Label()),
|
|
1084
|
+
}).pipe(
|
|
1085
|
+
T.Http({
|
|
1086
|
+
method: "GET",
|
|
1087
|
+
uri: "/domain/v2beta1/dns-zones/version/{dns_zone_version_id}/diff",
|
|
1088
|
+
code: 200,
|
|
1089
|
+
baseUrl: "https://api.scaleway.com",
|
|
1090
|
+
}),
|
|
1091
|
+
),
|
|
1092
|
+
).annotate({ identifier: "GetDNSZoneVersionDiffRequest" });
|
|
1093
|
+
case 1:
|
|
1094
|
+
return S.suspend(() =>
|
|
1095
|
+
S.Struct({
|
|
1096
|
+
changes: S.optional(__S(132, __c8, 4)),
|
|
1097
|
+
}),
|
|
1098
|
+
).annotate({ identifier: "GetDNSZoneVersionDiffResponse" });
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
function __c6(j: number): any {
|
|
1102
|
+
switch (j) {
|
|
1103
|
+
case 0:
|
|
1104
|
+
return S.suspend(() =>
|
|
1105
|
+
S.Struct({
|
|
1106
|
+
countries: S.optional(__S(64, __c4, 0)),
|
|
1107
|
+
continents: S.optional(__S(64, __c4, 0)),
|
|
1108
|
+
data: S.optional(S.String),
|
|
1109
|
+
}),
|
|
1110
|
+
).annotate({ identifier: "RecordGeoIPConfigMatch" });
|
|
1111
|
+
case 1:
|
|
1112
|
+
return S.Array(__S(96, __c6, 0));
|
|
1113
|
+
case 2:
|
|
1114
|
+
return S.suspend(() =>
|
|
1115
|
+
S.Struct({
|
|
1116
|
+
matches: S.optional(__S(97, __c6, 1)),
|
|
1117
|
+
default: S.optional(S.String),
|
|
1118
|
+
}),
|
|
1119
|
+
).annotate({ identifier: "RecordGeoIPConfig" });
|
|
1120
|
+
case 3:
|
|
1121
|
+
return S.suspend(() =>
|
|
1122
|
+
S.Struct({
|
|
1123
|
+
ips: S.optional(__S(64, __c4, 0)),
|
|
1124
|
+
must_contain: S.optional(S.NullOr(S.String)),
|
|
1125
|
+
url: S.optional(S.String),
|
|
1126
|
+
user_agent: S.optional(S.NullOr(S.String)),
|
|
1127
|
+
strategy: S.optional(S.String),
|
|
1128
|
+
}),
|
|
1129
|
+
).annotate({ identifier: "RecordHTTPServiceConfig" });
|
|
1130
|
+
case 4:
|
|
1131
|
+
return S.suspend(() =>
|
|
1132
|
+
S.Struct({
|
|
1133
|
+
ip: S.optional(S.String),
|
|
1134
|
+
weight: S.optional(S.Number),
|
|
1135
|
+
}),
|
|
1136
|
+
).annotate({ identifier: "RecordWeightedConfigWeightedIP" });
|
|
1137
|
+
case 5:
|
|
1138
|
+
return S.Array(__S(100, __c6, 4));
|
|
1139
|
+
case 6:
|
|
1140
|
+
return S.suspend(() =>
|
|
1141
|
+
S.Struct({
|
|
1142
|
+
weighted_ips: S.optional(__S(101, __c6, 5)),
|
|
1143
|
+
}),
|
|
1144
|
+
).annotate({ identifier: "RecordWeightedConfig" });
|
|
1145
|
+
case 7:
|
|
1146
|
+
return S.suspend(() =>
|
|
1147
|
+
S.Struct({
|
|
1148
|
+
subnet: S.optional(S.String),
|
|
1149
|
+
data: S.optional(S.String),
|
|
1150
|
+
}),
|
|
1151
|
+
).annotate({ identifier: "RecordViewConfigView" });
|
|
1152
|
+
case 8:
|
|
1153
|
+
return S.Array(__S(103, __c6, 7));
|
|
1154
|
+
case 9:
|
|
1155
|
+
return S.suspend(() =>
|
|
1156
|
+
S.Struct({
|
|
1157
|
+
views: S.optional(__S(104, __c6, 8)),
|
|
1158
|
+
}),
|
|
1159
|
+
).annotate({ identifier: "RecordViewConfig" });
|
|
1160
|
+
case 10:
|
|
1161
|
+
return S.suspend(() =>
|
|
1162
|
+
S.Struct({
|
|
1163
|
+
data: S.optional(S.String),
|
|
1164
|
+
name: S.optional(S.String),
|
|
1165
|
+
priority: S.optional(S.Number),
|
|
1166
|
+
ttl: S.optional(S.Number),
|
|
1167
|
+
type: S.optional(S.String),
|
|
1168
|
+
comment: S.optional(S.NullOr(S.String)),
|
|
1169
|
+
geo_ip_config: S.optional(S.NullOr(__S(98, __c6, 2))),
|
|
1170
|
+
http_service_config: S.optional(S.NullOr(__S(99, __c6, 3))),
|
|
1171
|
+
weighted_config: S.optional(S.NullOr(__S(102, __c6, 6))),
|
|
1172
|
+
view_config: S.optional(S.NullOr(__S(105, __c6, 9))),
|
|
1173
|
+
id: S.optional(S.String),
|
|
1174
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
1175
|
+
}),
|
|
1176
|
+
).annotate({ identifier: "Record" });
|
|
1177
|
+
case 11:
|
|
1178
|
+
return S.Array(__S(106, __c6, 10));
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1181
|
+
function __c7(j: number): any {
|
|
1182
|
+
switch (j) {
|
|
1183
|
+
case 0:
|
|
1184
|
+
return S.suspend(() =>
|
|
1185
|
+
S.Struct({
|
|
1186
|
+
records: S.optional(__S(107, __c6, 11)),
|
|
1187
|
+
}),
|
|
1188
|
+
).annotate({ identifier: "RecordChangeAdd" });
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
function __c8(j: number): any {
|
|
1192
|
+
switch (j) {
|
|
1193
|
+
case 0:
|
|
1194
|
+
return S.suspend(() =>
|
|
1195
|
+
S.Struct({
|
|
1196
|
+
name: S.optional(S.String),
|
|
1197
|
+
type: S.optional(S.String),
|
|
1198
|
+
data: S.optional(S.NullOr(S.String)),
|
|
1199
|
+
ttl: S.optional(S.NullOr(S.Number)),
|
|
1200
|
+
}),
|
|
1201
|
+
).annotate({ identifier: "RecordIdentifier" });
|
|
1202
|
+
case 1:
|
|
1203
|
+
return S.suspend(() =>
|
|
1204
|
+
S.Struct({
|
|
1205
|
+
id: S.optional(S.NullOr(S.String)),
|
|
1206
|
+
id_fields: S.optional(S.NullOr(__S(128, __c8, 0))),
|
|
1207
|
+
records: S.optional(__S(107, __c6, 11)),
|
|
1208
|
+
}),
|
|
1209
|
+
).annotate({ identifier: "RecordChangeSet" });
|
|
1210
|
+
case 2:
|
|
1211
|
+
return S.suspend(() =>
|
|
1212
|
+
S.Struct({
|
|
1213
|
+
id: S.optional(S.NullOr(S.String)),
|
|
1214
|
+
id_fields: S.optional(S.NullOr(__S(128, __c8, 0))),
|
|
1215
|
+
}),
|
|
1216
|
+
).annotate({ identifier: "RecordChangeDelete" });
|
|
1217
|
+
case 3:
|
|
1218
|
+
return S.suspend(() =>
|
|
1219
|
+
S.Struct({
|
|
1220
|
+
add: S.optional(S.NullOr(__S(112, __c7, 0))),
|
|
1221
|
+
set: S.optional(S.NullOr(__S(129, __c8, 1))),
|
|
1222
|
+
delete: S.optional(S.NullOr(__S(130, __c8, 2))),
|
|
1223
|
+
clear: S.optional(S.NullOr(S.Unknown)),
|
|
1224
|
+
}),
|
|
1225
|
+
).annotate({ identifier: "RecordChange" });
|
|
1226
|
+
case 4:
|
|
1227
|
+
return S.Array(__S(131, __c8, 3));
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
1230
|
+
function __c9(j: number): any {
|
|
1231
|
+
switch (j) {
|
|
1232
|
+
case 0:
|
|
1233
|
+
return S.suspend(() =>
|
|
1234
|
+
S.Struct({
|
|
1235
|
+
dns_zone: S.String.pipe(T.Label()),
|
|
1236
|
+
}).pipe(
|
|
1237
|
+
T.Http({
|
|
1238
|
+
method: "GET",
|
|
1239
|
+
uri: "/domain/v2beta1/ssl-certificates/{dns_zone}",
|
|
1240
|
+
code: 200,
|
|
1241
|
+
baseUrl: "https://api.scaleway.com",
|
|
1242
|
+
}),
|
|
1243
|
+
),
|
|
1244
|
+
).annotate({ identifier: "GetSSLCertificateRequest" });
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
function __c10(j: number): any {
|
|
1248
|
+
switch (j) {
|
|
1249
|
+
case 0:
|
|
1250
|
+
return S.suspend(() =>
|
|
1251
|
+
S.Struct({
|
|
1252
|
+
token: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
1253
|
+
}),
|
|
1254
|
+
).annotate({ identifier: "ImportProviderDNSZoneRequestOnlineV1" });
|
|
1255
|
+
case 1:
|
|
1256
|
+
return S.suspend(() =>
|
|
1257
|
+
S.Struct({
|
|
1258
|
+
dns_zone: S.String.pipe(T.Label()),
|
|
1259
|
+
online_v1: S.optional(S.NullOr(__S(160, __c10, 0))),
|
|
1260
|
+
}).pipe(
|
|
1261
|
+
T.Http({
|
|
1262
|
+
method: "POST",
|
|
1263
|
+
uri: "/domain/v2beta1/dns-zones/{dns_zone}/import-provider",
|
|
1264
|
+
code: 200,
|
|
1265
|
+
baseUrl: "https://api.scaleway.com",
|
|
1266
|
+
}),
|
|
1267
|
+
),
|
|
1268
|
+
).annotate({ identifier: "ImportProviderDNSZoneRequest" });
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
function __c11(j: number): any {
|
|
1272
|
+
switch (j) {
|
|
1273
|
+
case 0:
|
|
1274
|
+
return S.suspend(() =>
|
|
1275
|
+
S.Struct({
|
|
1276
|
+
content: S.optional(S.String),
|
|
1277
|
+
}),
|
|
1278
|
+
).annotate({ identifier: "ImportRawDNSZoneRequestBindSource" });
|
|
1279
|
+
case 1:
|
|
1280
|
+
return S.suspend(() =>
|
|
1281
|
+
S.Struct({
|
|
1282
|
+
name_server: S.optional(S.String),
|
|
1283
|
+
tsig_key: S.optional(__S(560, __c35, 0)),
|
|
1284
|
+
}),
|
|
1285
|
+
).annotate({ identifier: "ImportRawDNSZoneRequestAXFRSource" });
|
|
1286
|
+
case 2:
|
|
1287
|
+
return S.suspend(() =>
|
|
1288
|
+
S.Struct({
|
|
1289
|
+
dns_zone: S.String.pipe(T.Label()),
|
|
1290
|
+
content: S.optional(S.String),
|
|
1291
|
+
project_id: S.optional(S.String),
|
|
1292
|
+
format: S.optional(S.String),
|
|
1293
|
+
bind_source: S.optional(S.NullOr(__S(176, __c11, 0))),
|
|
1294
|
+
axfr_source: S.optional(S.NullOr(__S(177, __c11, 1))),
|
|
1295
|
+
}).pipe(
|
|
1296
|
+
T.Http({
|
|
1297
|
+
method: "POST",
|
|
1298
|
+
uri: "/domain/v2beta1/dns-zones/{dns_zone}/raw",
|
|
1299
|
+
code: 200,
|
|
1300
|
+
baseUrl: "https://api.scaleway.com",
|
|
1301
|
+
}),
|
|
1302
|
+
),
|
|
1303
|
+
).annotate({ identifier: "ImportRawDNSZoneRequest" });
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
1306
|
+
function __c12(j: number): any {
|
|
1307
|
+
switch (j) {
|
|
1308
|
+
case 0:
|
|
1309
|
+
return S.suspend(() =>
|
|
1310
|
+
S.Struct({
|
|
1311
|
+
dns_zone: S.String.pipe(T.Label()),
|
|
1312
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
1313
|
+
}).pipe(
|
|
1314
|
+
T.Http({
|
|
1315
|
+
method: "GET",
|
|
1316
|
+
uri: "/domain/v2beta1/dns-zones/{dns_zone}/nameservers",
|
|
1317
|
+
code: 200,
|
|
1318
|
+
baseUrl: "https://api.scaleway.com",
|
|
1319
|
+
}),
|
|
1320
|
+
),
|
|
1321
|
+
).annotate({ identifier: "ListDNSZoneNameserversRequest" });
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
function __c13(j: number): any {
|
|
1325
|
+
switch (j) {
|
|
1326
|
+
case 0:
|
|
1327
|
+
return S.suspend(() =>
|
|
1328
|
+
S.Struct({
|
|
1329
|
+
name: S.optional(S.String),
|
|
1330
|
+
ip: S.optional(__S(64, __c4, 0)),
|
|
1331
|
+
}),
|
|
1332
|
+
).annotate({ identifier: "Nameserver" });
|
|
1333
|
+
case 1:
|
|
1334
|
+
return S.Array(__S(208, __c13, 0));
|
|
1335
|
+
case 2:
|
|
1336
|
+
return S.suspend(() =>
|
|
1337
|
+
S.Struct({
|
|
1338
|
+
ns: S.optional(__S(209, __c13, 1)),
|
|
1339
|
+
}),
|
|
1340
|
+
).annotate({ identifier: "ListDNSZoneNameserversResponse" });
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
function __c14(j: number): any {
|
|
1344
|
+
switch (j) {
|
|
1345
|
+
case 0:
|
|
1346
|
+
return S.suspend(() =>
|
|
1347
|
+
S.Struct({
|
|
1348
|
+
dns_zone: S.String.pipe(T.Label()),
|
|
1349
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
1350
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
1351
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
1352
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
1353
|
+
name: S.String.pipe(T.Query()),
|
|
1354
|
+
type: S.optional(S.String.pipe(T.Query())),
|
|
1355
|
+
id: S.optional(S.String.pipe(T.Query())),
|
|
1356
|
+
}).pipe(
|
|
1357
|
+
T.Http({
|
|
1358
|
+
method: "GET",
|
|
1359
|
+
uri: "/domain/v2beta1/dns-zones/{dns_zone}/records",
|
|
1360
|
+
code: 200,
|
|
1361
|
+
baseUrl: "https://api.scaleway.com",
|
|
1362
|
+
}),
|
|
1363
|
+
),
|
|
1364
|
+
).annotate({ identifier: "ListDNSZoneRecordsRequest" });
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
function __c15(j: number): any {
|
|
1368
|
+
switch (j) {
|
|
1369
|
+
case 0:
|
|
1370
|
+
return S.suspend(() =>
|
|
1371
|
+
S.Struct({
|
|
1372
|
+
total_count: S.optional(S.Number),
|
|
1373
|
+
records: __S(107, __c6, 11),
|
|
1374
|
+
}),
|
|
1375
|
+
).annotate({ identifier: "ListDNSZoneRecordsResponse" });
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
function __c16(j: number): any {
|
|
1379
|
+
switch (j) {
|
|
1380
|
+
case 0:
|
|
1381
|
+
return S.suspend(() =>
|
|
1382
|
+
S.Struct({
|
|
1383
|
+
organization_id: S.optional(S.String.pipe(T.Query())),
|
|
1384
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
1385
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
1386
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
1387
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
1388
|
+
domain: S.String.pipe(T.Query()),
|
|
1389
|
+
dns_zone: S.String.pipe(T.Query()),
|
|
1390
|
+
dns_zones: S.optional(__S(64, __c4, 0).pipe(T.Query())),
|
|
1391
|
+
created_after: S.optional(S.String.pipe(T.Query())),
|
|
1392
|
+
created_before: S.optional(S.String.pipe(T.Query())),
|
|
1393
|
+
updated_after: S.optional(S.String.pipe(T.Query())),
|
|
1394
|
+
updated_before: S.optional(S.String.pipe(T.Query())),
|
|
1395
|
+
}).pipe(
|
|
1396
|
+
T.Http({
|
|
1397
|
+
method: "GET",
|
|
1398
|
+
uri: "/domain/v2beta1/dns-zones",
|
|
1399
|
+
code: 200,
|
|
1400
|
+
baseUrl: "https://api.scaleway.com",
|
|
1401
|
+
}),
|
|
1402
|
+
),
|
|
1403
|
+
).annotate({ identifier: "ListDNSZonesRequest" });
|
|
1404
|
+
case 1:
|
|
1405
|
+
return S.suspend(() =>
|
|
1406
|
+
S.Struct({
|
|
1407
|
+
total_count: S.optional(S.Number),
|
|
1408
|
+
dns_zones: __S(272, __c17, 0),
|
|
1409
|
+
}),
|
|
1410
|
+
).annotate({ identifier: "ListDNSZonesResponse" });
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
function __c17(j: number): any {
|
|
1414
|
+
switch (j) {
|
|
1415
|
+
case 0:
|
|
1416
|
+
return S.Array(__S(49, __c3, 1));
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
function __c18(j: number): any {
|
|
1420
|
+
switch (j) {
|
|
1421
|
+
case 0:
|
|
1422
|
+
return S.suspend(() =>
|
|
1423
|
+
S.Struct({
|
|
1424
|
+
dns_zone_version_id: S.String.pipe(T.Label()),
|
|
1425
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
1426
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
1427
|
+
}).pipe(
|
|
1428
|
+
T.Http({
|
|
1429
|
+
method: "GET",
|
|
1430
|
+
uri: "/domain/v2beta1/dns-zones/version/{dns_zone_version_id}",
|
|
1431
|
+
code: 200,
|
|
1432
|
+
baseUrl: "https://api.scaleway.com",
|
|
1433
|
+
}),
|
|
1434
|
+
),
|
|
1435
|
+
).annotate({ identifier: "ListDNSZoneVersionRecordsRequest" });
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
function __c19(j: number): any {
|
|
1439
|
+
switch (j) {
|
|
1440
|
+
case 0:
|
|
1441
|
+
return S.suspend(() =>
|
|
1442
|
+
S.Struct({
|
|
1443
|
+
dns_zone: S.String.pipe(T.Label()),
|
|
1444
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
1445
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
1446
|
+
}).pipe(
|
|
1447
|
+
T.Http({
|
|
1448
|
+
method: "GET",
|
|
1449
|
+
uri: "/domain/v2beta1/dns-zones/{dns_zone}/versions",
|
|
1450
|
+
code: 200,
|
|
1451
|
+
baseUrl: "https://api.scaleway.com",
|
|
1452
|
+
}),
|
|
1453
|
+
),
|
|
1454
|
+
).annotate({ identifier: "ListDNSZoneVersionsRequest" });
|
|
1455
|
+
case 1:
|
|
1456
|
+
return S.suspend(() =>
|
|
1457
|
+
S.Struct({
|
|
1458
|
+
id: S.optional(S.String),
|
|
1459
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
1460
|
+
}),
|
|
1461
|
+
).annotate({ identifier: "DNSZoneVersion" });
|
|
1462
|
+
case 2:
|
|
1463
|
+
return S.Array(__S(305, __c19, 1));
|
|
1464
|
+
case 3:
|
|
1465
|
+
return S.suspend(() =>
|
|
1466
|
+
S.Struct({
|
|
1467
|
+
total_count: S.optional(S.Number),
|
|
1468
|
+
versions: __S(306, __c19, 2),
|
|
1469
|
+
}),
|
|
1470
|
+
).annotate({ identifier: "ListDNSZoneVersionsResponse" });
|
|
1471
|
+
}
|
|
1472
|
+
}
|
|
1473
|
+
function __c20(j: number): any {
|
|
1474
|
+
switch (j) {
|
|
1475
|
+
case 0:
|
|
1476
|
+
return S.suspend(() =>
|
|
1477
|
+
S.Struct({
|
|
1478
|
+
dns_zone: S.String.pipe(T.Query()),
|
|
1479
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
1480
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
1481
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
1482
|
+
}).pipe(
|
|
1483
|
+
T.Http({
|
|
1484
|
+
method: "GET",
|
|
1485
|
+
uri: "/domain/v2beta1/ssl-certificates",
|
|
1486
|
+
code: 200,
|
|
1487
|
+
baseUrl: "https://api.scaleway.com",
|
|
1488
|
+
}),
|
|
1489
|
+
),
|
|
1490
|
+
).annotate({ identifier: "ListSSLCertificatesRequest" });
|
|
1491
|
+
case 1:
|
|
1492
|
+
return S.Array(__S(448, __c28, 0));
|
|
1493
|
+
case 2:
|
|
1494
|
+
return S.suspend(() =>
|
|
1495
|
+
S.Struct({
|
|
1496
|
+
total_count: S.optional(S.Number),
|
|
1497
|
+
certificates: __S(321, __c20, 1),
|
|
1498
|
+
}),
|
|
1499
|
+
).annotate({ identifier: "ListSSLCertificatesResponse" });
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
function __c21(j: number): any {
|
|
1503
|
+
switch (j) {
|
|
1504
|
+
case 0:
|
|
1505
|
+
return S.suspend(() =>
|
|
1506
|
+
S.Struct({
|
|
1507
|
+
domain: S.String,
|
|
1508
|
+
subdomain: S.String,
|
|
1509
|
+
project_id: S.String,
|
|
1510
|
+
}).pipe(
|
|
1511
|
+
T.Http({
|
|
1512
|
+
method: "POST",
|
|
1513
|
+
uri: "/domain/v2beta1/dns-zones",
|
|
1514
|
+
code: 200,
|
|
1515
|
+
baseUrl: "https://api.scaleway.com",
|
|
1516
|
+
}),
|
|
1517
|
+
),
|
|
1518
|
+
).annotate({ identifier: "CreateDNSZoneRequest" });
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1521
|
+
function __c22(j: number): any {
|
|
1522
|
+
switch (j) {
|
|
1523
|
+
case 0:
|
|
1524
|
+
return S.suspend(() =>
|
|
1525
|
+
S.Struct({
|
|
1526
|
+
dns_zone: S.String.pipe(T.Label()),
|
|
1527
|
+
recreate_dns_zone: S.optional(S.Boolean),
|
|
1528
|
+
recreate_sub_dns_zone: S.optional(S.Boolean),
|
|
1529
|
+
}).pipe(
|
|
1530
|
+
T.Http({
|
|
1531
|
+
method: "POST",
|
|
1532
|
+
uri: "/domain/v2beta1/dns-zones/{dns_zone}/refresh",
|
|
1533
|
+
code: 200,
|
|
1534
|
+
baseUrl: "https://api.scaleway.com",
|
|
1535
|
+
}),
|
|
1536
|
+
),
|
|
1537
|
+
).annotate({ identifier: "RefreshDNSZoneRequest" });
|
|
1538
|
+
case 1:
|
|
1539
|
+
return S.suspend(() =>
|
|
1540
|
+
S.Struct({
|
|
1541
|
+
dns_zones: S.optional(__S(272, __c17, 0)),
|
|
1542
|
+
}),
|
|
1543
|
+
).annotate({ identifier: "RefreshDNSZoneResponse" });
|
|
1544
|
+
}
|
|
1545
|
+
}
|
|
1546
|
+
function __c23(j: number): any {
|
|
1547
|
+
switch (j) {
|
|
1548
|
+
case 0:
|
|
1549
|
+
return S.suspend(() =>
|
|
1550
|
+
S.Struct({
|
|
1551
|
+
dns_zone_version_id: S.String.pipe(T.Label()),
|
|
1552
|
+
}).pipe(
|
|
1553
|
+
T.Http({
|
|
1554
|
+
method: "POST",
|
|
1555
|
+
uri: "/domain/v2beta1/dns-zones/version/{dns_zone_version_id}/restore",
|
|
1556
|
+
code: 200,
|
|
1557
|
+
baseUrl: "https://api.scaleway.com",
|
|
1558
|
+
}),
|
|
1559
|
+
),
|
|
1560
|
+
).annotate({ identifier: "RestoreDNSZoneVersionRequest" });
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
function __c24(j: number): any {
|
|
1564
|
+
switch (j) {
|
|
1565
|
+
case 0:
|
|
1566
|
+
return S.suspend(() =>
|
|
1567
|
+
S.Struct({
|
|
1568
|
+
dns_zone: S.String.pipe(T.Label()),
|
|
1569
|
+
new_dns_zone: S.optional(S.NullOr(S.String)),
|
|
1570
|
+
project_id: S.String,
|
|
1571
|
+
}).pipe(
|
|
1572
|
+
T.Http({
|
|
1573
|
+
method: "PATCH",
|
|
1574
|
+
uri: "/domain/v2beta1/dns-zones/{dns_zone}",
|
|
1575
|
+
code: 200,
|
|
1576
|
+
baseUrl: "https://api.scaleway.com",
|
|
1577
|
+
}),
|
|
1578
|
+
),
|
|
1579
|
+
).annotate({ identifier: "UpdateDNSZoneRequest" });
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
function __c25(j: number): any {
|
|
1583
|
+
switch (j) {
|
|
1584
|
+
case 0:
|
|
1585
|
+
return S.suspend(() =>
|
|
1586
|
+
S.Struct({
|
|
1587
|
+
dns_zone: S.String.pipe(T.Label()),
|
|
1588
|
+
ns: __S(209, __c13, 1),
|
|
1589
|
+
}).pipe(
|
|
1590
|
+
T.Http({
|
|
1591
|
+
method: "PUT",
|
|
1592
|
+
uri: "/domain/v2beta1/dns-zones/{dns_zone}/nameservers",
|
|
1593
|
+
code: 200,
|
|
1594
|
+
baseUrl: "https://api.scaleway.com",
|
|
1595
|
+
}),
|
|
1596
|
+
),
|
|
1597
|
+
).annotate({ identifier: "UpdateDNSZoneNameserversRequest" });
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
function __c26(j: number): any {
|
|
1601
|
+
switch (j) {
|
|
1602
|
+
case 0:
|
|
1603
|
+
return S.suspend(() =>
|
|
1604
|
+
S.Struct({
|
|
1605
|
+
dns_zone: S.String.pipe(T.Label()),
|
|
1606
|
+
changes: __S(132, __c8, 4),
|
|
1607
|
+
return_all_records: S.optional(S.NullOr(S.Boolean)),
|
|
1608
|
+
disallow_new_zone_creation: S.optional(S.Boolean),
|
|
1609
|
+
serial: S.optional(S.NullOr(S.Number)),
|
|
1610
|
+
}).pipe(
|
|
1611
|
+
T.Http({
|
|
1612
|
+
method: "PATCH",
|
|
1613
|
+
uri: "/domain/v2beta1/dns-zones/{dns_zone}/records",
|
|
1614
|
+
code: 200,
|
|
1615
|
+
baseUrl: "https://api.scaleway.com",
|
|
1616
|
+
}),
|
|
1617
|
+
),
|
|
1618
|
+
).annotate({ identifier: "UpdateDNSZoneRecordsRequest" });
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1621
|
+
function __c27(j: number): any {
|
|
1622
|
+
switch (j) {
|
|
1623
|
+
case 0:
|
|
1624
|
+
return S.suspend(() =>
|
|
1625
|
+
S.Struct({
|
|
1626
|
+
dns_zone: S.optional(S.String),
|
|
1627
|
+
alternative_dns_zones: S.optional(__S(64, __c4, 0)),
|
|
1628
|
+
}).pipe(
|
|
1629
|
+
T.Http({
|
|
1630
|
+
method: "POST",
|
|
1631
|
+
uri: "/domain/v2beta1/ssl-certificates",
|
|
1632
|
+
code: 200,
|
|
1633
|
+
baseUrl: "https://api.scaleway.com",
|
|
1634
|
+
}),
|
|
1635
|
+
),
|
|
1636
|
+
).annotate({ identifier: "CreateSSLCertificateRequest" });
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
function __c28(j: number): any {
|
|
1640
|
+
switch (j) {
|
|
1641
|
+
case 0:
|
|
1642
|
+
return S.suspend(() =>
|
|
1643
|
+
S.Struct({
|
|
1644
|
+
dns_zone: S.optional(S.String),
|
|
1645
|
+
alternative_dns_zones: S.optional(__S(64, __c4, 0)),
|
|
1646
|
+
status: S.optional(S.String),
|
|
1647
|
+
private_key: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
1648
|
+
certificate_chain: S.optional(S.String),
|
|
1649
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
1650
|
+
expired_at: S.optional(S.NullOr(S.String)),
|
|
1651
|
+
srn: S.optional(S.String),
|
|
1652
|
+
}),
|
|
1653
|
+
).annotate({ identifier: "SSLCertificate" });
|
|
1654
|
+
}
|
|
1655
|
+
}
|
|
1656
|
+
function __c29(j: number): any {
|
|
1657
|
+
switch (j) {
|
|
1658
|
+
case 0:
|
|
1659
|
+
return S.suspend(() =>
|
|
1660
|
+
S.Struct({
|
|
1661
|
+
dns_zone: S.String.pipe(T.Label()),
|
|
1662
|
+
project_id: S.String.pipe(T.Query()),
|
|
1663
|
+
}).pipe(
|
|
1664
|
+
T.Http({
|
|
1665
|
+
method: "DELETE",
|
|
1666
|
+
uri: "/domain/v2beta1/dns-zones/{dns_zone}",
|
|
1667
|
+
code: 200,
|
|
1668
|
+
baseUrl: "https://api.scaleway.com",
|
|
1669
|
+
}),
|
|
1670
|
+
),
|
|
1671
|
+
).annotate({ identifier: "DeleteDNSZoneRequest" });
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1674
|
+
function __c30(j: number): any {
|
|
1675
|
+
switch (j) {
|
|
1676
|
+
case 0:
|
|
1677
|
+
return S.suspend(() =>
|
|
1678
|
+
S.Struct({
|
|
1679
|
+
dns_zone: S.String.pipe(T.Label()),
|
|
1680
|
+
}).pipe(
|
|
1681
|
+
T.Http({
|
|
1682
|
+
method: "DELETE",
|
|
1683
|
+
uri: "/domain/v2beta1/dns-zones/{dns_zone}/tsig-key",
|
|
1684
|
+
code: 200,
|
|
1685
|
+
baseUrl: "https://api.scaleway.com",
|
|
1686
|
+
}),
|
|
1687
|
+
),
|
|
1688
|
+
).annotate({ identifier: "DeleteDNSZoneTsigKeyRequest" });
|
|
1689
|
+
case 1:
|
|
1690
|
+
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteDNSZoneTsigKeyResponse" });
|
|
1691
|
+
}
|
|
1692
|
+
}
|
|
1693
|
+
function __c31(j: number): any {
|
|
1694
|
+
switch (j) {
|
|
1695
|
+
case 0:
|
|
1696
|
+
return S.suspend(() =>
|
|
1697
|
+
S.Struct({
|
|
1698
|
+
dns_zone: S.String.pipe(T.Label()),
|
|
1699
|
+
}).pipe(
|
|
1700
|
+
T.Http({
|
|
1701
|
+
method: "DELETE",
|
|
1702
|
+
uri: "/domain/v2beta1/ssl-certificates/{dns_zone}",
|
|
1703
|
+
code: 200,
|
|
1704
|
+
baseUrl: "https://api.scaleway.com",
|
|
1705
|
+
}),
|
|
1706
|
+
),
|
|
1707
|
+
).annotate({ identifier: "DeleteSSLCertificateRequest" });
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
function __c32(j: number): any {
|
|
1711
|
+
switch (j) {
|
|
1712
|
+
case 0:
|
|
1713
|
+
return S.suspend(() =>
|
|
1714
|
+
S.Struct({
|
|
1715
|
+
dns_zone: S.String.pipe(T.Label()),
|
|
1716
|
+
format: S.optional(S.String.pipe(T.Query())),
|
|
1717
|
+
}).pipe(
|
|
1718
|
+
T.Http({
|
|
1719
|
+
method: "GET",
|
|
1720
|
+
uri: "/domain/v2beta1/dns-zones/{dns_zone}/raw",
|
|
1721
|
+
code: 200,
|
|
1722
|
+
baseUrl: "https://api.scaleway.com",
|
|
1723
|
+
}),
|
|
1724
|
+
),
|
|
1725
|
+
).annotate({ identifier: "ExportRawDNSZoneRequest" });
|
|
1726
|
+
case 1:
|
|
1727
|
+
return S.suspend(() =>
|
|
1728
|
+
S.Struct({
|
|
1729
|
+
name: S.optional(S.String),
|
|
1730
|
+
content_type: S.optional(S.String),
|
|
1731
|
+
content: S.optional(S.String),
|
|
1732
|
+
}),
|
|
1733
|
+
).annotate({ identifier: "ScalewayStdFile" });
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1736
|
+
function __c33(j: number): any {
|
|
1737
|
+
switch (j) {
|
|
1738
|
+
case 0:
|
|
1739
|
+
return S.suspend(() =>
|
|
1740
|
+
S.Struct({
|
|
1741
|
+
dns_zone: S.String.pipe(T.Label()),
|
|
1742
|
+
format: S.optional(S.String.pipe(T.Query())),
|
|
1743
|
+
}).pipe(
|
|
1744
|
+
T.Http({
|
|
1745
|
+
method: "GET",
|
|
1746
|
+
uri: "/domain/v2beta1/dns-zones/{dns_zone}/raw",
|
|
1747
|
+
code: 200,
|
|
1748
|
+
baseUrl: "https://api.scaleway.com",
|
|
1749
|
+
rawDownload: true,
|
|
1750
|
+
}),
|
|
1751
|
+
),
|
|
1752
|
+
).annotate({ identifier: "ExportRawDNSZoneRawRequest" });
|
|
1753
|
+
case 1:
|
|
1754
|
+
return S.suspend(() =>
|
|
1755
|
+
S.Struct({
|
|
1756
|
+
body: BinaryStream.pipe(T.RawResponse(), T.BinaryResponse()),
|
|
1757
|
+
contentType: S.optional(S.String.pipe(T.Header("Content-Type"))),
|
|
1758
|
+
}),
|
|
1759
|
+
).annotate({ identifier: "ExportRawDNSZoneRawResponse" });
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
function __c34(j: number): any {
|
|
1763
|
+
switch (j) {
|
|
1764
|
+
case 0:
|
|
1765
|
+
return S.suspend(() =>
|
|
1766
|
+
S.Struct({
|
|
1767
|
+
dns_zone: S.String.pipe(T.Label()),
|
|
1768
|
+
}).pipe(
|
|
1769
|
+
T.Http({
|
|
1770
|
+
method: "GET",
|
|
1771
|
+
uri: "/domain/v2beta1/dns-zones/{dns_zone}/tsig-key",
|
|
1772
|
+
code: 200,
|
|
1773
|
+
baseUrl: "https://api.scaleway.com",
|
|
1774
|
+
}),
|
|
1775
|
+
),
|
|
1776
|
+
).annotate({ identifier: "GetDNSZoneTsigKeyRequest" });
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
function __c35(j: number): any {
|
|
1780
|
+
switch (j) {
|
|
1781
|
+
case 0:
|
|
1782
|
+
return S.suspend(() =>
|
|
1783
|
+
S.Struct({
|
|
1784
|
+
name: S.optional(S.String),
|
|
1785
|
+
key: S.optional(S.String),
|
|
1786
|
+
algorithm: S.optional(S.String),
|
|
1787
|
+
}),
|
|
1788
|
+
).annotate({ identifier: "GetDNSZoneTsigKeyResponse" });
|
|
1789
|
+
}
|
|
1790
|
+
}
|
|
1791
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
1792
|
+
function __S(i: number, f: (j: number) => unknown, j: number): any {
|
|
1793
|
+
return (__s[i] ??= __L.at(f, j));
|
|
1794
|
+
}
|