VMware {code} Community
FumbleBe
Contributor
Contributor

How to get tagging related objects

Hi guys,

I'm looking for a way to list on a vcenter, all tags.

Then, all objects associated to those tags.

I Know that I'm supposed to use Vapi on Vcenter 6.0+, and I mannaged to use correctly the script of the Automation SDK GitHub 

But I am not familiar enough with Perl to achieve what I want.

Any help will be appreciated !

Tags (2)
0 Kudos
1 Reply
FumbleBe
Contributor
Contributor

I found this in the documentation:

sub list {

my ($self, %args) = @_;
return $self->invoke(method_name => 'list', method_args => {});
}
 
But I don't know how to use it...
0 Kudos