kubernetes.aio.client.models.v1_volume_error 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_volume_error.V1VolumeError(error_code=None, message=None, time=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_code': 'errorCode', 'message': 'message', 'time': 'time'}¶
- property error_code¶
Gets the error_code of this V1VolumeError. # noqa: E501
errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations. This field requires the MutableCSINodeAllocatableCount feature gate being enabled to be set. # noqa: E501
- Returns:
The error_code of this V1VolumeError. # noqa: E501
- Return type:
- property message¶
Gets the message of this V1VolumeError. # noqa: E501
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information. # noqa: E501
- Returns:
The message of this V1VolumeError. # noqa: E501
- Return type:
str
- openapi_types = {'error_code': 'int', 'message': 'str', 'time': 'datetime'}¶
- property time¶
Gets the time of this V1VolumeError. # noqa: E501
time represents the time the error was encountered. # noqa: E501
- Returns:
The time of this V1VolumeError. # 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