ElasticPoolsClient Interface

public interface ElasticPoolsClient

An instance of this class provides access to all the operations defined in ElasticPoolsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ElasticPoolInner>,ElasticPoolInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolInner parameters)

Creates or updates an elastic pool.

abstract SyncPoller<PollResult<ElasticPoolInner>,ElasticPoolInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolInner parameters, Context context)

Creates or updates an elastic pool.

abstract PollerFlux<PollResult<ElasticPoolInner>,ElasticPoolInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolInner parameters)

Creates or updates an elastic pool.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String elasticPoolName)

Deletes an elastic pool.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String elasticPoolName, Context context)

Deletes an elastic pool.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String serverName, String elasticPoolName)

Deletes an elastic pool.

abstract SyncPoller<PollResult<Void>,Void> beginFailover(String resourceGroupName, String serverName, String elasticPoolName)

Failovers an elastic pool.

abstract SyncPoller<PollResult<Void>,Void> beginFailover(String resourceGroupName, String serverName, String elasticPoolName, Context context)

Failovers an elastic pool.

abstract PollerFlux<PollResult<Void>,Void> beginFailoverAsync(String resourceGroupName, String serverName, String elasticPoolName)

Failovers an elastic pool.

abstract SyncPoller<PollResult<ElasticPoolInner>,ElasticPoolInner> beginUpdate(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolUpdate parameters)

Updates an elastic pool.

abstract SyncPoller<PollResult<ElasticPoolInner>,ElasticPoolInner> beginUpdate(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolUpdate parameters, Context context)

Updates an elastic pool.

abstract PollerFlux<PollResult<ElasticPoolInner>,ElasticPoolInner> beginUpdateAsync(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolUpdate parameters)

Updates an elastic pool.

abstract ElasticPoolInner createOrUpdate(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolInner parameters)

Creates or updates an elastic pool.

abstract ElasticPoolInner createOrUpdate(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolInner parameters, Context context)

Creates or updates an elastic pool.

abstract Mono<ElasticPoolInner> createOrUpdateAsync(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolInner parameters)

Creates or updates an elastic pool.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolInner parameters)

Creates or updates an elastic pool.

abstract void delete(String resourceGroupName, String serverName, String elasticPoolName)

Deletes an elastic pool.

abstract void delete(String resourceGroupName, String serverName, String elasticPoolName, Context context)

Deletes an elastic pool.

abstract Mono<Void> deleteAsync(String resourceGroupName, String serverName, String elasticPoolName)

Deletes an elastic pool.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String elasticPoolName)

Deletes an elastic pool.

abstract void failover(String resourceGroupName, String serverName, String elasticPoolName)

Failovers an elastic pool.

abstract void failover(String resourceGroupName, String serverName, String elasticPoolName, Context context)

Failovers an elastic pool.

abstract Mono<Void> failoverAsync(String resourceGroupName, String serverName, String elasticPoolName)

Failovers an elastic pool.

abstract Mono<Response<Flux<ByteBuffer>>> failoverWithResponseAsync(String resourceGroupName, String serverName, String elasticPoolName)

Failovers an elastic pool.

abstract ElasticPoolInner get(String resourceGroupName, String serverName, String elasticPoolName)

Gets an elastic pool.

abstract Mono<ElasticPoolInner> getAsync(String resourceGroupName, String serverName, String elasticPoolName)

Gets an elastic pool.

abstract Response<ElasticPoolInner> getWithResponse(String resourceGroupName, String serverName, String elasticPoolName, Context context)

Gets an elastic pool.

abstract Mono<Response<ElasticPoolInner>> getWithResponseAsync(String resourceGroupName, String serverName, String elasticPoolName)

Gets an elastic pool.

abstract PagedIterable<ElasticPoolInner> listByServer(String resourceGroupName, String serverName)

Gets all elastic pools in a server.

abstract PagedIterable<ElasticPoolInner> listByServer(String resourceGroupName, String serverName, Long skip, Context context)

Gets all elastic pools in a server.

abstract PagedFlux<ElasticPoolInner> listByServerAsync(String resourceGroupName, String serverName)

Gets all elastic pools in a server.

abstract PagedFlux<ElasticPoolInner> listByServerAsync(String resourceGroupName, String serverName, Long skip)

Gets all elastic pools in a server.

abstract ElasticPoolInner update(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolUpdate parameters)

Updates an elastic pool.

abstract ElasticPoolInner update(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolUpdate parameters, Context context)

Updates an elastic pool.

abstract Mono<ElasticPoolInner> updateAsync(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolUpdate parameters)

Updates an elastic pool.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolUpdate parameters)

Updates an elastic pool.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,ElasticPoolInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolInner parameters)

Creates or updates an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.
parameters - The elastic pool parameters.

Returns:

the SyncPoller<T,U> for polling of an elastic pool.

beginCreateOrUpdate

public abstract SyncPoller,ElasticPoolInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolInner parameters, Context context)

Creates or updates an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.
parameters - The elastic pool parameters.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an elastic pool.

beginCreateOrUpdateAsync

public abstract PollerFlux,ElasticPoolInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolInner parameters)

Creates or updates an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.
parameters - The elastic pool parameters.

