def list_virtual_networks(client, private_cloud, resource_pool, location):
    """
    Returns the list of available virtual networks in a resource pool, in a private cloud.
    """
    return client.list(location, private_cloud, resource_pool)