Compartilhar via


WorkspaceCollectionsOperationsExtensions.ListByResourceGroupAsync Método

Definição

Recupera todas as coleções de workspaces do Power BI existentes no grupo de recursos especificado.

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

Parâmetros

operations
IWorkspaceCollectionsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Grupo de recursos do Azure

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a