Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.5 KB

File metadata and controls

30 lines (23 loc) · 1.5 KB

V1PortStatus

PortStatus represents the error condition of a service port

Properties

Name Type Description Notes
error str Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase. [optional]
port int Port is the port number of the service port of which status is recorded here
protocol str Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"

Example

from kubernetes.client.models.v1_port_status import V1PortStatus

# TODO update the JSON string below
json = "{}"
# create an instance of V1PortStatus from a JSON string
v1_port_status_instance = V1PortStatus.from_json(json)
# print the JSON string representation of the object
print(V1PortStatus.to_json())

# convert the object into a dict
v1_port_status_dict = v1_port_status_instance.to_dict()
# create an instance of V1PortStatus from a dict
v1_port_status_from_dict = V1PortStatus.from_dict(v1_port_status_dict)

[Back to Model list] [Back to API list] [Back to README]