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.

Attributes:

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

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.