SqlServer.ElasticPools Interface

public interface ElasticPools

Entry point to elastic pools from the SQL Server.

Method Summary

Modifier and Type Method and Description
SqlElasticPool.DefinitionStages.Blank define(String elasticPoolName)

Creates a new elastic pool in SQL Server.

void delete(String elasticPoolName)

Delete specified elastic pool in the server.

Completable deleteAsync(String elasticPoolName)

Delete specified elastic pool in the server.

SqlElasticPool get(String elasticPoolName)

Gets a particular elastic pool.

List<SqlElasticPool> list()

Returns all the elastic pools for the server.

Method Details

define

public SqlElasticPool.DefinitionStages.Blank define(String elasticPoolName)

Creates a new elastic pool in SQL Server.

Parameters:

elasticPoolName - name of the elastic pool to be created

Returns:

Returns a stage to specify arguments of the elastic pool

delete

public void delete(String elasticPoolName)

Delete specified elastic pool in the server.

Parameters:

elasticPoolName - name of the elastic pool to delete

deleteAsync

public Completable deleteAsync(String elasticPoolName)

Delete specified elastic pool in the server.

Parameters:

elasticPoolName - name of the elastic pool to delete

Returns:

observable for the delete operation

get

public SqlElasticPool get(String elasticPoolName)

Gets a particular elastic pool.

Parameters:

elasticPoolName - name of the elastic pool to get

Returns:

Returns the elastic pool with in the SQL Server

list

public List list()

Returns all the elastic pools for the server.

Returns:

list of elastic pools for the server.

Applies to