Share via


IDatasetsOperations.PostDatasetWithHttpMessagesAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.PowerBI.Api.Models.Dataset>> PostDatasetWithHttpMessagesAsync (Microsoft.PowerBI.Api.Models.CreateDatasetRequest dataset, Microsoft.PowerBI.Api.Models.DefaultRetentionPolicy? defaultRetentionPolicy = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member PostDatasetWithHttpMessagesAsync : Microsoft.PowerBI.Api.Models.CreateDatasetRequest * Nullable<Microsoft.PowerBI.Api.Models.DefaultRetentionPolicy> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.PowerBI.Api.Models.Dataset>>
Public Function PostDatasetWithHttpMessagesAsync (dataset As CreateDatasetRequest, Optional defaultRetentionPolicy As Nullable(Of DefaultRetentionPolicy) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of Dataset))

Parameters

defaultRetentionPolicy
Nullable<DefaultRetentionPolicy>
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Applies to