Class MySqlDatabase
- java.lang.Object
-
- com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<MySqlDatabase,MySqlServer,com.azure.resourcemanager.mysql.models.Database>
-
- com.microsoft.azure.toolkit.lib.mysql.single.MySqlDatabase
-
- All Implemented Interfaces:
com.microsoft.azure.toolkit.lib.common.model.AzComponent,com.microsoft.azure.toolkit.lib.common.model.AzResource,com.microsoft.azure.toolkit.lib.common.model.Refreshable,com.microsoft.azure.toolkit.lib.database.entity.IDatabase
public class MySqlDatabase extends com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<MySqlDatabase,MySqlServer,com.azure.resourcemanager.mysql.models.Database> implements com.microsoft.azure.toolkit.lib.database.entity.IDatabase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource
com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<T extends com.microsoft.azure.toolkit.lib.common.model.AzResource,R extends Object>, com.microsoft.azure.toolkit.lib.common.model.AzResource.FormalStatus, com.microsoft.azure.toolkit.lib.common.model.AzResource.None, com.microsoft.azure.toolkit.lib.common.model.AzResource.Status
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMySqlDatabase(com.azure.resourcemanager.mysql.models.Database remote, MySqlDatabaseModule module)protectedMySqlDatabase(String name, MySqlDatabaseModule module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCharset()StringgetCollation()com.microsoft.azure.toolkit.lib.database.JdbcUrlgetJdbcUrl()MySqlServergetServer()List<com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<?,?,?>>getSubModules()protected StringloadStatus(com.azure.resourcemanager.mysql.models.Database remote)-
Methods inherited from class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource
canEqual, delete, doModify, doModify, equals, exists, getCachedSubModules, getId, getModule, getName, getParent, getRemote, getResourceGroup, getResourceGroupName, getStatus, getSubModule, hashCode, invalidateCache, isAuthRequired, isDraft, isDraftForCreating, isDraftForUpdating, isNotFoundException, loadRemoteFromAzure, onRemoteUpdated, refresh, remoteOptional, setRemote, setStatus, toString, update, updateAdditionalProperties
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
MySqlDatabase
protected MySqlDatabase(@Nonnull String name, @Nonnull MySqlDatabaseModule module)
-
MySqlDatabase
protected MySqlDatabase(@Nonnull com.azure.resourcemanager.mysql.models.Database remote, @Nonnull MySqlDatabaseModule module)
-
-
Method Detail
-
getSubModules
@Nonnull public List<com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<?,?,?>> getSubModules()
- Specified by:
getSubModulesin classcom.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<MySqlDatabase,MySqlServer,com.azure.resourcemanager.mysql.models.Database>
-
loadStatus
@Nonnull protected String loadStatus(@Nonnull com.azure.resourcemanager.mysql.models.Database remote)
- Specified by:
loadStatusin classcom.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<MySqlDatabase,MySqlServer,com.azure.resourcemanager.mysql.models.Database>
-
getCollation
@Nullable public String getCollation()
- Specified by:
getCollationin interfacecom.microsoft.azure.toolkit.lib.database.entity.IDatabase
-
getServer
@Nonnull public MySqlServer getServer()
- Specified by:
getServerin interfacecom.microsoft.azure.toolkit.lib.database.entity.IDatabase
-
getJdbcUrl
@Nonnull public com.microsoft.azure.toolkit.lib.database.JdbcUrl getJdbcUrl()
- Specified by:
getJdbcUrlin interfacecom.microsoft.azure.toolkit.lib.database.entity.IDatabase
-
-