/// <summary>
 /// Lists all billing permissions the caller has for a billing account.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='billingAccountName'>
 /// billing Account Id.
 /// </param>
 /// <param name='billingProfileName'>
 /// Billing Profile Id.
 /// </param>
 public static BillingPermissionsListResult ListByBillingProfile(this IBillingPermissionsOperations operations, string billingAccountName, string billingProfileName)
 {
     return(operations.ListByBillingProfileAsync(billingAccountName, billingProfileName).GetAwaiter().GetResult());
 }