kubernetes_asyncio.client.models.v1_load_balancer_ingress 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_load_balancer_ingress.V1LoadBalancerIngress(hostname=None, ip=None, ip_mode=None, ports=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 = {'hostname': 'hostname', 'ip': 'ip', 'ip_mode': 'ipMode', 'ports': 'ports'}
- property hostname
Gets the hostname of this V1LoadBalancerIngress. # noqa: E501
Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) # noqa: E501
- Returns:
The hostname of this V1LoadBalancerIngress. # noqa: E501
- Return type:
str
- property ip
Gets the ip of this V1LoadBalancerIngress. # noqa: E501
IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers) # noqa: E501
- Returns:
The ip of this V1LoadBalancerIngress. # noqa: E501
- Return type:
str
- property ip_mode
Gets the ip_mode of this V1LoadBalancerIngress. # noqa: E501
IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified. Setting this to “VIP” indicates that traffic is delivered to the node with the destination set to the load-balancer’s IP and port. Setting this to “Proxy” indicates that traffic is delivered to the node or pod with the destination set to the node’s IP and node port or the pod’s IP and port. Service implementations may use this information to adjust traffic routing. # noqa: E501
- Returns:
The ip_mode of this V1LoadBalancerIngress. # noqa: E501
- Return type:
str
- openapi_types = {'hostname': 'str', 'ip': 'str', 'ip_mode': 'str', 'ports': 'list[V1PortStatus]'}
- property ports
Gets the ports of this V1LoadBalancerIngress. # noqa: E501
Ports is a list of records of service ports If used, every port defined in the service should have an entry in it # noqa: E501
- Returns:
The ports of this V1LoadBalancerIngress. # noqa: E501
- Return type:
list[V1PortStatus]
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model