models.run_protection_job_param module¶
-
class
models.run_protection_job_param.
RunProtectionJobParam
(copy_run_targets=None, run_now_parameters=None, run_type=None, source_ids=None, use_policy_defaults=None)[source]¶ Bases:
object
Implementation of the ‘RunProtectionJobParam’ model.
Specify the parameters to run a protection job.
- Attributes:
- copy_run_targets (list of RunJobSnapshotTarget): Optional parameter to
be set if you want specific replication or archival associated with the policy to run.
- run_now_parameters (list of RunNowParameters): Optional parameters of
a Run Now operation.
- run_type (RunTypeRunProtectionJobParamEnum): Specifies the type of
backup. If not specified, ‘kRegular’ is assumed. ‘kRegular’ indicates a incremental (CBT) backup. Incremental backups utilizing CBT (if supported) are captured of the target protection objects. The first run of a kRegular schedule captures all the blocks. ‘kFull’ indicates a full (no CBT) backup. A complete backup (all blocks) of the target protection objects are always captured and Change Block Tracking (CBT) is not utilized. ‘kLog’ indicates a Database Log backup. Capture the database transaction logs to allow rolling back to a specific point in time. ‘kSystem’ indicates a system backup. System backups are used to do bare metal recovery of the system to a specific point in time.
- source_ids (list of long|int): Optional parameter if you want to back
up only a subset of sources that are protected by the job in this run. If a Run Now operation is to be performed then the source ids should only be provided in the runNowParameters along with the database Ids.
- use_policy_defaults (bool): Specifies if default policy settings should
be used interanally to copy snapshots to external targets already configured in policy. This field will only apply if “CopyRunTargets” is empty.
-
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.