kubernetes_asyncio.client.models.v1_cinder_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_cinder_volume_source.V1CinderVolumeSource(fs_type=None, read_only=None, secret_ref=None, volume_id=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', 'read_only': 'readOnly', 'secret_ref': 'secretRef', 'volume_id': 'volumeID'}
- property fs_type
Gets the fs_type of this V1CinderVolumeSource. # noqa: E501
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501
- Returns:
The fs_type of this V1CinderVolumeSource. # noqa: E501
- Return type:
str
- openapi_types = {'fs_type': 'str', 'read_only': 'bool', 'secret_ref': 'V1LocalObjectReference', 'volume_id': 'str'}
- property read_only
Gets the read_only of this V1CinderVolumeSource. # noqa: E501
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501
- Returns:
The read_only of this V1CinderVolumeSource. # noqa: E501
- Return type:
bool
- property secret_ref
Gets the secret_ref of this V1CinderVolumeSource. # noqa: E501
- Returns:
The secret_ref of this V1CinderVolumeSource. # 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 volume_id
Gets the volume_id of this V1CinderVolumeSource. # noqa: E501
volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501
- Returns:
The volume_id of this V1CinderVolumeSource. # noqa: E501
- Return type:
str