Class RestorePointInstanceView

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

public final class RestorePointInstanceView extends Object implements com.azure.json.JsonSerializable<RestorePointInstanceView>
The instance view of a restore point.
  • Method Details

    • diskRestorePoints

      public List<DiskRestorePointInstanceView> diskRestorePoints()
      Get the diskRestorePoints property: The disk restore points information.
      Returns:
      the diskRestorePoints value.
    • statuses

      public List<InstanceViewStatus> statuses()
      Get the statuses property: The resource status information.
      Returns:
      the statuses value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

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

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