IImportsOperations.PostImportFileWithHttpMessage 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.
Overloads
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>>
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
- nameConflict
- Nullable<ImportConflictHandlerMode>
- customHeaders
- Dictionary<String,List<String>>
- cancellationToken
- CancellationToken
Returns
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>>
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
- file
- Stream
- datasetDisplayName
- String
- nameConflict
- Nullable<ImportConflictHandlerMode>
- customHeaders
- Dictionary<String,List<String>>
- cancellationToken
- CancellationToken
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET