kubernetes_asyncio.client.models.v1_volume_mount_status 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_mount_status.V1VolumeMountStatus(mount_path=None, name=None, read_only=None, recursive_read_only=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 = {'mount_path': 'mountPath', 'name': 'name', 'read_only': 'readOnly', 'recursive_read_only': 'recursiveReadOnly'}
property mount_path

Gets the mount_path of this V1VolumeMountStatus. # noqa: E501

MountPath corresponds to the original VolumeMount. # noqa: E501

Returns:

The mount_path of this V1VolumeMountStatus. # noqa: E501

Return type:

str

property name

Gets the name of this V1VolumeMountStatus. # noqa: E501

Name corresponds to the name of the original VolumeMount. # noqa: E501

Returns:

The name of this V1VolumeMountStatus. # noqa: E501

Return type:

str

openapi_types = {'mount_path': 'str', 'name': 'str', 'read_only': 'bool', 'recursive_read_only': 'str'}
property read_only

Gets the read_only of this V1VolumeMountStatus. # noqa: E501

ReadOnly corresponds to the original VolumeMount. # noqa: E501

Returns:

The read_only of this V1VolumeMountStatus. # noqa: E501

Return type:

bool

property recursive_read_only

Gets the recursive_read_only of this V1VolumeMountStatus. # noqa: E501

RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts). An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled, depending on the mount result. # noqa: E501

Returns:

The recursive_read_only of this V1VolumeMountStatus. # 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