Class TrafficRoutingMethod

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

public final class TrafficRoutingMethod extends com.azure.core.util.ExpandableStringEnum<TrafficRoutingMethod>
The traffic routing method of the Traffic Manager profile.
  • Field Details

    • PERFORMANCE

      public static final TrafficRoutingMethod PERFORMANCE
      Static value Performance for TrafficRoutingMethod.
    • PRIORITY

      public static final TrafficRoutingMethod PRIORITY
      Static value Priority for TrafficRoutingMethod.
    • WEIGHTED

      public static final TrafficRoutingMethod WEIGHTED
      Static value Weighted for TrafficRoutingMethod.
    • GEOGRAPHIC

      public static final TrafficRoutingMethod GEOGRAPHIC
      Static value Geographic for TrafficRoutingMethod.
    • MULTI_VALUE

      public static final TrafficRoutingMethod MULTI_VALUE
      Static value MultiValue for TrafficRoutingMethod.
    • SUBNET

      public static final TrafficRoutingMethod SUBNET
      Static value Subnet for TrafficRoutingMethod.
  • Constructor Details

    • TrafficRoutingMethod

      @Deprecated public TrafficRoutingMethod()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of TrafficRoutingMethod value.
  • Method Details

    • fromString

      public static TrafficRoutingMethod fromString(String name)
      Creates or finds a TrafficRoutingMethod from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding TrafficRoutingMethod.
    • values

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