EndpointHealthData Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EndpointHealthData() |
Initializes a new instance of the EndpointHealthData class. |
EndpointHealthData(String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>) |
Initializes a new instance of the EndpointHealthData class. |
EndpointHealthData()
Initializes a new instance of the EndpointHealthData class.
public EndpointHealthData ();
Public Sub New ()
Applies to
EndpointHealthData(String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>)
Initializes a new instance of the EndpointHealthData class.
public EndpointHealthData (string endpointId = default, string healthStatus = default, string lastKnownError = default, DateTime? lastKnownErrorTime = default, DateTime? lastSuccessfulSendAttemptTime = default, DateTime? lastSendAttemptTime = default);
new Microsoft.Azure.Management.IotHub.Models.EndpointHealthData : string * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> -> Microsoft.Azure.Management.IotHub.Models.EndpointHealthData
Public Sub New (Optional endpointId As String = Nothing, Optional healthStatus As String = Nothing, Optional lastKnownError As String = Nothing, Optional lastKnownErrorTime As Nullable(Of DateTime) = Nothing, Optional lastSuccessfulSendAttemptTime As Nullable(Of DateTime) = Nothing, Optional lastSendAttemptTime As Nullable(Of DateTime) = Nothing)
Parameters
- endpointId
- String
Id of the endpoint
- healthStatus
- String
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. Possible values include: 'unknown', 'healthy', 'degraded', 'unhealthy', 'dead'
- lastKnownError
- String
Last error obtained when a message failed to be delivered to iot hub
Last time iot hub successfully sent a message to the endpoint
Applies to
Azure SDK for .NET