I am trying to create a private endpoint for Storage(to start with) and while following the example in the Azurerm Provider, it deploys PE in reference to a Private link, but it doesn’t work for a scenario where a private link is not needed but just a private endpoint attached to a PaaS service.
For a Private Endpoint for a PaaS it option should be to provide Target resource and sub-resource this private endpoint should be attached to.

After looking at the ARM template for Private endpoint it has no references to ILB/NAT which is irrelevant in case of Private endpoint.