Sdílet prostřednictvím


WorkspaceCollectionsOperationsExtensions.CreateAsync Method

Definition

Creates a new Power BI Workspace Collection with the specified properties. A Power BI Workspace Collection contains one or more workspaces, and can be used to provision keys that provide API access to those workspaces.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.PowerBIEmbedded.Models.WorkspaceCollection> CreateAsync (this Microsoft.Azure.Management.PowerBIEmbedded.IWorkspaceCollectionsOperations operations, string resourceGroupName, string workspaceCollectionName, Microsoft.Azure.Management.PowerBIEmbedded.Models.CreateWorkspaceCollectionRequest body, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.PowerBIEmbedded.IWorkspaceCollectionsOperations * string * string * Microsoft.Azure.Management.PowerBIEmbedded.Models.CreateWorkspaceCollectionRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.PowerBIEmbedded.Models.WorkspaceCollection>
<Extension()>
Public Function CreateAsync (operations As IWorkspaceCollectionsOperations, resourceGroupName As String, workspaceCollectionName As String, body As CreateWorkspaceCollectionRequest, 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

body
CreateWorkspaceCollectionRequest

Create workspace collection request

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to