Click or drag to resize
SecurityGroupRule Fields

The SecurityGroupRule type exposes the following members.

Fields
  NameDescription
Public fieldDirection
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.
Public fieldEthertype
The internet protocol version. Addresses represented in CIDR must match the ingress or egress rules.
Public fieldId
The UUID of the security group rule.
Public fieldProtocol
The protocol that is matched by the security group rule.
Public fieldRemoteCIDR
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.
Public fieldRemoteGroupId
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.
Public fieldSecurityGroupId
The UUId of security group
Top
See Also