IWorkspaces.PostWorkspaceWithHttpMessagesAsync(String, CreateWorkspaceRequest, Dictionary<String,List<String>>, CancellationToken) Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.PowerBI.Api.V1.Models.Workspace>> PostWorkspaceWithHttpMessagesAsync (string collectionName, Microsoft.PowerBI.Api.V1.Models.CreateWorkspaceRequest workspaceRequest = null, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
abstract member PostWorkspaceWithHttpMessagesAsync : string * Microsoft.PowerBI.Api.V1.Models.CreateWorkspaceRequest * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.PowerBI.Api.V1.Models.Workspace>>

Parameters

collectionName
System.String
workspaceRequest
CreateWorkspaceRequest
customHeaders
System.Collections.Generic.Dictionary<System.String,System.Collections.Generic.List<System.String>>
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<HttpOperationResponse<Workspace>>

Applies to