kubernetes.aio.client.models.v1_persistent_volume_status module¶
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: release-1.36 Generated by: https://openapi-generator.tech
- class kubernetes.aio.client.models.v1_persistent_volume_status.V1PersistentVolumeStatus(last_phase_transition_time=None, message=None, phase=None, reason=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 = {'last_phase_transition_time': 'lastPhaseTransitionTime', 'message': 'message', 'phase': 'phase', 'reason': 'reason'}¶
- property last_phase_transition_time¶
Gets the last_phase_transition_time of this V1PersistentVolumeStatus. # noqa: E501
lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. # noqa: E501
- Returns:
The last_phase_transition_time of this V1PersistentVolumeStatus. # noqa: E501
- Return type:
datetime
- property message¶
Gets the message of this V1PersistentVolumeStatus. # noqa: E501
message is a human-readable message indicating details about why the volume is in this state. # noqa: E501
- Returns:
The message of this V1PersistentVolumeStatus. # noqa: E501
- Return type:
str
- openapi_types = {'last_phase_transition_time': 'datetime', 'message': 'str', 'phase': 'str', 'reason': 'str'}¶
- property phase¶
Gets the phase of this V1PersistentVolumeStatus. # noqa: E501
phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase # noqa: E501
- Returns:
The phase of this V1PersistentVolumeStatus. # noqa: E501
- Return type:
str
- property reason¶
Gets the reason of this V1PersistentVolumeStatus. # noqa: E501
reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI. # noqa: E501
- Returns:
The reason of this V1PersistentVolumeStatus. # 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