# io.k8s.api.core.v1.AzureFilePersistentVolumeSource

From **Kubernetes**.

AzureFile represents an Azure File Service mount on the host and bind mount to the pod.

- Type: `object`

## Properties

### `readOnly`

- Required: false
- Type: `boolean`

readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

### `secretName`

- Required: true
- Type: `string`

secretName is the name of secret that contains Azure Storage Account Name and Key

### `secretNamespace`

- Required: false
- Type: `string`

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

### `shareName`

- Required: true
- Type: `string`

shareName is the azure Share Name

## JSON Schema

```json
{"description":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod.","properties":{"readOnly":{"description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.","type":"boolean"},"secretName":{"default":"","description":"secretName is the name of secret that contains Azure Storage Account Name and Key","type":"string"},"secretNamespace":{"description":"secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod","type":"string"},"shareName":{"default":"","description":"shareName is the azure Share Name","type":"string"}},"required":["secretName","shareName"],"type":"object"}
```
