/// <summary> /// Lists billing subscription by invoice section name. /// <see href="https://docs.microsoft.com/en-us/rest/api/consumption/" /> /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='billingAccountName'> /// billing Account Id. /// </param> /// <param name='invoiceSectionName'> /// InvoiceSection Id. /// </param> public static BillingSubscriptionsListResult ListByInvoiceSectionName(this IBillingSubscriptionsOperations operations, string billingAccountName, string invoiceSectionName) { return(operations.ListByInvoiceSectionNameAsync(billingAccountName, invoiceSectionName).GetAwaiter().GetResult()); }