问题

如何使用Prism API列出VMS?

  • 2021年2月24日
  • 2回复
  • 120次观点

你好,

我正在使用我从SDK中提取的prism_services_java.jar。我的问题是Java API没有文档,我不知道如何使用

vmadministration.getvms()

我猜参数与REST API匹配,但我需要文档来使其工作。

谢谢,谢谢。


2回复

UserLevel 6.
徽章 +5

@massimoz.以下是一些与REST API相关的文档https://www.nutanix.dev/reference/prism_element/v2/api/vms/get-vms-uuid-getvm.

https://www.nutanix.dev/reference.

我希望这可以帮助你。需要帮助请叫我。:微笑:

谢谢anish!不幸的是,这个API需要UUID,我不必开始。我宁愿使用https://www.nutanix.dev/reference/prism_element/v2/api/vms/get-vms-getvms/

但是,此查询需要7个参数,我不知道如何填充。

回复


Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu