Class LicenseTarget
java.lang.Object
com.azure.core.util.ExpandableStringEnum<LicenseTarget>
com.azure.resourcemanager.hybridcompute.models.LicenseTarget
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Describes the license target server.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LicenseTargetStatic value Windows Server 2012 for LicenseTarget.static final LicenseTargetStatic value Windows Server 2012 R2 for LicenseTarget. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LicenseTargetfromString(String name) Creates or finds a LicenseTarget from its string representation.static Collection<LicenseTarget> values()Gets known LicenseTarget values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
WINDOWS_SERVER_2012
Static value Windows Server 2012 for LicenseTarget. -
WINDOWS_SERVER_2012_R2
Static value Windows Server 2012 R2 for LicenseTarget.
-
-
Constructor Details
-
LicenseTarget
Deprecated.Use thefromString(String)factory method.Creates a new instance of LicenseTarget value.
-
-
Method Details
-
fromString
Creates or finds a LicenseTarget from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding LicenseTarget.
-
values
Gets known LicenseTarget values.- Returns:
- known LicenseTarget values.
-
fromString(String)factory method.