Hello everybody,
I tried to change an iconID of a catalog resource in vRA with the following code in vRO:
var catalogItems = vCACCAFEEntitiesFinder.getCatalogResources(host)
for each(var c in catalogItems){
if(c.name == "VM-YPHUF-002"){
System.log(c.name + " - " + c.getIconId());
c.setIconId("Infrastructure.CatalogItem.Machine.Virtual.vSphere");
System.log(c.name + " - " + c.getIconId());
}
}
But, when I refresh vRA the iconID still the same (cafe_default_icon_genericCatalogItem)
Also I tried to make a post via Rest Api in catalog-service/api/consumer/resources/. But the method is not allow.
Any ideas?
https://www.linkedin.com/in/eric-daniel-cano-394022117/