Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 545 Bytes

File metadata and controls

32 lines (19 loc) · 545 Bytes

ActHostCollection Class

ActHostCollection represents a collection of Actifio hosts generated using :doc: Actifio.get_hosts() </actifio> method. ActHostCollection is a iterable collection.

.. toctree::
   :maxdepth: 2
   :caption: Contents:
   :hidden:

   acthost

.. automodule:: Actifio
.. autoclass:: ActHostCollection
   :members:


Example:

hosts = appliance.get_hosts(hostname="myVM", isvm="true")

print(hosts)

>>> Collection of 1 hosts.

print(len(hosts))

>>> 1