kubernetes_asyncio.client.models.v1_service_backend_port 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.v1_service_backend_port.V1ServiceBackendPort(name=None, number=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', 'number': 'number'}
property name

Gets the name of this V1ServiceBackendPort. # noqa: E501

name is the name of the port on the Service. This is a mutually exclusive setting with “Number”. # noqa: E501

Returns:

The name of this V1ServiceBackendPort. # noqa: E501

Return type:

str

property number

Gets the number of this V1ServiceBackendPort. # noqa: E501

number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with “Name”. # noqa: E501

Returns:

The number of this V1ServiceBackendPort. # noqa: E501

Return type:

int

openapi_types = {'name': 'str', 'number': 'int'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model