/// <summary> /// Lists billing subscriptions by billing account 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> public static IPage <BillingSubscriptionSummary> ListByBillingAccountName(this IBillingSubscriptionsOperations operations, string billingAccountName) { return(operations.ListByBillingAccountNameAsync(billingAccountName).GetAwaiter().GetResult()); }