Interface DeletedWorkspaces
public interface DeletedWorkspaces
Resource collection API of DeletedWorkspaces.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<Workspace>
list()
Gets recently deleted workspaces in a subscription, available for recovery.com.azure.core.http.rest.PagedIterable<Workspace>
list
(com.azure.core.util.Context context) Gets recently deleted workspaces in a subscription, available for recovery.com.azure.core.http.rest.PagedIterable<Workspace>
listByResourceGroup
(String resourceGroupName) Gets recently deleted workspaces in a resource group, available for recovery.com.azure.core.http.rest.PagedIterable<Workspace>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Gets recently deleted workspaces in a resource group, available for recovery.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<Workspace> list()Gets recently deleted workspaces in a subscription, available for recovery.- Returns:
- recently deleted workspaces in a subscription, available for recovery as paginated response with
PagedIterable
. - Throws:
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.
-
list
Gets recently deleted workspaces in a subscription, available for recovery.- Parameters:
context
- The context to associate with this operation.- Returns:
- recently deleted workspaces in a subscription, available for recovery 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.
-
listByResourceGroup
Gets recently deleted workspaces in a resource group, available for recovery.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- recently deleted workspaces in a resource group, available for recovery 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<Workspace> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets recently deleted workspaces in a resource group, available for recovery.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- recently deleted workspaces in a resource group, available for recovery 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.
-