models.remote_host module¶
-
class
models.remote_host.
RemoteHost
(address=None, mtype=None)[source]¶ Bases:
object
Implementation of the ‘RemoteHost’ model.
Specifies the settings required to connect to a remote host.
- Attributes:
- address (string): Specifies the address (IP, hostname or FQDN) of the
remote host that will run the script.
- mtype (TypeRemoteHostEnum): Specifies the OS type of the remote host
that will run the script. Currently only ‘kLinux’ is supported. ‘kLinux’ indicates the Linux operating system. ‘kWindows’ indicates the Microsoft Windows operating system. ‘kAix’ indicates the IBM AIX operating system. ‘kSolaris’ indicates the Oracle Solaris operating system. ‘kSapHana’ indicates the Sap Hana database system developed by SAP SE. ‘kOther’ indicates the other types of operating system.
-
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.