Class DatabaseLicenseType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<DatabaseLicenseType>
com.azure.resourcemanager.sql.models.DatabaseLicenseType

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 Details

    • LICENSE_INCLUDED

      public static final DatabaseLicenseType LICENSE_INCLUDED
      Static value LicenseIncluded for DatabaseLicenseType.
    • BASE_PRICE

      public static final DatabaseLicenseType BASE_PRICE
      Static value BasePrice for DatabaseLicenseType.
  • Constructor Details

    • DatabaseLicenseType

      public DatabaseLicenseType()
  • 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<DatabaseLicenseType> values()
      Gets known DatabaseLicenseType values.
      Returns:
      known DatabaseLicenseType values.