Azure / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.36k stars 2k forks source link

[QUERY] Add data disk with write accelerator enabled #42242

Open MSSedusch opened 1 month ago

MSSedusch commented 1 month ago

Query/Question Is it possible to attach an existing managed disk to a virtual machine with write accelerator enabled? I had a look at the source code but I could not find a way other than switching to the service clients.

Why is this not a Bug or a feature Request? I might have missed something - so wanted to ask first if this is really not possible today.

Setup (please complete the following information if applicable):

github-actions[bot] commented 1 month ago

Thank you for your feedback. Tagging and routing to the team member best able to assist.

weidongxu-microsoft commented 3 weeks ago

@MSSedusch

We haven't put this property in convenience API. That might be the reason you didn't find it in SDK.

Are you configuring this for Virtual Machine, or Virtual Machine Scale Set?

MSSedusch commented 3 weeks ago

@weidongxu-microsoft I would like to use it for Virtual Machines. I switched back to using the service clients but it would be great to be able to use it in the convenience API. Thanks

weidongxu-microsoft commented 3 weeks ago

Got it.

Status update: I've made a draft PR https://github.com/Azure/azure-sdk-for-java/pull/42796, but I am not able to test it -- my test subscription does not have any MS family vCore. I will need to find a way to get some quota.

Let me know if you know that write accelerator can be enabled on some less privileged compute resource... <-- request ticket raised, waiting for support

MSSedusch commented 3 weeks ago

No, only M Series supports Write Accelerator. Thanks for the PR!