Share via


VirtualMachineScaleSetOSDisk(DiskCreateOptionType) Constructor

Definition

Initializes a new instance of VirtualMachineScaleSetOSDisk.

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

Parameters

createOption
DiskCreateOptionType

Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage. 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