You can create an "Azure Private Link", an "Azure Virtual Network injection" or use the "Azure Firewall rules"
Depending on your choice you can access the data in one way or another.
Please review the following link https://video2.skills-academy.com/en-us/azure/azure-cache-for-redis/cache-network-isolation
Hope this helps,
Carlos Solís Salazar
----------
Please "Accept as Answer" and Upvote if any of the above helped so that, it can help others in the community looking for remediation for similar issues.