/// <summary> /// Lists the invoices for a subscription. /// <see href="https://docs.microsoft.com/en-us/rest/api/billing/" /> /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='periodStartDate'> /// Invoice period start date. /// </param> /// <param name='periodEndDate'> /// Invoice period end date. /// </param> public static IPage <Invoice> ListByBillingSubscription(this IInvoicesOperations operations, string periodStartDate, string periodEndDate) { return(operations.ListByBillingSubscriptionAsync(periodStartDate, periodEndDate).GetAwaiter().GetResult()); }