Class LicenseType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<LicenseType>
com.azure.resourcemanager.containerservice.models.LicenseType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
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
FieldsModifier and TypeFieldDescriptionstatic final LicenseTypeStatic value None for LicenseType.static final LicenseTypeStatic value Windows_Server for LicenseType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LicenseTypefromString(String name) Creates or finds a LicenseType from its string representation.static Collection<LicenseType> values()Gets known LicenseType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
NONE
Static value None for LicenseType. -
WINDOWS_SERVER
Static value Windows_Server for LicenseType.
-
-
Constructor Details
-
LicenseType
Deprecated.Use thefromString(String)factory method.Creates a new instance of LicenseType value.
-
-
Method Details
-
fromString
Creates or finds a LicenseType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding LicenseType.
-
values
Gets known LicenseType values.- Returns:
- known LicenseType values.
-
fromString(String)factory method.