The Azure Code Samples are currently available in English
Azure Stack Storage sample for managing storage accounts - - Create a storage account - Get | regenerate storage account access keys - Create another storage account - Update Storage account by enabling encryption - List storage accounts - Delete a storage account.
Running this Sample
To run this sample:
Clone the repository using the following command:
git clone https://github.com/Azure-Samples/hybrid-storage-java-manage-storage-accounts.git
Create an Azure Stack service principal and assign a role to access the subscription. For instructions on creating a service principal, see Use Azure PowerShell to create a service principal with a certificate.
Set the following required environment variable values:
Change directory to sample:
- cd hybrid-storage-java-manage-storage-accounts
Run the sample:
- mvn clean compile exec:java