Getting Started with Azure File Service in Java
Azure File Service Sample - Demonstrates how to perform common tasks using the Microsoft Azure File Service.
The Azure File service exposes file shares using the standard SMB protocol. Applications running in Azure can now easily share files between VMs using standard and familiar file system APIs like ReadFile and WriteFile. In addition, the files can also be accessed at the same time via a REST interface, which opens a variety of hybrid scenarios. Azure Files is built on the same technology as the Blob, Table, and Queue Services, which means Azure Files is able to leverage the existing availability, durability, scalability, and geo redundancy that is built into the Azure platform.
Note: If you don't have a Microsoft Azure subscription you can get a FREE trial account here
Running this sample
This sample can be run using your Azure Storage account by updating the config.properties file with your "AccountName" and "Key", or using the Azure CLI.
To run the sample using the Azure Storage File Service:
- Create a Storage Account through the Azure Portal and provide your account name and account key in the config.properties file.
- Set breakpoints and run the project.
To run the sample using Azure CLI: