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 Summary
FieldsModifier and TypeFieldDescriptionstatic final MonitorProtocolStatic value HTTP for MonitorProtocol.static final MonitorProtocolStatic value HTTPS for MonitorProtocol.static final MonitorProtocolStatic value TCP for MonitorProtocol. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MonitorProtocolfromString(String name) Creates or finds a MonitorProtocol from its string representation.static Collection<MonitorProtocol> values()Gets known MonitorProtocol values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
HTTP
Static value HTTP for MonitorProtocol. -
HTTPS
Static value HTTPS for MonitorProtocol. -
TCP
Static value TCP for MonitorProtocol.
-
-
Constructor Details
-
MonitorProtocol
Deprecated.Use thefromString(String)factory method.Creates a new instance of MonitorProtocol value.
-
-
Method Details
-
fromString
Creates or finds a MonitorProtocol from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding MonitorProtocol.
-
values
Gets known MonitorProtocol values.- Returns:
- known MonitorProtocol values.
-
fromString(String)factory method.