AlwaysServe Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. trafficmanager. models. AlwaysServe
- com.
- com.
public final class AlwaysServe
extends ExpandableStringEnum<AlwaysServe>
If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Always |
DISABLED
Static value Disabled for Always |
static final
Always |
ENABLED
Static value Enabled for Always |
Constructor Summary
Constructor | Description |
---|---|
AlwaysServe() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Always |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Always |
fromString(String name)
Creates or finds a Always |
static
Collection<Always |
values()
Gets known Always |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DISABLED
public static final AlwaysServe DISABLED
Static value Disabled for AlwaysServe.
ENABLED
public static final AlwaysServe ENABLED
Static value Enabled for AlwaysServe.
Constructor Details
AlwaysServe
@Deprecated
public AlwaysServe()
Deprecated
Creates a new instance of AlwaysServe value.
Method Details
fromString
public static AlwaysServe fromString(String name)
Creates or finds a AlwaysServe from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known AlwaysServe values.
Returns:
Applies to
Azure SDK for Java