Interface RestorableDroppedSqlPools
public interface RestorableDroppedSqlPools
Resource collection API of RestorableDroppedSqlPools.
-
Method Summary
Modifier and TypeMethodDescriptionGets a deleted sql pool that can be restored.com.azure.core.http.rest.Response<RestorableDroppedSqlPool>
getWithResponse
(String resourceGroupName, String workspaceName, String restorableDroppedSqlPoolId, com.azure.core.util.Context context) Gets a deleted sql pool that can be restored.com.azure.core.http.rest.PagedIterable<RestorableDroppedSqlPool>
listByWorkspace
(String resourceGroupName, String workspaceName) Gets a list of deleted Sql pools that can be restored.com.azure.core.http.rest.PagedIterable<RestorableDroppedSqlPool>
listByWorkspace
(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Gets a list of deleted Sql pools that can be restored.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<RestorableDroppedSqlPool> getWithResponse(String resourceGroupName, String workspaceName, String restorableDroppedSqlPoolId, com.azure.core.util.Context context) Gets a deleted sql pool that can be restored.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.restorableDroppedSqlPoolId
- The id of the deleted Sql Pool in the form of sqlPoolName,deletionTimeInFileTimeFormat.context
- The context to associate with this operation.- Returns:
- a deleted sql pool that can be restored 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
RestorableDroppedSqlPool get(String resourceGroupName, String workspaceName, String restorableDroppedSqlPoolId) Gets a deleted sql pool that can be restored.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.restorableDroppedSqlPoolId
- The id of the deleted Sql Pool in the form of sqlPoolName,deletionTimeInFileTimeFormat.- Returns:
- a deleted sql pool that can be restored.
- 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<RestorableDroppedSqlPool> listByWorkspace(String resourceGroupName, String workspaceName) Gets a list of deleted Sql pools that can be restored.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.- Returns:
- a list of deleted Sql pools that can be restored 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<RestorableDroppedSqlPool> listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Gets a list of deleted Sql pools that can be restored.- 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:
- a list of deleted Sql pools that can be restored 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.
-