Getting Started with Resources - Deploy Virtual Machine Using ARM Template - in Java
Azure Resource sample for deploying virtual machine with managed disk using an ARM template.
Running this Sample
To run this sample:
Set the environment variable
AZURE_AUTH_LOCATION with the full path for an auth file. See how to create an auth file.
git clone https://github.com/Azure-Samples/resources-java-deploy-virtual-machine-with-managed-disks-using-arm-template.git cd resources-java-deploy-virtual-machine-with-managed-disks-using-arm-template mvn clean compile exec:java
If you don't have a Microsoft Azure subscription you can get a FREE trial account here