Class MonitorProtocol

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

public final class MonitorProtocol extends com.azure.core.util.ExpandableStringEnum<MonitorProtocol>
The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
  • Field Details

    • HTTP

      public static final MonitorProtocol HTTP
      Static value HTTP for MonitorProtocol.
    • HTTPS

      public static final MonitorProtocol HTTPS
      Static value HTTPS for MonitorProtocol.
    • TCP

      public static final MonitorProtocol TCP
      Static value TCP for MonitorProtocol.
  • Constructor Details

    • MonitorProtocol

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

    • fromString

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

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