Is there a way to automate Azure virtual machine set

CIBI Chakkravarthy 1 Reputation point
2022-07-15T03:44:36.043+00:00

I have checked https://learn.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/add?view=azure-devops-rest-6.0
However need to find equivalent params option to provide the following mandatory fields in api post.
Required fields to be passed

Pool type
Project for Service Connections
Azure subscription
Virtual machine scale set
Name
Description
Pool options
Automatically tear down virtual machines after every use
Maximum number of virtual machines in the scale set
Number of agents to keep on standby

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,115 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. SaiGunaranjan 1 Reputation point
    2022-07-16T21:46:06.06+00:00

    Hi @CIBI Chakkravarthy

    Are you trying to automate the deployment of Devops Agents using VMScalesets ? if yes you can find the values in the Devops Organization you are trying to use.

    Ref : https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/scale-set-agents?view=azure-devops

    If the response helped, please dont forget to accept answer and up-vote - Sai

    0 comments No comments

  2. srbhatta-MSFT 8,536 Reputation points Microsoft Employee
    2022-07-18T05:57:43.897+00:00

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    Azure DevOps related queries/issues are currently not supported on this Microsoft Q&A platform. Please check this supported products list here (more to be added later on).

    I would request you to please post your queries in dedicated forums as in below links:https://developercommunity.visualstudio.com/spaces/21/index.htmlhttps://developercommunity.visualstudio.com/t/get-unique-id-from-devops-organization/756710https://stackoverflow.com/questions/tagged/azure-devops

    Hope that helps.
    Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics.

    0 comments No comments