I'm creating/updating a Release Pipeline in Azure DevOps using REST API and want to update the Release with a specific Agent Pool. In the UI the setting is located under: Release pipeline->Agent job-> Agent Selection-> Agent pool setting.
Currenly I am using the Release definition Creation API, but not sure what parameter to pass within the request, to update the agent pool setting.
Azure DevOps Release Definition Creation API I am using is: https://docs.microsoft.com/en-us/rest/api/azure/devops/release/definitions/create?view=azure-devops-rest-5.1 Thank you