forked from scaleway/scaleway-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-all-usage-instance-security-group-update-rule-usage.golden
More file actions
28 lines (24 loc) · 1.58 KB
/
test-all-usage-instance-security-group-update-rule-usage.golden
File metadata and controls
28 lines (24 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Update the properties of a rule from a specified security group.
USAGE:
scw instance security-group update-rule [arg=value ...]
ARGS:
security-group-id UUID of the security group
security-group-rule-id UUID of the rule
[protocol] Protocol family this rule applies to (unknown_protocol | TCP | UDP | ICMP | ANY)
[direction] Direction the rule applies to (unknown_direction | inbound | outbound)
[action] Action to apply when the rule matches a packet (unknown_action | accept | drop)
[ip-range] Range of IP addresses these rules apply to
[dest-port-from] Beginning of the range of ports this rule applies to (inclusive). If 0 is provided, unset the parameter.
[dest-port-to] End of the range of ports this rule applies to (inclusive). If 0 is provided, unset the parameter.
[position] Position of this rule in the security group rules list
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3)
FLAGS:
-h, --help help for update-rule
GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current resource