ServiceBackendPort is the service port being referenced.
| 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] |
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)