MonitorProtocol Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. trafficmanager. models. MonitorProtocol
- com.
- com.
public final class MonitorProtocol
extends ExpandableStringEnum<MonitorProtocol>
The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Monitor |
HTTP
Static value HTTP for Monitor |
static final
Monitor |
HTTPS
Static value HTTPS for Monitor |
static final
Monitor |
TCP
Static value TCP for Monitor |
Constructor Summary
Constructor | Description |
---|---|
MonitorProtocol() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Monitor |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Monitor |
fromString(String name)
Creates or finds a Monitor |
static
Collection<Monitor |
values()
Gets known Monitor |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
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
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:
Returns:
values
public static Collection
Gets known MonitorProtocol values.
Returns:
Applies to
Azure SDK for Java