models_v2.source_backup_deactivation module

class models_v2.source_backup_deactivation.SourceBackupDeactivation(replication_cluster_id=None, view_id=None, objects=None, protection_group_id=None, keep_failover_objects=None)[source]

Bases: object

Implementation of the ‘SourceBackupDeactivation’ model.

Specifies the request parmeters to deactivate the backup of failover entities on source cluster.

Attributes:
replication_cluster_id (long|int): Specifies the replication cluster

Id involved in failover operation.

view_id (string): If failover is initiated by view based orchastrator,

then this field specifies the local view id of source cluster which is being failed over. Backup will be deactivated for view object.

objects (list of FailoverObjects): Specifies the list of all local

entity ids of all the objects being failed from the source cluster. Backup will be deactiaved for all given objects.

protection_group_id (string): Specifies the protection group id of the

source cluster from where the objects being failed over. If this is not specified then it will be infer from the list of objects being failed over.

keep_failover_objects (bool): If this is set to true then objects will

not be removed from protection group. If this is set to false, then all objects which are being failed over will be removed from the protection group. If protection group left with zero entities then it will be paused automatically.

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.