WorkspaceCollectionsOperationsExtensions.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Create workspace collection request
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET