How to get Disk Tier from api?
I use the api method - "Disks - Get". In response, I get sku tier - Standart or Premium, but I want to get Disk Tier, for example, "P1", "S4", "E1" ...
How to get Disk Tier from api?
I use the api method - "Disks - Get". In response, I get sku tier - Standart or Premium, but I want to get Disk Tier, for example, "P1", "S4", "E1" ...
You can't really. The sizes listed in that table only really exist from a pricing perspective. What get's deployed into Azure when you pick a tier is a disk of the appropriate size, and all the other properties hang off that. So the only property you get is the size. You can confirm this by looking at a disk in resource explorer.
3 people are following this question.