Interface SqlSyncGroupOperations.DefinitionStages.WithSqlServer
- All Known Subinterfaces:
SqlSyncGroupOperations.SqlSyncGroupOperationsDefinition
- Enclosing interface:
- SqlSyncGroupOperations.DefinitionStages
@Beta(V1_9_0)
public static interface SqlSyncGroupOperations.DefinitionStages.WithSqlServer
The first stage of the SQL Sync Group definition.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingSqlDatabase(SqlDatabase sqlDatabase) Sets the parent SQL server for the new Sync Group.withExistingSqlServer(String resourceGroupName, String sqlServerName) Sets the parent SQL server name and resource group it belongs to.
-
Method Details
-
withExistingSqlServer
SqlSyncGroupOperations.DefinitionStages.WithSyncGroupDatabase withExistingSqlServer(String resourceGroupName, String sqlServerName) Sets the parent SQL server name and resource group it belongs to.- Parameters:
resourceGroupName- the name of the resource group the parent SQL serversqlServerName- the parent SQL server name- Returns:
- The next stage of the definition.
-
withExistingSqlDatabase
SqlSyncGroupOperations.DefinitionStages.WithSyncDatabaseId withExistingSqlDatabase(SqlDatabase sqlDatabase) Sets the parent SQL server for the new Sync Group.- Parameters:
sqlDatabase- the parent SQL database- Returns:
- The next stage of the definition.
-