kubernetes_asyncio.client.models.v1_persistent_volume_claim_condition 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_persistent_volume_claim_condition.V1PersistentVolumeClaimCondition(last_probe_time=None, last_transition_time=None, message=None, reason=None, status=None, type=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 = {'last_probe_time': 'lastProbeTime', 'last_transition_time': 'lastTransitionTime', 'message': 'message', 'reason': 'reason', 'status': 'status', 'type': 'type'}
property last_probe_time

Gets the last_probe_time of this V1PersistentVolumeClaimCondition. # noqa: E501

lastProbeTime is the time we probed the condition. # noqa: E501

Returns:

The last_probe_time of this V1PersistentVolumeClaimCondition. # noqa: E501

Return type:

datetime

property last_transition_time

Gets the last_transition_time of this V1PersistentVolumeClaimCondition. # noqa: E501

lastTransitionTime is the time the condition transitioned from one status to another. # noqa: E501

Returns:

The last_transition_time of this V1PersistentVolumeClaimCondition. # noqa: E501

Return type:

datetime

property message

Gets the message of this V1PersistentVolumeClaimCondition. # noqa: E501

message is the human-readable message indicating details about last transition. # noqa: E501

Returns:

The message of this V1PersistentVolumeClaimCondition. # noqa: E501

Return type:

str

openapi_types = {'last_probe_time': 'datetime', 'last_transition_time': 'datetime', 'message': 'str', 'reason': 'str', 'status': 'str', 'type': 'str'}
property reason

Gets the reason of this V1PersistentVolumeClaimCondition. # noqa: E501

reason is a unique, this should be a short, machine understandable string that gives the reason for condition’s last transition. If it reports “Resizing” that means the underlying persistent volume is being resized. # noqa: E501

Returns:

The reason of this V1PersistentVolumeClaimCondition. # noqa: E501

Return type:

str

property status

Gets the status of this V1PersistentVolumeClaimCondition. # noqa: E501

Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required # noqa: E501

Returns:

The status of this V1PersistentVolumeClaimCondition. # 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

property type

Gets the type of this V1PersistentVolumeClaimCondition. # noqa: E501

Type is the type of the condition. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about # noqa: E501

Returns:

The type of this V1PersistentVolumeClaimCondition. # noqa: E501

Return type:

str