You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--direction ingress The direction of the traffic which the rule should match. The possible values are: ingress, `egress`
33
+
--direction stringThe direction of the traffic which the rule should match. The possible values are: "ingress", "egress"
34
34
--ether-type string The ethertype which the rule should match
35
35
-h, --help Help for "stackit beta security-group rule create"
36
36
--icmp-parameter-code int ICMP code. Can be set if the protocol is ICMP
37
37
--icmp-parameter-type int ICMP type. Can be set if the protocol is ICMP
38
38
--ip-range string The remote IP range which the rule should match
39
39
--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
40
40
--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 protocol-name The protocol name which the rule should match. If a protocol is to be defined, either protocol-name or `protocol-number` must be provided
42
-
--protocol-number protocol-name The protocol number which the rule should match. If a protocol is to be defined, either protocol-name or `protocol-number` must be provided
41
+
--protocol-name stringThe protocol name which the rule should match. If a protocol is to be defined, either "protocol-name" or "protocol-number" must be provided
42
+
--protocol-number intThe protocol number which the rule should match. If a protocol is to be defined, either "protocol-name" or "protocol-number" must be provided
43
43
--remote-security-group-id string The remote security group which the rule should match
cmd.Flags().Var(flags.UUIDFlag(), securityGroupIdFlag, "The security group ID")
127
-
cmd.Flags().String(directionFlag, "", "The direction of the traffic which the rule should match. The possible values are: `ingress`, `egress`")
128
-
cmd.Flags().String(descriptionFlag, "", "The rule description")
129
-
cmd.Flags().String(etherTypeFlag, "", "The ethertype which the rule should match")
130
-
cmd.Flags().Int64(icmpParameterCodeFlag, 0, "ICMP code. Can be set if the protocol is ICMP")
131
-
cmd.Flags().Int64(icmpParameterTypeFlag, 0, "ICMP type. Can be set if the protocol is ICMP")
132
-
cmd.Flags().String(ipRangeFlag, "", "The remote IP range which the rule should match")
133
-
cmd.Flags().Int64(portRangeMaxFlag, 0, "The maximum port number. Should be greater or equal to the minimum. This should only be provided if the protocol is not ICMP")
134
-
cmd.Flags().Int64(portRangeMinFlag, 0, "The minimum port number. Should be less or equal to the maximum. This should only be provided if the protocol is not ICMP")
135
-
cmd.Flags().Var(flags.UUIDFlag(), remoteSecurityGroupIdFlag, "The remote security group which the rule should match")
136
-
cmd.Flags().Int64(protocolNumberFlag, 0, "The protocol number which the rule should match. If a protocol is to be defined, either `protocol-name` or `protocol-number` must be provided")
137
-
cmd.Flags().String(protocolNameFlag, "", "The protocol name which the rule should match. If a protocol is to be defined, either `protocol-name` or `protocol-number` must be provided")
126
+
cmd.Flags().Var(flags.UUIDFlag(), securityGroupIdFlag, `The security group ID`)
127
+
cmd.Flags().String(directionFlag, "", `The direction of the traffic which the rule should match. The possible values are: "ingress", "egress"`)
cmd.Flags().String(etherTypeFlag, "", `The ethertype which the rule should match`)
130
+
cmd.Flags().Int64(icmpParameterCodeFlag, 0, `ICMP code. Can be set if the protocol is ICMP`)
131
+
cmd.Flags().Int64(icmpParameterTypeFlag, 0, `ICMP type. Can be set if the protocol is ICMP`)
132
+
cmd.Flags().String(ipRangeFlag, "", `The remote IP range which the rule should match`)
133
+
cmd.Flags().Int64(portRangeMaxFlag, 0, `The maximum port number. Should be greater or equal to the minimum. This should only be provided if the protocol is not ICMP`)
134
+
cmd.Flags().Int64(portRangeMinFlag, 0, `The minimum port number. Should be less or equal to the maximum. This should only be provided if the protocol is not ICMP`)
135
+
cmd.Flags().Var(flags.UUIDFlag(), remoteSecurityGroupIdFlag, `The remote security group which the rule should match`)
136
+
cmd.Flags().Int64(protocolNumberFlag, 0, `The protocol number which the rule should match. If a protocol is to be defined, either "protocol-name" or "protocol-number" must be provided`)
137
+
cmd.Flags().String(protocolNameFlag, "", `The protocol name which the rule should match. If a protocol is to be defined, either "protocol-name" or "protocol-number" must be provided`)
0 commit comments