Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.22 KB

File metadata and controls

29 lines (22 loc) · 1.22 KB

V1IngressServiceBackend

IngressServiceBackend references a Kubernetes Service as a Backend.

Properties

Name Type Description Notes
name str name is the referenced service. The service must exist in the same namespace as the Ingress object.
port V1ServiceBackendPort [optional]

Example

from kubernetes.client.models.v1_ingress_service_backend import V1IngressServiceBackend

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

# convert the object into a dict
v1_ingress_service_backend_dict = v1_ingress_service_backend_instance.to_dict()
# create an instance of V1IngressServiceBackend from a dict
v1_ingress_service_backend_from_dict = V1IngressServiceBackend.from_dict(v1_ingress_service_backend_dict)

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