joe_coolish
joe_coolish

Reputation: 7259

Azure Calculator API: How do I get expected network bandwidth metrics?

I am working on building out a report that will help team members make decisions on VM types for Azure deployments. One of the data points I'm being asked to provide is the "Expected network bandwidth" for each type. (See this link for an example of the metric)

In the Virtual Machine Sizes REST API, there is no mention of expected network bandwidth. Where can I get that information? Is there another API that I can hit to get more detailed information about virtual machine SKUs?

The information that is returned from that API looks like this:

{
  "name": "Standard_B1ls",
  "numberOfCores": 1,
  "osDiskSizeInMB": 1047552,
  "resourceDiskSizeInMB": 4096,
  "memoryInMB": 512,
  "maxDataDiskCount": 2
}

Upvotes: 2

Views: 658

Answers (1)

Ansuman Bal
Ansuman Bal

Reputation: 11451

You can use resource sku list rest api to get more details on the sku .

GET https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Compute/skus?api-version=2019-04-01

I tested the above and I could see more details like IOPS and No. of Nic's etc , but there is no expected network bandwidth.

enter image description here

I tried to check with az cli as well , but it seems its not possible to get expected bandwidth from anywhere.

az vm list-skus -l eastus2 --size Standard_A1_v2

enter image description here

Reference:

Resource Skus - List - REST API (Azure Compute) | Microsoft Docs

az vm | Microsoft Docs

Upvotes: 0

Related Questions