SessionHostHealthCheckReport Class

  • java.lang.Object
    • com.azure.resourcemanager.desktopvirtualization.models.SessionHostHealthCheckReport

Implements

public final class SessionHostHealthCheckReport
implements JsonSerializable<SessionHostHealthCheckReport>

The report for session host information.

Constructor Summary

Constructor Description
SessionHostHealthCheckReport()

Creates an instance of SessionHostHealthCheckReport class.

Method Summary

Modifier and Type Method and Description
SessionHostHealthCheckFailureDetails additionalFailureDetails()

Get the additionalFailureDetails property: Additional detailed information on the failure.

static SessionHostHealthCheckReport fromJson(JsonReader jsonReader)

Reads an instance of SessionHostHealthCheckReport from the JsonReader.

HealthCheckName healthCheckName()

Get the healthCheckName property: Represents the name of the health check operation performed.

HealthCheckResult healthCheckResult()

Get the healthCheckResult property: Represents the Health state of the health check we performed.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

SessionHostHealthCheckReport

public SessionHostHealthCheckReport()

Creates an instance of SessionHostHealthCheckReport class.

Method Details

additionalFailureDetails

public SessionHostHealthCheckFailureDetails additionalFailureDetails()

Get the additionalFailureDetails property: Additional detailed information on the failure.

Returns:

the additionalFailureDetails value.

fromJson

public static SessionHostHealthCheckReport fromJson(JsonReader jsonReader)

Reads an instance of SessionHostHealthCheckReport from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SessionHostHealthCheckReport if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SessionHostHealthCheckReport.

healthCheckName

public HealthCheckName healthCheckName()

Get the healthCheckName property: Represents the name of the health check operation performed.

Returns:

the healthCheckName value.

healthCheckResult

public HealthCheckResult healthCheckResult()

Get the healthCheckResult property: Represents the Health state of the health check we performed.

Returns:

the healthCheckResult value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to