public interface SqlPoolsClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,SqlPoolInner> |
beginCreate(String resourceGroupName,
String workspaceName,
String sqlPoolName,
SqlPoolInner sqlPoolInfo)
Create a SQL pool.
|
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 a SQL pool.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> |
beginDelete(String resourceGroupName,
String workspaceName,
String sqlPoolName)
Delete a SQL pool.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> |
beginDelete(String resourceGroupName,
String workspaceName,
String sqlPoolName,
com.azure.core.util.Context context)
Delete a SQL pool.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> |
beginPause(String resourceGroupName,
String workspaceName,
String sqlPoolName)
Pause a SQL pool.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> |
beginPause(String resourceGroupName,
String workspaceName,
String sqlPoolName,
com.azure.core.util.Context context)
Pause a SQL pool.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> |
beginResume(String resourceGroupName,
String workspaceName,
String sqlPoolName)
Resume a SQL pool.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> |
beginResume(String resourceGroupName,
String workspaceName,
String sqlPoolName,
com.azure.core.util.Context context)
Resume a SQL pool.
|
SqlPoolInner |
create(String resourceGroupName,
String workspaceName,
String sqlPoolName,
SqlPoolInner sqlPoolInfo)
Create a SQL pool.
|
SqlPoolInner |
create(String resourceGroupName,
String workspaceName,
String sqlPoolName,
SqlPoolInner sqlPoolInfo,
com.azure.core.util.Context context)
Create a SQL pool.
|
Object |
delete(String resourceGroupName,
String workspaceName,
String sqlPoolName)
Delete a SQL pool.
|
Object |
delete(String resourceGroupName,
String workspaceName,
String sqlPoolName,
com.azure.core.util.Context context)
Delete a SQL pool.
|
SqlPoolInner |
get(String resourceGroupName,
String workspaceName,
String sqlPoolName)
Get SQL pool properties.
|
com.azure.core.http.rest.Response<SqlPoolInner> |
getWithResponse(String resourceGroupName,
String workspaceName,
String sqlPoolName,
com.azure.core.util.Context context)
Get SQL pool properties.
|
com.azure.core.http.rest.PagedIterable<SqlPoolInner> |
listByWorkspace(String resourceGroupName,
String workspaceName)
List all SQL pools.
|
com.azure.core.http.rest.PagedIterable<SqlPoolInner> |
listByWorkspace(String resourceGroupName,
String workspaceName,
com.azure.core.util.Context context)
List all SQL pools.
|
Object |
pause(String resourceGroupName,
String workspaceName,
String sqlPoolName)
Pause a SQL pool.
|
Object |
pause(String resourceGroupName,
String workspaceName,
String sqlPoolName,
com.azure.core.util.Context context)
Pause a SQL pool.
|
void |
rename(String resourceGroupName,
String workspaceName,
String sqlPoolName,
ResourceMoveDefinition parameters)
Rename a SQL pool.
|
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 pool.
|
Object |
resume(String resourceGroupName,
String workspaceName,
String sqlPoolName)
Resume a SQL pool.
|
Object |
resume(String resourceGroupName,
String workspaceName,
String sqlPoolName,
com.azure.core.util.Context context)
Resume a SQL pool.
|
SqlPoolInner |
update(String resourceGroupName,
String workspaceName,
String sqlPoolName,
SqlPoolPatchInfo sqlPoolInfo)
Apply a partial update to a SQL pool.
|
com.azure.core.http.rest.Response<SqlPoolInner> |
updateWithResponse(String resourceGroupName,
String workspaceName,
String sqlPoolName,
SqlPoolPatchInfo sqlPoolInfo,
com.azure.core.util.Context context)
Apply a partial update to a SQL pool.
|
SqlPoolInner get(String resourceGroupName, String workspaceName, String sqlPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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.com.azure.core.http.rest.Response<SqlPoolInner> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
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.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.SqlPoolInner update(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolPatchInfo sqlPoolInfo)
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.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.com.azure.core.http.rest.Response<SqlPoolInner> updateWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolPatchInfo sqlPoolInfo, com.azure.core.util.Context context)
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.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlPoolInner>,SqlPoolInner> beginCreate(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolInner sqlPoolInfo)
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.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.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)
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.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.SqlPoolInner create(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolInner sqlPoolInfo)
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.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.SqlPoolInner create(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolInner sqlPoolInfo, com.azure.core.util.Context context)
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.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> beginDelete(String resourceGroupName, String workspaceName, String sqlPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> beginDelete(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
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.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.Object delete(String resourceGroupName, String workspaceName, String sqlPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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.Object delete(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
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.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.com.azure.core.http.rest.PagedIterable<SqlPoolInner> listByWorkspace(String resourceGroupName, String workspaceName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.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.com.azure.core.http.rest.PagedIterable<SqlPoolInner> listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
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.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> beginPause(String resourceGroupName, String workspaceName, String sqlPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> beginPause(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
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.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.Object pause(String resourceGroupName, String workspaceName, String sqlPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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.Object pause(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
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.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> beginResume(String resourceGroupName, String workspaceName, String sqlPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> beginResume(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
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.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.Object resume(String resourceGroupName, String workspaceName, String sqlPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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.Object resume(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
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.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.void rename(String resourceGroupName, String workspaceName, String sqlPoolName, ResourceMoveDefinition 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.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.com.azure.core.http.rest.Response<Void> renameWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, ResourceMoveDefinition parameters, com.azure.core.util.Context context)
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.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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.