Class NetworkPolicy
java.lang.Object
com.azure.core.util.ExpandableStringEnum<NetworkPolicy>
com.azure.resourcemanager.hybridcontainerservice.models.NetworkPolicy
NetworkPolicy - Network policy used for building Kubernetes network. Possible values include: 'calico', 'flannel'.
Default is 'calico'.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final NetworkPolicy
Static value calico for NetworkPolicy.static final NetworkPolicy
Static value flannel for NetworkPolicy. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NetworkPolicy
fromString
(String name) Creates or finds a NetworkPolicy from its string representation.static Collection<NetworkPolicy>
values()
Gets known NetworkPolicy values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
CALICO
Static value calico for NetworkPolicy. -
FLANNEL
Static value flannel for NetworkPolicy.
-
-
Constructor Details
-
NetworkPolicy
public NetworkPolicy()
-
-
Method Details
-
fromString
Creates or finds a NetworkPolicy from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding NetworkPolicy.
-
values
Gets known NetworkPolicy values.- Returns:
- known NetworkPolicy values.
-