Class Layer3FirewallRule
L3FirewallRule
[DataContract]
public class Layer3FirewallRule
- Inheritance
-
Layer3FirewallRule
- Inherited Members
Properties
Comment
Description of the rule (optional)
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "comment")]
public string? Comment { get; set; }
Property Value
DestinationCidr
Destination IP address (in IP or CIDR notation), a fully-qualified domain name (FQDN, if your network supports it) or 'any'.
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "destCidr")]
public string DestinationCidr { get; set; }
Property Value
DestinationPort
Destination port (integer in the range 1-65535), a port range (e.g. 8080-9090), or 'any'
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "destPort")]
public string DestinationPort { get; set; }
Property Value
Policy
'allow' or 'deny' traffic specified by this rule
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "policy")]
public string Policy { get; set; }
Property Value
Protocol
The type of protocol (must be 'tcp', 'udp', 'icmp' or 'any')
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "protocol")]
public FirewallProtocol Protocol { get; set; }