Class StorageProfile
- java.lang.Object
-
- com.azure.resourcemanager.scvmm.models.StorageProfile
-
public final class StorageProfile extends Object
Defines the resource properties.
-
-
Constructor Summary
Constructors Constructor Description StorageProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<VirtualDisk>
disks()
Get the disks property: Gets or sets the list of virtual disks associated with the virtual machine.void
validate()
Validates the instance.StorageProfile
withDisks(List<VirtualDisk> disks)
Set the disks property: Gets or sets the list of virtual disks associated with the virtual machine.
-
-
-
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.
-
-