kubernetes_asyncio.client.models.v1_ceph_fs_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_ceph_fs_volume_source.V1CephFSVolumeSource(monitors=None, path=None, read_only=None, secret_file=None, secret_ref=None, user=None, local_vars_configuration=None)
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- attribute_map = {'monitors': 'monitors', 'path': 'path', 'read_only': 'readOnly', 'secret_file': 'secretFile', 'secret_ref': 'secretRef', 'user': 'user'}
- property monitors
Gets the monitors of this V1CephFSVolumeSource. # noqa: E501
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501
- Returns:
The monitors of this V1CephFSVolumeSource. # noqa: E501
- Return type:
list[str]
- openapi_types = {'monitors': 'list[str]', 'path': 'str', 'read_only': 'bool', 'secret_file': 'str', 'secret_ref': 'V1LocalObjectReference', 'user': 'str'}
- property path
Gets the path of this V1CephFSVolumeSource. # noqa: E501
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / # noqa: E501
- Returns:
The path of this V1CephFSVolumeSource. # noqa: E501
- Return type:
str
- property read_only
Gets the read_only of this V1CephFSVolumeSource. # noqa: E501
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501
- Returns:
The read_only of this V1CephFSVolumeSource. # noqa: E501
- Return type:
bool
- property secret_file
Gets the secret_file of this V1CephFSVolumeSource. # noqa: E501
secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501
- Returns:
The secret_file of this V1CephFSVolumeSource. # noqa: E501
- Return type:
str
- property secret_ref
Gets the secret_ref of this V1CephFSVolumeSource. # noqa: E501
- Returns:
The secret_ref of this V1CephFSVolumeSource. # noqa: E501
- Return type:
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
- property user
Gets the user of this V1CephFSVolumeSource. # noqa: E501
user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501
- Returns:
The user of this V1CephFSVolumeSource. # noqa: E501
- Return type:
str