Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 2.21 KB

File metadata and controls

37 lines (30 loc) · 2.21 KB

V1CSIPersistentVolumeSource

Represents storage that is managed by an external CSI volume driver

Properties

Name Type Description Notes
controller_expand_secret_ref V1SecretReference [optional]
controller_publish_secret_ref V1SecretReference [optional]
driver str driver is the name of the driver to use for this volume. Required.
fs_type str fsType to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". [optional]
node_expand_secret_ref V1SecretReference [optional]
node_publish_secret_ref V1SecretReference [optional]
node_stage_secret_ref V1SecretReference [optional]
read_only bool readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). [optional]
volume_attributes Dict[str, str] volumeAttributes of the volume to publish. [optional]
volume_handle str volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.

Example

from kubernetes.client.models.v1_csi_persistent_volume_source import V1CSIPersistentVolumeSource

# TODO update the JSON string below
json = "{}"
# create an instance of V1CSIPersistentVolumeSource from a JSON string
v1_csi_persistent_volume_source_instance = V1CSIPersistentVolumeSource.from_json(json)
# print the JSON string representation of the object
print(V1CSIPersistentVolumeSource.to_json())

# convert the object into a dict
v1_csi_persistent_volume_source_dict = v1_csi_persistent_volume_source_instance.to_dict()
# create an instance of V1CSIPersistentVolumeSource from a dict
v1_csi_persistent_volume_source_from_dict = V1CSIPersistentVolumeSource.from_dict(v1_csi_persistent_volume_source_dict)

[Back to Model list] [Back to API list] [Back to README]