你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SqlFirewallRuleOperations.DefinitionStages.WithIpAddressRange Interface

public static interface SqlFirewallRuleOperations.DefinitionStages.WithIpAddressRange

The SQL Firewall Rule definition to set the Ip address range for the parent SQL Server.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withIpAddress(String ipAddress)

Sets the ending Ip address of SQL server's firewall rule.

abstract WithCreate withIpAddressRange(String startIpAddress, String endIpAddress)

Sets the starting Ip address of SQL server's firewall rule.

Method Details

withIpAddress

public abstract SqlFirewallRuleOperations.DefinitionStages.WithCreate withIpAddress(String ipAddress)

Sets the ending Ip address of SQL server's firewall rule.

Parameters:

ipAddress - Ip address in Ipv4 format.

Returns:

The next stage of the definition.

withIpAddressRange

public abstract SqlFirewallRuleOperations.DefinitionStages.WithCreate withIpAddressRange(String startIpAddress, String endIpAddress)

Sets the starting Ip address of SQL server's firewall rule.

Parameters:

startIpAddress - starting Ip address in Ipv4 format.
endIpAddress - starting Ip address in Ipv4 format.

Returns:

The next stage of the definition.

Applies to