Imports.GetImportByIdWithHttpMessagesAsync Method (String, String, String, Dictionary<String, List<String>>, CancellationToken)
Gets the import metadata for the specifed import id
Namespace: Microsoft.PowerBI.Api.Beta
Assembly: Microsoft.PowerBI.Api (in Microsoft.PowerBI.Api.dll)
Syntax
public Task<HttpOperationResponse<Import>> GetImportByIdWithHttpMessagesAsync(
string collectionName,
string workspaceId,
string importId,
Dictionary<string, List<string>> customHeaders = null,
CancellationToken cancellationToken = null
)
Parameters
collectionName
Type: System.StringThe workspace collection name
workspaceId
Type: System.StringThe workspace id
importId
Type: System.StringThe import id
customHeaders
Type: System.Collections.Generic.Dictionary<String, List<String>>Headers that will be added to request.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<HttpOperationResponse<Import>>
Implements
See Also
Imports Class
Microsoft.PowerBI.Api.Beta Namespace
Return to top