From 3a6da449d180de2b4db1049eee58336070fc8064 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Wed, 17 Jun 2026 13:42:11 +0000 Subject: [PATCH] feat: update generated APIs --- .../test-all-usage-apple-silicon-os-get-usage.golden | 2 +- ...test-all-usage-audit-trail-event-list-usage.golden | 2 +- .../test-all-usage-baremetal-offer-usage.golden | 2 +- ...t-all-usage-baremetal-private-network-usage.golden | 2 +- ...st-all-usage-baremetal-server-install-usage.golden | 2 +- ...usage-datawarehouse-deployment-create-usage.golden | 1 + ...usage-datawarehouse-deployment-update-usage.golden | 1 + .../test-all-usage-instance-volume-usage.golden | 4 ++-- .../test-all-usage-iot-network-create-usage.golden | 2 +- .../test-all-usage-iot-network-get-usage.golden | 2 +- ...test-all-usage-jobs-definition-create-usage.golden | 1 + ...test-all-usage-jobs-definition-update-usage.golden | 1 + .../test-all-usage-lb-route-list-usage.golden | 2 +- ...ll-usage-product-catalog-product-list-usage.golden | 2 +- .../test-all-usage-rdb-read-replica-get-usage.golden | 2 +- .../test-all-usage-rdb-snapshot-delete-usage.golden | 2 +- .../test-all-usage-rdb-user-delete-usage.golden | 2 +- .../test-all-usage-registry-image-update-usage.golden | 2 +- ...test-all-usage-search-resource-search-usage.golden | 2 +- .../test-all-usage-vpc-vpc-create-usage.golden | 11 ++++++----- docs/commands/apple-silicon.md | 2 +- docs/commands/audit-trail.md | 2 +- docs/commands/baremetal.md | 6 +++--- docs/commands/datawarehouse.md | 2 ++ docs/commands/instance.md | 4 ++-- docs/commands/iot.md | 4 ++-- docs/commands/jobs.md | 2 ++ docs/commands/lb.md | 2 +- docs/commands/product-catalog.md | 2 +- docs/commands/rdb.md | 6 +++--- docs/commands/registry.md | 2 +- docs/commands/search.md | 2 +- docs/commands/vpc.md | 1 + go.mod | 2 +- go.sum | 4 ++-- internal/namespaces/vpc/v2/vpc_cli.go | 7 +++++++ 36 files changed, 57 insertions(+), 40 deletions(-) diff --git a/cmd/scw/testdata/test-all-usage-apple-silicon-os-get-usage.golden b/cmd/scw/testdata/test-all-usage-apple-silicon-os-get-usage.golden index 1383a1bdb9..f500b65a4f 100644 --- a/cmd/scw/testdata/test-all-usage-apple-silicon-os-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-apple-silicon-os-get-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟩🟩🟩 STDOUT️ 🟩🟩🟩️ -Get an Operating System (OS). The response will include the OS's unique ID as well as its name and label. +Get an Operating System (OS). The response will include the OS's unique ID as well as its name and label. USAGE: scw apple-silicon os get [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-audit-trail-event-list-usage.golden b/cmd/scw/testdata/test-all-usage-audit-trail-event-list-usage.golden index 7f73e38348..b522473c14 100644 --- a/cmd/scw/testdata/test-all-usage-audit-trail-event-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-audit-trail-event-list-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: [project-id] (Optional) ID of the Project containing the Audit Trail events - [resource-type] (Optional) Type of the Scaleway resource (unknown_type | secm_secret | secm_secret_version | kube_cluster | kube_pool | kube_node | kube_acl | keym_key | iam_user | iam_application | iam_group | iam_policy | iam_api_key | iam_ssh_key | iam_rule | iam_saml | iam_saml_certificate | iam_scim | iam_scim_token | secret_manager_secret | secret_manager_version | key_manager_key | account_user | account_organization | account_project | account_contract_signature | instance_server | instance_placement_group | instance_security_group | instance_volume | instance_snapshot | instance_image | instance_template | instance_private_network_interface | apple_silicon_server | baremetal_server | baremetal_setting | ipam_ip | sbs_volume | sbs_snapshot | load_balancer_lb | load_balancer_ip | load_balancer_frontend | load_balancer_backend | load_balancer_route | load_balancer_acl | load_balancer_certificate | sfs_filesystem | vpc_private_network | vpc_vpc | vpc_subnet | vpc_route | vpc_acl | vpc_connector | vpc_ingress_rule | edge_services_plan | edge_services_pipeline | edge_services_vpc_endpoint | edge_services_dns_stage | edge_services_tls_stage | edge_services_cache_stage | edge_services_route_stage | edge_services_route_rules | edge_services_waf_stage | edge_services_backend_stage | s2s_vpn_gateway | s2s_customer_gateway | s2s_routing_policy | s2s_connection | vpc_gw_gateway | vpc_gw_gateway_network | vpc_gw_dhcp | vpc_gw_dhcp_entry | vpc_gw_pat_rule | vpc_gw_ip | audit_trail_export_job | rdb_instance | rdb_instance_backup | rdb_instance_endpoint | rdb_instance_logs | rdb_instance_read_replica | rdb_instance_snapshot | mongodb_instance | mongodb_instance_snapshot | mongodb_instance_endpoint | mongodb_instance_maintenance | apple_silicon_runner | audit_trail_alert_rule | dtwh_deployment | dtwh_deployment_endpoint | dtwh_deployment_database | dtwh_deployment_user | ssdb_database | ssdb_database_backup | observability_datasource | observability_token | observability_exporter | ili_partner | ili_connection | ili_link | ili_routing_policy | autoscaling_group) + [resource-type] (Optional) Type of the Scaleway resource (unknown_type | secm_secret | secm_secret_version | kube_cluster | kube_pool | kube_node | kube_acl | keym_key | iam_user | iam_application | iam_group | iam_policy | iam_api_key | iam_ssh_key | iam_rule | iam_saml | iam_saml_certificate | iam_scim | iam_scim_token | secret_manager_secret | secret_manager_version | key_manager_key | account_user | account_organization | account_project | account_contract_signature | instance_server | instance_placement_group | instance_security_group | instance_volume | instance_snapshot | instance_image | instance_template | instance_private_network_interface | apple_silicon_server | baremetal_server | baremetal_setting | ipam_ip | sbs_volume | sbs_snapshot | load_balancer_lb | load_balancer_ip | load_balancer_frontend | load_balancer_backend | load_balancer_route | load_balancer_acl | load_balancer_certificate | sfs_filesystem | vpc_private_network | vpc_vpc | vpc_subnet | vpc_route | vpc_acl | vpc_connector | vpc_ingress_rule | edge_services_plan | edge_services_pipeline | edge_services_vpc_endpoint | edge_services_dns_stage | edge_services_tls_stage | edge_services_cache_stage | edge_services_route_stage | edge_services_route_rules | edge_services_waf_stage | edge_services_backend_stage | s2s_vpn_gateway | s2s_customer_gateway | s2s_routing_policy | s2s_connection | vpc_gw_gateway | vpc_gw_gateway_network | vpc_gw_dhcp | vpc_gw_dhcp_entry | vpc_gw_pat_rule | vpc_gw_ip | audit_trail_export_job | rdb_instance | rdb_instance_backup | rdb_instance_endpoint | rdb_instance_logs | rdb_instance_read_replica | rdb_instance_snapshot | mongodb_instance | mongodb_instance_snapshot | mongodb_instance_endpoint | mongodb_instance_maintenance | apple_silicon_runner | audit_trail_alert_rule | dtwh_deployment | dtwh_deployment_endpoint | dtwh_deployment_database | dtwh_deployment_user | ssdb_database | ssdb_database_backup | observability_datasource | observability_token | observability_exporter | ili_partner | ili_connection | ili_link | ili_routing_policy | autoscaling_group | gapi_dedicated_deployment | gapi_dedicated_model) [method-name] (Optional) Name of the method of the API call performed [status] (Optional) HTTP status code of the request. Returns either `200` if the request was successful or `403` if the permission was denied [recorded-after] (Optional) The `recorded_after` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default diff --git a/cmd/scw/testdata/test-all-usage-baremetal-offer-usage.golden b/cmd/scw/testdata/test-all-usage-baremetal-offer-usage.golden index 3deaea1248..cc3a2c4a38 100644 --- a/cmd/scw/testdata/test-all-usage-baremetal-offer-usage.golden +++ b/cmd/scw/testdata/test-all-usage-baremetal-offer-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟩🟩🟩 STDOUT️ 🟩🟩🟩️ -Server offers will answer with all different Elastic Metal server ranges available in a zone. +Server offers will answer with all different Elastic Metal server ranges available in a zone. Each of them will contain all the features of the server (CPUs, memory, disks) with their associated pricing. USAGE: diff --git a/cmd/scw/testdata/test-all-usage-baremetal-private-network-usage.golden b/cmd/scw/testdata/test-all-usage-baremetal-private-network-usage.golden index e78fccbdab..098704457f 100644 --- a/cmd/scw/testdata/test-all-usage-baremetal-private-network-usage.golden +++ b/cmd/scw/testdata/test-all-usage-baremetal-private-network-usage.golden @@ -3,7 +3,7 @@ A Private Network allows you to interconnect your resources in an isolated and private network. Network reachability is limited to the -resources that are on the same Private Network. A VLAN +resources that are on the same Private Network. A VLAN interface is available on the server and can be freely managed (adding IP addresses, shutdown interface etc.). diff --git a/cmd/scw/testdata/test-all-usage-baremetal-server-install-usage.golden b/cmd/scw/testdata/test-all-usage-baremetal-server-install-usage.golden index 92fd90ace0..13c47c53f1 100644 --- a/cmd/scw/testdata/test-all-usage-baremetal-server-install-usage.golden +++ b/cmd/scw/testdata/test-all-usage-baremetal-server-install-usage.golden @@ -6,7 +6,7 @@ USAGE: scw baremetal server install [arg=value ...] EXAMPLES: - Install an OS on a server with a particular SSH key ID + Install an OS on a server with a particular SSH key ID scw baremetal server install 11111111-1111-1111-1111-111111111111 os-id=11111111-1111-1111-1111-111111111111 ssh-key-ids.0=11111111-1111-1111-1111-111111111111 ARGS: diff --git a/cmd/scw/testdata/test-all-usage-datawarehouse-deployment-create-usage.golden b/cmd/scw/testdata/test-all-usage-datawarehouse-deployment-create-usage.golden index 83dca898bb..0ba0c22940 100644 --- a/cmd/scw/testdata/test-all-usage-datawarehouse-deployment-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-datawarehouse-deployment-create-usage.golden @@ -17,6 +17,7 @@ ARGS: [cpu-max] Maximum CPU count for the deployment [endpoints.{index}.private-network.private-network-id] UUID of the Private Network [ram-per-cpu] RAM per CPU count for the deployment (in GB) + [move-factor] For the `tiered` storage policy, controls when data is moved from the hot volume (Block Storage) to the cold volume (Object Storage). Data is moved once free space on the hot volume drops below this fraction of its capacity. Value between 0 and 1 (default 0.1, i.e. data is moved when the hot volume is 90% full). [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) FLAGS: diff --git a/cmd/scw/testdata/test-all-usage-datawarehouse-deployment-update-usage.golden b/cmd/scw/testdata/test-all-usage-datawarehouse-deployment-update-usage.golden index 5ab64e2fef..e8dcc44aaf 100644 --- a/cmd/scw/testdata/test-all-usage-datawarehouse-deployment-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-datawarehouse-deployment-update-usage.golden @@ -12,6 +12,7 @@ ARGS: [cpu-min] Minimum CPU count for the deployment [cpu-max] Maximum CPU count for the deployment [replica-count] Number of replicas for the deployment + [move-factor] For the `tiered` storage policy, controls when data is moved from the hot volume (Block Storage) to the cold volume (Object Storage). Data is moved once free space on the hot volume drops below this fraction of its capacity. Value between 0 and 1 (default 0.1, i.e. data is moved when the hot volume is 90% full). [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) FLAGS: diff --git a/cmd/scw/testdata/test-all-usage-instance-volume-usage.golden b/cmd/scw/testdata/test-all-usage-instance-volume-usage.golden index d7822e9a43..4f952a10c6 100644 --- a/cmd/scw/testdata/test-all-usage-instance-volume-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-volume-usage.golden @@ -10,8 +10,8 @@ managed by the SBS API (https://www.scaleway.com/en/developers/api/block/). Minimum and maximum volume sizes for each volume types can be queried from the zone `/products/volumes` API endpoint. _I.e_ for: - - `fr-par-1` use https://api.scaleway.com/instance/v1/zones/fr-par-1/products/volumes - - `nl-ams-1` use https://api.scaleway.com/instance/v1/zones/nl-ams-1/products/volumes + - `fr-par-1` use https://api.scaleway.com/instance/v1/zones/fr-par-1/products/volumes + - `nl-ams-1` use https://api.scaleway.com/instance/v1/zones/nl-ams-1/products/volumes Each type of volume is also subject to a global quota for the sum of all the volumes. This quota depends of the level of support and may be diff --git a/cmd/scw/testdata/test-all-usage-iot-network-create-usage.golden b/cmd/scw/testdata/test-all-usage-iot-network-create-usage.golden index 673a1ea36d..5e31e9e2ba 100644 --- a/cmd/scw/testdata/test-all-usage-iot-network-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-iot-network-create-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟩🟩🟩 STDOUT️ 🟩🟩🟩️ -Create a new network for an existing hub. Beside the default network, you can add networks for different data providers. Possible network types are Sigfox and REST. +Create a new network for an existing hub. Beside the default network, you can add networks for different data providers. Possible network types are Sigfox and REST. USAGE: scw iot network create [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-iot-network-get-usage.golden b/cmd/scw/testdata/test-all-usage-iot-network-get-usage.golden index 0e2a076600..5d3e5c7a55 100644 --- a/cmd/scw/testdata/test-all-usage-iot-network-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-iot-network-get-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟩🟩🟩 STDOUT️ 🟩🟩🟩️ -Retrieve an existing network, specified by its network ID. The response returns full details of the network, including its type, the topic prefix and its endpoint. +Retrieve an existing network, specified by its network ID. The response returns full details of the network, including its type, the topic prefix and its endpoint. USAGE: scw iot network get [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-jobs-definition-create-usage.golden b/cmd/scw/testdata/test-all-usage-jobs-definition-create-usage.golden index 5d39b92ee0..b3ab251060 100644 --- a/cmd/scw/testdata/test-all-usage-jobs-definition-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-jobs-definition-create-usage.golden @@ -19,6 +19,7 @@ ARGS: [job-timeout] Timeout of the job in seconds [cron-schedule.schedule] [cron-schedule.timezone] + [retry-policy.max-retries] Maximum number of retries upon a job failure. [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw) DEPRECATED ARGS: diff --git a/cmd/scw/testdata/test-all-usage-jobs-definition-update-usage.golden b/cmd/scw/testdata/test-all-usage-jobs-definition-update-usage.golden index 1210d548e6..3c712f8957 100644 --- a/cmd/scw/testdata/test-all-usage-jobs-definition-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-jobs-definition-update-usage.golden @@ -19,6 +19,7 @@ ARGS: [job-timeout] Timeout of the job in seconds [cron-schedule.schedule] [cron-schedule.timezone] + [retry-policy.max-retries] [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw) DEPRECATED ARGS: diff --git a/cmd/scw/testdata/test-all-usage-lb-route-list-usage.golden b/cmd/scw/testdata/test-all-usage-lb-route-list-usage.golden index 96359356a1..e9315e4e66 100644 --- a/cmd/scw/testdata/test-all-usage-lb-route-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-route-list-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟩🟩🟩 STDOUT️ 🟩🟩🟩️ -List all routes for a given frontend. The response is an array of routes, each one with a specified backend to direct to if a certain condition is matched (based on the value of the SNI field or HTTP Host header). +List all routes for a given frontend. The response is an array of routes, each one with a specified backend to direct to if a certain condition is matched (based on the value of the SNI field or HTTP Host header). USAGE: scw lb route list [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-product-catalog-product-list-usage.golden b/cmd/scw/testdata/test-all-usage-product-catalog-product-list-usage.golden index 2d42cdfc6b..6ceaa7e7c6 100644 --- a/cmd/scw/testdata/test-all-usage-product-catalog-product-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-product-catalog-product-list-usage.golden @@ -6,7 +6,7 @@ USAGE: scw product-catalog product list [arg=value ...] ARGS: - [product-types.{index}] The list of filtered product categories. (unknown_product_type | instance | apple_silicon | elastic_metal | dedibox | block_storage | object_storage | managed_inference | generative_apis | load_balancer | secret_manager | key_manager | managed_redis_database | kubernetes | managed_relational_database | managed_mongodb | serverless_functions | serverless_containers | serverless_jobs) + [product-types.{index}] The list of filtered product categories. (unknown_product_type | instance | apple_silicon | elastic_metal | dedibox | block_storage | object_storage | managed_inference | generative_apis | load_balancer | secret_manager | key_manager | managed_redis_database | kubernetes | managed_relational_database | managed_mongodb | serverless_functions | serverless_containers | serverless_jobs | apache_kafka) [global] Filter global products. [region] Filter products by region. [zone] Filter products by zone. diff --git a/cmd/scw/testdata/test-all-usage-rdb-read-replica-get-usage.golden b/cmd/scw/testdata/test-all-usage-rdb-read-replica-get-usage.golden index 470d21aaec..84789046dd 100644 --- a/cmd/scw/testdata/test-all-usage-rdb-read-replica-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-rdb-read-replica-get-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟩🟩🟩 STDOUT️ 🟩🟩🟩️ -Retrieve information about a Database Instance Read Replica. Full details about the Read Replica, like `endpoints`, `status` and `region` are returned in the response. +Retrieve information about a Database Instance Read Replica. Full details about the Read Replica, like `endpoints`, `status` and `region` are returned in the response. USAGE: scw rdb read-replica get [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-rdb-snapshot-delete-usage.golden b/cmd/scw/testdata/test-all-usage-rdb-snapshot-delete-usage.golden index c5fedb1d84..84c5e024cb 100644 --- a/cmd/scw/testdata/test-all-usage-rdb-snapshot-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-rdb-snapshot-delete-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟩🟩🟩 STDOUT️ 🟩🟩🟩️ -Delete a given snapshot of a Database Instance. You must specify, in the endpoint, the `region` and `snapshot_id` parameters of the snapshot you want to delete. +Delete a given snapshot of a Database Instance. You must specify, in the endpoint, the `region` and `snapshot_id` parameters of the snapshot you want to delete. USAGE: scw rdb snapshot delete [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-rdb-user-delete-usage.golden b/cmd/scw/testdata/test-all-usage-rdb-user-delete-usage.golden index b4b92f166a..5a4c50546b 100644 --- a/cmd/scw/testdata/test-all-usage-rdb-user-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-rdb-user-delete-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟩🟩🟩 STDOUT️ 🟩🟩🟩️ -Delete a given user on a Database Instance. You must specify, in the endpoint, the `region`, `instance_id` and `name` parameters of the user you want to delete. +Delete a given user on a Database Instance. You must specify, in the endpoint, the `region`, `instance_id` and `name` parameters of the user you want to delete. USAGE: scw rdb user delete [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-registry-image-update-usage.golden b/cmd/scw/testdata/test-all-usage-registry-image-update-usage.golden index 5a2bbc5f56..8f788cd5a3 100644 --- a/cmd/scw/testdata/test-all-usage-registry-image-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-registry-image-update-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: image-id ID of the image to update - [visibility] Set to `public` to allow the image to be pulled without authentication. Else, set to `private`. Set to `inherit` to keep the same visibility configuration as the namespace (visibility_unknown | inherit | public | private) + [visibility] Set to `public` to allow the image to be pulled without authentication. Else, set to `private`. Set to `inherit` to keep the same visibility configuration as the namespace (visibility_unknown | inherit | public | private) [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw) FLAGS: diff --git a/cmd/scw/testdata/test-all-usage-search-resource-search-usage.golden b/cmd/scw/testdata/test-all-usage-search-resource-search-usage.golden index 515ab98700..3509a6a0d7 100644 --- a/cmd/scw/testdata/test-all-usage-search-resource-search-usage.golden +++ b/cmd/scw/testdata/test-all-usage-search-resource-search-usage.golden @@ -8,7 +8,7 @@ USAGE: ARGS: query Search query [project-ids.{index}] List of Project IDs to filter the resources by - [types.{index}] List of resource types to filter the resources by (unknown_type | instance_server | instance_volume | instance_image | instance_security_group | instance_private_nic | instance_snapshot | instance_placement_group | k8s_cluster | k8s_pool | k8s_node | domain_domain | dns_zone | vpc_private_network | vpc_vpc | vpg_gateway | apple_silicon_server | rdb_instance | rdb_snapshot | rdb_backup | baremetal_server | tem_domain | lb_server | serverless_functions_function | serverless_containers_container | wbh_hosting | redis_cluster | sm_secret | kms_key | edg_pipeline | mnq_nats_account | sbs_volume | sbs_snapshot | serverless_job_definition | serverless_sqldb_database | serverless_sqldb_backup | ddl_datalab | mgdb_instance | mgdb_snapshot | ifr_deployment | ifr_model | gapi_batch | dtwh_deployment | obs_datasource | obs_exporter | svpn_vpn_gateway | svpn_customer_gateway | svpn_connection | svpn_routing_policy | kafk_cluster | iam_api_key | iam_application | iam_user | iam_group | iam_policy) + [types.{index}] List of resource types to filter the resources by (unknown_type | instance_server | instance_volume | instance_image | instance_security_group | instance_private_nic | instance_snapshot | instance_placement_group | k8s_cluster | k8s_pool | k8s_node | domain_domain | dns_zone | vpc_private_network | vpc_vpc | vpg_gateway | apple_silicon_server | rdb_instance | rdb_snapshot | rdb_backup | baremetal_server | tem_domain | lb_server | serverless_functions_function | serverless_containers_container | wbh_hosting | redis_cluster | sm_secret | kms_key | edg_pipeline | mnq_nats_account | sbs_volume | sbs_snapshot | serverless_job_definition | serverless_sqldb_database | serverless_sqldb_backup | ddl_datalab | mgdb_instance | mgdb_snapshot | ifr_deployment | ifr_model | gapi_batch | dtwh_deployment | obs_datasource | obs_exporter | svpn_vpn_gateway | svpn_customer_gateway | svpn_connection | svpn_routing_policy | kafk_cluster | iam_api_key | iam_application | iam_user | iam_group | iam_policy | sedb_cluster) [localities.{index}] List of scopes (zones, regions, or global) to filter the resources by (unknown_locality | global | fr_rz | fr_srr | fr_srr_1 | fr_par | fr_par_1 | fr_par_2 | fr_par_3 | fr_par_4 | nl_ams | nl_ams_1 | nl_ams_2 | nl_ams_3 | pl_waw | pl_waw_1 | pl_waw_2 | pl_waw_3 | fr_int | fr_int_1 | fr_lab | fr_lab_1 | it_mil | it_mil_1) [created-after] Filter resources created after this timestamp [created-before] Filter resources created before this timestamp diff --git a/cmd/scw/testdata/test-all-usage-vpc-vpc-create-usage.golden b/cmd/scw/testdata/test-all-usage-vpc-vpc-create-usage.golden index dfe32a5a86..8307bcb557 100644 --- a/cmd/scw/testdata/test-all-usage-vpc-vpc-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-vpc-vpc-create-usage.golden @@ -6,11 +6,12 @@ USAGE: scw vpc vpc create [arg=value ...] ARGS: - name= Name for the VPC - [project-id] Project ID to use. If none is passed the default project ID will be used - [tags.{index}] Tags for the VPC - [enable-routing] Enable routing between Private Networks in the VPC - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | it-mil | nl-ams | pl-waw) + name= Name for the VPC + [project-id] Project ID to use. If none is passed the default project ID will be used + [tags.{index}] Tags for the VPC + [enable-routing] Enable routing between Private Networks in the VPC + [enable-transitivity] Enable packets from peered VPCs to transit through this VPC + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | it-mil | nl-ams | pl-waw) FLAGS: -h, --help help for create diff --git a/docs/commands/apple-silicon.md b/docs/commands/apple-silicon.md index 7171679328..40b981e157 100644 --- a/docs/commands/apple-silicon.md +++ b/docs/commands/apple-silicon.md @@ -38,7 +38,7 @@ OS management commands. ### Get an Operating System (OS) -Get an Operating System (OS). The response will include the OS's unique ID as well as its name and label. +Get an Operating System (OS). The response will include the OS's unique ID as well as its name and label. **Usage:** diff --git a/docs/commands/audit-trail.md b/docs/commands/audit-trail.md index e0ea3a3baa..ea801cea17 100644 --- a/docs/commands/audit-trail.md +++ b/docs/commands/audit-trail.md @@ -29,7 +29,7 @@ scw audit-trail event list [arg=value ...] | Name | | Description | |------|---|-------------| | project-id | | (Optional) ID of the Project containing the Audit Trail events | -| resource-type | One of: `unknown_type`, `secm_secret`, `secm_secret_version`, `kube_cluster`, `kube_pool`, `kube_node`, `kube_acl`, `keym_key`, `iam_user`, `iam_application`, `iam_group`, `iam_policy`, `iam_api_key`, `iam_ssh_key`, `iam_rule`, `iam_saml`, `iam_saml_certificate`, `iam_scim`, `iam_scim_token`, `secret_manager_secret`, `secret_manager_version`, `key_manager_key`, `account_user`, `account_organization`, `account_project`, `account_contract_signature`, `instance_server`, `instance_placement_group`, `instance_security_group`, `instance_volume`, `instance_snapshot`, `instance_image`, `instance_template`, `instance_private_network_interface`, `apple_silicon_server`, `baremetal_server`, `baremetal_setting`, `ipam_ip`, `sbs_volume`, `sbs_snapshot`, `load_balancer_lb`, `load_balancer_ip`, `load_balancer_frontend`, `load_balancer_backend`, `load_balancer_route`, `load_balancer_acl`, `load_balancer_certificate`, `sfs_filesystem`, `vpc_private_network`, `vpc_vpc`, `vpc_subnet`, `vpc_route`, `vpc_acl`, `vpc_connector`, `vpc_ingress_rule`, `edge_services_plan`, `edge_services_pipeline`, `edge_services_vpc_endpoint`, `edge_services_dns_stage`, `edge_services_tls_stage`, `edge_services_cache_stage`, `edge_services_route_stage`, `edge_services_route_rules`, `edge_services_waf_stage`, `edge_services_backend_stage`, `s2s_vpn_gateway`, `s2s_customer_gateway`, `s2s_routing_policy`, `s2s_connection`, `vpc_gw_gateway`, `vpc_gw_gateway_network`, `vpc_gw_dhcp`, `vpc_gw_dhcp_entry`, `vpc_gw_pat_rule`, `vpc_gw_ip`, `audit_trail_export_job`, `rdb_instance`, `rdb_instance_backup`, `rdb_instance_endpoint`, `rdb_instance_logs`, `rdb_instance_read_replica`, `rdb_instance_snapshot`, `mongodb_instance`, `mongodb_instance_snapshot`, `mongodb_instance_endpoint`, `mongodb_instance_maintenance`, `apple_silicon_runner`, `audit_trail_alert_rule`, `dtwh_deployment`, `dtwh_deployment_endpoint`, `dtwh_deployment_database`, `dtwh_deployment_user`, `ssdb_database`, `ssdb_database_backup`, `observability_datasource`, `observability_token`, `observability_exporter`, `ili_partner`, `ili_connection`, `ili_link`, `ili_routing_policy`, `autoscaling_group` | (Optional) Type of the Scaleway resource | +| resource-type | One of: `unknown_type`, `secm_secret`, `secm_secret_version`, `kube_cluster`, `kube_pool`, `kube_node`, `kube_acl`, `keym_key`, `iam_user`, `iam_application`, `iam_group`, `iam_policy`, `iam_api_key`, `iam_ssh_key`, `iam_rule`, `iam_saml`, `iam_saml_certificate`, `iam_scim`, `iam_scim_token`, `secret_manager_secret`, `secret_manager_version`, `key_manager_key`, `account_user`, `account_organization`, `account_project`, `account_contract_signature`, `instance_server`, `instance_placement_group`, `instance_security_group`, `instance_volume`, `instance_snapshot`, `instance_image`, `instance_template`, `instance_private_network_interface`, `apple_silicon_server`, `baremetal_server`, `baremetal_setting`, `ipam_ip`, `sbs_volume`, `sbs_snapshot`, `load_balancer_lb`, `load_balancer_ip`, `load_balancer_frontend`, `load_balancer_backend`, `load_balancer_route`, `load_balancer_acl`, `load_balancer_certificate`, `sfs_filesystem`, `vpc_private_network`, `vpc_vpc`, `vpc_subnet`, `vpc_route`, `vpc_acl`, `vpc_connector`, `vpc_ingress_rule`, `edge_services_plan`, `edge_services_pipeline`, `edge_services_vpc_endpoint`, `edge_services_dns_stage`, `edge_services_tls_stage`, `edge_services_cache_stage`, `edge_services_route_stage`, `edge_services_route_rules`, `edge_services_waf_stage`, `edge_services_backend_stage`, `s2s_vpn_gateway`, `s2s_customer_gateway`, `s2s_routing_policy`, `s2s_connection`, `vpc_gw_gateway`, `vpc_gw_gateway_network`, `vpc_gw_dhcp`, `vpc_gw_dhcp_entry`, `vpc_gw_pat_rule`, `vpc_gw_ip`, `audit_trail_export_job`, `rdb_instance`, `rdb_instance_backup`, `rdb_instance_endpoint`, `rdb_instance_logs`, `rdb_instance_read_replica`, `rdb_instance_snapshot`, `mongodb_instance`, `mongodb_instance_snapshot`, `mongodb_instance_endpoint`, `mongodb_instance_maintenance`, `apple_silicon_runner`, `audit_trail_alert_rule`, `dtwh_deployment`, `dtwh_deployment_endpoint`, `dtwh_deployment_database`, `dtwh_deployment_user`, `ssdb_database`, `ssdb_database_backup`, `observability_datasource`, `observability_token`, `observability_exporter`, `ili_partner`, `ili_connection`, `ili_link`, `ili_routing_policy`, `autoscaling_group`, `gapi_dedicated_deployment`, `gapi_dedicated_model` | (Optional) Type of the Scaleway resource | | method-name | | (Optional) Name of the method of the API call performed | | status | | (Optional) HTTP status code of the request. Returns either `200` if the request was successful or `403` if the permission was denied | | recorded-after | | (Optional) The `recorded_after` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default | diff --git a/docs/commands/baremetal.md b/docs/commands/baremetal.md index 64b83fc6f0..4d63f9b4ee 100644 --- a/docs/commands/baremetal.md +++ b/docs/commands/baremetal.md @@ -119,7 +119,7 @@ scw baremetal bmc stop [arg=value ...] ## Server offer management commands -Server offers will answer with all different Elastic Metal server ranges available in a zone. +Server offers will answer with all different Elastic Metal server ranges available in a zone. Each of them will contain all the features of the server (CPUs, memory, disks) with their associated pricing. @@ -397,7 +397,7 @@ scw baremetal partitioning-schemas A Private Network allows you to interconnect your resources in an isolated and private network. Network reachability is limited to the -resources that are on the same Private Network. A VLAN +resources that are on the same Private Network. A VLAN interface is available on the server and can be freely managed (adding IP addresses, shutdown interface etc.). @@ -766,7 +766,7 @@ scw baremetal server install [arg=value ...] **Examples:** -Install an OS on a server with a particular SSH key ID +Install an OS on a server with a particular SSH key ID ```shell scw baremetal server install 11111111-1111-1111-1111-111111111111 os-id=11111111-1111-1111-1111-111111111111 ssh-key-ids.0=11111111-1111-1111-1111-111111111111 ``` diff --git a/docs/commands/datawarehouse.md b/docs/commands/datawarehouse.md index fc49956cc6..924a8df5eb 100644 --- a/docs/commands/datawarehouse.md +++ b/docs/commands/datawarehouse.md @@ -127,6 +127,7 @@ scw datawarehouse deployment create [arg=value ...] | cpu-max | | Maximum CPU count for the deployment | | endpoints.{index}.private-network.private-network-id | | UUID of the Private Network | | ram-per-cpu | | RAM per CPU count for the deployment (in GB) | +| move-factor | | For the `tiered` storage policy, controls when data is moved from the hot volume (Block Storage) to the cold volume (Object Storage). Data is moved once free space on the hot volume drops below this fraction of its capacity. Value between 0 and 1 (default 0.1, i.e. data is moved when the hot volume is 90% full). | | region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | @@ -236,6 +237,7 @@ scw datawarehouse deployment update [arg=value ...] | cpu-min | | Minimum CPU count for the deployment | | cpu-max | | Maximum CPU count for the deployment | | replica-count | | Number of replicas for the deployment | +| move-factor | | For the `tiered` storage policy, controls when data is moved from the hot volume (Block Storage) to the cold volume (Object Storage). Data is moved once free space on the hot volume drops below this fraction of its capacity. Value between 0 and 1 (default 0.1, i.e. data is moved when the hot volume is 90% full). | | region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | diff --git a/docs/commands/instance.md b/docs/commands/instance.md index 30037e4118..784ec5c86f 100644 --- a/docs/commands/instance.md +++ b/docs/commands/instance.md @@ -3003,8 +3003,8 @@ managed by the SBS API (https://www.scaleway.com/en/developers/api/block/). Minimum and maximum volume sizes for each volume types can be queried from the zone `/products/volumes` API endpoint. _I.e_ for: - - `fr-par-1` use https://api.scaleway.com/instance/v1/zones/fr-par-1/products/volumes - - `nl-ams-1` use https://api.scaleway.com/instance/v1/zones/nl-ams-1/products/volumes + - `fr-par-1` use https://api.scaleway.com/instance/v1/zones/fr-par-1/products/volumes + - `nl-ams-1` use https://api.scaleway.com/instance/v1/zones/nl-ams-1/products/volumes Each type of volume is also subject to a global quota for the sum of all the volumes. This quota depends of the level of support and may be diff --git a/docs/commands/iot.md b/docs/commands/iot.md index ce374de239..d72e8e2fc6 100644 --- a/docs/commands/iot.md +++ b/docs/commands/iot.md @@ -493,7 +493,7 @@ IoT Network commands. ### Create a new network -Create a new network for an existing hub. Beside the default network, you can add networks for different data providers. Possible network types are Sigfox and REST. +Create a new network for an existing hub. Beside the default network, you can add networks for different data providers. Possible network types are Sigfox and REST. **Usage:** @@ -536,7 +536,7 @@ scw iot network delete [arg=value ...] ### Retrieve a specific network -Retrieve an existing network, specified by its network ID. The response returns full details of the network, including its type, the topic prefix and its endpoint. +Retrieve an existing network, specified by its network ID. The response returns full details of the network, including its type, the topic prefix and its endpoint. **Usage:** diff --git a/docs/commands/jobs.md b/docs/commands/jobs.md index 120e5bff5c..c558b4750f 100644 --- a/docs/commands/jobs.md +++ b/docs/commands/jobs.md @@ -62,6 +62,7 @@ scw jobs definition create [arg=value ...] | job-timeout | | Timeout of the job in seconds | | cron-schedule.schedule | | | | cron-schedule.timezone | | | +| retry-policy.max-retries | | Maximum number of retries upon a job failure. | | region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config | @@ -182,6 +183,7 @@ scw jobs definition update [arg=value ...] | job-timeout | | Timeout of the job in seconds | | cron-schedule.schedule | | | | cron-schedule.timezone | | | +| retry-policy.max-retries | | | | region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config | diff --git a/docs/commands/lb.md b/docs/commands/lb.md index 810b8a3bd2..ca59018334 100644 --- a/docs/commands/lb.md +++ b/docs/commands/lb.md @@ -1256,7 +1256,7 @@ scw lb route get [arg=value ...] ### List all routes -List all routes for a given frontend. The response is an array of routes, each one with a specified backend to direct to if a certain condition is matched (based on the value of the SNI field or HTTP Host header). +List all routes for a given frontend. The response is an array of routes, each one with a specified backend to direct to if a certain condition is matched (based on the value of the SNI field or HTTP Host header). **Usage:** diff --git a/docs/commands/product-catalog.md b/docs/commands/product-catalog.md index e63b201fe0..c5f4ef2960 100644 --- a/docs/commands/product-catalog.md +++ b/docs/commands/product-catalog.md @@ -28,7 +28,7 @@ scw product-catalog product list [arg=value ...] | Name | | Description | |------|---|-------------| -| product-types.{index} | One of: `unknown_product_type`, `instance`, `apple_silicon`, `elastic_metal`, `dedibox`, `block_storage`, `object_storage`, `managed_inference`, `generative_apis`, `load_balancer`, `secret_manager`, `key_manager`, `managed_redis_database`, `kubernetes`, `managed_relational_database`, `managed_mongodb`, `serverless_functions`, `serverless_containers`, `serverless_jobs` | The list of filtered product categories. | +| product-types.{index} | One of: `unknown_product_type`, `instance`, `apple_silicon`, `elastic_metal`, `dedibox`, `block_storage`, `object_storage`, `managed_inference`, `generative_apis`, `load_balancer`, `secret_manager`, `key_manager`, `managed_redis_database`, `kubernetes`, `managed_relational_database`, `managed_mongodb`, `serverless_functions`, `serverless_containers`, `serverless_jobs`, `apache_kafka` | The list of filtered product categories. | | global | | Filter global products. | | region | | Filter products by region. | | zone | | Filter products by zone. | diff --git a/docs/commands/rdb.md b/docs/commands/rdb.md index a6e11f1561..0359fc897c 100644 --- a/docs/commands/rdb.md +++ b/docs/commands/rdb.md @@ -1357,7 +1357,7 @@ scw rdb read-replica delete [arg=value ...] ### Get a Read Replica -Retrieve information about a Database Instance Read Replica. Full details about the Read Replica, like `endpoints`, `status` and `region` are returned in the response. +Retrieve information about a Database Instance Read Replica. Full details about the Read Replica, like `endpoints`, `status` and `region` are returned in the response. **Usage:** @@ -1536,7 +1536,7 @@ scw rdb snapshot create [arg=value ...] ### Delete a Database Instance snapshot -Delete a given snapshot of a Database Instance. You must specify, in the endpoint, the `region` and `snapshot_id` parameters of the snapshot you want to delete. +Delete a given snapshot of a Database Instance. You must specify, in the endpoint, the `region` and `snapshot_id` parameters of the snapshot you want to delete. **Usage:** @@ -1674,7 +1674,7 @@ scw rdb user create [arg=value ...] ### Delete a user on a Database Instance -Delete a given user on a Database Instance. You must specify, in the endpoint, the `region`, `instance_id` and `name` parameters of the user you want to delete. +Delete a given user on a Database Instance. You must specify, in the endpoint, the `region`, `instance_id` and `name` parameters of the user you want to delete. **Usage:** diff --git a/docs/commands/registry.md b/docs/commands/registry.md index 0e8aa5e407..ca42de2f3c 100644 --- a/docs/commands/registry.md +++ b/docs/commands/registry.md @@ -109,7 +109,7 @@ scw registry image update [arg=value ...] | Name | | Description | |------|---|-------------| | image-id | Required | ID of the image to update | -| visibility | One of: `visibility_unknown`, `inherit`, `public`, `private` | Set to `public` to allow the image to be pulled without authentication. Else, set to `private`. Set to `inherit` to keep the same visibility configuration as the namespace | +| visibility | One of: `visibility_unknown`, `inherit`, `public`, `private` | Set to `public` to allow the image to be pulled without authentication. Else, set to `private`. Set to `inherit` to keep the same visibility configuration as the namespace | | region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config | diff --git a/docs/commands/search.md b/docs/commands/search.md index 6d8d5ff05a..f5c1ed4651 100644 --- a/docs/commands/search.md +++ b/docs/commands/search.md @@ -28,7 +28,7 @@ scw search resource search [arg=value ...] |------|---|-------------| | query | Required | Search query | | project-ids.{index} | | List of Project IDs to filter the resources by | -| types.{index} | One of: `unknown_type`, `instance_server`, `instance_volume`, `instance_image`, `instance_security_group`, `instance_private_nic`, `instance_snapshot`, `instance_placement_group`, `k8s_cluster`, `k8s_pool`, `k8s_node`, `domain_domain`, `dns_zone`, `vpc_private_network`, `vpc_vpc`, `vpg_gateway`, `apple_silicon_server`, `rdb_instance`, `rdb_snapshot`, `rdb_backup`, `baremetal_server`, `tem_domain`, `lb_server`, `serverless_functions_function`, `serverless_containers_container`, `wbh_hosting`, `redis_cluster`, `sm_secret`, `kms_key`, `edg_pipeline`, `mnq_nats_account`, `sbs_volume`, `sbs_snapshot`, `serverless_job_definition`, `serverless_sqldb_database`, `serverless_sqldb_backup`, `ddl_datalab`, `mgdb_instance`, `mgdb_snapshot`, `ifr_deployment`, `ifr_model`, `gapi_batch`, `dtwh_deployment`, `obs_datasource`, `obs_exporter`, `svpn_vpn_gateway`, `svpn_customer_gateway`, `svpn_connection`, `svpn_routing_policy`, `kafk_cluster`, `iam_api_key`, `iam_application`, `iam_user`, `iam_group`, `iam_policy` | List of resource types to filter the resources by | +| types.{index} | One of: `unknown_type`, `instance_server`, `instance_volume`, `instance_image`, `instance_security_group`, `instance_private_nic`, `instance_snapshot`, `instance_placement_group`, `k8s_cluster`, `k8s_pool`, `k8s_node`, `domain_domain`, `dns_zone`, `vpc_private_network`, `vpc_vpc`, `vpg_gateway`, `apple_silicon_server`, `rdb_instance`, `rdb_snapshot`, `rdb_backup`, `baremetal_server`, `tem_domain`, `lb_server`, `serverless_functions_function`, `serverless_containers_container`, `wbh_hosting`, `redis_cluster`, `sm_secret`, `kms_key`, `edg_pipeline`, `mnq_nats_account`, `sbs_volume`, `sbs_snapshot`, `serverless_job_definition`, `serverless_sqldb_database`, `serverless_sqldb_backup`, `ddl_datalab`, `mgdb_instance`, `mgdb_snapshot`, `ifr_deployment`, `ifr_model`, `gapi_batch`, `dtwh_deployment`, `obs_datasource`, `obs_exporter`, `svpn_vpn_gateway`, `svpn_customer_gateway`, `svpn_connection`, `svpn_routing_policy`, `kafk_cluster`, `iam_api_key`, `iam_application`, `iam_user`, `iam_group`, `iam_policy`, `sedb_cluster` | List of resource types to filter the resources by | | localities.{index} | One of: `unknown_locality`, `global`, `fr_rz`, `fr_srr`, `fr_srr_1`, `fr_par`, `fr_par_1`, `fr_par_2`, `fr_par_3`, `fr_par_4`, `nl_ams`, `nl_ams_1`, `nl_ams_2`, `nl_ams_3`, `pl_waw`, `pl_waw_1`, `pl_waw_2`, `pl_waw_3`, `fr_int`, `fr_int_1`, `fr_lab`, `fr_lab_1`, `it_mil`, `it_mil_1` | List of scopes (zones, regions, or global) to filter the resources by | | created-after | | Filter resources created after this timestamp | | created-before | | Filter resources created before this timestamp | diff --git a/docs/commands/vpc.md b/docs/commands/vpc.md index bd9bce6d62..a53708afcb 100644 --- a/docs/commands/vpc.md +++ b/docs/commands/vpc.md @@ -429,6 +429,7 @@ scw vpc vpc create [arg=value ...] | project-id | | Project ID to use. If none is passed the default project ID will be used | | tags.{index} | | Tags for the VPC | | enable-routing | | Enable routing between Private Networks in the VPC | +| enable-transitivity | | Enable packets from peered VPCs to transit through this VPC | | region | Default: `fr-par`
One of: `fr-par`, `it-mil`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config | diff --git a/go.mod b/go.mod index 8ede0d40db..c8c10ae943 100644 --- a/go.mod +++ b/go.mod @@ -27,7 +27,7 @@ require ( github.com/moby/moby/client v0.4.1 github.com/modelcontextprotocol/go-sdk v1.6.1 github.com/opencontainers/go-digest v1.0.0 - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260615091448-967f8b80b742 + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260617090821-fa699c591cad github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/cobra v1.10.2 github.com/spf13/pflag v1.0.10 diff --git a/go.sum b/go.sum index 5fb621502a..b652fa51b9 100644 --- a/go.sum +++ b/go.sum @@ -478,8 +478,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7 github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260615091448-967f8b80b742 h1:vn9aKXXSrJWgaeOn2vnWra1IPqXudnApSz2atrjD21I= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260615091448-967f8b80b742/go.mod h1:Q02gKOXqKfaCTpImuDgOLzlGin79ZoxxKKEhXHKSrPw= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260617090821-fa699c591cad h1:0DtI9Bvsxac7CfLUiMbk4RvK3526cmcf+k4jxgeCcHg= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260617090821-fa699c591cad/go.mod h1:Q02gKOXqKfaCTpImuDgOLzlGin79ZoxxKKEhXHKSrPw= github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8= github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM= github.com/secure-systems-lab/go-securesystemslib v0.10.0 h1:l+H5ErcW0PAehBNrBxoGv1jjNpGYdZ9RcheFkB2WI14= diff --git a/internal/namespaces/vpc/v2/vpc_cli.go b/internal/namespaces/vpc/v2/vpc_cli.go index 2dd55a5390..0b5431f1ad 100644 --- a/internal/namespaces/vpc/v2/vpc_cli.go +++ b/internal/namespaces/vpc/v2/vpc_cli.go @@ -236,6 +236,13 @@ func vpcVpcCreate() *core.Command { Deprecated: false, Positional: false, }, + { + Name: "enable-transitivity", + Short: `Enable packets from peered VPCs to transit through this VPC`, + Required: false, + Deprecated: false, + Positional: false, + }, core.RegionArgSpec( scw.RegionFrPar, scw.RegionItMil,