kubernetes_asyncio.client.models.v1_azure_file_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_azure_file_persistent_volume_source.V1AzureFilePersistentVolumeSource(read_only=None, secret_name=None, secret_namespace=None, share_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 = {'read_only': 'readOnly', 'secret_name': 'secretName', 'secret_namespace': 'secretNamespace', 'share_name': 'shareName'}
openapi_types = {'read_only': 'bool', 'secret_name': 'str', 'secret_namespace': 'str', 'share_name': 'str'}
property read_only

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

Return type:

bool

property secret_name

Gets the secret_name of this V1AzureFilePersistentVolumeSource. # noqa: E501

secretName is the name of secret that contains Azure Storage Account Name and Key # noqa: E501

Returns:

The secret_name of this V1AzureFilePersistentVolumeSource. # noqa: E501

Return type:

str

property secret_namespace

Gets the secret_namespace of this V1AzureFilePersistentVolumeSource. # noqa: E501

secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod # noqa: E501

Returns:

The secret_namespace of this V1AzureFilePersistentVolumeSource. # noqa: E501

Return type:

str

property share_name

Gets the share_name of this V1AzureFilePersistentVolumeSource. # noqa: E501

shareName is the azure Share Name # noqa: E501

Returns:

The share_name of this V1AzureFilePersistentVolumeSource. # 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