SqlFirewallRuleOperations.DefinitionStages.WithSqlServer Interface
public interface WithSqlServer
The first stage of the SQL Server Firewall rule definition.
Method Summary
Modifier and Type | Method and Description |
---|---|
Sql |
withExistingSqlServer(SqlServer sqlServer)
Sets the parent SQL server for the new Firewall rule. |
Sql |
withExistingSqlServer(String resourceGroupName, String sqlServerName)
Sets the parent SQL server name and resource group it belongs to. |
Sql |
withExistingSqlServerId(String sqlServerId)
Sets the parent SQL server for the new Firewall rule. |
Method Details
withExistingSqlServer
public WithIPAddressRange withExistingSqlServer(SqlServer sqlServer)
Sets the parent SQL server for the new Firewall rule.
Parameters:
Returns:
withExistingSqlServer
public WithIPAddressRange withExistingSqlServer(String resourceGroupName, String sqlServerName)
Sets the parent SQL server name and resource group it belongs to.
Parameters:
Returns:
withExistingSqlServerId
public WithIPAddressRange withExistingSqlServerId(String sqlServerId)
Sets the parent SQL server for the new Firewall rule.
Parameters:
Returns:
Applies to
Azure SDK for Java