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.v2018_10_01.models._compute_management_client_enums.CachingTypes]] = None, write_accelerator_enabled: Optional[bool] = None, disk_size_gb: Optional[int] = None, image: Optional[azure.mgmt.compute.v2018_10_01.models._models_py3.VirtualHardDisk] = None, vhd_containers: Optional[List[str]] = None, managed_disk: Optional[azure.mgmt.compute.v2018_10_01.models._models_py3.VirtualMachineScaleSetManagedDiskParameters] = None, **kwargs)
Parameters
- caching
- str or CachingTypes
The caching type. Possible values include: "None", "ReadOnly", "ReadWrite".
- write_accelerator_enabled
- bool
Specifies whether writeAccelerator should be enabled or disabled on the disk.
- disk_size_gb
- int
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
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.
Feedback
Submit and view feedback for