Share via


SessionHostHealthCheckFailureDetails Class

Definition

Contains details on the failure.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.SessionHostHealthCheckFailureDetailsTypeConverter))]
public class SessionHostHealthCheckFailureDetails : Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.ISessionHostHealthCheckFailureDetails
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.SessionHostHealthCheckFailureDetailsTypeConverter))>]
type SessionHostHealthCheckFailureDetails = class
    interface ISessionHostHealthCheckFailureDetails
    interface IJsonSerializable
Public Class SessionHostHealthCheckFailureDetails
Implements ISessionHostHealthCheckFailureDetails
Inheritance
SessionHostHealthCheckFailureDetails
Attributes
Implements

Constructors

SessionHostHealthCheckFailureDetails()

Creates an new SessionHostHealthCheckFailureDetails instance.

Properties

ErrorCode

Error code corresponding for the failure.

LastHealthCheckDateTime

The timestamp of the last update.

Message

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SessionHostHealthCheckFailureDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SessionHostHealthCheckFailureDetails.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.ISessionHostHealthCheckFailureDetails.

FromJsonString(String)

Creates a new instance of SessionHostHealthCheckFailureDetails, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SessionHostHealthCheckFailureDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to