Class ExecutionPlanRunProperties

java.lang.Object
com.azure.resourcemanager.platformvalidation.models.ExecutionPlanRunProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<ExecutionPlanRunProperties>

public final class ExecutionPlanRunProperties extends Object implements com.azure.json.JsonSerializable<ExecutionPlanRunProperties>
The properties of the execution plan run.
  • Constructor Details

    • ExecutionPlanRunProperties

      public ExecutionPlanRunProperties()
      Creates an instance of ExecutionPlanRunProperties class.
  • Method Details

    • description

      public String description()
      Get the description property: The description of the resource.
      Returns:
      the description value.
    • withDescription

      public ExecutionPlanRunProperties withDescription(String description)
      Set the description property: The description of the resource.
      Parameters:
      description - the description value to set.
      Returns:
      the ExecutionPlanRunProperties object itself.
    • status

      public ExecutionPlanRunStatus status()
      Get the status property: The status of the execution plan run.
      Returns:
      the status value.
    • error

      public com.azure.core.management.exception.ManagementError error()
      Get the error property: Error details. Populated when status is Failed, TimedOut, or Unknown.
      Returns:
      the error value.
    • startedAt

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

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

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

      public TestRunSummary testRunSummary()
      Get the testRunSummary property: Summary of tests executed for this run.
      Returns:
      the testRunSummary value.
    • planConfigurationSnapshot

      public String planConfigurationSnapshot()
      Get the planConfigurationSnapshot property: Snapshot of the execution plan configuration captured at trigger time.
      Returns:
      the planConfigurationSnapshot value.
    • testRunIds

      public List<String> testRunIds()
      Get the testRunIds property: The ARM resource IDs of the validation test runs (ValidationTestRun resources) executed as part of this execution plan run.
      Returns:
      the testRunIds value.
    • provisioningState

      public ExecutionPlanRunProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the execution plan run.
      Returns:
      the provisioningState value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ExecutionPlanRunProperties>
      Throws:
      IOException
    • fromJson

      public static ExecutionPlanRunProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ExecutionPlanRunProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ExecutionPlanRunProperties 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 ExecutionPlanRunProperties.