DataDisk 类

定义

Settings which will be used by the data disks associated to compute nodes in the pool.

public class DataDisk
继承
java.lang.Object
DataDisk

方法

caching()

Get the default value for caching is readwrite. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. Possible values include: 'none', 'readOnly', 'readWrite'.

diskSizeGB()

Get the diskSizeGB value.

lun()

Get the lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun.

storageAccountType()

Get if omitted, the default is "standard_lrs". Possible values include: 'StandardLRS', 'PremiumLRS'.

withCaching(CachingType caching)

Set the default value for caching is readwrite. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. Possible values include: 'none', 'readOnly', 'readWrite'.

withDiskSizeGB(int diskSizeGB)

Set the diskSizeGB value.

withLun(int lun)

Set the lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun.

withStorageAccountType(StorageAccountType storageAccountType)

Set if omitted, the default is "standard_lrs". Possible values include: 'StandardLRS', 'PremiumLRS'.

适用于