InstancePoolsClient Interface

Implements

public interface InstancePoolsClient
extends InnerSupportsGet<InstancePoolInner>, InnerSupportsListing<InstancePoolInner>, InnerSupportsDelete<Void>

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<InstancePoolInner>,InstancePoolInner> beginCreateOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters)

Creates or updates an instance pool.

abstract SyncPoller<PollResult<InstancePoolInner>,InstancePoolInner> beginCreateOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters, Context context)

Creates or updates an instance pool.

abstract PollerFlux<PollResult<InstancePoolInner>,InstancePoolInner> beginCreateOrUpdateAsync(String resourceGroupName, String instancePoolName, InstancePoolInner parameters)

Creates or updates an instance pool.

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

Deletes an instance pool.

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

Deletes an instance pool.

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

Deletes an instance pool.

abstract SyncPoller<PollResult<InstancePoolInner>,InstancePoolInner> beginUpdate(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters)

Updates an instance pool.

abstract SyncPoller<PollResult<InstancePoolInner>,InstancePoolInner> beginUpdate(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters, Context context)

Updates an instance pool.

abstract PollerFlux<PollResult<InstancePoolInner>,InstancePoolInner> beginUpdateAsync(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters)

Updates an instance pool.

abstract InstancePoolInner createOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters)

Creates or updates an instance pool.

abstract InstancePoolInner createOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters, Context context)

Creates or updates an instance pool.

abstract Mono<InstancePoolInner> createOrUpdateAsync(String resourceGroupName, String instancePoolName, InstancePoolInner parameters)

Creates or updates an instance pool.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String instancePoolName, InstancePoolInner parameters)

Creates or updates an instance pool.

abstract void delete(String resourceGroupName, String instancePoolName)

Deletes an instance pool.

abstract void delete(String resourceGroupName, String instancePoolName, Context context)

Deletes an instance pool.

abstract Mono<Void> deleteAsync(String resourceGroupName, String instancePoolName)

Deletes an instance pool.

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

Deletes an instance pool.

abstract InstancePoolInner getByResourceGroup(String resourceGroupName, String instancePoolName)

Gets an instance pool.

abstract Mono<InstancePoolInner> getByResourceGroupAsync(String resourceGroupName, String instancePoolName)

Gets an instance pool.

abstract Response<InstancePoolInner> getByResourceGroupWithResponse(String resourceGroupName, String instancePoolName, Context context)

Gets an instance pool.

abstract Mono<Response<InstancePoolInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String instancePoolName)

Gets an instance pool.

abstract PagedIterable<InstancePoolInner> list()

Gets a list of all instance pools in the subscription.

abstract PagedIterable<InstancePoolInner> list(Context context)

Gets a list of all instance pools in the subscription.

abstract PagedFlux<InstancePoolInner> listAsync()

Gets a list of all instance pools in the subscription.

abstract PagedIterable<InstancePoolInner> listByResourceGroup(String resourceGroupName)

Gets a list of instance pools in the resource group.

abstract PagedIterable<InstancePoolInner> listByResourceGroup(String resourceGroupName, Context context)

Gets a list of instance pools in the resource group.

abstract PagedFlux<InstancePoolInner> listByResourceGroupAsync(String resourceGroupName)

Gets a list of instance pools in the resource group.

abstract InstancePoolInner update(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters)

Updates an instance pool.

abstract InstancePoolInner update(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters, Context context)

Updates an instance pool.

abstract Mono<InstancePoolInner> updateAsync(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters)

Updates an instance pool.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters)

Updates an instance pool.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,InstancePoolInner> beginCreateOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters)

Creates or updates an instance 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.
instancePoolName - The name of the instance pool to be created or updated.
parameters - The requested instance pool resource state.

Returns:

the SyncPoller<T,U> for polling of an Azure SQL instance pool.

beginCreateOrUpdate

public abstract SyncPoller,InstancePoolInner> beginCreateOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters, Context context)

Creates or updates an instance 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.
instancePoolName - The name of the instance pool to be created or updated.
parameters - The requested instance pool resource state.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an Azure SQL instance pool.

beginCreateOrUpdateAsync

public abstract PollerFlux,InstancePoolInner> beginCreateOrUpdateAsync(String resourceGroupName, String instancePoolName, InstancePoolInner parameters)

Creates or updates an instance 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.
instancePoolName - The name of the instance pool to be created or updated.
parameters - The requested instance pool resource state.

Returns:

the PollerFlux<T,U> for polling of an Azure SQL instance pool.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String instancePoolName)

Deletes an instance 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.
instancePoolName - The name of the instance pool to be deleted.

Returns:

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

beginDelete

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

Deletes an instance 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.
instancePoolName - The name of the instance pool to be deleted.
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 instancePoolName)

