Interface SqlFailoverGroupOperations.DefinitionStages.WithSqlServer
- All Known Subinterfaces:
SqlFailoverGroupOperations.SqlFailoverGroupOperationsDefinition
- Enclosing interface:
- SqlFailoverGroupOperations.DefinitionStages
@Beta(V1_8_0)
public static interface SqlFailoverGroupOperations.DefinitionStages.WithSqlServer
The first stage of the SQL Failover Group definition.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingSqlServer(SqlServer sqlServer) Sets the parent SQL server for the new Failover Group.withExistingSqlServer(String resourceGroupName, String sqlServerName, String location) Sets the parent SQL server name and resource group it belongs to.
-
Method Details
-
withExistingSqlServer
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 serversqlServerName- the parent SQL server namelocation- the parent SQL server location- Returns:
- the next stage of the definition
-
withExistingSqlServer
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
-