/// <summary>
 /// Updates the policies for a customer. This operation is supported only for
 /// billing accounts with agreement type Microsoft Partner Agreement.
 /// </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>
 /// <param name='parameters'>
 /// Request parameters that are provided to the update policies operation.
 /// </param>
 public static CustomerPolicy UpdateCustomer(this IPoliciesOperations operations, string billingAccountName, string customerName, CustomerPolicy parameters)
 {
     return(operations.UpdateCustomerAsync(billingAccountName, customerName, parameters).GetAwaiter().GetResult());
 }