
2.9.
CLASS: VM
CHAPTER 2.
API REFERENCE
RPC name: get current operations
Overview:
Get the current operations field of the given VM.
Signature:
((string -> vm_operations) Map) get_current_operations (session_id s, VM ref self)
Arguments:
type
name
description
VM ref
self
reference to the object
Return Type:
(string
→
vm operations) Map
value of the field
RPC name: get power state
Overview:
Get the power state field of the given VM.
Signature:
(vm_power_state) get_power_state (session_id s, VM ref self)
Arguments:
type
name
description
VM ref
self
reference to the object
Return Type:
vm power state
value of the field
RPC name: get name label
Overview:
Get the name/label field of the given VM.
Signature:
string get_name_label (session_id s, VM ref self)
Arguments:
type
name
description
VM ref
self
reference to the object
Return Type:
string
value of the field
69