HP BL680c XenEnterprise Management API - Page 213
Arguments, description, Return Type, RPC name: destroy, Overview, Signature, Possible Error Codes,
UPC - 884420396314
View all HP BL680c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 213 highlights
2.25. CLASS: SR CHAPTER 2. API REFERENCE Arguments: type host ref (string → string) Map int string string string string (string → string) Map name host device config physical size name label name description type content type sm config description The host to create/make the SR on The device config string that will be passed to backend SR driver The physical size of the new storage repository The name of the new storage repository The description of the new storage repository The type of the SR; used to specify the SR backend driver to use The type of the new SRs content, if required (e.g. ISOs) Storage backend specific configuration options Return Type: string The uuid of the newly created Storage Repository. RPC name: destroy Overview: Destroy specified SR, removing SR-record from database and remove SR from disk. (In order to affect this operation the appropriate device config is read from the specified SR's PBD on current host). Signature: void destroy (session_id s, SR ref sr) Arguments: type name description SR ref sr The SR to destroy Return Type: void Possible Error Codes: SR HAS PBD RPC name: forget Overview: Removing specified SR-record from database, without attempting to remove SR from disk. Signature: void forget (session_id s, SR ref sr) Arguments: type name description SR ref sr The SR to destroy Return Type: void Possible Error Codes: SR HAS PBD 213