Share via


DataDisk Class

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.

Constructor

DataDisk(*args: Any, **kwargs: Any)

Variables

Name Description
lun
int

The logical unit number. Required.

caching

The type of caching to enable for the disk. Known values are: "None", "ReadOnly", and "ReadWrite".

disk_size_gb
int

The initial disk size in GB when creating new data disk. Required.

managed_disk

The managed disk parameters.

Attributes

caching

"None", "ReadOnly", and "ReadWrite".

caching: str | _models.CachingType | None

disk_size_gb

The initial disk size in GB when creating new data disk. Required.

disk_size_gb: int

lun

The logical unit number. Required.

lun: int

managed_disk

The managed disk parameters.

managed_disk: _models.ManagedDisk | None