EndpointHealthData Class
The health data for an endpoint.
- Inheritance
-
azure.mgmt.iothub._serialization.ModelEndpointHealthData
Constructor
EndpointHealthData(*, endpoint_id: str | None = None, health_status: str | _models.EndpointHealthStatus | None = None, last_known_error: str | None = None, last_known_error_time: datetime | None = None, last_successful_send_attempt_time: datetime | None = None, last_send_attempt_time: datetime | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
endpoint_id
|
Id of the endpoint. |
health_status
|
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. Known values are: "unknown", "healthy", "degraded", "unhealthy", and "dead". |
last_known_error
|
Last error obtained when a message failed to be delivered to iot hub. |
last_known_error_time
|
Time at which the last known error occurred. |
last_successful_send_attempt_time
|
Last time iot hub successfully sent a message to the endpoint. |
last_send_attempt_time
|
Last time iot hub tried to send a message to the endpoint. |
Variables
Name | Description |
---|---|
endpoint_id
|
Id of the endpoint. |
health_status
|
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. Known values are: "unknown", "healthy", "degraded", "unhealthy", and "dead". |
last_known_error
|
Last error obtained when a message failed to be delivered to iot hub. |
last_known_error_time
|
Time at which the last known error occurred. |
last_successful_send_attempt_time
|
Last time iot hub successfully sent a message to the endpoint. |
last_send_attempt_time
|
Last time iot hub tried to send a message to the endpoint. |
Azure SDK for Python