feat(xen-api): XenApi#getRecord()
This commit is contained in:
parent
3c271ffffd
commit
0fc0be19b2
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user