Interface SqlPoolsClient
public interface SqlPoolsClient
An instance of this class provides access to all the operations defined in SqlPoolsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,
SqlPoolInner> beginCreate
(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolInner sqlPoolInfo) Create SQL poolcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,
SqlPoolInner> beginCreate
(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolInner sqlPoolInfo, com.azure.core.util.Context context) Create SQL poolcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,
SqlPoolInner> beginDelete
(String resourceGroupName, String workspaceName, String sqlPoolName) Delete SQL poolcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,
SqlPoolInner> beginDelete
(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Delete SQL poolcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,
SqlPoolInner> beginPause
(String resourceGroupName, String workspaceName, String sqlPoolName) Pause SQL poolcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,
SqlPoolInner> beginPause
(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Pause SQL poolcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,
SqlPoolInner> beginResume
(String resourceGroupName, String workspaceName, String sqlPoolName) Resume SQL poolcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,
SqlPoolInner> beginResume
(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Resume SQL poolcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,
SqlPoolInner> beginUpdate
(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolPatchInfo sqlPoolInfo) Update SQL poolcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,
SqlPoolInner> beginUpdate
(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolPatchInfo sqlPoolInfo, com.azure.core.util.Context context) Update SQL poolcreate
(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolInner sqlPoolInfo) Create SQL poolcreate
(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolInner sqlPoolInfo, com.azure.core.util.Context context) Create SQL poolDelete SQL pooldelete
(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Delete SQL poolGet SQL poolcom.azure.core.http.rest.Response<SqlPoolInner>
getWithResponse
(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Get SQL poolcom.azure.core.http.rest.PagedIterable<SqlPoolInner>
listByWorkspace
(String resourceGroupName, String workspaceName) List SQL poolscom.azure.core.http.rest.PagedIterable<SqlPoolInner>
listByWorkspace
(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) List SQL poolsPause SQL poolpause
(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Pause SQL poolvoid
rename
(String resourceGroupName, String workspaceName, String sqlPoolName, ResourceMoveDefinition parameters) Rename a SQL poolcom.azure.core.http.rest.Response<Void>
renameWithResponse
(String resourceGroupName, String workspaceName, String sqlPoolName, ResourceMoveDefinition parameters, com.azure.core.util.Context context) Rename a SQL poolResume SQL poolresume
(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Resume SQL poolupdate
(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolPatchInfo sqlPoolInfo) Update SQL poolupdate
(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolPatchInfo sqlPoolInfo, com.azure.core.util.Context context) Update SQL pool
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<SqlPoolInner> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Get SQL poolGet 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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
Get SQL poolGet 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,SqlPoolInner> beginUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolPatchInfo sqlPoolInfo) Update SQL poolApply a partial update to 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.sqlPoolInfo
- The updated SQL pool properties.- Returns:
- the
SyncPoller
for polling of sQL pool. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,SqlPoolInner> beginUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolPatchInfo sqlPoolInfo, com.azure.core.util.Context context) Update SQL poolApply a partial update to 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.sqlPoolInfo
- The updated SQL pool properties.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of sQL pool. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
SqlPoolInner update(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolPatchInfo sqlPoolInfo) Update SQL poolApply a partial update to 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.sqlPoolInfo
- The updated SQL pool properties.- Returns:
- sQL pool.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
SqlPoolInner update(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolPatchInfo sqlPoolInfo, com.azure.core.util.Context context) Update SQL poolApply a partial update to 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.sqlPoolInfo
- The updated SQL pool properties.context
- The context to associate with this operation.- Returns:
- sQL pool.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,SqlPoolInner> beginCreate(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolInner sqlPoolInfo) Create SQL poolCreate 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.sqlPoolInfo
- The SQL pool to create.- Returns:
- the
SyncPoller
for polling of sQL pool. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,SqlPoolInner> beginCreate(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolInner sqlPoolInfo, com.azure.core.util.Context context) Create SQL poolCreate 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.sqlPoolInfo
- The SQL pool to create.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of sQL pool. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
create
SqlPoolInner create(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolInner sqlPoolInfo) Create SQL poolCreate 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.sqlPoolInfo
- The SQL pool to create.- Returns:
- sQL pool.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
create
SqlPoolInner create(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolInner sqlPoolInfo, com.azure.core.util.Context context) Create SQL poolCreate 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.sqlPoolInfo
- The SQL pool to create.context
- The context to associate with this operation.- Returns:
- sQL pool.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,SqlPoolInner> beginDelete(String resourceGroupName, String workspaceName, String sqlPoolName) Delete SQL poolDelete 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:
- the
SyncPoller
for polling of sQL pool. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,SqlPoolInner> beginDelete(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Delete SQL poolDelete 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:
- the
SyncPoller
for polling of sQL pool. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Delete SQL poolDelete 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:
- sQL pool.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
SqlPoolInner delete(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Delete SQL poolDelete 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:
- sQL pool.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByWorkspace
com.azure.core.http.rest.PagedIterable<SqlPoolInner> listByWorkspace(String resourceGroupName, String workspaceName) List SQL poolsList 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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByWorkspace
com.azure.core.http.rest.PagedIterable<SqlPoolInner> listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) List SQL poolsList 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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginPause
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,SqlPoolInner> beginPause(String resourceGroupName, String workspaceName, String sqlPoolName) Pause SQL poolPause 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:
- the
SyncPoller
for polling of sQL pool. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginPause
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,SqlPoolInner> beginPause(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Pause SQL poolPause 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:
- the
SyncPoller
for polling of sQL pool. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
pause
Pause SQL poolPause 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:
- sQL pool.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
pause
SqlPoolInner pause(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Pause SQL poolPause 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:
- sQL pool.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginResume
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,SqlPoolInner> beginResume(String resourceGroupName, String workspaceName, String sqlPoolName) Resume SQL poolResume 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:
- the
SyncPoller
for polling of sQL pool. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginResume
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,SqlPoolInner> beginResume(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Resume SQL poolResume 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:
- the
SyncPoller
for polling of sQL pool. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
resume
Resume SQL poolResume 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:
- sQL pool.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
resume
SqlPoolInner resume(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Resume SQL poolResume 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:
- sQL pool.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
renameWithResponse
com.azure.core.http.rest.Response<Void> renameWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, ResourceMoveDefinition parameters, com.azure.core.util.Context context) Rename a SQL poolRename 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.parameters
- The resource move definition for renaming this Sql pool.context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
rename
void rename(String resourceGroupName, String workspaceName, String sqlPoolName, ResourceMoveDefinition parameters) Rename a SQL poolRename 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.parameters
- The resource move definition for renaming this Sql pool.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-