Skip to content

Commit fb976e8

Browse files
committed
fix
1 parent 098278c commit fb976e8

31 files changed

Lines changed: 1175 additions & 0 deletions
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Add ACL rules for a given cluster.
4+
5+
USAGE:
6+
scw redis acl add [arg=value ...]
7+
8+
ARGS:
9+
cluster-id UUID of the cluster you want to add acl rules to
10+
[acl-rules.{index}.ip] IPv4 network address of the rule
11+
[acl-rules.{index}.description] Description of the rule
12+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-2)
13+
14+
FLAGS:
15+
-h, --help help for add
16+
17+
GLOBAL FLAGS:
18+
-c, --config string The path to the config file
19+
-D, --debug Enable debug mode
20+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
21+
-p, --profile string The config profile to use
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+
Delete an ACL rule for a given cluster.
4+
5+
USAGE:
6+
scw redis acl delete [arg=value ...]
7+
8+
ARGS:
9+
acl-id UUID of the acl rule you want to delete
10+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-2)
11+
12+
FLAGS:
13+
-h, --help help for delete
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
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 an ACL rule.
4+
5+
USAGE:
6+
scw redis acl get <acl-id ...> [arg=value ...]
7+
8+
ARGS:
9+
acl-id UUID of the acl rule you want to get
10+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-2)
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
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Set ACL rules for a given cluster.
4+
5+
USAGE:
6+
scw redis acl set [arg=value ...]
7+
8+
ARGS:
9+
cluster-id UUID of the cluster where the ACL rules has to be set
10+
[acl-rules.{index}.ip] IPv4 network address of the rule
11+
[acl-rules.{index}.description] Description of the rule
12+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-2)
13+
14+
FLAGS:
15+
-h, --help help for set
16+
17+
GLOBAL FLAGS:
18+
-c, --config string The path to the config file
19+
-D, --debug Enable debug mode
20+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
21+
-p, --profile string The config profile to use
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Network Access Control List allows to control network inbound traffic allowed by setting up ACL rules. ACL rules could be created, edited, deleted.
4+
5+
USAGE:
6+
scw redis acl <command>
7+
8+
AVAILABLE COMMANDS:
9+
add Add ACL rules for a given cluster
10+
delete Delete an ACL rule for a given cluster
11+
get Get an ACL rule
12+
set Set ACL rules for a given cluster
13+
14+
FLAGS:
15+
-h, --help help for acl
16+
17+
GLOBAL FLAGS:
18+
-c, --config string The path to the config file
19+
-D, --debug Enable debug mode
20+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
21+
-p, --profile string The config profile to use
22+
23+
Use "scw redis acl [command] --help" for more information about a command.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Create a cluster.
4+
5+
USAGE:
6+
scw redis cluster create [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=<generated>] Name of the cluster
11+
version Redis version of the cluster
12+
[tags.{index}] Tags to apply to the cluster
13+
node-type Type of node to use for the cluster
14+
user-name Name of the user created when the cluster is created
15+
password Password of the user
16+
[cluster-size] Number of nodes for the cluster
17+
[acl-rules.{index}.ip] IPv4 network address of the rule
18+
[acl-rules.{index}.description] Description of the rule
19+
[endpoints.{index}.private-network.id] UUID of the private network to be connected to the cluster
20+
[endpoints.{index}.private-network.service-ips.{index}] Endpoint IPv4 adress with a CIDR notation. You must provide at least one IPv4 per node. Check documentation about IP and subnet limitation.
21+
[tls-enabled] Whether or not TLS is enabled
22+
[cluster-settings.{index}.value] Value of the setting
23+
[cluster-settings.{index}.name] Name of the setting
24+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-2)
25+
26+
FLAGS:
27+
-h, --help help for create
28+
29+
GLOBAL FLAGS:
30+
-c, --config string The path to the config file
31+
-D, --debug Enable debug mode
32+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
33+
-p, --profile string The config profile to use
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+
Delete a cluster.
4+
5+
USAGE:
6+
scw redis cluster delete <cluster-id ...> [arg=value ...]
7+
8+
ARGS:
9+
cluster-id UUID of the cluster to delete
10+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-2)
11+
12+
FLAGS:
13+
-h, --help help for delete
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
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 the TLS certificate of a cluster.
4+
5+
USAGE:
6+
scw redis cluster get-certificate <cluster-id ...> [arg=value ...]
7+
8+
ARGS:
9+
cluster-id UUID of the cluster
10+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-2)
11+
12+
FLAGS:
13+
-h, --help help for get-certificate
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
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 a cluster.
4+
5+
USAGE:
6+
scw redis cluster get <cluster-id ...> [arg=value ...]
7+
8+
ARGS:
9+
cluster-id UUID of the cluster
10+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-2)
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
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
List clusters.
4+
5+
USAGE:
6+
scw redis cluster list [arg=value ...]
7+
8+
ARGS:
9+
[tags.{index}] Tags of the clusters to filter upon
10+
[name] Name of the clusters to filter upon
11+
[order-by] Criteria to use when ordering cluster listing (created_at_asc | created_at_desc | name_asc | name_desc)
12+
[project-id] Project ID to list the cluster of
13+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-2)
14+
15+
FLAGS:
16+
-h, --help help for list
17+
18+
GLOBAL FLAGS:
19+
-c, --config string The path to the config file
20+
-D, --debug Enable debug mode
21+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
22+
-p, --profile string The config profile to use

0 commit comments

Comments
 (0)