Class OutboundType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<OutboundType>
com.azure.resourcemanager.containerservice.models.OutboundType
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class OutboundType extends com.azure.core.util.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 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).
    • 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).
    • MANAGED_NATGATEWAY

      public static final OutboundType MANAGED_NATGATEWAY
      The AKS-managed NAT gateway is used for egress.
    • 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.
    • 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/.
  • Constructor Details

    • OutboundType

      @Deprecated public OutboundType()
      Deprecated.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding OutboundType.
    • values

      public static Collection<OutboundType> values()
      Gets known OutboundType values.
      Returns:
      known OutboundType values.