models.host_info module¶
-
class
models.host_info.
HostInfo
(password=None, server_name=None, target=None, user_name=None)[source]¶ Bases:
object
Implementation of the ‘HostInfo’ model.
Specifies the list of all hosts on which the certificate is deployed.
- Attributes:
- password (string): Specifies the password of the host to establish
SSH connection. The certificate is copied to the host after generating the certificate on the cluster.
- server_name (string): Specifies the servername of the host where
certificate is to be deployed.
- target (string): Specifies the target location on the host where the
certificate is deployed.
user_name (string): Specifies the username of the host.
-
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.