Class ProbeProtocol

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

public final class ProbeProtocol extends com.azure.core.util.ExpandableStringEnum<ProbeProtocol>
The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.
  • Field Details

    • HTTP

      public static final ProbeProtocol HTTP
      Static value Http for ProbeProtocol.
    • TCP

      public static final ProbeProtocol TCP
      Static value Tcp for ProbeProtocol.
    • HTTPS

      public static final ProbeProtocol HTTPS
      Static value Https for ProbeProtocol.
  • Constructor Details

    • ProbeProtocol

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

    • fromString

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

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