Class StorageProfile


  • public final class StorageProfile
    extends Object
    Defines the resource properties.
    • Constructor Detail

      • StorageProfile

        public StorageProfile()
    • Method Detail

      • disks

        public List<VirtualDisk> disks()
        Get the disks property: Gets or sets the list of virtual disks associated with the virtual machine.
        Returns:
        the disks value.
      • withDisks

        public StorageProfile withDisks​(List<VirtualDisk> disks)
        Set the disks property: Gets or sets the list of virtual disks associated with the virtual machine.
        Parameters:
        disks - the disks value to set.
        Returns:
        the StorageProfile object itself.
      • validate

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