VirtualMachineScaleSetUpdateOSDisk Class

Describes virtual machine scale set operating system disk Update Object. This should be used for Updating VMSS OS Disk.

Inheritance
VirtualMachineScaleSetUpdateOSDisk

Constructor

VirtualMachineScaleSetUpdateOSDisk(*, caching: typing.Union[str, _ForwardRef('CachingTypes'), NoneType] = None, write_accelerator_enabled: typing.Union[bool, NoneType] = None, disk_size_gb: typing.Union[int, NoneType] = None, image: typing.Union[_ForwardRef('VirtualHardDisk'), NoneType] = None, vhd_containers: typing.Union[typing.List[str], NoneType] = None, managed_disk: typing.Union[_ForwardRef('VirtualMachineScaleSetManagedDiskParameters'), NoneType] = None, **kwargs)

Parameters

caching
str or CachingTypes
Required

The caching type. Possible values include: "None", "ReadOnly", "ReadWrite".

write_accelerator_enabled
bool
Required

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

disk_size_gb
int
Required

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. <br>``<br> This value cannot be larger than 1023 GB.

image
VirtualHardDisk
Required

The Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine. If SourceImage is provided, the destination VirtualHardDisk should not exist.

vhd_containers
list[str]
Required

The list of virtual hard disk container uris.

managed_disk
VirtualMachineScaleSetManagedDiskParameters
Required

The managed disk parameters.