LicenseType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. LicenseType
- com.
- com.
public final class LicenseType
extends ExpandableStringEnum<LicenseType>
The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
License |
NONE
Static value None for License |
static final
License |
WINDOWS_SERVER
Static value Windows_Server for License |
Constructor Summary
Constructor | Description |
---|---|
LicenseType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of License |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
License |
fromString(String name)
Creates or finds a License |
static
Collection<License |
values()
Gets known License |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
NONE
public static final LicenseType NONE
Static value None for LicenseType.
WINDOWS_SERVER
public static final LicenseType WINDOWS_SERVER
Static value Windows_Server for LicenseType.
Constructor Details
LicenseType
@Deprecated
public LicenseType()
Deprecated
Creates a new instance of LicenseType value.
Method Details
fromString
public static LicenseType fromString(String name)
Creates or finds a LicenseType from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known LicenseType values.
Returns:
Applies to
Azure SDK for Java