kubernetes_asyncio.client.models.v1_flex_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_flex_volume_source.V1FlexVolumeSource(driver=None, fs_type=None, options=None, read_only=None, secret_ref=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 = {'driver': 'driver', 'fs_type': 'fsType', 'options': 'options', 'read_only': 'readOnly', 'secret_ref': 'secretRef'}
- property driver
Gets the driver of this V1FlexVolumeSource. # noqa: E501
driver is the name of the driver to use for this volume. # noqa: E501
- Returns:
The driver of this V1FlexVolumeSource. # noqa: E501
- Return type:
str
- property fs_type
Gets the fs_type of this V1FlexVolumeSource. # noqa: E501
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. The default filesystem depends on FlexVolume script. # noqa: E501
- Returns:
The fs_type of this V1FlexVolumeSource. # noqa: E501
- Return type:
str
- openapi_types = {'driver': 'str', 'fs_type': 'str', 'options': 'dict(str, str)', 'read_only': 'bool', 'secret_ref': 'V1LocalObjectReference'}
- property options
Gets the options of this V1FlexVolumeSource. # noqa: E501
options is Optional: this field holds extra command options if any. # noqa: E501
- Returns:
The options of this V1FlexVolumeSource. # noqa: E501
- Return type:
dict(str, str)
- property read_only
Gets the read_only of this V1FlexVolumeSource. # noqa: E501
readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. # noqa: E501
- Returns:
The read_only of this V1FlexVolumeSource. # noqa: E501
- Return type:
bool
- property secret_ref
Gets the secret_ref of this V1FlexVolumeSource. # noqa: E501
- Returns:
The secret_ref of this V1FlexVolumeSource. # noqa: E501
- Return type:
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model