How to use REST API to check the available and total resources in the host when creating a VM?

Solution Verified - Updated -

Issue

  • How to use REST API to check the available and total resources in the host when creating a VM?
  • Need to know the total and remaining CPU, memory and disk before deploying the virtual machine.

Environment

  • Red Hat Enterprise Virtualization 3.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content