Class VirtualMachineScaleSetUpdateStorageProfile
java.lang.Object
com.microsoft.azure.management.compute.VirtualMachineScaleSetUpdateStorageProfile
Describes a virtual machine scale set storage profile.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the data disks.Get the image reference.osDisk()
Get the OS disk.withDataDisks
(List<VirtualMachineScaleSetDataDisk> dataDisks) Set the data disks.withImageReference
(ImageReference imageReference) Set the image reference.Set the OS disk.
-
Constructor Details
-
VirtualMachineScaleSetUpdateStorageProfile
public VirtualMachineScaleSetUpdateStorageProfile()
-
-
Method Details
-
imageReference
Get the image reference.- Returns:
- the imageReference value
-
withImageReference
Set the image reference.- Parameters:
imageReference
- the imageReference value to set- Returns:
- the VirtualMachineScaleSetUpdateStorageProfile object itself.
-
osDisk
Get the OS disk.- Returns:
- the osDisk value
-
withOsDisk
public VirtualMachineScaleSetUpdateStorageProfile withOsDisk(VirtualMachineScaleSetUpdateOSDisk osDisk) Set the OS disk.- Parameters:
osDisk
- the osDisk value to set- Returns:
- the VirtualMachineScaleSetUpdateStorageProfile object itself.
-
dataDisks
Get the data disks.- Returns:
- the dataDisks value
-
withDataDisks
public VirtualMachineScaleSetUpdateStorageProfile withDataDisks(List<VirtualMachineScaleSetDataDisk> dataDisks) Set the data disks.- Parameters:
dataDisks
- the dataDisks value to set- Returns:
- the VirtualMachineScaleSetUpdateStorageProfile object itself.
-