Skip to content

Commit b9be003

Browse files
committed
feat: update generated APIs
1 parent 157a515 commit b9be003

17 files changed

+21
-17
lines changed

cmd/scw/testdata/test-all-usage-function-function-get-download-url-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ USAGE:
66
scw function function get-download-url <function-id ...> [arg=value ...]
77

88
ARGS:
9-
function-id UUID of the function to get the the download URL for
9+
function-id UUID of the function to get the download URL for
1010
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1111

1212
FLAGS:

cmd/scw/testdata/test-all-usage-iam-group-add-member-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Add a user or an application to a group. You can specify a `user_id` and and `application_id` in the body of your request. Note that you can only add one of each per request.
3+
Add a user or an application to a group. You can specify a `user_id` and `application_id` in the body of your request. Note that you can only add one of each per request.
44

55
USAGE:
66
scw iam group add-member <group-id ...> [arg=value ...]

cmd/scw/testdata/test-all-usage-iam-group-remove-member-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Remove a user or an application from a group. You can specify a `user_id` and and `application_id` in the body of your request. Note that you can only remove one of each per request. Removing a user from a group means that any permissions given to them via the group (i.e. from an attached policy) will no longer apply. Be sure you want to remove these permissions from the user before proceeding.
3+
Remove a user or an application from a group. You can specify a `user_id` and `application_id` in the body of your request. Note that you can only remove one of each per request. Removing a user from a group means that any permissions given to them via the group (i.e. from an attached policy) will no longer apply. Be sure you want to remove these permissions from the user before proceeding.
44

55
USAGE:
66
scw iam group remove-member <group-id ...> [arg=value ...]

cmd/scw/testdata/test-all-usage-instance-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
This API allows you to manage your Instances.
3+
This API allows you to manage your CPU and GPU Instances.
44

55
USAGE:
66
scw instance <command>

cmd/scw/testdata/test-all-usage-interlink-link-create-usage.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ ARGS:
1313
bandwidth-mbps Desired bandwidth for the link. Must be compatible with available link bandwidths and remaining bandwidth capacity of the connection
1414
[connection-id] If set, creates a self-hosted link using this dedicated physical connection. As the customer, specify the ID of the physical connection you already have for this link.
1515
[partner-id] If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth.
16+
[peer-asn] For self-hosted links we need the peer AS Number to establish BGP session. If not given, a default one will be assigned.
1617
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1718

1819
FLAGS:

cmd/scw/testdata/test-all-usage-interlink-link-update-usage.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ARGS:
99
link-id ID of the link to update
1010
[name] Name of the link
1111
[tags.{index}] List of tags to apply to the link
12+
[peer-asn] For self-hosted links, AS Number to establish BGP session.
1213
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1314

1415
FLAGS:

cmd/scw/testdata/test-all-usage-vpc-gw-gateway-network-create-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ARGS:
1111
[enable-masquerade] Defines whether to enable masquerade (dynamic NAT) on the GatewayNetwork.
1212
[enable-dhcp] Defines whether to enable DHCP on this Private Network.
1313
[dhcp-id] ID of an existing DHCP configuration object to use for this GatewayNetwork
14-
[address] Static IP address in CIDR format to to use without DHCP
14+
[address] Static IP address in CIDR format to use without DHCP
1515
[ipam-config.push-default-route] Enabling the default route also enables masquerading
1616
[ipam-config.ipam-ip-id] Use this IPAM-booked IP ID as the Gateway's IP in this Private Network
1717
[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)

cmd/scw/testdata/test-all-usage-vpc-vpc-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ USAGE:
88
ARGS:
99
[order-by] Sort order of the returned VPCs (created_at_asc | created_at_desc | name_asc | name_desc)
1010
[name] Name to filter for. Only VPCs with names containing this string will be returned
11-
[tags.{index}] Tags to filter for. Only VPCs with one more more matching tags will be returned
11+
[tags.{index}] Tags to filter for. Only VPCs with one or more matching tags will be returned
1212
[project-id] Project ID to filter for. Only VPCs belonging to this Project will be returned
1313
[is-default] Defines whether to filter only for VPCs which are the default one for their Project
1414
[routing-enabled] Defines whether to filter only for VPCs which route traffic between their Private Networks

cmd/scw/testdata/test-main-usage-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ BAREMETAL COMMANDS:
1212
fip This API allows you to manage your Elastic Metal servers' flexible public IP addresses
1313

1414
COMPUTE COMMANDS:
15-
instance This API allows you to manage your Instances
15+
instance This API allows you to manage your CPU and GPU Instances
1616
marketplace This API allows you to find available images for use when launching a Scaleway Instance
1717

1818
CONFIGURATION COMMANDS:

docs/commands/function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ scw function function get-download-url <function-id ...> [arg=value ...]
383383

384384
| Name | | Description |
385385
|------|---|-------------|
386-
| function-id | Required | UUID of the function to get the the download URL for |
386+
| function-id | Required | UUID of the function to get the download URL for |
387387
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config |
388388

389389

0 commit comments

Comments
 (0)