다음을 통해 공유


WorkspacesOperationsExtensions.ListAsync Method

Definition

Retrieves all existing Power BI workspaces in the specified workspace collection.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.PowerBIEmbedded.Models.Workspace>> ListAsync (this Microsoft.Azure.Management.PowerBIEmbedded.IWorkspacesOperations operations, string resourceGroupName, string workspaceCollectionName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.PowerBIEmbedded.IWorkspacesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.PowerBIEmbedded.Models.Workspace>>
<Extension()>
Public Function ListAsync (operations As IWorkspacesOperations, resourceGroupName As String, workspaceCollectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Workspace))

Parameters

operations
IWorkspacesOperations

The operations group for this extension method.

resourceGroupName
String

Azure resource group

workspaceCollectionName
String

Power BI Embedded Workspace Collection name

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to