Share via


DataDisk Class

Definition

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.

public class DataDisk
type DataDisk = class
Public Class DataDisk
Inheritance
DataDisk

Constructors

DataDisk()

Initializes a new instance of the DataDisk class.

DataDisk(Int32, Int32, Nullable<CachingType>, Nullable<StorageAccountType>)

Initializes a new instance of the DataDisk class.

Properties

Caching

Gets or sets the type of caching to be enabled for the data disks.

DiskSizeGB

Gets or sets the initial disk size in GB when creating new data disk.

Lun

Gets or sets the logical unit number.

StorageAccountType

Gets or sets the storage account type to be used for the data disk.

Methods

Validate()

Validate the object.

Applies to