VirtualMachineConfiguration.LicenseType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET