Skip to content

Commit a98ed41

Browse files
authored
Merge branch 'scaleway:master' into master
2 parents 44996e9 + 30b2b87 commit a98ed41

15 files changed

+1436
-1216
lines changed

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-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/iam.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ Groups management commands.
306306

307307
### Add a user or an application to a group
308308

309-
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.
309+
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.
310310

311311
**Usage:**
312312

@@ -453,7 +453,7 @@ scw iam group list [arg=value ...]
453453

454454
### Remove a user or an application from a group
455455

456-
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.
456+
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.
457457

458458
**Usage:**
459459

docs/commands/instance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- DO NOT EDIT: this file is automatically generated using scw-doc-gen -->
22
# Documentation for `scw instance`
3-
This API allows you to manage your Instances.
3+
This API allows you to manage your CPU and GPU Instances.
44

55
- [Image management commands](#image-management-commands)
66
- [Create an Instance image](#create-an-instance-image)

docs/commands/interlink.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ scw interlink link create [arg=value ...]
112112
| bandwidth-mbps | Required | Desired bandwidth for the link. Must be compatible with available link bandwidths and remaining bandwidth capacity of the connection |
113113
| 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. |
114114
| 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. |
115+
| 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. |
115116
| 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 |
116117

117118

@@ -289,6 +290,7 @@ scw interlink link update <link-id ...> [arg=value ...]
289290
| link-id | Required | ID of the link to update |
290291
| name | | Name of the link |
291292
| tags.{index} | | List of tags to apply to the link |
293+
| peer-asn | | For self-hosted links, AS Number to establish BGP session. |
292294
| 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 |
293295

294296

internal/namespaces/iam/v1alpha1/iam_cli.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,7 +1301,7 @@ func iamGroupSetMembers() *core.Command {
13011301
func iamGroupAddMember() *core.Command {
13021302
return &core.Command{
13031303
Short: `Add a user or an application to a group`,
1304-
Long: `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.`,
1304+
Long: `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.`,
13051305
Namespace: "iam",
13061306
Resource: "group",
13071307
Verb: "add-member",
@@ -1385,7 +1385,7 @@ func iamGroupAddMembers() *core.Command {
13851385
func iamGroupRemoveMember() *core.Command {
13861386
return &core.Command{
13871387
Short: `Remove a user or an application from a group`,
1388-
Long: `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.`,
1388+
Long: `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.`,
13891389
Namespace: "iam",
13901390
Resource: "group",
13911391
Verb: "remove-member",

0 commit comments

Comments
 (0)