VirtualMachineScaleSetUpdateOSDisk Class

Definition

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

public class VirtualMachineScaleSetUpdateOSDisk
type VirtualMachineScaleSetUpdateOSDisk = class
Public Class VirtualMachineScaleSetUpdateOSDisk
Inheritance
VirtualMachineScaleSetUpdateOSDisk

Constructors

VirtualMachineScaleSetUpdateOSDisk()

Initializes a new instance of the VirtualMachineScaleSetUpdateOSDisk class.

VirtualMachineScaleSetUpdateOSDisk(Nullable<CachingTypes>, Nullable<Boolean>, Nullable<Int32>, VirtualHardDisk, IList<String>, VirtualMachineScaleSetManagedDiskParameters, String)

Initializes a new instance of the VirtualMachineScaleSetUpdateOSDisk class.

Properties

Caching

Gets or sets the caching type. Possible values include: 'None', 'ReadOnly', 'ReadWrite'

DeleteOption

Gets or sets specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). &lt;br&gt;&lt;br&gt; Possible values: &lt;br&gt;&lt;br&gt; Delete If this value is used, the OS disk is deleted when VMSS Flex VM is deleted.&lt;br&gt;&lt;br&gt; Detach If this value is used, the OS disk is retained after VMSS Flex VM is deleted. &lt;br&gt;&lt;br&gt; The default value is set to Delete. For an Ephemeral OS Disk, the default value is set to Delete. User cannot change the delete option for Ephemeral OS Disk. Possible values include: 'Delete', 'Detach'

DiskSizeGB

Gets or sets specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. &lt;br&gt;&lt;br&gt; diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023

Image

Gets or sets 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

Gets or sets the managed disk parameters.

VhdContainers

Gets or sets the list of virtual hard disk container uris.

WriteAcceleratorEnabled

Gets or sets specifies whether writeAccelerator should be enabled or disabled on the disk.

Applies to