models.application_restore_object module¶
-
class
models.application_restore_object.
ApplicationRestoreObject
(ad_restore_parameters=None, application_server_id=None, exchange_restore_parameters=None, sql_restore_parameters=None, target_host_id=None, target_root_node_id=None)[source]¶ Bases:
object
Implementation of the ‘ApplicationRestoreObject’ model.
Specifies the Application Server to restore and parameters specific to that application.
- Attributes:
- ad_restore_parameters (AdRestoreParameters): Specifies the parameters
specific to Application domain controller.
- application_server_id (long|int): Specifies the Application Server to
restore (for example, kSQL).
- exchange_restore_parameters (ExchangeRestoreParameters): Specifies
parameters speicific to Exchange Application Server.
- sql_restore_parameters (SqlRestoreParameters): Specifies the
parameters specific the Application Server instance.
- target_host_id (long|int): Specifies the target host if the
application is to be restored to a different host. If this is empty, then the application is restored to the original host, which is the hosting Protection Source.
- target_root_node_id (long|int): Specifies the registered root node,
like vCenter, of targetHost. If this is empty, then it is assumed the root node of the target host is the same as the host Protection Source of the application.
-
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.