Class 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
    • Field Summary

      • Fields inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource

        CACHE_LIFETIME, CONNECT_RESOURCE, CREATE_RESOURCE, DEPLOY, NONE, RESOURCE_GROUP_PLACEHOLDER
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getCharset()  
      String getCollation()  
      com.microsoft.azure.toolkit.lib.database.JdbcUrl getJdbcUrl()  
      MySqlServer getServer()  
      List<com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<?,​?,​?>> getSubModules()  
      protected String loadStatus​(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 interface com.microsoft.azure.toolkit.lib.common.model.AzComponent

        getId, getName
      • Methods inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource

        delete, exists, getFormalStatus, getFullResourceType, getModule, getPortalUrl, getResourceGroupName, getResourceTypeName, getStatus, getSubscription, getSubscriptionId, id, name, refresh
    • Method Detail

      • getSubModules

        @Nonnull
        public List<com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<?,​?,​?>> getSubModules()
        Specified by:
        getSubModules in class com.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:
        loadStatus in class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<MySqlDatabase,​MySqlServer,​com.azure.resourcemanager.mysql.models.Database>
      • getCollation

        @Nullable
        public String getCollation()
        Specified by:
        getCollation in interface com.microsoft.azure.toolkit.lib.database.entity.IDatabase
      • getServer

        @Nonnull
        public MySqlServer getServer()
        Specified by:
        getServer in interface com.microsoft.azure.toolkit.lib.database.entity.IDatabase
      • getJdbcUrl

        @Nonnull
        public com.microsoft.azure.toolkit.lib.database.JdbcUrl getJdbcUrl()
        Specified by:
        getJdbcUrl in interface com.microsoft.azure.toolkit.lib.database.entity.IDatabase