你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualMachineScaleSetUpdateOSDisk Class

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

Constructor

VirtualMachineScaleSetUpdateOSDisk(*, caching: str | _models.CachingTypes | 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
caching

The caching type. Known values are: "None", "ReadOnly", and "ReadWrite".

Default value: None
image

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.

Default value: None
vhd_containers

The list of virtual hard disk container uris.

Default value: None
managed_disk

The managed disk parameters.

Default value: None

Variables

Name Description
caching

The caching type. Known values are: "None", "ReadOnly", and "ReadWrite".

image

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

The list of virtual hard disk container uris.

managed_disk

The managed disk parameters.