NetworkPolicy Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. NetworkPolicy
- com.
- com.
public final class NetworkPolicy
extends ExpandableStringEnum<NetworkPolicy>
Network policy used for building the Kubernetes network.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Network |
AZURE
Static value azure for Network |
static final
Network |
CALICO
Static value calico for Network |
static final
Network |
CILIUM
Static value cilium for Network |
static final
Network |
NONE
Static value none for Network |
Constructor Summary
Constructor | Description |
---|---|
NetworkPolicy() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Network |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Network |
fromString(String name)
Creates or finds a Network |
static
Collection<Network |
values()
Gets known Network |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AZURE
public static final NetworkPolicy AZURE
Static value azure for NetworkPolicy.
CALICO
public static final NetworkPolicy CALICO
Static value calico for NetworkPolicy.
CILIUM
public static final NetworkPolicy CILIUM
Static value cilium for NetworkPolicy.
NONE
public static final NetworkPolicy NONE
Static value none for NetworkPolicy.
Constructor Details
NetworkPolicy
@Deprecated
public NetworkPolicy()
Deprecated
Creates a new instance of NetworkPolicy value.
Method Details
fromString
public static NetworkPolicy fromString(String name)
Creates or finds a NetworkPolicy from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known NetworkPolicy values.
Returns:
Applies to
Azure SDK for Java