Share via


SessionHostHealthCheckFailureDetails Class

Definition

Contains details on the failure.

public class SessionHostHealthCheckFailureDetails : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DesktopVirtualization.Models.SessionHostHealthCheckFailureDetails>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DesktopVirtualization.Models.SessionHostHealthCheckFailureDetails>
type SessionHostHealthCheckFailureDetails = class
    interface IJsonModel<SessionHostHealthCheckFailureDetails>
    interface IPersistableModel<SessionHostHealthCheckFailureDetails>
Public Class SessionHostHealthCheckFailureDetails
Implements IJsonModel(Of SessionHostHealthCheckFailureDetails), IPersistableModel(Of SessionHostHealthCheckFailureDetails)
Inheritance
SessionHostHealthCheckFailureDetails
Implements

Properties

ErrorCode

Error code corresponding for the failure.

LastHealthCheckOn

The timestamp of the last update.

Message

Failure message: hints on what is wrong and how to recover.

Explicit Interface Implementations

IJsonModel<SessionHostHealthCheckFailureDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SessionHostHealthCheckFailureDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SessionHostHealthCheckFailureDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SessionHostHealthCheckFailureDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SessionHostHealthCheckFailureDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to