Class AlwaysServe
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AlwaysServe>
com.azure.resourcemanager.trafficmanager.models.AlwaysServe
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the
traffic routing method.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AlwaysServeStatic value Disabled for AlwaysServe.static final AlwaysServeStatic value Enabled for AlwaysServe. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AlwaysServefromString(String name) Creates or finds a AlwaysServe from its string representation.static Collection<AlwaysServe> values()Gets known AlwaysServe values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ENABLED
Static value Enabled for AlwaysServe. -
DISABLED
Static value Disabled for AlwaysServe.
-
-
Constructor Details
-
AlwaysServe
Deprecated.Use thefromString(String)factory method.Creates a new instance of AlwaysServe value.
-
-
Method Details
-
fromString
Creates or finds a AlwaysServe from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding AlwaysServe.
-
values
Gets known AlwaysServe values.- Returns:
- known AlwaysServe values.
-
fromString(String)factory method.