CustomRecommendationsOperations interface

Interface representing a CustomRecommendations operations.

Properties

createOrUpdate

Creates or updates a custom recommendation over a given scope

delete

Delete a custom recommendation over a given scope

get

Get a specific custom recommendation for the requested scope by customRecommendationName

list

Get a list of all relevant custom recommendations over a scope

Property Details

createOrUpdate

Creates or updates a custom recommendation over a given scope

createOrUpdate: (scope: string, customRecommendationName: string, customRecommendationBody: CustomRecommendation, options?: CustomRecommendationsCreateOrUpdateOptionalParams) => Promise<CustomRecommendation>

Property Value

(scope: string, customRecommendationName: string, customRecommendationBody: CustomRecommendation, options?: CustomRecommendationsCreateOrUpdateOptionalParams) => Promise<CustomRecommendation>

delete

Delete a custom recommendation over a given scope

delete: (scope: string, customRecommendationName: string, options?: CustomRecommendationsDeleteOptionalParams) => Promise<void>

Property Value

(scope: string, customRecommendationName: string, options?: CustomRecommendationsDeleteOptionalParams) => Promise<void>

get

Get a specific custom recommendation for the requested scope by customRecommendationName

get: (scope: string, customRecommendationName: string, options?: CustomRecommendationsGetOptionalParams) => Promise<CustomRecommendation>

Property Value

(scope: string, customRecommendationName: string, options?: CustomRecommendationsGetOptionalParams) => Promise<CustomRecommendation>

list

Get a list of all relevant custom recommendations over a scope

list: (scope: string, options?: CustomRecommendationsListOptionalParams) => PagedAsyncIterableIterator<CustomRecommendation, CustomRecommendation[], PageSettings>

Property Value

(scope: string, options?: CustomRecommendationsListOptionalParams) => PagedAsyncIterableIterator<CustomRecommendation, CustomRecommendation[], PageSettings>