SqlPools Interface

public interface SqlPools

Resource collection API of SqlPools.

Method Summary

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

Begins definition for a new SqlPool resource.

abstract Object delete(String resourceGroupName, String workspaceName, String sqlPoolName)

Delete SQL pool Delete a SQL pool.

abstract Object delete(String resourceGroupName, String workspaceName, String sqlPoolName, Context context)

Delete SQL pool Delete a SQL pool.

abstract Object deleteById(String id)

Delete SQL pool Delete a SQL pool.

abstract Object deleteByIdWithResponse(String id, Context context)

Delete SQL pool Delete a SQL pool.

abstract SqlPool get(String resourceGroupName, String workspaceName, String sqlPoolName)

Get SQL pool Get SQL pool properties.

abstract SqlPool getById(String id)

Get SQL pool Get SQL pool properties.

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

Get SQL pool Get SQL pool properties.

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

Get SQL pool Get SQL pool properties.

abstract PagedIterable<SqlPool> listByWorkspace(String resourceGroupName, String workspaceName)

List SQL pools List all SQL pools.

abstract PagedIterable<SqlPool> listByWorkspace(String resourceGroupName, String workspaceName, Context context)

List SQL pools List all SQL pools.

abstract Object pause(String resourceGroupName, String workspaceName, String sqlPoolName)

Pause SQL pool Pause a SQL pool.

abstract Object pause(String resourceGroupName, String workspaceName, String sqlPoolName, Context context)

Pause SQL pool Pause a SQL pool.

abstract Object resume(String resourceGroupName, String workspaceName, String sqlPoolName)

Resume SQL pool Resume a SQL pool.

abstract Object resume(String resourceGroupName, String workspaceName, String sqlPoolName, Context context)

Resume SQL pool Resume a SQL pool.

Method Details

define

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

Begins definition for a new SqlPool resource.

Parameters:

name - resource name.

Returns:

the first stage of the new SqlPool definition.

delete

public abstract Object delete(String resourceGroupName, String workspaceName, String sqlPoolName)

Delete SQL pool Delete a SQL pool.

Parameters:

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

Returns:

any object.

delete

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

Delete SQL pool Delete a SQL pool.

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:

any object.

deleteById

public abstract Object deleteById(String id)

Delete SQL pool Delete a SQL pool.

Parameters:

id - the resource ID.

Returns:

any object.

deleteByIdWithResponse

public abstract Object deleteByIdWithResponse(String id, Context context)

Delete SQL pool Delete a SQL pool.

Parameters:

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

Returns:

any object.

get

public abstract SqlPool get(String resourceGroupName, String workspaceName, String sqlPoolName)

Get SQL pool Get SQL pool properties.

Parameters:

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

Returns:

sQL pool properties.

getById

public abstract SqlPool getById(String id)

Get SQL pool Get SQL pool properties.

Parameters:

id - the resource ID.

Returns:

sQL pool properties along with Response<T>.

getByIdWithResponse

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

Get SQL pool Get SQL pool properties.

Parameters:

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

Returns:

sQL pool properties along with Response<T>.

getWithResponse

public abstract Response<SqlPool> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, Context context)

Get SQL pool Get SQL pool properties.

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:

sQL pool properties along with Response<T>.

listByWorkspace

public abstract PagedIterable<SqlPool> listByWorkspace(String resourceGroupName, String workspaceName)

List SQL pools List all SQL pools.

Parameters:

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

Returns:

sQL pool collection as paginated response with PagedIterable<T>.

listByWorkspace

public abstract PagedIterable<SqlPool> listByWorkspace(String resourceGroupName, String workspaceName, Context context)

List SQL pools List all SQL pools.

Parameters:

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

Returns:

sQL pool collection as paginated response with PagedIterable<T>.

pause

public abstract Object pause(String resourceGroupName, String workspaceName, String sqlPoolName)

Pause SQL pool Pause a SQL pool.

Parameters:

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

Returns:

any object.

pause

public abstract Object pause(String resourceGroupName, String workspaceName, String sqlPoolName, Context context)

Pause SQL pool Pause a SQL pool.

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:

any object.

resume

public abstract Object resume(String resourceGroupName, String workspaceName, String sqlPoolName)

Resume SQL pool Resume a SQL pool.

Parameters:

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

Returns:

any object.

resume

public abstract Object resume(String resourceGroupName, String workspaceName, String sqlPoolName, Context context)

Resume SQL pool Resume a SQL pool.

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:

any object.

Applies to