VirtualMachineScaleSetOSDisk Class
Describes a virtual machine scale set operating system disk.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.compute._serialization.ModelVirtualMachineScaleSetOSDisk
Constructor
VirtualMachineScaleSetOSDisk(*, create_option: str | _models.DiskCreateOptionTypes, name: str | None = None, caching: str | _models.CachingTypes | None = None, write_accelerator_enabled: bool | None = None, disk_size_gb: int | None = None, os_type: str | _models.OperatingSystemTypes | None = None, image: _models.VirtualHardDisk | None = None, vhd_containers: List[str] | None = None, managed_disk: _models.VirtualMachineScaleSetManagedDiskParameters | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
name
|
The disk name. |
caching
|
str or
CachingTypes
Specifies the caching requirements. |
write_accelerator_enabled
|
Specifies whether writeAccelerator should be enabled or disabled on the disk. |
create_option
|
Specifies how the virtual machines in the scale set should be
created.:code: |
disk_size_gb
|
Specifies the size of the operating system disk in gigabytes. This
element can be used to overwrite the size of the disk in a virtual machine image.
|
os_type
|
This property allows you to specify the type of the OS that is included in
the disk if creating a VM from user-image or a specialized VHD. |
image
|
Specifies information about the unmanaged user image to base the scale set on. |
vhd_containers
|
Specifies the container urls that are used to store operating system disks for the scale set. |
managed_disk
|
The managed disk parameters. |
Variables
Name | Description |
---|---|
name
|
The disk name. |
caching
|
str or
CachingTypes
Specifies the caching requirements. |
write_accelerator_enabled
|
Specifies whether writeAccelerator should be enabled or disabled on the disk. |
create_option
|
Specifies how the virtual machines in the scale set should be
created.:code: |
disk_size_gb
|
Specifies the size of the operating system disk in gigabytes. This element
can be used to overwrite the size of the disk in a virtual machine image.
|
os_type
|
This property allows you to specify the type of the OS that is included in the
disk if creating a VM from user-image or a specialized VHD. |
image
|
Specifies information about the unmanaged user image to base the scale set on. |
vhd_containers
|
Specifies the container urls that are used to store operating system disks for the scale set. |
managed_disk
|
The managed disk parameters. |
Azure SDK for Python