Hi,
I am trying to get the vcloud director version from API. I am currently using
client.login("administrator@System", "dangerous", client.getSupportedVersions().get("1.0"));
to get the version.. but i want to get the version of the VCD not the api version.. i am using both VCD 1.5 and 1.0 so depending on the ip i need to fetch the version of the VCD.
Thanks,
Kiran
Hi Kiran,
The <VCloud> object returned when GET-ting /api/admin contains a <Description> element showing the vCD version. It's available both in 1.0 and 1.5 APIs.
Since I'm not very acquainted with the SDKs, someone familiar with the Java SDK can point you to the relevant class representing this API call.
Regards,
Todor
Hi Kiran,
The <VCloud> object returned when GET-ting /api/admin contains a <Description> element showing the vCD version. It's available both in 1.0 and 1.5 APIs.
Since I'm not very acquainted with the SDKs, someone familiar with the Java SDK can point you to the relevant class representing this API call.
Regards,
Todor
Hi Kiran,
To get the vCD version information.
VcloudClient.getVcloudAdmin().getResource().getDescription();
Regards,
Rajesh Kamal.