Description
Query/Question
I am currently using azure-mgmt-compute
version 1.41.4 to create managed disks for Azure VMs. So far, I have only created Premium_LRS
SSD disks successfully using the DiskSkuTypes
mapping shown in the static block.
Now I want to extend support for creating PremiumV2_LRS
disks (Premium SSD v2). However, upon checking the compiled SDK and constants available, I noticed that DiskStorageAccountTypes.PREMIUM_V2_LRS
or similar does not exist in this version.
Can you please confirm whether Premium SSD v2 (PremiumV2_LRS) is supported in azure-mgmt-compute:1.41.4
? If not, how can I use azure-resourcemanager-compute:2.50.0
to create a PremiumV2_LRS
disk with custom IOPS and throughput values (e.g., 4000 IOPS, 125 MBps for a 50GB disk)?
Why is this not a Bug or a Feature Request?
This is a version compatibility and API usage query. I am not reporting a bug or requesting a new feature; I am asking for clarification on SDK capabilities and guidance on how to use a newer SDK version to achieve my goal.
Setup (please complete the following information if applicable):
-
OS: Ubuntu 20.04.6 LTS
-
IDE: IntelliJ IDEA 2025.1
-
Libraries:
com.microsoft.azure:azure-mgmt-compute:1.41.4
- Evaluating:
com.azure.resourcemanager:azure-resourcemanager-compute:2.50.0
Information Checklist
- Query Added
- Setup information Added