Share via


IRecommendationsOperations Interface

Definition

RecommendationsOperations operations.

public interface IRecommendationsOperations
type IRecommendationsOperations = interface
Public Interface IRecommendationsOperations

Methods

GenerateWithHttpMessagesAsync(Dictionary<String,List<String>>, CancellationToken)

Initiates the recommendation generation or computation process for a subscription. This operation is asynchronous. The generated recommendations are stored in a cache in the Advisor service.

GetGenerateStatusWithHttpMessagesAsync(Guid, Dictionary<String,List<String>>, CancellationToken)

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.

GetWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Obtains details of a cached recommendation.

ListNextWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

Obtains cached recommendations for a subscription. The recommendations are generated or computed by invoking generateRecommendations.

ListWithHttpMessagesAsync(String, Nullable<Int32>, String, Dictionary<String,List<String>>, CancellationToken)

Obtains cached recommendations for a subscription. The recommendations are generated or computed by invoking generateRecommendations.

Extension Methods

Generate(IRecommendationsOperations)

Initiates the recommendation generation or computation process for a subscription. This operation is asynchronous. The generated recommendations are stored in a cache in the Advisor service.

GenerateAsync(IRecommendationsOperations, CancellationToken)

Initiates the recommendation generation or computation process for a subscription. This operation is asynchronous. The generated recommendations are stored in a cache in the Advisor service.

Get(IRecommendationsOperations, String, String)

Obtains details of a cached recommendation.

GetAsync(IRecommendationsOperations, String, String, CancellationToken)

Obtains details of a cached recommendation.

GetGenerateStatus(IRecommendationsOperations, Guid)

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.

GetGenerateStatusAsync(IRecommendationsOperations, Guid, CancellationToken)

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.

List(IRecommendationsOperations, String, Nullable<Int32>, String)

Obtains cached recommendations for a subscription. The recommendations are generated or computed by invoking generateRecommendations.

ListAsync(IRecommendationsOperations, String, Nullable<Int32>, String, CancellationToken)

Obtains cached recommendations for a subscription. The recommendations are generated or computed by invoking generateRecommendations.

ListNext(IRecommendationsOperations, String)

Obtains cached recommendations for a subscription. The recommendations are generated or computed by invoking generateRecommendations.

ListNextAsync(IRecommendationsOperations, String, CancellationToken)

Obtains cached recommendations for a subscription. The recommendations are generated or computed by invoking generateRecommendations.

Applies to