network.v1.egressNetworkPolicyRule
"EgressNetworkPolicyRule contains a single egress network policy rule"
Index
Fields
fn withType
withType(type)
"type marks this as an \"Allow\" or \"Deny\" rule"
obj to
"EgressNetworkPolicyPeer specifies a target to apply egress network policy to"
fn to.withCidrSelector
withCidrSelector(cidrSelector)
"cidrSelector is the CIDR range to allow/deny traffic to. If this is set, dnsName must be unset"
fn to.withDnsName
withDnsName(dnsName)
"dnsName is the domain name to allow/deny traffic to. If this is set, cidrSelector must be unset"