public static PrivateEndpointConnection GetPrivateEndpointConnection(this ArmClient armClient, ResourceIdentifier id) { PrivateEndpointConnection.ValidateResourceId(id); return(new PrivateEndpointConnection(armClient, id)); }