azure-sdk-for-java icon indicating copy to clipboard operation
azure-sdk-for-java copied to clipboard

[QUERY] Add data disk with write accelerator enabled

Open MSSedusch opened this issue 1 year ago • 1 comments

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):

  • OS: Windows
  • IDE: Eclipse
  • Library/Libraries: azure-resourcemanager-compute 2.40.0

Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • [x] Query Added
  • [x] Setup information Added

MSSedusch avatar Oct 09 '24 16:10 MSSedusch

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

github-actions[bot] avatar Oct 09 '24 16:10 github-actions[bot]

@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?

weidongxu-microsoft avatar Nov 04 '24 07:11 weidongxu-microsoft

@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

MSSedusch avatar Nov 04 '24 15:11 MSSedusch

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

weidongxu-microsoft avatar Nov 05 '24 04:11 weidongxu-microsoft

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

MSSedusch avatar Nov 05 '24 12:11 MSSedusch