SqlSyncGroupOperations.DefinitionStages.WithSqlServer Interface

public interface WithSqlServer

The first stage of the SQL Sync Group definition.

Method Summary

Modifier and Type Method and Description
SqlSyncGroupOperations.DefinitionStages.WithSyncDatabaseId withExistingSqlDatabase(SqlDatabase sqlDatabase)

Sets the parent SQL server for the new Sync Group.

SqlSyncGroupOperations.DefinitionStages.WithSyncGroupDatabase withExistingSqlServer(String resourceGroupName, String sqlServerName)

Sets the parent SQL server name and resource group it belongs to.

Method Details

withExistingSqlDatabase

public 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.

withExistingSqlServer

public 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 server
sqlServerName - the parent SQL server name

Returns:

The next stage of the definition.

Applies to