bdamian
Expert
Expert

Cloud Account trigger Data Collection

Is there any way to trigger a Data Collection of a Cloud Account via API call? 

bdamian_0-1652883941541.png

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!

---
Damián Bacalov
vExpert 2017-2018-2019-2020-2021-2022
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
Labels (2)
0 Kudos
2 Replies
DexG83
Enthusiast
Enthusiast

Hi,

I did that for a vRA 8.6.2 solution. I built a vRO Workflow as follows:

  1. Get Cloud Account IDs
    • run Get operation Workflow from /Library/vRealize Automation 8.x and Cloud Services/Sample Rest Operations
    • pathUri: /iaas/api/cloud-accounts-vsphere
  2. Extract the needed Cloud Account ID

  3. run Post operation Workflow from /Library/vRealize Automation 8.x and Cloud Services/Sample Rest Operations
    • pathUri: '/iaas/api/cloud-accounts/' + cloudAccountId + '/private-image-enumeration';

Regards,

Dex

0 Kudos
bdamian
Expert
Expert

This call only sync the VM templates in vCenter, not a Data Collection. 

bdamian_0-1652963633504.png

In fact, NSX-T endpoint doesn't have this option.

 

---
Damián Bacalov
vExpert 2017-2018-2019-2020-2021-2022
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
0 Kudos