Skip to content

Commit

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

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

* fixed Tazk.loc
  • Loading branch information
PhilipsonJoseph authored Oct 16, 2024
1 parent 415ded0 commit 5843164
Show file tree
Hide file tree
Showing 9 changed files with 266 additions and 252 deletions.
222 changes: 110 additions & 112 deletions Tasks/AzureResourceManagerTemplateDeploymentV3/package-lock.json

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions Tasks/AzureResourceManagerTemplateDeploymentV3/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"version": {
"Major": 3,
"Minor": 247,
"Patch": 2
"Patch": 4
},
"demands": [],
"minimumAgentVersion": "2.119.1",
Expand Down Expand Up @@ -246,11 +246,14 @@
{
"target": "resourceGroupName",
"endpointId": "$(ConnectedServiceName)",
"endpointUrl": "{{{endpoint.url}}}/subscriptions/{{{endpoint.subscriptionId}}}/resourcegroups?$skiptoken={{{skiptoken}}}&api-version=2016-02-01",
"endpointUrl": "{{{endpoint.url}}}/subscriptions/{{{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"
"resultSelector": "jsonpath:$.value[*].name",
"parameters": {
"subscriptionId": "$(subscriptionName)"
}
},
{
"target": "location",
Expand Down
9 changes: 6 additions & 3 deletions Tasks/AzureResourceManagerTemplateDeploymentV3/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"version": {
"Major": 3,
"Minor": 247,
"Patch": 2
"Patch": 4
},
"demands": [],
"minimumAgentVersion": "2.119.1",
Expand Down Expand Up @@ -246,11 +246,14 @@
{
"target": "resourceGroupName",
"endpointId": "$(ConnectedServiceName)",
"endpointUrl": "{{{endpoint.url}}}/subscriptions/{{{endpoint.subscriptionId}}}/resourcegroups?$skiptoken={{{skiptoken}}}&api-version=2016-02-01",
"endpointUrl": "{{{endpoint.url}}}/subscriptions/{{{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"
"resultSelector": "jsonpath:$.value[*].name",
"parameters": {
"subscriptionId": "$(subscriptionName)"
}
},
{
"target": "location",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Default|3.247.2
Node20_229_2|3.247.3
Default|3.247.4
Node20_229_2|3.247.5
222 changes: 110 additions & 112 deletions _generated/AzureResourceManagerTemplateDeploymentV3/package-lock.json

Large diffs are not rendered by default.

13 changes: 8 additions & 5 deletions _generated/AzureResourceManagerTemplateDeploymentV3/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"version": {
"Major": 3,
"Minor": 247,
"Patch": 2
"Patch": 4
},
"demands": [],
"minimumAgentVersion": "2.119.1",
Expand Down Expand Up @@ -246,11 +246,14 @@
{
"target": "resourceGroupName",
"endpointId": "$(ConnectedServiceName)",
"endpointUrl": "{{{endpoint.url}}}/subscriptions/{{{endpoint.subscriptionId}}}/resourcegroups?$skiptoken={{{skiptoken}}}&api-version=2016-02-01",
"endpointUrl": "{{{endpoint.url}}}/subscriptions/{{{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"
"resultSelector": "jsonpath:$.value[*].name",
"parameters": {
"subscriptionId": "$(subscriptionName)"
}
},
{
"target": "location",
Expand Down Expand Up @@ -337,7 +340,7 @@
"IncompatibleAzureCLIVersionBicepParam": "Azure CLI version should be >= 2.47.0 to use .bicepparam file"
},
"_buildConfigMapping": {
"Default": "3.247.2",
"Node20_229_2": "3.247.3"
"Default": "3.247.4",
"Node20_229_2": "3.247.5"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"version": {
"Major": 3,
"Minor": 247,
"Patch": 2
"Patch": 4
},
"demands": [],
"minimumAgentVersion": "2.119.1",
Expand Down Expand Up @@ -246,11 +246,14 @@
{
"target": "resourceGroupName",
"endpointId": "$(ConnectedServiceName)",
"endpointUrl": "{{{endpoint.url}}}/subscriptions/{{{endpoint.subscriptionId}}}/resourcegroups?$skiptoken={{{skiptoken}}}&api-version=2016-02-01",
"endpointUrl": "{{{endpoint.url}}}/subscriptions/{{{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"
"resultSelector": "jsonpath:$.value[*].name",
"parameters": {
"subscriptionId": "$(subscriptionName)"
}
},
{
"target": "location",
Expand Down Expand Up @@ -337,7 +340,7 @@
"IncompatibleAzureCLIVersionBicepParam": "ms-resource:loc.messages.IncompatibleAzureCLIVersionBicepParam"
},
"_buildConfigMapping": {
"Default": "3.247.2",
"Node20_229_2": "3.247.3"
"Default": "3.247.4",
"Node20_229_2": "3.247.5"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"version": {
"Major": 3,
"Minor": 247,
"Patch": 3
"Patch": 5
},
"demands": [],
"minimumAgentVersion": "2.119.1",
Expand Down Expand Up @@ -246,11 +246,14 @@
{
"target": "resourceGroupName",
"endpointId": "$(ConnectedServiceName)",
"endpointUrl": "{{{endpoint.url}}}/subscriptions/{{{endpoint.subscriptionId}}}/resourcegroups?$skiptoken={{{skiptoken}}}&api-version=2016-02-01",
"endpointUrl": "{{{endpoint.url}}}/subscriptions/{{{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"
"resultSelector": "jsonpath:$.value[*].name",
"parameters": {
"subscriptionId": "$(subscriptionName)"
}
},
{
"target": "location",
Expand Down Expand Up @@ -341,7 +344,7 @@
"IncompatibleAzureCLIVersionBicepParam": "Azure CLI version should be >= 2.47.0 to use .bicepparam file"
},
"_buildConfigMapping": {
"Default": "3.247.2",
"Node20_229_2": "3.247.3"
"Default": "3.247.4",
"Node20_229_2": "3.247.5"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"version": {
"Major": 3,
"Minor": 247,
"Patch": 3
"Patch": 5
},
"demands": [],
"minimumAgentVersion": "2.119.1",
Expand Down Expand Up @@ -246,11 +246,14 @@
{
"target": "resourceGroupName",
"endpointId": "$(ConnectedServiceName)",
"endpointUrl": "{{{endpoint.url}}}/subscriptions/{{{endpoint.subscriptionId}}}/resourcegroups?$skiptoken={{{skiptoken}}}&api-version=2016-02-01",
"endpointUrl": "{{{endpoint.url}}}/subscriptions/{{{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"
"resultSelector": "jsonpath:$.value[*].name",
"parameters": {
"subscriptionId": "$(subscriptionName)"
}
},
{
"target": "location",
Expand Down Expand Up @@ -341,7 +344,7 @@
"IncompatibleAzureCLIVersionBicepParam": "ms-resource:loc.messages.IncompatibleAzureCLIVersionBicepParam"
},
"_buildConfigMapping": {
"Default": "3.247.2",
"Node20_229_2": "3.247.3"
"Default": "3.247.4",
"Node20_229_2": "3.247.5"
}
}

0 comments on commit 5843164

Please sign in to comment.