kubernetes.aio.client.models.admissionregistration_v1_service_reference module¶
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: release-1.36 Generated by: https://openapi-generator.tech
- class kubernetes.aio.client.models.admissionregistration_v1_service_reference.AdmissionregistrationV1ServiceReference(name=None, namespace=None, path=None, port=None, local_vars_configuration=None)¶
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- attribute_map = {'name': 'name', 'namespace': 'namespace', 'path': 'path', 'port': 'port'}¶
- property name¶
Gets the name of this AdmissionregistrationV1ServiceReference. # noqa: E501
name is the name of the service. Required # noqa: E501
- Returns:
The name of this AdmissionregistrationV1ServiceReference. # noqa: E501
- Return type:
str
- property namespace¶
Gets the namespace of this AdmissionregistrationV1ServiceReference. # noqa: E501
namespace is the namespace of the service. Required # noqa: E501
- Returns:
The namespace of this AdmissionregistrationV1ServiceReference. # noqa: E501
- Return type:
str
- openapi_types = {'name': 'str', 'namespace': 'str', 'path': 'str', 'port': 'int'}¶
- property path¶
Gets the path of this AdmissionregistrationV1ServiceReference. # noqa: E501
path is an optional URL path which will be sent in any request to this service. # noqa: E501
- Returns:
The path of this AdmissionregistrationV1ServiceReference. # noqa: E501
- Return type:
str
- property port¶
Gets the port of this AdmissionregistrationV1ServiceReference. # noqa: E501
port is the port on the service that hosts the webhook. Default to 443 for backward compatibility. port should be a valid port number (1-65535, inclusive). # noqa: E501
- Returns:
The port of this AdmissionregistrationV1ServiceReference. # noqa: E501
- Return type:
- to_dict(serialize=False)¶
Returns the model properties as a dict
- to_str()¶
Returns the string representation of the model