kubernetes_asyncio.client.models.v1_volume_device 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_device.V1VolumeDevice(device_path=None, name=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'device_path': 'devicePath', 'name': 'name'}
property device_path

Gets the device_path of this V1VolumeDevice. # noqa: E501

devicePath is the path inside of the container that the device will be mapped to. # noqa: E501

Returns:

The device_path of this V1VolumeDevice. # noqa: E501

Return type:

str

property name

Gets the name of this V1VolumeDevice. # noqa: E501

name must match the name of a persistentVolumeClaim in the pod # noqa: E501

Returns:

The name of this V1VolumeDevice. # noqa: E501

Return type:

str

openapi_types = {'device_path': 'str', 'name': 'str'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model