Apache CloudStack 4.17.0.0 Root Admin API Reference

listVirtualMachinesUsageHistory

Lists VM stats

Request parameters

Parameter NameDescriptionRequired
enddateend date to filter VM 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 VM 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