feat(xen-api): XenApi#getRecord()

This commit is contained in:
Julien Fontanet 2017-11-26 19:19:03 +00:00
parent 3c271ffffd
commit 0fc0be19b2

View File

@ -446,6 +446,10 @@ export class Xapi extends EventEmitter {
throw new Error('there is no object with the UUID ' + uuid)
}
getRecord (type, ref) {
return this._sessionCall(`${type}.get_record`, ref)
}
@cancelable
getResource ($cancelToken, pathname, {
host,