Azure Advisor Resource Graph API

Vikas Neekhra 6 Reputation points
2021-11-02T05:49:13.317+00:00

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
        }
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,033 questions
Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,722 questions
Azure AI Metrics Advisor
Azure AI Metrics Advisor
An Azure artificial intelligence analytics service that proactively monitors metrics and diagnoses issues.
83 questions
{count} vote

1 answer

Sort by: Most helpful
  1. JakobStrm-2195 1 Reputation point
    2021-12-15T21:47:23.403+00:00

    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?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.