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

SqlFirewallRuleOperations.DefinitionStages.WithSqlServer Interface

public static interface SqlFirewallRuleOperations.DefinitionStages.WithSqlServer

The first stage of the SQL Server Firewall rule definition.

Method Summary

Modifier and Type Method and Description
abstract WithIpAddressRange withExistingSqlServer(SqlServer sqlServer)

Sets the parent SQL server for the new Firewall rule.

abstract WithIpAddressRange withExistingSqlServer(String resourceGroupName, String sqlServerName)

Sets the parent SQL server name and resource group it belongs to.

abstract WithIpAddressRange withExistingSqlServerId(String sqlServerId)

Sets the parent SQL server for the new Firewall rule.

Method Details

withExistingSqlServer

public abstract 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.

withExistingSqlServer

public abstract 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 server
sqlServerName - the parent SQL server name

Returns:

The next stage of the definition.

withExistingSqlServerId

public abstract 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.

Applies to