ProbeProtocol Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. ProbeProtocol
- com.
- com.
public final class ProbeProtocol
extends 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 Summary
Modifier and Type | Field and Description |
---|---|
static final
Probe |
HTTP
Static value Http for Probe |
static final
Probe |
HTTPS
Static value Https for Probe |
static final
Probe |
TCP
Static value Tcp for Probe |
Constructor Summary
Constructor | Description |
---|---|
ProbeProtocol() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Probe |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Probe |
fromString(String name)
Creates or finds a Probe |
static
Collection<Probe |
values()
Gets known Probe |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
HTTP
public static final ProbeProtocol HTTP
Static value Http for ProbeProtocol.
HTTPS
public static final ProbeProtocol HTTPS
Static value Https for ProbeProtocol.
TCP
public static final ProbeProtocol TCP
Static value Tcp for ProbeProtocol.
Constructor Details
ProbeProtocol
@Deprecated
public ProbeProtocol()
Deprecated
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:
Returns:
values
public static Collection
Gets known ProbeProtocol values.
Returns:
Applies to
Azure SDK for Java