models.exchange_dag_protection_preference module

class models.exchange_dag_protection_preference.ExchangeDAGProtectionPreference(passive_copy_preference_server_guid_list=None, passive_only=None, use_user_specified_passive_preference_order=None)[source]

Bases: object

Implementation of the ‘ExchangeDAGProtectionPreference’ model.

Specifies the information about the preference order while choosing between which database copy of the database which is part of DAG should be protected.

Attributes:
passive_copy_preference_server_guid_list (list of string): Specifies

the preference order of the exchange servers from which passive database copies should be protected. The preference order is descending which indicates that passive database copy in the first server in the list gets the highest preference.

passive_only (bool): Specifies that only passive database copies should

be protected if this is set to true. If this is set to false, both active and passive database copies can be protected.

use_user_specified_passive_preference_order (bool): Specifies to use

the user specified preference order of exchange servers from which the passive database copies should be protected if this is set to true.

Every copy of an Exchange database in a DAG is assigned an activation preference number. This number is used by the system as part of the passive database activation process. If this bool flag is set to false, the reverse order of activation

is used while choosing between passive copies.

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.