Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.27 KB

File metadata and controls

29 lines (22 loc) · 1.27 KB

V1ServiceBackendPort

ServiceBackendPort is the service port being referenced.

Properties

Name Type Description Notes
name str name is the name of the port on the Service. This is a mutually exclusive setting with "Number". [optional]
number int number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name". [optional]

Example

from kubernetes.client.models.v1_service_backend_port import V1ServiceBackendPort

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

# convert the object into a dict
v1_service_backend_port_dict = v1_service_backend_port_instance.to_dict()
# create an instance of V1ServiceBackendPort from a dict
v1_service_backend_port_from_dict = V1ServiceBackendPort.from_dict(v1_service_backend_port_dict)

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