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