DataDisksToAttach Class

Describes the data disk to be attached.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.compute._serialization.Model
DataDisksToAttach

Constructor

DataDisksToAttach(*, disk_id: str, lun: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
disk_id
str

ID of the managed data disk. Required.

lun
int

The logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. If not specified, lun would be auto assigned.

Variables

Name Description
disk_id
str

ID of the managed data disk. Required.

lun
int

The logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. If not specified, lun would be auto assigned.