kubernetes_asyncio.client.models.v1_fc_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_fc_volume_source.V1FCVolumeSource(fs_type=None, lun=None, read_only=None, target_wwns=None, wwids=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', 'lun': 'lun', 'read_only': 'readOnly', 'target_wwns': 'targetWWNs', 'wwids': 'wwids'}
- property fs_type
Gets the fs_type of this V1FCVolumeSource. # 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 V1FCVolumeSource. # noqa: E501
- Return type:
str
- property lun
Gets the lun of this V1FCVolumeSource. # noqa: E501
lun is Optional: FC target lun number # noqa: E501
- Returns:
The lun of this V1FCVolumeSource. # noqa: E501
- Return type:
int
- openapi_types = {'fs_type': 'str', 'lun': 'int', 'read_only': 'bool', 'target_wwns': 'list[str]', 'wwids': 'list[str]'}
- property read_only
Gets the read_only of this V1FCVolumeSource. # noqa: E501
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. # noqa: E501
- Returns:
The read_only of this V1FCVolumeSource. # noqa: E501
- Return type:
bool
- property target_wwns
Gets the target_wwns of this V1FCVolumeSource. # noqa: E501
targetWWNs is Optional: FC target worldwide names (WWNs) # noqa: E501
- Returns:
The target_wwns of this V1FCVolumeSource. # noqa: E501
- Return type:
list[str]
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
- property wwids
Gets the wwids of this V1FCVolumeSource. # noqa: E501
wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. # noqa: E501
- Returns:
The wwids of this V1FCVolumeSource. # noqa: E501
- Return type:
list[str]