1- ## stackit beta security-group-rules create
1+ ## stackit beta security-group rule create
22
33Creates a security group rule
44
@@ -7,23 +7,23 @@ Creates a security group rule
77Creates a security group rule.
88
99```
10- stackit beta security-group-rules create [flags]
10+ stackit beta security-group rule create [flags]
1111```
1212
1313### Examples
1414
1515```
1616 Create a security group rule for security group with ID "xxx" with direction "ingress"
17- $ stackit beta security-group- rule create --security-group-id xxx --direction ingress
17+ $ stackit beta security-group rule create --security-group-id xxx --direction ingress
1818
1919 Create a security group rule for security group with ID "xxx" with direction "egress", protocol "icmp" and icmp parameters
20- $ stackit beta security-group- rule create --security-group-id xxx --direction egress --protocol icmp --icmp-parameter-code 0 --icmp-parameter-type 8
20+ $ stackit beta security-group rule create --security-group-id xxx --direction egress --protocol-name icmp --icmp-parameter-code 0 --icmp-parameter-type 8
2121
22- Create a security group rule for security group with ID "xxx" with direction "ingress" and port range values
23- $ stackit beta security-group- rule create --security-group-id xxx --direction ingress --port-range-max 24 --port-range-min 22
22+ Create a security group rule for security group with ID "xxx" with direction "ingress", protocol "tcp" and port range values
23+ $ stackit beta security-group rule create --security-group-id xxx --direction ingress --protocol-name tcp --port-range-max 24 --port-range-min 22
2424
2525 Create a security group rule for security group with ID "xxx" with direction "ingress" and protocol number 1
26- $ stackit beta security-group- rule create --security-group-id xxx --direction ingress --protocol-number 1
26+ $ stackit beta security-group rule create --security-group-id xxx --direction ingress --protocol-number 1
2727```
2828
2929### Options
@@ -32,14 +32,14 @@ stackit beta security-group-rules create [flags]
3232 --description string The rule description
3333 --direction ingress The direction of the traffic which the rule should match. The possible values are: ingress, `egress`
3434 --ether-type string The ethertype which the rule should match
35- -h, --help Help for "stackit beta security-group-rules create"
35+ -h, --help Help for "stackit beta security-group rule create"
3636 --icmp-parameter-code int ICMP code. Can be set if the protocol is ICMP
3737 --icmp-parameter-type int ICMP type. Can be set if the protocol is ICMP
3838 --ip-range string The remote IP range which the rule should match
3939 --port-range-max int The maximum port number. Should be greater or equal to the minimum. This should only be provided if the protocol is not ICMP
4040 --port-range-min int The minimum port number. Should be less or equal to the maximum. This should only be provided if the protocol is not ICMP
41- --protocol-name name The protocol name which the rule should match. Either name or `number` must be provided
42- --protocol-number name The protocol number which the rule should match. Either name or `number` must be provided
41+ --protocol-name name The protocol name which the rule should match. If a protocol is to be defined, either name or `number` must be provided
42+ --protocol-number name The protocol number which the rule should match. If a protocol is to be defined, either name or `number` must be provided
4343 --remote-security-group-id string The remote security group which the rule should match
4444 --security-group-id string The security group ID
4545```
@@ -56,5 +56,5 @@ stackit beta security-group-rules create [flags]
5656
5757### SEE ALSO
5858
59- * [ stackit beta security-group-rules ] ( ./stackit_beta_security-group-rules .md ) - Provides functionality for security group rules
59+ * [ stackit beta security-group rule ] ( ./stackit_beta_security-group_rule .md ) - Provides functionality for security group rules
6060
0 commit comments