Is there any way to trigger a Data Collection of a Cloud Account via API call?
I'm orchestrating the creation of projects with their own new NSX-T segments. I need the data collection in order to create the IPAM ranges in vRA.
Thanks!
Hi,
I did that for a vRA 8.6.2 solution. I built a vRO Workflow as follows:
Extract the needed Cloud Account ID
Regards,
Dex
This call only sync the VM templates in vCenter, not a Data Collection.
In fact, NSX-T endpoint doesn't have this option.
Did you manage to find a way of doing this? Looking to do the same and also unable to find a way
The only way I found so far is a workaround.
I query the resource I want and wait till it's there.
run=true;
do {
System.sleep(60000) //wait a minute
jsonObj=vraOperation("GET","/iaas/api/fabric-computes/$filter=name%20eq%20'"+hostShort+"*'",null,false);
if (jsonObj.content.length>0){
if (jsonObj.content[0].type == "Host"){
run=false;
}
}
} while (run);
I have the same ask. Actually asked this via an VMware consultant on a project back in 2020 and I guess nothing really happened. He would send an internal informal request to look into this.
Actually the exact same usecase. Automating project creation and placing each project on a dedicated project network.
This should really be implemented in the API's.
Avoid a resource poll and potentially waiting for 10 minutes to get that new project. Not very 2023 🙂
I've spoken with a VMware guy and he tells me that there was an API call to do this but now it doesn't work. So sad...