Interface DeletedWorkspacesClient
public interface DeletedWorkspacesClient
An instance of this class provides access to all the operations defined in DeletedWorkspacesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<WorkspaceInner>list()Gets recently deleted workspaces in a subscription, available for recovery.com.azure.core.http.rest.PagedIterable<WorkspaceInner>list(com.azure.core.util.Context context) Gets recently deleted workspaces in a subscription, available for recovery.com.azure.core.http.rest.PagedIterable<WorkspaceInner>listByResourceGroup(String resourceGroupName) Gets recently deleted workspaces in a resource group, available for recovery.com.azure.core.http.rest.PagedIterable<WorkspaceInner>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<WorkspaceInner> 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
com.azure.core.http.rest.PagedIterable<WorkspaceInner> listByResourceGroup(String resourceGroupName) 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<WorkspaceInner> 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.
-