SqlPoolWorkloadGroupsClient Interface

public interface SqlPoolWorkloadGroupsClient

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

Method Summary

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

Create Or Update workload group

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

Create Or Update workload group

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName)

Remove workload group

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, Context context)

Remove workload group

abstract WorkloadGroupInner createOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, WorkloadGroupInner parameters)

Create Or Update workload group

abstract WorkloadGroupInner createOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, WorkloadGroupInner parameters, Context context)

Create Or Update workload group

abstract void delete(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName)

Remove workload group

abstract void delete(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, Context context)

Remove workload group

abstract WorkloadGroupInner get(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName)

Sql pool's workload group

abstract Response<WorkloadGroupInner> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, Context context)

Sql pool's workload group

abstract PagedIterable<WorkloadGroupInner> list(String resourceGroupName, String workspaceName, String sqlPoolName)

Sql pool's workload groups

abstract PagedIterable<WorkloadGroupInner> list(String resourceGroupName, String workspaceName, String sqlPoolName, Context context)

Sql pool's workload groups

Method Details

beginCreateOrUpdate

public abstract SyncPoller<>,WorkloadGroupInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, WorkloadGroupInner parameters)

Create Or Update workload group

Create Or Update a Sql pool's workload group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
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 sql pool.

beginCreateOrUpdate

public abstract SyncPoller<>,WorkloadGroupInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, WorkloadGroupInner parameters, Context context)

Create Or Update workload group

Create Or Update a Sql pool's workload group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
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 sql pool.

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName)

Remove workload group

Remove Sql pool's workload group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
workloadGroupName - The name of the workload group.

Returns:

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

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, Context context)

Remove workload group

Remove Sql pool's workload group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
workloadGroupName - The name of the workload group.
context - The context to associate with this operation.

Returns:

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

createOrUpdate

public abstract WorkloadGroupInner createOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, WorkloadGroupInner parameters)

Create Or Update workload group

Create Or Update a Sql pool's workload group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
workloadGroupName - The name of the workload group.
parameters - The requested workload group state.

Returns:

workload group operations for a sql pool.

createOrUpdate

public abstract WorkloadGroupInner createOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, WorkloadGroupInner parameters, Context context)

Create Or Update workload group

Create Or Update a Sql pool's workload group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
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 sql pool.

delete

public abstract void delete(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName)

Remove workload group

Remove Sql pool's workload group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
workloadGroupName - The name of the workload group.

delete

public abstract void delete(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, Context context)

Remove workload group

Remove Sql pool's workload group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
workloadGroupName - The name of the workload group.
context - The context to associate with this operation.

get

public abstract WorkloadGroupInner get(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName)

Sql pool's workload group

Get a Sql pool's workload group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
workloadGroupName - The name of the workload group.

Returns:

a Sql pool's workload group.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, Context context)

Sql pool's workload group

Get a Sql pool's workload group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
workloadGroupName - The name of the workload group.
context - The context to associate with this operation.

Returns:

a Sql pool's workload group along with Response<T>.

list

public abstract PagedIterable list(String resourceGroupName, String workspaceName, String sqlPoolName)

Sql pool's workload groups

Get list of Sql pool's workload groups.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.

Returns:

list of Sql pool's workload groups as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String workspaceName, String sqlPoolName, Context context)

Sql pool's workload groups

Get list of Sql pool's workload groups.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
sqlPoolName - SQL pool name.
context - The context to associate with this operation.

Returns:

list of Sql pool's workload groups as paginated response with PagedIterable<T>.

Applies to