kubernetes_asyncio.client.models.v1_scale_io_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_scale_io_volume_source.V1ScaleIOVolumeSource(fs_type=None, gateway=None, protection_domain=None, read_only=None, secret_ref=None, ssl_enabled=None, storage_mode=None, storage_pool=None, system=None, volume_name=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 = {'fs_type': 'fsType', 'gateway': 'gateway', 'protection_domain': 'protectionDomain', 'read_only': 'readOnly', 'secret_ref': 'secretRef', 'ssl_enabled': 'sslEnabled', 'storage_mode': 'storageMode', 'storage_pool': 'storagePool', 'system': 'system', 'volume_name': 'volumeName'}
property fs_type

Gets the fs_type of this V1ScaleIOVolumeSource. # noqa: E501

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

Returns:

The fs_type of this V1ScaleIOVolumeSource. # noqa: E501

Return type:

str

property gateway

Gets the gateway of this V1ScaleIOVolumeSource. # noqa: E501

gateway is the host address of the ScaleIO API Gateway. # noqa: E501

Returns:

The gateway of this V1ScaleIOVolumeSource. # noqa: E501

Return type:

str

openapi_types = {'fs_type': 'str', 'gateway': 'str', 'protection_domain': 'str', 'read_only': 'bool', 'secret_ref': 'V1LocalObjectReference', 'ssl_enabled': 'bool', 'storage_mode': 'str', 'storage_pool': 'str', 'system': 'str', 'volume_name': 'str'}
property protection_domain

Gets the protection_domain of this V1ScaleIOVolumeSource. # noqa: E501

protectionDomain is the name of the ScaleIO Protection Domain for the configured storage. # noqa: E501

Returns:

The protection_domain of this V1ScaleIOVolumeSource. # noqa: E501

Return type:

str

property read_only

Gets the read_only of this V1ScaleIOVolumeSource. # 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 V1ScaleIOVolumeSource. # noqa: E501

Return type:

bool

property secret_ref

Gets the secret_ref of this V1ScaleIOVolumeSource. # noqa: E501

Returns:

The secret_ref of this V1ScaleIOVolumeSource. # noqa: E501

Return type:

V1LocalObjectReference

property ssl_enabled

Gets the ssl_enabled of this V1ScaleIOVolumeSource. # noqa: E501

sslEnabled Flag enable/disable SSL communication with Gateway, default false # noqa: E501

Returns:

The ssl_enabled of this V1ScaleIOVolumeSource. # noqa: E501

Return type:

bool

property storage_mode

Gets the storage_mode of this V1ScaleIOVolumeSource. # noqa: E501

storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. # noqa: E501

Returns:

The storage_mode of this V1ScaleIOVolumeSource. # noqa: E501

Return type:

str

property storage_pool

Gets the storage_pool of this V1ScaleIOVolumeSource. # noqa: E501

storagePool is the ScaleIO Storage Pool associated with the protection domain. # noqa: E501

Returns:

The storage_pool of this V1ScaleIOVolumeSource. # noqa: E501

Return type:

str

property system

Gets the system of this V1ScaleIOVolumeSource. # noqa: E501

system is the name of the storage system as configured in ScaleIO. # noqa: E501

Returns:

The system of this V1ScaleIOVolumeSource. # noqa: E501

Return type:

str

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 V1ScaleIOVolumeSource. # noqa: E501

volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source. # noqa: E501

Returns:

The volume_name of this V1ScaleIOVolumeSource. # noqa: E501

Return type:

str