Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

542365460 Blank Resource group when using ARM task for specific subsription #20555

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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"
}
}