Apache CloudStack 4.18.0.0 Root Admin API Reference

listVirtualMachinesUsageHistory

Lists VM stats

Request parameters

Parameter NameDescriptionRequired
enddateend date to filter stats.Use format "yyyy-MM-dd hh:mm:ss")false
idthe ID of the virtual machine.false
idsthe IDs of the virtual machines, mutually exclusive with id.false
keywordList by keywordfalse
namename of the virtual machine (a substring match is made against the parameter value returning the data for all matching VMs).false
pagefalse
pagesizefalse
startdatestart date to filter stats.Use format "yyyy-MM-dd hh:mm:ss")false

Response Tags

Response NameDescription
idthe ID of the virtual machine
displaynameuser generated name. The name of the virtual machine is returned if no displayname exists.
namethe name of the virtual machine
statsthe list of VM stats