Share via


VirtualMachineConfiguration.LicenseType Property

Definition

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

[Newtonsoft.Json.JsonProperty(PropertyName="licenseType")]
public string LicenseType { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="licenseType")>]
member this.LicenseType : string with get, set
Public Property LicenseType As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

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 Compute 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