kubernetes_asyncio.client.models.apiregistration_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: v1.34.3 Generated by: https://openapi-generator.tech

class kubernetes_asyncio.client.models.apiregistration_v1_service_reference.ApiregistrationV1ServiceReference(name=None, namespace=None, port=None, local_vars_configuration=None)

Bases: object

NOTE: 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', 'port': 'port'}
property name

Gets the name of this ApiregistrationV1ServiceReference. # noqa: E501

Name is the name of the service # noqa: E501

Returns:

The name of this ApiregistrationV1ServiceReference. # noqa: E501

Return type:

str

property namespace

Gets the namespace of this ApiregistrationV1ServiceReference. # noqa: E501

Namespace is the namespace of the service # noqa: E501

Returns:

The namespace of this ApiregistrationV1ServiceReference. # noqa: E501

Return type:

str

openapi_types = {'name': 'str', 'namespace': 'str', 'port': 'int'}
property port

Gets the port of this ApiregistrationV1ServiceReference. # noqa: E501

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). # noqa: E501

Returns:

The port of this ApiregistrationV1ServiceReference. # noqa: E501

Return type:

int

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model