public async Task DeleteNetworkInterface()
        {
            #region Snippet:Managing_Networks_DeleteANetworkInterface
            NetworkInterfaceCollection networkInterfaceCollection = resourceGroup.GetNetworkInterfaces();

            NetworkInterface virtualNetwork = await networkInterfaceCollection.GetAsync("myVnet");

            await virtualNetwork.DeleteAsync();

            #endregion
        }