Hi @Ibrahim Shaikh,
Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
We Understand that you wanted to know whether Azure Virtual Network Gateway has a TTL configuration.
Unfortunately, the answer is No.
The TTL mechanism is commonly associated with DNS records in Azure virtual networks rather than the Azure Virtual Network Gateway. DNS records does contain TTL mechanism, which allows the cache to store the record for a specified duration ensuring the record to be up to date. This feature is relevant for name resolution in Azure, allowing resources within virtual networks to communicate efficiently.
If the information is helpful, please click on "Upvote" and "Accept Answer" so that it would be helpful to other community members.
Thanks,
Sai Prasanna.