public interface SqlPools
Modifier and Type | Method and Description |
---|---|
SqlPool.DefinitionStages.Blank |
define(String name)
Begins definition for a new SqlPool resource.
|
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.
|
Object |
deleteById(String id)
Delete a SQL pool.
|
Object |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Delete a SQL pool.
|
SqlPool |
get(String resourceGroupName,
String workspaceName,
String sqlPoolName)
Get SQL pool properties.
|
SqlPool |
getById(String id)
Get SQL pool properties.
|
com.azure.core.http.rest.Response<SqlPool> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Get SQL pool properties.
|
com.azure.core.http.rest.Response<SqlPool> |
getWithResponse(String resourceGroupName,
String workspaceName,
String sqlPoolName,
com.azure.core.util.Context context)
Get SQL pool properties.
|
com.azure.core.http.rest.PagedIterable<SqlPool> |
listByWorkspace(String resourceGroupName,
String workspaceName)
List all SQL pools.
|
com.azure.core.http.rest.PagedIterable<SqlPool> |
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.
|
SqlPool 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<SqlPool> 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.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<SqlPool> 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<SqlPool> 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.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.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.SqlPool getById(String id)
id
- the resource ID.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<SqlPool> getByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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 deleteById(String id)
id
- the resource ID.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 deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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.SqlPool.DefinitionStages.Blank define(String name)
name
- resource name.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.