Share via


ImportsOperationsExtensions.PostImportAsync Method

Definition

Overloads

PostImportAsync(IImportsOperations, String, ImportInfo, Nullable<ImportConflictHandlerMode>, Nullable<Boolean>, CancellationToken)
PostImportAsync(IImportsOperations, Guid, String, ImportInfo, Nullable<ImportConflictHandlerMode>, Nullable<Boolean>, CancellationToken)

PostImportAsync(IImportsOperations, String, ImportInfo, Nullable<ImportConflictHandlerMode>, Nullable<Boolean>, CancellationToken)

public static System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Import> PostImportAsync (this Microsoft.PowerBI.Api.IImportsOperations operations, string datasetDisplayName, Microsoft.PowerBI.Api.Models.ImportInfo importInfo, Microsoft.PowerBI.Api.Models.ImportConflictHandlerMode? nameConflict = default, bool? skipReport = default, System.Threading.CancellationToken cancellationToken = default);
static member PostImportAsync : Microsoft.PowerBI.Api.IImportsOperations * string * Microsoft.PowerBI.Api.Models.ImportInfo * Nullable<Microsoft.PowerBI.Api.Models.ImportConflictHandlerMode> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Import>
<Extension()>
Public Function PostImportAsync (operations As IImportsOperations, datasetDisplayName As String, importInfo As ImportInfo, Optional nameConflict As Nullable(Of ImportConflictHandlerMode) = Nothing, Optional skipReport As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Import)

Parameters

operations
IImportsOperations
datasetDisplayName
String
importInfo
ImportInfo
skipReport
Nullable<Boolean>
cancellationToken
CancellationToken

Returns

Applies to

PostImportAsync(IImportsOperations, Guid, String, ImportInfo, Nullable<ImportConflictHandlerMode>, Nullable<Boolean>, CancellationToken)

public static System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Import> PostImportAsync (this Microsoft.PowerBI.Api.IImportsOperations operations, Guid groupId, string datasetDisplayName, Microsoft.PowerBI.Api.Models.ImportInfo importInfo, Microsoft.PowerBI.Api.Models.ImportConflictHandlerMode? nameConflict = default, bool? skipReport = default, System.Threading.CancellationToken cancellationToken = default);
static member PostImportAsync : Microsoft.PowerBI.Api.IImportsOperations * Guid * string * Microsoft.PowerBI.Api.Models.ImportInfo * Nullable<Microsoft.PowerBI.Api.Models.ImportConflictHandlerMode> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Import>
<Extension()>
Public Function PostImportAsync (operations As IImportsOperations, groupId As Guid, datasetDisplayName As String, importInfo As ImportInfo, Optional nameConflict As Nullable(Of ImportConflictHandlerMode) = Nothing, Optional skipReport As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Import)

Parameters

operations
IImportsOperations
groupId
Guid
datasetDisplayName
String
importInfo
ImportInfo
skipReport
Nullable<Boolean>
cancellationToken
CancellationToken

Returns

Applies to