Hello,
is there any way how to manage "VM policy placement" the new feature in vCloud Director 10 for SP via CLI / API.
I google it and also look into vCloud Director API [ vCloud Director API - VMware API Explorer - VMware {code} ]. But didnt find a command.
or it can be manage via vCenter as this are VM Group in DRS
Thanks
Stan
it's under Compute policy API
How it exactly works??
1) I retrieve the VM element of target virtual machine
GET https://vcdcloud.com/api/vApp/vapp-ef36fa87-186f-4a2c-816c-fad5e3cf4c1b
2) I copy all output after request from body
3) I created new request with PUT and in body I modify VDC compute policy
https://vcdcloud.com/api/vApp/vm-dbfcb645-7a84-4ac6-9631-f29695e2cf53/action/reconfigureVm
4) After apply I get error "HTTP 405 Method Not Allowed"
I am not sure, that I use API request correct
Can you send me manual how to do??
Thank you
Is it correct syntax method PUT in body??
Thank you for help