Azure / azure-devops-cli-extension

Azure DevOps Extension for Azure CLI
https://docs.microsoft.com/en-us/cli/azure/ext/azure-devops/?view=azure-cli-latest
MIT License
628 stars 241 forks source link

[Feature Request] CLI version az create elastic pool (scale set agent pool creation) #1232

Open sinnypan opened 2 years ago

sinnypan commented 2 years ago

Is your feature request related to a problem? Please describe. In our project with customer, we need to automate the scale set agent pool creation process. like this ADO REST API function: [https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/elasticpools/create?view=azure-devops-rest-6.1]() I've tried to find potential az cli command that provides the same functionality with above link but with no luck. As workaround, we use REST API in our deployment script (shell script) but we feel it would be more helpful if it is command line-like to call in the deployment script. And its much easier to handle CLI than REST API call in deployment script as well.

Describe the solution you'd like Is this feature: ADO scale set agent pool creation might be provided with AZCLI version in Azure DevOps extension in the future? If yes, what might be the possible plan date, thanks!

Additional context The original REST API here: https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/elasticpools/create?view=azure-devops-rest-6.1 image