VMware Cloud Community
TechNoMo
Contributor
Contributor
Jump to solution

vRO Java Script Help

can someone help me convert this from a list all tags to a list all objects with this tag assigned?

 

if (endpoint == null) {
throw "'endpoint' parameter should not be null";
}

var client = endpoint.client();
try {
var tagging = new com_vmware_cis_tagging_tag(client);
var result = tagging.list();

System.log(result);
} finally {
client.close();
}
Tags (1)
Reply
0 Kudos
1 Solution
3 Replies
maverix7
VMware Employee
VMware Employee
Jump to solution

Can you be more specific, I am not sure I understand the ask.

Reply
0 Kudos
TechNoMo
Contributor
Contributor
Jump to solution

yup, I asked a different question, and in the end it ended up being the same result and at the time I just didn't see how the dots connected, nef_user was right on point, and help me see and connect the dots!

Reply
0 Kudos