Class SqlServerLicenseType
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<SqlServerLicenseType>
-
- com.azure.resourcemanager.sqlvirtualmachine.models.SqlServerLicenseType
-
public final class SqlServerLicenseType extends com.azure.core.util.ExpandableStringEnum<SqlServerLicenseType>
Defines values for SqlServerLicenseType.
-
-
Field Summary
Fields Modifier and Type Field Description static SqlServerLicenseType
AHUB
Static value AHUB for SqlServerLicenseType.static SqlServerLicenseType
DR
Static value DR for SqlServerLicenseType.static SqlServerLicenseType
PAYG
Static value PAYG for SqlServerLicenseType.
-
Constructor Summary
Constructors Constructor Description SqlServerLicenseType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SqlServerLicenseType
fromString(String name)
Creates or finds a SqlServerLicenseType from its string representation.static Collection<SqlServerLicenseType>
values()
-
-
-
Field Detail
-
PAYG
public static final SqlServerLicenseType PAYG
Static value PAYG for SqlServerLicenseType.
-
AHUB
public static final SqlServerLicenseType AHUB
Static value AHUB for SqlServerLicenseType.
-
DR
public static final SqlServerLicenseType DR
Static value DR for SqlServerLicenseType.
-
-
Method Detail
-
fromString
public static SqlServerLicenseType fromString(String name)
Creates or finds a SqlServerLicenseType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding SqlServerLicenseType.
-
values
public static Collection<SqlServerLicenseType> values()
- Returns:
- known SqlServerLicenseType values.
-
-