Deletes an instance 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.
instancePoolName - The name of the instance pool to be deleted.

Returns:

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

beginUpdate

public abstract SyncPoller,InstancePoolInner> beginUpdate(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters)

Updates an instance 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.
instancePoolName - The name of the instance pool to be updated.
parameters - The requested instance pool resource state.

Returns:

the SyncPoller<T,U> for polling of an Azure SQL instance pool.

beginUpdate

public abstract SyncPoller,InstancePoolInner> beginUpdate(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters, Context context)

Updates an instance 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.
instancePoolName - The name of the instance pool to be updated.
parameters - The requested instance pool resource state.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an Azure SQL instance pool.

beginUpdateAsync

public abstract PollerFlux,InstancePoolInner> beginUpdateAsync(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters)

Updates an instance 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.
instancePoolName - The name of the instance pool to be updated.
parameters - The requested instance pool resource state.

Returns:

the PollerFlux<T,U> for polling of an Azure SQL instance pool.

createOrUpdate

public abstract InstancePoolInner createOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters)

Creates or updates an instance 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.
instancePoolName - The name of the instance pool to be created or updated.
parameters - The requested instance pool resource state.

Returns:

an Azure SQL instance pool.

createOrUpdate

public abstract InstancePoolInner createOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters, Context context)

Creates or updates an instance 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.
instancePoolName - The name of the instance pool to be created or updated.
parameters - The requested instance pool resource state.
context - The context to associate with this operation.

Returns:

an Azure SQL instance pool.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String instancePoolName, InstancePoolInner parameters)

Creates or updates an instance 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.
instancePoolName - The name of the instance pool to be created or updated.
parameters - The requested instance pool resource state.

Returns:

an Azure SQL instance pool on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String instancePoolName, InstancePoolInner parameters)

Creates or updates an instance 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.
instancePoolName - The name of the instance pool to be created or updated.
parameters - The requested instance pool resource state.

Returns:

an Azure SQL instance pool along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String instancePoolName)

Deletes an instance 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.
instancePoolName - The name of the instance pool to be deleted.

delete

public abstract void delete(String resourceGroupName, String instancePoolName, Context context)

Deletes an instance 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.
instancePoolName - The name of the instance pool to be deleted.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String instancePoolName)

Deletes an instance 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.
instancePoolName - The name of the instance pool to be deleted.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String instancePoolName)

Deletes an instance 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.
instancePoolName - The name of the instance pool to be deleted.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract InstancePoolInner getByResourceGroup(String resourceGroupName, String instancePoolName)

Gets an instance 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.
instancePoolName - The name of the instance pool to be retrieved.

Returns:

an instance pool.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String instancePoolName)

Gets an instance 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.
instancePoolName - The name of the instance pool to be retrieved.

Returns:

an instance pool on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String instancePoolName, Context context)

Gets an instance 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.
instancePoolName - The name of the instance pool to be retrieved.
context - The context to associate with this operation.

Returns:

an instance pool along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String instancePoolName)

Gets an instance 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.
instancePoolName - The name of the instance pool to be retrieved.

Returns:

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

list

public abstract PagedIterable list()

Gets a list of all instance pools in the subscription.

Returns:

a list of all instance pools in the subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Gets a list of all instance pools in the subscription.

Parameters:

context - The context to associate with this operation.

Returns:

a list of all instance pools in the subscription as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Gets a list of all instance pools in the subscription.

Returns:

a list of all instance pools in the subscription as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Gets a list of instance pools in the resource group.

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.

Returns:

a list of instance pools in the resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Gets a list of instance pools in the resource group.

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.
context - The context to associate with this operation.

Returns:

a list of instance pools in the resource group as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Gets a list of instance pools in the resource group.

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.

Returns:

a list of instance pools in the resource group as paginated response with PagedFlux<T>.

update

public abstract InstancePoolInner update(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters)

Updates an instance 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.
instancePoolName - The name of the instance pool to be updated.
parameters - The requested instance pool resource state.

Returns:

an Azure SQL instance pool.

update

public abstract InstancePoolInner update(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters, Context context)

Updates an instance 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.
instancePoolName - The name of the instance pool to be updated.
parameters - The requested instance pool resource state.
context - The context to associate with this operation.

Returns:

an Azure SQL instance pool.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters)

Updates an instance 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.
instancePoolName - The name of the instance pool to be updated.
parameters - The requested instance pool resource state.

Returns:

an Azure SQL instance pool on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters)

Updates an instance 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.
instancePoolName - The name of the instance pool to be updated.
parameters - The requested instance pool resource state.

Returns:

an Azure SQL instance pool along with Response<T> on successful completion of Mono.

Applies to