Source code for azure.mgmt.batchai.models.remote_login_information_py3

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


[docs]class RemoteLoginInformation(Model): """Contains remote login details to SSH/RDP to a compute node in cluster. Variables are only populated by the server, and will be ignored when sending a request. :ivar node_id: Id of the compute node :vartype node_id: str :ivar ip_address: ip address :vartype ip_address: str :ivar port: port number. :vartype port: float """ _validation = { 'node_id': {'readonly': True}, 'ip_address': {'readonly': True}, 'port': {'readonly': True}, } _attribute_map = { 'node_id': {'key': 'nodeId', 'type': 'str'}, 'ip_address': {'key': 'ipAddress', 'type': 'str'}, 'port': {'key': 'port', 'type': 'float'}, } def __init__(self, **kwargs) -> None: super(RemoteLoginInformation, self).__init__(**kwargs) self.node_id = None self.ip_address = None self.port = None