Class PostgreSqlDatabase
- java.lang.Object
-
- com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<PostgreSqlDatabase,PostgreSqlServer,com.azure.resourcemanager.postgresqlflexibleserver.models.Database>
-
- com.microsoft.azure.toolkit.lib.postgre.PostgreSqlDatabase
-
- All Implemented Interfaces:
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 PostgreSqlDatabase extends com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<PostgreSqlDatabase,PostgreSqlServer,com.azure.resourcemanager.postgresqlflexibleserver.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 protectedPostgreSqlDatabase(com.azure.resourcemanager.postgresqlflexibleserver.models.Database remote, PostgreSqlDatabaseModule module)protectedPostgreSqlDatabase(String name, PostgreSqlDatabaseModule module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCharset()StringgetCollation()com.microsoft.azure.toolkit.lib.database.JdbcUrlgetJdbcUrl()PostgreSqlServergetServer()List<com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<?,?,?>>getSubModules()protected StringloadStatus(com.azure.resourcemanager.postgresqlflexibleserver.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
-
-
-
-
Constructor Detail
-
PostgreSqlDatabase
protected PostgreSqlDatabase(@Nonnull String name, @Nonnull PostgreSqlDatabaseModule module)
-
PostgreSqlDatabase
protected PostgreSqlDatabase(@Nonnull com.azure.resourcemanager.postgresqlflexibleserver.models.Database remote, @Nonnull PostgreSqlDatabaseModule 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<PostgreSqlDatabase,PostgreSqlServer,com.azure.resourcemanager.postgresqlflexibleserver.models.Database>
-
loadStatus
@Nonnull protected String loadStatus(@Nonnull com.azure.resourcemanager.postgresqlflexibleserver.models.Database remote)
- Specified by:
loadStatusin classcom.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<PostgreSqlDatabase,PostgreSqlServer,com.azure.resourcemanager.postgresqlflexibleserver.models.Database>
-
getCollation
public String getCollation()
- Specified by:
getCollationin interfacecom.microsoft.azure.toolkit.lib.database.entity.IDatabase
-
getServer
@Nonnull public PostgreSqlServer 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
-
-