diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/pom.xml b/sdk/resourcemanager/azure-resourcemanager-sql/pom.xml
index 8bba98f7f77d8..182706bc08b66 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/pom.xml
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/pom.xml
@@ -50,7 +50,6 @@
--add-opens com.azure.resourcemanager.msi/com.azure.resourcemanager.msi=ALL-UNNAMED
--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
- -
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/SqlServerManager.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/SqlServerManager.java
index 647300a419ac8..73dd2c3849406 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/SqlServerManager.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/SqlServerManager.java
@@ -41,7 +41,11 @@ protected SqlServerManager(HttpPipeline httpPipeline, AzureProfile profile) {
this.tenantId = profile.getTenantId();
}
- /** @return the storage manager in sql manager */
+ /**
+ * Gets the storage manager in sql manager.
+ *
+ * @return the storage manager in sql manager
+ */
public StorageManager storageManager() {
return storageManager;
}
@@ -101,7 +105,11 @@ public SqlServerManager authenticate(TokenCredential credential, AzureProfile pr
}
}
- /** @return the SQL Server management API entry point */
+ /**
+ * Gets the API entry point of SQL Server management.
+ *
+ * @return the SQL Server management API entry point
+ */
public SqlServers sqlServers() {
if (sqlServers == null) {
sqlServers = new SqlServersImpl(this);
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/CheckNameAvailabilityResult.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/CheckNameAvailabilityResult.java
index 4b14c41e7ba11..0f28c9f4a89e7 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/CheckNameAvailabilityResult.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/CheckNameAvailabilityResult.java
@@ -9,12 +9,24 @@
/** The result of checking for the SQL server name availability. */
@Fluent
public interface CheckNameAvailabilityResult extends HasInnerModel {
- /** @return true if the specified name is valid and available for use, otherwise false */
+ /**
+ * Checks whether the specified name is valid and available for use.
+ *
+ * @return true if the specified name is valid and available for use, otherwise false
+ */
boolean isAvailable();
- /** @return the reason why the user-provided name for the SQL server could not be used */
+ /**
+ * Gets the reason why the user-provided name for the SQL server could not be used.
+ *
+ * @return the reason why the user-provided name for the SQL server could not be used
+ */
String unavailabilityReason();
- /** @return the error message that provides more detail for the reason why the name is not available */
+ /**
+ * Gets the error message that provides more detail for the reason why the name is not available.
+ *
+ * @return the error message that provides more detail for the reason why the name is not available
+ */
String unavailabilityMessage();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/DatabaseEdition.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/DatabaseEdition.java
index 346a9ed0d3f36..1ee748e07bceb 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/DatabaseEdition.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/DatabaseEdition.java
@@ -50,6 +50,15 @@ public final class DatabaseEdition extends ExpandableStringEnum
/** Static value Hyperscale for DatabaseEdition. */
public static final DatabaseEdition HYPERSCALE = fromString("Hyperscale");
+ /**
+ * Creates a new instance of DatabaseEdition value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public DatabaseEdition() {
+ }
+
/**
* Creates or finds a DatabaseEdition from its string representation.
*
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/DatabaseMetric.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/DatabaseMetric.java
index 2c64f4eebb9d8..95ee83a913ec0 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/DatabaseMetric.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/DatabaseMetric.java
@@ -10,21 +10,45 @@
@Fluent
public interface DatabaseMetric {
- /** @return the name of the resource */
+ /**
+ * Gets the name of the resource.
+ *
+ * @return the name of the resource
+ */
String resourceName();
- /** @return the metric display name */
+ /**
+ * Gets the metric display name.
+ *
+ * @return the metric display name
+ */
String displayName();
- /** @return the current value of the metric */
+ /**
+ * Gets the current value of the metric.
+ *
+ * @return the current value of the metric
+ */
double currentValue();
- /** @return the current limit of the metric */
+ /**
+ * Gets the current limit of the metric.
+ *
+ * @return the current limit of the metric
+ */
double limit();
- /** @return the units of the metric */
+ /**
+ * Gets the units of the metric.
+ *
+ * @return the units of the metric
+ */
String unit();
- /** @return the next reset time for the metric (ISO8601 format) */
+ /**
+ * Gets the next reset time for the metric.
+ *
+ * @return the next reset time for the metric (ISO8601 format)
+ */
OffsetDateTime nextResetTime();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/DatabaseSku.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/DatabaseSku.java
index 1ede4a588e764..9125a7998a7df 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/DatabaseSku.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/DatabaseSku.java
@@ -380,7 +380,11 @@ public String toString() {
return String.format("%s/%s/%s/%d/%s", sku.name(), sku.tier(), sku.family(), sku.capacity(), sku.size());
}
- /** @return the underneath sku description */
+ /**
+ * Gets the underneath sku description.
+ *
+ * @return the underneath sku description
+ */
@JsonValue
public Sku toSku() {
return new Sku().withName(sku.name())
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ElasticPoolActivity.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ElasticPoolActivity.java
index 40ce09567931f..17729913627a2 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ElasticPoolActivity.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ElasticPoolActivity.java
@@ -16,36 +16,80 @@
@Fluent
public interface ElasticPoolActivity
extends HasInnerModel, HasResourceGroup, HasName, HasId {
- /** @return the time the operation finished (ISO8601 format) */
+ /**
+ * Gets the time the operation finished.
+ *
+ * @return the time the operation finished (ISO8601 format)
+ */
OffsetDateTime endTime();
- /** @return the error code if available */
+ /**
+ * Gets the error code if available.
+ *
+ * @return the error code if available
+ */
int errorCode();
- /** @return the error message if available */
+ /**
+ * Gets the error message if available.
+ *
+ * @return the error message if available
+ */
String errorMessage();
- /** @return the error severity if available */
+ /**
+ * Gets the error severity if available.
+ *
+ * @return the error severity if available
+ */
int errorSeverity();
- /** @return the operation name */
+ /**
+ * Gets the operation name.
+ *
+ * @return the operation name
+ */
String operation();
- /** @return the unique operation ID */
+ /**
+ * Gets the unique operation ID.
+ *
+ * @return the unique operation ID
+ */
String operationId();
- /** @return the percentage complete if available */
+ /**
+ * Gets the percentage complete if available.
+ *
+ * @return the percentage complete if available
+ */
int percentComplete();
- /** @return the name of the Elastic Pool */
+ /**
+ * Gets the name of the Elastic Pool.
+ *
+ * @return the name of the Elastic Pool
+ */
String elasticPoolName();
- /** @return the name of the Azure SQL Server the Elastic Pool is in */
+ /**
+ * Gets the name of the Azure SQL Server the Elastic Pool is in.
+ *
+ * @return the name of the Azure SQL Server the Elastic Pool is in
+ */
String serverName();
- /** @return the time the operation started (ISO8601 format) */
+ /**
+ * Gets the time the operation started.
+ *
+ * @return the time the operation started (ISO8601 format)
+ */
OffsetDateTime startTime();
- /** @return the current state of the operation */
+ /**
+ * Gets the current state of the operation.
+ *
+ * @return the current state of the operation
+ */
String state();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ElasticPoolEdition.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ElasticPoolEdition.java
index f86f991b886da..145c16768c6cd 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ElasticPoolEdition.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ElasticPoolEdition.java
@@ -23,6 +23,15 @@ public final class ElasticPoolEdition extends ExpandableStringEnum {
- /** @return the location name */
+ /**
+ * Gets the location name.
+ *
+ * @return the location name
+ */
Region region();
- /** @return the Azure SQL Database's status for the location */
+ /**
+ * Gets the Azure SQL Database's status for the location.
+ *
+ * @return the Azure SQL Database's status for the location
+ */
CapabilityStatus status();
- /** @return the list of supported server versions */
+ /**
+ * Gets the list of supported server versions.
+ *
+ * @return the list of supported server versions
+ */
Map supportedCapabilitiesByServerVersion();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ReplicationLink.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ReplicationLink.java
index cfebb1a1e6ffb..67bfd2f680381 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ReplicationLink.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ReplicationLink.java
@@ -19,40 +19,88 @@
public interface ReplicationLink
extends Refreshable, HasInnerModel, HasResourceGroup, HasName, HasId {
- /** @return name of the SQL Server to which this replication belongs */
+ /**
+ * Gets name of the SQL Server to which this replication belongs.
+ *
+ * @return name of the SQL Server to which this replication belongs
+ */
String sqlServerName();
- /** @return name of the SQL Database to which this replication belongs */
+ /**
+ * Gets name of the SQL Database to which this replication belongs.
+ *
+ * @return name of the SQL Database to which this replication belongs
+ */
String databaseName();
- /** @return the name of the Azure SQL Server hosting the partner Azure SQL Database. */
+ /**
+ * Gets the name of the Azure SQL Server hosting the partner Azure SQL Database.
+ *
+ * @return the name of the Azure SQL Server hosting the partner Azure SQL Database.
+ */
String partnerServer();
- /** @return the name of the partner Azure SQL Database */
+ /**
+ * Gets the name of the partner Azure SQL Database.
+ *
+ * @return the name of the partner Azure SQL Database
+ */
String partnerDatabase();
- /** @return the Azure Region of the partner Azure SQL Database */
+ /**
+ * Gets the Azure Region of the partner Azure SQL Database.
+ *
+ * @return the Azure Region of the partner Azure SQL Database
+ */
String partnerLocation();
- /** @return the role of the SQL Database in the replication link */
+ /**
+ * Gets the role of the SQL Database in the replication link.
+ *
+ * @return the role of the SQL Database in the replication link
+ */
ReplicationRole role();
- /** @return the role of the partner SQL Database in the replication link */
+ /**
+ * Gets the role of the partner SQL Database in the replication link.
+ *
+ * @return the role of the partner SQL Database in the replication link
+ */
ReplicationRole partnerRole();
- /** @return start time for the replication link (ISO8601 format) */
+ /**
+ * Gets start time for the replication link.
+ *
+ * @return start time for the replication link (ISO8601 format)
+ */
OffsetDateTime startTime();
- /** @return the percentage of the seeding completed for the replication link */
+ /**
+ * Gets the percentage of the seeding completed for the replication link.
+ *
+ * @return the percentage of the seeding completed for the replication link
+ */
int percentComplete();
- /** @return the replication state for the replication link */
+ /**
+ * Gets the replication state for the replication link.
+ *
+ * @return the replication state for the replication link
+ */
ReplicationState replicationState();
- /** @return the legacy value indicating whether termination is allowed (currently always returns true) */
+ /**
+ * Checks whether termination is allowed.
+ *
+ * @return the legacy value indicating whether termination is allowed (currently always returns true)
+ */
boolean isTerminationAllowed();
- /** @return the replication mode of this replication link */
+ /**
+ * Gets the replication mode of this replication link.
+ *
+ * @return the replication mode of this replication link
+ */
String replicationMode();
/** Deletes the replication link. */
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/RestorePoint.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/RestorePoint.java
index dac4da432fc4e..63948add6b8d4 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/RestorePoint.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/RestorePoint.java
@@ -14,24 +14,46 @@
/** An immutable client-side representation of an Azure SQL database's Restore Point. */
@Fluent
public interface RestorePoint extends HasInnerModel, HasResourceGroup, HasName, HasId {
- /** @return name of the SQL Server to which this replication belongs */
+ /**
+ * Gets name of the SQL Server to which this replication belongs.
+ *
+ * @return name of the SQL Server to which this replication belongs
+ */
String sqlServerName();
- /** @return name of the SQL Database to which this replication belongs */
+ /**
+ * Gets name of the SQL Database to which this replication belongs.
+ *
+ * @return name of the SQL Database to which this replication belongs
+ */
String databaseName();
- /** @return the ID of the SQL Database to which this replication belongs */
+ /**
+ * Gets the ID of the SQL Database to which this replication belongs.
+ *
+ * @return the ID of the SQL Database to which this replication belongs
+ */
String databaseId();
- /** @return the restore point type of the Azure SQL Database restore point. */
+ /**
+ * Gets the restore point type of the Azure SQL Database restore point.
+ *
+ * @return the restore point type of the Azure SQL Database restore point.
+ */
RestorePointType restorePointType();
/**
+ * Gets restore point creation time.
+ *
* @return restore point creation time (ISO8601 format). Populated when restorePointType = CONTINUOUS. Null
* otherwise.
*/
OffsetDateTime restorePointCreationDate();
- /** @return earliest restore time (ISO8601 format). Populated when restorePointType = DISCRETE. Null otherwise. */
+ /**
+ * Gets earliest restore time.
+ *
+ * @return earliest restore time (ISO8601 format). Populated when restorePointType = DISCRETE. Null otherwise.
+ */
OffsetDateTime earliestRestoreDate();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ServerMetric.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ServerMetric.java
index 49eb7f1971654..ebe005c319f0a 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ServerMetric.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ServerMetric.java
@@ -11,18 +11,38 @@
@Fluent
public interface ServerMetric extends HasInnerModel {
- /** @return Name of the server usage metric */
+ /**
+ * Gets name of the server usage metric.
+ *
+ * @return Name of the server usage metric
+ */
String name();
- /** @return the metric display name */
+ /**
+ * Gets the metric display name.
+ *
+ * @return the metric display name
+ */
String displayName();
- /** @return the current value of the metric */
+ /**
+ * Gets the current value of the metric.
+ *
+ * @return the current value of the metric
+ */
double currentValue();
- /** @return the current limit of the metric */
+ /**
+ * Gets the current limit of the metric.
+ *
+ * @return the current limit of the metric
+ */
double limit();
- /** @return the units of the metric */
+ /**
+ * Gets the units of the metric.
+ *
+ * @return the units of the metric
+ */
String unit();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ServerUsage.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ServerUsage.java
index bea2ec30751fe..5aee26374ec12 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ServerUsage.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ServerUsage.java
@@ -12,24 +12,52 @@
@Fluent
public interface ServerUsage extends HasInnerModel {
- /** @return Name of the server usage metric */
+ /**
+ * Gets name of the server usage metric.
+ *
+ * @return Name of the server usage metric
+ */
String name();
- /** @return the name of the resource */
+ /**
+ * Gets the name of the resource.
+ *
+ * @return the name of the resource
+ */
String resourceName();
- /** @return the metric display name */
+ /**
+ * Gets the metric display name.
+ *
+ * @return the metric display name
+ */
String displayName();
- /** @return the current value of the metric */
+ /**
+ * Gets the current value of the metric.
+ *
+ * @return the current value of the metric
+ */
double currentValue();
- /** @return the current limit of the metric */
+ /**
+ * Gets the current limit of the metric.
+ *
+ * @return the current limit of the metric
+ */
double limit();
- /** @return the units of the metric */
+ /**
+ * Gets the units of the metric.
+ *
+ * @return the units of the metric
+ */
String unit();
- /** @return the next reset time for the metric (ISO8601 format) */
+ /**
+ * Gets the next reset time for the metric.
+ *
+ * @return the next reset time for the metric (ISO8601 format)
+ */
OffsetDateTime nextResetTime();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ServiceObjectiveName.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ServiceObjectiveName.java
index eb41d7a41473c..3d458e4d5113f 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ServiceObjectiveName.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/ServiceObjectiveName.java
@@ -203,6 +203,15 @@ public final class ServiceObjectiveName extends ExpandableStringEnum, HasInnerModel,
HasResourceGroup, Refreshable, Updatable {
- /** @return name of the SQL Server to which this database belongs */
+ /**
+ * Gets name of the SQL Server to which this database belongs.
+ *
+ * @return name of the SQL Server to which this database belongs
+ */
String sqlServerName();
- /** @return the collation of the Azure SQL Database */
+ /**
+ * Gets the collation of the Azure SQL Database.
+ *
+ * @return the collation of the Azure SQL Database
+ */
String collation();
- /** @return the creation date of the Azure SQL Database */
+ /**
+ * Gets the creation date of the Azure SQL Database.
+ *
+ * @return the creation date of the Azure SQL Database
+ */
OffsetDateTime creationDate();
/**
+ * Gets the current Service Level Objective Name of the Azure SQL Database.
+ *
* @return the current Service Level Objective Name of the Azure SQL Database, this is the Name of the Service Level
* Objective that is currently active
*/
String currentServiceObjectiveName();
- /** @return the Id of the Azure SQL Database */
+ /**
+ * Gets the ID of the Azure SQL Database.
+ *
+ * @return the ID of the Azure SQL Database
+ */
String databaseId();
/**
+ * Gets the recovery period start date of the Azure SQL Database.
+ *
* @return the recovery period start date of the Azure SQL Database. This records the start date and time when
* recovery is available for this Azure SQL Database.
*/
OffsetDateTime earliestRestoreDate();
- /** @return the edition of the Azure SQL Database */
+ /**
+ * Gets the edition of the Azure SQL Database.
+ *
+ * @return the edition of the Azure SQL Database
+ */
DatabaseEdition edition();
- /** @return the max size of the Azure SQL Database expressed in bytes. */
+ /**
+ * Gets the max size of the Azure SQL Database expressed in bytes.
+ *
+ * @return the max size of the Azure SQL Database expressed in bytes.
+ */
long maxSizeBytes();
/**
+ * Gets the name of the configured Service Level Objective of the Azure SQL Database.
+ *
* @return the name of the configured Service Level Objective of the Azure SQL Database, this is the Service Level
* Objective that is being applied to the Azure SQL Database
*/
String requestedServiceObjectiveName();
- /** @return the status of the Azure SQL Database */
+ /**
+ * Gets the status of the Azure SQL Database.
+ *
+ * @return the status of the Azure SQL Database
+ */
DatabaseStatus status();
- /** @return the elasticPoolId value */
+ /**
+ * Gets ID of the elastic pool.
+ *
+ * @return the elasticPoolId value
+ */
String elasticPoolId();
- /** @return the elasticPoolName value */
+ /**
+ * Gets name of the elastic pool.
+ *
+ * @return the elasticPoolName value
+ */
String elasticPoolName();
- /** @return the defaultSecondaryLocation value */
+ /**
+ * Gets the default secondary location.
+ *
+ * @return the defaultSecondaryLocation value
+ */
String defaultSecondaryLocation();
- /** @return the parent SQL server ID */
+ /**
+ * Gets the parent SQL server ID.
+ *
+ * @return the parent SQL server ID
+ */
String parentId();
- /** @return the name of the region the resource is in */
+ /**
+ * Gets the name of the region the resource is in.
+ *
+ * @return the name of the region the resource is in
+ */
String regionName();
- /** @return the region the resource is in */
+ /**
+ * Gets the region the resource is in.
+ *
+ * @return the region the resource is in
+ */
Region region();
- /** @return true if this Database is SqlWarehouse */
+ /**
+ * Checks whether this Database is SqlWarehouse.
+ *
+ * @return true if this Database is SqlWarehouse
+ */
boolean isDataWarehouse();
- /** @return SqlWarehouse instance for more operations */
+ /**
+ * Gets SqlWarehouse instance for more operations.
+ *
+ * @return SqlWarehouse instance for more operations
+ */
SqlWarehouse asWarehouse();
- /** @return the list of all restore points on this database */
+ /**
+ * Gets the list of all restore points on this database.
+ *
+ * @return the list of all restore points on this database
+ */
List listRestorePoints();
- /** @return the list of all restore points on this database */
+ /**
+ * Gets the list of all restore points on this database.
+ *
+ * @return the list of all restore points on this database
+ */
PagedFlux listRestorePointsAsync();
/**
@@ -111,10 +185,16 @@ public interface SqlDatabase extends ExternalChildResource getTransparentDataEncryptionAsync();
- /** @return all the replication links associated with this database */
+ /**
+ * Gets all the replication links associated with this database.
+ *
+ * @return all the replication links associated with this database
+ */
Map listReplicationLinks();
/**
+ * Gets a representation of the deferred computation of all the replication links associated with this database.
+ *
* @return a representation of the deferred computation of all the replication links associated with this database
*/
PagedFlux listReplicationLinksAsync();
@@ -242,7 +322,11 @@ public interface SqlDatabase extends ExternalChildResource deleteAsync();
- /** @return the SQL Sync Group entry point for the current database */
+ /**
+ * Gets the SQL Sync Group entry point for the current database.
+ *
+ * @return the SQL Sync Group entry point for the current database
+ */
SqlSyncGroupOperations.SqlSyncGroupActionsDefinition syncGroups();
/**************************************************************
@@ -378,12 +462,16 @@ SqlDatabase.DefinitionStages.WithAuthentication importFrom(StorageAccou
*/
interface WithStorageKey {
/**
+ * Specifies the storage access key to use.
+ *
* @param storageAccessKey the storage access key to use
* @return next definition stage
*/
SqlDatabase.DefinitionStages.WithAuthentication withStorageAccessKey(String storageAccessKey);
/**
+ * Specifies the shared access key to use.
+ *
* @param sharedAccessKey the shared access key to use; it must be preceded with a "?."
* @return next definition stage
*/
@@ -397,6 +485,8 @@ interface WithStorageKey {
*/
interface WithAuthentication {
/**
+ * Specifies administrator login name and login password.
+ *
* @param administratorLogin the SQL administrator login
* @param administratorPassword the SQL administrator password
* @return next definition stage
@@ -405,6 +495,8 @@ interface WithAuthentication {
withSqlAdministratorLoginAndPassword(String administratorLogin, String administratorPassword);
/**
+ * Specifies Active Directory login name and login password.
+ *
* @param administratorLogin the Active Directory administrator login
* @param administratorPassword the Active Directory administrator password
* @return next definition stage
@@ -446,6 +538,8 @@ interface WithImportFromAfterElasticPool {
*/
interface WithStorageKeyAfterElasticPool {
/**
+ * Specifies the storage access key to use.
+ *
* @param storageAccessKey the storage access key to use
* @return next definition stage
*/
@@ -453,6 +547,8 @@ interface WithStorageKeyAfterElasticPool {
withStorageAccessKey(String storageAccessKey);
/**
+ * Specifies the shared access key to use.
+ *
* @param sharedAccessKey the shared access key to use; it must be preceded with a "?."
* @return next definition stage
*/
@@ -467,6 +563,8 @@ interface WithStorageKeyAfterElasticPool {
*/
interface WithAuthenticationAfterElasticPool {
/**
+ * Specifies administrator login name and login password.
+ *
* @param administratorLogin the SQL administrator login
* @param administratorPassword the SQL administrator password
* @return next definition stage
@@ -475,6 +573,8 @@ interface WithAuthenticationAfterElasticPool {
withSqlAdministratorLoginAndPassword(String administratorLogin, String administratorPassword);
/**
+ * Specifies Active Directory login name and login password.
+ *
* @param administratorLogin the Active Directory administrator login
* @param administratorPassword the Active Directory administrator password
* @return next definition stage
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseAutomaticTuning.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseAutomaticTuning.java
index 85b9bdcee5285..0dbf83aafdf0d 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseAutomaticTuning.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseAutomaticTuning.java
@@ -16,13 +16,25 @@
public interface SqlDatabaseAutomaticTuning extends HasInnerModel,
Refreshable, Updatable {
- /** @return the database automatic tuning desired state */
+ /**
+ * Gets the database automatic tuning desired state.
+ *
+ * @return the database automatic tuning desired state
+ */
AutomaticTuningMode desiredState();
- /** @return the database automatic tuning actual state */
+ /**
+ * Gets the database automatic tuning actual state.
+ *
+ * @return the database automatic tuning actual state
+ */
AutomaticTuningMode actualState();
- /** @return the database automatic tuning individual options */
+ /**
+ * Gets the database automatic tuning individual options.
+ *
+ * @return the database automatic tuning individual options
+ */
Map tuningOptions();
/**************************************************************
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseBasicStorage.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseBasicStorage.java
index d5e3f148d7fec..f4be4fba59f19 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseBasicStorage.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseBasicStorage.java
@@ -26,12 +26,20 @@ public enum SqlDatabaseBasicStorage {
this.capacityInMB = capacityInMB;
}
- /** @return the maximum allowed storage capacity in MB for the SQL Database */
+ /**
+ * Gets the maximum allowed storage capacity in MB for the SQL Database.
+ *
+ * @return the maximum allowed storage capacity in MB for the SQL Database
+ */
public long capacityInMB() {
return this.capacityInMB;
}
- /** @return the maximum allowed storage capacity in bytes for the SQL Database */
+ /**
+ * Gets the maximum allowed storage capacity in bytes for the SQL Database.
+ *
+ * @return the maximum allowed storage capacity in bytes for the SQL Database
+ */
public long capacity() {
return this.capacityInMB * 1024 * 1024;
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseExportRequest.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseExportRequest.java
index d3ed82970815c..fd40a3b16d647 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseExportRequest.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseExportRequest.java
@@ -25,12 +25,16 @@ interface DefinitionStages {
/** Sets the storage URI to use. */
interface ExportTo {
/**
+ * Sets the storage URI to use.
+ *
* @param storageUri the storage URI to use
* @return next definition stage
*/
SqlDatabaseExportRequest.DefinitionStages.WithStorageTypeAndKey exportTo(String storageUri);
/**
+ * Export database file to the container of storage.
+ *
* @param storageAccount an existing storage account to be used
* @param containerName the container name within the storage account to use
* @param fileName the exported database file name
@@ -40,6 +44,8 @@ interface ExportTo {
exportTo(StorageAccount storageAccount, String containerName, String fileName);
/**
+ * Export database file to the container of storage.
+ *
* @param storageAccountCreatable a storage account to be created as part of this execution flow
* @param containerName the container name within the storage account to use
* @param fileName the exported database file name
@@ -52,6 +58,8 @@ interface ExportTo {
/** Sets the storage key type and value to use. */
interface WithStorageTypeAndKey {
/**
+ * Specifies storage access key.
+ *
* @param storageAccessKey the storage access key to use
* @return next definition stage
*/
@@ -59,6 +67,8 @@ interface WithStorageTypeAndKey {
withStorageAccessKey(String storageAccessKey);
/**
+ * Specifies share access key.
+ *
* @param sharedAccessKey the shared access key to use; it must be preceded with a "?."
* @return next definition stage
*/
@@ -69,6 +79,8 @@ interface WithStorageTypeAndKey {
/** Sets the authentication type and SQL or Active Directory administrator login and password. */
interface WithAuthenticationTypeAndLoginPassword {
/**
+ * Sets the SQL login administrator and login password.
+ *
* @param administratorLogin the SQL administrator login
* @param administratorPassword the SQL administrator password
* @return next definition stage
@@ -77,6 +89,8 @@ interface WithAuthenticationTypeAndLoginPassword {
withSqlAdministratorLoginAndPassword(String administratorLogin, String administratorPassword);
/**
+ * Sets the login Active Directory and login password.
+ *
* @param administratorLogin the Active Directory administrator login
* @param administratorPassword the Active Directory administrator password
* @return next definition stage
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseImportExportResponse.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseImportExportResponse.java
index 71903895c3dd9..50e5e0e6f1a9a 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseImportExportResponse.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseImportExportResponse.java
@@ -13,30 +13,66 @@
@Fluent
public interface SqlDatabaseImportExportResponse
extends Indexable, HasInnerModel, HasId, HasName {
- /** @return the request type of the operation */
+ /**
+ * Gets the request type of the operation.
+ *
+ * @return the request type of the operation
+ */
String requestType();
- /** @return the UUID of the operation */
+ /**
+ * Gets the UUID of the operation.
+ *
+ * @return the UUID of the operation
+ */
String requestId();
- /** @return the name of the server */
+ /**
+ * Gets the name of the server.
+ *
+ * @return the name of the server
+ */
String serverName();
- /** @return the name of the database */
+ /**
+ * Gets the name of the database.
+ *
+ * @return the name of the database
+ */
String databaseName();
- /** @return the status message returned from the server */
+ /**
+ * Gets the status message returned from the server.
+ *
+ * @return the status message returned from the server
+ */
String status();
- /** @return the operation status last modified time */
+ /**
+ * Gets the operation status last modified time.
+ *
+ * @return the operation status last modified time
+ */
String lastModifiedTime();
- /** @return the operation queued time */
+ /**
+ * Gets the operation queued time.
+ *
+ * @return the operation queued time
+ */
String queuedTime();
- /** @return the blob uri */
+ /**
+ * Gets the blob uri.
+ *
+ * @return the blob uri
+ */
String blobUri();
- /** @return the error message returned from the server */
+ /**
+ * Gets the error message returned from the server.
+ *
+ * @return the error message returned from the server
+ */
String errorMessage();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseImportRequest.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseImportRequest.java
index 822b7bc58d720..21eac792c766c 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseImportRequest.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseImportRequest.java
@@ -25,12 +25,16 @@ interface DefinitionStages {
/** Sets the storage URI to use. */
interface ImportFrom {
/**
+ * Specifies the storage URI to use.
+ *
* @param storageUri the storage URI to use
* @return next definition stage
*/
SqlDatabaseImportRequest.DefinitionStages.WithStorageTypeAndKey importFrom(String storageUri);
/**
+ * Specifies the file from storage account.
+ *
* @param storageAccount an existing storage account to be used
* @param containerName the container name within the storage account to use
* @param fileName the exported database file name
@@ -43,6 +47,8 @@ interface ImportFrom {
/** Sets the storage key type and value to use. */
interface WithStorageTypeAndKey {
/**
+ * Specifies the storage access key.
+ *
* @param storageAccessKey the storage access key to use
* @return next definition stage
*/
@@ -50,6 +56,8 @@ interface WithStorageTypeAndKey {
withStorageAccessKey(String storageAccessKey);
/**
+ * Specifies the share access key.
+ *
* @param sharedAccessKey the shared access key to use; it must be preceded with a "?."
* @return next definition stage
*/
@@ -60,6 +68,8 @@ interface WithStorageTypeAndKey {
/** Sets the authentication type and SQL or Active Directory administrator login and password. */
interface WithAuthenticationTypeAndLoginPassword {
/**
+ * Specifies the SQL login administrator and login password.
+ *
* @param administratorLogin the SQL administrator login
* @param administratorPassword the SQL administrator password
* @return next definition stage
@@ -68,6 +78,8 @@ interface WithAuthenticationTypeAndLoginPassword {
withSqlAdministratorLoginAndPassword(String administratorLogin, String administratorPassword);
/**
+ * Specifies the Active Directory administrator and login password.
+ *
* @param administratorLogin the Active Directory administrator login
* @param administratorPassword the Active Directory administrator password
* @return next definition stage
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseOperations.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseOperations.java
index 96ffbd3d10668..75edc555b91a9 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseOperations.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseOperations.java
@@ -150,12 +150,16 @@ SqlDatabaseOperations.DefinitionStages.WithAuthentication importFrom(StorageAcco
/** Sets the storage key type and value to use. */
interface WithStorageKey {
/**
+ * Sets the storage access key to use.
+ *
* @param storageAccessKey the storage access key to use
* @return next definition stage
*/
SqlDatabaseOperations.DefinitionStages.WithAuthentication withStorageAccessKey(String storageAccessKey);
/**
+ * Sets share access key to use.
+ *
* @param sharedAccessKey the shared access key to use; it must be preceded with a "?."
* @return next definition stage
*/
@@ -165,6 +169,8 @@ interface WithStorageKey {
/** Sets the authentication type and SQL or Active Directory administrator login and password. */
interface WithAuthentication {
/**
+ * Specifies the SQL login administrator and login password.
+ *
* @param administratorLogin the SQL administrator login
* @param administratorPassword the SQL administrator password
* @return next definition stage
@@ -173,6 +179,8 @@ interface WithAuthentication {
withSqlAdministratorLoginAndPassword(String administratorLogin, String administratorPassword);
/**
+ * Specifies the Active Directory administrator and login password.
+ *
* @param administratorLogin the Active Directory administrator login
* @param administratorPassword the Active Directory administrator password
* @return next definition stage
@@ -206,6 +214,8 @@ interface WithImportFromAfterElasticPool {
/** Sets the storage key type and value to use. */
interface WithStorageKeyAfterElasticPool {
/**
+ * Specifies the storage access key.
+ *
* @param storageAccessKey the storage access key to use
* @return next definition stage
*/
@@ -213,6 +223,8 @@ interface WithStorageKeyAfterElasticPool {
withStorageAccessKey(String storageAccessKey);
/**
+ * Specifies the share access key.
+ *
* @param sharedAccessKey the shared access key to use; it must be preceded with a "?."
* @return next definition stage
*/
@@ -223,6 +235,8 @@ interface WithStorageKeyAfterElasticPool {
/** Sets the authentication type and SQL or Active Directory administrator login and password. */
interface WithAuthenticationAfterElasticPool {
/**
+ * Specifies the SQL login administrator and login password.
+ *
* @param administratorLogin the SQL administrator login
* @param administratorPassword the SQL administrator password
* @return next definition stage
@@ -231,6 +245,8 @@ interface WithAuthenticationAfterElasticPool {
withSqlAdministratorLoginAndPassword(String administratorLogin, String administratorPassword);
/**
+ * Specifies the Active Directory administrator and login password.
+ *
* @param administratorLogin the Active Directory administrator login
* @param administratorPassword the Active Directory administrator password
* @return next definition stage
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabasePremiumServiceObjective.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabasePremiumServiceObjective.java
index cdede7427ff68..499fdf2827f13 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabasePremiumServiceObjective.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabasePremiumServiceObjective.java
@@ -31,6 +31,15 @@ public class SqlDatabasePremiumServiceObjective extends ExpandableStringEnum values() {
return values(SqlDatabasePremiumServiceObjective.class);
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabasePremiumStorage.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabasePremiumStorage.java
index 396180c143d91..0534ea9b5bf27 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabasePremiumStorage.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabasePremiumStorage.java
@@ -107,12 +107,20 @@ public enum SqlDatabasePremiumStorage {
this.capacityInMB = capacityInMB;
}
- /** @return the maximum allowed storage capacity in MB for the SQL Database */
+ /**
+ * Gets the maximum allowed storage capacity in MB for the SQL Database.
+ *
+ * @return the maximum allowed storage capacity in MB for the SQL Database
+ */
public long capacityInMB() {
return this.capacityInMB;
}
- /** @return the maximum allowed storage capacity in bytes for the SQL Database */
+ /**
+ * Gets the maximum allowed storage capacity in bytes for the SQL Database.
+ *
+ * @return the maximum allowed storage capacity in bytes for the SQL Database
+ */
public long capacity() {
return this.capacityInMB * 1024 * 1024;
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseStandardServiceObjective.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseStandardServiceObjective.java
index 1bdbef9030f94..8a0c212733c31 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseStandardServiceObjective.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseStandardServiceObjective.java
@@ -37,6 +37,15 @@ public class SqlDatabaseStandardServiceObjective extends ExpandableStringEnum values() {
return values(SqlDatabaseStandardServiceObjective.class);
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseStandardStorage.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseStandardStorage.java
index e3753317b9823..df1a5d711f169 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseStandardStorage.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseStandardStorage.java
@@ -71,12 +71,20 @@ public enum SqlDatabaseStandardStorage {
this.capacityInMB = capacityInMB;
}
- /** @return the maximum allowed storage capacity in MB for the SQL Database */
+ /**
+ * Gets the maximum allowed storage capacity in MB for the SQL Database.
+ *
+ * @return the maximum allowed storage capacity in MB for the SQL Database
+ */
public long capacityInMB() {
return this.capacityInMB;
}
- /** @return the maximum allowed storage capacity in bytes for the SQL Database */
+ /**
+ * Gets the maximum allowed storage capacity in bytes for the SQL Database.
+ *
+ * @return the maximum allowed storage capacity in bytes for the SQL Database
+ */
public long capacity() {
return this.capacityInMB * 1024 * 1024;
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseThreatDetectionPolicy.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseThreatDetectionPolicy.java
index 6300ecc4c4fc7..2cd2bf31035ac 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseThreatDetectionPolicy.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseThreatDetectionPolicy.java
@@ -24,48 +24,92 @@ public interface SqlDatabaseThreatDetectionPolicy
HasInnerModel, HasResourceGroup, Refreshable,
Updatable {
- /** @return the geo-location where the resource lives */
+ /**
+ * Gets the geo-location where the resource lives.
+ *
+ * @return the geo-location where the resource lives
+ */
Region region();
- /** @return the resource kind */
+ /**
+ * Gets the resource kind.
+ *
+ * @return the resource kind
+ */
String kind();
- /** @return the state of the policy. */
+ /**
+ * Gets the state of the policy.
+ *
+ * @return the state of the policy.
+ */
SecurityAlertPolicyState currentState();
/**
+ * Gets the semicolon-separated list of alerts that are disabled.
+ *
* @return the semicolon-separated list of alerts that are disabled
* @deprecated use {@link SqlDatabaseThreatDetectionPolicy#disabledAlertList()}
*/
@Deprecated
String disabledAlerts();
- /** @return a list of disabled alerts */
+ /**
+ * Gets a list of disabled alerts.
+ *
+ * @return a list of disabled alerts
+ */
List disabledAlertList();
/**
+ * Gets the semicolon-separated list of e-mail addresses to which the alert is sent.
+ *
* @return the semicolon-separated list of e-mail addresses to which the alert is sent
* @deprecated use {@link SqlDatabaseThreatDetectionPolicy#emailAddressList()}
*/
@Deprecated
String emailAddresses();
- /** @return a list of e-mail addresses to which the alert is sent */
+ /**
+ * Gets a list of e-mail addresses to which the alert is sent.
+ *
+ * @return a list of e-mail addresses to which the alert is sent
+ */
List emailAddressList();
- /** @return true if the alert is sent to the account administrators */
+ /**
+ * Checks whether the alert is sent to the account administrators.
+ *
+ * @return true if the alert is sent to the account administrators
+ */
boolean emailAccountAdmins();
- /** @return the blob storage endpoint */
+ /**
+ * Gets the blob storage endpoint.
+ *
+ * @return the blob storage endpoint
+ */
String storageEndpoint();
- /** @return the identifier key of the Threat Detection audit storage account */
+ /**
+ * Gets the identifier key of the Threat Detection audit storage account.
+ *
+ * @return the identifier key of the Threat Detection audit storage account
+ */
String storageAccountAccessKey();
- /** @return the number of days to keep in the Threat Detection audit logs */
+ /**
+ * Gets the number of days to keep in the Threat Detection audit logs.
+ *
+ * @return the number of days to keep in the Threat Detection audit logs
+ */
int retentionDays();
- /** @return true if using default server policy */
+ /**
+ * Checks whether using default server policy.
+ *
+ * @return true if using default server policy
+ */
boolean isDefaultSecurityAlertPolicy();
/** Container interface for SQL database threat detection policy operations. */
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseUsageMetric.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseUsageMetric.java
index d4281a334d219..e4d34322dc010 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseUsageMetric.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlDatabaseUsageMetric.java
@@ -11,15 +11,31 @@
@Fluent
public interface SqlDatabaseUsageMetric extends HasName, HasInnerModel {
- /** @return a user-readable name of the metric */
+ /**
+ * Gets a user-readable name of the metric.
+ *
+ * @return a user-readable name of the metric
+ */
String displayName();
- /** @return the current value of the metric */
+ /**
+ * Gets the current value of the metric.
+ *
+ * @return the current value of the metric
+ */
double currentValue();
- /** @return the boundary value of the metric */
+ /**
+ * Gets the boundary value of the metric.
+ *
+ * @return the boundary value of the metric
+ */
double limit();
- /** @return the unit of the metric */
+ /**
+ * Gets the unit of the metric.
+ *
+ * @return the unit of the metric
+ */
String unit();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPool.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPool.java
index 80f506a60c177..bfbfdb7b5e8a5 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPool.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPool.java
@@ -25,45 +25,97 @@
public interface SqlElasticPool extends ExternalChildResource,
HasInnerModel, HasResourceGroup, Refreshable, Updatable {
- /** @return name of the SQL Server to which this elastic pool belongs */
+ /**
+ * Gets name of the SQL Server to which this elastic pool belongs.
+ *
+ * @return name of the SQL Server to which this elastic pool belongs
+ */
String sqlServerName();
- /** @return the creation date of the Azure SQL Elastic Pool */
+ /**
+ * Gets the creation date of the Azure SQL Elastic Pool.
+ *
+ * @return the creation date of the Azure SQL Elastic Pool
+ */
OffsetDateTime creationDate();
- /** @return the state of the Azure SQL Elastic Pool */
+ /**
+ * Gets the state of the Azure SQL Elastic Pool.
+ *
+ * @return the state of the Azure SQL Elastic Pool
+ */
ElasticPoolState state();
- /** @return the edition of Azure SQL Elastic Pool */
+ /**
+ * Gets the edition of Azure SQL Elastic Pool.
+ *
+ * @return the edition of Azure SQL Elastic Pool
+ */
ElasticPoolEdition edition();
- /** @return The total shared DTU for the SQL Azure Database Elastic Pool */
+ /**
+ * Gets the total shared DTU for the SQL Azure Database Elastic Pool.
+ *
+ * @return The total shared DTU for the SQL Azure Database Elastic Pool
+ */
int dtu();
- /** @return the maximum DTU any one SQL Azure database can consume. */
+ /**
+ * Gets the maximum DTU any one SQL Azure database can consume.
+ *
+ * @return the maximum DTU any one SQL Azure database can consume.
+ */
Double databaseDtuMax();
- /** @return the minimum DTU all SQL Azure Databases are guaranteed */
+ /**
+ * Gets the minimum DTU all SQL Azure Databases are guaranteed.
+ *
+ * @return the minimum DTU all SQL Azure Databases are guaranteed
+ */
Double databaseDtuMin();
- /** @return the storage capacity limit for the SQL Azure Database Elastic Pool in Bytes */
+ /**
+ * Gets the storage capacity limit for the SQL Azure Database Elastic Pool in Bytes.
+ *
+ * @return the storage capacity limit for the SQL Azure Database Elastic Pool in Bytes
+ */
Long storageCapacity();
- /** @return the parent SQL server ID */
+ /**
+ * Gets the parent SQL server ID.
+ *
+ * @return the parent SQL server ID
+ */
String parentId();
- /** @return the name of the region the resource is in */
+ /**
+ * Gets the name of the region the resource is in.
+ *
+ * @return the name of the region the resource is in
+ */
String regionName();
- /** @return the region the resource is in */
+ /**
+ * Gets the region the resource is in.
+ *
+ * @return the region the resource is in
+ */
Region region();
// Actions
- /** @return the information about elastic pool activities */
+ /**
+ * Gets the information about elastic pool activities.
+ *
+ * @return the information about elastic pool activities
+ */
List listActivities();
- /** @return a representation of the deferred computation of the information about elastic pool activities */
+ /**
+ * Gets a representation of the deferred computation of the information about elastic pool activities.
+ *
+ * @return a representation of the deferred computation of the information about elastic pool activities
+ */
PagedFlux listActivitiesAsync();
/**
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolBasicEDTUs.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolBasicEDTUs.java
index 77b065e5cb702..382ec9cb64cd5 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolBasicEDTUs.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolBasicEDTUs.java
@@ -35,7 +35,11 @@ public enum SqlElasticPoolBasicEDTUs {
this.value = eDTU;
}
- /** @return the reserved eDTU for the SQL Elastic Pool */
+ /**
+ * Gets the reserved eDTU for the SQL Elastic Pool.
+ *
+ * @return the reserved eDTU for the SQL Elastic Pool
+ */
public int value() {
return this.value;
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolBasicMaxEDTUs.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolBasicMaxEDTUs.java
index fe05fb11f315d..dc87516caf386 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolBasicMaxEDTUs.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolBasicMaxEDTUs.java
@@ -17,7 +17,11 @@ public enum SqlElasticPoolBasicMaxEDTUs {
this.value = eDTU;
}
- /** @return the maximum eDTUs available per each database for the SQL Elastic Pool */
+ /**
+ * Gets the maximum eDTUs available per each database for the SQL Elastic Pool.
+ *
+ * @return the maximum eDTUs available per each database for the SQL Elastic Pool
+ */
public int value() {
return this.value;
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolBasicMinEDTUs.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolBasicMinEDTUs.java
index 03f614af919af..84b04b5aefead 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolBasicMinEDTUs.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolBasicMinEDTUs.java
@@ -20,7 +20,11 @@ public enum SqlElasticPoolBasicMinEDTUs {
this.value = eDTU;
}
- /** @return the reserved minimum eDTU for each database in the SQL Elastic Pool */
+ /**
+ * Gets the reserved minimum eDTU for each database in the SQL Elastic Pool.
+ *
+ * @return the reserved minimum eDTU for each database in the SQL Elastic Pool
+ */
public int value() {
return this.value;
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolPremiumEDTUs.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolPremiumEDTUs.java
index 3b4e0cad0d3cd..56e1d52cb4ec4 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolPremiumEDTUs.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolPremiumEDTUs.java
@@ -44,7 +44,11 @@ public enum SqlElasticPoolPremiumEDTUs {
this.value = eDTU;
}
- /** @return the reserved eDTU for the SQL Elastic Pool */
+ /**
+ * Gets the reserved eDTU for the SQL Elastic Pool.
+ *
+ * @return the reserved eDTU for the SQL Elastic Pool
+ */
public int value() {
return this.value;
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolPremiumMaxEDTUs.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolPremiumMaxEDTUs.java
index 343d72489e26a..27ac856cb6eff 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolPremiumMaxEDTUs.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolPremiumMaxEDTUs.java
@@ -41,7 +41,11 @@ public enum SqlElasticPoolPremiumMaxEDTUs {
this.value = eDTU;
}
- /** @return the maximum eDTUs available per each database for the SQL Elastic Pool */
+ /**
+ * Gets the maximum eDTUs available per each database for the SQL Elastic Pool.
+ *
+ * @return the maximum eDTUs available per each database for the SQL Elastic Pool
+ */
public int value() {
return this.value;
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolPremiumMinEDTUs.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolPremiumMinEDTUs.java
index 0dc1a7f65771c..e8a617f526f42 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolPremiumMinEDTUs.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolPremiumMinEDTUs.java
@@ -44,7 +44,11 @@ public enum SqlElasticPoolPremiumMinEDTUs {
this.value = eDTU;
}
- /** @return the reserved minimum eDTU for each database in the SQL Elastic Pool */
+ /**
+ * Gets the reserved minimum eDTU for each database in the SQL Elastic Pool.
+ *
+ * @return the reserved minimum eDTU for each database in the SQL Elastic Pool
+ */
public int value() {
return this.value;
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolPremiumSorage.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolPremiumSorage.java
index b89253c9cf0a5..2c433b7f14f86 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolPremiumSorage.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolPremiumSorage.java
@@ -98,7 +98,11 @@ public enum SqlElasticPoolPremiumSorage {
this.capacityInGB = capacityInGB;
}
- /** @return the maximum allowed storage capacity in MB for the SQL Elastic Pool */
+ /**
+ * Gets the maximum allowed storage capacity in MB for the SQL Elastic Pool.
+ *
+ * @return the maximum allowed storage capacity in MB for the SQL Elastic Pool
+ */
public int capacityInMB() {
return this.capacityInGB * 1024;
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolStandardEDTUs.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolStandardEDTUs.java
index 9c969dca6a80c..dca278bceeea4 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolStandardEDTUs.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolStandardEDTUs.java
@@ -47,7 +47,11 @@ public enum SqlElasticPoolStandardEDTUs {
this.value = eDTU;
}
- /** @return the reserved eDTU for the SQL Elastic Pool */
+ /**
+ * Gets the reserved eDTU for the SQL Elastic Pool.
+ *
+ * @return the reserved eDTU for the SQL Elastic Pool
+ */
public int value() {
return this.value;
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolStandardMaxEDTUs.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolStandardMaxEDTUs.java
index a8a56d66aa273..bb4f011fb3037 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolStandardMaxEDTUs.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolStandardMaxEDTUs.java
@@ -53,7 +53,11 @@ public enum SqlElasticPoolStandardMaxEDTUs {
this.value = eDTU;
}
- /** @return the maximum eDTUs available per each database for the SQL Elastic Pool */
+ /**
+ * Gets the maximum eDTUs available per each database for the SQL Elastic Pool.
+ *
+ * @return the maximum eDTUs available per each database for the SQL Elastic Pool
+ */
public int value() {
return this.value;
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolStandardMinEDTUs.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolStandardMinEDTUs.java
index 6d2e79d4da7ab..0e2593691dc57 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolStandardMinEDTUs.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolStandardMinEDTUs.java
@@ -53,7 +53,11 @@ public enum SqlElasticPoolStandardMinEDTUs {
this.value = eDTU;
}
- /** @return the reserved minimum eDTU for each database in the SQL Elastic Pool */
+ /**
+ * Gets the reserved minimum eDTU for each database in the SQL Elastic Pool.
+ *
+ * @return the reserved minimum eDTU for each database in the SQL Elastic Pool
+ */
public int value() {
return this.value;
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolStandardStorage.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolStandardStorage.java
index bfb65bf97fbbd..15582688b534d 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolStandardStorage.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlElasticPoolStandardStorage.java
@@ -98,7 +98,11 @@ public enum SqlElasticPoolStandardStorage {
this.capacityInGB = capacityInGB;
}
- /** @return the maximum allowed storage capacity in MB for the SQL Elastic Pool */
+ /**
+ * Gets the maximum allowed storage capacity in MB for the SQL Elastic Pool.
+ *
+ * @return the maximum allowed storage capacity in MB for the SQL Elastic Pool
+ */
public int capacityInMB() {
return this.capacityInGB * 1024;
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlEncryptionProtector.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlEncryptionProtector.java
index 6533d9a54f8fb..8806baf2ac483 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlEncryptionProtector.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlEncryptionProtector.java
@@ -18,28 +18,60 @@
public interface SqlEncryptionProtector extends HasId, HasInnerModel, HasResourceGroup,
Indexable, Refreshable, Updatable {
- /** @return name of the SQL Server to which this DNS alias belongs */
+ /**
+ * Gets the name of the SQL Server to which this DNS alias belongs.
+ *
+ * @return name of the SQL Server to which this DNS alias belongs
+ */
String sqlServerName();
- /** @return the parent SQL server ID */
+ /**
+ * Gets the parent SQL server ID.
+ *
+ * @return the parent SQL server ID
+ */
String parentId();
- /** @return the kind of encryption protector; this is metadata used for the Azure Portal experience */
+ /**
+ * Gets the kind of encryption protector.
+ *
+ * @return the kind of encryption protector; this is metadata used for the Azure Portal experience
+ */
String kind();
- /** @return the resource location */
+ /**
+ * Gets the resource location.
+ *
+ * @return the resource location
+ */
Region region();
- /** @return the name of the server key */
+ /**
+ * Gets the name of the server key.
+ *
+ * @return the name of the server key
+ */
String serverKeyName();
- /** @return the encryption protector type */
+ /**
+ * Gets the encryption protector type.
+ *
+ * @return the encryption protector type
+ */
ServerKeyType serverKeyType();
- /** @return the URI of the server key */
+ /**
+ * Gets the URI of the server key.
+ *
+ * @return the URI of the server key
+ */
String uri();
- /** @return thumbprint of the server key */
+ /**
+ * Gets the thumbprint of the server key.
+ *
+ * @return thumbprint of the server key
+ */
String thumbprint();
/**
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlFailoverGroup.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlFailoverGroup.java
index d418c8772e9c7..ccf3d2d9ae610 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlFailoverGroup.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlFailoverGroup.java
@@ -18,31 +18,67 @@
public interface SqlFailoverGroup extends Resource, HasInnerModel, HasResourceGroup,
Refreshable, Updatable {
- /** @return name of the SQL Server to which this Failover Group belongs */
+ /**
+ * Gets the name of the SQL Server to which this Failover Group belongs.
+ *
+ * @return name of the SQL Server to which this Failover Group belongs
+ */
String sqlServerName();
- /** @return the parent SQL server ID */
+ /**
+ * Gets the parent SQL server ID.
+ *
+ * @return the parent SQL server ID
+ */
String parentId();
- /** @return the failover policy of the read-write endpoint for the failover group */
+ /**
+ * Gets the failover policy of the read-write endpoint for the failover group.
+ *
+ * @return the failover policy of the read-write endpoint for the failover group
+ */
ReadWriteEndpointFailoverPolicy readWriteEndpointPolicy();
- /** @return the grace period before failover with data loss is attempted for the read-write endpoint */
+ /**
+ * Gets the grace period before failover with data loss is attempted for the read-write endpoint.
+ *
+ * @return the grace period before failover with data loss is attempted for the read-write endpoint
+ */
int readWriteEndpointDataLossGracePeriodMinutes();
- /** @return the failover policy of the read-only endpoint for the failover group */
+ /**
+ * Gets the failover policy of the read-only endpoint for the failover group.
+ *
+ * @return the failover policy of the read-only endpoint for the failover group
+ */
ReadOnlyEndpointFailoverPolicy readOnlyEndpointPolicy();
- /** @return the local replication role of the failover group instance */
+ /**
+ * Gets the local replication role of the failover group instance.
+ *
+ * @return the local replication role of the failover group instance
+ */
FailoverGroupReplicationRole replicationRole();
- /** @return the replication state of the failover group instance */
+ /**
+ * Gets the replication state of the failover group instance.
+ *
+ * @return the replication state of the failover group instance
+ */
String replicationState();
- /** @return the list of partner server information for the failover group */
+ /**
+ * Gets the list of partner server information for the failover group.
+ *
+ * @return the list of partner server information for the failover group
+ */
List partnerServers();
- /** @return the list of database IDs in the failover group */
+ /**
+ * Gets the list of database IDs in the failover group.
+ *
+ * @return the list of database IDs in the failover group
+ */
List databases();
/** Deletes the Failover Group. */
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlFirewallRule.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlFirewallRule.java
index 62b5a0cd3024d..e27d0905b314f 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlFirewallRule.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlFirewallRule.java
@@ -20,22 +20,46 @@ public interface SqlFirewallRule
extends ExternalChildResource, HasInnerModel, HasResourceGroup,
Refreshable, Updatable {
- /** @return name of the SQL Server to which this Firewall Rule belongs */
+ /**
+ * Gets the name of the SQL Server to which this Firewall Rule belongs.
+ *
+ * @return name of the SQL Server to which this Firewall Rule belongs
+ */
String sqlServerName();
- /** @return the start Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule. */
+ /**
+ * Gets the start Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule.
+ *
+ * @return the start Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule.
+ */
String startIpAddress();
- /** @return the end Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule. */
+ /**
+ * Gets the end Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule.
+ *
+ * @return the end Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule.
+ */
String endIpAddress();
- /** @return kind of SQL Server that contains this Firewall Rule. */
+ /**
+ * Gets the kind of SQL Server that contains this Firewall Rule.
+ *
+ * @return kind of SQL Server that contains this Firewall Rule.
+ */
String kind();
- /** @return region of SQL Server that contains this Firewall Rule. */
+ /**
+ * Gets the region of SQL Server that contains this Firewall Rule.
+ *
+ * @return region of SQL Server that contains this Firewall Rule.
+ */
Region region();
- /** @return the parent SQL server ID */
+ /**
+ * Gets the parent SQL server ID.
+ *
+ * @return the parent SQL server ID
+ */
String parentId();
/** Deletes the firewall rule. */
@@ -74,7 +98,11 @@ interface Blank extends SqlFirewallRule.DefinitionStages.WithIpAddressR
SqlFirewallRule.DefinitionStages.WithIpAddress {
}
- /** The SQL Firewall Rule definition to set the Ip address range for the parent SQL Server. */
+ /**
+ * The SQL Firewall Rule definition to set the Ip address range for the parent SQL Server.
+ *
+ * @param the stage of the parent definition to return to after attaching this definition
+ */
interface WithIpAddressRange {
/**
* Sets the starting Ip address of SQL server's Firewall Rule.
@@ -86,7 +114,11 @@ interface WithIpAddressRange {
WithAttach withIpAddressRange(String startIpAddress, String endIpAddress);
}
- /** The SQL Firewall Rule definition to set the Ip address for the parent SQL Server. */
+ /**
+ * The SQL Firewall Rule definition to set the Ip address for the parent SQL Server.
+ *
+ * @param the stage of the parent definition to return to after attaching this definition
+ */
interface WithIpAddress {
/**
* Sets the ending Ip address of SQL server's Firewall Rule.
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlRestorableDroppedDatabase.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlRestorableDroppedDatabase.java
index 13c7bddf49d64..f1b1c03ee2216 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlRestorableDroppedDatabase.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlRestorableDroppedDatabase.java
@@ -18,24 +18,52 @@
public interface SqlRestorableDroppedDatabase extends Refreshable,
HasInnerModel, HasResourceGroup, HasName, HasId {
- /** @return the geo-location where the resource lives */
+ /**
+ * Gets the geo-location where the resource lives.
+ *
+ * @return the geo-location where the resource lives
+ */
Region region();
- /** @return the name of the database */
+ /**
+ * Gets the name of the database.
+ *
+ * @return the name of the database
+ */
String databaseName();
- /** @return the edition of the database */
+ /**
+ * Gets the edition of the database.
+ *
+ * @return the edition of the database
+ */
String edition();
- /** @return the max size in bytes of the database */
+ /**
+ * Gets the max size in bytes of the database.
+ *
+ * @return the max size in bytes of the database
+ */
String maxSizeBytes();
- /** @return the creation date of the database (ISO8601 format) */
+ /**
+ * Gets the creation date of the database.
+ *
+ * @return the creation date of the database (ISO8601 format)
+ */
OffsetDateTime creationDate();
- /** @return the deletion date of the database (ISO8601 format) */
+ /**
+ * Gets the deletion date of the database.
+ *
+ * @return the deletion date of the database (ISO8601 format)
+ */
OffsetDateTime deletionDate();
- /** @return the earliest restore date of the database (ISO8601 format) */
+ /**
+ * Gets the earliest restore date of the database.
+ *
+ * @return the earliest restore date of the database (ISO8601 format)
+ */
OffsetDateTime earliestRestoreDate();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServer.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServer.java
index c68372c76f355..64d5188526aca 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServer.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServer.java
@@ -21,48 +21,94 @@
public interface SqlServer
extends GroupableResource, Refreshable, Updatable {
- /** @return fully qualified name of the SQL Server */
+ /**
+ * Gets the fully qualified name of the SQL Server.
+ *
+ * @return fully qualified name of the SQL Server
+ */
String fullyQualifiedDomainName();
- /** @return the administrator login user name for the SQL Server */
+ /**
+ * Gets the administrator login user name for the SQL Server.
+ *
+ * @return the administrator login user name for the SQL Server
+ */
String administratorLogin();
- /** @return the SQL Server version */
+ /**
+ * Gets the SQL Server version.
+ *
+ * @return the SQL Server version
+ */
String version();
- /** @return the SQL Server "kind" */
+ /**
+ * Gets the kind of the SQL Server.
+ *
+ * @return the SQL Server "kind"
+ */
String kind();
- /** @return the state of the server. */
+ /**
+ * Gets the state of the server.
+ *
+ * @return the state of the server.
+ */
String state();
- /** @return true if Managed Service Identity is enabled for the SQL server */
+ /**
+ * Checks whether Managed Service Identity is enabled for the SQL server.
+ *
+ * @return true if Managed Service Identity is enabled for the SQL server
+ */
boolean isManagedServiceIdentityEnabled();
/**
+ * Gets the System Assigned (Local) Managed Service Identity specific Active Directory tenant ID assigned to the
+ * SQL server.
+ *
* @return the System Assigned (Local) Managed Service Identity specific Active Directory tenant ID assigned to the
* SQL server.
*/
String systemAssignedManagedServiceIdentityTenantId();
/**
+ * Gets the System Assigned (Local) Managed Service Identity specific Active Directory service principal ID
+ * assigned to the SQL server.
+ *
* @return the System Assigned (Local) Managed Service Identity specific Active Directory service principal ID
* assigned to the SQL server.
*/
String systemAssignedManagedServiceIdentityPrincipalId();
- /** @return the type of Managed Service Identity used for the SQL server. */
+ /**
+ * Gets the type of Managed Service Identity used for the SQL server.
+ *
+ * @return the type of Managed Service Identity used for the SQL server.
+ */
IdentityType managedServiceIdentityType();
// Actions
- /** @return returns the list of usage metrics for an Azure SQL Server */
+ /**
+ * Gets the list of usage metrics for an Azure SQL Server.
+ *
+ * @return returns the list of usage metrics for an Azure SQL Server
+ */
List listUsageMetrics();
- /** @return the list of all restorable dropped databases */
+ /**
+ * Gets the list of all restorable dropped databases.
+ *
+ * @return the list of all restorable dropped databases
+ */
List listRestorableDroppedDatabases();
- /** @return the list of all restorable dropped databases */
+ /**
+ * Gets the list of all restorable dropped databases.
+ *
+ * @return the list of all restorable dropped databases
+ */
PagedFlux listRestorableDroppedDatabasesAsync();
/**
@@ -76,7 +122,7 @@ public interface SqlServer
SqlFirewallRule enableAccessFromAzureServices();
/**
- * Whether the SQL Server can be accessed from public network.
+ * Checks whether the SQL Server can be accessed from public network.
*
* @return whether the SQL Server can be accessed from public network.
*/
@@ -120,31 +166,67 @@ public interface SqlServer
// Collections
- /** @return the entry point to manage SQL Firewall rules for this server */
+ /**
+ * Gets the entry point to manage SQL Firewall rules for this server.
+ *
+ * @return the entry point to manage SQL Firewall rules for this server
+ */
SqlFirewallRuleOperations.SqlFirewallRuleActionsDefinition firewallRules();
- /** @return the entry point to manage SQL Virtual Network Rule for this server */
+ /**
+ * Gets the entry point to manage SQL Virtual Network Rule for this server.
+ *
+ * @return the entry point to manage SQL Virtual Network Rule for this server
+ */
SqlVirtualNetworkRuleOperations.SqlVirtualNetworkRuleActionsDefinition virtualNetworkRules();
- /** @return the entry point to manage the SQL Elastic Pools for this server */
+ /**
+ * Gets the entry point to manage the SQL Elastic Pools for this server.
+ *
+ * @return the entry point to manage the SQL Elastic Pools for this server
+ */
SqlElasticPoolOperations.SqlElasticPoolActionsDefinition elasticPools();
- /** @return entry point to manage Databases for this SQL server */
+ /**
+ * Gets entry point to manage Databases for this SQL server.
+ *
+ * @return entry point to manage Databases for this SQL server
+ */
SqlDatabaseOperations.SqlDatabaseActionsDefinition databases();
- /** @return the entry point to manage SQL Server DNS aliases for this server */
+ /**
+ * Gets the entry point to manage SQL Server DNS aliases for this server.
+ *
+ * @return the entry point to manage SQL Server DNS aliases for this server
+ */
SqlServerDnsAliasOperations.SqlServerDnsAliasActionsDefinition dnsAliases();
- /** @return the entry point to manage SQL Failover Group for this server */
+ /**
+ * Gets the entry point to manage SQL Failover Group for this server.
+ *
+ * @return the entry point to manage SQL Failover Group for this server
+ */
SqlFailoverGroupOperations.SqlFailoverGroupActionsDefinition failoverGroups();
- /** @return the entry point to manage SQL Server Keys for this server */
+ /**
+ * Gets the entry point to manage SQL Server Keys for this server.
+ *
+ * @return the entry point to manage SQL Server Keys for this server
+ */
SqlServerKeyOperations.SqlServerKeyActionsDefinition serverKeys();
- /** @return the entry point to manage SQL Encryption Protector for this server */
+ /**
+ * Gets the entry point to manage SQL Encryption Protector for this server.
+ *
+ * @return the entry point to manage SQL Encryption Protector for this server
+ */
SqlEncryptionProtectorOperations.SqlEncryptionProtectorActionsDefinition encryptionProtectors();
- /** @return the entry point to manage SQL Server Security Alert Policy for this server */
+ /**
+ * Gets the entry point to manage SQL Server Security Alert Policy for this server.
+ *
+ * @return the entry point to manage SQL Server Security Alert Policy for this server
+ */
SqlServerSecurityAlertPolicyOperations.SqlServerSecurityAlertPolicyActionsDefinition serverSecurityAlertPolicies();
/**************************************************************
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServerAutomaticTuning.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServerAutomaticTuning.java
index a73e319e9b5d9..bbf5acca019f1 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServerAutomaticTuning.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServerAutomaticTuning.java
@@ -16,13 +16,25 @@
public interface SqlServerAutomaticTuning extends HasInnerModel,
Refreshable, Updatable {
- /** @return the server automatic tuning desired state */
+ /**
+ * Gets the server automatic tuning desired state.
+ *
+ * @return the server automatic tuning desired state
+ */
AutomaticTuningServerMode desiredState();
- /** @return the server automatic tuning actual state */
+ /**
+ * Gets the server automatic tuning actual state.
+ *
+ * @return the server automatic tuning actual state
+ */
AutomaticTuningServerMode actualState();
- /** @return the server automatic tuning individual options */
+ /**
+ * Gets the server automatic tuning individual options.
+ *
+ * @return the server automatic tuning individual options
+ */
Map tuningOptions();
/**************************************************************
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServerDnsAlias.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServerDnsAlias.java
index da49a81e1efca..cda3e4e3f5b55 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServerDnsAlias.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServerDnsAlias.java
@@ -16,13 +16,25 @@
@Fluent
public interface SqlServerDnsAlias extends HasId, HasInnerModel, HasName, HasResourceGroup,
Indexable, Refreshable {
- /** @return name of the SQL Server to which this DNS alias belongs */
+ /**
+ * Gets the name of the SQL Server to which this DNS alias belongs.
+ *
+ * @return name of the SQL Server to which this DNS alias belongs
+ */
String sqlServerName();
- /** @return the fully qualified DNS record for alias */
+ /**
+ * Gets the fully qualified DNS record for alias.
+ *
+ * @return the fully qualified DNS record for alias
+ */
String azureDnsRecord();
- /** @return the parent SQL server ID */
+ /**
+ * Gets the parent SQL server ID.
+ *
+ * @return the parent SQL server ID
+ */
String parentId();
/** Deletes the DNS alias. */
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServerKey.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServerKey.java
index 02f5fb10e85c9..fc2888c547f7e 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServerKey.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServerKey.java
@@ -19,28 +19,60 @@
@Fluent
public interface SqlServerKey
extends HasId, HasInnerModel, HasName, HasResourceGroup, Indexable, Refreshable {
- /** @return name of the SQL Server to which this DNS alias belongs */
+ /**
+ * Gets the name of the SQL Server to which this DNS alias belongs.
+ *
+ * @return name of the SQL Server to which this DNS alias belongs
+ */
String sqlServerName();
- /** @return the parent SQL server ID */
+ /**
+ * Gets the parent SQL server ID.
+ *
+ * @return the parent SQL server ID
+ */
String parentId();
- /** @return the kind of encryption protector; this is metadata used for the Azure Portal experience */
+ /**
+ * Gets the kind of encryption protector.
+ *
+ * @return the kind of encryption protector; this is metadata used for the Azure Portal experience
+ */
String kind();
- /** @return the resource location */
+ /**
+ * Gets the resource location.
+ *
+ * @return the resource location
+ */
Region region();
- /** @return the server key type */
+ /**
+ * Gets the server key type.
+ *
+ * @return the server key type
+ */
ServerKeyType serverKeyType();
- /** @return the URI of the server key */
+ /**
+ * Gets the URI of the server key.
+ *
+ * @return the URI of the server key
+ */
String uri();
- /** @return the thumbprint of the server key */
+ /**
+ * Gets the thumbprint of the server key.
+ *
+ * @return the thumbprint of the server key
+ */
String thumbprint();
- /** @return the server key creation date */
+ /**
+ * Gets the server key creation date.
+ *
+ * @return the server key creation date
+ */
OffsetDateTime creationDate();
/** Deletes the SQL Server Key. */
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServerSecurityAlertPolicy.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServerSecurityAlertPolicy.java
index fa7b864d40d1e..784beefa93711 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServerSecurityAlertPolicy.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServerSecurityAlertPolicy.java
@@ -20,34 +20,68 @@ public interface SqlServerSecurityAlertPolicy
extends HasId, HasInnerModel, HasName, HasResourceGroup, Indexable,
Refreshable, Updatable {
- /** @return name of the SQL Server to which this DNS alias belongs */
+ /**
+ * Gets the name of the SQL Server to which this DNS alias belongs.
+ *
+ * @return name of the SQL Server to which this DNS alias belongs
+ */
String sqlServerName();
- /** @return the parent SQL server ID */
+ /**
+ * Gets the parent SQL server ID.
+ *
+ * @return the parent SQL server ID
+ */
String parentId();
- /** @return the state of the policy, whether it is enabled or disabled */
+ /**
+ * Gets the state of the policy.
+ *
+ * @return the state of the policy, whether it is enabled or disabled
+ */
SecurityAlertPolicyState state();
- /** @return a list of alerts that are disabled */
+ /**
+ * Gets a list of alerts that are disabled.
+ *
+ * @return a list of alerts that are disabled
+ */
List disabledAlerts();
- /** @return a list of e-mail addresses to which the alert is sent */
+ /**
+ * Gets a list of e-mail addresses to which the alert is sent.
+ *
+ * @return a list of e-mail addresses to which the alert is sent
+ */
List emailAddresses();
- /** @return true if an alert will be sent to the account administrators */
+ /**
+ * Checks whether an alert will be sent to the account administrators.
+ *
+ * @return true if an alert will be sent to the account administrators
+ */
boolean emailAccountAdmins();
/**
+ * Gets the blob storage endpoint.
+ *
* @return the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net); this blob storage will hold all
* Threat Detection audit logs
*/
String storageEndpoint();
- /** @return the identifier key of the Threat Detection audit storage account */
+ /**
+ * Gets the identifier key of the Threat Detection audit storage account.
+ *
+ * @return the identifier key of the Threat Detection audit storage account
+ */
String storageAccountAccessKey();
- /** @return the number of days to keep in the Threat Detection audit logs */
+ /**
+ * Gets the number of days to keep in the Threat Detection audit logs.
+ *
+ * @return the number of days to keep in the Threat Detection audit logs
+ */
int retentionDays();
/**
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServers.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServers.java
index 3379fdd0a92ae..f0710d5091963 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServers.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlServers.java
@@ -28,37 +28,81 @@ public interface SqlServers extends SupportsCreating, SupportsDeletingById, SupportsDeletingByResourceGroup,
SupportsBatchCreation, SupportsBatchDeletion, HasManager {
- /** @return the SQL Server Firewall Rules API entry point */
+ /**
+ * Gets the API entry point of the SQL Server Firewall Rules.
+ *
+ * @return the SQL Server Firewall Rules API entry point
+ */
SqlFirewallRuleOperations firewallRules();
- /** @return the SQL Server VirtualNetwork Rules API entry point */
+ /**
+ * Gets the API entry point of the SQL Server VirtualNetwork Rules.
+ *
+ * @return the SQL Server VirtualNetwork Rules API entry point
+ */
SqlVirtualNetworkRuleOperations virtualNetworkRules();
- /** @return the SQL Server DNS aliases API entry point */
+ /**
+ * Gets the API entry point of the SQL Server DNS aliases.
+ *
+ * @return the SQL Server DNS aliases API entry point
+ */
SqlServerDnsAliasOperations dnsAliases();
- /** @return the SQL Failover Group API entry point */
+ /**
+ * Gets the API entry point of the SQL Failover Group.
+ *
+ * @return the SQL Failover Group API entry point
+ */
SqlFailoverGroupOperations failoverGroups();
- /** @return the SQL Server Key entry point */
+ /**
+ * Gets the entry point of the SQL Server Key.
+ *
+ * @return the SQL Server Key entry point
+ */
SqlServerKeyOperations serverKeys();
- /** @return the SQL Encryption Protector entry point */
+ /**
+ * Gets the entry point of the SQL Encryption Protector.
+ *
+ * @return the SQL Encryption Protector entry point
+ */
SqlEncryptionProtectorOperations encryptionProtectors();
- /** @return entry point to manage SQL Server Security Alert Policy */
+ /**
+ * Gets entry point to manage SQL Server Security Alert Policy.
+ *
+ * @return entry point to manage SQL Server Security Alert Policy
+ */
SqlServerSecurityAlertPolicyOperations serverSecurityAlertPolicies();
- /** @return the SQL Sync Group entry point */
+ /**
+ * Gets the entry point of the SQL Sync Group.
+ *
+ * @return the SQL Sync Group entry point
+ */
SqlSyncGroupOperations syncGroups();
- /** @return the SQL Sync Group entry point */
+ /**
+ * Gets the entry point of the SQL Sync Group.
+ *
+ * @return the SQL Sync Group entry point
+ */
SqlSyncMemberOperations syncMembers();
- /** @return the SQL Server Elastic Pools API entry point */
+ /**
+ * Gets the API entry point of the SQL Server Elastic Pools.
+ *
+ * @return the SQL Server Elastic Pools API entry point
+ */
SqlElasticPoolOperations elasticPools();
- /** @return the SQL Server Database API entry point */
+ /**
+ * Gets the API entry point of the SQL Server Database.
+ *
+ * @return the SQL Server Database API entry point
+ */
SqlDatabaseOperations databases();
/**
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSubscriptionUsageMetric.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSubscriptionUsageMetric.java
index df457f4e7f984..c41949fda456d 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSubscriptionUsageMetric.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSubscriptionUsageMetric.java
@@ -14,18 +14,38 @@
public interface SqlSubscriptionUsageMetric
extends Refreshable, HasId, HasName, HasInnerModel {
- /** @return a user-readable name of the metric */
+ /**
+ * Gets a user-readable name of the metric.
+ *
+ * @return a user-readable name of the metric
+ */
String displayName();
- /** @return the current value of the metric */
+ /**
+ * Gets the current value of the metric.
+ *
+ * @return the current value of the metric
+ */
double currentValue();
- /** @return the boundary value of the metric */
+ /**
+ * Gets the boundary value of the metric.
+ *
+ * @return the boundary value of the metric
+ */
double limit();
- /** @return the unit of the metric */
+ /**
+ * Gets the unit of the metric.
+ *
+ * @return the unit of the metric
+ */
String unit();
- /** @return the resource type */
+ /**
+ * Gets the resource type.
+ *
+ * @return the resource type
+ */
String type();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSyncFullSchemaProperty.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSyncFullSchemaProperty.java
index 626e253874f42..8c8c48469bf20 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSyncFullSchemaProperty.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSyncFullSchemaProperty.java
@@ -12,9 +12,17 @@
@Fluent
public interface SqlSyncFullSchemaProperty extends HasInnerModel {
- /** @return the list of tables in the database full schema. */
+ /**
+ * Gets the list of tables in the database full schema.
+ *
+ * @return the list of tables in the database full schema.
+ */
List tables();
- /** @return last update time of the database schema. */
+ /**
+ * Gets last update time of the database schema.
+ *
+ * @return last update time of the database schema.
+ */
OffsetDateTime lastUpdateTime();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSyncGroup.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSyncGroup.java
index d6d6c99ed3581..9fc90a97e91ba 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSyncGroup.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSyncGroup.java
@@ -19,34 +19,74 @@
@Fluent
public interface SqlSyncGroup extends ExternalChildResource, HasInnerModel,
HasResourceGroup, Refreshable, Updatable {
- /** @return name of the SQL Server to which this Sync Group belongs */
+ /**
+ * Gets name of the SQL Server to which this Sync Group belongs.
+ *
+ * @return name of the SQL Server to which this Sync Group belongs
+ */
String sqlServerName();
- /** @return name of the SQL Database to which this Sync Group belongs */
+ /**
+ * Gets name of the SQL Database to which this Sync Group belongs.
+ *
+ * @return name of the SQL Database to which this Sync Group belongs
+ */
String sqlDatabaseName();
- /** @return the parent SQL Database ID */
+ /**
+ * Gets the parent SQL Database ID.
+ *
+ * @return the parent SQL Database ID
+ */
String parentId();
- /** @return sync interval of the sync group */
+ /**
+ * Gets sync interval of the sync group.
+ *
+ * @return sync interval of the sync group
+ */
int interval();
- /** @return last sync time of the sync group */
+ /**
+ * Gets last sync time of the sync group.
+ *
+ * @return last sync time of the sync group
+ */
OffsetDateTime lastSyncTime();
- /** @return conflict resolution policy of the sync group */
+ /**
+ * Gets conflict resolution policy of the sync group.
+ *
+ * @return conflict resolution policy of the sync group
+ */
SyncConflictResolutionPolicy conflictResolutionPolicy();
- /** @return the ARM resource id of the sync database in the sync group */
+ /**
+ * Gets the ARM resource id of the sync database in the sync group.
+ *
+ * @return the ARM resource id of the sync database in the sync group
+ */
String syncDatabaseId();
- /** @return user name for the sync group hub database credential */
+ /**
+ * Gets user name for the sync group hub database credential.
+ *
+ * @return user name for the sync group hub database credential
+ */
String databaseUserName();
- /** @return sync state of the sync group */
+ /**
+ * Gets sync state of the sync group.
+ *
+ * @return sync state of the sync group
+ */
SyncGroupState syncState();
- /** @return sync schema of the sync group */
+ /**
+ * Gets sync schema of the sync group.
+ *
+ * @return sync schema of the sync group
+ */
SyncGroupSchema schema();
/** Deletes the Sync Group resource. */
@@ -124,7 +164,11 @@ public interface SqlSyncGroup extends ExternalChildResource cancelSynchronizationAsync();
- /** @return the SQL Sync Member entry point */
+ /**
+ * Gets the SQL Sync Member entry point.
+ *
+ * @return the SQL Sync Member entry point
+ */
SqlSyncMemberOperations.SqlSyncMemberActionsDefinition syncMembers();
/**************************************************************
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSyncGroupLogProperty.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSyncGroupLogProperty.java
index a6b357adfc4ed..4e1078814228a 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSyncGroupLogProperty.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSyncGroupLogProperty.java
@@ -11,21 +11,45 @@
@Fluent
public interface SqlSyncGroupLogProperty extends HasInnerModel {
- /** @return timestamp of the sync group log */
+ /**
+ * Gets timestamp of the sync group log.
+ *
+ * @return timestamp of the sync group log
+ */
OffsetDateTime timestamp();
- /** @return the type of the sync group log */
+ /**
+ * Gets the type of the sync group log.
+ *
+ * @return the type of the sync group log
+ */
SyncGroupLogType type();
- /** @return the source of the sync group log. */
+ /**
+ * Gets the source of the sync group log.
+ *
+ * @return the source of the sync group log.
+ */
String source();
- /** @return the details of the sync group log. */
+ /**
+ * Gets the details of the sync group log.
+ *
+ * @return the details of the sync group log.
+ */
String details();
- /** @return the tracing ID of the sync group log. */
+ /**
+ * Gets the tracing ID of the sync group log.
+ *
+ * @return the tracing ID of the sync group log.
+ */
String tracingId();
- /** @return operation status of the sync group log. */
+ /**
+ * Gets operation status of the sync group log.
+ *
+ * @return operation status of the sync group log.
+ */
String operationStatus();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSyncMember.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSyncMember.java
index db483020eddc3..b16676d166618 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSyncMember.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlSyncMember.java
@@ -18,40 +18,88 @@
@Fluent
public interface SqlSyncMember extends ExternalChildResource,
HasInnerModel, HasResourceGroup, Refreshable, Updatable {
- /** @return name of the SQL Server to which this Sync Member belongs */
+ /**
+ * Gets name of the SQL Server to which this Sync Member belongs.
+ *
+ * @return name of the SQL Server to which this Sync Member belongs
+ */
String sqlServerName();
- /** @return name of the SQL Database to which this Sync Member belongs */
+ /**
+ * Gets name of the SQL Database to which this Sync Member belongs.
+ *
+ * @return name of the SQL Database to which this Sync Member belongs
+ */
String sqlDatabaseName();
- /** @return name of the SQL Sync Group to which this Sync Member belongs */
+ /**
+ * Gets name of the SQL Sync Group to which this Sync Member belongs.
+ *
+ * @return name of the SQL Sync Group to which this Sync Member belongs
+ */
String sqlSyncGroupName();
- /** @return the parent SQL Sync Group ID */
+ /**
+ * Gets the parent SQL Sync Group ID.
+ *
+ * @return the parent SQL Sync Group ID
+ */
String parentId();
- /** @return the Database type of the sync member */
+ /**
+ * Gets the Database type of the sync member.
+ *
+ * @return the Database type of the sync member
+ */
SyncMemberDbType databaseType();
- /** @return the ARM resource id of the sync agent in the sync member */
+ /**
+ * Gets the ARM resource ID of the sync agent in the sync member.
+ *
+ * @return the ARM resource ID of the sync agent in the sync member
+ */
String syncAgentId();
- /** @return the SQL Database id of the sync member */
+ /**
+ * Gets the SQL Database ID of the sync member.
+ *
+ * @return the SQL Database ID of the sync member
+ */
String sqlServerDatabaseId();
- /** @return the SQL Server name of the member database in the sync member */
+ /**
+ * Gets the SQL Server name of the member database in the sync member.
+ *
+ * @return the SQL Server name of the member database in the sync member
+ */
String memberServerName();
- /** @return Database name of the member database in the sync member */
+ /**
+ * Gets Database name of the member database in the sync member.
+ *
+ * @return Database name of the member database in the sync member
+ */
String memberDatabaseName();
- /** @return the user name of the member database in the sync member */
+ /**
+ * Gets the user name of the member database in the sync member.
+ *
+ * @return the user name of the member database in the sync member
+ */
String username();
- /** @return the sync direction of the sync member */
+ /**
+ * Gets the sync direction of the sync member.
+ *
+ * @return the sync direction of the sync member
+ */
SyncDirection syncDirection();
- /** @return the sync state of the sync member */
+ /**
+ * Gets the sync state of the sync member.
+ *
+ * @return the sync state of the sync member
+ */
SyncMemberState syncState();
/** Deletes the Sync Member resource. */
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlVirtualNetworkRule.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlVirtualNetworkRule.java
index 18acf0004d33e..b063e638c41c6 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlVirtualNetworkRule.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/SqlVirtualNetworkRule.java
@@ -19,19 +19,33 @@ public interface SqlVirtualNetworkRule
extends ExternalChildResource, HasInnerModel,
HasResourceGroup, Refreshable, Updatable {
- /** @return name of the SQL Server to which this Virtual Network Rule belongs */
+ /**
+ * Gets name of the SQL Server to which this Virtual Network Rule belongs.
+ *
+ * @return name of the SQL Server to which this Virtual Network Rule belongs
+ */
String sqlServerName();
- /** @return the subnet ID of the Azure SQL Server Virtual Network Rule. */
+ /**
+ * Gets the subnet ID of the Azure SQL Server Virtual Network Rule.
+ *
+ * @return the subnet ID of the Azure SQL Server Virtual Network Rule.
+ */
String subnetId();
/**
+ * Gets the Azure SQL Server Virtual Network Rule state.
+ *
* @return the Azure SQL Server Virtual Network Rule state; possible values include: 'Initializing', 'InProgress',
* 'Ready', 'Deleting', 'Unknown'
*/
String state();
- /** @return the parent SQL server ID */
+ /**
+ * Gets the parent SQL server ID.
+ *
+ * @return the parent SQL server ID
+ */
String parentId();
/** Deletes the virtual network rule. */
@@ -69,7 +83,11 @@ interface DefinitionStages {
interface Blank extends SqlVirtualNetworkRule.DefinitionStages.WithSubnet {
}
- /** The SQL Virtual Network Rule definition to set the virtual network ID and the subnet name. */
+ /**
+ * The SQL Virtual Network Rule definition to set the virtual network ID and the subnet name.
+ *
+ * @param the stage of the parent definition to return to after attaching this definition
+ */
interface WithSubnet {
/**
* Sets the virtual network ID and the subnet name for the SQL server Virtual Network Rule.
@@ -85,6 +103,8 @@ SqlVirtualNetworkRule.DefinitionStages.WithServiceEndpoint withSubnet(S
/**
* The SQL Virtual Network Rule definition to set ignore flag for the missing subnet's SQL service endpoint
* entry.
+ *
+ * @param the stage of the parent definition to return to after attaching this definition
*/
interface WithServiceEndpoint extends SqlVirtualNetworkRule.DefinitionStages.WithAttach {
/**
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/TransparentDataEncryption.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/TransparentDataEncryption.java
index 161da2be2f2c8..a93b7806d3dee 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/TransparentDataEncryption.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/TransparentDataEncryption.java
@@ -16,13 +16,25 @@
@Fluent
public interface TransparentDataEncryption extends Refreshable,
HasInnerModel, HasResourceGroup, HasName, HasId {
- /** @return name of the SQL Server to which this replication belongs */
+ /**
+ * Gets the name of the SQL Server to which this replication belongs.
+ *
+ * @return name of the SQL Server to which this replication belongs
+ */
String sqlServerName();
- /** @return name of the SQL Database to which this replication belongs */
+ /**
+ * Gets the name of the SQL Database to which this replication belongs.
+ *
+ * @return name of the SQL Database to which this replication belongs
+ */
String databaseName();
- /** @return the status of the Azure SQL Database Transparent Data Encryption */
+ /**
+ * Gets the status of the Azure SQL Database Transparent Data Encryption.
+ *
+ * @return the status of the Azure SQL Database Transparent Data Encryption
+ */
TransparentDataEncryptionState status();
/**
diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/UnitType.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/UnitType.java
index 58dc642f6aeaa..6e39494c3ceed 100644
--- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/UnitType.java
+++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/models/UnitType.java
@@ -26,6 +26,15 @@ public final class UnitType extends ExpandableStringEnum {
/** Static value bytesPerSecond for UnitType. */
public static final UnitType BYTES_PER_SECOND = fromString("bytesPerSecond");
+ /**
+ * Creates a new instance of UnitType value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public UnitType() {
+ }
+
/**
* Creates or finds a UnitType from its string representation.
*