Share via


OSDisk Class

Settings for the operating system disk of the virtual machine.

Constructor

OSDisk(*args: Any, **kwargs: Any)

Variables

Name Description
ephemeral_os_disk_settings

Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.

caching

The type of caching to enable for the disk. Known values are: "None", "ReadOnly", and "ReadWrite".

managed_disk

The managed disk parameters.

disk_size_gb
int

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.

Attributes

caching

"None", "ReadOnly", and "ReadWrite".

caching: str | _models.CachingType | None

disk_size_gb

The initial disk size in GB when creating new OS disk.

disk_size_gb: int | None

ephemeral_os_disk_settings

Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.

ephemeral_os_disk_settings: _models.DiffDiskSettings | None

managed_disk

The managed disk parameters.

managed_disk: _models.ManagedDisk | None

write_accelerator_enabled

Specifies whether writeAccelerator should be enabled or disabled on the disk.

write_accelerator_enabled: bool | None