Hey guys,
I'm trying to reconfigure an existing virtual machine in vRA.
I'm following the same method for provisioning a catalog item, unfortunately nothing happens when I sent the request bellow.
I can the in the requests the reconfigure request with status successful with some of the parameters I specified, but then when I go to the virtual machine itself I see that nothing changed.
var vmResourceActionRequest = vCACCAFERequestsHelper.getRequestForResourceAction(operation);
var vmResourceRequestData = vCACCAFERequestsHelper.getResourceActionRequestData(vmResourceActionRequest);
var json = JSON.parse(vmResourceRequestData);
json.cpu = "3";
json.disks[1].data.size = "57";
vCACCAFERequestsHelper.setResourceActionRequestData(vmResourceActionRequest , JSON.stringify(json));
System.log(JSON.stringify(json));
vCACCAFERequestsHelper.requestResourceActionWithRequest(operation, vmResourceActionRequest);
Any idea?
Hey Idk if you still need this but I think you have to add “Cafe.Shim.VirtualMachine.Reconfigure.Requestor”: “grant” to the request
Hey Idk if you still need this but I think you have to add “Cafe.Shim.VirtualMachine.Reconfigure.Requestor”: “grant” to the request
I did figure this out back then, forgot completely about this post.
Thanks for sharing the solution(: