/// <summary>
 /// Lists the policies for a billing profile. This operation is supported only
 /// for billing accounts with agreement type Microsoft Customer 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='billingProfileName'>
 /// The ID that uniquely identifies a billing profile.
 /// </param>
 public static Policy GetByBillingProfile(this IPoliciesOperations operations, string billingAccountName, string billingProfileName)
 {
     return(operations.GetByBillingProfileAsync(billingAccountName, billingProfileName).GetAwaiter().GetResult());
 }