/// <summary> /// Retrieves the status of the recommendation computation or generation /// process. Invoke this API after calling the generation recommendation. The /// URI of this API is returned in the Location field of the response header. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='operationId'> /// The operation ID, which can be found from the Location field in the /// generate recommendation response header. /// </param> public static void GetGenerateStatus(this IRecommendationsOperations operations, System.Guid operationId) { operations.GetGenerateStatusAsync(operationId).GetAwaiter().GetResult(); }