Interface SqlVirtualNetworkRuleOperations.DefinitionStages.WithSqlServer
- All Known Subinterfaces:
SqlVirtualNetworkRuleOperations.SqlVirtualNetworkRuleOperationsDefinition
- Enclosing interface:
- SqlVirtualNetworkRuleOperations.DefinitionStages
public static interface SqlVirtualNetworkRuleOperations.DefinitionStages.WithSqlServer
The first stage of the SQL Server Virtual Network Rule definition.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingSqlServer(SqlServer sqlServer) Sets the parent SQL server for the new Virtual Network Rule.withExistingSqlServer(String resourceGroupName, String sqlServerName) Sets the parent SQL server name and resource group it belongs to.withExistingSqlServerId(String sqlServerId) Sets the parent SQL server for the new Virtual Network Rule.
-
Method Details
-
withExistingSqlServer
SqlVirtualNetworkRuleOperations.DefinitionStages.WithSubnet 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.
-
withExistingSqlServerId
SqlVirtualNetworkRuleOperations.DefinitionStages.WithSubnet withExistingSqlServerId(String sqlServerId) Sets the parent SQL server for the new Virtual Network Rule.- Parameters:
sqlServerId- the parent SQL server ID- Returns:
- The next stage of the definition.
-
withExistingSqlServer
SqlVirtualNetworkRuleOperations.DefinitionStages.WithSubnet withExistingSqlServer(SqlServer sqlServer) Sets the parent SQL server for the new Virtual Network Rule.- Parameters:
sqlServer- the parent SQL server- Returns:
- The next stage of the definition.
-