models.exchange_database_copy_info module

class models.exchange_database_copy_info.ExchangeDatabaseCopyInfo(activation_preference_number=None, app_server_id=None, backup_supported=None, backup_unsupported_reasons=None, copy_guid=None, created_time_msecs=None, database_state=None, db_size_bytes=None, dbguid=None, fqdn=None, is_active_copy=None, name=None, owner_id=None, server_name=None, utc_offset_min=None)[source]

Bases: object

Implementation of the ‘ExchangeDatabaseCopyInfo’ model.

Specifies the information about the copy of the Exchange Database on particular Exchange Application Server that is part of DAG.

Attributes:
activation_preference_number (int): Specifies the activation

preference number assigned for this database copy.

app_server_id (int): Specifies the entity id of the Exchange

Application Server which has this database copy.

backup_supported (bool): Specifies if backup is supported for the

Exchange database copy.

backup_unsupported_reasons (list of string): Specifies any reason(s)

for Exchange database backup not supported.

copy_guid (string): Specifies the Guid of the Exchange Database Copy. created_time_msecs (int): Specifies the time when the database is

created in Unix epoch time in milliseconds.

database_state (DatabaseStateEnum): Specifies the state of the

Exchange database copy. Specifies the state of Exchange Database Copy.

‘kUnknown’ indicates the status is not known. ‘kMounted’ indicates the exchange database copy is mounted and healthy. ‘kError’ indicates the exchange database copy is unmounted or partially mounted or is in error state.

db_size_bytes (int): Specifies the size of the Exchange database copy

in bytes.

dbguid (string): Specifies the guid of the Exchange Database. fqdn (string): Specifies the fully qualified domain name of the

Exchange Server on which the database copy is hosted.

is_active_copy (bool): Specifies if the Exchange database copy present

on the Exchange Application server is active or passive.

name (string): Specifes the name of the Exchange Database. owner_id (int): Specifies the owner entity id of the Exchange

Application Server which has this database copy.

server_name (string): Specifies the display name of the Exchange

Application Server on which the database copy is hosted.

utc_offset_min (int): Specifies UTC time offset of database creation

time.

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.