azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

Advisor API recommendations extended properties

Open assaf-sela opened this issue 6 years ago • 6 comments

Hi, My question is regarding Azure advisor recommendations api (https://docs.microsoft.com/en-us/cli/azure/advisor/recommendation?view=azure-cli-latest, rest API as well - https://docs.microsoft.com/en-us/rest/api/advisor/recommendations)

The list of recommendations contains a recommendation type id and some time there are extended properties with additional details regarding the recommendation

The extended properties do not have a defined structure and change according to recommendation type

Is there a reference to all available possibilities of these extended properties according to recommendation types?

Thanks

Assaf


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

assaf-sela avatar Jun 17 '20 12:06 assaf-sela

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @mojayara, @Prasanna-Padmanabhan.

ghost avatar Jun 17 '20 13:06 ghost

routing to appropriate team

yungezz avatar Jun 17 '20 13:06 yungezz

Hi @assaf-grth, yes you are correct the extended properties are dynamic for each recommendation type. But unfortunately there are no documentation for all available possibilities of these extended properties.

mojayara avatar Jun 23 '20 16:06 mojayara

Hi @mojayara, Is there an API call or a github file containing these details?

assaf-sela avatar Jun 23 '20 16:06 assaf-sela

@assaf-grth, sorry we do not have such elaborate details in our public recommendation metadata avaialable in either form you asked for.

FYI though, we have a ARM API to fetch basic details for the all recommendation metadata details. Unfortunately this does not have the extended properties information.

mojayara avatar Jun 23 '20 16:06 mojayara

Is documenting the extendedProperties member for each recommendation category something that is on the road map? There is a discrepancy for cost savings recommendations between what is shown in the portal (savings amount) vs what's returned from the API in extendedProperies (savings amount & annual savings amount), and neither are documented. The portal shows one and the two returned from the API sometimes don't make sense (savings amt X 12mos != annual savings or savings amt X 12mos > annual savings.)

derekscha avatar Jun 08 '22 14:06 derekscha