The Azure Code Samples are currently available in English
Getting started with deploying a Virtual Machine with managed disks using an ARM Template in C#
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-dotnet-deploy-virtual-machine-with-managed-disks-using-arm-template.git cd resources-dotnet-deploy-virtual-machine-with-managed-disks-using-arm-template dotnet build bin\Debug\net452\DeployVirtualMachineUsingARMTemplate.exe