diff --git a/101-visual-studio-team-services-project-create/README.md b/101-visual-studio-team-services-project-create/README.md new file mode 100644 index 000000000000..ebbcd820ed01 --- /dev/null +++ b/101-visual-studio-team-services-project-create/README.md @@ -0,0 +1,9 @@ +# Deploy a new Visual Studio Team Services (VSTS) account and project. + + + + + +This template allows you to deploy a new Visual Studio Team Services (VSTS) account and a new project. + +For more information about Visual Studio Team Services (VSTS), see [What is Visual Studio Team Services?](https://www.visualstudio.com/team-services/). \ No newline at end of file diff --git a/101-visual-studio-team-services-project-create/azuredeploy.json b/101-visual-studio-team-services-project-create/azuredeploy.json new file mode 100644 index 000000000000..9c6195eb1d76 --- /dev/null +++ b/101-visual-studio-team-services-project-create/azuredeploy.json @@ -0,0 +1,69 @@ +{ + "$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "accountName": { + "type": "string", + "metadata": { + "description": "The name of the Visual Studio Team Services account, if it doesn't exist it will be created." + } + }, + "projectName": { + "type": "string", + "metadata": { + "description": "The name of the Visual Studio Team Services project." + } + }, + "processTemplateId": { + "type": "string", + "defaultValue": "6B724908-EF14-45CF-84F8-768B5384DA45", + "allowedValues": [ + "6B724908-EF14-45CF-84F8-768B5384DA45", + "ADCC42AB-9882-485E-A3ED-7678F01F66BC", + "27450541-8E31-4150-9947-DC59F998FC01" + ], + "metadata": { + "description": "Scrum: 6B724908-EF14-45CF-84F8-768B5384DA45 / Agile: ADCC42AB-9882-485E-A3ED-7678F01F66BC / CMMI: 27450541-8E31-4150-9947-DC59F998FC01" + } + }, + "versionControlOption": { + "type": "string", + "defaultValue": "Git", + "allowedValues": [ + "Git", + "Tfvc" + ], + "metadata": { + "description": "The version control of the Visual Studio Team Services project's source code: Git or Tfvc." + } + } + }, + "variables": {}, + "resources": [ + { + "name": "[parameters('accountName')]", + "type": "microsoft.visualstudio/account", + "location": "[resourceGroup().location]", + "apiVersion": "2014-04-01-preview", + "properties": { + "operationType": "Create", + "accountName": "[parameters('accountName')]" + }, + "resources": [ + { + "name": "[parameters('projectName')]", + "type": "project", + "location": "[resourceGroup().location]", + "apiVersion": "2014-04-01-preview", + "dependsOn": [ + "[concat('microsoft.visualstudio/account/', parameters('accountName'))]" + ], + "properties": { + "ProcessTemplateId": "[parameters('processTemplateId')]", + "VersionControlOption": "[parameters('versionControlOption')]" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/101-visual-studio-team-services-project-create/azuredeploy.parameters.json b/101-visual-studio-team-services-project-create/azuredeploy.parameters.json new file mode 100644 index 000000000000..9964b37f50ed --- /dev/null +++ b/101-visual-studio-team-services-project-create/azuredeploy.parameters.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "accountName": { + "value": "GEN-UNIQUE" + }, + "projectName": { + "value": "GEN-UNIQUE" + }, + "processTemplateId": { + "value": "6B724908-EF14-45CF-84F8-768B5384DA45" + }, + "versionControlOption": { + "value": "Git" + } + } +} \ No newline at end of file diff --git a/101-visual-studio-team-services-project-create/metadata.json b/101-visual-studio-team-services-project-create/metadata.json new file mode 100644 index 000000000000..e76b01c66a7e --- /dev/null +++ b/101-visual-studio-team-services-project-create/metadata.json @@ -0,0 +1,7 @@ +{ + "itemDisplayName": "Deploy a new VSTS account and project", + "description": "This template allows you to deploy a new Visual Studio Team Services (VSTS) account and a new project.", + "summary": "Deploy a new Visual Studio Team Services (VSTS) account and project.", + "githubUsername": "mathieu-benoit", + "dateUpdated": "2017-08-25" +} \ No newline at end of file