Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.58 KB

File metadata and controls

31 lines (24 loc) · 1.58 KB

ApiextensionsV1ServiceReference

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

Properties

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]

Example

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)

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