Skip to content

Commit f90ad8a

Browse files
authored
update azure-arm-rest common package (#20823)
1 parent 4e6f4d0 commit f90ad8a

File tree

14 files changed

+78
-60
lines changed

14 files changed

+78
-60
lines changed

Tasks/AzureResourceManagerTemplateDeploymentV3/Tests/createOrUpdate.ts

+6
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,17 @@ var bicepbuildwithWarning = `az bicep build --file "${path.join(__dirname, "CSMw
4949
var azloginCommand = `az login --service-principal -u "id" --password="key" --tenant "tenant" --allow-no-subscriptions`;
5050
var azaccountSet = `az account set --subscription "sId"`;
5151
var azlogoutCommand = `az account clear`
52+
var azVersion = `az --version`
5253

5354
var exec = {}
5455
const successExec = {
5556
"code": 0,
5657
"stdout": "Executed Successfully"
5758
}
59+
const successAzExec = {
60+
"code": 0,
61+
"stdout": "azure-cli 2.66.0"
62+
}
5863
exec[bicepbuildCmd] = successExec;
5964
exec[bicepbuildwithspaceinpathCmd] = successExec;
6065
exec[bicepparambuildCmd] = successExec;
@@ -63,6 +68,7 @@ exec[bicepbuildwithWarning] = successExec;
6368
exec[azloginCommand] = successExec;
6469
exec[azaccountSet] = successExec;
6570
exec[azlogoutCommand] = successExec;
71+
exec[azVersion] = successAzExec;
6672

6773
let a: ma.TaskLibAnswers = <ma.TaskLibAnswers>{
6874
"which": {

Tasks/AzureResourceManagerTemplateDeploymentV3/package-lock.json

+21-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tasks/AzureResourceManagerTemplateDeploymentV3/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"agent-base": "^6.0.2",
77
"azure-pipelines-task-lib": "^4.17.2",
88
"azure-pipelines-tasks-artifacts-common": "^2.225.0",
9-
"azure-pipelines-tasks-azure-arm-rest": "^3.249.1",
9+
"azure-pipelines-tasks-azure-arm-rest": "^3.252.1",
1010
"moment": "^2.29.4",
1111
"typed-rest-client": "^1.8.9"
1212
},

Tasks/AzureResourceManagerTemplateDeploymentV3/task.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"author": "Microsoft Corporation",
1515
"version": {
1616
"Major": 3,
17-
"Minor": 250,
17+
"Minor": 252,
1818
"Patch": 0
1919
},
2020
"demands": [],

Tasks/AzureResourceManagerTemplateDeploymentV3/task.loc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"author": "Microsoft Corporation",
1515
"version": {
1616
"Major": 3,
17-
"Minor": 250,
17+
"Minor": 252,
1818
"Patch": 0
1919
},
2020
"demands": [],
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Default|3.250.0
2-
Node20_229_2|3.250.1
1+
Default|3.252.0
2+
Node20_229_2|3.252.1

_generated/AzureResourceManagerTemplateDeploymentV3/Tests/createOrUpdate.ts

+6
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,17 @@ var bicepbuildwithWarning = `az bicep build --file "${path.join(__dirname, "CSMw
4949
var azloginCommand = `az login --service-principal -u "id" --password="key" --tenant "tenant" --allow-no-subscriptions`;
5050
var azaccountSet = `az account set --subscription "sId"`;
5151
var azlogoutCommand = `az account clear`
52+
var azVersion = `az --version`
5253

5354
var exec = {}
5455
const successExec = {
5556
"code": 0,
5657
"stdout": "Executed Successfully"
5758
}
59+
const successAzExec = {
60+
"code": 0,
61+
"stdout": "azure-cli 2.66.0"
62+
}
5863
exec[bicepbuildCmd] = successExec;
5964
exec[bicepbuildwithspaceinpathCmd] = successExec;
6065
exec[bicepparambuildCmd] = successExec;
@@ -63,6 +68,7 @@ exec[bicepbuildwithWarning] = successExec;
6368
exec[azloginCommand] = successExec;
6469
exec[azaccountSet] = successExec;
6570
exec[azlogoutCommand] = successExec;
71+
exec[azVersion] = successAzExec;
6672

6773
let a: ma.TaskLibAnswers = <ma.TaskLibAnswers>{
6874
"which": {

_generated/AzureResourceManagerTemplateDeploymentV3/package-lock.json

+21-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_generated/AzureResourceManagerTemplateDeploymentV3/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"agent-base": "^6.0.2",
77
"azure-pipelines-task-lib": "^4.17.2",
88
"azure-pipelines-tasks-artifacts-common": "^2.225.0",
9-
"azure-pipelines-tasks-azure-arm-rest": "^3.249.1",
9+
"azure-pipelines-tasks-azure-arm-rest": "^3.252.1",
1010
"moment": "^2.29.4",
1111
"typed-rest-client": "^1.8.9"
1212
},

_generated/AzureResourceManagerTemplateDeploymentV3/task.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"author": "Microsoft Corporation",
1515
"version": {
1616
"Major": 3,
17-
"Minor": 250,
17+
"Minor": 252,
1818
"Patch": 0
1919
},
2020
"demands": [],
@@ -340,7 +340,7 @@
340340
"IncompatibleAzureCLIVersionBicepParam": "Azure CLI version should be >= 2.47.0 to use .bicepparam file"
341341
},
342342
"_buildConfigMapping": {
343-
"Default": "3.250.0",
344-
"Node20_229_2": "3.250.1"
343+
"Default": "3.252.0",
344+
"Node20_229_2": "3.252.1"
345345
}
346346
}

