ActImage Class¶
ActImage object represent a Actifio backup image. This is a returned as part of a ActImageCollection through interable protocol, or through and index.
Method Actifio.get_image_bytime() would return the ActImage
, instead of the ActImageCollection
.
-
class
Actifio.
ActImage
(applaince, imgdata)¶ -
details
()¶ Fetch further details of the backups image.
Args:
NoneReturns:
None
-
restoreoptions
(action, targethost)¶ Retrieve restore options for a ActImage for mount / clone / restore operations
Args:
action (required): operation [ mount, restore , clone ] targethost (required): Host ID of the targethost, ActHost type Returns:
Returns a ActRestoreoptionCollection object with the relavant restore options for this image, for the specified action.
-
provisioningoptions
()¶ Retrieve restore xoptions for a ActImage for mount / clone / restore operations
Args:
None:Returns:
Returns a ActProvisiningptionCollection object with the relavant provisioning options for this appclass.
-
Example:¶
images = appliance.get_images(appname="mydb", jobclass="OnVault")
firstimage = images[0]
print(type(firstimage))
>>> Actifio.ActSupportClasses.ActImage