kubernetes_asyncio.client.models.v1_portworx_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_portworx_volume_source.V1PortworxVolumeSource(fs_type=None, read_only=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', 'volume_id': 'volumeID'}
- property fs_type
Gets the fs_type of this V1PortworxVolumeSource. # noqa: E501
fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”. Implicitly inferred to be “ext4” if unspecified. # noqa: E501
- Returns:
The fs_type of this V1PortworxVolumeSource. # noqa: E501
- Return type:
str
- openapi_types = {'fs_type': 'str', 'read_only': 'bool', 'volume_id': 'str'}
- property read_only
Gets the read_only of this V1PortworxVolumeSource. # noqa: E501
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. # noqa: E501
- Returns:
The read_only of this V1PortworxVolumeSource. # noqa: E501
- Return type:
bool
- 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 V1PortworxVolumeSource. # noqa: E501
volumeID uniquely identifies a Portworx volume # noqa: E501
- Returns:
The volume_id of this V1PortworxVolumeSource. # noqa: E501
- Return type:
str