Danco74
Enthusiast
Enthusiast

Request resource action- reconfigure

Jump to solution

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?

1 Solution

Accepted Solutions
sean_gadson
Enthusiast
Enthusiast

Hey Idk if you still need this but I think you have to add “Cafe.Shim.VirtualMachine.Reconfigure.Requestor”: “grant” to the request

View solution in original post

2 Replies
sean_gadson
Enthusiast
Enthusiast

Hey Idk if you still need this but I think you have to add “Cafe.Shim.VirtualMachine.Reconfigure.Requestor”: “grant” to the request

View solution in original post

Danco74
Enthusiast
Enthusiast

I did figure this out back then, forgot completely about this post.
Thanks for sharing the solution(: 

0 Kudos