This is really important to me! Right sizing is a big factor in recommendations, so something must be missing since we don't get the amount for this?
Azure Advisor Resource Graph API
Vikas Neekhra
6
Reputation points
Azure Advisor Resource Graph API is not returning savings amount for a Virtual Machine when it falls under "Right-size or shutdown underutilized virtual machines".
Is it expected? Please suggest.
Below url says that it will also show savings amount for right-sizing or shutdown, with currentSku and targetSku.
https://azure.microsoft.com/en-in/updates/azure-advisor-cost-recommendation-enhancements/
Here is the response I receive without savings amount in Resource graph api response
{
"id": "/subscriptions/xxxxxxx-yyyyyyy-zzzz-aaaaaaaaaa/resourceGroups/XYZ_resource_group/providers/Microsoft.Compute/virtualMachines/XYZ/providers/Microsoft.Advisor/recommendations/dddddd-44444-4444-4444-44444444444",
"name": "dddddd-44444-4444-4444-44444444444",
"type": "microsoft.advisor/recommendations",
"tenantId": "222222-3333-4444-5555-6666666666",
"kind": "",
"location": "",
"resourceGroup": "XYZ_resource_group",
"subscriptionId": "xxxxxxx-yyyyyyy-zzzz-aaaaaaaaaa",
"managedBy": "",
"sku": null,
"plan": null,
"properties": {
"recommendationTypeId": "3333331-55555-fffff-ccccc-777777777777",
"extendedProperties": {
"MaxTotalNetworkP95": "0",
"deploymentId": "222222222-33333-4444-5555-66666666666",
"MaxMemoryP95": "0",
"currentSku": "Standard_D8s_v3",
"MaxCpuP95": "1",
"targetSku": "Standard_D2s_v3",
"roleName": "XYZ"
},
"resourceMetadata": {
"resourceId": "/subscriptions/xxxxxxx-yyyyyyy-zzzz-aaaaaaaaaa/resourceGroups/XYZ_resource_group/providers/Microsoft.Compute/virtualMachines/XYZ",
"singular": null,
"plural": null,
"action": null,
"source": null
},
"shortDescription": {
"solution": "Right-size or shutdown underutilized virtual machines",
"problem": "Right-size or shutdown underutilized virtual machines"
},
"suppressionIds": null,
"impactedValue": "XYZ",
"impactedField": "Microsoft.Compute/virtualMachines",
"lastUpdated": "2021-10-20T14:14:11.9340000Z",
"category": "Cost",
"metadata": null,
"impact": "High"
},
"tags": null,
"identity": null,
"zones": null,
"extendedLocation": null
}