Example #1
0
 /// <summary>
 /// Returns the status of the specified report Export To operation from the
 /// specified workspace.
 /// </summary>
 /// <remarks>
 /// &lt;br/&gt;**Required scope**: Report.ReadWrite.All or Report.Read.All
 /// &lt;br/&gt;To set the permissions scope, see [Register an
 /// app](https://docs.microsoft.com/power-bi/developer/register-app).
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='groupId'>
 /// The group id
 /// </param>
 /// <param name='reportId'>
 /// The report id
 /// </param>
 /// <param name='exportId'>
 /// The export id
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <Export> GetExportToFileStatusAsync(this IReportsOperations operations, Guid groupId, Guid reportId, string exportId, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetExportToFileStatusInGroupWithHttpMessagesAsync(groupId, reportId, exportId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }