We are currently trying to change the storage reservation policy on a VM deployment, based on the request from the use. From what I've seen in this forum, the best way should be to use the disk datagrid in the custom form. But when we do so, we are unable to modify the original disks already included in the template.
Behavior:
Original template
Disk 0: 100 GB
Disk 1: 10 GB
The action used to fill the datagrid:
-------------------------
var disks = new Array();
disks.push({"is_clone":true,"initial_location":null,"volumeId":0,"id":null,"label":null,"custom_properties":"",
"userCreated":false,"storage_reservation_policy":in_StorageReservationPolicy,"capacity":100});
disks.push({"is_clone":true,"initial_location":null,"volumeId":1,"id":null,"label":null,"custom_properties":"",
"userCreated":false,"storage_reservation_policy":in_StorageReservationPolicy,"capacity":10});
return disks;
When we fill the data grid with those 2 disk, it is deploying the VM with a total of 4 disks... Any idea why ? We are under vRA 7.6.