DatabaseLicenseType Class

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 DatabaseLicenseType BASE_PRICE

Static value BasePrice for DatabaseLicenseType.

static final DatabaseLicenseType LICENSE_INCLUDED

Static value LicenseIncluded for DatabaseLicenseType.

Constructor Summary

Constructor Description
DatabaseLicenseType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DatabaseLicenseType value.

Method Summary

Modifier and Type Method and Description
static DatabaseLicenseType fromString(String name)

Creates or finds a DatabaseLicenseType from its string representation.

static Collection<DatabaseLicenseType> values()

Gets known DatabaseLicenseType values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding DatabaseLicenseType.

values

public static Collection values()

Gets known DatabaseLicenseType values.

Returns:

known DatabaseLicenseType values.

Applies to