List all workspaces that the user has access to in the specified subscription_id parameter. The list of workspaces can be filtered based on the resource group.

list_workspaces(subscription_id, resource_group = NULL)



A string of the specified subscription ID to list the workspaces in.


A string of the specified resource group to list the workspaces. If NULL the method will list all the workspaces within the specified subscription in.


A named list of Workspace objects where element name corresponds to the workspace name.