RegionNetworkPolicyTrafficClassificationRuleMatchLayer4Config constructor
const
RegionNetworkPolicyTrafficClassificationRuleMatchLayer4Config({})
Creates a new RegionNetworkPolicyTrafficClassificationRuleMatchLayer4Config.
ipProtocol The IP protocol to which this rule applies. The protocol type is required when creating a traffic classification rule.
ports An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port.
Implementation
const RegionNetworkPolicyTrafficClassificationRuleMatchLayer4Config({
required this.ipProtocol,
this.ports,
});