Skip to main content
FieldTypeDescriptionValue(s)
namestringName of the config document.
portSelectorRulePortSelectorPort selector defines which ports and protocols on the host are affected by the rule.
ingress[]IngressRuleIngress defines which source subnets are allowed to access the host ports/protocols defined by the portSelector.

portSelector

RulePortSelector is a port selector for the network rule.
FieldTypeDescriptionValue(s)
portsPortRangesPorts defines a list of port ranges or single ports.
The port ranges are inclusive, and should not overlap.
protocolProtocolProtocol defines traffic protocol (e.g. TCP or UDP).tcp
udp
icmp
icmpv6

ingress[]

IngressRule is a ingress rule.
FieldTypeDescriptionValue(s)
subnetPrefixSubnet defines a source subnet.
exceptPrefixExcept defines a source subnet to exclude from the rule, it gets excluded from the subnet.