DatabaseType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. appservice. models. DatabaseType
- com.
- com.
public final class DatabaseType
extends ExpandableStringEnum<DatabaseType>
Database type (e.g. SqlAzure / MySql).
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Database |
LOCAL_MY_SQL
Static value Local |
static final
Database |
MY_SQL
Static value My |
static final
Database |
POSTGRE_SQL
Static value Postgre |
static final
Database |
SQL_AZURE
Static value Sql |
Constructor Summary
Constructor | Description |
---|---|
DatabaseType() |
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
LOCAL_MY_SQL
public static final DatabaseType LOCAL_MY_SQL
Static value LocalMySql for DatabaseType.
MY_SQL
public static final DatabaseType MY_SQL
Static value MySql for DatabaseType.
POSTGRE_SQL
public static final DatabaseType POSTGRE_SQL
Static value PostgreSql for DatabaseType.
SQL_AZURE
public static final DatabaseType SQL_AZURE
Static value SqlAzure for DatabaseType.
Constructor Details
DatabaseType
@Deprecated
public DatabaseType()
Deprecated
Creates a new instance of DatabaseType value.
Method Details
fromString
public static DatabaseType fromString(String name)
Creates or finds a DatabaseType from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known DatabaseType values.
Returns:
Applies to
Azure SDK for Java