kubernetes.aio.client.models.v1_azure_disk_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: release-1.36 Generated by: https://openapi-generator.tech
- class kubernetes.aio.client.models.v1_azure_disk_volume_source.V1AzureDiskVolumeSource(caching_mode=None, disk_name=None, disk_uri=None, fs_type=None, kind=None, read_only=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 = {'caching_mode': 'cachingMode', 'disk_name': 'diskName', 'disk_uri': 'diskURI', 'fs_type': 'fsType', 'kind': 'kind', 'read_only': 'readOnly'}¶
- property caching_mode¶
Gets the caching_mode of this V1AzureDiskVolumeSource. # noqa: E501
cachingMode is the Host Caching mode: None, Read Only, Read Write. # noqa: E501
- Returns:
The caching_mode of this V1AzureDiskVolumeSource. # noqa: E501
- Return type:
str
- property disk_name¶
Gets the disk_name of this V1AzureDiskVolumeSource. # noqa: E501
diskName is the Name of the data disk in the blob storage # noqa: E501
- Returns:
The disk_name of this V1AzureDiskVolumeSource. # noqa: E501
- Return type:
str
- property disk_uri¶
Gets the disk_uri of this V1AzureDiskVolumeSource. # noqa: E501
diskURI is the URI of data disk in the blob storage # noqa: E501
- Returns:
The disk_uri of this V1AzureDiskVolumeSource. # noqa: E501
- Return type:
str
- property fs_type¶
Gets the fs_type of this V1AzureDiskVolumeSource. # noqa: E501
fsType is 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 V1AzureDiskVolumeSource. # noqa: E501
- Return type:
str
- property kind¶
Gets the kind of this V1AzureDiskVolumeSource. # noqa: E501
kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared # noqa: E501
- Returns:
The kind of this V1AzureDiskVolumeSource. # noqa: E501
- Return type:
str
- openapi_types = {'caching_mode': 'str', 'disk_name': 'str', 'disk_uri': 'str', 'fs_type': 'str', 'kind': 'str', 'read_only': 'bool'}¶
- property read_only¶
Gets the read_only of this V1AzureDiskVolumeSource. # 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 V1AzureDiskVolumeSource. # noqa: E501
- Return type:
- to_dict(serialize=False)¶
Returns the model properties as a dict
- to_str()¶
Returns the string representation of the model