models.mongoDB_additional_params module¶
-
class
models.mongoDB_additional_params.
MongoDBAdditionalParams
(secondary_node_tag=None, use_secondary_for_backup=None)[source]¶ Bases:
object
Implementation of the ‘MongoDBAdditionalParams’ model.
Contains additional parameters required for taking backup from this Mongo cluster.
Attributes: secondary_node_tag (list of string): The tag associated with the
secondary nodes from which backups should be performed.
- use_secondary_for_backup (bool): Set to true if this cluster uses
secondary nodes for backup.
-
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.