ServiceReference holds a reference to Service.legacy.k8s.io
| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | name is the name of the service. Required | |
| namespace | str | namespace is the namespace of the service. Required | |
| path | str | path is an optional URL path at which the webhook will be contacted. | [optional] |
| port | int | port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility. | [optional] |
from kubernetes.client.models.apiextensions_v1_service_reference import ApiextensionsV1ServiceReference
# TODO update the JSON string below
json = "{}"
# create an instance of ApiextensionsV1ServiceReference from a JSON string
apiextensions_v1_service_reference_instance = ApiextensionsV1ServiceReference.from_json(json)
# print the JSON string representation of the object
print(ApiextensionsV1ServiceReference.to_json())
# convert the object into a dict
apiextensions_v1_service_reference_dict = apiextensions_v1_service_reference_instance.to_dict()
# create an instance of ApiextensionsV1ServiceReference from a dict
apiextensions_v1_service_reference_from_dict = ApiextensionsV1ServiceReference.from_dict(apiextensions_v1_service_reference_dict)