mlec
Contributor
Contributor

vRA 8.1 "Sync Images" via Rest API

Jump to solution

Does anyone know how to trigger Image synchronization for a vCenter cloud account via REST API?

0 Kudos
1 Solution

Accepted Solutions
lnairn
VMware Employee
VMware Employee

Hi mlec​,

As per vRealize Automation Infrastructure as a Service (IaaS) API - VMware API Explorer - VMware {code} , you can use /iaas/api/cloud-accounts/{id}/private-image-enumeration (POST)

Just keep in mind that running Image Sync can generate load in the system

Regards,

Leandro.

View solution in original post

0 Kudos
2 Replies
lnairn
VMware Employee
VMware Employee

Hi mlec​,

As per vRealize Automation Infrastructure as a Service (IaaS) API - VMware API Explorer - VMware {code} , you can use /iaas/api/cloud-accounts/{id}/private-image-enumeration (POST)

Just keep in mind that running Image Sync can generate load in the system

Regards,

Leandro.

View solution in original post

0 Kudos
mlec
Contributor
Contributor

I missed that one... it worked perfectly thank you.

I appreciate the warning about load on the system. I plan to use this during a pipeline that rebuilds our images early morning so, we shouldn't have an issue with the load during that time.

Thanks again for the assist.

0 Kudos