_generated/AzureResourceManagerTemplateDeploymentV3/task.loc.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"author": "Microsoft Corporation",
1515
"version": {
1616
"Major": 3,
17-
"Minor": 250,
17+
"Minor": 252,
1818
"Patch": 0
1919
},
2020
"demands": [],
@@ -340,7 +340,7 @@
340340
"IncompatibleAzureCLIVersionBicepParam": "ms-resource:loc.messages.IncompatibleAzureCLIVersionBicepParam"
341341
},
342342
"_buildConfigMapping": {
343-
"Default": "3.250.0",
344-
"Node20_229_2": "3.250.1"
343+
"Default": "3.252.0",
344+
"Node20_229_2": "3.252.1"
345345
}
346346
}

_generated/AzureResourceManagerTemplateDeploymentV3_Node20/Tests/createOrUpdate.ts

+6
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,17 @@ var bicepbuildwithWarning = `az bicep build --file "${path.join(__dirname, "CSMw
4949
var azloginCommand = `az login --service-principal -u "id" --password="key" --tenant "tenant" --allow-no-subscriptions`;
5050
var azaccountSet = `az account set --subscription "sId"`;
5151
var azlogoutCommand = `az account clear`
52+
var azVersion = `az --version`
5253

5354
var exec = {}
5455
const successExec = {
5556
"code": 0,
5657
"stdout": "Executed Successfully"
5758
}
59+
const successAzExec = {
60+
"code": 0,
61+
"stdout": "azure-cli 2.66.0"
62+
}
5863
exec[bicepbuildCmd] = successExec;
5964
exec[bicepbuildwithspaceinpathCmd] = successExec;
6065
exec[bicepparambuildCmd] = successExec;
@@ -63,6 +68,7 @@ exec[bicepbuildwithWarning] = successExec;
6368
exec[azloginCommand] = successExec;
6469
exec[azaccountSet] = successExec;
6570
exec[azlogoutCommand] = successExec;
71+
exec[azVersion] = successAzExec;
6672

6773
let a: ma.TaskLibAnswers = <ma.TaskLibAnswers>{
6874
"which": {

_generated/AzureResourceManagerTemplateDeploymentV3_Node20/task.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"author": "Microsoft Corporation",
1515
"version": {
1616
"Major": 3,
17-
"Minor": 250,
17+
"Minor": 252,
1818
"Patch": 1
1919
},
2020
"demands": [],
@@ -344,7 +344,7 @@
344344
"IncompatibleAzureCLIVersionBicepParam": "Azure CLI version should be >= 2.47.0 to use .bicepparam file"
345345
},
346346
"_buildConfigMapping": {
347-
"Default": "3.250.0",
348-
"Node20_229_2": "3.250.1"
347+
"Default": "3.252.0",
348+
"Node20_229_2": "3.252.1"
349349
}
350350
}

_generated/AzureResourceManagerTemplateDeploymentV3_Node20/task.loc.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"author": "Microsoft Corporation",
1515
"version": {
1616
"Major": 3,
17-
"Minor": 250,
17+
"Minor": 252,
1818
"Patch": 1
1919
},
2020
"demands": [],
@@ -344,7 +344,7 @@
344344
"IncompatibleAzureCLIVersionBicepParam": "ms-resource:loc.messages.IncompatibleAzureCLIVersionBicepParam"
345345
},
346346
"_buildConfigMapping": {
347-
"Default": "3.250.0",
348-
"Node20_229_2": "3.250.1"
347+
"Default": "3.252.0",
348+
"Node20_229_2": "3.252.1"
349349
}
350350
}

0 commit comments

Comments
 (0)