Share via


VirtualMachineConfiguration.LicenseType Property

Definition

Gets or sets the type of on-premises license to be used when deploying the operating system.

public string LicenseType { get; set; }
member this.LicenseType : string with get, set
Public Property LicenseType As String

Property Value

Remarks

This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are: 'Windows_Server' - The on-premises license is for Windows Server. 'Windows_Client' - The on-premises license is for Windows Client.

Applies to