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