AdvancedNetworkPolicies Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. AdvancedNetworkPolicies
- com.
- com.
public final class AdvancedNetworkPolicies
extends ExpandableStringEnum<AdvancedNetworkPolicies>
Enable advanced network policies. This allows users to configure Layer 7 network policies (FQDN, HTTP, Kafka). Policies themselves must be configured via the Cilium Network Policy resources, see https://docs.cilium.io/en/latest/security/policy/index.html. This can be enabled only on cilium-based clusters. If not specified, the default value is FQDN if security.enabled is set to true.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Advanced |
FQDN
Enable FQDN based network policies. |
|
static final
Advanced |
L7
Enable Layer7 network policies (FQDN, HTTP/S, Kafka). |
|
static final
Advanced |
NONE
Disable Layer 7 network policies (FQDN, HTTP/S, Kafka). |
Constructor Summary
| Constructor | Description |
|---|---|
| AdvancedNetworkPolicies() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Advanced |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Advanced |
fromString(String name)
Creates or finds a Advanced |
|
static
Collection<Advanced |
values()
Gets known Advanced |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
FQDN
public static final AdvancedNetworkPolicies FQDN
Enable FQDN based network policies.
L7
public static final AdvancedNetworkPolicies L7
Enable Layer7 network policies (FQDN, HTTP/S, Kafka). This option is a superset of the FQDN option.
NONE
public static final AdvancedNetworkPolicies NONE
Disable Layer 7 network policies (FQDN, HTTP/S, Kafka).
Constructor Details
AdvancedNetworkPolicies
@Deprecated
public AdvancedNetworkPolicies()
Deprecated
Creates a new instance of AdvancedNetworkPolicies value.
Method Details
fromString
public static AdvancedNetworkPolicies fromString(String name)
Creates or finds a AdvancedNetworkPolicies from its string representation.
Parameters:
Returns:
values
public static Collection<AdvancedNetworkPolicies> values()
Gets known AdvancedNetworkPolicies values.
Returns: