OutboundType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. OutboundType
- com.
- com.
public final class OutboundType
extends ExpandableStringEnum<OutboundType>
The outbound (egress) routing method. This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype).
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Outbound |
LOAD_BALANCER
The load balancer is used for egress through an AKS assigned public IP. |
|
static final
Outbound |
MANAGED_NATGATEWAY
The AKS-managed NAT gateway is used for egress. |
|
static final
Outbound |
NONE
The AKS cluster is not set with any outbound-type. |
|
static final
Outbound |
USER_ASSIGNED_NATGATEWAY
The user-assigned NAT gateway associated to the cluster subnet is used for egress. |
|
static final
Outbound |
USER_DEFINED_ROUTING
Egress paths must be defined by the user. |
Constructor Summary
| Constructor | Description |
|---|---|
| OutboundType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Outbound |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Outbound |
fromString(String name)
Creates or finds a Outbound |
|
static
Collection<Outbound |
values()
Gets known Outbound |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
LOAD_BALANCER
public static final OutboundType LOAD_BALANCER
The load balancer is used for egress through an AKS assigned public IP. This supports Kubernetes services of type 'loadBalancer'. For more information see [outbound type loadbalancer](https://docs.microsoft.com/azure/aks/egress-outboundtype\#outbound-type-of-loadbalancer).
MANAGED_NATGATEWAY
public static final OutboundType MANAGED_NATGATEWAY
The AKS-managed NAT gateway is used for egress.
NONE
public static final OutboundType NONE
The AKS cluster is not set with any outbound-type. All AKS nodes follows Azure VM default outbound behavior. Please refer to https://azure.microsoft.com/en-us/updates/default-outbound-access-for-vms-in-azure-will-be-retired-transition-to-a-new-method-of-internet-access/.
USER_ASSIGNED_NATGATEWAY
public static final OutboundType USER_ASSIGNED_NATGATEWAY
The user-assigned NAT gateway associated to the cluster subnet is used for egress. This is an advanced scenario and requires proper network configuration.
USER_DEFINED_ROUTING
public static final OutboundType USER_DEFINED_ROUTING
Egress paths must be defined by the user. This is an advanced scenario and requires proper network configuration. For more information see [outbound type userDefinedRouting](https://docs.microsoft.com/azure/aks/egress-outboundtype\#outbound-type-of-userdefinedrouting).
Constructor Details
OutboundType
@Deprecated
public OutboundType()
Deprecated
Creates a new instance of OutboundType value.
Method Details
fromString
public static OutboundType fromString(String name)
Creates or finds a OutboundType from its string representation.
Parameters:
Returns:
values
public static Collection<OutboundType> values()
Gets known OutboundType values.
Returns: