Hi,
Yes, when you create data collection endpoint you have the option to disable public network access. The data goes trough the endpoint before it is being processed by the data collection rule.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.Update:
It is already mentioned in the documentation:
"With Azure Private Link, you can securely link Azure platform as a service (PaaS) resources to your virtual network by using private endpoints. Azure Monitor is a constellation of different interconnected services that work together to monitor your workloads. An Azure Monitor private link connects a private endpoint to a set of Azure Monitor resources to define the boundaries of your monitoring network. That set is called an Azure Monitor Private Link Scope (AMPLS)."
So there is no private endpoint for data collection rule or Log Analytics workspace. You need AMPLS. Also from docs:
"Log Analytics endpoints are workspace specific, except for the query endpoint discussed earlier. As a result, adding a specific Log Analytics workspace to the AMPLS will send ingestion requests to this workspace over the private link. Ingestion to other workspaces will continue to use the public endpoints."
Data collection rules are created with data collection endpoints. The public access can be restricted on the data collection endpoint and the endpoint is associated to the AMPLS.
All this information is available at: