kubernetes_asyncio.client.models.v1_volume_attachment_source 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_source.V1VolumeAttachmentSource(inline_volume_spec=None, persistent_volume_name=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 = {'inline_volume_spec': 'inlineVolumeSpec', 'persistent_volume_name': 'persistentVolumeName'}
- property inline_volume_spec
Gets the inline_volume_spec of this V1VolumeAttachmentSource. # noqa: E501
- Returns:
The inline_volume_spec of this V1VolumeAttachmentSource. # noqa: E501
- Return type:
- openapi_types = {'inline_volume_spec': 'V1PersistentVolumeSpec', 'persistent_volume_name': 'str'}
- property persistent_volume_name
Gets the persistent_volume_name of this V1VolumeAttachmentSource. # noqa: E501
persistentVolumeName represents the name of the persistent volume to attach. # noqa: E501
- Returns:
The persistent_volume_name of this V1VolumeAttachmentSource. # 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