v8

latestSwagger 2.0raw.githubusercontent.com2020-04-21151833.2 KB
GetRecommendations

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

get/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/recommendations

Path parameters

subscriptionIdstring required

The Azure subscription ID.

Query parameters

api-versionstring required

The version of the API to be used with the client request.

$filterstring

The filter to apply to the recommendations.<br>Filter can be applied to properties ['ResourceId', 'ResourceGroup', 'RecommendationTypeGuid', 'Category'] with operators ['eq', 'and', 'or'].<br>Example:<br>- $filter=Category eq 'Cost' and ResourceGroup eq 'MyResourceGroup'

$topinteger

The number of recommendations per page if a paged version of this API is being used.

$skipTokenstring

The page-continuation token to use with a paged version of this API.

Response

OK. Successfully obtained cached recommendations.

nextLinkstring

The link used to get the next page of recommendations.