Click or drag to resize
SecurityGroupRule Class
Inheritance Hierarchy
SystemObject
  OpenStack.Networking.v2.Layer3SecurityGroupRule

Namespace: OpenStack.Networking.v2.Layer3
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public class SecurityGroupRule : IHaveExtraData, 
	IServiceResource

The SecurityGroupRule type exposes the following members.

Constructors
  NameDescription
Public methodSecurityGroupRule
Initializes a new instance of the SecurityGroupRule class
Top
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
Properties
  NameDescription
Public propertyMaxPort
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.
Public propertyMinPort
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.
Top
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6
See Also