VirtualMachineScaleSetOSDisk(DiskCreateOptionTypes) Constructor

Definition

Initializes a new instance of VirtualMachineScaleSetOSDisk.

public VirtualMachineScaleSetOSDisk (Azure.ResourceManager.Compute.Models.DiskCreateOptionTypes createOption);
new Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetOSDisk : Azure.ResourceManager.Compute.Models.DiskCreateOptionTypes -> Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetOSDisk
Public Sub New (createOption As DiskCreateOptionTypes)

Parameters

createOption
DiskCreateOptionTypes

Specifies how the virtual machines in the scale set should be created.<br><br> The only allowed value is: FromImage \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.

Applies to