def METHOD_NAME(cli_ctx, location):
    """Return a list of Kubernetes versions available for a new cluster."""
    from azext_aks_preview._client_factory import cf_container_services
    from jmespath import search  # pylint: disable=import-error
    results = cf_container_services(cli_ctx).list_orchestrators(location, resource_type='managedClusters').as_dict()
    # Flatten all the "orchestrator_version" fields into one array
    return search('orchestrators[*].orchestrator_version', results)