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

public final class AlwaysServe extends com.azure.core.util.ExpandableStringEnum<AlwaysServe>
If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
  • Field Details

    • ENABLED

      public static final AlwaysServe ENABLED
      Static value Enabled for AlwaysServe.
    • DISABLED

      public static final AlwaysServe DISABLED
      Static value Disabled for AlwaysServe.
  • Constructor Details

    • AlwaysServe

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

    • fromString

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

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