public IEnumerable<PSNodeAgentSku> ListNodeAgentSkus(
BatchAccountContext context,
string filterClause = default(string),
int maxCount = default(int),
IEnumerable<BatchClientBehavior> additionalBehaviors = null)
{
PoolOperations poolOperations = context.BatchOMClient.PoolOperations;
ODATADetailLevel filterLevel = new ODATADetailLevel(filterClause: filterClause);
IPagedEnumerable<NodeAgentSku> nodeAgentSkus = poolOperations.ListNodeAgentSkus(filterLevel, additionalBehaviors);
Func<NodeAgentSku, PSNodeAgentSku> mappingFunction = p => { return new PSNodeAgentSku(p); };
return PSPagedEnumerable<PSNodeAgentSku, NodeAgentSku>.CreateWithMaxCount(nodeAgentSkus, mappingFunction,
maxCount, () => WriteVerbose(string.Format(Resources.MaxCount, maxCount)));
}