Partager via


WorkspacesOperationsExtensions.ListAsync Méthode

Définition

Récupère tous les espaces de travail Power BI existants dans la collection d’espaces de travail spécifiée.

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))

Paramètres

operations
IWorkspacesOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Groupe de ressources Azure

workspaceCollectionName
String

Power BI Embedded nom de la collection d’espaces de travail

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à