VMware {code} Community
SebEnn
Contributor
Contributor

Set type of hard disk for virtual machine

Hello, 
when creating a virtual machine within the vCenter Web Interface, you have the option to set the Disk Provisioning of a hard disk (later called type of hard disk).

SebEnn_0-1661244293232.png


I wanted to set this option with the vSphere Automation SDK in Java, but I couldn't figure out a way to do so.
Does anyone know which UpdateSpec or CreateSpec I need to use?

Reply
0 Kudos
1 Reply
Denis_Chorbadzh
VMware Employee
VMware Employee

Hi,

 

Thank you for contacting us.

As this forum is mainly concerned with vSphere Client SDK and Plugins, we are not able to provide a concrete answer.

I suggest looking into the Automation SDK for Java page: https://developer.vmware.com/web/sdk/7.0/vsphere-automation-java.

 

Best Regards,

Denis

Reply
0 Kudos