SecurityGroupRule Class |
Namespace: OpenStack.Networking.v2.Layer3
The SecurityGroupRule type exposes the following members.
Name | Description | |
---|---|---|
SecurityGroupRule | Initializes a new instance of the SecurityGroupRule class |
Name | Description | |
---|---|---|
Direction |
ingress or egress: the direction in which the security group rule is applied.
For a compute instance, an ingress security group rule is applied to incoming (ingress) traffic for that instance.
An egress rule is applied to traffic leaving the instance.
| |
Ethertype |
The internet protocol version. Addresses represented in CIDR must match the ingress or egress rules.
| |
Id |
The UUID of the security group rule.
| |
Protocol |
The protocol that is matched by the security group rule.
| |
RemoteCIDR |
The remote IP prefix or CIDR to associate with this security group rule.
You can specify either the remote_group_id or remote_ip_prefix attribute in the request body.
This attribute value matches the IP prefix as the source IP address of the IP packet.
| |
RemoteGroupId |
The remote group UUID to associate with this security group rule.
You can specify either the remote_group_id or remote_ip_prefix attribute in the request body.
| |
SecurityGroupId |
The UUId of security group
|
Name | Description | |
---|---|---|
MaxPort |
The maximum port number in the range that is matched by the security group rule.
The port_range_min attribute constrains the port_range_max attribute.
If the protocol is ICMP, this value must be an ICMP type.
| |
MinPort |
The minimum port number in the range that is matched by the security group rule.
If the protocol is TCP or UDP, this value must be less than or equal to the port_range_max attribute value.
If the protocol is ICMP, this value must be an ICMP type.
|