models_v2.failover_source_cluster module

class models_v2.failover_source_cluster.FailoverSourceCluster(objects=None, protection_group_id=None)[source]

Bases: object

Implementation of the ‘Failover source cluster.’ model.

Specifies the details about replication cluster involved in the failover operation.

Attributes:
objects (list of FailoverObjects): Specifies the details about the

objects being failed over. In case if view based orchastrator is calling this then they should pass a object id for replicated view entity which belongs to the live tracking view on replication cluster.

protection_group_id (string): Specifies the protection group id from

the replication 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. The protection group id must be specified in this format <cluster_id>:<cluster_incarnation_id:jobid>

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.