models_v2.create_view_failover_request module

class models_v2.create_view_failover_request.CreateViewFailoverRequest(mtype=None, planned_failover_params=None, unplanned_failover_params=None)[source]

Bases: object

Implementation of the ‘CreateViewFailoverRequest’ model.

Specifies the request parameters to create a view failover task.

mtype (Type20Enum): Specifies the failover type.<br> ‘Planned’

indicates this is a planned failover.<br> ‘Unplanned’ indicates this is an unplanned failover, which is used when source cluster is down.

planned_failover_params (PlannedFailoverParams2): Specifies parameters

to create a planned failover.

unplanned_failover_params (UnplannedFailoverParams2): Specifies

parameters to create an unplanned failover.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.