Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vapi.library : Need additional information about the content library item #2637

Closed
nirbhaybagmar opened this issue Oct 21, 2021 · 3 comments · Fixed by #2662
Closed

vapi.library : Need additional information about the content library item #2637

nirbhaybagmar opened this issue Oct 21, 2021 · 3 comments · Fixed by #2662

Comments

@nirbhaybagmar
Copy link
Contributor

Need Info:
After fetching the list of the library items(template), need detailed information about each template such as guest os, disk, n/w adapters, etc.

Currently, I can only see the library item specific details
@dougm If you could help me with anything here?

@github-actions
Copy link
Contributor

Howdy 🖐   nirbhaybagmar ! Thank you for your interest in this project. We value your feedback and will respond soon.

If you want to contribute to this project, please make yourself familiar with the CONTRIBUTION guidelines.

@dougm
Copy link
Member

dougm commented Oct 27, 2021

The vCenter content library API does not provide those details: https://vdc-repo.vmware.com/vmwb-repository/dcr-public/1cd28284-3b72-4885-9e31-d1c6d9e26686/71ef7304-a6c9-43b3-a3cd-868b2c236c81/doc/operations/com/vmware/content/library/item.get-operation.html

If you're using OVF items, you could parse the details from the item's .ovf file.
If you're using VMTX items, you can use the SOAP API to get details as you would for any VM.
Which type of item are you using?

@nirbhaybagmar
Copy link
Contributor Author

nirbhaybagmar commented Oct 28, 2021

@dougm Thanks for the reply, I am using both items.
Can you point me out to SOAP API docs for the same?
For OVF, will it be possible to fetch the disk, n/w, controllers details?

@embano1 embano1 linked a pull request Nov 24, 2021 that will close this issue
14 tasks
nirbhaybagmar added a commit to nirbhaybagmar/govmomi that referenced this issue Nov 24, 2021
nirbhaybagmar added a commit to nirbhaybagmar/govmomi that referenced this issue Nov 24, 2021
nirbhaybagmar added a commit to nirbhaybagmar/govmomi that referenced this issue Nov 27, 2021
nirbhaybagmar added a commit to nirbhaybagmar/govmomi that referenced this issue Nov 27, 2021
nirbhaybagmar added a commit to nirbhaybagmar/govmomi that referenced this issue Nov 30, 2021
yuyin002 pushed a commit to yuyin002/govmomi that referenced this issue Jan 12, 2022
pradeep288 pushed a commit to pradeep288/govmomi that referenced this issue Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants