Skip to content

Commit 64d1121

Browse files
authored
Merge branch 'master' into feat/add_default_choice_for_mongodb
2 parents 31b5c02 + ee3e66a commit 64d1121

22 files changed

+543
-22
lines changed

cmd/scw/testdata/test-all-usage-iam-user-create-usage.golden

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ ARGS:
1313
[member.send-welcome-email] Whether or not to send a welcome email that includes onboarding information.
1414
[member.username] The member's username
1515
[member.password] The member's password
16+
[member.first-name] The member's first name
17+
[member.last-name] The member's last name
18+
[member.phone-number] The member's phone number
19+
[member.locale] The member's locale
1620
[organization-id] Organization ID to use. If none is passed the default organization ID will be used
1721

1822
FLAGS:

cmd/scw/testdata/test-all-usage-iam-user-update-usage.golden

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ ARGS:
99
user-id ID of the user to update
1010
[tags.{index}] New tags for the user (maximum of 10 tags)
1111
[email] IAM member email
12+
[first-name] IAM member first name
13+
[last-name] IAM member last name
14+
[phone-number] IAM member phone number
15+
[locale] IAM member locale
1216

1317
FLAGS:
1418
-h, --help help for update

cmd/scw/testdata/test-all-usage-lb-backend-create-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ ARGS:
1919
[health-check.check-max-retries] Number of consecutive unsuccessful health checks after which the server will be considered dead
2020
[health-check.mysql-config.user] MySQL user to use for the health check
2121
[health-check.pgsql-config.user] PostgreSQL user to use for the health check
22-
[health-check.http-config.uri] HTTP URI used for the health check
22+
[health-check.http-config.uri] HTTP path used for the health check
2323
[health-check.http-config.method] HTTP method used for the health check
2424
[health-check.http-config.code] HTTP response code expected for a successful health check
2525
[health-check.http-config.host-header] HTTP host header used for the health check
26-
[health-check.https-config.uri] HTTP URI used for the health check
26+
[health-check.https-config.uri] HTTP path used for the health check
2727
[health-check.https-config.method] HTTP method used for the health check
2828
[health-check.https-config.code] HTTP response code expected for a successful health check
2929
[health-check.https-config.host-header] HTTP host header used for the health check

cmd/scw/testdata/test-all-usage-lb-backend-update-healthcheck-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ ARGS:
1414
[check-send-proxy] Defines whether proxy protocol should be activated for the health check
1515
[mysql-config.user] MySQL user to use for the health check
1616
[pgsql-config.user] PostgreSQL user to use for the health check
17-
[http-config.uri] HTTP URI used for the health check
17+
[http-config.uri] HTTP path used for the health check
1818
[http-config.method] HTTP method used for the health check
1919
[http-config.code] HTTP response code expected for a successful health check
2020
[http-config.host-header] HTTP host header used for the health check
21-
[https-config.uri] HTTP URI used for the health check
21+
[https-config.uri] HTTP path used for the health check
2222
[https-config.method] HTTP method used for the health check
2323
[https-config.code] HTTP response code expected for a successful health check
2424
[https-config.host-header] HTTP host header used for the health check
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Retrieve the list of the available and free-of-charge offers you can subscribe to.
4+
5+
USAGE:
6+
scw tem offers list [arg=value ...]
7+
8+
ARGS:
9+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
10+
11+
FLAGS:
12+
-h, --help help for list
13+
14+
GLOBAL FLAGS:
15+
-c, --config string The path to the config file
16+
-D, --debug Enable debug mode
17+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
18+
-p, --profile string The config profile to use
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Update a subscribed offer.
4+
5+
USAGE:
6+
scw tem offers update [arg=value ...]
7+
8+
ARGS:
9+
[project-id] Project ID to use. If none is passed the default project ID will be used
10+
[name] Name of the offer-subscription (unknown_name | essential | scale)
11+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
12+
13+
FLAGS:
14+
-h, --help help for update
15+
16+
GLOBAL FLAGS:
17+
-c, --config string The path to the config file
18+
-D, --debug Enable debug mode
19+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
20+
-p, --profile string The config profile to use

cmd/scw/testdata/test-all-usage-tem-offers-usage.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
This section allows you to manage and get get subscribed information about your project email offer.
44

55
USAGE:
6-
scw tem offers
6+
scw tem offers <command>
7+
8+
AVAILABLE COMMANDS:
9+
list List the available offers.
10+
update Update a subscribed offer
711

812
FLAGS:
913
-h, --help help for offers
@@ -13,3 +17,5 @@ GLOBAL FLAGS:
1317
-D, --debug Enable debug mode
1418
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
1519
-p, --profile string The config profile to use
20+
21+
Use "scw tem offers [command] --help" for more information about a command.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Get project resource consumption.
4+
5+
USAGE:
6+
scw tem project-consumption get [arg=value ...]
7+
8+
ARGS:
9+
[project-id] Project ID to use. If none is passed the default project ID will be used
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
11+
12+
FLAGS:
13+
-h, --help help for get
14+
15+
GLOBAL FLAGS:
16+
-c, --config string The path to the config file
17+
-D, --debug Enable debug mode
18+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
19+
-p, --profile string The config profile to use

cmd/scw/testdata/test-all-usage-tem-project-consumption-usage.golden

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
Project consumption allow you to see your project consumption.
44

55
USAGE:
6-
scw tem project-consumption
6+
scw tem project-consumption <command>
7+
8+
AVAILABLE COMMANDS:
9+
get Get project resource consumption.
710

811
FLAGS:
912
-h, --help help for project-consumption
@@ -13,3 +16,5 @@ GLOBAL FLAGS:
1316
-D, --debug Enable debug mode
1417
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
1518
-p, --profile string The config profile to use
19+
20+
Use "scw tem project-consumption [command] --help" for more information about a command.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Retrieve a list of ACL rules for a VPC, specified by its VPC ID.
4+
5+
USAGE:
6+
scw vpc rule get [arg=value ...]
7+
8+
ARGS:
9+
vpc-id ID of the Network ACL's VPC
10+
is-ipv6 Defines whether this set of ACL rules is for IPv6 (false = IPv4). Each Network ACL can have rules for only one IP type.
11+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
12+
13+
FLAGS:
14+
-h, --help help for get
15+
16+
GLOBAL FLAGS:
17+
-c, --config string The path to the config file
18+
-D, --debug Enable debug mode
19+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
20+
-p, --profile string The config profile to use

0 commit comments

Comments
 (0)