Quantcast
Channel: VMware Communities : Unanswered Discussions - vCenter™ Server
Viewing all articles
Browse latest Browse all 3506

How to retrieve vm memory limit configured using rest API

$
0
0

Hi everyone,

I would like to know how can I retrieve the value configured for the memory limit set in a VM using API rest?

 

I tried to get this value using the API service: "curl -k -i  https://???/rest/vcenter/vm/???/hardware/memory", and got the values below;

 

"hot_add_increment_size_MiB":128,
"size_MiB":8192,
"hot_add_enabled":true,
"hot_add_limit_MiB":131072

 

But none of these values is the value set on memory limit and what I need to know is how can I get the memory limit value configured through API rest (preferably) or by any other means?

Thanks a lot!


Viewing all articles
Browse latest Browse all 3506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>