Udostępnij za pośrednictwem


WorkspaceCollectionsOperationsExtensions.GetByNameAsync Method

Definition

Retrieves an existing Power BI Workspace Collection.

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

Parameters

operations
IWorkspaceCollectionsOperations

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