
2.26.
CLASS: VDI
CHAPTER 2.
API REFERENCE
RPC name: get all records
Overview:
Return a map of VDI references to VDI records for all VDIs known to the system.
Signature:
((VDI ref -> VDI record) Map) get_all_records (session_id s)
Return Type:
(VDI ref
→
VDI record) Map
records of all objects
RPC name: get uuid
Overview:
Get the uuid field of the given VDI.
Signature:
string get_uuid (session_id s, VDI ref self)
Arguments:
type
name
description
VDI ref
self
reference to the object
Return Type:
string
value of the field
RPC name: get name label
Overview:
Get the name/label field of the given VDI.
Signature:
string get_name_label (session_id s, VDI ref self)
Arguments:
type
name
description
VDI ref
self
reference to the object
Return Type:
string
value of the field
RPC name: set name label
Overview:
Set the name/label field of the given VDI.
Signature:
void set_name_label (session_id s, VDI ref self, string value)
232