Join this episode for more Stories from the EUC Road as Sean Donahue (Nutanix) and Al Solorzano (E360) tackle this all too familiar question. But does it have to an \u201cOR\u201d statement? Can you have an \u201cAND\u201d statement instead? Tune in to learn more about performance in EUC, happy employees and how you might sleep better at night in the age of Malware and Ransomware.<\/p><\/oembed>

Resources<\/p>

解决了

REST API V3-获取主机使用统计

  • 2019年5月8日
  • 1回复
  • 2357意见

你好,



我已经消耗了API v3.0来从Nutanix元素中检索数据。但是我,我不知道如何从主机或VM中获取使用统计信息信息(CPU,RAM,磁盘)。



有一种方法可以在V3上做到这一点,或者我需要致电V2或V1?
图标

最好的答案hitesh08012019年11月26日,16:04

查看原件

该主题已关闭以供评论

1回复

UserLevel 4
徽章 +5

你好 @Brunor

这么晚才回复很抱歉。

我正在寻找一种使用V3实现此目的的方法,但我知道您可以使用V2实现此目标。

尝试以下链接查看终点。
https://www.nutanix.dev/reference/prism_element/v2/


获取有关主机的详细信息
https://www.nutanix.dev/reference/prism_element/v2/api/hosts/get-hosts-uuid-gethost

获取VM的详细信息
https://www.nutanix.dev/reference/prism_element/v2/api/vms/get-vms-vms-uuid-getvm

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