Interface SqlDatabaseOperations.DefinitionStages.WithSqlServer
- All Known Subinterfaces:
SqlDatabaseOperations.SqlDatabaseOperationsDefinition
- Enclosing interface:
- SqlDatabaseOperations.DefinitionStages
public static interface SqlDatabaseOperations.DefinitionStages.WithSqlServer
The stage of the SQL Database rule definition allowing to specify the parent resource group, SQL server and location.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingSqlServer
(SqlServer sqlServer) Sets the parent SQL server for the new SQL Database.withExistingSqlServer
(String resourceGroupName, String sqlServerName, String location) Sets the parent SQL server name and resource group it belongs to.
-
Method Details
-
withExistingSqlServer
@Beta(V1_7_0) SqlDatabaseOperations.DefinitionStages.WithAllDifferentOptions 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
@Beta(V1_7_0) SqlDatabaseOperations.DefinitionStages.WithAllDifferentOptions withExistingSqlServer(SqlServer sqlServer) Sets the parent SQL server for the new SQL Database.- Parameters:
sqlServer
- the parent SQL server- Returns:
- The next stage of the definition.
-