Class EndpointStatus

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

public final class EndpointStatus extends com.azure.core.util.ExpandableStringEnum<EndpointStatus>
The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
  • Field Details

    • ENABLED

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

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

    • EndpointStatus

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

    • fromString

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

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