WorkspacesExtensions.PostWorkspaceAsync(IWorkspaces, String, CreateWorkspaceRequest, CancellationToken) Method

Definition

public static System.Threading.Tasks.Task<Microsoft.PowerBI.Api.V1.Models.Workspace> PostWorkspaceAsync (this Microsoft.PowerBI.Api.V1.IWorkspaces operations, string collectionName, Microsoft.PowerBI.Api.V1.Models.CreateWorkspaceRequest workspaceRequest = default, System.Threading.CancellationToken cancellationToken = default);
static member PostWorkspaceAsync : Microsoft.PowerBI.Api.V1.IWorkspaces * string * Microsoft.PowerBI.Api.V1.Models.CreateWorkspaceRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.PowerBI.Api.V1.Models.Workspace>
<Extension()>
Public Function PostWorkspaceAsync (operations As IWorkspaces, collectionName As String, Optional workspaceRequest As CreateWorkspaceRequest = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Workspace)

Parameters

operations
IWorkspaces
collectionName
System.String
workspaceRequest
CreateWorkspaceRequest
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<Workspace>

Applies to