Azure Network sample for managing network interfaces - - Create a virtual machine with multiple network interfaces - Configure a network interface - List network interfaces - Delete a network interface.
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/network-dotnet-manage-network-interface.git cd network-dotnet-manage-network-interface dotnet restore dotnet run