WorkloadGroupsClient Interface

public interface WorkloadGroupsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<WorkloadGroupInner>,WorkloadGroupInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner parameters)

Creates or updates a workload group.

abstract SyncPoller<PollResult<WorkloadGroupInner>,WorkloadGroupInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner parameters, Context context)

Creates or updates a workload group.

abstract PollerFlux<PollResult<WorkloadGroupInner>,WorkloadGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner parameters)

Creates or updates a workload group.

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

Deletes a workload group.

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

Deletes a workload group.

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

Deletes a workload group.

abstract WorkloadGroupInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner parameters)

Creates or updates a workload group.

abstract WorkloadGroupInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner parameters, Context context)

Creates or updates a workload group.

abstract Mono<WorkloadGroupInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner parameters)

Creates or updates a workload group.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner parameters)

Creates or updates a workload group.

abstract void delete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)

Deletes a workload group.

abstract void delete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, Context context)

Deletes a workload group.

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

Deletes a workload group.

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

Deletes a workload group.

abstract WorkloadGroupInner get(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)

Gets a workload group.

abstract Mono<WorkloadGroupInner> getAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)

Gets a workload group.

abstract Response<WorkloadGroupInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, Context context)

Gets a workload group.

abstract Mono<Response<WorkloadGroupInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)

Gets a workload group.

abstract PagedIterable<WorkloadGroupInner> listByDatabase(String resourceGroupName, String serverName, String databaseName)

Gets the list of workload groups.

abstract PagedIterable<WorkloadGroupInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, Context context)

Gets the list of workload groups.

abstract PagedFlux<WorkloadGroupInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)

Gets the list of workload groups.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,WorkloadGroupInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner parameters)

Creates or updates a workload 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.
serverName - The name of the server.
databaseName - The name of the database.
workloadGroupName - The name of the workload group.
parameters - The requested workload group state.

Returns:

the SyncPoller<T,U> for polling of workload group operations for a data warehouse.

beginCreateOrUpdate

public abstract SyncPoller,WorkloadGroupInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner parameters, Context context)

Creates or updates a workload 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.
serverName - The name of the server.
databaseName - The name of the database.
workloadGroupName - The name of the workload group.
parameters - The requested workload group state.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of workload group operations for a data warehouse.

beginCreateOrUpdateAsync

public abstract PollerFlux,WorkloadGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner parameters)

Creates or updates a workload 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.
serverName - The name of the server.
databaseName - The name of the database.
workloadGroupName - The name of the workload group.
parameters - The requested workload group state.

Returns:

the PollerFlux<T,U> for polling of workload group operations for a data warehouse.

beginDelete

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

Deletes a workload 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.
serverName - The name of the server.
databaseName - The name of the database.
workloadGroupName - The name of the workload group to delete.

Returns:

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

beginDelete

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

Deletes a workload 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.
serverName - The name of the server.
databaseName - The name of the database.
workloadGroupName - The name of the workload group to delete.
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 databaseName, String workloadGroupName)

Deletes a workload 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.
serverName - The name of the server.
databaseName - The name of the database.
workloadGroupName - The name of the workload group to delete.

Returns:

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

createOrUpdate

public abstract WorkloadGroupInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner parameters)

Creates or updates a workload 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.
serverName - The name of the server.
databaseName - The name of the database.
workloadGroupName - The name of the workload group.
parameters - The requested workload group state.

Returns:

workload group operations for a data warehouse.

createOrUpdate

public abstract WorkloadGroupInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner parameters, Context context)

Creates or updates a workload 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.
serverName - The name of the server.
databaseName - The name of the database.
workloadGroupName - The name of the workload group.
parameters - The requested workload group state.
context - The context to associate with this operation.

Returns:

workload group operations for a data warehouse.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner parameters)

Creates or updates a workload 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.
serverName - The name of the server.
databaseName - The name of the database.
workloadGroupName - The name of the workload group.
parameters - The requested workload group state.

Returns:

workload group operations for a data warehouse on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner parameters)

Creates or updates a workload 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.
serverName - The name of the server.
databaseName - The name of the database.
workloadGroupName - The name of the workload group.
parameters - The requested workload group state.

Returns:

workload group operations for a data warehouse along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)

Deletes a workload 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.
serverName - The name of the server.
databaseName - The name of the database.
workloadGroupName - The name of the workload group to delete.

delete

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

Deletes a workload 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.
serverName - The name of the server.
databaseName - The name of the database.
workloadGroupName - The name of the workload group to delete.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)

Deletes a workload 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.
serverName - The name of the server.
databaseName - The name of the database.
workloadGroupName - The name of the workload group to delete.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)

Deletes a workload 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.
serverName - The name of the server.
databaseName - The name of the database.
workloadGroupName - The name of the workload group to delete.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract WorkloadGroupInner get(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)

Gets a workload 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.
serverName - The name of the server.
databaseName - The name of the database.
workloadGroupName - The name of the workload group.

Returns:

a workload group.

getAsync

public abstract Mono getAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)

Gets a workload 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.
serverName - The name of the server.
databaseName - The name of the database.
workloadGroupName - The name of the workload group.

Returns:

a workload group on successful completion of Mono.

getWithResponse

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

Gets a workload 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.
serverName - The name of the server.
databaseName - The name of the database.
workloadGroupName - The name of the workload group.
context - The context to associate with this operation.

Returns:

a workload group along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)

Gets a workload 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.
serverName - The name of the server.
databaseName - The name of the database.
workloadGroupName - The name of the workload group.

Returns:

a workload group along with Response<T> on successful completion of Mono.

listByDatabase

public abstract PagedIterable listByDatabase(String resourceGroupName, String serverName, String databaseName)

Gets the list of workload groups.

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.
databaseName - The name of the database.

Returns:

the list of workload groups as paginated response with PagedIterable<T>.

listByDatabase

public abstract PagedIterable listByDatabase(String resourceGroupName, String serverName, String databaseName, Context context)

Gets the list of workload groups.

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.
databaseName - The name of the database.
context - The context to associate with this operation.

Returns:

the list of workload groups as paginated response with PagedIterable<T>.

listByDatabaseAsync

public abstract PagedFlux listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)

Gets the list of workload groups.

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.
databaseName - The name of the database.

Returns:

the list of workload groups as paginated response with PagedFlux<T>.

Applies to