kubernetes_asyncio.client.models.v1_csi_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_csi_persistent_volume_source.V1CSIPersistentVolumeSource(controller_expand_secret_ref=None, controller_publish_secret_ref=None, driver=None, fs_type=None, node_expand_secret_ref=None, node_publish_secret_ref=None, node_stage_secret_ref=None, read_only=None, volume_attributes=None, volume_handle=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'controller_expand_secret_ref': 'controllerExpandSecretRef', 'controller_publish_secret_ref': 'controllerPublishSecretRef', 'driver': 'driver', 'fs_type': 'fsType', 'node_expand_secret_ref': 'nodeExpandSecretRef', 'node_publish_secret_ref': 'nodePublishSecretRef', 'node_stage_secret_ref': 'nodeStageSecretRef', 'read_only': 'readOnly', 'volume_attributes': 'volumeAttributes', 'volume_handle': 'volumeHandle'}
property controller_expand_secret_ref

Gets the controller_expand_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501

Returns:

The controller_expand_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501

Return type:

V1SecretReference

property controller_publish_secret_ref

Gets the controller_publish_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501

Returns:

The controller_publish_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501

Return type:

V1SecretReference

property driver

Gets the driver of this V1CSIPersistentVolumeSource. # noqa: E501

driver is the name of the driver to use for this volume. Required. # noqa: E501

Returns:

The driver of this V1CSIPersistentVolumeSource. # noqa: E501

Return type:

str

property fs_type

Gets the fs_type of this V1CSIPersistentVolumeSource. # noqa: E501

fsType to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. # noqa: E501

Returns:

The fs_type of this V1CSIPersistentVolumeSource. # noqa: E501

Return type:

str

property node_expand_secret_ref

Gets the node_expand_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501

Returns:

The node_expand_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501

Return type:

V1SecretReference

property node_publish_secret_ref

Gets the node_publish_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501

Returns:

The node_publish_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501

Return type:

V1SecretReference

property node_stage_secret_ref

Gets the node_stage_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501

Returns:

The node_stage_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501

Return type:

V1SecretReference

openapi_types = {'controller_expand_secret_ref': 'V1SecretReference', 'controller_publish_secret_ref': 'V1SecretReference', 'driver': 'str', 'fs_type': 'str', 'node_expand_secret_ref': 'V1SecretReference', 'node_publish_secret_ref': 'V1SecretReference', 'node_stage_secret_ref': 'V1SecretReference', 'read_only': 'bool', 'volume_attributes': 'dict(str, str)', 'volume_handle': 'str'}
property read_only

Gets the read_only of this V1CSIPersistentVolumeSource. # noqa: E501

readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). # noqa: E501

Returns:

The read_only of this V1CSIPersistentVolumeSource. # 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_attributes

Gets the volume_attributes of this V1CSIPersistentVolumeSource. # noqa: E501

volumeAttributes of the volume to publish. # noqa: E501

Returns:

The volume_attributes of this V1CSIPersistentVolumeSource. # noqa: E501

Return type:

dict(str, str)

property volume_handle

Gets the volume_handle of this V1CSIPersistentVolumeSource. # noqa: E501

volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required. # noqa: E501

Returns:

The volume_handle of this V1CSIPersistentVolumeSource. # noqa: E501

Return type:

str