Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.49 KB

File metadata and controls

30 lines (23 loc) · 1.49 KB

ApiregistrationV1ServiceReference

ServiceReference holds a reference to Service.legacy.k8s.io

Properties

Name Type Description Notes
name str Name is the name of the service [optional]
namespace str Namespace is the namespace of the service [optional]
port int If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive). [optional]

Example

from kubernetes.client.models.apiregistration_v1_service_reference import ApiregistrationV1ServiceReference

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

# convert the object into a dict
apiregistration_v1_service_reference_dict = apiregistration_v1_service_reference_instance.to_dict()
# create an instance of ApiregistrationV1ServiceReference from a dict
apiregistration_v1_service_reference_from_dict = ApiregistrationV1ServiceReference.from_dict(apiregistration_v1_service_reference_dict)

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