Skip to content

Commit 65eadb4

Browse files
committed
Allow AML type service endpoints in Azure CLI task subscription dropdown (151)
1 parent 00553ca commit 65eadb4

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

Tasks/AzureCLIV1/task.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"demands": [],
2020
"version": {
2121
"Major": 1,
22-
"Minor": 150,
22+
"Minor": 151,
2323
"Patch": 0
2424
},
2525
"minimumAgentVersion": "2.0.0",
@@ -41,7 +41,10 @@
4141
"type": "connectedService:AzureRM",
4242
"label": "Azure subscription",
4343
"required": true,
44-
"helpMarkDown": "Select an Azure resource manager subscription for the deployment"
44+
"helpMarkDown": "Select an Azure resource manager subscription for the deployment",
45+
"properties": {
46+
"EndpointFilterRule": "ScopeLevel != ManagementGroup"
47+
}
4548
},
4649
{
4750
"name": "scriptLocation",

Tasks/AzureCLIV1/task.loc.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"demands": [],
2020
"version": {
2121
"Major": 1,
22-
"Minor": 150,
22+
"Minor": 151,
2323
"Patch": 0
2424
},
2525
"minimumAgentVersion": "2.0.0",
@@ -41,7 +41,10 @@
4141
"type": "connectedService:AzureRM",
4242
"label": "ms-resource:loc.input.label.connectedServiceNameARM",
4343
"required": true,
44-
"helpMarkDown": "ms-resource:loc.input.help.connectedServiceNameARM"
44+
"helpMarkDown": "ms-resource:loc.input.help.connectedServiceNameARM",
45+
"properties": {
46+
"EndpointFilterRule": "ScopeLevel != ManagementGroup"
47+
}
4548
},
4649
{
4750
"name": "scriptLocation",

0 commit comments

Comments
 (0)