SqlVirtualNetworkRuleOperations.DefinitionStages.WithSqlServer Interface

public static interface SqlVirtualNetworkRuleOperations.DefinitionStages.WithSqlServer

The first stage of the SQL Server Virtual Network Rule definition.

Method Summary

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

Sets the parent SQL server for the new Virtual Network Rule.

abstract WithSubnet withExistingSqlServer(String resourceGroupName, String sqlServerName)

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

abstract WithSubnet withExistingSqlServerId(String sqlServerId)

Sets the parent SQL server for the new Virtual Network Rule.

Method Details

withExistingSqlServer

public abstract SqlVirtualNetworkRuleOperations.DefinitionStages.WithSubnet withExistingSqlServer(SqlServer sqlServer)

Sets the parent SQL server for the new Virtual Network Rule.

Parameters:

sqlServer - the parent SQL server

Returns:

The next stage of the definition.

withExistingSqlServer

public abstract SqlVirtualNetworkRuleOperations.DefinitionStages.WithSubnet 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 SqlVirtualNetworkRuleOperations.DefinitionStages.WithSubnet withExistingSqlServerId(String sqlServerId)

Sets the parent SQL server for the new Virtual Network Rule.

Parameters:

sqlServerId - the parent SQL server ID

Returns:

The next stage of the definition.

Applies to