VMware Cloud Community
blanket
Enthusiast
Enthusiast

Reconfigure (CPU,Memory,Disk) IaaS VM via REST API

I'm trying to do the same thing as its been described here

Re: VCAC Request Resource Action EDIT to change Memory And CPU

or somewhat related Ricky El-Qasem on Twitter: "Looking for the API call to GET externalId part of provider-Cafe.Shim.Vi...


The issue I'm having is where to get current values for the selected VM:

  • provider-Cafe.Shim.VirtualMachine.Reconfigure.Storages
  • provider-Cafe.Shim.VirtualMachine.Reconfigure.Networks


If I can create a request via Web UI, let it run through and then take the values from already completed request. This works ... But I need to get those values somehow via REST API only...


https://vra/catalog-service/api/consumer/resources/b9f18256-097b-4248-a250-2aa3d4240567

Would seem logical, but there is no storage information in there. Also building Networks, would be very cumbersome...

Any ideas?

Tags (2)
0 Kudos
1 Reply
jmedd
Enthusiast
Enthusiast

I'm trying to get the same information, would also like to get:

provider-Cafe.Shim.VirtualMachine.Reconfigure.PropertyBag

Can anyone help?

Blog: http://jonathanmedd.net | Twitter: @jonathanmedd
0 Kudos