kubernetes_asyncio.client.models.v1_storage_os_persistent_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_storage_os_persistent_volume_source.V1StorageOSPersistentVolumeSource(fs_type=None, read_only=None, secret_ref=None, volume_name=None, volume_namespace=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_name': 'volumeName', 'volume_namespace': 'volumeNamespace'}
- property fs_type
Gets the fs_type of this V1StorageOSPersistentVolumeSource. # noqa: E501
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. # noqa: E501
- Returns:
The fs_type of this V1StorageOSPersistentVolumeSource. # noqa: E501
- Return type:
str
- openapi_types = {'fs_type': 'str', 'read_only': 'bool', 'secret_ref': 'V1ObjectReference', 'volume_name': 'str', 'volume_namespace': 'str'}
- property read_only
Gets the read_only of this V1StorageOSPersistentVolumeSource. # 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 V1StorageOSPersistentVolumeSource. # noqa: E501
- Return type:
bool
- property secret_ref
Gets the secret_ref of this V1StorageOSPersistentVolumeSource. # noqa: E501
- Returns:
The secret_ref of this V1StorageOSPersistentVolumeSource. # 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_name
Gets the volume_name of this V1StorageOSPersistentVolumeSource. # noqa: E501
volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace. # noqa: E501
- Returns:
The volume_name of this V1StorageOSPersistentVolumeSource. # noqa: E501
- Return type:
str
- property volume_namespace
Gets the volume_namespace of this V1StorageOSPersistentVolumeSource. # noqa: E501
volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod’s namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to “default” if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. # noqa: E501
- Returns:
The volume_namespace of this V1StorageOSPersistentVolumeSource. # noqa: E501
- Return type:
str