DatabaseLicenseType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. DatabaseLicenseType
- com.
- com.
public final class DatabaseLicenseType
extends 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
Modifier and Type | Field and Description |
---|---|
static final
Database |
BASE_PRICE
Static value Base |
static final
Database |
LICENSE_INCLUDED
Static value License |
Constructor Summary
Constructor | Description |
---|---|
DatabaseLicenseType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Database |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Database |
fromString(String name)
Creates or finds a Database |
static
Collection<Database |
values()
Gets known Database |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
BASE_PRICE
public static final DatabaseLicenseType BASE_PRICE
Static value BasePrice for DatabaseLicenseType.
LICENSE_INCLUDED
public static final DatabaseLicenseType LICENSE_INCLUDED
Static value LicenseIncluded for DatabaseLicenseType.
Constructor Details
DatabaseLicenseType
@Deprecated
public DatabaseLicenseType()
Deprecated
Creates a new instance of DatabaseLicenseType value.
Method Details
fromString
public static DatabaseLicenseType fromString(String name)
Creates or finds a DatabaseLicenseType from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known DatabaseLicenseType values.
Returns:
Applies to
Azure SDK for Java