public class VirtualMachineScaleSetUpdateOSDisk extends Object
Constructor and Description |
---|
VirtualMachineScaleSetUpdateOSDisk() |
Modifier and Type | Method and Description |
---|---|
CachingTypes |
caching()
Get the caching type.
|
Integer |
diskSizeGB()
Get specifies the size of the operating system disk in gigabytes.
|
VirtualHardDisk |
image()
Get the Source User Image VirtualHardDisk.
|
VirtualMachineScaleSetManagedDiskParameters |
managedDisk()
Get the managed disk parameters.
|
List<String> |
vhdContainers()
Get the list of virtual hard disk container uris.
|
VirtualMachineScaleSetUpdateOSDisk |
withCaching(CachingTypes caching)
Set the caching type.
|
VirtualMachineScaleSetUpdateOSDisk |
withDiskSizeGB(Integer diskSizeGB)
Set specifies the size of the operating system disk in gigabytes.
|
VirtualMachineScaleSetUpdateOSDisk |
withImage(VirtualHardDisk image)
Set the Source User Image VirtualHardDisk.
|
VirtualMachineScaleSetUpdateOSDisk |
withManagedDisk(VirtualMachineScaleSetManagedDiskParameters managedDisk)
Set the managed disk parameters.
|
VirtualMachineScaleSetUpdateOSDisk |
withVhdContainers(List<String> vhdContainers)
Set the list of virtual hard disk container uris.
|
VirtualMachineScaleSetUpdateOSDisk |
withWriteAcceleratorEnabled(Boolean writeAcceleratorEnabled)
Set specifies whether writeAccelerator should be enabled or disabled on the disk.
|
Boolean |
writeAcceleratorEnabled()
Get specifies whether writeAccelerator should be enabled or disabled on the disk.
|
public CachingTypes caching()
public VirtualMachineScaleSetUpdateOSDisk withCaching(CachingTypes caching)
caching
- the caching value to setpublic Boolean writeAcceleratorEnabled()
public VirtualMachineScaleSetUpdateOSDisk withWriteAcceleratorEnabled(Boolean writeAcceleratorEnabled)
writeAcceleratorEnabled
- the writeAcceleratorEnabled value to setpublic Integer diskSizeGB()
public VirtualMachineScaleSetUpdateOSDisk withDiskSizeGB(Integer diskSizeGB)
diskSizeGB
- the diskSizeGB value to setpublic VirtualHardDisk image()
public VirtualMachineScaleSetUpdateOSDisk withImage(VirtualHardDisk image)
image
- the image value to setpublic List<String> vhdContainers()
public VirtualMachineScaleSetUpdateOSDisk withVhdContainers(List<String> vhdContainers)
vhdContainers
- the vhdContainers value to setpublic VirtualMachineScaleSetManagedDiskParameters managedDisk()
public VirtualMachineScaleSetUpdateOSDisk withManagedDisk(VirtualMachineScaleSetManagedDiskParameters managedDisk)
managedDisk
- the managedDisk value to setCopyright © 2019. All rights reserved.