kubernetes_asyncio.client.models.v1_container_state_terminated 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_container_state_terminated.V1ContainerStateTerminated(container_id=None, exit_code=None, finished_at=None, message=None, reason=None, signal=None, started_at=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 = {'container_id': 'containerID', 'exit_code': 'exitCode', 'finished_at': 'finishedAt', 'message': 'message', 'reason': 'reason', 'signal': 'signal', 'started_at': 'startedAt'}
property container_id

Gets the container_id of this V1ContainerStateTerminated. # noqa: E501

Container’s ID in the format ‘<type>://<container_id>’ # noqa: E501

Returns:

The container_id of this V1ContainerStateTerminated. # noqa: E501

Return type:

str

property exit_code

Gets the exit_code of this V1ContainerStateTerminated. # noqa: E501

Exit status from the last termination of the container # noqa: E501

Returns:

The exit_code of this V1ContainerStateTerminated. # noqa: E501

Return type:

int

property finished_at

Gets the finished_at of this V1ContainerStateTerminated. # noqa: E501

Time at which the container last terminated # noqa: E501

Returns:

The finished_at of this V1ContainerStateTerminated. # noqa: E501

Return type:

datetime

property message

Gets the message of this V1ContainerStateTerminated. # noqa: E501

Message regarding the last termination of the container # noqa: E501

Returns:

The message of this V1ContainerStateTerminated. # noqa: E501

Return type:

str

openapi_types = {'container_id': 'str', 'exit_code': 'int', 'finished_at': 'datetime', 'message': 'str', 'reason': 'str', 'signal': 'int', 'started_at': 'datetime'}
property reason

Gets the reason of this V1ContainerStateTerminated. # noqa: E501

(brief) reason from the last termination of the container # noqa: E501

Returns:

The reason of this V1ContainerStateTerminated. # noqa: E501

Return type:

str

property signal

Gets the signal of this V1ContainerStateTerminated. # noqa: E501

Signal from the last termination of the container # noqa: E501

Returns:

The signal of this V1ContainerStateTerminated. # noqa: E501

Return type:

int

property started_at

Gets the started_at of this V1ContainerStateTerminated. # noqa: E501

Time at which previous execution of the container started # noqa: E501

Returns:

The started_at of this V1ContainerStateTerminated. # noqa: E501

Return type:

datetime

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model