kubernetes_asyncio.client.models.v1_ingress_port_status 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_port_status.V1IngressPortStatus(error=None, port=None, protocol=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 = {'error': 'error', 'port': 'port', 'protocol': 'protocol'}
- property error
Gets the error of this V1IngressPortStatus. # noqa: E501
error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase. # noqa: E501
- Returns:
The error of this V1IngressPortStatus. # noqa: E501
- Return type:
str
- openapi_types = {'error': 'str', 'port': 'int', 'protocol': 'str'}
- property port
Gets the port of this V1IngressPortStatus. # noqa: E501
port is the port number of the ingress port. # noqa: E501
- Returns:
The port of this V1IngressPortStatus. # noqa: E501
- Return type:
int
- property protocol
Gets the protocol of this V1IngressPortStatus. # noqa: E501
protocol is the protocol of the ingress port. The supported values are: “TCP”, “UDP”, “SCTP” # noqa: E501
- Returns:
The protocol of this V1IngressPortStatus. # 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