Uses of Class
com.xensource.xenapi.Session
-
Uses of Session in com.xensource.xenapi
Fields in com.xensource.xenapi declared as SessionModifier and TypeFieldDescriptionSession.Record.parent
references the parent session that created this session First published in XenServer 5.6.Methods in com.xensource.xenapi that return SessionModifier and TypeMethodDescriptionstatic Session
Session.createFromDbFile
(Connection c, String filename) Minimum allowed role: Not Applicable First published in XenServer 7.0.static Session
Session.getByUuid
(Connection c, String uuid) Get a reference to the session instance with the specified UUID.Session.getParent
(Connection c) Get the parent field of the given session.static Session
Session.loginWithPassword
(Connection c, String uname, String pwd) Attempt to authenticate the user, returning a session reference if successful Minimum allowed role: read-only First published in XenServer 4.0.static Session
Session.loginWithPassword
(Connection c, String uname, String pwd, String version) Attempt to authenticate the user, returning a session reference if successful Minimum allowed role: read-only First published in XenServer 4.0.static Session
Session.loginWithPassword
(Connection c, String uname, String pwd, String version, String originator) Attempt to authenticate the user, returning a session reference if successful Minimum allowed role: read-only First published in XenServer 4.0.VDI.openDatabase
(Connection c) Load the metadata found on the supplied VDI and return a session reference which can be used in API calls to query its contents.static Session
Session.slaveLocalLoginWithPassword
(Connection c, String uname, String pwd) Authenticate locally against a slave in emergency mode.static Session
Types.toSession
(Task task, Connection connection) static Session
Methods in com.xensource.xenapi with parameters of type SessionModifier and TypeMethodDescriptionvoid
VM.assertCanBeRecovered
(Connection c, Session sessionTo) Assert whether all SRs required to recover this VM are available.void
VMAppliance.assertCanBeRecovered
(Connection c, Session sessionTo) Assert whether all SRs required to recover this VM appliance are available.VM.assertCanBeRecoveredAsync
(Connection c, Session sessionTo) Assert whether all SRs required to recover this VM are available.VMAppliance.assertCanBeRecoveredAsync
(Connection c, Session sessionTo) Assert whether all SRs required to recover this VM appliance are available.VM.getSRsRequiredForRecovery
(Connection c, Session sessionTo) List all the SR's that are required for the VM to be recovered Minimum allowed role: read-only First published in XenServer 6.5.VMAppliance.getSRsRequiredForRecovery
(Connection c, Session sessionTo) Get the list of SRs required by the VM appliance to recover.VM.getSRsRequiredForRecoveryAsync
(Connection c, Session sessionTo) List all the SR's that are required for the VM to be recovered Minimum allowed role: read-only First published in XenServer 6.5.VMAppliance.getSRsRequiredForRecoveryAsync
(Connection c, Session sessionTo) Get the list of SRs required by the VM appliance to recover.void
VM.recover
(Connection c, Session sessionTo, Boolean force) Recover the VM Minimum allowed role: read-only First published in XenServer 6.0.void
VMAppliance.recover
(Connection c, Session sessionTo, Boolean force) Recover the VM appliance Minimum allowed role: read-only First published in XenServer 6.0.VM.recoverAsync
(Connection c, Session sessionTo, Boolean force) Recover the VM Minimum allowed role: read-only First published in XenServer 6.0.VMAppliance.recoverAsync
(Connection c, Session sessionTo, Boolean force) Recover the VM appliance Minimum allowed role: read-only First published in XenServer 6.0.