Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.42 KB

File metadata and controls

29 lines (22 loc) · 1.42 KB

V1VolumeAttachmentSource

VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.

Properties

Name Type Description Notes
inline_volume_spec V1PersistentVolumeSpec [optional]
persistent_volume_name str persistentVolumeName represents the name of the persistent volume to attach. [optional]

Example

from kubernetes.client.models.v1_volume_attachment_source import V1VolumeAttachmentSource

# TODO update the JSON string below
json = "{}"
# create an instance of V1VolumeAttachmentSource from a JSON string
v1_volume_attachment_source_instance = V1VolumeAttachmentSource.from_json(json)
# print the JSON string representation of the object
print(V1VolumeAttachmentSource.to_json())

# convert the object into a dict
v1_volume_attachment_source_dict = v1_volume_attachment_source_instance.to_dict()
# create an instance of V1VolumeAttachmentSource from a dict
v1_volume_attachment_source_from_dict = V1VolumeAttachmentSource.from_dict(v1_volume_attachment_source_dict)

[Back to Model list] [Back to API list] [Back to README]