While creating a snapshot cost report, we look at each billing line item and put it in one of the above categories based on the account type we receive from this rest API from Microsoft.
In cases where we do not receive an account type from the API, we look at the product column in the billing item and then put them in one of the performance categories listed above.
Premium, Premium SSD, Premium HDD, Premium LRS, Premium GRS, Standard, Standard SSD, Standard HDD, Standard_LRS, Standard_GRS, Standard_ZRS, StandardSSD LRS, StandardSSD GRS, Premium Page, Standard Page, Other
Standard_LRS --> Standard
Premium_LRS --> Premium LRS
Standard_ZRS --> Standard
nil --> look at the product column in the bill
Standard HDD Managed Disks - ZRS Snapshots - EU West --> Standard HDD
Premium SSD Managed Disks - Snapshots LRS - AP Southeast --> Premium SSD
Standard HDD Managed Disks - LRS Snapshots - US West --> Standard HDD
Standard HDD Managed Disks - Disk Operations --> Standard HDD
Bandwidth Inter-Region - Intra Continent Data Transfer Out - Europe --> Other
Standard -> Standard HDD
Premium LRS -> Premium SSD
Standard HDD -> Standard HDD
Premium SSD -> Premium SSD
Other -> Zone Redundant