次の方法で共有


SqlElasticPool Interface

Implements

public interface SqlElasticPool
extends ExternalChildResource<SqlElasticPool,SqlServer>, HasInnerModel<ElasticPoolInner>, HasResourceGroup, Refreshable<SqlElasticPool>, Updatable<Update>

An immutable client-side representation of an Azure SQL Elastic Pool.

Method Summary

Modifier and Type Method and Description
abstract SqlDatabase addExistingDatabase(SqlDatabase database)

Adds an existing SQL Database to the Elastic Pool.

abstract SqlDatabase addExistingDatabase(String databaseName)

Adds an existing SQL Database to the Elastic Pool.

abstract SqlDatabase addNewDatabase(String databaseName)

Adds a new SQL Database to the Elastic Pool.

abstract OffsetDateTime creationDate()

Gets the creation date of the Azure SQL Elastic Pool.

abstract Double databaseDtuMax()

Gets the maximum DTU any one SQL Azure database can consume.

abstract Double databaseDtuMin()

Gets the minimum DTU all SQL Azure Databases are guaranteed.

abstract void delete()

Deletes this SQL Elastic Pool from the parent SQL server.

abstract Mono<Void> deleteAsync()

Deletes this SQL Elastic Pool asynchronously from the parent SQL server.

abstract int dtu()

Gets the total shared DTU for the SQL Azure Database Elastic Pool.

abstract ElasticPoolEdition edition()

Gets the edition of Azure SQL Elastic Pool.

abstract SqlDatabase getDatabase(String databaseName)

Gets the specific database in the elastic pool.

abstract List<ElasticPoolActivity> listActivities()

Gets the information about elastic pool activities.

abstract PagedFlux<ElasticPoolActivity> listActivitiesAsync()

Gets a representation of the deferred computation of the information about elastic pool activities.

abstract List<SqlDatabase> listDatabases()

Lists the SQL databases in this SQL Elastic Pool.

abstract PagedFlux<SqlDatabase> listDatabasesAsync()

Asynchronously lists the SQL databases in this SQL Elastic Pool.

abstract String parentId()

Gets the parent SQL server ID.

abstract Region region()

Gets the region the resource is in.

abstract String regionName()

Gets the name of the region the resource is in.

abstract SqlDatabase removeDatabase(String databaseName)

Removes an existing SQL Database from the Elastic Pool.

abstract String sqlServerName()

Gets name of the SQL Server to which this elastic pool belongs.

abstract ElasticPoolState state()

Gets the state of the Azure SQL Elastic Pool.

abstract Long storageCapacity()

Gets the storage capacity limit for the SQL Azure Database Elastic Pool in Bytes.

Method Details

addExistingDatabase

public abstract SqlDatabase addExistingDatabase(SqlDatabase database)

Adds an existing SQL Database to the Elastic Pool.

Parameters:

database - the database to be added

Returns:

the database

addExistingDatabase

public abstract SqlDatabase addExistingDatabase(String databaseName)

Adds an existing SQL Database to the Elastic Pool.

Parameters:

databaseName - name of the database

Returns:

the database

addNewDatabase

public abstract SqlDatabase addNewDatabase(String databaseName)

Adds a new SQL Database to the Elastic Pool.

Parameters:

databaseName - name of the database

Returns:

the database

creationDate

public abstract OffsetDateTime creationDate()

Gets the creation date of the Azure SQL Elastic Pool.

Returns:

the creation date of the Azure SQL Elastic Pool

databaseDtuMax

public abstract Double databaseDtuMax()

Gets the maximum DTU any one SQL Azure database can consume.

Returns:

the maximum DTU any one SQL Azure database can consume.

databaseDtuMin

public abstract Double databaseDtuMin()

Gets the minimum DTU all SQL Azure Databases are guaranteed.

Returns:

the minimum DTU all SQL Azure Databases are guaranteed

delete

public abstract void delete()

Deletes this SQL Elastic Pool from the parent SQL server.

deleteAsync

public abstract Mono deleteAsync()

Deletes this SQL Elastic Pool asynchronously from the parent SQL server.

Returns:

a representation of the deferred computation of this call

dtu

public abstract int dtu()

Gets the total shared DTU for the SQL Azure Database Elastic Pool.

Returns:

The total shared DTU for the SQL Azure Database Elastic Pool

edition

public abstract ElasticPoolEdition edition()

Gets the edition of Azure SQL Elastic Pool.

Returns:

the edition of Azure SQL Elastic Pool

getDatabase

public abstract SqlDatabase getDatabase(String databaseName)

Gets the specific database in the elastic pool.

Parameters:

databaseName - name of the database to look into

Returns:

the information about specific database in elastic pool

listActivities

public abstract List listActivities()

Gets the information about elastic pool activities.

Returns:

the information about elastic pool activities

listActivitiesAsync

public abstract PagedFlux listActivitiesAsync()

Gets a representation of the deferred computation of the information about elastic pool activities.

Returns:

a representation of the deferred computation of the information about elastic pool activities

listDatabases

public abstract List listDatabases()

Lists the SQL databases in this SQL Elastic Pool.

Returns:

the information about databases in elastic pool

listDatabasesAsync

public abstract PagedFlux listDatabasesAsync()

Asynchronously lists the SQL databases in this SQL Elastic Pool.

Returns:

a representation of the deferred computation of this call

parentId

public abstract String parentId()

Gets the parent SQL server ID.

Returns:

the parent SQL server ID

region

public abstract Region region()

Gets the region the resource is in.

Returns:

the region the resource is in

regionName

public abstract String regionName()

Gets the name of the region the resource is in.

Returns:

the name of the region the resource is in

removeDatabase

public abstract SqlDatabase removeDatabase(String databaseName)

Removes an existing SQL Database from the Elastic Pool.

Parameters:

databaseName - name of the database

Returns:

the database

sqlServerName

public abstract String sqlServerName()

Gets name of the SQL Server to which this elastic pool belongs.

Returns:

name of the SQL Server to which this elastic pool belongs

state

public abstract ElasticPoolState state()

Gets the state of the Azure SQL Elastic Pool.

Returns:

the state of the Azure SQL Elastic Pool

storageCapacity

public abstract Long storageCapacity()

Gets the storage capacity limit for the SQL Azure Database Elastic Pool in Bytes.

Returns:

the storage capacity limit for the SQL Azure Database Elastic Pool in Bytes

Applies to