kubernetes_asyncio.client.models.v1_ingress_tls 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_tls.V1IngressTLS(hosts=None, secret_name=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 = {'hosts': 'hosts', 'secret_name': 'secretName'}
- property hosts
Gets the hosts of this V1IngressTLS. # noqa: E501
hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. # noqa: E501
- Returns:
The hosts of this V1IngressTLS. # noqa: E501
- Return type:
list[str]
- openapi_types = {'hosts': 'list[str]', 'secret_name': 'str'}
- property secret_name
Gets the secret_name of this V1IngressTLS. # noqa: E501
secretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the “Host” header field used by an IngressRule, the SNI host is used for termination and value of the “Host” header is used for routing. # noqa: E501
- Returns:
The secret_name of this V1IngressTLS. # noqa: E501
- Return type:
str
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model