kubernetes_asyncio.client.models.v1_rbd_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_rbd_volume_source.V1RBDVolumeSource(fs_type=None, image=None, keyring=None, monitors=None, pool=None, read_only=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 = {'fs_type': 'fsType', 'image': 'image', 'keyring': 'keyring', 'monitors': 'monitors', 'pool': 'pool', 'read_only': 'readOnly', 'secret_ref': 'secretRef', 'user': 'user'}
- property fs_type
Gets the fs_type of this V1RBDVolumeSource. # noqa: E501
fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd # noqa: E501
- Returns:
The fs_type of this V1RBDVolumeSource. # noqa: E501
- Return type:
str
- property image
Gets the image of this V1RBDVolumeSource. # noqa: E501
image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it # noqa: E501
- Returns:
The image of this V1RBDVolumeSource. # noqa: E501
- Return type:
str
- property keyring
Gets the keyring of this V1RBDVolumeSource. # noqa: E501
keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it # noqa: E501
- Returns:
The keyring of this V1RBDVolumeSource. # noqa: E501
- Return type:
str
- property monitors
Gets the monitors of this V1RBDVolumeSource. # noqa: E501
monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it # noqa: E501
- Returns:
The monitors of this V1RBDVolumeSource. # noqa: E501
- Return type:
list[str]
- openapi_types = {'fs_type': 'str', 'image': 'str', 'keyring': 'str', 'monitors': 'list[str]', 'pool': 'str', 'read_only': 'bool', 'secret_ref': 'V1LocalObjectReference', 'user': 'str'}
- property pool
Gets the pool of this V1RBDVolumeSource. # noqa: E501
pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it # noqa: E501
- Returns:
The pool of this V1RBDVolumeSource. # noqa: E501
- Return type:
str
- property read_only
Gets the read_only of this V1RBDVolumeSource. # noqa: E501
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it # noqa: E501
- Returns:
The read_only of this V1RBDVolumeSource. # noqa: E501
- Return type:
bool
- property secret_ref
Gets the secret_ref of this V1RBDVolumeSource. # noqa: E501
- Returns:
The secret_ref of this V1RBDVolumeSource. # 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 V1RBDVolumeSource. # noqa: E501
user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it # noqa: E501
- Returns:
The user of this V1RBDVolumeSource. # noqa: E501
- Return type:
str