Create Azure Virtual Machines using C# (Multiple Subnets)
Nuget: Install-Package Microsoft.Azure.Management.Fluent Using Statement to use : using Microsoft.Azure.Management.Compute.Fluent; using Microsoft.Azure.Management.Compute.Fluent.Models; using Microsoft.Azure.Management.Fluent; using Microsoft.Azure.Management.ResourceManager.Fluent; using Microsoft.Azure.Management.ResourceManager.Fluent.Core; Main Method: public void CreateVirtualMachine(string vmName, string vmSize, string vmImage, string vmUserName, string vmPassword, string resourceGrp, string avSetName, string ipSetName, string ipRange, string subNetRange, string subnetName, string vNetName, string nicName, string prodSubNetRange) { ...