Partilhar via


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