NetworkPolicyArgs

data class NetworkPolicyArgs(val enabled: Output<Boolean>? = null, val provider: Output<NetworkPolicyProvider>? = null) : ConvertibleToJava<NetworkPolicyArgs>

Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/

Constructors

Link copied to clipboard
fun NetworkPolicyArgs(enabled: Output<Boolean>? = null, provider: Output<NetworkPolicyProvider>? = null)

Functions

Link copied to clipboard
open override fun toJava(): NetworkPolicyArgs

Properties

Link copied to clipboard
val enabled: Output<Boolean>? = null

Whether network policy is enabled on the cluster.

Link copied to clipboard
val provider: Output<NetworkPolicyProvider>? = null

The selected network policy provider.