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 Details

    • status

      public ValidationTestRunStatus 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

      public ValidationTestRunProvisioningState provisioningState()
      Get the provisioningState property: The state of the test run.
      Returns:
      the provisioningState value.
    • startedAt

      public OffsetDateTime startedAt()
      Get the startedAt property: The start time of the test run.
      Returns:
      the startedAt value.
    • completedAt

      public OffsetDateTime completedAt()
      Get the completedAt property: The completion time of the test run.
      Returns:
      the completedAt value.
    • reportedAt

      public OffsetDateTime reportedAt()
      Get the reportedAt property: The time at which the test run result was reported.
      Returns:
      the reportedAt value.
    • testId

      public String testId()
      Get the testId property: The resource ID of the validation test in the validation test catalog.
      Returns:
      the testId value.
    • inputsJson

      public String 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

      public List<ValidationTestPassDetails> passDetails()
      Get the passDetails property: Detailed pass information when the test passes.
      Returns:
      the passDetails value.
    • failureDetails

      public List<ValidationTestFailureDetails> failureDetails()
      Get the failureDetails property: Detailed failure information when the test fails.
      Returns:
      the failureDetails value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.