Managed Object - HostDiskManagerLease

Property of
HostDiskManagerLeaseInfo

Managed Object Description

The DiskManager.Lease managed objects provide access to a per-session lease object on the disk blocks associated with a virtual disk.

Properties

Name Type Description
None

Methods

Methods defined in this Managed Object
ReleaseLease, RenewLease

ReleaseLease

Terminates the lease if it is still active. Because leases are per-session, a lease automatically terminates when a session ends (either by logout or session expiration). Clients should call this method unless they are about to call SessionManager.logout.
Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the HostDiskManagerLease used to make the method call.

Return Value

Type Description
None

Faults

Type Description
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Show WSDL type definition



RenewLease

Renews a lease to prevent it from timing out.
Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the HostDiskManagerLease used to make the method call.

Return Value

Type Description
None

Faults

Type Description
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Show WSDL type definition