Azure Monitor, get link for "View Query in Azure Portal"

I am experimenting with Azure Monitor Datasource and Logs Visualization. In the query location there is a button “View Query in Azure Portal”

This link is also available under inspect meta.custom.azurePortalLink

How can I reference this link and make it available through dataLink option, same way we can reference a query value link `${__data.fields.columnName}