Skip to content

Commit

Permalink
542365460 Blank Resource group when using ARM task for specific subsc…
Browse files Browse the repository at this point in the history
…ription (#20536)

* 542365460 Blank Resource group when using ARM task for specific subscription

* fixed Tazk.loc
  • Loading branch information
PhilipsonJoseph authored Oct 10, 2024
1 parent 268d5f4 commit ae0cbfd
Show file tree
Hide file tree
Showing 9 changed files with 86 additions and 76 deletions.
32 changes: 17 additions & 15 deletions Tasks/AzureResourceManagerTemplateDeploymentV3/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions Tasks/AzureResourceManagerTemplateDeploymentV3/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 3,
"Minor": 246,
"Patch": 2
"Minor": 247,
"Patch": 0
},
"demands": [],
"minimumAgentVersion": "2.119.1",
Expand Down Expand Up @@ -246,10 +246,11 @@
{
"target": "resourceGroupName",
"endpointId": "$(ConnectedServiceName)",
"dataSourceName": "AzureResourceGroupsByExplicitSubscription",
"parameters": {
"subscriptionId": "$(subscriptionName)"
}
"endpointUrl": "{{{endpoint.url}}}/subscriptions/{{{endpoint.subscriptionId}}}/resourcegroups?$skiptoken={{{skiptoken}}}&api-version=2016-02-01",
"callbackContextTemplate": "{\"skiptoken\": \"{{#getTokenValue response.nextLink}}{{extractUrlQueryParameter %24skiptoken}}{{/getTokenValue}}\"}",
"callbackRequiredTemplate": "{{isTokenPresent response.nextLink}}",
"initialContextTemplate": "{\"skiptoken\": \"\"}",
"resultSelector": "jsonpath:$.value[*].name"
},
{
"target": "location",
Expand Down
13 changes: 7 additions & 6 deletions Tasks/AzureResourceManagerTemplateDeploymentV3/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 3,
"Minor": 246,
"Patch": 2
"Minor": 247,
"Patch": 0
},
"demands": [],
"minimumAgentVersion": "2.119.1",
Expand Down Expand Up @@ -246,10 +246,11 @@
{
"target": "resourceGroupName",
"endpointId": "$(ConnectedServiceName)",
"dataSourceName": "AzureResourceGroupsByExplicitSubscription",
"parameters": {
"subscriptionId": "$(subscriptionName)"
}
"endpointUrl": "{{{endpoint.url}}}/subscriptions/{{{endpoint.subscriptionId}}}/resourcegroups?$skiptoken={{{skiptoken}}}&api-version=2016-02-01",
"callbackContextTemplate": "{\"skiptoken\": \"{{#getTokenValue response.nextLink}}{{extractUrlQueryParameter %24skiptoken}}{{/getTokenValue}}\"}",
"callbackRequiredTemplate": "{{isTokenPresent response.nextLink}}",
"initialContextTemplate": "{\"skiptoken\": \"\"}",
"resultSelector": "jsonpath:$.value[*].name"
},
{
"target": "location",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Default|3.246.2
Node20_229_2|3.246.3
Default|3.247.0
Node20_229_2|3.247.1

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 9 additions & 8 deletions _generated/AzureResourceManagerTemplateDeploymentV3/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 3,
"Minor": 246,
"Patch": 2
"Minor": 247,
"Patch": 0
},
"demands": [],
"minimumAgentVersion": "2.119.1",
Expand Down Expand Up @@ -246,10 +246,11 @@
{
"target": "resourceGroupName",
"endpointId": "$(ConnectedServiceName)",
"dataSourceName": "AzureResourceGroupsByExplicitSubscription",
"parameters": {
"subscriptionId": "$(subscriptionName)"
}
"endpointUrl": "{{{endpoint.url}}}/subscriptions/{{{endpoint.subscriptionId}}}/resourcegroups?$skiptoken={{{skiptoken}}}&api-version=2016-02-01",
"callbackContextTemplate": "{\"skiptoken\": \"{{#getTokenValue response.nextLink}}{{extractUrlQueryParameter %24skiptoken}}{{/getTokenValue}}\"}",
"callbackRequiredTemplate": "{{isTokenPresent response.nextLink}}",
"initialContextTemplate": "{\"skiptoken\": \"\"}",
"resultSelector": "jsonpath:$.value[*].name"
},
{
"target": "location",
Expand Down Expand Up @@ -336,7 +337,7 @@
"IncompatibleAzureCLIVersionBicepParam": "Azure CLI version should be >= 2.47.0 to use .bicepparam file"
},
"_buildConfigMapping": {
"Default": "3.246.2",
"Node20_229_2": "3.246.3"
"Default": "3.247.0",
"Node20_229_2": "3.247.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 3,
"Minor": 246,
"Patch": 2
"Minor": 247,
"Patch": 0
},
"demands": [],
"minimumAgentVersion": "2.119.1",
Expand Down Expand Up @@ -246,10 +246,11 @@
{
"target": "resourceGroupName",
"endpointId": "$(ConnectedServiceName)",
"dataSourceName": "AzureResourceGroupsByExplicitSubscription",
"parameters": {
"subscriptionId": "$(subscriptionName)"
}
"endpointUrl": "{{{endpoint.url}}}/subscriptions/{{{endpoint.subscriptionId}}}/resourcegroups?$skiptoken={{{skiptoken}}}&api-version=2016-02-01",
"callbackContextTemplate": "{\"skiptoken\": \"{{#getTokenValue response.nextLink}}{{extractUrlQueryParameter %24skiptoken}}{{/getTokenValue}}\"}",
"callbackRequiredTemplate": "{{isTokenPresent response.nextLink}}",
"initialContextTemplate": "{\"skiptoken\": \"\"}",
"resultSelector": "jsonpath:$.value[*].name"
},
{
"target": "location",
Expand Down Expand Up @@ -336,7 +337,7 @@
"IncompatibleAzureCLIVersionBicepParam": "ms-resource:loc.messages.IncompatibleAzureCLIVersionBicepParam"
},
"_buildConfigMapping": {
"Default": "3.246.2",
"Node20_229_2": "3.246.3"
"Default": "3.247.0",
"Node20_229_2": "3.247.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 3,
"Minor": 246,
"Patch": 3
"Minor": 247,
"Patch": 1
},
"demands": [],
"minimumAgentVersion": "2.119.1",
Expand Down Expand Up @@ -246,10 +246,11 @@
{
"target": "resourceGroupName",
"endpointId": "$(ConnectedServiceName)",
"dataSourceName": "AzureResourceGroupsByExplicitSubscription",
"parameters": {
"subscriptionId": "$(subscriptionName)"
}
"endpointUrl": "{{{endpoint.url}}}/subscriptions/{{{endpoint.subscriptionId}}}/resourcegroups?$skiptoken={{{skiptoken}}}&api-version=2016-02-01",
"callbackContextTemplate": "{\"skiptoken\": \"{{#getTokenValue response.nextLink}}{{extractUrlQueryParameter %24skiptoken}}{{/getTokenValue}}\"}",
"callbackRequiredTemplate": "{{isTokenPresent response.nextLink}}",
"initialContextTemplate": "{\"skiptoken\": \"\"}",
"resultSelector": "jsonpath:$.value[*].name"
},
{
"target": "location",
Expand Down Expand Up @@ -340,7 +341,7 @@
"IncompatibleAzureCLIVersionBicepParam": "Azure CLI version should be >= 2.47.0 to use .bicepparam file"
},
"_buildConfigMapping": {
"Default": "3.246.2",
"Node20_229_2": "3.246.3"
"Default": "3.247.0",
"Node20_229_2": "3.247.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 3,
"Minor": 246,
"Patch": 3
"Minor": 247,
"Patch": 1
},
"demands": [],
"minimumAgentVersion": "2.119.1",
Expand Down Expand Up @@ -246,10 +246,11 @@
{
"target": "resourceGroupName",
"endpointId": "$(ConnectedServiceName)",
"dataSourceName": "AzureResourceGroupsByExplicitSubscription",
"parameters": {
"subscriptionId": "$(subscriptionName)"
}
"endpointUrl": "{{{endpoint.url}}}/subscriptions/{{{endpoint.subscriptionId}}}/resourcegroups?$skiptoken={{{skiptoken}}}&api-version=2016-02-01",
"callbackContextTemplate": "{\"skiptoken\": \"{{#getTokenValue response.nextLink}}{{extractUrlQueryParameter %24skiptoken}}{{/getTokenValue}}\"}",
"callbackRequiredTemplate": "{{isTokenPresent response.nextLink}}",
"initialContextTemplate": "{\"skiptoken\": \"\"}",
"resultSelector": "jsonpath:$.value[*].name"
},
{
"target": "location",
Expand Down Expand Up @@ -340,7 +341,7 @@
"IncompatibleAzureCLIVersionBicepParam": "ms-resource:loc.messages.IncompatibleAzureCLIVersionBicepParam"
},
"_buildConfigMapping": {
"Default": "3.246.2",
"Node20_229_2": "3.246.3"
"Default": "3.247.0",
"Node20_229_2": "3.247.1"
}
}

0 comments on commit ae0cbfd

Please sign in to comment.