models.aag_and_databases module

class models.aag_and_databases.AagAndDatabases(aag=None, databases=None)[source]

Bases: object

Implementation of the ‘AagAndDatabases’ model.

Specifies an AAG and the database members of the AAG.

Attributes:
aag (ProtectionSource): Specifies a generic structure that represents

a node in the Protection Source tree. Node details will depend on the environment of the Protection Source.

databases (list of ProtectionSource): Specifies databases found that

are members of the AAG.

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.