/// <summary> /// Lists the subscriptions for a customer. The operation is supported only for /// billing accounts with agreement type Microsoft Partner Agreement. /// <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='billingAccountName'> /// The ID that uniquely identifies a billing account. /// </param> /// <param name='customerName'> /// The ID that uniquely identifies a customer. /// </param> public static IPage <BillingSubscription> ListByCustomer(this IBillingSubscriptionsOperations operations, string billingAccountName, string customerName) { return(operations.ListByCustomerAsync(billingAccountName, customerName).GetAwaiter().GetResult()); }