/// <summary>
 /// Get pricesheet data for invoice id (invoiceName).
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='billingAccountId'>
 /// Azure Billing Account Id.
 /// </param>
 /// <param name='billingProfileId'>
 /// Azure Billing Profile Id.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <PricesheetDownloadResponse> BeginDownloadAsync(this IBillingProfilePricesheetOperations operations, string billingAccountId, string billingProfileId, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.BeginDownloadWithHttpMessagesAsync(billingAccountId, billingProfileId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Get pricesheet data for invoice id (invoiceName).
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='billingAccountId'>
 /// Azure Billing Account Id.
 /// </param>
 /// <param name='billingProfileId'>
 /// Azure Billing Profile Id.
 /// </param>
 public static PricesheetDownloadResponse BeginDownload(this IBillingProfilePricesheetOperations operations, string billingAccountId, string billingProfileId)
 {
     return(operations.BeginDownloadAsync(billingAccountId, billingProfileId).GetAwaiter().GetResult());
 }