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 = null, System.Threading.CancellationToken cancellationToken = null);
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>

Parameters

operations
IWorkspaces
collectionName
String
workspaceRequest
CreateWorkspaceRequest
cancellationToken
CancellationToken

Returns

Task<Workspace>

Applies to