models.view_protection module

class models.view_protection.ViewProtection(inactive=None, magneto_entity_id=None, protection_jobs=None)[source]

Bases: object

Implementation of the ‘ViewProtection’ model.

Specifies information about the Protection Jobs that are protecting the View.

inactive (bool): Specifies if this View is an inactive View that was

created on this Remote Cluster to store the Snapshots created by replication. This inactive View cannot be NFS or SMB mounted.

magneto_entity_id (long|int): Specifies the id of the Protection

Source that is using this View.

protection_jobs (list of ProtectionJobInfo): Array of Protection Jobs.

Specifies the Protection Jobs that are protecting the View.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.