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?