public interface SqlDatabase extends ExternalChildResource<SqlDatabase,SqlServer>, HasInnerModel<DatabaseInner>, HasResourceGroup, Refreshable<SqlDatabase>, Updatable<SqlDatabase.Update>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SqlDatabase.DefinitionStages
Grouping of all the SQL Database definition stages.
|
static interface |
SqlDatabase.SqlDatabaseDefinition<ParentT>
Container interface for all the definitions that need to be implemented.
|
static interface |
SqlDatabase.Update
The template for a SqlDatabase update operation, containing all the settings that can be modified.
|
static interface |
SqlDatabase.UpdateStages
Grouping of all the SqlDatabase update stages.
|
idnameparentrefresh, refreshAsyncinnerModelresourceGroupNameString sqlServerName()
String collation()
OffsetDateTime creationDate()
String currentServiceObjectiveName()
String databaseId()
OffsetDateTime earliestRestoreDate()
DatabaseEdition edition()
long maxSizeBytes()
String requestedServiceObjectiveName()
DatabaseStatus status()
String elasticPoolId()
String elasticPoolName()
String defaultSecondaryLocation()
String parentId()
String regionName()
com.azure.core.management.Region region()
boolean isDataWarehouse()
SqlWarehouse asWarehouse()
List<RestorePoint> listRestorePoints()
com.azure.core.http.rest.PagedFlux<RestorePoint> listRestorePointsAsync()
List<SqlDatabaseMetric> listMetrics(String filter)
filter - an OData filter expression that describes a subset of metrics to return.com.azure.core.http.rest.PagedFlux<SqlDatabaseMetric> listMetricsAsync(String filter)
filter - an OData filter expression that describes a subset of metrics to return.List<SqlDatabaseMetricDefinition> listMetricDefinitions()
com.azure.core.http.rest.PagedFlux<SqlDatabaseMetricDefinition> listMetricDefinitionsAsync()
TransparentDataEncryption getTransparentDataEncryption()
Mono<TransparentDataEncryption> getTransparentDataEncryptionAsync()
Map<String,ServiceTierAdvisor> listServiceTierAdvisors()
com.azure.core.http.rest.PagedFlux<ServiceTierAdvisor> listServiceTierAdvisorsAsync()
Map<String,ReplicationLink> listReplicationLinks()
com.azure.core.http.rest.PagedFlux<ReplicationLink> listReplicationLinksAsync()
SqlDatabaseExportRequest.DefinitionStages.WithStorageTypeAndKey exportTo(String storageUri)
storageUri - the storage URI to useSqlDatabaseExportRequest.DefinitionStages.WithAuthenticationTypeAndLoginPassword exportTo(StorageAccount storageAccount, String containerName, String fileName)
storageAccount - an existing storage account to be usedcontainerName - the container name within the storage account to usefileName - the exported database file nameSqlDatabaseExportRequest.DefinitionStages.WithAuthenticationTypeAndLoginPassword exportTo(Creatable<StorageAccount> storageAccountCreatable, String containerName, String fileName)
storageAccountCreatable - a storage account to be created as part of this execution flowcontainerName - the container name within the storage account to usefileName - the exported database file nameSqlDatabaseImportRequest.DefinitionStages.WithStorageTypeAndKey importBacpac(String storageUri)
storageUri - the storage URI to useSqlDatabaseImportRequest.DefinitionStages.WithAuthenticationTypeAndLoginPassword importBacpac(StorageAccount storageAccount, String containerName, String fileName)
storageAccount - an existing storage account to be usedcontainerName - the container name within the storage account to usefileName - the exported database file nameSqlDatabaseThreatDetectionPolicy.DefinitionStages.Blank defineThreatDetectionPolicy(String policyName)
policyName - the name of the security alert policySqlDatabaseThreatDetectionPolicy getThreatDetectionPolicy()
SqlDatabaseAutomaticTuning getDatabaseAutomaticTuning()
List<SqlDatabaseUsageMetric> listUsageMetrics()
com.azure.core.http.rest.PagedFlux<SqlDatabaseUsageMetric> listUsageMetricsAsync()
SqlDatabase rename(String newDatabaseName)
newDatabaseName - the new name for the databaseMono<SqlDatabase> renameAsync(String newDatabaseName)
newDatabaseName - the new name for the databasevoid delete()
Mono<Void> deleteAsync()
SqlSyncGroupOperations.SqlSyncGroupActionsDefinition syncGroups()
Copyright © 2020 Microsoft Corporation. All rights reserved.