NicFirewallRule
Properties
name
str
The name of the firewall rule.
[optional]
protocol
str
The protocol for the rule. The property cannot be modified after its creation (not allowed in update requests).
source_mac
str
Only traffic originating from the respective MAC address is permitted. Valid format: 'aa:bb:cc:dd:ee:ff'. The value 'null' allows traffic from any MAC address.
[optional]
source_ip
str
Only traffic originating from the respective IPv4 address is permitted. The value 'null' allows traffic from any IP address.
[optional]
target_ip
str
If the target NIC has multiple IP addresses, only the traffic directed to the respective IP address of the NIC is allowed. The value 'null' allows traffic to any target IP address.
[optional]
icmp_code
int
Sets the allowed code (from 0 to 254) when ICMP protocol is selected. The value 'null'' allows all codes.
[optional]
icmp_type
int
Sets the allowed type (from 0 to 254) if the protocol ICMP is selected. The value 'null' allows all types.
[optional]
port_range_start
int
Sets the initial range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is selected. The value 'null' for 'portRangeStart' and 'portRangeEnd' allows all ports.
[optional]
port_range_end
int
Sets the end range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is selected. The value 'null' for 'portRangeStart' and 'portRangeEnd' allows all ports.
[optional]
type
str
The firewall rule type. If not specified, the default value 'INGRESS' is used.
[optional]
Last updated
Was this helpful?