@distilled.cloud/scaleway 0.0.0 → 1.0.0-rc.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +171 -4
- package/lib/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +44 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +1 -0
- package/lib/errors.d.ts +285 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +1 -0
- package/lib/index.d.ts +48 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +6 -0
- package/lib/pagination.d.ts +10 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +1 -0
- package/lib/protocol.d.ts +48 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +1 -0
- package/lib/retry.d.ts +31 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +1 -0
- package/lib/services/account_contract_v3.d.ts +124 -0
- package/lib/services/account_contract_v3.d.ts.map +1 -0
- package/lib/services/account_contract_v3.js +2 -0
- package/lib/services/account_contract_v3.js.map +1 -0
- package/lib/services/account_iso_code_v3.d.ts +44 -0
- package/lib/services/account_iso_code_v3.d.ts.map +1 -0
- package/lib/services/account_iso_code_v3.js +2 -0
- package/lib/services/account_iso_code_v3.js.map +1 -0
- package/lib/services/account_organization_v3.d.ts +290 -0
- package/lib/services/account_organization_v3.d.ts.map +1 -0
- package/lib/services/account_organization_v3.js +2 -0
- package/lib/services/account_organization_v3.js.map +1 -0
- package/lib/services/account_project_v3.d.ts +173 -0
- package/lib/services/account_project_v3.d.ts.map +1 -0
- package/lib/services/account_project_v3.js +2 -0
- package/lib/services/account_project_v3.js.map +1 -0
- package/lib/services/account_unauthenticated_user_v3.d.ts +479 -0
- package/lib/services/account_unauthenticated_user_v3.d.ts.map +1 -0
- package/lib/services/account_unauthenticated_user_v3.js +35 -0
- package/lib/services/account_unauthenticated_user_v3.js.map +1 -0
- package/lib/services/account_unauthenticated_v3.d.ts +18 -0
- package/lib/services/account_unauthenticated_v3.d.ts.map +1 -0
- package/lib/services/account_unauthenticated_v3.js +2 -0
- package/lib/services/account_unauthenticated_v3.js.map +1 -0
- package/lib/services/account_user_v3.d.ts +522 -0
- package/lib/services/account_user_v3.d.ts.map +1 -0
- package/lib/services/account_user_v3.js +39 -0
- package/lib/services/account_user_v3.js.map +1 -0
- package/lib/services/annotations_v1.d.ts +260 -0
- package/lib/services/annotations_v1.d.ts.map +1 -0
- package/lib/services/annotations_v1.js +2 -0
- package/lib/services/annotations_v1.js.map +1 -0
- package/lib/services/baremetal_private_network_v1.d.ts +95 -0
- package/lib/services/baremetal_private_network_v1.d.ts.map +1 -0
- package/lib/services/baremetal_private_network_v1.js +2 -0
- package/lib/services/baremetal_private_network_v1.js.map +1 -0
- package/lib/services/baremetal_private_network_v3.d.ts +110 -0
- package/lib/services/baremetal_private_network_v3.d.ts.map +1 -0
- package/lib/services/baremetal_private_network_v3.js +2 -0
- package/lib/services/baremetal_private_network_v3.js.map +1 -0
- package/lib/services/baremetal_v1.d.ts +1089 -0
- package/lib/services/baremetal_v1.d.ts.map +1 -0
- package/lib/services/baremetal_v1.js +52 -0
- package/lib/services/baremetal_v1.js.map +1 -0
- package/lib/services/billing_electronic_billing_v2.d.ts +86 -0
- package/lib/services/billing_electronic_billing_v2.d.ts.map +1 -0
- package/lib/services/billing_electronic_billing_v2.js +2 -0
- package/lib/services/billing_electronic_billing_v2.js.map +1 -0
- package/lib/services/billing_v2.d.ts +187 -0
- package/lib/services/billing_v2.d.ts.map +1 -0
- package/lib/services/billing_v2.js +2 -0
- package/lib/services/billing_v2.js.map +1 -0
- package/lib/services/block_v1.d.ts +401 -0
- package/lib/services/block_v1.d.ts.map +1 -0
- package/lib/services/block_v1.js +27 -0
- package/lib/services/block_v1.js.map +1 -0
- package/lib/services/cockpit_global_v1.d.ts +75 -0
- package/lib/services/cockpit_global_v1.d.ts.map +1 -0
- package/lib/services/cockpit_global_v1.js +2 -0
- package/lib/services/cockpit_global_v1.js.map +1 -0
- package/lib/services/cockpit_regional_v1.d.ts +739 -0
- package/lib/services/cockpit_regional_v1.d.ts.map +1 -0
- package/lib/services/cockpit_regional_v1.js +47 -0
- package/lib/services/cockpit_regional_v1.js.map +1 -0
- package/lib/services/containers_v1.d.ts +822 -0
- package/lib/services/containers_v1.d.ts.map +1 -0
- package/lib/services/containers_v1.js +39 -0
- package/lib/services/containers_v1.js.map +1 -0
- package/lib/services/dedibox_billing_v1.d.ts +151 -0
- package/lib/services/dedibox_billing_v1.d.ts.map +1 -0
- package/lib/services/dedibox_billing_v1.js +2 -0
- package/lib/services/dedibox_billing_v1.js.map +1 -0
- package/lib/services/dedibox_ipv6_block_v1.d.ts +119 -0
- package/lib/services/dedibox_ipv6_block_v1.d.ts.map +1 -0
- package/lib/services/dedibox_ipv6_block_v1.js +2 -0
- package/lib/services/dedibox_ipv6_block_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_san_v1.d.ts +486 -0
- package/lib/services/dedibox_rpn_san_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_san_v1.js +2 -0
- package/lib/services/dedibox_rpn_san_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v1.d.ts +68 -0
- package/lib/services/dedibox_rpn_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v1.js +2 -0
- package/lib/services/dedibox_rpn_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v1_v1.d.ts +687 -0
- package/lib/services/dedibox_rpn_v1_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v1_v1.js +30 -0
- package/lib/services/dedibox_rpn_v1_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v2_v1.d.ts +646 -0
- package/lib/services/dedibox_rpn_v2_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v2_v1.js +27 -0
- package/lib/services/dedibox_rpn_v2_v1.js.map +1 -0
- package/lib/services/dedibox_v1.d.ts +1351 -0
- package/lib/services/dedibox_v1.d.ts.map +1 -0
- package/lib/services/dedibox_v1.js +70 -0
- package/lib/services/dedibox_v1.js.map +1 -0
- package/lib/services/generative_apis_openai_v1.d.ts +772 -0
- package/lib/services/generative_apis_openai_v1.d.ts.map +1 -0
- package/lib/services/generative_apis_openai_v1.js +24 -0
- package/lib/services/generative_apis_openai_v1.js.map +1 -0
- package/lib/services/generative_apis_v1.d.ts +82 -0
- package/lib/services/generative_apis_v1.d.ts.map +1 -0
- package/lib/services/generative_apis_v1.js +2 -0
- package/lib/services/generative_apis_v1.js.map +1 -0
- package/lib/services/index.d.ts +57 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +56 -0
- package/lib/services/inference_v1.d.ts +460 -0
- package/lib/services/inference_v1.d.ts.map +1 -0
- package/lib/services/inference_v1.js +33 -0
- package/lib/services/inference_v1.js.map +1 -0
- package/lib/services/instance_v1.d.ts +2183 -0
- package/lib/services/instance_v1.d.ts.map +1 -0
- package/lib/services/instance_v1.js +112 -0
- package/lib/services/instance_v1.js.map +1 -0
- package/lib/services/iot_v1.d.ts +837 -0
- package/lib/services/iot_v1.d.ts.map +1 -0
- package/lib/services/iot_v1.js +50 -0
- package/lib/services/iot_v1.js.map +1 -0
- package/lib/services/ipam_v1.d.ts +244 -0
- package/lib/services/ipam_v1.d.ts.map +1 -0
- package/lib/services/ipam_v1.js +2 -0
- package/lib/services/ipam_v1.js.map +1 -0
- package/lib/services/k8s_v1.d.ts +1223 -0
- package/lib/services/k8s_v1.d.ts.map +1 -0
- package/lib/services/k8s_v1.js +61 -0
- package/lib/services/k8s_v1.js.map +1 -0
- package/lib/services/lb_zoned_v1.d.ts +1517 -0
- package/lib/services/lb_zoned_v1.d.ts.map +1 -0
- package/lib/services/lb_zoned_v1.js +75 -0
- package/lib/services/lb_zoned_v1.js.map +1 -0
- package/lib/services/marketplace_console_v2.d.ts +72 -0
- package/lib/services/marketplace_console_v2.d.ts.map +1 -0
- package/lib/services/marketplace_console_v2.js +2 -0
- package/lib/services/marketplace_console_v2.js.map +1 -0
- package/lib/services/marketplace_v2.d.ts +169 -0
- package/lib/services/marketplace_v2.d.ts.map +1 -0
- package/lib/services/marketplace_v2.js +2 -0
- package/lib/services/marketplace_v2.js.map +1 -0
- package/lib/services/mongodb_v1.d.ts +698 -0
- package/lib/services/mongodb_v1.d.ts.map +1 -0
- package/lib/services/mongodb_v1.js +43 -0
- package/lib/services/mongodb_v1.js.map +1 -0
- package/lib/services/partner_v1.d.ts +142 -0
- package/lib/services/partner_v1.d.ts.map +1 -0
- package/lib/services/partner_v1.js +2 -0
- package/lib/services/partner_v1.js.map +1 -0
- package/lib/services/rdb_encryption_v1.d.ts +17 -0
- package/lib/services/rdb_encryption_v1.d.ts.map +1 -0
- package/lib/services/rdb_encryption_v1.js +2 -0
- package/lib/services/rdb_encryption_v1.js.map +1 -0
- package/lib/services/rdb_v1.d.ts +1422 -0
- package/lib/services/rdb_v1.d.ts.map +1 -0
- package/lib/services/rdb_v1.js +87 -0
- package/lib/services/rdb_v1.js.map +1 -0
- package/lib/services/redis_v1.d.ts +602 -0
- package/lib/services/redis_v1.d.ts.map +1 -0
- package/lib/services/redis_v1.js +42 -0
- package/lib/services/redis_v1.js.map +1 -0
- package/lib/services/registry_v1.d.ts +281 -0
- package/lib/services/registry_v1.d.ts.map +1 -0
- package/lib/services/registry_v1.js +2 -0
- package/lib/services/registry_v1.js.map +1 -0
- package/lib/services/reseller_v1.d.ts +81 -0
- package/lib/services/reseller_v1.d.ts.map +1 -0
- package/lib/services/reseller_v1.js +2 -0
- package/lib/services/reseller_v1.js.map +1 -0
- package/lib/services/vpc_gw_v2.d.ts +635 -0
- package/lib/services/vpc_gw_v2.d.ts.map +1 -0
- package/lib/services/vpc_gw_v2.js +46 -0
- package/lib/services/vpc_gw_v2.js.map +1 -0
- package/lib/services/vpc_private_network_with_nics_v2.d.ts +114 -0
- package/lib/services/vpc_private_network_with_nics_v2.d.ts.map +1 -0
- package/lib/services/vpc_private_network_with_nics_v2.js +2 -0
- package/lib/services/vpc_private_network_with_nics_v2.js.map +1 -0
- package/lib/services/vpc_routes_with_nexthop_v2.d.ts +87 -0
- package/lib/services/vpc_routes_with_nexthop_v2.d.ts.map +1 -0
- package/lib/services/vpc_routes_with_nexthop_v2.js +2 -0
- package/lib/services/vpc_routes_with_nexthop_v2.js.map +1 -0
- package/lib/services/vpc_v2.d.ts +875 -0
- package/lib/services/vpc_v2.d.ts.map +1 -0
- package/lib/services/vpc_v2.js +54 -0
- package/lib/services/vpc_v2.js.map +1 -0
- package/lib/services/webhosting_backup_v1.d.ts +182 -0
- package/lib/services/webhosting_backup_v1.d.ts.map +1 -0
- package/lib/services/webhosting_backup_v1.js +2 -0
- package/lib/services/webhosting_backup_v1.js.map +1 -0
- package/lib/services/webhosting_control_panel_v1.d.ts +37 -0
- package/lib/services/webhosting_control_panel_v1.d.ts.map +1 -0
- package/lib/services/webhosting_control_panel_v1.js +2 -0
- package/lib/services/webhosting_control_panel_v1.js.map +1 -0
- package/lib/services/webhosting_database_v1.d.ts +195 -0
- package/lib/services/webhosting_database_v1.d.ts.map +1 -0
- package/lib/services/webhosting_database_v1.js +2 -0
- package/lib/services/webhosting_database_v1.js.map +1 -0
- package/lib/services/webhosting_dedibox_v1.d.ts +232 -0
- package/lib/services/webhosting_dedibox_v1.d.ts.map +1 -0
- package/lib/services/webhosting_dedibox_v1.js +2 -0
- package/lib/services/webhosting_dedibox_v1.js.map +1 -0
- package/lib/services/webhosting_dns_v1.d.ts +177 -0
- package/lib/services/webhosting_dns_v1.d.ts.map +1 -0
- package/lib/services/webhosting_dns_v1.js +2 -0
- package/lib/services/webhosting_dns_v1.js.map +1 -0
- package/lib/services/webhosting_free_domain_v1.d.ts +51 -0
- package/lib/services/webhosting_free_domain_v1.d.ts.map +1 -0
- package/lib/services/webhosting_free_domain_v1.js +2 -0
- package/lib/services/webhosting_free_domain_v1.js.map +1 -0
- package/lib/services/webhosting_ftp_account_v1.d.ts +79 -0
- package/lib/services/webhosting_ftp_account_v1.d.ts.map +1 -0
- package/lib/services/webhosting_ftp_account_v1.js +2 -0
- package/lib/services/webhosting_ftp_account_v1.js.map +1 -0
- package/lib/services/webhosting_hosting_v1.d.ts +502 -0
- package/lib/services/webhosting_hosting_v1.d.ts.map +1 -0
- package/lib/services/webhosting_hosting_v1.js +27 -0
- package/lib/services/webhosting_hosting_v1.js.map +1 -0
- package/lib/services/webhosting_mail_account_v1.d.ts +84 -0
- package/lib/services/webhosting_mail_account_v1.d.ts.map +1 -0
- package/lib/services/webhosting_mail_account_v1.js +2 -0
- package/lib/services/webhosting_mail_account_v1.js.map +1 -0
- package/lib/services/webhosting_offer_v1.d.ts +122 -0
- package/lib/services/webhosting_offer_v1.d.ts.map +1 -0
- package/lib/services/webhosting_offer_v1.js +2 -0
- package/lib/services/webhosting_offer_v1.js.map +1 -0
- package/lib/services/webhosting_website_v1.d.ts +75 -0
- package/lib/services/webhosting_website_v1.d.ts.map +1 -0
- package/lib/services/webhosting_website_v1.js +2 -0
- package/lib/services/webhosting_website_v1.js.map +1 -0
- package/lib/services.lazy/account_contract_v3.js +1 -0
- package/lib/services.lazy/account_iso_code_v3.js +1 -0
- package/lib/services.lazy/account_organization_v3.js +1 -0
- package/lib/services.lazy/account_project_v3.js +1 -0
- package/lib/services.lazy/account_unauthenticated_user_v3.js +3 -0
- package/lib/services.lazy/account_unauthenticated_v3.js +1 -0
- package/lib/services.lazy/account_user_v3.js +3 -0
- package/lib/services.lazy/annotations_v1.js +1 -0
- package/lib/services.lazy/baremetal_private_network_v1.js +1 -0
- package/lib/services.lazy/baremetal_private_network_v3.js +1 -0
- package/lib/services.lazy/baremetal_v1.js +3 -0
- package/lib/services.lazy/billing_electronic_billing_v2.js +1 -0
- package/lib/services.lazy/billing_v2.js +1 -0
- package/lib/services.lazy/block_v1.js +3 -0
- package/lib/services.lazy/cockpit_global_v1.js +1 -0
- package/lib/services.lazy/cockpit_regional_v1.js +3 -0
- package/lib/services.lazy/containers_v1.js +3 -0
- package/lib/services.lazy/dedibox_billing_v1.js +1 -0
- package/lib/services.lazy/dedibox_ipv6_block_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_san_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_v1_v1.js +3 -0
- package/lib/services.lazy/dedibox_rpn_v2_v1.js +3 -0
- package/lib/services.lazy/dedibox_v1.js +3 -0
- package/lib/services.lazy/generative_apis_openai_v1.js +3 -0
- package/lib/services.lazy/generative_apis_v1.js +1 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/inference_v1.js +3 -0
- package/lib/services.lazy/instance_v1.js +3 -0
- package/lib/services.lazy/iot_v1.js +3 -0
- package/lib/services.lazy/ipam_v1.js +1 -0
- package/lib/services.lazy/k8s_v1.js +3 -0
- package/lib/services.lazy/lb_zoned_v1.js +3 -0
- package/lib/services.lazy/marketplace_console_v2.js +1 -0
- package/lib/services.lazy/marketplace_v2.js +1 -0
- package/lib/services.lazy/mongodb_v1.js +3 -0
- package/lib/services.lazy/partner_v1.js +1 -0
- package/lib/services.lazy/rdb_encryption_v1.js +1 -0
- package/lib/services.lazy/rdb_v1.js +3 -0
- package/lib/services.lazy/redis_v1.js +3 -0
- package/lib/services.lazy/registry_v1.js +1 -0
- package/lib/services.lazy/reseller_v1.js +1 -0
- package/lib/services.lazy/vpc_gw_v2.js +3 -0
- package/lib/services.lazy/vpc_private_network_with_nics_v2.js +1 -0
- package/lib/services.lazy/vpc_routes_with_nexthop_v2.js +1 -0
- package/lib/services.lazy/vpc_v2.js +3 -0
- package/lib/services.lazy/webhosting_backup_v1.js +1 -0
- package/lib/services.lazy/webhosting_control_panel_v1.js +1 -0
- package/lib/services.lazy/webhosting_database_v1.js +1 -0
- package/lib/services.lazy/webhosting_dedibox_v1.js +1 -0
- package/lib/services.lazy/webhosting_dns_v1.js +1 -0
- package/lib/services.lazy/webhosting_free_domain_v1.js +1 -0
- package/lib/services.lazy/webhosting_ftp_account_v1.js +1 -0
- package/lib/services.lazy/webhosting_hosting_v1.js +3 -0
- package/lib/services.lazy/webhosting_mail_account_v1.js +1 -0
- package/lib/services.lazy/webhosting_offer_v1.js +1 -0
- package/lib/services.lazy/webhosting_website_v1.js +1 -0
- package/lib/traits.d.ts +25 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +1 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.d.ts +119 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.js +2 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.js.map +1 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.d.ts +569 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.js +38 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.js.map +1 -0
- package/lib/unstable-services/audit_trail_v1alpha1.d.ts +1082 -0
- package/lib/unstable-services/audit_trail_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/audit_trail_v1alpha1.js +47 -0
- package/lib/unstable-services/audit_trail_v1alpha1.js.map +1 -0
- package/lib/unstable-services/autoscaling_v1alpha2.d.ts +368 -0
- package/lib/unstable-services/autoscaling_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/autoscaling_v1alpha2.js +2 -0
- package/lib/unstable-services/autoscaling_v1alpha2.js.map +1 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.d.ts +78 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.js +2 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.js.map +1 -0
- package/lib/unstable-services/billing_v2beta1.d.ts +411 -0
- package/lib/unstable-services/billing_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/billing_v2beta1.js +25 -0
- package/lib/unstable-services/billing_v2beta1.js.map +1 -0
- package/lib/unstable-services/block_v1alpha1.d.ts +372 -0
- package/lib/unstable-services/block_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/block_v1alpha1.js +27 -0
- package/lib/unstable-services/block_v1alpha1.js.map +1 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.d.ts +440 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.js +27 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.js.map +1 -0
- package/lib/unstable-services/datalab_v1beta1.d.ts +322 -0
- package/lib/unstable-services/datalab_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/datalab_v1beta1.js +2 -0
- package/lib/unstable-services/datalab_v1beta1.js.map +1 -0
- package/lib/unstable-services/dataviz_v1alpha1.d.ts +456 -0
- package/lib/unstable-services/dataviz_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/dataviz_v1alpha1.js +34 -0
- package/lib/unstable-services/dataviz_v1alpha1.js.map +1 -0
- package/lib/unstable-services/datawarehouse_v1beta1.d.ts +492 -0
- package/lib/unstable-services/datawarehouse_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/datawarehouse_v1beta1.js +34 -0
- package/lib/unstable-services/datawarehouse_v1beta1.js.map +1 -0
- package/lib/unstable-services/domain_registrar_v2beta1.d.ts +1087 -0
- package/lib/unstable-services/domain_registrar_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_registrar_v2beta1.js +50 -0
- package/lib/unstable-services/domain_registrar_v2beta1.js.map +1 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.d.ts +19 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.js +2 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.js.map +1 -0
- package/lib/unstable-services/domain_v2beta1.d.ts +520 -0
- package/lib/unstable-services/domain_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_v2beta1.js +44 -0
- package/lib/unstable-services/domain_v2beta1.js.map +1 -0
- package/lib/unstable-services/edge_services_v1beta1.d.ts +1153 -0
- package/lib/unstable-services/edge_services_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/edge_services_v1beta1.js +81 -0
- package/lib/unstable-services/edge_services_v1beta1.js.map +1 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.d.ts +149 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.js +2 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.js.map +1 -0
- package/lib/unstable-services/file_v1alpha1.d.ts +350 -0
- package/lib/unstable-services/file_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/file_v1alpha1.js +24 -0
- package/lib/unstable-services/file_v1alpha1.js.map +1 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.d.ts +241 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.js +2 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.js.map +1 -0
- package/lib/unstable-services/functions_v1beta1.d.ts +852 -0
- package/lib/unstable-services/functions_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/functions_v1beta1.js +49 -0
- package/lib/unstable-services/functions_v1beta1.js.map +1 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.d.ts +257 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.js +2 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.js.map +1 -0
- package/lib/unstable-services/iam_v1alpha1.d.ts +1506 -0
- package/lib/unstable-services/iam_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/iam_v1alpha1.js +105 -0
- package/lib/unstable-services/iam_v1alpha1.js.map +1 -0
- package/lib/unstable-services/index.d.ts +44 -0
- package/lib/unstable-services/index.d.ts.map +1 -0
- package/lib/unstable-services/index.js +43 -0
- package/lib/unstable-services/instance_v2alpha1.d.ts +1745 -0
- package/lib/unstable-services/instance_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/instance_v2alpha1.js +81 -0
- package/lib/unstable-services/instance_v2alpha1.js.map +1 -0
- package/lib/unstable-services/instance_volume_v2alpha1.d.ts +333 -0
- package/lib/unstable-services/instance_volume_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/instance_volume_v2alpha1.js +26 -0
- package/lib/unstable-services/instance_volume_v2alpha1.js.map +1 -0
- package/lib/unstable-services/interlink_v1beta1.d.ts +636 -0
- package/lib/unstable-services/interlink_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/interlink_v1beta1.js +39 -0
- package/lib/unstable-services/interlink_v1beta1.js.map +1 -0
- package/lib/unstable-services/kafka_v1alpha1.d.ts +451 -0
- package/lib/unstable-services/kafka_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/kafka_v1alpha1.js +27 -0
- package/lib/unstable-services/kafka_v1alpha1.js.map +1 -0
- package/lib/unstable-services/key_manager_v1alpha1.d.ts +515 -0
- package/lib/unstable-services/key_manager_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/key_manager_v1alpha1.js +36 -0
- package/lib/unstable-services/key_manager_v1alpha1.js.map +1 -0
- package/lib/unstable-services/mailbox_v1alpha1.d.ts +438 -0
- package/lib/unstable-services/mailbox_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/mailbox_v1alpha1.js +39 -0
- package/lib/unstable-services/mailbox_v1alpha1.js.map +1 -0
- package/lib/unstable-services/messageq_v1alpha1.d.ts +420 -0
- package/lib/unstable-services/messageq_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/messageq_v1alpha1.js +29 -0
- package/lib/unstable-services/messageq_v1alpha1.js.map +1 -0
- package/lib/unstable-services/mnq_console_v1beta1.d.ts +32 -0
- package/lib/unstable-services/mnq_console_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_console_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_console_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_nats_v1beta1.d.ts +177 -0
- package/lib/unstable-services/mnq_nats_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_nats_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_nats_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_sns_v1beta1.d.ts +155 -0
- package/lib/unstable-services/mnq_sns_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_sns_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_sns_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.d.ts +155 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.js.map +1 -0
- package/lib/unstable-services/mongodb_v1alpha1.d.ts +604 -0
- package/lib/unstable-services/mongodb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/mongodb_v1alpha1.js +37 -0
- package/lib/unstable-services/mongodb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.d.ts +477 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.js +2 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.js.map +1 -0
- package/lib/unstable-services/qaas_v1alpha1.d.ts +764 -0
- package/lib/unstable-services/qaas_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/qaas_v1alpha1.js +51 -0
- package/lib/unstable-services/qaas_v1alpha1.js.map +1 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.d.ts +794 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.js +45 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.js.map +1 -0
- package/lib/unstable-services/search_v1alpha1.d.ts +120 -0
- package/lib/unstable-services/search_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/search_v1alpha1.js +2 -0
- package/lib/unstable-services/search_v1alpha1.js.map +1 -0
- package/lib/unstable-services/searchdb_v1alpha1.d.ts +424 -0
- package/lib/unstable-services/searchdb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/searchdb_v1alpha1.js +29 -0
- package/lib/unstable-services/searchdb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/secret_manager_v1beta1.d.ts +407 -0
- package/lib/unstable-services/secret_manager_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/secret_manager_v1beta1.js +32 -0
- package/lib/unstable-services/secret_manager_v1beta1.js.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.d.ts +331 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.js +28 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.js.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.d.ts +546 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.js +35 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.js.map +1 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.d.ts +239 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.js +2 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/transactional_email_v1alpha1.d.ts +936 -0
- package/lib/unstable-services/transactional_email_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/transactional_email_v1alpha1.js +46 -0
- package/lib/unstable-services/transactional_email_v1alpha1.js.map +1 -0
- package/lib/unstable-services.lazy/apple_silicon_private_network_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/apple_silicon_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/audit_trail_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/autoscaling_v1alpha2.js +1 -0
- package/lib/unstable-services.lazy/billing_fin_ops_v2beta1.js +1 -0
- package/lib/unstable-services.lazy/billing_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/block_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/data_orchestrator_v1alpha2.js +3 -0
- package/lib/unstable-services.lazy/datalab_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/dataviz_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/datawarehouse_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/domain_registrar_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/domain_suggestion_v2beta1.js +1 -0
- package/lib/unstable-services.lazy/domain_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/edge_services_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/environmental_footprint_user_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/file_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/flexible_ip_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/functions_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/iam_unauthenticated_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/iam_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/index.js +3 -0
- package/lib/unstable-services.lazy/instance_v2alpha1.js +3 -0
- package/lib/unstable-services.lazy/instance_volume_v2alpha1.js +3 -0
- package/lib/unstable-services.lazy/interlink_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/kafka_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/key_manager_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/mailbox_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/messageq_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/mnq_console_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_nats_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_sns_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_sqs_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mongodb_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/product_catalog_public_catalog_v2alpha1.js +1 -0
- package/lib/unstable-services.lazy/qaas_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/s2s_vpn_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/search_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/searchdb_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/secret_manager_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/serverless_jobs_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/serverless_jobs_v1alpha2.js +3 -0
- package/lib/unstable-services.lazy/serverless_sqldb_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/transactional_email_v1alpha1.js +3 -0
- package/package.json +89 -2
- package/src/credentials.ts +104 -0
- package/src/errors.ts +307 -0
- package/src/index.ts +52 -0
- package/src/pagination.ts +65 -0
- package/src/protocol.ts +496 -0
- package/src/retry.ts +47 -0
- package/src/services/account_contract_v3.ts +441 -0
- package/src/services/account_iso_code_v3.ts +165 -0
- package/src/services/account_organization_v3.ts +946 -0
- package/src/services/account_project_v3.ts +530 -0
- package/src/services/account_unauthenticated_user_v3.ts +1445 -0
- package/src/services/account_unauthenticated_v3.ts +92 -0
- package/src/services/account_user_v3.ts +1657 -0
- package/src/services/annotations_v1.ts +897 -0
- package/src/services/baremetal_private_network_v1.ts +327 -0
- package/src/services/baremetal_private_network_v3.ts +376 -0
- package/src/services/baremetal_v1.ts +3072 -0
- package/src/services/billing_electronic_billing_v2.ts +323 -0
- package/src/services/billing_v2.ts +662 -0
- package/src/services/block_v1.ts +1282 -0
- package/src/services/cockpit_global_v1.ts +282 -0
- package/src/services/cockpit_regional_v1.ts +2177 -0
- package/src/services/containers_v1.ts +2110 -0
- package/src/services/dedibox_billing_v1.ts +621 -0
- package/src/services/dedibox_ipv6_block_v1.ts +468 -0
- package/src/services/dedibox_rpn_san_v1.ts +1185 -0
- package/src/services/dedibox_rpn_v1.ts +207 -0
- package/src/services/dedibox_rpn_v1_v1.ts +1763 -0
- package/src/services/dedibox_rpn_v2_v1.ts +1654 -0
- package/src/services/dedibox_v1.ts +3765 -0
- package/src/services/generative_apis_openai_v1.ts +1692 -0
- package/src/services/generative_apis_v1.ts +251 -0
- package/src/services/index.ts +57 -0
- package/src/services/inference_v1.ts +1353 -0
- package/src/services/instance_v1.ts +6611 -0
- package/src/services/iot_v1.ts +2419 -0
- package/src/services/ipam_v1.ts +716 -0
- package/src/services/k8s_v1.ts +3108 -0
- package/src/services/lb_zoned_v1.ts +4533 -0
- package/src/services/marketplace_console_v2.ts +198 -0
- package/src/services/marketplace_v2.ts +625 -0
- package/src/services/mongodb_v1.ts +2104 -0
- package/src/services/partner_v1.ts +462 -0
- package/src/services/rdb_encryption_v1.ts +83 -0
- package/src/services/rdb_v1.ts +4211 -0
- package/src/services/redis_v1.ts +1918 -0
- package/src/services/registry_v1.ts +863 -0
- package/src/services/reseller_v1.ts +258 -0
- package/src/services/vpc_gw_v2.ts +2130 -0
- package/src/services/vpc_private_network_with_nics_v2.ts +311 -0
- package/src/services/vpc_routes_with_nexthop_v2.ts +226 -0
- package/src/services/vpc_v2.ts +2533 -0
- package/src/services/webhosting_backup_v1.ts +578 -0
- package/src/services/webhosting_control_panel_v1.ts +130 -0
- package/src/services/webhosting_database_v1.ts +682 -0
- package/src/services/webhosting_dedibox_v1.ts +480 -0
- package/src/services/webhosting_dns_v1.ts +471 -0
- package/src/services/webhosting_free_domain_v1.ts +190 -0
- package/src/services/webhosting_ftp_account_v1.ts +280 -0
- package/src/services/webhosting_hosting_v1.ts +1309 -0
- package/src/services/webhosting_mail_account_v1.ts +291 -0
- package/src/services/webhosting_offer_v1.ts +289 -0
- package/src/services/webhosting_website_v1.ts +274 -0
- package/src/traits.ts +63 -0
- package/src/unstable-services/apple_silicon_private_network_v1alpha1.ts +395 -0
- package/src/unstable-services/apple_silicon_v1alpha1.ts +1685 -0
- package/src/unstable-services/audit_trail_v1alpha1.ts +3220 -0
- package/src/unstable-services/autoscaling_v1alpha2.ts +1103 -0
- package/src/unstable-services/billing_fin_ops_v2beta1.ts +195 -0
- package/src/unstable-services/billing_v2beta1.ts +1203 -0
- package/src/unstable-services/block_v1alpha1.ts +1239 -0
- package/src/unstable-services/data_orchestrator_v1alpha2.ts +1230 -0
- package/src/unstable-services/datalab_v1beta1.ts +852 -0
- package/src/unstable-services/dataviz_v1alpha1.ts +1478 -0
- package/src/unstable-services/datawarehouse_v1beta1.ts +1504 -0
- package/src/unstable-services/domain_registrar_v2beta1.ts +2979 -0
- package/src/unstable-services/domain_suggestion_v2beta1.ts +86 -0
- package/src/unstable-services/domain_v2beta1.ts +1794 -0
- package/src/unstable-services/edge_services_v1beta1.ts +3724 -0
- package/src/unstable-services/environmental_footprint_user_v1alpha1.ts +429 -0
- package/src/unstable-services/file_v1alpha1.ts +1016 -0
- package/src/unstable-services/flexible_ip_v1alpha1.ts +804 -0
- package/src/unstable-services/functions_v1beta1.ts +2410 -0
- package/src/unstable-services/iam_unauthenticated_v1alpha1.ts +863 -0
- package/src/unstable-services/iam_v1alpha1.ts +4919 -0
- package/src/unstable-services/index.ts +44 -0
- package/src/unstable-services/instance_v2alpha1.ts +5377 -0
- package/src/unstable-services/instance_volume_v2alpha1.ts +1111 -0
- package/src/unstable-services/interlink_v1beta1.ts +1791 -0
- package/src/unstable-services/kafka_v1alpha1.ts +1275 -0
- package/src/unstable-services/key_manager_v1alpha1.ts +1618 -0
- package/src/unstable-services/mailbox_v1alpha1.ts +1561 -0
- package/src/unstable-services/messageq_v1alpha1.ts +1266 -0
- package/src/unstable-services/mnq_console_v1beta1.ts +111 -0
- package/src/unstable-services/mnq_nats_v1beta1.ts +608 -0
- package/src/unstable-services/mnq_sns_v1beta1.ts +523 -0
- package/src/unstable-services/mnq_sqs_v1beta1.ts +523 -0
- package/src/unstable-services/mongodb_v1alpha1.ts +1789 -0
- package/src/unstable-services/product_catalog_public_catalog_v2alpha1.ts +1109 -0
- package/src/unstable-services/qaas_v1alpha1.ts +2404 -0
- package/src/unstable-services/s2s_vpn_v1alpha1.ts +2173 -0
- package/src/unstable-services/search_v1alpha1.ts +349 -0
- package/src/unstable-services/searchdb_v1alpha1.ts +1273 -0
- package/src/unstable-services/secret_manager_v1beta1.ts +1255 -0
- package/src/unstable-services/serverless_jobs_v1alpha1.ts +1017 -0
- package/src/unstable-services/serverless_jobs_v1alpha2.ts +1516 -0
- package/src/unstable-services/serverless_sqldb_v1alpha1.ts +747 -0
- package/src/unstable-services/transactional_email_v1alpha1.ts +2495 -0
|
@@ -0,0 +1,2533 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-scaleway). Do not edit.
|
|
3
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
4
|
+
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
5
|
+
import { ScalewayServiceErrors } from "../errors.ts";
|
|
6
|
+
import { paginateByTotalCount } from "../pagination.ts";
|
|
7
|
+
import { ScalewayProtocol, type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
8
|
+
import * as Retry from "../retry.ts";
|
|
9
|
+
import * as T from "../traits.ts";
|
|
10
|
+
// Schema table, filled on first reach (see __S at the end).
|
|
11
|
+
const __s: any[] = [];
|
|
12
|
+
|
|
13
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
14
|
+
|
|
15
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
16
|
+
const TELEMETRY = {
|
|
17
|
+
system: "scaleway-api",
|
|
18
|
+
responseHeaders: [
|
|
19
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
20
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
21
|
+
],
|
|
22
|
+
prefix: "Scaleway",
|
|
23
|
+
service: "VpcV2",
|
|
24
|
+
labels: "scaleway",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type AddPrivateNetworkObjectStoragePrivateAccessRequestRegion =
|
|
29
|
+
| "fr-par"
|
|
30
|
+
| "it-mil"
|
|
31
|
+
| "nl-ams"
|
|
32
|
+
| "pl-waw";
|
|
33
|
+
export interface AddPrivateNetworkObjectStoragePrivateAccessRequest {
|
|
34
|
+
/** The region you want to target */
|
|
35
|
+
region?: AddPrivateNetworkObjectStoragePrivateAccessRequestRegion | (string & {}) | undefined;
|
|
36
|
+
/** ID of the VPC containing the Object Storage private access. (UUID format) */
|
|
37
|
+
vpc_id: string;
|
|
38
|
+
/** ID of the Private Network to add to the Object Storage private access. (UUID format) */
|
|
39
|
+
private_network_id: string;
|
|
40
|
+
}
|
|
41
|
+
/** IDs of the Private Networks associated with the Object Storage private access. */
|
|
42
|
+
export type AddPrivateNetworkObjectStoragePrivateAccessResponsePrivateNetworkIdsList =
|
|
43
|
+
Array<string>;
|
|
44
|
+
export interface AddPrivateNetworkObjectStoragePrivateAccessResponse {
|
|
45
|
+
/** ID of the VPC containing the Object Storage private access. (UUID format) */
|
|
46
|
+
vpc_id?: string | undefined;
|
|
47
|
+
/** IDs of the Private Networks associated with the Object Storage private access. */
|
|
48
|
+
private_network_ids?:
|
|
49
|
+
| AddPrivateNetworkObjectStoragePrivateAccessResponsePrivateNetworkIdsList
|
|
50
|
+
| undefined;
|
|
51
|
+
}
|
|
52
|
+
export type CreateIngressRuleRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
53
|
+
/** Tags for this ingress rule. */
|
|
54
|
+
export type CreateIngressRuleRequestTagsList = Array<string>;
|
|
55
|
+
export interface CreateIngressRuleRequest {
|
|
56
|
+
/** The region you want to target */
|
|
57
|
+
region?: CreateIngressRuleRequestRegion | (string & {}) | undefined;
|
|
58
|
+
/** ID of the VPC this rule will belong to. (UUID format) */
|
|
59
|
+
vpc_id: string;
|
|
60
|
+
/** Source network to match ingress traffic on. Can be IPv6 or IPv4. (IP network) */
|
|
61
|
+
source: string;
|
|
62
|
+
/** IP of the local resource to redirect ingress traffic to. IP version must be consistent with the source network. (IP address) */
|
|
63
|
+
nexthop_resource_ip: string;
|
|
64
|
+
/** ID of the Private Network the destination resource is in. (UUID format) */
|
|
65
|
+
nexthop_private_network_id: string;
|
|
66
|
+
/** Description for this ingress rule. */
|
|
67
|
+
description?: string | null | undefined;
|
|
68
|
+
/** Tags for this ingress rule. */
|
|
69
|
+
tags?: CreateIngressRuleRequestTagsList | undefined;
|
|
70
|
+
}
|
|
71
|
+
/** Tags of this ingress rule. */
|
|
72
|
+
export type IngressRuleTagsList = Array<string>;
|
|
73
|
+
export interface IngressRule {
|
|
74
|
+
/** ID of the ingress rule. (UUID format) */
|
|
75
|
+
id?: string | undefined;
|
|
76
|
+
/** The SRN of the ingress rule. */
|
|
77
|
+
srn?: string | undefined;
|
|
78
|
+
/** ID of the VPC this rule belongs to. (UUID format) */
|
|
79
|
+
vpc_id?: string | undefined;
|
|
80
|
+
/** Date the ingress rule was created. (RFC 3339 format) */
|
|
81
|
+
created_at?: string | null | undefined;
|
|
82
|
+
/** Date the ingress rule was last modified. (RFC 3339 format) */
|
|
83
|
+
updated_at?: string | null | undefined;
|
|
84
|
+
/** Whether this rule applies to IPv4 or IPv6 traffic. */
|
|
85
|
+
is_ipv6?: boolean | undefined;
|
|
86
|
+
/** Source network to apply this rule on. (IP network) */
|
|
87
|
+
source?: string | undefined;
|
|
88
|
+
/** IP of the local resource to redirect ingress traffic to. (IP address) */
|
|
89
|
+
nexthop_resource_ip?: string | undefined;
|
|
90
|
+
/** ID of the Private Network the destination resource is in. (UUID format) */
|
|
91
|
+
nexthop_private_network_id?: string | undefined;
|
|
92
|
+
/** Description of this ingress rule. */
|
|
93
|
+
description?: string | null | undefined;
|
|
94
|
+
/** Tags of this ingress rule. */
|
|
95
|
+
tags?: IngressRuleTagsList | undefined;
|
|
96
|
+
/** Scaleway Organization the ingress rule belongs to. (UUID format) */
|
|
97
|
+
organization_id?: string | undefined;
|
|
98
|
+
/** Scaleway Project the ingress rule belongs to. (UUID format) */
|
|
99
|
+
project_id?: string | undefined;
|
|
100
|
+
/** Region of the ingress rule. */
|
|
101
|
+
region?: string | undefined;
|
|
102
|
+
}
|
|
103
|
+
export type CreatePrivateNetworkRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
104
|
+
/** Tags for the Private Network. */
|
|
105
|
+
export type CreatePrivateNetworkRequestTagsList = Array<string>;
|
|
106
|
+
/** Private Network subnets CIDR. (IP network) */
|
|
107
|
+
export type CreatePrivateNetworkRequestSubnetsList = Array<string>;
|
|
108
|
+
export interface CreatePrivateNetworkRequest {
|
|
109
|
+
/** The region you want to target */
|
|
110
|
+
region?: CreatePrivateNetworkRequestRegion | (string & {}) | undefined;
|
|
111
|
+
/** Name for the Private Network. */
|
|
112
|
+
name: string;
|
|
113
|
+
/** Scaleway Project in which to create the Private Network. (UUID format) */
|
|
114
|
+
project_id: string;
|
|
115
|
+
/** Tags for the Private Network. */
|
|
116
|
+
tags?: CreatePrivateNetworkRequestTagsList | undefined;
|
|
117
|
+
/** Private Network subnets CIDR. (IP network) */
|
|
118
|
+
subnets?: CreatePrivateNetworkRequestSubnetsList | undefined;
|
|
119
|
+
/** VPC in which to create the Private Network. (UUID format) */
|
|
120
|
+
vpc_id?: string | null | undefined;
|
|
121
|
+
/** Defines whether default v4 and v6 routes are propagated for this Private Network. */
|
|
122
|
+
default_route_propagation_enabled?: boolean | undefined;
|
|
123
|
+
}
|
|
124
|
+
/** Tags of the Private Network. */
|
|
125
|
+
export type PrivateNetworkTagsList = Array<string>;
|
|
126
|
+
export interface Subnet {
|
|
127
|
+
/** ID of the subnet. (UUID format) */
|
|
128
|
+
id?: string | undefined;
|
|
129
|
+
/** The SRN of the subnet. */
|
|
130
|
+
srn?: string | undefined;
|
|
131
|
+
/** Subnet creation date. (RFC 3339 format) */
|
|
132
|
+
created_at?: string | null | undefined;
|
|
133
|
+
/** Subnet last modification date. (RFC 3339 format) */
|
|
134
|
+
updated_at?: string | null | undefined;
|
|
135
|
+
/** Subnet CIDR. (IP network) */
|
|
136
|
+
subnet?: string | undefined;
|
|
137
|
+
/** Scaleway Project the subnet belongs to. (UUID format) */
|
|
138
|
+
project_id?: string | undefined;
|
|
139
|
+
/** Private Network the subnet belongs to. (UUID format) */
|
|
140
|
+
private_network_id?: string | undefined;
|
|
141
|
+
/** VPC the subnet belongs to. (UUID format) */
|
|
142
|
+
vpc_id?: string | undefined;
|
|
143
|
+
/** Region in which the Subnet can be used. */
|
|
144
|
+
region?: string | undefined;
|
|
145
|
+
}
|
|
146
|
+
/** Private Network subnets. */
|
|
147
|
+
export type PrivateNetworkSubnetsList = Array<Subnet>;
|
|
148
|
+
export interface PrivateNetwork {
|
|
149
|
+
/** Private Network ID. (UUID format) */
|
|
150
|
+
id?: string | undefined;
|
|
151
|
+
/** The SRN of the private network. */
|
|
152
|
+
srn?: string | undefined;
|
|
153
|
+
/** Private Network name. */
|
|
154
|
+
name?: string | undefined;
|
|
155
|
+
/** Scaleway Organization the Private Network belongs to. (UUID format) */
|
|
156
|
+
organization_id?: string | undefined;
|
|
157
|
+
/** Scaleway Project the Private Network belongs to. (UUID format) */
|
|
158
|
+
project_id?: string | undefined;
|
|
159
|
+
/** Region in which the Private Network is available. */
|
|
160
|
+
region?: string | undefined;
|
|
161
|
+
/** Tags of the Private Network. */
|
|
162
|
+
tags?: PrivateNetworkTagsList | undefined;
|
|
163
|
+
/** Date the Private Network was created. (RFC 3339 format) */
|
|
164
|
+
created_at?: string | null | undefined;
|
|
165
|
+
/** Date the Private Network was last modified. (RFC 3339 format) */
|
|
166
|
+
updated_at?: string | null | undefined;
|
|
167
|
+
/** Private Network subnets. */
|
|
168
|
+
subnets?: PrivateNetworkSubnetsList | undefined;
|
|
169
|
+
/** VPC the Private Network belongs to. (UUID format) */
|
|
170
|
+
vpc_id?: string | undefined;
|
|
171
|
+
/** Defines whether managed DHCP is enabled for this Private Network. */
|
|
172
|
+
dhcp_enabled?: boolean | undefined;
|
|
173
|
+
/** Defines whether default v4 and v6 routes are propagated for this Private Network. */
|
|
174
|
+
default_route_propagation_enabled?: boolean | undefined;
|
|
175
|
+
/** Defines whether this Private Network is enabled for Object Storage private access. */
|
|
176
|
+
has_object_storage_private_access?: boolean | undefined;
|
|
177
|
+
}
|
|
178
|
+
export type CreateRouteRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
179
|
+
/** Tags of the Route. */
|
|
180
|
+
export type CreateRouteRequestTagsList = Array<string>;
|
|
181
|
+
export interface CreateRouteRequest {
|
|
182
|
+
/** The region you want to target */
|
|
183
|
+
region?: CreateRouteRequestRegion | (string & {}) | undefined;
|
|
184
|
+
/** Route description. */
|
|
185
|
+
description?: string | undefined;
|
|
186
|
+
/** Tags of the Route. */
|
|
187
|
+
tags?: CreateRouteRequestTagsList | undefined;
|
|
188
|
+
/** VPC the Route belongs to. (UUID format) */
|
|
189
|
+
vpc_id?: string | undefined;
|
|
190
|
+
/** Destination of the Route. (IP network) */
|
|
191
|
+
destination?: string | undefined;
|
|
192
|
+
/** ID of the nexthop resource. (UUID format) */
|
|
193
|
+
nexthop_resource_id?: string | null | undefined;
|
|
194
|
+
/** ID of the nexthop private network. (UUID format) */
|
|
195
|
+
nexthop_private_network_id?: string | null | undefined;
|
|
196
|
+
/** ID of the nexthop VPC Connector. (UUID format) */
|
|
197
|
+
nexthop_vpc_connector_id?: string | null | undefined;
|
|
198
|
+
}
|
|
199
|
+
/** Tags of the Route. */
|
|
200
|
+
export type RouteTagsList = Array<string>;
|
|
201
|
+
export type RouteType =
|
|
202
|
+
| "unknown_route_type"
|
|
203
|
+
| "subnet"
|
|
204
|
+
| "default"
|
|
205
|
+
| "custom"
|
|
206
|
+
| "interlink"
|
|
207
|
+
| "s2s_vpn";
|
|
208
|
+
export interface Route {
|
|
209
|
+
/** Route ID. (UUID format) */
|
|
210
|
+
id?: string | undefined;
|
|
211
|
+
/** The SRN of the route. */
|
|
212
|
+
srn?: string | undefined;
|
|
213
|
+
/** Route description. */
|
|
214
|
+
description?: string | undefined;
|
|
215
|
+
/** Tags of the Route. */
|
|
216
|
+
tags?: RouteTagsList | undefined;
|
|
217
|
+
/** VPC the Route belongs to. (UUID format) */
|
|
218
|
+
vpc_id?: string | undefined;
|
|
219
|
+
/** Destination of the Route. (IP network) */
|
|
220
|
+
destination?: string | undefined;
|
|
221
|
+
/** ID of the nexthop resource. (UUID format) */
|
|
222
|
+
nexthop_resource_id?: string | null | undefined;
|
|
223
|
+
/** ID of the nexthop private network. (UUID format) */
|
|
224
|
+
nexthop_private_network_id?: string | null | undefined;
|
|
225
|
+
/** ID of the nexthop VPC connector. (UUID format) */
|
|
226
|
+
nexthop_vpc_connector_id?: string | null | undefined;
|
|
227
|
+
/** Date the Route was created. (RFC 3339 format) */
|
|
228
|
+
created_at?: string | null | undefined;
|
|
229
|
+
/** Date the Route was last modified. (RFC 3339 format) */
|
|
230
|
+
updated_at?: string | null | undefined;
|
|
231
|
+
/** Defines whether the route can be modified or deleted by the user. */
|
|
232
|
+
is_read_only?: boolean | undefined;
|
|
233
|
+
/** Type of the Route. */
|
|
234
|
+
type?: RouteType | undefined;
|
|
235
|
+
/** Region of the Route. */
|
|
236
|
+
region?: string | undefined;
|
|
237
|
+
}
|
|
238
|
+
export type CreateVPCRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
239
|
+
/** Tags for the VPC. */
|
|
240
|
+
export type CreateVPCRequestTagsList = Array<string>;
|
|
241
|
+
export interface CreateVPCRequest {
|
|
242
|
+
/** The region you want to target */
|
|
243
|
+
region?: CreateVPCRequestRegion | (string & {}) | undefined;
|
|
244
|
+
/** Name for the VPC. */
|
|
245
|
+
name: string;
|
|
246
|
+
/** Scaleway Project in which to create the VPC. (UUID format) */
|
|
247
|
+
project_id: string;
|
|
248
|
+
/** Tags for the VPC. */
|
|
249
|
+
tags?: CreateVPCRequestTagsList | undefined;
|
|
250
|
+
/** Enable routing between Private Networks in the VPC. */
|
|
251
|
+
enable_routing?: boolean | undefined;
|
|
252
|
+
/** Enable packets from peered VPCs to transit through this VPC. */
|
|
253
|
+
enable_transitivity?: boolean | undefined;
|
|
254
|
+
}
|
|
255
|
+
/** Tags for the VPC. */
|
|
256
|
+
export type VPCTagsList = Array<string>;
|
|
257
|
+
export interface VPC {
|
|
258
|
+
/** VPC ID. (UUID format) */
|
|
259
|
+
id?: string | undefined;
|
|
260
|
+
/** The SRN of the VPC. */
|
|
261
|
+
srn?: string | undefined;
|
|
262
|
+
/** VPC name. */
|
|
263
|
+
name?: string | undefined;
|
|
264
|
+
/** Scaleway Organization the VPC belongs to. (UUID format) */
|
|
265
|
+
organization_id?: string | undefined;
|
|
266
|
+
/** Scaleway Project the VPC belongs to. (UUID format) */
|
|
267
|
+
project_id?: string | undefined;
|
|
268
|
+
/** Region of the VPC. */
|
|
269
|
+
region?: string | undefined;
|
|
270
|
+
/** Tags for the VPC. */
|
|
271
|
+
tags?: VPCTagsList | undefined;
|
|
272
|
+
/** Defines whether the VPC is the default one for its Project. */
|
|
273
|
+
is_default?: boolean | undefined;
|
|
274
|
+
/** Date the VPC was created. (RFC 3339 format) */
|
|
275
|
+
created_at?: string | null | undefined;
|
|
276
|
+
/** Date the VPC was last modified. (RFC 3339 format) */
|
|
277
|
+
updated_at?: string | null | undefined;
|
|
278
|
+
/** Number of Private Networks within this VPC. */
|
|
279
|
+
private_network_count?: number | undefined;
|
|
280
|
+
/** Defines whether the VPC routes traffic between its Private Networks. */
|
|
281
|
+
routing_enabled?: boolean | undefined;
|
|
282
|
+
/** Defines whether the VPC advertises custom routes between its Private Networks. */
|
|
283
|
+
custom_routes_propagation_enabled?: boolean | undefined;
|
|
284
|
+
/** Defines whether the VPC allows packets from peered VPCs to transit through. */
|
|
285
|
+
transitivity_enabled?: boolean | undefined;
|
|
286
|
+
/** Defines whether the Object Storage private access is enabled for the VPC. */
|
|
287
|
+
object_storage_private_access_enabled?: boolean | undefined;
|
|
288
|
+
}
|
|
289
|
+
export type CreateVPCConnectorRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
290
|
+
/** Tags for the VPC connector. */
|
|
291
|
+
export type CreateVPCConnectorRequestTagsList = Array<string>;
|
|
292
|
+
export interface CreateVPCConnectorRequest {
|
|
293
|
+
/** The region you want to target */
|
|
294
|
+
region?: CreateVPCConnectorRequestRegion | (string & {}) | undefined;
|
|
295
|
+
/** Name for the VPC connector. */
|
|
296
|
+
name: string;
|
|
297
|
+
/** Tags for the VPC connector. */
|
|
298
|
+
tags?: CreateVPCConnectorRequestTagsList | undefined;
|
|
299
|
+
/** VPC ID to filter for. Only connectors belonging to this VPC will be returned. (UUID format) */
|
|
300
|
+
vpc_id?: string | undefined;
|
|
301
|
+
/** Target VPC ID to filter for. Only connectors belonging to this target VPC will be returned. (UUID format) */
|
|
302
|
+
target_vpc_id?: string | undefined;
|
|
303
|
+
}
|
|
304
|
+
export type VPCConnectorStatus = "unknown_vpc_connector_status" | "orphan" | "peered" | "conflict";
|
|
305
|
+
export interface VPCConnectorPeerInfo {
|
|
306
|
+
/** (UUID format) */
|
|
307
|
+
organization_id?: string | undefined;
|
|
308
|
+
/** (UUID format) */
|
|
309
|
+
project_id?: string | undefined;
|
|
310
|
+
vpc_name?: string | undefined;
|
|
311
|
+
}
|
|
312
|
+
/** Tags for the VPC connector. */
|
|
313
|
+
export type VPCConnectorTagsList = Array<string>;
|
|
314
|
+
export interface VPCConnector {
|
|
315
|
+
/** VPC connector ID. (UUID format) */
|
|
316
|
+
id?: string | undefined;
|
|
317
|
+
/** The SRN of the VPC connector. */
|
|
318
|
+
srn?: string | undefined;
|
|
319
|
+
/** VPC connector name. */
|
|
320
|
+
name?: string | undefined;
|
|
321
|
+
/** Scaleway Organization the VPC connector belongs to. (UUID format) */
|
|
322
|
+
organization_id?: string | undefined;
|
|
323
|
+
/** Scaleway Project the VPC connector belongs to. (UUID format) */
|
|
324
|
+
project_id?: string | undefined;
|
|
325
|
+
/** VPC the VPC connector belongs to (origin VPC). (UUID format) */
|
|
326
|
+
vpc_id?: string | undefined;
|
|
327
|
+
/** VPC with which the VPC connector is peered (target VPC). (UUID format) */
|
|
328
|
+
target_vpc_id?: string | undefined;
|
|
329
|
+
/** Status of the VPC connector. */
|
|
330
|
+
status?: VPCConnectorStatus | undefined;
|
|
331
|
+
/** Peer info of target VPC. Available when status is Peered. */
|
|
332
|
+
peer_info?: VPCConnectorPeerInfo | undefined;
|
|
333
|
+
/** Region of the VPC connector. */
|
|
334
|
+
region?: string | undefined;
|
|
335
|
+
/** Tags for the VPC connector. */
|
|
336
|
+
tags?: VPCConnectorTagsList | undefined;
|
|
337
|
+
/** Date the VPC connector was created. (RFC 3339 format) */
|
|
338
|
+
created_at?: string | null | undefined;
|
|
339
|
+
/** Date the VPC connector was last modified. (RFC 3339 format) */
|
|
340
|
+
updated_at?: string | null | undefined;
|
|
341
|
+
}
|
|
342
|
+
export type DeleteIngressRuleRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
343
|
+
export interface DeleteIngressRuleRequest {
|
|
344
|
+
/** The region you want to target */
|
|
345
|
+
region?: DeleteIngressRuleRequestRegion | (string & {}) | undefined;
|
|
346
|
+
/** ID of the ingress rule to delete. (UUID format) */
|
|
347
|
+
rule_id: string;
|
|
348
|
+
}
|
|
349
|
+
export interface DeleteIngressRuleResponse {}
|
|
350
|
+
export type DeletePrivateNetworkRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
351
|
+
export interface DeletePrivateNetworkRequest {
|
|
352
|
+
/** The region you want to target */
|
|
353
|
+
region?: DeletePrivateNetworkRequestRegion | (string & {}) | undefined;
|
|
354
|
+
/** Private Network ID. (UUID format) */
|
|
355
|
+
private_network_id: string;
|
|
356
|
+
}
|
|
357
|
+
export interface DeletePrivateNetworkResponse {}
|
|
358
|
+
export type DeletePrivateNetworkObjectStoragePrivateAccessRequestRegion =
|
|
359
|
+
| "fr-par"
|
|
360
|
+
| "it-mil"
|
|
361
|
+
| "nl-ams"
|
|
362
|
+
| "pl-waw";
|
|
363
|
+
export interface DeletePrivateNetworkObjectStoragePrivateAccessRequest {
|
|
364
|
+
/** The region you want to target */
|
|
365
|
+
region?: DeletePrivateNetworkObjectStoragePrivateAccessRequestRegion | (string & {}) | undefined;
|
|
366
|
+
/** ID of the VPC containing the Object Storage private access. (UUID format) */
|
|
367
|
+
vpc_id: string;
|
|
368
|
+
/** ID of the Private Network to remove from the Object Storage private access. (UUID format) */
|
|
369
|
+
private_network_id: string;
|
|
370
|
+
}
|
|
371
|
+
export interface DeletePrivateNetworkObjectStoragePrivateAccessResponse {}
|
|
372
|
+
export type DeleteRouteRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
373
|
+
export interface DeleteRouteRequest {
|
|
374
|
+
/** The region you want to target */
|
|
375
|
+
region?: DeleteRouteRequestRegion | (string & {}) | undefined;
|
|
376
|
+
/** Route ID. (UUID format) */
|
|
377
|
+
route_id: string;
|
|
378
|
+
}
|
|
379
|
+
export interface DeleteRouteResponse {}
|
|
380
|
+
export type DeleteVPCRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
381
|
+
export interface DeleteVPCRequest {
|
|
382
|
+
/** The region you want to target */
|
|
383
|
+
region?: DeleteVPCRequestRegion | (string & {}) | undefined;
|
|
384
|
+
/** VPC ID. (UUID format) */
|
|
385
|
+
vpc_id: string;
|
|
386
|
+
}
|
|
387
|
+
export interface DeleteVPCResponse {}
|
|
388
|
+
export type DeleteVPCConnectorRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
389
|
+
export interface DeleteVPCConnectorRequest {
|
|
390
|
+
/** The region you want to target */
|
|
391
|
+
region?: DeleteVPCConnectorRequestRegion | (string & {}) | undefined;
|
|
392
|
+
/** VPC connector ID. (UUID format) */
|
|
393
|
+
vpc_connector_id: string;
|
|
394
|
+
}
|
|
395
|
+
export interface DeleteVPCConnectorResponse {}
|
|
396
|
+
export type DisableObjectStoragePrivateAccessRequestRegion =
|
|
397
|
+
| "fr-par"
|
|
398
|
+
| "it-mil"
|
|
399
|
+
| "nl-ams"
|
|
400
|
+
| "pl-waw";
|
|
401
|
+
export interface DisableObjectStoragePrivateAccessRequest {
|
|
402
|
+
/** The region you want to target */
|
|
403
|
+
region?: DisableObjectStoragePrivateAccessRequestRegion | (string & {}) | undefined;
|
|
404
|
+
/** ID of the VPC for which to disable Object Storage private access. (UUID format) */
|
|
405
|
+
vpc_id: string;
|
|
406
|
+
}
|
|
407
|
+
export type EnableDHCPRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
408
|
+
export interface EnableDHCPRequest {
|
|
409
|
+
/** The region you want to target */
|
|
410
|
+
region?: EnableDHCPRequestRegion | (string & {}) | undefined;
|
|
411
|
+
/** Private Network ID. (UUID format) */
|
|
412
|
+
private_network_id: string;
|
|
413
|
+
}
|
|
414
|
+
export type EnableObjectStoragePrivateAccessRequestRegion =
|
|
415
|
+
| "fr-par"
|
|
416
|
+
| "it-mil"
|
|
417
|
+
| "nl-ams"
|
|
418
|
+
| "pl-waw";
|
|
419
|
+
/** IDs of the Private Networks for which to enable Object Storage private access. */
|
|
420
|
+
export type EnableObjectStoragePrivateAccessRequestPrivateNetworkIdsList = Array<string>;
|
|
421
|
+
export interface EnableObjectStoragePrivateAccessRequest {
|
|
422
|
+
/** The region you want to target */
|
|
423
|
+
region?: EnableObjectStoragePrivateAccessRequestRegion | (string & {}) | undefined;
|
|
424
|
+
/** ID of the VPC for which to enable Object Storage private access. (UUID format) */
|
|
425
|
+
vpc_id: string;
|
|
426
|
+
/** IDs of the Private Networks for which to enable Object Storage private access. */
|
|
427
|
+
private_network_ids?: EnableObjectStoragePrivateAccessRequestPrivateNetworkIdsList | undefined;
|
|
428
|
+
}
|
|
429
|
+
export type EnableRoutingRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
430
|
+
export interface EnableRoutingRequest {
|
|
431
|
+
/** The region you want to target */
|
|
432
|
+
region?: EnableRoutingRequestRegion | (string & {}) | undefined;
|
|
433
|
+
/** VPC ID. (UUID format) */
|
|
434
|
+
vpc_id: string;
|
|
435
|
+
}
|
|
436
|
+
export type GetAclRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
437
|
+
export interface GetAclRequest {
|
|
438
|
+
/** The region you want to target */
|
|
439
|
+
region?: GetAclRequestRegion | (string & {}) | undefined;
|
|
440
|
+
/** ID of the Network ACL's VPC. (UUID format) */
|
|
441
|
+
vpc_id: string;
|
|
442
|
+
/** Defines whether this set of ACL rules is for IPv6 (false = IPv4). Each Network ACL can have rules for only one IP type. */
|
|
443
|
+
is_ipv6: boolean;
|
|
444
|
+
}
|
|
445
|
+
export type AclRuleProtocol = "ANY" | "TCP" | "UDP" | "ICMP";
|
|
446
|
+
export type Action = "unknown_action" | "accept" | "drop";
|
|
447
|
+
export interface AclRule {
|
|
448
|
+
/** Protocol to which this rule applies. */
|
|
449
|
+
protocol: AclRuleProtocol | (string & {});
|
|
450
|
+
/** Source IP range to which this rule applies (CIDR notation with subnet mask). (IP network) */
|
|
451
|
+
source: string;
|
|
452
|
+
/** Starting port of the source port range to which this rule applies (inclusive). */
|
|
453
|
+
src_port_low: number;
|
|
454
|
+
/** Ending port of the source port range to which this rule applies (inclusive). */
|
|
455
|
+
src_port_high: number;
|
|
456
|
+
/** Destination IP range to which this rule applies (CIDR notation with subnet mask). (IP network) */
|
|
457
|
+
destination: string;
|
|
458
|
+
/** Starting port of the destination port range to which this rule applies (inclusive). */
|
|
459
|
+
dst_port_low: number;
|
|
460
|
+
/** Ending port of the destination port range to which this rule applies (inclusive). */
|
|
461
|
+
dst_port_high: number;
|
|
462
|
+
/** Policy to apply to the packet. */
|
|
463
|
+
action: Action | (string & {});
|
|
464
|
+
/** Rule description. */
|
|
465
|
+
description?: string | null | undefined;
|
|
466
|
+
}
|
|
467
|
+
export type GetAclResponseRulesList = Array<AclRule>;
|
|
468
|
+
export interface GetAclResponse {
|
|
469
|
+
rules?: GetAclResponseRulesList | undefined;
|
|
470
|
+
default_policy?: Action | undefined;
|
|
471
|
+
}
|
|
472
|
+
export type GetIngressRuleRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
473
|
+
export interface GetIngressRuleRequest {
|
|
474
|
+
/** The region you want to target */
|
|
475
|
+
region?: GetIngressRuleRequestRegion | (string & {}) | undefined;
|
|
476
|
+
/** ID of the ingress rule to return. (UUID format) */
|
|
477
|
+
rule_id: string;
|
|
478
|
+
}
|
|
479
|
+
export type GetPrivateNetworkRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
480
|
+
export interface GetPrivateNetworkRequest {
|
|
481
|
+
/** The region you want to target */
|
|
482
|
+
region?: GetPrivateNetworkRequestRegion | (string & {}) | undefined;
|
|
483
|
+
/** Private Network ID. (UUID format) */
|
|
484
|
+
private_network_id: string;
|
|
485
|
+
}
|
|
486
|
+
export type GetRouteRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
487
|
+
export interface GetRouteRequest {
|
|
488
|
+
/** The region you want to target */
|
|
489
|
+
region?: GetRouteRequestRegion | (string & {}) | undefined;
|
|
490
|
+
/** Route ID. (UUID format) */
|
|
491
|
+
route_id: string;
|
|
492
|
+
}
|
|
493
|
+
export type GetVPCRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
494
|
+
export interface GetVPCRequest {
|
|
495
|
+
/** The region you want to target */
|
|
496
|
+
region?: GetVPCRequestRegion | (string & {}) | undefined;
|
|
497
|
+
/** VPC ID. (UUID format) */
|
|
498
|
+
vpc_id: string;
|
|
499
|
+
}
|
|
500
|
+
export type GetVPCConnectorRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
501
|
+
export interface GetVPCConnectorRequest {
|
|
502
|
+
/** The region you want to target */
|
|
503
|
+
region?: GetVPCConnectorRequestRegion | (string & {}) | undefined;
|
|
504
|
+
/** VPC connector ID. (UUID format) */
|
|
505
|
+
vpc_connector_id: string;
|
|
506
|
+
}
|
|
507
|
+
export type ListIngressRulesRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
508
|
+
export type ListIngressRulesRequestOrderBy =
|
|
509
|
+
| "created_at_asc"
|
|
510
|
+
| "created_at_desc"
|
|
511
|
+
| "source_asc"
|
|
512
|
+
| "source_desc"
|
|
513
|
+
| "prefix_len_asc"
|
|
514
|
+
| "prefix_len_desc";
|
|
515
|
+
export type ListIngressRulesRequestTagsList = Array<string>;
|
|
516
|
+
export interface ListIngressRulesRequest {
|
|
517
|
+
/** The region you want to target */
|
|
518
|
+
region?: ListIngressRulesRequestRegion | (string & {}) | undefined;
|
|
519
|
+
/** Sort order of the returned ingress rules. */
|
|
520
|
+
order_by?: ListIngressRulesRequestOrderBy | (string & {}) | undefined;
|
|
521
|
+
/** Page number to return, from the paginated results. */
|
|
522
|
+
page?: number | undefined;
|
|
523
|
+
/** Maximum number of ingress rules to return per page. */
|
|
524
|
+
page_size?: number | undefined;
|
|
525
|
+
/** ID of the VPC to filter for. (UUID format) */
|
|
526
|
+
vpc_id?: string | undefined;
|
|
527
|
+
/** Next hop IP to filter for. (IP address) */
|
|
528
|
+
nexthop_resource_ip?: string | undefined;
|
|
529
|
+
/** Next hop Private Network ID to filter for. Only ingress rules with this Private Network as next hop will be returned. (UUID format) */
|
|
530
|
+
nexthop_private_network_id?: string | undefined;
|
|
531
|
+
/** Whether to return only IPv4 or IPv6 ingress rules. */
|
|
532
|
+
is_ipv6?: boolean | undefined;
|
|
533
|
+
/** Tags to filter for. Only ingress rules with one or more matching tags will be returned. */
|
|
534
|
+
tags?: ListIngressRulesRequestTagsList | undefined;
|
|
535
|
+
/** Organization ID to filter for. Only ingress rules belonging to this Organization will be returned. (UUID format) */
|
|
536
|
+
organization_id?: string | undefined;
|
|
537
|
+
/** Project ID to filter for. Only ingress rules belonging to this Project will be returned. (UUID format) */
|
|
538
|
+
project_id?: string | undefined;
|
|
539
|
+
}
|
|
540
|
+
export type ListIngressRulesResponseRulesList = Array<IngressRule>;
|
|
541
|
+
export interface ListIngressRulesResponse {
|
|
542
|
+
rules: ListIngressRulesResponseRulesList;
|
|
543
|
+
total_count?: number | undefined;
|
|
544
|
+
}
|
|
545
|
+
export type ListPrivateNetworksRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
546
|
+
export type ListPrivateNetworksRequestOrderBy =
|
|
547
|
+
| "created_at_asc"
|
|
548
|
+
| "created_at_desc"
|
|
549
|
+
| "name_asc"
|
|
550
|
+
| "name_desc";
|
|
551
|
+
export type ListPrivateNetworksRequestTagsList = Array<string>;
|
|
552
|
+
export type ListPrivateNetworksRequestPrivateNetworkIdsList = Array<string>;
|
|
553
|
+
export interface ListPrivateNetworksRequest {
|
|
554
|
+
/** The region you want to target */
|
|
555
|
+
region?: ListPrivateNetworksRequestRegion | (string & {}) | undefined;
|
|
556
|
+
/** Sort order of the returned Private Networks. */
|
|
557
|
+
order_by?: ListPrivateNetworksRequestOrderBy | (string & {}) | undefined;
|
|
558
|
+
/** Page number to return, from the paginated results. */
|
|
559
|
+
page?: number | undefined;
|
|
560
|
+
/** Maximum number of Private Networks to return per page. */
|
|
561
|
+
page_size?: number | undefined;
|
|
562
|
+
/** Name to filter for. Only Private Networks with names containing this string will be returned. */
|
|
563
|
+
name?: string | undefined;
|
|
564
|
+
/** Tags to filter for. Only Private Networks with one or more matching tags will be returned. */
|
|
565
|
+
tags?: ListPrivateNetworksRequestTagsList | undefined;
|
|
566
|
+
/** Organization ID to filter for. Only Private Networks belonging to this Organization will be returned. (UUID format) */
|
|
567
|
+
organization_id?: string | undefined;
|
|
568
|
+
/** Project ID to filter for. Only Private Networks belonging to this Project will be returned. (UUID format) */
|
|
569
|
+
project_id?: string | undefined;
|
|
570
|
+
/** Private Network IDs to filter for. Only Private Networks with one of these IDs will be returned. */
|
|
571
|
+
private_network_ids?: ListPrivateNetworksRequestPrivateNetworkIdsList | undefined;
|
|
572
|
+
/** VPC ID to filter for. Only Private Networks belonging to this VPC will be returned. (UUID format) */
|
|
573
|
+
vpc_id?: string | undefined;
|
|
574
|
+
/** DHCP status to filter for. When true, only Private Networks with managed DHCP enabled will be returned. */
|
|
575
|
+
dhcp_enabled?: boolean | undefined;
|
|
576
|
+
/** Filter by whether Object Storage private access is enabled. When set, only matching Private Networks will be returned. */
|
|
577
|
+
object_storage_private_access_enabled?: boolean | undefined;
|
|
578
|
+
}
|
|
579
|
+
export type ListPrivateNetworksResponsePrivateNetworksList = Array<PrivateNetwork>;
|
|
580
|
+
export interface ListPrivateNetworksResponse {
|
|
581
|
+
private_networks: ListPrivateNetworksResponsePrivateNetworksList;
|
|
582
|
+
total_count?: number | undefined;
|
|
583
|
+
}
|
|
584
|
+
export type ListSubnetOverlapsRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
585
|
+
export type ListSubnetOverlapsRequestOrderBy =
|
|
586
|
+
| "subnet_asc"
|
|
587
|
+
| "subnet_desc"
|
|
588
|
+
| "target_subnet_asc"
|
|
589
|
+
| "target_subnet_desc";
|
|
590
|
+
export interface ListSubnetOverlapsRequest {
|
|
591
|
+
/** The region you want to target */
|
|
592
|
+
region?: ListSubnetOverlapsRequestRegion | (string & {}) | undefined;
|
|
593
|
+
/** VPC Peering connector ID. (UUID format) */
|
|
594
|
+
vpc_connector_id: string;
|
|
595
|
+
/** Sort order of the returned Subnet overlaps. */
|
|
596
|
+
order_by?: ListSubnetOverlapsRequestOrderBy | (string & {}) | undefined;
|
|
597
|
+
/** Page number to return, from the paginated results. */
|
|
598
|
+
page?: number | undefined;
|
|
599
|
+
/** Maximum number of Subnet overlaps to return per page. */
|
|
600
|
+
page_size?: number | undefined;
|
|
601
|
+
}
|
|
602
|
+
export interface ListSubnetOverlapsResponseSubnetOverlap {
|
|
603
|
+
/** (UUID format) */
|
|
604
|
+
subnet_id?: string | undefined;
|
|
605
|
+
/** (IP network) */
|
|
606
|
+
subnet?: string | undefined;
|
|
607
|
+
/** (UUID format) */
|
|
608
|
+
target_subnet_id?: string | undefined;
|
|
609
|
+
/** (IP network) */
|
|
610
|
+
target_subnet?: string | undefined;
|
|
611
|
+
}
|
|
612
|
+
export type ListSubnetOverlapsResponseSubnetOverlapsList =
|
|
613
|
+
Array<ListSubnetOverlapsResponseSubnetOverlap>;
|
|
614
|
+
export interface ListSubnetOverlapsResponse {
|
|
615
|
+
subnet_overlaps: ListSubnetOverlapsResponseSubnetOverlapsList;
|
|
616
|
+
total_count?: number | undefined;
|
|
617
|
+
}
|
|
618
|
+
export type ListSubnetsRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
619
|
+
export type ListSubnetsRequestOrderBy = "created_at_asc" | "created_at_desc";
|
|
620
|
+
export type ListSubnetsRequestSubnetIdsList = Array<string>;
|
|
621
|
+
export interface ListSubnetsRequest {
|
|
622
|
+
/** The region you want to target */
|
|
623
|
+
region?: ListSubnetsRequestRegion | (string & {}) | undefined;
|
|
624
|
+
/** Sort order of the returned subnets. */
|
|
625
|
+
order_by?: ListSubnetsRequestOrderBy | (string & {}) | undefined;
|
|
626
|
+
/** Page number to return, from the paginated results. */
|
|
627
|
+
page?: number | undefined;
|
|
628
|
+
/** Maximum number of Private Networks to return per page. */
|
|
629
|
+
page_size?: number | undefined;
|
|
630
|
+
/** Organization ID to filter for. Only subnets belonging to this Organization will be returned. (UUID format) */
|
|
631
|
+
organization_id?: string | undefined;
|
|
632
|
+
/** Project ID to filter for. Only subnets belonging to this Project will be returned. (UUID format) */
|
|
633
|
+
project_id?: string | undefined;
|
|
634
|
+
/** Subnet IDs to filter for. Only subnets matching the specified IDs will be returned. */
|
|
635
|
+
subnet_ids?: ListSubnetsRequestSubnetIdsList | undefined;
|
|
636
|
+
/** VPC ID to filter for. Only subnets belonging to this VPC will be returned. (UUID format) */
|
|
637
|
+
vpc_id?: string | undefined;
|
|
638
|
+
}
|
|
639
|
+
export type ListSubnetsResponseSubnetsList = Array<Subnet>;
|
|
640
|
+
export interface ListSubnetsResponse {
|
|
641
|
+
subnets: ListSubnetsResponseSubnetsList;
|
|
642
|
+
total_count?: number | undefined;
|
|
643
|
+
}
|
|
644
|
+
export type ListVPCConnectorsRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
645
|
+
export type ListVPCConnectorsRequestOrderBy =
|
|
646
|
+
| "created_at_asc"
|
|
647
|
+
| "created_at_desc"
|
|
648
|
+
| "name_asc"
|
|
649
|
+
| "name_desc";
|
|
650
|
+
export type ListVPCConnectorsRequestTagsList = Array<string>;
|
|
651
|
+
export interface ListVPCConnectorsRequest {
|
|
652
|
+
/** The region you want to target */
|
|
653
|
+
region?: ListVPCConnectorsRequestRegion | (string & {}) | undefined;
|
|
654
|
+
/** Sort order of the returned VPC connectors. */
|
|
655
|
+
order_by?: ListVPCConnectorsRequestOrderBy | (string & {}) | undefined;
|
|
656
|
+
/** Page number to return, from the paginated results. */
|
|
657
|
+
page?: number | undefined;
|
|
658
|
+
/** Maximum number of VPC connectors to return per page. */
|
|
659
|
+
page_size?: number | undefined;
|
|
660
|
+
/** Name to filter for. Only connectors with names containing this string will be returned. */
|
|
661
|
+
name?: string | undefined;
|
|
662
|
+
/** Tags to filter for. Only connectors with one or more matching tags will be returned. */
|
|
663
|
+
tags?: ListVPCConnectorsRequestTagsList | undefined;
|
|
664
|
+
/** Organization ID to filter for. Only connectors belonging to this Organization will be returned. (UUID format) */
|
|
665
|
+
organization_id?: string | undefined;
|
|
666
|
+
/** Project ID to filter for. Only connectors belonging to this Project will be returned. (UUID format) */
|
|
667
|
+
project_id?: string | undefined;
|
|
668
|
+
/** VPC ID to filter for. Only connectors belonging to this VPC will be returned. (UUID format) */
|
|
669
|
+
vpc_id?: string | undefined;
|
|
670
|
+
/** Target VPC ID to filter for. Only connectors belonging to this target VPC will be returned. (UUID format) */
|
|
671
|
+
target_vpc_id?: string | undefined;
|
|
672
|
+
/** Status of the VPC connector. */
|
|
673
|
+
status?: VPCConnectorStatus | (string & {}) | undefined;
|
|
674
|
+
}
|
|
675
|
+
export type ListVPCConnectorsResponseVpcConnectorsList = Array<VPCConnector>;
|
|
676
|
+
export interface ListVPCConnectorsResponse {
|
|
677
|
+
vpc_connectors: ListVPCConnectorsResponseVpcConnectorsList;
|
|
678
|
+
total_count?: number | undefined;
|
|
679
|
+
}
|
|
680
|
+
export type ListVPCsRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
681
|
+
export type ListVPCsRequestOrderBy =
|
|
682
|
+
| "created_at_asc"
|
|
683
|
+
| "created_at_desc"
|
|
684
|
+
| "name_asc"
|
|
685
|
+
| "name_desc";
|
|
686
|
+
export type ListVPCsRequestTagsList = Array<string>;
|
|
687
|
+
export interface ListVPCsRequest {
|
|
688
|
+
/** The region you want to target */
|
|
689
|
+
region?: ListVPCsRequestRegion | (string & {}) | undefined;
|
|
690
|
+
/** Sort order of the returned VPCs. */
|
|
691
|
+
order_by?: ListVPCsRequestOrderBy | (string & {}) | undefined;
|
|
692
|
+
/** Page number to return, from the paginated results. */
|
|
693
|
+
page?: number | undefined;
|
|
694
|
+
/** Maximum number of VPCs to return per page. */
|
|
695
|
+
page_size?: number | undefined;
|
|
696
|
+
/** Name to filter for. Only VPCs with names containing this string will be returned. */
|
|
697
|
+
name?: string | undefined;
|
|
698
|
+
/** Tags to filter for. Only VPCs with one or more matching tags will be returned. */
|
|
699
|
+
tags?: ListVPCsRequestTagsList | undefined;
|
|
700
|
+
/** Organization ID to filter for. Only VPCs belonging to this Organization will be returned. (UUID format) */
|
|
701
|
+
organization_id?: string | undefined;
|
|
702
|
+
/** Project ID to filter for. Only VPCs belonging to this Project will be returned. (UUID format) */
|
|
703
|
+
project_id?: string | undefined;
|
|
704
|
+
/** Defines whether to filter only for VPCs which are the default one for their Project. */
|
|
705
|
+
is_default?: boolean | undefined;
|
|
706
|
+
/** Defines whether to filter only for VPCs which route traffic between their Private Networks. */
|
|
707
|
+
routing_enabled?: boolean | undefined;
|
|
708
|
+
/** Defines whether to filter only for VPCs with Object Storage private access enabled. */
|
|
709
|
+
object_storage_private_access_enabled?: boolean | undefined;
|
|
710
|
+
}
|
|
711
|
+
export type ListVPCsResponseVpcsList = Array<VPC>;
|
|
712
|
+
export interface ListVPCsResponse {
|
|
713
|
+
vpcs: ListVPCsResponseVpcsList;
|
|
714
|
+
total_count?: number | undefined;
|
|
715
|
+
}
|
|
716
|
+
export type SetAclRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
717
|
+
/** List of Network ACL rules. */
|
|
718
|
+
export type SetAclRequestRulesList = Array<AclRule>;
|
|
719
|
+
export interface SetAclRequest {
|
|
720
|
+
/** The region you want to target */
|
|
721
|
+
region?: SetAclRequestRegion | (string & {}) | undefined;
|
|
722
|
+
/** ID of the Network ACL's VPC. (UUID format) */
|
|
723
|
+
vpc_id: string;
|
|
724
|
+
/** List of Network ACL rules. */
|
|
725
|
+
rules: SetAclRequestRulesList;
|
|
726
|
+
/** Defines whether this set of ACL rules is for IPv6 (false = IPv4). Each Network ACL can have rules for only one IP type. */
|
|
727
|
+
is_ipv6: boolean;
|
|
728
|
+
/** Action to take for packets which do not match any rules. */
|
|
729
|
+
default_policy: Action | (string & {});
|
|
730
|
+
}
|
|
731
|
+
export type SetAclResponseRulesList = Array<AclRule>;
|
|
732
|
+
export interface SetAclResponse {
|
|
733
|
+
rules?: SetAclResponseRulesList | undefined;
|
|
734
|
+
default_policy?: Action | undefined;
|
|
735
|
+
}
|
|
736
|
+
export type SetPrivateNetworksObjectStoragePrivateAccessRequestRegion =
|
|
737
|
+
| "fr-par"
|
|
738
|
+
| "it-mil"
|
|
739
|
+
| "nl-ams"
|
|
740
|
+
| "pl-waw";
|
|
741
|
+
/** IDs of the Private Networks to associate with the Object Storage private access. */
|
|
742
|
+
export type SetPrivateNetworksObjectStoragePrivateAccessRequestPrivateNetworkIdsList =
|
|
743
|
+
Array<string>;
|
|
744
|
+
export interface SetPrivateNetworksObjectStoragePrivateAccessRequest {
|
|
745
|
+
/** The region you want to target */
|
|
746
|
+
region?: SetPrivateNetworksObjectStoragePrivateAccessRequestRegion | (string & {}) | undefined;
|
|
747
|
+
/** ID of the VPC containing the Object Storage private access. (UUID format) */
|
|
748
|
+
vpc_id: string;
|
|
749
|
+
/** IDs of the Private Networks to associate with the Object Storage private access. */
|
|
750
|
+
private_network_ids: SetPrivateNetworksObjectStoragePrivateAccessRequestPrivateNetworkIdsList;
|
|
751
|
+
}
|
|
752
|
+
/** IDs of the Private Networks associated with the Object Storage private access. */
|
|
753
|
+
export type SetPrivateNetworksObjectStoragePrivateAccessResponsePrivateNetworkIdsList =
|
|
754
|
+
Array<string>;
|
|
755
|
+
export interface SetPrivateNetworksObjectStoragePrivateAccessResponse {
|
|
756
|
+
/** ID of the VPC containing the Object Storage private access. (UUID format) */
|
|
757
|
+
vpc_id?: string | undefined;
|
|
758
|
+
/** IDs of the Private Networks associated with the Object Storage private access. */
|
|
759
|
+
private_network_ids?:
|
|
760
|
+
| SetPrivateNetworksObjectStoragePrivateAccessResponsePrivateNetworkIdsList
|
|
761
|
+
| undefined;
|
|
762
|
+
}
|
|
763
|
+
export type UpdateIngressRuleRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
764
|
+
/** Tags to set for this ingress rule. */
|
|
765
|
+
export type UpdateIngressRuleRequestTagsList = Array<unknown>;
|
|
766
|
+
export interface UpdateIngressRuleRequest {
|
|
767
|
+
/** The region you want to target */
|
|
768
|
+
region?: UpdateIngressRuleRequestRegion | (string & {}) | undefined;
|
|
769
|
+
/** ID of the ingress rule to update. (UUID format) */
|
|
770
|
+
rule_id: string;
|
|
771
|
+
/** Source network to match ingress traffic on. Can be IPv4 or IPv6. (IP network) */
|
|
772
|
+
source?: string | null | undefined;
|
|
773
|
+
/** IP of the local resource to redirect ingress traffic to. IP version must be consistent with the source network. (IP address) */
|
|
774
|
+
nexthop_resource_ip?: string | null | undefined;
|
|
775
|
+
/** ID of the Private Network the destination resource is in. (UUID format) */
|
|
776
|
+
nexthop_private_network_id?: string | null | undefined;
|
|
777
|
+
/** Description to set for this ingress rule. */
|
|
778
|
+
description?: string | null | undefined;
|
|
779
|
+
/** Tags to set for this ingress rule. */
|
|
780
|
+
tags?: UpdateIngressRuleRequestTagsList | null | undefined;
|
|
781
|
+
}
|
|
782
|
+
export type UpdatePrivateNetworkRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
783
|
+
/** Tags for the Private Network. */
|
|
784
|
+
export type UpdatePrivateNetworkRequestTagsList = Array<unknown>;
|
|
785
|
+
export interface UpdatePrivateNetworkRequest {
|
|
786
|
+
/** The region you want to target */
|
|
787
|
+
region?: UpdatePrivateNetworkRequestRegion | (string & {}) | undefined;
|
|
788
|
+
/** Private Network ID. (UUID format) */
|
|
789
|
+
private_network_id: string;
|
|
790
|
+
/** Name for the Private Network. */
|
|
791
|
+
name?: string | null | undefined;
|
|
792
|
+
/** Tags for the Private Network. */
|
|
793
|
+
tags?: UpdatePrivateNetworkRequestTagsList | null | undefined;
|
|
794
|
+
/** Defines whether default v4 and v6 routes are propagated for this Private Network. */
|
|
795
|
+
default_route_propagation_enabled?: boolean | null | undefined;
|
|
796
|
+
}
|
|
797
|
+
export type UpdateRouteRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
798
|
+
/** Tags of the Route. */
|
|
799
|
+
export type UpdateRouteRequestTagsList = Array<unknown>;
|
|
800
|
+
export interface UpdateRouteRequest {
|
|
801
|
+
/** The region you want to target */
|
|
802
|
+
region?: UpdateRouteRequestRegion | (string & {}) | undefined;
|
|
803
|
+
/** Route ID. (UUID format) */
|
|
804
|
+
route_id: string;
|
|
805
|
+
/** Route description. */
|
|
806
|
+
description?: string | null | undefined;
|
|
807
|
+
/** Tags of the Route. */
|
|
808
|
+
tags?: UpdateRouteRequestTagsList | null | undefined;
|
|
809
|
+
/** Destination of the Route. (IP network) */
|
|
810
|
+
destination?: string | null | undefined;
|
|
811
|
+
/** ID of the nexthop resource. (UUID format) */
|
|
812
|
+
nexthop_resource_id?: string | null | undefined;
|
|
813
|
+
/** ID of the nexthop private network. (UUID format) */
|
|
814
|
+
nexthop_private_network_id?: string | null | undefined;
|
|
815
|
+
/** ID of the nexthop VPC connector. (UUID format) */
|
|
816
|
+
nexthop_vpc_connector_id?: string | null | undefined;
|
|
817
|
+
}
|
|
818
|
+
export type UpdateVPCRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
819
|
+
/** Tags for the VPC. */
|
|
820
|
+
export type UpdateVPCRequestTagsList = Array<unknown>;
|
|
821
|
+
export interface UpdateVPCRequest {
|
|
822
|
+
/** The region you want to target */
|
|
823
|
+
region?: UpdateVPCRequestRegion | (string & {}) | undefined;
|
|
824
|
+
/** VPC ID. (UUID format) */
|
|
825
|
+
vpc_id: string;
|
|
826
|
+
/** Name for the VPC. */
|
|
827
|
+
name?: string | null | undefined;
|
|
828
|
+
/** Tags for the VPC. */
|
|
829
|
+
tags?: UpdateVPCRequestTagsList | null | undefined;
|
|
830
|
+
}
|
|
831
|
+
export type UpdateVPCConnectorRequestRegion = "fr-par" | "it-mil" | "nl-ams" | "pl-waw";
|
|
832
|
+
/** Tags for the VPC connector. */
|
|
833
|
+
export type UpdateVPCConnectorRequestTagsList = Array<unknown>;
|
|
834
|
+
export interface UpdateVPCConnectorRequest {
|
|
835
|
+
/** The region you want to target */
|
|
836
|
+
region?: UpdateVPCConnectorRequestRegion | (string & {}) | undefined;
|
|
837
|
+
/** VPC connector ID. (UUID format) */
|
|
838
|
+
vpc_connector_id: string;
|
|
839
|
+
/** Name for the VPC connector. */
|
|
840
|
+
name?: string | null | undefined;
|
|
841
|
+
/** Tags for the VPC connector. */
|
|
842
|
+
tags?: UpdateVPCConnectorRequestTagsList | null | undefined;
|
|
843
|
+
}
|
|
844
|
+
export type AddPrivateNetworkObjectStoragePrivateAccessError = ScalewayOpError;
|
|
845
|
+
/** Add a Private Network to an Object Storage private access Add a Private Network to the Object Storage private access to enable Object Storage integration for its resources. */
|
|
846
|
+
export const addPrivateNetworkObjectStoragePrivateAccess: API.OperationMethod<
|
|
847
|
+
AddPrivateNetworkObjectStoragePrivateAccessRequest,
|
|
848
|
+
AddPrivateNetworkObjectStoragePrivateAccessResponse,
|
|
849
|
+
AddPrivateNetworkObjectStoragePrivateAccessError,
|
|
850
|
+
ScalewayOpContext
|
|
851
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
852
|
+
input: __S(0, __c0, 0) as any as S.Schema<AddPrivateNetworkObjectStoragePrivateAccessRequest>,
|
|
853
|
+
output: __S(8, __c2, 0) as any as S.Schema<AddPrivateNetworkObjectStoragePrivateAccessResponse>,
|
|
854
|
+
errors: [],
|
|
855
|
+
serviceErrors: ScalewayServiceErrors,
|
|
856
|
+
protocol: ScalewayProtocol,
|
|
857
|
+
retry: Retry.Retry,
|
|
858
|
+
telemetry: TELEMETRY,
|
|
859
|
+
span: "AddPrivateNetworkObjectStoragePrivateAccess",
|
|
860
|
+
}));
|
|
861
|
+
|
|
862
|
+
export type CreateIngressRuleError = ScalewayOpError;
|
|
863
|
+
/** Create an ingress rule Create an ingress rule in the specified region. */
|
|
864
|
+
export const createIngressRule: API.OperationMethod<
|
|
865
|
+
CreateIngressRuleRequest,
|
|
866
|
+
IngressRule,
|
|
867
|
+
CreateIngressRuleError,
|
|
868
|
+
ScalewayOpContext
|
|
869
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
870
|
+
input: __S(12, __c3, 0) as any as S.Schema<CreateIngressRuleRequest>,
|
|
871
|
+
output: __S(16, __c4, 0) as any as S.Schema<IngressRule>,
|
|
872
|
+
errors: [],
|
|
873
|
+
serviceErrors: ScalewayServiceErrors,
|
|
874
|
+
protocol: ScalewayProtocol,
|
|
875
|
+
retry: Retry.Retry,
|
|
876
|
+
telemetry: TELEMETRY,
|
|
877
|
+
span: "CreateIngressRule",
|
|
878
|
+
}));
|
|
879
|
+
|
|
880
|
+
export type CreatePrivateNetworkError = ScalewayOpError;
|
|
881
|
+
/** Create a Private Network Create a new Private Network. Once created, you can attach Scaleway resources which are in the same region. */
|
|
882
|
+
export const createPrivateNetwork: API.OperationMethod<
|
|
883
|
+
CreatePrivateNetworkRequest,
|
|
884
|
+
PrivateNetwork,
|
|
885
|
+
CreatePrivateNetworkError,
|
|
886
|
+
ScalewayOpContext
|
|
887
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
888
|
+
input: __S(64, __c16, 0) as any as S.Schema<CreatePrivateNetworkRequest>,
|
|
889
|
+
output: __S(72, __c18, 0) as any as S.Schema<PrivateNetwork>,
|
|
890
|
+
errors: [],
|
|
891
|
+
serviceErrors: ScalewayServiceErrors,
|
|
892
|
+
protocol: ScalewayProtocol,
|
|
893
|
+
retry: Retry.Retry,
|
|
894
|
+
telemetry: TELEMETRY,
|
|
895
|
+
span: "CreatePrivateNetwork",
|
|
896
|
+
}));
|
|
897
|
+
|
|
898
|
+
export type CreateRouteError = ScalewayOpError;
|
|
899
|
+
/** Create a Route Create a new custom Route. */
|
|
900
|
+
export const createRoute: API.OperationMethod<
|
|
901
|
+
CreateRouteRequest,
|
|
902
|
+
Route,
|
|
903
|
+
CreateRouteError,
|
|
904
|
+
ScalewayOpContext
|
|
905
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
906
|
+
input: __S(116, __c29, 0) as any as S.Schema<CreateRouteRequest>,
|
|
907
|
+
output: __S(120, __c30, 0) as any as S.Schema<Route>,
|
|
908
|
+
errors: [],
|
|
909
|
+
serviceErrors: ScalewayServiceErrors,
|
|
910
|
+
protocol: ScalewayProtocol,
|
|
911
|
+
retry: Retry.Retry,
|
|
912
|
+
telemetry: TELEMETRY,
|
|
913
|
+
span: "CreateRoute",
|
|
914
|
+
}));
|
|
915
|
+
|
|
916
|
+
export type CreateVPCError = ScalewayOpError;
|
|
917
|
+
/** Create a VPC Create a new VPC in the specified region. */
|
|
918
|
+
export const createVPC: API.OperationMethod<
|
|
919
|
+
CreateVPCRequest,
|
|
920
|
+
VPC,
|
|
921
|
+
CreateVPCError,
|
|
922
|
+
ScalewayOpContext
|
|
923
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
924
|
+
input: __S(148, __c37, 0) as any as S.Schema<CreateVPCRequest>,
|
|
925
|
+
output: __S(152, __c38, 0) as any as S.Schema<VPC>,
|
|
926
|
+
errors: [],
|
|
927
|
+
serviceErrors: ScalewayServiceErrors,
|
|
928
|
+
protocol: ScalewayProtocol,
|
|
929
|
+
retry: Retry.Retry,
|
|
930
|
+
telemetry: TELEMETRY,
|
|
931
|
+
span: "CreateVPC",
|
|
932
|
+
}));
|
|
933
|
+
|
|
934
|
+
export type CreateVPCConnectorError = ScalewayOpError;
|
|
935
|
+
/** Create a VPC connector Create a new VPC connector in the specified region. */
|
|
936
|
+
export const createVPCConnector: API.OperationMethod<
|
|
937
|
+
CreateVPCConnectorRequest,
|
|
938
|
+
VPCConnector,
|
|
939
|
+
CreateVPCConnectorError,
|
|
940
|
+
ScalewayOpContext
|
|
941
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
942
|
+
input: __S(156, __c39, 0) as any as S.Schema<CreateVPCConnectorRequest>,
|
|
943
|
+
output: __S(161, __c40, 1) as any as S.Schema<VPCConnector>,
|
|
944
|
+
errors: [],
|
|
945
|
+
serviceErrors: ScalewayServiceErrors,
|
|
946
|
+
protocol: ScalewayProtocol,
|
|
947
|
+
retry: Retry.Retry,
|
|
948
|
+
telemetry: TELEMETRY,
|
|
949
|
+
span: "CreateVPCConnector",
|
|
950
|
+
}));
|
|
951
|
+
|
|
952
|
+
export type DeleteIngressRuleError = ScalewayOpError;
|
|
953
|
+
/** Delete an ingress rule Delete an ingress rule specified by its ingress rule ID. */
|
|
954
|
+
export const deleteIngressRule: API.OperationMethod<
|
|
955
|
+
DeleteIngressRuleRequest,
|
|
956
|
+
DeleteIngressRuleResponse,
|
|
957
|
+
DeleteIngressRuleError,
|
|
958
|
+
ScalewayOpContext
|
|
959
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
960
|
+
input: __S(164, __c41, 0) as any as S.Schema<DeleteIngressRuleRequest>,
|
|
961
|
+
output: __S(168, __c42, 0) as any as S.Schema<DeleteIngressRuleResponse>,
|
|
962
|
+
errors: [],
|
|
963
|
+
serviceErrors: ScalewayServiceErrors,
|
|
964
|
+
protocol: ScalewayProtocol,
|
|
965
|
+
retry: Retry.Retry,
|
|
966
|
+
telemetry: TELEMETRY,
|
|
967
|
+
span: "DeleteIngressRule",
|
|
968
|
+
}));
|
|
969
|
+
|
|
970
|
+
export type DeletePrivateNetworkError = ScalewayOpError;
|
|
971
|
+
/** Delete a Private Network Delete an existing Private Network. Note that you must first detach all resources from the network, in order to delete it. */
|
|
972
|
+
export const deletePrivateNetwork: API.OperationMethod<
|
|
973
|
+
DeletePrivateNetworkRequest,
|
|
974
|
+
DeletePrivateNetworkResponse,
|
|
975
|
+
DeletePrivateNetworkError,
|
|
976
|
+
ScalewayOpContext
|
|
977
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
978
|
+
input: __S(172, __c43, 0) as any as S.Schema<DeletePrivateNetworkRequest>,
|
|
979
|
+
output: __S(168, __c42, 0) as any as S.Schema<DeletePrivateNetworkResponse>,
|
|
980
|
+
errors: [],
|
|
981
|
+
serviceErrors: ScalewayServiceErrors,
|
|
982
|
+
protocol: ScalewayProtocol,
|
|
983
|
+
retry: Retry.Retry,
|
|
984
|
+
telemetry: TELEMETRY,
|
|
985
|
+
span: "DeletePrivateNetwork",
|
|
986
|
+
}));
|
|
987
|
+
|
|
988
|
+
export type DeletePrivateNetworkObjectStoragePrivateAccessError = ScalewayOpError;
|
|
989
|
+
/** Remove a Private Network from an Object Storage private access Remove a Private Network from the Object Storage private access to disable Object Storage integration for its resources. */
|
|
990
|
+
export const deletePrivateNetworkObjectStoragePrivateAccess: API.OperationMethod<
|
|
991
|
+
DeletePrivateNetworkObjectStoragePrivateAccessRequest,
|
|
992
|
+
DeletePrivateNetworkObjectStoragePrivateAccessResponse,
|
|
993
|
+
DeletePrivateNetworkObjectStoragePrivateAccessError,
|
|
994
|
+
ScalewayOpContext
|
|
995
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
996
|
+
input: __S(
|
|
997
|
+
176,
|
|
998
|
+
__c44,
|
|
999
|
+
0,
|
|
1000
|
+
) as any as S.Schema<DeletePrivateNetworkObjectStoragePrivateAccessRequest>,
|
|
1001
|
+
output: __S(
|
|
1002
|
+
168,
|
|
1003
|
+
__c42,
|
|
1004
|
+
0,
|
|
1005
|
+
) as any as S.Schema<DeletePrivateNetworkObjectStoragePrivateAccessResponse>,
|
|
1006
|
+
errors: [],
|
|
1007
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1008
|
+
protocol: ScalewayProtocol,
|
|
1009
|
+
retry: Retry.Retry,
|
|
1010
|
+
telemetry: TELEMETRY,
|
|
1011
|
+
span: "DeletePrivateNetworkObjectStoragePrivateAccess",
|
|
1012
|
+
}));
|
|
1013
|
+
|
|
1014
|
+
export type DeleteRouteError = ScalewayOpError;
|
|
1015
|
+
/** Delete a Route Delete a Route specified by its Route ID. */
|
|
1016
|
+
export const deleteRoute: API.OperationMethod<
|
|
1017
|
+
DeleteRouteRequest,
|
|
1018
|
+
DeleteRouteResponse,
|
|
1019
|
+
DeleteRouteError,
|
|
1020
|
+
ScalewayOpContext
|
|
1021
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1022
|
+
input: __S(180, __c45, 0) as any as S.Schema<DeleteRouteRequest>,
|
|
1023
|
+
output: __S(168, __c42, 0) as any as S.Schema<DeleteRouteResponse>,
|
|
1024
|
+
errors: [],
|
|
1025
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1026
|
+
protocol: ScalewayProtocol,
|
|
1027
|
+
retry: Retry.Retry,
|
|
1028
|
+
telemetry: TELEMETRY,
|
|
1029
|
+
span: "DeleteRoute",
|
|
1030
|
+
}));
|
|
1031
|
+
|
|
1032
|
+
export type DeleteVPCError = ScalewayOpError;
|
|
1033
|
+
/** Delete a VPC Delete a VPC specified by its VPC ID. */
|
|
1034
|
+
export const deleteVPC: API.OperationMethod<
|
|
1035
|
+
DeleteVPCRequest,
|
|
1036
|
+
DeleteVPCResponse,
|
|
1037
|
+
DeleteVPCError,
|
|
1038
|
+
ScalewayOpContext
|
|
1039
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1040
|
+
input: __S(20, __c5, 0) as any as S.Schema<DeleteVPCRequest>,
|
|
1041
|
+
output: __S(168, __c42, 0) as any as S.Schema<DeleteVPCResponse>,
|
|
1042
|
+
errors: [],
|
|
1043
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1044
|
+
protocol: ScalewayProtocol,
|
|
1045
|
+
retry: Retry.Retry,
|
|
1046
|
+
telemetry: TELEMETRY,
|
|
1047
|
+
span: "DeleteVPC",
|
|
1048
|
+
}));
|
|
1049
|
+
|
|
1050
|
+
export type DeleteVPCConnectorError = ScalewayOpError;
|
|
1051
|
+
/** Delete a VPC connector Delete a VPC connector specified by its VPC connector ID. */
|
|
1052
|
+
export const deleteVPCConnector: API.OperationMethod<
|
|
1053
|
+
DeleteVPCConnectorRequest,
|
|
1054
|
+
DeleteVPCConnectorResponse,
|
|
1055
|
+
DeleteVPCConnectorError,
|
|
1056
|
+
ScalewayOpContext
|
|
1057
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1058
|
+
input: __S(24, __c6, 0) as any as S.Schema<DeleteVPCConnectorRequest>,
|
|
1059
|
+
output: __S(168, __c42, 0) as any as S.Schema<DeleteVPCConnectorResponse>,
|
|
1060
|
+
errors: [],
|
|
1061
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1062
|
+
protocol: ScalewayProtocol,
|
|
1063
|
+
retry: Retry.Retry,
|
|
1064
|
+
telemetry: TELEMETRY,
|
|
1065
|
+
span: "DeleteVPCConnector",
|
|
1066
|
+
}));
|
|
1067
|
+
|
|
1068
|
+
export type DisableObjectStoragePrivateAccessError = ScalewayOpError;
|
|
1069
|
+
/** Disable Object Storage private access Disable Object Storage private access for a VPC. */
|
|
1070
|
+
export const disableObjectStoragePrivateAccess: API.OperationMethod<
|
|
1071
|
+
DisableObjectStoragePrivateAccessRequest,
|
|
1072
|
+
VPC,
|
|
1073
|
+
DisableObjectStoragePrivateAccessError,
|
|
1074
|
+
ScalewayOpContext
|
|
1075
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1076
|
+
input: __S(28, __c7, 0) as any as S.Schema<DisableObjectStoragePrivateAccessRequest>,
|
|
1077
|
+
output: __S(152, __c38, 0) as any as S.Schema<VPC>,
|
|
1078
|
+
errors: [],
|
|
1079
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1080
|
+
protocol: ScalewayProtocol,
|
|
1081
|
+
retry: Retry.Retry,
|
|
1082
|
+
telemetry: TELEMETRY,
|
|
1083
|
+
span: "DisableObjectStoragePrivateAccess",
|
|
1084
|
+
}));
|
|
1085
|
+
|
|
1086
|
+
export type EnableDHCPError = ScalewayOpError;
|
|
1087
|
+
/** Enable DHCP on a Private Network Enable DHCP managed on an existing Private Network. Note that you will not be able to deactivate it afterwards. */
|
|
1088
|
+
export const enableDHCP: API.OperationMethod<
|
|
1089
|
+
EnableDHCPRequest,
|
|
1090
|
+
PrivateNetwork,
|
|
1091
|
+
EnableDHCPError,
|
|
1092
|
+
ScalewayOpContext
|
|
1093
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1094
|
+
input: __S(32, __c8, 0) as any as S.Schema<EnableDHCPRequest>,
|
|
1095
|
+
output: __S(72, __c18, 0) as any as S.Schema<PrivateNetwork>,
|
|
1096
|
+
errors: [],
|
|
1097
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1098
|
+
protocol: ScalewayProtocol,
|
|
1099
|
+
retry: Retry.Retry,
|
|
1100
|
+
telemetry: TELEMETRY,
|
|
1101
|
+
span: "EnableDHCP",
|
|
1102
|
+
}));
|
|
1103
|
+
|
|
1104
|
+
export type EnableObjectStoragePrivateAccessError = ScalewayOpError;
|
|
1105
|
+
/** Enable Object Storage private access Enable Object Storage private access for a VPC. */
|
|
1106
|
+
export const enableObjectStoragePrivateAccess: API.OperationMethod<
|
|
1107
|
+
EnableObjectStoragePrivateAccessRequest,
|
|
1108
|
+
VPC,
|
|
1109
|
+
EnableObjectStoragePrivateAccessError,
|
|
1110
|
+
ScalewayOpContext
|
|
1111
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1112
|
+
input: __S(36, __c9, 0) as any as S.Schema<EnableObjectStoragePrivateAccessRequest>,
|
|
1113
|
+
output: __S(152, __c38, 0) as any as S.Schema<VPC>,
|
|
1114
|
+
errors: [],
|
|
1115
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1116
|
+
protocol: ScalewayProtocol,
|
|
1117
|
+
retry: Retry.Retry,
|
|
1118
|
+
telemetry: TELEMETRY,
|
|
1119
|
+
span: "EnableObjectStoragePrivateAccess",
|
|
1120
|
+
}));
|
|
1121
|
+
|
|
1122
|
+
export type EnableRoutingError = ScalewayOpError;
|
|
1123
|
+
/** Enable routing on a VPC Enable routing on an existing VPC. Note that you will not be able to deactivate it afterwards. */
|
|
1124
|
+
export const enableRouting: API.OperationMethod<
|
|
1125
|
+
EnableRoutingRequest,
|
|
1126
|
+
VPC,
|
|
1127
|
+
EnableRoutingError,
|
|
1128
|
+
ScalewayOpContext
|
|
1129
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1130
|
+
input: __S(40, __c10, 0) as any as S.Schema<EnableRoutingRequest>,
|
|
1131
|
+
output: __S(152, __c38, 0) as any as S.Schema<VPC>,
|
|
1132
|
+
errors: [],
|
|
1133
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1134
|
+
protocol: ScalewayProtocol,
|
|
1135
|
+
retry: Retry.Retry,
|
|
1136
|
+
telemetry: TELEMETRY,
|
|
1137
|
+
span: "EnableRouting",
|
|
1138
|
+
}));
|
|
1139
|
+
|
|
1140
|
+
export type GetAclError = ScalewayOpError;
|
|
1141
|
+
/** Get ACL Rules for VPC Retrieve a list of ACL rules for a VPC, specified by its VPC ID. */
|
|
1142
|
+
export const getAcl: API.OperationMethod<
|
|
1143
|
+
GetAclRequest,
|
|
1144
|
+
GetAclResponse,
|
|
1145
|
+
GetAclError,
|
|
1146
|
+
ScalewayOpContext
|
|
1147
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1148
|
+
input: __S(44, __c11, 0) as any as S.Schema<GetAclRequest>,
|
|
1149
|
+
output: __S(50, __c12, 2) as any as S.Schema<GetAclResponse>,
|
|
1150
|
+
errors: [],
|
|
1151
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1152
|
+
protocol: ScalewayProtocol,
|
|
1153
|
+
retry: Retry.Retry,
|
|
1154
|
+
telemetry: TELEMETRY,
|
|
1155
|
+
span: "GetAcl",
|
|
1156
|
+
}));
|
|
1157
|
+
|
|
1158
|
+
export type GetIngressRuleError = ScalewayOpError;
|
|
1159
|
+
/** Get an ingress rule Retrieve details of an existing ingress rule, specified by its ingress rule ID. */
|
|
1160
|
+
export const getIngressRule: API.OperationMethod<
|
|
1161
|
+
GetIngressRuleRequest,
|
|
1162
|
+
IngressRule,
|
|
1163
|
+
GetIngressRuleError,
|
|
1164
|
+
ScalewayOpContext
|
|
1165
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1166
|
+
input: __S(52, __c13, 0) as any as S.Schema<GetIngressRuleRequest>,
|
|
1167
|
+
output: __S(16, __c4, 0) as any as S.Schema<IngressRule>,
|
|
1168
|
+
errors: [],
|
|
1169
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1170
|
+
protocol: ScalewayProtocol,
|
|
1171
|
+
retry: Retry.Retry,
|
|
1172
|
+
telemetry: TELEMETRY,
|
|
1173
|
+
span: "GetIngressRule",
|
|
1174
|
+
}));
|
|
1175
|
+
|
|
1176
|
+
export type GetPrivateNetworkError = ScalewayOpError;
|
|
1177
|
+
/** Get a Private Network Retrieve information about an existing Private Network, specified by its Private Network ID. Its full details are returned in the response object. */
|
|
1178
|
+
export const getPrivateNetwork: API.OperationMethod<
|
|
1179
|
+
GetPrivateNetworkRequest,
|
|
1180
|
+
PrivateNetwork,
|
|
1181
|
+
GetPrivateNetworkError,
|
|
1182
|
+
ScalewayOpContext
|
|
1183
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1184
|
+
input: __S(56, __c14, 0) as any as S.Schema<GetPrivateNetworkRequest>,
|
|
1185
|
+
output: __S(72, __c18, 0) as any as S.Schema<PrivateNetwork>,
|
|
1186
|
+
errors: [],
|
|
1187
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1188
|
+
protocol: ScalewayProtocol,
|
|
1189
|
+
retry: Retry.Retry,
|
|
1190
|
+
telemetry: TELEMETRY,
|
|
1191
|
+
span: "GetPrivateNetwork",
|
|
1192
|
+
}));
|
|
1193
|
+
|
|
1194
|
+
export type GetRouteError = ScalewayOpError;
|
|
1195
|
+
/** Get a Route Retrieve details of an existing Route, specified by its Route ID. */
|
|
1196
|
+
export const getRoute: API.OperationMethod<
|
|
1197
|
+
GetRouteRequest,
|
|
1198
|
+
Route,
|
|
1199
|
+
GetRouteError,
|
|
1200
|
+
ScalewayOpContext
|
|
1201
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1202
|
+
input: __S(60, __c15, 0) as any as S.Schema<GetRouteRequest>,
|
|
1203
|
+
output: __S(120, __c30, 0) as any as S.Schema<Route>,
|
|
1204
|
+
errors: [],
|
|
1205
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1206
|
+
protocol: ScalewayProtocol,
|
|
1207
|
+
retry: Retry.Retry,
|
|
1208
|
+
telemetry: TELEMETRY,
|
|
1209
|
+
span: "GetRoute",
|
|
1210
|
+
}));
|
|
1211
|
+
|
|
1212
|
+
export type GetVPCError = ScalewayOpError;
|
|
1213
|
+
/** Get a VPC Retrieve details of an existing VPC, specified by its VPC ID. */
|
|
1214
|
+
export const getVPC: API.OperationMethod<GetVPCRequest, VPC, GetVPCError, ScalewayOpContext> =
|
|
1215
|
+
/*@__PURE__*/ API.make(() => ({
|
|
1216
|
+
input: __S(76, __c19, 0) as any as S.Schema<GetVPCRequest>,
|
|
1217
|
+
output: __S(152, __c38, 0) as any as S.Schema<VPC>,
|
|
1218
|
+
errors: [],
|
|
1219
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1220
|
+
protocol: ScalewayProtocol,
|
|
1221
|
+
retry: Retry.Retry,
|
|
1222
|
+
telemetry: TELEMETRY,
|
|
1223
|
+
span: "GetVPC",
|
|
1224
|
+
}));
|
|
1225
|
+
|
|
1226
|
+
export type GetVPCConnectorError = ScalewayOpError;
|
|
1227
|
+
/** Get a VPC connector Retrieve details of an existing VPC connector, specified by its VPC connector ID. */
|
|
1228
|
+
export const getVPCConnector: API.OperationMethod<
|
|
1229
|
+
GetVPCConnectorRequest,
|
|
1230
|
+
VPCConnector,
|
|
1231
|
+
GetVPCConnectorError,
|
|
1232
|
+
ScalewayOpContext
|
|
1233
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1234
|
+
input: __S(80, __c20, 0) as any as S.Schema<GetVPCConnectorRequest>,
|
|
1235
|
+
output: __S(161, __c40, 1) as any as S.Schema<VPCConnector>,
|
|
1236
|
+
errors: [],
|
|
1237
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1238
|
+
protocol: ScalewayProtocol,
|
|
1239
|
+
retry: Retry.Retry,
|
|
1240
|
+
telemetry: TELEMETRY,
|
|
1241
|
+
span: "GetVPCConnector",
|
|
1242
|
+
}));
|
|
1243
|
+
|
|
1244
|
+
export type ListIngressRulesError = ScalewayOpError;
|
|
1245
|
+
/** List ingress rules List existing ingress rules in the specified region. */
|
|
1246
|
+
export const listIngressRules: API.PaginatedOperationMethod<
|
|
1247
|
+
ListIngressRulesRequest,
|
|
1248
|
+
ListIngressRulesResponse,
|
|
1249
|
+
ListIngressRulesError,
|
|
1250
|
+
ScalewayOpContext,
|
|
1251
|
+
IngressRule
|
|
1252
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
1253
|
+
() => ({
|
|
1254
|
+
input: __S(84, __c21, 0) as any as S.Schema<ListIngressRulesRequest>,
|
|
1255
|
+
output: __S(86, __c21, 2) as any as S.Schema<ListIngressRulesResponse>,
|
|
1256
|
+
errors: [],
|
|
1257
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1258
|
+
protocol: ScalewayProtocol,
|
|
1259
|
+
retry: Retry.Retry,
|
|
1260
|
+
telemetry: TELEMETRY,
|
|
1261
|
+
span: "ListIngressRules",
|
|
1262
|
+
pagination: {
|
|
1263
|
+
mode: "page",
|
|
1264
|
+
inputToken: "page",
|
|
1265
|
+
outputToken: "total_count",
|
|
1266
|
+
items: "rules",
|
|
1267
|
+
pageSize: "page_size",
|
|
1268
|
+
} as const,
|
|
1269
|
+
}),
|
|
1270
|
+
paginateByTotalCount,
|
|
1271
|
+
) as any;
|
|
1272
|
+
|
|
1273
|
+
export type ListPrivateNetworksError = ScalewayOpError;
|
|
1274
|
+
/** List Private Networks List existing Private Networks in the specified region. By default, the Private Networks returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. */
|
|
1275
|
+
export const listPrivateNetworks: API.PaginatedOperationMethod<
|
|
1276
|
+
ListPrivateNetworksRequest,
|
|
1277
|
+
ListPrivateNetworksResponse,
|
|
1278
|
+
ListPrivateNetworksError,
|
|
1279
|
+
ScalewayOpContext,
|
|
1280
|
+
PrivateNetwork
|
|
1281
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
1282
|
+
() => ({
|
|
1283
|
+
input: __S(88, __c22, 0) as any as S.Schema<ListPrivateNetworksRequest>,
|
|
1284
|
+
output: __S(90, __c22, 2) as any as S.Schema<ListPrivateNetworksResponse>,
|
|
1285
|
+
errors: [],
|
|
1286
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1287
|
+
protocol: ScalewayProtocol,
|
|
1288
|
+
retry: Retry.Retry,
|
|
1289
|
+
telemetry: TELEMETRY,
|
|
1290
|
+
span: "ListPrivateNetworks",
|
|
1291
|
+
pagination: {
|
|
1292
|
+
mode: "page",
|
|
1293
|
+
inputToken: "page",
|
|
1294
|
+
outputToken: "total_count",
|
|
1295
|
+
items: "private_networks",
|
|
1296
|
+
pageSize: "page_size",
|
|
1297
|
+
} as const,
|
|
1298
|
+
}),
|
|
1299
|
+
paginateByTotalCount,
|
|
1300
|
+
) as any;
|
|
1301
|
+
|
|
1302
|
+
export type ListSubnetOverlapsError = ScalewayOpError;
|
|
1303
|
+
/** List subnet overlaps List subnet overlaps between the VPCs on both sides of a connector, or for a specific subnet if specified. */
|
|
1304
|
+
export const listSubnetOverlaps: API.PaginatedOperationMethod<
|
|
1305
|
+
ListSubnetOverlapsRequest,
|
|
1306
|
+
ListSubnetOverlapsResponse,
|
|
1307
|
+
ListSubnetOverlapsError,
|
|
1308
|
+
ScalewayOpContext,
|
|
1309
|
+
ListSubnetOverlapsResponseSubnetOverlap
|
|
1310
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
1311
|
+
() => ({
|
|
1312
|
+
input: __S(92, __c23, 0) as any as S.Schema<ListSubnetOverlapsRequest>,
|
|
1313
|
+
output: __S(95, __c23, 3) as any as S.Schema<ListSubnetOverlapsResponse>,
|
|
1314
|
+
errors: [],
|
|
1315
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1316
|
+
protocol: ScalewayProtocol,
|
|
1317
|
+
retry: Retry.Retry,
|
|
1318
|
+
telemetry: TELEMETRY,
|
|
1319
|
+
span: "ListSubnetOverlaps",
|
|
1320
|
+
pagination: {
|
|
1321
|
+
mode: "page",
|
|
1322
|
+
inputToken: "page",
|
|
1323
|
+
outputToken: "total_count",
|
|
1324
|
+
items: "subnet_overlaps",
|
|
1325
|
+
pageSize: "page_size",
|
|
1326
|
+
} as const,
|
|
1327
|
+
}),
|
|
1328
|
+
paginateByTotalCount,
|
|
1329
|
+
) as any;
|
|
1330
|
+
|
|
1331
|
+
export type ListSubnetsError = ScalewayOpError;
|
|
1332
|
+
/** List subnets List any Private Network's subnets. See ListPrivateNetworks to list a specific Private Network's subnets. */
|
|
1333
|
+
export const listSubnets: API.PaginatedOperationMethod<
|
|
1334
|
+
ListSubnetsRequest,
|
|
1335
|
+
ListSubnetsResponse,
|
|
1336
|
+
ListSubnetsError,
|
|
1337
|
+
ScalewayOpContext,
|
|
1338
|
+
Subnet
|
|
1339
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
1340
|
+
() => ({
|
|
1341
|
+
input: __S(96, __c24, 0) as any as S.Schema<ListSubnetsRequest>,
|
|
1342
|
+
output: __S(97, __c24, 1) as any as S.Schema<ListSubnetsResponse>,
|
|
1343
|
+
errors: [],
|
|
1344
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1345
|
+
protocol: ScalewayProtocol,
|
|
1346
|
+
retry: Retry.Retry,
|
|
1347
|
+
telemetry: TELEMETRY,
|
|
1348
|
+
span: "ListSubnets",
|
|
1349
|
+
pagination: {
|
|
1350
|
+
mode: "page",
|
|
1351
|
+
inputToken: "page",
|
|
1352
|
+
outputToken: "total_count",
|
|
1353
|
+
items: "subnets",
|
|
1354
|
+
pageSize: "page_size",
|
|
1355
|
+
} as const,
|
|
1356
|
+
}),
|
|
1357
|
+
paginateByTotalCount,
|
|
1358
|
+
) as any;
|
|
1359
|
+
|
|
1360
|
+
export type ListVPCConnectorsError = ScalewayOpError;
|
|
1361
|
+
/** List VPC connectors List existing VPC connectors in the specified region. */
|
|
1362
|
+
export const listVPCConnectors: API.PaginatedOperationMethod<
|
|
1363
|
+
ListVPCConnectorsRequest,
|
|
1364
|
+
ListVPCConnectorsResponse,
|
|
1365
|
+
ListVPCConnectorsError,
|
|
1366
|
+
ScalewayOpContext,
|
|
1367
|
+
VPCConnector
|
|
1368
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
1369
|
+
() => ({
|
|
1370
|
+
input: __S(100, __c25, 0) as any as S.Schema<ListVPCConnectorsRequest>,
|
|
1371
|
+
output: __S(102, __c25, 2) as any as S.Schema<ListVPCConnectorsResponse>,
|
|
1372
|
+
errors: [],
|
|
1373
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1374
|
+
protocol: ScalewayProtocol,
|
|
1375
|
+
retry: Retry.Retry,
|
|
1376
|
+
telemetry: TELEMETRY,
|
|
1377
|
+
span: "ListVPCConnectors",
|
|
1378
|
+
pagination: {
|
|
1379
|
+
mode: "page",
|
|
1380
|
+
inputToken: "page",
|
|
1381
|
+
outputToken: "total_count",
|
|
1382
|
+
items: "vpc_connectors",
|
|
1383
|
+
pageSize: "page_size",
|
|
1384
|
+
} as const,
|
|
1385
|
+
}),
|
|
1386
|
+
paginateByTotalCount,
|
|
1387
|
+
) as any;
|
|
1388
|
+
|
|
1389
|
+
export type ListVPCsError = ScalewayOpError;
|
|
1390
|
+
/** List VPCs List existing VPCs in the specified region. */
|
|
1391
|
+
export const listVPCs: API.PaginatedOperationMethod<
|
|
1392
|
+
ListVPCsRequest,
|
|
1393
|
+
ListVPCsResponse,
|
|
1394
|
+
ListVPCsError,
|
|
1395
|
+
ScalewayOpContext,
|
|
1396
|
+
VPC
|
|
1397
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
1398
|
+
() => ({
|
|
1399
|
+
input: __S(104, __c26, 0) as any as S.Schema<ListVPCsRequest>,
|
|
1400
|
+
output: __S(106, __c26, 2) as any as S.Schema<ListVPCsResponse>,
|
|
1401
|
+
errors: [],
|
|
1402
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1403
|
+
protocol: ScalewayProtocol,
|
|
1404
|
+
retry: Retry.Retry,
|
|
1405
|
+
telemetry: TELEMETRY,
|
|
1406
|
+
span: "ListVPCs",
|
|
1407
|
+
pagination: {
|
|
1408
|
+
mode: "page",
|
|
1409
|
+
inputToken: "page",
|
|
1410
|
+
outputToken: "total_count",
|
|
1411
|
+
items: "vpcs",
|
|
1412
|
+
pageSize: "page_size",
|
|
1413
|
+
} as const,
|
|
1414
|
+
}),
|
|
1415
|
+
paginateByTotalCount,
|
|
1416
|
+
) as any;
|
|
1417
|
+
|
|
1418
|
+
export type SetAclError = ScalewayOpError;
|
|
1419
|
+
/** Set VPC ACL rules Set the list of ACL rules and the default routing policy for a VPC. */
|
|
1420
|
+
export const setAcl: API.OperationMethod<
|
|
1421
|
+
SetAclRequest,
|
|
1422
|
+
SetAclResponse,
|
|
1423
|
+
SetAclError,
|
|
1424
|
+
ScalewayOpContext
|
|
1425
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1426
|
+
input: __S(108, __c27, 0) as any as S.Schema<SetAclRequest>,
|
|
1427
|
+
output: __S(50, __c12, 2) as any as S.Schema<SetAclResponse>,
|
|
1428
|
+
errors: [],
|
|
1429
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1430
|
+
protocol: ScalewayProtocol,
|
|
1431
|
+
retry: Retry.Retry,
|
|
1432
|
+
telemetry: TELEMETRY,
|
|
1433
|
+
span: "SetAcl",
|
|
1434
|
+
}));
|
|
1435
|
+
|
|
1436
|
+
export type SetPrivateNetworksObjectStoragePrivateAccessError = ScalewayOpError;
|
|
1437
|
+
/** Set Object Storage private access Private Networks Set the Private Networks associated with the Object Storage private access to enable Object Storage integration for their resources. */
|
|
1438
|
+
export const setPrivateNetworksObjectStoragePrivateAccess: API.OperationMethod<
|
|
1439
|
+
SetPrivateNetworksObjectStoragePrivateAccessRequest,
|
|
1440
|
+
SetPrivateNetworksObjectStoragePrivateAccessResponse,
|
|
1441
|
+
SetPrivateNetworksObjectStoragePrivateAccessError,
|
|
1442
|
+
ScalewayOpContext
|
|
1443
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1444
|
+
input: __S(112, __c28, 0) as any as S.Schema<SetPrivateNetworksObjectStoragePrivateAccessRequest>,
|
|
1445
|
+
output: __S(8, __c2, 0) as any as S.Schema<SetPrivateNetworksObjectStoragePrivateAccessResponse>,
|
|
1446
|
+
errors: [],
|
|
1447
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1448
|
+
protocol: ScalewayProtocol,
|
|
1449
|
+
retry: Retry.Retry,
|
|
1450
|
+
telemetry: TELEMETRY,
|
|
1451
|
+
span: "SetPrivateNetworksObjectStoragePrivateAccess",
|
|
1452
|
+
}));
|
|
1453
|
+
|
|
1454
|
+
export type UpdateIngressRuleError = ScalewayOpError;
|
|
1455
|
+
/** Update an ingress rule Update an ingress rule specified by its ingress rule ID. */
|
|
1456
|
+
export const updateIngressRule: API.OperationMethod<
|
|
1457
|
+
UpdateIngressRuleRequest,
|
|
1458
|
+
IngressRule,
|
|
1459
|
+
UpdateIngressRuleError,
|
|
1460
|
+
ScalewayOpContext
|
|
1461
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1462
|
+
input: __S(124, __c31, 0) as any as S.Schema<UpdateIngressRuleRequest>,
|
|
1463
|
+
output: __S(16, __c4, 0) as any as S.Schema<IngressRule>,
|
|
1464
|
+
errors: [],
|
|
1465
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1466
|
+
protocol: ScalewayProtocol,
|
|
1467
|
+
retry: Retry.Retry,
|
|
1468
|
+
telemetry: TELEMETRY,
|
|
1469
|
+
span: "UpdateIngressRule",
|
|
1470
|
+
}));
|
|
1471
|
+
|
|
1472
|
+
export type UpdatePrivateNetworkError = ScalewayOpError;
|
|
1473
|
+
/** Update Private Network Update parameters (such as name or tags) of an existing Private Network, specified by its Private Network ID. */
|
|
1474
|
+
export const updatePrivateNetwork: API.OperationMethod<
|
|
1475
|
+
UpdatePrivateNetworkRequest,
|
|
1476
|
+
PrivateNetwork,
|
|
1477
|
+
UpdatePrivateNetworkError,
|
|
1478
|
+
ScalewayOpContext
|
|
1479
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1480
|
+
input: __S(132, __c33, 0) as any as S.Schema<UpdatePrivateNetworkRequest>,
|
|
1481
|
+
output: __S(72, __c18, 0) as any as S.Schema<PrivateNetwork>,
|
|
1482
|
+
errors: [],
|
|
1483
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1484
|
+
protocol: ScalewayProtocol,
|
|
1485
|
+
retry: Retry.Retry,
|
|
1486
|
+
telemetry: TELEMETRY,
|
|
1487
|
+
span: "UpdatePrivateNetwork",
|
|
1488
|
+
}));
|
|
1489
|
+
|
|
1490
|
+
export type UpdateRouteError = ScalewayOpError;
|
|
1491
|
+
/** Update Route Update parameters of the specified Route. */
|
|
1492
|
+
export const updateRoute: API.OperationMethod<
|
|
1493
|
+
UpdateRouteRequest,
|
|
1494
|
+
Route,
|
|
1495
|
+
UpdateRouteError,
|
|
1496
|
+
ScalewayOpContext
|
|
1497
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1498
|
+
input: __S(136, __c34, 0) as any as S.Schema<UpdateRouteRequest>,
|
|
1499
|
+
output: __S(120, __c30, 0) as any as S.Schema<Route>,
|
|
1500
|
+
errors: [],
|
|
1501
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1502
|
+
protocol: ScalewayProtocol,
|
|
1503
|
+
retry: Retry.Retry,
|
|
1504
|
+
telemetry: TELEMETRY,
|
|
1505
|
+
span: "UpdateRoute",
|
|
1506
|
+
}));
|
|
1507
|
+
|
|
1508
|
+
export type UpdateVPCError = ScalewayOpError;
|
|
1509
|
+
/** Update VPC Update parameters including name and tags of the specified VPC. */
|
|
1510
|
+
export const updateVPC: API.OperationMethod<
|
|
1511
|
+
UpdateVPCRequest,
|
|
1512
|
+
VPC,
|
|
1513
|
+
UpdateVPCError,
|
|
1514
|
+
ScalewayOpContext
|
|
1515
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1516
|
+
input: __S(140, __c35, 0) as any as S.Schema<UpdateVPCRequest>,
|
|
1517
|
+
output: __S(152, __c38, 0) as any as S.Schema<VPC>,
|
|
1518
|
+
errors: [],
|
|
1519
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1520
|
+
protocol: ScalewayProtocol,
|
|
1521
|
+
retry: Retry.Retry,
|
|
1522
|
+
telemetry: TELEMETRY,
|
|
1523
|
+
span: "UpdateVPC",
|
|
1524
|
+
}));
|
|
1525
|
+
|
|
1526
|
+
export type UpdateVPCConnectorError = ScalewayOpError;
|
|
1527
|
+
/** Update VPC connector Update parameters including name and tags of the specified VPC connector. */
|
|
1528
|
+
export const updateVPCConnector: API.OperationMethod<
|
|
1529
|
+
UpdateVPCConnectorRequest,
|
|
1530
|
+
VPCConnector,
|
|
1531
|
+
UpdateVPCConnectorError,
|
|
1532
|
+
ScalewayOpContext
|
|
1533
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1534
|
+
input: __S(144, __c36, 0) as any as S.Schema<UpdateVPCConnectorRequest>,
|
|
1535
|
+
output: __S(161, __c40, 1) as any as S.Schema<VPCConnector>,
|
|
1536
|
+
errors: [],
|
|
1537
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1538
|
+
protocol: ScalewayProtocol,
|
|
1539
|
+
retry: Retry.Retry,
|
|
1540
|
+
telemetry: TELEMETRY,
|
|
1541
|
+
span: "UpdateVPCConnector",
|
|
1542
|
+
}));
|
|
1543
|
+
|
|
1544
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
1545
|
+
function __c0(j: number): any {
|
|
1546
|
+
switch (j) {
|
|
1547
|
+
case 0:
|
|
1548
|
+
return S.suspend(() =>
|
|
1549
|
+
S.Struct({
|
|
1550
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1551
|
+
vpc_id: S.String.pipe(T.Label()),
|
|
1552
|
+
private_network_id: S.String,
|
|
1553
|
+
}).pipe(
|
|
1554
|
+
T.Http({
|
|
1555
|
+
method: "POST",
|
|
1556
|
+
uri: "/vpc/v2/regions/{region}/object-storage-private-access/{vpc_id}/private-networks",
|
|
1557
|
+
code: 200,
|
|
1558
|
+
baseUrl: "https://api.scaleway.com",
|
|
1559
|
+
}),
|
|
1560
|
+
),
|
|
1561
|
+
).annotate({ identifier: "AddPrivateNetworkObjectStoragePrivateAccessRequest" });
|
|
1562
|
+
}
|
|
1563
|
+
}
|
|
1564
|
+
function __c1(j: number): any {
|
|
1565
|
+
switch (j) {
|
|
1566
|
+
case 0:
|
|
1567
|
+
return S.Array(S.String);
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
function __c2(j: number): any {
|
|
1571
|
+
switch (j) {
|
|
1572
|
+
case 0:
|
|
1573
|
+
return S.suspend(() =>
|
|
1574
|
+
S.Struct({
|
|
1575
|
+
vpc_id: S.optional(S.String),
|
|
1576
|
+
private_network_ids: S.optional(__S(4, __c1, 0)),
|
|
1577
|
+
}),
|
|
1578
|
+
).annotate({ identifier: "AddPrivateNetworkObjectStoragePrivateAccessResponse" });
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
function __c3(j: number): any {
|
|
1582
|
+
switch (j) {
|
|
1583
|
+
case 0:
|
|
1584
|
+
return S.suspend(() =>
|
|
1585
|
+
S.Struct({
|
|
1586
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1587
|
+
vpc_id: S.String,
|
|
1588
|
+
source: S.String,
|
|
1589
|
+
nexthop_resource_ip: S.String,
|
|
1590
|
+
nexthop_private_network_id: S.String,
|
|
1591
|
+
description: S.optional(S.NullOr(S.String)),
|
|
1592
|
+
tags: S.optional(__S(4, __c1, 0)),
|
|
1593
|
+
}).pipe(
|
|
1594
|
+
T.Http({
|
|
1595
|
+
method: "POST",
|
|
1596
|
+
uri: "/vpc/v2/regions/{region}/ingress-rules",
|
|
1597
|
+
code: 200,
|
|
1598
|
+
baseUrl: "https://api.scaleway.com",
|
|
1599
|
+
}),
|
|
1600
|
+
),
|
|
1601
|
+
).annotate({ identifier: "CreateIngressRuleRequest" });
|
|
1602
|
+
}
|
|
1603
|
+
}
|
|
1604
|
+
function __c4(j: number): any {
|
|
1605
|
+
switch (j) {
|
|
1606
|
+
case 0:
|
|
1607
|
+
return S.suspend(() =>
|
|
1608
|
+
S.Struct({
|
|
1609
|
+
id: S.optional(S.String),
|
|
1610
|
+
srn: S.optional(S.String),
|
|
1611
|
+
vpc_id: S.optional(S.String),
|
|
1612
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
1613
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
1614
|
+
is_ipv6: S.optional(S.Boolean),
|
|
1615
|
+
source: S.optional(S.String),
|
|
1616
|
+
nexthop_resource_ip: S.optional(S.String),
|
|
1617
|
+
nexthop_private_network_id: S.optional(S.String),
|
|
1618
|
+
description: S.optional(S.NullOr(S.String)),
|
|
1619
|
+
tags: S.optional(__S(4, __c1, 0)),
|
|
1620
|
+
organization_id: S.optional(S.String),
|
|
1621
|
+
project_id: S.optional(S.String),
|
|
1622
|
+
region: S.optional(S.String),
|
|
1623
|
+
}),
|
|
1624
|
+
).annotate({ identifier: "IngressRule" });
|
|
1625
|
+
}
|
|
1626
|
+
}
|
|
1627
|
+
function __c5(j: number): any {
|
|
1628
|
+
switch (j) {
|
|
1629
|
+
case 0:
|
|
1630
|
+
return S.suspend(() =>
|
|
1631
|
+
S.Struct({
|
|
1632
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1633
|
+
vpc_id: S.String.pipe(T.Label()),
|
|
1634
|
+
}).pipe(
|
|
1635
|
+
T.Http({
|
|
1636
|
+
method: "DELETE",
|
|
1637
|
+
uri: "/vpc/v2/regions/{region}/vpcs/{vpc_id}",
|
|
1638
|
+
code: 200,
|
|
1639
|
+
baseUrl: "https://api.scaleway.com",
|
|
1640
|
+
}),
|
|
1641
|
+
),
|
|
1642
|
+
).annotate({ identifier: "DeleteVPCRequest" });
|
|
1643
|
+
}
|
|
1644
|
+
}
|
|
1645
|
+
function __c6(j: number): any {
|
|
1646
|
+
switch (j) {
|
|
1647
|
+
case 0:
|
|
1648
|
+
return S.suspend(() =>
|
|
1649
|
+
S.Struct({
|
|
1650
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1651
|
+
vpc_connector_id: S.String.pipe(T.Label()),
|
|
1652
|
+
}).pipe(
|
|
1653
|
+
T.Http({
|
|
1654
|
+
method: "DELETE",
|
|
1655
|
+
uri: "/vpc/v2/regions/{region}/vpc-connectors/{vpc_connector_id}",
|
|
1656
|
+
code: 200,
|
|
1657
|
+
baseUrl: "https://api.scaleway.com",
|
|
1658
|
+
}),
|
|
1659
|
+
),
|
|
1660
|
+
).annotate({ identifier: "DeleteVPCConnectorRequest" });
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
function __c7(j: number): any {
|
|
1664
|
+
switch (j) {
|
|
1665
|
+
case 0:
|
|
1666
|
+
return S.suspend(() =>
|
|
1667
|
+
S.Struct({
|
|
1668
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1669
|
+
vpc_id: S.String.pipe(T.Label()),
|
|
1670
|
+
}).pipe(
|
|
1671
|
+
T.Http({
|
|
1672
|
+
method: "POST",
|
|
1673
|
+
uri: "/vpc/v2/regions/{region}/object-storage-private-access/{vpc_id}/disable",
|
|
1674
|
+
code: 200,
|
|
1675
|
+
baseUrl: "https://api.scaleway.com",
|
|
1676
|
+
}),
|
|
1677
|
+
),
|
|
1678
|
+
).annotate({ identifier: "DisableObjectStoragePrivateAccessRequest" });
|
|
1679
|
+
}
|
|
1680
|
+
}
|
|
1681
|
+
function __c8(j: number): any {
|
|
1682
|
+
switch (j) {
|
|
1683
|
+
case 0:
|
|
1684
|
+
return S.suspend(() =>
|
|
1685
|
+
S.Struct({
|
|
1686
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1687
|
+
private_network_id: S.String.pipe(T.Label()),
|
|
1688
|
+
}).pipe(
|
|
1689
|
+
T.Http({
|
|
1690
|
+
method: "POST",
|
|
1691
|
+
uri: "/vpc/v2/regions/{region}/private-networks/{private_network_id}/enable-dhcp",
|
|
1692
|
+
code: 200,
|
|
1693
|
+
baseUrl: "https://api.scaleway.com",
|
|
1694
|
+
}),
|
|
1695
|
+
),
|
|
1696
|
+
).annotate({ identifier: "EnableDHCPRequest" });
|
|
1697
|
+
}
|
|
1698
|
+
}
|
|
1699
|
+
function __c9(j: number): any {
|
|
1700
|
+
switch (j) {
|
|
1701
|
+
case 0:
|
|
1702
|
+
return S.suspend(() =>
|
|
1703
|
+
S.Struct({
|
|
1704
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1705
|
+
vpc_id: S.String.pipe(T.Label()),
|
|
1706
|
+
private_network_ids: S.optional(__S(4, __c1, 0)),
|
|
1707
|
+
}).pipe(
|
|
1708
|
+
T.Http({
|
|
1709
|
+
method: "POST",
|
|
1710
|
+
uri: "/vpc/v2/regions/{region}/object-storage-private-access/{vpc_id}/enable",
|
|
1711
|
+
code: 200,
|
|
1712
|
+
baseUrl: "https://api.scaleway.com",
|
|
1713
|
+
}),
|
|
1714
|
+
),
|
|
1715
|
+
).annotate({ identifier: "EnableObjectStoragePrivateAccessRequest" });
|
|
1716
|
+
}
|
|
1717
|
+
}
|
|
1718
|
+
function __c10(j: number): any {
|
|
1719
|
+
switch (j) {
|
|
1720
|
+
case 0:
|
|
1721
|
+
return S.suspend(() =>
|
|
1722
|
+
S.Struct({
|
|
1723
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1724
|
+
vpc_id: S.String.pipe(T.Label()),
|
|
1725
|
+
}).pipe(
|
|
1726
|
+
T.Http({
|
|
1727
|
+
method: "POST",
|
|
1728
|
+
uri: "/vpc/v2/regions/{region}/vpcs/{vpc_id}/enable-routing",
|
|
1729
|
+
code: 200,
|
|
1730
|
+
baseUrl: "https://api.scaleway.com",
|
|
1731
|
+
}),
|
|
1732
|
+
),
|
|
1733
|
+
).annotate({ identifier: "EnableRoutingRequest" });
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1736
|
+
function __c11(j: number): any {
|
|
1737
|
+
switch (j) {
|
|
1738
|
+
case 0:
|
|
1739
|
+
return S.suspend(() =>
|
|
1740
|
+
S.Struct({
|
|
1741
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1742
|
+
vpc_id: S.String.pipe(T.Label()),
|
|
1743
|
+
is_ipv6: S.Boolean.pipe(T.Query()),
|
|
1744
|
+
}).pipe(
|
|
1745
|
+
T.Http({
|
|
1746
|
+
method: "GET",
|
|
1747
|
+
uri: "/vpc/v2/regions/{region}/vpcs/{vpc_id}/acl-rules",
|
|
1748
|
+
code: 200,
|
|
1749
|
+
baseUrl: "https://api.scaleway.com",
|
|
1750
|
+
}),
|
|
1751
|
+
),
|
|
1752
|
+
).annotate({ identifier: "GetAclRequest" });
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
function __c12(j: number): any {
|
|
1756
|
+
switch (j) {
|
|
1757
|
+
case 0:
|
|
1758
|
+
return S.suspend(() =>
|
|
1759
|
+
S.Struct({
|
|
1760
|
+
protocol: S.String,
|
|
1761
|
+
source: S.String,
|
|
1762
|
+
src_port_low: S.Number,
|
|
1763
|
+
src_port_high: S.Number,
|
|
1764
|
+
destination: S.String,
|
|
1765
|
+
dst_port_low: S.Number,
|
|
1766
|
+
dst_port_high: S.Number,
|
|
1767
|
+
action: S.String,
|
|
1768
|
+
description: S.optional(S.NullOr(S.String)),
|
|
1769
|
+
}),
|
|
1770
|
+
).annotate({ identifier: "AclRule" });
|
|
1771
|
+
case 1:
|
|
1772
|
+
return S.Array(__S(48, __c12, 0));
|
|
1773
|
+
case 2:
|
|
1774
|
+
return S.suspend(() =>
|
|
1775
|
+
S.Struct({
|
|
1776
|
+
rules: S.optional(__S(49, __c12, 1)),
|
|
1777
|
+
default_policy: S.optional(S.String),
|
|
1778
|
+
}),
|
|
1779
|
+
).annotate({ identifier: "GetAclResponse" });
|
|
1780
|
+
}
|
|
1781
|
+
}
|
|
1782
|
+
function __c13(j: number): any {
|
|
1783
|
+
switch (j) {
|
|
1784
|
+
case 0:
|
|
1785
|
+
return S.suspend(() =>
|
|
1786
|
+
S.Struct({
|
|
1787
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1788
|
+
rule_id: S.String.pipe(T.Label()),
|
|
1789
|
+
}).pipe(
|
|
1790
|
+
T.Http({
|
|
1791
|
+
method: "GET",
|
|
1792
|
+
uri: "/vpc/v2/regions/{region}/ingress-rules/{rule_id}",
|
|
1793
|
+
code: 200,
|
|
1794
|
+
baseUrl: "https://api.scaleway.com",
|
|
1795
|
+
}),
|
|
1796
|
+
),
|
|
1797
|
+
).annotate({ identifier: "GetIngressRuleRequest" });
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
function __c14(j: number): any {
|
|
1801
|
+
switch (j) {
|
|
1802
|
+
case 0:
|
|
1803
|
+
return S.suspend(() =>
|
|
1804
|
+
S.Struct({
|
|
1805
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1806
|
+
private_network_id: S.String.pipe(T.Label()),
|
|
1807
|
+
}).pipe(
|
|
1808
|
+
T.Http({
|
|
1809
|
+
method: "GET",
|
|
1810
|
+
uri: "/vpc/v2/regions/{region}/private-networks/{private_network_id}",
|
|
1811
|
+
code: 200,
|
|
1812
|
+
baseUrl: "https://api.scaleway.com",
|
|
1813
|
+
}),
|
|
1814
|
+
),
|
|
1815
|
+
).annotate({ identifier: "GetPrivateNetworkRequest" });
|
|
1816
|
+
}
|
|
1817
|
+
}
|
|
1818
|
+
function __c15(j: number): any {
|
|
1819
|
+
switch (j) {
|
|
1820
|
+
case 0:
|
|
1821
|
+
return S.suspend(() =>
|
|
1822
|
+
S.Struct({
|
|
1823
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1824
|
+
route_id: S.String.pipe(T.Label()),
|
|
1825
|
+
}).pipe(
|
|
1826
|
+
T.Http({
|
|
1827
|
+
method: "GET",
|
|
1828
|
+
uri: "/vpc/v2/regions/{region}/routes/{route_id}",
|
|
1829
|
+
code: 200,
|
|
1830
|
+
baseUrl: "https://api.scaleway.com",
|
|
1831
|
+
}),
|
|
1832
|
+
),
|
|
1833
|
+
).annotate({ identifier: "GetRouteRequest" });
|
|
1834
|
+
}
|
|
1835
|
+
}
|
|
1836
|
+
function __c16(j: number): any {
|
|
1837
|
+
switch (j) {
|
|
1838
|
+
case 0:
|
|
1839
|
+
return S.suspend(() =>
|
|
1840
|
+
S.Struct({
|
|
1841
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1842
|
+
name: S.String,
|
|
1843
|
+
project_id: S.String,
|
|
1844
|
+
tags: S.optional(__S(4, __c1, 0)),
|
|
1845
|
+
subnets: S.optional(__S(4, __c1, 0)),
|
|
1846
|
+
vpc_id: S.optional(S.NullOr(S.String)),
|
|
1847
|
+
default_route_propagation_enabled: S.optional(S.Boolean),
|
|
1848
|
+
}).pipe(
|
|
1849
|
+
T.Http({
|
|
1850
|
+
method: "POST",
|
|
1851
|
+
uri: "/vpc/v2/regions/{region}/private-networks",
|
|
1852
|
+
code: 200,
|
|
1853
|
+
baseUrl: "https://api.scaleway.com",
|
|
1854
|
+
}),
|
|
1855
|
+
),
|
|
1856
|
+
).annotate({ identifier: "CreatePrivateNetworkRequest" });
|
|
1857
|
+
}
|
|
1858
|
+
}
|
|
1859
|
+
function __c17(j: number): any {
|
|
1860
|
+
switch (j) {
|
|
1861
|
+
case 0:
|
|
1862
|
+
return S.suspend(() =>
|
|
1863
|
+
S.Struct({
|
|
1864
|
+
id: S.optional(S.String),
|
|
1865
|
+
srn: S.optional(S.String),
|
|
1866
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
1867
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
1868
|
+
subnet: S.optional(S.String),
|
|
1869
|
+
project_id: S.optional(S.String),
|
|
1870
|
+
private_network_id: S.optional(S.String),
|
|
1871
|
+
vpc_id: S.optional(S.String),
|
|
1872
|
+
region: S.optional(S.String),
|
|
1873
|
+
}),
|
|
1874
|
+
).annotate({ identifier: "Subnet" });
|
|
1875
|
+
case 1:
|
|
1876
|
+
return S.Array(__S(68, __c17, 0));
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
function __c18(j: number): any {
|
|
1880
|
+
switch (j) {
|
|
1881
|
+
case 0:
|
|
1882
|
+
return S.suspend(() =>
|
|
1883
|
+
S.Struct({
|
|
1884
|
+
id: S.optional(S.String),
|
|
1885
|
+
srn: S.optional(S.String),
|
|
1886
|
+
name: S.optional(S.String),
|
|
1887
|
+
organization_id: S.optional(S.String),
|
|
1888
|
+
project_id: S.optional(S.String),
|
|
1889
|
+
region: S.optional(S.String),
|
|
1890
|
+
tags: S.optional(__S(4, __c1, 0)),
|
|
1891
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
1892
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
1893
|
+
subnets: S.optional(__S(69, __c17, 1)),
|
|
1894
|
+
vpc_id: S.optional(S.String),
|
|
1895
|
+
dhcp_enabled: S.optional(S.Boolean),
|
|
1896
|
+
default_route_propagation_enabled: S.optional(S.Boolean),
|
|
1897
|
+
has_object_storage_private_access: S.optional(S.Boolean),
|
|
1898
|
+
}),
|
|
1899
|
+
).annotate({ identifier: "PrivateNetwork" });
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
function __c19(j: number): any {
|
|
1903
|
+
switch (j) {
|
|
1904
|
+
case 0:
|
|
1905
|
+
return S.suspend(() =>
|
|
1906
|
+
S.Struct({
|
|
1907
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1908
|
+
vpc_id: S.String.pipe(T.Label()),
|
|
1909
|
+
}).pipe(
|
|
1910
|
+
T.Http({
|
|
1911
|
+
method: "GET",
|
|
1912
|
+
uri: "/vpc/v2/regions/{region}/vpcs/{vpc_id}",
|
|
1913
|
+
code: 200,
|
|
1914
|
+
baseUrl: "https://api.scaleway.com",
|
|
1915
|
+
}),
|
|
1916
|
+
),
|
|
1917
|
+
).annotate({ identifier: "GetVPCRequest" });
|
|
1918
|
+
}
|
|
1919
|
+
}
|
|
1920
|
+
function __c20(j: number): any {
|
|
1921
|
+
switch (j) {
|
|
1922
|
+
case 0:
|
|
1923
|
+
return S.suspend(() =>
|
|
1924
|
+
S.Struct({
|
|
1925
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1926
|
+
vpc_connector_id: S.String.pipe(T.Label()),
|
|
1927
|
+
}).pipe(
|
|
1928
|
+
T.Http({
|
|
1929
|
+
method: "GET",
|
|
1930
|
+
uri: "/vpc/v2/regions/{region}/vpc-connectors/{vpc_connector_id}",
|
|
1931
|
+
code: 200,
|
|
1932
|
+
baseUrl: "https://api.scaleway.com",
|
|
1933
|
+
}),
|
|
1934
|
+
),
|
|
1935
|
+
).annotate({ identifier: "GetVPCConnectorRequest" });
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
function __c21(j: number): any {
|
|
1939
|
+
switch (j) {
|
|
1940
|
+
case 0:
|
|
1941
|
+
return S.suspend(() =>
|
|
1942
|
+
S.Struct({
|
|
1943
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1944
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
1945
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
1946
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
1947
|
+
vpc_id: S.optional(S.String.pipe(T.Query())),
|
|
1948
|
+
nexthop_resource_ip: S.optional(S.String.pipe(T.Query())),
|
|
1949
|
+
nexthop_private_network_id: S.optional(S.String.pipe(T.Query())),
|
|
1950
|
+
is_ipv6: S.optional(S.Boolean.pipe(T.Query())),
|
|
1951
|
+
tags: S.optional(__S(4, __c1, 0).pipe(T.Query())),
|
|
1952
|
+
organization_id: S.optional(S.String.pipe(T.Query())),
|
|
1953
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
1954
|
+
}).pipe(
|
|
1955
|
+
T.Http({
|
|
1956
|
+
method: "GET",
|
|
1957
|
+
uri: "/vpc/v2/regions/{region}/ingress-rules",
|
|
1958
|
+
code: 200,
|
|
1959
|
+
baseUrl: "https://api.scaleway.com",
|
|
1960
|
+
}),
|
|
1961
|
+
),
|
|
1962
|
+
).annotate({ identifier: "ListIngressRulesRequest" });
|
|
1963
|
+
case 1:
|
|
1964
|
+
return S.Array(__S(16, __c4, 0));
|
|
1965
|
+
case 2:
|
|
1966
|
+
return S.suspend(() =>
|
|
1967
|
+
S.Struct({
|
|
1968
|
+
rules: __S(85, __c21, 1),
|
|
1969
|
+
total_count: S.optional(S.Number),
|
|
1970
|
+
}),
|
|
1971
|
+
).annotate({ identifier: "ListIngressRulesResponse" });
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
function __c22(j: number): any {
|
|
1975
|
+
switch (j) {
|
|
1976
|
+
case 0:
|
|
1977
|
+
return S.suspend(() =>
|
|
1978
|
+
S.Struct({
|
|
1979
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1980
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
1981
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
1982
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
1983
|
+
name: S.optional(S.String.pipe(T.Query())),
|
|
1984
|
+
tags: S.optional(__S(4, __c1, 0).pipe(T.Query())),
|
|
1985
|
+
organization_id: S.optional(S.String.pipe(T.Query())),
|
|
1986
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
1987
|
+
private_network_ids: S.optional(__S(4, __c1, 0).pipe(T.Query())),
|
|
1988
|
+
vpc_id: S.optional(S.String.pipe(T.Query())),
|
|
1989
|
+
dhcp_enabled: S.optional(S.Boolean.pipe(T.Query())),
|
|
1990
|
+
object_storage_private_access_enabled: S.optional(S.Boolean.pipe(T.Query())),
|
|
1991
|
+
}).pipe(
|
|
1992
|
+
T.Http({
|
|
1993
|
+
method: "GET",
|
|
1994
|
+
uri: "/vpc/v2/regions/{region}/private-networks",
|
|
1995
|
+
code: 200,
|
|
1996
|
+
baseUrl: "https://api.scaleway.com",
|
|
1997
|
+
}),
|
|
1998
|
+
),
|
|
1999
|
+
).annotate({ identifier: "ListPrivateNetworksRequest" });
|
|
2000
|
+
case 1:
|
|
2001
|
+
return S.Array(__S(72, __c18, 0));
|
|
2002
|
+
case 2:
|
|
2003
|
+
return S.suspend(() =>
|
|
2004
|
+
S.Struct({
|
|
2005
|
+
private_networks: __S(89, __c22, 1),
|
|
2006
|
+
total_count: S.optional(S.Number),
|
|
2007
|
+
}),
|
|
2008
|
+
).annotate({ identifier: "ListPrivateNetworksResponse" });
|
|
2009
|
+
}
|
|
2010
|
+
}
|
|
2011
|
+
function __c23(j: number): any {
|
|
2012
|
+
switch (j) {
|
|
2013
|
+
case 0:
|
|
2014
|
+
return S.suspend(() =>
|
|
2015
|
+
S.Struct({
|
|
2016
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
2017
|
+
vpc_connector_id: S.String.pipe(T.Label()),
|
|
2018
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
2019
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
2020
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
2021
|
+
}).pipe(
|
|
2022
|
+
T.Http({
|
|
2023
|
+
method: "GET",
|
|
2024
|
+
uri: "/vpc/v2/regions/{region}/vpc-connectors/{vpc_connector_id}/subnet-overlaps",
|
|
2025
|
+
code: 200,
|
|
2026
|
+
baseUrl: "https://api.scaleway.com",
|
|
2027
|
+
}),
|
|
2028
|
+
),
|
|
2029
|
+
).annotate({ identifier: "ListSubnetOverlapsRequest" });
|
|
2030
|
+
case 1:
|
|
2031
|
+
return S.suspend(() =>
|
|
2032
|
+
S.Struct({
|
|
2033
|
+
subnet_id: S.optional(S.String),
|
|
2034
|
+
subnet: S.optional(S.String),
|
|
2035
|
+
target_subnet_id: S.optional(S.String),
|
|
2036
|
+
target_subnet: S.optional(S.String),
|
|
2037
|
+
}),
|
|
2038
|
+
).annotate({ identifier: "ListSubnetOverlapsResponseSubnetOverlap" });
|
|
2039
|
+
case 2:
|
|
2040
|
+
return S.Array(__S(93, __c23, 1));
|
|
2041
|
+
case 3:
|
|
2042
|
+
return S.suspend(() =>
|
|
2043
|
+
S.Struct({
|
|
2044
|
+
subnet_overlaps: __S(94, __c23, 2),
|
|
2045
|
+
total_count: S.optional(S.Number),
|
|
2046
|
+
}),
|
|
2047
|
+
).annotate({ identifier: "ListSubnetOverlapsResponse" });
|
|
2048
|
+
}
|
|
2049
|
+
}
|
|
2050
|
+
function __c24(j: number): any {
|
|
2051
|
+
switch (j) {
|
|
2052
|
+
case 0:
|
|
2053
|
+
return S.suspend(() =>
|
|
2054
|
+
S.Struct({
|
|
2055
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
2056
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
2057
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
2058
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
2059
|
+
organization_id: S.optional(S.String.pipe(T.Query())),
|
|
2060
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
2061
|
+
subnet_ids: S.optional(__S(4, __c1, 0).pipe(T.Query())),
|
|
2062
|
+
vpc_id: S.optional(S.String.pipe(T.Query())),
|
|
2063
|
+
}).pipe(
|
|
2064
|
+
T.Http({
|
|
2065
|
+
method: "GET",
|
|
2066
|
+
uri: "/vpc/v2/regions/{region}/subnets",
|
|
2067
|
+
code: 200,
|
|
2068
|
+
baseUrl: "https://api.scaleway.com",
|
|
2069
|
+
}),
|
|
2070
|
+
),
|
|
2071
|
+
).annotate({ identifier: "ListSubnetsRequest" });
|
|
2072
|
+
case 1:
|
|
2073
|
+
return S.suspend(() =>
|
|
2074
|
+
S.Struct({
|
|
2075
|
+
subnets: __S(69, __c17, 1),
|
|
2076
|
+
total_count: S.optional(S.Number),
|
|
2077
|
+
}),
|
|
2078
|
+
).annotate({ identifier: "ListSubnetsResponse" });
|
|
2079
|
+
}
|
|
2080
|
+
}
|
|
2081
|
+
function __c25(j: number): any {
|
|
2082
|
+
switch (j) {
|
|
2083
|
+
case 0:
|
|
2084
|
+
return S.suspend(() =>
|
|
2085
|
+
S.Struct({
|
|
2086
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
2087
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
2088
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
2089
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
2090
|
+
name: S.optional(S.String.pipe(T.Query())),
|
|
2091
|
+
tags: S.optional(__S(4, __c1, 0).pipe(T.Query())),
|
|
2092
|
+
organization_id: S.optional(S.String.pipe(T.Query())),
|
|
2093
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
2094
|
+
vpc_id: S.optional(S.String.pipe(T.Query())),
|
|
2095
|
+
target_vpc_id: S.optional(S.String.pipe(T.Query())),
|
|
2096
|
+
status: S.optional(S.String.pipe(T.Query())),
|
|
2097
|
+
}).pipe(
|
|
2098
|
+
T.Http({
|
|
2099
|
+
method: "GET",
|
|
2100
|
+
uri: "/vpc/v2/regions/{region}/vpc-connectors",
|
|
2101
|
+
code: 200,
|
|
2102
|
+
baseUrl: "https://api.scaleway.com",
|
|
2103
|
+
}),
|
|
2104
|
+
),
|
|
2105
|
+
).annotate({ identifier: "ListVPCConnectorsRequest" });
|
|
2106
|
+
case 1:
|
|
2107
|
+
return S.Array(__S(161, __c40, 1));
|
|
2108
|
+
case 2:
|
|
2109
|
+
return S.suspend(() =>
|
|
2110
|
+
S.Struct({
|
|
2111
|
+
vpc_connectors: __S(101, __c25, 1),
|
|
2112
|
+
total_count: S.optional(S.Number),
|
|
2113
|
+
}),
|
|
2114
|
+
).annotate({ identifier: "ListVPCConnectorsResponse" });
|
|
2115
|
+
}
|
|
2116
|
+
}
|
|
2117
|
+
function __c26(j: number): any {
|
|
2118
|
+
switch (j) {
|
|
2119
|
+
case 0:
|
|
2120
|
+
return S.suspend(() =>
|
|
2121
|
+
S.Struct({
|
|
2122
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
2123
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
2124
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
2125
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
2126
|
+
name: S.optional(S.String.pipe(T.Query())),
|
|
2127
|
+
tags: S.optional(__S(4, __c1, 0).pipe(T.Query())),
|
|
2128
|
+
organization_id: S.optional(S.String.pipe(T.Query())),
|
|
2129
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
2130
|
+
is_default: S.optional(S.Boolean.pipe(T.Query())),
|
|
2131
|
+
routing_enabled: S.optional(S.Boolean.pipe(T.Query())),
|
|
2132
|
+
object_storage_private_access_enabled: S.optional(S.Boolean.pipe(T.Query())),
|
|
2133
|
+
}).pipe(
|
|
2134
|
+
T.Http({
|
|
2135
|
+
method: "GET",
|
|
2136
|
+
uri: "/vpc/v2/regions/{region}/vpcs",
|
|
2137
|
+
code: 200,
|
|
2138
|
+
baseUrl: "https://api.scaleway.com",
|
|
2139
|
+
}),
|
|
2140
|
+
),
|
|
2141
|
+
).annotate({ identifier: "ListVPCsRequest" });
|
|
2142
|
+
case 1:
|
|
2143
|
+
return S.Array(__S(152, __c38, 0));
|
|
2144
|
+
case 2:
|
|
2145
|
+
return S.suspend(() =>
|
|
2146
|
+
S.Struct({
|
|
2147
|
+
vpcs: __S(105, __c26, 1),
|
|
2148
|
+
total_count: S.optional(S.Number),
|
|
2149
|
+
}),
|
|
2150
|
+
).annotate({ identifier: "ListVPCsResponse" });
|
|
2151
|
+
}
|
|
2152
|
+
}
|
|
2153
|
+
function __c27(j: number): any {
|
|
2154
|
+
switch (j) {
|
|
2155
|
+
case 0:
|
|
2156
|
+
return S.suspend(() =>
|
|
2157
|
+
S.Struct({
|
|
2158
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
2159
|
+
vpc_id: S.String.pipe(T.Label()),
|
|
2160
|
+
rules: __S(49, __c12, 1),
|
|
2161
|
+
is_ipv6: S.Boolean,
|
|
2162
|
+
default_policy: S.String,
|
|
2163
|
+
}).pipe(
|
|
2164
|
+
T.Http({
|
|
2165
|
+
method: "PUT",
|
|
2166
|
+
uri: "/vpc/v2/regions/{region}/vpcs/{vpc_id}/acl-rules",
|
|
2167
|
+
code: 200,
|
|
2168
|
+
baseUrl: "https://api.scaleway.com",
|
|
2169
|
+
}),
|
|
2170
|
+
),
|
|
2171
|
+
).annotate({ identifier: "SetAclRequest" });
|
|
2172
|
+
}
|
|
2173
|
+
}
|
|
2174
|
+
function __c28(j: number): any {
|
|
2175
|
+
switch (j) {
|
|
2176
|
+
case 0:
|
|
2177
|
+
return S.suspend(() =>
|
|
2178
|
+
S.Struct({
|
|
2179
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
2180
|
+
vpc_id: S.String.pipe(T.Label()),
|
|
2181
|
+
private_network_ids: __S(4, __c1, 0),
|
|
2182
|
+
}).pipe(
|
|
2183
|
+
T.Http({
|
|
2184
|
+
method: "PUT",
|
|
2185
|
+
uri: "/vpc/v2/regions/{region}/object-storage-private-access/{vpc_id}/private-networks",
|
|
2186
|
+
code: 200,
|
|
2187
|
+
baseUrl: "https://api.scaleway.com",
|
|
2188
|
+
}),
|
|
2189
|
+
),
|
|
2190
|
+
).annotate({ identifier: "SetPrivateNetworksObjectStoragePrivateAccessRequest" });
|
|
2191
|
+
}
|
|
2192
|
+
}
|
|
2193
|
+
function __c29(j: number): any {
|
|
2194
|
+
switch (j) {
|
|
2195
|
+
case 0:
|
|
2196
|
+
return S.suspend(() =>
|
|
2197
|
+
S.Struct({
|
|
2198
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
2199
|
+
description: S.optional(S.String),
|
|
2200
|
+
tags: S.optional(__S(4, __c1, 0)),
|
|
2201
|
+
vpc_id: S.optional(S.String),
|
|
2202
|
+
destination: S.optional(S.String),
|
|
2203
|
+
nexthop_resource_id: S.optional(S.NullOr(S.String)),
|
|
2204
|
+
nexthop_private_network_id: S.optional(S.NullOr(S.String)),
|
|
2205
|
+
nexthop_vpc_connector_id: S.optional(S.NullOr(S.String)),
|
|
2206
|
+
}).pipe(
|
|
2207
|
+
T.Http({
|
|
2208
|
+
method: "POST",
|
|
2209
|
+
uri: "/vpc/v2/regions/{region}/routes",
|
|
2210
|
+
code: 200,
|
|
2211
|
+
baseUrl: "https://api.scaleway.com",
|
|
2212
|
+
}),
|
|
2213
|
+
),
|
|
2214
|
+
).annotate({ identifier: "CreateRouteRequest" });
|
|
2215
|
+
}
|
|
2216
|
+
}
|
|
2217
|
+
function __c30(j: number): any {
|
|
2218
|
+
switch (j) {
|
|
2219
|
+
case 0:
|
|
2220
|
+
return S.suspend(() =>
|
|
2221
|
+
S.Struct({
|
|
2222
|
+
id: S.optional(S.String),
|
|
2223
|
+
srn: S.optional(S.String),
|
|
2224
|
+
description: S.optional(S.String),
|
|
2225
|
+
tags: S.optional(__S(4, __c1, 0)),
|
|
2226
|
+
vpc_id: S.optional(S.String),
|
|
2227
|
+
destination: S.optional(S.String),
|
|
2228
|
+
nexthop_resource_id: S.optional(S.NullOr(S.String)),
|
|
2229
|
+
nexthop_private_network_id: S.optional(S.NullOr(S.String)),
|
|
2230
|
+
nexthop_vpc_connector_id: S.optional(S.NullOr(S.String)),
|
|
2231
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
2232
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
2233
|
+
is_read_only: S.optional(S.Boolean),
|
|
2234
|
+
type: S.optional(S.String),
|
|
2235
|
+
region: S.optional(S.String),
|
|
2236
|
+
}),
|
|
2237
|
+
).annotate({ identifier: "Route" });
|
|
2238
|
+
}
|
|
2239
|
+
}
|
|
2240
|
+
function __c31(j: number): any {
|
|
2241
|
+
switch (j) {
|
|
2242
|
+
case 0:
|
|
2243
|
+
return S.suspend(() =>
|
|
2244
|
+
S.Struct({
|
|
2245
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
2246
|
+
rule_id: S.String.pipe(T.Label()),
|
|
2247
|
+
source: S.optional(S.NullOr(S.String)),
|
|
2248
|
+
nexthop_resource_ip: S.optional(S.NullOr(S.String)),
|
|
2249
|
+
nexthop_private_network_id: S.optional(S.NullOr(S.String)),
|
|
2250
|
+
description: S.optional(S.NullOr(S.String)),
|
|
2251
|
+
tags: S.optional(S.NullOr(__S(128, __c32, 0))),
|
|
2252
|
+
}).pipe(
|
|
2253
|
+
T.Http({
|
|
2254
|
+
method: "PATCH",
|
|
2255
|
+
uri: "/vpc/v2/regions/{region}/ingress-rules/{rule_id}",
|
|
2256
|
+
code: 200,
|
|
2257
|
+
baseUrl: "https://api.scaleway.com",
|
|
2258
|
+
}),
|
|
2259
|
+
),
|
|
2260
|
+
).annotate({ identifier: "UpdateIngressRuleRequest" });
|
|
2261
|
+
}
|
|
2262
|
+
}
|
|
2263
|
+
function __c32(j: number): any {
|
|
2264
|
+
switch (j) {
|
|
2265
|
+
case 0:
|
|
2266
|
+
return S.Array(S.Unknown);
|
|
2267
|
+
}
|
|
2268
|
+
}
|
|
2269
|
+
function __c33(j: number): any {
|
|
2270
|
+
switch (j) {
|
|
2271
|
+
case 0:
|
|
2272
|
+
return S.suspend(() =>
|
|
2273
|
+
S.Struct({
|
|
2274
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
2275
|
+
private_network_id: S.String.pipe(T.Label()),
|
|
2276
|
+
name: S.optional(S.NullOr(S.String)),
|
|
2277
|
+
tags: S.optional(S.NullOr(__S(128, __c32, 0))),
|
|
2278
|
+
default_route_propagation_enabled: S.optional(S.NullOr(S.Boolean)),
|
|
2279
|
+
}).pipe(
|
|
2280
|
+
T.Http({
|
|
2281
|
+
method: "PATCH",
|
|
2282
|
+
uri: "/vpc/v2/regions/{region}/private-networks/{private_network_id}",
|
|
2283
|
+
code: 200,
|
|
2284
|
+
baseUrl: "https://api.scaleway.com",
|
|
2285
|
+
}),
|
|
2286
|
+
),
|
|
2287
|
+
).annotate({ identifier: "UpdatePrivateNetworkRequest" });
|
|
2288
|
+
}
|
|
2289
|
+
}
|
|
2290
|
+
function __c34(j: number): any {
|
|
2291
|
+
switch (j) {
|
|
2292
|
+
case 0:
|
|
2293
|
+
return S.suspend(() =>
|
|
2294
|
+
S.Struct({
|
|
2295
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
2296
|
+
route_id: S.String.pipe(T.Label()),
|
|
2297
|
+
description: S.optional(S.NullOr(S.String)),
|
|
2298
|
+
tags: S.optional(S.NullOr(__S(128, __c32, 0))),
|
|
2299
|
+
destination: S.optional(S.NullOr(S.String)),
|
|
2300
|
+
nexthop_resource_id: S.optional(S.NullOr(S.String)),
|
|
2301
|
+
nexthop_private_network_id: S.optional(S.NullOr(S.String)),
|
|
2302
|
+
nexthop_vpc_connector_id: S.optional(S.NullOr(S.String)),
|
|
2303
|
+
}).pipe(
|
|
2304
|
+
T.Http({
|
|
2305
|
+
method: "PATCH",
|
|
2306
|
+
uri: "/vpc/v2/regions/{region}/routes/{route_id}",
|
|
2307
|
+
code: 200,
|
|
2308
|
+
baseUrl: "https://api.scaleway.com",
|
|
2309
|
+
}),
|
|
2310
|
+
),
|
|
2311
|
+
).annotate({ identifier: "UpdateRouteRequest" });
|
|
2312
|
+
}
|
|
2313
|
+
}
|
|
2314
|
+
function __c35(j: number): any {
|
|
2315
|
+
switch (j) {
|
|
2316
|
+
case 0:
|
|
2317
|
+
return S.suspend(() =>
|
|
2318
|
+
S.Struct({
|
|
2319
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
2320
|
+
vpc_id: S.String.pipe(T.Label()),
|
|
2321
|
+
name: S.optional(S.NullOr(S.String)),
|
|
2322
|
+
tags: S.optional(S.NullOr(__S(128, __c32, 0))),
|
|
2323
|
+
}).pipe(
|
|
2324
|
+
T.Http({
|
|
2325
|
+
method: "PATCH",
|
|
2326
|
+
uri: "/vpc/v2/regions/{region}/vpcs/{vpc_id}",
|
|
2327
|
+
code: 200,
|
|
2328
|
+
baseUrl: "https://api.scaleway.com",
|
|
2329
|
+
}),
|
|
2330
|
+
),
|
|
2331
|
+
).annotate({ identifier: "UpdateVPCRequest" });
|
|
2332
|
+
}
|
|
2333
|
+
}
|
|
2334
|
+
function __c36(j: number): any {
|
|
2335
|
+
switch (j) {
|
|
2336
|
+
case 0:
|
|
2337
|
+
return S.suspend(() =>
|
|
2338
|
+
S.Struct({
|
|
2339
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
2340
|
+
vpc_connector_id: S.String.pipe(T.Label()),
|
|
2341
|
+
name: S.optional(S.NullOr(S.String)),
|
|
2342
|
+
tags: S.optional(S.NullOr(__S(128, __c32, 0))),
|
|
2343
|
+
}).pipe(
|
|
2344
|
+
T.Http({
|
|
2345
|
+
method: "PATCH",
|
|
2346
|
+
uri: "/vpc/v2/regions/{region}/vpc-connectors/{vpc_connector_id}",
|
|
2347
|
+
code: 200,
|
|
2348
|
+
baseUrl: "https://api.scaleway.com",
|
|
2349
|
+
}),
|
|
2350
|
+
),
|
|
2351
|
+
).annotate({ identifier: "UpdateVPCConnectorRequest" });
|
|
2352
|
+
}
|
|
2353
|
+
}
|
|
2354
|
+
function __c37(j: number): any {
|
|
2355
|
+
switch (j) {
|
|
2356
|
+
case 0:
|
|
2357
|
+
return S.suspend(() =>
|
|
2358
|
+
S.Struct({
|
|
2359
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
2360
|
+
name: S.String,
|
|
2361
|
+
project_id: S.String,
|
|
2362
|
+
tags: S.optional(__S(4, __c1, 0)),
|
|
2363
|
+
enable_routing: S.optional(S.Boolean),
|
|
2364
|
+
enable_transitivity: S.optional(S.Boolean),
|
|
2365
|
+
}).pipe(
|
|
2366
|
+
T.Http({
|
|
2367
|
+
method: "POST",
|
|
2368
|
+
uri: "/vpc/v2/regions/{region}/vpcs",
|
|
2369
|
+
code: 200,
|
|
2370
|
+
baseUrl: "https://api.scaleway.com",
|
|
2371
|
+
}),
|
|
2372
|
+
),
|
|
2373
|
+
).annotate({ identifier: "CreateVPCRequest" });
|
|
2374
|
+
}
|
|
2375
|
+
}
|
|
2376
|
+
function __c38(j: number): any {
|
|
2377
|
+
switch (j) {
|
|
2378
|
+
case 0:
|
|
2379
|
+
return S.suspend(() =>
|
|
2380
|
+
S.Struct({
|
|
2381
|
+
id: S.optional(S.String),
|
|
2382
|
+
srn: S.optional(S.String),
|
|
2383
|
+
name: S.optional(S.String),
|
|
2384
|
+
organization_id: S.optional(S.String),
|
|
2385
|
+
project_id: S.optional(S.String),
|
|
2386
|
+
region: S.optional(S.String),
|
|
2387
|
+
tags: S.optional(__S(4, __c1, 0)),
|
|
2388
|
+
is_default: S.optional(S.Boolean),
|
|
2389
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
2390
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
2391
|
+
private_network_count: S.optional(S.Number),
|
|
2392
|
+
routing_enabled: S.optional(S.Boolean),
|
|
2393
|
+
custom_routes_propagation_enabled: S.optional(S.Boolean),
|
|
2394
|
+
transitivity_enabled: S.optional(S.Boolean),
|
|
2395
|
+
object_storage_private_access_enabled: S.optional(S.Boolean),
|
|
2396
|
+
}),
|
|
2397
|
+
).annotate({ identifier: "VPC" });
|
|
2398
|
+
}
|
|
2399
|
+
}
|
|
2400
|
+
function __c39(j: number): any {
|
|
2401
|
+
switch (j) {
|
|
2402
|
+
case 0:
|
|
2403
|
+
return S.suspend(() =>
|
|
2404
|
+
S.Struct({
|
|
2405
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
2406
|
+
name: S.String,
|
|
2407
|
+
tags: S.optional(__S(4, __c1, 0)),
|
|
2408
|
+
vpc_id: S.optional(S.String),
|
|
2409
|
+
target_vpc_id: S.optional(S.String),
|
|
2410
|
+
}).pipe(
|
|
2411
|
+
T.Http({
|
|
2412
|
+
method: "POST",
|
|
2413
|
+
uri: "/vpc/v2/regions/{region}/vpc-connectors",
|
|
2414
|
+
code: 200,
|
|
2415
|
+
baseUrl: "https://api.scaleway.com",
|
|
2416
|
+
}),
|
|
2417
|
+
),
|
|
2418
|
+
).annotate({ identifier: "CreateVPCConnectorRequest" });
|
|
2419
|
+
}
|
|
2420
|
+
}
|
|
2421
|
+
function __c40(j: number): any {
|
|
2422
|
+
switch (j) {
|
|
2423
|
+
case 0:
|
|
2424
|
+
return S.suspend(() =>
|
|
2425
|
+
S.Struct({
|
|
2426
|
+
organization_id: S.optional(S.String),
|
|
2427
|
+
project_id: S.optional(S.String),
|
|
2428
|
+
vpc_name: S.optional(S.String),
|
|
2429
|
+
}),
|
|
2430
|
+
).annotate({ identifier: "VPCConnectorPeerInfo" });
|
|
2431
|
+
case 1:
|
|
2432
|
+
return S.suspend(() =>
|
|
2433
|
+
S.Struct({
|
|
2434
|
+
id: S.optional(S.String),
|
|
2435
|
+
srn: S.optional(S.String),
|
|
2436
|
+
name: S.optional(S.String),
|
|
2437
|
+
organization_id: S.optional(S.String),
|
|
2438
|
+
project_id: S.optional(S.String),
|
|
2439
|
+
vpc_id: S.optional(S.String),
|
|
2440
|
+
target_vpc_id: S.optional(S.String),
|
|
2441
|
+
status: S.optional(S.String),
|
|
2442
|
+
peer_info: S.optional(__S(160, __c40, 0)),
|
|
2443
|
+
region: S.optional(S.String),
|
|
2444
|
+
tags: S.optional(__S(4, __c1, 0)),
|
|
2445
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
2446
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
2447
|
+
}),
|
|
2448
|
+
).annotate({ identifier: "VPCConnector" });
|
|
2449
|
+
}
|
|
2450
|
+
}
|
|
2451
|
+
function __c41(j: number): any {
|
|
2452
|
+
switch (j) {
|
|
2453
|
+
case 0:
|
|
2454
|
+
return S.suspend(() =>
|
|
2455
|
+
S.Struct({
|
|
2456
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
2457
|
+
rule_id: S.String.pipe(T.Label()),
|
|
2458
|
+
}).pipe(
|
|
2459
|
+
T.Http({
|
|
2460
|
+
method: "DELETE",
|
|
2461
|
+
uri: "/vpc/v2/regions/{region}/ingress-rules/{rule_id}",
|
|
2462
|
+
code: 200,
|
|
2463
|
+
baseUrl: "https://api.scaleway.com",
|
|
2464
|
+
}),
|
|
2465
|
+
),
|
|
2466
|
+
).annotate({ identifier: "DeleteIngressRuleRequest" });
|
|
2467
|
+
}
|
|
2468
|
+
}
|
|
2469
|
+
function __c42(j: number): any {
|
|
2470
|
+
switch (j) {
|
|
2471
|
+
case 0:
|
|
2472
|
+
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteIngressRuleResponse" });
|
|
2473
|
+
}
|
|
2474
|
+
}
|
|
2475
|
+
function __c43(j: number): any {
|
|
2476
|
+
switch (j) {
|
|
2477
|
+
case 0:
|
|
2478
|
+
return S.suspend(() =>
|
|
2479
|
+
S.Struct({
|
|
2480
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
2481
|
+
private_network_id: S.String.pipe(T.Label()),
|
|
2482
|
+
}).pipe(
|
|
2483
|
+
T.Http({
|
|
2484
|
+
method: "DELETE",
|
|
2485
|
+
uri: "/vpc/v2/regions/{region}/private-networks/{private_network_id}",
|
|
2486
|
+
code: 200,
|
|
2487
|
+
baseUrl: "https://api.scaleway.com",
|
|
2488
|
+
}),
|
|
2489
|
+
),
|
|
2490
|
+
).annotate({ identifier: "DeletePrivateNetworkRequest" });
|
|
2491
|
+
}
|
|
2492
|
+
}
|
|
2493
|
+
function __c44(j: number): any {
|
|
2494
|
+
switch (j) {
|
|
2495
|
+
case 0:
|
|
2496
|
+
return S.suspend(() =>
|
|
2497
|
+
S.Struct({
|
|
2498
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
2499
|
+
vpc_id: S.String.pipe(T.Label()),
|
|
2500
|
+
private_network_id: S.String.pipe(T.Label()),
|
|
2501
|
+
}).pipe(
|
|
2502
|
+
T.Http({
|
|
2503
|
+
method: "DELETE",
|
|
2504
|
+
uri: "/vpc/v2/regions/{region}/object-storage-private-access/{vpc_id}/private-networks/{private_network_id}",
|
|
2505
|
+
code: 200,
|
|
2506
|
+
baseUrl: "https://api.scaleway.com",
|
|
2507
|
+
}),
|
|
2508
|
+
),
|
|
2509
|
+
).annotate({ identifier: "DeletePrivateNetworkObjectStoragePrivateAccessRequest" });
|
|
2510
|
+
}
|
|
2511
|
+
}
|
|
2512
|
+
function __c45(j: number): any {
|
|
2513
|
+
switch (j) {
|
|
2514
|
+
case 0:
|
|
2515
|
+
return S.suspend(() =>
|
|
2516
|
+
S.Struct({
|
|
2517
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
2518
|
+
route_id: S.String.pipe(T.Label()),
|
|
2519
|
+
}).pipe(
|
|
2520
|
+
T.Http({
|
|
2521
|
+
method: "DELETE",
|
|
2522
|
+
uri: "/vpc/v2/regions/{region}/routes/{route_id}",
|
|
2523
|
+
code: 200,
|
|
2524
|
+
baseUrl: "https://api.scaleway.com",
|
|
2525
|
+
}),
|
|
2526
|
+
),
|
|
2527
|
+
).annotate({ identifier: "DeleteRouteRequest" });
|
|
2528
|
+
}
|
|
2529
|
+
}
|
|
2530
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
2531
|
+
function __S(i: number, f: (j: number) => unknown, j: number): any {
|
|
2532
|
+
return (__s[i] ??= __L.at(f, j));
|
|
2533
|
+
}
|