Forum Discussion
vneekhra
Jul 11, 2021Copper Contributor
Azure advisor API
I am trying to fetch cost recommendations using Advisor API call and need to fetch data from this category(Optimize virtual machine spend by resizing or shutting down underutilized instances). https...
tofanjena
Jul 11, 2021Copper Contributor
Hi,
Do you have any data in Azure portal at Advisor blade , if Yes , definitely you will get the same data in your API Call.
If you do not have any data in Azure Portal Advisor blade , dont expect to get while calling the API.
A side Note : - also there is a Az Module to get Advisor not only Cost ( for all aspect ) .
just have a look to all synatx : Get-AzAdvisorRecommendation
Do you have any data in Azure portal at Advisor blade , if Yes , definitely you will get the same data in your API Call.
If you do not have any data in Azure Portal Advisor blade , dont expect to get while calling the API.
A side Note : - also there is a Az Module to get Advisor not only Cost ( for all aspect ) .
just have a look to all synatx : Get-AzAdvisorRecommendation