EndpointHealthStatus Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. iothub. models. EndpointHealthStatus
- com.
- com.
public final class EndpointHealthStatus
extends ExpandableStringEnum<EndpointHealthStatus>
Health statuses have following meanings. The 'healthy' status shows that the endpoint is accepting messages as expected. The 'unhealthy' status shows that the endpoint is not accepting messages as expected and IoT Hub is retrying to send data to this endpoint. The status of an unhealthy endpoint will be updated to healthy when IoT Hub has established an eventually consistent state of health. The 'dead' status shows that the endpoint is not accepting messages, after IoT Hub retried sending messages for the retrial period. See IoT Hub metrics to identify errors and monitor issues with endpoints. The 'unknown' status shows that the IoT Hub has not established a connection with the endpoint. No messages have been delivered to or rejected from this endpoint.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Endpoint |
DEAD
Static value dead for Endpoint |
static final
Endpoint |
DEGRADED
Static value degraded for Endpoint |
static final
Endpoint |
HEALTHY
Static value healthy for Endpoint |
static final
Endpoint |
UNHEALTHY
Static value unhealthy for Endpoint |
static final
Endpoint |
UNKNOWN
Static value unknown for Endpoint |
Constructor Summary
Constructor | Description |
---|---|
EndpointHealthStatus() |
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
DEAD
public static final EndpointHealthStatus DEAD
Static value dead for EndpointHealthStatus.
DEGRADED
public static final EndpointHealthStatus DEGRADED
Static value degraded for EndpointHealthStatus.
HEALTHY
public static final EndpointHealthStatus HEALTHY
Static value healthy for EndpointHealthStatus.
UNHEALTHY
public static final EndpointHealthStatus UNHEALTHY
Static value unhealthy for EndpointHealthStatus.
UNKNOWN
public static final EndpointHealthStatus UNKNOWN
Static value unknown for EndpointHealthStatus.
Constructor Details
EndpointHealthStatus
@Deprecated
public EndpointHealthStatus()
Deprecated
Creates a new instance of EndpointHealthStatus value.
Method Details
fromString
public static EndpointHealthStatus fromString(String name)
Creates or finds a EndpointHealthStatus from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known EndpointHealthStatus values.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for