SqlFirewallRules Interface

public interface SqlFirewallRules extends SupportsDeletingById,SupportsGettingById,SupportsBatchCreation,SupportsDeletingByParent,HasManager,HasInner

Entry point to SQL FirewallRule management API.

Method Summary

Modifier and Type Method and Description
SqlFirewallRule getBySqlServer(SqlServer sqlServer, String name)

Gets the SQLDatabase based on the SQLServer instance and FirewallRule name.

SqlFirewallRule getBySqlServer(String resourceGroup, String sqlServerName, String name)

Gets the SQLDatabase based on the resource group name, SQLServer name and FirewallRule name.

List<SqlFirewallRule> listBySqlServer(SqlServer sqlServer)

Gets the SQLDatabase based on the SQLServer.

List<SqlFirewallRule> listBySqlServer(String resourceGroupName, String sqlServerName)

Lists resources of the specified type in the specified resource group and SQLServer.

Inherited Members

Method Details

getBySqlServer

public SqlFirewallRule getBySqlServer(SqlServer sqlServer, String name)

Gets the SQLDatabase based on the SQLServer instance and FirewallRule name.

Parameters:

sqlServer - the instance of SQLServer.
name - the name of SQLDatabase

Returns:

an immutable representation of the SQLDatabase

getBySqlServer

public SqlFirewallRule getBySqlServer(String resourceGroup, String sqlServerName, String name)

Gets the SQLDatabase based on the resource group name, SQLServer name and FirewallRule name.

Parameters:

resourceGroup - the name of resource group.
sqlServerName - the name of SQLServer.
name - the name of SQLDatabase.

Returns:

an immutable representation of the SQLDatabase

listBySqlServer

public List listBySqlServer(SqlServer sqlServer)

Gets the SQLDatabase based on the SQLServer.

Parameters:

sqlServer - the instance of SQLServer

Returns:

the list of SQLDatabases in a SQLServer

listBySqlServer

public List listBySqlServer(String resourceGroupName, String sqlServerName)

Lists resources of the specified type in the specified resource group and SQLServer.

Parameters:

resourceGroupName - the name of the resource group to list the resources from
sqlServerName - the name of SQLServer

Returns:

the list of SQLDatabases in a SQLServer

Applies to