The terraform resource is mentioned already in the Microsoft documentation but even the latest 2.5.2 of the azapi doesn't have this resource https://learn.microsoft.com/en-us/azure/templates/microsoft.app/2025-02-02-preview/managedenvironments/privateendpointconnections?pivots=deployment-language-terraform#privatelinkserviceconnectionstate-2