How to add properties when running batch endpoints using REST API?.

Guilherme Matheus 120 Reputation points Microsoft Employee
2025-10-07T21:06:58.02+00:00

We currently have a pipeline in ADF that we are using to train a given model using Pipelines components, and if we check this doc PipelineJob we can see the properties available, that way I am being able to use displayName, tags, etc normally for example.

Now, we are trying to do the same in ADF pipeline for Batch Endpoints by following this guide Run batch endpoints from Azure Data Factory which leverages this api https://<endpoint_name>.<region>.inference.ml.azure.com/jobs but I cannot see which properties are available for this endpoint in this case, so my pipeline displayName are coming with default/random name which we do not want:

User's image

Is there any documentation providing this info? How can we achieve this?

Azure Machine Learning
{count} votes

1 answer

Sort by: Most helpful
  1. Aryan Parashar 1,850 Reputation points Microsoft External Staff Moderator
    2025-10-28T11:45:46.61+00:00

    Hi Guilherme,

    The PipelineJob document is used for creating jobs in Azure ML Workspace. Among various jobs in ML Workspace one of the job is called pipeline jobs.

    As you are using Run batch endpoints from Azure Data Factory but the inference endpoint https://<endpoint_name>.<region>.inference.ml.azure.com/jobs is invoking job from azure ml workspace.

    An ML pipeline job is different from Azure Data Factory Pipeline.

    For Azure Data Factory Pipeline below is the relevant documentation:
    https://free.blessedness.top/en-us/rest/api/datafactory/pipelines/create-run?view=rest-datafactory-2018-06-01&tabs=HTTP

    You can use batch endpoints in Azure Data Factory but to deploy batch endpoints you have to use Azure ML Workspace.

    To create jobs and input data for batch endpoints in Azure ML Workspace, here is relevant documentation:
    https://free.blessedness.top/en-us/azure/machine-learning/how-to-access-data-batch-endpoints-jobs?view=azureml-api-2&tabs=rest

    You can add properties when creating or updating a job, here is relevant documentation:
    https://free.blessedness.top/en-us/rest/api/azureml/jobs/create-or-update?view=rest-azureml-2025-09-01&tabs=HTTP#createorupdate-pipeline-job.

    To update the name here is the YAML schema documentation:
    https://free.blessedness.top/en-us/azure/machine-learning/reference-yaml-job-pipeline?view=azureml-api-2#yaml-syntax
    In this schema if you don't provide name then a random name will be generated as you shared in the screenshot.

    To manage inputs and outputs for components and pipelines, here is relevant documentation:
    https://free.blessedness.top/en-us/azure/machine-learning/how-to-manage-inputs-outputs-pipeline?view=azureml-api-2&tabs=cli

    Feel free to accept this as an answer.
    Thankyou for reaching out to The Microsoft QNA Portal.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.