DiskPoolVolume Class

An iSCSI volume from Microsoft.StoragePool provider.

Variables are only populated by the server, and will be ignored when sending a request.

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

Inheritance
azure.mgmt.avs._serialization.Model
DiskPoolVolume

Constructor

DiskPoolVolume(*, target_id: str, lun_name: str, mount_option: str | _models.MountOptionEnum = 'MOUNT', **kwargs: Any)

Keyword-Only Parameters

Name Description
target_id
str

Azure resource ID of the iSCSI target. Required.

lun_name
str

Name of the LUN to be used for datastore. Required.

mount_option

Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN. Known values are: "MOUNT" and "ATTACH".

default value: MOUNT

Variables

Name Description
target_id
str

Azure resource ID of the iSCSI target. Required.

lun_name
str

Name of the LUN to be used for datastore. Required.

mount_option

Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN. Known values are: "MOUNT" and "ATTACH".

path
str

Device path.