Class VirtualMachineScaleSetUpdateStorageProfile

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

public final class VirtualMachineScaleSetUpdateStorageProfile extends Object
Describes a virtual machine scale set storage profile.
  • Constructor Details

    • VirtualMachineScaleSetUpdateStorageProfile

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

    • imageReference

      public ImageReference imageReference()
      Get the imageReference property: The image reference.
      Returns:
      the imageReference value.
    • withImageReference

      public VirtualMachineScaleSetUpdateStorageProfile withImageReference(ImageReference imageReference)
      Set the imageReference property: The image reference.
      Parameters:
      imageReference - the imageReference value to set.
      Returns:
      the VirtualMachineScaleSetUpdateStorageProfile object itself.
    • osDisk

      Get the osDisk property: The OS disk.
      Returns:
      the osDisk value.
    • withOsDisk

      Set the osDisk property: The OS disk.
      Parameters:
      osDisk - the osDisk value to set.
      Returns:
      the VirtualMachineScaleSetUpdateStorageProfile object itself.
    • dataDisks

      public List<VirtualMachineScaleSetDataDisk> dataDisks()
      Get the dataDisks property: The data disks.
      Returns:
      the dataDisks value.
    • withDataDisks

      Set the dataDisks property: The data disks.
      Parameters:
      dataDisks - the dataDisks value to set.
      Returns:
      the VirtualMachineScaleSetUpdateStorageProfile object itself.
    • diskControllerType

      public String diskControllerType()
      Get the diskControllerType property: The diskControllerType property.
      Returns:
      the diskControllerType value.
    • withDiskControllerType

      public VirtualMachineScaleSetUpdateStorageProfile withDiskControllerType(String diskControllerType)
      Set the diskControllerType property: The diskControllerType property.
      Parameters:
      diskControllerType - the diskControllerType value to set.
      Returns:
      the VirtualMachineScaleSetUpdateStorageProfile object itself.
    • validate

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