Interface SqlFirewallRuleOperations.DefinitionStages.WithSqlServer
- All Known Subinterfaces:
SqlFirewallRuleOperations.SqlFirewallRuleOperationsDefinition
- Enclosing interface:
- SqlFirewallRuleOperations.DefinitionStages
public static interface SqlFirewallRuleOperations.DefinitionStages.WithSqlServer
The first stage of the SQL Server Firewall rule definition.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingSqlServer
(SqlServer sqlServer) Sets the parent SQL server for the new Firewall 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 Firewall rule.
-
Method Details
-
withExistingSqlServer
SqlFirewallRuleOperations.DefinitionStages.WithIPAddressRange 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
SqlFirewallRuleOperations.DefinitionStages.WithIPAddressRange withExistingSqlServerId(String sqlServerId) Sets the parent SQL server for the new Firewall rule.- Parameters:
sqlServerId
- the parent SQL server ID- Returns:
- The next stage of the definition.
-
withExistingSqlServer
SqlFirewallRuleOperations.DefinitionStages.WithIPAddressRange withExistingSqlServer(SqlServer sqlServer) Sets the parent SQL server for the new Firewall rule.- Parameters:
sqlServer
- the parent SQL server- Returns:
- The next stage of the definition.
-