Hello,
We are using a Perl script which querry the VCenter and collect the VM annotation property. But we want to change and collect the tags of the VM. But (thanks to this forum) apparently you can use tags with Perl only with if you are 6.5 release vSphere Automation SDK for Perl.
The problem is our version of vSphere is 6.0, if i upgrade my version of SDK Perl to 6,5 will be some problems ?
Thanks in advance (and sorry for my English).
Well, the tags are exposed via the rest api, so you could probably use w/e version you wanted. Just need to construct the rest request.
But the SDKs are backwards compatible. So if you use 6.5, you can target a 6.0 vCenter no issues. Just don't try to access any new 6.5 features against 6.0. You can use a version check if you need to do so across multiple versions of vCenter.
Thank you for you answer. I believe that the tag can be querry only with the 6.5 release of SDK (i was based on https://communities.vmware.com/thread/548240?start=0&tstart=0) but i am a novice so i'm not sure at all.
So if understand you i can't acces new features of the 6.5 on a VCenter 6.0 . But tags are not a new feature of VCenter so if I want to querry them i just need my SDK on 6.5 version ?
Thx a lot