From c8278d7c7e89ef742685159ba4798e65b0793890 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Tue, 8 Apr 2025 13:35:14 +0000 Subject: [PATCH] feat: update generated APIs --- ...usage-document-db-setting-set-usage.golden | 2 +- ...ll-usage-function-domain-list-usage.golden | 2 +- ...sage-function-function-create-usage.golden | 2 +- ...ion-function-get-download-url-usage.golden | 2 +- ...-usage-function-function-list-usage.golden | 2 +- ...sage-function-function-update-usage.golden | 2 +- ...all-usage-function-token-list-usage.golden | 2 +- ...est-all-usage-iam-api-key-get-usage.golden | 2 +- .../test-all-usage-iam-group-get-usage.golden | 2 +- ...ll-usage-inference-acl-delete-usage.golden | 2 +- .../test-all-usage-inference-acl-usage.golden | 2 +- ...-usage-instance-server-update-usage.golden | 2 +- ...l-usage-interlink-link-create-usage.golden | 2 +- ...est-all-usage-iot-device-list-usage.golden | 2 +- ...est-all-usage-rdb-setting-set-usage.golden | 2 +- ...t-all-usage-redis-setting-set-usage.golden | 2 +- ...vpc-gw-gateway-network-create-usage.golden | 2 +- .../test-all-usage-vpc-vpc-list-usage.golden | 2 +- docs/commands/document-db.md | 2 +- docs/commands/function.md | 12 +-- docs/commands/iam.md | 4 +- docs/commands/inference.md | 6 +- docs/commands/instance.md | 2 +- docs/commands/interlink.md | 2 +- docs/commands/iot.md | 2 +- docs/commands/rdb.md | 2 +- docs/commands/redis.md | 2 +- docs/commands/vpc.md | 2 +- go.mod | 2 +- go.sum | 4 +- .../documentdb/v1beta1/documentdb_cli.go | 2 +- .../function/v1beta1/function_cli.go | 12 +-- internal/namespaces/iam/v1alpha1/iam_cli.go | 4 +- .../inference/v1beta1/inference_cli.go | 4 +- .../namespaces/instance/v1/instance_cli.go | 1 + ...tch-storage-default-scratch-storage.golden | 4 +- .../test-create-server-simple-default.golden | 4 +- .../v1/testdata/test-get-server-simple.golden | 2 + .../test-server-action-manual-poweron.golden | 4 +- .../testdata/test-server-update-simple.golden | 4 +- .../interlink/v1beta1/interlink_cli.go | 2 +- internal/namespaces/iot/v1/iot_cli.go | 2 +- internal/namespaces/rdb/v1/rdb_cli.go | 2 +- internal/namespaces/redis/v1/redis_cli.go | 2 +- internal/namespaces/vpc/v2/vpc_cli.go | 2 +- internal/namespaces/vpcgw/v1/vpcgw_cli.go | 76 +++++++++---------- 46 files changed, 108 insertions(+), 97 deletions(-) diff --git a/cmd/scw/testdata/test-all-usage-document-db-setting-set-usage.golden b/cmd/scw/testdata/test-all-usage-document-db-setting-set-usage.golden index b88af969a5..0856432744 100644 --- a/cmd/scw/testdata/test-all-usage-document-db-setting-set-usage.golden +++ b/cmd/scw/testdata/test-all-usage-document-db-setting-set-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟥🟥🟥 STDERR️️ 🟥🟥🟥️ -Update an advanced setting for a Database Instance. Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated. +Update an advanced setting for a Database Instance. Settings added upon database engine initialization can only be defined once, and cannot, therefore, be updated. USAGE: scw document-db setting set [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-function-domain-list-usage.golden b/cmd/scw/testdata/test-all-usage-function-domain-list-usage.golden index 798ed6b6e9..6771ddd4fe 100644 --- a/cmd/scw/testdata/test-all-usage-function-domain-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-function-domain-list-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: [order-by] Order of the domains (created_at_asc | created_at_desc | hostname_asc | hostname_desc) - [function-id] UUID of the function the domain is assoicated with + [function-id] UUID of the function the domain is associated with [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw | all) FLAGS: diff --git a/cmd/scw/testdata/test-all-usage-function-function-create-usage.golden b/cmd/scw/testdata/test-all-usage-function-function-create-usage.golden index 43dfb6418e..8d7a2e756b 100644 --- a/cmd/scw/testdata/test-all-usage-function-function-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-function-function-create-usage.golden @@ -9,7 +9,7 @@ ARGS: [name=] Name of the function to create [namespace-id] UUID of the namespace the function will be created in [environment-variables.{key}] Environment variables of the function - [min-scale] Minumum number of instances to scale the function to + [min-scale] Minimum number of instances to scale the function to [max-scale] Maximum number of instances to scale the function to [runtime] Runtime to use with the function (unknown_runtime | golang | python | python3 | node8 | node10 | node14 | node16 | node17 | python37 | python38 | python39 | python310 | go113 | go117 | go118 | node18 | rust165 | go119 | python311 | php82 | node19 | go120 | node20 | go121 | node22 | python312 | php83 | go122 | rust179 | go123 | go124 | python313 | rust185 | php84) [memory-limit] Memory limit of the function in MB diff --git a/cmd/scw/testdata/test-all-usage-function-function-get-download-url-usage.golden b/cmd/scw/testdata/test-all-usage-function-function-get-download-url-usage.golden index 2946aaea14..f4a335f9ff 100644 --- a/cmd/scw/testdata/test-all-usage-function-function-get-download-url-usage.golden +++ b/cmd/scw/testdata/test-all-usage-function-function-get-download-url-usage.golden @@ -6,7 +6,7 @@ USAGE: scw function function get-download-url [arg=value ...] ARGS: - function-id UUID of the function to get the the download URL for + function-id UUID of the function to get the download URL for [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-function-function-list-usage.golden b/cmd/scw/testdata/test-all-usage-function-function-list-usage.golden index 16a8bd4f22..9a278beb7f 100644 --- a/cmd/scw/testdata/test-all-usage-function-function-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-function-function-list-usage.golden @@ -10,7 +10,7 @@ ARGS: [namespace-id] UUID of the namespace the function belongs to [name] Name of the function [project-id] UUID of the Project the function belongs to - [organization-id] UUID of the Organziation the function belongs to + [organization-id] UUID of the Organization the function belongs to [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw | all) FLAGS: diff --git a/cmd/scw/testdata/test-all-usage-function-function-update-usage.golden b/cmd/scw/testdata/test-all-usage-function-function-update-usage.golden index 42cebd2b85..c87df51dd3 100644 --- a/cmd/scw/testdata/test-all-usage-function-function-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-function-function-update-usage.golden @@ -8,7 +8,7 @@ USAGE: ARGS: function-id UUID of the function to update [environment-variables.{key}] Environment variables of the function to update - [min-scale] Minumum number of instances to scale the function to + [min-scale] Minimum number of instances to scale the function to [max-scale] Maximum number of instances to scale the function to [runtime] Runtime to use with the function (unknown_runtime | golang | python | python3 | node8 | node10 | node14 | node16 | node17 | python37 | python38 | python39 | python310 | go113 | go117 | go118 | node18 | rust165 | go119 | python311 | php82 | node19 | go120 | node20 | go121 | node22 | python312 | php83 | go122 | rust179 | go123 | go124 | python313 | rust185 | php84) [memory-limit] Memory limit of the function in MB diff --git a/cmd/scw/testdata/test-all-usage-function-token-list-usage.golden b/cmd/scw/testdata/test-all-usage-function-token-list-usage.golden index 7d257ecb6d..f788ea8492 100644 --- a/cmd/scw/testdata/test-all-usage-function-token-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-function-token-list-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: [order-by] Sort order for the tokens (created_at_asc | created_at_desc) - [function-id] UUID of the function the token is assoicated with + [function-id] UUID of the function the token is associated with [namespace-id] UUID of the namespace the token is associated with [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw | all) diff --git a/cmd/scw/testdata/test-all-usage-iam-api-key-get-usage.golden b/cmd/scw/testdata/test-all-usage-iam-api-key-get-usage.golden index 94eb577609..0b56d04b15 100644 --- a/cmd/scw/testdata/test-all-usage-iam-api-key-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-iam-api-key-get-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟥🟥🟥 STDERR️️ 🟥🟥🟥️ -Retrive information about an API key, specified by the `access_key` parameter. The API key's details, including either the `user_id` or `application_id` of its bearer are returned in the response. Note that the string value for the `secret_key` is nullable, and therefore is not displayed in the response. The `secret_key` value is only displayed upon API key creation. +Retrieve information about an API key, specified by the `access_key` parameter. The API key's details, including either the `user_id` or `application_id` of its bearer are returned in the response. Note that the string value for the `secret_key` is nullable, and therefore is not displayed in the response. The `secret_key` value is only displayed upon API key creation. USAGE: scw iam api-key get [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-iam-group-get-usage.golden b/cmd/scw/testdata/test-all-usage-iam-group-get-usage.golden index 626a3455b4..738f57c01b 100644 --- a/cmd/scw/testdata/test-all-usage-iam-group-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-iam-group-get-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟥🟥🟥 STDERR️️ 🟥🟥🟥️ -Retrive information about a given group, specified by the `group_id` parameter. The group's full details, including `user_ids` and `application_ids` are returned in the response. +Retrieve information about a given group, specified by the `group_id` parameter. The group's full details, including `user_ids` and `application_ids` are returned in the response. USAGE: scw iam group get [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-inference-acl-delete-usage.golden b/cmd/scw/testdata/test-all-usage-inference-acl-delete-usage.golden index d971120549..8840f135b6 100644 --- a/cmd/scw/testdata/test-all-usage-inference-acl-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-inference-acl-delete-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟥🟥🟥 STDERR️️ 🟥🟥🟥️ -Delete an exising ACL. +Delete an existing ACL. USAGE: scw inference acl delete [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-inference-acl-usage.golden b/cmd/scw/testdata/test-all-usage-inference-acl-usage.golden index 4351d6b812..0b45ac2a8d 100644 --- a/cmd/scw/testdata/test-all-usage-inference-acl-usage.golden +++ b/cmd/scw/testdata/test-all-usage-inference-acl-usage.golden @@ -7,7 +7,7 @@ USAGE: AVAILABLE COMMANDS: add Add new ACLs - delete Delete an exising ACL + delete Delete an existing ACL list List your ACLs set Set new ACL diff --git a/cmd/scw/testdata/test-all-usage-instance-server-update-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-update-usage.golden index fbf1d40031..0baee0b45b 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-update-usage.golden @@ -34,7 +34,7 @@ ARGS: [volumes.{key}.organization] Organization ID of the volume [dynamic-ip-required] [public-ips.{index}] A list of reserved IP IDs to attach to the Instance - [protected] + [protected] True to activate server protection option [security-group-id] [volume-ids.{index}] Will update ALL volume IDs at once, including the root volume of the server (use volume-ids=none to detach all volumes) [placement-group-id] Placement group ID if Instance must be part of a placement group diff --git a/cmd/scw/testdata/test-all-usage-interlink-link-create-usage.golden b/cmd/scw/testdata/test-all-usage-interlink-link-create-usage.golden index 6baebe0903..f362caf68b 100644 --- a/cmd/scw/testdata/test-all-usage-interlink-link-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-interlink-link-create-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟥🟥🟥 STDERR️️ 🟥🟥🟥️ -Create a link (InterLink session / logical InterLink resource) in a given PoP, specifying its various configuration details. Links can either be hosted (faciliated by partners' shared physical connections) or self-hosted (for users who have purchased a dedicated physical connection). +Create a link (InterLink session / logical InterLink resource) in a given PoP, specifying its various configuration details. Links can either be hosted (facilitated by partners' shared physical connections) or self-hosted (for users who have purchased a dedicated physical connection). USAGE: scw interlink link create [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-iot-device-list-usage.golden b/cmd/scw/testdata/test-all-usage-iot-device-list-usage.golden index facf4f6e80..b6431fe1f9 100644 --- a/cmd/scw/testdata/test-all-usage-iot-device-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-iot-device-list-usage.golden @@ -9,7 +9,7 @@ ARGS: [order-by] Ordering of requested devices (name_asc | name_desc | status_asc | status_desc | hub_id_asc | hub_id_desc | created_at_asc | created_at_desc | updated_at_asc | updated_at_desc | allow_insecure_asc | allow_insecure_desc) [name] Name to filter for, only devices with this name will be returned [hub-id] Hub ID to filter for, only devices attached to this Hub will be returned - [allow-insecure] Defines wheter to filter the allow_insecure flag + [allow-insecure] Defines whether to filter the allow_insecure flag [status] Device status (enabled, disabled, etc.) (unknown | error | enabled | disabled) [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all) diff --git a/cmd/scw/testdata/test-all-usage-rdb-setting-set-usage.golden b/cmd/scw/testdata/test-all-usage-rdb-setting-set-usage.golden index d887481402..25f2fbe25f 100644 --- a/cmd/scw/testdata/test-all-usage-rdb-setting-set-usage.golden +++ b/cmd/scw/testdata/test-all-usage-rdb-setting-set-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟥🟥🟥 STDERR️️ 🟥🟥🟥️ -Update an advanced setting for a Database Instance. Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated. +Update an advanced setting for a Database Instance. Settings added upon database engine initialization can only be defined once, and cannot, therefore, be updated. USAGE: scw rdb setting set [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-redis-setting-set-usage.golden b/cmd/scw/testdata/test-all-usage-redis-setting-set-usage.golden index 9290621822..21073b508b 100644 --- a/cmd/scw/testdata/test-all-usage-redis-setting-set-usage.golden +++ b/cmd/scw/testdata/test-all-usage-redis-setting-set-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟥🟥🟥 STDERR️️ 🟥🟥🟥️ -Update an advanced setting for a Redis™ Database Instance (Redis™ cluster). Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated. +Update an advanced setting for a Redis™ Database Instance (Redis™ cluster). Settings added upon database engine initialization can only be defined once, and cannot, therefore, be updated. USAGE: scw redis setting set [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-vpc-gw-gateway-network-create-usage.golden b/cmd/scw/testdata/test-all-usage-vpc-gw-gateway-network-create-usage.golden index 26c6950759..e9bae635fe 100644 --- a/cmd/scw/testdata/test-all-usage-vpc-gw-gateway-network-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-vpc-gw-gateway-network-create-usage.golden @@ -11,7 +11,7 @@ ARGS: [enable-masquerade] Defines whether to enable masquerade (dynamic NAT) on the GatewayNetwork. [enable-dhcp] Defines whether to enable DHCP on this Private Network. [dhcp-id] ID of an existing DHCP configuration object to use for this GatewayNetwork - [address] Static IP address in CIDR format to to use without DHCP + [address] Static IP address in CIDR format to use without DHCP [ipam-config.push-default-route] Enabling the default route also enables masquerading [ipam-config.ipam-ip-id] Use this IPAM-booked IP ID as the Gateway's IP in this Private Network [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) diff --git a/cmd/scw/testdata/test-all-usage-vpc-vpc-list-usage.golden b/cmd/scw/testdata/test-all-usage-vpc-vpc-list-usage.golden index 31ebef11d3..b02c4ad3b4 100644 --- a/cmd/scw/testdata/test-all-usage-vpc-vpc-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-vpc-vpc-list-usage.golden @@ -8,7 +8,7 @@ USAGE: ARGS: [order-by] Sort order of the returned VPCs (created_at_asc | created_at_desc | name_asc | name_desc) [name] Name to filter for. Only VPCs with names containing this string will be returned - [tags.{index}] Tags to filter for. Only VPCs with one more more matching tags will be returned + [tags.{index}] Tags to filter for. Only VPCs with one or more matching tags will be returned [project-id] Project ID to filter for. Only VPCs belonging to this Project will be returned [is-default] Defines whether to filter only for VPCs which are the default one for their Project [routing-enabled] Defines whether to filter only for VPCs which route traffic between their Private Networks diff --git a/docs/commands/document-db.md b/docs/commands/document-db.md index abd10bb3b3..0a4ef5c1ab 100644 --- a/docs/commands/document-db.md +++ b/docs/commands/document-db.md @@ -965,7 +965,7 @@ scw document-db setting delete [arg=value ...] ### Set Database Instance advanced settings -Update an advanced setting for a Database Instance. Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated. +Update an advanced setting for a Database Instance. Settings added upon database engine initialization can only be defined once, and cannot, therefore, be updated. **Usage:** diff --git a/docs/commands/function.md b/docs/commands/function.md index 688554328c..b6b4db50ae 100644 --- a/docs/commands/function.md +++ b/docs/commands/function.md @@ -264,7 +264,7 @@ scw function domain list [arg=value ...] | Name | | Description | |------|---|-------------| | order-by | One of: `created_at_asc`, `created_at_desc`, `hostname_asc`, `hostname_desc` | Order of the domains | -| function-id | | UUID of the function the domain is assoicated with | +| function-id | | UUID of the function the domain is associated with | | region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw`, `all` | Region to target. If none is passed will use default region from the config | @@ -292,7 +292,7 @@ scw function function create [arg=value ...] | name | Default: `` | Name of the function to create | | namespace-id | | UUID of the namespace the function will be created in | | environment-variables.{key} | | Environment variables of the function | -| min-scale | | Minumum number of instances to scale the function to | +| min-scale | | Minimum number of instances to scale the function to | | max-scale | | Maximum number of instances to scale the function to | | runtime | One of: `unknown_runtime`, `golang`, `python`, `python3`, `node8`, `node10`, `node14`, `node16`, `node17`, `python37`, `python38`, `python39`, `python310`, `go113`, `go117`, `go118`, `node18`, `rust165`, `go119`, `python311`, `php82`, `node19`, `go120`, `node20`, `go121`, `node22`, `python312`, `php83`, `go122`, `rust179`, `go123`, `go124`, `python313`, `rust185`, `php84` | Runtime to use with the function | | memory-limit | | Memory limit of the function in MB | @@ -383,7 +383,7 @@ scw function function get-download-url [arg=value ...] | Name | | Description | |------|---|-------------| -| function-id | Required | UUID of the function to get the the download URL for | +| function-id | Required | UUID of the function to get the download URL for | | 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 | @@ -428,7 +428,7 @@ scw function function list [arg=value ...] | namespace-id | | UUID of the namespace the function belongs to | | name | | Name of the function | | project-id | | UUID of the Project the function belongs to | -| organization-id | | UUID of the Organziation the function belongs to | +| organization-id | | UUID of the Organization the function belongs to | | region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw`, `all` | Region to target. If none is passed will use default region from the config | @@ -450,7 +450,7 @@ scw function function update [arg=value ...] |------|---|-------------| | function-id | Required | UUID of the function to update | | environment-variables.{key} | | Environment variables of the function to update | -| min-scale | | Minumum number of instances to scale the function to | +| min-scale | | Minimum number of instances to scale the function to | | max-scale | | Maximum number of instances to scale the function to | | runtime | One of: `unknown_runtime`, `golang`, `python`, `python3`, `node8`, `node10`, `node14`, `node16`, `node17`, `python37`, `python38`, `python39`, `python310`, `go113`, `go117`, `go118`, `node18`, `rust165`, `go119`, `python311`, `php82`, `node19`, `go120`, `node20`, `go121`, `node22`, `python312`, `php83`, `go122`, `rust179`, `go123`, `go124`, `python313`, `rust185`, `php84` | Runtime to use with the function | | memory-limit | | Memory limit of the function in MB | @@ -694,7 +694,7 @@ scw function token list [arg=value ...] | Name | | Description | |------|---|-------------| | order-by | One of: `created_at_asc`, `created_at_desc` | Sort order for the tokens | -| function-id | | UUID of the function the token is assoicated with | +| function-id | | UUID of the function the token is associated with | | namespace-id | | UUID of the namespace the token is associated with | | region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw`, `all` | Region to target. If none is passed will use default region from the config | diff --git a/docs/commands/iam.md b/docs/commands/iam.md index ce4151b717..42c4920307 100644 --- a/docs/commands/iam.md +++ b/docs/commands/iam.md @@ -121,7 +121,7 @@ scw iam api-key delete SCW00000000000 ### Get an API key -Retrive information about an API key, specified by the `access_key` parameter. The API key's details, including either the `user_id` or `application_id` of its bearer are returned in the response. Note that the string value for the `secret_key` is nullable, and therefore is not displayed in the response. The `secret_key` value is only displayed upon API key creation. +Retrieve information about an API key, specified by the `access_key` parameter. The API key's details, including either the `user_id` or `application_id` of its bearer are returned in the response. Note that the string value for the `secret_key` is nullable, and therefore is not displayed in the response. The `secret_key` value is only displayed upon API key creation. **Usage:** @@ -409,7 +409,7 @@ scw iam group delete 11111111-1111-1111-1111-111111111111 ### Get a group -Retrive information about a given group, specified by the `group_id` parameter. The group's full details, including `user_ids` and `application_ids` are returned in the response. +Retrieve information about a given group, specified by the `group_id` parameter. The group's full details, including `user_ids` and `application_ids` are returned in the response. **Usage:** diff --git a/docs/commands/inference.md b/docs/commands/inference.md index fad2419622..7c02208d56 100644 --- a/docs/commands/inference.md +++ b/docs/commands/inference.md @@ -4,7 +4,7 @@ This API allows you to manage your Inference services. - [Access Control List (ACL) management commands](#access-control-list-(acl)-management-commands) - [Add new ACLs](#add-new-acls) - - [Delete an exising ACL](#delete-an-exising-acl) + - [Delete an existing ACL](#delete-an-existing-acl) - [List your ACLs](#list-your-acls) - [Set new ACL](#set-new-acl) - [Deployment commands](#deployment-commands) @@ -52,9 +52,9 @@ scw inference acl add [arg=value ...] -### Delete an exising ACL +### Delete an existing ACL -Delete an exising ACL. +Delete an existing ACL. **Usage:** diff --git a/docs/commands/instance.md b/docs/commands/instance.md index 270dd6e27a..50cfb0737d 100644 --- a/docs/commands/instance.md +++ b/docs/commands/instance.md @@ -2301,7 +2301,7 @@ scw instance server update [arg=value ...] | ~~routed-ip-enabled~~ | Deprecated | True to configure the instance so it uses the new routed IP mode (once this is set to True you cannot set it back to False) | | public-ips.{index} | | A list of reserved IP IDs to attach to the Instance | | ~~enable-ipv6~~ | Deprecated | | -| protected | | | +| protected | | True to activate server protection option | | security-group-id | | | | volume-ids.{index} | | Will update ALL volume IDs at once, including the root volume of the server (use volume-ids=none to detach all volumes) | | placement-group-id | | Placement group ID if Instance must be part of a placement group | diff --git a/docs/commands/interlink.md b/docs/commands/interlink.md index 27222ebf65..8f5514f216 100644 --- a/docs/commands/interlink.md +++ b/docs/commands/interlink.md @@ -92,7 +92,7 @@ scw interlink link attach_vpc [arg=value ...] ### Create a link -Create a link (InterLink session / logical InterLink resource) in a given PoP, specifying its various configuration details. Links can either be hosted (faciliated by partners' shared physical connections) or self-hosted (for users who have purchased a dedicated physical connection). +Create a link (InterLink session / logical InterLink resource) in a given PoP, specifying its various configuration details. Links can either be hosted (facilitated by partners' shared physical connections) or self-hosted (for users who have purchased a dedicated physical connection). **Usage:** diff --git a/docs/commands/iot.md b/docs/commands/iot.md index 918c813ba6..d8b2a05ecb 100644 --- a/docs/commands/iot.md +++ b/docs/commands/iot.md @@ -209,7 +209,7 @@ scw iot device list [arg=value ...] | order-by | One of: `name_asc`, `name_desc`, `status_asc`, `status_desc`, `hub_id_asc`, `hub_id_desc`, `created_at_asc`, `created_at_desc`, `updated_at_asc`, `updated_at_desc`, `allow_insecure_asc`, `allow_insecure_desc` | Ordering of requested devices | | name | | Name to filter for, only devices with this name will be returned | | hub-id | | Hub ID to filter for, only devices attached to this Hub will be returned | -| allow-insecure | | Defines wheter to filter the allow_insecure flag | +| allow-insecure | | Defines whether to filter the allow_insecure flag | | status | One of: `unknown`, `error`, `enabled`, `disabled` | Device status (enabled, disabled, etc.) | | region | Default: `fr-par`
One of: `fr-par`, `all` | Region to target. If none is passed will use default region from the config | diff --git a/docs/commands/rdb.md b/docs/commands/rdb.md index 3c9aafe9c2..319c25310d 100644 --- a/docs/commands/rdb.md +++ b/docs/commands/rdb.md @@ -1400,7 +1400,7 @@ scw rdb setting delete [arg=value ...] ### Set Database Instance advanced settings -Update an advanced setting for a Database Instance. Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated. +Update an advanced setting for a Database Instance. Settings added upon database engine initialization can only be defined once, and cannot, therefore, be updated. **Usage:** diff --git a/docs/commands/redis.md b/docs/commands/redis.md index 87195630c3..10ce5b3185 100644 --- a/docs/commands/redis.md +++ b/docs/commands/redis.md @@ -557,7 +557,7 @@ scw redis setting delete [arg=value ...] ### Set advanced settings -Update an advanced setting for a Redis™ Database Instance (Redis™ cluster). Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated. +Update an advanced setting for a Redis™ Database Instance (Redis™ cluster). Settings added upon database engine initialization can only be defined once, and cannot, therefore, be updated. **Usage:** diff --git a/docs/commands/vpc.md b/docs/commands/vpc.md index 48321cc7f9..e6bbfd8856 100644 --- a/docs/commands/vpc.md +++ b/docs/commands/vpc.md @@ -469,7 +469,7 @@ scw vpc vpc list [arg=value ...] |------|---|-------------| | order-by | One of: `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc` | Sort order of the returned VPCs | | name | | Name to filter for. Only VPCs with names containing this string will be returned | -| tags.{index} | | Tags to filter for. Only VPCs with one more more matching tags will be returned | +| tags.{index} | | Tags to filter for. Only VPCs with one or more matching tags will be returned | | project-id | | Project ID to filter for. Only VPCs belonging to this Project will be returned | | is-default | | Defines whether to filter only for VPCs which are the default one for their Project | | routing-enabled | | Defines whether to filter only for VPCs which route traffic between their Private Networks | diff --git a/go.mod b/go.mod index f9004bb73c..95b8c7fd61 100644 --- a/go.mod +++ b/go.mod @@ -23,7 +23,7 @@ require ( github.com/mattn/go-isatty v0.0.20 github.com/moby/buildkit v0.13.2 github.com/opencontainers/go-digest v1.0.0 - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250331103057-9ba2b07cedf3 + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250408082303-4ecf08b8a1ef github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/cobra v1.9.1 github.com/spf13/pflag v1.0.6 diff --git a/go.sum b/go.sum index 272fd7c1eb..76e50627c7 100644 --- a/go.sum +++ b/go.sum @@ -462,8 +462,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz 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.33.0.20250331103057-9ba2b07cedf3 h1:KNur0AcnbYdoNWt4octc3EgBbwADaDNMZh9yZj5m2Z8= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250331103057-9ba2b07cedf3/go.mod h1:792k1RTU+5JeMXm35/e2Wgp71qPH/DmDoZrRc+EFZDk= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250408082303-4ecf08b8a1ef h1:e0aETjcCykw59oyfal17KonPnJjnIsYKt4y9GHrwYjM= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250408082303-4ecf08b8a1ef/go.mod h1:ILAZV9jmsf+YmJ8UGNpZ9rUnKtHs5EqnBFv47qqYcaU= 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.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA= diff --git a/internal/namespaces/documentdb/v1beta1/documentdb_cli.go b/internal/namespaces/documentdb/v1beta1/documentdb_cli.go index 4de559c5d1..96f080fb95 100644 --- a/internal/namespaces/documentdb/v1beta1/documentdb_cli.go +++ b/internal/namespaces/documentdb/v1beta1/documentdb_cli.go @@ -1360,7 +1360,7 @@ func documentDbSettingDelete() *core.Command { func documentDbSettingSet() *core.Command { return &core.Command{ Short: `Set Database Instance advanced settings`, - Long: `Update an advanced setting for a Database Instance. Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated.`, + Long: `Update an advanced setting for a Database Instance. Settings added upon database engine initialization can only be defined once, and cannot, therefore, be updated.`, Namespace: "document-db", Resource: "setting", Verb: "set", diff --git a/internal/namespaces/function/v1beta1/function_cli.go b/internal/namespaces/function/v1beta1/function_cli.go index 9a70c12773..eac602d73f 100644 --- a/internal/namespaces/function/v1beta1/function_cli.go +++ b/internal/namespaces/function/v1beta1/function_cli.go @@ -451,7 +451,7 @@ func functionFunctionList() *core.Command { }, { Name: "organization-id", - Short: `UUID of the Organziation the function belongs to`, + Short: `UUID of the Organization the function belongs to`, Required: false, Deprecated: false, Positional: false, @@ -540,7 +540,7 @@ func functionFunctionCreate() *core.Command { }, { Name: "min-scale", - Short: `Minumum number of instances to scale the function to`, + Short: `Minimum number of instances to scale the function to`, Required: false, Deprecated: false, Positional: false, @@ -663,7 +663,7 @@ func functionFunctionUpdate() *core.Command { }, { Name: "min-scale", - Short: `Minumum number of instances to scale the function to`, + Short: `Minimum number of instances to scale the function to`, Required: false, Deprecated: false, Positional: false, @@ -894,7 +894,7 @@ func functionFunctionGetDownloadURL() *core.Command { ArgSpecs: core.ArgSpecs{ { Name: "function-id", - Short: `UUID of the function to get the the download URL for`, + Short: `UUID of the function to get the download URL for`, Required: true, Deprecated: false, Positional: true, @@ -1142,7 +1142,7 @@ func functionDomainList() *core.Command { }, { Name: "function-id", - Short: `UUID of the function the domain is assoicated with`, + Short: `UUID of the function the domain is associated with`, Required: false, Deprecated: false, Positional: false, @@ -1361,7 +1361,7 @@ func functionTokenList() *core.Command { }, { Name: "function-id", - Short: `UUID of the function the token is assoicated with`, + Short: `UUID of the function the token is associated with`, Required: false, Deprecated: false, Positional: false, diff --git a/internal/namespaces/iam/v1alpha1/iam_cli.go b/internal/namespaces/iam/v1alpha1/iam_cli.go index f379e3e071..81ded53166 100644 --- a/internal/namespaces/iam/v1alpha1/iam_cli.go +++ b/internal/namespaces/iam/v1alpha1/iam_cli.go @@ -1175,7 +1175,7 @@ func iamGroupCreate() *core.Command { func iamGroupGet() *core.Command { return &core.Command{ Short: `Get a group`, - Long: `Retrive information about a given group, specified by the ` + "`" + `group_id` + "`" + ` parameter. The group's full details, including ` + "`" + `user_ids` + "`" + ` and ` + "`" + `application_ids` + "`" + ` are returned in the response.`, + Long: `Retrieve information about a given group, specified by the ` + "`" + `group_id` + "`" + ` parameter. The group's full details, including ` + "`" + `user_ids` + "`" + ` and ` + "`" + `application_ids` + "`" + ` are returned in the response.`, Namespace: "iam", Resource: "group", Verb: "get", @@ -2170,7 +2170,7 @@ func iamAPIKeyCreate() *core.Command { func iamAPIKeyGet() *core.Command { return &core.Command{ Short: `Get an API key`, - Long: `Retrive information about an API key, specified by the ` + "`" + `access_key` + "`" + ` parameter. The API key's details, including either the ` + "`" + `user_id` + "`" + ` or ` + "`" + `application_id` + "`" + ` of its bearer are returned in the response. Note that the string value for the ` + "`" + `secret_key` + "`" + ` is nullable, and therefore is not displayed in the response. The ` + "`" + `secret_key` + "`" + ` value is only displayed upon API key creation.`, + Long: `Retrieve information about an API key, specified by the ` + "`" + `access_key` + "`" + ` parameter. The API key's details, including either the ` + "`" + `user_id` + "`" + ` or ` + "`" + `application_id` + "`" + ` of its bearer are returned in the response. Note that the string value for the ` + "`" + `secret_key` + "`" + ` is nullable, and therefore is not displayed in the response. The ` + "`" + `secret_key` + "`" + ` value is only displayed upon API key creation.`, Namespace: "iam", Resource: "api-key", Verb: "get", diff --git a/internal/namespaces/inference/v1beta1/inference_cli.go b/internal/namespaces/inference/v1beta1/inference_cli.go index dd1adf341d..9c3b906b61 100644 --- a/internal/namespaces/inference/v1beta1/inference_cli.go +++ b/internal/namespaces/inference/v1beta1/inference_cli.go @@ -637,8 +637,8 @@ func inferenceACLSet() *core.Command { func inferenceACLDelete() *core.Command { return &core.Command{ - Short: `Delete an exising ACL`, - Long: `Delete an exising ACL.`, + Short: `Delete an existing ACL`, + Long: `Delete an existing ACL.`, Namespace: "inference", Resource: "acl", Verb: "delete", diff --git a/internal/namespaces/instance/v1/instance_cli.go b/internal/namespaces/instance/v1/instance_cli.go index bbb7eaa414..516b2f333a 100644 --- a/internal/namespaces/instance/v1/instance_cli.go +++ b/internal/namespaces/instance/v1/instance_cli.go @@ -675,6 +675,7 @@ func instanceServerUpdate() *core.Command { }, { Name: "protected", + Short: `True to activate server protection option`, Required: false, Deprecated: false, Positional: false, diff --git a/internal/namespaces/instance/v1/testdata/test-create-server-scratch-storage-default-scratch-storage.golden b/internal/namespaces/instance/v1/testdata/test-create-server-scratch-storage-default-scratch-storage.golden index 8794617029..99f5f4026c 100644 --- a/internal/namespaces/instance/v1/testdata/test-create-server-scratch-storage-default-scratch-storage.golden +++ b/internal/namespaces/instance/v1/testdata/test-create-server-scratch-storage-default-scratch-storage.golden @@ -70,6 +70,7 @@ SecurityGroup.Name Default security group StateDetail - Arch x86_64 Zone fr-par-2 +EndOfService false 🟩🟩🟩 JSON STDOUT 🟩🟩🟩 { "id": "9851b09c-1c2b-4fef-bc06-7ce31ff3188a", @@ -189,5 +190,6 @@ Zone fr-par-2 "private_nics": [], "zone": "fr-par-2", "admin_password_encryption_ssh_key_id": null, - "admin_password_encrypted_value": null + "admin_password_encrypted_value": null, + "end_of_service": false } diff --git a/internal/namespaces/instance/v1/testdata/test-create-server-simple-default.golden b/internal/namespaces/instance/v1/testdata/test-create-server-simple-default.golden index beea88b0c4..96762d6523 100644 --- a/internal/namespaces/instance/v1/testdata/test-create-server-simple-default.golden +++ b/internal/namespaces/instance/v1/testdata/test-create-server-simple-default.golden @@ -39,6 +39,7 @@ SecurityGroup.Name Default security group StateDetail - Arch x86_64 Zone fr-par-1 +EndOfService false 🟩🟩🟩 JSON STDOUT 🟩🟩🟩 { "id": "cf1cfe02-38f9-4fce-bc1c-ab61925cff05", @@ -116,5 +117,6 @@ Zone fr-par-1 "private_nics": [], "zone": "fr-par-1", "admin_password_encryption_ssh_key_id": null, - "admin_password_encrypted_value": null + "admin_password_encrypted_value": null, + "end_of_service": false } diff --git a/internal/namespaces/instance/v1/testdata/test-get-server-simple.golden b/internal/namespaces/instance/v1/testdata/test-get-server-simple.golden index 1482eeac72..752c1c4fb8 100644 --- a/internal/namespaces/instance/v1/testdata/test-get-server-simple.golden +++ b/internal/namespaces/instance/v1/testdata/test-get-server-simple.golden @@ -20,6 +20,7 @@ SecurityGroup.Name Default security group StateDetail - Arch x86_64 Zone fr-par-1 +EndOfService false Server Image: ID 63d40353-5519-46d0-9172-ccf4885954e1 @@ -128,6 +129,7 @@ ID MAC ADDRESS PRIVATE NETWORK NAME PRIVATE NETWORK ID "zone": "fr-par-1", "admin_password_encryption_ssh_key_id": null, "admin_password_encrypted_value": null, + "end_of_service": false, "Volumes": [ { "id": "7b8f71d4-d089-4ba4-a713-6916e7d91c6c", diff --git a/internal/namespaces/instance/v1/testdata/test-server-action-manual-poweron.golden b/internal/namespaces/instance/v1/testdata/test-server-action-manual-poweron.golden index 1216e577cc..7a357fb19c 100644 --- a/internal/namespaces/instance/v1/testdata/test-server-action-manual-poweron.golden +++ b/internal/namespaces/instance/v1/testdata/test-server-action-manual-poweron.golden @@ -43,6 +43,7 @@ SecurityGroup.Name Default security group StateDetail booting kernel Arch x86_64 Zone fr-par-1 +EndOfService false 🟩🟩🟩 JSON STDOUT 🟩🟩🟩 { "id": "5c79fa34-9760-4cf7-94a8-ae28003c2353", @@ -129,5 +130,6 @@ Zone fr-par-1 "private_nics": [], "zone": "fr-par-1", "admin_password_encryption_ssh_key_id": null, - "admin_password_encrypted_value": null + "admin_password_encrypted_value": null, + "end_of_service": false } diff --git a/internal/namespaces/instance/v1/testdata/test-server-update-simple.golden b/internal/namespaces/instance/v1/testdata/test-server-update-simple.golden index cfb35ab88b..96e65905ca 100644 --- a/internal/namespaces/instance/v1/testdata/test-server-update-simple.golden +++ b/internal/namespaces/instance/v1/testdata/test-server-update-simple.golden @@ -39,6 +39,7 @@ Server.SecurityGroup.Name Default security group Server.StateDetail - Server.Arch x86_64 Server.Zone fr-par-1 +Server.EndOfService false 🟩🟩🟩 JSON STDOUT 🟩🟩🟩 { "server": { @@ -117,6 +118,7 @@ Server.Zone fr-par-1 "private_nics": [], "zone": "fr-par-1", "admin_password_encryption_ssh_key_id": null, - "admin_password_encrypted_value": null + "admin_password_encrypted_value": null, + "end_of_service": false } } diff --git a/internal/namespaces/interlink/v1beta1/interlink_cli.go b/internal/namespaces/interlink/v1beta1/interlink_cli.go index 8c104c966c..ad6a7b1f41 100644 --- a/internal/namespaces/interlink/v1beta1/interlink_cli.go +++ b/internal/namespaces/interlink/v1beta1/interlink_cli.go @@ -458,7 +458,7 @@ func interlinkLinkGet() *core.Command { func interlinkLinkCreate() *core.Command { return &core.Command{ Short: `Create a link`, - Long: `Create a link (InterLink session / logical InterLink resource) in a given PoP, specifying its various configuration details. Links can either be hosted (faciliated by partners' shared physical connections) or self-hosted (for users who have purchased a dedicated physical connection).`, + Long: `Create a link (InterLink session / logical InterLink resource) in a given PoP, specifying its various configuration details. Links can either be hosted (facilitated by partners' shared physical connections) or self-hosted (for users who have purchased a dedicated physical connection).`, Namespace: "interlink", Resource: "link", Verb: "create", diff --git a/internal/namespaces/iot/v1/iot_cli.go b/internal/namespaces/iot/v1/iot_cli.go index 9c3722c5eb..032243b0c3 100644 --- a/internal/namespaces/iot/v1/iot_cli.go +++ b/internal/namespaces/iot/v1/iot_cli.go @@ -572,7 +572,7 @@ func iotDeviceList() *core.Command { }, { Name: "allow-insecure", - Short: `Defines wheter to filter the allow_insecure flag`, + Short: `Defines whether to filter the allow_insecure flag`, Required: false, Deprecated: false, Positional: false, diff --git a/internal/namespaces/rdb/v1/rdb_cli.go b/internal/namespaces/rdb/v1/rdb_cli.go index d542f65308..af10eb1f26 100644 --- a/internal/namespaces/rdb/v1/rdb_cli.go +++ b/internal/namespaces/rdb/v1/rdb_cli.go @@ -1725,7 +1725,7 @@ func rdbSettingDelete() *core.Command { func rdbSettingSet() *core.Command { return &core.Command{ Short: `Set Database Instance advanced settings`, - Long: `Update an advanced setting for a Database Instance. Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated.`, + Long: `Update an advanced setting for a Database Instance. Settings added upon database engine initialization can only be defined once, and cannot, therefore, be updated.`, Namespace: "rdb", Resource: "setting", Verb: "set", diff --git a/internal/namespaces/redis/v1/redis_cli.go b/internal/namespaces/redis/v1/redis_cli.go index 5e4243bbdd..1fe62afe01 100644 --- a/internal/namespaces/redis/v1/redis_cli.go +++ b/internal/namespaces/redis/v1/redis_cli.go @@ -763,7 +763,7 @@ func redisSettingDelete() *core.Command { func redisSettingSet() *core.Command { return &core.Command{ Short: `Set advanced settings`, - Long: `Update an advanced setting for a Redis™ Database Instance (Redis™ cluster). Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated.`, + Long: `Update an advanced setting for a Redis™ Database Instance (Redis™ cluster). Settings added upon database engine initialization can only be defined once, and cannot, therefore, be updated.`, Namespace: "redis", Resource: "setting", Verb: "set", diff --git a/internal/namespaces/vpc/v2/vpc_cli.go b/internal/namespaces/vpc/v2/vpc_cli.go index 885b59a81d..2337c0f8ee 100644 --- a/internal/namespaces/vpc/v2/vpc_cli.go +++ b/internal/namespaces/vpc/v2/vpc_cli.go @@ -131,7 +131,7 @@ func vpcVpcList() *core.Command { }, { Name: "tags.{index}", - Short: `Tags to filter for. Only VPCs with one more more matching tags will be returned`, + Short: `Tags to filter for. Only VPCs with one or more matching tags will be returned`, Required: false, Deprecated: false, Positional: false, diff --git a/internal/namespaces/vpcgw/v1/vpcgw_cli.go b/internal/namespaces/vpcgw/v1/vpcgw_cli.go index 5d3f02cd8a..7591df2ad6 100644 --- a/internal/namespaces/vpcgw/v1/vpcgw_cli.go +++ b/internal/namespaces/vpcgw/v1/vpcgw_cli.go @@ -144,7 +144,7 @@ func vpcGwGatewayList() *core.Command { Namespace: "vpc-gw", Resource: "gateway", Verb: "list", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.ListGatewaysRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -268,7 +268,7 @@ func vpcGwGatewayGet() *core.Command { Namespace: "vpc-gw", Resource: "gateway", Verb: "get", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.GetGatewayRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -297,7 +297,7 @@ func vpcGwGatewayCreate() *core.Command { Namespace: "vpc-gw", Resource: "gateway", Verb: "create", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.CreateGatewayRequest{}), ArgSpecs: core.ArgSpecs{ core.ProjectIDArgSpec(), @@ -378,7 +378,7 @@ func vpcGwGatewayUpdate() *core.Command { Namespace: "vpc-gw", Resource: "gateway", Verb: "update", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.UpdateGatewayRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -449,7 +449,7 @@ func vpcGwGatewayDelete() *core.Command { Namespace: "vpc-gw", Resource: "gateway", Verb: "delete", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.DeleteGatewayRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -492,7 +492,7 @@ func vpcGwGatewayUpgrade() *core.Command { Namespace: "vpc-gw", Resource: "gateway", Verb: "upgrade", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.UpgradeGatewayRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -528,7 +528,7 @@ func vpcGwGatewayEnableIPMobility() *core.Command { Namespace: "vpc-gw", Resource: "gateway", Verb: "enable-ip-mobility", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.EnableIPMobilityRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -564,7 +564,7 @@ func vpcGwGatewayNetworkList() *core.Command { Namespace: "vpc-gw", Resource: "gateway-network", Verb: "list", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.ListGatewayNetworksRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -674,7 +674,7 @@ func vpcGwGatewayNetworkGet() *core.Command { Namespace: "vpc-gw", Resource: "gateway-network", Verb: "get", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.GetGatewayNetworkRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -703,7 +703,7 @@ func vpcGwGatewayNetworkCreate() *core.Command { Namespace: "vpc-gw", Resource: "gateway-network", Verb: "create", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.CreateGatewayNetworkRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -743,7 +743,7 @@ func vpcGwGatewayNetworkCreate() *core.Command { }, { Name: "address", - Short: `Static IP address in CIDR format to to use without DHCP`, + Short: `Static IP address in CIDR format to use without DHCP`, Required: false, Deprecated: false, Positional: false, @@ -781,7 +781,7 @@ func vpcGwGatewayNetworkUpdate() *core.Command { Namespace: "vpc-gw", Resource: "gateway-network", Verb: "update", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.UpdateGatewayNetworkRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -852,7 +852,7 @@ func vpcGwGatewayNetworkDelete() *core.Command { Namespace: "vpc-gw", Resource: "gateway-network", Verb: "delete", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.DeleteGatewayNetworkRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -895,7 +895,7 @@ func vpcGwDHCPList() *core.Command { Namespace: "vpc-gw", Resource: "dhcp", Verb: "list", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.ListDHCPsRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -1021,7 +1021,7 @@ func vpcGwDHCPGet() *core.Command { Namespace: "vpc-gw", Resource: "dhcp", Verb: "get", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.GetDHCPRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -1050,7 +1050,7 @@ func vpcGwDHCPCreate() *core.Command { Namespace: "vpc-gw", Resource: "dhcp", Verb: "create", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.CreateDHCPRequest{}), ArgSpecs: core.ArgSpecs{ core.ProjectIDArgSpec(), @@ -1164,7 +1164,7 @@ func vpcGwDHCPUpdate() *core.Command { Namespace: "vpc-gw", Resource: "dhcp", Verb: "update", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.UpdateDHCPRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -1284,7 +1284,7 @@ func vpcGwDHCPDelete() *core.Command { Namespace: "vpc-gw", Resource: "dhcp", Verb: "delete", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.DeleteDHCPRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -1320,7 +1320,7 @@ func vpcGwDHCPEntryList() *core.Command { Namespace: "vpc-gw", Resource: "dhcp-entry", Verb: "list", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.ListDHCPEntriesRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -1424,7 +1424,7 @@ func vpcGwDHCPEntryGet() *core.Command { Namespace: "vpc-gw", Resource: "dhcp-entry", Verb: "get", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.GetDHCPEntryRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -1453,7 +1453,7 @@ func vpcGwDHCPEntryCreate() *core.Command { Namespace: "vpc-gw", Resource: "dhcp-entry", Verb: "create", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.CreateDHCPEntryRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -1496,7 +1496,7 @@ func vpcGwDHCPEntryUpdate() *core.Command { Namespace: "vpc-gw", Resource: "dhcp-entry", Verb: "update", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.UpdateDHCPEntryRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -1532,7 +1532,7 @@ func vpcGwDHCPEntrySet() *core.Command { Namespace: "vpc-gw", Resource: "dhcp-entry", Verb: "set", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.SetDHCPEntriesRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -1575,7 +1575,7 @@ func vpcGwDHCPEntryDelete() *core.Command { Namespace: "vpc-gw", Resource: "dhcp-entry", Verb: "delete", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.DeleteDHCPEntryRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -1611,7 +1611,7 @@ func vpcGwPatRuleList() *core.Command { Namespace: "vpc-gw", Resource: "pat-rule", Verb: "list", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.ListPATRulesRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -1701,7 +1701,7 @@ func vpcGwPatRuleGet() *core.Command { Namespace: "vpc-gw", Resource: "pat-rule", Verb: "get", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.GetPATRuleRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -1730,7 +1730,7 @@ func vpcGwPatRuleCreate() *core.Command { Namespace: "vpc-gw", Resource: "pat-rule", Verb: "create", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.CreatePATRuleRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -1788,7 +1788,7 @@ func vpcGwPatRuleUpdate() *core.Command { Namespace: "vpc-gw", Resource: "pat-rule", Verb: "update", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.UpdatePATRuleRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -1846,7 +1846,7 @@ func vpcGwPatRuleSet() *core.Command { Namespace: "vpc-gw", Resource: "pat-rule", Verb: "set", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.SetPATRulesRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -1904,7 +1904,7 @@ func vpcGwPatRuleDelete() *core.Command { Namespace: "vpc-gw", Resource: "pat-rule", Verb: "delete", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.DeletePATRuleRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -1940,7 +1940,7 @@ func vpcGwGatewayTypeList() *core.Command { Namespace: "vpc-gw", Resource: "gateway-type", Verb: "list", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.ListGatewayTypesRequest{}), ArgSpecs: core.ArgSpecs{ core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.ZonePlWaw3), @@ -1962,7 +1962,7 @@ func vpcGwIPList() *core.Command { Namespace: "vpc-gw", Resource: "ip", Verb: "list", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.ListIPsRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -2065,7 +2065,7 @@ func vpcGwIPGet() *core.Command { Namespace: "vpc-gw", Resource: "ip", Verb: "get", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.GetIPRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -2094,7 +2094,7 @@ func vpcGwIPCreate() *core.Command { Namespace: "vpc-gw", Resource: "ip", Verb: "create", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.CreateIPRequest{}), ArgSpecs: core.ArgSpecs{ core.ProjectIDArgSpec(), @@ -2124,7 +2124,7 @@ func vpcGwIPUpdate() *core.Command { Namespace: "vpc-gw", Resource: "ip", Verb: "update", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.UpdateIPRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -2174,7 +2174,7 @@ func vpcGwIPDelete() *core.Command { Namespace: "vpc-gw", Resource: "ip", Verb: "delete", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.DeleteIPRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -2210,7 +2210,7 @@ func vpcGwGatewayRefreshSSHKeys() *core.Command { Namespace: "vpc-gw", Resource: "gateway", Verb: "refresh-ssh-keys", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.RefreshSSHKeysRequest{}), ArgSpecs: core.ArgSpecs{ { @@ -2239,7 +2239,7 @@ func vpcGwGatewayMigrateToV2() *core.Command { Namespace: "vpc-gw", Resource: "gateway", Verb: "migrate-to-v2", - // Deprecated: false, + // Deprecated: true, ArgsType: reflect.TypeOf(vpcgw.MigrateToV2Request{}), ArgSpecs: core.ArgSpecs{ {