Share via


DataDisk interface

Settings which will be used by the data disks associated to Compute Nodes in the Pool. When using attached data disks, you need to mount and format the disks from within a VM to use them.

Properties

caching

The type of caching to be enabled for the data disks. 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: "none", "readonly", "readwrite"

diskSizeGB

The initial disk size in gigabytes.

lun

The logical unit number. The logicalUnitNumber is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct logicalUnitNumber. The value must be between 0 and 63, inclusive.

managedDisk

The managed disk parameters.

storageAccountType

The storage Account type to be used for the data disk. If omitted, the default is "standard_lrs".

Possible values: "standard_lrs", "premium_lrs", "standardssd_lrs"

Property Details

caching

The type of caching to be enabled for the data disks. 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: "none", "readonly", "readwrite"

caching?: string

Property Value

string

diskSizeGB

The initial disk size in gigabytes.

diskSizeGB: number

Property Value

number

lun

The logical unit number. The logicalUnitNumber is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct logicalUnitNumber. The value must be between 0 and 63, inclusive.

lun: number

Property Value

number

managedDisk

The managed disk parameters.

managedDisk?: ManagedDisk

Property Value

storageAccountType

The storage Account type to be used for the data disk. If omitted, the default is "standard_lrs".

Possible values: "standard_lrs", "premium_lrs", "standardssd_lrs"

storageAccountType?: string

Property Value

string