kubernetes_asyncio.client.models.v1_aws_elastic_block_store_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_aws_elastic_block_store_volume_source.V1AWSElasticBlockStoreVolumeSource(fs_type=None, partition=None, read_only=None, volume_id=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', 'partition': 'partition', 'read_only': 'readOnly', 'volume_id': 'volumeID'}
property fs_type

Gets the fs_type of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501

fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore # noqa: E501

Returns:

The fs_type of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501

Return type:

str

openapi_types = {'fs_type': 'str', 'partition': 'int', 'read_only': 'bool', 'volume_id': 'str'}
property partition

Gets the partition of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501

partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as “1”. Similarly, the volume partition for /dev/sda is “0” (or you can leave the property empty). # noqa: E501

Returns:

The partition of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501

Return type:

int

property read_only

Gets the read_only of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501

readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore # noqa: E501

Returns:

The read_only of this V1AWSElasticBlockStoreVolumeSource. # 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_id

Gets the volume_id of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501

volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore # noqa: E501

Returns:

The volume_id of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501

Return type:

str