Sorry for long post, I need to explain it properly for people to undertsand.
I have a pipeline in datafctory that triggers a published AML endpoint:

I am trying to parametrize this ADF pipeline so that I can deploy to test and prod, but on test and prod the aml endpoints are different.
Therefore, I have tried to edit the parameter configuration in ADF as shows here:

Here in the section Microsoft.DataFactory/factories/pipelines I add "*":"=" so that all the pipeline parameters are parametrized:
"Microsoft.DataFactory/factories/pipelines": {
"*": "="
}
After this I export the template to see which parameters are there in json, there are lot of them but I do not see any paramter that has aml endpoint name as value, but I see the endpint ID is parametrized.
My question is: Is it possible to parametrize the AML endpoint by name? So that, when deploying ADF to test I can just provide the AML endpoint name and it can pick the id automatically:

