Share via


ImportsOperations.PostImportFileWithHttpMessage Method

Definition

Overloads

PostImportFileWithHttpMessage(Stream, String, Nullable<ImportConflictHandlerMode>, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)
PostImportFileWithHttpMessage(Nullable<Guid>, Stream, String, Nullable<ImportConflictHandlerMode>, Nullable<Boolean>, Dictionary<String, List<String>>, CancellationToken)

PostImportFileWithHttpMessage(Stream, String, Nullable<ImportConflictHandlerMode>, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.PowerBI.Api.Models.Import>> PostImportFileWithHttpMessage (System.IO.Stream file, string datasetDisplayName = default, Microsoft.PowerBI.Api.Models.ImportConflictHandlerMode? nameConflict = default, bool? skipReport = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member PostImportFileWithHttpMessage : System.IO.Stream * string * Nullable<Microsoft.PowerBI.Api.Models.ImportConflictHandlerMode> * Nullable<bool> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.PowerBI.Api.Models.Import>>
override this.PostImportFileWithHttpMessage : System.IO.Stream * string * Nullable<Microsoft.PowerBI.Api.Models.ImportConflictHandlerMode> * Nullable<bool> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.PowerBI.Api.Models.Import>>
Public Function PostImportFileWithHttpMessage (file As Stream, Optional datasetDisplayName As String = Nothing, Optional nameConflict As Nullable(Of ImportConflictHandlerMode) = Nothing, Optional skipReport As Nullable(Of Boolean) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of Import))

Parameters

file
Stream
datasetDisplayName
String
skipReport
Nullable<Boolean>
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Implements

Applies to

PostImportFileWithHttpMessage(Nullable<Guid>, Stream, String, Nullable<ImportConflictHandlerMode>, Nullable<Boolean>, Dictionary<String, List<String>>, CancellationToken)

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.PowerBI.Api.Models.Import>> PostImportFileWithHttpMessage (Guid? groupId, System.IO.Stream file, string datasetDisplayName = default, Microsoft.PowerBI.Api.Models.ImportConflictHandlerMode? nameConflict = default, bool? skipReport = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member PostImportFileWithHttpMessage : Nullable<Guid> * System.IO.Stream * string * Nullable<Microsoft.PowerBI.Api.Models.ImportConflictHandlerMode> * Nullable<bool> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.PowerBI.Api.Models.Import>>
override this.PostImportFileWithHttpMessage : Nullable<Guid> * System.IO.Stream * string * Nullable<Microsoft.PowerBI.Api.Models.ImportConflictHandlerMode> * Nullable<bool> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.PowerBI.Api.Models.Import>>
Public Function PostImportFileWithHttpMessage (groupId As Nullable(Of Guid), file As Stream, Optional datasetDisplayName As String = Nothing, Optional nameConflict As Nullable(Of ImportConflictHandlerMode) = Nothing, Optional skipReport As Nullable(Of Boolean) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of Import))

Parameters

groupId
Nullable<Guid>
file
Stream
datasetDisplayName
String
skipReport
Nullable<Boolean>
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Implements

Applies to