OSDisk Class
Settings for the operating system disk of the virtual machine.
- Inheritance
-
azure.mgmt.batch._serialization.ModelOSDisk
Constructor
OSDisk(*, ephemeral_os_disk_settings: _models.DiffDiskSettings | None = None, caching: str | _models.CachingType | None = None, managed_disk: _models.ManagedDisk | None = None, disk_size_gb: int | None = None, write_accelerator_enabled: bool | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
ephemeral_os_disk_settings
|
Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine. |
caching
|
str or
CachingType
The type of caching to enable for the disk. Known values are: "None", "ReadOnly", and "ReadWrite". |
managed_disk
|
|
disk_size_gb
|
The initial disk size in GB when creating new OS disk. |
write_accelerator_enabled
|
Specifies whether writeAccelerator should be enabled or disabled on the disk. |
Variables
Name | Description |
---|---|
ephemeral_os_disk_settings
|
Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine. |
caching
|
str or
CachingType
The type of caching to enable for the disk. Known values are: "None", "ReadOnly", and "ReadWrite". |
managed_disk
|
|
disk_size_gb
|
The initial disk size in GB when creating new OS disk. |
write_accelerator_enabled
|
Specifies whether writeAccelerator should be enabled or disabled on the disk. |
Azure SDK for Python