SqlPools interface

Interface representing a SqlPools.

Methods

beginCreate(string, string, string, SqlPool, SqlPoolsCreateOptionalParams)

Create a SQL pool

beginCreateAndWait(string, string, string, SqlPool, SqlPoolsCreateOptionalParams)

Create a SQL pool

beginDelete(string, string, string, SqlPoolsDeleteOptionalParams)

Delete a SQL pool

beginDeleteAndWait(string, string, string, SqlPoolsDeleteOptionalParams)

Delete a SQL pool

beginPause(string, string, string, SqlPoolsPauseOptionalParams)

Pause a SQL pool

beginPauseAndWait(string, string, string, SqlPoolsPauseOptionalParams)

Pause a SQL pool

beginResume(string, string, string, SqlPoolsResumeOptionalParams)

Resume a SQL pool

beginResumeAndWait(string, string, string, SqlPoolsResumeOptionalParams)

Resume a SQL pool

get(string, string, string, SqlPoolsGetOptionalParams)

Get SQL pool properties

listByWorkspace(string, string, SqlPoolsListByWorkspaceOptionalParams)

List all SQL pools

rename(string, string, string, ResourceMoveDefinition, SqlPoolsRenameOptionalParams)

Rename a SQL pool.

update(string, string, string, SqlPoolPatchInfo, SqlPoolsUpdateOptionalParams)

Apply a partial update to a SQL pool

Method Details

beginCreate(string, string, string, SqlPool, SqlPoolsCreateOptionalParams)

Create a SQL pool

function beginCreate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, sqlPoolInfo: SqlPool, options?: SqlPoolsCreateOptionalParams): Promise<PollerLike<PollOperationState<SqlPool>, SqlPool>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

sqlPoolName

string

SQL pool name

sqlPoolInfo
SqlPool

The SQL pool to create

options
SqlPoolsCreateOptionalParams

The options parameters.

Returns

beginCreateAndWait(string, string, string, SqlPool, SqlPoolsCreateOptionalParams)

Create a SQL pool

function beginCreateAndWait(resourceGroupName: string, workspaceName: string, sqlPoolName: string, sqlPoolInfo: SqlPool, options?: SqlPoolsCreateOptionalParams): Promise<SqlPool>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

sqlPoolName

string

SQL pool name

sqlPoolInfo
SqlPool

The SQL pool to create

options
SqlPoolsCreateOptionalParams

The options parameters.

Returns

Promise<SqlPool>

beginDelete(string, string, string, SqlPoolsDeleteOptionalParams)

Delete a SQL pool

function beginDelete(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: SqlPoolsDeleteOptionalParams): Promise<PollerLike<PollOperationState<SqlPoolsDeleteResponse>, SqlPoolsDeleteResponse>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

sqlPoolName

string

SQL pool name

options
SqlPoolsDeleteOptionalParams

The options parameters.

Returns

beginDeleteAndWait(string, string, string, SqlPoolsDeleteOptionalParams)

Delete a SQL pool

function beginDeleteAndWait(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: SqlPoolsDeleteOptionalParams): Promise<SqlPoolsDeleteResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

sqlPoolName

string

SQL pool name

options
SqlPoolsDeleteOptionalParams

The options parameters.

Returns

beginPause(string, string, string, SqlPoolsPauseOptionalParams)

Pause a SQL pool

function beginPause(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: SqlPoolsPauseOptionalParams): Promise<PollerLike<PollOperationState<SqlPoolsPauseResponse>, SqlPoolsPauseResponse>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

sqlPoolName

string

SQL pool name

options
SqlPoolsPauseOptionalParams

The options parameters.

Returns

beginPauseAndWait(string, string, string, SqlPoolsPauseOptionalParams)

Pause a SQL pool

function beginPauseAndWait(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: SqlPoolsPauseOptionalParams): Promise<SqlPoolsPauseResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

sqlPoolName

string

SQL pool name

options
SqlPoolsPauseOptionalParams

The options parameters.

Returns

beginResume(string, string, string, SqlPoolsResumeOptionalParams)

Resume a SQL pool

function beginResume(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: SqlPoolsResumeOptionalParams): Promise<PollerLike<PollOperationState<SqlPoolsResumeResponse>, SqlPoolsResumeResponse>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

sqlPoolName

string

SQL pool name

options
SqlPoolsResumeOptionalParams

The options parameters.

Returns

beginResumeAndWait(string, string, string, SqlPoolsResumeOptionalParams)

Resume a SQL pool

function beginResumeAndWait(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: SqlPoolsResumeOptionalParams): Promise<SqlPoolsResumeResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

sqlPoolName

string

SQL pool name

options
SqlPoolsResumeOptionalParams

The options parameters.

Returns

get(string, string, string, SqlPoolsGetOptionalParams)

Get SQL pool properties

function get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: SqlPoolsGetOptionalParams): Promise<SqlPool>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

sqlPoolName

string

SQL pool name

options
SqlPoolsGetOptionalParams

The options parameters.

Returns

Promise<SqlPool>

listByWorkspace(string, string, SqlPoolsListByWorkspaceOptionalParams)

List all SQL pools

function listByWorkspace(resourceGroupName: string, workspaceName: string, options?: SqlPoolsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<SqlPool, SqlPool[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

options
SqlPoolsListByWorkspaceOptionalParams

The options parameters.

Returns

rename(string, string, string, ResourceMoveDefinition, SqlPoolsRenameOptionalParams)

Rename a SQL pool.

function rename(resourceGroupName: string, workspaceName: string, sqlPoolName: string, parameters: ResourceMoveDefinition, options?: SqlPoolsRenameOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

sqlPoolName

string

SQL pool name

parameters
ResourceMoveDefinition

The resource move definition for renaming this Sql pool.

options
SqlPoolsRenameOptionalParams

The options parameters.

Returns

Promise<void>

update(string, string, string, SqlPoolPatchInfo, SqlPoolsUpdateOptionalParams)

Apply a partial update to a SQL pool

function update(resourceGroupName: string, workspaceName: string, sqlPoolName: string, sqlPoolInfo: SqlPoolPatchInfo, options?: SqlPoolsUpdateOptionalParams): Promise<SqlPool>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

sqlPoolName

string

SQL pool name

sqlPoolInfo
SqlPoolPatchInfo

The updated SQL pool properties

options
SqlPoolsUpdateOptionalParams

The options parameters.

Returns

Promise<SqlPool>