models.node_port module

class models.node_port.NodePort(is_ui_port=None, port=None, tag=None)[source]

Bases: object

Implementation of the ‘NodePort’ model.

VmInfo specifies information of a NodePort per service and port combination within an application instance.


is_ui_port (bool): TODO: type description here. port (int): TODO: type description here. tag (TagEnum): Specifies use of the nodeport kDefault - No specific

service. kHttp - HTTP server. kHttps - Secure HTTP server. kSsh - Secure shell server.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.