models_v2.pure_protection_group_params module

class models_v2.pure_protection_group_params.PureProtectionGroupParams(objects=None, max_snapshots_on_primary=None, source_id=None, source_name=None, pre_post_script=None)[source]

Bases: object

Implementation of the ‘PureProtectionGroupParams’ model.

Specifies the parameters which are specific to Pure related Protection Groups.

Attributes:
objects (list of PureProtectionGroupObjectParams): Specifies the

objects to be included in the Protection Group.

max_snapshots_on_primary (long|int): Specifies the number of snapshots

to retain on the primary environment. If not specified, then snapshots will not be deleted from the primary environment.

source_id (long|int): Specifies the id of the parent of the objects. source_name (string): Specifies the name of the parent of the

objects.

pre_post_script (HostBasedBackupScriptParams): Specifies params of a

pre/post scripts to be executed before and after a backup run.

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.