DatasetsOperations.PostDatasetWithHttpMessagesAsync 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.
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>>
override this.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
- dataset
- CreateDatasetRequest
- defaultRetentionPolicy
- Nullable<DefaultRetentionPolicy>
- customHeaders
- Dictionary<String,List<String>>
- cancellationToken
- CancellationToken