models.restore_info module¶
-
class
models.restore_info.
RestoreInfo
(archival_target=None, attempt_number=None, cloud_deploy_target=None, job_run_id=None, job_uid=None, parent_source=None, restore_time_usecs=None, snapshot_relative_dir_path=None, source=None, start_time_usecs=None, view_name=None, vm_had_independent_disks=None)[source]¶ Bases:
object
Implementation of the ‘RestoreInfo’ model.
Specifies the info regarding a full SQL snapshot.
- Attributes:
- archival_target (ArchivalExternalTarget): Specifies settings about the
Archival External Target (such as Tape or AWS).
attempt_number (int): Specifies the attempt number. cloud_deploy_target (CloudDeployTargetDetails): Message that specifies
the details about CloudDeploy target where backup snapshots may be converted and stored.
job_run_id (long|int): Specifies the id of the job run. job_uid (UniversalId): Specifies an id for an object that is unique
across Cohesity Clusters. The id is composite of all the ids listed below.
- parent_source (ProtectionSource): Specifies a generic structure that
represents a node in the Protection Source tree. Node details will depend on the environment of the Protection Source.
- restore_time_usecs (int): This field specifies the time in to which
the object needs to be restored. This filed is only applicable when object is being backeup using CDP feature.
- snapshot_relative_dir_path (string): Specifies the relative path of
the snapshot directory.
- source (ProtectionSource): Specifies a generic structure that
represents a node in the Protection Source tree. Node details will depend on the environment of the Protection Source.
- start_time_usecs (long|int): Specifies the start time specified as a
Unix epoch Timestamp (in microseconds).
view_name (string): Specifies the name of the view. vm_had_independent_disks (bool): Specifies if the VM had independent
disks.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.