/// <summary>
 /// Lists all of the private link resources in the specified account.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group that contains the Batch account.
 /// </param>
 /// <param name='accountName'>
 /// The name of the Batch account.
 /// </param>
 /// <param name='maxresults'>
 /// The maximum number of items to return in the response.
 /// </param>
 public static IPage <PrivateLinkResource> ListByBatchAccount(this IPrivateLinkResourceOperations operations, string resourceGroupName, string accountName, int?maxresults = default(int?))
 {
     return(operations.ListByBatchAccountAsync(resourceGroupName, accountName, maxresults).GetAwaiter().GetResult());
 }