DataDiskPropertiesFragment Class

Request body for adding a new or existing data disk to a virtual machine.

Inheritance
msrest.serialization.Model
DataDiskPropertiesFragment

Constructor

DataDiskPropertiesFragment(*, attach_new_data_disk_options: AttachNewDataDiskOptionsFragment | None = None, existing_lab_disk_id: str | None = None, host_caching: str | HostCachingOptions | None = None, **kwargs)

Parameters

Name Description
attach_new_data_disk_options
Required

Specifies options to attach a new disk to the virtual machine.

existing_lab_disk_id
Required
str

Specifies the existing lab disk id to attach to virtual machine.

host_caching
Required

Caching option for a data disk (i.e. None, ReadOnly, ReadWrite). Possible values include: "None", "ReadOnly", "ReadWrite".

Keyword-Only Parameters

Name Description
attach_new_data_disk_options
Required
existing_lab_disk_id
Required
host_caching
Required