container_volume_5.py 483 B

12345678910111213
  1. def get_file_volume(
  2. self, mount_name: str, share_name: str, storage_account_name: str, read_only: bool = False
  3. ) -> Volume:
  4. """Get Azure File Volume"""
  5. return Volume(
  6. name=mount_name,
  7. azure_file=AzureFileVolume(
  8. share_name=share_name,
  9. storage_account_name=storage_account_name,
  10. read_only=read_only,
  11. storage_account_key=self.get_storagekey(),
  12. ),
  13. )