kubernetes_asyncio.client.models.v1_http_get_action 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_http_get_action.V1HTTPGetAction(host=None, http_headers=None, path=None, port=None, scheme=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 = {'host': 'host', 'http_headers': 'httpHeaders', 'path': 'path', 'port': 'port', 'scheme': 'scheme'}
- property host
Gets the host of this V1HTTPGetAction. # noqa: E501
Host name to connect to, defaults to the pod IP. You probably want to set “Host” in httpHeaders instead. # noqa: E501
- Returns:
The host of this V1HTTPGetAction. # noqa: E501
- Return type:
str
- property http_headers
Gets the http_headers of this V1HTTPGetAction. # noqa: E501
Custom headers to set in the request. HTTP allows repeated headers. # noqa: E501
- Returns:
The http_headers of this V1HTTPGetAction. # noqa: E501
- Return type:
list[V1HTTPHeader]
- openapi_types = {'host': 'str', 'http_headers': 'list[V1HTTPHeader]', 'path': 'str', 'port': 'object', 'scheme': 'str'}
- property path
Gets the path of this V1HTTPGetAction. # noqa: E501
Path to access on the HTTP server. # noqa: E501
- Returns:
The path of this V1HTTPGetAction. # noqa: E501
- Return type:
str
- property port
Gets the port of this V1HTTPGetAction. # noqa: E501
Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. # noqa: E501
- Returns:
The port of this V1HTTPGetAction. # noqa: E501
- Return type:
object
- property scheme
Gets the scheme of this V1HTTPGetAction. # noqa: E501
Scheme to use for connecting to the host. Defaults to HTTP. # noqa: E501
- Returns:
The scheme of this V1HTTPGetAction. # 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