共用方式為


VirtualMachineScaleSetUpdateOSDisk interface

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

Properties

caching

The caching type.

diskSizeGB

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.

This value cannot be larger than 1023 GB

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.

managedDisk

The managed disk parameters.

vhdContainers

The list of virtual hard disk container uris.

writeAcceleratorEnabled

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

Property Details

caching

The caching type.

caching?: CachingTypes

Property Value

diskSizeGB

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.

This value cannot be larger than 1023 GB

diskSizeGB?: number

Property Value

number

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.

image?: VirtualHardDisk

Property Value

managedDisk

The managed disk parameters.

managedDisk?: VirtualMachineScaleSetManagedDiskParameters

Property Value

vhdContainers

The list of virtual hard disk container uris.

vhdContainers?: string[]

Property Value

string[]

writeAcceleratorEnabled

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

writeAcceleratorEnabled?: boolean

Property Value

boolean