HealthCheck Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. models. HealthCheck
- com.
Implements
public final class HealthCheck
implements JsonSerializable<HealthCheck>
An individual health check item.
Constructor Summary
| Constructor | Description |
|---|---|
| HealthCheck() |
Creates an instance of Health |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
additionalDetails()
Get the additional |
| String |
displayName()
Get the display |
|
Offset |
endDateTime()
Get the end |
| String |
errorType()
Get the error |
|
static
Health |
fromJson(JsonReader jsonReader)
Reads an instance of Health |
| String |
recommendedAction()
Get the recommended |
|
Offset |
startDateTime()
Get the start |
|
Health |
status()
Get the status property: The status of the health check item. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
HealthCheck
public HealthCheck()
Creates an instance of HealthCheck class.
Method Details
additionalDetails
public String additionalDetails()
Get the additionalDetails property: Additional details about the health check or the recommended action.
Returns:
displayName
public String displayName()
Get the displayName property: The display name of this health check item.
Returns:
endDateTime
public OffsetDateTime endDateTime()
Get the endDateTime property: End time of the health check item.
Returns:
errorType
public String errorType()
Get the errorType property: The type of error that occurred during this health check.
Returns:
fromJson
public static HealthCheck fromJson(JsonReader jsonReader)
Reads an instance of HealthCheck from the JsonReader.
Parameters:
Returns:
Throws:
recommendedAction
public String recommendedAction()
Get the recommendedAction property: The recommended action to fix the corresponding error.
Returns:
startDateTime
public OffsetDateTime startDateTime()
Get the startDateTime property: Start time of health check item.
Returns:
status
public HealthCheckStatus status()
Get the status property: The status of the health check item.
Returns:
toJson
validate
public void validate()
Validates the instance.