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)

Arguments

subscription_id

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

resource_group

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.

Value

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