models_v2.continuous_snapshot_params module¶
-
class
models_v2.continuous_snapshot_params.
ContinuousSnapshotParams
(is_enabled=None, max_allowed_snapshots=None)[source]¶ Bases:
object
Implementation of the ‘Continuous Snapshot Params’ model.
Specifies the source snapshots to be taken even if there is a pending run in a protection group.
- Attributes:
- is_enabled (bool): Specifies whether source snapshots should be taken
even if there is a pending run.
- max_allowed_snapshots (int): Specifies the maximum number of source
snapshots allowed for a given object in a protection group. This is only applicable if isContinuousSnapshottingEnabled is set to true.
-
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.