SqlPoolWorkloadGroups Interface

public interface SqlPoolWorkloadGroups

Resource collection API of SqlPoolWorkloadGroups.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new WorkloadGroup resource.

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 void deleteById(String id)

Remove workload group

abstract void deleteByIdWithResponse(String id, Context context)

Remove workload group

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

Sql pool's workload group

abstract WorkloadGroup getById(String id)

Sql pool's workload group

abstract Response<WorkloadGroup> getByIdWithResponse(String id, Context context)

Sql pool's workload group

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

Sql pool's workload group

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

Sql pool's workload groups

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

Sql pool's workload groups

Method Details

define

public abstract WorkloadGroup.DefinitionStages.Blank define(String name)

Begins definition for a new WorkloadGroup resource.

Parameters:

name - resource name.

Returns:

the first stage of the new WorkloadGroup definition.

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.

deleteById

public abstract void deleteById(String id)

Remove workload group

Remove Sql pool's workload group.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Remove workload group

Remove Sql pool's workload group.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

get

public abstract WorkloadGroup 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.

getById

public abstract WorkloadGroup getById(String id)

Sql pool's workload group

Get a Sql pool's workload group.

Parameters:

id - the resource ID.

Returns:

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

getByIdWithResponse

public abstract Response getByIdWithResponse(String id, Context context)

Sql pool's workload group

Get a Sql pool's workload group.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

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

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