DataDiskProperties Class
Request body for adding a new or existing data disk to a virtual machine.
- Inheritance
-
msrest.serialization.ModelDataDiskProperties
Constructor
DataDiskProperties(*, attach_new_data_disk_options: AttachNewDataDiskOptions | 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
|
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
|
|
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python