kubernetes_asyncio.client.models.v1_nfs_volume_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_nfs_volume_source.V1NFSVolumeSource(path=None, read_only=None, server=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 = {'path': 'path', 'read_only': 'readOnly', 'server': 'server'}
openapi_types = {'path': 'str', 'read_only': 'bool', 'server': 'str'}
property path

Gets the path of this V1NFSVolumeSource. # noqa: E501

path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs # noqa: E501

Returns:

The path of this V1NFSVolumeSource. # noqa: E501

Return type:

str

property read_only

Gets the read_only of this V1NFSVolumeSource. # noqa: E501

readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs # noqa: E501

Returns:

The read_only of this V1NFSVolumeSource. # noqa: E501

Return type:

bool

property server

Gets the server of this V1NFSVolumeSource. # noqa: E501

server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs # noqa: E501

Returns:

The server of this V1NFSVolumeSource. # 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