models.remote_host_connector_params module

class models.remote_host_connector_params.RemoteHostConnectorParams(credentials=None, host_address=None, host_type=None)[source]

Bases: object

Implementation of the ‘RemoteHostConnectorParams’ model.

Contains parameters to connect to a remote host.

Attributes:
credentials (Credentials): Credentials that will be used to login to

the remote host. For env of type kLinux, it is expected that user has setup the password-less access to the remote host. So only username field MUST be specified.

host_address (string): Address (i.e., IP, hostname or FQDN) of the

host to connect to. Magneto will connect using ssh or equivalent to the host.

host_type (int): Execution status of the host_address.

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.