kubernetes_asyncio.client.models.v1_ingress_service_backend 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_ingress_service_backend.V1IngressServiceBackend(name=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', 'port': 'port'}
property name

Gets the name of this V1IngressServiceBackend. # noqa: E501

name is the referenced service. The service must exist in the same namespace as the Ingress object. # noqa: E501

Returns:

The name of this V1IngressServiceBackend. # noqa: E501

Return type:

str

openapi_types = {'name': 'str', 'port': 'V1ServiceBackendPort'}
property port

Gets the port of this V1IngressServiceBackend. # noqa: E501

Returns:

The port of this V1IngressServiceBackend. # noqa: E501

Return type:

V1ServiceBackendPort

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model