Class ManagedInstanceLicenseType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<ManagedInstanceLicenseType>
com.azure.resourcemanager.sql.models.ManagedInstanceLicenseType
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class ManagedInstanceLicenseType extends com.azure.core.util.ExpandableStringEnum<ManagedInstanceLicenseType>
The license type. Possible values are 'LicenseIncluded' (regular price inclusive of a new SQL license) and 'BasePrice' (discounted AHB price for bringing your own SQL licenses).
  • Field Details

    • LICENSE_INCLUDED

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

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

    • ManagedInstanceLicenseType

      @Deprecated public ManagedInstanceLicenseType()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of ManagedInstanceLicenseType value.
  • Method Details

    • fromString

      public static ManagedInstanceLicenseType fromString(String name)
      Creates or finds a ManagedInstanceLicenseType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding ManagedInstanceLicenseType.
    • values

      public static Collection<ManagedInstanceLicenseType> values()
      Gets known ManagedInstanceLicenseType values.
      Returns:
      known ManagedInstanceLicenseType values.