models_v2.archival_target_configuration module¶
-
class
models_v2.archival_target_configuration.
ArchivalTargetConfiguration
(schedule=None, retention=None, target_id=None, copy_on_run_success=None, config_id=None, target_name=None, target_type=None)[source]¶ Bases:
object
Implementation of the ‘Archival Target Configuration’ model.
Specifies settings for copying Snapshots External Targets (such as AWS or Tape). This also specifies the retention policy that should be applied to Snapshots after they have been copied to the specified target.
- Attributes:
- schedule (Schedule): Specifies a schedule frequency and schedule unit
for copying Snapshots to backup targets.
retention (Retention): Specifies the retention of a backup. copy_on_run_success (bool): Specifies if Snapshots are copied from the
first completely successful Protection Group Run or the first partially successful Protection Group Run occurring at the start of the replication schedule. <br> If true, Snapshots are copied from the first Protection Group Run occurring at the start of the replication schedule that was completely successful i.e. Snapshots for all the Objects in the Protection Group were successfully captured. <br> If false, Snapshots are copied from the first Protection Group Run occurring at the start of the replication schedule, even if first Protection Group Run was not completely successful i.e. Snapshots were not captured for all Objects in the Protection Group.
- config_id (string): Specifies the unique identifier for the target
getting added. This field need to be passed only when policies are being updated.
- target_id (long|int): Specifies the Archival target to copy the
Snapshots to.
- target_name (string): Specifies the Archival target name where
Snapshots are copied.
- target_type (TargetTypeEnum): Specifies the Archival target type where
Snapshots are copied.
-
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.