HP BL680c XenEnterprise Management API - Page 99
Class: VM, metrics
UPC - 884420396314
View all HP BL680c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 99 highlights
2.10. CLASS: VM METRICS CHAPTER 2. API REFERENCE 2.10 Class: VM metrics 2.10.1 Fields for class: VM metrics Name Description Quals RO run RO run RO run RO run RO run RO run RO run RO run RO run RO run RO run VM metrics The metrics associated with a VM. Field Type uuid string memory/actual int VCPUs/number int VCPUs/utilisation (int → float) Map VCPUs/CPU VCPUs/params (int → int) Map (string → string) Map VCPUs/flags state (int → string Set) Map string Set start time datetime install time last updated datetime datetime Description unique identifier/object reference Guest's actual memory (bytes) Current number of VCPUs Utilisation for all of guest's current VCPUs VCPU to PCPU map The live equivalent to VM.VCPUs params CPU flags (blocked,online,running) The state of the guest, eg blocked, dying etc Time at which this VM was last booted Time at which the VM was installed Time at which this information was last updated 2.10.2 RPCs associated with class: VM metrics RPC name: get all Overview: Return a list of all the VM metrics instances known to the system. Signature: ((VM_metrics ref) Set) get_all (session_id s) Return Type: (VM metrics ref) Set references to all objects RPC name: get all records Overview: Return a map of VM metrics references to VM metrics records for all VM metrics instances known to the system. Signature: ((VM_metrics ref -> VM_metrics record) Map) get_all_records (session_id s) Return Type: (VM metrics ref → VM metrics record) Map records of all objects 99