Individual network ACL.
| C# |
public class NetworkAclEntry
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| NetworkAclEntry()()()() | Initializes a new instance of the NetworkAclEntry class | |
| CidrBlock |
The network range to allow or deny, in CIDR notation (e.g., 172.16.0.0/24).
| |
| Egress |
Whether this is an egress rule (rule is applied to traffic leaving the subnet).
Value of true indicates egress.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| Icmp |
The ICMP type and code (for the ICMP protocol).
| |
| IsSetCidrBlock()()()() |
Checks if CidrBlock property is set
| |
| IsSetEgress()()()() |
Checks if Egress property is set
| |
| IsSetIcmp()()()() |
Checks if Icmp property is set
| |
| IsSetPortRange()()()() |
Checks if PortRange property is set
| |
| IsSetProtocol()()()() |
Checks if Protocol property is set
| |
| IsSetRuleAction()()()() |
Checks if RuleAction property is set
| |
| IsSetRuleNumber()()()() |
Checks if RuleNumber property is set
| |
| PortRange |
The range of ports the rule applies to (for the TCP or UDP protocols).
| |
| Protocol |
IP protocol for the ACL.
Valid Values: tcp | udp | icmp or an IP protocol number.
| |
| RuleAction |
Whether to allow or deny the traffic that matches the rule.
Valid Values: allow | deny
| |
| RuleNumber |
Rule number for the entry.
ACL entries are processed in ascending order by rule number.
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| WithCidrBlock(String) | Obsolete.
Sets the network range to allow or deny, in CIDR notation (e.g., 172.16.0.0/24).
| |
| WithEgress(Boolean) | Obsolete.
Sets whether this is an egress rule (rule is applied to traffic leaving the subnet).
| |
| WithIcmp(Icmp) | Obsolete.
Sets the ICMP type and code (for the ICMP protocol).
| |
| WithPortRange(PortRange) | Obsolete.
Sets the range of ports the rule applies to (for the TCP or UDP protocols).
| |
| WithProtocol(String) | Obsolete.
Sets the IP protocol for the ACL.
| |
| WithRuleAction(String) | Obsolete.
Sets whether to allow or deny the traffic that matches the rule.
| |
| WithRuleNumber(Decimal) | Obsolete.
Sets the rule number for the entry.
|
| Object | |
| NetworkAclEntry | |