Returns:

the PollerFlux<T,U> for polling of an elastic pool.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String serverName, String elasticPoolName)

Deletes an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String serverName, String elasticPoolName, Context context)

Deletes an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String serverName, String elasticPoolName)

Deletes an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginFailover

public abstract SyncPoller,Void> beginFailover(String resourceGroupName, String serverName, String elasticPoolName)

Failovers an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool to failover.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginFailover

public abstract SyncPoller,Void> beginFailover(String resourceGroupName, String serverName, String elasticPoolName, Context context)

Failovers an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool to failover.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginFailoverAsync

public abstract PollerFlux,Void> beginFailoverAsync(String resourceGroupName, String serverName, String elasticPoolName)

Failovers an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool to failover.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller,ElasticPoolInner> beginUpdate(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolUpdate parameters)

Updates an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.
parameters - The elastic pool update parameters.

Returns:

the SyncPoller<T,U> for polling of an elastic pool.

beginUpdate

public abstract SyncPoller,ElasticPoolInner> beginUpdate(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolUpdate parameters, Context context)

Updates an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.
parameters - The elastic pool update parameters.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an elastic pool.

beginUpdateAsync

public abstract PollerFlux,ElasticPoolInner> beginUpdateAsync(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolUpdate parameters)

Updates an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.
parameters - The elastic pool update parameters.

Returns:

the PollerFlux<T,U> for polling of an elastic pool.

createOrUpdate

public abstract ElasticPoolInner createOrUpdate(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolInner parameters)

Creates or updates an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.
parameters - The elastic pool parameters.

Returns:

an elastic pool.

createOrUpdate

public abstract ElasticPoolInner createOrUpdate(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolInner parameters, Context context)

Creates or updates an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.
parameters - The elastic pool parameters.
context - The context to associate with this operation.

Returns:

an elastic pool.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolInner parameters)

Creates or updates an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.
parameters - The elastic pool parameters.

Returns:

an elastic pool on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolInner parameters)

Creates or updates an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.
parameters - The elastic pool parameters.

Returns:

an elastic pool along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String serverName, String elasticPoolName)

Deletes an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.

delete

public abstract void delete(String resourceGroupName, String serverName, String elasticPoolName, Context context)

Deletes an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String serverName, String elasticPoolName)

Deletes an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String serverName, String elasticPoolName)

Deletes an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.

Returns:

the Response<T> on successful completion of Mono.

failover

public abstract void failover(String resourceGroupName, String serverName, String elasticPoolName)

Failovers an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool to failover.

failover

public abstract void failover(String resourceGroupName, String serverName, String elasticPoolName, Context context)

Failovers an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool to failover.
context - The context to associate with this operation.

failoverAsync

public abstract Mono failoverAsync(String resourceGroupName, String serverName, String elasticPoolName)

Failovers an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool to failover.

Returns:

A Mono that completes when a successful response is received.

failoverWithResponseAsync

public abstract Mono>> failoverWithResponseAsync(String resourceGroupName, String serverName, String elasticPoolName)

Failovers an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool to failover.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract ElasticPoolInner get(String resourceGroupName, String serverName, String elasticPoolName)

Gets an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.

Returns:

an elastic pool.

getAsync

public abstract Mono getAsync(String resourceGroupName, String serverName, String elasticPoolName)

Gets an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.

Returns:

an elastic pool on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String serverName, String elasticPoolName, Context context)

Gets an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.
context - The context to associate with this operation.

Returns:

an elastic pool along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String serverName, String elasticPoolName)

Gets an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.

Returns:

an elastic pool along with Response<T> on successful completion of Mono.

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName)

Gets all elastic pools in a server.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.

Returns:

all elastic pools in a server as paginated response with PagedIterable<T>.

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName, Long skip, Context context)

Gets all elastic pools in a server.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
skip - The number of elements in the collection to skip.
context - The context to associate with this operation.

Returns:

all elastic pools in a server as paginated response with PagedIterable<T>.

listByServerAsync

public abstract PagedFlux listByServerAsync(String resourceGroupName, String serverName)

Gets all elastic pools in a server.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.

Returns:

all elastic pools in a server as paginated response with PagedFlux<T>.

listByServerAsync

public abstract PagedFlux listByServerAsync(String resourceGroupName, String serverName, Long skip)

Gets all elastic pools in a server.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
skip - The number of elements in the collection to skip.

Returns:

all elastic pools in a server as paginated response with PagedFlux<T>.

update

public abstract ElasticPoolInner update(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolUpdate parameters)

Updates an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.
parameters - The elastic pool update parameters.

Returns:

an elastic pool.

update

public abstract ElasticPoolInner update(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolUpdate parameters, Context context)

Updates an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.
parameters - The elastic pool update parameters.
context - The context to associate with this operation.

Returns:

an elastic pool.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolUpdate parameters)

Updates an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.
parameters - The elastic pool update parameters.

Returns:

an elastic pool on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String serverName, String elasticPoolName, ElasticPoolUpdate parameters)

Updates an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.
parameters - The elastic pool update parameters.

Returns:

an elastic pool along with Response<T> on successful completion of Mono.

Applies to