ActHostCollection Class¶
ActHostCollection represents a collection of Actifio hosts generated using :doc: Actifio.get_hosts() </actifio> method. ActHostCollection is a iterable collection.
-
class
Actifio.
ActHostCollection
(appliance, lshostdata)¶
Example:¶
hosts = appliance.get_hosts(hostname="myVM", isvm="true")
print(hosts)
>>> Collection of 1 hosts.
print(len(hosts))
>>> 1