Skip to content

Commit

Permalink
Merge pull request #3231 from Microsoft/Microsoft/users/hililh/AzureR…
Browse files Browse the repository at this point in the history
…G_GroupVisibility

Grouping of inputs in Deployment Azure Resource Groups Task.
  • Loading branch information
hililh authored Dec 14, 2016
2 parents c6c8968 + 779da78 commit 8a9ea99
Showing 1 changed file with 35 additions and 18 deletions.
53 changes: 35 additions & 18 deletions Tasks/DeployAzureResourceGroup/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,30 @@
"version": {
"Major": 1,
"Minor": 0,
"Patch": 95
"Patch": 96
},
"demands": [
"azureps"
],
"minimumAgentVersion": "1.103.0",
"groups": [
{
"name": "AzureDetails",
"displayName": "Azure Details",
"isExpanded": true
},
{
"name": "Template",
"displayName": "Template",
"isExpanded": true,
"visibleRule": "action = Create Or Update Resource Group"
},
{
"name": "AdvancedDeploymentOptions",
"displayName": "Advanced Deployment Options",
"isExpanded": true,
"visibleRule": "action = Create Or Update Resource Group || action = Select Resource Group"
},
{
"name": "output",
"displayName": "Output",
Expand All @@ -34,6 +51,7 @@
"required": false,
"helpMarkDown": "",
"defaultValue": "ConnectedServiceName",
"groupName": "AzureDetails",
"options": {
"ConnectedServiceName": "Azure Resource Manager",
"ConnectedServiceNameClassic": "Azure Classic"
Expand All @@ -45,6 +63,7 @@
"label": "Azure RM Subscription",
"defaultValue": "",
"required": true,
"groupName": "AzureDetails",
"helpMarkDown": "Select the Azure Resource Manager subscription for the deployment.",
"visibleRule": "ConnectedServiceNameSelector = ConnectedServiceName"
},
Expand All @@ -54,6 +73,7 @@
"label": "Azure Classic Subscription",
"defaultValue": "",
"required": true,
"groupName": "AzureDetails",
"helpMarkDown": "Select the Azure Classic subscription for the deployment.",
"visibleRule": "ConnectedServiceNameSelector = ConnectedServiceNameClassic"
},
Expand All @@ -64,6 +84,7 @@
"defaultValue": "Create Or Update Resource Group",
"required": true,
"helpMarkDown": "Action to be performed on the Azure resources or resource group.",
"groupName": "AzureDetails",
"options": {
"Create Or Update Resource Group": "Create Or Update Resource Group",
"Select Resource Group": "Select Resource Group",
Expand All @@ -81,6 +102,7 @@
"label": "Action",
"defaultValue": "Select Resource Group",
"required": true,
"groupName": "AzureDetails",
"helpMarkDown": "Action to be performed on the Azure resources or cloud service.",
"options": {
"Select Resource Group": "Select Cloud Service"
Expand All @@ -93,6 +115,7 @@
"label": "Resource Group",
"required": true,
"helpMarkDown": "Provide the name of the resource group.",
"groupName": "AzureDetails",
"properties": {
"EditableOptions": "True"
},
Expand All @@ -104,6 +127,7 @@
"label": "Cloud Service",
"required": true,
"helpMarkDown": "Provide the name of the cloud service.",
"groupName": "AzureDetails",
"properties": {
"EditableOptions": "True"
},
Expand All @@ -116,6 +140,7 @@
"defaultValue": "East US",
"required": true,
"helpMarkDown": "Location for deploying the resource group. If the resource group already exists in the subscription, then this value will be ignored.",
"groupName": "AzureDetails",
"options": {
"Australia East": "Australia East",
"Australia Southeast": "Australia Southeast",
Expand Down Expand Up @@ -144,36 +169,37 @@
"label": "Template",
"defaultValue": "",
"required": true,
"helpMarkDown": "Specify the path to the Azure Resource Manager template. For more information about the templates see https://aka.ms/azuretemplates. To get started immediately use template https://aka.ms/sampletemplate.",
"visibleRule": "action = Create Or Update Resource Group"
"groupName": "Template",
"helpMarkDown": "Specify the path to the Azure Resource Manager template. For more information about the templates see https://aka.ms/azuretemplates. To get started immediately use template https://aka.ms/sampletemplate."
},
{
"name": "csmParametersFile",
"type": "filePath",
"label": "Template Parameters",
"defaultValue": "",
"required": false,
"helpMarkDown": "Specify the path for the parameters file for the Azure Resource Manager Template.",
"visibleRule": "action = Create Or Update Resource Group"
"groupName": "Template",
"helpMarkDown": "Specify the path for the parameters file for the Azure Resource Manager Template."
},
{
"name": "overrideParameters",
"type": "multiLine",
"label": "Override Template Parameters",
"defaultValue": "",
"required": false,
"groupName": "Template",
"helpMarkDown": "Specify the template parameters to override like, <br>–storageName fabrikam –adminUsername $(vmusername) -adminPassword (ConvertTo-SecureString -String '$(password)' -AsPlainText -Force) –azureKeyVaultName $(fabrikamFibre).",
"properties": {
"editorExtension": "ms.vss-distributed-task-input-editor.parameters-grid"
},
"visibleRule": "action = Create Or Update Resource Group"
}
},
{
"name": "deploymentMode",
"type": "pickList",
"label": "Deployment Mode",
"defaultValue": "Incremental",
"required": true,
"groupName": "AzureDetails",
"helpMarkDown": "Incremental mode handles deployments as incremental updates to the resource group . It leaves unchanged resources that exist in the resource group but are not specified in the template. \n\n Complete mode deletes resources that are not in your template. \n\n Validate mode enables you to find problems with the template before creating actual resources. \n\n By default, Incremental mode is used.",
"options": {
"Validation": "Validation Only",
Expand All @@ -183,21 +209,12 @@
"visibleRule": "action = Create Or Update Resource Group"
},
{
"name": "enableDeploymentPrerequisitesForCreate",
"type": "boolean",
"label": "Enable Deployment Prerequisites",
"defaultValue": "false",
"visibleRule": "action = Create Or Update Resource Group",
"required": false,
"helpMarkDown": "Enabling this option configures Windows Remote Management (WinRM) listener over HTTPS protocol on port 5986, using a self-signed certificate. This configuration is required for performing deployment operation on Azure machines. If the target Virtual Machines are backed by a Load balancer, ensure Inbound NAT rules are configured for target port (5986)."
},
{
"name": "enableDeploymentPrerequisitesForSelect",
"name": "enableDeploymentPrerequisites",
"type": "boolean",
"label": "Enable Deployment Prerequisites",
"defaultValue": "false",
"visibleRule": "action = Select Resource Group",
"required": false,
"groupName": "AdvancedDeploymentOptions",
"helpMarkDown": "Enabling this option configures Windows Remote Management (WinRM) listener over HTTPS protocol on port 5986, using a self-signed certificate. This configuration is required for performing deployment operation on Azure machines. If the target Virtual Machines are backed by a Load balancer, ensure Inbound NAT rules are configured for target port (5986)."
},
{
Expand Down

0 comments on commit 8a9ea99

Please sign in to comment.