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: Optional[Union[str, azure.mgmt.compute.v2017_03_30.models._compute_management_client_enums.CachingTypes]] = None, image: Optional[azure.mgmt.compute.v2017_03_30.models._models_py3.VirtualHardDisk] = None, vhd_containers: Optional[List[str]] = None, managed_disk: Optional[azure.mgmt.compute.v2017_03_30.models._models_py3.VirtualMachineScaleSetManagedDiskParameters] = None, **kwargs)

Parameters

caching
str or CachingTypes
Required

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

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.