SecurityGroupRule Fields |
The SecurityGroupRule type exposes the following members.
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
|