models_v2.planned_failover_params_2 module¶
-
class
models_v2.planned_failover_params_2.
PlannedFailoverParams2
(mtype=None, prepare_planned_failver_params=None)[source]¶ Bases:
object
Implementation of the ‘PlannedFailoverParams2’ model.
Specifies parameters to create a planned failover.
- Attributes:
- mtype (Type21Enum): Spcifies the planned failover type.<br> ‘Prepare’
indicates this is a preparation for failover.<br> ‘Finalize’ indicates this is finalization of failover. After this is done, the view can be used as source view.
- prepare_planned_failver_params (PreparePlannedFailverParams):
Specifies parameters of preparation of a planned failover.
-
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.