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.
[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
Azure SDK for .NET