kubernetes_asyncio.client.models.v1_volume_attachment_status 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_volume_attachment_status.V1VolumeAttachmentStatus(attach_error=None, attached=None, attachment_metadata=None, detach_error=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.
- property attach_error
Gets the attach_error of this V1VolumeAttachmentStatus. # noqa: E501
- Returns:
The attach_error of this V1VolumeAttachmentStatus. # noqa: E501
- Return type:
- property attached
Gets the attached of this V1VolumeAttachmentStatus. # noqa: E501
attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. # noqa: E501
- Returns:
The attached of this V1VolumeAttachmentStatus. # noqa: E501
- Return type:
bool
- property attachment_metadata
Gets the attachment_metadata of this V1VolumeAttachmentStatus. # noqa: E501
attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. # noqa: E501
- Returns:
The attachment_metadata of this V1VolumeAttachmentStatus. # noqa: E501
- Return type:
dict(str, str)
- attribute_map = {'attach_error': 'attachError', 'attached': 'attached', 'attachment_metadata': 'attachmentMetadata', 'detach_error': 'detachError'}
- property detach_error
Gets the detach_error of this V1VolumeAttachmentStatus. # noqa: E501
- Returns:
The detach_error of this V1VolumeAttachmentStatus. # noqa: E501
- Return type:
- openapi_types = {'attach_error': 'V1VolumeError', 'attached': 'bool', 'attachment_metadata': 'dict(str, str)', 'detach_error': 'V1VolumeError'}
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model