CustomRecommendationsClient Interface
public interface CustomRecommendationsClient
An instance of this class provides access to all the operations defined in CustomRecommendationsClient.
Method Summary
Method Details
createOrUpdate
public abstract CustomRecommendationInner createOrUpdate(String scope, String customRecommendationName, CustomRecommendationInner customRecommendationBody)
Creates or updates a custom recommendation over a given scope.
Parameters:
Returns:
createOrUpdateWithResponse
public abstract Response<CustomRecommendationInner> createOrUpdateWithResponse(String scope, String customRecommendationName, CustomRecommendationInner customRecommendationBody, Context context)
Creates or updates a custom recommendation over a given scope.
Parameters:
Returns:
delete
public abstract void delete(String scope, String customRecommendationName)
Delete a custom recommendation over a given scope.
Parameters:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String scope, String customRecommendationName, Context context)
Delete a custom recommendation over a given scope.
Parameters:
Returns:
get
public abstract CustomRecommendationInner get(String scope, String customRecommendationName)
Get a specific custom recommendation for the requested scope by customRecommendationName.
Parameters:
Returns:
getWithResponse
public abstract Response<CustomRecommendationInner> getWithResponse(String scope, String customRecommendationName, Context context)
Get a specific custom recommendation for the requested scope by customRecommendationName.
Parameters:
Returns:
list
public abstract PagedIterable<CustomRecommendationInner> list(String scope)
Get a list of all relevant custom recommendations over a scope.
Parameters:
Returns:
list
public abstract PagedIterable<CustomRecommendationInner> list(String scope, Context context)
Get a list of all relevant custom recommendations over a scope.
Parameters:
Returns: