Class DatabaseLicenseType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DatabaseLicenseType>
com.azure.resourcemanager.sql.models.DatabaseLicenseType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class DatabaseLicenseType
extends com.azure.core.util.ExpandableStringEnum<DatabaseLicenseType>
The license type to apply for this database. `LicenseIncluded` if you need a license, or `BasePrice` if you have a
license and are eligible for the Azure Hybrid Benefit.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DatabaseLicenseTypeStatic value BasePrice for DatabaseLicenseType.static final DatabaseLicenseTypeStatic value LicenseIncluded for DatabaseLicenseType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DatabaseLicenseTypefromString(String name) Creates or finds a DatabaseLicenseType from its string representation.static Collection<DatabaseLicenseType> values()Gets known DatabaseLicenseType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
LICENSE_INCLUDED
Static value LicenseIncluded for DatabaseLicenseType. -
BASE_PRICE
Static value BasePrice for DatabaseLicenseType.
-
-
Constructor Details
-
DatabaseLicenseType
Deprecated.Use thefromString(String)factory method.Creates a new instance of DatabaseLicenseType value.
-
-
Method Details
-
fromString
Creates or finds a DatabaseLicenseType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding DatabaseLicenseType.
-
values
Gets known DatabaseLicenseType values.- Returns:
- known DatabaseLicenseType values.
-
fromString(String)factory method.