models_v2.view_failover_2 module

class models_v2.view_failover_2.ViewFailover2(is_failover_ready=None, remote_view_id=None, remote_cluster_id=None, remote_cluster_incarnation_id=None)[source]

Bases: object

Implementation of the ‘ViewFailover2’ model.

Specifies the information about the failover of the view.

Attributes:
is_failover_ready (bool): Specifies if the view is ready for

failover.

remote_view_id (long|int): Specifies the remote view id. remote_cluster_id (long|int): Specifies the remote cluster id. remote_cluster_incarnation_id (long|int): Specifies the remote cluster

incarnation id.

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.