models_v2.init_failover_request module¶
-
class
models_v2.init_failover_request.
InitFailoverRequest
(source_cluster=None, replication_cluster=None)[source]¶ Bases:
object
Implementation of the ‘Init Failover Request.’ model.
Specifies the failover request parameters to initiate a failover.
- Attributes:
- source_cluster (FailoverSourceCluster1): Specifies the details about
source cluster involved in the failover operation.
- replication_cluster (FailoverSourceCluster): Specifies the details
about replication cluster involved in the failover operation.
-
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.