kubernetes_asyncio.client.models.v1_volume_attachment_spec 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_spec.V1VolumeAttachmentSpec(attacher=None, node_name=None, source=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 attacher
Gets the attacher of this V1VolumeAttachmentSpec. # noqa: E501
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). # noqa: E501
- Returns:
The attacher of this V1VolumeAttachmentSpec. # noqa: E501
- Return type:
str
- attribute_map = {'attacher': 'attacher', 'node_name': 'nodeName', 'source': 'source'}
- property node_name
Gets the node_name of this V1VolumeAttachmentSpec. # noqa: E501
nodeName represents the node that the volume should be attached to. # noqa: E501
- Returns:
The node_name of this V1VolumeAttachmentSpec. # noqa: E501
- Return type:
str
- openapi_types = {'attacher': 'str', 'node_name': 'str', 'source': 'V1VolumeAttachmentSource'}
- property source
Gets the source of this V1VolumeAttachmentSpec. # noqa: E501
- Returns:
The source of this V1VolumeAttachmentSpec. # noqa: E501
- Return type:
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model