Skip to content

Instantly share code, notes, and snippets.

@ljtill
Last active December 6, 2019 15:48
Show Gist options
  • Save ljtill/c5fe18babbb1f97de5553aa10375916b to your computer and use it in GitHub Desktop.
Save ljtill/c5fe18babbb1f97de5553aa10375916b to your computer and use it in GitHub Desktop.
Provides the ability to add DevOps Extension to virtual machines
{
"type": "Microsoft.Compute/virtualMachines/extensions",
"apiVersion": "2015-06-15",
"name": "[concat(parameters('vmName'),'/TeamServicesAgentLinux')]",
"location": "[parameters('location')]",
"properties": {
"publisher": "Microsoft.VisualStudio.Services",
"type": "TeamServicesAgentLinux",
"typeHandlerVersion": "1.0",
"autoUpgradeMinorVersion": true,
"settings": {
"VSTSAccountUrl": "[parameters('VSTSAccountUrl')]",
"TeamProject": "[parameters('TeamProject')]",
"DeploymentGroup": "[parameters('DeploymentGroup')]",
"AgentName": "[parameters('AgentName')]",
"Tags": "[parameters('Tags')]"
},
"protectedSettings": {
"PATToken": "[parameters('PATToken')]"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment