question

oisman-5336 avatar image
oisman-5336 asked ·

How to get Disk Tier from api?

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" ...

8387-disk1.png

8482-disk2.png


azure-managed-disks
disk1.png (31.7 KiB)
disk2.png (1.6 KiB)
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Sam-Cogan avatar image
Sam-Cogan answered ·

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.

8484-2020-05-19-20-34-14.png



Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.