VMware Cloud Community
Danco74
Enthusiast
Enthusiast
Jump to solution

Request resource action- reconfigure

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
Jump to solution

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
Jump to solution

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

Danco74
Enthusiast
Enthusiast
Jump to solution

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

Reply
0 Kudos