SqlFailoverGroupOperations.DefinitionStages.WithSqlServer Interface

public interface WithSqlServer

The first stage of the SQL Failover Group definition.

Method Summary

Modifier and Type Method and Description
SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicy withExistingSqlServer(SqlServer sqlServer)

Sets the parent SQL server for the new Failover Group.

SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicy withExistingSqlServer(String resourceGroupName, String sqlServerName, String location)

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

Method Details

withExistingSqlServer

public SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicy withExistingSqlServer(SqlServer sqlServer)

Sets the parent SQL server for the new Failover Group.

Parameters:

sqlServer - the parent SQL server

Returns:

the next stage of the definition

withExistingSqlServer

public SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicy withExistingSqlServer(String resourceGroupName, String sqlServerName, String location)

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
location - the parent SQL server location

Returns:

the next stage of the definition

Applies to