Volume Class
Volume definitions for the Container App.
- Inheritance
-
azure.mgmt.appcontainers._serialization.ModelVolume
Constructor
Volume(*, name: str | None = None, storage_type: str | _models.StorageType | None = None, storage_name: str | None = None, secrets: List[_models.SecretVolumeItem] | None = None, mount_options: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
name
|
Volume name. |
storage_type
|
str or
StorageType
Storage type for the volume. If not provided, use EmptyDir. Known values are: "AzureFile", "EmptyDir", and "Secret". |
storage_name
|
Name of storage resource. No need to provide for EmptyDir and Secret. |
secrets
|
List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume. |
mount_options
|
Mount options used while mounting the AzureFile. Must be a comma-separated string. |
Variables
Name | Description |
---|---|
name
|
Volume name. |
storage_type
|
str or
StorageType
Storage type for the volume. If not provided, use EmptyDir. Known values are: "AzureFile", "EmptyDir", and "Secret". |
storage_name
|
Name of storage resource. No need to provide for EmptyDir and Secret. |
secrets
|
List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume. |
mount_options
|
Mount options used while mounting the AzureFile. Must be a comma-separated string. |
Azure SDK for Python