Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.11 KB

File metadata and controls

29 lines (22 loc) · 1.11 KB

V1VolumeDevice

volumeDevice describes a mapping of a raw block device within a container.

Properties

Name Type Description Notes
device_path str devicePath is the path inside of the container that the device will be mapped to.
name str name must match the name of a persistentVolumeClaim in the pod

Example

from kubernetes.client.models.v1_volume_device import V1VolumeDevice

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

# convert the object into a dict
v1_volume_device_dict = v1_volume_device_instance.to_dict()
# create an instance of V1VolumeDevice from a dict
v1_volume_device_from_dict = V1VolumeDevice.from_dict(v1_volume_device_dict)

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