Class ValidationTestRunProperties
java.lang.Object
com.azure.resourcemanager.platformvalidation.models.ValidationTestRunProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ValidationTestRunProperties>
public final class ValidationTestRunProperties
extends Object
implements com.azure.json.JsonSerializable<ValidationTestRunProperties>
Validation Test Run properties.
-
Method Summary
Modifier and TypeMethodDescriptionGet the completedAt property: The completion time of the test run.com.azure.core.management.exception.ManagementErrorerror()Get the error property: Error details.Get the failureDetails property: Detailed failure information when the test fails.static ValidationTestRunPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ValidationTestRunProperties from the JsonReader.Get the inputsJson property: Validation test run inputs json, conforming to the input contract declared by `ValidationTestInput` on the corresponding validation test.Get the passDetails property: Detailed pass information when the test passes.Get the provisioningState property: The state of the test run.Get the reportedAt property: The time at which the test run result was reported.Get the startedAt property: The start time of the test run.status()Get the status property: The overall status of the test run.testId()Get the testId property: The resource ID of the validation test in the validation test catalog.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
status
Get the status property: The overall status of the test run.- Returns:
- the status value.
-
error
public com.azure.core.management.exception.ManagementError error()Get the error property: Error details. Populated when status is Error.- Returns:
- the error value.
-
provisioningState
Get the provisioningState property: The state of the test run.- Returns:
- the provisioningState value.
-
startedAt
Get the startedAt property: The start time of the test run.- Returns:
- the startedAt value.
-
completedAt
Get the completedAt property: The completion time of the test run.- Returns:
- the completedAt value.
-
reportedAt
Get the reportedAt property: The time at which the test run result was reported.- Returns:
- the reportedAt value.
-
testId
Get the testId property: The resource ID of the validation test in the validation test catalog.- Returns:
- the testId value.
-
inputsJson
Get the inputsJson property: Validation test run inputs json, conforming to the input contract declared by `ValidationTestInput` on the corresponding validation test. This value is returned as-is in get responses, so it must not contain credentials or other secrets.- Returns:
- the inputsJson value.
-
passDetails
Get the passDetails property: Detailed pass information when the test passes.- Returns:
- the passDetails value.
-
failureDetails
Get the failureDetails property: Detailed failure information when the test fails.- Returns:
- the failureDetails value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ValidationTestRunProperties>- Throws:
IOException
-
fromJson
public static ValidationTestRunProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ValidationTestRunProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ValidationTestRunProperties 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 ValidationTestRunProperties.
-