Class VirtualMachineScaleSetStorageProfile
java.lang.Object
com.microsoft.azure.management.compute.VirtualMachineScaleSetStorageProfile
Describes a virtual machine scale set storage profile.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet specifies the parameters that are used to add data disks to the virtual machines in the scale set.Get specifies information about the image to use.osDisk()
Get specifies information about the operating system disk used by the virtual machines in the scale set.withDataDisks
(List<VirtualMachineScaleSetDataDisk> dataDisks) Set specifies the parameters that are used to add data disks to the virtual machines in the scale set.withImageReference
(ImageReference imageReference) Set specifies information about the image to use.Set specifies information about the operating system disk used by the virtual machines in the scale set.
-
Constructor Details
-
VirtualMachineScaleSetStorageProfile
public VirtualMachineScaleSetStorageProfile()
-
-
Method Details
-
imageReference
Get specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.- Returns:
- the imageReference value
-
withImageReference
Set specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.- Parameters:
imageReference
- the imageReference value to set- Returns:
- the VirtualMachineScaleSetStorageProfile object itself.
-
osDisk
Get specifies information about the operating system disk used by the virtual machines in the scale set. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).- Returns:
- the osDisk value
-
withOsDisk
Set specifies information about the operating system disk used by the virtual machines in the scale set. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).- Parameters:
osDisk
- the osDisk value to set- Returns:
- the VirtualMachineScaleSetStorageProfile object itself.
-
dataDisks
Get specifies the parameters that are used to add data disks to the virtual machines in the scale set. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).- Returns:
- the dataDisks value
-
withDataDisks
public VirtualMachineScaleSetStorageProfile withDataDisks(List<VirtualMachineScaleSetDataDisk> dataDisks) Set specifies the parameters that are used to add data disks to the virtual machines in the scale set. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).- Parameters:
dataDisks
- the dataDisks value to set- Returns:
- the VirtualMachineScaleSetStorageProfile object itself.
-