HP BL680c XenEnterprise Management API - Page 227
RPCs associated with class: VDI
UPC - 884420396314
View all HP BL680c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 227 highlights
2.26. CLASS: VDI CHAPTER 2. API REFERENCE 2.26.2 RPCs associated with class: VDI RPC name: snapshot Overview: Take a read-only snapshot of the VDI, returning a reference to the snapshot. If any driver params are specified then these are passed through to the storage-specific substrate driver that takes the snapshot. NB the snapshot lives in the same Storage Repository as its parent. Signature: (VDI ref) snapshot (session_id s, VDI ref vdi, (string -> string) Map driver_params) Arguments: type VDI ref (string → string) Map name vdi driver params description The VDI to snapshot Optional parameters that can be passed through to backend driver in order to specify storage-type-specific snapshot options Return Type: VDI ref The ID of the newly created VDI. RPC name: clone Overview: Take an exact copy of the VDI and return a reference to the new disk. If any driver params are specified then these are passed through to the storage-specific substrate driver that implements the clone operation. NB the clone lives in the same Storage Repository as its parent. Signature: (VDI ref) clone (session_id s, VDI ref vdi, (string -> string) Map driver_params) Arguments: type VDI ref (string → string) Map name vdi driver params description The VDI to clone Optional parameters that are passed through to the backend driver in order to specify storage-type-specific clone options Return Type: VDI ref The ID of the newly created VDI. RPC name: resize Overview: Resize the VDI. Signature: void resize (session_id s, VDI ref vdi, int size) 227