/// <summary> /// Gets all virtual networks in a subscription. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> public static IPage <VirtualNetwork> ListAllNext(this IVirtualNetworksOperations operations, string nextPageLink) { return(operations.ListAllNextAsync(nextPageLink).GetAwaiter().GetResult()); }