public class VirtualMachineScaleSetDataDisk extends Object
Constructor and Description |
---|
VirtualMachineScaleSetDataDisk() |
Modifier and Type | Method and Description |
---|---|
CachingTypes |
caching()
Get specifies the caching requirements.
|
DiskCreateOptionTypes |
createOption()
Get the create option.
|
Integer |
diskSizeGB()
Get specifies the size of an empty data disk in gigabytes.
|
int |
lun()
Get specifies the logical unit number of the data disk.
|
VirtualMachineScaleSetManagedDiskParameters |
managedDisk()
Get the managed disk parameters.
|
String |
name()
Get the disk name.
|
VirtualMachineScaleSetDataDisk |
withCaching(CachingTypes caching)
Set specifies the caching requirements.
|
VirtualMachineScaleSetDataDisk |
withCreateOption(DiskCreateOptionTypes createOption)
Set the create option.
|
VirtualMachineScaleSetDataDisk |
withDiskSizeGB(Integer diskSizeGB)
Set specifies the size of an empty data disk in gigabytes.
|
VirtualMachineScaleSetDataDisk |
withLun(int lun)
Set specifies the logical unit number of the data disk.
|
VirtualMachineScaleSetDataDisk |
withManagedDisk(VirtualMachineScaleSetManagedDiskParameters managedDisk)
Set the managed disk parameters.
|
VirtualMachineScaleSetDataDisk |
withName(String name)
Set the disk name.
|
VirtualMachineScaleSetDataDisk |
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 String name()
public VirtualMachineScaleSetDataDisk withName(String name)
name
- the name value to setpublic int lun()
public VirtualMachineScaleSetDataDisk withLun(int lun)
lun
- the lun value to setpublic CachingTypes caching()
public VirtualMachineScaleSetDataDisk withCaching(CachingTypes caching)
caching
- the caching value to setpublic Boolean writeAcceleratorEnabled()
public VirtualMachineScaleSetDataDisk withWriteAcceleratorEnabled(Boolean writeAcceleratorEnabled)
writeAcceleratorEnabled
- the writeAcceleratorEnabled value to setpublic DiskCreateOptionTypes createOption()
public VirtualMachineScaleSetDataDisk withCreateOption(DiskCreateOptionTypes createOption)
createOption
- the createOption value to setpublic Integer diskSizeGB()
public VirtualMachineScaleSetDataDisk withDiskSizeGB(Integer diskSizeGB)
diskSizeGB
- the diskSizeGB value to setpublic VirtualMachineScaleSetManagedDiskParameters managedDisk()
public VirtualMachineScaleSetDataDisk withManagedDisk(VirtualMachineScaleSetManagedDiskParameters managedDisk)
managedDisk
- the managedDisk value to setCopyright © 2019. All rights reserved.