Class RestorePointSourceVMStorageProfile

java.lang.Object
com.azure.resourcemanager.compute.models.RestorePointSourceVMStorageProfile

public final class RestorePointSourceVMStorageProfile extends Object
Describes the storage profile.
  • Constructor Details

    • RestorePointSourceVMStorageProfile

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

    • osDisk

      public RestorePointSourceVmosDisk osDisk()
      Get the osDisk property: Gets the OS disk of the VM captured at the time of the restore point creation.
      Returns:
      the osDisk value.
    • withOsDisk

      Set the osDisk property: Gets the OS disk of the VM captured at the time of the restore point creation.
      Parameters:
      osDisk - the osDisk value to set.
      Returns:
      the RestorePointSourceVMStorageProfile object itself.
    • dataDisks

      public List<RestorePointSourceVMDataDisk> dataDisks()
      Get the dataDisks property: Gets the data disks of the VM captured at the time of the restore point creation.
      Returns:
      the dataDisks value.
    • withDataDisks

      Set the dataDisks property: Gets the data disks of the VM captured at the time of the restore point creation.
      Parameters:
      dataDisks - the dataDisks value to set.
      Returns:
      the RestorePointSourceVMStorageProfile object itself.
    • diskControllerType

      public DiskControllerTypes diskControllerType()
      Get the diskControllerType property: Gets the disk controller type of the VM captured at the time of the restore point creation.
      Returns:
      the diskControllerType value.
    • validate

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