Volume Class

Volume definitions for the Container App.

Constructor

Volume(*args: Any, **kwargs: Any)

Variables

Name Description
name
str

Volume name.

storage_type

Storage type for the volume. If not provided, use EmptyDir. Known values are: "AzureFile", "EmptyDir", "Secret", and "NfsAzureFile".

storage_name
str

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
str

Mount options used while mounting the Azure file share or NFS Azure file share. Must be a comma-separated string.

Attributes

mount_options

Mount options used while mounting the Azure file share or NFS Azure file share. Must be a comma-separated string.

mount_options: str | None

name

Volume name.

name: str | None

secrets

List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.

secrets: list['_models.SecretVolumeItem'] | None

storage_name

Name of storage resource. No need to provide for EmptyDir and Secret.

storage_name: str | None

storage_type

"AzureFile", "EmptyDir", "Secret", and "NfsAzureFile".

storage_type: str | _models.StorageType | None