Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.34 KB

File metadata and controls

30 lines (23 loc) · 1.34 KB

V1VolumeAttachmentSpec

VolumeAttachmentSpec is the specification of a VolumeAttachment request.

Properties

Name Type Description Notes
attacher str attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
node_name str nodeName represents the node that the volume should be attached to.
source V1VolumeAttachmentSource

Example

from kubernetes.client.models.v1_volume_attachment_spec import V1VolumeAttachmentSpec

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

# convert the object into a dict
v1_volume_attachment_spec_dict = v1_volume_attachment_spec_instance.to_dict()
# create an instance of V1VolumeAttachmentSpec from a dict
v1_volume_attachment_spec_from_dict = V1VolumeAttachmentSpec.from_dict(v1_volume_attachment_spec_dict)

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